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

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

 Copyright Google LLC All Rights Reserved.

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

 Copyright Google LLC All Rights Reserved.

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

 Copyright Google LLC All Rights Reserved.

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

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

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

 The MIT License

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

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

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

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


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

 Use of this source code is governed by an MIT-style license that can be
 found in the LICENSE file at https://angular.dev/license
*/
/*
 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var g,aa=function(a){a.isGuard_doNotManuallySetPrettyPlease=!0;return a},baa=function(){var a=aaa;return aa(function(b){for(var c in a)if(b===a[c]&&!/^[0-9]+$/.test(c))return!0;return!1})},daa=function(a){return aa(function(b){return caa(b)?b.every(function(c){return a(c)}):!1})},eaa=function(a,b){return Object.defineProperty(b,"type",{value:a,writable:!1})},faa=function(a,b,c,d,e){var f=Zone.__symbol__(d);if(!b[f]){var h=b[f]=b[d];b[d]=function(l,q,u){q&&q.prototype&&e.forEach(function(A){var F=
c+"."+d+"::"+A,H=q.prototype;try{if(H.hasOwnProperty(A)){var N=a.ObjectGetOwnPropertyDescriptor(H,A);N&&N.value?(N.value=a.wrapWithCurrentZone(N.value,F),a._redefineProperty(q.prototype,A,N)):H[A]&&(H[A]=a.wrapWithCurrentZone(H[A],F))}else H[A]&&(H[A]=a.wrapWithCurrentZone(H[A],F))}catch(O){}});return h.call(b,l,q,u)};a.attachOriginToPatched(b[d],h)}},ca=function(a){return(ba.__Zone_symbol_prefix||"__zone_symbol__")+a},gaa=function(){function a(qa){h&&h.mark&&h.mark(qa)}function b(qa,Ga){h&&h.measure&&
h.measure(qa,Ga)}function c(qa){ea||ba[H]&&(ea=ba[H].resolve(0));if(ea){var Ga=ea[N];Ga||(Ga=ea.then);Ga.call(ea,qa)}else ba[F](qa,0)}function d(qa){lb===0&&O.length===0&&c(e);qa&&O.push(qa)}function e(){if(!T){for(T=!0;O.length;){var qa=O;O=[];for(var Ga=0;Ga<qa.length;Ga++){var Ha=qa[Ga];try{Ha.zone.runTask(Ha,null,null)}catch(Ab){La.onUnhandledError(Ab)}}}La.microtaskDrainDone();T=!1}}function f(){}var h=ba.performance;a("Zone");var l=function(qa,Ga){this._parent=qa;this._name=Ga?Ga.name||"unnamed":
"<root>";this._properties=Ga&&Ga.properties||{};this._zoneDelegate=new u(this,this._parent&&this._parent._zoneDelegate,Ga)};l.assertZonePatched=function(){if(ba.Promise!==oa.ZoneAwarePromise)throw Error("x");};l.__load_patch=function(qa,Ga,Ha){Ha=Ha===void 0?!1:Ha;if(oa.hasOwnProperty(qa)){if(Ga=ba[ca("forceDuplicateZoneCheck")]===!0,!Ha&&Ga)throw Error("y`"+qa);}else ba["__Zone_disable_"+qa]||(Ha="Zone:"+qa,a(Ha),oa[qa]=Ga(ba,l,La),b(Ha,Ha))};l.prototype.get=function(qa){var Ga=this.getZoneWith(qa);
if(Ga)return Ga._properties[qa]};l.prototype.getZoneWith=function(qa){for(var Ga=this;Ga;){if(Ga._properties.hasOwnProperty(qa))return Ga;Ga=Ga._parent}return null};l.prototype.fork=function(qa){if(!qa)throw Error("z");return this._zoneDelegate.fork(this,qa)};l.prototype.wrap=function(qa,Ga){if(typeof qa!=="function")throw Error("A`"+qa);var Ha=this._zoneDelegate.intercept(this,qa,Ga),Ab=this;return function(){return Ab.runGuarded(Ha,this,arguments,Ga)}};l.prototype.run=function(qa,Ga,Ha,Ab){Ua={parent:Ua,
zone:this};try{return this._zoneDelegate.invoke(this,qa,Ga,Ha,Ab)}finally{Ua=Ua.parent}};l.prototype.runGuarded=function(qa,Ga,Ha,Ab){Ua={parent:Ua,zone:this};try{try{return this._zoneDelegate.invoke(this,qa,Ga===void 0?null:Ga,Ha,Ab)}catch(vb){if(this._zoneDelegate.handleError(this,vb))throw vb;}}finally{Ua=Ua.parent}};l.prototype.runTask=function(qa,Ga,Ha){if(qa.zone!=this)throw Error("B`"+(qa.zone||ka).name+"`"+this.name);var Ab=qa.type,vb=qa.data===void 0?{}:qa.data,fc=vb.isPeriodic===void 0?
!1:vb.isPeriodic;vb=vb.isRefreshable===void 0?!1:vb.isRefreshable;if(qa.state!=="notScheduled"||Ab!=="eventTask"&&Ab!=="macroTask"){var hc=qa.state!="running";hc&&qa._transitionTo("running","scheduled");var tc=Pa;Pa=qa;Ua={parent:Ua,zone:this};try{Ab!="macroTask"||!qa.data||fc||vb||(qa.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,qa,Ga,Ha)}catch(bc){if(this._zoneDelegate.handleError(this,bc))throw bc;}}finally{Ga=qa.state,Ga!=="notScheduled"&&Ga!=="unknown"&&(Ab=="eventTask"||fc||
vb&&Ga==="scheduling"?hc&&qa._transitionTo("scheduled","running","scheduling"):(Ab=qa._zoneDelegates,this._updateTaskCount(qa,-1),hc&&qa._transitionTo("notScheduled","running","notScheduled"),vb&&(qa._zoneDelegates=Ab))),Ua=Ua.parent,Pa=tc}}};l.prototype.scheduleTask=function(qa){if(qa.zone&&qa.zone!==this)for(var Ga=this;Ga;){if(Ga===qa.zone)throw Error("C`"+this.name+"`"+qa.zone.name);Ga=Ga.parent}qa._transitionTo("scheduling","notScheduled");Ga=[];qa._zoneDelegates=Ga;qa._zone=this;try{qa=this._zoneDelegate.scheduleTask(this,
qa)}catch(Ha){throw qa._transitionTo("unknown","scheduling","notScheduled"),this._zoneDelegate.handleError(this,Ha),Ha;}qa._zoneDelegates===Ga&&this._updateTaskCount(qa,1);qa.state=="scheduling"&&qa._transitionTo("scheduled","scheduling");return qa};l.prototype.scheduleMicroTask=function(qa,Ga,Ha,Ab){return this.scheduleTask(new A("microTask",qa,Ga,Ha,Ab,void 0))};l.prototype.scheduleMacroTask=function(qa,Ga,Ha,Ab,vb){return this.scheduleTask(new A("macroTask",qa,Ga,Ha,Ab,vb))};l.prototype.scheduleEventTask=
function(qa,Ga,Ha,Ab,vb){return this.scheduleTask(new A("eventTask",qa,Ga,Ha,Ab,vb))};l.prototype.cancelTask=function(qa){if(qa.zone!=this)throw Error("D`"+(qa.zone||ka).name+"`"+this.name);if(qa.state==="scheduled"||qa.state==="running"){qa._transitionTo("canceling","scheduled","running");try{this._zoneDelegate.cancelTask(this,qa)}catch(Ga){throw qa._transitionTo("unknown","canceling"),this._zoneDelegate.handleError(this,Ga),Ga;}this._updateTaskCount(qa,-1);qa._transitionTo("notScheduled","canceling");
qa.runCount=-1;return qa}};l.prototype._updateTaskCount=function(qa,Ga){var Ha=qa._zoneDelegates;Ga==-1&&(qa._zoneDelegates=null);for(var Ab=0;Ab<Ha.length;Ab++)Ha[Ab]._updateTaskCount(qa.type,Ga)};da.Object.defineProperties(l.prototype,{parent:{configurable:!0,enumerable:!0,get:function(){return this._parent}},name:{configurable:!0,enumerable:!0,get:function(){return this._name}}});da.Object.defineProperties(l,{root:{configurable:!0,enumerable:!0,get:function(){for(var qa=l.current;qa.parent;)qa=
qa.parent;return qa}},current:{configurable:!0,enumerable:!0,get:function(){return Ua.zone}},currentTask:{configurable:!0,enumerable:!0,get:function(){return Pa}}});l.__symbol__=ca;var q={name:"",onHasTask:function(qa,Ga,Ha,Ab){return qa.hasTask(Ha,Ab)},onScheduleTask:function(qa,Ga,Ha,Ab){return qa.scheduleTask(Ha,Ab)},onInvokeTask:function(qa,Ga,Ha,Ab,vb,fc){return qa.invokeTask(Ha,Ab,vb,fc)},onCancelTask:function(qa,Ga,Ha,Ab){return qa.cancelTask(Ha,Ab)}},u=function(qa,Ga,Ha){this._taskCounts=
{microTask:0,macroTask:0,eventTask:0};this._zone=qa;this._parentDelegate=Ga;this._forkZS=Ha&&(Ha&&Ha.onFork?Ha:Ga._forkZS);this._forkDlgt=Ha&&(Ha.onFork?Ga:Ga._forkDlgt);this._forkCurrZone=Ha&&(Ha.onFork?this._zone:Ga._forkCurrZone);this._interceptZS=Ha&&(Ha.onIntercept?Ha:Ga._interceptZS);this._interceptDlgt=Ha&&(Ha.onIntercept?Ga:Ga._interceptDlgt);this._interceptCurrZone=Ha&&(Ha.onIntercept?this._zone:Ga._interceptCurrZone);this._invokeZS=Ha&&(Ha.onInvoke?Ha:Ga._invokeZS);this._invokeDlgt=Ha&&
(Ha.onInvoke?Ga:Ga._invokeDlgt);this._invokeCurrZone=Ha&&(Ha.onInvoke?this._zone:Ga._invokeCurrZone);this._handleErrorZS=Ha&&(Ha.onHandleError?Ha:Ga._handleErrorZS);this._handleErrorDlgt=Ha&&(Ha.onHandleError?Ga:Ga._handleErrorDlgt);this._handleErrorCurrZone=Ha&&(Ha.onHandleError?this._zone:Ga._handleErrorCurrZone);this._scheduleTaskZS=Ha&&(Ha.onScheduleTask?Ha:Ga._scheduleTaskZS);this._scheduleTaskDlgt=Ha&&(Ha.onScheduleTask?Ga:Ga._scheduleTaskDlgt);this._scheduleTaskCurrZone=Ha&&(Ha.onScheduleTask?
this._zone:Ga._scheduleTaskCurrZone);this._invokeTaskZS=Ha&&(Ha.onInvokeTask?Ha:Ga._invokeTaskZS);this._invokeTaskDlgt=Ha&&(Ha.onInvokeTask?Ga:Ga._invokeTaskDlgt);this._invokeTaskCurrZone=Ha&&(Ha.onInvokeTask?this._zone:Ga._invokeTaskCurrZone);this._cancelTaskZS=Ha&&(Ha.onCancelTask?Ha:Ga._cancelTaskZS);this._cancelTaskDlgt=Ha&&(Ha.onCancelTask?Ga:Ga._cancelTaskDlgt);this._cancelTaskCurrZone=Ha&&(Ha.onCancelTask?this._zone:Ga._cancelTaskCurrZone);this._hasTaskCurrZone=this._hasTaskDlgtOwner=this._hasTaskDlgt=
this._hasTaskZS=null;qa=Ha&&Ha.onHasTask;var Ab=Ga&&Ga._hasTaskZS;if(qa||Ab)this._hasTaskZS=qa?Ha:q,this._hasTaskDlgt=Ga,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,Ha.onScheduleTask||(this._scheduleTaskZS=q,this._scheduleTaskDlgt=Ga,this._scheduleTaskCurrZone=this._zone),Ha.onInvokeTask||(this._invokeTaskZS=q,this._invokeTaskDlgt=Ga,this._invokeTaskCurrZone=this._zone),Ha.onCancelTask||(this._cancelTaskZS=q,this._cancelTaskDlgt=Ga,this._cancelTaskCurrZone=this._zone)};u.prototype.fork=
function(qa,Ga){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,qa,Ga):new l(qa,Ga)};u.prototype.intercept=function(qa,Ga,Ha){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,qa,Ga,Ha):Ga};u.prototype.invoke=function(qa,Ga,Ha,Ab,vb){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,qa,Ga,Ha,Ab,vb):Ga.apply(Ha,Ab)};u.prototype.handleError=function(qa,Ga){return this._handleErrorZS?this._handleErrorZS.onHandleError(this._handleErrorDlgt,
this._handleErrorCurrZone,qa,Ga):!0};u.prototype.scheduleTask=function(qa,Ga){var Ha=Ga;if(this._scheduleTaskZS)this._hasTaskZS&&Ha._zoneDelegates.push(this._hasTaskDlgtOwner),(Ha=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,qa,Ga))||(Ha=Ga);else if(Ga.scheduleFn)Ga.scheduleFn(Ga);else if(Ga.type=="microTask")d(Ga);else throw Error("E");return Ha};u.prototype.invokeTask=function(qa,Ga,Ha,Ab){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,
this._invokeTaskCurrZone,qa,Ga,Ha,Ab):Ga.callback.apply(Ha,Ab)};u.prototype.cancelTask=function(qa,Ga){if(this._cancelTaskZS)qa=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,qa,Ga);else{if(!Ga.cancelFn)throw Error("F");qa=Ga.cancelFn(Ga)}return qa};u.prototype.hasTask=function(qa,Ga){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,qa,Ga)}catch(Ha){this.handleError(qa,Ha)}};u.prototype._updateTaskCount=function(qa,Ga){var Ha=this._taskCounts,
Ab=Ha[qa];Ga=Ha[qa]=Ab+Ga;if(Ga<0)throw Error("G");Ab!=0&&Ga!=0||this.hasTask(this._zone,{microTask:Ha.microTask>0,macroTask:Ha.macroTask>0,eventTask:Ha.eventTask>0,change:qa})};da.Object.defineProperties(u.prototype,{zone:{configurable:!0,enumerable:!0,get:function(){return this._zone}}});var A=function(qa,Ga,Ha,Ab,vb,fc){this._zone=null;this.runCount=0;this._zoneDelegates=null;this._state="notScheduled";this.type=qa;this.source=Ga;this.data=Ab;this.scheduleFn=vb;this.cancelFn=fc;if(!Ha)throw Error("H");
this.callback=Ha;var hc=this;this.invoke=qa==="eventTask"&&Ab&&Ab.useG?A.invokeTask:function(){return A.invokeTask.call(ba,hc,this,arguments)}};A.invokeTask=function(qa,Ga,Ha){qa||(qa=this);lb++;try{return qa.runCount++,qa.zone.runTask(qa,Ga,Ha)}finally{lb==1&&e(),lb--}};A.prototype.cancelScheduleRequest=function(){this._transitionTo("notScheduled","scheduling")};A.prototype._transitionTo=function(qa,Ga,Ha){if(this._state===Ga||this._state===Ha)this._state=qa,qa=="notScheduled"&&(this._zoneDelegates=
null);else throw Error("I`"+this.type+"`"+this.source+"`"+qa+"`"+Ga+"`"+(Ha?" or '"+Ha+"'":"")+"`"+this._state);};A.prototype.toString=function(){return this.data&&typeof this.data.handleId!=="undefined"?this.data.handleId.toString():Object.prototype.toString.call(this)};A.prototype.toJSON=function(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}};da.Object.defineProperties(A.prototype,{zone:{configurable:!0,enumerable:!0,get:function(){return this._zone}},
state:{configurable:!0,enumerable:!0,get:function(){return this._state}}});var F=ca("setTimeout"),H=ca("Promise"),N=ca("then"),O=[],T=!1,ea,ka={name:"NO ZONE"},oa={},La={symbol:ca,currentZoneFrame:function(){return Ua},onUnhandledError:f,microtaskDrainDone:f,scheduleMicroTask:d,showUncaughtError:function(){return!l[ca("ignoreConsoleErrorUncaughtError")]},patchEventTarget:function(){return[]},patchOnProperties:f,patchMethod:function(){return f},bindArguments:function(){return[]},patchThen:function(){return f},
patchMacroTask:function(){return f},patchEventPrototype:function(){return f},isIEOrEdge:function(){return!1},getGlobalObjects:function(){},ObjectDefineProperty:function(){return f},ObjectGetOwnPropertyDescriptor:function(){},ObjectCreate:function(){},ArraySlice:function(){return[]},patchClass:function(){return f},wrapWithCurrentZone:function(){return f},filterProperties:function(){return[]},attachOriginToPatched:function(){return f},_redefineProperty:function(){return f},patchCallbacks:function(){return f},
nativeScheduleMicroTask:c},Ua={parent:null,zone:new l(null,null)},Pa=null,lb=0;b("Zone","Zone");return l},haa=function(a,b){return Zone.current.wrap(a,b)},iaa=function(a,b){for(var c=a.length-1;c>=0;c--)typeof a[c]==="function"&&(a[c]=haa(a[c],b+"_"+c));return a},kaa=function(a){for(var b=["getCurrentPosition","watchPosition"],c=a.constructor.name,d={},e=0;e<b.length;d={name$jscomp$110:void 0},e++){d.name$jscomp$110=b[e];var f=a[d.name$jscomp$110];if(f){var h=fa(a,d.name$jscomp$110);jaa(h)&&(a[d.name$jscomp$110]=
function(l){return function(q){var u=function(){return q.apply(this,iaa(arguments,c+"."+l.name$jscomp$110))};ha(u,q);return u}}(d)(f))}}},jaa=function(a){return a?a.writable===!1?!1:!(typeof a.get==="function"&&typeof a.set==="undefined"):!0},oaa=function(a,b,c){var d=fa(a,b);!d&&c&&fa(c,b)&&(d={enumerable:!0,configurable:!0});if(d&&d.configurable&&(c=ca("on"+b+"patched"),!a.hasOwnProperty(c)||!a[c])){delete d.writable;delete d.value;var e=d.get,f=d.set,h=b.slice(2),l=laa[h];l||(l=laa[h]=ca("ON_PROPERTY"+
h));d.set=function(q){var u=this;u||a!==ia||(u=ia);u&&(typeof u[l]==="function"&&u.removeEventListener(h,maa),f&&f.call(u,null),u[l]=q,typeof q==="function"&&u.addEventListener(h,maa,!1))};d.get=function(){var q=this;q||a!==ia||(q=ia);if(!q)return null;var u=q[l];return u?u:e&&(u=e.call(this))?(d.set.call(this,u),typeof q.removeAttribute==="function"&&q.removeAttribute(b),u):null};naa(a,b,d);a[c]=!0}},paa=function(a,b,c){if(b)for(var d=0;d<b.length;d++)oaa(a,"on"+b[d],c);else{b=[];for(d in a)d.slice(0,
2)=="on"&&b.push(d);for(d=0;d<b.length;d++)oaa(a,b[d],c)}},la=function(a){var b=ia[a];if(b){ia[ca(a)]=b;ia[a]=function(){var e=iaa(arguments,a);switch(e.length){case 0:this[ja]=new b;break;case 1:this[ja]=new b(e[0]);break;case 2:this[ja]=new b(e[0],e[1]);break;case 3:this[ja]=new b(e[0],e[1],e[2]);break;case 4:this[ja]=new b(e[0],e[1],e[2],e[3]);break;default:throw Error("J");}};ha(ia[a],b);var c=new b(function(){}),d;for(d in c)a==="XMLHttpRequest"&&d==="responseBlob"||function(e){typeof c[e]===
"function"?ia[a].prototype[e]=function(){return this[ja][e].apply(this[ja],arguments)}:naa(ia[a].prototype,e,{set:function(f){typeof f==="function"?(this[ja][e]=haa(f,a+"."+e),ha(this[ja][e],f)):this[ja][e]=f},get:function(){return this[ja][e]}})}(d);for(d in b)d!=="prototype"&&b.hasOwnProperty(d)&&(ia[a][d]=b[d])}},ma=function(a,b,c){for(var d=a;d&&!d.hasOwnProperty(b);)d=qaa(d);!d&&a[b]&&(d=a);a=ca(b);var e=null;if(d&&(!(e=d[a])||!d.hasOwnProperty(a))){e=d[a]=d[b];var f=d&&fa(d,b);if(jaa(f)){var h=
c(e,a,b);d[b]=function(){return h(this,arguments)};ha(d[b],e)}}return e},raa=function(a,b,c){function d(f){var h=f.data;h.args[h.cbIdx]=function(){f.invoke.apply(this,arguments)};e.apply(h.target,h.args);return f}var e=null;e=ma(a,b,function(f){return function(h,l){var q=c(h,l);return q.cbIdx>=0&&typeof l[q.cbIdx]==="function"?Zone.current.scheduleMacroTask(q.name,l[q.cbIdx],q,d,void 0):f.apply(h,l)}})},ha=function(a,b){a[ca("OriginalDelegate")]=b},uaa=function(){if(saa)return taa;saa=!0;try{var a=
na.navigator.userAgent;if(a.indexOf("MSIE ")!==-1||a.indexOf("Trident/")!==-1||a.indexOf("Edge/")!==-1)taa=!0}catch(b){}return taa},vaa=function(a,b,c){if(!c||c.length===0)return b;c=c.filter(function(e){return e.target===a});if(!c||c.length===0)return b;var d=c[0].ignoreProperties;return b.filter(function(e){return d.indexOf(e)===-1})},waa=function(a){return Object.getOwnPropertyNames(a).filter(function(b){return b.startsWith("on")&&b.length>2}).map(function(b){return b.substring(2)})},xaa=function(a,
b){var c=(b?b(a):a)+"false";b=(b?b(a):a)+"true";c=pa+c;b=pa+b;ra[a]={};ra[a]["false"]=c;ra[a]["true"]=b},Eaa=function(a,b,c,d){function e(ka,oa,La){if(oa=oa||a.event){ka=ka||oa.target||a;var Ua=ka[ra[oa.type][La?"true":"false"]];if(Ua){La=[];if(Ua.length===1)(oa=H(Ua[0],ka,oa))&&La.push(oa);else{Ua=Ua.slice();for(var Pa=0;Pa<Ua.length&&(!oa||oa[yaa]!==!0);Pa++){var lb=H(Ua[Pa],ka,oa);lb&&La.push(lb)}}if(La.length===1)throw La[0];oa={};for(ka=0;ka<La.length;oa={err$jscomp$18:void 0},ka++)oa.err$jscomp$18=
La[ka],b.nativeScheduleMicroTask(function(qa){return function(){throw qa.err$jscomp$18;}}(oa))}}}function f(ka,oa){function La(Bb,vc){return!sa&&typeof Bb==="object"&&Bb?!!Bb.capture:sa&&vc?typeof Bb==="boolean"?{capture:Bb,passive:!0}:Bb?typeof Bb==="object"&&Bb.passive!==!1?Object.assign({},Bb,{passive:!0}):Bb:{passive:!0}:Bb}function Ua(Bb){if(typeof Bb==="object"&&Bb!==null){var vc=Object.assign({},Bb);Bb.signal&&(vc.signal=Bb.signal);return vc}return Bb}if(!ka)return!1;var Pa=!0;oa&&oa.useG!==
void 0&&(Pa=oa.useG);var lb=oa&&oa.vh,qa=!0;oa&&oa.chkDup!==void 0&&(qa=oa.chkDup);var Ga=!1;oa&&oa.rt!==void 0&&(Ga=oa.rt);for(var Ha=ka;Ha&&!Ha.hasOwnProperty(h);)Ha=qaa(Ha);!Ha&&ka[h]&&(Ha=ka);if(!Ha||Ha[A])return!1;var Ab=oa&&oa.eventNameToString,vb={},fc=Ha[A]=Ha[h],hc=Ha[ca(l)]=Ha[l];ka=Ha[ca(q)]=Ha[q];var tc=Ha[ca(u)]=Ha[u],bc;oa&&oa.prepend&&(bc=Ha[ca(oa.prepend)]=Ha[oa.prepend]);var De=function(Bb){if(!Bb.isRemoved){var vc=ra[Bb.eventName],xc;vc&&(xc=vc[Bb.capture?"true":"false"]);if(vc=
xc&&Bb.target[xc])for(var Ld=0;Ld<vc.length;Ld++)if(vc[Ld]===Bb){vc.splice(Ld,1);Bb.isRemoved=!0;Bb.removeAbortListener&&(Bb.removeAbortListener(),Bb.removeAbortListener=null);vc.length===0&&(Bb.allRemoved=!0,Bb.target[xc]=null);break}}if(Bb.allRemoved)return hc.call(Bb.target,Bb.eventName,Bb.capture?O:N,Bb.options)},mb=function(Bb){return fc.call(vb.target,vb.eventName,Bb.invoke,vb.options)},Fb=function(Bb){return bc.call(vb.target,vb.eventName,Bb.invoke,vb.options)},Sa=function(Bb){return hc.call(Bb.target,
Bb.eventName,Bb.invoke,Bb.options)};De=Pa?De:Sa;Sa=function(Bb,vc){var xc=typeof vc;return xc==="function"&&Bb.callback===vc||xc==="object"&&Bb.originalDelegate===vc};var Zb=oa&&oa.diff?oa.diff:Sa,nc=Zone[ca("UNPATCHED_EVENTS")],hd=a[ca("PASSIVE_EVENTS")];Sa=function(Bb,vc,xc,Ld,ud,tf){ud=ud===void 0?!1:ud;tf=tf===void 0?!1:tf;return function(){var Ih=this||a,sh=arguments[0];oa&&oa.transferEventName&&(sh=oa.transferEventName(sh));var sq=arguments[1];if(!sq||zaa&&sh==="uncaughtException")return Bb.apply(this,
arguments);var rSa=!1;if(typeof sq!=="function"){if(!sq.handleEvent)return Bb.apply(this,arguments);rSa=!0}if(!lb||lb(Bb,sq,Ih,arguments)){var $U=sa&&!!hd&&hd.indexOf(sh)!==-1,rs=Ua(La(arguments[2],$U)),gL=rs==null?void 0:rs.signal;if(gL==null||!gL.aborted){if(nc)for(var aV=0;aV<nc.length;aV++)if(sh===nc[aV])return $U?Bb.call(Ih,sh,sq,rs):Bb.apply(this,arguments);$U=rs?typeof rs==="boolean"?!0:rs.capture:!1;aV=rs&&typeof rs==="object"?rs.once:!1;var Gub=Zone.current,cv=ra[sh];cv||(xaa(sh,Ab),cv=ra[sh]);
var tz=cv[$U?"true":"false"];cv=Ih[tz];var hL=!1;if(cv){if(hL=!0,qa)for(tz=0;tz<cv.length;tz++)if(Zb(cv[tz],sq))return}else cv=Ih[tz]=[];var yia;tz=Ih.constructor.name;var tSa=Aaa[tz];tSa&&(yia=tSa[sh]);yia||(yia=tz+vc+(Ab?Ab(sh):sh));vb.options=rs;aV&&(vb.options.once=!1);vb.target=Ih;vb.capture=$U;vb.eventName=sh;vb.isExisting=hL;if(hL=Pa?Baa:void 0)hL.taskData=vb;gL&&(vb.options.signal=void 0);var ss=Gub.scheduleEventTask(yia,sq,hL,xc,Ld);if(gL){vb.options.signal=gL;var uSa=function(){return ss.zone.cancelTask(ss)};
Bb.call(gL,"abort",uSa,{once:!0});ss.removeAbortListener=function(){return gL.removeEventListener("abort",uSa)}}vb.target=null;hL&&(hL.taskData=null);aV&&(vb.options.once=!0);if(sa||typeof ss.options!=="boolean")ss.options=rs;ss.target=Ih;ss.capture=$U;ss.eventName=sh;rSa&&(ss.originalDelegate=sq);tf?cv.unshift(ss):cv.push(ss);if(ud)return Ih}}}};Ha[h]=Sa(fc,F,Pa?function(){if(!vb.isExisting)return fc.call(vb.target,vb.eventName,vb.capture?O:N,vb.options)}:mb,De,Ga);bc&&(Ha.prependListener=Sa(bc,
".prependListener:",Fb,De,Ga,!0));Ha[l]=function(){var Bb=this||a,vc=arguments[0];oa&&oa.transferEventName&&(vc=oa.transferEventName(vc));var xc=arguments[2];xc=xc?typeof xc==="boolean"?!0:xc.capture:!1;var Ld=arguments[1];if(!Ld)return hc.apply(this,arguments);if(!lb||lb(hc,Ld,Bb,arguments)){var ud=ra[vc],tf;ud&&(tf=ud[xc?"true":"false"]);if(ud=tf&&Bb[tf])for(var Ih=0;Ih<ud.length;Ih++){var sh=ud[Ih];if(Zb(sh,Ld)){ud.splice(Ih,1);sh.isRemoved=!0;ud.length===0&&(sh.allRemoved=!0,Bb[tf]=null,xc||typeof vc!==
"string"||(Bb[pa+"ON_PROPERTY"+vc]=null));sh.zone.cancelTask(sh);if(Ga)return Bb;return}}return hc.apply(this,arguments)}};Ha[q]=function(){var Bb=this||a,vc=arguments[0];oa&&oa.transferEventName&&(vc=oa.transferEventName(vc));var xc=[];Bb=Caa(Bb,Ab?Ab(vc):vc);for(vc=0;vc<Bb.length;vc++){var Ld=Bb[vc];xc.push(Ld.originalDelegate?Ld.originalDelegate:Ld.callback)}return xc};Ha[u]=function(){var Bb=this||a,vc=arguments[0];if(vc){oa&&oa.transferEventName&&(vc=oa.transferEventName(vc));var xc=ra[vc];if(xc){var Ld=
Bb[xc["false"]];Bb=Bb[xc["true"]];if(Ld)for(Ld=Ld.slice(),xc=0;xc<Ld.length;xc++){var ud=Ld[xc];this[l].call(this,vc,ud.originalDelegate?ud.originalDelegate:ud.callback,ud.options)}if(Bb)for(Bb=Bb.slice(),Ld=0;Ld<Bb.length;Ld++)xc=Bb[Ld],this[l].call(this,vc,xc.originalDelegate?xc.originalDelegate:xc.callback,xc.options)}}else{vc=Object.keys(Bb);for(Bb=0;Bb<vc.length;Bb++)(Ld=(Ld=Daa.exec(vc[Bb]))&&Ld[1])&&Ld!=="removeListener"&&this[u].call(this,Ld);this[u].call(this,"removeListener")}if(Ga)return this};
ha(Ha[h],fc);ha(Ha[l],hc);tc&&ha(Ha[u],tc);ka&&ha(Ha[q],ka);return!0}for(var h=d&&d.add||"addEventListener",l=d&&d.rm||"removeEventListener",q=d&&d.listeners||"eventListeners",u=d&&d.rmAll||"removeAllListeners",A=ca(h),F="."+h+":",H=function(ka,oa,La){if(!ka.isRemoved){var Ua=ka.callback;typeof Ua==="object"&&Ua.handleEvent&&(ka.callback=function(qa){return Ua.handleEvent(qa)},ka.originalDelegate=Ua);try{ka.invoke(ka,oa,[La])}catch(qa){var Pa=qa}var lb=ka.options;lb&&typeof lb==="object"&&lb.once&&
oa[l].call(oa,La.type,ka.originalDelegate?ka.originalDelegate:ka.callback,lb);return Pa}},N=function(ka){return e(this,ka,!1)},O=function(ka){return e(this,ka,!0)},T=[],ea=0;ea<c.length;ea++)T[ea]=f(c[ea],d);return T},Caa=function(a,b){if(!b){var c=[],d;for(d in a){var e=Daa.exec(d);if((e=e&&e[1])&&(!b||e===b)&&(e=a[d]))for(var f=0;f<e.length;f++)c.push(e[f])}return c}c=ra[b];c||(xaa(b),c=ra[b]);b=a[c["false"]];a=a[c["true"]];return b?a?b.concat(a):b.slice():a?a.slice():[]},Faa=function(a,b){(a=a.Event)&&
a.prototype&&b.patchMethod(a.prototype,"stopImmediatePropagation",function(c){return function(d,e){d[yaa]=!0;c&&c.apply(d,e)}})},Kaa=function(){ta.__load_patch("util",function(a,b,c){var d=waa(a);c.patchOnProperties=paa;c.patchMethod=ma;c.bindArguments=iaa;c.patchMacroTask=raa;var e=b.__symbol__("BLACK_LISTED_EVENTS"),f=b.__symbol__("UNPATCHED_EVENTS");a[f]&&(a[e]=a[f]);a[e]&&(b[e]=b[f]=a[e]);c.patchEventPrototype=Faa;c.patchEventTarget=Eaa;c.isIEOrEdge=uaa;c.ObjectDefineProperty=naa;c.ObjectGetOwnPropertyDescriptor=
fa;c.ObjectCreate=Gaa;c.ArraySlice=Haa;c.patchClass=la;c.wrapWithCurrentZone=haa;c.filterProperties=vaa;c.attachOriginToPatched=ha;c._redefineProperty=Object.defineProperty;c.patchCallbacks=faa;c.getGlobalObjects=function(){return{globalSources:Aaa,zoneSymbolEventNames:ra,eventNames:d,isBrowser:Iaa,isMix:Jaa,isNode:zaa,TRUE_STR:"true",FALSE_STR:"false",ZONE_SYMBOL_PREFIX:pa,ADD_EVENT_LISTENER_STR:"addEventListener",REMOVE_EVENT_LISTENER_STR:"removeEventListener"}}})},Raa=function(){Laa=Zone.__symbol__;
Maa=Object[Laa("defineProperty")]=Object.defineProperty;Naa=Object[Laa("getOwnPropertyDescriptor")]=Object.getOwnPropertyDescriptor;Oaa=Object.create;ua=Laa("unconfigurables");Object.defineProperty=function(a,b,c){if(a&&a[ua]&&a[ua][b])throw new TypeError("K`"+b+"`"+a);var d=c.configurable;b!=="prototype"&&(c=Paa(a,b,c));return Qaa(a,b,c,d)};Object.defineProperties=function(a,b){Object.keys(b).forEach(function(f){Object.defineProperty(a,f,b[f])});for(var c=k(Object.getOwnPropertySymbols(b)),d=c.next();!d.done;d=
c.next()){d=d.value;var e=void 0;((e=Object.getOwnPropertyDescriptor(b,d))==null?0:e.enumerable)&&Object.defineProperty(a,d,b[d])}return a};Object.create=function(a,b){typeof b!=="object"||Object.isFrozen(b)||Object.keys(b).forEach(function(c){b[c]=Paa(a,c,b[c])});return Oaa(a,b)};Object.getOwnPropertyDescriptor=function(a,b){var c=Naa(a,b);c&&a&&a[ua]&&a[ua][b]&&(c.configurable=!1);return c}},Saa=function(a,b,c){var d=c.configurable;c=Paa(a,b,c);return Qaa(a,b,c,d)},Paa=function(a,b,c){Object.isFrozen(c)||
(c.configurable=!0);c.configurable||(a[ua]||Object.isFrozen(a)||Maa(a,ua,{writable:!0,value:{}}),a[ua]&&(a[ua][b]=!0));return c},Qaa=function(a,b,c,d){try{return Maa(a,b,c)}catch(e){if(c.configurable){typeof d=="undefined"?delete c.configurable:c.configurable=d;try{return Maa(a,b,c)}catch(f){d=!1;if(b==="createdCallback"||b==="attachedCallback"||b==="detachedCallback"||b==="attributeChangedCallback")d=!0;if(!d)throw f;d=null;try{d=JSON.stringify(c)}catch(h){d=c.toString()}console.log("Attempting to configure '"+
b+"' with descriptor '"+d+"' on object '"+a+"' and got error, giving up: "+f)}}else throw e;}},Taa=function(a,b){var c=b.getGlobalObjects(),d=c.eventNames,e=c.globalSources,f=c.zoneSymbolEventNames,h=c.TRUE_STR,l=c.FALSE_STR,q=c.ZONE_SYMBOL_PREFIX,u="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 A="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=A.map(function(oa){return"HTML"+oa+"Element"}).concat(u):
a.EventTarget?c.push("EventTarget"):c=u;var F=a.__Zone_disable_IE_check||!1,H=a.__Zone_enable_cross_context_check||!1,N=b.isIEOrEdge(),O={MSPointerCancel:"pointercancel",MSPointerDown:"pointerdown",MSPointerEnter:"pointerenter",MSPointerHover:"pointerhover",MSPointerLeave:"pointerleave",MSPointerMove:"pointermove",MSPointerOut:"pointerout",MSPointerOver:"pointerover",MSPointerUp:"pointerup"};for(u=0;u<d.length;u++){var T=d[u],ea=q+(T+l),ka=q+(T+h);f[T]={};f[T][l]=ea;f[T][h]=ka}for(f=0;f<A.length;f++)for(h=
A[f],l=e[h]={},q=0;q<d.length;q++)u=d[q],l[u]=h+".addEventListener:"+u;d=[];for(e=0;e<c.length;e++)A=a[c[e]],d.push(A&&A.prototype);b.patchEventTarget(a,b,d,{vh:function(oa,La,Ua,Pa){if(!F&&N)if(H)try{var lb=La.toString();if(lb==="[object FunctionWrapper]"||lb=="function __BROWSERTOOLS_CONSOLE_SAFEFUNC() { [native code] }")return oa.apply(Ua,Pa),!1}catch(qa){return oa.apply(Ua,Pa),!1}else{if(La=La.toString(),La==="[object FunctionWrapper]"||La=="function __BROWSERTOOLS_CONSOLE_SAFEFUNC() { [native code] }")return oa.apply(Ua,
Pa),!1}else if(H)try{La.toString()}catch(qa){return oa.apply(Ua,Pa),!1}return!0},transferEventName:function(oa){return O[oa]||oa}});Zone[b.symbol("patchEventTarget")]=!!a.EventTarget},Uaa=function(a,b){var c=a.getGlobalObjects(),d=c.ADD_EVENT_LISTENER_STR,e=c.REMOVE_EVENT_LISTENER_STR,f=b.WebSocket;b.EventTarget||a.patchEventTarget(b,a,[f.prototype]);b.WebSocket=function(l,q){var u=arguments.length>1?new f(l,q):new f(l),A=a.ObjectGetOwnPropertyDescriptor(u,"onmessage");if(A&&A.configurable===!1){var F=
a.ObjectCreate(u);var H=u;[d,e,"send","close"].forEach(function(N){F[N]=function(){var O=a.ArraySlice.call(arguments);if(N===d||N===e){var T=O.length>0?O[0]:void 0;T&&(T=Zone.__symbol__("ON_PROPERTY"+T),u[T]=F[T])}return u[N].apply(u,O)}})}else F=u;a.patchOnProperties(F,["close","error","message","open"],H);return F};c=b.WebSocket;for(var h in f)c[h]=f[h]},Vaa=function(a,b){var c=a.getGlobalObjects(),d=c.isMix;if((c.isBrowser||d)&&!a.ObjectGetOwnPropertyDescriptor(HTMLElement.prototype,"onclick")&&
typeof Element!=="undefined"){if((c=a.ObjectGetOwnPropertyDescriptor(Element.prototype,"onclick"))&&!c.configurable)return!1;if(c)return a.ObjectDefineProperty(Element.prototype,"onclick",{enumerable:!0,configurable:!0,get:function(){return!0}}),d=!!document.createElement("div").onclick,a.ObjectDefineProperty(Element.prototype,"onclick",c),d}var e=b.XMLHttpRequest;if(!e)return!1;c=e.prototype;if(d=a.ObjectGetOwnPropertyDescriptor(c,"onreadystatechange"))return a.ObjectDefineProperty(c,"onreadystatechange",
{enumerable:!0,configurable:!0,get:function(){return!0}}),e=!!(new e).onreadystatechange,a.ObjectDefineProperty(c,"onreadystatechange",d||{}),e;var f=a.symbol("fake");a.ObjectDefineProperty(c,"onreadystatechange",{enumerable:!0,configurable:!0,get:function(){return this[f]},set:function(h){this[f]=h}});a=new e;c=function(){};a.onreadystatechange=c;c=a[f]===c;a.onreadystatechange=null;return c},Xaa=function(a){for(var b=a.symbol("unbound"),c={},d=0;d<Waa.length;c={onproperty:void 0},d++){var e=Waa[d];
c.onproperty="on"+e;self.addEventListener(e,function(f){return function(h){h=h.target;var l;for(l=h?h.constructor.name+"."+f.onproperty:"unknown."+f.onproperty;h;){if(h[f.onproperty]&&!h[f.onproperty][b]){var q=a.wrapWithCurrentZone(h[f.onproperty],l);q[b]=h[f.onproperty];h[f.onproperty]=q}h=h.parentElement}}}(c),!0)}},Yaa=function(){var a=typeof window!=="undefined"?window:typeof global!=="undefined"?global:typeof self!=="undefined"?self:{};a[(a.__Zone_symbol_prefix||"__zone_symbol__")+"legacyPatch"]=
function(){var b=a.Zone;b.__load_patch("defineProperty",function(c,d,e){e._redefineProperty=Saa;Raa()});b.__load_patch("registerElement",function(c,d,e){d=e.getGlobalObjects();var f=d.isMix;(d.isBrowser||f)&&"registerElement"in c.document&&e.patchCallbacks(e,document,"Document","registerElement",["createdCallback","attachedCallback","detachedCallback","attributeChangedCallback"])});b.__load_patch("EventTargetLegacy",function(c,d,e){Taa(c,e);d=e.getGlobalObjects();var f=d.isMix;d.isNode&&!f||Vaa(e,
c)||(d=typeof WebSocket!=="undefined",Xaa(e),e.patchClass("XMLHttpRequest"),d&&Uaa(e,c),Zone[e.symbol("patchEvents")]=!0)})}},Zaa=function(a,b){b.patchMethod(a,"queueMicrotask",function(){return function(c,d){Zone.current.scheduleMicroTask("queueMicrotask",d[0])}})},va=function(a,b,c,d){function e(u){var A=u.data;A.args[0]=function(){return u.invoke.apply(this,arguments)};var F=h.apply(a,A.args);typeof F==="number"?A.handleId=F:(A.handle=F,A.isRefreshable=typeof F.refresh==="function");return u}function f(u){u=
u.data;var A=u.handleId,F;return l.call(a,(F=u.handle)!=null?F:A)}var h=null,l=null;b+=d;c+=d;var q={};h=ma(a,b,function(u){return function(A,F){if(typeof F[0]==="function"){var H={isRefreshable:!1,isPeriodic:d==="Interval",delay:d==="Timeout"||d==="Interval"?F[1]||0:void 0,args:F},N=F[0];F[0]=function(){try{return N.apply(this,arguments)}finally{var La=H.handle,Ua=H.handleId,Pa=H.isRefreshable;H.isPeriodic||Pa||(Ua?delete q[Ua]:La&&(La[$aa]=null))}};var O=Zone.current.scheduleMacroTask(b,F[0],H,
e,f);if(!O)return O;var T=O.data;A=T.handleId;F=T.handle;var ea=T.isRefreshable;T=T.isPeriodic;if(A)q[A]=O;else if(F&&(F[$aa]=O,ea&&!T)){var ka=F.refresh;F.refresh=function(){var La=O.zone,Ua=O.state;Ua==="notScheduled"?(O._state="scheduled",La._updateTaskCount(O,1)):Ua==="running"&&(O._state="scheduling");return ka.call(this)}}var oa;return(oa=F!=null?F:A)!=null?oa:O}return u.apply(a,F)}});l=ma(a,c,function(u){return function(A,F){A=F[0];if(typeof A==="number"){var H=q[A];delete q[A]}else(H=A==null?
void 0:A[$aa])?A[$aa]=null:H=A;var N;((N=H)==null?0:N.type)?H.cancelFn&&H.zone.cancelTask(H):u.apply(a,F)}})},cba=function(){var a=ta;a.__load_patch("legacy",function(b){(b=b[a.__symbol__("legacyPatch")])&&b()});a.__load_patch("timers",function(b){va(b,"set","clear","Timeout");va(b,"set","clear","Interval");va(b,"set","clear","Immediate")});a.__load_patch("requestAnimationFrame",function(b){va(b,"request","cancel","AnimationFrame");va(b,"mozRequest","mozCancel","AnimationFrame");va(b,"webkitRequest",
"webkitCancel","AnimationFrame")});a.__load_patch("blocking",function(b,c){for(var d=["alert","prompt","confirm"],e=0;e<d.length;e++)ma(b,d[e],function(f,h,l){return function(q,u){return c.current.run(f,b,u,l)}})});a.__load_patch("EventTarget",function(b,c,d){d.patchEventPrototype(b,d);if(!Zone[d.symbol("patchEventTarget")]){var e=d.getGlobalObjects();c=e.eventNames;var f=e.zoneSymbolEventNames,h=e.TRUE_STR,l=e.FALSE_STR;e=e.ZONE_SYMBOL_PREFIX;for(var q=0;q<c.length;q++){var u=c[q],A=e+(u+l),F=e+
(u+h);f[u]={};f[u][l]=A;f[u][h]=F}(c=b.EventTarget)&&c.prototype&&d.patchEventTarget(b,d,[c&&c.prototype])}(c=b.XMLHttpRequestEventTarget)&&c.prototype&&d.patchEventTarget(b,d,[c.prototype])});a.__load_patch("MutationObserver",function(){la("MutationObserver");la("WebKitMutationObserver")});a.__load_patch("IntersectionObserver",function(){la("IntersectionObserver")});a.__load_patch("FileReader",function(){la("FileReader")});a.__load_patch("on_property",function(b,c,d){if((!zaa||Jaa)&&!Zone[d.symbol("patchEvents")]){c=
b.__Zone_ignore_on_properties;d=[];if(Iaa){var e=window;d=d.concat("Document SVGElement Element HTMLElement HTMLBodyElement HTMLMediaElement HTMLFrameSetElement HTMLFrameElement HTMLIFrameElement HTMLMarqueeElement Worker".split(" "));a:{try{var f=na.navigator.userAgent;if(f.indexOf("MSIE ")!==-1||f.indexOf("Trident/")!==-1){var h=!0;break a}}catch(q){}h=!1}f=h?[{target:e,ignoreProperties:["error"]}]:[];h=waa(e);var l=c?c.concat(f):c;f=qaa(e);e&&(h=vaa(e,h,l),paa(e,h,f))}d=d.concat("XMLHttpRequest XMLHttpRequestEventTarget IDBIndex IDBRequest IDBOpenDBRequest IDBDatabase IDBTransaction IDBCursor WebSocket".split(" "));
for(e=0;e<d.length;e++)(f=b[d[e]])&&f.prototype&&(h=f.prototype,f=waa(f.prototype),h&&(f=vaa(h,f,c),paa(h,f,void 0)))}});a.__load_patch("customElements",function(b,c,d){c=d.getGlobalObjects();var e=c.isMix;(c.isBrowser||e)&&b.customElements&&"customElements"in b&&d.patchCallbacks(d,b.customElements,"customElements","define","connectedCallback disconnectedCallback adoptedCallback attributeChangedCallback formAssociatedCallback formDisabledCallback formResetCallback formStateRestoreCallback".split(" "))});
a.__load_patch("XHR",function(b,c){(function(u){function A(Pa){var lb=Pa.data,qa=lb.target;qa[h]=!1;qa[q]=!1;var Ga=qa[f];O||(O=qa[aba],T=qa[bba]);Ga&&T.call(qa,"readystatechange",Ga);Ga=qa[f]=function(){if(qa.readyState===qa.DONE)if(!lb.aborted&&qa[h]&&Pa.state==="scheduled"){var Ha=qa[c.__symbol__("loadfalse")];if(qa.status!==0&&Ha&&Ha.length>0){var Ab=Pa.invoke;Pa.invoke=function(){for(var vb=qa[c.__symbol__("loadfalse")],fc=0;fc<vb.length;fc++)vb[fc]===Pa&&vb.splice(fc,1);lb.aborted||Pa.state!==
"scheduled"||Ab.call(Pa)};Ha.push(Pa)}else Pa.invoke()}else lb.aborted||qa[h]!==!1||(qa[q]=!0)};O.call(qa,"readystatechange",Ga);qa[d]||(qa[d]=Pa);La.apply(qa,lb.args);qa[h]=!0;return Pa}function F(){}function H(Pa){Pa=Pa.data;Pa.aborted=!0;return Ua.apply(Pa.target,Pa.args)}var N=u.XMLHttpRequest;if(N){N=N.prototype;var O=N[aba],T=N[bba];!O&&(u=u.XMLHttpRequestEventTarget)&&(u=u.prototype,O=u[aba],T=u[bba]);var ea=ma(N,"open",function(){return function(Pa,lb){Pa[e]=lb[2]==0;Pa[l]=lb[1];return ea.apply(Pa,
lb)}}),ka=ca("fetchTaskAborting"),oa=ca("fetchTaskScheduling"),La=ma(N,"send",function(){return function(Pa,lb){if(c.current[oa]===!0||Pa[e])return La.apply(Pa,lb);lb={target:Pa,url:Pa[l],isPeriodic:!1,args:lb,aborted:!1};var qa=Zone.current.scheduleMacroTask("XMLHttpRequest.send",F,lb,A,H);Pa&&Pa[q]===!0&&!lb.aborted&&qa.state==="scheduled"&&qa.invoke()}}),Ua=ma(N,"abort",function(){return function(Pa,lb){var qa=Pa[d];if(qa&&typeof qa.type=="string")qa.cancelFn==null||qa.data&&qa.data.aborted||qa.zone.cancelTask(qa);
else if(c.current[ka]===!0)return Ua.apply(Pa,lb)}})}})(b);var d=ca("xhrTask"),e=ca("xhrSync"),f=ca("xhrListener"),h=ca("xhrScheduled"),l=ca("xhrURL"),q=ca("xhrErrorBeforeScheduled")});a.__load_patch("geolocation",function(b){b.navigator&&b.navigator.geolocation&&kaa(b.navigator.geolocation)});a.__load_patch("PromiseRejectionEvent",function(b,c){function d(e){return function(f){Caa(b,e).forEach(function(h){var l=b.PromiseRejectionEvent;l&&(l=new l(e,{promise:f.promise,reason:f.rejection}),h.invoke(l))})}}
b.PromiseRejectionEvent&&(c[ca("unhandledPromiseRejectionHandler")]=d("unhandledrejection"),c[ca("rejectionHandledHandler")]=d("rejectionhandled"))});a.__load_patch("queueMicrotask",function(b,c,d){Zaa(b,d)})},dba=function(){ta.__load_patch("canvas",function(a,b,c){a=a.HTMLCanvasElement;typeof a!=="undefined"&&a.prototype&&a.prototype.toBlob&&c.patchMacroTask(a.prototype,"toBlob",function(d,e){return{name:"HTMLCanvasElement.toBlob",target:d,cbIdx:0,args:e}})})},wa=function(a,b){if(Error.captureStackTrace)Error.captureStackTrace(this,
wa);else{var c=Error().stack;c&&(this.stack=c)}a&&(this.message=String(a));b!==void 0&&(this.cause=b);this.reportErrorToServer=!0},eba=function(a,b){a=a.split("%s");for(var c="",d=a.length-1,e=0;e<d;e++)c+=a[e]+(e<b.length?b[e]:"%s");wa.call(this,c+a[d])},xa=function(a,b){if(a)throw Error("L");b.push(65533)},fba=function(a,b){b=String.fromCharCode.apply(null,b);return a==null?b:a+b},gba=function(a,b,c,d){c=b+c;for(var e=[],f=null,h,l,q,u;b<c;)h=a[b++],h<128?e.push(h):h<224?b>=c?xa(d,e):(l=a[b++],
h<194||(l&192)!==128?(b--,xa(d,e)):e.push((h&31)<<6|l&63)):h<240?b>=c-1?xa(d,e):(l=a[b++],(l&192)!==128||h===224&&l<160||h===237&&l>=160||((q=a[b++])&192)!==128?(b--,xa(d,e)):e.push((h&15)<<12|(l&63)<<6|q&63)):h<=244?b>=c-2?xa(d,e):(l=a[b++],(l&192)!==128||(h<<28)+(l-144)>>30!==0||((q=a[b++])&192)!==128||((u=a[b++])&192)!==128?(b--,xa(d,e)):(h=(h&7)<<18|(l&63)<<12|(q&63)<<6|u&63,h-=65536,e.push((h>>10&1023)+55296,(h&1023)+56320))):xa(d,e),e.length>=8192&&(f=fba(f,e),e.length=0);return fba(f,e)},kba=
function(a,b,c,d){var e;d?(e=hba)||(e=hba=new TextDecoder("utf-8",{fatal:!0})):(e=iba)||(e=iba=new TextDecoder("utf-8",{fatal:!1}));c=b+c;a=b===0&&c===a.length?a:a.subarray(b,c);try{return e.decode(a)}catch(f){if(b=d){if(jba===void 0){try{e.decode(new Uint8Array([128]))}catch(h){}try{e.decode(new Uint8Array([97])),jba=!0}catch(h){jba=!1}}b=!jba}b&&(hba=void 0);throw f;}},oba=function(a,b){b=b===void 0?!1:b;if(lba){if(b&&(mba?!a.isWellFormed():/(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])/.test(a)))throw Error("M");
a=(nba||(nba=new TextEncoder)).encode(a)}else{for(var c=0,d=new Uint8Array(3*a.length),e=0;e<a.length;e++){var f=a.charCodeAt(e);if(f<128)d[c++]=f;else{if(f<2048)d[c++]=f>>6|192;else{if(f>=55296&&f<=57343){if(f<=56319&&e<a.length){var h=a.charCodeAt(++e);if(h>=56320&&h<=57343){f=(f-55296)*1024+h-56320+65536;d[c++]=f>>18|240;d[c++]=f>>12&63|128;d[c++]=f>>6&63|128;d[c++]=f&63|128;continue}else e--}if(b)throw Error("M");f=65533}d[c++]=f>>12|224;d[c++]=f>>6&63|128}d[c++]=f&63|128}}a=c===d.length?d:d.subarray(0,
c)}return a},za=function(a){ya.setTimeout(function(){throw a;},0)},Aa=function(){var a=ya.navigator;return a&&(a=a.userAgent)?a:""},pba=function(a){return Ba?Ca?Ca.brands.some(function(b){return(b=b.brand)&&Da(b,a)}):!1:!1},Ea=function(a){return Da(Aa(),a)},Fa=function(){return Ba?!!Ca&&Ca.brands.length>0:!1},qba=function(){return Fa()?!1:Ea("Opera")},rba=function(){return Fa()?!1:Ea("Trident")||Ea("MSIE")},sba=function(){return Ea("Firefox")||Ea("FxiOS")},tba=function(){return Ea("Safari")&&!(Ia()||
(Fa()?0:Ea("Coast"))||qba()||(Fa()?0:Ea("Edge"))||(Fa()?pba("Microsoft Edge"):Ea("Edg/"))||(Fa()?pba("Opera"):Ea("OPR"))||sba()||Ea("Silk")||Ea("Android"))},Ia=function(){return Fa()?pba("Chromium"):(Ea("Chrome")||Ea("CriOS"))&&!(Fa()?0:Ea("Edge"))||Ea("Silk")},uba=function(){return Ea("Android")&&!(Ia()||sba()||qba()||Ea("Silk"))},vba=function(){var a=Aa();if(rba()){var b=/rv: *([\d\.]*)/.exec(a);if(b&&b[1])a=b[1];else{b="";var c=/MSIE +([\d\.]+)/.exec(a);if(c&&c[1])if(a=/Trident\/(\d.\d)/.exec(a),
c[1]=="7.0")if(a&&a[1])switch(a[1]){case "4.0":b="8.0";break;case "5.0":b="9.0";break;case "6.0":b="10.0";break;case "7.0":b="11.0"}else b="7.0";else b=c[1];a=b}}else a="";return a},wba=function(){if(Fa()){var a=Ca.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 Ba?!!Ca&&!!Ca.platform:!1},xba=function(){return Ja()?Ca.platform===
"Android":Ea("Android")},yba=function(){return Ea("iPhone")&&!Ea("iPod")&&!Ea("iPad")},Ka=function(){return yba()||Ea("iPad")||Ea("iPod")},zba=function(){return Ja()?Ca.platform==="macOS":Ea("Macintosh")},Aba=function(){return Ja()?Ca.platform==="Windows":Ea("Windows")},Bba=function(){return Ja()?Ca.platform==="Chrome OS":Ea("CrOS")},Cba=function(){var a=Aa(),b="";Aba()?(b=/Windows (?:NT|Phone) ([0-9.]+)/,b=(a=b.exec(a))?a[1]:"0.0"):Ka()?(b=/(?:iPhone|iPod|iPad|CPU)\s+OS\s+(\S+)/,b=(a=b.exec(a))&&
a[1].replace(/_/g,".")):zba()?(b=/Mac OS X ([0-9_.]+)/,b=(a=b.exec(a))?a[1].replace(/_/g,"."):"10"):Ma(Aa(),"KaiOS")?(b=/(?:KaiOS)\/(\S+)/i,b=(a=b.exec(a))&&a[1]):xba()?(b=/Android\s+([^\);]+)(\)|;)/,b=(a=b.exec(a))&&a[1]):Bba()&&(b=/(?:CrOS\s+(?:i686|x86_64)\s+([0-9.]+))/,b=(a=b.exec(a))&&a[1]);return b||""},Na=function(a){return a[a.length-1]},Dba=function(a,b){var c=0;Oa(a,function(d,e,f){b.call(void 0,d,e,f)&&++c});return c},Eba=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},Fba=function(a){if(!Array.isArray(a))for(var b=a.length-1;b>=0;b--)delete a[b];a.length=0},Ta=function(a,b){b=Qa(a,b);var c;(c=b>=0)&&Ra(a,b);return c},Ra=function(a,b){Array.prototype.splice.call(a,b,1)},Va=function(a,b){a:{for(var c=a.length,d=typeof a==="string"?a.split(""):a,e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a)){b=e;break a}b=-1}b>=0&&Ra(a,b)},Wa=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[]},Gba=function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(Xa(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)}},Iba=function(a,b,c,d){return Array.prototype.splice.apply(a,Hba(arguments,1))},Hba=function(a,b,c){return arguments.length<=2?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)},Jba=function(a,b,c){b=b||a;var d=function(q){return Ya(q)?"o"+Za(q):(typeof q).charAt(0)+q};c=c||d;for(var e=d=0,
f={};e<a.length;){var h=a[e++],l=c(h);Object.prototype.hasOwnProperty.call(f,l)||(f[l]=!0,b[d++]=h)}b.length=d},Lba=function(a,b){a.sort(b||Kba)},Mba=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||Kba;Lba(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},Kba=function(a,b){return a>b?1:a<b?-1:0},Nba=function(){for(var a=[],b=0;b<5;b+=1)a.push(b);return a},Oba=function(a,b,c){b=Array.prototype.splice.call(a,
b,1);Array.prototype.splice.call(a,c,0,b[0])},Rba=function(a){if(!Pba)return Qba(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)},Tba=function(a){return Sba[a]||""},Wba=function(a){if(!Pba)return Uba(a);Vba.test(a)&&(a=a.replace(Vba,Tba));a=atob(a);for(var b=new Uint8Array(a.length),c=0;c<a.length;c++)b[c]=a.charCodeAt(c);return b},$a=function(a){return Xba&&a!=null&&a instanceof
Uint8Array},Yba=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},ab=function(a,b,c,d){c=c===void 0?!1:c;a=typeof Symbol==="function"&&typeof Symbol()==="symbol"?(d===void 0?0:d)&&Symbol.for&&a?Symbol.for(a):a!=null?Symbol(a):Symbol():b;c&&Zba.add(a);return a},$ba=function(a){if(4&a)return 4096&a?4096:8192&a?8192:0},cb=function(a){return!!(bb(a)&2)},eb=function(a){db(a,34);return a},aca=function(a){db(a,32);return a},bca=function(a,b){fb(b,
(a|0)&-30975)},cca=function(a,b){fb(b,(a|34)&-30941)},gb=function(){return typeof BigInt==="function"},hb=function(a){return Array.prototype.slice.call(a)},dca=function(a){return a.length==0?ib():new jb(a,kb)},nb=function(a){return a.messagePrototypeMarker===eca},gca=function(a){return!(!a||typeof a!=="object"||a.mapPrototypeMarker!==fca)},ob=function(a){return a!==null&&typeof a==="object"&&!Array.isArray(a)&&a.constructor===Object},pb=function(a,b,c){if(a==null){if(!c)throw Error();}else if(typeof a===
"string")a=a?new jb(a,kb):ib();else if(a.constructor!==jb)if($a(a))a=a.length?new jb(new Uint8Array(a),kb):ib();else{if(!b)throw Error();a=void 0}return a},qb=function(a){return!Array.isArray(a)||a.length?!1:bb(a)&1?!0:!1},rb=function(a){if(a&2)throw Error();},sb=function(a,b){if(typeof b!=="number"||b<0||b>=a.length)throw Error();},hca=function(a,b){if(typeof b!=="number"||b<0||b>a.length)throw Error();},jca=function(a){var b=ica(tb);return b?a[b]:void 0},kca=function(a){return a},lca=function(a){return a},
pca=function(a,b,c,d){return mca(a,b,c,d,nca,oca)},sca=function(a,b,c,d){return mca(a,b,c,d,qca,rca)},mca=function(a,b,c,d,e,f){if(!c.length&&!d)return 0;for(var h=0,l=0,q=0,u=0,A=0,F=c.length-1;F>=0;F--){var H=c[F];d&&F===c.length-1&&H===d||(u++,H!=null&&q++)}if(d)for(var N in d)F=+N,isNaN(F)||(A+=tca(F),l++,F>h&&(h=F));u=e(u,q)+f(l,h,A);N=q;F=l;H=h;for(var O=A,T=c.length-1;T>=0;T--){var ea=c[T];if(!(ea==null||d&&T===c.length-1&&ea===d)){ea=T-b;var ka=e(ea,N)+f(F,H,O);ka<u&&(a=1+ea,u=ka);F++;N--;
O+=tca(ea);H=Math.max(H,ea)}}b=e(0,0)+f(F,H,O);b<u&&(a=0,u=b);if(d){F=l;H=h;O=A;N=q;for(var oa in d)d=+oa,isNaN(d)||d>=1024||(F--,N++,O-=oa.length,h=e(d,N)+f(F,H,O),h<u&&(a=1+d,u=h))}return a},rca=function(a,b,c){return c+a*3+(a>1?a-1:0)},qca=function(a,b){return(a>1?a-1:0)+(a-b)*4},oca=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},nca=function(a){return 40+4*a},
tca=function(a){return a>=100?a>=1E4?Math.ceil(Math.log10(1+a)):a<1E3?3:4:a<10?1:2},ub=function(a){var b=a;if(uca(b)){if(!/^\s*(?:-?[1-9]\d*|0)?\s*$/.test(b))throw Error(String(b));}else if(vca(b)&&!Number.isSafeInteger(b))throw Error(String(b));return wca?BigInt(a):a=xca(a)?a?"1":"0":uca(a)?a.trim()||"0":String(a)},yca=function(a,b){if(a.length>b.length)return!1;if(a.length<b.length||a===b)return!0;for(var c=0;c<a.length;c++){var d=a[c],e=b[c];if(d>e)return!1;if(d<e)return!0}},zca=function(a){var b=
a>>>0;wb=b;xb=(a-b)/4294967296>>>0},yb=function(a){if(a<0){zca(-a);var b=k(Aca(wb,xb));a=b.next().value;b=b.next().value;wb=a>>>0;xb=b>>>0}else zca(a)},Bca=function(a,b){var c=b*4294967296+(a>>>0);return Number.isSafeInteger(c)?c:zb(a,b)},Cca=function(a,b){var c=b&2147483648;c&&(a=~a+1>>>0,b=~b>>>0,a==0&&(b=b+1>>>0));a=Bca(a,b);return typeof a==="number"?c?-a:a:c?"-"+a:a},zb=function(a,b){b>>>=0;a>>>=0;if(b<=2097151)var c=""+(4294967296*b+a);else gb()?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+Dca(c)+Dca(a));return c},Dca=function(a){a=String(a);return"0000000".slice(a.length)+a},Eca=function(){var a=wb,b=xb;b&2147483648?gb()?a=""+(BigInt(b|0)<<BigInt(32)|BigInt(a>>>0)):(b=k(Aca(a,b)),a=b.next().value,b=b.next().value,a="-"+zb(a,b)):a=zb(a,b);return a},Fca=function(a){if(a.length<16)yb(Number(a));else if(gb())a=BigInt(a),wb=Number(a&BigInt(4294967295))>>>
0,xb=Number(a>>BigInt(32)&BigInt(4294967295));else{var b=+(a[0]==="-");xb=wb=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)),xb*=1E6,wb=wb*1E6+d,wb>=4294967296&&(xb+=Math.trunc(wb/4294967296),xb>>>=0,wb>>>=0);b&&(b=k(Aca(wb,xb)),a=b.next().value,b=b.next().value,wb=a,xb=b)}},Aca=function(a,b){b=~b;a?a=~a+1:b+=1;return[a,b]},Hca=function(){var a=Error();Gca(a,"incident");za(a)},Cb=function(a){a=Error(a);Gca(a,"warning");return a},Db=function(a,b){throw Error(b===void 0?"unexpected value "+
a+"!":b);},Ica=function(a){if(typeof a!=="number")throw Error("R`"+typeof a+"`"+a);return a},Eb=function(a){return a==null?a:Ica(a)},Jca=function(a){if(a==null||typeof a==="number")return a;if(a==="NaN"||a==="Infinity"||a==="-Infinity")return Number(a)},Kca=function(a){if(typeof a!=="boolean")throw Error("S`"+Gb(a)+"`"+a);return a},Hb=function(a){return a==null?a:Kca(a)},Lca=function(a){if(a==null||typeof a==="boolean")return a;if(typeof a==="number")return!!a},Ib=function(a){switch(typeof a){case "bigint":return!0;
case "number":return Number.isFinite(a);case "string":return Mca.test(a);default:return!1}},Jb=function(a){if(!Number.isFinite(a))throw Cb("enum");return a|0},Nca=function(a){return a==null?a:Jb(a)},Kb=function(a){return a==null?a:Number.isFinite(a)?a|0:void 0},Lb=function(a){if(typeof a!=="number")throw Cb("int32");if(!Number.isFinite(a))throw Cb("int32");return a|0},Mb=function(a){if(a==null)return a;if(typeof a==="string"&&a)a=+a;else if(typeof a!=="number")return;return Number.isFinite(a)?a|0:
void 0},Oca=function(a){if(a==null)return a;if(typeof a==="string"&&a)a=+a;else if(typeof a!=="number")return;return Number.isFinite(a)?a>>>0:void 0},Pb=function(a,b){b=b===void 0?0:b;if(!Ib(a))throw Cb("int64");var c=typeof a;switch(b){case 4096:switch(c){case "string":return Nb(a);case "bigint":return String(BigInt.asIntN(64,a));default:return Pca(a)}case 8192:switch(c){case "string":return Qca(a);case "bigint":return ub(BigInt.asIntN(64,a));default:return Rca(a)}case 0:switch(c){case "string":return Nb(a);
case "bigint":return ub(BigInt.asIntN(64,a));default:return Ob(a)}default:return Db(b,"Unknown format requested type for int64")}},Qb=function(a){return a==null?a:Pb(a,0)},Sca=function(a){return a[0]==="-"?!1:a.length<20?!0:a.length===20&&Number(a.substring(0,6))<184467},Tca=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},Uca=function(a){if(a<0){yb(a);var b=zb(wb,xb);a=Number(b);return Number.isSafeInteger(a)?
a:b}b=String(a);if(Sca(b))return b;yb(a);return Bca(wb,xb)},Vca=function(a){if(Tca(a))return a;Fca(a);return Eca()},Wca=function(a){if(Sca(a))return a;Fca(a);return zb(wb,xb)},Ob=function(a){a=Math.trunc(a);Number.isSafeInteger(a)||(yb(a),a=Cca(wb,xb));return a},Rb=function(a){a=Math.trunc(a);return a>=0&&Number.isSafeInteger(a)?a:Uca(a)},Pca=function(a){a=Math.trunc(a);if(Number.isSafeInteger(a))a=String(a);else{var b=String(a);Tca(b)?a=b:(yb(a),a=Eca())}return a},Xca=function(a){a=Math.trunc(a);
if(a>=0&&Number.isSafeInteger(a))a=String(a);else{var b=String(a);Sca(b)?a=b:(yb(a),a=zb(wb,xb))}return a},Nb=function(a){var b=Math.trunc(Number(a));if(Number.isSafeInteger(b))return String(b);b=a.indexOf(".");b!==-1&&(a=a.substring(0,b));return Vca(a)},Qca=function(a){var b=Math.trunc(Number(a));if(Number.isSafeInteger(b))return ub(b);b=a.indexOf(".");b!==-1&&(a=a.substring(0,b));return gb()?ub(BigInt.asIntN(64,BigInt(a))):ub(Vca(a))},Rca=function(a){return Number.isSafeInteger(a)?ub(Ob(a)):ub(Pca(a))},
Sb=function(a){var b=Math.trunc(Number(a));if(Number.isSafeInteger(b)&&b>=0)return String(b);b=a.indexOf(".");b!==-1&&(a=a.substring(0,b));return Wca(a)},Ub=function(a){if(a==null)return a;if(typeof a==="bigint")return Tb(a)?a=Number(a):(a=BigInt.asIntN(64,a),a=Tb(a)?Number(a):String(a)),a;if(Ib(a))return typeof a==="number"?Ob(a):Nb(a)},Vb=function(a,b){b=b===void 0?!1:b;var c=typeof a;if(a==null)return a;if(c==="bigint")return String(BigInt.asIntN(64,a));if(Ib(a))return c==="string"?Nb(a):b?Pca(a):
Ob(a)},Wb=function(a){var b=typeof a;if(a==null)return a;if(b==="bigint")return ub(BigInt.asIntN(64,a));if(Ib(a))return b==="string"?Qca(a):Rca(a)},Yca=function(a){var b=0;b=b===void 0?0:b;if(!Ib(a))throw Cb("uint64");var c=typeof a;switch(b){case 4096:switch(c){case "string":return Sb(a);case "bigint":return String(BigInt.asUintN(64,a));default:return Xca(a)}case 8192:switch(c){case "string":return b=Math.trunc(Number(a)),Number.isSafeInteger(b)&&b>=0?a=ub(b):(b=a.indexOf("."),b!==-1&&(a=a.substring(0,
b)),a=gb()?ub(BigInt.asUintN(64,BigInt(a))):ub(Wca(a))),a;case "bigint":return ub(BigInt.asUintN(64,a));default:return Number.isSafeInteger(a)?ub(Rb(a)):ub(Xca(a))}case 0:switch(c){case "string":return Sb(a);case "bigint":return ub(BigInt.asUintN(64,a));default:return Rb(a)}default:return Db(b,"Unknown format requested type for int64")}},Xb=function(a){return a==null?a:Yca(a)},Zca=function(a){if(a==null)return a;var b=typeof a;if(b==="bigint")return String(BigInt.asIntN(64,a));if(Ib(a)){if(b==="string")return Nb(a);
if(b==="number")return Ob(a)}},$ca=function(a){if(a==null)return a;var b=typeof a;if(b==="bigint")return String(BigInt.asUintN(64,a));if(Ib(a)){if(b==="string")return Sb(a);if(b==="number")return Rb(a)}},Yb=function(a){if(typeof a!=="string")throw Error();return a},ada=function(a){if(a!=null&&typeof a!=="string")throw Error();return a},$b=function(a){return a==null||typeof a==="string"?a:void 0},ac=function(a,b,c,d){if(a!=null&&typeof a==="object"&&nb(a))return a;if(!Array.isArray(a))return c?d&2?
((a=b[bda])||(a=new b,eb(a.internalArrayDoNotAccessOrElse),a=b[bda]=a),b=a):b=new b:b=void 0,b;var e=c=bb(a);e===0&&(e|=d&32);e|=d&2;e!==c&&fb(a,e);return new b(a)},cc=function(a,b,c){if(b)return Kca(a);var d;return(d=Lca(a))!=null?d:c?!1:void 0},cda=function(a,b,c){a=b?Pb(a):Ub(a);b=a==null?c?0:void 0:a;return typeof b==="string"&&(c=+b,Number.isSafeInteger(c))?c:b},dda=function(a,b,c){a=b?Pb(a,8192):Wb(a);return a==null?c?ub(0):void 0:a},dc=function(a,b,c){if(b)return Yb(a);var d;return(d=$b(a))!=
null?d:c?"":void 0},eda=function(a,b,c){a=b?Jb(a):Kb(a);return a==null?c?0:void 0:a},fda=function(a,b){if(typeof b==="string")try{b=Wba(b)}catch(c){return!1}return $a(b)&&Yba(a,b)},gda=function(a){switch(a){case "bigint":case "string":case "number":return!0;default:return!1}},ida=function(a,b){if(nb(a))a=a.internalArrayDoNotAccessOrElse;else if(!Array.isArray(a))return!1;if(nb(b))b=b.internalArrayDoNotAccessOrElse;else if(!Array.isArray(b))return!1;return hda(a,b,void 0,2)},jda=function(a,b,c){return hda(a,
b,c,0)},hda=function(a,b,c,d){if(a===b||a==null&&b==null)return!0;if(a instanceof Map)return kda(a,b,c);if(b instanceof Map)return kda(b,a,c);if(a==null||b==null)return!1;if(a instanceof jb)return lda(a,b);if(b instanceof jb)return lda(b,a);if($a(a))return fda(a,b);if($a(b))return fda(b,a);var e=typeof a,f=typeof b;if(e!=="object"||f!=="object")return Number.isNaN(a)||Number.isNaN(b)?String(a)===String(b):gda(e)&&gda(f)?""+a===""+b:e==="boolean"&&f==="number"||e==="number"&&f==="boolean"?!a===!b:
!1;if(nb(a)||nb(b))return ida(a,b);if(a.constructor!=b.constructor)return!1;if(a.constructor===Array){f=bb(a);var h=bb(b),l=a.length,q=b.length,u=Math.max(l,q);e=(f|h)&512?0:-1;(d===1||(f|h)&1)&&(d=1);f=l&&a[l-1];h=q&&b[q-1];ob(f)||(f=null);ob(h)||(h=null);l=l-e-+!!f;q=q-e-+!!h;for(var A=0;A<u;A++)if(!mda(A-e,a,f,l,b,h,q,e,c,d))return!1;if(f)for(var F in f){d=a;u=f;A=l;var H=b,N=h,O=q,T=e,ea=c,ka=+F;if(!(!Number.isFinite(ka)||ka<A||ka<O||mda(ka,d,u,A,H,N,O,T,ea,2)))return!1}if(h)for(var oa in h)if((F=
f&&oa in f)||(F=a,d=f,u=l,A=b,H=h,N=q,O=e,T=c,ea=+oa,F=!Number.isFinite(ea)||ea<u||ea<N?!0:mda(ea,F,d,u,A,H,N,O,T,2)),!F)return!1;return!0}if(a.constructor===Object)return jda([a],[b]);throw Error();},mda=function(a,b,c,d,e,f,h,l,q,u){b=nda(a,b,c,d,l);e=nda(a,e,f,h,l);u=u===1;if(e==null&&qb(b)||b==null&&qb(e))return!0;a=u?q:q==null?void 0:q.getFieldComparisonTypeInfo(a);return hda(b,e,a,0)},nda=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]},oda=function(a){return a},
pda=function(a,b,c,d,e,f){a=ac(a,d,c,f);e&&(a=ec(a));return a},qda=function(a){return a},rda=function(a,b,c){if(a.size!=b.size)return!1;var d=!0;a.forEach(function(e,f){jda(e,b.get(f),c==null?void 0:c.getFieldComparisonTypeInfo(2))||(d=!1)});return d},sda=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},tda=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(sda);for(var d=
0,e=void 0,f=b.length-1;f>=0;f--){var h=b[f];if(!h||!Array.isArray(h)||h.length!==2)return!1;var l=h[0];if(l!==e){e=void 0;if(!jda(a.get(l),h[1],(e=c)==null?void 0:e.getFieldComparisonTypeInfo(2)))return!1;e=l;d++}}return d===a.size},uda=function(a){return[a,this.get(a)]},xda=function(){return vda||(vda=new gc(eb([]),void 0,void 0,void 0,wda))},zda=function(a,b){return yda(b)},yda=function(a){switch(typeof a){case "number":return isFinite(a)?a:String(a);case "bigint":return Tb(a)?Number(a):String(a);
case "boolean":return a?1:0;case "object":if(a)if(Array.isArray(a)){if(qb(a))return}else{if($a(a))return Rba(a);if(a instanceof jb)return Ada(a);if(a instanceof gc)return Bda(a)}}return a},Cda=function(a,b,c){var d=hb(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])}(a=jca(a))&&(d[tb]=hb(a));return d},Eda=function(a,b,c,d,e){if(a!=null){if(Array.isArray(a))a=qb(a)?void 0:e&&bb(a)&2?a:Dda(a,b,c,d!==void 0,e);else if(ob(a)){var f=
{},h;for(h in a)f[h]=Eda(a[h],b,c,d,e);a=f}else a=b(a,d);return a}},Dda=function(a,b,c,d,e){var f=d||c?bb(a):0,h=d?!!(f&32):void 0;d=hb(a);for(var l=0;l<d.length;l++)d[l]=Eda(d[l],b,c,h,e);c&&((a=jca(a))&&(d[tb]=hb(a)),c(f,d));return d},Gda=function(a){return Eda(a,Fda,void 0,void 0,!1)},Fda=function(a){return nb(a)?a.toJSON():a instanceof jb?Hda(a):$a(a)?new Uint8Array(a):a instanceof gc?Bda(a,Gda):a},Jda=function(a){return Eda(a,Ida,void 0,void 0,!1)},Ida=function(a){return nb(a)?a.toJSON():a instanceof
gc?Bda(a,Jda):yda(a)},Kda=function(a){return Dda(a,Ida,void 0,void 0,!1)},Nda=function(a){switch(typeof a){case "boolean":return Lda||(Lda=[0,void 0,!0]);case "number":return a>0?void 0:a===0?Mda||(Mda=[0,void 0]):[-a,void 0];case "string":return[0,a];case "object":return a}},Oda=function(a,b,c){a=m(a,b[0],b[1],c?1:2);b!==Lda&&c&&db(a,16384);return a},m=function(a,b,c,d){if(a==null){var e=96;c?(a=[c],e|=512):a=[];b&&(e=e&-33521665|(b&1023)<<15)}else{if(!Array.isArray(a))throw Error("W");e=bb(a);if(e&
2048)throw Error("Z");if(e&64)return a;d===1||d===2||(e|=64);if(c&&(e|=512,c!==a[0]))throw Error("$");a:{c=a;if(d=c.length){var f=d-1;if(ob(c[f])){e|=256;b=f-(e&512?0:-1);if(b>=1024)throw Error("aa");e=e&-33521665|(b&1023)<<15;break a}}if(b){b=Math.max(b,d-(e&512?0:-1));if(b>1024)throw Error("ba");e=e&-33521665|(b&1023)<<15}}}fb(a,e);return a},Pda=function(a){if(typeof a==="string")return{buffer:Wba(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===jb)return{buffer:ic(a)||new Uint8Array(0),isImmutable:!0};if(a instanceof Uint8Array)return{buffer:new Uint8Array(a.buffer,a.byteOffset,a.byteLength),isImmutable:!1};throw Error("ka");},Qda=function(a,b,c){c=c===void 0?cca:c;if(a!=null){if(Xba&&a instanceof Uint8Array)return b?a:new Uint8Array(a);if(Array.isArray(a)){var d=bb(a);if(d&2)return a;b&&(b=d===0||
!!(d&32)&&!(d&64||!(d&16)));return b?(fb(a,(d|34)&-12293),a):Dda(a,Qda,d&4?cca:c,!0,!0)}nb(a)?(c=a.internalArrayDoNotAccessOrElse,d=bb(c),a=d&2?a:new a.constructor(jc(c,d,!0))):a instanceof gc&&!(a.arrayState&2)&&(c=eb(Rda(a,Qda)),a=new gc(c,a.valueCtor,a.keyToApi,a.valueToApi));return a}},jc=function(a,b,c){var d=c||b&2?cca:bca,e=!!(b&32);a=Cda(a,b,function(f){return Qda(f,e,d)});db(a,32|(c?2:0));return a},ec=function(a){var b=a.internalArrayDoNotAccessOrElse,c=bb(b);return c&2?new a.constructor(jc(b,
c,!1)):a},kc=function(a,b,c,d){var e=b&512?0:-1,f=c+e,h=a.length-1;if(f>=h&&b&256)return a[h][c]=d,b;if(f<=h)return a[f]=d,b&256&&(a=a[h],c in a&&delete a[c]),b;d!==void 0&&(h=b>>15&1023||536870912,c>=h?d!=null&&(f={},a[h+e]=(f[c]=d,f),b|=256,fb(a,b)):a[f]=d);return b},pc=function(a,b,c,d,e,f,h){var l=a.internalArrayDoNotAccessOrElse,q=bb(l);d=2&q?1:d;f=!!f;e=Sda(l,q,b,e);var u=bb(e);var A=u;4&A?h==null?a=!1:(!f&&h===0&&(4096&A||8192&A)&&(a.constructor[Tda]=(a.constructor[Tda]|0)+1)<5&&Hca(),a=h===
0?!1:!(h&A)):a=!0;if(a){4&u&&(e=hb(e),u=lc(u,q),q=kc(l,q,b,e));for(A=a=0;a<e.length;a++){var F=c(e[a]);F!=null&&(e[A++]=F)}A<a&&(e.length=A);u=Uda(u,q);c=(u|20)&-4097;u=c&=-8193;h&&(u|=h);fb(e,u);2&u&&Object.freeze(e)}d===1||d===4&&32&u?mc(u)||(f=u,u|=2,u!==f&&fb(e,u),Object.freeze(e)):(d===2&&mc(u)&&(e=hb(e),u=lc(u,q),u=oc(u,q,f),fb(e,u),q=kc(l,q,b,e)),mc(u)||(b=u,u=oc(u,q,f),u!==b&&fb(e,u)));return e},Sda=function(a,b,c,d){a=qc(a,b,c,d);return Array.isArray(a)?a:Vda},Uda=function(a,b){a===0&&(a=
lc(a,b));return a|1},mc=function(a){return!!(2&a)&&!!(4&a)||!!(2048&a)},Wda=function(a,b,c,d,e,f,h){var l=b&2;a:{var q=c,u=b&2;c=!1;if(q==null){if(u){a=xda();break a}q=[]}else if(q.constructor===gc){if((q.arrayState&2)==0||u){a=q;break a}q=Rda(q)}else Array.isArray(q)?c=cb(q):q=[];if(u){if(!q.length){a=xda();break a}c||(c=!0,eb(q))}else if(c){c=!1;u=hb(q);for(q=0;q<u.length;q++){var A=u[q]=hb(u[q]);Array.isArray(A[1])&&(A[1]=eb(A[1]))}q=u}c||(bb(q)&64?rc(q,32):32&b&&aca(q));f=new gc(q,e,f,h);kc(a,
b,d,f);a=f}!l&&e&&(a.callToMutableOnAccess=!0);return a},sc=function(a,b,c){a=a.internalArrayDoNotAccessOrElse;var d=bb(a);return Wda(a,d,qc(a,d,b),b,void 0,dc,c)},uc=function(a,b,c,d){a=a.internalArrayDoNotAccessOrElse;var e=bb(a);return Wda(a,e,qc(a,e,b),b,c,d)},wc=function(a,b,c,d){var e=a.internalArrayDoNotAccessOrElse,f=bb(e);rb(f);if(c==null)return kc(e,f,b),a;var h=bb(c),l=h,q=mc(h),u=q||Object.isFrozen(c);q||(h=0);u||(c=hb(c),l=0,h=lc(h,f),h=oc(h,f,!0),u=!1);h|=21;var A;q=(A=$ba(h))!=null?
A:0;for(A=0;A<c.length;A++){var F=c[A],H=d(F,q);Object.is(F,H)||(u&&(c=hb(c),l=0,h=lc(h,f),h=oc(h,f,!0),u=!1),c[A]=H)}h!==l&&(u&&(c=hb(c),h=lc(h,f),h=oc(h,f,!0)),fb(c,h));kc(e,f,b,c);return a},yc=function(a,b,c,d){var e=a.internalArrayDoNotAccessOrElse,f=bb(e);rb(f);kc(e,f,b,(d==="0"?Number(c)===0:c===d)?void 0:c);return a},Ac=function(a,b,c,d,e,f){return zc(a,b,c,e,d,f,void 0,1)},Xda=function(a){if(Bc){var b;return(b=a[Cc])!=null?b:a[Cc]=new Map}if(Cc in a)return a[Cc];b=new Map;Object.defineProperty(a,
Cc,{value:b});return b},Yda=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];qc(b,c,h)!=null&&(e!==0&&(c=kc(b,c,e)),e=h)}a.set(d,e);return e},Zda=function(a,b,c,d){a=a.internalArrayDoNotAccessOrElse;var e=bb(a);d=qc(a,e,c,d);b=ac(d,b,!1,e);b!==d&&b!=null&&kc(a,e,c,b);return b},$da=function(a,b,c,d,e,f,h,l){a=a.internalArrayDoNotAccessOrElse;var q=!!(2&b);e=q?1:e;h=!!h;l&&(l=!q);f=Sda(a,b,d,f);var u=bb(f);q=!!(4&u);if(!q){u=Uda(u,b);var A=f,F=b,H=!!(2&u);
H&&(F|=2);for(var N=!H,O=!0,T=0,ea=0;T<A.length;T++){var ka=ac(A[T],c,!1,F);if(ka instanceof c){if(!H){var oa=cb(ka.internalArrayDoNotAccessOrElse);N&&(N=!oa);O&&(O=oa)}A[ea++]=ka}}ea<T&&(A.length=ea);u|=4;u=O?u|16:u&-17;u=N?u|8:u&-9;fb(A,u);H&&Object.freeze(A)}if(l&&!(8&u||!f.length&&(e===1||e===4&&32&u))){mc(u)&&(f=hb(f),u=lc(u,b),b=kc(a,b,d,f));c=f;l=u;for(A=0;A<c.length;A++)u=c[A],F=ec(u),u!==F&&(c[A]=F);l|=8;l=c.length?l&-17:l|16;fb(c,l);u=l}e===1||e===4&&32&u?mc(u)||(b=u,u|=!f.length||16&u&&
(!q||32&u)?2:2048,u!==b&&fb(f,u),Object.freeze(f)):(e===2&&mc(u)&&(f=hb(f),u=lc(u,b),u=oc(u,b,h),fb(f,u),b=kc(a,b,d,f)),mc(u)||(d=u,u=oc(u,b,h),u!==d&&fb(f,u)));return f},lc=function(a,b){a=(2&b?a|2:a&-3)|32;return a&=-2049},oc=function(a,b,c){32&b&&c||(a&=-33);return a},zc=function(a,b,c,d,e,f,h,l,q,u){rb(bb(a.internalArrayDoNotAccessOrElse));b=pc(a,b,f,2,h,!0);var A;f=(A=$ba(bb(b)))!=null?A:0;if(q)if(Array.isArray(d))for(e=d.length,l=0;l<e;l++)b.push(c(d[l],f));else for(d=k(d),e=d.next();!e.done;e=
d.next())b.push(c(e.value,f));else l&&u?(e!=null||(e=b.length-1),sb(b,e),b.splice(e,l)):(l&&hca(b,e),e!=void 0?b.splice(e,l,c(d,f)):b.push(c(d,f)));return a},Dc=function(a,b,c,d,e,f,h,l){var q=bb(a.internalArrayDoNotAccessOrElse);rb(q);a=$da(a,q,c,b,2,f,!0);if(h&&l)e!=null||(e=a.length-1),sb(a,e),a.splice(e,h);else return h?hca(a,e):d=d!=null?d:new c,e!=void 0?a.splice(e,h,d):a.push(d),cb(d.internalArrayDoNotAccessOrElse)?rc(a,8):rc(a,16),d},aea=function(a){return Vb(a,!0)},bea=function(a){return pb(a,
!1,!1)},cea=function(a){return a},eea=function(a){var b=a.internalArrayDoNotAccessOrElse,c=Ec(b);b=c!==b;var d=bb(b?a.internalArrayDoNotAccessOrElse:c);if(a=c.length){var e=c[a-1],f=ob(e);f?a--:e=void 0;var h=d&512?0:-1,l=a-h;d=!!dea&&!(d&512);var q,u=(q=dea)!=null?q:lca;q=d?u(l,h,c,e):l;d=(l=d&&l!==q)?Array.prototype.slice.call(c,0,a):c;if(f||l){b:{var A=d;var F=e;var H;f=!1;if(l)for(u=Math.max(0,q+h);u<A.length;u++){var N=A[u],O=u-h;N==null||qb(N)||gca(N)&&N.size===0||(f=A[u]=void 0,((f=H)!=null?
f:H={})[O]=N,f=!0)}if(F)for(var T in F)if(u=+T,isNaN(u))u=void 0,((u=H)!=null?u:H={})[T]=F[T];else if(N=F[T],Array.isArray(N)&&(qb(N)||gca(N)&&N.size===0)&&(N=null),N==null&&(f=!0),l&&u<q){f=!0;N=u+h;for(O=A.length;O<=N;O++)A.push(void 0);A[N]=F[u]}else N!=null&&(u=void 0,((u=H)!=null?u:H={})[T]=N);f||(H=F);if(H)for(var ea in H){F=H;break b}F=null}A=F==null?e!=null:F!==e}l&&(a=d.length);for(var ka;a>0;a--){H=a-1;H=d[H];if(!(H==null||qb(H)||gca(H)&&H.size===0))break;ka=!0}if(d!==c||A||ka){if(!l&&!b)d=
Array.prototype.slice.call(d,0,a);else if(ka||A||F)d.length=a;F&&d.push(F)}c=d}return c},fea=function(a,b){if(b==null)return new a;if(!Array.isArray(b))throw Error("U");if(Object.isFrozen(b)||Object.isSealed(b)||!Object.isExtensible(b))throw Error("V");db(b,128);return new a(aca(b))},Fc=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)},Gc=function(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c},gea=function(a,b,c){var d={},e;for(e in a)d[e]=b.call(c,a[e],e,a);return d},
hea=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1},iea=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b},jea=function(a,b){return a!==null&&b in a},kea=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return c},lea=function(a,b){return(b=kea(a,b))&&a[b]},Hc=function(a){for(var b in a)return!1;return!0},mea=function(a){for(var b in a)delete a[b]},Ic=function(a,b){b in a&&delete a[b]},nea=function(a,b,c){if(a!==null&&b in a)throw Error("oa`"+b);a[b]=c},oea=
function(a,b){return a!==null&&b in a?a[b]:void 0},Jc=function(a){var b={},c;for(c in a)b[c]=a[c];return b},qea=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<pea.length;f++)c=pea[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}},sea=function(){var a=null;if(!rea)return a;try{var b=function(c){return c};a=rea.createPolicy("goog#html",{createHTML:b,createScript:b,createScriptURL:b})}catch(c){}return a},uea=function(){tea===void 0&&
(tea=sea());return tea},Lc=function(a){var b=uea();return new Kc(b?b.createScriptURL(a):a)},Mc=function(a){if(a instanceof Kc)return a.privateDoNotAccessOrElseWrappedResourceUrl;throw Error("qa");},vea=function(a){return a.toString().indexOf("`")===-1},Oc=function(a){return a instanceof Nc},Pc=function(a){if(Oc(a))return a.privateDoNotAccessOrElseWrappedUrl;throw Error("qa");},Qc=function(a){return new wea(function(b){return b.substr(0,a.length+1).toLowerCase()===a+":"})},Rc=function(a){var b=b===
void 0?xea:b;a:if(b=b===void 0?xea:b,!Oc(a)){for(var c=0;c<b.length;++c){var d=b[c];if(d instanceof wea&&d.isValid(a)){a=new Nc(a);break a}}a=void 0}return a||yea},Aea=function(a){if(zea.test(a))return a},Sc=function(a){return a instanceof Nc?Pc(a):Aea(a)},Bea=function(a,b){b=Sc(b);b!==void 0&&(a.href=b)},Uc=function(a){var b=uea();return new Tc(b?b.createHTML(a):a)},Vc=function(a){return a instanceof Tc},Wc=function(a){if(Vc(a))return a.privateDoNotAccessOrElseWrappedHtml;throw Error("qa");},Cea=
function(a,b){if(a.nodeType===1&&/^(script|style)$/i.test(a.tagName))throw Error("qa");a.innerHTML=Wc(b)},Dea=function(a,b){a.src=Mc(b).toString()},Xc=function(a,b,c,d){b=Sc(b);return b!==void 0?a.open(b,c,d):null},Eea=function(a){a=a===void 0?document:a;var b,c;a=(c=(b="document"in a?a.document:a).querySelector)==null?void 0:c.call(b,"script[nonce]");return a==null?"":a.nonce||a.getAttribute("nonce")||""},Yc=function(a,b){a.src=Mc(b);(b=Eea(a.ownerDocument))&&a.setAttribute("nonce",b)},Fea=function(){ta.__load_patch("Error",
function(a,b,c){function d(La){for(var Ua={zoneName:La.zone.name},Pa=Ua;La.parent;){La=La.parent;var lb={zoneName:La.zone.name};Ua=Ua.parent=lb}return Pa}function e(La,Ua,Pa){Pa=Pa===void 0?!0:Pa;La=La.split("\n");for(var lb=0;La[lb]!==A&&La[lb]!==F&&La[lb]!==H&&La[lb]!==N&&La[lb]!==O&&lb<La.length;)lb++;for(;lb<La.length&&Ua;lb++){var qa=La[lb];if(qa.trim())switch(u[qa]){case h.zoneJsInternal:La.splice(lb,1);lb--;break;case h.transition:Ua.parent?Ua=Ua.parent:Ua=null;La.splice(lb,1);lb--;break;default:La[lb]+=
Pa?" ["+Ua.zone.name+"]":" ["+Ua.zoneName+"]"}}return La.join("\n")}function f(){var La=this,Ua=q.apply(this,arguments),Pa=Ua.originalStack=Ua.stack;if(f.stackRewrite&&Pa){var lb=c.currentZoneFrame();if(T==="lazy")Ua[c.symbol("zoneFrameNames")]=d(lb);else if(T==="default")try{Ua.stack=Ua.zoneAwareStack=e(Pa,lb)}catch(qa){}}return this instanceof q&&this.constructor!=q?(Object.keys(Ua).concat("stack","message").forEach(function(qa){var Ga=Ua[qa];if(Ga!==void 0)try{La[qa]=Ga}catch(Ha){}}),this):Ua}
var h={zoneJsInternal:0,transition:1},l=c.symbol("zoneJsInternalStackFrames"),q=a[c.symbol("Error")]=a.Error,u={},A,F,H,N,O;a.Error=f;var T=a.__Zone_Error_BlacklistedStackFrames_policy||a.__Zone_Error_ZoneJsInternalStackFrames_policy||"default";f.prototype=q.prototype;f[l]=u;f.stackRewrite=!1;var ea=c.symbol("zoneAwareStack");T==="lazy"&&Object.defineProperty(f.prototype,"zoneAwareStack",{configurable:!0,enumerable:!0,get:function(){this[ea]||(this[ea]=e(this.originalStack,this[c.symbol("zoneFrameNames")],
!1));return this[ea]},set:function(La){this.originalStack=La;this[ea]=e(this.originalStack,this[c.symbol("zoneFrameNames")],!1)}});var ka=["stackTraceLimit","captureStackTrace","prepareStackTrace"];(a=Object.keys(q))&&a.forEach(function(La){ka.filter(function(Ua){return Ua===La}).length===0&&Object.defineProperty(f,La,{get:function(){return q[La]},set:function(Ua){q[La]=Ua}})});q.hasOwnProperty("stackTraceLimit")&&(q.stackTraceLimit=Math.max(q.stackTraceLimit,15),Object.defineProperty(f,"stackTraceLimit",
{get:function(){return q.stackTraceLimit},set:function(La){return q.stackTraceLimit=La}}));q.hasOwnProperty("captureStackTrace")&&Object.defineProperty(f,"captureStackTrace",{value:function(La,Ua){q.captureStackTrace(La,Ua)}});Object.defineProperty(f,"prepareStackTrace",{get:function(){return q.prepareStackTrace},set:function(La){return La&&typeof La==="function"?q.prepareStackTrace=function(Ua,Pa){if(Pa)for(var lb=0;lb<Pa.length;lb++)if(Pa[lb].getFunctionName()==="zoneCaptureStackTrace"){Pa.splice(lb,
1);break}return La.call(this,Ua,Pa)}:q.prepareStackTrace=La}});if(T!=="disable"){var oa=b.current.fork({name:"detect",onHandleError:function(La,Ua,Pa,lb){if(lb.originalStack&&Error===f)for(La=lb.originalStack.split(/\n/),lb=Pa=Ua=!1;La.length;){var qa=La.shift();if(/:\d+:\d+/.test(qa)||qa==="ZoneAwareError"){var Ga=qa.split("(")[0].split("@")[0],Ha=h.transition;Ga.indexOf("ZoneAwareError")!==-1&&(Ga.indexOf("new ZoneAwareError")!==-1?(A=qa,F=qa.replace("new ZoneAwareError","new Error.ZoneAwareError")):
(H=qa,N=qa.replace("Error.",""),qa.indexOf("Error.ZoneAwareError")===-1&&(O=qa.replace("ZoneAwareError","Error.ZoneAwareError"))),u[F]=h.zoneJsInternal);Ga.indexOf("runGuarded")!==-1?Pa=!0:Ga.indexOf("runTask")!==-1?lb=!0:Ga.indexOf("run")!==-1?Ua=!0:Ha=h.zoneJsInternal;u[qa]=Ha;if(Ua&&Pa&&lb){f.stackRewrite=!0;break}}}return!1}}).fork({name:"child",onScheduleTask:function(La,Ua,Pa,lb){return La.scheduleTask(Pa,lb)},onInvokeTask:function(La,Ua,Pa,lb,qa,Ga){return La.invokeTask(Pa,lb,qa,Ga)},onCancelTask:function(La,
Ua,Pa,lb){return La.cancelTask(Pa,lb)},onInvoke:function(La,Ua,Pa,lb,qa,Ga,Ha){return La.invoke(Pa,lb,qa,Ga,Ha)}});b=Error.stackTraceLimit;Error.stackTraceLimit=100;oa.run(function(){oa.runGuarded(function(){var La=function(){};oa.scheduleEventTask(l,function(){oa.scheduleMacroTask(l,function(){oa.scheduleMicroTask(l,function(){throw Error();},void 0,function(Ua){Ua._transitionTo=La;Ua.invoke()});oa.scheduleMicroTask(l,function(){throw Error();},void 0,function(Ua){Ua._transitionTo=La;Ua.invoke()})},
void 0,function(Ua){Ua._transitionTo=La;Ua.invoke()},function(){})},void 0,function(Ua){Ua._transitionTo=La;Ua.invoke()},function(){})})});Error.stackTraceLimit=b}})},Gea=function(){ta.__load_patch("ZoneAwarePromise",function(a,b,c){function d(mb){if(mb&&mb.toString===Object.prototype.toString){var Fb=mb.constructor&&mb.constructor.name;return(Fb?Fb:"")+": "+JSON.stringify(mb)}return mb?mb.toString():Object.prototype.toString.call(mb)}function e(mb){c.onUnhandledError(mb);try{var Fb=b[Ua];typeof Fb===
"function"&&Fb.call(this,mb)}catch(Sa){}}function f(mb){return mb}function h(mb){return bc.reject(mb)}function l(mb,Fb){return function(Sa){try{q(mb,Fb,Sa)}catch(Zb){q(mb,!1,Zb)}}}function q(mb,Fb,Sa){var Zb=Ab();if(mb===Sa)throw new TypeError("za");if(mb[Pa]===null){var nc=null;try{if(typeof Sa==="object"||typeof Sa==="function")nc=Sa&&Sa.then}catch(hd){return Zb(function(){q(mb,!1,hd)})(),mb}if(Fb!==!1&&Sa instanceof bc&&Sa.hasOwnProperty(Pa)&&Sa.hasOwnProperty(lb)&&Sa[Pa]!==null)u(Sa),q(mb,Sa[Pa],
Sa[lb]);else if(Fb!==!1&&typeof nc==="function")try{nc.call(Sa,Zb(l(mb,Fb)),Zb(l(mb,!1)))}catch(hd){Zb(function(){q(mb,!1,hd)})()}else{mb[Pa]=Fb;Zb=mb[lb];mb[lb]=Sa;mb[qa]===qa&&Fb===!0&&(mb[Pa]=mb[Ha],mb[lb]=mb[Ga]);Fb===!1&&Sa instanceof Error&&(nc=b.currentTask&&b.currentTask.data&&b.currentTask.data.__creationTrace__)&&O(Sa,vb,{configurable:!0,enumerable:!1,writable:!0,value:nc});for(nc=0;nc<Zb.length;)A(mb,Zb[nc++],Zb[nc++],Zb[nc++],Zb[nc++]);if(Zb.length==0&&Fb==0){mb[Pa]=0;Fb=Sa;try{throw Error("Aa`"+
d(Sa)+"`"+(Sa&&Sa.stack?"\n"+Sa.stack:""));}catch(hd){Fb=hd}ka&&(Fb.throwOriginal=!0);Fb.rejection=Sa;Fb.promise=mb;Fb.zone=b.current;Fb.task=b.currentTask;ea.push(Fb);c.scheduleMicroTask()}}}return mb}function u(mb){if(mb[Pa]===0){try{var Fb=b[fc];Fb&&typeof Fb==="function"&&Fb.call(this,{rejection:mb[lb],promise:mb})}catch(Sa){}mb[Pa]=!1;for(Fb=0;Fb<ea.length;Fb++)mb===ea[Fb].promise&&ea.splice(Fb,1)}}function A(mb,Fb,Sa,Zb,nc){u(mb);var hd=mb[Pa],Bb=hd?typeof Zb==="function"?Zb:f:typeof nc==="function"?
nc:h;Fb.scheduleMicroTask("Promise.then",function(){try{var vc=mb[lb],xc=!!Sa&&qa===Sa[qa];xc&&(Sa[Ga]=vc,Sa[Ha]=hd);var Ld=Fb.run(Bb,void 0,xc&&Bb!==h&&Bb!==f?[]:[vc]);q(Sa,!0,Ld)}catch(ud){q(Sa,!1,ud)}},Sa)}function F(mb){var Fb=mb.prototype,Sa=N(Fb,"then");if(!Sa||Sa.writable!==!1&&Sa.configurable){var Zb=Fb.then;Fb[La]=Zb;mb.prototype.then=function(nc,hd){var Bb=this;return(new bc(function(vc,xc){Zb.call(Bb,vc,xc)})).then(nc,hd)};mb[De]=!0}}function H(mb){return function(Fb,Sa){Fb=mb.apply(Fb,
Sa);if(Fb instanceof bc)return Fb;Sa=Fb.constructor;Sa[De]||F(Sa);return Fb}}var N=Object.getOwnPropertyDescriptor,O=Object.defineProperty,T=c.symbol,ea=[],ka=a[T("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")]!==!1,oa=T("Promise"),La=T("then");c.onUnhandledError=function(mb){if(c.showUncaughtError()){var Fb=mb&&mb.rejection;Fb?console.error("Unhandled Promise rejection:",Fb instanceof Error?Fb.message:Fb,"; Zone:",mb.zone.name,"; Task:",mb.task&&mb.task.source,"; Value:",Fb,Fb instanceof Error?Fb.stack:
void 0):console.error(mb)}};c.microtaskDrainDone=function(){for(var mb={};ea.length;mb={uncaughtPromiseError:void 0}){mb.uncaughtPromiseError=ea.shift();try{mb.uncaughtPromiseError.zone.runGuarded(function(Fb){return function(){if(Fb.uncaughtPromiseError.throwOriginal)throw Fb.uncaughtPromiseError.rejection;throw Fb.uncaughtPromiseError;}}(mb))}catch(Fb){e(Fb)}}};var Ua=T("unhandledPromiseRejectionHandler"),Pa=T("state"),lb=T("value"),qa=T("finally"),Ga=T("parentPromiseValue"),Ha=T("parentPromiseState"),
Ab=function(){var mb=!1;return function(Fb){return function(){mb||(mb=!0,Fb.apply(null,arguments))}}},vb=T("currentTaskTrace"),fc=T("rejectionHandledHandler"),hc=function(){},tc=a.AggregateError,bc=function(mb){if(!(this instanceof bc))throw Error("Ba");this[Pa]=null;this[lb]=[];try{var Fb=Ab();mb&&mb(Fb(l(this,!0)),Fb(l(this,!1)))}catch(Sa){q(this,!1,Sa)}};bc.toString=function(){return"function ZoneAwarePromise() { [native code] }"};bc.resolve=function(mb){return mb instanceof bc?mb:q(new this(null),
!0,mb)};bc.reject=function(mb){return q(new this(null),!1,mb)};bc.withResolvers=function(){var mb={};mb.promise=new bc(function(Fb,Sa){mb.resolve=Fb;mb.reject=Sa});return mb};bc.any=function(mb){if(!mb||typeof mb[Symbol.iterator]!=="function")return Promise.reject(new tc([],"All promises were rejected"));var Fb=[],Sa=0;try{for(var Zb=k(mb),nc=Zb.next();!nc.done;nc=Zb.next()){var hd=nc.value;Sa++;Fb.push(bc.resolve(hd))}}catch(xc){return Promise.reject(new tc([],"All promises were rejected"))}if(Sa===
0)return Promise.reject(new tc([],"All promises were rejected"));var Bb=!1,vc=[];return new bc(function(xc,Ld){for(var ud=0;ud<Fb.length;ud++)Fb[ud].then(function(tf){Bb||(Bb=!0,xc(tf))},function(tf){vc.push(tf);Sa--;Sa===0&&(Bb=!0,Ld(new tc(vc,"All promises were rejected")))})})};bc.race=function(mb){function Fb(vc){Zb(vc)}function Sa(vc){nc(vc)}var Zb,nc,hd=new this(function(vc,xc){Zb=vc;nc=xc});mb=k(mb);for(var Bb=mb.next();!Bb.done;Bb=mb.next())(Bb=Bb.value)&&typeof Bb.then==="function"||(Bb=
this.resolve(Bb)),Bb.then(Fb,Sa);return hd};bc.all=function(mb){return bc.allWithCallback(mb)};bc.allSettled=function(mb){return(this&&this.prototype instanceof bc?this:bc).allWithCallback(mb,{thenCallback:function(Fb){return{status:"fulfilled",value:Fb}},errorCallback:function(Fb){return{status:"rejected",reason:Fb}}})};bc.allWithCallback=function(mb,Fb){var Sa,Zb,nc=new this(function(ud,tf){Sa=ud;Zb=tf}),hd=2,Bb=0,vc=[];mb=k(mb);for(var xc=mb.next(),Ld={};!xc.done;Ld={curValueIndex:void 0},xc=mb.next()){(xc=
xc.value)&&typeof xc.then==="function"||(xc=this.resolve(xc));Ld.curValueIndex=Bb;try{xc.then(function(ud){return function(tf){vc[ud.curValueIndex]=Fb?Fb.thenCallback(tf):tf;hd--;hd===0&&Sa(vc)}}(Ld),function(ud){return function(tf){Fb?(vc[ud.curValueIndex]=Fb.errorCallback(tf),hd--,hd===0&&Sa(vc)):Zb(tf)}}(Ld))}catch(ud){Zb(ud)}hd++;Bb++}hd-=2;hd===0&&Sa(vc);return nc};da.Object.defineProperty(bc.prototype,Symbol.toStringTag,{configurable:!0,enumerable:!0,get:function(){return"Promise"}});da.Object.defineProperty(bc.prototype,
Symbol.species,{configurable:!0,enumerable:!0,get:function(){return bc}});bc.prototype.then=function(mb,Fb){var Sa,Zb=(Sa=this.constructor)==null?void 0:Sa[Symbol.species];Zb&&typeof Zb==="function"||(Zb=this.constructor||bc);Sa=new Zb(hc);Zb=b.current;this[Pa]==null?this[lb].push(Zb,Sa,mb,Fb):A(this,Zb,Sa,mb,Fb);return Sa};bc.prototype.catch=function(mb){return this.then(null,mb)};bc.prototype.finally=function(mb){var Fb,Sa=(Fb=this.constructor)==null?void 0:Fb[Symbol.species];Sa&&typeof Sa==="function"||
(Sa=bc);Fb=new Sa(hc);Fb[qa]=qa;Sa=b.current;this[Pa]==null?this[lb].push(Sa,Fb,mb,mb):A(this,Sa,Fb,mb,mb);return Fb};bc.resolve=bc.resolve;bc.reject=bc.reject;bc.race=bc.race;bc.all=bc.all;oa=a[oa]=a.Promise;a.Promise=bc;var De=T("thenPatched");c.patchThen=F;oa&&(F(oa),ma(a,"fetch",function(mb){return H(mb)}));Promise[b.__symbol__("uncaughtPromiseErrors")]=ea;return bc})},Hea=function(){ta.__load_patch("toString",function(a){var b=Function.prototype.toString,c=ca("OriginalDelegate"),d=ca("Promise"),
e=ca("Error"),f=function(){if(typeof this==="function"){var l=this[c];if(l)return typeof l==="function"?b.call(l):Object.prototype.toString.call(l);if(this===Promise&&(l=a[d])||this===Error&&(l=a[e]))return b.call(l)}return b.call(this)};f[c]=b;Function.prototype.toString=f;var h=Object.prototype.toString;Object.prototype.toString=function(){return typeof Promise==="function"&&this instanceof Promise?"[object Promise]":h.call(this)}})},Zc=function(a){for(var b in a)if(a[b]===Zc)return b;throw Error("Da");
},n=function(a){return{token:a.token,providedIn:a.providedIn||null,factory:a.factory,value:void 0}},p=function(a){return{providers:a.providers||[],imports:a.imports||[]}},Kea=function(a){var b;(b=a.hasOwnProperty(Iea)?a[Iea]:null)||(b=a.hasOwnProperty(Jea)?a[Jea]:null);return b},Lea=function(a){return(a=a&&(a[Iea]||a[Jea]))?a:null},Oea=function(a){return a&&(a.hasOwnProperty(Mea)||a.hasOwnProperty(Nea))?a[Mea]:null},$c=function(a){return typeof a==="string"?a:a==null?"":String(a)},ad=function(a){if(typeof a===
"string")return a;if(Array.isArray(a))return"["+a.map(ad).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)},Pea=function(a,b){return a==null||a===""?b===null?"":b:b==null||b===""?a:a+" "+b},Qea=function(){throw new bd(-201,!1);},Rea=function(a,b){return Object.is(a,b)},dd=function(a){var b=cd;cd=a;return b},Wea=function(a){if(Sea)throw Error("qa");
if(cd!==null){cd.consumerOnSignalRead(a);var b=cd.nextProducerIndex++;Tea(cd);b<cd.producerNode.length&&cd.producerNode[b]!==a&&ed(cd)&&Uea(cd.producerNode[b],cd.producerIndexOfThis[b]);cd.producerNode[b]!==a&&(cd.producerNode[b]=a,cd.producerIndexOfThis[b]=ed(cd)?Vea(a,cd,b):0);cd.producerLastReadVersion[b]=a.version}},Zea=function(a){if(!ed(a)||a.dirty)if(a.dirty||a.lastCleanEpoch!==Xea)(a.producerMustRecompute(a)||Yea(a))&&a.producerRecomputeValue(a),a.dirty=!1,a.lastCleanEpoch=Xea},$ea=function(a){if(a.liveConsumerNode!==
void 0){var b=Sea;Sea=!0;try{for(var c=k(a.liveConsumerNode),d=c.next();!d.done;d=c.next()){var e=d.value;e.dirty||(a=void 0,e.dirty=!0,$ea(e),(a=e.consumerMarkedDirty)==null||a.call(e,e))}}finally{Sea=b}}},afa=function(){var a;return((a=cd)==null?void 0:a.consumerAllowSignalWrites)!==!1},fd=function(a){a&&(a.nextProducerIndex=0);return dd(a)},gd=function(a,b){dd(b);if(a&&a.producerNode!==void 0&&a.producerIndexOfThis!==void 0&&a.producerLastReadVersion!==void 0){if(ed(a))for(b=a.nextProducerIndex;b<
a.producerNode.length;b++)Uea(a.producerNode[b],a.producerIndexOfThis[b]);for(;a.producerNode.length>a.nextProducerIndex;)a.producerNode.pop(),a.producerLastReadVersion.pop(),a.producerIndexOfThis.pop()}},Yea=function(a){Tea(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;Zea(c);if(d!==c.version)return!0}return!1},bfa=function(a){Tea(a);if(ed(a))for(var b=0;b<a.producerNode.length;b++)Uea(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)},Vea=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]=Vea(a.producerNode[d],a,d);a.liveConsumerIndexOfThis.push(c);return a.liveConsumerNode.push(b)-1},Uea=function(a,b){cfa(a);if(a.liveConsumerNode.length===1&&a.producerNode!==void 0)for(var c=
0;c<a.producerNode.length;c++)Uea(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],Tea(a),a.producerIndexOfThis[c]=b)},ed=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},Tea=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(){Zea(b);Wea(b);if(b.value===efa)throw b.error;return b.value};a[id]=b;return a},hfa=function(a){var b=
Object.create(gfa);b.value=a;a=function(){Wea(b);return b.value};a[id]=b;return a},jfa=function(a,b){afa()||ifa();a.equal(a.value,b)||(a.value=b,a.version++,Xea++,$ea(a))},kd=function(a){var b=jd;jd=a;return b},kfa=function(a,b,c){if((a=Kea(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;Qea()},ld=function(a){a.__forward_ref__=ld;a.toString=function(){return ad(this())};return a},md=function(a){return lfa(a)?a():a},lfa=function(a){return typeof a===
"function"&&a.hasOwnProperty(mfa)&&a.__forward_ref__===ld},od=function(a){var b=nd;nd=a;return b},nfa=function(a,b){b=b===void 0?0:b;if(nd===void 0)throw new bd(-203,!1);return nd===null?kfa(a,void 0,b):nd.get(a,b&8?null:void 0,b)},pd=function(a,b){b=b===void 0?0:b;return(jd||nfa)(md(a),b)},r=function(a,b){return pd(a,ofa(b===void 0?0:b))},ofa=function(a){return typeof a==="undefined"||typeof a==="number"?a:0|(a.optional&&8)|(a.host&&1)|(a.self&&2)|(a.skipSelf&&4)},pfa=function(a){for(var b=[],c=
0;c<a.length;c++){var d=md(a[c]);if(Array.isArray(d)){if(d.length===0)throw new bd(900,!1);for(var e=void 0,f=0,h=0;h<d.length;h++){var l=d[h],q=l.__NG_DI_FLAG__;typeof q==="number"?q===-1?e=l.token:f|=q:e=l}b.push(pd(e,f))}else b.push(pd(d))}return b},qd=function(a,b){a.__NG_DI_FLAG__=b;a.prototype.__NG_DI_FLAG__=b;return a},rfa=function(a){return a[qfa]||null},rd=function(a){return a.hasOwnProperty(sfa)?a[sfa]:null},tfa=function(a,b){a.forEach(function(c){return Array.isArray(c)?tfa(c,b):b(c)})},
ufa=function(a,b){return b>=a.length-1?a.pop():a.splice(b,1)[0]},td=function(a,b,c){var d=sd(a,b);if(d>=0)a[d|1]=c;else{var e=d=~d,f=a.length;if(f==e)a.push(b,c);else if(f===1)a.push(c,a[0]),a[0]=b;else{f--;for(a.push(a[f-1],a[f]);f>e;)a[f]=a[f-2],f--;a[e]=b;a[e+1]=c}}return d},vfa=function(a,b){b=sd(a,b);if(b>=0)return a[b|1]},sd=function(a,b){for(var c=0,d=a.length>>1;d!==c;){var e=c+(d-c>>1),f=a[e<<1];if(b===f)return e<<1;f>b?d=e:c=e+1}return~(d<<1)},xfa=function(){return{"\u0275providers":wfa(!0,
vd.apply(0,arguments)),"\u0275fromNgModule":!0}},wfa=function(a){var b=[],c=new Set,d,e=function(f){b.push(f)};tfa(vd.apply(1,arguments),function(f){yfa(f,e,[],c)&&(d||(d=[]),d.push(f))});d!==void 0&&zfa(d,e);return b},zfa=function(a,b){for(var c={},d=0;d<a.length;c={providers$jscomp$2:void 0,ngModule:void 0},d++){var e=a[d];c.ngModule=e.ngModule;c.providers$jscomp$2=e.providers;Afa(c.providers$jscomp$2,function(f){return function(h){b(h,f.ngModule)}}(c))}},yfa=function(a,b,c,d){a=md(a);if(!a)return!1;
var e=null,f=Oea(a),h=!f&&(a[wd]||null);if(f||h){if(h&&!h.standalone)return!1;e=a}else{var l=a.ngModule;if(f=Oea(l))e=l;else return!1}l=d.has(e);if(h){if(l)return!1;d.add(e);if(h.dependencies)for(f=typeof h.dependencies==="function"?h.dependencies():h.dependencies,f=k(f),l=f.next();!l.done;l=f.next())yfa(l.value,b,c,d)}else if(f){if(f.imports!=null&&!l){d.add(e);var q;tfa(f.imports,function(A){yfa(A,b,c,d)&&(q||(q=[]),q.push(A))});q!==void 0&&zfa(q,b)}l||(h=rd(e)||function(){return new e},b({provide:e,
useFactory:h,deps:xd},e),b({provide:Bfa,useValue:e,multi:!0},e),b({provide:Cfa,useValue:function(){return pd(e)},multi:!0},e));f=f.providers;if(f!=null&&!l){var u=a;Afa(f,function(A){b(A,u)})}}else return!1;return e!==a&&a.providers!==void 0},Afa=function(a,b){a=k(a);for(var c=a.next();!c.done;c=a.next())(c=c.value)&&c.\u0275providers&&(c=c.\u0275providers),Array.isArray(c)?Afa(c,b):b(c)},Efa=function(a){return a!==null&&typeof a=="object"&&Dfa in a},yd=function(a){return typeof a==="function"},Hfa=
function(){Ffa===void 0&&(Ffa=new Gfa);return Ffa},Jfa=function(a){var b=Kea(a);b=b!==null?b.factory:rd(a);if(b!==null)return b;if(a instanceof zd)throw new bd(204,!1);if(a instanceof Function)return Ifa(a);throw new bd(204,!1);},Ifa=function(a){if(a.length>0)throw new bd(204,!1);var b=Lea(a);return b!==null?function(){return b.factory(a)}:function(){return new a}},Mfa=function(a){if(Efa(a))return Ad(void 0,a.useValue);a=Kfa(a);return Ad(a,Lfa)},Kfa=function(a){var b=void 0;if(yd(a))return b=md(a),
rd(b)||Jfa(b);if(Efa(a))b=function(){return md(a.useValue)};else if(a&&a.useFactory)b=function(){return a.useFactory.apply(a,t(pfa(a.deps||[])))};else if(a&&a.useExisting)b=function(){return pd(md(a.useExisting))};else{var c=md(a&&(a.useClass||a.provide));if(a.deps)b=function(){return new (Function.prototype.bind.apply(c,[null].concat(t(pfa(a.deps)))))};else return rd(c)||Jfa(c)}return b},Nfa=function(a){if(a.destroyed)throw new bd(205,!1);},Ad=function(a,b,c){return{factory:a,value:b,multi:(c===
void 0?0:c)?[]:void 0}},Ofa=function(a,b){a=k(a);for(var c=a.next();!c.done;c=a.next())c=c.value,Array.isArray(c)?Ofa(c,b):c&&c&&c.\u0275providers?Ofa(c.\u0275providers,b):b(c)},Cd=function(a,b){a instanceof Bd&&Nfa(a);a=od(a);var c=kd();try{return b()}finally{od(a),kd(c)}},Pfa=function(){if(jd===void 0&&nd==null)throw new bd(-203,!1);},Dd=function(a){return Array.isArray(a)&&typeof a[1]==="object"},Ed=function(a){return Array.isArray(a)&&a[1]===!0},Sfa=function(a){a.type.prototype.ngOnChanges&&(a.setInput=
Qfa);return Rfa},Rfa=function(){var a=this.__ngSimpleChanges__||null,b=a==null?void 0:a.current;if(b){var c=a.previous;if(c===Fd)a.previous=b;else for(var d in b)c[d]=b[d];a.current=null;this.ngOnChanges(b)}},Qfa=function(a,b,c,d,e){d=this.declaredInputs[d];var f;(f=a.__ngSimpleChanges__||null)||(f=a.__ngSimpleChanges__={previous:Fd,current:null});var h=f;f=h.current||(h.current={});h=h.previous;var l=h[d];f[d]=new Tfa(l&&l.currentValue,c,h===Fd);b!==null?b.applyValueToInputSignal(b,c):a[e]=c},Gd=
function(a){for(;Array.isArray(a);)a=a[0];return a},Hd=function(a,b){return Gd(b[a.index])},Id=function(a,b){a=b[a];return Dd(a)?a:a[0]},Jd=function(a,b){return b===null||b===void 0?null:a[b]},Ufa=function(a){a[2]&1024||(a[2]|=1024,(a[2]&128)===128&&Kd(a))},Vfa=function(a){var b;return!!(a[2]&9216||((b=a[24])==null?0:b.dirty))},Wfa=function(a){var b;(b=a[10].changeDetectionScheduler)==null||b.notify(8);a[2]&64&&(a[2]|=1024);Vfa(a)&&Kd(a)},Kd=function(a){var b;(b=a[10].changeDetectionScheduler)==null||
b.notify(0);for(a=Md(a);a!==null&&!(a[2]&8192);){a[2]|=8192;if((a[2]&128)!==128)break;a=Md(a)}},Xfa=function(a,b){if((a[2]&256)===256)throw new bd(911,!1);a[21]===null&&(a[21]=[]);a[21].push(b)},Md=function(a){a=a[3];return Ed(a)?a[3]:a},v=function(){return Nd.lView},Od=function(){return Nd.tView},w=function(a){Nd.contextLView=a;return a[8]},x=function(a){Nd.contextLView=null;return a},Pd=function(){for(var a=Nd.currentTNode;a!==null&&a.type===64;)a=a.parent;return a},Qd=function(a,b){var c=Nd;c.currentTNode=
a;c.isParent=b},Zfa=function(a){var b=Yfa;Yfa=a;return b},Rd=function(){var a=Nd,b=a.bindingRootIndex;b===-1&&(b=a.bindingRootIndex=a.tView.bindingStartIndex);return b},Sd=function(a){var b=Nd,c=b.bindingIndex;b.bindingIndex+=a;return c},$fa=function(a){var b=Nd.currentDirectiveIndex;return b===-1?null:a[b]},bga=function(a,b,c){if(c&4){for(;!(b=b.parent,b!==null||c&1);){b=a[1];b=b.type===2?b.declTNode:b.type===1?a[5]:null;if(b===null)break;a=a[14];if(b.type&10)break}if(b===null)return!1}c=Nd=aga();
c.currentTNode=b;c.lView=a;return!0},cga=function(a){var b=aga(),c=a[1];Nd=b;b.currentTNode=c.firstChild;b.lView=a;b.tView=c;b.contextLView=a;b.bindingIndex=c.bindingStartIndex;b.inI18n=!1},aga=function(){var a=Nd,b=a===null?null:a.child;return b===null?dga(a):b},dga=function(a){var b={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:a,
child:null,inI18n:!1};a!==null&&(a.child=b);return b},ega=function(){var a=Nd;Nd=a.parent;a.currentTNode=null;a.lView=null;return a},fga=function(){var a=ega();a.isParent=!0;a.tView=null;a.selectedIndex=-1;a.contextLView=null;a.elementDepthCount=0;a.currentDirectiveIndex=-1;a.currentNamespace=null;a.bindingRootIndex=-1;a.bindingIndex=-1;a.currentQueryIndex=0},Td=function(){var a=Nd;return a.tView.data[a.selectedIndex]},Ud=function(){Nd.currentNamespace="svg"},Vd=function(){Nd.currentNamespace=null},
gga=function(a,b){var c=b.directiveStart;for(b=b.directiveEnd;c<b;c++){var d=a.data[c].type.prototype,e=d.ngAfterContentInit,f=d.ngAfterContentChecked,h=d.ngAfterViewInit,l=d.ngAfterViewChecked;d=d.ngOnDestroy;if(e){var q=void 0,u=void 0;((u=(q=a).contentHooks)!=null?u:q.contentHooks=[]).push(-c,e)}f&&(q=e=void 0,((q=(e=a).contentHooks)!=null?q:e.contentHooks=[]).push(c,f),q=e=void 0,((q=(e=a).contentCheckHooks)!=null?q:e.contentCheckHooks=[]).push(c,f));h&&(e=f=void 0,((e=(f=a).viewHooks)!=null?
e:f.viewHooks=[]).push(-c,h));l&&(f=h=void 0,((f=(h=a).viewHooks)!=null?f:h.viewHooks=[]).push(c,l),f=h=void 0,((f=(h=a).viewCheckHooks)!=null?f:h.viewCheckHooks=[]).push(c,l));d!=null&&(h=l=void 0,((h=(l=a).destroyHooks)!=null?h:l.destroyHooks=[]).push(c,d))}},hga=function(a,b,c,d){(a[2]&3)===c&&Wd(a,b,c,d)},iga=function(a,b){var c=a[2];(c&3)===b&&(a[2]=(c&16383)+1)},Wd=function(a,b,c,d){for(var e=d!=null?d:-1,f=b.length-1,h=0,l=d!==void 0?a[17]&65535:0;l<f;l++)if(typeof b[l+1]==="number"){if(h=
b[l],d!=null&&h>=d)break}else{b[l]<0&&(a[17]+=65536);if(h<e||e==-1){var q=b[l]<0,u=b[l+1],A=a[q?-b[l]:b[l]];q?a[2]>>14<a[17]>>16&&(a[2]&3)===c&&(a[2]+=16384,jga(A,u)):jga(A,u);a[17]=(a[17]&4294901760)+l+2}l++}},jga=function(a,b){var c=dd(null);try{b.call(a)}finally{dd(c)}},kga=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++}},Xd=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?lga(a,c,e,b[++d]):lga(a,c,e,null))}return a},lga=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)},mga=function(a,b){for(a>>=16;a>0;)b=b[14],a--;return b},Yd=function(a){return{toString:a}.toString()},oga=function(a){var b=nga;nga=a;return b},qga=function(a,b,c){var d;typeof c==="string"?d=c.charCodeAt(0)||0:c.hasOwnProperty(Zd)&&(d=c[Zd]);d==null&&(d=c[Zd]=pga++);c=d&255;b.data[a+(c>>5)]|=1<<c},uga=function(a,b){var c=rga(a,b);if(c!==-1)return c;c=b[1];c.firstCreatePass&&(a.injectorIndex=b.length,sga(c.data,a),
sga(b,null),sga(c.blueprint,null));c=tga(a,b);a=a.injectorIndex;if(c!==-1)for(var d=c&32767,e=mga(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},sga=function(a,b){a.push(0,0,0,0,0,0,0,0,b)},rga=function(a,b){return a.injectorIndex===-1||a.parent&&a.parent.injectorIndex===a.injectorIndex||b[a.injectorIndex+8]===null?-1:a.injectorIndex},tga=function(a,b){if(a.parent&&a.parent.injectorIndex!==-1)return a.parent.injectorIndex;a=0;for(var c=b;c!==null;){b=vga(c);if(b===null)break;
a++;c=c[14];if(b.injectorIndex!==-1)return b.injectorIndex|a<<16}return-1},$d=function(a){var b=Pd();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},wga=function(a,b,c,d){c&8&&d===void 0&&(d=null);if((c&3)===0){a=a[9];var e=kd();try{return a?a.get(b,d,c&8):kfa(b,d,c&8)}finally{kd(e)}}c&
8||d!==void 0?b=d:(Qea(),b=void 0);return b},yga=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=ae,l=a,q=b;l!==null&&q!==null&&q[2]&2048&&!(q[2]&512);){var u=xga(l,q,c,f|2);if(u!==ae){f=u;break a}l=l.parent;if(!l){if(l=q[20])if(l=l.get(c,ae,f),l!==ae){f=l;break a}l=vga(q);q=q[14]}}f=h}if(f!==ae)return f}a=xga(a,b,c,d);if(a!==ae)return a}return wga(b,c,d,e)},xga=function(a,b,c,d){var e=ae;if(typeof c==="string")var f=c.charCodeAt(0)||0;else f=c.hasOwnProperty(Zd)?
c[Zd]:void 0,f=typeof f==="number"?f>=0?f&255:zga:f;if(typeof f==="function"){if(!bga(b,a,d))return d&1?d&8||e!==void 0?b=e:(Qea(),b=void 0):b=wga(b,c,d,e),b;try{var h=f(d);if(h!=null||d&8)return h;Qea()}finally{ega()}}else if(typeof f==="number"){h=null;var l=rga(a,b),q=d&1?b[15][5]:null;if(l===-1||d&4){var u=l===-1?tga(a,b):b[l+8];u===-1||d&2?l=-1:(h=b[1],l=u&32767,b=mga(u,b))}for(;l!==-1;){a=b[1];if(a.data[l+(f>>5)]&1<<f){u=b[1];var A=u.data[l+8],F=Aga(A,u,c,h==null?A.componentOffset>-1&&nga:h!=
u&&(A.type&3)!==0,d&1&&q===A);u=F!==null?be(b,u,F,A):ae;if(u!==ae)return u}u=b[l+8];u!==-1&&!(d&2||d&1&&b[1].data[l+8]===q)&&b[l+(f>>5)]&1<<f?(h=a,l=u&32767,b=mga(u,b)):l=-1}}return e},Aga=function(a,b,c,d,e){var f=a.providerIndexes,h=b.data,l=f&1048575;b=a.directiveStart;a=a.directiveEnd;var q=f>>20;f=e?l+q:a;for(d=d?l:l+q;d<f;d++)if(l=h[d],d<b&&c===l||d>=b&&l.type===c)return d;return e&&(e=h[b])&&e.template&&e.type===c?b:null},be=function(a,b,c,d){var e=a[c],f=b.data;if(e instanceof ce){var h=e;
if(h.resolving)throw a=f[c],new bd(-200,typeof a==="function"?a.name||a.toString():typeof a==="object"&&a!=null&&typeof a.type==="function"?a.type.name||a.type.toString():$c(a));var l=oga(h.canSeeViewProviders);h.resolving=!0;var q=h.injectImpl?kd(h.injectImpl):null;bga(a,d,0);try{if(e=a[c]=h.factory(void 0,f,a,d),b.firstCreatePass&&c>=d.directiveStart){var u=f[c],A=u.type.prototype,F=A.ngOnInit,H=A.ngDoCheck;if(A.ngOnChanges){var N=Sfa(u),O;((O=b.preOrderHooks)!=null?O:b.preOrderHooks=[]).push(c,
N);var T;((T=b.preOrderCheckHooks)!=null?T:b.preOrderCheckHooks=[]).push(c,N)}if(F){var ea;((ea=b.preOrderHooks)!=null?ea:b.preOrderHooks=[]).push(-c,F)}if(H){var ka;((ka=b.preOrderHooks)!=null?ka:b.preOrderHooks=[]).push(c,H);var oa;((oa=b.preOrderCheckHooks)!=null?oa:b.preOrderCheckHooks=[]).push(c,H)}}}finally{q!==null&&kd(q),oga(l),h.resolving=!1,ega()}}return e},zga=function(){return new de(Pd(),v())},ee=function(a){return Yd(function(){var b=a.prototype.constructor;b=b[sfa]||Bga(b);for(var c=
Object.prototype,d=Object.getPrototypeOf(a.prototype).constructor;d&&d!==c;){var e=d[sfa]||Bga(d);if(e&&e!==b)return e;d=Object.getPrototypeOf(d)}return function(f){return new f}})},Bga=function(a){return lfa(a)?function(){var b=Bga(md(a));return b&&b()}:rd(a)},vga=function(a){var b=a[1],c=b.type;return c===2?b.declTNode:c===1?a[5]:null},Cga=function(a){return function(){var b=vd.apply(0,arguments);if(a){b=a.apply(null,t(b));for(var c in b)this[c]=b[c]}}},fe=function(a){return Yd(function(){function b(){function d(h,
l,q){for(l=h.hasOwnProperty("__parameters__")?h.__parameters__:Object.defineProperty(h,"__parameters__",{value:[]}).__parameters__;l.length<=q;)l.push(null);(l[q]=l[q]||[]).push(f);return h}var e=vd.apply(0,arguments);if(this instanceof b)return c.apply(this,e),this;var f=new (Function.prototype.bind.apply(b,[null].concat(t(e))));d.annotation=f;return d}var c=Cga(a);return b})},Ega=function(a,b,c,d){a=Dga(a,b===void 0?null:b,c===void 0?null:c,d);a.resolveInjectorInitializers();return a},Dga=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)||xd,xfa(a)];d=d||(typeof a==="object"?void 0:ad(a));return new Bd(c,b||Hfa(),d||null,e)},Fga=function(a){return a.type===4&&a.value!=="ng-template"},Gga=function(a,b,c){var d=4,e=a.attrs,f;if(e!==null)a:{for(f=0;f<e.length;f++){var h=e[f];if(h===3||h===4||h===6)break a}f=e.length}else f=0;h=!1;for(var l=0;l<b.length;l++){var q=b[l];if(typeof q==="number"){if(!h&&(d&1)!==0&&(q&1)!==0)return!1;h&&(q&1)===0||(h=!1,d=q|d&1)}else if(!h)if(d&
4){if(d=2|d&1,q!==""&&q!==(a.type!==4||c?a.value:"ng-template")||q===""&&b.length===1){if((d&1)===0)return!1;h=!0}}else if(d&8){var u;if(!(u=e===null)){a:{u=void 0;var A=a,F=0;if(c)for(;F<e.length&&typeof e[F]==="string";F+=2){if(A=e[F]==="class"){b:{A=e[F+1].toLowerCase();for(var H=0,N=A.length;;){H=A.indexOf(q,H);if(H===-1){A=H;break b}if(H===0||A.charCodeAt(H-1)<=32){var O=q.length;if(H+O===N||A.charCodeAt(H+O)<=32){A=H;break b}}H+=1}A=void 0}A=A!==-1}if(A){q=!0;break a}}else if(Fga(A)){q=!1;break a}F=
e.indexOf(1,F);if(F>-1)for(;++F<e.length&&typeof(u=e[F])==="string";)if(u.toLowerCase()===q){q=!0;break a}q=!1}u=!q}if(u){if((d&1)===0)return!1;h=!0}}else{u=b[++l];a:if(e===null)q=-1;else if(F=0,c||!Fga(a)){for(A=!1;F<e.length;){N=e[F];if(N===q){q=F;break a}if(N===3||N===6)A=!0;else if(N===1||N===2){for(N=e[++F];typeof N==="string";)N=e[++F];continue}else if(N===4)break;else if(N===0){F+=4;continue}F+=A?1:2}q=-1}else b:{F=e.indexOf(4);if(F>-1)for(F++;F<e.length;){A=e[F];if(typeof A==="number")break;
if(A===q){q=F;break b}F++}q=-1}if(q===-1){if((d&1)===0)return!1;h=!0}else if(u!==""&&(q=q>f?"":e[q+1].toLowerCase(),d&2&&u!==q)){if((d&1)===0)return!1;h=!0}}}return(d&1)===0||h},Hga=function(a,b,c){c=c===void 0?!1:c;for(var d=0;d<b.length;d++)if(Gga(a,b[d],c))return!0;return!1},Iga=function(a){for(var b=a[0],c=1,d=2,e="",f=!1;c<a.length;){var h=a[c];if(typeof h==="string")if(d&2){var l=a[++c];e+="["+h+(l.length>0?'="'+l+'"':"")+"]"}else d&8?e+="."+h:d&4&&(e+=" "+h);else e!==""&&(h&1)!==0&&(b+=f?":not("+
e.trim()+")":e,e=""),d=h,f=f||(d&1)!==0;c++}e!==""&&(b+=f?":not("+e.trim()+")":e);return b},Jga=function(){return new ge(v())},he=function(a){a=a(function(b){b.stack=Error().stack});a.prototype=Object.create(Error.prototype);return a.prototype.constructor=a},Kga=function(a,b){a&&(b=a.indexOf(b),0<=b&&a.splice(b,1))},ie=function(a){return typeof a==="function"},Lga=function(a){return a instanceof je||a&&"closed"in a&&ie(a.remove)&&ie(a.add)&&ie(a.unsubscribe)},ke=function(){},le=function(a){Mga(function(){throw a;
})},me=function(a){return a},ne=function(){return Nga(vd.apply(0,arguments))},Nga=function(a){return a.length===0?me:a.length===1?a[0]:function(b){return a.reduce(function(c,d){return d(c)},b)}},Oga=function(a){var b;return(b=a!=null?a:void 0)!=null?b:Promise},Pga=function(a,b){return new oe(function(c){var d=0;return b.schedule(function(){d===a.length?c.complete():(c.next(a[d++]),c.closed||this.schedule())})})},Qga=function(a,b){if(!a)throw Error("La");return new oe(function(c){var d=new je;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})},Rga=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},Tga=function(a,b){return new oe(function(c){var d;c.add(b.schedule(function(){d=a[Sga]();Rga(c,b,function(){var e=d.next(),f=e.value;e.done?c.complete():(c.next(f),this.schedule())})}));return function(){var e;return ie((e=
d)==null?void 0:e.return)&&d.return()}})},Uga=function(a,b){return new oe(function(c){var d=new je;d.add(b.schedule(function(){var e=a[pe]();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})},Vga=function(a,b){return new oe(function(c){return b.schedule(function(){return a.then(function(d){c.add(b.schedule(function(){c.next(d);
c.add(b.schedule(function(){return c.complete()}))}))},function(d){c.add(b.schedule(function(){return c.error(d)}))})})})},Wga=function(a){return new TypeError("Ma`"+(a!==null&&typeof a==="object"?"an invalid object":"'"+a+"'"))},Yga=function(a,b){if(a!=null){if(ie(a[pe]))return Uga(a,b);if(Xga(a))return Pga(a,b);if(ie(a==null?void 0:a.then))return Vga(a,b);if(Symbol.asyncIterator&&ie(a==null?void 0:a[Symbol.asyncIterator]))return Qga(a,b);if(ie(a==null?void 0:a[Sga]))return Tga(a,b)}throw Wga(a);
},re=function(a,b){return b?Yga(a,b):qe(a)},qe=function(a){if(a instanceof oe)return a;if(a!=null){if(ie(a[pe]))return Zga(a);if(Xga(a))return $ga(a);if(ie(a==null?void 0:a.then))return aha(a);if(Symbol.asyncIterator&&ie(a==null?void 0:a[Symbol.asyncIterator]))return bha(a);if(ie(a==null?void 0:a[Sga]))return cha(a)}throw Wga(a);},Zga=function(a){return new oe(function(b){var c=a[pe]();if(ie(c.subscribe))return c.subscribe(b);throw new TypeError("Na");})},$ga=function(a){return new oe(function(b){for(var c=
0;c<a.length&&!b.closed;c++)b.next(a[c]);b.complete()})},aha=function(a){return new oe(function(b){a.then(function(c){b.closed||(b.next(c),b.complete())},function(c){return b.error(c)}).then(null,le)})},cha=function(a){return new oe(function(b){for(var c=a[Sga]();!b.closed;){var d=c.next(),e=d.value;d.done?b.complete():b.next(e)}return function(){return ie(c==null?void 0:c.return)&&c.return()}})},bha=function(a){return new oe(function(b){dha(a,b).catch(function(c){return b.error(c)})})},dha=function(a,
b){var c,d,e,f,h,l;return se(function(q){switch(q.nextAddress){case 1:te(q,2,3);var u=a[Symbol.asyncIterator];f=u!==void 0?u.call(a):new eha(k(a));case 5:return y(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:ue(q);fha(q,9);if(!d||d.done||!(e=f.return)){q.jumpTo(9);break}return y(q,e.call(f),9);case 9:ue(q,0,0,1);if(c)throw c.error;ve(q,10,1);break;case 10:ve(q,4);break;case 2:l=we(q);c={error:l};q.jumpTo(3);break;case 4:b.complete(),
xe(q)}})},ye=function(a,b){return b?Pga(a,b):$ga(a)},gha=function(a){return ie(a[a.length-1])?a.pop():void 0},ze=function(a){var b=a[a.length-1];return b&&ie(b.schedule)?a.pop():void 0},Ae=function(){var a=vd.apply(0,arguments),b=ze(a);return b?Pga(a,b):ye(a)},Be=function(a){var b=ie(a)?a:function(){return a};return new oe(function(c){return c.error(b())})},Fe=function(a){return new Promise(function(b,c){var d=new Ce({next:function(e){b(e);d.unsubscribe()},error:c,complete:function(){c(new Ee)}});
a.subscribe(d)})},Ge=function(a){return function(b){if(ie(b==null?void 0:b.lift))return b.lift(function(c){try{return a(c,this)}catch(d){this.error(d)}});throw new TypeError("Oa");}},hha=function(){return Ge(function(a,b){var c=null;a._refCount++;var d=new He(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){return Ge(function(b,
c){var d=0;b.subscribe(new He(c,function(e){c.next(a.call(void 0,e,d++))}))})},jha=function(a){return z(function(b){return iha(b)?a.apply(null,t(b)):a(b)})},oha=function(a){if(a.length===1){var b=a[0];if(kha(b))return{args:b,keys:null};if(b&&typeof b==="object"&&lha(b)===mha)return a=nha(b),{args:a.map(function(c){return b[c]}),keys:a}}return{args:a,keys:null}},Ie=function(){var a=vd.apply(0,arguments),b=ze(a),c=gha(a);a=oha(a);var d=a.args,e=a.keys;if(d.length===0)return re([],b);b=new oe(pha(d,
b,e?function(f){for(var h={},l=0;l<f.length;l++)h[e[l]]=f[l];return h}:me));return c?b.pipe(jha(c)):b},pha=function(a,b,c){c=c===void 0?me:c;return function(d){qha(b,function(){for(var e=a.length,f=Array(e),h=e,l=a.map(function(){return!1}),q=!0,u={i$jscomp$273:0};u.i$jscomp$273<e;u={i$jscomp$273:u.i$jscomp$273},u.i$jscomp$273++)qha(b,function(A){return function(){re(a[A.i$jscomp$273],b).subscribe(new Je(d,function(F){f[A.i$jscomp$273]=F;q&&(l[A.i$jscomp$273]=!0,q=!l.every(me));q||d.next(c(f.slice()))},
function(){return--h===0}))}}(u),d)},d)}},qha=function(a,b,c){a?c.add(a.schedule(b)):b()},rha=function(a,b,c,d){var e=[],f=0,h=0,l=!1,q=function(u){f++;qe(c(u,h++)).subscribe(new He(b,function(A){b.next(A)},void 0,function(){f--;for(var A={};e.length&&f<d;A={bufferedValue:void 0})A.bufferedValue=e.shift(),q(A.bufferedValue);!l||e.length||f||b.complete()}))};a.subscribe(new He(b,function(u){return f<d?q(u):e.push(u)},void 0,function(){l=!0;!l||e.length||f||b.complete()}));return function(){e=null}},
Ke=function(a,b,c){c=c===void 0?Infinity:c;if(ie(b))return Ke(function(d,e){return z(function(f,h){return b(d,f,e,h)})(qe(a(d,e)))},c);typeof b==="number"&&(c=b);return Ge(function(d,e){return rha(d,e,a,c)})},Le=function(a){a=a===void 0?Infinity:a;return Ke(me,a)},Me=function(){var a=vd.apply(0,arguments);return Le(1)(ye(a,ze(a)))},Ne=function(a){return new oe(function(b){qe(a()).subscribe(b)})},Oe=function(){var a=vd.apply(0,arguments),b=gha(a),c=oha(a);a=c.args;c=c.keys;return b?sha(a,c).pipe(z(function(d){return b.apply(null,
t(d))})):sha(a,c)},sha=function(a,b){return new oe(function(c){var d=a.length;if(d===0)c.complete();else for(var e=Array(d),f=0,h=0,l={sourceIndex:0};l.sourceIndex<d;l={hasValue$jscomp$2:void 0,sourceIndex:l.sourceIndex},l.sourceIndex++){var q=qe(a[l.sourceIndex]);l.hasValue$jscomp$2=!1;c.add(q.subscribe({next:function(u){return function(A){u.hasValue$jscomp$2||(u.hasValue$jscomp$2=!0,h++);e[u.sourceIndex]=A}}(l),error:function(u){return c.error(u)},complete:function(u){return function(){f++;f!==
d&&u.hasValue$jscomp$2||(h===d&&c.next(b?b.reduce(function(A,F,H){return A[F]=e[H],A},{}):e),c.complete())}}(l)}))}})},Pe=function(a,b,c){if(ie(c)){var d=c;c=void 0}if(d)return Pe(a,b,c).pipe(jha(d));d=k(ie(a.addEventListener)&&ie(a.removeEventListener)?tha.map(function(h){return function(l){return a[h](b,l,c)}}):ie(a.addListener)&&ie(a.removeListener)?uha.map(vha(a,b)):ie(a.on)&&ie(a.off)?wha.map(vha(a,b)):[]);var e=d.next().value,f=d.next().value;return!e&&Xga(a)?Ke(function(h){return Pe(h,b,c)})(ye(a)):
new oe(function(h){if(!e)throw new TypeError("Pa");var l=function(){var q=vd.apply(0,arguments);return h.next(1<q.length?q:q[0])};e(l);return function(){return f(l)}})},vha=function(a,b){return function(c){return function(d){return a[c](b,d)}}},xha=function(a,b){return new oe(function(c){var d=function(){var f=vd.apply(0,arguments);return c.next(f.length===1?f[0]:f)},e=a(d);return ie(b)?function(){return b(d,e)}:void 0})},Re=function(a,b,c){a=a===void 0?0:a;c=c===void 0?Qe:c;var d=-1;b!=null&&(b&&
ie(b.schedule)?c=b:d=b);return new oe(function(e){var f=a instanceof Date&&!isNaN(a)?+a-c.now():a;f<0&&(f=0);var h=0;return c.schedule(function(){e.closed||(e.next(h++),0<=d?this.schedule(void 0,d):e.complete())},f)})},yha=function(a,b){a=a===void 0?0:a;b=b===void 0?Qe:b;a<0&&(a=0);return Re(a,a,b)},Te=function(){var a=vd.apply(0,arguments),b=ze(a);var c=typeof a[a.length-1]==="number"?a.pop():Infinity;return a.length?a.length===1?qe(a[0]):Le(c)(ye(a,b)):Se},Ue=function(a){return Ge(function(b,c){var d=
0;b.subscribe(new He(c,function(e){return a.call(void 0,e,d++)&&c.next(e)}))})},Bha=function(){var a=vd.apply(0,arguments);a=a.length===1&&zha(a[0])?a[0]:a;return a.length===1?qe(a[0]):new oe(Aha(a))},Aha=function(a){return function(b){for(var c=[],d={i$jscomp$276:0};c&&!b.closed&&d.i$jscomp$276<a.length;d={i$jscomp$276:d.i$jscomp$276},d.i$jscomp$276++)c.push(qe(a[d.i$jscomp$276]).subscribe(new He(b,function(e){return function(f){if(c){for(var h=0;h<c.length;h++)h!==e.i$jscomp$276&&c[h].unsubscribe();
c=null}b.next(f)}}(d))))}},Ve=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?Cha:a.with,e=a.scheduler===void 0?Qe:a.scheduler,f=a.meta===void 0?null:a.meta;if(b==null&&c==null)throw new TypeError("Ra");return Ge(function(h,l){var q,u=null,A=0,F=function(N){q=Rga(l,e,function(){H.unsubscribe();qe(d({meta:f,lastValue:u,seen:A})).subscribe(l)},N)};var H=h.subscribe(new He(l,function(N){var O;(O=q)==null||O.unsubscribe();A++;
l.next(u=N);c>0&&F(c)},void 0,void 0,function(){var N;if((N=q)==null||!N.closed){var O;(O=q)==null||O.unsubscribe()}u=null}));F(b!=null?typeof b==="number"?b:+b-e.now():c)})},Cha=function(a){throw new Dha(a);},Fha=function(a){return a in Eha?(delete Eha[a],!0):!1},Gha=function(a){return!!a&&(a instanceof oe||ie(a.lift)&&ie(a.subscribe))},We=function(){},Hha=function(a){function b(){a=We;try{c!==void 0&&typeof cancelAnimationFrame==="function"&&cancelAnimationFrame(c),d!==void 0&&clearTimeout(d)}catch(e){}}
var c;var d=setTimeout(function(){a();b()});typeof requestAnimationFrame==="function"&&(c=requestAnimationFrame(function(){a();b()}));return function(){return b()}},Iha=function(a){queueMicrotask(function(){return a()});return function(){a=We}},Jha=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}}},
Lha=function(a){function b(){Hha(function(){a.callbackScheduled=!1;Kha(a);a.isCheckStableRunning=!0;Jha(a);a.isCheckStableRunning=!1})}a.isCheckStableRunning||a.callbackScheduled||(a.callbackScheduled=!0,a.scheduleInRootZone?Zone.root.run(function(){b()}):a._outer.run(function(){b()}),Kha(a))},Pha=function(a){var b=Mha++,c={};a._inner=a._inner.fork({name:"angular",properties:(c.isAngularZone=!0,c.isAngularZone_ID=b,c["isAngularZone_ID"+b]=!0,c),onInvokeTask:function(d,e,f,h,l,q){if(Nha(q,"__ignore_ng_zone__"))return d.invokeTask(f,
h,l,q);try{return Oha(a),d.invokeTask(f,h,l,q)}finally{(a.shouldCoalesceEventChangeDetection&&h.type==="eventTask"||a.shouldCoalesceRunChangeDetection)&&Lha(a),a._nesting--,Jha(a)}},onInvoke:function(d,e,f,h,l,q,u){try{return Oha(a),d.invoke(f,h,l,q,u)}finally{!a.shouldCoalesceRunChangeDetection||a.callbackScheduled||Nha(q,"__scheduler_tick__")||Lha(a),a._nesting--,Jha(a)}},onHasTask:function(d,e,f,h){d.hasTask(f,h);e===f&&(h.change=="microTask"?(a._hasPendingMicrotasks=h.microTask,Kha(a),Jha(a)):
h.change=="macroTask"&&(a.hasPendingMacrotasks=h.macroTask))},onHandleError:function(d,e,f,h){d.handleError(f,h);a.runOutsideAngular(function(){return a.onError.emit(h)});return!1}})},Kha=function(a){a.hasPendingMicrotasks=a._hasPendingMicrotasks||(a.shouldCoalesceEventChangeDetection||a.shouldCoalesceRunChangeDetection)&&a.callbackScheduled===!0?!0:!1},Oha=function(a){a._nesting++;a.isStable&&(a.isStable=!1,a.onUnstable.emit(null))},Nha=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},Rha=function(){return new Qha(v(),Pd())},Xe=function(a){if(!Sha.has(a)){Sha.add(a);var b,c;(b=performance)==null||(c=b.mark)==null||c.call(b,"mark_feature_usage",{detail:{feature:a}})}},Uha=function(a,b){(b==null?0:b.injector)||Pfa();var c,d=(c=b==null?void 0:b.injector)!=null?c:r(Ye);Xe("NgAfterRender");return Tha(a,d,b,!1)},Ze=function(a,b){(b==null?0:b.injector)||Pfa();var c,d=(c=b==null?void 0:b.injector)!=null?c:r(Ye);Xe("NgAfterNextRender");
return Tha(a,d,b,!0)},Tha=function(a,b,c,d){var e=b.get($e);e.impl!=null||(e.impl=b.get(af));var f=b.get(bf,null,{optional:!0}),h,l=(h=c==null?void 0:c.phase)!=null?h:2;c=(c==null?void 0:c.manualCleanup)!==!0?b.get(cf):null;b=b.get(Qha,null,{optional:!0});a instanceof Function?(h=[void 0,void 0,void 0,void 0],h[l]=a,a=h):a=[a.earlyRead,a.write,a.mixedReadWrite,a.read];d=new Vha(e.impl,a,b==null?void 0:b.view,d,c,f==null?void 0:f.snapshot(null));e.impl.register(d);return d},Xha=function(){if(Wha!==
void 0)return Wha;if(typeof document!=="undefined")return document;throw new bd(210,!1);},df=function(a,b){Dd(b)?(a.__ngContext__=b[19],Yha.set(b[19],b)):a.__ngContext__=b},Zha=function(a){for(;a!==null&&!Ed(a);)a=a[4];return a},ff=function(a,b){return new ef(Hd(a,b))},$ha=function(a){return a instanceof ef?a.nativeElement:a},gf=function(a){return a.ownerDocument.defaultView},aia=function(a){return a.ownerDocument},bia=function(a,b){var c=Yfa?64:1088,d;for((d=a[10].changeDetectionScheduler)==null||
d.notify(b);a;){a[2]|=c;b=Md(a);if((a[2]&512)!==0&&!b)break;a=b}},B=function(a){cia(Od(),v(),Nd.selectedIndex+(a===void 0?1:a))},cia=function(a,b,c){(b[2]&3)===3?(a=a.preOrderCheckHooks,a!==null&&Wd(b,a,3,c)):(a=a.preOrderHooks,a!==null&&hga(b,a,0,c));Nd.selectedIndex=c},hf=function(a,b){b=b===void 0?0:b;var c=v();return c===null?pd(a,b):yga(Pd(),c,md(a),b)},dia=function(){throw Error("Sa");},eia=function(a,b,c,d,e,f){var h=dd(null);try{var l=null;(e&1)!==0&&(l=b[d][id]);l!==null&&l.transformFn!==
void 0&&(f=l.transformFn(f));(e&2)!==0&&(f=a.inputTransforms[d].call(b,f));a.setInput!==null?a.setInput(b,l,f,c,d):(a=l,a!==null?a.applyValueToInputSignal(a,f):b[d]=f)}finally{dd(h)}},hia=function(){return"".replace(fia,function(a){return a.replace(gia,"\u200b$1\u200b")})},jf=function(a,b,c,d,e){if(d!=null){var f=!1;if(Ed(d))var h=d;else Dd(d)&&(f=!0,d=d[0]);d=Gd(d);a===0&&c!==null?e==null?b.appendChild(c,d):b.insertBefore(c,d,e||null,!0):a===1&&c!==null?b.insertBefore(c,d,e||null,!0):a===2?b.removeChild(null,
d,f):a===3&&b.destroyNode(d);if(h!=null)for(f=h[7],f!==Gd(h)&&jf(a,b,c,f,e),e=10;e<h.length;e++)d=h[e],kf(b,a,d[1].firstChild,d,c,f,!1)}},iia=function(a,b){var c;(c=b[10].changeDetectionScheduler)==null||c.notify(9);kf(b[11],2,a.firstChild,b,null,null,!1)},jia=function(a,b){var c=a[9],d=b[3];Dd(d)?a[2]|=2:b[15]!==d[3][15]&&(a[2]|=2);c===null?a[9]=[b]:c.push(b)},kia=function(a,b){a=a[9];b=a.indexOf(b);a.splice(b,1)},lf=function(a,b){if(!(a.length<=10)){var c=10+b,d=a[c];if(d){var e=d[16];e!==null&&
e!==a&&kia(e,d);b>0&&(a[c-1][4]=d[4]);a=ufa(a,10+b);iia(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}},mia=function(a,b){if((b[2]&256)!==256){var c=b[11];c.destroyNode&&kf(c,3,a.firstChild,b,null,null,!1);if(a=b[12])for(;a;){c=null;if(Dd(a))c=a[12];else{var d=a[10];d&&(c=d)}if(!c){for(;a&&!a[4]&&a!==b;)Dd(a)&&lia(a[1],a),a=a[3];a===null&&(a=b);Dd(a)&&lia(a[1],a);c=a&&a[4]}a=c}else lia(b[1],b)}},lia=function(a,b){if((b[2]&256)!==256){var c=
dd(null);try{b[2]&=-129;b[2]|=256;b[24]&&bfa(b[24]);var d;if(a!=null&&(d=a.destroyHooks)!=null)for(var e=0;e<d.length;e+=2){var f=b[d[e]];if(!(f instanceof ce)){var h=d[e+1];if(Array.isArray(h))for(var l=0;l<h.length;l+=2)h[l+1].call(f[h[l]]);else h.call(f)}}var q=a.cleanup,u=b[7];if(q!==null)for(d=0;d<q.length-1;d+=2)if(typeof q[d]==="string"){var A=q[d+3];if(A>=0)u[A]();else u[-A].unsubscribe();d+=2}else q[d].call(u[q[d+1]]);u!==null&&(b[7]=null);var F=b[21];if(F!==null)for(b[21]=null,q=0;q<F.length;q++)(0,F[q])();
var H=b[23];if(H!==null){b[23]=null;for(var N=k(H),O=N.next();!O.done;O=N.next())O.value.destroy()}b[1].type===1&&b[11].destroy();var T=b[16];if(T!==null&&Ed(b[3])){T!==b[3]&&kia(T,b);var ea=b[18];ea!==null&&ea.detachView(a)}Yha.delete(b[19])}finally{dd(c)}}},nia=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:Hd(b,c)},oia=function(a,b,c,d){a=nia(a,d.parent,b);var e=b[11];
d=d.parent||b[5];b=d.type&40?Hd(d,b):null;if(a!=null)if(Array.isArray(c))for(d=0;d<c.length;d++){var f=e,h=a,l=c[d];b!==null?f.insertBefore(h,l,b,!1):f.appendChild(h,l)}else b!==null?e.insertBefore(a,c,b,!1):e.appendChild(a,c)},mf=function(a,b){if(b!==null){var c=b.type;if(c&3)return Hd(b,a);if(c&4)return pia(-1,a[b.index]);if(c&8){c=b.child;if(c!==null)return mf(a,c);a=a[b.index];return Ed(a)?pia(-1,a):Gd(a)}if(c&128)return mf(a,b.next);if(c&32)return(void 0)(b,a)()||Gd(a[b.index]);c=b!==null?a[15][5].projection[b.projection]:
null;if(c!==null){if(Array.isArray(c))return c[0];a=Md(a[15]);return mf(a,c)}return mf(a,b.next)}return null},pia=function(a,b){a=10+a+1;if(a<b.length){a=b[a];var c=a[1].firstChild;if(c!==null)return mf(a,c)}return b[7]},kf=function(a,b,c,d,e,f,h){for(;c!=null;)if(c.type===128)c=c.next;else{var l=d[c.index],q=c.type;h&&b===0&&(l&&df(Gd(l),d),c.flags|=2);if((c.flags&32)!==32)if(q&8)kf(a,b,c.child,d,e,f,!1),jf(b,a,e,l,f);else if(q&32){q=(void 0)(c,d);for(var u;u=q();)jf(b,a,e,u,f);jf(b,a,e,l,f)}else q&
16?qia(a,b,d,c,e,f):jf(b,a,e,l,f);c=h?c.projectionNext:c.next}},qia=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++)jf(b,a,e,c[d],f);else h=h[3],(d.flags&128)===128&&(c.flags|=128),kf(a,b,c,h,e,f,!0)},ria=function(a,b,c){var d=c.mergedAttrs,e=c.classes;c=c.styles;d!==null&&kga(a,b,d);e!==null&&(e===""?a.removeAttribute(b,"class"):a.setAttribute(b,"class",e));c!==null&&a.setAttribute(b,"style",c)},of=function(a){return a instanceof nf?a.changingThisBreaksApplicationSecurity:
a},pf=function(a,b){a=a instanceof nf&&a.getTypeName()||null;if(a!=null&&a!==b){if(a==="ResourceURL"&&b==="URL")return!0;throw Error("Ta`"+b+"`"+a);}return a===b},tia=function(){if(sia===void 0&&(sia=null,qf.trustedTypes))try{sia=qf.trustedTypes.createPolicy("angular",{createHTML:function(a){return a},createScript:function(a){return a},createScriptURL:function(a){return a}})}catch(a){}return sia},uia=function(a){var b;return((b=tia())==null?void 0:b.createHTML(a))||a},wia=function(a){a=String(a);
return a.match(via)?a:"unsafe:"+a},rf=function(a){var b={};a=k(a.split(","));for(var c=a.next();!c.done;c=a.next())b[c.value]=!0;return b},sf=function(){for(var a={},b=k(vd.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},xia=function(a){a=a.nodeName;return typeof a==="string"?a:"FORM"},Bia=function(a){return a.replace(/&/g,"&amp;").replace(zia,function(b){return"&#"+((b.charCodeAt(0)-55296)*1024+(b.charCodeAt(1)-56320)+65536)+";"}).replace(Aia,
function(b){return"&#"+b.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")},Kia=function(a,b){var c=null;try{var d;if(!(d=Cia)){var e=new Dia(a);try{var f=!!(new window.DOMParser).parseFromString(uia(""),"text/html")}catch(oa){f=!1}d=f?new Eia(e):e}Cia=d;var h=b?String(b):"";c=Cia.getInertBodyElement(h);a=5;b=h;do{if(a===0)throw Error("Va");a--;h=b;b=c.innerHTML;c=Cia.getInertBodyElement(h)}while(h!==b);var l=new Fia,q=(("content"in c&&c.nodeType===Node.ELEMENT_NODE&&c.nodeName==="TEMPLATE"?
c.content:null)||c).firstChild;h=!0;for(a=[];q;){if(q.nodeType===Node.ELEMENT_NODE){b=l;d=q;var u=xia(d).toLowerCase();if(Gia.hasOwnProperty(u)){b.buf.push("<");b.buf.push(u);var A=d.attributes;for(d=0;d<A.length;d++){var F=A.item(d),H=F.name,N=H.toLowerCase();if(Hia.hasOwnProperty(N)){var O=F.value;Iia[N]&&(O=wia(O));b.buf.push(" ",H,'="',Bia(O),'"')}}b.buf.push(">");h=!0}else h=!Jia.hasOwnProperty(u)}else q.nodeType===Node.TEXT_NODE&&l.buf.push(Bia(q.nodeValue));if(h&&q.firstChild){a.push(q);var T=
q.firstChild;if(T&&(q.compareDocumentPosition(T)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY)throw Error("Ua`"+T.outerHTML);q=T}else for(;q;){q.nodeType===Node.ELEMENT_NODE&&l.endElement(q);var ea,ka=q.nextSibling;if(ka&&q!==ka.previousSibling)throw Error("Ua`"+ka.outerHTML);if(ea=ka){q=ea;break}q=a.pop()}}return uia(l.buf.join(""))}finally{if(c)for(c=("content"in c&&c.nodeType===Node.ELEMENT_NODE&&c.nodeName==="TEMPLATE"?c.content:null)||c;c.firstChild;)c.firstChild.remove()}},
Mia=function(){if(Lia===void 0&&(Lia=null,qf.trustedTypes))try{Lia=qf.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:function(a){return a},createScript:function(a){return a},createScriptURL:function(a){return a}})}catch(a){}return Lia},Nia=function(a){var b;return((b=Mia())==null?void 0:b.createHTML(a))||a},Oia=function(a){var b;return((b=Mia())==null?void 0:b.createScriptURL(a))||a},uf=function(a){var b=Pia();return b?Nia(b.sanitize(1,a)||""):pf(a,"HTML")?Nia(of(a)):Kia(Xha(),$c(a))},
Qia=function(a){var b=Pia();return b?b.sanitize(2,a)||"":pf(a,"Style")?of(a):$c(a)},vf=function(a){var b=Pia();return b?b.sanitize(4,a)||"":pf(a,"URL")?of(a):wia($c(a))},Ria=function(a){var b=Pia();if(b)return Oia(b.sanitize(5,a)||"");if(pf(a,"ResourceURL"))return Oia(of(a));throw new bd(904,!1);},Pia=function(){var a=v();return a&&a[10].sanitizer},Tia=function(a,b,c,d,e,f,h,l,q,u,A){var F=b.blueprint.slice();F[0]=e;F[2]=d|1228;if(u!==null||a&&a[2]&2048)F[2]|=2048;F[17]=0;F[3]=F[14]=a;F[8]=c;F[10]=
h||a&&a[10];F[11]=l||a&&a[11];F[9]=q||a&&a[9]||null;F[5]=f;F[19]=Sia++;F[6]=A;F[20]=u;F[15]=b.type==2?a[15]:F;return F},wf=function(a,b,c,d,e){var f=a.data[b];if(f===null){f=Nd.currentTNode;var h=Nd.isParent,l=a.data,q=h?f:f&&f.parent,u=q?q.injectorIndex:-1,A=0;Uia!==null&&(A|=128);b=l[b]={type:c,index:b,insertBeforeIndex:null,injectorIndex:u,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:A,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;Nd.inI18n&&(f.flags|=32)}else f.type&64&&(f.type=c,f.value=d,f.attrs=
e,a=Nd,b=a.currentTNode,a=a.isParent?b:b.parent,f.injectorIndex=a===null?-1:a.injectorIndex);Qd(f,!0);return f},Via=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},Wia=function(a,b,c,d,e){var f=Nd.selectedIndex;try{Nd.selectedIndex=-1,d&2&&b.length>26&&cia(a,b,26),c(d,e)}finally{Nd.selectedIndex=f}},Xia=function(a,b,c){if((b.flags&4)!==0){var d=dd(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{dd(d)}}},bja=function(a,b,c){var d=Hd(c,b),e=c.directiveStart,f=c.directiveEnd;if(c.componentOffset>-1){var h=a.data[e+c.componentOffset],l=Hd(c,b),q=Yia(h);h=Zia(b,Tia(b,q,null,$ia(h),l,c,null,b[10].rendererFactory.createRenderer(l,h),null,null,null));b[c.index]=h}a.firstCreatePass||uga(c,b);df(d,b);d=c.initialInputs;for(h=e;h<f;h++){l=a.data[h];q=be(b,a,h,c);df(q,b);if(d!==null){var u=d[h-e];if(u!==null)for(var A=0;A<u.length;){var F=u[A++],
H=u[A++],N=u[A++],O=u[A++];eia(l,q,F,H,N,O)}}l.template&&(Id(c.index,b)[8]=be(b,a,h,c))}(c.flags&64)===64&&aja(a,b,c)},cja=function(a,b,c){c=c===void 0?Hd: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}},Yia=function(a){var b=a.tView;return b===null||b.incompleteFirstPass?a.tView=dja(1,null,a.template,a.decls,a.vars,a.directiveDefs,a.pipeDefs,a.viewQuery,a.schemas,a.consts,a.id):b},dja=function(a,b,c,d,e,f,h,l,q,u,A){d=26+d;e=d+
e;for(var F=[],H=0;H<e;H++)F.push(H<d?null:xf);u=typeof u==="function"?u():u;return F[1]={type:a,blueprint:F,template:c,queries:null,viewQuery:l,declTNode:b,data:F.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:u,incompleteFirstPass:!1,ssrId:A}},fja=function(a,b,c,d,e){for(var f in b)if(b.hasOwnProperty(f)){var h=b[f];if(h!==void 0){d!=null||(d={});var l=0;if(Array.isArray(h)){var q=h[0];l=h[1]}else q=h;h=f;if(e!==null){if(!e.hasOwnProperty(f))continue;h=e[f]}a===0?eja(d,c,h,q,l):eja(d,c,h,q)}}return d},eja=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)},yf=function(a,b,c,d,e,f,h,l){var q=Hd(b,c),u=b.inputs,A;!l&&u!=null&&(A=u[d])?(gja(a,c,A,d,e),b.componentOffset>-1&&(a=Id(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))},jja=function(a,b,c,d){var e=d===null?null:{"":-1};var f=a.directiveRegistry;var h=null,
l=null;if(f)for(var q=0;q<f.length;q++){var u=f[q];if(Hga(c,u.selectors,!1))if(h||(h=[]),u.template)if(u.findHostDirectiveDefs!==null){var A=[];l=l||new Map;u.findHostDirectiveDefs(u,A,l);h.unshift.apply(h,[].concat(t(A),[u]));hja(a,c,A.length)}else h.unshift(u),hja(a,c,0);else{l=l||new Map;var F=A=void 0;(F=(A=u).findHostDirectiveDefs)==null||F.call(A,u,h,l);h.push(u)}}f=h===null?null:[h,l];f===null?f=h=null:(h=k(f),f=h.next().value,h=h.next().value);f!==null&&ija(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 bd(-301,!1);a.push(d[b],f)}c.mergedAttrs=Xd(c.mergedAttrs,c.attrs)},ija=function(a,b,c,d,e,f){for(var h=0;h<d.length;h++){var l=uga(c,b);qga(l,a,d[h].type)}h=a.data.length;l=d.length;c.flags|=1;c.directiveStart=h;c.directiveEnd=h+l;c.providerIndexes=h;for(h=0;h<d.length;h++)l=d[h],l.providersResolver&&l.providersResolver(l);var q=!1,u=!1;h=Via(a,b,d.length,null);for(l=0;l<d.length;l++){var A=d[l];c.mergedAttrs=Xd(c.mergedAttrs,A.hostAttrs);
var F=a,H=c,N=b,O=h;F.data[O]=A;var T=A.factory||(A.factory=rd(A.type));T=new ce(T,!!A.template);F.blueprint[O]=T;N[O]=T;T=F;var ea=H;F=Via(F,N,A.hostVars,xf);if(N=A.hostBindings){H=T.hostBindingOpCodes;H===null&&(H=T.hostBindingOpCodes=[]);T=~ea.index;a:{for(ea=H.length;ea>0;){var ka=H[--ea];if(typeof ka==="number"&&ka<0){ea=ka;break a}}ea=0}ea!=T&&H.push(T);H.push(O,F,N)}O=h;T=A;if(F=e){if(T.exportAs)for(N=0;N<T.exportAs.length;N++)F[T.exportAs[N]]=O;T.template&&(F[""]=O)}A.contentQueries!==null&&
(c.flags|=4);if(A.hostBindings!==null||A.hostAttrs!==null||A.hostVars!==0)c.flags|=64;A=A.type.prototype;!q&&(A.ngOnChanges||A.ngOnInit||A.ngDoCheck)&&(O=q=void 0,((O=(q=a).preOrderHooks)!=null?O:q.preOrderHooks=[]).push(c.index),q=!0);u||!A.ngOnChanges&&!A.ngDoCheck||(A=u=void 0,((A=(u=a).preOrderCheckHooks)!=null?A:u.preOrderCheckHooks=[]).push(c.index),u=!0);h++}b=c.directiveEnd;a=a.data;d=c.attrs;e=[];l=h=null;for(q=c.directiveStart;q<b;q++){u=a[q];O=(A=f?f.get(u):null)?A.outputs:null;h=fja(0,
u.inputs,q,h,A?A.inputs:null);l=fja(1,u.outputs,q,l,O);if(h===null||d===null||Fga(c))u=null;else{u=h;A=q;O=null;for(T=0;T<d.length;)if(F=d[T],F===0)T+=4;else{if(F!==5){if(typeof F==="number")break;if(u.hasOwnProperty(F))for(O===null&&(O=[]),N=u[F],H=0;H<N.length;H+=3)if(N[H]===A){O.push(F,N[H+1],N[H+2],d[T+1]);break}}T+=2}u=O}e.push(u)}h!==null&&(h.hasOwnProperty("class")&&(c.flags|=8),h.hasOwnProperty("style")&&(c.flags|=16));c.initialInputs=e;c.inputs=h;c.outputs=l},aja=function(a,b,c){var d=c.directiveStart,
e=c.directiveEnd,f=c.index;c=Nd.currentDirectiveIndex;try{for(Nd.selectedIndex=f;d<e;d++){var h=a.data[d],l=b[d];Nd.currentDirectiveIndex=d;h.hostBindings===null&&h.hostVars===0&&h.hostAttrs===null||h.hostBindings===null||h.hostBindings(1,l)}}finally{Nd.selectedIndex=-1,Nd.currentDirectiveIndex=c}},hja=function(a,b,c){b.componentOffset=c;var d;((d=a.components)!=null?d:a.components=[]).push(b.index)},$ia=function(a){var b=16;a.signals?b=4096:a.onPush&&(b=64);return b},kja=function(a,b,c,d,e,f){var h=
Hd(a,b);b=b[11];a=a.value;d==null?b.removeAttribute(h,c,f):(d=e==null?$c(d):e(d,a||"",c),b.setAttribute(h,c,d,f))},lja=function(a,b){var c=a.contentQueries;if(c!==null){var d=dd(null);try{for(var e=0;e<c.length;e+=2){var f=c[e],h=c[e+1];if(h!==-1){var l=a.data[h];Nd.currentQueryIndex=f;l.contentQueries(2,b[h],h)}}}finally{dd(d)}}},Zia=function(a,b){a[12]?a[13][4]=b:a[12]=b;return a[13]=b},mja=function(a,b,c){Nd.currentQueryIndex=0;var d=dd(null);try{b(a,c)}finally{dd(d)}},nja=function(a){var b;return(b=
a[7])!=null?b:a[7]=[]},oja=function(a){var b;return(b=a.cleanup)!=null?b:a.cleanup=[]},pja=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]},qja=function(a,b){(a=(a=a[9])?a.get(zf,null):null)&&a.handleError(b)},gja=function(a,b,c,d,e){for(var f=0;f<c.length;){var h=c[f++],l=c[f++],q=c[f++];eia(a.data[h],b[h],d,l,q,e)}},rja=function(a,b){a[11].setValue(Gd(a[Nd.selectedIndex]),b)},tja=function(a,b,c){cga(b);
try{var d=a.viewQuery;d!==null&&mja(1,d,c);var e=a.template;e!==null&&Wia(a,b,e,1,c);a.firstCreatePass&&(a.firstCreatePass=!1);var f;(f=b[18])!=null&&sja(f,a);a.staticContentQueries&&lja(a,b);a.staticViewQueries&&mja(2,a.viewQuery,c);var h=a.components;if(h!==null)for(c=0;c<h.length;c++){var l=Id(h[c],b),q=l[1];d=q;e=l;for(var u=e.length;u<d.blueprint.length;u++)e.push(d.blueprint[u]);l[0]!==null&&l[6]===null&&(l[6]=null);tja(q,l,l[8])}}catch(A){throw a.firstCreatePass&&(a.incompleteFirstPass=!0,
a.firstCreatePass=!1),A;}finally{b[2]&=-5,fga()}},uja=function(a,b,c){var d=c?a.styles:null,e=c?a.classes:null,f=0;if(b!==null)for(var h=0;h<b.length;h++){var l=b[h];if(typeof l==="number")f=l;else if(f==1)e=Pea(e,l);else if(f==2){var q=b[++h];d=Pea(d,l+": "+q+";")}}c?a.styles=d:a.stylesWithoutHost=d;c?a.classes=e:a.classesWithoutHost=e},vja=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(Gd(f));if(Ed(f)){for(var h=d,l=10;l<f.length;l++){var q=
f[l],u=q[1].firstChild;u!==null&&vja(q[1],q,u,h)}f[7]!==f[0]&&h.push(f[7])}f=c.type;if(f&8)vja(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,t(f)):(h=Md(b[15]),vja(h[1],h,f,d,!0)))}c=e?c.projectionNext:c.next}return d},wja=function(a){if(a[25]!==null){for(var b=k(a[25]),c=b.next();!c.done;c=b.next()){c=c.value;var d=c.impl;d.sequences.add(c);d.scheduler.notify(7)}a[25].length=0}},xja=function(a){if(a[23]!==
null)for(var b=!0;b;){b=!1;for(var c=k(a[23]),d=c.next(),e={};!d.done;e={effect$jscomp$4:void 0},d=c.next())e.effect$jscomp$4=d.value,e.effect$jscomp$4.dirty&&(b=!0,e.effect$jscomp$4.zone===null||Zone.current===e.effect$jscomp$4.zone?e.effect$jscomp$4.run():e.effect$jscomp$4.zone.run(function(f){return function(){return f.effect$jscomp$4.run()}}(e)));b=b&&!!(a[2]&8192)}},zja=function(a,b,c){b=b===void 0?!0:b;c=c===void 0?0:c;var d=a[10].rendererFactory,e;(e=d.begin)==null||e.call(d);try{e=c;c=Yfa;
try{for(Zfa(!0),yja(a,e),e=0;Vfa(a);){if(e===100)throw new bd(103,!1);e++;yja(a,1)}}finally{Zfa(c)}}catch(h){throw b&&qja(a,h),h;}finally{var f;(f=d.end)==null||f.call(d)}},Aja=function(a,b){for(a=Zha(a[12]);a!==null;a=Zha(a[4]))for(var c=10;c<a.length;c++){var d=a[c];(d[2]&128)===128&&yja(d,b)}},yja=function(a,b){var c=a[1],d=a[2],e=a[24],f=!!(b===0&&d&16);f||(f=!!(d&64&&b===0));f||(f=!!(d&1024));f||(f=!!((e==null?0:e.dirty)&&Yea(e)));f||(f=!1);e&&(e.dirty=!1);a[2]&=-9217;if(f){var h=c.template;
b=a[8];if((a[2]&256)!==256){var l=a[2];cga(a);d=!0;f=e=null;if(c.type!==2){if((e=a[24])!=null)var q=e;else e=(q=Bja.pop())!=null?q:Object.create(Cja),e.lView=a,q=e;f=q;e=fd(f)}else if(cd===null){d=!1;var u;q=(u=a[24])!=null?u:Object.create(Dja);q.lView=a;f=q;e=fd(f)}else a[24]&&(bfa(a[24]),a[24]=null);try{a[17]=0;Nd.bindingIndex=c.bindingStartIndex;h!==null&&Wia(c,a,h,2,b);if(q=(l&3)===3){var A=c.preOrderCheckHooks;A!==null&&Wd(a,A,3,null)}else{var F=c.preOrderHooks;F!==null&&hga(a,F,0,null);iga(a,
0)}for(var H=Zha(a[12]);H!==null;H=Zha(H[4]))if(H[2]&2){var N=H[9];for(A=0;A<N.length;A++)Ufa(N[A])}xja(a);Aja(a,0);c.contentQueries!==null&&lja(c,a);if(q){var O=c.contentCheckHooks;O!==null&&Wd(a,O,3)}else{var T=c.contentHooks;T!==null&&hga(a,T,1);iga(a,1)}var ea=c.hostBindingOpCodes;if(ea!==null)try{for(H=0;H<ea.length;H++){var ka=ea[H];if(ka<0)Nd.selectedIndex=~ka;else{N=ka;var oa=ea[++H],La=ea[++H];O=Nd;O.bindingIndex=O.bindingRootIndex=oa;Nd.currentDirectiveIndex=N;La(2,a[N])}}}finally{Nd.selectedIndex=
-1}var Ua=c.components;Ua!==null&&Eja(a,Ua,0);var Pa=c.viewQuery;Pa!==null&&mja(2,Pa,b);if(q){var lb=c.viewCheckHooks;lb!==null&&Wd(a,lb,3)}else{var qa=c.viewHooks;qa!==null&&hga(a,qa,2);iga(a,2)}c.firstUpdatePass===!0&&(c.firstUpdatePass=!1);if(a[22]){for(var Ga=k(a[22]),Ha=Ga.next();!Ha.done;Ha=Ga.next()){var Ab=Ha.value;Ab()}a[22]=null}wja(a);a[2]&=-73}catch(vb){throw Kd(a),vb;}finally{f!==null&&(gd(f,e),d&&(a=f,a.lView[24]!==a&&(a.lView=null,Bja.push(a)))),fga()}}}else d&8192&&(xja(a),Aja(a,1),
c=c.components,c!==null&&Eja(a,c,1),wja(a))},Eja=function(a,b,c){for(var d=0;d<b.length;d++){var e=c,f=Id(b[d],a);(f[2]&128)===128&&yja(f,e)}},Fja=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},Gja=function(){gga(v()[1],Pd())},Hja=function(a,b,c){return new Af(a,b,c,!1)},Jja=function(a,b,c){return(new Ija({providers:a,
parent:b,debugName:c===void 0?null:c,runEnvironmentInitializers:!0})).injector},C=function(a){return Yd(function(){var b=Kja(a),c,d=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:b.standalone?function(e){e=e.get(Bf);if(d.standalone){if(!e.cachedInjectors.has(d)){var f=wfa(!1,d.type);f=f.length>
0?Jja([f],e._injector,"Standalone["+d.type.name+"]"):null;e.cachedInjectors.set(d,f)}e=e.cachedInjectors.get(d)}else e=null;return e}:null,getExternalStyles:null,signals:(c=a.signals)!=null?c:!1,data:a.data||{},encapsulation:a.encapsulation||0,styles:a.styles||xd,_:null,schemas:a.schemas||null,tView:null,id:""});b.standalone&&Xe("NgStandalone");Lja(d);b=a.dependencies;d.directiveDefs=Mja(b,!1);d.pipeDefs=Mja(b,!0);d.id=Nja(d);return d})},Pja=function(a){return a[wd]||a[Oja]||null},Qja=function(a){return a!==
null},Cf=function(a){return Yd(function(){return{type:a.type,bootstrap:a.bootstrap||xd,declarations:a.declarations||xd,imports:a.imports||xd,exports:a.exports||xd,transitiveCompileScopes:null,schemas:a.schemas||null,id:a.id||null}})},Rja=function(a,b){if(a==null)return Fd;var c={},d;for(d in a)if(a.hasOwnProperty(d)){var e=a[d],f=0;if(Array.isArray(e)){f=e[0];var h=e[1];var l=void 0;e=(l=e[2])!=null?l:h}else h=e;b?(c[h]=f!==0?[d,f]:d,b[h]=e):c[h]=d}return c},Df=function(a){return Yd(function(){var b=
Kja(a);Lja(b);return b})},Ef=function(a){var b;return{type:a.type,name:a.name,factory:null,pure:a.pure!==!1,standalone:(b=a.standalone)!=null?b:!0,onDestroy:a.type.prototype.ngOnDestroy||null}},Kja=function(a){var b={},c;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||Fd,exportAs:a.exportAs||null,standalone:(c=
a.standalone)!=null?c:!0,signals:a.signals===!0,selectors:a.selectors||xd,viewQuery:a.viewQuery||null,features:a.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Rja(a.inputs,b),outputs:Rja(a.outputs),debugInfo:null}},Lja=function(a){var b;(b=a.features)==null||b.forEach(function(c){return c(a)})},Mja=function(a,b){if(!a)return null;var c=b?rfa:Pja;return function(){return(typeof a==="function"?a():a).map(function(d){return c(d)}).filter(Qja)}},Nja=function(a){var b=
0;a=[a.selectors,a.ngContentSelectors,a.hostVars,a.hostAttrs,typeof a.consts==="function"?"":a.consts,a.vars,a.decls,a.encapsulation,a.standalone,a.signals,a.exportAs,JSON.stringify(a.inputs),JSON.stringify(a.outputs),Object.getOwnPropertyNames(a.type.prototype),!!a.contentQueries,!!a.viewQuery];a=k(a.join("|"));for(var c=a.next();!c.done;c=a.next())b=Math.imul(31,b)+c.value.charCodeAt(0)<<0;return"c"+(b+2147483648)},Ff=function(a){return!!a&&typeof a.then==="function"},Sja=function(a){return!!a&&
typeof a.subscribe==="function"},Gf=function(a){return typeof a==="function"&&a[id]!==void 0},Tja=function(a){return Ge(function(b,c){var d=!1,e=null,f=null,h=!1,l=function(){var u;(u=f)==null||u.unsubscribe();f=null;d&&(d=!1,u=e,e=null,c.next(u));h&&c.complete()},q=function(){f=null;h&&c.complete()};b.subscribe(new He(c,function(u){d=!0;e=u;f||qe(a(u)).subscribe(f=new He(c,l,void 0,q))},void 0,function(){h=!0;d&&f&&!f.closed||c.complete()}))})},Hf=function(a,b){b=b===void 0?Qe:b;return Tja(function(){return Re(a,
b)})},Uja=function(a){return Ge(function(b,c){var d=[];b.subscribe(new He(c,function(e){return d.push(e)},void 0,function(){c.next(d);c.complete()}));a.subscribe(new He(c,function(){var e=d;d=[];c.next(e)},void 0,ke));return function(){d=null}})},If=function(a){return Ge(function(b,c){var d=null,e=!1,f;d=b.subscribe(new He(c,void 0,function(h){f=qe(a(h,If(a)(b)));d?(d.unsubscribe(),d=null,f.subscribe(c)):e=!0}));e&&(d.unsubscribe(),d=null,f.subscribe(c))})},Vja=function(a,b,c){return function(d,e){var f=
c,h=b,l=0;d.subscribe(new He(e,function(q){var u=l++;h=f?a(h,q,u):(f=!0,q);e.next(h)},void 0,void 0))}},Wja=function(){var a=vd.apply(0,arguments),b=gha(a);return b?ne(Wja.apply(null,t(a)),jha(b)):Ge(function(c,d){pha([c].concat(t(a.length===1&&zha(a[0])?a[0]:a)))(d)})},Jf=function(){return Wja.apply(null,t(vd.apply(0,arguments)))},Kf=function(a){return ie()?Ke(a,void 0,1):Ke(a,1)},Yja=function(){return Xja.apply(null,t(vd.apply(0,arguments)))},Xja=function(){var a=vd.apply(0,arguments),b=ze(a);return Ge(function(c,
d){Le(1)(ye([c].concat(t(a)),b)).subscribe(d)})},Zja=function(a){return Ge(function(b,c){var d=!1,e=null,f=null,h=function(){var l;(l=f)==null||l.unsubscribe();f=null;d&&(d=!1,l=e,e=null,c.next(l))};b.subscribe(new He(c,function(l){var q;(q=f)==null||q.unsubscribe();d=!0;e=l;f=new He(c,h,void 0,ke);qe(a(l)).subscribe(f)},void 0,function(){h();c.complete()},function(){e=f=null}))})},Lf=function(a,b){b=b===void 0?Qe:b;var c=Re(a,b);return Zja(function(){return c})},$ja=function(a){a=a===void 0?null:
a;return Ge(function(b,c){var d=!1;b.subscribe(new He(c,function(e){d=!0;c.next(e)},void 0,function(){d||c.next(a);c.complete()}))})},aka=function(){return Ge(function(a,b){a.subscribe(new He(b,ke))})},Mf=function(a){return Ge(function(b,c){b.subscribe(new He(c,function(){return c.next(a)}))})},Nf=function(){return Ge(function(a,b){var c=0;a.subscribe(new He(b,function(d){++c<=1&&(b.next(d),1<=c&&b.complete())}))})},bka=function(a){return Ke(function(b,c){return a(b,c).pipe(Nf(),Mf(b))})},Of=function(a,
b){b=b===void 0?Qe:b;var c=Re(a,b);return bka(function(){return c})},Pf=function(a){var b=b===void 0?me:b;var c;a=(c=a)!=null?c:cka;return Ge(function(d,e){var f,h=!0;d.subscribe(new He(e,function(l){var q=b(l);if(h||!a(f,q))h=!1,f=q,e.next(l)}))})},cka=function(a,b){return a===b},eka=function(a){a=a===void 0?dka:a;return Ge(function(b,c){var d=!1;b.subscribe(new He(c,function(e){d=!0;c.next(e)},void 0,function(){return d?c.complete():c.error(a())}))})},dka=function(){return new Ee},Qf=function(a){return Ge(function(b,
c){b.subscribe(c);c.add(a)})},Rf=function(a,b){var c=arguments.length>=2;return function(d){return d.pipe(a?Ue(function(e,f){return a(e,f,d)}):me,Nf(),c?$ja(b):eka(function(){return new Ee}))}},fka=function(){return Ge(function(a,b){var c=[];a.subscribe(new He(b,function(d){c.push(d);1<c.length&&c.shift()},void 0,function(){for(var d=k(c),e=d.next();!e.done;e=d.next())b.next(e.value);b.complete()},function(){c=null}))})},gka=function(a,b){var c=arguments.length>=2;return function(d){return d.pipe(a?
Ue(function(e,f){return a(e,f,d)}):me,fka(),c?$ja(b):eka(function(){return new Ee}))}},hka=function(a){var b=ie(a)?a:function(){return a};return ie()?Ge(function(c,d){var e=b();(void 0)(e).subscribe(d).add(c.subscribe(e))}):function(c){var d=new Sf(c,b);ie(c==null?void 0:c.lift)&&(d.lift=c.lift);d.source=c;d.subjectFactory=b;return d}},ika=function(){return Ge(function(a,b){var c,d=!1;a.subscribe(new He(b,function(e){var f=c;c=e;d&&b.next([f,e]);d=!0}))})},jka=function(){var a=new Tf(1,void 0,void 0);
return function(b){return hka(function(){return a})(b)}},kka=function(){var a=vd.apply(0,arguments);return a.length?Ge(function(b,c){Aha([b].concat(t(a)))(c)}):me},lka=function(a,b){return Ge(Vja(a,b,arguments.length>=2))},mka=function(){var a=a||{};var b=a.connector===void 0?function(){return new Uf}:a.connector,c=a.resetOnComplete===void 0?!0:a.resetOnComplete,d=a.resetOnError===void 0?!0:a.resetOnError,e=a.resetOnRefCountZero===void 0?!0:a.resetOnRefCountZero;return function(f){var h=null,l=null,
q=0,u=!1,A=!1,F=function(){h=l=null;u=A=!1};return Ge(function(H,N){q++;var O;l=(O=l)!=null?O:b();N.add(function(){q--;if(e&&!q&&!A&&!u){var T=h;F();T==null||T.unsubscribe()}});l.subscribe(N);!h&&q>0&&(h=new Ce({next:function(T){return l.next(T)},error:function(T){A=!0;var ea=l;d&&F();ea.error(T)},complete:function(){u=!0;var T=l;c&&F();T.complete()}}),re(H).subscribe(h))})(f)}},Vf=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 Ge(nka(b))(c)}},
nka=function(a){var b=a.bufferSize===void 0?Infinity:a.bufferSize;var c=a.windowTime===void 0?Infinity:a.windowTime;var d=a.refCount;var e=a.scheduler;var f,h=0,l;return function(q,u){h++;if(f)var A=f.subscribe(u);else f=new Tf(b,c,e),A=f.subscribe(u),l=q.subscribe({next:function(F){f.next(F)},error:function(F){var H=f;f=l=void 0;H.error(F)},complete:function(){l=void 0;f.complete()}}),l.closed&&(l=void 0);u.add(function(){h--;A.unsubscribe();d&&h===0&&l&&(l.unsubscribe(),f=l=void 0)})}},Wf=function(a){return Ue(function(b,
c){return a<=c})},Xf=function(){var a=vd.apply(0,arguments),b=ze(a);return Ge(function(c,d){(b?Me(a,c,b):Me(a,c)).subscribe(d)})},Yf=function(a){return Ge(function(b,c){var d=null,e=0,f=!1;b.subscribe(new He(c,function(h){var l;(l=d)==null||l.unsubscribe();l=e++;qe(a(h,l)).subscribe(d=new He(c,function(q){return c.next(q)},void 0,function(){d=null;f&&!d&&c.complete()}))},void 0,function(){(f=!0,!d)&&c.complete()}))})},oka=function(a){return Yf(function(){return a})},Zf=function(a){return Ge(function(b,
c){qe(a).subscribe(new He(c,function(){return c.complete()},void 0,ke));!c.closed&&b.subscribe(c)})},pka=function(a){var b=b===void 0?!1:b;return Ge(function(c,d){var e=0;c.subscribe(new He(d,function(f){var h=a(f,e++);(h||b)&&d.next(f);!h&&d.complete()}))})},$f=function(a,b){var c=ie(a)||b?{next:a,error:b,complete:void 0}:a;return c?Ge(function(d,e){d.subscribe(new He(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()}))}):me},rka=function(a){var b=qka.leading;var c=qka.trailing;return Ge(function(d,e){var f=!1,h=null,l=null,q=!1,u=function(){var N;(N=l)==null||N.unsubscribe();l=null;c&&(H(),q&&e.complete())},A=function(){l=null;q&&e.complete()},F=function(N){return l=qe(a(N)).subscribe(new He(e,u,void 0,A))},H=function(){f&&(e.next(h),!q&&F(h));f=!1;h=null};d.subscribe(new He(e,function(N){f=!0;h=N;(!l||l.closed)&&(b?H():F(N))},void 0,function(){q=!0;c&&f&&l&&!l.closed||
e.complete()}))})},ag=function(){var a=vd.apply(0,arguments),b=gha(a);return Ge(function(c,d){for(var e=a.length,f=Array(e),h=a.map(function(){return!1}),l=!1,q={i$jscomp$338:0};q.i$jscomp$338<e;q={i$jscomp$338:q.i$jscomp$338},q.i$jscomp$338++)qe(a[q.i$jscomp$338]).subscribe(new He(d,function(u){return function(A){f[u.i$jscomp$338]=A;l||h[u.i$jscomp$338]||(h[u.i$jscomp$338]=!0,(l=h.every(me))&&(h=null))}}(q),void 0,ke));c.subscribe(new He(d,function(u){l&&(u=[u].concat(t(f)),d.next(b?b.apply(null,
t(u)):u))}))})},ska=function(){ifa=function(){throw new bd(600,!1);}},tka=function(a,b,c){try{var d=c();return Ff(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;}},uka=function(a,b){return Array.isArray(b)?b.reduce(uka,a):Object.assign({},a,b)},vka=function(a,b){b=a.indexOf(b);b>-1&&a.splice(b,1)},wka=function(a,b,c,d){var e=dd(null);try{var f=b.tView,h,l,q,u=Tia(a,f,c,a[2]&4096?
4096:16,null,b,null,null,(h=d==null?void 0:d.injector)!=null?h:null,(l=d==null?void 0:d.embeddedViewInjector)!=null?l:null,(q=d==null?void 0:d.dehydratedView)!=null?q:null);u[16]=a[b.index];var A=a[18];A!==null&&(u[18]=A.createEmbeddedView(f));tja(f,u,c);return u}finally{dd(e)}},xka=function(a,b){b=10+b;if(b<a.length)return a[b]},bg=function(a,b){return!b||b.firstChild===null||(a.flags&128)===128},yka=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&&jia(f,b);f=b[18];f!==null&&sja(f,e);Wfa(b);b[2]|=128;d&&(c=pia(c,a),d=b[11],f=d.parentNode(a[7]),f!==null&&(a=a[5],b[0]=f,b[5]=a,kf(d,1,e.firstChild,b,f,c,!1)));b=b[6];b!==null&&b.firstChild!==null&&(b.firstChild=null)},zka=function(a){a=lf(a,0);a!==void 0&&mia(a[1],a)},cg=function(a){for(var b=Object.getPrototypeOf(a.type.prototype).constructor,c=!0,d=[a];b;){if(a.template)var e=b.\u0275cmp||
b.\u0275dir;else{if(b.\u0275cmp)throw new bd(903,!1);e=b.\u0275dir}if(e){if(c){d.push(e);var f=a;f.inputs=Aka(a.inputs);f.inputTransforms=Aka(a.inputTransforms);f.declaredInputs=Aka(a.declaredInputs);f.outputs=Aka(a.outputs);(f=e.hostBindings)&&Bka(a,f);f=e.viewQuery;var h=e.contentQueries;f&&Cka(a,f);h&&Dka(a,h);f=void 0;h=a;var l=e;for(f in l.inputs)if(l.inputs.hasOwnProperty(f)&&!h.inputs.hasOwnProperty(f)){var q=l.inputs[f];if(q!==void 0&&(h.inputs[f]=q,h.declaredInputs[f]=l.declaredInputs[f],
l.inputTransforms!==null&&(q=Array.isArray(q)?q[0]:q,l.inputTransforms.hasOwnProperty(q)))){var u=void 0;(u=h).inputTransforms!=null||(u.inputTransforms={});h.inputTransforms[q]=l.inputTransforms[q]}}f=void 0;h=a.outputs;l=e.outputs;for(f in l)l.hasOwnProperty(f)&&!h.hasOwnProperty(f)&&(h[f]=l[f]);e.template&&e.data.animation&&(f=a.data,f.animation=(f.animation||[]).concat(e.data.animation))}if(e=e.features)for(f=0;f<e.length;f++)(h=e[f])&&h.ngInherit&&h(a),h===cg&&(c=!1)}b=Object.getPrototypeOf(b)}a=
0;b=null;for(c=d.length-1;c>=0;c--)e=d[c],e.hostVars=a+=e.hostVars,e.hostAttrs=Xd(e.hostAttrs,b=Xd(b,e.hostAttrs))},Aka=function(a){return a===Fd?{}:a===xd?[]:a},Cka=function(a,b){var c=a.viewQuery;a.viewQuery=c?function(d,e){b(d,e);c(d,e)}:b},Dka=function(a,b){var c=a.contentQueries;a.contentQueries=c?function(d,e,f){b(d,e,f);c(d,e,f)}:b},Bka=function(a,b){var c=a.hostBindings;a.hostBindings=c?function(d,e){b(d,e);c(d,e)}:b},Gka=function(a,b,c){if(a.hostDirectives!==null){a=k(a.hostDirectives);for(var d=
a.next();!d.done;d=a.next())if(d=d.value,typeof d==="function"){d=d();d=k(d);for(var e=d.next();!e.done;e=d.next())Eka(Fka(e.value),b,c)}else Eka(d,b,c)}},Eka=function(a,b,c){var d=a.directive[Oja]||null,e=d.declaredInputs,f=a.inputs,h;for(h in f)f.hasOwnProperty(h)&&(e[f[h]]=e[h]);Gka(d,b,c);c.set(d,a);b.push(d)},Fka=function(a){return typeof a==="function"?{directive:md(a),inputs:Fd,outputs:Fd}:{directive:md(a.directive),inputs:Hka(a.inputs),outputs:Hka(a.outputs)}},Hka=function(a){if(a===void 0||
a.length===0)return Fd;for(var b={},c=0;c<a.length;c+=2)b[a[c]]=a[c+1];return b},dg=function(a){var b=a.inputConfig,c={},d;for(d in b)if(b.hasOwnProperty(d)){var e=b[d];Array.isArray(e)&&e[3]&&(c[d]=e[3])}a.inputTransforms=c},Jka=function(){return Ika(Pd(),v())},Kka=function(a){return a[8]||(a[8]=[])},Ika=function(a,b){var c=b[a.index];if(Ed(c))var d=c;else d=[c,!0,0,b,null,a,null,null,null,null],b[a.index]=d,Zia(b,d);Lka(d,b,a,c);return new eg(d,a,b)},Mka=function(a,b,c,d){if(!a[7]){if(c.type&8)d=
Gd(d);else{d=b[11];var e=d.createComment("");c=Hd(c,b);b=d.parentNode(c);c=d.nextSibling(c);d.insertBefore(b,e,c,!1);d=e}a[7]=d}},Oka=function(a){return Nka(a)?Array.isArray(a)||!(a instanceof Map)&&Symbol.iterator in a:!1},Pka=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)},Nka=function(a){return a!==null&&(typeof a==="function"||typeof a==="object")},fg=function(a,b,c){return a[b]=c},gg=function(a,b,c){if(Object.is(a[b],
c))return!1;a[b]=c;return!0},hg=function(a,b,c,d){c=gg(a,b,c);return gg(a,b+1,d)||c},Rka=function(a,b,c,d,e,f,h,l,q,u){var A=c+26;if(b.firstCreatePass){var F=b.consts;h=wf(b,A,4,h||null,l||null);jja(b,a,h,Jd(F,q));gga(b,h);d=h.tView=dja(2,h,d,e,f,b.directiveRegistry,b.pipeRegistry,null,b.schemas,F,null);b.queries!==null&&(b.queries.template(b,h),d.queries=b.queries.embeddedTView(h));d=h}else d=b.data[A];Qd(d,!1);c=Qka(b,a,d,c);ig&&oia(b,a,c,d);df(c,a);c=[c,!0,0,a,null,d,null,c,null,null];a[A]=c;Zia(a,
c);(d.flags&1)===1&&bja(b,a,d);q!=null&&cja(a,d,u)},D=function(a,b,c,d,e,f,h,l){var q=v(),u=Od();f=Jd(u.consts,f);Rka(q,u,a,b,c,d,e,f,h,l);return D},Ska=function(a,b){ig=!0;return b[11].createComment("")},jg=function(a,b,c,d){var e=v(),f=Nd.bindingIndex++;gg(e,f,b)&&(f=Td(),kja(f,e,a,b,c,d));return jg},kg=function(a,b,c,d){return gg(a,Nd.bindingIndex++,c)?b+$c(c)+d:xf},Tka=function(a,b,c,d,e,f){a=hg(a,Nd.bindingIndex,c,e);Sd(2);return a?b+$c(c)+d+$c(e)+f:xf},lg=function(a,b,c,d,e,f){var h=v();b=kg(h,
b,c,d);b!==xf&&(c=Td(),kja(c,h,a,b,e,f));return lg},mg=function(a,b,c,d,e,f,h,l){var q=v();b=Tka(q,b,c,d,e,f);b!==xf&&(c=Td(),kja(c,q,a,b,h,l));return mg},Uka=function(a,b,c,d,e,f,h,l,q,u){var A=v();var F=Nd.bindingIndex;var H=hg(A,F,c,e);F=gg(A,F+2,h)||H;Sd(3);b=F?b+$c(c)+d+$c(e)+f+$c(h)+l:xf;b!==xf&&(c=Td(),kja(c,A,a,b,q,u));return Uka},E=function(a,b,c){var d=v(),e=Nd.bindingIndex++;if(gg(d,e,b)){e=Od();var f=Td();yf(e,f,d,a,b,d[11],c,!1)}return E},Vka=function(a,b,c,d,e){e=e?"class":"style";gja(a,
c,b.inputs[e],e,d)},Wka=function(a,b,c,d){for(var e=a[c+1],f=b===null,h=d?e>>17&32767:(e&131068)>>2,l=!1;h!==0&&(l===!1||f);){var q=a[h+1],u=a[h];if(u===null||b==null||(Array.isArray(u)?u[1]:u)===b||Array.isArray(u)&&typeof b==="string"&&sd(u,b)>=0)l=!0,a[h+1]=d?q|1:q|2;h=d?q>>17&32767:(q&131068)>>2}l&&(a[c+1]=d?e|2:e|1)},Xka=function(a,b){var c=ng;if(c===b)return-1;for(b=og=b;b<c&&a.charCodeAt(b)>32;)b++;b=pg=b;return qg(a,b,c)},bla=function(a,b){var c=ng;b=og=qg(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=pg=b;b=Yka(a,b,c);d=b=Zka=qg(a,b,c);for(var e=b=-1,f=-1,h=d,l=h;h<c;){var q=a.charCodeAt(h++);if(q===59)break;else q===34||q===39?l=h=$ka(a,q,h,c):d===h-4&&f===85&&e===82&&b===76&&q===40?l=h=$ka(a,41,h,c):q>32&&(l=h);f=e;e=b;b=q&-33}b=ala=l;return Yka(a,b,c)},qg=function(a,b,c){for(;b<c&&a.charCodeAt(b)<=32;)b++;return b},Yka=function(a,b,c){b=qg(a,b,c);b<c&&b++;return b},$ka=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();},rg=function(a,b,c){cla(a,b,c,!1);return rg},sg=function(a,b){cla(a,b,null,!0);return sg},ela=function(a,b){var c;ala=Zka=pg=og=0;ng=b.length;for(c=bla(b,qg(b,0,ng));c>=0;c=bla(b,c))dla(a,b.substring(og,pg),b.substring(Zka,ala))},tg=function(a){fla(gla,hla,a,!0)},hla=function(a,b){var c;ala=Zka=pg=og=0;ng=b.length;for(c=Xka(b,qg(b,0,ng));c>=0;c=Xka(b,c))td(a,b.substring(og,pg),!0)},cla=function(a,b,c,d){var e=v(),f=Od(),
h=Sd(2);f.firstUpdatePass&&ila(f,a,h,d);if(b!==xf&&gg(e,h,b)){var l=f.data[Nd.selectedIndex],q=e[11];b!=null&&b!==""&&(typeof c==="string"?b+=c:typeof b==="object"&&(b=ad(of(b))));jla(f,l,e,q,a,e[h+1]=b,d,h)}},fla=function(a,b,c,d){var e=Od(),f=Sd(2);e.firstUpdatePass&&ila(e,null,f,d);var h=v();if(c!==xf&&gg(h,f,c)){var l=e.data[Nd.selectedIndex];if((l.flags&(d?8:16))===0||f>=e.expandoStartIndex){var q=h[11],u=h[f+1];if(c==null||c==="")a=xd;else{var A=[];c=of(c);if(Array.isArray(c))for(b=0;b<c.length;b++)a(A,
c[b],!0);else if(typeof c==="object")for(var F in c)c.hasOwnProperty(F)&&a(A,F,c[F]);else typeof c==="string"&&b(A,c);a=A}a=h[f+1]=a;u===xf&&(u=xd);b=A=0;c=0<u.length?u[0]:null;for(F=0<a.length?a[0]:null;c!==null||F!==null;){var H=A<u.length?u[A+1]:void 0,N=b<a.length?a[b+1]:void 0,O=null,T=void 0;c===F?(A+=2,b+=2,H!==N&&(O=F,T=N)):F===null||c!==null&&c<F?(A+=2,O=c):(b+=2,O=F,T=N);O!==null&&jla(e,l,h,q,O,T,d,f);c=A<u.length?u[A]:null;F=b<a.length?a[b]:null}}else f=d?l.classesWithoutHost:l.stylesWithoutHost,
f!==null&&(c=Pea(f,c?c:"")),Vka(e,l,h,c,d)}},ila=function(a,b,c,d){var e=a.data;if(e[c+1]===null){var f=e[Nd.selectedIndex];a=c>=a.expandoStartIndex;(f.flags&(d?8:16))!==0&&b===null&&!a&&(b=!1);var h=$fa(e),l=d?f.residualClasses:f.residualStyles;if(h===null)(d?f.classBindings:f.styleBindings)===0&&(b=kla(null,e,f,b,d),b=ug(b,f.attrs,d),l=null);else{var q=f.directiveStylingLast;if(q===-1||e[q]!==h)if(b=kla(h,e,f,b,d),l===null)h=d?f.classBindings:f.styleBindings,h=(h&131068)>>2!==0?e[h>>17&32767]:void 0,
h!==void 0&&Array.isArray(h)&&(h=kla(null,e,f,h[1],d),h=ug(h,f.attrs,d),e[(d?f.classBindings:f.styleBindings)>>17&32767]=h);else{l=void 0;h=f.directiveEnd;for(q=1+f.directiveStylingLast;q<h;q++)l=ug(l,e[q].hostAttrs,d);l=ug(l,f.attrs,d)}}l!==void 0&&(d?f.residualClasses=l:f.residualStyles=l);h=b;l=d?f.classBindings:f.styleBindings;b=l>>17&32767;l=(l&131068)>>2;e[c]=h;q=!1;if(Array.isArray(h)){var u=h[1];if(u===null||sd(h,u)>0)q=!0}else u=h;a?l!==0?(a=e[b+1]>>17&32767,e[c+1]=a<<17|b<<2,a!==0&&(e[a+
1]=e[a+1]&-131069|c<<2),e[b+1]=e[b+1]&131071|c<<17):(e[c+1]=b<<17|0,b!==0&&(e[b+1]=e[b+1]&-131069|c<<2),b=c):(e[c+1]=l<<17|0,b===0?b=c:e[l+1]=e[l+1]&-131069|c<<2,l=c);q&&(e[c+1]|=2);Wka(e,u,c,!0);Wka(e,u,c,!1);a=u;h=d?f.residualClasses:f.residualStyles;h!=null&&typeof a=="string"&&sd(h,a)>=0&&(e[c+1]|=1);l=b<<17|l<<2;d?f.classBindings=l:f.styleBindings=l}},kla=function(a,b,c,d,e){var f=c.directiveEnd,h=c.directiveStylingLast;for(h===-1?h=c.directiveStart:h++;h<f;){var l=b[h];d=ug(d,l.hostAttrs,e);
if(l===a)break;h++}a!==null&&(c.directiveStylingLast=h);return d},ug=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]),td(a,h,c?!0:b[++f]))}return a===void 0?null:a},dla=function(a,b,c){td(a,b,of(c))},gla=function(a,b,c){b=String(b);b===""||b.includes(" ")||td(a,b,c)},jla=function(a,b,c,d,e,f,h,l){if(b.type&3){a=a.data;var q=a[l+1];((q&1)===1?lla(a,b,c,e,(q&131068)>>2,h):void 0)===void 0&&
(f!==void 0||(q&2)==2&&(f=lla(a,null,c,e,l,h)),b=Gd(c[Nd.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))))}},lla=function(a,b,c,d,e,f){for(var h=b===null,l=void 0;e>0;){var q=a[e],u=Array.isArray(q),A=u?q[1]:q,F=A===null,H=c[e+1];H===xf&&(H=F?xd:void 0);A=F?vfa(H,d):A===d?H:void 0;u&&A===void 0&&(A=vfa(q,d));if(A!==void 0&&(l=A,h))return l;
e=a[e+1];e=h?e>>17&32767:(e&131068)>>2}b!==null&&(a=f?b.residualClasses:b.residualStyles,a!=null&&(l=vfa(a,d)));return l},vg=function(a,b,c){a=kg(v(),a,b,c);fla(td,hla,a,!0)},mla=function(a,b,c,d,e){return a===c&&Object.is(b,d)?1:Object.is(e(a,b),e(c,d))?-1:0},sla=function(a,b,c){var d=void 0,e=void 0,f=0,h=a.length-1;if(Array.isArray(b)){for(var l=b.length-1;f<=h&&f<=l;){var q=a.at(f),u=b[f],A=mla(f,q,f,u,c);if(A!==0)A<0&&a.updateValue(f,u),f++;else{var F=a.at(h);A=b[l];var H=mla(h,F,l,A,c);H!==
0?(H<0&&a.updateValue(h,A),h--,l--):(q=c(f,q),F=c(h,F),H=c(f,u),Object.is(H,F)?(F=c(l,A),Object.is(F,q)?(nla(a,f,h),a.updateValue(h,A),l--,h--):a.move(h,f),a.updateValue(f,u),f++):(d!=null||(d=new ola),e!=null||(e=pla(a,f,h,c)),qla(a,d,f,H)?(a.updateValue(f,u),f++,h++):e.has(H)?(d.set(q,a.detach(f)),h--):(u=a.create(f,b[f]),a.attach(f,u),f++,h++)))}}for(;f<=l;)rla(a,d,c,f,b[f]),f++}else if(b!=null){b=b[Symbol.iterator]();for(l=b.next();!l.done&&f<=h;)u=a.at(f),A=l.value,q=mla(f,u,f,A,c),q!==0?(q<
0&&a.updateValue(f,A),f++,l=b.next()):(d!=null||(d=new ola),e!=null||(e=pla(a,f,h,c)),q=c(f,A),qla(a,d,f,q)?(a.updateValue(f,A),f++,h++,l=b.next()):e.has(q)?(u=c(f,u),d.set(u,a.detach(f)),h--):(a.attach(f,a.create(f,A)),f++,h++,l=b.next()));for(;!l.done;)rla(a,d,c,a.length,l.value),l=b.next()}for(;f<=h;)a.destroy(a.detach(h--));var N;(N=d)==null||N.forEach(function(O){a.destroy(O)})},qla=function(a,b,c,d){return b!==void 0&&b.has(d)?(a.attach(c,b.get(d)),b.delete(d),!0):!1},rla=function(a,b,c,d,e){qla(a,
b,d,c(d,e))?a.updateValue(d,e):(b=a.create(d,e),a.attach(d,b))},pla=function(a,b,c,d){for(var e=new Set;b<=c;b++)e.add(d(b,a.at(b)));return e},G=function(a,b){Xe("NgControlFlow");var c=v(),d=Nd.bindingIndex++,e=c[d]!==xf?c[d]:-1;e=e!==-1?c[26+e]:void 0;if(gg(c,d,a)){d=dd(null);try{if(e!==void 0&&zka(e),a!==-1){a=26+a;var f=c[a],h=c[1].data[a],l=wka(c,h,b,{dehydratedView:null});yka(f,l,0,bg(h,null))}}finally{dd(d)}}else e!==void 0&&(c=xka(e,0),c!==void 0&&(c[8]=b))},wg=function(a){return a},xg=function(a,
b){return b},yg=function(a,b,c,d,e,f,h,l){Xe("NgControlFlow");var q=v(),u=Od(),A=v();h=l?h.bind(A[15][8]):h;A[26+a]=new tla(h);Rka(q,u,a+1,b,c,d,e,Jd(u.consts,f))},zg=function(a){var b=dd(null),c=Nd.selectedIndex;try{var d=v(),e=d[1],f=d[c],h=c+1,l=d[h];f.liveCollection===void 0?f.liveCollection=new ula(l,d,e.data[h]):f.liveCollection.reset();var q=f.liveCollection;sla(q,a,f.trackByFn);if(q.needsIndexUpdate)for(a=0;a<q.length;a++)xka(q.lContainer,a)[8].$index=a;if(f.hasEmptyBlock){var u=Nd.bindingIndex++,
A=q.length===0;if(gg(d,u,A)){c+=2;var F=d[c];if(A){var H=e.data[c],N=wka(d,H,void 0,{dehydratedView:null});yka(F,N,0,bg(H,null))}else zka(F)}}}finally{dd(b)}},I=function(a,b,c,d){var e=v(),f=Od(),h=26+a;a=e[11];if(f.firstCreatePass){var l=f.consts;c=Jd(l,c);c=wf(f,h,2,b,c);jja(f,e,c,Jd(l,d));c.attrs!==null&&uja(c,c.attrs,!1);c.mergedAttrs!==null&&uja(c,c.mergedAttrs,!0);f.queries!==null&&f.queries.elementStart(f,c);l=c}else l=f.data[h];ig=!0;b=a.createElement(b,Nd.currentNamespace);e[h]=b;h=(l.flags&
1)===1;Qd(l,!0);ria(a,b,l);(l.flags&32)!==32&&ig&&oia(f,e,b,l);Nd.elementDepthCount===0&&df(b,e);Nd.elementDepthCount++;h&&(bja(f,e,l),Xia(f,l,e));d!==null&&cja(e,l);return I},J=function(){var a=Pd();Nd.isParent?Nd.isParent=!1:(a=a.parent,Qd(a,!1));var b=a;Uia===b&&(Uia=null);Nd.elementDepthCount--;var c=Od();c.firstCreatePass&&(gga(c,a),(a.flags&4)!==0&&c.queries.elementEnd(a));b.classesWithoutHost!=null&&(b.flags&8)!==0&&Vka(c,b,v(),b.classesWithoutHost,!0);b.stylesWithoutHost!=null&&(b.flags&16)!==
0&&Vka(c,b,v(),b.stylesWithoutHost,!1);return J},K=function(a,b,c,d){I(a,b,c,d);J();return K},Ag=function(a,b,c){var d=v(),e=Od();a+=26;if(e.firstCreatePass){var f=e.consts;var h=Jd(f,b);b=wf(e,a,8,"ng-container",h);h!==null&&uja(b,h,!0);f=Jd(f,c);jja(e,d,b,f);e.queries!==null&&e.queries.elementStart(e,b);f=b}else f=e.data[a];Qd(f,!0);ig=!0;b=d[11].createComment(hia());d[a]=b;ig&&oia(e,d,b,f);df(b,d);(f.flags&1)===1&&(bja(e,d,f),Xia(e,f,d));c!=null&&cja(d,f);return Ag},Bg=function(){var a=Pd(),b=
Od();Nd.isParent?Nd.isParent=!1:(a=a.parent,Qd(a,!1));b.firstCreatePass&&(gga(b,a),(a.flags&4)!==0&&b.queries.elementEnd(a));return Bg},Cg=function(a,b,c){Ag(a,b,c);Bg();return Cg},Dg=function(a,b,c){var d=v(),e=Nd.bindingIndex++;if(gg(d,e,b)){e=Od();var f=Td();yf(e,f,d,a,b,d[11],c,!0)}return Dg},Eg=function(a,b,c){var d=v(),e=Nd.bindingIndex++;if(gg(d,e,b)){e=Od();var f=Td();yf(e,f,d,a,b,pja($fa(e.data),f,d),c,!0)}return Eg},Fg=function(a){var b=a.toLowerCase().replace(/_/g,"-");if(a=vla(b))return a;
b=b.split("-")[0];if(a=vla(b))return a;if(b==="en")return wla;throw new bd(701,!1);},vla=function(a){a in xla||(xla[a]=qf.ng&&qf.ng.common&&qf.ng.common.locales&&qf.ng.common.locales[a]);return xla[a]},yla=function(a,b,c,d){c>=a.data.length&&(a.data[c]=null,a.blueprint[c]=null);b[c]=d},L=function(a){return Nd.contextLView[26+a]},Gg=function(a){var b=Od(),c=v();a+=26;var d=wf(b,a,128,null,null);Qd(d,!1);yla(b,c,a,zla);return Gg},Ala=function(a){Xe("NgLet");yla(Od(),v(),Nd.selectedIndex,a);return a},
Hg=function(a){a=Nd.contextLView[26+a];if(a===zla)throw new bd(314,!1);return a},M=function(a,b,c,d){c=v();Bla(Od(),c,c[11],Pd(),a,b,d);return M},Cla=function(a,b){var c=Pd(),d=v(),e=Od();Bla(e,d,pja($fa(e.data),c,d),c,a,b);return Cla},Dla=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},Bla=function(a,b,c,d,e,f,h){var l=(d.flags&1)===1,q=a.firstCreatePass&&oja(a),
u=nja(b),A=!0;if(d.type&3||h){var F=Hd(d,b),H=h?h(F):F;F=u.length;var N=h?function(ea){return h(Gd(ea[d.index]))}:d.index,O=null;!h&&l&&(O=Dla(a,b,e,d.index));O!==null?((O.__ngLastListenerFn__||O).__ngNextListenerFn__=f,O.__ngLastListenerFn__=f,A=!1):(f=Ela(d,b,f),a=c.listen(H,e,f),u.push(f,a),q&&q.push(e,N,F,F+1))}else f=Ela(d,b,f);a=d.outputs;var T;if(A&&a!==null&&(T=a[e])&&(A=T.length))for(a=0;a<A;a+=2)c=b[T[a]][T[a+1]].subscribe(f),l=u.length,u.push(f,c),q&&q.push(e,d.index,l,-(l+1))},Fla=function(a,
b,c){var d=dd(null);try{return b(c)!==!1}catch(e){return qja(a,e),!1}finally{dd(d)}},Ela=function(a,b,c){return function f(e){if(e===Function)return c;var h=a.componentOffset>-1?Id(a.index,b):b;bia(h,5);h=Fla(b,c,e);for(var l=f.__ngNextListenerFn__;l;)h=Fla(b,l,e)&&h,l=l.__ngNextListenerFn__;return h}},P=function(a){a=a===void 0?1:a;for(var b=Nd.contextLView;a>0;)b=b[14],a--;return(Nd.contextLView=b)[8]},Ig=function(a){var b=v()[15][5];if(!b.projection){for(var c=a?a.length:1,d=[],e=0;e<c;e++)d.push(null);
c=b.projection=d;d=c.slice();for(b=b.child;b!==null;){if(b.type!==128){if(a)a:{e=b;var f=a,h=null;b:{var l=e.attrs;if(l!=null){var q=l.indexOf(5);if((q&1)===0){l=l[q+1];break b}}l=null}for(q=0;q<f.length;q++){var u=f[q];if(u==="*")h=q;else{if(l===null)u=Hga(e,u,!0);else b:{var A=0;c:for(;A<u.length;A++){var F=u[A];if(l.length===F.length){for(var H=0;H<l.length;H++)if(l[H]!==F[H])continue c;u=!0;break b}}u=!1}if(u){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=v(),e=Od();a=wf(e,26+a,16,null,c||null);a.projection===null&&(a.projection=b);Nd.isParent=!1;d[6]&&Uia===null||(a.flags&32)===32||(b=d[11],e=nia(e,a.parent,d),c=a.parent||d[5],c=c.type&40?Hd(c,d):null,qia(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=v();b=kg(f,b,c,d);b!==xf&&(c=Od(),d=Td(),yf(c,d,f,a,b,f[11],e,!1));return Kg},Mg=function(a,b,c,d,e,f,h){var l=v();b=Tka(l,b,c,d,e,f);b!==xf&&(c=Od(),d=Td(),yf(c,d,
l,a,b,l[11],h,!1));return Mg},Gla=function(){return this._results[Symbol.iterator]()},Ila=function(){return Hla(Pd(),v())},Hla=function(a,b){return a.type&4?new Ng(b,a,ff(a,b)):null},Jla=function(a,b,c,d){d=b[18].queries[d];if(d.matches===null){a=a.data;for(var e=c.matches,f=[],h=0;e!==null&&h<e.length;h+=2){var l=e[h];if(l<0)f.push(null);else{var q=f,u=q.push,A=b,F=a[l],H=e[h+1];l=c.metadata.read;H===-1?(l=F,A=l.type&11?ff(l,A):l.type&4?Hla(l,A):null):H===-2?A=l===ef?ff(F,A):l===Og?Hla(F,A):l===
Pg?Ika(F,A):void 0:A=be(A,A[1],H,F);u.call(q,A)}}d.matches=f}return d.matches},Kla=function(a,b,c,d){var e=a.queries.queries[c],f=e.matches;if(f!==null)for(a=Jla(a,b,e,c),c=0;c<f.length;c+=2){var h=f[c];if(h>0)d.push(a[c/2]);else{e=f[c+1];h=b[-h];for(var l=10;l<h.length;l++){var q=h[l];q[16]===q[3]&&Kla(q[1],q,e,d)}if(h[9]!==null)for(h=h[9],l=0;l<h.length;l++)q=h[l],Kla(q[1],q,e,d)}}return d},Nla=function(a,b){var c=v();b=new Qg((b&4)===4);var d=b.destroy,e=nja(c);e.push(b);a.firstCreatePass&&oja(a).push(d,
e.length-1);var f;return((f=c[18])!=null?f:c[18]=new Lla).queries.push(new Mla(b))-1},Rg=function(a,b,c){var d=Od();d.firstCreatePass&&(Ola(d,new Pla(a,b,c),-1),(b&2)===2&&(d.staticViewQueries=!0));Nla(d,b)},Sg=function(a,b,c,d){var e=Od();if(e.firstCreatePass){var f=Pd();Ola(e,new Pla(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 Nla(e,c)},Qla=function(a){return a.split(",").map(function(b){return b.trim()})},
Ola=function(a,b,c){a.queries===null&&(a.queries=new Rla);a.queries.track(new Tg(b,c))},Sla=function(a,b){var c=a[1],d=c.queries.queries[b];return d.crossesNgTemplate?Kla(c,a,b,[]):Jla(c,a,d,b)},Vg=function(a){var b=v(),c=Od(),d=Nd.currentQueryIndex;Nd.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=Sla(b,d),a.reset(b,$ha),Ug(a)),!0):!1},Wg=function(){return v()[18].queries[Nd.currentQueryIndex].queryList},Xg=
function(a){Xe("NgSignals");a=hfa(a);var b=a[id];a.set=function(c){return jfa(b,c)};a.update=function(c){afa()||ifa();jfa(b,c(b.value))};a.asReadonly=Tla.bind(a);return a},Tla=function(){var a=this,b=this[id];if(b.readonlyFn===void 0){var c=function(){return a()};c[id]=b;b.readonlyFn=c}return b.readonlyFn},Ula=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=Sla(e,f),d.reset(e,$ha),
e=d.first);if(a&&e===void 0)throw new bd(-951,!1);return e});var c=b[id];c._dirtyCounter=Xg(0);c._flatValue=void 0;return b},Wla=function(a,b){var c=a[id];c._lView=v();c._queryIndex=b;c._queryList=c._lView[18].queries[b].queryList;Vla(c._queryList,function(){return c._dirtyCounter.update(function(d){return d+1})})},Q=function(a,b){b=b===void 0?"":b;var c=v(),d=Od();a+=26;var e=d.firstCreatePass?wf(d,a,1,b,null):d.data[a];ig=!0;b=c[11].createText(b);c[a]=b;ig&&oia(d,c,b,e);Qd(e,!1)},Yg=function(a){R("",
a,"");return Yg},R=function(a,b,c){var d=v();a=kg(d,a,b,c);a!==xf&&rja(d,a);return R},Zg=function(a,b,c,d,e){var f=v();a=Tka(f,a,b,c,d,e);a!==xf&&rja(f,a);return Zg},Xla=function(a,b,c,d,e,f,h,l,q){var u=v();var A=Nd.bindingIndex;var F=hg(u,A,b,d);A=hg(u,A+2,f,l)||F;Sd(4);a=A?a+$c(b)+c+$c(d)+e+$c(f)+h+$c(l)+q:xf;a!==xf&&rja(u,a);return Xla},$g=function(a,b,c){Gf(b)&&typeof b.set==="function"&&(b=b());var d=v(),e=Nd.bindingIndex++;if(gg(d,e,b)){e=Od();var f=Td();yf(e,f,d,a,b,d[11],c,!1)}return $g},
ah=function(a,b){var c=Gf(a)&&typeof a.set==="function";c&&a.set(b);return c},bh=function(a,b){var c=v();Bla(Od(),c,c[11],Pd(),a,b);return bh},Yla=function(a,b,c,d,e){a=md(a);if(Array.isArray(a))for(var f=0;f<a.length;f++)Yla(a[f],b,c,d,e);else{f=Od();var h=v(),l=Pd(),q=yd(a)?a:md(a.provide),u=Kfa(a),A=l.providerIndexes&1048575,F=l.directiveStart,H=l.providerIndexes>>20;if(yd(a)||!a.multi)d=new ce(u,e),u=Zla(q,b,e?A:A+H,F),u===-1?(u=uga(l,h),qga(u,f,q),$la(f,a,b.length),b.push(q),l.directiveStart++,
l.directiveEnd++,e&&(l.providerIndexes+=1048576),c.push(d),h.push(d)):(c[u]=d,h[u]=d);else{F=Zla(q,b,A+H,F);A=Zla(q,b,A,A+H);var N=F>=0&&c[F];H=A>=0&&c[A];e&&!H||!e&&!N?(F=uga(l,h),qga(F,f,q),F=c.length,N=new ce(e?ama:bma,e),N.multi=[],N.index=F,N.componentProviders=0,d&&!e&&N.componentProviders++,N.multi.push(u),!e&&H&&(c[A].providerFactory=N),$la(f,a,b.length,0),b.push(q),l.directiveStart++,l.directiveEnd++,e&&(l.providerIndexes+=1048576),c.push(N),h.push(N)):(b=c[e?A:F],!e&&d&&b.componentProviders++,
b=b.multi.push(u)-1,$la(f,a,F>-1?F:A,b));!e&&d&&H&&c[A].componentProviders++}}},$la=function(a,b,c,d){var e=yd(b),f=!!b.useClass;if(e||f)if(f=(f?md(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)},Zla=function(a,b,c,d){for(;c<d;c++)if(b[c]===a)return c;return-1},bma=function(){return cma(this.multi,[])},ama=function(a,b,c,d){b=this.multi;if(this.providerFactory){var e=this.providerFactory.componentProviders;
d=be(c,c[1],this.providerFactory.index,d);c=d.slice(0,e);cma(b,c);for(b=e;b<d.length;b++)c.push(d[b])}else c=[],cma(b,c);return c},cma=function(a,b){for(var c=0;c<a.length;c++)b.push((0,a[c])());return b},ch=function(a){var b=b===void 0?[]:b;return function(c){c.providersResolver=function(d,e){e=e?e(a):a;var f=Od();f.firstCreatePass&&(d=!!d.template,Yla(b,f.data,f.blueprint,d,!0),Yla(e,f.data,f.blueprint,d,!1))}}},dh=function(a,b){a=Rd()+a;var c=v();return c[a]===xf?fg(c,a,b()):c[a]},eh=function(a,
b,c){return dma(v(),Rd(),a,b,c)},fh=function(a,b,c,d){return ema(v(),Rd(),a,b,c,d)},gh=function(a,b,c,d,e){return fma(v(),Rd(),a,b,c,d,e)},hma=function(a,b,c,d,e,f){var h=gma,l=Rd()+6,q=v();var u=hg(q,l,a,b);u=hg(q,l+2,c,d)||u;return hg(q,l+4,e,f)||u?fg(q,l+6,h(a,b,c,d,e,f)):q[l+6]},ima=function(a,b){a=a[b];return a===xf?void 0:a},dma=function(a,b,c,d,e,f){b+=c;return gg(a,b,e)?fg(a,b+1,f?d.call(f,e):d(e)):ima(a,b+1)},ema=function(a,b,c,d,e,f,h){b+=c;return hg(a,b,e,f)?fg(a,b+2,h?d.call(h,e,f):d(e,
f)):ima(a,b+2)},fma=function(a,b,c,d,e,f,h,l){b+=c;c=hg(a,b,e,f);return gg(a,b+2,h)||c?fg(a,b+3,l?d.call(l,e,f,h):d(e,f,h)):ima(a,b+3)},S=function(a,b){var c=Od();a+=26;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=rd(b.type));b=kd(hf);try{var l=oga(!1),q=h();oga(l);yla(c,v(),
a,q)}finally{kd(b)}},U=function(a,b,c){a+=26;var d=v(),e=d[a];return d[1].data[a].pure?dma(d,Rd(),b,e.transform,c,e):e.transform(c)},hh=function(a,b,c,d){a+=26;var e=v(),f=e[a];return e[1].data[a].pure?ema(e,Rd(),b,f.transform,c,d,f):f.transform(c,d)},jma=function(a,b,c,d){a+=26;var e=v(),f=e[a];return e[1].data[a].pure?fma(e,Rd(),b,f.transform,c,0,d,f):f.transform(c,0,d)},kma=function(a,b,c){a=a.\u0275cmp;a.directiveDefs=Mja(b,!1);a.pipeDefs=Mja(c,!0)},ih=function(a,b){return Hla(a,b)},nma=function(){function a(){Wea(b);
if(b.value===lma)throw new bd(-950,!1);return b.value}var b=Object.create(mma);b.value=void 0;b.transformFn=void 0;a[id]=b;return a},oma=function(){return Ula(!1)},pma=function(a){var b=Pd(),c=v();b.componentOffset>-1&&(a&16)!==16?(a=Id(b.index,c),a=new jh(a,a)):a=b.type&175?new jh(c[15],c):null;return a},qma=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},uma=function(a){var b=a.ngZoneFactory;var c=a.ignoreChangesOutsideZone;var d=a.scheduleInRootZone;
b!=null||(b=function(){return new kh(Object.assign({},rma(),{scheduleInRootZone:d}))});return[{provide:kh,useFactory:b},{provide:Cfa,multi:!0,useFactory:function(){var e=r(lh,{optional:!0});return function(){return e.initialize()}}},{provide:Cfa,multi:!0,useFactory:function(){var e=r(mh);return function(){e.initialize()}}},c===!0?{provide:sma,useValue:!0}:[],{provide:tma,useValue:d!=null?d:!1}]},rma=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}},zma=function(a){var b=a.moduleRef?a.moduleRef.injector:a.r3Injector,c=b.get(kh);return c.run(function(){a.moduleRef?a.moduleRef.resolveInjectorInitializers():a.r3Injector.resolveInjectorInitializers();var d=b.get(zf,null),e;c.runOutsideAngular(function(){e=c.onError.subscribe({next:function(u){d.handleError(u)}})});if(a.moduleRef){var f=function(){return a.moduleRef.destroy()},h=a.platformInjector.get(vma);
h.add(f);a.moduleRef.onDestroy(function(){vka(a.allPlatformModules,a.moduleRef);e.unsubscribe();h.delete(f)})}else{var l=function(){return b.destroy()},q=a.platformInjector.get(vma);q.add(l);b.onDestroy(function(){e.unsubscribe();q.delete(l)})}return tka(d,c,function(){var u=b.get(nh);wma(u);return u.donePromise.then(function(){b.get(oh,"en-US");if(!b.get(xma,!0)){if(!a.moduleRef)return b.get(ph);a.allPlatformModules.push(a.moduleRef);return a.moduleRef}if(!a.moduleRef){var A=b.get(ph);a.rootComponent!==
void 0&&A.bootstrap(a.rootComponent);return A}yma(a.moduleRef,a.allPlatformModules);return a.moduleRef})})})},yma=function(a,b){var c=a.injector.get(ph);if(a._bootstrapComponents.length>0)a._bootstrapComponents.forEach(function(d){return c.bootstrap(d)});else if(a.instance.ngDoBootstrap)a.instance.ngDoBootstrap(c);else throw new bd(-403,!1);b.push(a)},Ema=function(a,b,c){c=c===void 0?[]:c;var d="Platform: "+b,e=new zd(d);return function(f){f=f===void 0?[]:f;var h=Ama();if(!h||h.injector.get(Bma,!1))if(f=
[].concat(t(c),t(f),[{provide:e,useValue:!0}]),a)a(f);else{f=Cma(f,d);if(qh&&!qh.get(Bma,!1))throw new bd(400,!1);ska();qh=f;f.get(rh);Dma(f)}f=Ama();if(!f)throw new bd(401,!1);return f}},Cma=function(a,b){a=a===void 0?[]:a;return th({name:b,providers:[{provide:Fma,useValue:"platform"},{provide:vma,useValue:new Set([function(){return qh=null}])}].concat(t(a))})},Ama=function(){var a,b;return(b=(a=qh)==null?void 0:a.get(rh))!=null?b:null},Dma=function(a){var b=a.get(Gma,null);Cd(a,function(){b==null||
b.forEach(function(c){return c()})})},uh=function(a){return typeof a==="boolean"?a:a!=null&&a!=="false"},vh=function(a,b){b=b===void 0?NaN:b;return isNaN(parseFloat(a))||isNaN(Number(a))?b:Number(a)},wh=function(a){Xe("NgSignals");return ffa(a)},Kma=function(a,b){Xe("NgSignals");(b==null?0:b.injector)||Pfa();var c,d=(c=b==null?void 0:b.injector)!=null?c:r(Ye);c=(b==null?void 0:b.manualCleanup)!==!0?d.get(cf):null;var e=d.get(Qha,null,{optional:!0}),f=d.get(xh);if(e===null||(b==null?0:b.forceRoot))var h=
Hma(a,d.get(yh),f);else h=Ima(e.view,f,a),c instanceof ge&&c._lView===e.view&&(c=null);h.injector=d;c!==null&&(h.onDestroyFn=c.onDestroy(function(){return h.destroy()}));return new Jma(h)},Ima=function(a,b,c){var d=Object.create(Lma);d.view=a;d.zone=typeof Zone!=="undefined"?Zone.current:null;d.notifier=b;d.fn=c;a[23]!=null||(a[23]=new Set);a[23].add(d);d.consumerMarkedDirty(d);return d},Hma=function(a,b,c){var d=Object.create(Mma);d.fn=a;d.scheduler=b;d.notifier=c;d.zone=typeof Zone!=="undefined"?
Zone.current:null;d.scheduler.schedule(d);d.notifier.notify(12);return d},zh=function(a){var b=dd(null);try{return a()}finally{dd(b)}},Nma=function(a,b){a=a[wd]||null;var c=b.elementInjector||Hfa();return(new Ah(a)).create(c,b.projectableNodes,b.hostElement,b.environmentInjector)},Oma=function(a){var b=a[wd]||null;if(!b)return null;var c=new Ah(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}}},Bh=function(a){a||(Pfa(),a=r(cf));var b=new oe(function(c){return a.onDestroy(c.next.bind(c))});return function(c){return c.pipe(Zf(b))}},Ch=function(){var a=function(){throw Error();};Object.setPrototypeOf(a,a.prototype);return a},Rma=function(a){var b=Pma;var c=c===void 0?Qma:c;return new Dh(a,b,c)},Pma=function(a,b,c,d,e){b=b instanceof V?b.internalArrayDoNotAccessOrElse:Array.isArray(b)?Oda(b,d,!1):void 0;if(b!=null){Eh(a,
c,2);c=a.encoder_.end();Fh(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_++}},Vma=function(a,b,c,d){var e=d[a];if(e)return e;e={};e.binaryFields=d;e.messageMetadata=Nda(d[0]);var f=d[1],h=1;f&&f.constructor===Object&&(e.extensions=f,f=d[++h],typeof f==="function"&&(e.isMessageSet=!0,Sma!=null||(Sma=f),Tma!=null||(Tma=d[h+1]),f=d[h+=2]));for(var l={};f&&Array.isArray(f)&&f.length&&typeof f[0]===
"number"&&f[0]>0;){for(var q=0;q<f.length;q++)l[f[q]]=f;f=d[++h]}for(q=1;f!==void 0;){typeof f==="number"&&(q+=f,f=d[++h]);var u=void 0;if(f instanceof Dh)var A=f;else A=Uma,h--;f=void 0;if((f=A)==null?0:f.$$isMsg){f=d[++h];u=d;var F=h;typeof f==="function"&&(f=f(),u[F]=f);u=f}f=d[++h];F=q+1;typeof f==="number"&&f<0&&(F-=f,f=d[++h]);for(;q<F;q++){var H=l[q];u?c(e,q,A,u,H):b(e,q,A,H)}}return d[a]=e},Xma=function(a){return Array.isArray(a)?a[0]instanceof Dh?a:[Wma,a]:[a,void 0]},Yma=function(a,b,c,
d){var e=c.$$binaryReaderFn;a[b]=d?function(f,h,l){return e(f,h,l,d)}:e},$ma=function(a,b,c,d,e){var f=c.$$binaryReaderFn,h,l;a[b]=function(q,u,A){return f(q,u,A,l||(l=Vma(Zma,Yma,$ma,d).messageMetadata),h||(h=ana(d)),e)}},ana=function(a){var b=a[bna];if(b!=null)return b;var c=Vma(Zma,Yma,$ma,a);b=c.isMessageSet?function(d,e){return Sma(d,e,c)}:function(d,e){for(var f=bb(d);cna(e)&&e.nextWireType_!=4;){var h=e.nextField_,l=c[h];if(l==null){var q=c.extensions;q&&(q=q[h])&&(q=dna(q),q!=null&&(l=c[h]=
q))}l!=null&&l(e,d,h)||(l=e,h=l.fieldCursor_,ena(l),l.discardUnknownFields?l=void 0:(q=l.decoder_.getCursor()-h,l.decoder_.cursor_=h,l=l.decoder_.readByteString(q)),h=d,l&&((q=h[tb])?q.push(l):h[tb]=[l]))}f&16384&&eb(d);return!0};return a[bna]=b},dna=function(a){a=Xma(a);var b=a[0].$$binaryReaderFn;if(a=a[1]){var c=ana(a),d=Vma(Zma,Yma,$ma,a).messageMetadata;return function(e,f,h){return b(e,f,h,d,c)}}return b},Gh=function(a){return Vma(fna,gna,hna,a)},gna=function(a,b,c){a[b]=c.$$binaryWriterFn},
hna=function(a,b,c,d){var e,f,h=c.$$binaryWriterFn;a[b]=function(l,q,u){return h(l,q,u,f||(f=Gh(d).messageMetadata),e||(e=ina(d)))}},ina=function(a){var b=a[jna];if(!b){var c=Gh(a);b=function(d,e){return kna(d,e,c)};a[jna]=b}return b},kna=function(a,b,c){for(var d=bb(a),e=d&512?0:-1,f=a.length,h=f+(d&256?-1:0),l=d&512?1:0;l<h;l++){var q=a[l];if(q!=null){var u=l-e,A=lna(c,u);A&&A(b,q,u)}}if(d&256){d=a[f-1];for(var F in d)e=+F,Number.isNaN(e)||(f=d[e],f!=null&&(h=lna(c,e))&&h(b,f,e))}if(a=jca(a))for(Fh(b,
b.encoder_.end()),c=0;c<a.length;c++)Fh(b,ic(a[c])||new Uint8Array(0))},lna=function(a,b){var c=a[b];if(c)return c;if(c=a.extensions)if(c=c[b]){c=Xma(c);var d=c[0].$$binaryWriterFn;if(c=c[1]){var e=ina(c),f=Gh(c).messageMetadata;c=a.isMessageSet?Tma(f,e):function(h,l,q){return d(h,l,q,f,e)}}else c=d;return a[b]=c}},Hh=function(a,b,c){return new Dh(a,b,c)},Jh=function(a,b,c){kc(a,bb(a),b,c)},mna=function(a){return a==null?a:Hda(a)},Lh=function(a,b,c){if(Kh(a,1).split("/").pop()!=c)a=null;else{var d=
typeof b==="function"?b:b.constructor;a=a.internalArrayDoNotAccessOrElse;b=bb(a);c=qc(a,b,2);if(c!=null&&!(Array.isArray(c)||typeof c==="object"&&nb(c)))throw Error("ab`"+Gb(c));var e=ac(c,d,!0,b);if(!(e instanceof d))throw Error("bb`"+e.constructor.displayName+"`"+d.displayName);d=b&2;var f=cb(e.internalArrayDoNotAccessOrElse);f&&!d?e=ec(e):!f&&d&&(d=e.internalArrayDoNotAccessOrElse,f=bb(d),e=f&2?e:new e.constructor(jc(d,f,!0)));c!==e&&kc(a,b,2,e);a=e}return a},pna=function(a,b){return function(c,
d){if(nna.length){var e=nna.pop();e.setOptions(d);e.decoder_.init(c,void 0,void 0,d);c=e}else c=new ona(c,d);try{var f=new a,h=f.internalArrayDoNotAccessOrElse;ana(b)(h,c);var l=f}finally{c.free()}return l}},qna=function(a){return function(b){b=JSON.parse(b);if(!Array.isArray(b))throw Error("la`"+Gb(b)+"`"+b);eb(b);return new a(b)}},Mh=function(a){return function(b){return rna(a,b)}},sna=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}},tna=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""}},wna=function(a){var b=[],c=[];a=una([].concat(t(a)).sort(vna));a=k(a);for(var d=a.next(),e={};!d.done;e={name$jscomp$200:void 0,operator$jscomp$5:void 0},d=a.next())d=d.value,e.name$jscomp$200=d.name,e.operator$jscomp$5=d.operator,d=d.values,d.length!==0&&b.push(d.map(function(f){return function(h){return vca(h)||xca(h)?
f.name$jscomp$200+f.operator$jscomp$5+h:f.name$jscomp$200+f.operator$jscomp$5+'"'+h+'"'}}(e)).join(" "));c.length>0&&b.push("filters="+encodeURIComponent(c.join(",")));return b.join(" ")},una=function(a){var b=[];a=k(a);for(var c=a.next();!c.done;c=a.next()){var d=c.value;c=d.operator;var e=d.values;if(d=d.id)if(daa(vca)(e))b.push({name:d,operator:c,values:e});else if(daa(uca)(e))b.push({name:d,operator:c,values:e});else if(daa(xca)(e))b.push({name:d,operator:c,values:e});else throw Error("hb`"+e);
}return b},Nh=function(a,b,c){if(xna.includes(a)||yna.includes(a)||zna.includes(a))return{id:a,operator:b,values:c};throw Error("ib`"+a);},vna=function(a,b){return a.id===b.id?JSON.stringify(a)<JSON.stringify(b)?-1:1:Ana.indexOf(a.id)-Ana.indexOf(b.id)},Bna=function(a){switch(a){case "user":return"borg_user";case "job":case "job_regex":return"borg_job";case "cell":return"cell";case "index":return"task_index";case "attempt":return"task_attempt_uid";case "min_time":return"start_time";case "max_time":return"end_time";
case "q":return"text_payload";case "q_invert":return"text_payload";case "min_severity":return"severity";case "remote_log_name":return"log_name";case "process_name":return"process_name";case "trace_id":return"trace_id";case "span_id":return"span_id";case "job_uid":return"job_uid";case "process_id":return"local_process_id";case "src_file":case "inverted_call_site_regex":return"site_path";default:return null}},Cna=function(a,b,c){var d=Bna(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[Nh(d,
"=",[b])];case "job_regex":return[Nh(d,"=",b.split("|"))];case "index":case "attempt":case "min_time":case "max_time":return[Nh(d,"=",[Number(b)])];case "q":return[Nh(d,"=",[b.startsWith("(?i)")?b.substring(4):b])];case "q_invert":return[Nh(d,"!=",[b.startsWith("(?i)")?b.substring(4):b])];case "src_file":return a=c.get("src_line"),[Nh(d,"=",[a?b+":"+a:b])];case "inverted_call_site_regex":return[Nh(d,"!=",[].concat(t(b.split(","))))];default:return null}},Dna=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}},Ena=function(a,b){if(b&&!b.createEmbeddedView)throw Error("kb`"+a+"`"+ad(b));},Fna=function(a,b,c){a=Fg(a);b=Oh([a[1],a[2]],b);return Oh(b,c)},Gna=function(a,b,c){a=Fg(a);b=Oh([a[3],a[4]],b);return Oh(b,c)},Hna=function(a,b,c){a=Fg(a);b=Oh([a[5],a[6]],b);return Oh(b,c)},Ina=function(a,b){a=Fg(a)[7];return Oh(a,b)},Jna=function(a,b){a=Fg(a);return Oh(a[10],b)},Kna=function(a,
b){a=Fg(a);return Oh(a[11],b)},Lna=function(a,b){a=Fg(a)[12];return Oh(a,b)},Ph=function(a,b){a=Fg(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("lb`"+a[0]);},Ona=function(a){a=Fg(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=Fg(a);Mna(a);b=Oh([a[21][0],a[21][1]],b)||[];return Oh(b,c)||[]},Oh=function(a,b){for(;b>-1;b--)if(typeof a[b]!==
"undefined")return a[b];throw Error("mb");},Nna=function(a){var b=k(a.split(":"));a=b.next().value;b=b.next().value;return{hours:+a,minutes:+b}},Qh=function(){return new bd(2100,!1)},Yna=function(a,b,c,d){var e=Qna(a);b=Rh(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 l="";a.forEach(function(q){a:if(Una[q])var u=Una[q];else{switch(q){case "G":case "GG":case "GGG":u=Sh(3,1);break;
case "GGGG":u=Sh(3,2);break;case "GGGGG":u=Sh(3,0);break;case "y":u=Th(0,1,0,!1,!0);break;case "yy":u=Th(0,2,0,!0,!0);break;case "yyy":u=Th(0,3,0,!1,!0);break;case "yyyy":u=Th(0,4,0,!1,!0);break;case "Y":u=Vna(1);break;case "YY":u=Vna(2,!0);break;case "YYY":u=Vna(3);break;case "YYYY":u=Vna(4);break;case "M":case "L":u=Th(1,1,1);break;case "MM":case "LL":u=Th(1,2,1);break;case "MMM":u=Sh(2,1);break;case "MMMM":u=Sh(2,2);break;case "MMMMM":u=Sh(2,0);break;case "LLL":u=Sh(2,1,1);break;case "LLLL":u=
Sh(2,2,1);break;case "LLLLL":u=Sh(2,0,1);break;case "w":u=Wna(1);break;case "ww":u=Wna(2);break;case "W":u=Wna(1,!0);break;case "d":u=Th(2,1);break;case "dd":u=Th(2,2);break;case "c":case "cc":u=Th(7,1);break;case "ccc":u=Sh(1,1,1);break;case "cccc":u=Sh(1,2,1);break;case "ccccc":u=Sh(1,0,1);break;case "cccccc":u=Sh(1,3,1);break;case "E":case "EE":case "EEE":u=Sh(1,1);break;case "EEEE":u=Sh(1,2);break;case "EEEEE":u=Sh(1,0);break;case "EEEEEE":u=Sh(1,3);break;case "a":case "aa":case "aaa":u=Sh(0,
1);break;case "aaaa":u=Sh(0,2);break;case "aaaaa":u=Sh(0,0);break;case "b":case "bb":case "bbb":u=Sh(0,1,1,!0);break;case "bbbb":u=Sh(0,2,1,!0);break;case "bbbbb":u=Sh(0,0,1,!0);break;case "B":case "BB":case "BBB":u=Sh(0,1,0,!0);break;case "BBBB":u=Sh(0,2,0,!0);break;case "BBBBB":u=Sh(0,0,0,!0);break;case "h":u=Th(3,1,-12);break;case "hh":u=Th(3,2,-12);break;case "H":u=Th(3,1);break;case "HH":u=Th(3,2);break;case "m":u=Th(4,1);break;case "mm":u=Th(4,2);break;case "s":u=Th(5,1);break;case "ss":u=Th(5,
2);break;case "S":u=Th(6,1);break;case "SS":u=Th(6,2);break;case "SSS":u=Th(6,3);break;case "Z":case "ZZ":case "ZZZ":u=Xna(0);break;case "ZZZZZ":u=Xna(3);break;case "O":case "OO":case "OOO":case "z":case "zz":case "zzz":u=Xna(1);break;case "OOOO":case "ZZZZ":case "zzzz":u=Xna(2);break;default:u=null;break a}Una[q]=u}l+=u?u(e,c,h):q==="''"?"'":q.replace(/(^'|'$)/g,"").replace(/''/g,"'")});return l},Zna=function(a,b,c){var d=new Date(0);d.setFullYear(a,b,c);d.setHours(0,0,0);return d},Rh=function(a,
b){var c=Fg(a)[0];Uh[c]!=null||(Uh[c]={});if(Uh[c][b])return Uh[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=Rh(a,"shortTime");var e=Rh(a,"shortDate");d=$na(Lna(a,0),[d,e]);break;case "medium":d=Rh(a,"mediumTime");e=Rh(a,"mediumDate");d=
$na(Lna(a,1),[d,e]);break;case "long":d=Rh(a,"longTime");e=Rh(a,"longDate");d=$na(Lna(a,2),[d,e]);break;case "full":d=Rh(a,"fullTime"),e=Rh(a,"fullDate"),d=$na(Lna(a,3),[d,e])}d&&(Uh[c][b]=d);return d},$na=function(a,b){b&&(a=a.replace(/\{([^}]+)}/g,function(c,d){return b!=null&&d in b?b[d]:c}));return a},Vh=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},Th=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=aoa(a,f);if(c>0||f>-c)f+=c;if(a===3)f===0&&c===-12&&(f=12);else if(a===6)return Vh(f,3).substring(0,b);h=Ph(h,5);return Vh(f,b,h,d,e)}},aoa=function(a,b){switch(a){case 0:return b.getFullYear();case 1:return b.getMonth();case 2:return b.getDate();case 3:return b.getHours();case 4:return b.getMinutes();case 5:return b.getSeconds();case 6:return b.getMilliseconds();case 7:return b.getDay();default:throw Error("nb`"+a);}},Sh=function(a,b,
c,d){c=c===void 0?0:c;d=d===void 0?!1:d;return function(e,f){return boa(e,f,a,b,c,d)}},boa=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(),l=a.getMinutes();return f&&(c=Ona(b),a=Pna(b,e,d),c=c.findIndex(function(q){if(Array.isArray(q)){var u=k(q);q=u.next().value;u=u.next().value;var A=h>=q.hours&&l>=q.minutes,F=h<u.hours||h===u.hours&&l<u.minutes;if(q.hours<u.hours){if(A&&F)return!0}else if(A||F)return!0}else if(q.hours===
h&&q.minutes===l)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("ob`"+c);}},Xna=function(a){return function(b,c,d){b=-1*d;c=Ph(c,5);var e=b>0?Math.floor(b/60):Math.ceil(b/60);switch(a){case 0:return(b>=0?"+":"")+Vh(e,2,c)+Vh(Math.abs(b%60),2,c);case 1:return"GMT"+(b>=0?"+":"")+Vh(e,1,c);case 2:return"GMT"+(b>=0?"+":"")+Vh(e,2,c)+":"+Vh(Math.abs(b%60),2,c);case 3:return d===0?"Z":(b>=0?"+":"")+Vh(e,2,c)+":"+Vh(Math.abs(b%60),
2,c);default:throw Error("pb`"+a);}}},coa=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=1+Math.floor((c.getDate()+e)/7)}else{c=coa(c);e=c.getFullYear();var f=Zna(e,0,1).getDay();e=Zna(e,0,1+(f<=4?4:11)-f);c=1+Math.round((c.getTime()-e.getTime())/6048E5)}return Vh(c,a,Ph(d,5))}},Vna=function(a,b){b=b===void 0?!1:b;return function(c,
d){c=coa(c).getFullYear();return Vh(c,a,Ph(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=k(a.split("-").map(function(d){return+d}));
a=b.next().value;var c=b.next().value;c=c===void 0?1:c;b=b.next().value;return Zna(a,c-1,b===void 0?1:b)}b=parseFloat(a);if(!isNaN(a-b))return new Date(b);if(b=a.match(doa))return eoa(b)}b=new Date(a);if(!(b instanceof Date)||isNaN(b.valueOf()))throw Error("qb`"+a);return b},eoa=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},foa=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},loa=function(a,b,c,d){var e=e===void 0?!1:e;var f=
"",h=!1;if(isFinite(a)){h=goa(a);e&&(h=hoa(h));f=b.minInt;e=b.minFrac;var l=b.maxFrac;if(d){var q=d.match(ioa);if(q===null)throw Error("rb`"+d);d=q[1];var u=q[3];q=q[5];d!=null&&(f=joa(d));u!=null&&(e=joa(u));q!=null?l=joa(q):u!=null&&e>l&&(l=e)}koa(h,e,l);d=h.digits;q=h.integerLen;e=h.exponent;l=[];for(h=d.every(function(A){return!A});q<f;q++)d.unshift(0);for(;q<0;q++)d.unshift(0);q>0?l=d.splice(q,d.length):(l=d,d=[0]);f=[];for(d.length>=b.lgSize&&f.unshift(d.splice(-b.lgSize,d.length).join(""));d.length>
b.gSize;)f.unshift(d.splice(-b.gSize,d.length).join(""));d.length&&f.unshift(d.join(""));f=f.join(Ph(c,1));l.length&&(f+=Ph(c,0)+l.join(""));e&&(f+=Ph(c,6)+"+"+e)}else f=Ph(c,9);return f=a<0&&!h?b.negPre+f+b.negSuf:b.posPre+f+b.posSuf},hoa=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},goa=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}},koa=function(a,b,c){if(b>c)throw Error("sb`"+b+"`"+c);var d=a.digits,e=d.length-a.integerLen;c=Math.min(Math.max(b,e),c);var f=c+a.integerLen,h=d[f];if(f>0){d.splice(Math.max(a.integerLen,
f));for(var l=f;l<d.length;l++)d[l]=0}else for(e=Math.max(0,e),a.integerLen=1,d.length=Math.max(1,f=c+1),d[0]=0,l=1;l<f;l++)d[l]=0;if(h>=5)if(f-1<0){for(h=0;h>f;h--)d.unshift(0),a.integerLen++;d.unshift(1);a.integerLen++}else d[f-1]++;for(;e<Math.max(0,c);e++)d.push(0);var q=c!==0,u=b+a.integerLen;if(b=d.reduceRight(function(A,F,H,N){F+=A;N[H]=F<10?F:F-10;q&&(N[H]===0&&H>=u?N.pop():q=!1);return F>=10?1:0},0))d.unshift(b),a.integerLen++},joa=function(a){var b=parseInt(a);if(isNaN(b))throw Error("tb`"+
a);return b},moa=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},noa=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)},Wh=function(a){return a&&a[0]!=="?"?"?"+a:a},ooa=function(a){return RegExp("^(https?:)?//").test(a)?(a=k(a.split(/\/\/[^\/]+/)),a.next(),a.next().value):a},poa=function(a){return a.buttons===0||a.detail===0},qoa=
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)},Xh=function(a){var b=vd.apply(1,arguments);return b.length?b.some(function(c){return a[c]}):a.altKey||a.shiftKey||a.ctrlKey||a.metaKey},toa=function(a,b,c){var d=roa,e=parseInt(soa.major),f=parseInt(soa.minor);if(e>19||e===19&&f>0||e===0&&f===0)return a.listen(b,"touchstart",c,d);b.addEventListener("touchstart",c,d);return function(){b.removeEventListener("touchstart",
c,d)}},woa=function(){if(uoa)return uoa;if(typeof document!=="object"||!document)return uoa=new Set(voa);var a=document.createElement("input");return uoa=new Set(voa.filter(function(b){a.setAttribute("type",b);return a.type===b}))},xoa=function(){if(Yh==null&&typeof window!=="undefined")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return Yh=!0}}))}finally{Yh=Yh||!1}return Yh},Zh=function(a){return xoa()?a:!!a.capture},yoa=function(){if($h==null){if(typeof document!==
"object"||!document||typeof Element!=="function"||!Element)return $h=!1;if("scrollBehavior"in document.documentElement.style)$h=!0;else{var a=Element.prototype.scrollTo;$h=a?!/\{\s*\[native code\]\s*\}/.test(a.toString()):!1}}return $h},Aoa=function(){if(typeof document!=="object"||!document)return 0;if(zoa==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);zoa=0;a.scrollLeft===0&&(a.scrollLeft=1,zoa=a.scrollLeft===0?1:2);a.remove()}return zoa},Coa=function(a){if(Boa==null){var b=typeof document!=="undefined"?document.head:null;Boa=!(!b||!b.createShadowRoot&&!b.attachShadow)}return Boa&&(a=a.getRootNode?a.getRootNode():null,typeof ShadowRoot!=="undefined"&&ShadowRoot&&a instanceof ShadowRoot)?a:null},ai=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},bi=function(a){return a.composedPath?a.composedPath()[0]:a.target},Doa=function(){return typeof __karma__!=="undefined"&&!!__karma__||typeof jasmine!=="undefined"&&!!jasmine||typeof jest!=="undefined"&&!!jest||typeof Mocha!=="undefined"&&!!Mocha},ci=function(a){return Array.isArray(a)?a:[a]},di=function(a){return a!=null&&""+a!=="false"},ei=function(a){return a==null?"":typeof a==="string"?
a:a+"px"},fi=function(a){return a instanceof ef?a.nativeElement:a},gi=function(a,b){return isNaN(parseFloat(a))||isNaN(Number(a))?arguments.length===2?b===void 0?0:b:0:Number(a)},Eoa=function(a){if(!a.hasAttribute("tabindex")||a.tabIndex===void 0)return!1;a=a.getAttribute("tabindex");return!(!a||isNaN(parseInt(a,10)))},Foa=function(a){if(!Eoa(a))return null;a=parseInt(a.getAttribute("tabindex")||"",10);return isNaN(a)?-1:a},Goa=function(a){return{matches:a==="all"||a==="",media:a,addListener:function(){},
removeListener:function(){}}},Hoa=function(a){return a.map(function(b){return b.split(",")}).reduce(function(b,c){return b.concat(c)}).map(function(b){return b.trim()})},Ioa=function(){return null},Joa=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},Loa=
function(a,b,c){var d=Koa(a,b);c=c.trim();d.some(function(e){return e.trim()===c})||(d.push(c),a.setAttribute(b,d.join(" ")))},hi=function(a,b,c){var d=Koa(a,b);c=c.trim();d=d.filter(function(e){return e!==c});d.length?a.setAttribute(b,d.join(" ")):a.removeAttribute(b)},Koa=function(a,b){var c,d;return(d=(c=a.getAttribute(b))==null?void 0:c.match(/\S+/g))!=null?d:[]},Moa=function(a,b){return typeof a==="string"?(b||"")+"/"+a:a},Ooa=function(a,b){a.id||(a.id="cdk-describedby-message-"+b+"-"+Noa++)},
Poa=function(a){return Gha(a)?a:Ae(a)},Qoa=function(){return r(ii)},Roa=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},Soa=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})},Toa=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})},Uoa=function(a){return a&&
typeof a.connect==="function"&&!(a instanceof Sf)},ji=function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])},Woa=function(a){if(typeof a!=="number"&&a!=null){var b=k(a.split(Voa));a=b.next().value;return(b=b.next().value)&&b!=="px"?null:parseFloat(a)}return a||null},Xoa=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)}},Yoa=function(){return r(oh)},Zoa=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)},$oa=function(a){a&1&&K(0,"mat-pseudo-checkbox",1);a&2&&(a=P(),E("disabled",a.disabled)("state",a.selected?"checked":"unchecked"))},apa=function(a){a&1&&K(0,"mat-pseudo-checkbox",3);a&2&&(a=P(),E("disabled",a.disabled))},bpa=function(a){a&1&&(I(0,"span",4),Q(1),J());a&2&&(a=P(),B(),R("(",a.group.label,")"))},cpa=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},dpa=function(a,b,c,d){return a<c?a:a+b>c+d?Math.max(0,a-d+b):c},epa=function(a,b){return this._trackRow(b)},fpa=function(a){a&1&&(I(0,"tr",0)(1,"td",3),Q(2),J()());a&2&&(a=P(),B(),rg("padding-top",a._cellPadding)("padding-bottom",a._cellPadding),jg("colspan",a.numCols),B(),R(" ",a.label," "))},gpa=function(a){a&1&&(I(0,"td",3),Q(1),J());a&2&&(a=P(2),rg("padding-top",a._cellPadding)("padding-bottom",a._cellPadding),jg("colspan",
a._firstRowOffset),B(),R(" ",a._firstRowOffset>=a.labelMinRequiredCells?a.label:""," "))},hpa=function(a,b){if(a&1){var c=v();I(0,"td",6)(1,"button",7);M("click",function(f){var h=w(c).$implicit,l=P(2);return x(l._cellClicked(h,f))})("focus",function(f){var h=w(c).$implicit,l=P(2);return x(l._emitActiveDateChange(h,f))});I(2,"span",8);Q(3);J();K(4,"span",9);J()()}if(a&2){a=b.$implicit;b=b.$index;var d=P().$index,e=P();rg("width",e._cellWidth)("padding-top",e._cellPadding)("padding-bottom",e._cellPadding);
jg("data-mat-row",d)("data-mat-col",b);B();sg("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);jg("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));B();sg("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);B();R(" ",a.displayValue," ")}},jpa=function(a,b){a&1&&(I(0,"tr",1),D(1,gpa,2,6,"td",4),yg(2,hpa,5,48,"td",5,ipa),J());if(a&2){a=b.$implicit;
b=b.$index;var c=P();B();G(b===0&&c._firstRowOffset?1:-1);B();zg(a)}},kpa=function(a){return(a==null?void 0:a.nodeName)==="TD"},lpa=function(a){if(kpa(a))var b=a;else if(kpa(a.parentNode))b=a.parentNode;else{var c;kpa((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},mpa=function(a,b,c){return c!==null&&b!==c&&a<c&&a===b},npa=function(a,b,c){return b!==null&&b!==c&&a>=b&&a===c},opa=function(a,b,c,
d){return d&&b!==null&&c!==null&&b!==c&&a>=b&&a<=c},ppa=function(a){a=a.changedTouches[0];return document.elementFromPoint(a.clientX,a.clientY)},qpa=function(){return{color:"accent"}},rpa=function(a,b){a&1&&(I(0,"th",2)(1,"span",6),Q(2),J(),I(3,"span",3),Q(4),J()());a&2&&(a=b.$implicit,B(2),Yg(a.long),B(2),Yg(a.narrow))},tpa=function(a,b,c,d,e){b=a.getYear(b);c=a.getYear(c);a=spa(a,d,e);return Math.floor((b-a)/24)===Math.floor((c-a)/24)},ki=function(a,b,c,d){return((a.getYear(b)-spa(a,c,d))%24+24)%
24},spa=function(a,b,c){var d=0;c?d=a.getYear(c)-24+1:b&&(d=a.getYear(b));return d},upa=function(){},vpa=function(a){if(a&1){var b=v();I(0,"mat-month-view",4);bh("activeDateChange",function(c){w(b);var d=P();ah(d.activeDate,c)||(d.activeDate=c);return x(c)});M("_userSelection",function(c){w(b);var d=P();return x(d._dateSelected(c))})("dragStarted",function(c){w(b);var d=P();return x(d._dragStarted(c))})("dragEnded",function(c){w(b);var d=P();return x(d._dragEnded(c))});J()}a&2&&(a=P(),$g("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))},wpa=function(a){if(a&1){var b=v();I(0,"mat-year-view",5);bh("activeDateChange",function(c){w(b);var d=P();ah(d.activeDate,c)||(d.activeDate=c);return x(c)});M("monthSelected",
function(c){w(b);var d=P();return x(d._monthSelectedInYearView(c))})("selectedChange",function(c){w(b);var d=P();return x(d._goToDateInView(c,"month"))});J()}a&2&&(a=P(),$g("activeDate",a.activeDate),E("selected",a.selected)("dateFilter",a.dateFilter)("maxDate",a.maxDate)("minDate",a.minDate)("dateClass",a.dateClass))},xpa=function(a){if(a&1){var b=v();I(0,"mat-multi-year-view",6);bh("activeDateChange",function(c){w(b);var d=P();ah(d.activeDate,c)||(d.activeDate=c);return x(c)});M("yearSelected",
function(c){w(b);var d=P();return x(d._yearSelectedInMultiYearView(c))})("selectedChange",function(c){w(b);var d=P();return x(d._goToDateInView(c,"year"))});J()}a&2&&(a=P(),$g("activeDate",a.activeDate),E("selected",a.selected)("dateFilter",a.dateFilter)("maxDate",a.maxDate)("minDate",a.minDate)("dateClass",a.dateClass))},li=function(a){return a==null||(typeof a==="string"||Array.isArray(a))&&a.length===0},ypa=function(a){return function(b){if(li(b.value)||li(a))return null;var c=parseFloat(b.value);
return!isNaN(c)&&c<a?{min:{min:a,actual:b.value}}:null}},zpa=function(a){return function(b){if(li(b.value)||li(a))return null;var c=parseFloat(b.value);return!isNaN(c)&&c>a?{max:{max:a,actual:b.value}}:null}},Apa=function(a){return li(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(li(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 Ff(a)?re(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 Oe(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(t(a),[b]):[a,b]},Opa=function(a,b){return[].concat(t(b.path),[a])},mi=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 ni(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"&&$pa(a)})},Zpa=function(a,b){a._pendingDirty&&aqa(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)})},bqa=function(a,b){if(!a.hasOwnProperty("model"))return!1;a=a.model;return a.firstChange?!0:!Object.is(b,a.currentValue)},cqa=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)})},
dqa=function(a){if(!a)return null;var b=void 0,c=void 0,d=void 0;a.forEach(function(e){e.constructor===oi?b=e:Object.getPrototypeOf(e.constructor)===pi?c=e:d=e});return d?d:c?c:b?b:null},qi=function(a){return a!=null&&!Array.isArray(a)&&typeof a==="object"},eqa=function(a,b){a._forEachChild(function(c,d){if(b[d]===void 0)throw new bd(1002,"");})},fqa=function(a){return typeof a==="object"&&a!==null&&Object.keys(a).length===2&&"value"in a&&"disabled"in a},ri=function(a,b){return{type:7,name:a,definitions:b,
options:{}}},si=function(a,b){return{type:4,styles:b===void 0?null:b,timings:a}},gqa=function(a){return{type:3,steps:a,options:null}},ti=function(a){return{type:6,styles:a,offset:null}},ui=function(a,b){return{type:0,name:a,styles:b,options:void 0}},vi=function(a,b,c){return{type:1,expr:a,animation:b,options:c===void 0?null:c}},hqa=function(){var a={optional:!0};return{type:11,selector:"@*",animation:{type:9,options:null},options:a===void 0?null:a}},iqa=function(a){a&1&&K(0,"span",21)},jqa=function(a){a&
1&&(I(0,"label",20),Jg(1,1),D(2,iqa,1,0,"span",21),J());a&2&&(a=P(2),E("floating",a._shouldLabelFloat())("monitorResize",a._hasOutline())("id",a._labelId),jg("for",a._control.disableAutomaticLabeling?null:a._control.id),B(2),G(!a.hideRequiredMarker&&a._control.required?2:-1))},kqa=function(a){a&1&&D(0,jqa,3,5,"label",20);a&2&&(a=P(),G(a._hasFloatingLabel()?0:-1))},lqa=function(a){a&1&&K(0,"div",7)},mqa=function(){},nqa=function(a){a&1&&D(0,mqa,0,0,"ng-template",13);a&2&&(P(2),a=L(1),E("ngTemplateOutlet",
a))},oqa=function(a){a&1&&(I(0,"div",9),D(1,nqa,1,1,null,13),J());a&2&&(a=P(),E("matFormFieldNotchedOutlineOpen",a._shouldLabelFloat()),B(),G(a._forceDisplayInfixLabel()?-1:1))},pqa=function(a){a&1&&(I(0,"div",10,2),Jg(2,2),J())},qqa=function(a){a&1&&(I(0,"div",11,3),Jg(2,3),J())},rqa=function(){},sqa=function(a){a&1&&D(0,rqa,0,0,"ng-template",13);a&2&&(P(),a=L(1),E("ngTemplateOutlet",a))},tqa=function(a){a&1&&(I(0,"div",14,4),Jg(2,4),J())},uqa=function(a){a&1&&(I(0,"div",15,5),Jg(2,5),J())},vqa=
function(a){a&1&&K(0,"div",16)},wqa=function(a){a&1&&(I(0,"div",18),Jg(1,6),J());a&2&&(a=P(),E("@transitionMessages",a._subscriptAnimationState))},xqa=function(a){a&1&&(I(0,"mat-hint",22),Q(1),J());a&2&&(a=P(2),E("id",a._hintLabelId),B(),Yg(a.hintLabel))},yqa=function(a){a&1&&(I(0,"div",19),D(1,xqa,2,2,"mat-hint",22),Jg(2,7),K(3,"div",23),Jg(4,8),J());a&2&&(a=P(),E("@transitionMessages",a._subscriptAnimationState),B(),G(a.hintLabel?1:-1))},zqa=function(){},Aqa=function(a){a&1&&(Ud(),I(0,"svg",2),
K(1,"path",3),J())},wi=function(a,b){if(Vc(a))return a;a=String(a).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;");if(b==null?0:b.preserveSpaces)a=a.replace(/(^|[\r\n\t ]) /g,"$1&#160;");if(b==null?0:b.preserveNewlines)a=a.replace(/(\r\n|\n|\r)/g,"<br>");if(b==null?0:b.preserveTabs)a=a.replace(/(\t+)/g,'<span style="white-space:pre">$1</span>');return Uc(a)},xi=function(a){var b=wi("");return Uc(a.map(function(c){return Wc(wi(c))}).join(Wc(b).toString()))},
Dqa=function(a){if(!Bqa.test(a))throw Error("qa");if(Cqa.indexOf(a.toUpperCase())!==-1)throw Error("qa");},yi=function(a,b,c){Dqa(a);var d="<"+a;b&&(d+=Eqa(b));Array.isArray(c)||(c=c===void 0?[]:[c]);Fqa.indexOf(a.toUpperCase())!==-1?d+=">":(b=xi(c.map(function(e){return Vc(e)?e:wi(String(e))})),d+=">"+b.toString()+"</"+a+">");return Uc(d)},Eqa=function(a){for(var b="",c=Object.keys(a),d=0;d<c.length;d++){var e=c[d],f=a[e];if(!Bqa.test(e))throw Error("qa");if(f!==void 0&&f!==null){if(/^on./i.test(e))throw Error("qa");
Gqa.indexOf(e.toLowerCase())!==-1&&(f=Oc(f)?f.toString():Aea(String(f))||"about:invalid#zClosurez");f=e+'="'+wi(String(f))+'"';b+=" "+f}}return b},zi=function(a){var b=vd.apply(1,arguments);if(b.length===0)return Lc(a[0]);for(var c=a[0],d=0;d<b.length;d++)c+=encodeURIComponent(b[d])+a[d+1];return Lc(c)},Hqa=function(a,b,c,d){function e(h,l){h!=null&&(Array.isArray(h)?h.forEach(function(q){return e(q,l)}):(b+=f+encodeURIComponent(l)+"="+encodeURIComponent(h),f="&"))}var f=b.length?"&":"?";d.constructor===
Object&&(d=Object.entries(d));Array.isArray(d)?d.forEach(function(h){return e(h[1],h[0])}):d.forEach(e);return Lc(a+b+c)},Jqa=function(a){a=a.searchParams;var b=a.get("ota"),c=a.get("youtube_persona"),d=a.getAll("label");if(b)return{account:b,accountType:"ota"};if(c)return{account:c,accountType:"youtube_persona"};b=k(d);for(c=b.next();!c.done;c=b.next()){c=c.value;d=k(Iqa.keys());for(var e=d.next();!e.done;e=d.next())if(e=e.value,c.startsWith(e))return{account:c.replace(e,""),accountType:Iqa.get(e)}}var f,
h;return{account:(h=(f=a.get("account"))!=null?f:a.get("gaia"))!=null?h:"",accountType:"gaia"}},Ai=function(a){return{fieldType:3,fieldName:a}},Nqa=function(){for(var a;a=Kqa.remove();){try{a.fn.call(a.scope)}catch(b){za(b)}Lqa.put(a)}Mqa=!1},Oqa=function(a){var b=a,c;return function(){if(b){var d=b;b=void 0;c=d.apply(this,arguments)}return c}},Bi=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]]}))})},
Ci=function(a){a=a===void 0?0:a;return new Promise(function(b){setTimeout(b,a)})},Di=function(a,b){return(a!=null?a:0)+(b!=null?b:0)},Pqa=function(a){return a.length===0?0:a.reduce(Di)/a.length},Qqa=function(a,b){b=b===void 0?Pqa(a):b;if(a.length===0)return 0;a=a.map(function(c){return Math.pow(c-b,2)}).reduce(Di)/(a.length-1);return Math.sqrt(a)},Ei=function(a,b){if(a<5)return!1;if(!Rqa.get(b)){var c=Pqa(b),d=Qqa(b,c);Rqa.set(b,{mean:c,stdDev:d})}b=Rqa.get(b);return a-b.mean>b.stdDev*2},Sqa=function(){for(var a=
{},b=k(Object.entries(Fi)),c=b.next();!c.done;c=b.next()){var d=k(c.value);c=d.next().value;d=d.next().value;d>1&&(a[c]=d)}return a},Tqa=function(){var a=Object.values(Fi),b=a.map(function(c){return c-1}).reduce(Di,0);a=a.reduce(Di,0);return{total:a,redundant:b,redundancyRatio:Math.round(b/a*100)/100}},Uqa=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}},Gi=function(a,b){var c=a?Vqa(a):void 0,d=b?Vqa(b):void 0;if(!c||!d||c.length!=d.length)return!1;for(var e=0;e<c.length;e++)if(d=c[e],!Wqa(a[d],b[d]))return!1;return!0},Vqa=function(a){return[].concat(t(Object.keys(a)),t(Object.getOwnPropertySymbols(a)))},Wqa=function(a,b){if(Array.isArray(a)&&Array.isArray(b)){if(a.length!==b.length)return!1;a=[].concat(t(a)).sort();var c=[].concat(t(b)).sort();return a.every(function(d,
e){return c[e]===d})}return a===b},Hi=function(a){return Gha(a)?a:Ff(a)?re(Promise.resolve(a)):Ae(a)},Zqa=function(a,b,c){return Xqa[c.paths](a.root,b.root,c.matrixParams)&&Yqa[c.queryParams](a.queryParams,b.queryParams)&&!(c.fragment==="exact"&&a.fragment!==b.fragment)},$qa=function(a,b){return Gi(a,b)},bra=function(a,b,c){if(!Ii(a.segments,b.segments)||!ara(a.segments,b.segments,c)||a.numberOfChildren!==b.numberOfChildren)return!1;for(var d in b.children)if(!a.children[d]||!bra(a.children[d],b.children[d],
c))return!1;return!0},cra=function(a,b){return Object.keys(b).length<=Object.keys(a).length&&Object.keys(b).every(function(c){return Wqa(a[c],b[c])})},era=function(a,b,c){return dra(a,b,b.segments,c)},dra=function(a,b,c,d){if(a.segments.length>c.length)return a=a.segments.slice(0,c.length),Ii(a,c)&&!b.hasChildren()&&ara(a,c,d)?!0:!1;if(a.segments.length===c.length){if(!Ii(a.segments,c)||!ara(a.segments,c,d))return!1;for(var e in b.children)if(!a.children[e]||!era(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 Ii(a.segments,e)&&ara(a.segments,e,d)&&a.children.primary?dra(a.children.primary,b,c,d):!1},ara=function(a,b,c){return b.every(function(d,e){return Yqa[c](a[e].parameters,d.parameters)})},fra=function(a,b){return Ii(a,b)&&a.every(function(c,d){return Gi(c.parameters,b[d].parameters)})},Ii=function(a,b){return a.length!==b.length?!1:a.every(function(c,d){return c.path===b[d].path})},gra=function(a,b){var c=[];Object.entries(a.children).forEach(function(d){var e=
k(d);d=e.next().value;e=e.next().value;d==="primary"&&(c=c.concat(b(e,d)))});Object.entries(a.children).forEach(function(d){var e=k(d);d=e.next().value;e=e.next().value;d!=="primary"&&(c=c.concat(b(e,d)))});return c},jra=function(a){return a.segments.map(function(b){return hra(b.path)+ira(b.parameters)}).join("/")},Ji=function(a,b){if(!a.hasChildren())return jra(a);if(b){b=a.children.primary?Ji(a.children.primary,!1):"";var c=[];Object.entries(a.children).forEach(function(d){var e=k(d);d=e.next().value;
e=e.next().value;d!=="primary"&&c.push(d+":"+Ji(e,!1))});return c.length>0?b+"("+c.join("//")+")":b}b=gra(a,function(d,e){return e==="primary"?[Ji(a.children.primary,!1)]:[e+":"+Ji(d,!1)]});return Object.keys(a.children).length===1&&a.children.primary!=null?jra(a)+"/"+b[0]:jra(a)+"/("+b.join("//")+")"},kra=function(a){return encodeURIComponent(a).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")},lra=function(a){return kra(a).replace(/%3B/gi,";")},hra=function(a){return kra(a).replace(/\(/g,
"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")},ira=function(a){return Object.entries(a).map(function(b){var c=k(b);b=c.next().value;c=c.next().value;return";"+hra(b)+"="+hra(c)}).join("")},mra=function(a){a=Object.entries(a).map(function(b){b=k(b);var c=b.next().value;b=b.next().value;return Array.isArray(b)?b.map(function(d){return lra(c)+"="+lra(d)}).join("&"):lra(c)+"="+lra(b)}).filter(function(b){return b});return a.length?"?"+a.join("&"):""},ora=function(a){return(a=a.match(nra))?a[0]:""},
pra=function(a){var b={};return a.segments.length>0?new Ki([],(b.primary=a,b)):a},qra=function(a){for(var b={},c=k(Object.entries(a.children)),d=c.next();!d.done;d=c.next()){var e=k(d.value);d=e.next().value;e=e.next().value;e=qra(e);if(d==="primary"&&e.segments.length===0&&e.hasChildren())for(d=k(Object.entries(e.children)),e=d.next();!e.done;e=d.next()){var f=k(e.value);e=f.next().value;f=f.next().value;b[e]=f}else if(e.segments.length>0||e.hasChildren())b[d]=e}a=new Ki(a.segments,b);a.numberOfChildren===
1&&a.children.primary&&(b=a.children.primary,a=new Ki(a.segments.concat(b.segments),b.children));return a},Mi=function(a){return a instanceof Li},rra=function(a){function b(f){for(var h={},l=k(f.children),q=l.next();!q.done;q=l.next()){q=q.value;var u=b(q);h[q.outlet]=u}h=new Ki(f.url,h);f===a&&(c=h);return h}var c,d=b(a.root);d=pra(d);var e;return(e=c)!=null?e:d},xra=function(a,b,c,d){for(var e=a;e.parent;)e=e.parent;if(b.length===0)return sra(e,e,e,c,d);b=tra(b);if(b.isAbsolute&&b.commands.length===
1&&b.commands[0]=="/")return sra(e,e,new Ki([],{}),c,d);var f=e;if(b.isAbsolute)a=new ura(f,!0,0);else if(a)if(a.parent===null)a=new ura(a,!0,0);else{f=a;a=a.segments.length-1+(vra(b.commands[0])?0:1);for(var h=b.numberOfDoubleDots;h>a;){h-=a;f=f.parent;if(!f)throw new bd(4005,!1);a=f.segments.length}a=new ura(f,!1,a-h)}else a=new ura(f,!1,NaN);b=a.processChildren?Ni(a.segmentGroup,a.index,b.commands):wra(a.segmentGroup,a.index,b.commands);return sra(e,a.segmentGroup,b,c,d)},vra=function(a){return typeof a===
"object"&&a!=null&&!a.outlets&&!a.segmentPath},Oi=function(a){return typeof a==="object"&&a!=null&&a.outlets},sra=function(a,b,c,d,e){var f={};d&&Object.entries(d).forEach(function(h){var l=k(h);h=l.next().value;l=l.next().value;f[h]=Array.isArray(l)?l.map(function(q){return""+q}):""+l});a=a===b?c:yra(a,b,c);a=pra(qra(a));return new Li(a,f,e)},yra=function(a,b,c){var d={};Object.entries(a.children).forEach(function(e){var f=k(e);e=f.next().value;f=f.next().value;d[e]=f===b?c:yra(f,b,c)});return new Ki(a.segments,
d)},tra=function(a){if(typeof a[0]==="string"&&a.length===1&&a[0]==="/")return new zra(!0,0,a);var b=0,c=!1;a=a.reduce(function(d,e,f){if(typeof e==="object"&&e!=null){if(e.outlets){var h={};Object.entries(e.outlets).forEach(function(l){var q=k(l);l=q.next().value;q=q.next().value;h[l]=typeof q==="string"?q.split("/"):q});return[].concat(t(d),[{outlets:h}])}if(e.segmentPath)return[].concat(t(d),[e.segmentPath])}return typeof e!=="string"?[].concat(t(d),[e]):f===0?(e.split("/").forEach(function(l,
q){if(q!=0||l!==".")q==0&&l===""?c=!0:l===".."?b++:l!=""&&d.push(l)}),d):[].concat(t(d),[e])},[]);return new zra(c,b,a)},Ara=function(a){if(Oi(a[0]))return a[0].outlets;var b={};return b.primary=a,b},wra=function(a,b,c){a!=null||(a=new Ki([],{}));if(a.segments.length===0&&a.hasChildren())return Ni(a,b,c);a:{var d=a;for(var e=0,f=b,h={match:!1,pathIndex:0,commandIndex:0};f<d.segments.length;){if(e>=c.length){d=h;break a}var l=d.segments[f],q=c[e];if(Oi(q))break;q=""+q;var u=e<c.length-1?c[e+1]:null;
if(f>0&&q===void 0)break;if(q&&u&&typeof u==="object"&&u.outlets===void 0){if(q!=l.path||!Gi(u,l.parameters)){d=h;break a}e+=2}else{u={};if(q!=l.path||!Gi(u,l.parameters)){d=h;break a}e++}f++}d={match:!0,pathIndex:f,commandIndex:e}}e=c.slice(d.commandIndex);return d.match&&d.pathIndex<a.segments.length?(b=new Ki(a.segments.slice(0,d.pathIndex),{}),b.children.primary=new Ki(a.segments.slice(d.pathIndex),a.children),Ni(b,0,e)):d.match&&e.length===0?new Ki(a.segments,{}):d.match&&!a.hasChildren()?Bra(a,
b,c):d.match?Ni(a,0,e):Bra(a,b,c)},Ni=function(a,b,c){if(c.length===0)return new Ki(a.segments,{});var d=Ara(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=Ni(a.children.primary,b,c),new Ki(a.segments,c.children);Object.entries(d).forEach(function(f){var h=k(f);f=h.next().value;h=h.next().value;typeof h==="string"&&(h=[h]);h!==null&&(e[f]=wra(a.children[f],b,h))});Object.entries(a.children).forEach(function(f){var h=
k(f);f=h.next().value;h=h.next().value;d[f]===void 0&&(e[f]=h)});return new Ki(a.segments,e)},Bra=function(a,b,c){for(var d=a.segments.slice(0,b),e=0;e<c.length;){var f=c[e];if(Oi(f))return a=Cra(f.outlets),new Ki(d,a);if(e===0&&vra(c[0]))d.push(new Pi(a.segments[b].path,Dra(c[0]))),e++;else{f=Oi(f)?f.outlets.primary:""+f;var h=e<c.length-1?c[e+1]:null;f&&h&&vra(h)?(d.push(new Pi(f,Dra(h))),e+=2):(d.push(new Pi(f,{})),e++)}}return new Ki(d,{})},Cra=function(a){var b={};Object.entries(a).forEach(function(c){var d=
k(c);c=d.next().value;d=d.next().value;typeof d==="string"&&(d=[d]);d!==null&&(b[c]=Bra(new Ki([],{}),0,d))});return b},Dra=function(a){var b={};Object.entries(a).forEach(function(c){var d=k(c);c=d.next().value;d=d.next().value;return b[c]=""+d});return b},Era=function(a,b){a.providers&&!a._injector&&(a._injector=Jja(a.providers,b,"Route: "+a.path));var c;return(c=a._injector)!=null?c:b},Qi=function(a){return a.outlet||"primary"},Fra=function(a,b){var c=a.filter(function(d){return Qi(d)===b});c.push.apply(c,
t(a.filter(function(d){return Qi(d)!==b})));return c},Ri=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},Gra=function(a,b){if(a===b.value)return b;b=k(b.children);for(var c=b.next();!c.done;c=b.next())if(c=Gra(a,c.value))return c;return null},Hra=function(a,
b){if(a===b.value)return[b];for(var c=k(b.children),d=c.next();!d.done;d=c.next())if(d=Hra(a,d.value),d.length)return d.unshift(b),d;return[]},Si=function(a){var b={};a&&a.children.forEach(function(c){return b[c.value.outlet]=c});return b},Ira=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[Ti]=d.title);return a},Jra=function(a,b){b.value._routerState=a;b.children.forEach(function(c){return Jra(a,c)})},Kra=function(a){var b=a.children.length>0?" { "+a.children.map(Kra).join(", ")+" } ":"";return""+a.value+b},Lra=function(a){if(a.snapshot){var b=
a.snapshot,c=a._futureSnapshot;a.snapshot=c;Gi(b.queryParams,c.queryParams)||a.queryParamsSubject.next(c.queryParams);b.fragment!==c.fragment&&a.fragmentSubject.next(c.fragment);Gi(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(!Gi(d[f],e[f])){d=!1;break a}d=!0}}d||a.urlSubject.next(c.url);Gi(b.data,c.data)||a.dataSubject.next(c.data)}else a.snapshot=a._futureSnapshot,a.dataSubject.next(a._futureSnapshot.data)},
Mra=function(a,b){var c=Gi(a.params,b.params)&&fra(a.url,b.url),d=!a.parent!==!b.parent;return c&&!d&&(!a.parent||Mra(a.parent,b.parent))},Nra=function(a){var b=a.children&&a.children.map(Nra);a=b?Object.assign({},a,{children:b}):Object.assign({},a);a.component||a.loadComponent||!b&&!a.loadChildren||!a.outlet||a.outlet==="primary"||(a.component=Ui);return a},Qra=function(a,b,c){if(c&&a.shouldReuseRoute(b.value,c.value.snapshot)){var d=c.value;d._futureSnapshot=b.value;b=Ora(a,b,c);return new Vi(d,
b)}d=Pra(b.value);b=b.children.map(function(e){return Qra(a,e)});return new Vi(d,b)},Ora=function(a,b,c){return b.children.map(function(d){for(var e=k(c.children),f=e.next();!f.done;f=e.next())if(f=f.value,a.shouldReuseRoute(d.value,f.value.snapshot))return Qra(a,d,f);return Qra(a,d)})},Pra=function(a){return new Wi(new Xi(a.url),new Xi(a.params),new Xi(a.queryParams),new Xi(a.fragment),new Xi(a.data),a.outlet,a.component,a)},Sra=function(a){var b=Mi(a)?{redirectTo:a,navigationBehaviorOptions:void 0}:
a;a=b.redirectTo;b=b.navigationBehaviorOptions;var c=Rra(0);c.url=a;c.navigationBehaviorOptions=b;return c},Rra=function(a){var b=Error("Cb`");b.ngNavigationCancelingError=!0;b.cancellationCode=a;return b},Tra=function(a){return!!a&&a.ngNavigationCancelingError},Yi=function(){return Yf(function(a){return Ie(a.map(function(b){return b.pipe(Nf(),Xf(Ura))})).pipe(z(function(b){b=k(b);for(var c=b.next();!c.done;c=b.next())if(c=c.value,c!==!0){if(c===Ura)return Ura;if(c===!1||Mi(c))return c}return!0}),
Ue(function(b){return b!==Ura}),Nf())})},Zi=function(a,b){var c=Symbol(),d=b.get(a,c);return d===c?typeof a!=="function"||Kea(a)!==null?b.get(a):a:d},$i=function(a,b,c,d,e){e=e===void 0?{canDeactivateChecks:[],canActivateChecks:[]}:e;var f=Si(b);a.children.forEach(function(h){var l=f[h.value.outlet],q=d.concat([h.value]),u=e;u=u===void 0?{canDeactivateChecks:[],canActivateChecks:[]}:u;var A=h.value,F=l?l.value:null,H=c?c.getContext(h.value.outlet):null;if(F&&A.routeConfig===F.routeConfig){var N=Vra(F,
A,A.routeConfig.runGuardsAndResolvers);N?u.canActivateChecks.push(new Wra(q)):(A.data=F.data,A._resolvedData=F._resolvedData);A.component?$i(h,l,H?H.children:null,q,u):$i(h,l,c,q,u);N&&H&&H.outlet&&H.outlet.isActivated&&u.canDeactivateChecks.push(new Xra(H.outlet.component,F))}else F&&aj(l,H,u),u.canActivateChecks.push(new Wra(q)),A.component?$i(h,null,H?H.children:null,q,u):$i(h,null,c,q,u);delete f[h.value.outlet]});Object.entries(f).forEach(function(h){var l=k(h);h=l.next().value;l=l.next().value;
return aj(l,c.getContext(h),e)});return e},Vra=function(a,b,c){if(typeof c==="function")return c(a,b);switch(c){case "pathParamsChange":return!Ii(a.url,b.url);case "pathParamsOrQueryParamsChange":return!Ii(a.url,b.url)||!Gi(a.queryParams,b.queryParams);case "always":return!0;case "paramsOrQueryParamsChange":return!Mra(a,b)||!Gi(a.queryParams,b.queryParams);default:return!Mra(a,b)}},aj=function(a,b,c){var d=Si(a),e=a.value;Object.entries(d).forEach(function(f){var h=k(f);f=h.next().value;h=h.next().value;
e.component?b?aj(h,b.children.getContext(f),c):aj(h,null,c):aj(h,b,c)});e.component?b&&b.outlet&&b.outlet.isActivated?c.canDeactivateChecks.push(new Xra(b.outlet.component,e)):c.canDeactivateChecks.push(new Xra(null,e)):c.canDeactivateChecks.push(new Xra(null,e))},bj=function(a){return typeof a==="function"},Yra=function(a){return a instanceof Ee||(a==null?void 0:a.name)==="EmptyError"},asa=function(a,b){return Ke(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?Ae(Object.assign({},c,{guardsResult:!0})):Zra(f,d,e,a).pipe(Ke(function(l){return l&&typeof l==="boolean"?$ra(d,h,a,b):Ae(l)}),z(function(l){return Object.assign({},c,{guardsResult:l})}))})},Zra=function(a,b,c,d){return re(a).pipe(Ke(function(e){return bsa(e.component,e.route,c,b,d)}),Rf(function(e){return e!==!0},!0))},$ra=function(a,b,c,d){return re(b).pipe(Kf(function(e){var f=e.route.parent;f!==null&&d&&d(new csa(f));f=Ae(!0);var h=e.route;
h!==null&&d&&d(new dsa(h));h=Ae(!0);return Me(f,h,esa(a,e.path,c),fsa(a,e.route,c))}),Rf(function(e){return e!==!0},!0))},fsa=function(a,b,c){var d=b.routeConfig?b.routeConfig.canActivate:null;if(!d||d.length===0)return Ae(!0);d=d.map(function(e){return Ne(function(){var f,h=(f=Ri(b))!=null?f:c,l=Zi(e,h);f=l&&bj(l.canActivate)?l.canActivate(b,a):Cd(h,function(){return l(b,a)});return Hi(f).pipe(Rf())})});return Ae(d).pipe(Yi())},esa=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 Ne(function(){var f=e.guards.map(function(h){var l,q=(l=Ri(e.node))!=null?l:c,u=Zi(h,q);h=u&&bj(u.canActivateChild)?u.canActivateChild(d,a):Cd(q,function(){return u(d,a)});return Hi(h).pipe(Rf())});return Ae(f).pipe(Yi())})});return Ae(b).pipe(Yi())},bsa=function(a,b,c,d,e){var f=b&&b.routeConfig?b.routeConfig.canDeactivate:null;if(!f||f.length===
0)return Ae(!0);f=f.map(function(h){var l,q=(l=Ri(b))!=null?l:e,u=Zi(h,q);h=u&&bj(u.canDeactivate)?u.canDeactivate(a,b,c,d):Cd(q,function(){return u(a,b,c,d)});return Hi(h).pipe(Rf())});return Ae(f).pipe(Yi())},hsa=function(a,b,c){var d=b.canLoad;if(d===void 0||d.length===0)return Ae(!0);d=d.map(function(e){var f=Zi(e,a);e=f&&bj(f.canLoad)?f.canLoad(b,c):Cd(a,function(){return f(b,c)});return Hi(e)});return Ae(d).pipe(Yi(),gsa())},gsa=function(){return ne($f(function(a){if(typeof a!=="boolean")throw Sra(a);
}),z(function(a){return a===!0}))},isa=function(a,b,c){var d=b.canMatch;if(!d||d.length===0)return Ae(!0);d=d.map(function(e){var f=Zi(e,a);e=f&&bj(f.canMatch)?f.canMatch(b,c):Cd(a,function(){return f(b,c)});return Hi(e)});return Ae(d).pipe(Yi(),gsa())},cj=function(a){return Be(new jsa(a))},msa=function(a,b,c,d){var e=ksa(a,b,c);if(!e.matched)return Ae(e);d=Era(b,d);return isa(d,b,c).pipe(z(function(f){return f===!0?e:Object.assign({},lsa)}))},ksa=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({},lsa):{matched:!0,consumedSegments:[],remainingSegments:c,parameters:{},positionalParamSegments:{}};a=(b.matcher||Uqa)(c,a,b);if(!a)return Object.assign({},lsa);var d={},e;Object.entries((e=a.posParams)!=null?e:{}).forEach(function(h){var l=k(h);h=l.next().value;l=l.next().value;
d[h]=l.path});e=a.consumed.length>0?Object.assign({},d,a.consumed[a.consumed.length-1].parameters):d;var f;return{matched:!0,consumedSegments:a.consumed,remainingSegments:c.slice(a.consumed.length),parameters:e,positionalParamSegments:(f=a.posParams)!=null?f:{}}},qsa=function(a,b,c,d){if(c.length>0&&nsa(a,c,d)){var e=Ki;a=new Ki(c,a.children);c={};c.primary=a;a=k(d);for(d=a.next();!d.done;d=a.next())if(d=d.value,d.path===""&&Qi(d)!=="primary"){var f=new Ki([],{});c[Qi(d)]=f}c={segmentGroup:new e(b,
c),slicedSegments:[]}}else if(c.length===0&&osa(a,c,d)){b=Ki;e=a.segments;f=a.children;var h={};d=k(d);for(var l=d.next();!l.done;l=d.next())if(l=l.value,psa(a,c,l)&&!f[Qi(l)]){var q=new Ki([],{});h[Qi(l)]=q}a=Object.assign({},f,h);c={segmentGroup:new b(e,a),slicedSegments:c}}else c={segmentGroup:new Ki(a.segments,a.children),slicedSegments:c};return c},nsa=function(a,b,c){return c.some(function(d){return psa(a,b,d)&&Qi(d)!=="primary"})},osa=function(a,b,c){return c.some(function(d){return psa(a,
b,d)})},psa=function(a,b,c){return(a.hasChildren()||b.length>0)&&c.pathMatch==="full"?!1:c.path===""},rsa=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)})},ssa=function(a){return(a=a.value.routeConfig)&&a.path===""},tsa=function(a){var b=[],c=new Set;a=k(a);for(var d=a.next(),e={};!d.done;e={node$jscomp$162:void 0},d=a.next())e.node$jscomp$162=d.value,ssa(e.node$jscomp$162)?(d=b.find(function(f){return function(h){return f.node$jscomp$162.value.routeConfig===
h.value.routeConfig}}(e)),d!==void 0?(d.children.push.apply(d.children,t(e.node$jscomp$162.children)),c.add(d)):b.push(e.node$jscomp$162)):b.push(e.node$jscomp$162);a=k(c);for(e=a.next();!e.done;e=a.next())e=e.value,d=tsa(e.children),b.push(new Vi(e.value,d));return b.filter(function(f){return!c.has(f)})},vsa=function(a,b,c,d,e,f){return Ke(function(h){return(new usa(a,b,c,d,h.extractedUrl,f===void 0?"emptyOnly":f,e)).recognize().pipe(z(function(l){return Object.assign({},h,{targetSnapshot:l.state,
urlAfterRedirects:l.tree})}))})},ysa=function(a,b){return Ke(function(c){var d=c.targetSnapshot,e=c.guards.canActivateChecks;if(!e.length)return Ae(c);var f=new Set(e.map(function(A){return A.route})),h=new Set;e=k(f);for(var l=e.next();!l.done;l=e.next())if(l=l.value,!h.has(l)){l=k(wsa(l));for(var q=l.next();!q.done;q=l.next())h.add(q.value)}var u=0;return re(h).pipe(Kf(function(A){if(f.has(A))return xsa(A,d,a,b);A.data=Ira(A,A.parent,a).resolve;return Ae(void 0)}),$f(function(){return u++}),fka(),
Ke(function(){return u===h.size?Ae(c):Se}))})},wsa=function(a){var b=a.children.map(function(c){return wsa(c)}).flat();return[a].concat(t(b))},xsa=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[Ti]=e.title);return zsa(f,a,b,d).pipe(z(function(h){a._resolvedData=h;a.data=Ira(a,a.parent,c).resolve;return null}))},zsa=function(a,b,c,d){var e=Vqa(a);if(e.length===0)return Ae({});var f={};return re(e).pipe(Ke(function(h){return Asa(a[h],
b,c,d).pipe(Rf(),$f(function(l){f[h]=l}))}),fka(),z(function(){return f}),If(function(h){return Yra(h)?Se:Be(h)}))},Asa=function(a,b,c,d){var e,f=(e=Ri(b))!=null?e:d,h=Zi(a,f);a=h.resolve?h.resolve(b,c):Cd(f,function(){return h(b,c)});return Hi(a)},Bsa=function(a){return Yf(function(b){var c=a(b);return c?re(c).pipe(z(function(){return b})):Ae(b)})},Csa=function(a){a=k(a);for(var b=a.next();!b.done;b=a.next())b.value.remove()},Dsa=function(a,b){b=b.createElement("style");b.textContent=a;return b},
Esa=function(a,b){b=b.createElement("link");b.setAttribute("rel","stylesheet");b.setAttribute("href",a);return b},Gsa=function(a,b){return b.map(function(c){return c.replace(Fsa,a)})},Hsa=function(a){var b=new Map;a.length>0&&a.replace(/^\?/,"").split("&").forEach(function(c){var d=c.indexOf("=");d=k(d==-1?[decodeURIComponent(c),""]:[decodeURIComponent(c.slice(0,d)),decodeURIComponent(c.slice(d+1))]);c=d.next().value;d=d.next().value;var e=b.get(c)||[];e.push(d);b.set(c,e)});return b},Ksa=function(a){return encodeURIComponent(a).replace(Isa,
function(b,c){var d;return(d=Jsa[c])!=null?d:b})},Lsa=function(a){return""+a},Msa=function(a){return typeof ArrayBuffer!=="undefined"&&a instanceof ArrayBuffer},Nsa=function(a){return typeof Blob!=="undefined"&&a instanceof Blob},Osa=function(a){return typeof FormData!=="undefined"&&a instanceof FormData},Psa=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}},Qsa=function(a){return a.url?a.url:a.headers.get("X-Request-URL".toLocaleLowerCase())},Rsa=function(){},Ssa=function(a,b){return b(a)},Tsa=function(a,b){return function(c,d){return b.intercept(c,{handle:function(e){return a(e,d)}})}},Usa=function(a,b,c){return function(d,e){return Cd(c,function(){return b(d,function(f){return a(f,e)})})}},Ysa=function(a,b){var c=a.url.toLowerCase();if(!r(Vsa)||a.method==="GET"||a.method==="HEAD"||c.startsWith("http://")||c.startsWith("https://"))return b(a);
c=r(Wsa).getToken();var d=r(Xsa);c==null||a.headers.has(d)||(a=a.clone({headers:a.headers.set(d,c)}));return b(a)},cta=function(a,b,c){return Hi(a.loadChildren()).pipe(z(Zsa),Ke(function(d){return d instanceof $sa||Array.isArray(d)?Ae(d):re(Promise.resolve(new ata(d)))}),z(function(d){c&&c(a);if(!Array.isArray(d)){var e=d.create(b).injector;d=e.get(bta,[],{optional:!0,self:!0}).flat()}return{routes:d.map(Nra),injector:e}}))},Zsa=function(a){return a&&typeof a==="object"&&"default"in a?a["default"]:
a},fta=function(a,b,c){var d=a.get(dta),e=a.get(ii);return a.get(kh).runOutsideAngular(function(){if(!e.startViewTransition||d.skipNextTransition)return d.skipNextTransition=!1,new Promise(function(u){return setTimeout(u)});var f,h=new Promise(function(u){f=u}),l=e.startViewTransition(function(){f();return eta(a)}),q=d.onViewTransitionCreated;q&&Cd(a,function(){return q({transition:l,from:b,to:c})});return h})},eta=function(a){return new Promise(function(b){Ze({read:function(){return setTimeout(b)}},
{injector:a})})},gta=function(a,b){a.events.pipe(Ue(function(c){return c instanceof dj||c instanceof ej||c instanceof fj||c instanceof gj}),z(function(c){return c instanceof dj||c instanceof gj?0:c instanceof ej&&(c.code===0||c.code===1)?2:1}),Ue(function(c){return c!==2}),Nf()).subscribe(function(){b()})},hj=function(a,b){return{"\u0275kind":a,"\u0275providers":b}},hta=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("/")},ij=function(a){return a instanceof dj},ita=function(a){return a instanceof jj},kj=function(a){return console==null?!1:typeof console[a]==="function"},lj=function(){kj("debug")&&console.debug.apply(console,vd.apply(0,arguments))},mj=function(){kj("info")&&console.info.apply(console,vd.apply(0,arguments))},jta=function(){kj("log")&&console.log.apply(console,vd.apply(0,arguments))},nj=function(){kj("warn")&&console.warn.apply(console,vd.apply(0,arguments))},kta=function(){kj("error")&&
console.error.apply(console,vd.apply(0,arguments))},lta=function(a){return function(b){return new oe(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()})})})}},mta=function(a){var b={attributeFilter:["aria-label","aria-valuenow"]};return new oe(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)})},nta=function(a){a&1&&K(0,"div",2)},ota=function(){var a=r(ii),b=a?a.location:null;return{getPathname:function(){return b?b.pathname+b.search:""}}},pta=function(a){return new Promise(function(b,c){setTimeout(function(){c(Error("$b"))},a)})},rta=function(){if(qta===void 0&&(qta=null,typeof window!=="undefined")){var a=window;a.trustedTypes!==void 0&&(qta=a.trustedTypes.createPolicy("angular#components",
{createHTML:function(b){return b}}))}return qta},sta=function(a){var b;return((b=rta())==null?void 0:b.createHTML(a))||a},tta=function(){var a=r(ii),b=a?a.location:null;return{getPathname:function(){return b?b.pathname+b.search:""}}},uta=function(a){a&1&&(I(0,"div",8),K(1,"mat-progress-bar",10),J())},vta=function(a){if(a&1){var b=v();I(0,"button",15);M("click",function(){w(b);var c=P(3);return x(c.clearTitle())});K(1,"mat-icon",16);J()}},wta=function(a){a&1&&Cg(0)},yta=function(a){a&1&&(I(0,"div",
9)(1,"div",11),K(2,"mat-icon",12),I(3,"span"),Q(4,"Chrome suggestions based on your recent history"),J(),D(5,vta,2,0,"button",13),J(),D(6,wta,1,0,"ng-container",14),J());if(a&2){a=P(2);var b=L(3),c=L(8);B(5);G(b.value?5:-1);B();E("ngTemplateOutlet",c)("ngTemplateOutletContext",eh(3,xta,a.suggestedIssueMetadataList))}},zta=function(a){a&1&&(I(0,"div",7,4),D(2,uta,2,0,"div",8)(3,yta,7,5,"div",9),J());a&2&&(a=P(),B(2),G(a.suggestedIssueMetadataList===null?2:-1),B(),G(a.suggestedIssueMetadataList===null?
-1:3))},Ata=function(a,b){if(a&1){var c=v();I(0,"div",19);M("click",function(){var d=w(c).$implicit;P(3).selectedSuggestion$.next(d);return x()});I(1,"div")(2,"div",20);Q(3);J();I(4,"div",21);Q(5);J()();I(6,"div",22);Q(7,"Auto-fill");J()()}a&2&&(a=b.$implicit,B(3),Yg(a.title),B(2),Yg(a.sourceContext))},Bta=function(a){a&1&&(I(0,"div",17),yg(1,Ata,8,2,"div",18,xg),J());a&2&&(a=P().$implicit,B(),zg(a))},Cta=function(a){a&1&&(I(0,"div",23),Q(1," No suggestions found "),J())},Dta=function(a){a&1&&D(0,
Cta,2,0,"div",23);a&2&&(a=P(2),G(a.suggestedIssueMetadataList===null?-1:0))},Eta=function(a,b){a&1&&D(0,Bta,3,0,"div",17)(1,Dta,1,1);if(a&2){var c;G((c=b.$implicit.length)?0:1,c)}},Fta=function(a,b){return a.size!==b.size?!1:[].concat(t(a)).every(function(c){return b.has(c)})},Gta=function(a){var b=new Set;a=k(a);for(var c=a.next();!c.done;c=a.next()){c=k(c.value);for(var d=c.next();!d.done;d=c.next())b.add(d.value)}return b},Hta=function(a,b){if(!Fta(a,b)){var c=[].concat(t(b)).filter(function(e){return!a.has(e)}),
d=[].concat(t(a)).filter(function(e){return!b.has(e)});return{added:c,removed:d}}},Ita=function(a,b){var c=a.size>b.size?a:b;return new Set([].concat(t(a===c?b:a)).filter(function(d){return c.has(d)}))},Jta=function(a,b){return a.size>=b.size&&[].concat(t(b)).every(function(c){return a.has(c)})},oj=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(!oj(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?Fta(a,b):!1;if(Vc(a)||Vc(b))return Vc(a)&&Vc(b)?a===b||a.toString()===b.toString():!1;if(a instanceof V||b instanceof V)return a instanceof V&&b instanceof V?a==b||!(!a||!b)&&a instanceof b.constructor&&ida(a,b):!1;if(typeof a==="object"){if(typeof b!=="object")return!1;
c=Object.keys(a);d=c.length;if(d!==Object.keys(b).length)return!1;for(var e=0;e<d;e++){var f=c[e];if(!Kta.call(b,f)||!oj(a[f],b[f]))return!1}return!0}return!1},Lta=function(a){var b=[];a=k(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;for(var d=!1,e=k(b),f=e.next();!f.done;f=e.next())if(oj(c,f.value)){d=!0;break}d||b.push(c)}return b},Mta=function(a,b){for(var c=a.length-1;c>=0;c--)oj(a[c],b)&&a.splice(c,1)},Nta=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},Pta=function(a){return Object.assign.apply(Object,[{}].concat(t(Ota.map(function(b){var c={};return c[b]=a[b],c}))))},pj=function(a){if(a!==null&&a!==void 0&&["boolean","function","number","string"].indexOf(typeof a)===-1)if(Array.isArray(a)){var b=[];a=k(a);for(var c=a.next();!c.done;c=
a.next())b.push(pj(c.value));a=b}else if(a instanceof Date)a=new Date(a.getTime());else if(a instanceof Map){b=new Map;a=k(a);for(c=a.next();!c.done;c=a.next()){var d=k(c.value);c=d.next().value;d=d.next().value;b.set(pj(c),pj(d))}a=b}else if(!Vc(a))if(a instanceof V)a=a.clone();else{b={};c=k(Object.entries(a));for(d=c.next();!d.done;d=c.next()){var e=k(d.value);d=e.next().value;e=e.next().value;b[d]=pj(e)}Object.setPrototypeOf(b,Object.getPrototypeOf(a));a=b}return a},Qta=function(a){return typeof a===
"number"},qj=function(a){return typeof a==="string"},rj=function(a){return Array.isArray(a)&&a.every(qj)},Rta=function(a){return Array.isArray(a)&&a.every(Qta)},Sta=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},sj=function(a){return a.toLowerCase().replace(/_([a-z])/g,function(b,c){return c.toUpperCase()})},vj=function(a){if(a){if(Qta(a)){var b=new Date(a);b.getFullYear()>47E3&&(b=new Date(a/1E3));return new tj(b)}b=
a.split("/");if(b.length===3)return a=uj(b[2]),a<50?a+=2E3:a<100&&(a+=1900),new tj(a,uj(b[0])-1,uj(b[1]));if(b.length===1)return vj(Number(a))}return new tj},Tta=function(a){return a.replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"")},Uta=function(a){return!(!a||!a.startsWith("text/")&&!a.startsWith("image/")&&a!=="application/pdf")},wj=function(a,b){return a.map(function(c){return c[b]})},Vta=function(a,b){return a.filter(function(c){return!b.has(c)})},Wta=function(a,b){for(var c=k(a),d=c.next();!d.done;d=
c.next())if(!b.has(d.value))return!1;b=k(b);for(c=b.next();!c.done;c=b.next())if(!a.has(c.value))return!1;return!0},xj=function(a,b){return Vta(a,new Set(b))},Xta=function(a,b){var c=/[,;]/;(b===void 0||b)&&(c=/[\s,;]/);return a.split(c).map(yj).filter(function(d){return!!d})},Yta=function(a,b){a=new URL(a);return a.host+a.pathname+b},Zta=function(a){return a.user!==void 0},$ta=function(a){switch(a){case "public_non_google":return"Public (non-google.com)";case "googlers_unrestricted":return"Full-time Googlers";
default:return zj(a.replace(/_/g," ").toLowerCase())}},Aj=function(a){return!!a&&aua.test(a)&&!bua.test(a)},eua=function(a){a=a===void 0?"":a;return!cua(a)||a.endsWith("-robots@google.com")||dua(a)},dua=function(a){return fua.some(function(b){return a.endsWith(b)})},cua=function(a){return!a.endsWith("@prod.google.com")&&!a.endsWith("@appspot.gserviceaccount.com")},gua=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}},hua=function(a){return a?zj(a.replace(/_/g," ").toLowerCase()):""},iua=function(a){return a?a.join(", "):""},jua=function(a,b){if(!a)return wi("");if(!b)return wi(a);b=b.split(" ").map(Tta);b=b.filter(function(h){return!!h});b=b.map(Bj);if(b.length===0)return wi(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(yi("b",{},f));c.push(d);a=a.substring(e+f.length+d.length)}return xi(c)},kua=function(a){return a?"Yes":"No"},lua=function(a){return a?a.pathNames?a.pathNames.join(" > "):"":""},mua=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},nua=function(a){if(!a)return null;var b=new Cj;b.setTime(a.seconds*1E3);return b},
oua=function(a){if(a&&Aj(a))return a},Dj=function(a){return a==null?"":String(a)},pua=function(a){var b;return(b=a==null?void 0:a.filter(function(c){return!!c.trim()}).join(", "))!=null?b:""},Ej=function(a,b){return function(c){if(a.has(c))return a.get(c);var d=b(c);a.set(c,d);return d}},Fj=function(a,b){return new Map(a.map(function(c){return[c,b(c)]}))},Gj=function(a,b){var c;return new Map((c=a==null?void 0:a.map(function(d){return[b(d),d]}))!=null?c:[])},qua=function(a,b){var c=new Map;a=k(a);
for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=b(d),f=void 0,h=(f=c.get(e))!=null?f:[];h.push(d);c.set(e,h)}return c},rua=function(a,b){return Fj([].concat(t(a.keys())),function(c){return b(a.get(c),c)})},sua=function(a){var b=new Map;a=k(a.entries());for(var c=a.next();!c.done;c=a.next()){var d=k(c.value);c=d.next().value;d=d.next().value;b.set(d,c)}return b},tua=function(a){var b=new Map;a=k(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=k(c.value);c=d.next().value;d=d.next().value;
b.set(c,d)}return b},Hj=function(){return new uua},vua=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)}},wua=function(a){function b(){var e,f,h,l;return se(function(q){if(q.nextAddress==1){if(d||c.length===0)return q.return();d=!0;e=[].concat(t(c));c=[];f=k(e);h=f.next()}if(q.nextAddress!=3){if(h.done)return d=!1,y(q,b(),0);l=h.value;return y(q,a.apply(null,t(l.args)).then(l.returnValue.resolve).catch(l.returnValue.reject),
3)}h=f.next();return q.jumpTo(2)})}var c=[],d=!1;return function(){var e=vd.apply(0,arguments),f=new uua;c.push({args:e,returnValue:f});b();return f.promise}},Ij=function(a){var b=!1;return function(){var c=vd.apply(0,arguments);if(!b)return b=!0,a.apply(null,t(c))}},xua=function(a){var b=new Map;return function(){var c=vd.apply(0,arguments),d=c.map(String).join("-");if(b.has(d))return b.get(d);c=a.apply(null,t(c));b.set(d,c);return c}},yua=function(a){return a},Kj=function(a){return Jj(a,yua)},Jj=
function(a,b){var c={};return a.filter(function(d){d=String(b(d));return c[d]?!1:c[d]=!0})},zua=function(a){return function(b){return Jj(b,a)}},Aua=function(a,b){return a.map(function(c,d){return[c,b[d]]})},Bua=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},Cua=function(a,b){return a===b?!0:a.length!==b.length?!1:a.every(function(c,d){return c===b[d]})},Dua=function(a,b){a=[].concat(t(a)).sort();
b=[].concat(t(b)).sort();return Cua(a,b)},Eua=function(a,b){if(a.length===0)return b;b=b.slice();b=Bua(a,b);return[].concat(t(a),t(b))},Fua=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)})}},Gua=function(a,b){a=qua(a,b);return[].concat(t(a.values()))},Hua=function(a){for(var b=[],c=0;c<a.length;c+=100)b.push(a.slice(c,c+100));return b},Iua=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]})},Jua=function(a){var b=a.filter(function(l){var q;return(q=l.experimentalFields)==null?void 0:q.clusterIds.length});a=new Map;b=k(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;for(var d=k(c.experimentalFields.clusterIds),e=d.next();!e.done;e=d.next()){e=e.value;var f=void 0,h=(f=a.get(e))!=null?f:new Set;h.add(c.issueId);a.set(e,h)}}a=[].concat(t(a.values())).map(function(l){return[].concat(t(l))});return Jj(a,function(l){return l.sort().join(",")}).filter(function(l){return l.length>=
3}).sort(function(l,q){return q.length-l.length}).slice(0,3).map(function(l){return[].concat(t(l))})},Lj=function(a){switch(a){case "P0":case "P1":case "P2":case "P3":case "P4":return a;default:return null}},Kua=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}},Lua=function(a){switch(a){case "S0":case "S1":case "S2":case "S3":case "S4":return a;default:return null}},Mj=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""}},Oj=function(a,b,c,d){var e;return{status:a,displayValue:(e=Nj.get(a))!=null?e:"",open:b,assigneeRequirement:c,sortOrder:d}},Mua=function(a){if(!a)return!1;a=a.userGaiaStatus;return!a||a==="ACTIVE"||a==="UNSPECIFIED"},Qj=function(a){return a?a.map(Pj):[]},Rj=function(a){a=Qj(a);a.sort();return a},Pj=function(a){return a&&a.getUserGaiaStatus?
Nua(Oua(a)):Nua(a)},Nua=function(a){return a?a.userGaiaStatus==="DELETED"?"[Deleted User]":a.userGaiaStatus==="UNAVAILABLE"?"[Unavailable User]":Mua(a)?Pua(a)||"[No Data]":"[No Data]":""},Sj=function(a){return a&&a.getUserGaiaStatus?Pua(Oua(a)):Pua(a)},Pua=function(a){if(a)return a.emailAddress||a.obfuscatedEmailAddress||""},Oua=function(a){if(a!=null){var b={},c;if(c=a.getEmailAddress())b.emailAddress=c;if(c=Kh(a,2))b.obfuscatedEmailAddress=c;if(c=a.getUserGaiaStatus())b.userGaiaStatus=Qua[c];(c=
Tj(a,4,Uj(Vj)))&&c.length>0&&(b.aliases=c);return b}},Wj=function(a){return a?{emailAddress:a.trim(),userGaiaStatus:"ACTIVE"}:null},Rua=function(a){var b=[];a=k(a);for(var c=a.next();!c.done;c=a.next())b.push(Wj(c.value));return b},Sua=function(a){var b=a.getId(),c=Xj(a,3);var d=Tj(a,2,Uj());a=pc(a,4,Mb,Uj());return Yj({id:b,std_offset:c,names:d,transitions:a||[]})},dk=function(a){var b=a.emailAddress,c=a.obfuscatedEmailAddress,d=a.aliases;a=a.userGaiaStatus;var e=new Zj;b&&ak(e,1,b);c&&ak(e,2,c);
(d==null?0:d.length)&&bk(e,4,d);if(a)switch(a){case "UNSPECIFIED":ck(e,3,0);break;case "ACTIVE":ck(e,3,1);break;case "DELETED":ck(e,3,2);break;case "UNAVAILABLE":ck(e,3,3);break;default:Db(a)}return e},ek=function(a){var b={},c=a.getEmailAddress();c&&(b.emailAddress=c);if(c=Kh(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("lc`"+
c);}a=Tj(a,4,Uj(Vj));if(a==null?0:a.length)b.aliases=a;return b},fk=function(a){if(a!=null&&(a=String(a),a.trim()!==""))return a=Number(a),isNaN(a)?void 0:a},gk=function(a){if(a!=null)return String(a)},Tua=function(a){if(a!=null&&a!=="0")return a},hk=function(a){return a==null?void 0:a},Uua=function(){return function(a){return a==null?"<none>":a}},ik=function(a){return a!=null},Vua=function(a){if(a!=null)return a/1E3},Xua=function(a){var b=a.getTrackerId_asString(),c=a.getName(),d=a.getComponentId_asString(),
e=jk(a,4,Uj()).map(String);var f=W(a,kk,6);f=f!=null?{logoUrl:f.getLogoUrl(),cocUrl:Kh(f,3),theme:Wua[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:lk(a,Zj,10,Uj()).length>0?lk(a,Zj,10,Uj()).map(ek):void 0}},Yua=function(a){return Xua(a.getIt())},Zua=function(a){return a.getIt().getTrackersList().map(Xua)},$ua=function(a){return{trackers:a.getIt().getTrackersList().map(Xua),
nextPageToken:a.getIt().getNextPageToken(),totalSize:a.getIt().getTotalSize()}},mk=function(a){if(a==null)return"UNSPECIFIED_FORMATTING_MODE";switch(ava[a]){case "MARKDOWN_FORMATTING_MODE":return"MARKDOWN";case "PLAIN_FORMATTING_MODE":return"PLAIN";case "LITERAL_FORMATTING_MODE":return"LITERAL";default:return"UNSPECIFIED_FORMATTING_MODE"}},bva=function(a){if(a==null)return"COMMENT_FORMATTING_MODE_UNSPECIFIED";switch(nk[a]){case "MARKDOWN":return"MARKDOWN_FORMATTING_MODE";case "PLAIN":return"PLAIN_FORMATTING_MODE";
case "LITERAL":return"LITERAL_FORMATTING_MODE";default:return"COMMENT_FORMATTING_MODE_UNSPECIFIED"}},cva=function(a){if(a!=null){var b=a.getYear();if(b==null)nj("No year. dateToJs");else{var c=a.getDay();if(c==null)nj("No day. dateToJs");else if(a=a.getMonth(),a==null)nj("No month. dateToJs");else return{year:b,day:c,month:a}}}},dva=function(a){var b=new ok;pk(b,3,a.day);b.setMonth(a.month);b.setYear(a.year);return b},qk=function(a){if(a!=null){var b=a.getSeconds_asLegacyNumberOrString();a=a.getNanos();
return{seconds:b,nanos:a}}},sk=function(a){var b=new rk;b.setSeconds(a.seconds);b.setNanos(a.nanos);return b},eva=function(a){var b=new tk;b.setSeconds(a.seconds);b.setNanos(a.nanos);return b},fva=function(a){if(a!=null){var b=a.getSeconds_asLegacyNumberOrString();a=a.getNanos();return{seconds:b,nanos:a}}},gva=function(a){if(a!=null)return Number(a.toDate())},uk=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 sk({seconds:a,nanos:b})},
hva=function(){var a=Date.now();return qk(uk(a*1E3))},vk=function(a){if(!a)return 0;a=a.getSeconds_asLegacyNumberOrString()*1E9+a.getNanos();return Math.round(a/1E3)},iva=function(a){return a?a==="ASCENDING"?"asc":"desc":""},wk=function(a,b,c){return function(d,e){e=e===void 0?c:e;return jva(d,a,b,e)}},jva=function(a,b,c,d){return d?[].concat(t(a)).sort(function(e,f){var h=d==="ASCENDING"?1:-1;return c(b(e),b(f))*h}):[].concat(t(a))},xk=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},yk=function(a,b){return a==null||b==null?a==null&&b==null?0:a==null?1:b==null?-1:0:a.localeCompare(b)},zva=function(a){var b={};zk(a,1)&&(b.showFullHistory=Ak(a,1));zk(a,2)&&(b.useCodefont=Ak(a,2));Bk(a,5)&&(b.resultsPerPage=Xj(a,5));zk(a,26)&&(b.showRecentEventsFirst=Ak(a,26));var c=a.getDisplayColumns();c&&(b.displayColumns={column:c.getColumnList().map(kva).filter(ik)});if(c=a.getSortColumns())b.sortColumns={column:c.getColumnList().map(lva).filter(ik)};
Ck(a,7)&&(b.bannerMessageId=Kh(a,7));if(c=W(a,mva,3)){var d={};Dk(c,1)&&(d.reportedPriority=Ek[Fk(c,1,0)]);Dk(c,2)&&(d.assignedPriority=Ek[Fk(c,2,0)]);Dk(c,3)&&(d.verifiedPriority=Ek[Fk(c,3,0)]);Dk(c,4)&&(d.ccdPriority=Ek[Fk(c,4,0)]);Dk(c,9)&&(d.collaboratorPriority=Ek[Fk(c,9,0)]);Dk(c,5)&&(d.starredPriority=Ek[Fk(c,5,0)]);zk(c,6)&&(d.excludeChangesByMe=Ak(c,6));zk(c,7)&&(d.unsubscribeFromAll=Ak(c,7));zk(c,8)&&(d.enableV2Prefs=Ak(c,8));b.notificationPreferences=d}if(d=W(a,nva,9)){c={showHotlists:Ak(d,
1),showStatusIcons:Ak(d,4),wrapComponents:Ak(d,3),wrapTitles:Ak(d,2),rtlComponentPath:Ak(d,5)};var e=sc(d,6,dc);c.fieldStatus=Object.fromEntries(e.entries());d=sc(d,7,dc);c.modeForField=Object.fromEntries(d.entries());b.listViewPreferences=c}if(c=a.getLayoutPreferences())d={},Bk(c,1)&&(d.leftSidebarWidth=Xj(c,1)),zk(c,2)&&(d.expandIssueSlo=Ak(c,2)),Bk(c,3)&&(d.rightSidebarWidth=Xj(c,3)),b.layoutPreferences=d;if(c=a.getDateTimePreferences())d={},Ck(c,1)&&(d.calendarFormat=Kh(c,1)),Ck(c,2)&&(d.timeFormat=
Kh(c,2)),c.hasTimeZone()&&(d.timeZone=c.getTimeZone()),Dk(c,7)&&(d.sloEtaViewAs=ova[Fk(c,7,0)]),b.dateTimePreferences=d;if(c=W(a,Gk,8))d={},Dk(c,1)&&(d.density=pva[c.getDensity()]),b.themePreferences=d;if(c=a.getHomepagePreferences())d={},Dk(c,1)&&(d.resourceType=qva(Fk(c,1,1))),Vb(Hk(c,2))!=null&&(d.resourceId=Ik(c,2)),b.homepagePreferences=d;if(c=W(a,rva,17))d={},zk(c,1)&&(d.enableAllHotkeys=Ak(c,1,!0)),b.keyboardPreferences=d;Vb(Hk(a,16))!=null&&(b.newFeaturesAcknowledgedMillis=Ik(a,16));zk(a,
18)&&(b.autoCcOnComment=Ak(a,18));Jk(a,Kk,20)&&(d=W(a,Kk,20),c=d.getCommentDisplayOverride(),d=d.getLastPublishMode(),b.textDisplayPreferences={commentDisplayOverride:Lk(c),lastPublishMode:Lk(d)});Jk(a,Mk,33)&&(e=W(a,Mk,33),c=Fk(e,3,0),d=e.getCommentDisplayOverride(),e=e.getLastPublishMode(),b.commentFormattingPreferences={commentCreateOverride:Lk(c),commentDisplayOverride:Lk(d),lastPublishMode:Lk(e)});Jk(a,Nk,21)&&(c=W(a,Nk,21),d={},zk(c,2)&&(d.announcementDismissed=Ak(c,2)),zk(c,1)&&(d.enableBugScreensaver=
Ak(c,1)),b.bugScreensaverPreferences=d);Jk(a,Ok,24)&&(c=W(a,Ok,24),d={},Pk(c,1)&&(d.announcementDismissedMillis=Qk(c,1)),b.g3nPreferences=d);if(c=W(a,sva,23))c=lk(c,tva,1,Uj()),b.teamWarningPreferences={componentTeamWarnings:c.map(uva)};c=uc(a,25,rk,dc);c.size&&(b.dismissalTimestamps=vva(c));c=a.getCollapsedMap();c.size&&(b.collapsed=Object.fromEntries(c.entries()));zk(a,29)&&(b.showInlineImages=a.getShowInlineImages());Jk(a,Rk,28)&&(c=W(a,Rk,28),d={},Dk(c,1)&&(d.commentFilter=wva(Fk(c,1,0))),b.commentFilterPreferences=
d);if(c=W(a,Sk,31))b.missionControlPreferences=xva(c);Jk(a,Tk,32)&&(b.scopePreferences=yva(W(a,Tk,32)));return b},kva=function(a){if(a.hasType()){var b={type:Ava[a.getType()]};a.hasCustomFieldId()&&(b.customFieldId=a.getCustomFieldId_asLegacyNumberOrString());return b}},lva=function(a){var b=a.getColumn();if(b=b&&kva(b)){if(Dk(a,2))a:switch(a=Fk(a,2,1),a){case 1:a="ASCENDING";break a;case 2:a="DESCENDING";break a;default:a=Db(a,"Unknown sortOrder: "+a)}else a=void 0;if(a)return{column:b,order:a}}},
Lk=function(a){if(a!==0)return Bva[a]},qva=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 Db(a,"Unknown resourceType: "+a)}},uva=function(a){var b={};a.hasComponentId()&&(b.componentId=a.getComponentId_asLegacyNumberOrString());Pk(a,2)&&(b.dismissMillis=Qk(a,2));return b},vva=function(a){a=Array.from(a.entries()).map(function(b){var c=k(b);b=c.next().value;c=c.next().value;
return[b,c.toDate()]});return Object.fromEntries(a)},wva=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 Db(a,"Unknown resourceType: "+a)}},yva=function(a){var b=Uk(a,1),c=qk(W(a,rk,2));a=lk(a,Vk,3,Uj()).map(function(d){return{teamId:d.getTeamId_asString(),triageId:Wk(d,2)}});return{starredTeams:b,lastAutomaticStarsUpdate:c,starredTriageViews:a}},Fva=function(a){var b=Cva(Dva(new Tk,a.starredTeams),
a.starredTriageViews.map(function(c){var d=(new Vk).setTeamId(c.teamId);return Xk(d,2,c.triageId)}));a.lastAutomaticStarsUpdate&&Eva(b,sk(a.lastAutomaticStarsUpdate));return b},xva=function(a){var b=Bk(a,3)?Xj(a,3):void 0,c=Bk(a,6)?Xj(a,6):void 0,d=Bk(a,5)?Xj(a,5):void 0,e=Bk(a,4)?Xj(a,4):void 0,f=zk(a,10)?Ak(a,10):void 0,h=zk(a,11)?Ak(a,11):void 0,l=zk(a,12)?Ak(a,12):void 0,q=pc(a,7,Kb,Uj()).map(function(O){return Gva[O]}),u=pc(a,8,Kb,Uj()).map(function(O){return Gva[O]}),A=Hva(lk(a,Yk,18,Uj())),
F=Iva(lk(a,Zk,19,Uj())),H=Jva(lk(a,$k,20,Uj())),N=Kva(lk(a,al,21,Uj()));b={workAreaUrls:Tj(a,1,Uj(Vj)),myTasksTab:b,myTasksDaysOld:c,needsAttentionDaysOld:d,workAreaTab:e,needsAttentionSources:q,needsAttentionBuganizerFilteredSignals:A,needsAttentionDriveFilteredSignals:F,needsAttentionGerritFilteredSignals:H,needsAttentionChangelistFilteredSignals:N,myTasksSources:u,hideBadgeInNav:f,isNeedsAttentionSourcesConfigured:h,isMyTasksSourcesConfigured:l};c=sc(a,9,eda);c.size&&(b.workAreaQuickFilters=Lva(c));
a=a.getCollapsedMap();a.size&&(b.collapsed=Object.fromEntries(a.entries()));return b},Lva=function(a){var b={};a=k(a.entries());for(var c=a.next();!c.done;c=a.next()){var d=k(c.value);c=d.next().value;d=d.next().value;(d=Mva(d))&&(b[c]=d)}return b},Nva=function(a){switch(a){case "ASSIGNED_TO_ME_AND_OPEN":return 1;case "OPEN":return 2;case "FIXED":return 3;case "BROAD_IN_PROGRESS":return 4;case "NEWLY_FILED":return 5;case "RECENTLY_ACTIVE":return 6;case "HIGH_PRIORITY":return 7;case "TRENDING":return 8;
case "PROGRESS":return 9;case "ASSIGNED_TO_ME":return 0;default:return 0}},Mva=function(a){switch(a){case 1:return"ASSIGNED_TO_ME_AND_OPEN";case 2:return"OPEN";case 3:return"FIXED";case 4:return"BROAD_IN_PROGRESS";case 5:return"NEWLY_FILED";case 6:return"RECENTLY_ACTIVE";case 7:return"HIGH_PRIORITY";case 8:return"TRENDING";case 9:return"PROGRESS"}},Yva=function(a){var b=new bl;a.showFullHistory!=null&&cl(b,1,a.showFullHistory);a.useCodefont!=null&&cl(b,2,a.useCodefont);a.resultsPerPage!=null&&dl(b,
5,a.resultsPerPage);a.displayColumns!=null&&b.setDisplayColumns(Ova(a.displayColumns));if(a.sortColumns!=null){var c=Pva(a.sortColumns);X(b,el,6,c)}a.bannerMessageId!=null&&fl(b,7,a.bannerMessageId);if(a.notificationPreferences!=null){c=a.notificationPreferences;var d=new mva;d=gl(d,1,hl[c.reportedPriority]);d=gl(d,2,hl[c.assignedPriority]);d=gl(d,3,hl[c.verifiedPriority]);d=gl(d,4,hl[c.ccdPriority]);d=gl(d,9,hl[c.collaboratorPriority]);d=gl(d,5,hl[c.starredPriority]);d=cl(d,6,c.excludeChangesByMe);
d=cl(d,7,c.unsubscribeFromAll);c=cl(d,8,c.unsubscribeFromAll);X(b,mva,3,c)}a.listViewPreferences!=null&&(c=a.listViewPreferences,d=new nva,d=cl(d,1,c.showHotlists),d=cl(d,2,c.wrapTitles),d=cl(d,3,c.wrapComponents),d=cl(d,4,c.showStatusIcons),d=cl(d,5,c.rtlComponentPath),c.fieldStatus!=null&&il(c.fieldStatus,sc(d,6,dc)),c.modeForField!=null&&il(c.modeForField,sc(d,7,dc)),X(b,nva,9,d));a.layoutPreferences!=null&&(c=a.layoutPreferences,d=new Qva,c.leftSidebarWidth!=null&&dl(d,1,c.leftSidebarWidth),c.expandIssueSlo!=
null&&cl(d,2,c.expandIssueSlo),c.rightSidebarWidth!=null&&dl(d,3,c.rightSidebarWidth),X(b,Qva,10,d));a.dateTimePreferences!=null&&(c=a.dateTimePreferences,d=new jl,d=fl(d,1,c.calendarFormat),d=fl(d,2,c.timeFormat).setTimeZone(c.timeZone),c=gl(d,7,Rva[c.sloEtaViewAs]),X(b,jl,11,c));a.themePreferences!=null&&(c=a.themePreferences,c=(new Gk).setDensity(Sva[c.density]),X(b,Gk,8,c));if(a.homepagePreferences!=null){c=a.homepagePreferences;d=new Tva;if(c.resourceType!=null){var e=Uva(c.resourceType);gl(d,
1,e)}c.resourceId!=null&&kl(d,2,c.resourceId);X(b,Tva,13,d)}a.keyboardPreferences!=null&&(c=a.keyboardPreferences,d=new rva,c=cl(d,1,c.enableAllHotkeys),X(b,rva,17,c));a.newFeaturesAcknowledgedMillis!=null&&kl(b,16,a.newFeaturesAcknowledgedMillis);a.autoCcOnComment!=null&&cl(b,18,a.autoCcOnComment);a.textDisplayPreferences!=null&&(c=a.textDisplayPreferences,d=new Kk,c.commentDisplayOverride&&d.setCommentDisplayOverride(ll[c.commentDisplayOverride]),c.lastPublishMode&&d.setLastPublishMode(ll[c.lastPublishMode]),
X(b,Kk,20,d));a.commentFormattingPreferences!=null&&(c=a.commentFormattingPreferences,d=new Mk,c.commentCreateOverride&&gl(d,3,ll[c.commentCreateOverride]),c.commentDisplayOverride&&d.setCommentDisplayOverride(ll[c.commentDisplayOverride]),c.lastPublishMode&&d.setLastPublishMode(ll[c.lastPublishMode]),X(b,Mk,33,d));a.bugScreensaverPreferences!=null&&(c=a.bugScreensaverPreferences,d=new Nk,c.enableBugScreensaver!=null&&cl(d,1,c.enableBugScreensaver),c.announcementDismissed!=null&&cl(d,2,c.announcementDismissed),
X(b,Nk,21,d));a.g3nPreferences!=null&&(c=a.g3nPreferences,d=new Ok,c.announcementDismissedMillis!=null&&Xk(d,1,c.announcementDismissedMillis),X(b,Ok,24,d));a.teamWarningPreferences!=null&&(c=Vva(a.teamWarningPreferences),X(b,sva,23,c));if(a.dismissalTimestamps!=null)for(d=a.dismissalTimestamps,c=uc(b,25,rk,dc),d=k(Object.entries(d)),e=d.next();!e.done;e=d.next()){var f=k(e.value);e=f.next().value;var h=f.next().value;f=c;var l=f.set;h=(new rk).fromMillis(h.getTime());l.call(f,e,h)}a.collapsed!=null&&
il(a.collapsed,b.getCollapsedMap());a.showRecentEventsFirst!=null&&cl(b,26,a.showRecentEventsFirst);a.showInlineImages!=null&&cl(b,29,a.showInlineImages);a.commentFilterPreferences!=null&&(d=a.commentFilterPreferences,c=new Rk,d.commentFilter!=null&&(d=Wva(d.commentFilter),gl(c,1,d)),X(b,Rk,28,c));a.missionControlPreferences!=null&&(c=Xva(a.missionControlPreferences),X(b,Sk,31,c));a.scopePreferences!=null&&(a=Fva(a.scopePreferences),X(b,Tk,32,a));return b},Ova=function(a){return(new ml).setColumnList(a.column.map(function(b){return Zva(b)}))},
Zva=function(a){var b=(new nl).setType($va[a.type]);a.customFieldId!=null&&b.setCustomFieldId(a.customFieldId);return b},Pva=function(a){return(new el).setColumnList(a.column.map(function(b){var c=(new ol).setColumn(Zva(b.column));a:switch(b=b.order,b){case "ASCENDING":b=1;break a;case "DESCENDING":b=2;break a;default:b=Db(b,"Unknown sortOrder: "+b)}return gl(c,2,b)}))},Uva=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 Db(a,"Unknown resourceType: "+a)}},Vva=function(a){var b=new sva;a.componentTeamWarnings!=null&&awa(b,a.componentTeamWarnings.map(function(c){var d=new tva;c.componentId&&d.setComponentId(c.componentId);c.dismissMillis&&Xk(d,2,c.dismissMillis);return d}));return b},Wva=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 Db(a,"Unknown commentFilterType: "+
a)}},Xva=function(a){var b=new Sk;a.workAreaUrls&&bk(b,1,a.workAreaUrls);a.collapsed&&il(a.collapsed,b.getCollapsedMap());if(a.workAreaQuickFilters){for(var c=a.workAreaQuickFilters,d={},e=k(Object.keys(c)),f=e.next();!f.done;f=e.next())f=f.value,d[f]=Nva(c[f]);il(d,sc(b,9,eda))}a.myTasksTab!=null&&dl(b,3,a.myTasksTab);a.workAreaTab!=null&&dl(b,4,a.workAreaTab);a.myTasksDaysOld!=null&&dl(b,6,a.myTasksDaysOld);a.needsAttentionDaysOld!=null&&dl(b,5,a.needsAttentionDaysOld);a.needsAttentionSources&&
bwa(b,a.needsAttentionSources.map(cwa));a.myTasksSources&&dwa(b,a.myTasksSources.map(cwa));a.hideBadgeInNav!=null&&cl(b,10,!!a.hideBadgeInNav);a.isNeedsAttentionSourcesConfigured!=null&&cl(b,11,!!a.isNeedsAttentionSourcesConfigured);a.isMyTasksSourcesConfigured!=null&&cl(b,12,!!a.isMyTasksSourcesConfigured);a.needsAttentionBuganizerFilteredSignals&&ewa(b,fwa(a.needsAttentionBuganizerFilteredSignals,function(h,l){return(new Yk).setSignal(gwa[h]).setChecked(l)}));a.needsAttentionDriveFilteredSignals&&
hwa(b,fwa(a.needsAttentionDriveFilteredSignals,function(h,l){return(new Zk).setSignal(iwa[h]).setChecked(l)}));a.needsAttentionGerritFilteredSignals&&jwa(b,fwa(a.needsAttentionGerritFilteredSignals,function(h,l){return(new $k).setSignal(kwa[h]).setChecked(l)}));a.needsAttentionChangelistFilteredSignals&&lwa(b,fwa(a.needsAttentionChangelistFilteredSignals,function(h,l){return(new al).setSignal(mwa[h]).setChecked(l)}));return b},cwa=function(a){return nwa[a]},Hva=function(a){return a.reduce(function(b,
c){return b.set(owa[c.getSignal()],c.getChecked())},new Map)},Iva=function(a){return a.reduce(function(b,c){return b.set(pwa[c.getSignal()],c.getChecked())},new Map)},Jva=function(a){return a.reduce(function(b,c){return b.set(qwa[c.getSignal()],c.getChecked())},new Map)},Kva=function(a){return a.reduce(function(b,c){return b.set(rwa[c.getSignal()],c.getChecked())},new Map)},il=function(a,b){a=k(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=k(c.value);c=d.next().value;d=d.next().value;
b.set(c,d)}},fwa=function(a,b){var c=[];a.forEach(function(d,e){c.push(b(e,d))});return c},swa=function(a){a=Wc(a).toString();var b=new pl;fl(b,2,a);return b},rl=function(a){if(!a)return null;a=ql(a,2);return a===null||a===void 0?null:Uc(a)},twa=function(a){if(!a)return null;a=ql(a,3);return a===null||a===void 0?null:new Nc(a)},wwa=function(){sl==null&&(sl=new uwa(vwa.buganizerSessionJspb));Jk(sl,tl,2)||sl.setConfig(new tl);if(!Jk(sl,ul,9)){var a=sl,b=new ul;X(a,ul,9,b)}sl.hasUser()||sl.setUser(new vl);
Jk(sl,bl,7)||(a=sl,b=new bl,X(a,bl,7,b));return sl},xl=function(a){return function(){var b=wl.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}}},yl=function(a){return function(b){b===!0?wl.setItem(a,"1"):wl.removeItem(a)}},xwa=function(a){return a&&typeof a==="object"&&"overrideUntilDate"in a&&"flagName"in a&&"value"in a?!0:!1},ywa=function(a){return{overrides:a.overrides.filter(function(b){return b.overrideUntilDate?
Date.parse(b.overrideUntilDate)>Date.now():!0})}},zwa=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.")},Dwa=function(){if(Awa("flag-overrides")()){var a=Bwa("flag-overrides")();if(a&&typeof a==="object"&&"overrides"in a&&Array.isArray(a.overrides)&&a.overrides.every(xwa))return ywa(a);Cwa();console.warn("Could not parse flag overrides.")}},Cwa=function(){zl("flag-overrides")()},
Ewa=function(a,b){var c=new Date(Date.now()+864E5);c=c===void 0?null:c;zwa();var d,e=((d=Dwa())==null?void 0:d.overrides)||[];zl("flag-overrides")({overrides:[].concat(t(e.filter(function(f){return f.flagName!==a})),[{flagName:a,value:b,overrideUntilDate:c}])})},Fwa=function(a,b){Ewa(a,b)},Gwa=function(a){zwa();var b,c=((b=Dwa())==null?void 0:b.overrides)||[];zl("flag-overrides")({overrides:c.filter(function(d){return d.flagName!==a})})},Dl=function(){if(Hwa==null){Iwa();var a=wwa();var b=a.hasUser()?
a.getUser():new vl;b=Ak(b,4)?{anonymous:!0,email:null,userTypeLabel:"ANONYMOUS",sessionIdentifier:""}:{anonymous:!1,email:b.getEmail(),userTypeLabel:b.getUserTypeLabel(),sessionIdentifier:b.getSessionIdentifier()};var c=Jk(a,tl,2)?a.getConfig():new tl;for(var d=new Map,e=k(sc(c,4,cc).entries()),f=e.next();!f.done;f=e.next()){var h=k(f.value);f=h.next().value;h=h.next().value;d.set(f,h)}c={appName:c.getAppName(),documentationBaseUrl:c.getDocumentationBaseUrl(),enabledFlags:d,environmentType:c.getEnvironmentType(),
onePickUrl:c.getOnePickUrl(),onePickSecretToken:c.getOnePickSecretToken(),commentNumberLimit:c.getCommentNumberLimit(),createComponentRedirectDelay:c.getCreateComponentRedirectDelay(),createRestrictedSubresourcesComponentIds:jk(c,13,Uj(Vj)),indefiniteRetentionComponentsAllowlist:jk(c,20,Uj(Vj)),trustedEmailDomainsAllowlist:Tj(c,22,Uj(Vj)),helpMeFixSidebarComponentAllowlist:jk(c,23,Uj()),internalBaseUrl:c.getInternalBaseUrl(),externalBaseUrl:c.getExternalBaseUrl()};d=zva(Jk(a,bl,7)?a.getUserPreferences():
new bl);f=Jk(a,ul,9)?W(a,ul,9):new ul;e=lk(f,Al,1,Uj()).map(Sua);Jk(f,Bl,2)?(f=f.getAnnouncement(),f={message:f.getMessage(),messageId:f.getMessageId(),dismissible:Ak(f,3),tags:f.getTagsList(Vj)}):f=null;e={timezones:e,announcement:f};f=a.getXsrfToken();h=a.getCspNonce();var l=a.getFrontendAccessMode(),q=a.getMustAcknowledgeTerms(),u=a.getShowNewFeaturesDialog(),A=a.getAppBaseHref(),F=Jk(a,Cl,11)?Yua(a.getTracker()):null,H;Jk(a,Jwa,12)?(H=a.getPassiveLoginIframeUrl())?(H=ql(H,4),H=H===null||H===void 0?
null:Lc(H)):H=null:H=null;Hwa={user:b,config:c,xsrfToken:f,cspNonce:h,frontendAccessMode:l,mustAcknowledgeTerms:q,showNewFeaturesDialog:u,userPreferences:d,preload:e,appBaseHref:A,tracker:F,passiveLoginIframeUrl:H,userRequiresCaptcha:Ak(a,13)}}return Hwa},Kwa=function(){return(Dl().frontendAccessMode||"INTERNAL")==="INTERNAL"},El=function(a){a=a.config.environmentType||"QA";switch(a){case "NIGHTLY":case "PROD":return!0;case "QA":case "DEV":return!1;default:Db(a,"Unknown environment type.")}},Fl=function(a,
b){if(b)Cea(a,b);else for(;a.lastChild;)a.lastChild.remove()},Lwa=function(a){for(a=a.firstChild;a;){if(a.nodeType!==Node.TEXT_NODE)return!1;a=a.nextSibling}return!0},Gl=function(a){return a.endsWith("px")?Math.floor(Number(a.substr(0,a.length-2))):Number.NaN},Hl=function(a){return a.ctrlKey||a.metaKey||a.shiftKey||a.altKey},Mwa=function(a){if(a.plainFormat)return a.plainFormat.plainSection.map(function(c){var d=document.createElement("div");Fl(d,c.content);return d.innerText}).join("\n");if(a.markdownFormat){var b=
document.createElement("div");Fl(b,a.markdownFormat.content);return b.innerText}return a.literalFormat?(b=document.createElement("div"),Fl(b,a.literalFormat.content),b.innerText):""},Nwa=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},Il=function(a){var b=a.match(Owa);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"}}},
Rwa=function(a,b){a=a.map(Pwa)||[];b=b.map(Pwa)||[];return Vta(a,new Set(b)).map(Qwa)},Pwa=function(a){return a.host+","+a.repo+","+a.changeNumber+","+a.state},Qwa=function(a){var b=k(a.split(","));a=b.next().value;var c=b.next().value,d=b.next().value;b=b.next().value;d=fk(d);if(!d)throw Error("mc");if(!Object.values(Swa).includes(b))throw Error("nc");return{host:a,repo:c,changeNumber:d,state:b}},Twa=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},Jl=function(a){Iwa();var b,c;return(c=(b=wwa().getConfig())==null?void 0:sc(b,4,cc).get(a))!=null?c:!1},Uwa=function(a,b){b=b===void 0?Jl("enableGerritChanges"):b;var c;return se(function(d){return b?(c=a&&(!!Twa(a)||!!Il(a)))?d.return(""):d.return("Must be a CL number or Gerrit URL"):d.return("")})},
Wwa=function(a){return a==null?!1:Vwa.has(a.name)},Xwa=function(a){return(a==null?void 0:a.name)==="hotlist"},Ywa=function(a){return a==null?!1:a.href!=null&&a.value!=null},Zwa=function(a){return Array.isArray(a)?a.every(Ywa):!1},Kl=function(a){return{value:String(a),href:"issues/"+a}},$wa=function(a){return{value:a,href:"https://critique.corp.google.com/"+a}},axa=function(a){var b=Kwa();return{value:a.changeNumber,href:Nwa(a,b===void 0?!1:b)}},bxa=function(a){return{value:String(a),href:"issues?q=hotlistid:"+
a}},cxa=function(a){return{value:a,href:"https://pm.corp.google.com/"+a}},fxa=function(a,b){var c=new Map(a.filter(function(u){return u.placeholder}).map(function(u){var A;return[(A=Ll[u.placeholder.role])!=null?A:"",u.placeholder.count]})),d=new Map(b.filter(function(u){return u.placeholder}).map(function(u){var A;return[(A=Ll[u.placeholder.role])!=null?A:"",u.placeholder.count]}));a=new Map(a.filter(function(u){return u.user}).map(function(u){var A,F;return[(A=Sj(u.user.user))!=null?A:"",(F=dxa[u.allocation.involvement])!=
null?F:""]}));var e=new Map(b.filter(function(u){return u.user}).map(function(u){var A,F;return[(A=Sj(u.user.user))!=null?A:"",(F=dxa[u.allocation.involvement])!=null?F:""]}));b=[];for(var f=[],h=k(c),l=h.next();!l.done;l=h.next()){var q=k(l.value);l=q.next().value;q=q.next().value;l.length!==0&&l!==Ll.JOB_ROLE_UNSPECIFIED&&(d.has(l)?d.get(l)!==q&&b.push(l+" ("+d.get(l)+" > "+q+")"):b.push(l+" ("+q+")"))}d=k(d);for(h=d.next();!h.done;h=d.next())l=k(h.value),h=l.next().value,l=l.next().value,h.length!==
0&&h!==Ll.JOB_ROLE_UNSPECIFIED&&(c.has(h)||f.push(h+" ("+l+")"));c=k(a);for(d=c.next();!d.done;d=c.next())h=k(d.value),d=h.next().value,h=h.next().value,d.length!==0&&(e.has(d)?(l=void 0,q=(l=e.get(d))!=null?l:"",q!==h&&b.push(d+exa(h,q))):b.push(d+exa(h)));e=k(e);for(c=e.next();!c.done;c=e.next())d=k(c.value),c=d.next().value,d=d.next().value,c.length!==0&&(a.has(c)||f.push(c+exa(d)));return{additions:b,removals:f}},exa=function(a,b){return b===a?"":b&&b.length>0&&a.length>0&&b!==Ll.JOB_ROLE_UNSPECIFIED&&
a!==Ll.JOB_ROLE_UNSPECIFIED?" ("+b+" > "+a+")":a.length>0&&a!==Ll.JOB_ROLE_UNSPECIFIED?" ("+a+")":""},Ml=function(a){return a?a.seconds*1E3+a.nanos/1E6:0},Nl=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":""))+")"},gxa=function(a){if(a){var b=new Cj;b.setTime(a.getTime());return b}},hxa=function(a){if(a!=null)return new Date(a.year,a.month-1,a.day)},ixa=function(a){if(a==null)return"";var b=a.toLocaleDateString(void 0,{dateStyle:"medium"});
return(new Date).getFullYear()===a.getFullYear()?b.split(", ")[0]:b},jxa=function(a){return a==null?!1:Date.now()>Ml(a)},Ol=function(a){return!(a==null||!a.commentNumber)},kxa=function(a,b){return b.unlinkifiedComment!==""?!0:a&&b.formattedComment?Mwa(b.formattedComment)!=="":!1},Pl=function(a){var b;return((b=a.attachments)==null?void 0:b.length)>0},lxa=function(a,b){return Object.assign({},a,{commentRedacted:b.redacted,unlinkifiedComment:b.unlinkifiedComment,formattedComment:b.formattedComment})},
mxa=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(t(a.slice(0,d)),[c],t(a.slice(d+1)))},Ql=function(a){var b;return a==null?void 0:(b=a.snapshot)==null?void 0:b[0]},nxa=function(a){var b;return Pj((b=Ql(a))==null?void 0:b.assigneeUser)||void 0},oxa=function(a){if(a==null)return"";var b,c,d,e,f=a.etag,h=a.piiRetention;var l=a.piiRetentionState;l=l==null?"":[JSON.stringify(l.retentionPeriod),JSON.stringify(l.scheduledDeletionTime)].join("-");
return[f,h,l,(b=a.entityStatus)==null?void 0:b.reason,(c=a.entityStatus)==null?void 0:c.status,(d=a.contentVerdict)==null?void 0:(e=d.piiVerdict)==null?void 0:e.severity].join("-")},pxa=function(a){if(a==null)return"";var b=a.attachments.map(oxa).join("-"),c=[];if(a.commentReactions&&a.commentReactions.size>0){var d,e=k((d=a.commentReactions)==null?void 0:d.entries());for(d=e.next();!d.done;d=e.next()){var f=k(d.value);d=f.next().value;f=f.next().value;c.push(d+"-"+f.count)}}c=c.join("-");var h,l;
return[a.modifiedDate,a.version,"["+b+"]",a.preDiffs.length,a.postDiffs.length,a.commentVersion,(h=a.commentContentVerdict)==null?void 0:(l=h.piiVerdict)==null?void 0:l.severity,a.commentDeletionStatus,a.commentRetention,"["+c+"]"].join("-")},qxa=function(a){return a.map(function(b){return b.commentNumber}).filter(ik).reduce(function(b,c){return Math.max(b,c)},1)},rxa=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||pxa(d)!==pxa(e)))return!1}return!0},Sl=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=Rl[a])==null?void 0:d.open)!=null?e:!1},sxa=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=Rl[a];return b==null?!1:!(b==null?0:b.open)},uxa=function(a){return txa(a,
"FIXED")},txa=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)},Tl=function(a){return a.isArchived==null?!1:!a.isArchived},vxa=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},xxa=function(){var a=Ul;return wk(function(b){var c,d;return(d=wxa.get((c=a(b))==null?void 0:c.snapshot[0].status))!=
null?d:0},xk)},yxa=function(){var a=Ul;return wk(function(b){var c,d;return(c=a(b))==null?void 0:(d=c.snapshot[0].assigneeUser)==null?void 0:d.emailAddress},yk)},zxa=function(){var a=Ul;return wk(function(b){var c;return(c=a(b))==null?void 0:c.snapshot[0].type},yk)},Axa=function(){var a=Ul;return wk(function(b){var c,d;return(c=a(b))==null?void 0:(d=c.snapshot[0].reporterUser)==null?void 0:d.emailAddress},yk)},Bxa=function(a){return wk(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},xk)},Cxa=function(a){return wk(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},xk)},Exa=function(){return wk(function(a){var b,c;return(c=a==null?void 0:(b=a.experimentalFields)==null?void 0:b.triage.triagerEmail)!=null?c:""},function(a,b){return a===Dxa?1:b!==Dxa&&a?b?yk(a,b):1:-1})},Fxa=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"},Hxa=function(a){return wk(function(b){return Gxa[Fxa(a(b))]},xk)},Ixa=function(){var a=Ul;return wk(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},xk)},Jxa=function(a,b){var c=Ql(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(t(b.map(function(e){return e.userPerformingActionUser})));return Jj(a.filter(ik),
Sj)},Kxa=function(a,b){b=Jxa(a,b);var c,d,e;a=(e=(c=Ql(a))==null?void 0:(d=c.ccUsers)==null?void 0:d.length)!=null?e:0;return b.length+a},Vl=function(a){var b;return(a==null?void 0:(b=a.userPerformingActionUser)==null?void 0:b.emailAddress)==="piper-bugupdater@prod.google.com"},Lxa=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"},Wl=function(a){if(!Lxa(a))return!1;var b;return((b=
a==null?void 0:a.unlinkifiedComment)!=null?b:"").trim().split("\n").length>=9},Mxa=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})}},Oxa=function(a,b,c){b=Nxa.get(c)||new Set(c.map(function(e){return e.issueId}));Nxa.set(c,b);var d;a=k((d=a.parentIssueIds)!=null?d:[]);for(d=a.next();!d.done;d=a.next())if(b.has(d.value))return!1;return!0},Qxa=function(a,b){Pxa.get(b)||Pxa.set(b,[b.map(function(e){var f,
h;return(h=e==null?void 0:(f=e.userActivityStats)==null?void 0:f.oneDayViewCount)!=null?h:0}),b.map(function(e){var f,h;return(h=e==null?void 0:(f=e.userActivityStats)==null?void 0:f.sevenDayViewCount)!=null?h:0}),b.map(function(e){var f,h;return(h=e==null?void 0:(f=e.userActivityStats)==null?void 0:f.thirtyDayViewCount)!=null?h:0})]);var c=k(Pxa.get(b));b=c.next().value;var d=c.next().value;c=c.next().value;return Ei(b[a],b)||Ei(d[a],d)||Ei(c[a],c)},Rxa=function(a){if(a)return{issueId:a.issueId,
version:a.version,snapshot:a.snapshot,userData:a.userData,aggregatedData:a.aggregatedData,accessLimit:a.accessLimit,customFields:a.customFields,visibleFields:a.visibleFields,majorModifiedTimeMicros:a.majorModifiedTimeMicros,parentIssueIds:a.parentIssueIds,descendantCount:a.descendantCount,openDescendantCount:a.openDescendantCount,isArchived:a.isArchived,trackerId:a.trackerId,userActivityStats:a.userActivityStats,experimentalFields:a.experimentalFields,escalationOwner:a.escalationOwner}},Sxa=function(a,
b){if(a&&b)return{issueId:a.issueId,version:a.version,snapshot:a.snapshot,userData:a.userData,aggregatedData:a.aggregatedData,accessLimit:a.accessLimit,customFields:a.customFields,visibleFields:a.visibleFields,majorModifiedTimeMicros:a.majorModifiedTimeMicros,parentIssueIds:a.parentIssueIds,descendantCount:a.descendantCount,openDescendantCount:a.openDescendantCount,isArchived:a.isArchived,trackerId:a.trackerId,userActivityStats:a.userActivityStats,experimentalFields:a.experimentalFields,escalationOwner:a.escalationOwner,
ancestors:b.ancestors,childIssueCount:b.childIssueCount,relatedLinks:b.relatedLinks,statusUpdate:b.statusUpdate,description:b.description}},Txa=function(a){var b=new Map;a=k(a);for(var c=a.next();!c.done;c=a.next()){c=c.value.snapshot[0].componentId;var d=void 0,e=(d=b.get(c))!=null?d:0;b.set(c,e+1);if(!f||b.get(f)<b.get(c))var f=c}return f},Xl=function(a){if(!a)return"NEW";var b,c,d=(c=(b=a.experimentalFields)==null?void 0:b.triage.phase)!=null?c:"UNSPECIFIED",e;b=(e=a.snapshot[0])==null?void 0:
e.status;if(Sl(a)&&(d==="NEW"||d==="UNSPECIFIED"))return"NEW";if(Sl(a)&&d==="CONFIRMED")return"CONFIRMED";if(Sl(a)&&d==="IN_PROGRESS")return"IN_PROGRESS";if(d==="FIXED"||b==="FIXED"||b==="VERIFIED")return"FIXED";if(d==="WONT_FIX"||b==="NOT_REPRODUCIBLE"||b==="INTENDED_BEHAVIOR"||b==="OBSOLETE"||b==="INFEASIBLE")return"WONT_FIX";if(b!=="DUPLICATE")return"NEW"},Yl=function(a){if(a){var b=Xl(a),c,d,e=((c=a.experimentalFields)==null?void 0:c.triage.subphase)!=="TRIAGE_SUBPHASE_UNSPECIFIED"?(d=a.experimentalFields)==
null?void 0:d.triage.subphase:void 0,f;if(((f=a.snapshot[0])==null?void 0:f.status)!=="DUPLICATE"){if(b==="NEW"||b==="UNSPECIFIED")return e==="REPORTER_RESPONDED"?"REPORTER_RESPONDED":e==="NEEDS_INFO"?"NEEDS_INFO":"PENDING_TRIAGE";if(b==="CONFIRMED"||b==="IN_PROGRESS")return e;if(b==="FIXED"||b==="WONT_FIX")return Sl(a)?"REOPENED":e;throw Error("oc");}}},Uxa=function(a){return a==null?{closed:0,total:0}:{closed:a.descendantCount-a.openDescendantCount,total:a.descendantCount}},Vxa=function(a,b){if(a==
null)return 0;var c=0;a=k(a.aggregatedStatus);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=d.issueIds===void 0?[]:d.issueIds;d.status===b&&(c+=e.length)}return c},Wxa=function(a){var b,c;return(c=a==null?void 0:(b=a.changelists)==null?void 0:b.length)!=null?c:0},Xxa=function(a){var b;return(b=a==null?void 0:a.gerritChanges)!=null?b:[]},Yxa=function(a){if(a==null)return[];a=[].concat(t(a.assignees.map(function(b){return b.emailAddress})),t(a.collaborators.map(function(b){return b.emailAddress})),
t(a.verifiers.map(function(b){return b.emailAddress})),t(a.reporters.map(function(b){return b.emailAddress}))).filter(ik);return Iua(a)},Zxa=function(a,b){var c;a=(c=a.componentPathInfo)==null?void 0:c.allCustomField;if(!a)return!0;c=k(a);var d=c.next();for(a={};!d.done;a={customField:void 0},d=c.next())if(a.customField=d.value,a.customField.required){d=!!a.customField.typedDefaultValue;var e=void 0,f=void 0,h=(e=b)==null?void 0:(f=e.snapshot.customField)==null?void 0:f.some(function(l){return function(q){return q.customFieldId===
l.customField.customFieldId}}(a));if(!d&&!h)return!1}return!0},$xa=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},aya=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"}},bya=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=$xa(b);return{title:"Allow "+(b===1?"members of the group to ":aya(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)+"."}},cya=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";case "GOOGLE_TASKS":return"google-tasks-logo";default:return"link"}},dya=function(a,b){return b.length?a.filter(function(c){return[].concat(t(b)).some(function(d){return Zl(c,d)})}):a},eya=function(a,b){return b.length?a.filter(function(c){return[].concat(t(b)).every(function(d){return d.check(c)})}):
a},Zl=function(a,b){var c,d;return!((c=a.experimentalFields)==null?0:(d=c.triage)==null?0:d.dismissed)&&b.check(a)},cm=function(a){switch($l(a,am)){case 0:throw Error("pc");case 1:return{user:ek(a.getUser())};case 2:return{group:ek(a.getGroup())};case 3:return{alias:bm(a,3,am)};default:throw Error("qc");}},fm=function(a){var b=new dm;Zta(a)&&b.setUser(dk(a.user));a.group!==void 0&&b.setGroup(dk(a.group));a.alias!==void 0&&em(b,3,am,a.alias);return b},fya=function(a){var b=new gm;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("tc");}return b},gya=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("tc");}},iya=function(a){if(a)return{accessLevel:hya[a.getAccessLevel()]}},
kya=function(a){return(new hm).setAccessLevel(jya[a.accessLevel])},nya=function(a){if(a)return(a=W(a,lya,1))?(a=a.getSeverity(),a={piiVerdict:a?{severity:mya(a)}:{severity:"NONE_DETECTED"}}):a={piiVerdict:{severity:"NONE_DETECTED"}},a},mya=function(a){switch(a){case 0:case 1:return"NONE_DETECTED";case 2:return"RESTRICTED";case 3:return"RESTRICTED_PLUS";default:throw Error("uc`"+a);}},oya=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("uc`"+a);}},pya=function(a){var b=new im;b=jm(b,1,a.contentJudgementId).setResourcePath(a.resourcePath);var c=oya(a.severity);b=ck(b,3,c);b=ak(b,4,a.judgementReason);a.judge&&(a=dk(a.judge),X(b,Zj,9,a));return b},qya=function(a){return{contentJudgementId:Qk(a,1)?String(Qk(a,1)):void 0,resourcePath:a.getResourcePath()||void 0,severity:mya(a.getRestrictionSeverity()),judgementReason:Kh(a,4),judge:ek(W(a,Zj,9))}},rya=function(a){var b=new im;var c=
oya(a.severity);b=ck(b,3,c);return ak(b,4,a.judgementReason)},tya=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("vc`"+b);}}return{status:b,reason:sya(a.getReason())}}},sya=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("wc`"+a);}},uya=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("wc`"+a);}},vya=function(a){if(a!=null){var b,c;return{retentionPeriod:(b=fva(a.getRetentionPeriod()))!=null?b:null,scheduledDeletionTime:(c=qk(W(a,rk,2)))!=null?c:null}}},xya=function(a){return{retentionSelection:wya[Fk(a,1,0)],retentionPeriodDays:Xj(a,2),piiRetentionSelection:wya[Fk(a,
3,0)],piiRetentionPeriodDays:Xj(a,4),spiiRetentionPeriodDays:Xj(a,5)}},zya=function(a){var b=new km;b=ck(b,1,yya[a.retentionSelection]);b=pk(b,2,a.retentionPeriodDays);b=ck(b,3,yya[a.piiRetentionSelection]);b=pk(b,4,a.piiRetentionPeriodDays);return pk(b,5,a.spiiRetentionPeriodDays)},Aya=function(a){switch(a){case 0:return"RETENTION_UNSPECIFIED";case 1:return"COMPONENT_DEFAULT";case 2:return"INDEFINITE";default:throw Error("xc`"+a);}},Bya=function(a){switch(a){case "RETENTION_UNSPECIFIED":return 0;
case "COMPONENT_DEFAULT":return 1;case "INDEFINITE":return 2;default:throw Error("xc`"+a);}},Dya=function(a){var b=fk(a.getAttachmentId_asLegacyNumberOrString());var c=a.getFilename();var d=Qk(a,3)||void 0,e=Kh(a,2);c=c&&e?{filename:c,length:d,contentType:e}:void 0;return{attachmentId:b,media:c,contentType:Kh(a,2),filename:a.getFilename(),length:Qk(a,3),etag:Cya(a.getEtag())||"",contentVerdict:nya(a.getContentVerdict()),entityStatus:tya(a.getEntityStatus()),piiRetentionState:vya(a.getRestrictedRetentionState()),
piiRetention:Aya(a.getRestrictedRetention())}},Fya=function(a){var b=new lm;var c=new Eya;a=a?new jb(a,kb):ib();c=mm(c,2,a);b=X(b,Eya,5,c);c=b.setEntityStatus;a=new nm;a=a.setStatus.call(a,0).setReason(0);return c.call(b,a)},Gya=function(a){return["REPEATED_TEXT","REPEATED_DATE","REPEATED_ENUM","REPEATED_NUMERIC"].includes(a.type)},Iya=function(a){if(a!=null)return{customFieldId:hk(fk(a.getCustomFieldId_asLegacyNumberOrString())),standardField:Hya[Fk(a,om(a,pm,2),0)]}},Kya=function(a){var b=new qm;
a.customFieldId?b.setCustomFieldId(a.customFieldId):a.standardField&&rm(b,2,pm,Nca(Jya[a.standardField]));return b},Lya=function(a){if(a){var b=fk(a.getCustomFieldId_asLegacyNumberOrString());if(b==null)nj("No customFieldId. customFieldValueToJs");else{b={customFieldId:b,displayValues:lk(a,pl,11,Uj()).map(function(H){return Wc(rl(H)).toString()})};switch(a.getValueCase()){case 2:b.textValue=hk(bm(a,2,sm));break;case 3:b.dateValue=cva(a.getDateValue());break;case 4:b.enumValue=hk(bm(a,4,sm));break;
case 5:b.numericValue=hk(tm(a,om(a,sm,5)));break;case 6:var c,d;b.repeatedTextValue={values:(d=(c=um(a,vm,6,sm))==null?void 0:c.getValuesList(Vj))!=null?d:[]};break;case 8:var e,f;b.repeatedEnumValue={values:(f=(e=um(a,vm,8,sm))==null?void 0:e.getValuesList(Vj))!=null?f:[]};break;case 9:var h,l;b.repeatedNumericValue={values:(l=(h=um(a,wm,9,sm))==null?void 0:h.getValuesList(Vj))!=null?l:[]};break;case 7:var q,u,A,F;b.repeatedDateValue={values:(F=(q=um(a,xm,7,sm))==null?void 0:(u=q.getValuesList())==
null?void 0:(A=u.map(cva))==null?void 0:A.filter(ik))!=null?F:[]}}return b}}},Am=function(a){var b=(new ym).setCustomFieldId(a.customFieldId);a.textValue!=null?em(b,2,sm,a.textValue):a.dateValue!=null?(a=dva(a.dateValue),zm(b,3,sm,a)):a.enumValue!=null?em(b,4,sm,a.enumValue):a.numericValue!=null?rm(b,5,sm,Eb(a.numericValue)):a.repeatedTextValue!=null?(a=(new vm).setValuesList(a.repeatedTextValue.values),zm(b,6,sm,a)):a.repeatedEnumValue!=null?(a=(new vm).setValuesList(a.repeatedEnumValue.values),
zm(b,8,sm,a)):a.repeatedNumericValue!=null?(a=(new wm).setValuesList(a.repeatedNumericValue.values),zm(b,9,sm,a)):a.repeatedDateValue!=null&&(a=(new xm).setValuesList(a.repeatedDateValue.values.map(dva)),zm(b,7,sm,a));return b},Oya=function(a){var b=a.getCustomFieldId_asLegacyNumberOrString(),c=Mya[a.getType()],d=!!Ak(a,4),e=a.getName(),f=a.getDescription()||"",h=Lya(W(a,ym,10));var l=Tj(a,8,Uj(Vj));b={customFieldId:b,type:c,required:d,name:e,description:f,typedDefaultValue:h,allowedValue:l,fieldSignificance:Nya[Fk(a,
9,0)],shared:a.getShared(),stateOnIssues:"INHERIT",enabledOnIssues:!0};a.getComponentId_asLegacyNumberOrString()&&(b.componentId=fk(a.getComponentId_asLegacyNumberOrString()));return b},Pya=function(a){return Oya(a)},Sya=function(a){var b=new Bm;a.customFieldId&&b.setCustomFieldId(String(a.customFieldId));b.setComponentId(String(a.componentId));b.setType(Qya[a.type]);Cm(b,4,a.required);b.setName(a.name);b.setDescription(a.description);if(a.typedDefaultValue){var c=Am(a.typedDefaultValue);X(b,ym,10,
c)}a.allowedValue&&bk(b,8,a.allowedValue);a.fieldSignificance&&b.setFieldSignificance(Rya[a.fieldSignificance]);b.setShared(a.shared);return b},Tya=function(a){return{specId:Qk(a,1),estimate:Kh(a,2),averageDays:tm(a,3),totalOpen:tm(a,4),totalComplete:tm(a,5)}},Zya=function(a){var b=new Dm;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&&Uya(b,Vya(new Wya,a.numericSpec.multiplier));if(a.enumSpec){var c;
Xya(b,Yya(new Em,((c=a.enumSpec.options)!=null?c:[]).map(function(d){return(new Fm).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}ck(b,6,a)}return b},Im=function(a){var b=void 0,c=a.getContentVerdict();c&&(b=nya(c));c=void 0;var d=a.getFormattedComment();d&&(c=Gm(d));d=void 0;var e=W(a,Zj,3);e&&(d=ek(e));e=void 0;var f=a.getEtag();f&&(e=Cya(f));f=void 0;var h=a.getEntityStatus();h&&(f=tya(h));h=void 0;
var l=a.getRestrictedRetentionState();l&&(h=vya(l));return{issueId:String(a.getIssueId_asLegacyNumberOrString()),commentNumber:a.getCommentNumber(),commentContentVerdict:b,formattingMode:$ya(a.getFormattingMode()),formattedComment:c,lastEditorUser:d,lastModified:vk(a.getModifiedTime()),version:a.getVersion(),unlinkifiedComment:a.getComment(),entityStatus:f,piiRetentionState:h,piiRetention:Aya(a.getRestrictedRetention()),redacted:Ak(a,13),etag:e,commentReactions:aza(W(a,Hm,17))}},Gm=function(a){if(Jm(a,
bza,1,Km)){var b=um(a,bza,1,Km);var c;b={plainSection:((c=lk(b,Lm,1,Uj()))!=null?c:[]).map(cza)}}else b=void 0;return{plainFormat:b,markdownFormat:Jm(a,Mm,2,Km)?{content:rl(um(a,Mm,2,Km).getContent())}:void 0,literalFormat:Jm(a,Nm,3,Km)?{content:rl(um(a,Nm,3,Km).getContent())}:void 0}},cza=function(a){return{isQuoted:Ak(a,1),content:rl(a.getContent())}},dza=function(a){var b=new Lm;return Cm(b,1,a.isQuoted).setContent(swa(a.content))},$ya=function(a){switch(a){case 0:case 1:return"PLAIN";case 2:return"MARKDOWN";
case 3:return"LITERAL";default:throw Error("yc`"+a);}},Om=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("yc`"+a);}},aza=function(a){var b,c;a==null?c=void 0:c=lk(a,Pm,2,Uj());a=(b=c)!=null?b:[];b=new Map;a=k(a);for(c=a.next();!c.done;c=a.next()){c=c.value;a:{var d=c.getType();switch(d){case 0:d="REACTION_TYPE_UNSPECIFIED";break a;case 1:d="UPVOTE";break a;default:throw Error("zc`"+
d);}}var e=void 0,f=void 0,h=void 0,l=void 0,q=(f=Ak(c,1))!=null?f:!1;f=(h=Qk(c,2))!=null?h:0;c=lk(c,Zj,3,Uj());c={type:d,hasReacted:q,count:f,recentResponders:(l=(e=c)==null?void 0:e.map(ek).filter(ik))!=null?l:[]};b.set(d,c)}return b},eza=function(a){return a.map(function(b){return W(b,Zj,1)}).filter(ik).map(ek).map(function(b){return{mentionedUser:b}})},fza=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"}},gza=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}},hza=function(a){a=Tj(a,1,Uj(Vj));return{paths:a!=null?a:[]}},jza=function(a){return{startTime:qk(a.getStartTime()),targetTime:qk(W(a,rk,3)),endTime:qk(a.getEndTime()),objective:fva(a.getObjective()),businessDays:a.getBusinessDays(),dayType:iza[a.getDayType()]}},
lza=function(a){var b=new Qm;a.startTime&&b.setStartTime(sk(a.startTime));if(a.targetTime){var c=sk(a.targetTime);X(b,rk,3,c)}a.endTime&&b.setEndTime(sk(a.endTime));a.objective&&b.setObjective(eva(a.objective));a.businessDays&&b.setBusinessDays(a.businessDays);a.dayType&&b.setDayType(kza[a.dayType]);return b},nza=function(a){var b=(new Rm).setInherit(a.inherit).setSource(mza[a.source]).setId(Sm(a.id)).setComment(a.comment);return jm(b,6,Sm(a.sourceComponentId)).setSourceTeamId(Sm(a.sourceTeamId))},
pza=function(a){return{author:ek(a.getAuthor()),timestamp:qk(a.getTimestamp()),add:oza(a.getAdd()),remove:oza(a.getRemove()),addMask:hza(a.getAddMask()),removeMask:hza(a.getRemoveMask())}},oza=function(a){var b=String(a.getSloId_asLegacyNumberOrString()),c=a.getName(),d=a.getDescription(),e=String(Qk(a,2));var f=lk(a,Tm,5,Uj());f=(f!=null?f:[]).map(qza);var h=lk(a,Tm,6,Uj());h=(h!=null?h:[]).map(qza);var l=a.getIsArchived();a:switch(a=Fk(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("Ac`"+a);}return{sloId:b,name:c,description:d,parentId:e,elements:f,effectiveElements:h,isArchived:l,alertState:a}},qza=function(a){var b=rza(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("Cc`"+d);}}return{metric:b,matcher:c,dayType:d,objective:fva(a.getObjective()),businessDays:a.getBusinessDays()}},rza=function(a){switch(a){case 0:return"METRIC_UNSPECIFIED";
case 1:return"ASSIGNMENT";case 2:return"RESPONSE";case 3:return"CLOSURE";default:throw Error("Bc`"+a);}},tza=function(a){var b=new Tm,c=sza(a.metric);b=ck(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("Cc`"+d);}}return c.call(b,d).setObjective(eva(a.objective)).setBusinessDays(a.businessDays)},sza=function(a){switch(a){case "METRIC_UNSPECIFIED":return 0;case "ASSIGNMENT":return 1;
case "RESPONSE":return 2;case "CLOSURE":return 3;default:throw Error("Dc`"+a);}},uza=function(a){switch(a){case "SWE":return 1;case "SRE":return 2;case "PM":return 3;case "TPGM":return 4;case "UX":return 5;default:return 0}},vza=function(a){switch(a){case "HIGH":return 1;case "MEDIUM":return 2;case "LOW":return 3;default:return 4}},yza=function(a){var b=new Um;if(a.user){var c=b.setUser;var d=a.user;d=(new Vm).setUser(dk(d.user));c=c.call(b,d);a=a.allocation;d=new wza;d=rm(d,1,xza,Nca(vza(a.involvement)));
a=Wm(d,3,a.aggregationValue);X(c,wza,3,a)}else a.placeholder&&(c=a.placeholder,c=(new Xm).setRole(uza(c.role)).setCount(c.count),zm(b,2,Ym,c));return b},zza=function(a){var b=new Zm;a=a.plannedAllocations.map(yza);return $m(b,1,a)},Aza=function(a){switch(a){case 1:return"HIGH";case 2:return"MEDIUM";case 3:return"LOW";default:return"ZERO"}},Bza=function(a){switch(a){case 1:return"SWE";case 2:return"SRE";case 3:return"PM";case 4:return"TPGM";case 5:return"UX";default:return"JOB_ROLE_UNSPECIFIED"}},
Cza=function(a){if(a.hasUser()){var b={user:ek(a.getUser().getUser())};a=W(a,wza,3);a={involvement:Aza(Fk(a,om(a,xza,1),0)),aggregationValue:tm(a,3)};b={user:b,allocation:a}}else Jm(a,Xm,2,Ym)?(b=a.getPlaceholder(),b={placeholder:{role:Bza(b.getRole()),count:b.getCount()}}):b={};return b},Dza=function(a){return{issueId:String(a.getIssueId_asLegacyNumberOrString()),updateText:Kh(a,2),formattedText:Jk(a,an,3)?Gm(W(a,an,3)):void 0,formattingMode:a.getFormattingMode()?$ya(a.getFormattingMode()):void 0,
author:a.hasAuthor()?ek(a.getAuthor()):void 0,updateTime:a.hasUpdateTime()?hk(qk(a.getUpdateTime())):void 0,version:a.getVersion()}},Eza=function(a){var b=(new bn).setFormattingMode(Om(a.formattingMode));a.issueId&&b.setIssueId(a.issueId);a.updateText&&ak(b,2,a.updateText);if(a.formattedText){var c=a.formattedText,d=new an;if(c.plainFormat){var e=c.plainFormat;var f=new bza;e=e.plainSection.map(dza);f=$m(f,1,e);zm(d,1,Km,f)}c.markdownFormat&&(f=c.markdownFormat,f=(new Mm).setContent(swa(f.content)),
zm(d,2,Km,f));c.literalFormat&&(c=c.literalFormat,c=(new Nm).setContent(swa(c.content)),zm(d,3,Km,c));X(b,an,3,d)}a.author&&b.setAuthor(dk(a.author));a.updateTime&&b.setUpdateTime(sk(a.updateTime));a.version&&b.setVersion(a.version);return b},Kza=function(a){var b=a.getAccessLimit(),c=Fza[Fk(a,30,0)],d,e,f,h,l,q,u,A,F,H,N,O,T,ea,ka,oa,La,Ua=a.getComponentId_asLegacyNumberOrString(),Pa=a.getType()?fza(a.getType()):null,lb=a.getStatus()?cn[a.getStatus()]:null,qa=a.getPriority()?dn[a.getPriority()]:
null,Ga=a.getSeverity()?Gza[a.getSeverity()]:null,Ha=a.getTitle(),Ab=a.getReporter()?ek(a.getReporter()):null,vb=a.getAssignee()?ek(a.getAssignee()):null,fc=a.getVerifier()?ek(a.getVerifier()):null,hc=(u=(d=a.getCcsList())==null?void 0:d.map(ek))!=null?u:[];d=(A=(e=a.getCollaboratorsList())==null?void 0:e.map(ek))!=null?A:[];e=a.getStaffing()?{plannedAllocations:lk(a.getStaffing(),Um,1,Uj()).map(Cza)}:null;A=a.getCanonicalIssueId_asLegacyNumberOrString()?String(a.getCanonicalIssueId_asLegacyNumberOrString()):
null;u=(F=(f=a.getBlockedByIssueIdsList_asLegacyNumberOrString())==null?void 0:f.map(String))!=null?F:[];f=(H=(h=a.getBlockingIssueIdsList_asLegacyNumberOrString())==null?void 0:h.map(String))!=null?H:[];h=(N=a.getHotlistIdsList_asLegacyNumberOrString(Vj))!=null?N:[];N=(O=(l=a.getCustomFieldsList())==null?void 0:l.map(Lya).filter(ik))!=null?O:[];l=(T=a.getCodeChangesList(Vj))!=null?T:[];T=(ea=a.getGerritChangesList().map(Hza))!=null?ea:[];ea=Tj(a,17,Uj(Vj));ea=ea!=null?ea:[];O=Tj(a,18,Uj(Vj));O=O!=
null?O:[];H=Tj(a,19,Uj(Vj));H=H!=null?H:[];F=a.getInProd();var tc=a.getIsArchived(),bc=(ka=(q=a.getDuplicateIssueIdsList_asLegacyNumberOrString())==null?void 0:q.map(String))!=null?ka:[];q=a.getIsDeleted();ka=Iza[Fk(a,24,0)];var De=(oa=qk(a.getSloSnoozeUntil()))!=null?oa:null;oa=(La=qk(a.getSloEndTime()))!=null?La:null;La=Tj(a,27,Uj(Vj));return{componentId:Ua,type:Pa,status:lb,priority:qa,severity:Ga,title:Ha,reporterUser:Ab,assigneeUser:vb,verifierUser:fc,ccUsers:hc,collaboratorsUsers:d,staffing:e,
duplicateOfIssueId:A,blockedByIssueId:u,blockingIssueId:f,hotlistId:h,customField:N,changelist:l,gerritChanges:T,foundInVersion:ea,targetedToVersion:O,verifiedInVersion:H,inProd:F,isArchived:tc,duplicateIssueId:bc,isDeleted:q,deletionReason:ka,sloStartTime:De,sloEndTime:oa,sloSnoozeType:c==="SLO_SNOOZE_TYPE_UNSPECIFIED"?null:c,postmortems:La!=null?La:[],retention:Jza[a.getRetention()],effort:a.hasEffort()?Tya(a.getEffort()):void 0,issueAccessLimitLevel:b!=null?gya(b):null,comment:"",formattingMode:void 0}},
Rza=function(a){var b=new en;a.componentId&&b.setComponentId(a.componentId);a.title&&b.setTitle(a.title);a.type!=null&&b.setType(gza(a.type));a.inProd!=null&&b.setInProd(a.inProd);a.isArchived!=null&&b.setIsArchived(a.isArchived);a.status!=null&&b.setStatus(Lza[a.status]);a.priority!=null&&b.setPriority(Mza[a.priority]);a.severity!=null&&b.setSeverity(Nza[a.severity]);a.reporterUser&&b.setReporter(dk(a.reporterUser));a.assigneeUser&&b.setAssignee(dk(a.assigneeUser));a.verifierUser&&b.setVerifier(dk(a.verifierUser));
a.ccUsers&&b.setCcsList(a.ccUsers.map(dk));a.collaboratorsUsers&&b.setCollaboratorsList(a.collaboratorsUsers.map(dk));a.staffing&&b.setStaffing(zza(a.staffing));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(Am));a.changelist&&
b.setCodeChangesList(a.changelist);a.gerritChanges&&b.setGerritChangesList(a.gerritChanges.map(Oza));a.foundInVersion&&bk(b,17,a.foundInVersion);a.targetedToVersion&&bk(b,18,a.targetedToVersion);a.verifiedInVersion&&bk(b,19,a.verifiedInVersion);a.duplicateIssueId&&b.setDuplicateIssueIdsList(a.duplicateIssueId.map(Number));a.isDeleted!=null&&b.setIsDeleted(a.isDeleted);a.deletionReason!=null&&b.setDeletionReason(Pza[a.deletionReason]);a.sloStartTime&&b.setSloSnoozeUntil(sk(a.sloStartTime));a.sloEndTime&&
b.setSloEndTime(sk(a.sloEndTime));a.sloSnoozeType!=null&&b.setSloSnoozeType(Qza[a.sloSnoozeType]);a.retention!=null&&b.setRetention(Bya(a.retention));if(a.effort){var c=b.setEffort,d=a.effort,e=new fn;d.specId&&jm(e,1,d.specId);d.estimate&&ak(e,2,d.estimate);d.averageDays&&Wm(e,3,d.averageDays);d.totalOpen&&Wm(e,4,d.totalOpen);d.totalComplete&&Wm(e,5,d.totalComplete);c.call(b,e)}a.issueAccessLimitLevel&&b.setAccessLimit(fya(a.issueAccessLimitLevel));return b},Hza=function(a){return{host:Kh(a,1),repo:Kh(a,
2),changeNumber:a.getChangeNumber_asLegacyNumberOrString(),state:Sza[a.getState()]}},Oza=function(a){var b=new gn;b=ak(b,1,a.host);return ak(b,2,a.repo).setChangeNumber(a.changeNumber).setState(Tza[a.state])},Xza=function(a){switch($l(a,Uza)){case 2:var b=um(a,Vza,2,Uza);return b.getCommentNumber()!==0?{type:"issueReference",issueId:String(b.getIssueId_asLegacyNumberOrString()),commentNumber:b.getCommentNumber(),sourceCommentNumber:Xj(a,3)}:{type:"issueReference",issueId:String(b.getIssueId_asLegacyNumberOrString()),
sourceCommentNumber:Xj(a,3)};case 1:return{type:"hyperlink",href:Kh(um(a,Wza,1,Uza),1),sourceCommentNumber:Xj(a,3)};case 0:throw Error("Ec");default:throw Error("Fc");}},jn=function(a){var b=a.getIssueState()?[Kza(a.getIssueState())]:[],c,d,e=String(a.getIssueId_asLegacyNumberOrString()),f=a.getVersion(),h;if(h=a.getUserData()){var l=Ak(h,2);l=l==null?null:l;var q=Ak(h,1);h={voted:l,starred:q==null?null:q,notificationSubscription:Yza[Fk(h,4,0)],lastViewedTimeMicros:vk(W(h,rk,5))}}else h=void 0;if(a){q=
void 0;a.hasSloStatus()&&(l=a.getSloStatus(),q={assignmentBounds:(l==null?0:Jk(l,Qm,1))?jza(W(l,Qm,1)):void 0,responseBounds:(l==null?0:Jk(l,Qm,2))?jza(W(l,Qm,2)):void 0,closureBounds:(l==null?0:Jk(l,Qm,3))?jza(W(l,Qm,3)):void 0});var u;l={voteCount:(u=Qk(a,10))!=null?u:0,createdTimeMicros:vk(a.getCreatedTime()),resolvedTimeMicros:vk(a.getResolvedTime()),verifiedTimeMicros:vk(a.getVerifiedTime()),modifiedTimeMicros:vk(a.getModifiedTime()),lastModifier:ek(W(a,Zj,14)),sloId:fk(a.getSloId_asLegacyNumberOrString()),
teamId:fk(a.getTeamId_asLegacyNumberOrString()),retentionState:vya(a.getRetentionState()),sloStatus:q}}else l=void 0;u=iya(a.getAccessLimit());q=a.getCustomFieldsList().map(Oya);var A=lk(a,qm,34,Uj()).map(Iya).filter(ik),F=vk(a.getMajorModifiedTime()),H=a.getParentIssueIdsList_asLegacyNumberOrString().map(String),N=(c=Xj(a,45))!=null?c:0;c=(d=Xj(a,46))!=null?d:0;d=a.getIsArchived();var O=Tua(String(a.getTrackerId_asLegacyNumberOrString())),T;if(T=W(a,hn,47))T=W(a,hn,47),T={oneDayViewCount:Qk(T,1),
sevenDayViewCount:Qk(T,2),thirtyDayViewCount:Qk(T,3)};return{issueId:e,version:f,snapshot:b,userData:h,aggregatedData:l,accessLimit:u,customFields:q,visibleFields:A,majorModifiedTimeMicros:F,parentIssueIds:H,descendantCount:N,openDescendantCount:c,isArchived:d,trackerId:O,userActivityStats:T,escalationOwner:a.getEscalationOwner()?ek(a.getEscalationOwner()):void 0}},$za=function(a){for(var b=new Map,c=k(a.getAncestorsMap().entries()),d=c.next();!d.done;d=c.next()){var e=k(d.value);d=e.next().value;
e=e.next().value;b.set(String(d),{sourceIssueIds:e.getSourceIssueIdsList_asLegacyNumberOrString().map(String)})}c=jn(a);d=Object;e=d.assign;var f=a.hasDescription()?Im(a.getDescription()):void 0,h=Xj(a,39);var l=lk(a,Zza,41,Uj());return e.call(d,{},c,{description:f,ancestors:b,childIssueCount:h,relatedLinks:l.map(Xza),statusUpdate:a.hasStatusUpdate()?Dza(a.getStatusUpdate()):void 0})},aAa=function(a){if(a)return{status:cn[a.getStatus()],issueIds:a.getIssueIdsList_asLegacyNumberOrString().map(gk).filter(ik)}},
bAa=function(a){if(a)return{priority:dn[a.getPriority()],issueIds:a.getIssueIdsList_asLegacyNumberOrString().map(gk).filter(ik)}},cAa=function(){},dAa=function(a){return Object.values(a).length>0},eAa=function(a,b){a.next(Object.freeze(Object.assign({},a.getValue(),b)))},fAa=function(a,b){var c=a.getValue();c=Object.assign({},c);b=(delete c[b],c);a.next(Object.freeze(b))},gAa=function(a,b){var c=a.getValue(),d={};c=k(Object.entries(c));for(var e=c.next();!e.done;e=c.next()){var f=k(e.value);e=f.next().value;
f=f.next().value;b.includes(e)||(d[e]=f)}a.next(Object.freeze(d))},hAa=function(a){var b=Object.assign({},a);a=a.ids;b=(delete b.ids,b);a&&(b.ids=[].concat(t(a)).sort());return JSON.stringify(b)},iAa=function(a,b,c){c=a.get(b)||c;a.has(b)||a.set(b,c);return c},jAa=function(a){a=a===void 0?{}:a;return Pta(a)},kAa=function(a){var b=new Uf,c=a.subscribe(b);a=Fe(b);a.finally(function(){c.unsubscribe()});return a},lAa=function(a){return a==null?new Promise(function(){}):Promise.resolve(a)},mAa=function(){return new Promise(function(){})},
nAa=function(a){return{name:a.getName(),displayName:a.getDisplayName(),description:a.getDescription()}},qAa=function(a){var b={issueId:a.getIssueId_asString(),category:a.getCategory(),author:ek(a.getAuthor()),timestamp:qk(a.getTimestamp())},c=a.getContentCase();switch(c){case 3:a=um(a,kn,3,oAa);b.general={content:a.getContent(),formattedContent:Gm(a.getFormattedContent())};break;case 4:a=um(a,pAa,4,oAa);b.similarIssues={issueIds:a.getIssueIdsList_asString()};break;case 5:a=a.getSummary();b.summary=
{content:a.getContent(),formattedContent:Gm(a.getFormattedContent())};break;default:throw Error("Pc`"+c);}return b},rAa=function(a){return{issueId:a.getIssueId_asString(),attachmentId:a.getAttachmentId_asString(),category:a.getCategory(),content:a.getContent(),formattedContent:Gm(a.getFormattedContent()),author:ek(a.getAuthor()),timestamp:qk(a.getTimestamp())}},uAa=function(a){var b=(new sAa).setIssueId(a.issueId).setCategory(a.category).setFeedbackType(tAa[a.feedbackType]);a.attachmentId&&b.setAttachmentId(a.attachmentId);
return b},wAa=function(a){return a.type==="CUSTOM_FIELD"?[vAa[$va[a.type]],a.customFieldId].join(":"):vAa[$va[a.type]]},yAa=function(a){return a.includes(":")?(a=k(a.split(":")),a.next(),a=a.next().value,{type:"CUSTOM_FIELD",customFieldId:Sm(a)}):{type:Ava[xAa[a]]}},zAa=function(a){var b;a==null?a=void 0:(a=Tj(a,1,Uj()),a=a==null?void 0:a.map(yAa));return(b=a)!=null?b:[]},AAa=function(a){var b=k(a.trim().split(" ")),c=b.next().value;a=b.next().value;ln(b);b=yAa(c);c="DESCENDING";a==="asc"&&(c="ASCENDING");
return{field:b,direction:c}},CAa=function(a){return a.map(BAa).join(",")},BAa=function(a){return wAa(a.field)+" "+(a.direction==="ASCENDING"?"asc":"desc")},DAa=function(a){return CAa(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(AAa))},EAa=function(a){var b,c,d,e,f,h=(new mn).setHotlistId(a.hotlistId).setName(a.name).setDescription(a.description).setArchived(a.archived).setDefaultOrderBy(CAa((d=a.sortOrder)!=null?d:[]));d=h.setDisplayPreferences;var l=new nn,q=(e=(b=a.displayColumn)==null?void 0:b.map(wAa))!=null?e:[];b=bk(l,1,q);h=d.call(h,b).setCreatedTime(uk(a.createdTimeMicros)).setModifiedTime(uk(a.modifiedTimeMicros)).setOwnersList((f=(c=
a.adminUsers)==null?void 0:c.map(dk))!=null?f:[]);a.etag!==void 0&&(c=h.setEtag,a=a.etag,a=a.length?new jb(oba(a,!0),kb):ib(),c.call(h,a));return h},FAa=function(a){if(!a.getHotlistId_asLegacyNumberOrString())throw Error("Qc");if(!a.getName())throw Error("Rc");if(!a.getCreatedTime())throw Error("Sc");if(!a.getModifiedTime())throw Error("Tc");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:vk(a.getCreatedTime()),modifiedTimeMicros:vk(a.getModifiedTime()),displayColumn:zAa(a.getDisplayPreferences()),sortOrder:a.getDefaultOrderBy().split(",").filter(Boolean).map(AAa),etag:Cya(a.getEtag())||void 0,adminUsers:(e=(b=a.getOwnersList())==null?void 0:b.map(ek))!=null?e:[]}},GAa=function(a){return{issueId:String(a.getIssueId_asLegacyNumberOrString()),position:a.getPosition(),issue:jn(a.getIssue())}},HAa=function(a){var b=lk(a,on,1,Uj()).map(GAa),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()}},IAa=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(AAa),displayColumn:zAa(a.getDisplayPreferences()),
adminUsers:((b=a.getOwnersList())!=null?b:[]).map(ek)}},JAa=function(a){var b,c,d=(new pn).setSavedSearchId(a.searchId).setName(a.name).setDescription(a.description).setQuery(a.query).setDefaultOrderBy(CAa((b=a.sortOrder)!=null?b:[]));b=d.setDisplayPreferences;var e=(c=a.displayColumn)!=null?c:[];c=new nn;e=e.map(wAa);c=bk(c,1,e);return b.call(d,c).setOwnersList(a.adminUsers.map(dk))},LAa=function(a){switch($l(a,qn)){case 1:var b=a.getHotlist(),c=(b==null?0:b.getHotlist())?FAa(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())?IAa(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())?KAa(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("Uc");}},NAa=function(a){switch(a.resourceType){case "HOTLIST":var b=(new rn).setHotlistId(a.hotlistId);a.hotlist&&b.setHotlist(EAa(a.hotlist));return(new sn).setHotlist(b);case "SAVED_SEARCH":return b=(new tn).setSavedSearchId(a.savedSearchId),
a.savedSearch&&b.setSavedSearch(JAa(a.savedSearch)),(new sn).setSavedSearch(b);case "BOOKMARK_GROUP":return b=(new un).setBookmarkGroupId(a.bookmarkGroupId),a.bookmarkGroup&&b.setBookmarkGroup(MAa(a.bookmarkGroup)),(new sn).setBookmarkGroup(b);default:Db(a.resourceType,"Unexpected resourceType in bookmarkItemToItProto")}},KAa=function(a){var b=a.getArchived(),c=a.getBookmarkGroupId_asLegacyNumberOrString(),d=a.getDescription();var e=lk(a,sn,5,Uj());return{archived:b,bookmarkGroupId:c,description:d,
item:e.map(LAa),name:a.getName(),adminUsers:a.getOwnersList().map(ek)}},MAa=function(a){var b,c=(new vn).setBookmarkGroupId(a.bookmarkGroupId).setName(a.name).setDescription(a.description).setArchived(a.archived),d=(b=a.item.map(NAa))!=null?b:[];return $m(c,5,d).setOwnersList(a.adminUsers.map(dk))},OAa=function(a){switch(a.resourceType){case "HOTLIST":return(new sn).setHotlist((new rn).setHotlistId(a.resourceId));case "SAVED_SEARCH":return(new sn).setSavedSearch((new tn).setSavedSearchId(a.resourceId));
case "BOOKMARK_GROUP":return(new sn).setBookmarkGroup((new un).setBookmarkGroupId(a.resourceId));default:Db(a.resourceType,"Unexpected resourceType in bookmarkItemForUpdateToItProto")}},PAa=function(a){a=KAa(a).item;a=qua(a,function(l){return l.resourceType});var b,c,d,e,f,h;return{bookmarkGroups:(e=(b=a.get("BOOKMARK_GROUP"))==null?void 0:b.map(function(l){return l.bookmarkGroup}).filter(ik))!=null?e:[],hotlists:(f=(c=a.get("HOTLIST"))==null?void 0:c.map(function(l){return l.hotlist}).filter(ik))!=
null?f:[],savedSearches:(h=(d=a.get("SAVED_SEARCH"))==null?void 0:d.map(function(l){return l.savedSearch}).filter(ik))!=null?h:[]}},QAa=function(a){return KAa(a.getIt())},RAa=function(a){a=lk(a,vn,2,Uj());return(a!=null?a:[]).map(KAa)},SAa=function(a){a=pc(a,1,Mb,Uj(Vj));return{changelistNumbers:a!=null?a:[]}},VAa=function(a){return{changelists:lk(a,TAa,1,Uj()).map(UAa),nextPageToken:a.getNextPageToken()}},UAa=function(a){var b,c;return{author:a.getAuthor(),changelistNumber:a.getChangelistNumber(),
pending:a.getPending(),timestamp:qk(a.getTimestamp()),issueIds:(b=a.getIssueIdsList_asString())!=null?b:[],fixedIssueIds:(c=Uk(a,6))!=null?c:[]}},WAa=function(a){var b=a.getAuthor(),c=a.getDescription(),d=a.getPending(),e=a.getTimestamp_asLegacyNumberOrString();a=Tj(a,5,Uj(Vj));return{author:b,description:c,pending:d,timestamp:e,affectedFiles:a!=null?a:[]}},wn=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,"+")},XAa=function(a){if(a)return iya(a.getIt())},YAa=function(a){var b=Tj(a,1,Uj(Vj));a=Tj(a,2,Uj(Vj));return{noAccessEmails:b,unknownEmails:a}},ZAa=function(a){var b=a.getIt();a=lk(b,dm,2,Uj()).map(cm);var c=b.getAppendersList().map(cm),d=lk(b,dm,4,Uj()).map(cm),e=b.getReadersList().map(cm),f=lk(b,dm,11,Uj()).map(cm),h=lk(b,dm,12,Uj()).map(cm),l=lk(b,dm,3,Uj()).map(cm),q=lk(b,dm,7,Uj()).map(cm),u=lk(b,dm,5,Uj()).map(cm),
A=lk(b,dm,9,Uj()).map(cm);a:switch(Fk(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("rc");}return{admins:a,appenders:c,editors:d,readers:e,restrictedReaders:f,restrictedPlusReaders:h,inheritedAdmins:l,implicitAppenders:q,implicitEditors:u,implicitReaders:A,implicitAccess:b}},aBa=function(a,b){b=b===void 0?document.documentElement:b;return Me(Ne(function(){return Ae(b.querySelector(a))}),$Aa(b,{childList:!0,subtree:!0}).pipe(Ue(function(c){return c.some(function(d){return d.addedNodes.length>
0})}),z(function(){return b.querySelector(a)}))).pipe(Ue(ik),Nf(),z(function(c){return c}))},$Aa=function(a,b){return new oe(function(c){var d=new MutationObserver(function(e){c.next(e)});d.observe(a,b);return function(){d.disconnect()}})},xn=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)}}},bBa=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(" > ")},cBa=function(a){var b={};a=k(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=k(c.value);c=d.next().value;d=d.next().value;d!=null&&(b[c]=String(d))}b=new URLSearchParams(b);return String(b)},yn=function(a){return a.ctrlKey||a.metaKey||a instanceof MouseEvent&&a.button===1},zn=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("Wc`"+a);}},eBa=function(a){return{fieldId:Iya(W(a,qm,1)),stateOnIssues:dBa[Fk(a,4,0)],enabledOnIssues:Ak(a,5)}},gBa=function(a){var b=W(a,An,7),c,d=(c=b==null?void 0:b.getSlo())!=null?c:new Bn,e;c=String(a.getId_asLegacyNumberOrString());var f=
(e=b==null?void 0:b.getVersion())!=null?e:0;e=a.getName();var h=a.getDescription(),l=[].concat(t(a.getPathNamesList())),q=a.getPathIdsList_asLegacyNumberOrString().map(String),u=[],A=u.concat;var F=Tj(a,5,Uj());u=A.call(u,t(F));A=a.getMembersList().map(fBa);a=a.getDeleted();d={inherit:d.getInherit(),sloId:String(d.getId_asLegacyNumberOrString()),comment:d.getComment(),sourceTeamId:String(d.getSourceTeamId_asLegacyNumberOrString())};if(b){F=b==null?void 0:b.getEscalationOwner();var H=b==null?void 0:
W(b,Zj,7);b={escalationOwner:F?ek(F):void 0,defaultEscalationOwner:H?ek(H):void 0,inheritEscalationOwner:b.getInheritEscalationOwner()}}else b=void 0;return{teamId:c,version:f,name:e,description:h,pathNames:l,pathIds:q,collapsedPathNames:u,members:A,deleted:a,slo:d,extra:b}},fBa=function(a){var b=a.getUser();return{user:b?ek(b):{},isLead:Ak(a,2)}},hBa=function(a){var b=new Cn;return Cm(b,2,a.isLead).setUser(dk(a.user))},iBa=function(a){var b=new Bn;b.setInherit(a.inherit).setId(Number(a.sloId)).setComment(a.comment).setSourceTeamId(Number(a.sourceTeamId));
return b},jBa=function(a){return(new Dn).setInherit(a.inherit).setId(a.id)},kBa=function(a){return{teamId:a.getTeamId_asLegacyNumberOrString(),score:a.getScore()}},mBa=function(a){return(new lBa).setTeamId(a.teamId).setScore(a.score)},nBa=function(a){var b=fk(a);if(b==null)throw Error("Xc`"+a);return b},oBa=function(a){var b=lk(a,En,4,Uj()).map(eBa);b=new Map(b.map(function(q){return[q.fieldId.customFieldId,q]}));var c,d,e=(d=(c=lk(a,Bm,5,Uj()))==null?void 0:c.map(Pya))!=null?d:[];c=k(e);for(d=c.next();!d.done;d=
c.next()){d=d.value;var f=b.get(d.customFieldId);f&&(d.enabledOnIssues=f.enabledOnIssues,d.stateOnIssues=f.stateOnIssues)}var h,l;return{componentPathId:(l=(h=jk(a,1,Uj()))==null?void 0:h.map(nBa))!=null?l:[],componentPathName:Tj(a,2,Uj(Vj)),allCustomField:e,fieldConfigsMap:b}},pBa=function(a){switch(a){case "ALL_PROTECTIONS":return 2;case "NO_PROTECTIONS":return 1;case "SPAM_PROTECTION_UNSPECIFIED":return 0;default:return 0}},sBa=function(a){var b=Jk(a,km,15)?xya(W(a,km,15)):void 0,c=Jk(a,Fn,7)?
oBa(W(a,Fn,7)):void 0;if(a.hasSlo()){var d=a.getSlo();d={inherit:d.getInherit(),source:qBa[d.getSource()],id:String(d.getId_asLegacyNumberOrString()),sourceComponentId:String(Qk(d,6)),sourceTeamId:String(d.getSourceTeamId_asLegacyNumberOrString()),comment:d.getComment()}}else d=void 0;if(Jk(a,Dm,18)){var e=a.getEffortSpec();var f=e.getInherit();var h=e.getId_asLegacyNumberOrString(),l=e.getName();a:switch(Fk(e,6,0)){case 2:var q="MAX";break a;case 1:q="SUM";break a;default:q="AGGREGATION_TYPE_UNSPECIFIED"}f=
{inherit:f,id:h,name:l,aggregationType:q,customFieldId:e.getCustomFieldId_asLegacyNumberOrString()};if(Jm(e,Wya,4,Gn)){var u=um(e,Wya,4,Gn);u&&(f.numericSpec={multiplier:tm(u,1)})}else if(Jm(e,Em,5,Gn)&&(e=um(e,Em,5,Gn),f.enumSpec={options:[]},e&&(e==null?void 0:(u=lk(e,Fm,1,Uj()))==null?void 0:u.length)>0))for(u=k(lk(e,Fm,1,Uj())),e=u.next();!e.done;e=u.next())e=e.value,l=h=void 0,(h=f.enumSpec)==null||(l=h.options)==null||l.push({label:e.getLabel(),value:e.getValue()})}else f=void 0;a.hasTeam()?
(u=a.getTeam(),u={inherit:u.getInherit(),id:String(u.getId_asLegacyNumberOrString())}):u=void 0;e=iya(a.getAccessLimit());h=Fk(a,21,0);h=h===2?"ALL_PROTECTIONS":h===1?"NO_PROTECTIONS":"SPAM_PROTECTION_UNSPECIFIED";l=a.getTrackerId_asLegacyNumberOrString()?String(a.getTrackerId_asLegacyNumberOrString()):void 0;var A,F;q=a.getComponentId_asLegacyNumberOrString();var H=Qk(a,3),N=a.getName(),O=a.getDescription(),T=a.getIsArchived(),ea="buganizer-system+"+a.getComponentId_asLegacyNumberOrString()+"@google.com";
var ka=Fk(a,10,0)===1?"ENABLED":"DISABLED";return{componentId:q,parentComponentId:H,name:N,description:O,archived:T,componentPathInfo:c,accessLimit:e,emailAlias:ea,commentEditState:ka,defaultTemplateId:nBa(Qk(a,6)),slo:d,bugscopeSloId:String(Qk(a,14)),retentionSettings:b,fieldOrdering:rBa[Fk(a,17,0)],effortSpec:f,team:u,teamSuggestions:(F=(A=a.getTeamSuggestionsList())==null?void 0:A.map(kBa))!=null?F:[],trackerId:l==="0"?void 0:l,spamProtection:h}},tBa=function(a){return{author:ek(a.getAuthor()),
timestamp:qk(a.getTimestamp()),add:sBa(a.getAdd()),remove:sBa(a.getRemove()),addMask:hza(a.getAddMask()),removeMask:hza(a.getRemoveMask())}},vBa=function(a){a=a.getIt();var b;return{updates:((b=lk(a,uBa,1,Uj()))!=null?b:[]).map(tBa)}},Hn=function(a){return sBa(a.getIt())},wBa=function(a){var b=new In;b=jm(b,3,a.parentComponentId).setName(a.name).setDescription(a.description);a.commentEditState&&b.setCommentEditState(a.commentEditState==="ENABLED"?1:2);a.retentionSettings&&(a=zya(a.retentionSettings),
X(b,km,15,a));return(new Jn).setIt(b)},xBa=function(a){a=lk(a,Jn,1,Uj());return(a!=null?a:[]).map(Hn)},yBa=function(a){return{warningHeader:Kh(a,1),warning:Kh(a,2),isAllowed:Ak(a,3),isExternalMove:Ak(a,4)}},ABa=function(a){a=a.getIt();var b=Kza(a.getIssueState());a.getComment()&&(b.comment=a.getComment());a.getFormattingMode()&&(b.formattingMode=zBa[a.getFormattingMode()]);return{componentId:a.getComponentId_asLegacyNumberOrString(),templateId:a.getTemplateId_asLegacyNumberOrString(),name:a.getName(),
description:a.getDescription(),default:Ak(a,9),inheritable:Ak(a,10),snapshot:b}},BBa=function(a){var b=new Kn,c=b.setIt;var d=(new Ln).setFormattingMode(Om(a.snapshot.formattingMode)).setComment(a.snapshot.comment).setComponentId(a.componentId).setTemplateId(a.templateId).setName(a.name).setDescription(a.description);d=Cm(d,9,a.default);a=Cm(d,10,a.inheritable).setIssueState(Rza(a.snapshot));return c.call(b,a)},CBa=function(a){a=lk(a,Jn,1,Uj());return(a!=null?a:[]).map(Hn)},DBa=function(a){return{componentPath:a.getComponentPath(),
retentionSettings:xya(W(a,km,3))}},FBa=function(a){return lk(a,EBa,2,Uj()).map(DBa)},GBa=function(a){return ABa(W(a,Kn,1))},HBa=function(a){return(lk(a,Kn,1,Uj())||[]).map(ABa)},IBa=function(a){return(new Mn).setIt(EAa(a))},Nn=function(a){return FAa(a.getIt())},JBa=function(a){return LAa(W(a,On,1).getIt())},KBa=function(a){return IAa(a.getIt())},LBa=function(a){return KBa(a.getSearch())},MBa=function(a){return lk(a,Pn,1,Uj()).map(KBa)},NBa=function(a){return{id:String(a.hotlistId),name:a.name,description:a.description,
adminUsers:a.adminUsers,starred:!0,resourceType:"HOTLIST"}},OBa=function(a){switch(a.resourceType){case "HOTLIST":var b,c,d,e;return{id:String(a.hotlistId),name:a.name,description:(d=(b=a.hotlist)==null?void 0:b.description)!=null?d:"",adminUsers:(e=(c=a.hotlist)==null?void 0:c.adminUsers)!=null?e:[],starred:!0,resourceType:"HOTLIST"};case "SAVED_SEARCH":var f,h,l,q;return{id:String(a.savedSearchId),name:a.name,description:(l=(f=a.savedSearch)==null?void 0:f.description)!=null?l:"",adminUsers:(q=
(h=a.savedSearch)==null?void 0:h.adminUsers)!=null?q:[],starred:!0,resourceType:"SAVED_SEARCH"};case "BOOKMARK_GROUP":throw Error("bd");default:Db(a.resourceType,"Unexpected type in bookmarkItemToLink")}},PBa=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(OBa)}},TBa=function(a,b,c){var d=new Map,e=new Map,f=new Map,h=new Map,l=new Map;b=
k(b);for(var q=b.next();!q.done;q=b.next())q=q.value,q.archived?e.set(q.bookmarkGroupId,q):d.set(q.bookmarkGroupId,q);b=[].concat(t(d.values())).flatMap(function(u){var A;return(A=u.item)!=null?A:[]});b=new Set(b.filter(function(u){return u.resourceType==="HOTLIST"}).map(function(u){return u.hotlistId}));a=k(a);for(q=a.next();!q.done;q=a.next())q=q.value,b.has(q.hotlistId)||(q.archived?h.set(q.hotlistId,NBa(q)):f.set(q.hotlistId,NBa(q)));c=k(c);for(a=c.next();!a.done;a=c.next())a=a.value,l.set(a.searchId,
{id:String(a.searchId),name:a.name,description:a.description,adminUsers:a.adminUsers,starred:!0,resourceType:"SAVED_SEARCH"});return{id:"current-user-bookmark-id",bookmarkGroups:QBa([].concat(t(d.values())).map(PBa)),archivedBookmarkGroups:QBa([].concat(t(e.values())).map(PBa)),hotlists:RBa(f.values()),archivedHotlists:RBa(h.values()),savedSearches:SBa(l.values())}},UBa=function(a,b){var c=new Set(b.hotlists.map(function(l){return l.hotlistId})),d=new Set(b.bookmarkGroups.map(function(l){return l.bookmarkGroupId}));
b=new Set(b.savedSearches.map(function(l){return l.searchId}));for(var e=k([].concat(t(a.hotlists),t(a.archivedHotlists))),f=e.next();!f.done;f=e.next())f=f.value,f.starred=c.has(Number(f.id));e=k([].concat(t(a.bookmarkGroups),t(a.archivedBookmarkGroups)));for(f=e.next();!f.done;f=e.next()){f=f.value;f.starred=d.has(Number(f.id));var h=void 0;f=k((h=f.sublinks)!=null?h:[]);for(h=f.next();!h.done;h=f.next())switch(h=h.value,h.resourceType){case "HOTLIST":h.starred=c.has(Number(h.id));break;case "SAVED_SEARCH":h.starred=
b.has(Number(h.id));break;case "BOOKMARK_GROUP":h.starred=d.has(Number(h.id));break;default:throw Error("cd");}}c=k(a.savedSearches);for(d=c.next();!d.done;d=c.next())d=d.value,d.starred=b.has(Number(d.id));return a},VBa=function(a){return Oya(a.getIt())},XBa=function(a){return(new WBa).setIt(Sya(a))},YBa=function(a){a=a.getIt();return{customFields:a.getCustomFieldsList().map(Oya),nextPageToken:a.getNextPageToken(),totalSize:a.getTotalSize()}},aCa=function(a){var b,c=(b=W(a,Qn,2))==null?void 0:Fk(b,
1,0),d;b=(d=W(a,Qn,2))==null?void 0:Fk(d,4,0);var e,f,h,l;d=a.getId_asString();c={phase:c!=null?ZBa[c]:"UNSPECIFIED",subphase:b!=null?$Ba[b]:"TRIAGE_SUBPHASE_UNSPECIFIED",triagerEmail:(h=(e=W(a,Qn,2))==null?void 0:Kh(e,3))!=null?h:void 0,dismissed:(l=qk((f=W(a,Qn,2))==null?void 0:W(f,rk,5)))!=null?l:void 0};a=Tj(a,4,Uj());return{id:d,triage:c,clusterIds:a}},dCa=function(a){var b=new Qn;b=gl(b,1,bCa[a.triage.phase]);b=gl(b,4,cCa[a.triage.subphase]);b=fl(b,3,a.triage.triagerEmail);if(a.triage.dismissed){var c=
sk(a.triage.dismissed);X(b,rk,5,c)}b=(new Rn).setId(a.id).setTriage(b);return Sn(b,4,a.clusterIds)},fCa=function(a){var b=a.getId_asString();if(b&&b!=="0"){var c={id:0};a=lk(a,Tn,2,Uj()).map(function(d){var e,f,h;return{scope:(e=d.getScope())!=null?e:void 0,showComponentColumn:(f=Ak(d,2))!=null?f:!1,config:lk(d,Un,3,Uj()).map(eCa)||[],id:(h=d.getId_asLegacyNumberOrString())!=null?h:0,displayName:d.getDisplayName()||void 0}});a.length===0&&a.push(c);return{id:b,triage:a}}},eCa=function(a){switch($l(a,
Vn)){case 1:return{type:"CUSTOM_FIELD",customFieldConfig:gCa(um(a,Wn,1,Vn))};case 2:return{type:"HOTLIST",hotlistConfig:hCa(um(a,iCa,2,Vn))};default:throw Error("dd");}},nCa=function(a){var b=new Un;a.type==="CUSTOM_FIELD"&&a.customFieldConfig?(a=jCa(a.customFieldConfig),zm(b,1,Vn,a)):a.type==="HOTLIST"&&a.hotlistConfig&&(a=a.hotlistConfig,a=(new iCa).setHotlistIdsList(a.hotlistIds).setOperation(kCa[a.operation]).setPhasesList(lCa(a.phases)).setSubphasesList(mCa(a.subphases)),zm(b,2,Vn,a));return b},
gCa=function(a){var b,c=(b=lk(a,oCa,2,Uj()).map(function(d){return{phases:d.getPhasesList().map(function(e){return ZBa[e]}),subphases:d.getSubphasesList().map(function(e){return $Ba[e]}),value:Lya(d.getValue())}}))!=null?b:[];return{customFieldId:a.getCustomFieldId_asString(),defaultValues:c}},jCa=function(a){var b=(new Wn).setCustomFieldId(a.customFieldId);a=a.defaultValues.map(function(c){return(new oCa).setPhasesList(lCa(c.phases)).setSubphasesList(mCa(c.subphases)).setValue(Am(c.value))});$m(b,
2,a);return b},hCa=function(a){return{hotlistIds:a.getHotlistIdsList_asString(),operation:pCa[a.getOperation()],phases:a.getPhasesList().map(function(b){return ZBa[b]}),subphases:a.getSubphasesList().map(function(b){return $Ba[b]})}},lCa=function(a){var b;return(b=a==null?void 0:a.map(function(c){return bCa[c]}))!=null?b:[]},mCa=function(a){var b;return(b=a==null?void 0:a.map(function(c){return cCa[c]}))!=null?b:[]},qCa=function(a){var b=new Tn;a.scope&&b.setScope(a.scope);cl(b,2,a.showComponentColumn).setId(a.id).setDisplayName(a.displayName);
a.config&&(a=a.config.map(nCa),Xn(b,3,Un,a));return b},rCa=function(a){a==="[Deleted User]"&&(a="nobody@google.com");a.includes("@")||(a+="@google.com");var b=new Zj;return ak(b,1,a)},sCa=function(a){var b;return(b=a==null?void 0:a.trim().split(",").filter(Boolean).map(rCa))!=null?b:[]},Yn=function(a){var b;return(b=a==null?void 0:a.trim().split(",").filter(Boolean).map(fk).filter(ik))!=null?b:[]},Zn=function(a){var b;return(b=a==null?void 0:a.trim().split(",").filter(Boolean))!=null?b:[]},uCa=function(a){var b=
new $n,c=new $n,d=new en,e=new en;a=k(a);for(var f=a.next();!f.done;f=a.next()){f=f.value;if(f.ignoreOnIssueEditRequest)break;switch(f.fieldName){case "assignee":f.value?(d.setAssignee(rCa(f.value)),ao(b,"assignee")):(e.setAssignee(new Zj),ao(c,"assignee"));break;case "attachments":break;case "blockedByIssueId":f.actionType==="ADD"?(d.addAllBlockedByIssueIds(Yn(f.value)),ao(b,"blocked_by_issue_ids")):(e.addAllBlockedByIssueIds(Yn(f.value)),ao(c,"blocked_by_issue_ids"));break;case "blockingIssueId":f.actionType===
"ADD"?(d.addAllBlockingIssueIds(Yn(f.value)),ao(b,"blocking_issue_ids")):(e.addAllBlockingIssueIds(Yn(f.value)),ao(c,"blocking_issue_ids"));break;case "ccs":f.actionType==="ADD"?(d.addAllCcs(sCa(f.value)),ao(b,"ccs")):(e.addAllCcs(sCa(f.value)),ao(c,"ccs"));break;case "changelists":f.actionType==="ADD"?(d.addAllCodeChanges(Zn(f.value)),ao(b,"code_changes")):(e.addAllCodeChanges(Zn(f.value)),ao(c,"code_changes"));break;case "collaborators":f.actionType==="ADD"?(d.addAllCollaborators(sCa(f.value)),
ao(b,"collaborators")):(e.addAllCollaborators(sCa(f.value)),ao(c,"collaborators"));break;case "staffing":if(!f.staffingValue)break;f.actionType==="ADD"?(d.setStaffing(zza(f.staffingValue)),ao(b,"staffing")):(e.setStaffing(zza(f.staffingValue)),ao(c,"staffing"));break;case "comment":break;case "componentId":d.setComponentId(fk(f.value));ao(b,"component_id");break;case "customField":if(!f.customFieldValue)break;var h=Am(f.customFieldValue);f.actionType==="ADD"?(d.addCustomFields(h),ao(b,"custom_fields")):
(e.addCustomFields(h),ao(c,"custom_fields"));break;case "deletionReason":f.value!=null?(d.setDeletionReason(Pza[f.value]),ao(b,"deletion_reason")):(e.setDeletionReason(2),ao(c,"deletion_reason"));break;case "duplicateOfIssueId":(f=fk(f.value))?(d.setCanonicalIssueId(f),ao(b,"canonical_issue_id")):ao(c,"canonical_issue_id");break;case "effortEstimate":f.value?(h=new fn,f=ak(h,2,f.value),d.setEffort(f),ao(b,"effort")):(e.setEffort(new fn),ao(c,"effort"));break;case "foundInVersion":f.actionType==="ADD"?
(h=d,f=Zn(f.value),Sn(h,17,f),ao(b,"found_in_versions")):(h=e,f=Zn(f.value),Sn(h,17,f),ao(c,"found_in_versions"));break;case "gerritChanges":h=(f.gerritChangeValue||[]).map(Oza);f.actionType==="ADD"?(d.addAllGerritChanges(h),ao(b,"gerrit_changes")):(e.addAllGerritChanges(h),ao(c,"gerrit_changes"));break;case "hotlists":f.actionType==="ADD"?(d.addAllHotlistIds(Yn(f.value)),ao(b,"hotlist_ids")):(e.addAllHotlistIds(Yn(f.value)),ao(c,"hotlist_ids"));break;case "inProd":d.setInProd(f.value==="true");ao(b,
"in_prod");break;case "type":d.setType(tCa[f.value]);ao(b,"type");break;case "isArchived":d.setIsArchived(f.value==="true");ao(b,"is_archived");break;case "isDeleted":d.setIsDeleted(f.value==="true");ao(b,"is_deleted");break;case "parentId":break;case "priority":d.setPriority(Mza[f.value]);ao(b,"priority");break;case "readState":break;case "reporter":d.setReporter(rCa(f.value));ao(b,"reporter");break;case "severity":d.setSeverity(Nza[f.value]);ao(b,"severity");break;case "sloEndTime":(f=fk(f.value))?
(d.setSloEndTime(sk({seconds:f,nanos:0})),ao(b,"slo_end_time")):(e.setSloEndTime(new rk),ao(c,"slo_end_time"));break;case "sloSnoozeType":d.setSloSnoozeType(Qza[f.value]);ao(b,"slo_snooze_type");break;case "sloStartTime":(f=fk(f.value))?(d.setSloSnoozeUntil(sk({seconds:f,nanos:0})),ao(b,"slo_snooze_until")):(e.setSloSnoozeUntil(new rk),ao(c,"slo_snooze_until"));break;case "status":d.setStatus(Lza[f.value]);ao(b,"status");break;case "targetedToVersion":f.actionType==="ADD"?(h=d,f=Zn(f.value),Sn(h,
18,f),ao(b,"targeted_to_versions")):(h=e,f=Zn(f.value),Sn(h,18,f),ao(c,"targeted_to_versions"));break;case "title":d.setTitle(f.value);ao(b,"title");break;case "verifiedInVersion":f.actionType==="ADD"?(h=d,f=Zn(f.value),Sn(h,19,f),ao(b,"verified_in_versions")):(h=e,f=Zn(f.value),Sn(h,19,f),ao(c,"verified_in_versions"));break;case "verifier":f.value?(d.setVerifier(rCa(f.value)),ao(b,"verifier")):(e.setVerifier(new Zj),ao(c,"verifier"));break;default:Db(f.fieldName,"Unhandled IssueFieldName in actionsToIssueStateChanges")}}return{addMask:b,
removeMask:c,stateAddBuilder:d,stateRemoveBuilder:e}},vCa=function(a){var b=a.actions.filter(function(h){return!h.ignoreOnIssueEditRequest}),c=b.filter(function(h){return h.fieldName!=="comment"}),d=uCa(c);c=d.addMask;var e=d.removeMask,f=d.stateAddBuilder;d=d.stateRemoveBuilder;a=(new bo).setIssueId(Number(a.issueId)).setAdd(f).setRemove(d).setAddMask(c).setRemoveMask(e);(b=Na(b.filter(function(h){return h.fieldName==="comment"})))&&b.value!=null&&a.setIssueComment((new co).setComment(b.value));
return a},wCa=function(a,b,c,d){var e=new eo,f=e.setIt;a=(new fo).setIssueId(a);b&&a.setIssueAccessLimit(fya(b));c&&a.setAddedCollaboratorsList(c.map(dk));d&&a.setRemovedCollaboratorsList(d.map(dk));return f.call(e,a)},xCa=function(a){return(new go).setIt((new ho).setIssueId(Number(a)))},zCa=function(a){return(new yCa).setIt((new io).setIssueId(Number(a.issueId)).setComponentId(Number(a.componentId)))},BCa=function(a){var b,c=new ACa,d=c.setIt,e=(new jo).setIssueId(String(a.issueId)).setComponentId(String(a.componentId));
a=(b=a.setLimitViewTrusted)!=null?b:!1;b=Cm(e,3,a);return d.call(c,b)},CCa=function(a){return{issueId:Tua(a.getIssueId_asString()),status:cn[a.getStatus()],title:a.getTitle()}},FCa=function(a){var b=new DCa;b.setFieldName(a.fieldName);a.value&&b.setValue(a.value);a.actionType&&gl(b,3,ECa[a.actionType]);if(a.customFieldValue){var c=b.setCustomFieldValue;a=a.customFieldValue;a=(new ko).setIt(Am(a));c.call(b,a)}return b},HCa=function(a){return(new GCa).setIt(vCa(a))},KCa=function(a){var b=new ICa,c=
a.addHotlistIds.map(String);wc(b,1,c,Pb);c=a.removeHotlistIds.map(String);wc(b,2,c,Pb);var d=a.hotlistIssue;a=(new on).setIssueId(Number(d.issueId));d.position&&a.setPosition(d.position);if(d.issue){c=a.setIssue;d=d.issue;var e=(new lo).setIssueId(d.issueId).setVersion(d.version).setCustomFieldsList(d.customFields.map(Sya)),f=d.visibleFields.map(Kya);e=$m(e,34,f).setMajorModifiedTime(uk(d.majorModifiedTimeMicros)).setParentIssueIdsList(d.parentIssueIds.map(fk).filter(ik));e=pk(e,39,d.childIssueCount);
e=pk(e,45,d.descendantCount);e=pk(e,46,d.openDescendantCount).setIsArchived(d.isArchived);d.trackerId&&e.setTrackerId(d.trackerId);d.snapshot&&d.snapshot[0]&&e.setIssueState(Rza(d.snapshot[0]));d.statusUpdate&&e.setStatusUpdate(Eza(d.statusUpdate));if(d.userData){f=e.setUserData;var h=d.userData,l=new mo;h.voted&&Cm(l,2,h.voted);h.starred&&Cm(l,1,h.starred);h.notificationSubscription&&l.setNotificationSubscription(JCa[h.notificationSubscription]);h.lastViewedTimeMicros!==void 0&&(h=uk(h.lastViewedTimeMicros),
X(l,rk,5,h));f.call(e,l)}if(d.aggregatedData){f=jm(e,10,d.aggregatedData.voteCount).setCreatedTime(uk(d.aggregatedData.createdTimeMicros)).setResolvedTime(uk(d.aggregatedData.resolvedTimeMicros)).setVerifiedTime(uk(d.aggregatedData.verifiedTimeMicros)).setModifiedTime(uk(d.aggregatedData.modifiedTimeMicros));l=dk(d.aggregatedData.lastModifier);X(f,Zj,14,l);if(d.aggregatedData.sloStatus){f=e.setSloStatus;h=d.aggregatedData.sloStatus;l=new no;if(h.assignmentBounds){var q=lza(h.assignmentBounds);X(l,
Qm,1,q)}h.responseBounds&&(q=lza(h.responseBounds),X(l,Qm,2,q));h.closureBounds&&(h=lza(h.closureBounds),X(l,Qm,3,h));f.call(e,l)}d.aggregatedData.sloId&&e.setSloId(d.aggregatedData.sloId);d.aggregatedData.teamId&&e.setTeamId(d.aggregatedData.teamId);d.aggregatedData.retentionState&&(f=e.setRetentionState,h=d.aggregatedData.retentionState,l=new oo,h.retentionPeriod&&(q=eva(h.retentionPeriod),X(l,tk,1,q)),h.scheduledDeletionTime&&(h=sk(h.scheduledDeletionTime),X(l,rk,2,h)),f.call(e,l))}d.accessLimit&&
e.setAccessLimit(kya(d.accessLimit));if(d.ancestors)for(f=e.getAncestorsMap(),l=k(d.ancestors.entries()),h=l.next();!h.done;h=l.next())q=k(h.value),h=q.next().value,q=q.next().value,f.set(ub(h),(new po).setSourceIssueIdsList(q.sourceIssueIds.map(fk).filter(ik)));d.userActivityStats&&(f=d.userActivityStats,l=new hn,l=jm(l,1,f.oneDayViewCount),l=jm(l,2,f.sevenDayViewCount),f=jm(l,3,f.thirtyDayViewCount),X(e,hn,47,f));d.escalationOwner&&e.setEscalationOwner(dk(d.escalationOwner));c.call(a,e)}a=(new qo).setIt(a);
X(b,qo,3,a);return b},MCa=function(a){var b=lk(a,LCa,1,Uj());return{issueDigests:(b!=null?b:[]).map(CCa),numTotalResults:Qk(a,2)}},OCa=function(a){var b=(new ro).setIssueId(a.issueId).setRetention(Bya(a.retention));a.significanceOverride&&b.setSignificanceOverride(Rya[a.significanceOverride]);return(new NCa).setIt(b)},QCa=function(a){var b=new PCa,c=b.setIt,d=(new lo).setIssueState(Rza(a.snapshot));a.snapshot.comment&&d.setIssueComment((new co).setComment(a.snapshot.comment).setFormattingMode(Om(a.snapshot.formattingMode)));
a.attachments&&d.addAllAttachments(a.attachments.map(Fya));d=(new so).setIssue(d);if(a.templateId!=null){var e=new to;e=Cm(e,1,!1).setTemplateId(a.templateId);X(d,to,3,e)}a.contentJudgement&&(e=d.setContentJudgement,a=ck(rya(a.contentJudgement),5,2),a=ck(a,6,1),e.call(d,a));return c.call(b,d)},RCa=function(a){return{issueId:Tua(a.getIssueId_asString())}},SCa=function(a,b){a=(new uo).setQuery(a);b.s&&a.setOrderBy(DAa(b.s));b.count&&(a.setPageSize(b.count),b.p&&a.setPageToken("start_index:"+b.count*
(b.p-1)));var c;return(new vo).setIt(a).setTrackerIdsList((c=b.trackerIds)!=null?c:[])},cDa=function(a,b,c){a=TCa(new UCa,SCa(a,b));c.queryType&&gl(a,2,VCa[c.queryType]);c.sortSpecs&&c.sortSpecs.length&&WCa(a,c.sortSpecs.map(function(d){var e=new XCa;e=gl(e,1,YCa[d.sortType]);return cl(e,2,d.sortDecreasing)}));c.experimentalFields&&ZCa(a,dCa(c.experimentalFields));c.concatenator&&$Ca(a,aDa((new wo).setRelation(bDa[c.concatenator.relation]),c.concatenator.experimentalSortPrimary));return a},dDa=function(a){return Dza(a.getIt())},
eDa=function(a){var b=new xo,c=b.setIt;var d=(new yo).setQuery(a.query);d=ck(d,2,Rya[a.minimumSignificance]);a=pk(d,4,a.maximumSize);a=ck(a,3,2);return c.call(b,a)},fDa=function(a){var b;return{isCommentEvent:!0,version:a.version,unlinkifiedComment:a.unlinkifiedComment,commentNumber:a.commentNumber,commentVersion:a.version,commentLastModifiedAtDate:Vua(a.lastModified),commentRedacted:hk(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}},gDa=function(a,b){var c,d,e;return{attachments:[],preDiffs:[],postDiffs:[],modifiedDate:gva(uk((e=(c=b.aggregatedData)==null?void 0:c.createdTimeMicros)!=null?e:0)),userPerformingActionUser:a.lastEditorUser,userPerformingAction:Uua()(Sj(a.lastEditorUser)),isCommentEvent:!0,
commentVersion:a.version,version:a.version,commentLastModifiedAtDate:Vua(a.lastModified),commentRedacted:hk(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}},zo=function(a){if(a!=null&&a.getIssue())return a=a.getIssue(),a=a!=null?$za(a.getIt()):void 0,a},iDa=function(a){var b=new hDa;b.setIssueIdsList(a.issueIds.map(String));a=a.actions.map(FCa);$m(b,1,a);return b},jDa=function(a){return{issueId:a.getIssueId_asString(),message:a.getMessage()}},lDa=function(a){for(var b={},c=k(uc(a,1,Ao,dc).entries()),d=c.next();!d.done;d=c.next()){var e=k(d.value);d=e.next().value;
e=e.next().value;d=Number(d);e=e!=null?jn(e.getIt()):void 0;b[d]=e}c={};d=k(uc(a,3,Jn,dc).entries());for(e=d.next();!e.done;e=d.next()){var f=k(e.value);e=f.next().value;f=f.next().value;c[Number(e)]=Hn(f)}a=lk(a,kDa,2,Uj());a=(a!=null?a:[]).map(jDa);return{affectedIssues:b,componentMap:c,errors:a}},mDa=function(a){var b;return((b=a.getIt().getIssueCommentsList())!=null?b:[]).map(Im).map(fDa)},nDa=function(a){return{readTimestamp:Jk(a.getIt(),rk,3)?vk(W(a.getIt(),rk,3)):0}},oDa=function(a){a=a.getIt();
var b=a.getIssueState(),c=b.getAccessLimit();b={type:fza(b.getType()),status:cn[b.getStatus()],priority:dn[b.getPriority()],severity:Gza[b.getSeverity()],componentId:b.getComponentId_asLegacyNumberOrString(),accessLimitLevel:c!=null?gya(c):null};return{issueId:String(a.getIssueId_asLegacyNumberOrString()),issueState:b,modifiedTime:qk(a.getModifiedTime()),teamId:a.getTeamId_asLegacyNumberOrString()}},pDa=function(a){return Im(a.getIt())},qDa=function(a){return a.getIt().getIssueCommentsList().map(Im)},
rDa=function(a){return aza(a==null?void 0:a.getIt())},sDa=function(a){a=a.getIt();return{issues:a.getIssuesList().filter(ik).map(jn),numTotalResults:a.getTotalSize(),positionMap:void 0,nextPageToken:a.getNextPageToken(),totalSizeAccurate:a.getTotalSizeAccurate(),maySkipResults:a.getMaySkipResults()}},uDa=function(a){return{issueId:a.getIssueId_asString(),summaryType:tDa[a.getSummaryType()],modelVersion:a.getModelVersion(),issueVersion:a.getIssueVersion(),summary:a.getSummary(),formattedSummary:Jk(a,
Mm,6)?{content:rl(W(a,Mm,6).getContent())}:void 0}},yDa=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=Lh(a,vDa,b))==null?void 0:c.getValue()};case "google.protobuf.Int64Value":var d;return{type:"NUMBER",value:(d=Lh(a,Bo,b))==null?void 0:d.getValue_asLegacyNumberOrString()};case "google.protobuf.StringValue":var e;return{type:"STRING",value:(e=Lh(a,wDa,b))==null?void 0:e.getValue()};case "google.protobuf.BoolValue":var f;
return{type:"BOOLEAN",value:(f=Lh(a,xDa,b))==null?void 0:f.getValue()};case "google.protobuf.Timestamp":return{type:"TIMESTAMP",value:qk(Lh(a,rk,b))};case "google.devtools.issuetracker.v1.User":return a=Lh(a,Zj,b),{type:"USER",value:a&&ek(a)};case "google.devtools.issuetracker.v1.CustomFieldValue":return a=Lh(a,ym,b),{type:"CUSTOM_FIELD_VALUE",value:a&&Lya(a)};case "google.devtools.issuetracker.v1.IssueAccessLimit":return a=Lh(a,gm,b),{type:"ISSUE_ACCESS_LIMIT",value:a&&gya(a)};case "google.devtools.issuetracker.v1.Issue.Effort":return a=
Lh(a,fn,b),{type:"STRING",value:a&&Tya(a).estimate};case "google.devtools.issuetracker.v1.EntityStatus":return a=Lh(a,nm,b),{type:"ENTITY_STATUS",value:a&&tya(a)};case "google.devtools.issuetracker.v1.GerritChange":return a=Lh(a,gn,b),{type:"GERRIT_CHANGE",value:a&&Hza(a)};case "google.devtools.issuetracker.v1.Staffing.PlannedAllocation":return a=Lh(a,Um,b),{type:"PLANNED_ALLOCATION",value:a&&Cza(a)};default:console.error("Unhandled type in parseProtoAny: "+b)}}},ADa=function(a){var b,c;return{issueId:String(a.getIssueId_asLegacyNumberOrString()),
version:a.getVersion(),author:ek(a.getAuthor()),timestamp:qk(a.getTimestamp()),fieldUpdates:a.getFieldUpdatesList().map(zDa).filter(ik),attachments:a.getAttachmentsList().map(Dya),comment:a.hasIssueComment()&&((b=a.getIssueComment())==null?void 0:b.getIssueId_asLegacyNumberOrString())!==0?Im(a.getIssueComment()):void 0,statusUpdate:a.hasStatusUpdate()?Dza(a.getStatusUpdate()):void 0,statusUpdateEntityStatus:((c=a.getStatusUpdate())==null?0:c.getEntityStatus())?tya(a.getStatusUpdate().getEntityStatus()):
void 0}},zDa=function(a){var b=a.getField();if(BDa.has(b)){var c=$l(a,CDa);switch(c){case 3:a:{if(c=um(a,DDa,3,CDa)){a=yDa(W(c,Co,1));var d=yDa(W(c,Co,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:EDa(um(a,FDa,4,CDa))};default:console.error("Unexpected ValueUpdate oneof in Proto for field id:"+c)}}else console.error('Unexpected IssueStateMask value: "'+
b+'"')},EDa=function(a){if(a){var b=lk(a,Co,1,Uj()).map(yDa).filter(ik);a=lk(a,Co,2,Uj()).map(yDa).filter(ik);var c=[].concat(t(b),t(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})}}},Do=function(a){return new tj(a.year,a.month-1,a.day)},Eo=function(a){return{month:a.getMonth()+1,day:a.getDate(),year:a.getFullYear()}},GDa=function(a){return!(!a||a.day==null||a.month==null||a.year==null)},HDa=function(a,b){if(a&&b){var c=
k(b.split(":"));b=c.next().value;c=c.next().value;return new Cj(a.getYear(),a.getMonth(),a.getDate(),Number(b),Number(c))}},Fo=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},Go=function(a){a=Fo(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},IDa=function(a){return a?
Eo(vj(a)):null},JDa=function(a){return a?(a=Sm(a),isNaN(a)?null:a):null},LDa=function(a){return KDa.format(Do(a))},ODa=function(a){var b=a.fieldUpdates.map(function(c){return MDa(c,a)}).filter(ik);a.statusUpdate&&b.push({name:"statusUpdate",displayName:"Status Update",type:"STATUS_UPDATE",important:!1,timestamp:Ml(a.timestamp),statusUpdateDiff:a.statusUpdateEntityStatus?{entityStatus:a.statusUpdateEntityStatus}:void 0});return NDa(b)},NDa=function(a){var b=a.filter(function(h){return h.name==="status"});
a=a.filter(function(h){return h.name!=="status"});var c=[].concat(t(a),t(b));b=[];a=void 0;c=k(c);for(var d=c.next();!d.done;d=c.next())d=d.value,d.name==="canonicalId"?a=d:(d.name==="status"&&a&&(d.newValue==="Duplicate"&&(d.newValue="Duplicate of "+a.newValue),d.oldValue==="Duplicate"&&(d.oldValue="Duplicate of "+a.oldValue),a=void 0),b.push(d));var e,f;((e=a)==null?0:e.oldValue)&&((f=a)==null?0:f.newValue)&&b.push({name:"status",displayName:"Status",type:"SINGLE_VALUE",important:!0,timestamp:a.timestamp,
oldValue:"Duplicate of "+a.oldValue,newValue:"Duplicate of "+a.newValue});return b},MDa=function(a,b){var c=Ml(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:Ho(e.oldValue),newValue:Ho(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(Kl),removed:e.removed.map(Kl)};case "blocking_issue_ids":return e=a.collectionUpdate,{name:"blockingId",displayName:"Blocking",type:"LINKED_COLLECTION",important:!1,timestamp:c,added:e.added.map(Kl),removed:e.removed.map(Kl)};case "canonical_issue_id":return e=a.singleValueUpdate,{name:"canonicalId",
displayName:"Canonical",type:"SINGLE_VALUE",important:!0,timestamp:c,oldValue:gk(e.oldValue),newValue:gk(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(Ho),removed:e.removed.map(Ho)};case "collaborators":return e=a.collectionUpdate,{name:"collaborators",displayName:"Collaborators",type:"USER_COLLECTION",important:!1,timestamp:c,isUser:!0,added:e.added.map(Ho),removed:e.removed.map(Ho)};case "child_issue_ids":return e=
a.collectionUpdate,{name:"childIssueIds",displayName:"Child Issue",type:"LINKED_COLLECTION",important:!1,timestamp:c,added:e.added.map(Kl),removed:e.removed.map(Kl)};case "code_changes":return e=a.collectionUpdate,Object.assign({},{name:"changelist",displayName:"Changelist",important:!1,timestamp:c},Kwa()?{type:"LINKED_COLLECTION",added:e.added.map($wa),removed:e.removed.map($wa)}:{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=gk(f.oldValue))!=null?e:"",newValue:(h=gk(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:PDa(e.oldValue),newValue:PDa(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(Kl),removed:e.removed.map(Kl)};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(Ga){return axa(Ga)}),removed:e.removed.map(function(Ga){return axa(Ga)})};case "hotlist_ids":return e=a.collectionUpdate,{name:"hotlist",displayName:"Hotlist",type:"LINKED_COLLECTION",important:!1,timestamp:c,added:e.added.map(bxa),removed:e.removed.map(bxa)};case "in_prod":return e=a.singleValueUpdate,{name:"inProd",displayName:"In prod",type:"SINGLE_VALUE",important:!1,timestamp:c,oldValue:e.oldValue!=
null?String(e.oldValue):"",newValue:e.newValue!=null?String(e.newValue):""};case "is_archived":e=a.singleValueUpdate;var l;return{name:"isArchived",displayName:"Archived",type:"SINGLE_VALUE",important:!b||e.newValue,timestamp:c,oldValue:String((f=e.oldValue)!=null?f:!1),newValue:String((l=e.newValue)!=null?l:!1)};case "parent_issue_ids":return e=a.collectionUpdate,{name:"parentIssueIds",displayName:"Parent Issue",type:"LINKED_COLLECTION",important:!1,timestamp:c,added:e.added.map(Kl),removed:e.removed.map(Kl)};
case "staffing.planned_allocations":return e=a.collectionUpdate,e=fxa(e.added,e.removed),{name:"staffing",displayName:"Staffing",important:!1,timestamp:c,type:"COLLECTION",added:e.additions,removed:e.removals};case "postmortems":return e=a.collectionUpdate,Object.assign({},{name:"postmortem",displayName:"Postmortem",timestamp:c,important:!1},Kwa()?{type:"LINKED_COLLECTION",added:e.added.map(cxa),removed:e.removed.map(cxa)}:{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?dn[e.oldValue]:"",newValue:e.newValue!=null?dn[e.newValue]:""};case "retention":e=a.singleValueUpdate;var q,u;return{name:"retention",displayName:"Retention",type:"SINGLE_VALUE",important:!1,timestamp:c,oldValue:(q=QDa(e.oldValue))!=null?q:"",newValue:(u=QDa(e.newValue))!=null?u:""};case "reporter":return e=a.singleValueUpdate,{name:"reporter",displayName:"Reporter",type:"SINGLE_VALUE",
important:!1,timestamp:c,isUser:!0,oldValue:Ho(e.oldValue),newValue:Ho(e.newValue)};case "severity":return e=a.singleValueUpdate,{name:"severity",displayName:"Severity",type:"SINGLE_VALUE",important:!1,timestamp:c,oldValue:e.oldValue!=null?Gza[e.oldValue]:"",newValue:e.newValue!=null?Gza[e.newValue]:""};case "slo_snooze_until":e=a.singleValueUpdate;var A,F,H,N;return{name:"sloStartTime",displayName:"SLO Start Date",type:"SINGLE_VALUE",important:!1,timestamp:c,oldValue:String((H=(A=e.oldValue)==null?
void 0:A.seconds)!=null?H:"<none>"),newValue:String((N=(F=e.newValue)==null?void 0:F.seconds)!=null?N:"<none>")};case "slo_end_time":e=a.singleValueUpdate;var O,T,ea,ka;return{name:"sloEndTime",displayName:"SLO End Date",type:"SINGLE_VALUE",important:!1,timestamp:c,oldValue:String((ea=(O=e.oldValue)==null?void 0:O.seconds)!=null?ea:"<none>"),newValue:String((ka=(T=e.newValue)==null?void 0:T.seconds)!=null?ka:"<none>")};case "status":e=a.singleValueUpdate;var oa,La;return{name:"status",displayName:"Status",
type:"SINGLE_VALUE",important:!0,timestamp:c,oldValue:zj((oa=Io.get(e.oldValue))!=null?oa:""),newValue:zj((La=Io.get(e.newValue))!=null?La:"")};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 Ua,Pa;return{name:"title",displayName:"Title",type:"SINGLE_VALUE",important:!1,timestamp:c,oldValue:(Ua=e.oldValue)!=null?Ua:"",newValue:(Pa=
e.newValue)!=null?Pa:""};case "type":e=a.singleValueUpdate;var lb,qa;return{name:"type",displayName:"Type",type:"SINGLE_VALUE",important:!1,timestamp:c,oldValue:(lb=RDa.get(e.oldValue))!=null?lb:"",newValue:(qa=RDa.get(e.newValue))!=null?qa:""};case "verifier":return e=a.singleValueUpdate,{name:"verifier",displayName:"Verifier",type:"SINGLE_VALUE",important:!1,timestamp:c,isUser:!0,oldValue:Ho(e.oldValue),newValue:Ho(e.newValue)};case "verified_in_versions":return e=a.collectionUpdate,{name:"verifiedIn",
displayName:"Verified in",type:"COLLECTION",important:!1,timestamp:c,added:e.added,removed:e.removed};case "deletion_reason":case "entity_status":case "is_deleted":case "slo_snooze_type":case "staffing":break;default:Db(d,"Unexpected IssueStateMask in fieldUpdateToDiff")}},Ho=function(a){return Uua()(Sj(a))},PDa=function(a){var b;a==null?b="<none>":b=a.textValue!=null?a.textValue:a.dateValue!=null?LDa(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(LDa).join(", "):a.repeatedEnumValue!=null?a.repeatedEnumValue.values.join(", "):a.repeatedNumericValue!=null?a.repeatedNumericValue.values.map(String).join(", "):"";return b},QDa=function(a){if(a!=null)switch(Jza[a]){case "COMPONENT_DEFAULT":return"Component Default";case "INDEFINITE":return"Indefinite"}},VDa=function(a){var b=void 0,c=void 0;a=k(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;
var e=d.updates.flatMap(function(A){return A.fieldUpdates}),f=void 0,h=(f=Na(e.filter(function(A){return A.field==="assignee"})))==null?void 0:f.singleValueUpdate;h&&(b=SDa(h));f=void 0;var l=(f=Na(e.filter(function(A){return A.field==="verifier"})))==null?void 0:f.singleValueUpdate;l&&(c=SDa(l));f=void 0;l=(f=Na(e.filter(function(A){return A.field==="status"})))==null?void 0:f.singleValueUpdate;var q=void 0;f=(q=Na(e.filter(function(A){return A.field==="canonical_issue_id"})))==null?void 0:q.singleValueUpdate;
q=void 0;e=(q=Na(e.filter(function(A){return A.field==="is_archived"})))==null?void 0:q.singleValueUpdate;if(l){q=l.oldValue!=null?cn[l.oldValue]:void 0;l=l.newValue!=null?cn[l.newValue]:void 0;var u=void 0;f=gk((u=f)==null?void 0:u.newValue);TDa(d,UDa({oldStatus:q,newStatus:l,currentAssignee:b,currentVerifier:c,canonicalIssueId:f,assigneeChanged:!!h}))}else h&&b?TDa(d,[Jo("Reassigned to "),Ko(b),Jo(".")]):f&&(l=void 0,f=gk((l=f)==null?void 0:l.newValue),TDa(d,UDa({oldStatus:"DUPLICATE",newStatus:"DUPLICATE",
currentAssignee:b,currentVerifier:c,canonicalIssueId:f,assigneeChanged:!!h})));e&&TDa(d,[Jo(e.newValue?"Archived.":"Unarchived.")])}},UDa=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&&Rl[b];var h=c&&Rl[c];if(b&&h&&!b.open&&h.open)return[Jo("Status: "+h.displayValue+" (reopened)")];switch(c){case "ASSIGNED":if(d)return[Jo("Assigned to "),Ko(d),Jo(".")];break;case "ACCEPTED":if(d)return[Jo("Accepted by "),
Ko(d),Jo(".")];break;case "FIXED":return a&&d?[Jo("Marked as fixed, reassigned to "),Ko(d),Jo(".")]:[Jo("Marked as fixed.")];case "VERIFIED":if(e)return[Jo("Verified by "),Ko(e),Jo(".")];break;case "DUPLICATE":if(f)return[Jo("Status: Duplicate of "),{text:f,tag:"bug"}]}return[Jo("Status: "+zj(h.displayValue))]},SDa=function(a){if(a)return a.newValue},Jo=function(a){return{text:a,tag:""}},Ko=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 Jo(a.obfuscatedEmailAddress);break;case "DELETED":return Jo("Deleted User");case "UNAVAILABLE":return Jo("Unavailable User");default:return console.warn("Unexpected User Gaia status in userToTaggedText"),{text:""}}return Jo("User")},YDa=function(a){if(!a.length)return[];a=Gua(a,function(b){return b.issueId}).flatMap(WDa);return XDa(a,"DESCENDING")},WDa=function(a){if(!a.length)return[];a=ZDa(a);VDa(a);return a.map(function(b){return $Da(b)}).filter(aEa)},
aEa=function(a){var b;return a.postDiffs.length||a.preDiffs.length||a.commentNumber||a.attachments.length||((b=a.taggedSummary)==null?void 0:b.length)},ZDa=function(a){var b=bEa(a,"ASCENDING");a=[new cEa];b=k(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;var d=Na(a),e;var f=e=void 0;if(d.updates.length===0)e=!0;else{var h;if(!(h=d.hasInitialUpdate)&&!(h=!d.author||!c.author)){h=d.author;var l=c.author;h=!(h===l||(h.emailAddress||l.emailAddress?h.emailAddress===l.emailAddress:(h.obfuscatedEmailAddress||
l.obfuscatedEmailAddress)&&h.obfuscatedEmailAddress===l.obfuscatedEmailAddress))}if(h||d.comment&&c.comment)e=!1;else{if(h=(f=d.updates[0])==null?0:f.timestamp)f=(e=d.updates[0])==null?void 0:e.timestamp,h=Math.abs(Ml(f)-Ml(c.timestamp))>36E5;e=h?!1:!0}}e?dEa(d,c):a.push(dEa(new cEa,c))}return a},eEa=function(a){var b={};if(a==null)return b;a=lk(a,Lo,1,Uj());a=k(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=c.getResource(),e={admin:!1,writer:!1,appender:!1,reader:!1};b[d]=b[d]||e;switch(c.getRelation()){case 1:b[d].admin=
!0;break;case 2:b[d].writer=!0;break;case 3:b[d].appender=!0;break;case 4:b[d].reader=!0}}return b},fEa=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})},jEa=function(a){var b=void 0;switch(a.getContentCase()){case 9:b={recommendedIssue:jn(um(a,lo,9,gEa))};break;case 10:b={recommendedHotlist:FAa(um(a,mn,10,gEa))}}return{name:a.getName(),source:a.getSource(),resource:a.getResource(),type:hEa[a.getType()],recommendation:Kh(a,
5),score:a.getScore(),confidence:iEa[a.getConfidence()],createTime:qk(W(a,rk,8)),content:b}},mEa=function(a){var b=(new Mo).setParent(a.parent);a=a.userEngagement;var c=(new No).setType(kEa[a.type]);a.rejectionReason!==void 0&&ck(c,3,lEa[a.rejectionReason]);return X(b,No,2,c)},oEa=function(a){return{recommendations:lk(a,nEa,1,Uj()).map(jEa),nextPageToken:a.getNextPageToken(),totalSize:Qk(a,3)}},Oo=function(a){return{id:a,triage:{phase:"NEW",subphase:"TRIAGE_SUBPHASE_UNSPECIFIED"},clusterIds:[]}},
Po=function(a,b){var c=new Map(b.map(function(d){return[d==null?void 0:d.id,d]}));return a.filter(ik).map(function(d){return Object.assign({},d,{experimentalFields:c.get(d.issueId)})})},Qo=function(){return pEa.performance&&pEa.PerformanceObserver&&typeof window.performance.getEntriesByType==="function"&&typeof window.performance.mark==="function"&&typeof window.performance.measure==="function"},qEa=function(a){var b=a.name;if(b!=null&&(a=Math.round(a.duration),!isNaN(a))){var c=k(b.split(" -> ")),
d=c.next().value;c=c.next().value;if(d==null||c==null)console.warn("can't parse 'from' and 'to' in PerformanceEntry: "+b);else return{from:d,to:c,duration:a}}},sEa=function(a){a=a.sort(function(d,e){return d.startTime-e.startTime});var b=a.find(rEa);if(b!=null){var c=b.name.split(" -> ")[1];return a.find(function(d){return d.name===c})}},wEa=function(){var a=window.performance.getEntries(),b=sEa(a);if(b==null)return[];var c=b.startTime;return a.filter(tEa).filter(uEa).filter(vEa).filter(function(d){return d.startTime<=
c})},rEa=function(a){var b=a.entryType;a=a.name;return b==="measure"&&a.indexOf("browserStart")===0},tEa=function(a){return a.name.indexOf("Zone")!==0},vEa=function(a){return a.entryType==="resource"},xEa=function(a){return a.initiatorType==="xmlhttprequest"},uEa=function(a){return a.name.match(/\.html$/)==null},yEa=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}},
zEa=function(){return typeof Ro.gtag==="function"},AEa=function(a){if(a!=null&&!(a.duration>=3E4))return{hitType:"event",eventCategory:"cf",eventAction:a.from,eventLabel:a.to,eventValue:a.duration}},DEa=function(a){a=a.getEntries().map(qEa).map(AEa);a=k(a);for(var b=a.next();!b.done;b=a.next()){var c=b.value;if(c&&c.hitType){b=c.hitType;var d=c.eventAction;var e=c.eventCategory,f=c.eventLabel;c=c.eventValue;d=Object.assign({},d!==void 0?{event_action:d}:{},e!==void 0?{event_category:e}:{},f!==void 0?
{event_label:f}:{},c!==void 0?{event_value:c}:{});BEa(b,d)}}setTimeout(CEa,100)},CEa=function(){if(!EEa){var a=wEa(),b=a.filter(function(c){return!xEa(c)}).reduce(yEa,FEa());So("r-until-cf","asset","count",b.count);So("r-until-cf","asset","transferSize",b.transferSize);So("r-until-cf","asset","duration",b.duration);So("r-until-cf","asset","cacheHitRate",b.cacheHitRate);a=a.filter(xEa).reduce(yEa,FEa());So("r-until-cf","xhr","count",a.count);So("r-until-cf","xhr","transferSize",a.transferSize);So("r-until-cf",
"xhr","duration",a.duration);EEa=!0}},So=function(a,b,c,d){BEa(a,Object.assign({},b!==void 0?{event_action:b}:{},c!==void 0?{event_label:c}:{},d!==void 0?{event_value:d}:{}))},BEa=function(a,b){b!=null&&(GEa("page_location","Scrubbed Page URL"),GEa("page_title","Scrubbed Page Title"),zEa()&&Ro.gtag("event",a,b),HEa&&mj("[stub gtag.ts] gtag('event')",a,b))},Uo=function(a,b){To(a,b)},GEa=function(a,b){if(zEa()){var c={};Ro.gtag("set",(c[a]=b,c))}HEa&&mj("[stub gtag.ts] gtag('set', {"+a+": "+b+")}")},
To=function(a,b){if(zEa()){var c={};Ro.gtag("set","user_properties",(c[a]=b,c))}HEa&&mj("[stub gtag.ts] gtag('set', 'user_properties', {"+a+": "+b+")}")},MEa=function(){var a=a===void 0?So:a;var b=Date.now(),c=Vo(b);Vo(IEa())!==c?a("retention","first-visit"):(c=Vo(b),Vo(IEa())===c&&JEa()===1&&a("retention","second-visit"));a=Vo(b);Vo(IEa())!==a?KEa(1):(a=JEa()||0,KEa(a+1));LEa(b)},Vo=function(a){if(a!=null)return(new Date(a)).toLocaleDateString()},NEa=function(){function a(){e[0]=1732584193;e[1]=
4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;A=u=0}function b(F){for(var H=h,N=0;N<64;N+=4)H[N/4]=F[N]<<24|F[N+1]<<16|F[N+2]<<8|F[N+3];for(N=16;N<80;N++)F=H[N-3]^H[N-8]^H[N-14]^H[N-16],H[N]=(F<<1|F>>>31)&4294967295;F=e[0];var O=e[1],T=e[2],ea=e[3],ka=e[4];for(N=0;N<80;N++){if(N<40)if(N<20){var oa=ea^O&(T^ea);var La=1518500249}else oa=O^T^ea,La=1859775393;else N<60?(oa=O&T|ea&(O|T),La=2400959708):(oa=O^T^ea,La=3395469782);oa=((F<<5|F>>>27)&4294967295)+oa+ka+La+H[N]&4294967295;ka=ea;ea=
T;T=(O<<30|O>>>2)&4294967295;O=F;F=oa}e[0]=e[0]+F&4294967295;e[1]=e[1]+O&4294967295;e[2]=e[2]+T&4294967295;e[3]=e[3]+ea&4294967295;e[4]=e[4]+ka&4294967295}function c(F,H){if(typeof F==="string"){F=unescape(encodeURIComponent(F));for(var N=[],O=0,T=F.length;O<T;++O)N.push(F.charCodeAt(O));F=N}H||(H=F.length);N=0;if(u==0)for(;N+64<H;)b(F.slice(N,N+64)),N+=64,A+=64;for(;N<H;)if(f[u++]=F[N++],A++,u==64)for(u=0,b(f);N+64<H;)b(F.slice(N,N+64)),N+=64,A+=64}function d(){var F=[],H=A*8;u<56?c(l,56-u):c(l,
64-(u-56));for(var N=63;N>=56;N--)f[N]=H&255,H>>>=8;b(f);for(N=H=0;N<5;N++)for(var O=24;O>=0;O-=8)F[H++]=e[N]>>O&255;return F}for(var e=[],f=[],h=[],l=[128],q=1;q<64;++q)l[q]=0;var u,A;a();return{reset:a,update:c,digest:d,digestString:function(){for(var F=d(),H="",N=0;N<F.length;N++)H+="0123456789ABCDEF".charAt(Math.floor(F[N]/16))+"0123456789ABCDEF".charAt(F[N]%16);return H}}},Wo=function(a){a&&typeof a.dispose=="function"&&a.dispose()},OEa=function(a){for(var b=0,c=arguments.length;b<c;++b){var d=
arguments[b];Xa(d)?OEa.apply(null,d):Wo(d)}},TEa=function(a,b){b=b===void 0?PEa:b;if(!QEa){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("sd"));c=(a.brands||[]).map(function(e){var f=new Xo;return fl(f,1,e.brand).setVersion(e.version)});REa(cl(SEa,2,a.mobile),c);QEa=a.getHighEntropyValues(b)}var d=new Set(b);return QEa.then(function(e){var f=SEa.clone();d.has("platform")&&
f.setPlatform(e.platform);d.has("platformVersion")&&fl(f,4,e.platformVersion);d.has("architecture")&&fl(f,5,e.architecture);d.has("model")&&f.setModel(e.model);d.has("uaFullVersion")&&fl(f,7,e.uaFullVersion);return f}).catch(function(){return SEa.clone()})},UEa=function(){return vd.apply(0,arguments).map(String).join("__")},VEa=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},YEa=function(){var a=window.defrostedResourcesJspb;if(a&&Array.isArray(a))if(a=fea(WEa,XEa(a))){if((a=lk(a,Yo,1,Uj()))&&a.length===1)return zo(a[0])}else nj("Defroster: found data, but it was unparseable. This is unintended but will not cause a user-visible issue.")},ZEa=function(a){if(a){var b=a?{ancestors:a.ancestors,childIssueCount:a.childIssueCount,relatedLinks:a.relatedLinks,statusUpdate:a.statusUpdate,description:a.description}:void 0;return Object.assign({},{issueId:a.issueId},
b)}},$Ea=function(a){var b;return((b=a.error)==null?void 0:b.message)!==void 0},Zo=function(a){return!!a&&Ya(a)&&(!!a.data&&a.data.message!==void 0||$Ea(a))},$o=function(a){return a.data&&a.data.message!==void 0&&a.data&&a.data.message?a.data.message:$Ea(a)&&a.error&&a.error.message?a.error.message:""},aFa=function(a){var b=new ap;b=jm(b,1,Number(a.targetIssueId));return jm(b,2,a.afterIssueId?Number(a.afterIssueId):void 0)},bp=function(a){return{targetIssueId:String(Qk(a,1)),afterIssueId:Qk(a,2)?
String(Qk(a,2)):void 0}},bFa=function(a){return{sourceIssueId:Qk(a,3),issueRelationships:a.getIssueRelationshipsList().map(bp),totalSize:a.getTotalSize()}},cFa=function(a){var b=[];a=k(a.entries());for(var c=a.next();!c.done;c=a.next()){var d=k(c.value);c=d.next().value;d=d.next().value;b.push({issueId:c,relatedChildren:d.issueRelationships,totalChildCount:d.totalSize})}return b},dFa=function(a){return!(a==null||!a.relatedChildren.length)},fFa=function(a,b){var c=[].concat(t(a));a=new Set(a.map(function(h){return h.targetIssueId}));
b=k(b);for(var d=b.next(),e={};!d.done;e={newItem$jscomp$6:void 0},d=b.next())if(e.newItem$jscomp$6=d.value,!a.has(e.newItem$jscomp$6.targetIssueId)){d=c.findIndex(function(h){return function(l){return l.targetIssueId===h.newItem$jscomp$6.afterIssueId}}(e));var f=void 0;f=e.newItem$jscomp$6.afterIssueId?d===-1?c.length:d+1:0;c.splice(f,0,e.newItem$jscomp$6);a.add(e.newItem$jscomp$6.targetIssueId)}return eFa(c)},gFa=function(a,b){return eFa(a.filter(function(c){return c.targetIssueId!==b}))},eFa=function(a){for(var b=
[],c=k(a.entries()),d=c.next();!d.done;d=c.next()){var e=k(d.value);d=e.next().value;var f=e.next().value;e=void 0;d=Object.assign({},f,{afterIssueId:(e=a[d-1])==null?void 0:e.targetIssueId});b.push(d)}return b},hFa=function(a){var b=new Map;a=k(a);for(var c=a.next(),d={};!c.done;d={previousOperation:void 0},c=a.next()){var e=c.value;c=e.issues.map(function(f){return f.issueId}).join(",");d.previousOperation=b.get(c);d.previousOperation?(e={newParentId:e.newParentId,newRelations:e.newRelations,issues:d.previousOperation.issues,
eventTimestamps:[].concat(t(d.previousOperation.eventTimestamps),t(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(t(b.values()));a=k(b);d=a.next();for(c={};!d.done;c={operation$jscomp$5:void 0},d=a.next())c.operation$jscomp$5=d.value,c.operation$jscomp$5.newRelations=c.operation$jscomp$5.newRelations.map(function(f){return function(h){return f.operation$jscomp$5.newParentChildrenSnapshot.find(function(l){return l.targetIssueId===
h.targetIssueId})}}(c));return b.sort(function(f,h){var l=f.newParentChildrenSnapshot,q=h.newParentChildrenSnapshot;f=Math.min.apply(Math,t(f.issues.map(function(u){return l.findIndex(function(A){return A.targetIssueId===u.issueId})})));h=Math.min.apply(Math,t(h.issues.map(function(u){return q.findIndex(function(A){return A.targetIssueId===u.issueId})})));return f===h?0:f<h?-1:1})},nFa=function(a){return a?(a=a.getResponse())?lk(a,iFa,1,Uj()).map(function(b){if(b&&b.getObjective()){var c,d;var e=
b.getObjective(),f=(c=b.getUri())==null?void 0:c.getResourcePath();if(e&&e.getId()){var h,l;c={objectiveId:f!=null?f:e.getId(),title:e.getTitle(),url:twa(e.getUrl()),priorityRating:jFa(e==null?void 0:(h=e.getPriority())==null?void 0:Fk(h,1,0)),keyResults:(l=lk(e,kFa,7,Uj()).map(lFa).filter(ik))!=null?l:[]}}else c=void 0;b={objective:c,periodLabel:(d=W(b,mFa,4))==null?void 0:d.getLabel()}}else b=void 0;return b}).filter(ik):[]:[]},lFa=function(a){if(a&&a.getId()){var b;return{keyResultId:a.getId(),
title:a.getTitle(),url:twa(a.getUrl()),priorityRating:jFa(a==null?void 0:(b=a.getPriority())==null?void 0:Fk(b,1,0))}}},jFa=function(a){if(!a)return"RATING_UNSPECIFIED";switch(a){case 1:return"P0";case 2:return"P1";case 3:return"P2";case 4:return"P3";case 5:return"P4";default:return"RATING_UNSPECIFIED"}},qFa=function(a){return a.getResponsesList().map(function(b){return lk(b,oFa,1,Uj()).map(pFa)}).flat().filter(function(b){return b.signals.length>0})},pFa=function(a){var b=rFa(W(a,cp,1));a=lk(a,sFa,
2,Uj());return{task:b,signals:a.map(tFa).filter(ik)}},uFa=function(a){return a.getResponsesList().map(function(b){return lk(b,cp,1,Uj()).map(rFa).filter(ik)}).flat()},rFa=function(a){if(a){var b=Kh(a,1),c=vFa(Fk(a,2,0)),d=a.getTitle(),e=qk(W(a,rk,4)),f=qk(a.getLastModifiedTimestamp()),h=Kh(a,6);var l=lk(a,wFa,7,Uj());b={taskId:b,taskResourceType:c,title:d,createdTimestamp:e,lastModifiedTimestamp:f,externalLink:h,resourceRelationships:l.map(xFa),isStaleTask:Ak(a,13),snoozeUntilTimestamp:qk(W(a,rk,
14)),manualSignalTimestamp:qk(W(a,rk,15))};Jm(a,yFa,8,zFa)?(a=um(a,yFa,8,zFa),a={fileType:AFa[Fk(a,1,0)],lastMentionTimestamp:qk(W(a,rk,2)),lastMentionLink:Kh(a,4),docwrapRequestTimestamp:qk(W(a,rk,3)),docwrapRequestLink:Kh(a,5)},b.driveResource=a):Jm(a,BFa,9,zFa)&&(a=um(a,BFa,9,zFa),a={priority:dn[a.getPriority()],accessLevel:hya[a.getAccessLevel()],hotlistIds:a.getHotlistIdsList_asLegacyNumberOrString(Vj)},b.issueResource=a);return b}},xFa=function(a){return{category:CFa[a.getCategory()],roleName:Kh(a,
2)}},tFa=function(a){var b={timestamp:qk(a.getTimestamp()),url:twa(a.getUrl()),signalStatus:Ak(a,8)?1:0};if(Jm(a,DFa,3,dp)){a=um(a,DFa,3,dp);var c={signal:EFa[a.getSignal()]};FFa.has(c.signal)?(ep(a,2,GFa)!=null&&(c.commentId=a.getCommentId()),a=c):a=null;if(!a)return null;b.driveAlert=a}else if(Jm(a,fp,5,dp)){c=um(a,fp,5,dp);a={signal:HFa[c.getSignal()]};if(FFa.has(a.signal)){Jk(c,tk,4)&&(a.reviewEstimate=fva(W(c,tk,4)));c=W(c,IFa,5);var d=c==null?void 0:um(c,JFa,2,KFa);c=d?{currentAvailability:{comeBackTimestamp:qk(d.getComeBackTimestamp())}}:
(c=c==null?void 0:um(c,LFa,1,KFa))?{futureAvailability:{comeBackTimestamp:qk(c.getComeBackTimestamp()),futureOooTimestamp:qk(W(c,rk,1))}}:void 0;a.clAuthorAvailability=c}else a=null;if(!a)return null;b.changelistAlert=a}else if(Jm(a,gp,4,dp)){c=um(a,gp,4,dp);a={signal:MFa[c.getSignal()]};if(FFa.has(a.signal)){if(c=c.getCommentNumbers())c=pc(c,1,Mb,Uj(Vj)),c.length>0&&(a.commentNumbers=c)}else a=null;if(!a)return null;b.issueAlert=a}else if(Jm(a,hp,7,dp)){a=um(a,hp,7,dp);a={signal:NFa[a.getSignal()]};
a=FFa.has(a.signal)?a:null;if(!a)return null;b.gerritAlert=a}return b},vFa=function(a){switch(a){case 1:return"CHANGELIST";case 2:return"DRIVE";case 3:return"ISSUE";case 4:return"LAUNCH";case 5:return"GERRIT";case 6:return"GOOGLE_TASKS";default:return"TASK_RESOURCE_TYPE_UNSPECIFIED"}},OFa=function(a){switch(a){case "CHANGELIST":return 1;case "DRIVE":return 2;case "ISSUE":return 3;case "LAUNCH":return 4;case "GERRIT":return 5;case "GOOGLE_TASKS":return 6;default:return 0}},PFa=function(a){switch(a){case 0:return 0;
case 1:return 5;case 2:return 2;default:return 0}},QFa=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}},SFa=function(a){return a?RFa[a]:RFa.ISSUE_SIGNAL_UNSPECIFIED},UFa=function(a){return a?TFa[a]:TFa.DRIVE_SIGNAL_UNSPECIFIED},WFa=function(a){return a?VFa[a]:VFa.CHANGELIST_SIGNAL_UNSPECIFIED},YFa=function(a){return a?XFa[a]:XFa.GERRIT_CHANGE_SIGNAL_UNSPECIFIED},ZFa=function(a){if(a=a.getResponse())return{commentId:a.getCommentId(),
authorDisplayName:Kh(a,2),content:a.getContent(),lastModifiedTimestamp:qk(W(a,rk,4))}},cGa=function(a,b){if(!b||!b.getData())return[];a=uc(b,1,$Fa,dc).get(a);if(!a)return[];var c=Uk(a,2),d,e;return Array.from((e=(d=b.getData())==null?void 0:uc(d,2,aGa,cda))!=null?e:[]).map(function(f){if(c.some(function(u){return u===f[0].toString()})){var h=f[1],l,q=(l=b.getData())==null?void 0:uc(l,1,ip,cda).get(Number(h.getWorkspaceId_asString()));return bGa(h,q)}}).filter(ik)},bGa=function(a,b){if(a&&a.getType()===
3){var c=(new Date).getTime()/1E3,d=qk(a.getStartTime()),e=qk(a.getEndTime());c=c>=d.seconds&&c<e.seconds;b=b&&b.getWorkspaceId_asString()!=="0"?{workspaceId:b.getWorkspaceId_asString(),name:b.getName()}:void 0;if(c&&b)return{name:a.getName(),iterationId:Wk(a,1),workspace:b,startTimestamp:d,endTimestamp:e}}},fGa=function(a){var b=a.getResponse();return b&&lk(b,jp,1,Uj())&&W(b,dGa,2)?lk(b,jp,1,Uj()).map(function(c){var d=W(b,dGa,2);if(c&&d){var e=c.getId();d=cGa(c.getId(),d);var f=c.getId(),h;c=c&&
uc(c,15,eGa,dc)?(h=uc(c,15,eGa,dc).get(f))==null?void 0:Tj(h,1,Uj()):void 0;e={workItemId:e,iterations:d,okrIds:c}}else e=void 0;return e}).filter(ik):[]},kp=function(a){return a==="CRITIQUE"?"CHANGELIST":a==="DRIVE"?"DRIVE":a==="BUGANIZER"?"ISSUE":a==="WTDM"||a==="NON_WTDM"?"ISSUE":a==="GERRIT"?"GERRIT":a==="GOOGLE_TASKS"?"GOOGLE_TASKS":"TASK_RESOURCE_TYPE_UNSPECIFIED"},jGa=function(a){var b={};a=k(uc(a,1,gGa,dc).entries());for(var c=a.next();!c.done;c=a.next()){var d=k(c.value);c=d.next().value;
d=d.next().value;b[c]={principalType:hGa[Fk(d,1,0)],detailedUserType:iGa[Fk(d,2,0)]}}return b},kGa=function(a,b){return a.map(function(c){return b[c]||null})},lGa=function(){return{principalType:"NON_GAIA",detailedUserType:"NO_DETAILED_TYPE"}},mGa=function(a){switch(a){case 1:return"daily";case 2:return"weekly";case 3:return"monthly";case 0:break;default:Db(a)}},nGa=function(a){switch(a){case "daily":return 1;case "weekly":return 2;case "monthly":return 3;default:return Db(a)}},oGa=function(a){var b=
{id:a.getId()};a.getVersion()&&(b.version=a.getVersion());return b},pGa=function(a){var b=(new lp).setId(a.id);a.version&&b.setVersion(a.version);return b},qGa=function(a){return{hours:a.getHours(),minutes:a.getMinutes(),seconds:a.getSeconds(),nanos:a.getNanos()}},rGa=function(a){return(new mp).setHours(a.hours).setMinutes(a.minutes).setSeconds(a.seconds).setNanos(a.nanos)},sGa=function(a){var b;return((b=a.getTeamSloEditPolicy())==null?void 0:Fk(b,2,0))===1},uGa=function(a){var b;return((b=W(a,tGa,
1))==null?void 0:b.getEffectiveSloEditPolicy())===1},vGa=function(a){var b=W(a,Zj,2),c=mGa(a.getFrequency()),d=a.getTimeZone(),e=a.getTimeOfDay();if(b==null)throw Error("xd");if(c==null)throw Error("yd");if(d==null)throw Error("zd");if(e==null)throw Error("Ad");var f=a.getId_asLegacyNumberOrString();b=ek(b);var h=a.getOrdinal();d=oGa(d);e=qGa(e);var l=tm(a,7),q=pc(a,8,Kb,Uj()).map(fza);a=jk(a,9,Uj(Vj));return{id:f,lead:b,frequency:c,ordinal:h,timeZone:d,timeOfDay:e,daysRemaining:l,types:q,sloIds:a}},
wGa=function(a){var b=(new np).setId(a.id),c=dk(a.lead);b=X(b,Zj,2,c).setFrequency(nGa(a.frequency)).setOrdinal(a.ordinal).setTimeZone(pGa(a.timeZone)).setTimeOfDay(rGa(a.timeOfDay)).setDaysRemaining(a.daysRemaining);c=a.types.map(gza);b=op(b,8,c);return pp(b,9,a.sloIds)},xGa=function(a){return oza(a.getIt())},yGa=function(a){var b=new qp,c=b.setIt;var d=(new rp).setSloId(a.sloId).setName(a.name).setDescription(a.description).setParentId(a.parentId);var e=a.elements.map(tza);d=$m(d,5,e);e=a.effectiveElements.map(tza);
d=$m(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("Ac`"+a);}a=ck(d,8,a);return c.call(b,a)},zGa=function(a){return{id:a.getId_asString(),name:a.getName(),description:a.getDescription()}},AGa=function(a){if(a=a.getIt())return gBa(a);throw Error("Bd");},BGa=function(a){return{teamId:a.getId_asString(),name:a.getName(),description:a.getDescription(),pathNames:a.getPathNamesList(Vj),pathIds:a.getPathIdsList_asString()}},
CGa=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"}}},sp=function(a,b){b=new Xi(b);a.subscribe(b);return b},tp=function(a){var b;a.subscribe(function(c){b=c}).unsubscribe();return b},up=function(){return Pf(function(a,b){return oj(a,b)})},DGa=function(){return function(a){return a.pipe(z(function(b){return{event:b,timestamp:Date.now()}}),Uja(a.pipe(Lf(1E4,vp))))}},
wp=function(a,b){return b!=null&&b.displayName?b.displayName:a+" triage"},EGa=function(a,b,c){return c!=null&&c.displayName?Ae(c.displayName):a.pipe(z(function(d){var e;return(e=d==null?void 0:d.name)!=null?e:b}),z(function(d){return wp(d)}))},FGa=function(a,b){return{displayAs:"Team: "+a.name,queryAtom:"teamId:"+a.teamId+(b===void 0||b?"+":""),tooltip:"Issues within this team's components"}},GGa=function(a,b){return{displayAs:"Component: "+a.name,queryAtom:"componentId:"+a.componentId+(b===void 0||
b?"+":""),tooltip:"Issues within this component"}},xp=function(a,b,c){c=c===void 0?!1:c;if(!b)return"";Array.isArray(b)||(b=[b]);b=b.filter(ik);return b.length===0?"":a+":("+b.join("|")+")"+(c?"+":"")},yp=function(){return vd.apply(0,arguments).filter(Boolean).join(" AND ")},HGa=function(a){return{filter:a,pageSize:250,sort:"created_time:desc",custom:"byExperimentalPhase"}},IGa=function(a,b){return a.filter(function(c){return Xl(c)===b})},JGa=function(a){if(a&1){var b=v();I(0,"div",1)(1,"button",
2);M("click",function(){w(b);var c=P();return x(c.action())});Q(2);J()()}a&2&&(a=P(),B(2),R(" ",a.data.action," "))},KGa=function(){},LGa=function(a){a&1&&K(0,"span",1);a&2&&(a=P(),E("innerHtml",a.data.htmlMessage,uf))},MGa=function(a){a&1&&(I(0,"span",2),Q(1),J());a&2&&(a=P(),B(),Yg(a.data.message))},NGa=function(a){if(a&1){var b=v();I(0,"button",6);M("click",function(){w(b);var c=P();return x(c.snackBarRef.dismissWithAction())});Q(1);J()}a&2&&(a=P(),B(),R(" ",a.data.actionLabel," "))},OGa=function(a){if(a&
1){var b=v();I(0,"button",6);M("click",function(){w(b);var c=P();return x(c.snackBarRef.dismiss())});Q(1);J()}a&2&&(a=P(),B(),R(" ",a.data.dismissLabel," "))},PGa=function(a){if(a&1){var b=v();I(0,"button",7);M("click",function(){w(b);var c=P();return x(c.snackBarRef.dismiss())});K(1,"mat-icon",8);J()}},zp=function(a,b,c){c=c===void 0?2:c;var d=Math.floor((new Date).getTime()/1E3-a);if(d<300)return"just now";if(!(d<0)){for(var e=[],f=k(QGa),h=f.next();!h.done;h=f.next()){var l=k(h.value);h=l.next().value;
l=l.next().value;if(e.length>=c)break;var q=Math.floor(d/l);if(q>=1)b?e.push(""+q+RGa[h]):q===1?e.push(q+" "+h):e.push(q+" "+h+"s");else if(e.length)break;d-=q*l;if(q>1)break}if(e.length)return e.join(" ")+" ago";console.error("epochToDateAgo() unhandled input. Seconds:",a)}},SGa=function(a,b){a&1&&(I(0,"time",1),S(1,"async"),Q(2),J());if(a&2){a=P();var c=kg(v(),"padding-left: ",a.paddingLeftPx,"px");fla(dla,ela,c,!1);E("title",b.title);jg("datetime",U(1,6,a.timestampIso$));B(2);Yg(b.formatted)}},
TGa=function(a){var b,c=new Ap,d=c.setIt,e=(new Bp).setIssueId(a.issueId).setScope(a.scope);e=ak(e,4,a.scopeSortOrder).setMaxResults((b=a.maxResults)!=null?b:7);a=ak(e,3,a.keyword);return d.call(c,a)},UGa=function(a,b){a=Aua([].concat(t(a.scores),t(b.scores)),[].concat(t(a.similarIssues),t(b.similarIssues))).sort(function(c,d){return d[0]-c[0]});a=Jj(a,function(c){c=k(c);c.next();return c.next().value.issueId});return{scores:a.map(function(c){return c[0]}),similarIssues:a.map(function(c){return c[1]})}},
VGa=function(a){a&1&&Jg(0)},WGa=function(a){a&1&&K(0,"div",0)},XGa=function(a){a&1&&K(0,"b-formatted-date-time",1);a&2&&(a=P(),E("mode",a.mode)("timestamp",a.createdTime)("paddingLeftPx",0))},YGa=function(a){return a instanceof Cp?a:new Cp(a,{})},Dp=function(a){a=YGa(a);return new Cp(a.char,Object.assign({},a.modifiers,{shift:!0}))},ZGa=function(a){a=YGa(a);return new Cp(a.char,Object.assign({},a.modifiers,{ctrl:!0}))},$Ga=function(){var a=Dp("f");a=YGa(a);return new Cp(a.char,Object.assign({},a.modifiers,
{alt:!0}))},bHa=function(a){if(a instanceof Cp){var b=aHa(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(bHa).join(" "):aHa(a)},Ep=function(){return vd.apply(0,arguments)},aHa=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 Db(a)}},cHa=function(a){return a.keys.join("-")+"-"+a.description+"-"+a.displayAs},dHa=function(a){switch(a){case "P0":return Fp.CHANGE_ISSUE_PRIORITY_TO_P0;case "P1":return Fp.CHANGE_ISSUE_PRIORITY_TO_P1;case "P2":return Fp.CHANGE_ISSUE_PRIORITY_TO_P2;case "P3":return Fp.CHANGE_ISSUE_PRIORITY_TO_P3;
case "P4":return Fp.CHANGE_ISSUE_PRIORITY_TO_P4;case "PRIORITY_UNSPECIFIED":break;default:console.error("Unsupported issue priority in issuePriorityToHotkey")}},eHa=function(a){switch(a){case "NEW":return Fp.CHANGE_ISSUE_STATUS_TO_NEW;case "ASSIGNED":return Fp.CHANGE_ISSUE_STATUS_TO_ASSIGNED;case "ACCEPTED":return Fp.CHANGE_ISSUE_STATUS_TO_ACCEPTED;case "FIXED":return Fp.CHANGE_ISSUE_STATUS_TO_FIXED;case "VERIFIED":return Fp.CHANGE_ISSUE_STATUS_TO_VERIFIED;case "NOT_REPRODUCIBLE":return Fp.CHANGE_ISSUE_STATUS_TO_NOT_REPRODUCIBLE;
case "INTENDED_BEHAVIOR":return Fp.CHANGE_ISSUE_STATUS_TO_INTENDED_BEHAVIOR;case "OBSOLETE":return Fp.CHANGE_ISSUE_STATUS_TO_OBSOLETE;case "INFEASIBLE":return Fp.CHANGE_ISSUE_STATUS_TO_INFEASIBLE;case "DUPLICATE":return Fp.CHANGE_ISSUE_STATUS_TO_DUPLICATE;case "STATUS_UNSPECIFIED":break;default:console.error("Unsupported issue status in issueStatusToHotkey")}},fHa=function(a){if(a&1){var b=v();I(0,"div",0);M("keydown",function(c){w(b);var d=P();return x(d.processKeydown(c))});Jg(1);J()}a&2&&(a=P(),
tg(a.className),jg("id",a.id))},gHa=function(a){a&1&&K(0,"mat-icon",9)},hHa=function(a){a&1&&(I(0,"span",17),Q(1),J());a&2&&(a=P(3),B(),Yg(a.HOTKEYS.COPY_ISSUE_ID.displayAs))},iHa=function(a){a&1&&(I(0,"span",17),Q(1),J());a&2&&(a=P(4),B(),Yg(a.HOTKEYS.COPY_ISSUE_SHORTLINK.displayAs))},jHa=function(a){if(a&1){var b=v();I(0,"div",14)(1,"label",15);Q(2,"Issue shortlink");J();I(3,"input",24,5);M("onHotkey",function(){w(b);var d=L(4),e=P(3);return x(Gp(e,d))})("focus",function(){w(b);var d=L(4);return x(d.select())});
J();D(5,iHa,2,1,"span",17);I(6,"button",25);M("onHotkey",function(){w(b);var d=L(4),e=P(3);return x(Gp(e,d))})("click",function(){w(b);var d=L(4),e=P(3);return x(Gp(e,d))});K(7,"mat-icon",19);J()()}if(a&2){a=L(4);var c=P(3);B();E("htmlFor",a.id);B(2);E("hotkey",c.HOTKEYS.COPY_ISSUE_SHORTLINK)("hotkeyEnabled",c.enableHotkeys);jg("value",c.getAppBaseUrl().replace(/^.*?:\/\//,""));B(2);G(c.enableHotkeys?5:-1);B();E("hotkey",c.HOTKEYS.COPY_ISSUE_SHORTLINK)("hotkeyEnabled",c.enableHotkeys)}},kHa=function(a){a&
1&&(I(0,"span",17),Q(1),J());a&2&&(a=P(3),B(),Yg(a.HOTKEYS.COPY_ISSUE_URL.displayAs))},lHa=function(a){a&1&&(I(0,"span",17),Q(1),J());a&2&&(a=P(3),B(),Yg(a.HOTKEYS.COPY_ISSUE_TITLE.displayAs))},mHa=function(a){a&1&&(I(0,"span",17),Q(1),J());a&2&&(a=P(4),B(),Yg(a.HOTKEYS.COPY_ISSUE_EMAIL_ADDRESS.displayAs))},nHa=function(a){if(a&1){var b=v();I(0,"div",14)(1,"label",15);Q(2,"Issue email");J();I(3,"input",26,6);M("onHotkey",function(){w(b);var d=L(4),e=P(3);return x(Gp(e,d))})("focus",function(){w(b);
var d=L(4);return x(d.select())});J();D(5,mHa,2,1,"span",17);I(6,"button",27);M("onHotkey",function(){w(b);var d=L(4),e=P(3);return x(Gp(e,d))})("click",function(){w(b);var d=L(4),e=P(3);return x(Gp(e,d))});K(7,"mat-icon",19);J()()}if(a&2){a=L(4);var c=P(3);B();E("htmlFor",a.id);B(2);E("hotkey",c.HOTKEYS.COPY_ISSUE_EMAIL_ADDRESS)("hotkeyEnabled",c.enableHotkeys);jg("value","buganizer-system"+(El(c.activeSession.session)?"":"-qa")+("+"+c.componentId+"+"+c.issueId)+"@google.com");B(2);G(c.enableHotkeys?
5:-1);B();E("hotkey",c.HOTKEYS.COPY_ISSUE_EMAIL_ADDRESS)("hotkeyEnabled",c.enableHotkeys)}},oHa=function(a){a&1&&(I(0,"span",17),Q(1),J());a&2&&(a=P(4),B(),Yg(a.HOTKEYS.COPY_ISSUE_TODO.displayAs))},pHa=function(a){if(a&1){var b=v();I(0,"div",14)(1,"label",15);Q(2,"TODO comment");J();I(3,"input",28,7);M("onHotkey",function(){w(b);var d=L(4),e=P(3);return x(Gp(e,d))})("focus",function(){w(b);var d=L(4);return x(d.select())});J();D(5,oHa,2,1,"span",17);I(6,"button",29);M("onHotkey",function(){w(b);var d=
L(4),e=P(3);return x(Gp(e,d))})("click",function(){w(b);var d=L(4),e=P(3);return x(Gp(e,d))});K(7,"mat-icon",19);J()()}if(a&2){a=L(4);var c=P(3);B();E("htmlFor",a.id);B(2);E("hotkey",c.HOTKEYS.COPY_ISSUE_TODO)("hotkeyEnabled",c.enableHotkeys);jg("value","TODO: "+c.getAppBaseUrl().replace(/^.*?:\/\//,"")+" - ");B(2);G(c.enableHotkeys?5:-1);B();E("hotkey",c.HOTKEYS.COPY_ISSUE_TODO)("hotkeyEnabled",c.enableHotkeys)}},qHa=function(a){if(a&1){var b=v();I(0,"div",13)(1,"div",14)(2,"label",15);Q(3,"Issue ID");
J();I(4,"input",16,2);M("onHotkey",function(){w(b);var f=L(5),h=P(2);return x(Gp(h,f))})("focus",function(){w(b);var f=L(5);return x(f.select())});J();D(6,hHa,2,1,"span",17);I(7,"button",18);M("onHotkey",function(){w(b);var f=L(5),h=P(2);return x(Gp(h,f))})("click",function(){w(b);var f=L(5),h=P(2);return x(Gp(h,f))});K(8,"mat-icon",19);J()();D(9,jHa,8,7,"div",14);I(10,"div",14)(11,"label",15);Q(12,"Issue URL");J();I(13,"input",20,3);M("onHotkey",function(){w(b);var f=L(14),h=P(2);return x(Gp(h,f))})("focus",
function(){w(b);var f=L(14);return x(f.select())});J();D(15,kHa,2,1,"span",17);I(16,"button",21);M("onHotkey",function(){w(b);var f=L(14),h=P(2);return x(Gp(h,f))})("click",function(){w(b);var f=L(14),h=P(2);return x(Gp(h,f))});K(17,"mat-icon",19);J()();I(18,"div",14)(19,"label",15);Q(20,"URL and title");J();I(21,"input",22,4);M("onHotkey",function(){w(b);var f=L(22),h=P(2);return x(Gp(h,f))})("focus",function(){w(b);var f=L(22);return x(f.select())});J();D(23,lHa,2,1,"span",17);I(24,"button",23);
M("onHotkey",function(){w(b);var f=L(22),h=P(2);return x(Gp(h,f))})("click",function(){w(b);var f=L(22),h=P(2);return x(Gp(h,f))});K(25,"mat-icon",19);J()();D(26,nHa,8,7,"div",14)(27,pHa,8,7,"div",14);J()}if(a&2){a=L(5);var c=L(14),d=L(22),e=P(2);E("cdkTrapFocusAutoCapture",!0);B(2);E("htmlFor",a.id);B(2);E("hotkey",e.HOTKEYS.COPY_ISSUE_ID)("hotkeyEnabled",e.enableHotkeys);jg("value",e.issueId);B(2);G(e.enableHotkeys?6:-1);B();E("hotkey",e.HOTKEYS.COPY_ISSUE_ID)("hotkeyEnabled",e.enableHotkeys);B(2);
G(e.activeSession.isInternalSession()&&!Hp(e.activeSession)?9:-1);B(2);E("htmlFor",c.id);B(2);E("hotkey",e.HOTKEYS.COPY_ISSUE_URL)("hotkeyEnabled",e.enableHotkeys);jg("value",e.getIssueUrl());B(2);G(e.enableHotkeys?15:-1);B();E("hotkey",e.HOTKEYS.COPY_ISSUE_URL)("hotkeyEnabled",e.enableHotkeys);B(3);E("htmlFor",d.id);B(2);E("hotkey",e.HOTKEYS.COPY_ISSUE_TITLE)("hotkeyEnabled",e.enableHotkeys);jg("value",e.getAppBaseUrl(e.isExternalIssue)+" "+e.issueTitle);B(2);G(e.enableHotkeys?23:-1);B();E("hotkey",
e.HOTKEYS.COPY_ISSUE_TITLE)("hotkeyEnabled",e.enableHotkeys);B(2);G(e.activeSession.isInternalSession()&&!Hp(e.activeSession)?26:-1);B();G(e.activeSession.isInternalSession()&&!Hp(e.activeSession)?27:-1)}},rHa=function(a){if(a&1){var b=v();I(0,"button",10,0);M("onHotkey",function(){w(b);var d=P();d.disabled||d.trigger.open();return x()})("onedevPopupPanelTriggerOpened",function(){w(b);var d=P();return x(d.isOpen=!0)})("onedevPopupPanelTriggerClosed",function(){w(b);var d=P();return x(d.isOpen=!1)})("click",
function(){w(b);var d=P();d.disabled||d.trigger.open();return x()});K(2,"mat-icon",11);J();I(3,"onedev-popup-panel",12,1);D(5,qHa,28,25,"div",13);J()}if(a&2){a=L(4);var c=P();E("onedevPopupPanelTriggerFor",a)("hotkey",c.HOTKEYS.HIGHLIGHT_ISSUE_ID)("hotkeyEnabled",c.enableHotkeys);jg("aria-label","Show links for the issue "+c.issueId);B(5);G(c.isOpen?5:-1)}},sHa=function(a){a&1&&K(0,"b-issue-id-picker",1);a&2&&(a=P(),E("issueId",a.id)("showCopyOptions",!1))},tHa=function(a){a&1&&K(0,"b-issue-priority-display",
1);a&2&&(a=P(),E("issuePriority",a.priority))},uHa=function(a){a&1&&(I(0,"a",2),Q(1," Fix Pending "),J());a&2&&(a=P(),vg("chippy status-",a.IssueStatus.FIXED,""),Kg("href","http://cl/",a.pendingFixCl.changelistNumber,"",vf),Mg("matTooltip","Open cl/",a.pendingFixCl.changelistNumber," from ",a.pendingFixCl.author,""))},vHa=function(a,b){a&1&&(I(0,"div",4),Q(1),J());if(a&2){var c,d;a=P(2);vg("chippy status-",b,"");E("title",(c=a.STATUS_JS_FULL_TEXT.get(b))!==null&&c!==void 0?c:"");B();R(" ",(d=a.STATUS_JS_TERSE.get(b))!==
null&&d!==void 0?d:""," ")}},wHa=function(a){a&1&&D(0,vHa,2,5,"div",3);if(a&2){var b;a=P();G((b=a.status)?0:-1,b)}},xHa=function(a,b){b=b===void 0?"":b;return a.filter(function(c){return c.fixedIssueIds.includes(b)})[0]},yHa=function(a){if(a&1){var b=v();I(0,"div",5);M("clickOutside",function(){w(b);var c=P();return x(c.hide())});I(1,"div",6);Q(2," Relative link may be malformed:\u00a0 ");I(3,"code");Q(4);J();I(5,"button",7);M("click",function(){w(b);var c=P();return x(c.copyToClipboard())});K(6,
"mat-icon",8);J()();I(7,"div",6);Q(8," Force open as: \u00a0 ");I(9,"a",9);M("click",function(c){w(b);var d=P();Hl(c)||(c.preventDefault(),c.stopPropagation(),Ip(d.domSafe,"http://"+d.originalHref));return x()});Q(10);J()()()}a&2&&(a=P(),B(4),Yg(a.originalHref),B(5),Kg("href","http://",a.originalHref,"",vf),B(),R(" http://",a.originalHref," "))},zHa=function(){return{color:"accent",clickAction:"check-indeterminate",disabledInteractive:!1}},AHa=function(a){return a.endsWith("?")?a.slice(0,a.length-
1):a},BHa=function(a){var b;return(b=fk(a))!=null?b:null},CHa=function(a){var b;return(b=gk(a))!=null?b:null},DHa=function(a){a&1&&(I(0,"b-glue"),K(1,"mat-icon",4),J())},EHa=function(a){a&1&&K(0,"mat-icon",7);a&2&&(a=P().$implicit,E("svgIcon",a.icon))},HHa=function(a,b){if(a&1){var c=v();I(0,"span",6);D(1,EHa,1,1,"mat-icon",7);I(2,"a",8);M("click",function(f){var h=w(c).$implicit,l=P(2);h=h.href;Hl(f)||(f.preventDefault(),f.stopPropagation(),Ip(l.domSafe,h));return x()})("keydown",function(f){var h=
w(c).$index,l=P(2);return x(FHa(l,f,h===0))});Q(3);J()();I(4,"button",9);M("keydown.Tab",function(f){var h=w(c),l=h.$index;h=h.$count;var q=P(2);return x(GHa(q,f,l===h-1))})("click",function(){var f=w(c).$implicit,h=P(2);return x(h.copyToClipboard(f.originalHref))});K(5,"mat-icon",10);J()}if(a&2){a=b.$implicit;var d=b.$index;b=b.$count;var e=P(2);B();G(a.icon?1:-1);B();E("href",a.originalHref,vf)("rel",e.EXTERNAL_LINK_REL);B();Yg(a.label);B();sg("final",d===b-1)}},JHa=function(a){if(a&1){var b=v();
I(0,"div",5);M("clickOutside",function(){w(b);var c=P();return x(c.hide())});yg(1,HHa,6,6,null,null,IHa);J()}a&2&&(a=P(),B(),zg(a.urls))},LHa=function(a){if(KHa==null){var b=typeof document!=="undefined"?document.head:null;KHa=!(!b||!b.createShadowRoot&&!b.attachShadow)}return KHa&&(a=a.getRootNode?a.getRootNode():null,typeof ShadowRoot!=="undefined"&&ShadowRoot&&a instanceof ShadowRoot)?a:null},MHa=function(a){if(a&1){var b=v();I(0,"div",0);M("clickOutside",function(){w(b);var c=P();return x(c.closeHovercard$.next())})("mouseenter",
function(){w(b);P().isOnHover$.next(!0);return x()})("mouseleave",function(){w(b);P().isOnHover$.next(!1);return x()});Jg(1);J()}a&2&&(a=P(),tg(a.className),E("cdkTrapFocusAutoCapture",a.wasTriggeredByKeyboard))},NHa=function(a){a&1&&(I(0,"div",4),Cg(1,5),J());a&2&&(a=P(),E("onedevIsHovercardReady",a.hovercardReady))},Jp=function(a){if(a.user){var b,c;return(c=(b=a.user.user)==null?void 0:b.emailAddress)!=null?c:""}if(a.placeholder){var d;return(d=a.placeholder.role)!=null?d:""}return""},OHa=function(a){return new Map(a.map(function(b){return[Jp(b),
b]}))},Kp=function(a){return typeof a==="string"?"buganizer.drafts."+a:"buganizer.drafts.labeled."+a.label},PHa=function(){},QHa=function(a,b){for(var c=a.length;c--;)b(a[c])},RHa=function(){},SHa=function(a){return a==null?null:typeof a==="number"?a:a.endsWith("ms")?gi(a.substring(0,a.length-2)):a.endsWith("s")?gi(a.substring(0,a.length-1))*1E3:a==="0"?0:null},THa=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},UHa=function(a){if(a&1){var b=v();I(0,"button",5);M("click",function(){w(b);var c=P();return x(c.dialogRef.close(!1))});Q(1);J()}a&2&&(a=P(),B(),R(" ",a.cancelButtonText," "))},VHa=function(a){var b=[];a=[].concat.apply([],t(a.map(function(e){return e.actions})));a=k(a);for(var c=a.next(),d={};!c.done;d={action$jscomp$63:void 0},c=a.next())d.action$jscomp$63=c.value,b.some(function(e){return function(f){return oj(e.action$jscomp$63,f)}}(d))||b.push(d.action$jscomp$63);
return b},WHa=function(a){return Array.from(new Set([].concat.apply([],t(a.map(function(b){return b.issueIds})))))},XHa=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 Db(a,"Unexpected pii severity")}},Lp=function(a){return a&&a.piiVerdict?a.piiVerdict.severity:"NONE_DETECTED"},YHa=function(a){switch(a){case "RESTRICTED":return"Restricted";case "RESTRICTED_PLUS":return"Restricted+";
default:return""}},ZHa=function(a){return qya(a.getIt())},$Ha=function(a){return{encryptedMedia:Ada(Mp(a,1)),errorMessage:a.getErrorMessage()}},bIa=function(a){var b=new aIa;Np(b,1,pb(a.attachment,!1,!0));if(a.contentJudgement!==void 0){var c=b.setContentJudgement;a=a.contentJudgement;a=(new Op).setIt(rya(a));c.call(b,a)}return b},dIa=function(a){var b;return{attachments:((b=a.getAttachmentsList())!=null?b:[]).map(cIa)}},cIa=function(a){if(a!=null)return Dya(a.getIt())},eIa=function(a,b){a&1&&(I(0,
"li"),Q(1),J());a&2&&(a=b.$implicit,B(),Yg(a))},fIa=function(a,b,c,d){c&&c.targetTime&&(c.endTime?b.push({sloBounds:c,sloMetric:d}):a.push({sloBounds:c,sloMetric:d}))},gIa=function(a,b){return a.sloBounds.targetTime.seconds-b.sloBounds.targetTime.seconds},hIa=function(){return{startTime:Date.now(),sessionStartTime:Date.now(),firstActionSeen:!1,editCount:0,variations:new Set}},Pp=function(a,b){b=(b===void 0?{}:b).comment;return{path:"/issues/"+a,fragment:b?"comment"+b:void 0}},Qp=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},iIa=function(a){var b={};a=(b.component=a?String(a):void 0,b);a=a===void 0?{}:a;return{path:"/issues/new",queryParams:a}},jIa=function(a){return{path:"/components/"+a}},kIa=function(a){var b={};a&&(b.componentId=a);return{path:"/components",queryParams:b}},lIa=function(a){return{path:"/slos/"+a+"/edit"}},mIa=function(a){var b;
return(a==null?void 0:(b=a.userData)==null?void 0:b.starred)||!1},nIa=function(a){var b;return(a==null?void 0:(b=a.userData)==null?void 0:b.lastViewedTimeMicros)||0},oIa=function(a){var b;return(b=Ql(a))==null?void 0:b.title},pIa=function(a){var b,c;return(c=(b=Ql(a))==null?void 0:b.status)!=null?c:void 0},qIa=function(a){var b,c;return(c=(b=Ql(a))==null?void 0:b.priority)!=null?c:void 0},rIa=function(a){var b,c;return(c=(b=Ql(a))==null?void 0:b.assigneeUser)!=null?c:void 0},sIa=function(a){var b,
c;return(c=(b=Ql(a))==null?void 0:b.reporterUser)!=null?c:void 0},tIa=function(a){var b;a=a==null?void 0:(b=a.aggregatedData)==null?void 0:b.teamId;return gk(a)},uIa=function(a){var b;a=(b=Ql(a))==null?void 0:b.componentId;return gk(a)},vIa=function(a){var b,c;return(c=(b=Ql(a))==null?void 0:b.ccUsers)!=null?c:[]},wIa=function(a){var b,c;return(c=(b=Ql(a))==null?void 0:b.issueAccessLimitLevel)!=null?c:"LIMIT_NONE"},xIa=function(a){var b,c;return(c=(b=Ql(a))==null?void 0:b.collaboratorsUsers)!=null?
c:[]},yIa=function(a){var b,c;return(c=(b=Ql(a))==null?void 0:b.type)!=null?c:void 0},zIa=function(a){var b,c;return(c=(b=Ql(a))==null?void 0:b.foundInVersion)!=null?c:[]},AIa=function(a){var b,c;return(c=(b=Ql(a))==null?void 0:b.targetedToVersion)!=null?c:[]},BIa=function(a){var b,c;return(c=(b=Ql(a))==null?void 0:b.changelist)!=null?c:[]},CIa=function(a){var b,c;return(c=(b=Ql(a))==null?void 0:b.postmortems)!=null?c:[]},DIa=function(a){var b;return((b=Ql(a))==null?void 0:b.inProd)||!1},EIa=function(a){var b;
return(b=Ql(a))==null?void 0:b.effort},FIa=function(a){var b,c;return(c=(b=Ql(a))==null?void 0:b.staffing)!=null?c:void 0},GIa=function(a){var b;return a==null?void 0:(b=a.aggregatedData)==null?void 0:b.voteCount},HIa=function(a){var b;return(a==null?void 0:(b=a.userData)==null?void 0:b.voted)||!1},JIa=function(a){return IIa(a)},IIa=function(a){var b,c;return(c=(b=Ql(a))==null?void 0:b.isDeleted)!=null?c:!1},LIa=function(a){return KIa(a)},KIa=function(a){var b;return a==null?void 0:(b=a.accessLimit)==
null?void 0:b.accessLevel},MIa=function(a){return(a=a==null?void 0:a.aggregatedData)&&Math.round(a.modifiedTimeMicros/1E3)},OIa=function(a){return NIa(a)},NIa=function(a){var b,c;return(c=(b=Ql(a))==null?void 0:b.retention)!=null?c:void 0},PIa=function(a){var b,c;return(c=(b=Ql(a))==null?void 0:b.duplicateOfIssueId)!=null?c:void 0},RIa=function(a){return QIa(a)},QIa=function(a){var b,c;return(c=a==null?void 0:(b=a.aggregatedData)==null?void 0:b.retentionState)!=null?c:void 0},SIa=function(a){var b;
return gk(a==null?void 0:(b=a.aggregatedData)==null?void 0:b.sloId)},TIa=function(a){var b;return a==null?void 0:(b=a.aggregatedData)==null?void 0:b.createdTimeMicros},UIa=function(a){return a==null?void 0:a.effortSpec},VIa=function(a){a=UIa(a);return!(!a||!a.name&&!a.inherit)},WIa=function(a){return a==null?void 0:a.componentPathInfo},XIa=function(a){if(!a)return{};var b,c=k((b=a.match(RegExp("comment([0-9]+)")))!=null?b:[]);c.next();b=c.next().value;var d;a=k((d=a.match(RegExp("comment[0-9]+version([0-9]+)")))!=
null?d:[]);a.next();d=a.next().value;return{commentNumber:fk(b),commentVersion:fk(d)}},Rp=function(a){return typeof a==="object"?"customField:"+a.customFieldId:a},ZIa=function(a,b){if(YIa[a])return YIa[a][b]},Sp=function(a){return a?Da(a,"@")?a:a==="[Deleted User]"?a:a+"@google.com":""},$Ia=function(a,b){a=a===void 0?"":a;b=b===void 0?48:b;var c=c===void 0?"...":c;var d=[].concat(t(a));if(d.length<=b)return a;a=b-[].concat(t(c)).length;d=d.slice(0,a).join("");String.prototype.trimEnd!=null&&(d=d.trimEnd());
return d+c},aJa=function(a){a=a===void 0?"":a;var b=new Set([].concat(t('!"#$%&()*+,-./:;<=>?@[\\]^_`{|}~\t\n')));a=[].concat(t(a)).map(function(c){return b.has(c)?" ":c}).join("").trim();return a.length===0?[]:a.split(/[\s]+/g)},bJa=function(a){return a.split("").every(function(b){return b.length===1&&b.charCodeAt(0)>=0&&b.charCodeAt(0)<=255})},dJa=function(a){if(a!=null){a=[].concat(t(a)).slice(0,100);a=k(a);for(var b=a.next();!b.done;b=a.next())if(b=cJa[b.value])return b}},eJa=function(a){if(a.includes('"')||
a.includes("'"))return[];var b=[].concat(t(a.matchAll(RegExp("(^|[;,\\-\\s])+(\\d+)","g"))));if(b.length)return b.map(function(c){c=k(c);c.next();c.next();return c.next().value});a=[].concat(t(a.matchAll(RegExp("(b|b-qa|issues)\\/(\\d+)","g"))));return a.length?a.map(function(c){c=k(c);c.next();c.next();return c.next().value}):[]},fJa=function(a,b){var c;a=(c=a)!=null?c:"";var d;b=(d=b)!=null?d:"";return a.trim()===b.trim()},gJa=function(a){return a.customFieldValue?{customFieldId:String(a.customFieldValue.customFieldId)}:
a.fieldName},hJa=function(a){a&1&&K(0,"img",9);a&2&&(a=P(),E("src",a.person.imageUrl,vf)("alt",a.person.name+"'s profile picture"))},iJa=function(a){a&1&&(I(0,"div",10),Q(1),J());a&2&&(a=P(),B(),Yg(a.person.email))},jJa=function(a){a&1&&(I(0,"div",11)(1,"onedev-chip",12),K(2,"mat-icon",13),Q(3),J()());a&2&&(a=P(),B(3),R("",a.outOfOfficeDescription," "))},kJa=function(a){a&1&&(I(0,"li"),Q(1),J());a&2&&(a=P(2),B(),Yg(a.person.title))},lJa=function(a){a&1&&K(0,"li",18)},mJa=function(a){a&1&&(I(0,"li"),
Q(1),J());a&2&&(a=P(2),B(),Yg(a.person.department))},nJa=function(a){a&1&&(Ag(0),K(1,"mat-icon",14),I(2,"div",15)(3,"ul",16),D(4,kJa,2,1,"li",8)(5,lJa,1,0,"li",17)(6,mJa,2,1,"li",8),J()(),Bg());a&2&&(a=P(),B(4),E("ngIf",a.person.title),B(),E("ngIf",a.person.title&&a.person.department),B(),E("ngIf",a.person.department))},oJa=function(a){a&1&&(Ag(0),K(1,"mat-icon",19),I(2,"div",15),Q(3),J(),Bg());a&2&&(a=P(),B(3),Yg(a.person.location))},pJa=function(a){a&1&&(Ag(0),K(1,"mat-icon",20),I(2,"div",15)(3,
"ul",16)(4,"li")(5,"a",21),Q(6,"Teams"),J()(),K(7,"li",18),I(8,"li")(9,"a",21),Q(10,"Calendar"),J()(),K(11,"li",18),I(12,"li")(13,"a",21),Q(14,"CLs"),J()(),K(15,"li",18),I(16,"li")(17,"a",21),Q(18,"Readability"),J()()()(),Bg());a&2&&(a=P(),B(5),E("href","https://moma.corp.google.com/person/"+a.person.ldap,vf),B(4),E("href","https://www.google.com/calendar/embed?src="+a.person.email+"&mode=WEEK&showCalendars=0",vf),B(4),E("href","https://critique.corp.google.com/"+a.person.ldap,vf),B(4),E("href","https://icanread.corp.google.com/s/"+
a.person.ldap,vf))},qJa=function(a,b){if(a==null)return null;a=a.getRequestHook(b);return a==null?null:a},rJa=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}},sJa=function(a,b,c){c=c===void 0?{}:c;b=k(Object.entries(b));for(var d=b.next();!d.done;d=b.next()){var e=k(d.value);d=e.next().value;e=e.next().value;d in a&&(c[e]=a[d])}return c},tJa=function(a){return Object.assign({},{arrays:{},descriptions:{},keys:[],
objectMaps:{},objects:{},enums:{},emptyArrayIsUnset:!1},a)},uJa=function(a,b){return Tp(b,a)},vJa=function(a,b,c){b[a]=c},wJa=function(){return{}},BJa=function(a,b){var c=new a;return b==null?c:xJa(b,yJa,zJa,AJa,a)},yJa=function(a,b){return b[a]},zJa=function(a,b,c){b.Serializable$values[a]=c},AJa=function(a){if(a==null)throw Error("Jd");return new a},xJa=function(a,b,c,d,e){e=d(e);for(var f=CJa(a,e),h=f.arrays||{},l=f.objects||{},q=f.objectMaps||{},u=k(f.keys||[]),A=u.next(),F={};!A.done;F={mapMetadata:void 0},
A=u.next()){A=A.value;var H=b(A,a);if(H!=null){var N=void 0;if(h.hasOwnProperty(A)){if(f.emptyArrayIsUnset&&H.length===0)continue;N=DJa(H,b,c,d,!0,!0,h[A])}else if(l.hasOwnProperty(A))N=DJa(H,b,c,d,!1,!0,l[A]);else if(q.hasOwnProperty(A))F.mapMetadata=q[A],N=F.mapMetadata.isPropertyArray?H.map(function(O){return function(T){return EJa(T,O.mapMetadata,b,c,d)}}(F)):EJa(H,F.mapMetadata,b,c,d);else if(Array.isArray(H)){if(f.emptyArrayIsUnset&&H.length===0)continue;N=DJa(H,b,c,d,!0,!1)}else N=H;c(A,e,
N)}}return e},EJa=function(a,b,c,d,e){for(var f={},h=k(Object.keys(a)),l=h.next();!l.done;l=h.next()){l=l.value;var q=a[l];q!=null&&(f[l]=DJa(q,c,d,e,b.isValueArray,b.isSerializable,b.ctor))}return f},DJa=function(a,b,c,d,e,f,h){if(f&&h==null)throw Error("Kd");if(a==null)return a;var l;e&&f?l=a.map(function(q){return xJa(q,b,c,d,h)}):e&&!f?l=a.map(function(q){return q}):l=!e&&f?xJa(a,b,c,d,h):typeof a==="object"?JSON.parse(JSON.stringify(a)):a;return l},CJa=function(a,b){if(b instanceof Up)a=tJa(b.getPartialClassMetadata());
else if(a instanceof Up)a=tJa(a.getPartialClassMetadata());else throw Error("Ld");return a},GJa=function(a){return a&&FJa.test(a)?a.split("@")[0]:""},HJa=function(a){return a?a.find(function(b){var c;return((c=b.metadata)==null?void 0:c.container)==="DOMAIN_PROFILE"}):null},IJa=function(a){return a?a.find(function(b){var c;return((c=b.metadata)==null?void 0:c.container)==="DOMAIN_PROFILE"}):null},JJa=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(N){return N.lookupId===
c}))==null?void 0:(f=e.personId)==null?void 0:f[0];if(!h)return{ldap:GJa(c),name:"",email:c};var l;d=b==null?void 0:(l=b.people)==null?void 0:l[h];var q;h=(q=IJa(d==null?void 0:d.email))==null?void 0:q.value;var u,A;q=d==null?void 0:(u=d.name)==null?void 0:(A=u[0])==null?void 0:A.displayName;var F,H;u=d==null?void 0:(F=d.photo)==null?void 0:(H=F[0])==null?void 0:H.url;A=HJa(d==null?void 0:d.organization);F=A==null?void 0:A.title;H=A==null?void 0:A.department;A=A==null?void 0:A.location;return{ldap:GJa(h),
email:h||c||"",name:q||"",imageUrl:u,title:F,department:H,location:A}})},MJa=function(){var a={timeout:5E3};a=a===void 0?{}:a;return KJa!=null?KJa:KJa=LJa(a)},NJa=function(){return new Promise(function(a,b){window.gapi.load("client",{callback:a,onerror:b})})},LJa=function(a){a=a===void 0?{}:a;var b;return se(function(c){if(c.nextAddress==1)return(b=window.gapi)&&b.client&&b.client.load?c.return(b):y(c,OJa(zi(PJa),a),2);if(c.nextAddress!=3){b=window.gapi;if(!b)throw Error("Md");return b.client&&b.client.load?
c.jumpTo(3):y(c,NJa(),3)}return c.return(b)})},QJa=function(a,b,c){var d=a.config.get(b);c!==d&&a.config.update(b,c)},SJa=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(RJa.has(a))return RJa.get(a);b=Promise.resolve(c.reloadAuthResponse()).finally(function(){RJa.delete(a)});RJa.set(a,b);return b}return Promise.resolve()},TJa=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})},UJa=function(a,b){a&1&&(I(0,"div",1),Ud(),I(1,"svg",2)(2,"g"),K(3,"path",3),J()(),Vd(),I(4,"span",4),Q(5),J()());a&2&&(a=b.ngIf,jg("aria-label",a)("title",a),B(5),Yg(a))},VJa=function(a,b){a&1&&(I(0,"onedev-person-hovercard-body",1),S(1,"async"),Jg(2,0,["ngProjectAs","onedev-hovercard-action",5,["onedev-hovercard-action"]]),Jg(3,1,["ngProjectAs","[onedev-additional-content]",5,["","onedev-additional-content",
""]]),J());a&2&&(a=b.ngIf,b=P(),E("person",a)("outOfOfficeDescription",U(1,2,b.outOfOfficeDescription$)))},WJa=function(a){a&1&&(I(0,"onedev-person-hovercard",2,0),Jg(2,0,["ngProjectAs","onedev-hovercard-action",5,["onedev-hovercard-action"]]),J());if(a&2){a=L(1);var b=P();E("email",b.email)("enableWaldo",!0)("onedevIsHovercardReady",a.init)}},XJa=function(a){a&1&&Cg(0)},YJa=function(a){a&1&&(I(0,"span",2),D(1,XJa,1,0,"ng-container",3),J(),I(2,"onedev-hovercard",null,1),K(4,"b-person-card",4),J());
if(a&2){a=L(3);var b=P(),c=L(3);E("onedevHovercardTrigger",a)("onedevHovercardActive",!!b.email);B();E("ngTemplateOutlet",c);B(3);E("email",b.email)}},ZJa=function(a){a&1&&Cg(0)},$Ja=function(a){a&1&&D(0,ZJa,1,0,"ng-container",3);a&2&&(P(),a=L(3),E("ngTemplateOutlet",a))},aKa=function(a){a&1&&Jg(0)},bKa=function(){return new bd(3008,!1)},Vp=function(a){if(typeof a=="number")return a;a=a.match(/^(-?[\.\d]+)(m?s)/);return!a||a.length<2?0:cKa(parseFloat(a[1]),a[2])},cKa=function(a,b){switch(b){case "s":return a*
1E3;default:return a}},dKa=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 bd(3E3,!1));b={duration:0,delay:0,easing:""};break a}a=cKa(parseFloat(d[1]),d[2]);var h=d[3];h!=null&&(e=cKa(parseFloat(h),d[4]));(d=d[5])&&(f=d)}c||(c=!1,d=b.length,a<0&&(b.push(new bd(3100,!1)),c=!0),e<0&&(b.push(new bd(3101,!1)),c=!0),c&&b.splice(d,0,new bd(3E3,
!1)));b={duration:a,delay:e,easing:f}}return b},eKa=function(a){return a.length?a[0]instanceof Map?a:a.map(function(b){return new Map(Object.entries(b))}):[]},Wp=function(a,b,c){b.forEach(function(d,e){var f=fKa(e);c&&!c.has(e)&&c.set(e,a.style[f]);a.style[f]=d})},Xp=function(a,b){b.forEach(function(c,d){d=fKa(d);a.style[d]=""})},Yp=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},hKa=function(a,b,c){var d=b.params||{};a=gKa(a);a.length&&a.forEach(function(e){d.hasOwnProperty(e)||
c.push(new bd(3001,!1))})},gKa=function(a){var b=[];if(typeof a==="string"){for(var c;c=iKa.exec(a);)b.push(c[1]);iKa.lastIndex=0}return b},Zp=function(a,b,c){var d=""+a,e=d.replace(iKa,function(f,h){h=b[h];h==null&&(c.push(new bd(3003,!1)),h="");return h.toString()});return e==d?a:e},fKa=function(a){return a.replace(jKa,function(){return vd.apply(0,arguments)[1].toUpperCase()})},lKa=function(a,b,c){if(c.size&&b.length){var d=b[0],e=[];c.forEach(function(h,l){d.has(l)||e.push(l);d.set(l,h)});if(e.length){c=
{};for(var f=1;f<b.length;c={kf$jscomp$1:void 0},f++)c.kf$jscomp$1=b[f],e.forEach(function(h){return function(l){return h.kf$jscomp$1.set(l,kKa(a,l))}}(c))}}return b},$p=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 bd(3004,!1);}},kKa=function(a,b){return window.getComputedStyle(a)[b]},bq=function(a){switch(a.length){case 0:return new aq;case 1:return a[0];default:return new mKa(a)}},oKa=function(a,b,c){b=b===void 0?new Map:b;c=c===void 0?new Map:c;var d=[],e=[],f=-1,h=null;a.forEach(function(l){var q=l.get("offset"),u=q==f,A=u&&h||new Map;l.forEach(function(F,
H){var N=H;if(H!=="offset")switch(N=fKa(N),F){case "!":F=b.get(H);break;case "*":F=c.get(H);break;default:F=nKa(N,F,d)}A.set(N,F)});u||e.push(A);h=A;f=q});if(d.length)throw new bd(3502,!1);return e},qKa=function(a,b,c,d){switch(b){case "start":a.onStart(function(){return d(c&&pKa(c,"start",a))});break;case "done":a.onDone(function(){return d(c&&pKa(c,"done",a))});break;case "destroy":a.onDestroy(function(){return d(c&&pKa(c,"destroy",a))})}},pKa=function(a,b,c){var d=c.totalTime;b=rKa(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},rKa=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}},cq=function(a,b,c){var d=a.get(b);d||a.set(b,d=c);return d},sKa=function(a){var b=a.indexOf(":");return[a.substring(1,b),a.slice(b+1)]},uKa=function(a){a=a.parentNode||a.host||null;return a===tKa?null:a},vKa=function(a,b){for(;b;){if(b===
a)return!0;b=uKa(b)}return!1},yKa=function(a,b){var c=[];typeof a=="string"?a.split(/\s*,\s*/).forEach(function(d){a:{if(d[0]==":"&&(d=wKa(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 bd(3015,!1)),d=c;else{d=e[1];var f=e[2];e=e[3];c.push(xKa(d,e));f[0]!="<"||d=="*"&&e=="*"||c.push(xKa(e,d));d=void 0}}return d}):c.push(a);return c},wKa=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 bd(3016,!1)),"* => *"}},xKa=function(a,b){var c=zKa.has(a)||AKa.has(a),d=zKa.has(b)||AKa.has(b);return function(e,f){var h=a=="*"||a==e,l=b=="*"||b==f;!h&&c&&typeof e==="boolean"&&(h=e?zKa.has(a):AKa.has(a));!l&&d&&typeof f==="boolean"&&(l=f?zKa.has(b):AKa.has(b));return h&&l}},CKa=function(a){var b=a.split(/\s*,\s*/).find(function(c){return c==
":self"})?!0:!1;b&&(a=a.replace(BKa,""));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]},DKa=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},EKa=function(a,b){if(a.hasOwnProperty("duration"))return a;
if(typeof a=="number")return{duration:dKa(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=dKa(a,b);return{duration:a.duration,delay:a.delay,easing:a.easing}},dq=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},FKa=function(a,b,c,d,e,f,h,l){return{type:1,element:a,keyframes:b,preStyleProps:c,
postStyleProps:d,duration:e,delay:f,totalTime:e+f,easing:h===void 0?null:h,subTimeline:l===void 0?!1:l}},HKa=function(a,b,c,d,e,f,h,l,q,u){f=f===void 0?new Map:f;h=h===void 0?new Map:h;u=u===void 0?[]:u;return(new GKa).buildKeyframes(a,b,c,d,e,f,h,l,q,u)},IKa=function(a,b){var c=new Map,d;a.forEach(function(e){if(e==="*"){d!=null||(d=b.keys());e=k(d);for(var f=e.next();!f.done;f=e.next())c.set(f.value,"*")}else for(e=k(e),f=e.next();!f.done;f=e.next()){var h=k(f.value);f=h.next().value;h=h.next().value;
c.set(f,h)}});return c},JKa=function(a,b,c,d,e,f,h,l,q,u,A,F,H){return{type:0,element:a,triggerName:b,isRemovalTransition:e,fromState:c,fromStyles:f,toState:d,toStyles:h,timelines:l,queriedElements:q,preStyleProps:u,postStyleProps:A,totalTime:F,errors:H}},KKa=function(a,b,c,d,e){return a.some(function(f){return f(b,c,d,e)})},LKa=function(a,b){var c=Object.assign({},b);Object.entries(a).forEach(function(d){var e=k(d);d=e.next().value;e=e.next().value;e!=null&&(c[d]=e)});return c},MKa=function(a,b){return new eq(a,
{type:1,animation:{type:2,steps:[],options:null},matchers:[function(){return!0}],options:null,queryCount:0,depCount:0},b)},NKa=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))},OKa=function(a){return a&&a.nodeType===1},PKa=function(a,b){var c=a.style.display;a.style.display=b!=null?b:"none";return c},RKa=function(a,b,c){var d=[];b.forEach(function(h){return d.push(PKa(h))});var e=[];c.forEach(function(h,l){var q=new Map;h.forEach(function(u){var A=kKa(l,u);q.set(u,
A);A&&A.length!=0||(l.__ng_removed=QKa,e.push(l))});a.set(l,q)});var f=0;b.forEach(function(h){return PKa(h,d[f++])});return e},SKa=function(a,b){function c(h){if(!h)return 1;var l=f.get(h);if(l)return l;var q=h.parentNode;d.has(q)?l=q:e.has(q)?l=1:l=c(q);f.set(h,l);return l}var d=new Map;a.forEach(function(h){return d.set(h,[])});if(b.length==0)return d;var e=new Set(b),f=new Map;b.forEach(function(h){var l=c(h);l!==1&&d.get(l).push(h)});return d},fq=function(a,b){var c;(c=a.classList)==null||c.add(b)},
gq=function(a,b){var c;(c=a.classList)==null||c.remove(b)},TKa=function(a,b,c){bq(c).onDone(function(){return hq(a,b)})},VKa=function(a){var b=[];UKa(a,b);return b},UKa=function(a,b){for(var c=0;c<a.length;c++){var d=a[c];d instanceof mKa?UKa(d.players,b):b.push(d)}},WKa=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},XKa=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},$Ka=function(a,b){var c=null,d=null;Array.isArray(b)&&b.length?(c=YKa(b[0]),b.length>1&&(d=YKa(b[b.length-1]))):b instanceof Map&&(c=YKa(b));return c||d?new ZKa(a,c,d):null},YKa=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},aLa=function(a){switch(a){case "body":return document.body;case "document":return document;case "window":return window;default:return a}},
bLa=function(a){var b=a.indexOf(".");return[a.substring(0,b),a.slice(b+1)]},cLa=function(a){var b=function(){var c=a.apply(this,[].concat(t(vd.apply(0,arguments))))||this;c.defaultColor=void 0;c.color=void 0;return c};Y(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},dLa=function(a){var b=function(){var c=a.apply(this,[].concat(t(vd.apply(0,arguments))))||this;c._disableRipple=!1;return c};Y(b,a);da.Object.defineProperties(b.prototype,{disableRipple:{configurable:!0,enumerable:!0,get:function(){return this._disableRipple},set:function(c){this._disableRipple=di(c)}}});return b},eLa=function(a){var b=function(){var c=a.apply(this,[].concat(t(vd.apply(0,arguments))))||this;c._disabled=!1;return c};Y(b,a);da.Object.defineProperties(b.prototype,
{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(c){this._disabled=di(c)}}});return b},hLa=function(a){if(a&1){var b=v();Ag(0,1);I(1,"onedev-hovercard-action",3);S(2,"async");M("onAction",function(){w(b);var e=P();return x(fLa(e))});I(3,"span");Q(4);J()();I(5,"onedev-hovercard-action",3);S(6,"async");M("onAction",function(){w(b);var e=P();return x(gLa(e))});I(7,"span");Q(8);J()();Bg()}if(a&2){var c,d;a=P();B();E("disabled",(c=U(2,4,a.actionService.assigneeUpdating$))!==
null&&c!==void 0?c:!1);B(3);Yg(a.email!==a.currentAssignee?"Set as assignee":"Remove assignee");B();E("disabled",(d=U(6,6,a.actionService.ccUpdating$))!==null&&d!==void 0?d:!1);B(3);Yg(a.currentCc.includes(a.email)?"Remove from CCs":"Add to CCs")}},jLa=function(a){return!!a.match(iLa)&&!a.endsWith("/history")},iq=function(a){return a.type==="hyperlink"},kLa=function(a){return iq(a)&&jLa(a.href)},mLa=function(a){return iq(a)&&!!a.href.match(lLa)},nLa=function(a,b){b=b===void 0?!1:b;if(a.endsWith("/history"))return null;
var c,d;return(a=(d=(c=a.match(iLa))==null?void 0:c[2])!=null?d:null)?b?"https://3p-screenshot.corp.google.com/"+a+".png":"https://screenshot.googleplex.com/"+a+".png":null},oLa=function(a){return a.type==="issueReference"},pLa=function(a){return iq(a)&&!kLa(a)&&!(iq(a)&&a.href.startsWith("mailto:"))},qLa=function(a){a&1&&(K(0,"img",1),S(1,"async"));if(a&2){var b;a=P(2);E("src",U(1,2,a.srcRedirected$),vf);jg("alt",(b=a.alt)!==null&&b!==void 0?b:"user provided image")}},rLa=function(a){if(a&1){var b=
v();I(0,"a",3);S(1,"async");S(2,"async");M("click",function(c){w(b);var d=P(2);return x(d.trigger(c))})("keydown.enter",function(c){w(b);var d=P(2);return x(d.trigger(c))});I(3,"b-glue");K(4,"mat-icon",4);J();Ag(5);Q(6);S(7,"async");Bg();J()}a&2&&(a=P(2),E("href",U(1,3,a.src$),vf)("title",U(2,5,a.src$)),B(6),Yg(U(7,7,a.srcTruncated$)))},sLa=function(a){a&1&&(D(0,qLa,2,4,"img",1),S(1,"async"),D(2,rLa,8,9,"a",2));if(a&2){var b;a=P();G((b=U(1,1,a.showImage$))?0:2,b)}},tLa=function(a){a&1&&(K(0,"mat-icon",
0),S(1,"async"));a&2&&(a=P(),Kg("matTooltip","Unable to load image ",U(1,2,a.srcTruncated$),""))},uLa=function(a){a&1&&(K(0,"br"),I(1,"a",1),K(2,"b-secure-image-widget",2),J(),K(3,"br"));if(a&2){a=P();var b=P();B();E("href",a,vf)("rel",b.EXTERNAL_LINK_REL);B();E("src",a)("alt",b.alt||"User provided screenshot")("showByDefault",!0)}},vLa=function(a){a&1&&K(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)}},wLa=function(a){a&
1&&(D(0,uLa,4,5),S(1,"async"),D(2,vLa,1,3,"b-secure-image-widget",0));if(a&2){var b;a=P();G((b=U(1,1,a.displayMode$))===a.DisplayMode.SHOW?0:b===a.DisplayMode.COLLAPSE?2:-1)}},xLa=function(a){for(;a.firstChild;)a.removeChild(a.firstChild)},yLa=function(a,b){a&1&&K(0,"b-plain-format-section",1);a&2&&E("section",b.$implicit)},zLa=function(a){a&1&&K(0,"b-plain-format-quoted-section",0);a&2&&(a=P(),E("section",a.section))},ALa=function(a){a&1&&K(0,"b-plain-format-unquoted-section",0);a&2&&(a=P(),E("section",
a.section))},CLa=function(a){if(a&1){var b=v();I(0,"a",4);M("click",function(){w(b);var c=P();c.showQuote=!1;BLa(c);return x()});Q(1," - Hide quoted text - ");J()}a&2&&(a=P(),jg("aria-controls",a.childId))},DLa=function(a){if(a&1){var b=v();I(0,"a",5);M("click",function(){w(b);var c=P();c.showQuote=!0;BLa(c);return x()});Q(1," - Show quoted text - ");J()}a&2&&(a=P(),jg("aria-controls",a.childId))},ELa=function(a,b){a&1&&K(0,"b-literal-format-presenter",0);a&2&&E("content",b)},FLa=function(a,b){if(a&
1){var c=v();I(0,"b-markdown-format-presenter",2);M("checkboxChange",function(d){w(c);var e=P();return x(e.checkboxChange.emit(d))});J()}a&2&&(a=P(),E("content",b)("canEditComment",a.canEditComment))},GLa=function(a,b){a&1&&K(0,"b-plain-format-presenter",0);a&2&&E("content",b)},HLa=function(a){return eza(a.getIt().getMentionsList(Vj)).map(function(b){return b.mentionedUser}).map(Sj).map(function(b){return b||""})},ILa=function(a){a=a.getIt();return a.hasFormattedComment()?Gm(a.getFormattedComment()):
{}},JLa=function(a){switch(a.formattingMode){case "LITERAL":return Ae({literalFormat:{content:wi(a.comment)}});case "MARKDOWN":return a={markdownFormat:{content:wi("")}},Ae(a);case void 0:case "PLAIN":case "UNSPECIFIED_FORMATTING_MODE":return a={plainFormat:{plainSection:[{isQuoted:!1,content:wi(a.comment)}]}},Ae(a);default:return Db(a.formattingMode,"Unknown formatting mode: "+a.formattingMode)}},KLa=function(a,b){a&1&&(I(0,"div",1),K(1,"b-formatted-comment-presenter",2),J());a&2&&(a=P(),sg("invisible",
(a.comment||"").trim()==="")("error",b.isFallback),B(),E("formattedComment",b.formattedComment))},LLa=function(a){if(a&1){var b=v();I(0,"b-formatted-comment-presenter",4);M("checkboxChange",function(c){w(b);var d=P().markdownCheckboxService,e=d.rawComment.split("\n");c=k(c.startPos.split(":")).next().value;c=Number(c)-1;var f=e[c];var h=f.search(/\[[ Xx]\]/);if(h!==-1){var l=f[h+1];l&&(l=l.toLowerCase()==="x"?"[ ]":"[x]",f=f.substring(0,h)+l+f.substring(h+l.length))}e[c]=f;d.rawComment=e.join("\n");
d.rawComment$.next(d.rawComment);d.savingState=d.editIssueService.savingState(d.issueId);d.savingState.get("commentEdit")||(jq(d.butterBar,"Saving comment edit...",0),kq(d.savingState,"commentEdit"));lq(d.issueInteractionsTracking,d.issueId,{label:d.commentNumber===1?"description":"comment"});return x()});J()}a&2&&(a=P(),E("formattedComment",a.formattedComment)("canEditComment",a.canEditComment))},MLa=function(a){a&1&&K(0,"b-live-preview",3);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))},NLa=function(a){a&1&&(Ag(0),Q(1,"Un-CC me"),Bg())},OLa=function(a){a&1&&(Ag(0),Q(1,"CC me"),Bg())},nq=function(a){return(a!=null?a:[]).map(mq)},pq=function(a){return(a!=null?a:[]).map(oq)},mq=function(a){if(a==null)return"";var b=a.user,c=a.group,d=a.alias;a=void 0;b!=null?(a="USER",b=Sj(b)):c!=null?(a="GROUP",b=Sj(c)):d!=null?(a="ALIAS",b=d):b="";return a===void 0||b===""?"":
a+":"+b},qq=function(a){return(a!=null?a:[]).map(mq)},rq=function(a){return(a!=null?a:[]).map(oq)},oq=function(a){var b=k(a.split(":"));a=b.next().value;b=b.next().value;if(!a||!b)throw Error("Pd`"+b);switch(a){case "USER":return{user:{emailAddress:b}};case "GROUP":return{group:{emailAddress:b}};case "ALIAS":return{alias:b};default:throw Error("Qd`"+b);}},tq=function(){return{admins:[],editors:[],appenders:[],readers:[],restrictedReaders:[],restrictedPlusReaders:[],inheritedAdmins:[],implicitAccess:null}},
uq=function(a){return{admins:nq(a.admins),editors:nq(a.editors),appenders:nq(a.appenders),readers:nq(a.readers),restrictedReaders:nq(a.restrictedReaders),restrictedPlusReaders:nq(a.restrictedPlusReaders),inheritedAdmins:nq(a.inheritedAdmins),implicitAccess:a.implicitAccess||null}},vq=function(a){return{admins:pq(a.admins),editors:pq(a.editors),appenders:pq(a.appenders),readers:pq(a.readers),restrictedReaders:pq(a.restrictedReaders),restrictedPlusReaders:pq(a.restrictedPlusReaders),implicitAccess:a.implicitAccess}},
wq=function(a){var b;return(b=a==null?void 0:a.trim())!=null?b:""},QLa=function(a,b){var c=a.getPrimaryTarget(),d=a.getTargetList().map(function(e){return e===c?b:e});return new xq(new PLa(a,d))},yq=function(){return new RLa(vd.apply(0,arguments))},TLa=function(){return new SLa(vd.apply(0,arguments))},VLa=function(){var a=vd.apply(0,arguments);return a.length===1?a[0]:new ULa(a)},XLa=function(){return new WLa(vd.apply(0,arguments))},ZLa=function(a,b){if(a&1){var c=v();I(0,"div",3)(1,"b-contact-chip",
5);M("chipSelection",function(){var d=w(c).$index,e=P();e.selectedChipIndex!==d&&zq(e,d)&&(YLa(e),e.selectedChipIndex=d,e.items[d].isSelected=!0);return x()})("chipClear",function(){w(c);var d=P();return x(YLa(d))})("chipRemove",function(){var d=w(c).$index,e=P();return x(e.removeItem(d))});J()()}a&2&&(a=b.$implicit,b=P(),B(),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()))},bMa=function(a){if(a&1){var b=v();I(0,"input",8,0);M("autocompleteActive",function(){w(b);var c=P(2);return x(c.chipifyFn())});bh("ngModelChange",function(c){w(b);var d=P(2);ah(d.typedText,c)||(d.typedText=c);return x(c)});M("focus",function(){w(b);var c=P(2);return x($La(c))})("blur",function(){w(b);var c=P(2);aMa(c);c.isFocused=!1;return x()});J()}a&2&&(a=P(2),E("bContactAutocomplete","MULTI")("additionalContactsCallback",
a.additionalContactsFn),$g("ngModel",a.typedText),E("disabled",a.isWidgetDisabled())("placeholder",a.placeholderText),jg("aria-expanded",!1))},cMa=function(a){if(a&1){var b=v();I(0,"input",9,0);M("peoplekitAutocompleteSelectionChange",function(c){w(b);var d=P(2);return x(d.selectAutocomplete(c))});bh("ngModelChange",function(c){w(b);var d=P(2);ah(d.typedText,c)||(d.typedText=c);return x(c)});M("focus",function(){w(b);var c=P(2);return x($La(c))})("blur",function(){w(b);var c=P(2);aMa(c);c.isFocused=
!1;return x()});J()}a&2&&(a=P(2),E("peoplekitAutocompleteConfig",a.BASE_AUTOCOMPLETE_CONFIG)("peoplekitSearchSessionOptions",a.SESSION_OPTIONS),$g("ngModel",a.typedText),E("disabled",a.isWidgetDisabled())("placeholder",a.placeholderText))},dMa=function(a){a&1&&D(0,bMa,2,6,"input",6)(1,cMa,2,5,"input",7);a&2&&(a=P(),G(a.enablePeoplekitAc?1:0))},eMa=function(a){a&1&&(I(0,"span"),Q(1," Groups cannot be granted Restricted+ reader permission. "),I(2,"a",10),Q(3,"Learn more"),J()());a&2&&(a=P(),B(2),jg("href",
Aq(a.documentationLinks)+"#components",vf))},fMa=function(a){a&1&&(I(0,"span"),Q(1," Invalid user(s). "),J())},gMa=function(a){a&1&&(I(0,"span"),Q(1,' "Public" or external users are not allowed for component designated as "internal access". '),J())},hMa=function(a){a&1&&(I(0,"span"),Q(1,' "Public" is not allowed for components designated as "external partner access". '),J())},iMa=function(a){a&1&&(I(0,"span"),Q(1," Team owner cannot be a group. "),J())},jMa=function(a){a&1&&(I(0,"span"),Q(1," Team owner can only be a full-time Googler. "),
J())},kMa=function(a){a&1&&(I(0,"span"),Q(1," Only users in the Google domain can be selected. "),J())},lMa=function(a){a&1&&(I(0,"span"),Q(1," User has already been selected. "),J())},mMa=function(a){a&1&&(I(0,"span"),Q(1," Only users can be selected. Groups and aliases are not supported. "),J())},rMa=function(a,b){if(!b||!a)return nMa;var c;return!oMa((c=b.readers)!=null?c:[])||pMa(a)?qMa:nMa},oMa=function(a){return a.some(function(b){return b.alias!==void 0?b.alias==="public"||b.alias==="public_non_google":
!1})},pMa=function(a){return a==="LIMIT_VIEW"||a==="LIMIT_VIEW_TRUSTED"},sMa=function(a,b){a&1&&(I(0,"a",6),Q(1," Learn more. "),J());a&2&&E("href",b,vf)},tMa=function(a,b){a&1&&K(0,"b-multi-user-input",9);a&2&&(E("users",b),jg("disabled",!0))},uMa=function(a){a&1&&(Ag(0,8),K(1,"br"),I(2,"h2"),Q(3,"Users who can view"),J(),D(4,tMa,1,2,"b-multi-user-input",9),S(5,"async"),Bg());if(a&2){var b;a=P(2);E("onedevIsHovercardReady",a.showHovercard$);B(4);G((b=U(5,2,a.viewers$))?4:-1,b)}},wMa=function(a){if(a&
1){var b=v();I(0,"span",2,0);S(2,"async");S(3,"async");M("focus",function(){w(b);var f=L(1);P().loadTooltipOnce();f.disabled=!1;return x(f.show())})("blur",function(){w(b);var f=L(1);f.disabled=!0;return x(f.hide())});Q(4);S(5,"async");J();I(6,"onedev-hovercard",null,1)(8,"div",3)(9,"div",4)(10,"div",5);Q(11);S(12,"async");D(13,sMa,2,1,"a",6)(14,uMa,6,4,"ng-container",7);J()()()()}if(a&2){var c,d;a=L(7);var e=P();sg("xs",e.compactMode);E("onedevHovercardTrigger",a)("matTooltipDisabled",!0)("matTooltip",
(c=U(2,9,e.tooltipText$))!==null&&c!==void 0?c:"")("ngClass",U(3,11,e.chipClass$));B(4);R(" ",U(5,13,e.chipText$)," ");B(7);R(" ",U(12,15,e.bubbleText$)," ");B(2);G((d=vMa(e.documentationLinks))?13:-1,d)}},xMa=function(a){return a==="visible_to_listed_partners"||a==="visible_to_listed_public_users"},yMa=function(a){a&1&&K(0,"waldo-availability-chip",1);a&2&&(a=P(),E("user",a.user),jg("coinonly",a.coinonly))},zMa=function(a){a&1&&K(0,"b-availability-chip",2);a&2&&(a=P(2),E("user",a.email))},AMa=function(a){a&
1&&(Ag(0),Q(1),Bg(),D(2,zMa,1,1,"b-availability-chip",2));if(a&2){a=P();var b=P();B();Yg(a.content);B();G(b.enableWaldoAvailability&&b.availabilityChipEnabled?2:-1)}},BMa=function(a){a&1&&Cg(0)},CMa=function(a){a&1&&(I(0,"span",3),D(1,BMa,1,0,"ng-container",4),J(),I(2,"onedev-hovercard",null,1),K(4,"b-issue-person-card",5),J());if(a&2){a=L(3);var b=P(),c=L(1),d=P();E("onedevHovercardTrigger",a);jg("tabindex",d.hovercardEnabled&&d.hovercardFocusEnabled?"0":null);B();E("ngTemplateOutlet",c);B(3);E("email",
b.email)}},DMa=function(a){a&1&&Cg(0)},EMa=function(a){a&1&&D(0,DMa,1,0,"ng-container",4);a&2&&(P(),a=L(1),E("ngTemplateOutlet",a))},FMa=function(a,b){a&1&&D(0,AMa,3,2,"ng-template",null,0,ih)(2,CMa,5,4)(3,EMa,1,1,"ng-container");a&2&&(a=P(),B(2),G(a.hovercardEnabled&&a.isNonObfuscatedEmail(b.email)?2:3))},GMa=function(a){a&1&&K(0,"b-user-display-name",0);a&2&&(a=P(),E("email",a.getEmailAddress())("hovercardEnabled",!1)("availabilityChipEnabled",a.availabilityChipEnabled)("hovercardFocusEnabled",
a.hovercardFocusEnabled))},HMa=function(a){a&1&&(I(0,"span"),Q(1),J());a&2&&(a=P(),B(),Yg(a.getDisplayString()))},IMa=function(a){a&1&&(I(0,"span"),Q(1," Assigned to "),K(2,"b-user-display",12),J());a&2&&(a=P(2),B(2),E("model",a.assigneeUser)("hovercardEnabled",!1))},JMa=function(a){a&1&&(I(0,"span"),Q(1," Accepted by "),K(2,"b-user-display",12),J());a&2&&(a=P(2),B(2),E("model",a.assigneeUser)("hovercardEnabled",!1))},KMa=function(a){a&1&&(I(0,"span"),Q(1," Duplicate of "),I(2,"a",2),Q(3),J()());
if(a&2){a=P(2);var b=P();B(2);lg("aria-label","Go to issue ",a.duplicateOfIssueId,"");E("href",b.ROUTES.viewIssue.makeHref(a.duplicateOfIssueId),vf);B();R(" ",a.duplicateOfIssueId," ")}},LMa=function(a){a&1&&(I(0,"span"),Q(1),J());if(a&2){var b;a=P();var c=P(2);B();R(" ",(b=c.STATUS_JS_FULL_TEXT.get(a))!==null&&b!==void 0?b:""," ")}},MMa=function(a,b){a&1&&D(0,IMa,3,2,"span")(1,JMa,3,2,"span")(2,KMa,4,4,"span")(3,LMa,2,1,"span");a&2&&G(b==="ASSIGNED"?0:b==="ACCEPTED"?1:b==="DUPLICATE"?2:3)},NMa=function(a,
b){a&1&&K(0,"b-app-vote-button",13);if(a&2){var c;a=P();var d=P(2);E("issueId",d.issueId)("voteCount",a.voteCount)("upvoted",(c=b.voted)!==null&&c!==void 0?c:!1)}},OMa=function(a){a&1&&D(0,NMa,1,3,"b-app-vote-button",13);if(a&2){var b;a=P(2);G((b=a.issue.userData)?0:-1,b)}},QMa=function(a){if(a&1){var b=v();I(0,"button",14);M("click",function(){w(b);var c=P(2);return x(PMa(c,c.childContextId))});Q(1," Unlink parent ");J()}},RMa=function(a,b){a&1&&(I(0,"li"),Q(1," Last updated by "),K(2,"b-user-display",
12),Q(3," on: "),K(4,"b-formatted-date-time",15),J());a&2&&(a=P(),B(2),E("model",b)("hovercardEnabled",!1),B(2),E("timestamp",a.modifiedTimeMicros/1E3))},SMa=function(a,b){a&1&&(D(0,RMa,5,3,"li"),I(1,"li"),Q(2," Reported by "),K(3,"b-user-display",12),Q(4," on: "),K(5,"b-formatted-date-time",15),J());if(a&2){var c;a=P();G((c=b.lastModifier)?0:-1,c);B(3);E("model",a.reporterUser)("hovercardEnabled",!1);B(2);E("timestamp",b.createdTimeMicros/1E3)}},TMa=function(a){a&1&&(I(0,"li",11),K(1,"b-note-container",
16),J());if(a&2){var b;a=P(2);B();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)}},WMa=function(a,b){if(a&1){var c=v();
I(0,"div",1)(1,"h3")(2,"a",2);Q(3);J();Q(4," \u00a0 ");I(5,"span",3);Q(6);J()();I(7,"ul")(8,"li",4);K(9,"b-issue-visibility-chip",5);J();I(10,"li",6)(11,"span",7);Q(12);J();Q(13," \u00a0 ");D(14,MMa,4,1);J()();I(15,"div",8)(16,"b-cc-button",9);M("onCc",function(q){w(c);var u=P();u.location&&q&&u.analytics.trackEvent(u.location+"_issueCard","add","CC");return x()});J();D(17,OMa,1,1)(18,QMa,2,0,"button",10);J();I(19,"ul");D(20,SMa,6,4)(21,TMa,2,4,"li",11);J()()}if(a&2){var d,e,f,h,l;a=P();B(2);lg("aria-label",
"Go to issue ",a.issueId,"");E("href",a.ROUTES.viewIssue.makeHref(a.issueId),vf);B();Yg(a.issueId);B(3);Yg(b.title);B(3);E("issueId",a.issueId);B(2);E("ngClass",a.priorityClass(b.priority));B();Yg(a.ISSUE_PRIORITY_TEXT_JS[(d=b.priority)!==null&&d!==void 0?d:a.ISSUE_PRIORITY_ENUM.PRIORITY_UNSPECIFIED]);B(2);G((e=b.status)?14:-1,e);B(2);E("issueId",a.issueId)("ccState",UMa(a,(f=b.ccUsers)!==null&&f!==void 0?f:dh(15,VMa)));B();G((h=a.issue.aggregatedData)?17:-1,h);B();G(a.childContextId?18:-1);B(2);
G((l=a.issue.aggregatedData)?20:-1,l);B();G((a.firstEvent==null?0:a.firstEvent.unlinkifiedComment)?21:-1)}},XMa=function(a){a&1&&(I(0,"span",4),Q(1),J());a&2&&(a=P(2),B(),R(" ",a.name," "))},YMa=function(a){a&1&&Q(0," Trackers are distinct communities with their own branding. ")},ZMa=function(a){a&1&&(I(0,"a",9),Q(1,"Learn More"),J());a&2&&(a=P(2),E("href",a.documentationLinks.baseDocumentationUrl+"/concepts/trackers",vf))},$Ma=function(a){a&1&&(I(0,"button",1),K(1,"img",2)(2,"img",3),D(3,XMa,2,1,
"span",4),J(),I(4,"onedev-hovercard",null,0)(6,"div",5)(7,"div",6)(8,"span",7),Q(9),D(10,YMa,1,0),J(),I(11,"div",8)(12,"a",9),Q(13),J(),D(14,ZMa,2,1,"a",9),J()()()());if(a&2){a=L(5);var b=P();sg("xs",b.compactMode);E("onedevHovercardTrigger",a)("onedevHovercardActive",b.showHovercard);B();E("src",b.logoLight,vf);B();E("src",b.logoDark,vf);B();G(b.compactMode?-1:3);B(6);R(" This component or issue is part of ",b.extendedName,". ");B();G(b.isGlobalBuganizer?-1:10);B(2);E("href",b.redirectUrl,vf);B();
R("View ",b.extendedName,"");B();G(b.isGlobalBuganizer?-1:14)}},aNa=function(a){a&1&&(K(0,"b-tracker-chip",0),S(1,"async"));a&2&&(a=P(),E("tracker",U(1,4,a.tracker$)||void 0)("compactMode",a.compactMode)("showHovercard",a.showHovercard)("isGlobalBuganizer",a.isGlobalBuganizer))},cNa=function(a){if(a&1){var b=v();I(0,"span",10);M("onedevHovercardShown",function(){w(b);var d=P(2);return x(bNa(d))});Q(1);J()}if(a&2){a=P(2);var c=L(6);E("onedevHovercardTrigger",c)("onedevHovercardActive",a.enableHovercard);
B();Yg(a.title)}},dNa=function(a){a&1&&(I(0,"span",7),Q(1),J());a&2&&(a=P(2),B(),Yg(a.title))},eNa=function(a){if(a&1){var b=v();D(0,cNa,2,3,"span",6)(1,dNa,2,1,"span",7);I(2,"a",8);M("keydown",function(c){w(b);P();c.key==="Enter"&&c.stopPropagation();return x()})("click",function(c){w(b);return x(c.stopPropagation())});K(3,"mat-icon",9);J()}a&2&&(a=P(),G(a.enableHovercard?0:1),B(2),E("routerLink","/"+a.link)("target",a.anchorTarget)("matTooltipShowDelay",250))},fNa=function(a){if(a&1){var b=v();
I(0,"a",11);M("keydown",function(d){w(b);P();d.key==="Enter"&&d.stopPropagation();return x()})("click",function(d){w(b);return x(d.stopPropagation())})("onedevHovercardShown",function(){w(b);var d=P();return x(bNa(d))});Q(1);J()}if(a&2){a=P();var c=L(6);E("routerLink","/"+a.link)("target",a.anchorTarget)("onedevHovercardTrigger",c)("onedevHovercardActive",a.enableHovercard);B();Yg(a.title)}},gNa=function(a,b){a&1&&(I(0,"span",12),Q(1),J());if(a&2){var c;tg(b.cssClass);mg("aria-label","",b.title," - ",
b.tooltip,"");E("matTooltip",(c=b.tooltip)!==null&&c!==void 0?c:"");B();Yg(b.title)}},hNa=function(a){a&1&&K(0,"b-issue-card",5);a&2&&(a=P(),E("issueId",a.issue.issueId))},iNa=function(a){a&1&&(Ud(),I(0,"svg",11),K(1,"circle",12),J());a&2&&(a=P(),jg("viewBox",a._viewBox()),B(),rg("stroke-dasharray",a._strokeCircumference(),"px")("stroke-dashoffset",a._strokeCircumference()/2,"px")("stroke-width",a._circleStrokeWidth(),"%"),jg("r",a._circleRadius()))},jNa=function(){return{diameter:100}},kNa=function(a){a&
1&&K(0,"mat-spinner",0);a&2&&(a=P(),E("diameter",a.SIZE_LARGE),jg("aria-label",a.ariaLabel))},lNa=function(a){a&1&&K(0,"mat-spinner",1);a&2&&(a=P(),E("diameter",a.SIZE_SMALL)("strokeWidth",a.DIAMETER_SMALL),jg("aria-label",a.ariaLabel))},mNa=function(a){a&1&&(I(0,"span",3),Jg(1,1),J())},nNa=function(a){a&1&&(I(0,"span",6),Jg(1,2),J())},oNa=function(a){a&1&&(I(0,"span",3),Jg(1,1),I(2,"span",8),Ud(),I(3,"svg",9),K(4,"path",10),J()()())},pNa=function(a){a&1&&(I(0,"span",6),Jg(1,2),J())},qNa=function(a){a&
1&&(Ud(),I(0,"svg",2),K(1,"polygon",3),J())},rNa=function(a){if(a&1){var b=v();I(0,"div",0);M("click",function(){w(b);var c=P();return x(c.closed.emit("click"))})("animationstart",function(c){w(b);var d=P();return x(d._onAnimationStart(c.animationName))})("animationend",function(c){w(b);var d=P();return x(d._onAnimationDone(c.animationName))})("animationcancel",function(c){w(b);var d=P();return x(d._onAnimationDone(c.animationName))});I(1,"div",1);Jg(2);J()()}a&2&&(a=P(),tg(a._classList),sg("mat-menu-panel-animations-disabled",
a._animationsDisabled)("mat-menu-panel-exit-animation",a._panelAnimationState==="void")("mat-menu-panel-animating",a._isAnimating),E("id",a.panelId),jg("aria-label",a.ariaLabel||null)("aria-labelledby",a.ariaLabelledby||null)("aria-describedby",a.ariaDescribedby||null))},sNa=function(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}},tNa=function(){return{color:"accent",disabledInteractive:!1}},uNa=function(a){a&1&&(I(0,"span",4),Q(1),
J());a&2&&(a=P(),B(),Yg(a.placeholder))},vNa=function(a){a&1&&Jg(0)},wNa=function(a){a&1&&(I(0,"span",11),Q(1),J());a&2&&(a=P(2),B(),Yg(a.triggerValue))},xNa=function(a){a&1&&(I(0,"span",5),D(1,vNa,1,0)(2,wNa,2,1,"span",11),J());a&2&&(a=P(),B(),G(a.customTrigger?1:2))},yNa=function(a){if(a&1){var b=v();I(0,"div",12,1);M("@transformPanel.done",function(c){w(b);var d=P();return x(d._panelDoneAnimatingStream.next(c.toState))})("keydown",function(c){w(b);var d=P();return x(d._handleKeydown(c))});Jg(2,
1);J()}a&2&&(a=P(),vg("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",a._getPanelTheme(),""),E("ngClass",a.panelClass)("@transformPanel","showing"),jg("id",a.id+"-panel")("aria-multiselectable",a.multiple)("aria-label",a.ariaLabel||null)("aria-labelledby",a._getPanelAriaLabelledby()))},zNa=function(a){return["cdk-cell","cdk-header-cell","cdk-footer-cell"].some(function(b){return a.classList.contains(b)})},ANa=function(a){a&1&&Jg(0,2)},BNa=function(a){a&1&&(I(0,"thead",0),Cg(1,1),J(),
I(2,"tbody",0),Cg(3,2)(4,3),J(),I(5,"tfoot",0),Cg(6,4),J())},CNa=function(a){a&1&&Cg(0,1)(1,2)(2,3)(3,4)},DNa=function(a,b){return a.concat(Array.from(b))},ENa=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},FNa=function(a){a&1&&Jg(0,2)},GNa=function(a){a&1&&(I(0,"thead",0),Cg(1,1),J(),I(2,"tbody",2),Cg(3,3)(4,4),J(),I(5,"tfoot",0),Cg(6,5),J())},HNa=function(a){a&
1&&Cg(0,1)(1,3)(2,4)(3,5)},INa=function(a,b){a&1&&(I(0,"div",4)(1,"div",17),Q(2,"CURRENT ISSUE"),J(),I(3,"div",18),Q(4),J()());a&2&&(B(4),R(" ",b==null?null:b.snapshot[0].title," "))},JNa=function(a){a&1&&K(0,"mat-icon",19)},KNa=function(a){a&1&&K(0,"mat-icon",20)},LNa=function(a,b){a&1&&D(0,JNa,1,0,"mat-icon",19)(1,KNa,1,0,"mat-icon",20);a&2&&(a=P(),G(b===a.SearchSource.SEMANTIC_SEARCH?0:1))},MNa=function(a){if(a&1){var b=v();I(0,"mat-chip-listbox",25)(1,"mat-chip-option",32,2);M("keydown.enter",
function(){w(b);var d=L(2);return x(d.openMenu())})("keyup.space",function(){w(b);var d=L(2);return x(d.openMenu())});I(3,"span");Q(4);J();K(5,"mat-icon",33);J()()}if(a&2){P();a=L(7);var c=P(2);E("selectable",!1);B();E("matMenuTriggerFor",a);B(3);Yg(c.selectedScopeFilter.displayAs)}},ONa=function(a){if(a&1){var b=v();I(0,"button",34);M("click",function(){w(b);var c=P(3);return x(NNa(c,c.componentFilter))});K(1,"mat-icon",35);Q(2);J()}a&2&&(a=P(3),E("matTooltip",a.componentFilter.tooltip||""),B(),
sg("invisible",a.componentFilter!==a.selectedScopeFilter),B(),R(" ",a.componentFilter.displayAs," "))},PNa=function(a){if(a&1){var b=v();I(0,"button",34);M("click",function(){w(b);var c=P(3);return x(NNa(c,c.teamFilter))});K(1,"mat-icon",35);Q(2);J()}a&2&&(a=P(3),E("matTooltip",a.teamFilter.tooltip||""),B(),sg("invisible",a.teamFilter!==a.selectedScopeFilter),B(),R(" ",a.teamFilter.displayAs," "))},QNa=function(a){if(a&1){var b=v();I(0,"button",36);M("click",function(){w(b);var c=P(3);return x(c.openLearnMore())});
K(1,"mat-icon",37);J()}},RNa=function(a){if(a&1){var b=v();I(0,"div",21)(1,"mat-chip-listbox",22);M("change",function(c){w(b);var d=P(2);return x(d.openFilterChanged(c.value))});I(2,"mat-chip-option",23)(3,"span",24);Q(4);J()()();D(5,MNa,6,3,"mat-chip-listbox",25);I(6,"mat-menu",26,1);D(8,ONa,3,4,"button",27)(9,PNa,3,4,"button",27);J();I(10,"mat-chip-listbox",28);M("change",function(){w(b);var c=P(2);c.includeDescendants=!c.includeDescendants;var d=tp(c.component$),e=tp(c.team$);if(d&&e){d=GGa(d,
c.includeDescendants);e=FGa(e,c.includeDescendants);var f=new Set(tp(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()});I(11,"mat-chip-option",29)(12,"span",30);Q(13);J()()();D(14,QNa,2,0,"button",31);J()}a&2&&(a=P(2),B(2),E("selected",a.selectedFilters$.has(a.openFilter))("value",
a.openFilter),B(),E("matTooltip",a.openFilter.tooltip||""),B(),R(" ",a.openFilter.displayAs," "),B(),G(a.selectedScopeFilter?5:-1),B(3),G(a.componentFilter?8:-1),B(),G(a.teamFilter?9:-1),B(4),R(" Include sub-",a.selectedScopeFilter===a.componentFilter?"components":"teams"," "),B(),G(a.isInternalSession?14:-1))},SNa=function(a,b){a&1&&D(0,RNa,15,9,"div",21);a&2&&(a=P(),G(b===a.SearchSource.SEMANTIC_SEARCH&&a.tableDataSource!==a.TableDataSource.ISSUE_IDS?0:-1))},TNa=function(a){a&1&&K(0,"ai-spinner",
38);a&2&&E("large",!0)},UNa=function(a){a&1&&K(0,"ai-spinner",39)},VNa=function(a){a&1&&K(0,"b-spinner",40)},WNa=function(a){a&1&&(I(0,"div",12),D(1,TNa,1,1,"ai-spinner",38),S(2,"async"),D(3,UNa,1,0,"ai-spinner",39)(4,VNa,1,0,"b-spinner",40),J());a&2&&(a=P(),B(),G(a.searchText$.value?a.searchText$.value&&U(2,1,a.selectedSearchSource$)===a.SearchSource.SEMANTIC_SEARCH?3:4:1))},XNa=function(a){a&1&&(I(0,"b-callout",41)(1,"b-callout-body"),Q(2," This issue was suggested by AI! Save time by exploring the suggestions first next time. "),
I(3,"a",45),Q(4,"Learn more"),J()()())},YNa=function(a){a&1&&(I(0,"h3",42),K(1,"mat-icon",46),Q(2," Possible duplicates "),J())},ZNa=function(a){a&1&&(I(0,"th",65)(1,"span",66),Q(2,"Selection"),J()())},$Na=function(a,b){a&1&&(I(0,"td",67),K(1,"mat-radio-button",68),S(2,"async"),J());a&2&&(a=b.$implicit,b=P(3),B(),E("checked",U(2,3,Bq(b.selectedIssues,a.issueId)))("aria-label",a.snapshot[0].title)("value",a.issueId))},aOa=function(a){a&1&&(I(0,"th",65),Q(1," Title "),J())},bOa=function(a,b){a&1&&(I(0,
"td",67),K(1,"b-issue-title-cell",69),J());a&2&&(a=b.$implicit,b=P(3),B(),E("issue",a)("issueUrlFactory",b.issueUrlFactory)("useButtonToNavigate",!0)("enableHovercard",!0))},cOa=function(a){a&1&&(I(0,"th",65),Q(1," Id "),J())},dOa=function(a,b){a&1&&(I(0,"td",67),K(1,"b-issue-id-cell",70),J());a&2&&(a=b.$implicit,B(),E("id",a.issueId))},eOa=function(a){a&1&&(I(0,"th",65),Q(1," Priority "),J())},fOa=function(a,b){a&1&&(I(0,"td",67),K(1,"b-issue-priority-cell",71),J());a&2&&(a=b.$implicit,B(),E("issue",
a))},gOa=function(a){a&1&&(I(0,"th",72),Q(1," Status "),J())},hOa=function(a,b){a&1&&(I(0,"td",67),K(1,"b-issue-status-cell",71),J());a&2&&(a=b.$implicit,B(),E("issue",a))},iOa=function(a){a&1&&(I(0,"th",65),Q(1," Dupes "),J())},jOa=function(a,b){a&1&&(I(0,"td",73),Q(1),J());if(a&2){var c;a=b.$implicit;B();R(" ",(c=a.snapshot[0].duplicateIssueId==null?null:a.snapshot[0].duplicateIssueId.length)!==null&&c!==void 0?c:0," ")}},kOa=function(a){a&1&&(I(0,"th",74)(1,"span",66),Q(2,"Votes"),J(),K(3,"mat-icon",
75),J())},lOa=function(a,b){a&1&&(I(0,"td",73),Q(1),J());a&2&&(a=b.$implicit,B(),R(" ",a.aggregatedData.voteCount," "))},mOa=function(a){a&1&&(I(0,"th",76),Q(1," Created "),J())},nOa=function(a,b){a&1&&(I(0,"td",67),K(1,"b-issue-created-time-cell",77),J());a&2&&(a=b.$implicit,B(),E("issue",a))},oOa=function(a){a&1&&K(0,"tr",78)},pOa=function(a,b){if(a&1){var c=v();I(0,"tr",79);M("keydown",function(d){var e=w(c),f=e.$implicit;e=e.index;var h=P(3);return x(h.onRowKeydown(e,f,d))})("keydown.enter",function(){var d=
w(c).$implicit,e=P(3);return x(e.selectIssue(d.issueId))})("focusin",function(){var d=w(c).$implicit,e=P(3);return x(Cq(e.focusManager,d))})("click",function(){var d=w(c),e=d.$implicit;d=d.index;var f=P(3);f.selectIssue(e.issueId);return x(f.focusManager.setActiveItem(d))});J()}a&2&&E("row",b.$implicit)},rOa=function(a){if(a&1){var b=v();I(0,"table",47);M("contentChanged",function(){w(b);var d=P(),e=P();return x(qOa(e,d))});Ag(1,48);D(2,ZNa,3,0,"th",49);I(3,"mat-radio-group",50);M("change",function(d){w(b);
var e=P(2);return x(e.selectIssue(d.value))});D(4,$Na,3,5,"td",51);J();Bg();Ag(5,52);D(6,aOa,2,0,"th",49)(7,bOa,2,4,"td",51);Bg();Ag(8,53);D(9,cOa,2,0,"th",49)(10,dOa,2,1,"td",51);Bg();Ag(11,54);D(12,eOa,2,0,"th",49)(13,fOa,2,1,"td",51);Bg();Ag(14,55);D(15,gOa,2,0,"th",56)(16,hOa,2,1,"td",51);Bg();Ag(17,57);D(18,iOa,2,0,"th",49)(19,jOa,2,1,"td",58);Bg();Ag(20,59);D(21,kOa,4,0,"th",60)(22,lOa,2,1,"td",58);Bg();Ag(23,61);D(24,mOa,2,0,"th",62)(25,nOa,2,1,"td",51);Bg();D(26,oOa,1,0,"tr",63)(27,pOa,1,
1,"tr",64);J()}if(a&2){a=P();var c=P();E("dataSource",a)("trackBy",c.trackByIssueId);B(26);E("matHeaderRowDef",c.tableColumns);B();E("matRowDefColumns",c.tableColumns)}},sOa=function(a){a&1&&(I(0,"div",44)(1,"span",80),Q(2,"No results found"),J()())},tOa=function(a,b){a&1&&(I(0,"div",13),D(1,XNa,5,0,"b-callout",41)(2,YNa,3,0,"h3",42)(3,rOa,28,4,"table",43)(4,sOa,3,0,"div",44),J());a&2&&(a=P(),B(),G(a.isPasteResultInSuggestion?1:-1),B(),G(a.searchText$.value||a.isLoading?-1:2),B(),G(!a.isLoading&&
b&&b.length?3:-1),B(),G(a.isLoading||(b==null?null:b.length)!==0?-1:4))},uOa=function(a){if(a&1){var b=v();I(0,"button",4);M("click",function(c){w(b);P().expansionChange.emit();c.stopPropagation();return x()});K(1,"b-icon",5);J()}a&2&&(a=P(),sg("collapsed",!a.expanded),jg("aria-label",a.expanded?"Collapse children":"Expand children"))},vOa=function(a){a&1&&K(0,"div",2)},wOa=function(a){a&1&&K(0,"mat-icon",1);a&2&&(a=P(),E("svgIcon",a.icon))},xOa=function(){return Zja(function(){return re(Promise.resolve(void 0))})},
yOa=function(a){a&1&&K(0,"a",1)},zOa=function(a){if(a&1){var b=v();K(0,"b-signal-chip",3);I(1,"button",4);M("click",function(c){w(b);var d=P();c.preventDefault();c.stopPropagation();return x(d.dismissAlert())})("mousedown",function(){w(b);var c=P();return x(c.dismissAlert())});K(2,"mat-icon",5);J()}a&2&&(P(),a=Hg(1),E("chipColor",a.chipColor)("displayText",a.displayAs)("tooltip",a.tooltip))},BOa=function(a){a&1&&(I(0,"div",2),Q(1),J());if(a&2){a=P();var b=L(5);E("xapInlineDialog",b);B();R(" +",AOa(a).slice(1).length,
" ")}},COa=function(a,b){if(a&1){var c=v();I(0,"div",6);K(1,"b-signal-chip",3);I(2,"button",4);M("click",function(d){w(c);var e=P(2);d.preventDefault();d.stopPropagation();return x(e.dismissAlert())})("mousedown",function(){w(c);var d=P(2);return x(d.dismissAlert())});K(3,"mat-icon",7);J()()}a&2&&(a=b.$implicit,B(),E("chipColor",a.chipColor)("displayText",a.displayAs)("tooltip",a.tooltip))},DOa=function(a){a&1&&(I(0,"xap-dialog-layout")(1,"xap-dialog-layout-content"),yg(2,COa,4,3,"div",6,wg),J()());
a&2&&(a=P(),B(2),zg(AOa(a).slice(1)))},EOa=function(a){a&1&&(I(0,"b-person-hovercard",1),Q(1),J());a&2&&(a=P(),E("email",a.assignee),B(),R(" ",a.assignee," "))},FOa=function(a){if(a&1){var b=v();I(0,"a",16);M("click",function(){w(b);var c=P();return x(c.trackClick("viewTeamAssociationOnComponent"))});I(1,"button",11);Q(2,"View team association on component");J()()}a&2&&(a=P(),E("href",a.ROUTES.editComponent.makeHref(a.componentId),vf))},GOa=function(a){if(a&1){var b=v();I(0,"a",4);M("click",function(){w(b);
var d=P(2);return x(d.trackClick("viewTeamInMoma"))});I(1,"span");Q(2);K(3,"mat-icon",5);J()()}if(a&2){a=P(2);var c=L(4);Kg("href","https://moma.corp.google.com/team/",a.teamId,"",vf);E("onedevHovercardTrigger",c);jg("aria-labelledby",a.linkAriaLabelledBy())("aria-label",(a.teamName?a.teamName:a.teamId)+" - link opens in a new tab");B();jg("id",a.teamLinkId);B();R("",a.teamName?a.teamName:a.teamId," ")}},HOa=function(a){a&1&&(I(0,"span",3),Q(1),J());if(a&2){a=P(2);var b=L(4);E("onedevHovercardTrigger",
b);B();Yg(a.teamName?a.teamName:a.teamId)}},IOa=function(a){a&1&&D(0,GOa,4,7,"a",2)(1,HOa,2,2,"span",3);a&2&&(a=P(),G(a.anchorLinkEnabled?0:-1),B(),G(a.anchorLinkEnabled?-1:1))},JOa=function(a){a&1&&K(0,"span",6)},KOa=function(a){a&1&&(I(0,"span"),Q(1),J());a&2&&(a=P(2),B(),Yg(a.teamNotAssignedMessage))},LOa=function(a){a&1&&D(0,JOa,1,0,"span",6)(1,KOa,2,1,"span");a&2&&(a=P(),G(a.teamId!="0"?0:-1),B(),G(a.teamId=="0"?1:-1))},MOa=function(a){a&1&&K(0,"b-team-display",1);a&2&&(a=P(),E("teamId",a.teamId)("componentId",
a.componentId)("anchorLinkEnabled",!1))},NOa=function(a){a&1&&Cg(0)},OOa=function(a){a&1&&(I(0,"span",2),D(1,NOa,1,0,"ng-container",3),J(),I(2,"onedev-hovercard",null,1),K(4,"b-issue-person-card",4),J());if(a&2){a=L(3);var b=P(),c=L(3);E("onedevHovercardTrigger",a);B();E("ngTemplateOutlet",c);B(3);E("email",b.email)}},POa=function(a){a&1&&Cg(0)},QOa=function(a){a&1&&D(0,POa,1,0,"ng-container",3);a&2&&(P(),a=L(3),E("ngTemplateOutlet",a))},SOa=function(a){a&1&&K(0,"img",5);a&2&&(a=P(2),P(),E("src",
ROa[a.email],vf))},TOa=function(a){a&1&&K(0,"img",8);a&2&&(a=P(3),E("src",a.src,vf)("srcset",a.srcset))},UOa=function(a){a&1&&(I(0,"span",7),S(1,"async"),D(2,TOa,1,2,"img",8),J());if(a&2){a=P(2);var b=P();sg("team-member",U(1,5,b.isTeamMember$))("anonymous",!a.showImage);B(2);G(a.showImage?2:-1)}},WOa=function(a){a&1&&D(0,SOa,1,1,"img",5)(1,UOa,3,7,"span",6);if(a&2){a=P();var b=P();G(a.email&&VOa(b,a.email)?0:-1);B();G(VOa(b,a.email)?-1:1)}},XOa=function(a,b){a&1&&D(0,OOa,5,3)(1,QOa,1,1,"ng-container")(2,
WOa,2,2,"ng-template",null,0,ih);a&2&&(a=P(),G(a.isNonObfuscatedEmail(b.email)?0:1))},YOa=function(a,b){a&1&&K(0,"b-user-image",0);a&2&&E("email",b)},ZOa=function(a){if(a&1){var b=v();I(0,"button",2);M("click",function(){w(b);var c=P();return x(c.claim())})("mousedown",function(){w(b);var c=P();return x(c.claim())});Q(1," Claim ");J()}},$Oa=function(a){a&1&&(Ag(0),Q(1),S(2,"enumToHuman"),Bg());a&2&&(a=P(),B(),Yg(U(2,1,a.type)))},aPa=function(a){a&1&&(I(0,"a",1),K(1,"mat-icon",2),J());a&2&&(a=P(),
E("href",a.mdHelpLink,vf)("disableRipple",!0))},bPa=function(a,b){if(a&1){var c=v();I(0,"a",7);M("click",function(){var d=w(c).$implicit,e=P(2);return x(e.clickSegment.emit(d.name||d.path))});Q(1);J()}a&2&&(a=b.$implicit,E("href",a.path,vf),B(),R(" ",a.name||a.path," "))},cPa=function(a){a&1&&(I(0,"button",4),K(1,"mat-icon",5),J(),I(2,"mat-menu",null,0),yg(4,bPa,2,2,"a",6,xg),J());if(a&2){a=L(3);var b=P();E("matMenuTriggerFor",a);B(4);zg(b.segments)}},dPa=function(a){a&1&&K(0,"mat-icon",2);a&2&&(a=
P().$implicit,E("svgIcon",a.icon))},ePa=function(a,b){if(a&1){var c=v();I(0,"button",1);M("click",function(){var e=w(c).$implicit,f=P();return x(f.onClickButton(e.value))});D(1,dPa,1,1,"mat-icon",2);Q(2);J()}if(a&2){var d;a=b.$implicit;b=P();E("disableRipple",!0)("matTooltip",(d=a.tooltip)!==null&&d!==void 0?d:"");jg("aria-checked",b.value===a.value);B();G(a.icon?1:-1);B();R(" ",a.name," ")}},fPa=function(a){a=a.getBoundingClientRect();return a.top>=0&&a.bottom<=window.innerHeight},gPa=function(a){a=
a.getBoundingClientRect();return a.bottom>0&&a.top<window.innerHeight},hPa=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 oe(function(f){f.next(e(a));var h=b(function(l){f.next(l[0].isIntersecting)},d?{threshold:0}:{threshold:1});h.observe(a);return function(){h.unobserve(a)}})).pipe(Pf())},iPa=function(a,b,c){var d=(c===void 0?0:c)?function(e){return b.partially(e)}:function(e){return b.fully(e)};return Te(Ae(void 0),Pe(window,
"scroll").pipe(Lf(500))).pipe(z(function(){return d(a)}),Pf())},jPa=function(){},kPa=function(a){a&1&&Jg(0)},lPa=function(){},mPa=function(a){a&1&&D(0,lPa,0,0,"ng-template",12);a&2&&(a=P().$implicit,E("cdkPortalOutlet",a.templateLabel))},nPa=function(a){a&1&&Q(0);a&2&&(a=P().$implicit,Yg(a.textLabel))},oPa=function(a,b){if(a&1){var c=v();I(0,"div",7,2);M("click",function(){var f=w(c),h=f.$implicit;f=f.$index;var l=P(),q=L(1);return x(l._handleClick(h,q,f))})("cdkFocusChange",function(f){var h=w(c).$index,
l=P();return x(l._tabFocusChanged(f,h))});K(2,"span",8)(3,"div",9);I(4,"span",10)(5,"span",11);D(6,mPa,1,1,null,12)(7,nPa,1,1);J()()()}if(a&2){a=b.$implicit;b=b.$index;var d=L(1),e=P();tg(a.labelClass);sg("mdc-tab--active",e.selectedIndex===b);E("id",e._getTabLabelId(b))("disabled",a.disabled)("fitInkBarToContent",e.fitInkBarToContent);jg("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);B(3);E("matRippleTrigger",d)("matRippleDisabled",a.disabled||e.disableRipple);B(3);G(a.templateLabel?6:7)}},pPa=function(a){a&1&&Jg(0)},qPa=function(a,b){if(a&1){var c=v();I(0,"mat-tab-body",13);M("_onCentered",function(){w(c);var e=P();return x(e._removeTabBodyWrapperHeight())})("_onCentering",function(e){w(c);var f=P();return x(f._setTabBodyWrapperHeight(e))});J()}if(a&2){a=b.$implicit;b=b.$index;var d=P();
tg(a.bodyClass);sg("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);jg("tabindex",d.contentTabIndex!=null&&d.selectedIndex===b?d.contentTabIndex:null)("aria-labelledby",d._getTabLabelId(b))("aria-hidden",d.selectedIndex!==b)}},rPa=function(a){a&1&&Cg(0)},sPa=function(a){if(a&1){var b=v();I(0,"div",3);M("mouseenter",function(){w(b);
var c=P();return x(c.toggle(!0))})("mouseleave",function(){w(b);var c=P();return x(c.toggle(!1))})("mousemove",function(){w(b);P().activity.next();return x()});D(1,rPa,1,0,"ng-container",4);J()}a&2&&(a=P(),E("ngClass",a.bubbleStyle)("@fade",void 0),B(),E("ngTemplateOutlet",a.panelTemplate))},tPa=function(a){a&1&&(I(0,"span",3),Q(1),J());a&2&&(a=P(2),sg("xs",a.compactMode),E("ngClass",a.chipClass),B(),R(" ",a.chipText," "))},uPa=function(a){a&1&&(I(0,"div",5),Q(1),I(2,"a",6),Q(3," Learn more"),J()());
a&2&&(a=P(3),B(),R(" ",a.bubbleText," "),B(),E("href",Aq(a.documentationLinks),vf))},vPa=function(a){a&1&&(I(0,"xap-bubble",2)(1,"span",4),Q(2),J(),D(3,uPa,4,2,"ng-template",null,0,ih),J());if(a&2){a=L(4);var b=P(2);E("panelTemplate",a);B();sg("xs",b.compactMode);E("ngClass",b.chipClass);B();R(" ",b.chipText," ")}},wPa=function(a){a&1&&D(0,tPa,2,4,"span",1)(1,vPa,5,5,"xap-bubble",2);a&2&&(a=P(),G(a.labelOnlyMode?0:1))},xPa=function(a){a&1&&Cg(0)},yPa=function(a){a&1&&(I(0,"span"),Q(1,"Details"),J())},
zPa=function(a){a&1&&(I(0,"span"),Q(1,"Members"),J())},BPa=function(a){a&1&&(I(0,"div",11)(1,"a",12),D(2,yPa,2,0,"span")(3,zPa,2,0,"span"),J()());if(a&2){a=P(2);B();if(a.email===void 0)var b="";else{b=encodeURIComponent(a.getName());var c=encodeURIComponent(a.email);b=APa(a.email)?"https://ganpati2.corp.google.com/group/"+b+".corp":dua(a.email)?"https://twosync.corp.google.com/rosterz/"+c:"https://groups.google.com/a/google.com/forum/#!members/"+b}E("href",b,vf);B();G(APa(a.email)?2:3)}},CPa=function(a){a&
1&&(I(0,"span",2),D(1,xPa,1,0,"ng-container",3),J(),I(2,"onedev-hovercard",null,1)(4,"div",4)(5,"div",5)(6,"div",6)(7,"div",7)(8,"div",8)(9,"h3"),Q(10),J()(),I(11,"div",9),K(12,"mat-icon",10),I(13,"span"),Q(14),J()()(),D(15,BPa,4,2,"div",11),J()()()());if(a&2){a=L(3);var b=P(),c=L(3);E("onedevHovercardTrigger",a);B();E("ngTemplateOutlet",c);B(9);Yg(b.getName());B(4);Yg(b.email);B();G(b.shouldShowLinks()?15:-1)}},DPa=function(a){a&1&&Cg(0)},EPa=function(a){a&1&&D(0,DPa,1,0,"ng-container",3);a&2&&(P(),
a=L(3),E("ngTemplateOutlet",a))},FPa=function(a){a&1&&Jg(0)},GPa=function(a){a&1&&(I(0,"xap-dialog-layout")(1,"xap-dialog-layout-content"),Jg(2),J()())},HPa=function(a){for(var b={},c=k(a.keys),d=c.next();!d.done;d=c.next()){d=d.value;var e=a.getAll(d);b[d]=e.length>1?e:e[0]}return b},IPa=function(){var a=window.gapi;if(!a)return Promise.reject(Error("Wd"));if(a.client&&a.client.load)return Promise.resolve(a);lj("loading gapi client");return new Promise(function(b,c){a.load("client",{callback:function(){lj("gapi client has finished loading");
b(a)},onerror:c})})},Dq=function(a){return a==null?"":typeof a==="number"?isFinite(a)?String(a):"":a&&(a=String(a),a.length<=254)?a:""},MPa=function(){var a=Eq("gapi.config.get");if((a=Dq(a&&a("googleapis.config/sessionIndex")))||(a=Dq(ya.__X_GOOG_AUTHUSER))||(a=Dq(Eq("google.authuser"))))return a;var b=ya.location.href||"",c=JPa.exec(b);try{a=Dq(c&&decodeURIComponent(c[2]))}catch(d){}if(a)return a;c=KPa.exec(b);try{a=Dq(c&&decodeURIComponent(c[2]))}catch(d){}if(a)return a;a=LPa.exec(b);return(a=
Dq(a&&a[1]))?a:""},NPa=function(){var a=Eq("gapi.auth.getToken");a=(a=a?a():null)&&a.access_token;var b=null;if(!a){a=(a=Eq("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}},PPa=function(a){a=a===void 0?"":a;var b;if(!(b=NPa())){b=a;var c=c===void 0?MPa():c;a={};var d=OPa([]);d&&(a.Authorization=d);b||(b=(b=Eq("gapi.config.get"))&&b("client/apiKey"));
b&&(a["X-Goog-Api-Key"]=b);c&&(a["X-Goog-AuthUser"]=String(c));b=a}return b},QPa=function(a,b){b=b===void 0?0:b;var c;if(c=b===0)c=(c=Eq("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=Eq("gapi.config.get"))&&b("client/rewrite"))&&
b[a]&&(a=String(b[a]));return a},SPa=function(a,b){return a<1||!isFinite(a)?Promise.reject("gapi.client missing"):(new Promise(function(c){return ya.setTimeout(c,b)})).then(function(){return RPa(a-1,b*2)})},RPa=function(a,b){a=a===void 0?0:a;b=b===void 0?5E3:b;var c=ya;try{do var d=c.gapi;while(!d&&c!==c.top&&(c=c.parent))}catch(e){}if(!d)return SPa(a,b);ya.gapi||(ya.gapi=d);return d.client?Promise.resolve(d):new Promise(function(e,f){d.load("client",function(){d.client?e(d):f("gapi.client missing")})})},
TPa=function(){var a=a===void 0?"":a;var b=b===void 0?MPa():b;var c=Eq("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)},UPa=function(a){return(new Fq).setEventType(2).setRpcType(2).setLookupType(a)},VPa=function(a){a=Math.round(a*1E3);return isFinite(a)?a:null},Gq=function(a){var b=b===void 0?WPa:b;var c=Za(a),d=function(e){e=k(e);e.next();e=ln(e);return b(c,e)};
return function(){var e=vd.apply(0,arguments),f=this||ya,h=XPa.get(f);h||(h={},XPa.set(f,h));f=h;h=[this].concat(t(e));e=d?d(h):h;if(Object.prototype.hasOwnProperty.call(f,e))f=f[e];else{var l=k(h);h=l.next().value;l=ln(l);h=a.apply(h,l);f=f[e]=h}return f}},$Pa=function(a,b,c,d,e){e=e===void 0?"":e;a=new Hq(a,b);e&&(a.destinationUrl=e);d&&YPa(a,function(){return PPa().Authorization});a.setProductID(109303191);c&&c.length&&(d=new ZPa,wc(d,3,c,Lb),a.setClearExperimentIds(d));return a.build()},Iq=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=aQa[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},Lq=function(a,b,c,d){Jq.call(this);this.initialized_=!1;this.title_=null;this.cache_=
b;this.id_=c;this.transport_=a;bQa(this.transport_,this.id_);d&&Kq(d.getEventTarget(),"a",this.onContactsChange_,!1,this)},cQa=function(a){var b={};if(a){a=k(a);for(var c=a.next();!c.done;c=a.next()){var d=c.value;c=d.containerType;d=d.id||"";c&&d&&(b[c]=b[c]||d)}}return b},eQa=function(a){return a.extendedData&&a.extendedData.contactPreferences?a.extendedData.contactPreferences.map(function(b){return dQa(b.name,b.email)}).join(", "):""},hQa=function(a,b,c){var d=[];a&&(fQa("name",a.name,b,d,c),fQa("phone",
a.phone,b,d,c),fQa("photo",a.photo,b,d,c));return d.map(function(e){return new gQa(e)})},fQa=function(a,b,c,d,e){if(b){b=k(b);for(var f=b.next();!f.done;f=b.next())if(f=f.value,Eq("metadata.containerType",f)!=="CONTACT"){var h=f;var l=c,q=d,u=e,A=Eq("metadata.encodedContainerId",h),F=Eq("metadata.containerType",h);l.contains(A,F)?h=l.get(A,F)||0:(h=q.length,l.set(A,F,h),q.push({}),u.push(A));l=q[h];l[a]=l[a]||[];l[a].push(f)}}},jQa=function(a,b){if(a){a=iQa(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},kQa=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},lQa=function(a){this.query_=a;this.error_=0},oQa=function(a,b){for(var c=[],d=a.length,e=0,f=[],h,l,q=0;q<d;){switch(e){case 0:var u=a.indexOf("<",q);if(u<0){if(c.length===0)return a;c.push(a.substring(q));q=d}else c.push(a.substring(q,u)),l=
u,q=u+1,mQa?(nQa.lastIndex=q,u=nQa.exec(a)):(nQa.lastIndex=0,u=nQa.exec(a.substring(q))),u?(f=["<",u[0]],h=u[1],e=1,q+=u[0].length):c.push("<");break;case 1:u=a.charAt(q++);switch(u){case "'":case '"':var A=a.indexOf(u,q);A<0?q=d:(f.push(u,a.substring(q,A+1)),q=A+1);break;case ">":f.push(u);c.push(b(f.join(""),h));e=0;f=[];l=h=null;break;default:f.push(u)}break;default:throw Error();}e===1&&q>=d&&(q=l+1,c.push("<"),e=0,f=[],l=h=null)}return c.join("")},Nq=function(a,b){b=a(b||pQa,void 0);a=Mq();b&&
b.renderAsElement?a=b.renderAsElement():(a=a.createElement("DIV"),b=qQa(b),a.innerHTML=Wc(b));a.childNodes.length==1&&(b=a.firstChild,b.nodeType==1&&(a=b));return a},qQa=function(a){return Ya(a)?a.toSafeHtml&&(a=a.toSafeHtml(),a instanceof Tc)?a:wi("zSoyz"):wi(String(a))},Pq=function(a,b,c,d,e,f,h){this.serverBase_=typeof a==="string"?new Oq(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},rQa=function(a){a=a.getEmail();if(!a)return!1;for(var b=k(["-pager","+pager","-oncall","+oncall","lifeguard-ng"]),c=b.next();!c.done;c=b.next())if(a.indexOf(c.value)>=0)return!0;return!1},vQa=function(a,b,c){a=a.filter(sQa());if(!c)return a;c=c.map(function(d){return{contact:d,toString:function(){return d.text}}});b=tQa(new uQa(c),b,c.length);return a.concat(b.map(function(d){return d.contact}))},zQa=function(a){var b=
"",c=[];a=k(a.split(","));for(var d=a.next();!d.done;d=a.next())b+=d.value.trim(),b.match(/^[a-z0-9@\-\._\+]+$/i)?(c.push(wQa(b)),b=""):xQa.test(b)?(c.push(b),b=""):b.match(/(".+" )?<.+>/)&&(b=wQa(yQa(b)),c.push(b),b="");return c.join(", ")+", "},yQa=function(a){return a.substr(Math.max(0,a.lastIndexOf("<"))).trim().replace(/[<>]/g,"")},wQa=function(a){a=a.trim();Na(a)===","&&(a=a.slice(0,-1));a=Sp(a);var b=a.split("@");return b.length===2?b[0]+"@"+b[1].toLowerCase():a},AQa=function(a,b){a&1&&K(0,
"mat-icon",2);a&2&&E("svgIcon",b)},BQa=function(a){a&1&&(I(0,"b-person-hovercard",4),Q(1),J());a&2&&(a=P(),E("email",a.value),B(),R(" ",a.displayText," "))},CQa=function(a){a&1&&(I(0,"b-group-email-card",4),Q(1),J());a&2&&(a=P(),E("email",a.value),B(),R(" ",a.displayText," "))},DQa=function(a,b){a&1&&(I(0,"div",8),K(1,"b-contact-chip",9),J());a&2&&(a=b.$implicit,b=P(3),B(),E("value",a.value)("detailedUserType",a.detailedUserType)("principalType",a.principalType)("accessLevel",b.accessLevel)("displayText",
a.displayText))},EQa=function(a){a&1&&(I(0,"div",7),yg(1,DQa,2,5,"div",8,xg),J());a&2&&(a=P(2),B(),zg(a.nestedChips))},FQa=function(a){a&1&&(I(0,"span"),Q(1),J());a&2&&(a=P(2),B(),Yg(a.getTooltip()))},GQa=function(a){a&1&&(I(0,"b-text-with-tooltip",5),D(1,EQa,3,0,"div",7)(2,FQa,2,1,"span"),J());a&2&&(a=P(),E("dialogTabIndex",a.isContainerChip()?-1:0)("displayText",a.displayText),B(),G(a.isContainerChip()?1:2))},HQa=function(a){if(a&1){var b=v();I(0,"div",10);M("click",function(){w(b);var c=P();return x(c.chipRemove.emit())})("keydown.enter",
function(){w(b);var c=P();return x(c.chipRemove.emit())});K(1,"mat-icon",11);J()}a&2&&(a=P(),Kg("matTooltip","'Remove ",a.displayText,"'"),jg("aria-label","Remove "+a.displayText))},IQa=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.theme!=null&&a.setTheme(b.theme),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))},JQa=function(a){a&1&&K(0,"b-user-image",3);a&2&&(a=P(),E("email",a.email))},KQa=function(a){a&1&&Cg(0)},LQa=function(a){a&1&&(I(0,"span",5),D(1,KQa,1,0,"ng-container",6),J(),I(2,"onedev-hovercard",null,1),
K(4,"b-issue-person-card",7),J());if(a&2){a=L(3);var b=P(),c=L(5);E("onedevHovercardTrigger",a);B();E("ngTemplateOutlet",c);B(3);E("email",b.email)}},MQa=function(a){a&1&&Cg(0)},NQa=function(a){a&1&&D(0,MQa,1,0,"ng-container",6);a&2&&(P(),a=L(5),E("ngTemplateOutlet",a))},OQa=function(a){a&1&&(I(0,"span"),Q(1),J());a&2&&(a=P(),B(),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))},
PQa=function(a){a&1&&(I(0,"span",4),K(1,"b-availability-chip",8),J());a&2&&(a=P(),B(),E("user",a.email))},QQa=function(a){a&1&&K(0,"b-icon",6)},RQa=function(a){a&1&&K(0,"b-user-image",7);a&2&&(a=P(2),E("email",a.email))},SQa=function(a){a&1&&(D(0,QQa,1,0,"b-icon",6),S(1,"async"),D(2,RQa,1,1,"b-user-image",7));a&2&&(a=P(),G(a.enableGroupIcon&&U(1,1,a.isGroup$)?0:2))},TQa=function(a){a&1&&K(0,"b-user-display-name",3);a&2&&(a=P(),E("email",a.email)("hovercardFocusEnabled",!0)("availabilityChipEnabled",
!1))},UQa=function(a){a&1&&Cg(0)},VQa=function(a){a&1&&(I(0,"span",8),D(1,UQa,1,0,"ng-container",9),J(),I(2,"onedev-hovercard",null,1),K(4,"b-issue-person-card",10),J());if(a&2){a=L(3);P();var b=L(3),c=P();E("onedevHovercardTrigger",a);B();E("ngTemplateOutlet",b);B(3);E("email",c.email)}},WQa=function(a){a&1&&Cg(0)},XQa=function(a){a&1&&D(0,WQa,1,0,"ng-container",9);a&2&&(P(),a=L(3),E("ngTemplateOutlet",a))},YQa=function(a){a&1&&(I(0,"span",11),Q(1),J());a&2&&(a=P(2),B(),Yg(a.email))},ZQa=function(a){a&
1&&D(0,VQa,5,3)(1,XQa,1,1,"ng-container")(2,YQa,2,1,"ng-template",null,0,ih);a&2&&(a=P(),G(a.isNonObfuscatedEmail(a.email)?0:1))},$Qa=function(a){a&1&&(K(0,"mat-icon",4),S(1,"async"),S(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:"")}},aRa=function(a){a&1&&K(0,"b-availability-chip",5);a&2&&(a=P(),E("user",a.email))},bRa=function(a,b){a&1&&(I(0,"span",1),Q(1),J());a&2&&(E("matTooltip",b),B(),
R(" ",b," "))},cRa=function(a){a&1&&(I(0,"b-person-hovercard",1),Q(1),J());a&2&&(a=P(),E("email",a.reporter),B(),R(" ",a.reporter," "))},Rq=function(a,b){return dRa(Qq.viewIssue.routeDeclarationPath,{id:a,params:b})},hRa=function(a,b,c,d,e){c=eRa(c);d=fRa(d);return gRa("action/issues/csv","q",a,"trackerIds",b,"s",c,"c",d,"h",e)},eRa=function(a){return a&&a.length?a.map(function(b){return b.toApiUrlParam()}).join(","):null},fRa=function(a){return a&&a.length?a.map(function(b){return b.toApiUrlParam()}).join(","):
null},dRa=function(a,b){b=b===void 0?{}:b;return b.id==null?"":Sq(a,b)},Sq=function(a,b){var c=b=b===void 0?{}:b;b=c.id;var d=c.params,e=c.tab;c=c.token;var f=a;b!=null&&(f=a.replace(c?c:/:\w+/,b.toString()));d&&(f=iRa(f,d));e&&(f=f+"#"+e);return f},jRa=function(a,b){if(a&1){var c=v();I(0,"div",1,0);M("@panelAnimation.done",function(d){w(c);var e=P();return x(e._animationDone.next(d))});Jg(2);J()}a&2&&(a=b.id,b=P(),tg(b._classList),sg("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"),jg("aria-label",b.ariaLabel||null)("aria-labelledby",b._getPanelAriaLabelledby(a)))},kRa=function(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1}},lRa=function(a){a&1&&(I(0,"div")(1,"div",10),Q(2," An issue cannot reference itself. "),J()())},mRa=function(a){a&1&&
(I(0,"mat-option",7)(1,"div",11),K(2,"b-spinner",12),J()());a&2&&(B(2),E("large",!0))},nRa=function(a){a&1&&(I(0,"mat-option",8),Q(1," No issues found. "),J())},oRa=function(a){a&1&&K(0,"mat-icon",14);if(a&2){var b;a=P().$implicit;var c=P();E("svgIcon",(b=c.STATUS_ICON.get(a.status))!==null&&b!==void 0?b:"")}},pRa=function(a){a&1&&K(0,"b-issue-card",21,2);if(a&2){a=L(1);var b=P().$implicit;E("onedevIsHovercardReady",a.init)("issueId",b.resourceId)}},rRa=function(a,b){if(a&1){var c=v();I(0,"mat-option",
9)(1,"div",13);D(2,oRa,1,1,"mat-icon",14);I(3,"strong",15);Q(4);J();I(5,"onedev-hovercard",null,1);D(7,pRa,2,2,"b-issue-card",16);J();I(8,"a",17);M("click",function(e){w(c);return x(e.stopPropagation())});K(9,"mat-icon",18);J();I(10,"span",19);Q(11);J();K(12,"div",20);S(13,"boldPrefixMatches");J()()}if(a&2){a=b.$implicit;b=L(6);var d=P();E("value",a);B();jg("aria-label",a.resourceId+", "+a.displayText+", click ALT RightArrow to open the issue in a new tab.");B();G(a.status?2:-1);B();Lg("title",a.resourceId);
B();R(" ",a.resourceId," ");B(4);E("onedevHovercardTrigger",b)("href",d.getIssueLink(a),vf);B(3);Yg(qRa(a));B();Lg("title",a.displayText);E("innerHTML",hh(13,10,a.displayText,d.query),uf)}},sRa=function(a,b){a&1&&(I(0,"a",11),Q(1),J());if(a&2){a=b.$implicit;var c=b.$index;b=b.$count;Kg("href","issues/",a.resourceId,"",vf);B();Zg(" ",a.resourceId,"",c===b-1?"":","," ")}},tRa=function(a){a&1&&(I(0,"div",3),yg(1,sRa,2,4,"a",11,xg),J());a&2&&(a=P(),B(),zg(a.selectedIssues))},uRa=function(a){a&1&&(I(0,
"div",3)(1,"a",12)(2,"span",13),Q(3),J(),I(4,"span"),K(5,"mat-icon",14),J()()());a&2&&(a=P(),B(),Kg("href","issues/",a.selectedIssues[0].resourceId,"",vf),B(2),R(" ",a.selectedIssues[0].displayText," "))},wRa=function(a){if(a&1){var b=v();I(0,"div",6)(1,"div",15);M("click",function(){w(b);var c=P();return x(vRa(c))})("keyup.space",function(){w(b);var c=P();return x(vRa(c))});J()()}a&2&&(a=P(),B(),E("matTooltip",a.isQueryRestricted?"Searching in current component tree":"Click to search in current component tree"),
jg("aria-checked",a.isQueryRestricted))},yRa=function(a){var b,c,d,e;a=Tq(a,Uq,1);return{output:(e=(b=lk(a,xRa,1,Uj())[0])==null?void 0:(c=b.getContent())==null?void 0:(d=c.getPartsList()[0])==null?void 0:d.getText())!=null?e:""}},zRa=function(a,b){if(a&1){var c=v();I(0,"iframe",6);M("load",function(){w(c);var d=P();return x(d.contentLoaded=!0)});J()}a&2&&(a=P(),sg("loading",!a.contentLoaded),E("src",b,Ria))},ARa=function(a){a&1&&K(0,"mat-spinner",2)},CRa=function(a){return BRa.some(function(b){return b.test(a)})},
GRa=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&&DRa.includes(d)?d:c&&DRa.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))?zi(ERa,a):zi(FRa,a,d)},IRa=function(a,b,c,d){if(HRa)return HRa;var e=GRa(a,d);return HRa=b.feedbackV2GlobalObject?Promise.resolve(b.feedbackV2GlobalObject):
new Promise(function(f,h){var l=Vq(document,"SCRIPT");Yc(l,e);l.onload=function(){b.feedbackV2GlobalObject?f(b.feedbackV2GlobalObject):h("feedbackV2GlobalObject not found on window.")};l.onerror=function(){h("Feedback binary script tag failed to load: "+e.toString())};c.body.appendChild(l)})},KRa=function(a,b,c,d){if(JRa)return JRa;var e=GRa(a,d);return JRa=b.feedbackV2GlobalObject?Promise.resolve(b.feedbackV2GlobalObject):new Promise(function(f,h){var l=Vq(document,"SCRIPT");Yc(l,e);l.onload=function(){b.feedbackV2GlobalObject?
f(b.feedbackV2GlobalObject):h("feedbackV2GlobalObject not found on window.")};l.onerror=function(){h("Feedback binary script tag failed to load: "+e.toString())};c.body.appendChild(l)})},LRa=function(a,b,c,d,e){e=e===void 0?!0:e;var f,h,l,q,u;return se(function(A){switch(A.nextAddress){case 1:return f=Date.now(),y(A,IRa(a,c,d,b),2);case 2:h=A.yieldResult;if(!(e||((q=a.initializationData)==null?0:q.useNightlyRelease)||((u=a.initializationData)==null?0:u.isLocalServer))){l=h.initializeFeedbackClient(a,
f,b);A.jumpTo(3);break}return y(A,h.initializeFeedbackClientAsync(a,f,b),4);case 4:l=A.yieldResult;case 3:return l.initiateAloha(),A.return(l)}})},MRa=function(a,b,c,d){var e,f,h;return se(function(l){if(l.nextAddress==1)return e=Date.now(),y(l,KRa(a,c,d.document,b),2);if(l.nextAddress!=3)return f=l.yieldResult,y(l,f.initializeFeedbackClientAsync(a,e,b,d),3);h=l.yieldResult;h.initiateAloha();return l.return(h)})},NRa=function(a,b,c){var d=!0;d=d===void 0?!0:d;var e,f,h,l,q,u,A,F,H,N;return se(function(O){e=
c||ya;if((f=b)==null?0:(l=(h=f).getEnableAlohaBinarySplit)==null?0:l.call(h)){q=e;if(q.isFormOpened)throw u=Error("le"),u.name="DuplicateFormError",u;q.isFormOpened=!0;a.callbacks=a.callbacks||{};A=a.callbacks.onClose||function(){};a.callbacks.onClose=function(T){q.isFormOpened=!1;A(T)};try{return O.return(MRa(a,b,q,e))}catch(T){throw q.isFormOpened=!1,T;}}else{F=e;if(F.isFormOpened)throw H=Error("le"),H.name="DuplicateFormError",H;F.isFormOpened=!0;a.callbacks=a.callbacks||{};N=a.callbacks.onClose||
function(){};a.callbacks.onClose=function(T){F.isFormOpened=!1;N(T)};try{return O.return(LRa(a,b,F,e.document,d))}catch(T){throw F.isFormOpened=!1,T;}}xe(O)})},SRa=function(a,b){return se(function(c){return c.return(new Promise(function(d){var e=ORa(b!=null?b:"")+"/aloha_form_properties?productId="+a;PRa(e,function(f){f=f.target;var h=null;try{h=rna(QRa,JSON.stringify(f.getResponseJson(")]}'\n")))}catch(l){f=new QRa,h=RRa(),h=Cm(h,13,!1),h=Cm(h,14,!0),h=Cm(h,15,!0),h=Cm(h,20,!1),h=X(f,Wq,1,h)}d(h)},
"GET","",{},2E3,!0)}))})},ORa=function(a){return CRa(a)?a:"https://www.google.com/tools/feedback"},TRa=function(a){return a.toLocaleString("en-US",{timeZone:"America/Los_Angeles"})+" (US Pacific time)"},URa=function(a){a&1&&(I(0,"button",3,1),K(2,"mat-icon",6),J());if(a&2){a=P();var b=L(2);E("matTooltip",a.buttonLabel)("matMenuTriggerFor",b);jg("aria-label",a.buttonLabel);B(2);E("svgIcon",a.buttonIcon)}},VRa=function(a){a&1&&(I(0,"div",5),Q(1),J());a&2&&(a=P(),B(),Yg(a.header))},WRa=function(a){a&
1&&K(0,"mat-icon",6);a&2&&(a=P(2).$implicit,E("svgIcon",a.icon))},XRa=function(a){a&1&&(I(0,"span",8),Q(1),J());a&2&&(a=P(2).$implicit,B(),Yg(a.hintText))},YRa=function(a){a&1&&K(0,"mat-icon",6);a&2&&(a=P(2).$implicit,E("svgIcon",a.icon))},ZRa=function(a){a&1&&(I(0,"span",8),Q(1),J());a&2&&(a=P(2).$implicit,B(),Yg(a.hintText))},$Ra=function(a){if(a&1){var b=v();I(0,"button",11);M("click",function(d){w(b);var e=P().$implicit,f=P(3);return x(f.onAction(d,e))})("mouseup",function(d){w(b);var e=P().$implicit,
f=P(3);return x(f.onAction(d,e))});D(1,YRa,1,1,"mat-icon",6);Q(2);D(3,ZRa,2,1,"span",8);J()}if(a&2){a=P().$implicit;var c=P(2).$implicit;E("disabled",a.disabled)("ngClass",c.className);jg("title",a.title);B();G(a.icon?1:-1);B();R(" ",a.label," ");B();G(a.hintText?3:-1)}},aSa=function(a){if(a&1){var b=v();I(0,"button",12);M("click",function(d){w(b);var e=P().$implicit,f=P(3);return x(f.onAction(d,e))})("mouseup",function(d){w(b);var e=P().$implicit,f=P(3);return x(f.onAction(d,e))});I(1,"span",13);
K(2,"mat-icon",14);J();Q(3);J()}if(a&2){a=P().$implicit;var c=P(2).$implicit;sg("b-menu-item-checked",a.selected);E("disabled",a.disabled)("ngClass",c.className);jg("title",a.title);B(3);R(" ",a.label," ")}},bSa=function(a,b){a&1&&D(0,$Ra,4,6,"button",9)(1,aSa,4,6,"button",10);a&2&&(a=b.$implicit,G(a.type==="action"?0:-1),B(),G(a.type==="select"?1:-1))},cSa=function(a){a&1&&(I(0,"button",7),D(1,WRa,1,1,"mat-icon",6),Q(2),D(3,XRa,2,1,"span",8),J(),I(4,"mat-menu",null,2),yg(6,bSa,2,2,null,null,wg),
J());if(a&2){a=L(5);var b=P().$implicit;E("matMenuTriggerFor",a);B();G(b.icon?1:-1);B();R(" ",b.label," ");B();G(b.hintText?3:-1);B(3);zg(b.items)}},dSa=function(a){a&1&&K(0,"mat-icon",6);a&2&&(a=P(3).$implicit,E("svgIcon",a.icon))},eSa=function(a){a&1&&(I(0,"span",8),Q(1),J());a&2&&(a=P(3).$implicit,B(),Yg(a.hintText))},fSa=function(a){if(a&1){var b=v();I(0,"button",11);M("click",function(c){w(b);var d=P(2).$implicit,e=P();return x(e.onAction(c,d))})("mouseup",function(c){w(b);var d=P(2).$implicit,
e=P();return x(e.onAction(c,d))});D(1,dSa,1,1,"mat-icon",6);Q(2);D(3,eSa,2,1,"span",8);J()}a&2&&(a=P(2).$implicit,E("disabled",a.disabled)("ngClass",a.className),jg("title",a.title),B(),G(a.icon?1:-1),B(),R(" ",a.label," "),B(),G(a.hintText?3:-1))},gSa=function(a){if(a&1){var b=v();I(0,"button",12);M("click",function(c){w(b);var d=P(2).$implicit,e=P();return x(e.onAction(c,d))})("mouseup",function(c){w(b);var d=P(2).$implicit,e=P();return x(e.onAction(c,d))});I(1,"span",13);K(2,"mat-icon",14);J();
Q(3);J()}a&2&&(a=P(2).$implicit,sg("b-menu-item-checked",a.selected),E("disabled",a.disabled)("ngClass",a.className),jg("title",a.title)("aria-label",a.label+" results per page"),B(3),R(" ",a.label," "))},hSa=function(a){a&1&&D(0,fSa,4,6,"button",9)(1,gSa,4,7,"button",10);a&2&&(a=P().$implicit,G(a.type==="action"?0:-1),B(),G(a.type==="select"?1:-1))},iSa=function(a,b){a&1&&D(0,cSa,8,4)(1,hSa,2,2);a&2&&(a=b.$implicit,G(a.type==="submenu"?0:-1),B(),G(a.type!=="submenu"?1:-1))},jSa=function(a){var b=
a.userIsExternal;a=a.issueIsExternal;return b&&a},kSa=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},lSa=function(a,b){a&1&&(I(0,"div",17)(1,"h4",35),Q(2,"Summary"),J(),I(3,"p",36),Q(4),J()());a&2&&(B(4),Yg(b))},mSa=function(a){if(a&1){var b=v();I(0,"th",37)(1,"mat-checkbox",38);S(2,"async");S(3,"async");
M("change",function(c){w(b);var d=P();return x(d.toggleAll(c))});J()()}a&2&&(a=P(),B(),E("checked",U(2,2,a.areAllChecked$))("indeterminate",!U(3,4,a.areAllChecked$)&&a.checkedIssueIds.size>0))},nSa=function(a,b){if(a&1){var c=v();I(0,"td",39)(1,"mat-checkbox",40);S(2,"async");M("change",function(d){var e=w(c).$implicit,f=P(),h;((h=d==null?void 0:d.checked)!=null?h:!f.checkedIssueIds.has(e.id))?f.checkedIssueIds.add(e.id):f.checkedIssueIds.delete(e.id);return x()});J()()}a&2&&(a=b.$implicit,b=P(),
B(),E("checked",U(2,1,Bq(b.checkedIssueIds,a.id))))},oSa=function(a){a&1&&(I(0,"th",37),Q(1," Title "),J())},pSa=function(a,b){a&1&&(I(0,"td",39),K(1,"b-issue-title-cell",41),S(2,"async"),J());a&2&&(a=b.$implicit,B(),E("issue",U(2,2,a.issue$))("enableHovercard",!0))},qSa=function(a){a&1&&(I(0,"th",37),Q(1," Phase "),J())},sSa=function(a){a&1&&(I(0,"span",42),Q(1),J());if(a&2){a=P();P(2);B();var b;b=((b=a.snapshot[0])==null?void 0:b.status)==="DUPLICATE"?"Duplicate":(b=Xl(a))?Xq.get(b):"";Yg(b)}},
vSa=function(a){a&1&&D(0,sSa,2,1,"span",42);a&2&&(P(2),G(0))},wSa=function(a,b){a&1&&(I(0,"td",39),D(1,vSa,1,1),S(2,"async"),J());if(a&2){var c;a=b.$implicit;B();G((c=U(2,1,a.issue$))?1:-1,c)}},xSa=function(a){a&1&&(I(0,"th",43),Q(1," Modified "),J())},ySa=function(a){a&1&&K(0,"b-formatted-date-time",45);if(a&2){var b;a=P();E("timestamp",((b=a.aggregatedData==null?null:a.aggregatedData.modifiedTimeMicros)!==null&&b!==void 0?b:0)/1E3)("mode","relativepasttiny")("paddingLeftPx",4)}},zSa=function(a){a&
1&&D(0,ySa,1,3,"b-formatted-date-time",45);a&2&&(P(2),G(0))},ASa=function(a,b){a&1&&(I(0,"td",44),D(1,zSa,1,1),S(2,"async"),J());if(a&2){var c;a=b.$implicit;B();G((c=U(2,1,a.issue$))?1:-1,c)}},BSa=function(a){a&1&&K(0,"th",37)},CSa=function(a,b){if(a&1){var c=v();I(0,"td",39)(1,"b-actions-menu",46);M("click",function(d){w(c);return x(d.stopPropagation())});J()()}a&2&&(a=b.$implicit,b=P(),B(),E("menuItems",b.getMenuItems(a)))},DSa=function(a){a&1&&K(0,"tr",47)},ESa=function(a,b){a&1&&(K(0,"tr",48),
S(1,"async"));a&2&&(a=b.$implicit,b=P(),sg("closed",b.isClosed(U(1,2,a.issue$))))},FSa=function(a,b){a&1&&(I(0,"a",32),Q(1," View as search results "),J());a&2&&E("routerLink",b.path)("queryParams",b.params)},GSa=function(a){a&1&&Jg(0)},HSa=function(a){a&1&&Cg(0)},ISa=function(a){if(a&1){var b=v();I(0,"button",6,1);M("click",function(e){w(b);var f=P();return x(f.onClick(e))});D(2,HSa,1,0,"ng-container",7);J()}if(a&2){var c;a=P();var d=L(1);E("color",a.color)("disabled",a.disabled)("ngClass",a.size)("matTooltip",
(c=a.tooltip)!==null&&c!==void 0?c:"");jg("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);B(2);E("ngTemplateOutlet",d)}},JSa=function(a){a&1&&Cg(0)},KSa=function(a){if(a&1){var b=v();I(0,"button",8,1);M("click",function(e){w(b);var f=P();return x(f.onClick(e))});D(2,JSa,1,0,"ng-container",7);J()}if(a&2){var c;a=P();var d=L(1);E("color",a.color)("disabled",a.disabled)("ngClass",a.size)("matTooltip",(c=a.tooltip)!==null&&c!==void 0?c:"");jg("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);
B(2);E("ngTemplateOutlet",d)}},LSa=function(a){a&1&&Cg(0)},MSa=function(a){if(a&1){var b=v();I(0,"button",9,1);M("click",function(e){w(b);var f=P();return x(f.onClick(e))});D(2,LSa,1,0,"ng-container",7);J()}if(a&2){var c;a=P();var d=L(1);E("color",a.color)("disabled",a.disabled)("ngClass",a.size)("matTooltip",(c=a.tooltip)!==null&&c!==void 0?c:"");jg("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);B(2);E("ngTemplateOutlet",d)}},NSa=function(a){a&1&&Cg(0)},OSa=function(a){if(a&1){var b=
v();I(0,"button",10,1);M("click",function(e){w(b);var f=P();return x(f.onClick(e))});D(2,NSa,1,0,"ng-container",7);J()}if(a&2){var c;a=P();var d=L(1);E("color",a.color)("disabled",a.disabled)("ngClass",a.size)("matTooltip",(c=a.tooltip)!==null&&c!==void 0?c:"");jg("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);B(2);E("ngTemplateOutlet",d)}},PSa=function(a){a&1&&Cg(0)},QSa=function(a){if(a&1){var b=v();I(0,"button",6,1);M("click",function(e){w(b);var f=P();return x(f.onClick(e))});D(2,
PSa,1,0,"ng-container",7);J()}if(a&2){var c;a=P();var d=L(1);E("color",a.color)("disabled",a.disabled)("ngClass",a.size)("matTooltip",(c=a.tooltip)!==null&&c!==void 0?c:"");jg("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);B(2);E("ngTemplateOutlet",d)}},RSa=function(a){a&1&&(I(0,"span",10),Ud(),I(1,"svg",12),K(2,"path",13),J(),I(3,"svg",14),K(4,"path",15),J()())},SSa=function(a){a&1&&Cg(0)},TSa=function(a){a&1&&D(0,SSa,1,0,"ng-container",8);a&2&&(a=P(),E("ngTemplateOutlet",a.calendarButtonRow))},
USa=function(a){if(a&1){var b=v();I(0,"mat-form-field",3)(1,"input",9);M("focus",function(c){w(b);var d=P();return x(d.showPicker(c.target))});J()()}a&2&&(a=P(),B(),E("formControl",a.timeFormControl))},YSa=function(a){if(a&1){var b=v();I(0,"button",12);M("click",function(){w(b);var c=P(2);VSa(c,new tj);WSa(c,c.date);c.calendar._getCurrentViewComponent()._focusActiveCell(!1);c.includeTimePicker&&(c.dateTime=new Cj,XSa(c,new Cj));c.saveChanges();return x(c.saveClicked.emit())});Q(1,"Today");J()}},ZSa=
function(a){if(a&1){var b=v();I(0,"button",13);M("click",function(){w(b);var c=P(2);VSa(c);c.includeTimePicker&&(c.dateTime=void 0);c.saveChanges();return x(c.saveClicked.emit())});Q(1,"None");J()}},$Sa=function(a){a&1&&(I(0,"div",1),D(1,YSa,2,0,"button",10)(2,ZSa,2,0,"button",11),K(3,"mat-divider"),J());a&2&&(a=P(),B(),G(a.todayButtonEnabled?1:-1),B(),G(a.noneButtonEnabled&&!a.required?2:-1))},aTa=function(a){a&1&&(K(0,"div"),S(1,"lowercase"));a&2&&(a=P(3),vg("bv2-edit-icon ",U(1,3,a.type),""))},
bTa=function(a){a&1&&(I(0,"div")(1,"label"),Q(2),J(),D(3,aTa,2,5,"div",13),J());a&2&&(a=P(2),vg("bv2-editable-title bv2-editable-title-",a.name," flex-kids-x"),B(2),R(" ",a.title," "),B(),G(a.readonly||a.disabled?-1:3))},cTa=function(a){a&1&&Cg(0)},dTa=function(a){if(a&1){var b=v();I(0,"div",17);M("menuClosed",function(){w(b);var d=P(3);return x(Yq(d,null,!1,!0))});D(1,cTa,1,0,"ng-container",18);J()}if(a&2){P(3);a=L(7);var c=L(10);E("matMenuTriggerFor",a);B();E("ngTemplateOutlet",c)}},fTa=function(a,
b){a&1&&(I(0,"a",19),Q(1),J());a&2&&(a=P(4),mg("aria-label","customfield",a.customFieldId,":",b,""),E("queryParams",eh(5,eTa,"customfield"+a.customFieldId+':"'+b+'"')),B(),R(" ",b," "))},gTa=function(a){a&1&&Q(0," -- ")},hTa=function(a){if(a&1){var b=v();I(0,"div",16);D(1,fTa,2,7,"a",19)(2,gTa,1,0);K(3,"br");I(4,"button",20);M("menuClosed",function(){w(b);var e=P(3);return x(Yq(e,null,!1,!0))});Q(5," Edit ");J()()}if(a&2){var c;a=P(3);var d=L(7);B();G((c=a.getDisplayValue(""))?1:2,c);B(3);lg("aria-label",
"Edit item for ",a.title,"");E("matMenuTriggerFor",d)}},iTa=function(a){a&1&&D(0,dTa,2,2,"div",15)(1,hTa,6,4,"div",16);a&2&&(a=P(2),G(a.choices.length>50&&a.customFieldId!==0?1:0))},jTa=function(a){a&1&&Cg(0)},kTa=function(a){a&1&&(I(0,"div",14),D(1,jTa,1,0,"ng-container",18),J());a&2&&(P(2),a=L(10),B(),E("ngTemplateOutlet",a))},mTa=function(a){if(a&1){var b=v();I(0,"div",12,3);M("click",function(c){w(b);var d=P();return x(Yq(d,c,!0,!1))})("keydown",function(c){w(b);var d=P();return x(lTa(d,c))})("keydown.escape",
function(){w(b);var c=L(2);return x(c.hide())});D(3,bTa,4,5,"div",13)(4,iTa,2,1)(5,kTa,2,1,"div",14);J()}a&2&&(a=P(),vg("bv2-issue-metadata-field-inner bv2-issue-metadata-field-",a.name,""),sg("bv2-disabled",a.disabled)("bv2-readonly",a.readonly),mg("aria-label","",a.title," value is ",a.getDisplayValue("empty"),""),E("matTooltip",a.getTooltip()),jg("aria-disabled",!1),B(3),G(a.title?3:-1),B(),G(a.type==="ENUM"?4:5))},nTa=function(a){if(a&1){var b=v();I(0,"div",23);M("click",function(){w(b);var c=
P(2);return x(c.setFieldValue(!c.value))});I(1,"label");Q(2);J()()}a&2&&(a=P(2),vg("bv2-editable-title bv2-editable-title-",a.name," flex-kids-x"),B(2),Yg(a.title))},pTa=function(a){if(a&1){var b=v();I(0,"div",21);D(1,nTa,3,4,"div",13);I(2,"b-slide-toggle",22);M("modelChange",function(){w(b);var d=P();return x(d.setFieldValue(!d.value))});J()()}if(a&2){var c;a=P();vg("bv2-issue-metadata-field-inner bv2-issue-metadata-field-",a.name,"");E("ngClass",fh(10,oTa,a.disabled,a.readonly))("matTooltip",a.getTooltip());
jg("aria-disabled",!1);B();G(a.title?1:-1);B();E("disabled",a.disabled||a.readonly)("aria-label",a.name)("model",(c=a.value)!==null&&c!==void 0?c:void 0)}},qTa=function(a){a&1&&K(0,"b-availability-chip",24);a&2&&(a=P(2),E("user",a.value))},rTa=function(a){a&1&&D(0,qTa,1,1,"b-availability-chip",24);a&2&&(a=P(),G(a.value&&a.enableWaldoAvailability?0:-1))},sTa=function(a){if(a&1){var b=v();I(0,"button",27);M("click",function(){w(b);var c=P(2);return x(c.clearFieldValue())});I(1,"span",28);K(2,"mat-icon",
29);J();Q(3," \u00a0 ");J()}a&2&&(a=P(2),sg("b-menu-item-checked",a.value==null),E("disabled",a.value==null))},tTa=function(a){a&1&&(I(0,"span",32),Q(1),J());a&2&&(a=P().$implicit,B(),Yg(a.hotkey.displayAs))},uTa=function(a,b){if(a&1){var c=v();I(0,"button",30);M("click",function(){var d=w(c).$implicit,e=P(2);return x(e.setFieldValue(d.value))})("onHotkey",function(){var d=w(c).$implicit,e=P(2);e.setFieldValue(d.value);return x(e.enumMenuTrigger.closeMenu())});I(1,"span",31)(2,"span",28);K(3,"mat-icon",
29);J();Q(4);D(5,tTa,2,1,"span",32);J()()}a&2&&(a=b.$implicit,b=P(2),sg("b-menu-item-checked",b.value==a.value),E("disabled",b.value==a.value)("hotkey",a.hotkey),jg("aria-label",a.displayText)("title",!b.showEnumTitle||a.altText?"":a.displayText),B(4),R(" ",a.displayText," "),B(),G(a.hotkey&&b.showHotkeyHint?5:-1))},vTa=function(a){a&1&&(D(0,sTa,4,3,"button",25),yg(1,uTa,6,8,"button",26,xg));a&2&&(a=P(),G(a.clearable?0:-1),B(),zg(a.choices))},wTa=function(a){a&1&&K(0,"b-user-membership-chip",37);
a&2&&(a=P(4),E("user",a.user)("email",a.value)("teamId",a.teamId)("enableSmallChip",!0))},xTa=function(a){a&1&&K(0,"b-user-image",38);a&2&&(a=P(4),E("email",a.value))},yTa=function(a){a&1&&(I(0,"span",39)(1,"b-person-hovercard",40),Q(2),J()());a&2&&(a=P(4),B(),E("email",a.value),B(),R(" ",a.getDisplayValue("--")," "))},zTa=function(a){a&1&&(I(0,"div",36),D(1,wTa,1,4,"b-user-membership-chip",37)(2,xTa,1,1,"b-user-image",38)(3,yTa,3,2,"span",39),J());a&2&&(a=P(3),B(),G(a.enableTeamAnnotations&&a.value?
1:-1),B(),G(!a.enableTeamAnnotations&&a.value?2:-1),B(),G(a.enableTeamAnnotations?-1:3))},ATa=function(a){a&1&&(I(0,"div"),D(1,zTa,4,3,"div",36),J());a&2&&(a=P(2),B(),G(a.isUser?1:-1))},BTa=function(a){a&1&&K(0,"b-truncated-span",41);a&2&&(a=P(3),E("ngClass",a.getPriority(a.value))("maxWidth",150)("modelValue",a.getDisplayValue("--"))("disabled",!a.truncate))},CTa=function(a){a&1&&K(0,"b-truncated-span",44);a&2&&(a=P(3),vg("chippy status-",a.value,""),E("maxWidth",150)("modelValue",a.getDisplayValue("--"))("disabled",
!a.truncate))},DTa=function(a){a&1&&K(0,"b-truncated-span",43);a&2&&(a=P(3),E("maxWidth",150)("modelValue",a.getDisplayValue("--"))("disabled",!a.truncate))},ETa=function(a){a&1&&K(0,"b-truncated-span",44);a&2&&(a=P(3),E("maxWidth",150)("modelValue",a.getDisplayValue("--"))("disabled",!a.truncate))},FTa=function(a){a&1&&K(0,"div",45)},GTa=function(a){a&1&&(I(0,"div"),D(1,BTa,1,4,"b-truncated-span",41)(2,CTa,1,6,"b-truncated-span",42)(3,DTa,1,3,"b-truncated-span",43)(4,ETa,1,3,"b-truncated-span",44)(5,
FTa,1,0,"div",45),J());a&2&&(a=P(2),B(),G(a.title==="Priority"?1:a.title==="Status"?2:a.title==="Triage phase"?3:4),B(4),G(a.title||a.readonly||a.disabled?-1:5))},HTa=function(a){a&1&&(I(0,"div",34),K(1,"mat-icon",46),J())},ITa=function(a){a&1&&(I(0,"div",35),K(1,"mat-icon",47),J())},JTa=function(a){if(a&1){var b=v();I(0,"div",33,4);M("keydown",function(c){w(b);var d=P();return x(lTa(d,c))})("click",function(c){w(b);var d=P();return x(Yq(d,c,!0,!1))});D(2,ATa,2,1,"div")(3,GTa,6,2,"div")(4,HTa,2,0,
"div",34)(5,ITa,2,0,"div",35);J()}a&2&&(a=P(),sg("edit-field-user-container",a.isUser)("edit-field-activated",a.isActive),B(2),G(a.isUser?2:3),B(2),G(a.type=="ENUM"?4:5))},KTa=function(){},LTa=function(){},MTa=function(a){if(a&1){var b=v();I(0,"div",23);M("click",function(d){w(b);return x(d.stopPropagation())});I(1,"b-date-time-picker-content",50);M("dateSelectionChange",function(d){w(b);var e=P(2);return x(e.googDateValue=d!==null&&d!==void 0?d:null)})("saveClicked",function(){w(b);var d=P(2);return x(d.setFieldValue(d.googDateValue))})("cancelClicked",
function(){w(b);var d=P(2);return x(Yq(d,null,!1,!1))});J()()}if(a&2){var c;a=P(2);B();E("required",!(a.clearable&&a.type==="DATE"))("date",(c=a.googDateValue)!==null&&c!==void 0?c:void 0)}},OTa=function(a){if(a&1){var b=v();I(0,"textarea",59);bh("ngModelChange",function(c){w(b);var d=P(4);ah(d.textBuffer,c)||(d.textBuffer=c);return x(c)});M("keydown",function(c){w(b);var d=P(4);return x(NTa(d,c))});J()}a&2&&(a=P(4),$g("ngModel",a.textBuffer),jg("aria-label",a.title))},QTa=function(a){if(a&1){var b=
v();I(0,"input",60);bh("ngModelChange",function(c){w(b);var d=P(4);ah(d.textBuffer,c)||(d.textBuffer=c);return x(c)});M("keydown",function(c){w(b);var d=P(4);return x(PTa(d,c))});J()}a&2&&(a=P(4),$g("ngModel",a.textBuffer),jg("type",a.type==="NUMERIC"?"number":"text")("aria-label",a.title))},RTa=function(a){a&1&&(I(0,"div"),D(1,OTa,1,2,"textarea",57)(2,QTa,1,3,"input",58),J());a&2&&(a=P(3),B(),G(a.multiline?1:2))},STa=function(a){if(a&1){var b=v();I(0,"textarea",63);bh("ngModelChange",function(c){w(b);
var d=P(4);ah(d.textBuffer,c)||(d.textBuffer=c);return x(c)});M("keydown",function(c){w(b);var d=P(4);return x(NTa(d,c))})("autocompleteActive",function(c){w(b);var d=P(4);return x(d.autocompleteActive=c)});J()}a&2&&(a=P(4),$g("ngModel",a.textBuffer),E("bContactAutocomplete","MULTI"),jg("aria-label",a.title))},TTa=function(a){if(a&1){var b=v();I(0,"input",64);bh("ngModelChange",function(c){w(b);var d=P(4);ah(d.textBuffer,c)||(d.textBuffer=c);return x(c)});M("keydown",function(c){w(b);var d=P(4);return x(PTa(d,
c))})("autocompleteActive",function(c){w(b);var d=P(4);return x(d.autocompleteActive=c)});J()}a&2&&(a=P(4),$g("ngModel",a.textBuffer),E("bContactAutocomplete","SINGLE"),jg("type",a.type==="NUMERIC"?"number":"text")("aria-label",a.title))},UTa=function(a){a&1&&(I(0,"div"),D(1,STa,1,3,"textarea",61)(2,TTa,1,4,"input",62),J());a&2&&(a=P(3),B(),G(a.multiline?1:2))},WTa=function(a){if(a&1){var b=v();I(0,"div",51);M("click",function(c){w(b);return x(c.stopPropagation())});D(1,RTa,3,1,"div")(2,UTa,3,1,"div");
I(3,"div",52)(4,"button",53);M("click",function(){w(b);var c=P(2);return x(VTa(c))});K(5,"mat-icon",54);J();I(6,"button",55);M("click",function(c){w(b);var d=P(2);return x(Yq(d,c,!1,!0))});K(7,"mat-icon",56);J()();I(8,"div",35);K(9,"mat-icon",47);J()()}a&2&&(a=P(2),B(),G(a.isUser?-1:1),B(),G(a.isUser?2:-1),B(2),lg("aria-label","Apply change to ",a.title,""),Kg("matTooltip","Apply change to ",a.title,""),E("disabled",a.value==a.textBuffer),B(2),lg("aria-label","Discard change to ",a.title,""),Kg("matTooltip",
"Discard change to ",a.title,""))},XTa=function(a){a&1&&(I(0,"div",48,5),D(2,KTa,0,0)(3,LTa,0,0)(4,MTa,2,2,"div")(5,WTa,10,11,"div",49),J());if(a&2){var b;a=P();vg("bv2-issue-metadata-field-edit bv2-issue-metadata-field-",a.name,"-edit");B(2);G((b=a.type)==="ENUM"?2:b==="BOOL"?3:b==="DATE"?4:5)}},YTa=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}},ZTa=function(a,b){a&1&&(I(0,"span",
4),Q(1," by "),K(2,"b-user-display-name",7),J());a&2&&(B(2),E("email",b)("hovercardEnabled",!1))},$Ta=function(a,b){a&1&&(I(0,"div")(1,"span"),Q(2),J(),K(3,"b-formatted-date-time",8),J());a&2&&(a=P(),B(2),Yg(a.pending?"Created on: ":"Submitted on: "),B(),E("timestamp",b))},aUa=function(a,b){a&1&&(K(0,"br"),Q(1));a&2&&(a=b.$implicit,B(),R("",a," "))},bUa=function(a,b){a&1&&(I(0,"div",2)(1,"a",3),Q(2," CL "),I(3,"span"),Q(4),J()(),D(5,ZTa,3,2,"span",4),K(6,"br")(7,"br"),D(8,$Ta,4,2,"div"),I(9,"div",
5),K(10,"div",6)(11,"br"),I(12,"div"),Q(13," Affected files: "),yg(14,aUa,2,1,null,null,xg),J()()());if(a&2){var c,d;a=P();B();E("href","http://critique.corp.google.com/"+a.changelistId,vf);B(3);Yg(a.changelistId);B();G((c=b.author)?5:-1,c);B(3);G((d=b.timestamp)?8:-1,d);B(2);E("innerHTML",b.description,uf);B(4);zg(b.affectedFiles)}},cUa=function(a){a&1&&K(0,"b-changelist-card",5,1);if(a&2){a=L(1);var b=P();E("onedevIsHovercardReady",a.init)("changelistId",b.changelistId)}},dUa=function(a){a&1&&K(0,
"b-changelist-chip",0);a&2&&(a=P(),E("changelistId",a.changelist))},eUa=function(a){a&1&&K(0,"b-gerrit-change-chip",1);a&2&&(a=P(),E("gerritChange",a.gerritChange))},fUa=function(a){a&1&&K(0,"b-changelist-card",4,1);if(a&2){a=L(1);var b=P();E("onedevIsHovercardReady",a.init)("changelistId",b.id)}},gUa=function(a){a&1&&Jg(0,4)},hUa=function(a){a&1&&(I(0,"div",11),K(1,"input",12),I(2,"div",13),Ud(),I(3,"svg",14),K(4,"path",15),J(),Vd(),K(5,"div",16),J()());a&2&&(a=P(),sg("mdc-checkbox--disabled",a.disabled),
B(),E("checked",a.selected)("disabled",a.disabled))},iUa=function(a){a&1&&(I(0,"div",17),K(1,"input",18),I(2,"div",19),K(3,"div",20)(4,"div",21),J()());a&2&&(a=P(),sg("mdc-radio--disabled",a.disabled),B(),E("checked",a.selected)("disabled",a.disabled))},jUa=function(){},kUa=function(a){a&1&&(I(0,"span",4),D(1,jUa,0,0,"ng-template",6),J());a&2&&(P(),a=L(3),B(),E("ngTemplateOutlet",a))},lUa=function(){},mUa=function(a){a&1&&(I(0,"span",5),D(1,lUa,0,0,"ng-template",6),J());a&2&&(P(),a=L(5),B(),E("ngTemplateOutlet",
a))},nUa=function(){},oUa=function(a){a&1&&D(0,nUa,0,0,"ng-template",6);a&2&&(P(),a=L(1),E("ngTemplateOutlet",a))},pUa=function(){},qUa=function(a){a&1&&(I(0,"span",9),D(1,pUa,0,0,"ng-template",6),J());a&2&&(P(),a=L(3),B(),E("ngTemplateOutlet",a))},rUa=function(){},sUa=function(a){a&1&&(I(0,"span",9),D(1,rUa,0,0,"ng-template",6),J());a&2&&(P(),a=L(5),B(),E("ngTemplateOutlet",a))},tUa=function(){},uUa=function(a){a&1&&D(0,tUa,0,0,"ng-template",6);a&2&&(P(),a=L(1),E("ngTemplateOutlet",a))},vUa=function(a,
b){a&1&&(I(0,"mat-list-option",11),Q(1),J());a&2&&(a=b.$implicit,b=P(),rg("height","auto"),E("selected",b.selectedValues.has(a))("value",a),B(),R(" ",a," "))},wUa=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)"]},xUa=function(a){if(a&1){var b=v();
I(0,"mat-checkbox",8);M("click",function(d){w(b);return x(d.stopPropagation())})("change",function(){w(b);var d=P().$implicit,e=P();return x(e.toggleSelection(d))});Q(1);J()}if(a&2){a=P().$implicit;var c=P();E("checked",c.selectedValuesMap[a]);B();R(" ",a," ")}},yUa=function(a){a&1&&(I(0,"div",7),Q(1),J());a&2&&(a=P().$implicit,B(),R(" ",a," "))},zUa=function(a,b){a&1&&(I(0,"mat-option",4),D(1,xUa,2,2,"mat-checkbox",6)(2,yUa,2,1,"div",7),J());a&2&&(a=b.$implicit,b=P(),E("value",a),B(),G(b.allowMultiSelect?
1:2))},BUa=function(a){if(a&1){var b=v();I(0,"div",5)(1,"button",9);M("click",function(){w(b);var c=P();return x(AUa(c))})("keydown.enter",function(){w(b);var c=P();return x(AUa(c))});K(2,"mat-icon",10);J();I(3,"button",11);M("click",function(){w(b);var c=P();return x(c.cancel())})("keydown.esc",function(){w(b);var c=P();return x(AUa(c))});K(4,"mat-icon",12);J()()}a&2&&(a=P(),B(),lg("aria-label","Apply changes to ",a.customFieldTitle,""),E("disabled",!a.hasPendingChanges),B(2),lg("aria-label","Discard changes to ",
a.customFieldTitle,""))},CUa=function(a){a&1&&K(0,"b-icon",2);a&2&&(a=P(),E("name",a.iconName))},DUa=function(a){a&1&&(I(0,"span",3),Q(1),J());a&2&&(a=P(),B(),Yg(a.title))},EUa=function(a){a&1&&(I(0,"div",4),Q(1,"\u00a0"),J())},IUa=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"?FUa(a,b):(d==="input"||d==="select"||d==="textarea")&&GUa(a,b);HUa("canvas",a,b,FUa);HUa("input, textarea, select",
a,b,GUa);return b},HUa=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])},GUa=function(a,b){b.type!=="file"&&(b.value=a.value);b.type==="radio"&&b.name&&(b.name="mat-clone-"+b.name+"-"+JUa++)},FUa=function(a,b){if(b=b.getContext("2d"))try{b.drawImage(a,0,0)}catch(c){}},KUa=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}},LUa=function(a,b,c){var d=
a.bottom,e=a.left,f=a.right;return c>=a.top&&c<=d&&b>=e&&b<=f},Zq=function(a,b,c){a.top+=b;a.bottom=a.top+a.height;a.left+=c;a.right=a.left+a.width},MUa=function(a,b,c){var d=a.right,e=a.bottom,f=a.left,h=a.width*.05,l=a.height*.05;return c>a.top-l&&c<e+l&&b>f-h&&b<d+h},NUa=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},OUa=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)}},$q=function(a,b){var c=b?"":"none";OUa(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})},QUa=function(a,b){OUa(a.style,{position:b?"":"fixed",top:b?"":"0",opacity:b?"":"0",left:b?"":"-999em"},PUa)},RUa=function(a,b){return b&&b!="none"?a+" "+
b:a},TUa=function(a,b){a.style.width=b.width+"px";a.style.height=b.height+"px";a.style.transform=SUa(b.left,b.top)},SUa=function(a,b){return"translate3d("+Math.round(a)+"px, "+Math.round(b)+"px, 0)"},UUa=function(a){var b=a.toLowerCase().indexOf("ms")>-1?1:1E3;return parseFloat(a)*b},WUa=function(a){a=getComputedStyle(a);var b=VUa(a,"transition-property"),c=b.find(function(d){return d==="transform"||d==="all"});if(!c)return 0;b=b.indexOf(c);c=VUa(a,"transition-duration");a=VUa(a,"transition-delay");
return UUa(c[b])+UUa(a[b])},VUa=function(a,b){return a.getPropertyValue(b).split(",").map(function(c){return c.trim()})},ar=function(a){return a.type[0]==="t"},XUa=function(a){a.preventDefault()},br=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}},YUa=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},ZUa=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},$Ua=function(a){a&1&&(I(0,"label"),Q(1),J());a&2&&(a=P(),B(),R(" ",a.title," "))},aVa=function(a){a&1&&K(0,"mat-icon",15)},cVa=function(a,b){a&1&&(I(0,"div",20),Cg(1,22),J());if(a&2){a=b.$implicit;b=b.$index;P(2);var c=L(14);B();E("ngTemplateOutletContext",fh(2,bVa,a,b))("ngTemplateOutlet",c)}},eVa=function(a){a&1&&(I(0,"collapsible-panel",17),yg(1,cVa,2,5,"div",20,wg),Cg(3,21),J());if(a&2){a=P();var b=L(16),c=E("isExpanded",a.isExpanded||a.enableNewCustomRepeatedEnumUi&&
cr(a))("iconName",a.iconName)("hasCompactTitleBar",!0);var d=a.enableNewCustomRepeatedEnumUi&&cr(a)?(d=a.values)?d.length===1?"1 value":d.length+" values":"":a.collapsiblePanelTitle;c("title",d);B();zg(dVa(a));B(2);E("ngTemplateOutlet",b)}},fVa=function(a,b){a&1&&(I(0,"div",20),Cg(1,22),J());if(a&2){a=b.$implicit;b=b.$index;P(2);var c=L(14);B();E("ngTemplateOutletContext",fh(2,bVa,a,b))("ngTemplateOutlet",c)}},gVa=function(a){a&1&&(I(0,"div",23),Q(1,"--"),J())},hVa=function(a){a&1&&(yg(0,fVa,2,5,
"div",20,wg),Cg(2,21),D(3,gVa,2,0,"div",23));if(a&2){a=P();var b=L(16);zg(dVa(a));B(2);E("ngTemplateOutlet",b);B();G((a.values==null?0:a.values.length)?-1:3)}},kVa=function(a){if(a&1){var b=v();I(0,"button",29);M("menuOpened",function(){w(b);var d=P(3);iVa(d);d.enumPendingValues=new Set(d.values||[]);return x()})("menuClosed",function(){w(b);var d=P(3);return x(jVa(d))});Q(1,"Edit ");J()}if(a&2){a=P(3);var c=L(18);E("matMenuTriggerFor",c);jg("aria-label","Add item to "+a.title)}},lVa=function(a){a&
1&&(I(0,"button",27,7),Q(2,"Edit "),J());if(a&2){a=P(3);var b=L(25);E("xapInlineDialogClick",b)("overlayPositions",a.OVERLAY_POSITION_LIST);jg("aria-label","Edit items for "+a.title)}},nVa=function(a){if(a&1){var b=v();I(0,"button",30,7);M("click",function(){w(b);var c=P(3);return x(mVa(c))});Q(2,"Edit ");J()}a&2&&(a=P(3),jg("aria-label","Edit items for "+a.title))},oVa=function(a){a&1&&D(0,kVa,2,2,"button",26)(1,lVa,3,3,"button",27)(2,nVa,3,1,"button",28);a&2&&(a=P(2),G(cr(a)?-1:0),B(),G(cr(a)&&
!a.enableNewCustomRepeatedEnumUi?1:-1),B(),G(a.enableNewCustomRepeatedEnumUi&&cr(a)?2:-1))},pVa=function(a){a&1&&(I(0,"button",24),Q(1,"Add "),J());if(a&2){a=P(2);var b=L(23);lg("aria-label","Add item to ",a.title,"");E("xapInlineDialogClick",b)("overlayPositions",a.OVERLAY_POSITION_LIST)}},qVa=function(a){if(a&1){var b=v();I(0,"button",31);M("beforeOpened",function(){w(b);var d=P(2);return x(d.invalidMessage="")});Q(1,"Add ");J()}if(a&2){a=P(2);var c=L(21);lg("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)}},rVa=function(a){a&1&&D(0,oVa,3,3)(1,pVa,2,4,"button",24)(2,qVa,2,8,"button",25);if(a&2){var b;a=P();G((b=a.type)==="REPEATED_ENUM"?0:b==="REPEATED_DATE"?1:2)}},sVa=function(a){a&1&&(I(0,"div"),K(1,"b-code-change-chip",37),J());a&2&&(a=P(2).item,B(),E("codeChange",a))},tVa=function(a){a&1&&(I(0,"div")(1,"a",38),Q(2),J()());if(a&2){a=P(2).item;
var b=P();B();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,vf);jg("aria-label","Workspace"+a.workspaceId);B();R(" ",a.workspaceName," ")}},uVa=function(a){a&1&&(I(0,"div"),K(1,"b-team-display",39),J());a&2&&(a=P(2).item,B(),E("teamId",a.teamId)("componentId",a.componentId))},vVa=function(a){if(a&1){var b=
v();I(0,"div")(1,"a",40);M("click",function(){w(b);var c=P(3);return x(c.trackClick("postmortem"))});Q(2);J()()}a&2&&(a=P(2).item,B(),lg("aria-label","Postmortem ",a,""),Kg("href","https://pm.corp.google.com/",a,"",vf),B(),R(" ",a," "))},xVa=function(a){if(a&1){var b=v();I(0,"div",34)(1,"a",41);M("click",function(){w(b);var d=P(3);return x(d.trackClick("repeated-enum"))});Q(2);J()()}if(a&2){a=P(2).item;var c=P();E("matTooltip",a);B();mg("aria-label","Search issues for customfield",c.customFieldId,
":",a,"");E("queryParams",eh(6,wVa,"customfield"+c.customFieldId+':"'+a+'"'));B();R(" ",a," ")}},yVa=function(a){a&1&&(I(0,"div"),K(1,"b-truncated-span",42),J());if(a&2){a=P(2).item;var b=P();B();E("maxWidth",150)("modelValue",a)("disabled",!b.truncate)}},zVa=function(a){if(a&1){var b=v();I(0,"button",43,8);M("click",function(){w(b);var d=P(2).$index,e=P();return x(e.removeItem(d))});J()}if(a&2){a=P(2).item;var c=P();mg("aria-label","Remove ",a," from ",c.title,"");E("disabled",c.listFieldDisabled)("matTooltip",
"Remove item")}},AVa=function(a){a&1&&(I(0,"div",32)(1,"div",33),D(2,sVa,2,1,"div")(3,tVa,3,3,"div")(4,uVa,2,2,"div")(5,vVa,3,5,"div")(6,xVa,3,8,"div",34)(7,yVa,2,3,"div"),J(),D(8,zVa,2,5,"button",35),K(9,"div",36),J());if(a&2){a=P().item;var b=P();B(2);G(b.type==="CODE_CHANGES"?2:b.type==="WORKSPACES"?3:b.type==="TEAM"?4:b.type==="POSTMORTEMS"?5:b.type==="REPEATED_ENUM"&&cr(b)?6:b.isString(a)?7:-1);B(6);G((b.readonly?0:b.type==="REPEATED_ENUM"?cr(b)&&!b.enableNewCustomRepeatedEnumUi:1)?8:-1)}},BVa=
function(a,b){a&1&&D(0,AVa,10,2,"div",32);if(a&2){a=b.item;b=b.$index;var c=P();G((c.showingAll||b<c.defaultLineCount||c.values&&c.values.length===c.defaultLineCount+1)&&(c.type!=="CODE_CHANGES"||c.showCodeChanges(a))?0:-1)}},CVa=function(a){if(a&1){var b=v();I(0,"div",45,9);M("click",function(c){w(b);var d=P(2);return x(dr(d,!1,c))})("keydown.enter",function(c){w(b);var d=P(2);return x(dr(d,!1,c))})("keydown.space",function(c){w(b);var d=P(2);return x(dr(d,!1,c))});Q(2," (show fewer) ");J()}a&2&&
(a=P(2),mg("aria-label","Show at most ",a.defaultLineCount," ",a.title," items"),Kg("matTooltip","Show a truncated list of at most ",a.defaultLineCount," items"))},DVa=function(a){if(a&1){var b=v();I(0,"div")(1,"div",46);Q(2);I(3,"span",47,10);M("click",function(c){w(b);var d=P(2);return x(dr(d,!0,c))})("keydown.enter",function(c){w(b);var d=P(2);return x(dr(d,!0,c))})("keydown.space",function(c){w(b);var d=P(2);return x(dr(d,!0,c))});Q(5," (show all) ");J()()()}a&2&&(a=P(2),B(2),R(" ... and ",a.values.length-
a.defaultLineCount," more "),B(),mg("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"))},FVa=function(a){a&1&&D(0,CVa,3,5,"div",44)(1,DVa,6,6,"div");a&2&&(a=P(),G(a.showingAll&&EVa(a)?0:-1),B(),G(!a.showingAll&&EVa(a)?1:-1))},HVa=function(a,b){if(a&1){var c=v();I(0,"button",49);M("click",function(d){var e=w(c).$implicit,f=P(2),h=e.value;f.enumPendingValues.has(h)?f.enumPendingValues.delete(h):
f.enumPendingValues.add(h);f.liveAnnouncer.announce(GVa(f,e));d==null||d.stopPropagation();return x()});I(1,"span",50);K(2,"mat-icon",51);J();Q(3);J()}a&2&&(a=b.$implicit,b=P(2),sg("b-menu-item-checked",b.enumPendingValues.has(a.value)),E("disabled",b.listFieldDisabled),jg("aria-label",GVa(b,a)),B(3),R(" ",a.displayText," "))},IVa=function(a){a&1&&yg(0,HVa,4,5,"button",48,wg);a&2&&(a=P(),zg(a.sortedEnumChoices))},JVa=function(a){a&1&&(I(0,"mat-error"),Q(1),J());a&2&&(a=P(2),mg("aria-label","",a.title,
" error: ",a.invalidMessage,""),B(),R(" ",a.invalidMessage," "))},KVa=function(a){if(a&1){var b=v();I(0,"xap-dialog-layout")(1,"xap-dialog-layout-content")(2,"form",52,11);M("ngSubmit",function(){w(b);var d=L(3),e=L(4),f=P();return x(f.textPopupSubmit(d,e))});K(5,"input",53);I(6,"div",54)(7,"button",55);K(8,"mat-icon",56);J();I(9,"button",57);M("click",function(){w(b);var d=P();return x(d.closeAddPopup(!0))});K(10,"mat-icon",58);J()();D(11,JVa,2,4,"mat-error");J()()()}if(a&2){a=L(3);var c=P();B(5);
lg("aria-label","Addition to ",c.title,"");E("type",c.type==="REPEATED_NUMERIC"?"number":"text");B(2);lg("aria-label","Apply addition to ",c.title,"");E("disabled",!a.valid||c.listFieldDisabled);B(2);lg("aria-label","Discard addition to ",c.title,"");B(2);G(c.invalidMessage?11:-1)}},LVa=function(a){if(a&1){var b=v();I(0,"b-date-time-picker-content",59);M("dateChange",function(c){w(b);var d=P();return x(c&&d.addItems(c))})("cancelClicked",function(){w(b);var c=P();return x(c.closeAddPopup(!1))});J()}a&
2&&E("required",!0)("renderPanel",!1)},OVa=function(a){if(a&1){var b=v();I(0,"xap-dialog-layout")(1,"xap-dialog-layout-content")(2,"b-custom-repeated-enum-picker",60);M("onApplyChanges",function(c){w(b);var d=P();return x(MVa(d,c))})("onCancelChanges",function(){w(b);var c=P();return x(c.closeAddPopup(!0))});J()()()}a&2&&(a=P(),B(2),E("allowMultiSelect",!0)("customFieldTitle",a.title)("allowedValues",NVa(a))("selectedValues",a.values))},er=function(a,b){return{originX:a,originY:b}},fr=function(a,
b){return{overlayX:a,overlayY:b}},PVa=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}},QVa=function(a){a&1&&(I(0,"li")(1,"a",3),Q(2," Create an issue in this component"),J()());a&2&&(a=P(2),B(),E("href",a.createIssueUrl,vf))},RVa=function(a,b){a&1&&(I(0,"h3"),Q(1),J(),I(2,"p"),Q(3),J(),K(4,"b-component-access-level-indicator",
2),I(5,"p"),Q(6),J(),I(7,"ul")(8,"li")(9,"a",3),Q(10," View recent open issues"),J()(),D(11,QVa,3,1,"li"),I(12,"li")(13,"a",3),Q(14," View component"),J()()());a&2&&(a=P(),B(),Yg(b.name),B(2),R("ID: ",a.componentId,""),B(),E("accessLevel",b.accessLimit==null?null:b.accessLimit.accessLevel)("labelOnlyMode",!0),B(2),Yg(b.description),B(3),E("href",a.recentIssuesUrl,vf),B(2),G(a.isAnonymous?-1:11),B(2),E("href",a.viewComponentUrl,vf))},SVa=function(a,b){a&1&&(I(0,"span",4)(1,"a",6),Q(2),J(),I(3,"onedev-hovercard",
null,0),K(5,"b-component-card",7),J()());a&2&&(a=b.$implicit,b=L(4),B(),E("onedevHovercardTrigger",b)("routerLinkObj",a.route),B(),Yg(a.name),B(3),E("componentId",a.id.toString()))},TVa=function(a){a&1&&(I(0,"span",5),Q(1,"[Archived]"),J())},gr=function(a,b){b=b===void 0?Qp:b;var c,d=(c=a==null?void 0:a.componentPathId)!=null?c:[],e,f=(e=a==null?void 0:a.componentPathName)!=null?e:[];return d.map(function(h,l){var q;l=(q=f[l])!=null?q:String(h);q=b(h);return{id:h,name:l,route:q}})},UVa=function(a){a&
1&&Q(0," > ")},VVa=function(a,b){a&1&&(I(0,"a",4),Q(1),J(),D(2,UVa,1,0));if(a&2){a=b.$implicit;var c=b.$index;b=b.$count;lg("aria-label","View recent issues in ",a.name,"");E("routerLinkObj",a.route);B();Yg(a.name);B();G(c!==b-1?2:-1)}},WVa=function(a){a&1&&(I(0,"span"),Q(1," [Archived]"),J())},XVa=function(a){a&1&&(I(0,"div",2),yg(1,VVa,3,5,null,null,xg),S(3,"async"),D(4,WVa,2,0,"span"),S(5,"async"),J());a&2&&(a=P(),B(),zg(U(3,1,a.componentPath$)),B(3),G(U(5,3,a.isArchived$)?4:-1))},YVa=function(a,
b){a&1&&(I(0,"div",5),K(1,"mat-icon",6),I(2,"div",7),Q(3),J()(),I(4,"div",8)(5,"span",7),Q(6),J(),K(7,"b-component-access-level-indicator",9),J(),I(8,"p",7),Q(9),J());a&2&&(B(3),Yg(b.name),B(3),R("Component ID: ",b.componentId,""),B(),E("accessLevel",b.accessLimit==null?null:b.accessLimit.accessLevel)("labelOnlyMode",!0),B(2),Yg(b.description))},ZVa=function(a,b){a&1&&(I(0,"div",3)(1,"a",10),Q(2,"View recent open issues"),J(),I(3,"a",11),Q(4,"View component settings"),J(),I(5,"a",12),Q(6,"Create issue in this component"),
J()());a&2&&(B(),E("routerLinkObj",b.recentIssues),B(2),E("routerLinkObj",b.componentSettings),B(2),E("routerLinkObj",b.createIssue))},$Va=function(a){a&1&&K(0,"mat-icon",1)},aWa=function(a){if(a&1){var b=v();I(0,"button",9);M("mousedown",function(c){w(b);var d=P();return x(d.back(c))});K(1,"mat-icon",10);J()}},bWa=function(a){if(a&1){var b=v();I(0,"button",11);M("mousedown",function(c){w(b);var d=P();return x(d.expand(d.componentOption,c))});K(1,"mat-icon",12);J()}a&2&&(a=P(),E("matTooltip","View child components of "+
a.componentOption.name),jg("aria-label","View child components of "+a.componentOption.name),B(),E("svgIcon",a.showFolderSpecialIcon?"folder_special_24px":"folder"))},cWa=function(a){if(a&1){var b=v();I(0,"a",14);S(1,"toString");S(2,"boldPrefixMatches");M("mousedown",function(d){w(b);var e=P().$implicit;P(2).selectComponentId.emit(e.id);d.preventDefault();d.stopPropagation();return x()});J()}if(a&2){a=P().$implicit;var c=P(2);E("innerHtml",hh(2,3,U(1,1,a.name),c.query),uf)}},dWa=function(a){a&1&&Q(0);
a&2&&(a=P().$implicit,R(" ",a.name," "))},eWa=function(a){a&1&&Q(0," \u00a0>\u00a0 ")},fWa=function(a,b){a&1&&D(0,cWa,3,6,"a",13)(1,dWa,1,1)(2,eWa,1,0);if(a&2){a=b.$implicit;var c=b.$index;b=b.$count;G(a.name!=a.id?0:1);B(2);G(c!==b-1?2:-1)}},gWa=function(a){a&1&&yg(0,fWa,3,2,null,null,xg);a&2&&(a=P(),zg(a.componentOption.componentPath))},hWa=function(a,b){if(a&1){var c=v();I(0,"a",16);M("mousedown",function(d){var e=w(c);P(2).selectComponentId.emit(e.id);d.preventDefault();d.stopPropagation();return x()});
Q(1);J()}a&2&&(B(),R(" ",b.name," "))},iWa=function(a){a&1&&D(0,hWa,2,1,"a",15);if(a&2){var b;a=P();G((b=a.componentOption.componentPath[a.componentOption.componentPath.length-1])?0:-1,b)}},jWa=function(a){a&1&&(I(0,"span",6),Q(1," [Archived] "),J())},kWa=function(a){return{type:"team",id:a.teamId,name:a.name,description:a.description,pathNames:a.pathNames,pathIds:a.pathIds,expanded:!1}},lWa=function(a){return{type:"team",id:a.id,name:a.name,description:a.description,expanded:!1}},mWa=function(a,
b){var c,d=(c=b==null?void 0:b.componentPathId)!=null?c:[],e,f=(e=b==null?void 0:b.componentPathName)!=null?e:[];b=d.map(function(h,l){return{id:h,name:f[l],pathText:f.slice(0,l+1).join(" > ")}});return{type:"component",id:a.componentId,name:a.name,description:a.description,accessLimit:a.accessLimit,archived:a.archived,componentPath:b,trackerId:a.trackerId}},nWa=function(a){return new Map([].concat(t(a.entries())).map(function(b){var c=k(b);b=c.next().value;c=c.next().value;return[b,c.map(lWa)]}))},
oWa=function(a){a&1&&K(0,"img",1);a&2&&(a=P(),jg("src",a.getLogoUrl(),vf))},pWa=function(a){a&1&&(I(0,"span",6),Q(1,"no components"),J())},qWa=function(a){a&1&&(I(0,"div",3),K(1,"div",5),S(2,"boldPrefixMatches"),D(3,pWa,2,0,"span",6),J());a&2&&(a=P(),B(),E("innerHtml",hh(2,2,a.teamOption.name,a.query),uf),B(2),G(a.hasNoComponent?3:-1))},rWa=function(a){if(a&1){var b=v();I(0,"a",8);M("mousedown",function(c){w(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(1);J()}a&2&&(a=P(2).$implicit,B(),Yg(a))},sWa=function(a){a&1&&Q(0);a&2&&(a=P(2).$implicit,R(" ",a," "))},tWa=function(a){a&1&&(D(0,rWa,2,1,"a",7)(1,sWa,1,1),Ag(2),Q(3," \u00b7 "),Bg());a&2&&(a=P(3),G(a.allowSegmentSelection?0:1))},uWa=function(a){a&1&&(I(0,"strong",9),Q(1),J());a&2&&(a=P(2).$implicit,B(),Yg(a))},vWa=function(a){a&1&&Q(0);a&2&&(a=P(2).$implicit,R(" ",a," "))},wWa=function(a){a&1&&D(0,uWa,2,1,"strong",9)(1,vWa,1,1);a&2&&
(a=P(3),G(a.compact?0:1))},xWa=function(a,b){a&1&&D(0,tWa,4,1)(1,wWa,2,1);a&2&&G(b.$index!==b.$count-1?0:1)},yWa=function(a){a&1&&(I(0,"div",4),yg(1,xWa,2,1,null,null,xg),J());a&2&&(a=P(),B(),zg(a.teamOption.pathNames))},zWa=function(a){if(a&1){var b=v();I(0,"button",9);M("mousedown",function(c){w(b);P().clearQuery();return x(hr(c))});K(1,"mat-icon",10);J()}},AWa=function(a){a&1&&(I(0,"div",11),Q(1," Checking for admin access... "),J())},BWa=function(a){a&1&&(I(0,"div",12),Q(1," You do not have admin access to this component. "),
I(2,"a",13),Q(3,"View component admins"),J()());a&2&&(a=P(3),B(2),E("href",Qq.editComponentAccess.makeHref(a.selectedComponent.componentId),vf))},CWa=function(a){a&1&&D(0,BWa,4,1,"div",12);a&2&&(a=P(2),G(!a.hasAccess&&a.selectedComponent?0:-1))},DWa=function(a){a&1&&(I(0,"div"),D(1,AWa,2,0,"div",11)(2,CWa,1,1),J());a&2&&(a=P(),B(),G(a.checkingAccess?1:2))},EWa=function(a){a&1&&K(0,"mat-progress-bar",16)},FWa=function(a){a&1&&Q(0," teams ")},GWa=function(a){a&1&&Q(0," team ")},IWa=function(a,b){if(a&
1){var c=v();I(0,"div",22);M("mousedown",function(e){var f=w(c).$implicit,h=P(5);HWa(h.searchState,f);return x(hr(e))});I(1,"team-row",23);M("selectTeamId",function(e){w(c);var f=P(5);return x(ir(f.searchState,e))});J()()}if(a&2){a=b.$implicit;b=P(5);var d=L(3);E("data",a);B();E("teamOption",a)("query",d.value)("hasNoComponent",b.searchState.hasNoComponent(a.id))}},JWa=function(a){a&1&&(I(0,"div",19)(1,"div",20),Q(2," Filter components by my teams "),I(3,"span"),Q(4),D(5,FWa,1,0)(6,GWa,1,0),J()(),
yg(7,IWa,2,4,"div",21,xg),K(9,"mat-divider"),J());a&2&&(a=P(),B(4),R("",a.length," "),B(),G(a.length>1?5:6),B(2),zg(a))},KWa=function(a,b){a&1&&D(0,JWa,10,2,"div",19);a&2&&G(b.length?0:-1)},LWa=function(a){a&1&&Cg(0)},NWa=function(a){a&1&&(D(0,KWa,1,1),S(1,"async"),D(2,LWa,1,0,"ng-container",18));if(a&2){var b;a=P(2);var c=L(12);G((b=U(1,3,a.searchState.myTeams$))?0:-1,b);B(2);E("ngTemplateOutlet",c)("ngTemplateOutletContext",eh(5,MWa,a.searchState.recentComponents))}},OWa=function(a){a&1&&Q(0," teams ")},
PWa=function(a){a&1&&Q(0," team ")},QWa=function(a){a&1&&Cg(0)},TWa=function(a,b){a&1&&D(0,QWa,1,0,"ng-container",18);if(a&2){a=b.$implicit;b=b.$index;P(5);var c=L(10);E("ngTemplateOutlet",c)("ngTemplateOutletContext",fh(4,RWa,a,eh(2,SWa,b)))}},UWa=function(a){if(a&1){var b=v();I(0,"button",25);M("mousedown",function(){w(b);var c=P(5);return x(c.searchState.showAllTeams$.next(!0))});K(1,"mat-icon",26);Q(2," Show all teams ");J()}},VWa=function(a,b){a&1&&(I(0,"div",19)(1,"div",20),Q(2," Filter components by teams "),
I(3,"span"),Q(4),D(5,OWa,1,0)(6,PWa,1,0),J()(),yg(7,TWa,1,7,"ng-container",null,xg),S(9,"async"),D(10,UWa,3,0,"button",24),S(11,"async"),K(12,"mat-divider"),J());a&2&&(a=P(4),B(4),R("",b," "),B(),G(b>1?5:6),B(2),zg(U(9,3,a.searchState.filteredTeamOptions$)),B(3),G(U(11,5,a.searchState.hasHiddenTeams$)?10:-1))},WWa=function(a,b){a&1&&D(0,VWa,13,7,"div",19);if(a&2){var c;G((c=b.length)?0:-1,c)}},XWa=function(a){a&1&&Cg(0)},ZWa=function(a){a&1&&(D(0,WWa,1,1),S(1,"async"),D(2,XWa,1,0,"ng-container",18));
if(a&2){var b;a=P(2);var c=L(12);G((b=U(1,3,a.searchState.teamOptions$))?0:-1,b);B(2);E("ngTemplateOutlet",c)("ngTemplateOutletContext",eh(5,YWa,a.searchState.componentOptions))}},$Wa=function(a){a&1&&Cg(0)},bXa=function(a,b){a&1&&D(0,$Wa,1,0,"ng-container",18);if(a&2){a=b.$implicit;b=b.$index;P(7);var c=L(10);E("ngTemplateOutlet",c)("ngTemplateOutletContext",fh(4,RWa,a,eh(2,aXa,b)))}},cXa=function(a){a&1&&(I(0,"div",32),yg(1,bXa,1,7,"ng-container",null,xg),J());a&2&&(a=P(2),B(),zg(a))},fXa=function(a){if(a&
1){var b=v();D(0,cXa,3,0,"div",32);I(1,"button",25);M("mousedown",function(c){w(b);var d=P(5),e=d.searchState.teamScope$.value;e.expanded?dXa(d.searchState,e):eXa(d.searchState,e);return x(hr(c))});K(2,"mat-icon",26);Q(3);J()}a&2&&(a=P(5),G(a.searchState.teamScope$.value.expanded?0:-1),B(2),sg("expanded",a.searchState.teamScope$.value.expanded),B(),R(" ",a.searchState.teamScope$.value.expanded?"Hide":"Show"," child teams "))},gXa=function(a,b){a&1&&D(0,fXa,4,4);a&2&&G(b.length?0:-1)},jXa=function(a){if(a&
1){var b=v();I(0,"div",27)(1,"div",20);Q(2," Filtering by team: ");J();I(3,"div",28)(4,"team-row",29);M("selectTeamId",function(e){w(b);var f=P(3);return x(ir(f.searchState,e))});J();I(5,"button",30);M("mousedown",function(e){w(b);var f=P(3);hXa(f.searchState);return x(hr(e))});K(6,"mat-icon",31);J()();D(7,gXa,1,1);J()}if(a&2){var c;a=P(3);var d=L(3);B(3);E("data",a.searchState.teamScope$.value)("listOrder",dh(7,iXa));B();E("teamOption",a.searchState.teamScope$.value)("query",d.value)("compact",!0)("allowSegmentSelection",
!0);B(3);G((c=a.searchState.getChildTeams(a.searchState.teamScope$.value.id))?7:-1,c)}},kXa=function(a){a&1&&Cg(0)},mXa=function(a){a&1&&D(0,jXa,8,8,"div",27)(1,kXa,1,0,"ng-container",18);if(a&2){a=P(2);var b=L(12);G(a.searchState.teamScope$.value?0:-1);B();E("ngTemplateOutlet",b)("ngTemplateOutletContext",fh(3,lXa,a.searchState.componentOptions,a.searchState.teamScope$.value))}},pXa=function(a){if(a&1){var b=v();I(0,"div",33)(1,"div",34);Q(2,"Component Tree Browser");J();I(3,"component-row",35);
M("goBack",function(){w(b);var c=P(3);return x(nXa(c.searchState))})("selectComponentId",function(c){w(b);var d=P(3);return x(oXa(d.searchState,c))});J()()}a&2&&(a=P(3),B(3),E("componentOption",a.searchState.componentScope))},qXa=function(a){a&1&&Cg(0)},sXa=function(a){a&1&&D(0,pXa,4,1,"div",33)(1,qXa,1,0,"ng-container",18);if(a&2){a=P(2);var b=L(12);G(a.searchState.componentScope?0:-1);B();E("ngTemplateOutlet",b)("ngTemplateOutletContext",eh(3,rXa,a.searchState.componentOptions))}},tXa=function(a){if(a&
1){var b=v();I(0,"div",14,5);M("mousedown",function(d){w(b);P();return x(hr(d))});I(2,"div",15);D(3,EWa,1,0,"mat-progress-bar",16);J();I(4,"div",17);D(5,NWa,3,7);S(6,"async");D(7,ZWa,3,7)(8,mXa,2,6)(9,sXa,2,5);J()()}if(a&2){var c;a=P();B(3);G(a.isLoading()?3:-1);B(2);G((c=U(6,2,a.searchState.state$))==="default"?5:c==="global"?7:c==="team_scope"?8:c==="component_scope"?9:-1)}},uXa=function(a){if(a&1){var b=v();I(0,"button",39);M("mousedown",function(c){w(b);var d=P().team,e=P();d.expanded?dXa(e.searchState,
d):eXa(e.searchState,d);return x(hr(c))});K(1,"mat-icon",40);J()}a&2&&(a=P().team,B(),sg("expanded",a.expanded))},vXa=function(a){a&1&&Cg(0)},xXa=function(a,b){a&1&&D(0,vXa,1,0,"ng-container",18);if(a&2){a=b.$implicit;b=b.$index;var c=P(2),d=c.level;c=c.order;P();var e=L(10);E("ngTemplateOutlet",e)("ngTemplateOutletContext",gh(2,wXa,a,d+1,c.concat(b)))}},yXa=function(a){a&1&&yg(0,xXa,1,6,"ng-container",null,xg);if(a&2){a=P().team;var b=P();zg(b.searchState.getChildTeams(a.id))}},zXa=function(a,b){if(a&
1){var c=v();I(0,"div",36);M("mousedown",function(h){var l=w(c).team,q=P();HWa(q.searchState,l);return x(hr(h))});I(1,"div",37);D(2,uXa,2,2,"button",38);I(3,"team-row",23);M("selectTeamId",function(h){w(c);var l=P();return x(ir(l.searchState,h))});J()()();D(4,yXa,2,0)}if(a&2){a=b.team;var d=b.level;b=b.order;var e=P(),f=L(3);E("listOrder",b)("data",a);B();rg("margin-left",d*28,"px");B();G(e.searchState.getChildTeams(a.id).length?2:-1);B();sg("indent",!e.searchState.getChildTeams(a.id).length);E("teamOption",
a)("query",f.value)("hasNoComponent",e.searchState.hasNoComponent(a.id));B();G(a.expanded?4:-1)}},AXa=function(a){a&1&&Q(0," components ")},BXa=function(a){a&1&&Q(0," component ")},DXa=function(a,b){if(a&1){var c=v();I(0,"div",43);M("mousedown",function(f){var h=w(c).$implicit,l=P(3);CXa(l.searchState,h.id);return x(hr(f))});I(1,"component-row",44);M("selectComponentId",function(f){w(c);var h=P(3);return x(CXa(h.searchState,f))})("expandComponent",function(f){w(c);var h=P(3);return x(h.searchState.expandComponent(f))});
J()()}if(a&2){a=b.$implicit;b=P(2).mode;var d=P(),e=L(3);E("data",a);B();E("showFolderSpecialIcon",Hp(d.activeSession))("componentOption",a)("query",e.value)("mode",b)}},EXa=function(a,b){a&1&&(I(0,"div",41)(1,"div",20),Q(2),I(3,"span"),Q(4),D(5,AXa,1,0)(6,BXa,1,0),J()(),yg(7,DXa,2,5,"div",42,xg),J());if(a&2){var c=P();a=c.$implicit;c=c.mode;B(2);R(" ",c==="recent"?"Select recent component":"Select component"," ");B(2);R("",b," ");B();G(b>1?5:6);B(2);zg(a)}},FXa=function(a){a&1&&Q(0," No recent components ")},
GXa=function(a){a&1&&Q(0," No child components ")},HXa=function(a){a&1&&(Q(0),K(1,"mat-icon",46),Q(2," above ("),I(3,"a",47),Q(4,"learn more "),K(5,"mat-icon",48),J(),Q(6," about team associations) "));a&2&&(a=P(4).teamScope,R(" for ",a.name,". Remove the team filter by clicking on the "))},IXa=function(a){a&1&&(Q(0," No components found "),D(1,HXa,7,1));a&2&&(a=P(3).teamScope,B(),G(a?1:-1))},JXa=function(a){a&1&&(I(0,"div",45),D(1,FXa,1,0)(2,GXa,1,0)(3,IXa,2,1),J());a&2&&(a=P(2).mode,B(),G(a==="recent"?
1:a==="leaf"?2:3))},KXa=function(a){a&1&&D(0,JXa,4,1,"div",45);a&2&&(a=P(2),G(a.componentLoading||a.searchState.componentsLoading?-1:0))},LXa=function(a,b){a&1&&D(0,EXa,9,3,"div",41)(1,KXa,1,1);if(a&2){var c;G((c=b.$implicit.length)?0:1,c)}},MXa=function(a,b){b=k([a.listOrder,b.listOrder]);a=b.next().value;b=b.next().value;for(var c=0;c<Math.min(a.length,b.length);c++)if(a[c]!==b[c])return a[c]-b[c];return a.length-b.length},NXa=function(a){a&1&&(I(0,"span"),Q(1),J());a&2&&(a=P().$implicit,B(),Yg(a.text))},
OXa=function(a){a&1&&(I(0,"span"),K(1,"b-component-access-level-indicator",0),J());a&2&&(a=P().$implicit,B(),E("accessLevel",a.accessLevel))},PXa=function(a,b){a&1&&(I(0,"span"),D(1,NXa,2,1,"span")(2,OXa,2,1,"span"),J());a&2&&(a=b.$implicit,P(),B(),G(a.text!==void 0?1:2))},RXa=function(a,b){var c=QXa.get(b);if(!c)return null;a=a.toLowerCase().indexOf(c);return a>=0?{accessLevel:b,startOfMatch:a,endOfMatch:a+c.length}:null},SXa=function(a){if(a&1){var b=v();I(0,"div");K(1,"br");I(2,"mat-radio-group",
7);bh("ngModelChange",function(c){w(b);var d=P(2);ah(d.setLimitViewTrusted,c)||(d.setLimitViewTrusted=c);return x(c)});I(3,"mat-radio-button",8);Q(4,"Mark this issue as Limited Visibility + Google. Information will only be shared with Googlers and listed public users.");J();I(5,"mat-radio-button",9);Q(6,"Leave issue unrestricted. All information in this issue is suitable for external sharing.");J()()()}a&2&&(a=P(2),B(2),$g("ngModel",a.setLimitViewTrusted),B(),E("value",!0),B(2),E("value",!1))},TXa=
function(a){if(a&1){var b=v();I(0,"div");K(1,"br");I(2,"mat-checkbox",10);bh("ngModelChange",function(c){w(b);var d=P(2);ah(d.acknowledged,c)||(d.acknowledged=c);return x(c)});J();I(3,"span");Q(4,"All information in this issue is suitable for external sharing.");J()()}a&2&&(a=P(2),B(2),$g("ngModel",a.acknowledged))},UXa=function(a){a&1&&(I(0,"div"),D(1,SXa,7,3,"div")(2,TXa,5,1,"div"),J());a&2&&(a=P(),B(),G(a.isLimitNoneIssueTrackerMove?1:2))},VXa=function(a){if(a&1){var b=v();I(0,"button",11);M("click",
function(){w(b);var c=P();return x(c.allow())});Q(1," Move Issue ");J()}a&2&&(a=P(),E("disabled",!a.acknowledged))},WXa=function(a){a&1&&(I(0,"span"),Q(1),J());a&2&&(a=P().$implicit,B(),R("(",a.disabledReason,")"))},XXa=function(a,b){a&1&&(I(0,"mat-radio-button",4),Q(1),D(2,WXa,2,1,"span"),J());a&2&&(a=b.$implicit,E("value",a)("disabled",!a.enabled),B(),R(" ",a.displayText," "),B(),G(a.enabled?-1:2))},YXa=function(a){a&1&&(I(0,"span"),Q(1),J());a&2&&(a=P().$implicit,B(),R("(",a.disabledReason,")"))},
ZXa=function(a,b){a&1&&(I(0,"mat-radio-button",4),Q(1),D(2,YXa,2,1,"span"),J());a&2&&(a=b.$implicit,E("value",a)("disabled",!a.enabled),B(),R(" ",a.displayText," "),B(),G(a.enabled?-1:2))},$Xa=function(a){return a?"https://goto.corp.google.com/buganizer-delete":"https://issuetracker.google.com/issues/new?component=169992&template=543202"},aYa=function(a){return"share-email-confirmation-"+a},bYa=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("ue`"+a);}},cYa=function(a){a&1&&(I(0,"span"),Q(1),J());a&2&&(a=P(),B(),R("Retain ",a.resource," as long as issue?"))},dYa=function(a){a&1&&(I(0,"span"),Q(1,"Apply component retention settings?"),J())},eYa=function(a){a&1&&(I(0,"span")(1,"p"),Q(2),J(),I(3,"p")(4,"b"),Q(5,"Please note long retention is not appropriate in many circumstances for personal data, user data, or any other forms of sensitive data being stored."),J(),K(6,"br"),Q(7," Before selecting this option, you should make sure that Legal and Privacy have approved this non-standard retention period."),
J()());a&2&&(a=P(),B(2),R("Are you sure you want to override any component retention settings, and retain this ",a.resource," as long as issue?"))},fYa=function(a){a&1&&(I(0,"span")(1,"p"),Q(2),J()());a&2&&(a=P(),B(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."))},gYa=function(a){if(a&1){var b=v();I(0,"mat-checkbox",8);bh("ngModelChange",function(c){w(b);
var d=P();ah(d.acknowledgeToMatchIssueRetention,c)||(d.acknowledgeToMatchIssueRetention=c);return x(c)});Q(1," I acknowledge ");J()}a&2&&(a=P(),$g("ngModel",a.acknowledgeToMatchIssueRetention))},hYa=function(){var a=Math.random;this.initialMaxDelayMs_=500;this.maxDelayMs_=512E3;this.random_=a;this.reset()},kr=function(a){return new jr((a instanceof jr?a:new jr(a)).value,!0)},iYa=function(a){return{queryParams:a.getQueryParameters(),extraHeaders:a.getHeaders(),withCredentials:a.usesCredentialedRequests()}},
mYa=function(a){if(a.oauthTokens){var b=a.oauthTokens;return Fe(b).then(function(c){c=new Xi(c);b.subscribe(c);return new jYa(c)})}return a.apiKey?a.appAuthTokens?Promise.resolve(new kYa(a.apiKey,a.appAuthTokens)):Promise.resolve(new lYa(a.apiKey,a.authUser)):Promise.reject(Error("Fe"))},nYa=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}},oYa=function(a){return{send:function(b,c,d,e,f,h,l){var q=new lr(a);q.listen("complete",c);q.listenOnce("ready",function(){q.dispose()});h&&(q.timeoutInterval_=Math.max(0,h));l&&(q.withCredentials_=l);q.send(b,d,e,f);return q}}},pYa=function(a){return new oe(function(b){var c=mr(function(){b.next({});b.complete()},a);return function(){nr(c)}})},qYa=function(a){return(new or).setName(a)},tYa=function(a){var b=new pr;a=k(a.parts);for(var c=a.next();!c.done;c=a.next()){var d=c.value;
c=new rYa;if(d.value instanceof qr)d.isDecreasing?rm(c,4,rr,Qb(d.value.toString())):rm(c,2,rr,Qb(d.value.toString()));else if(typeof d.value==="string")d.isDecreasing?em(c,3,rr,d.value):em(c,1,rr,d.value);else if(typeof d.value==="number")d.isDecreasing?rm(c,9,rr,Eb(d.value)):rm(c,10,rr,Eb(d.value));else if(d.value instanceof Uint8Array)d.isDecreasing?rm(c,5,rr,pb(d.value,!1,!0)):rm(c,7,rr,pb(d.value,!1,!0));else if(d.value instanceof sr)if(d.isDecreasing){var e=c;d=sYa(d.value);zm(e,11,rr,d)}else e=
c,d=sYa(d.value),zm(e,12,rr,d);else d.value instanceof tr&&(e=d.value.rep,typeof e==="number"?d.isDecreasing?rm(c,9,rr,Eb(e)):rm(c,10,rr,Eb(e)):typeof e==="string"&&(d.isDecreasing?rm(c,6,rr,Xb(e)):rm(c,8,rr,Xb(e))));b.addParts(c)}return b},AYa=function(a,b){if(a instanceof ur)return b.getPartsList().length>0?null:uYa.apply(ur,t(a.parts));a=Array.of.apply(Array,t(a.root.parts));b=k(b.getPartsList());for(var c=b.next();!c.done;c=b.next())switch(c=c.value,$l(c,rr)){case 4:a.push(kr(vr(vYa(c,om(c,rr,
4)))));break;case 2:a.push(new jr(vr(vYa(c,om(c,rr,2)))));break;case 6:a.push(kr(new tr(wYa(c,6))));break;case 8:a.push(new jr(new tr(wYa(c,8))));break;case 10:a.push(new jr(new tr(xYa(c,10))));break;case 9:a.push(kr(new tr(xYa(c,9))));break;case 3:a.push(kr(wr(c,om(c,rr,3))));break;case 1:a.push(new jr(wr(c,om(c,rr,1))));break;case 7:var d=void 0;a.push(new jr((d=yYa(c,om(c,rr,7)))==null?void 0:new Uint8Array(ic(d)||0)));break;case 5:d=void 0;a.push(kr((d=yYa(c,om(c,rr,5)))==null?void 0:new Uint8Array(ic(d)||
0)));break;case 12:c=zYa(um(c,rk,12,rr));if(c===null)return null;a.push(new jr(c));break;case 11:c=zYa(um(c,rk,11,rr));if(c===null)return null;a.push(kr(c));break;case 0:return null;default:return null}return uYa.apply(ur,t(a))},xr=function(a){return{firstPartyUri:new Oq("https://"+a+"-signaler-pa.clients6.google.com"),thirdPartyUri:new Oq("https://"+a+"-signaler-pa.googleapis.com")}},BYa=function(a){a&1&&(I(0,"div",6)(1,"div",10),K(2,"mat-icon",11),Q(3," Literal Mode "),J(),I(4,"span"),Q(5,"No formatting or linkification will be performed.\u00a0"),
J(),I(6,"a",12),Q(7,"Learn more"),J()())},FYa=function(a){if(a&1){var b=v();I(0,"input",13,2);M("change",function(){w(b);var c=P();if(CYa(c)){var d=yr(c);DYa(c);EYa(c,!0);yr(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){w(b);var d=P();document.activeElement===zr(d)&&(c.key==="Enter"||c.key==="Tab"?(d.taggingInProgress=!1,EYa(d,!0),yr(d).focus()):EYa(d));
return x()});J()}a&2&&(a=P(),E("value",a.autocompleteUserName))},GYa=function(a){a&1&&K(0,"div",9,3)},HYa=function(a){a&1&&Cg(0)},IYa=function(a){a&1&&Cg(0)},JYa=function(a){a=a.getIt();return{matchedPatterns:Tj(a,1,Uj())}},KYa=function(a){a&1&&(I(0,"p",5),Q(1),I(2,"a",11),Q(3," Learn more "),J()());a&2&&(a=P(),B(),R(" Your comment contains restricted words: ",Ar(a.bannedWordsChecker),". Review your comment before posting. "))},LYa=function(a){a&1&&K(0,"b-live-preview",7);a&2&&(a=P(),E("comment",
a.newComment.text)("issueId",a.origComment.issueId)("audience",a.origComment.audience)("formattingMode",a.newComment.formattingMode))},MYa=function(a){if(a&1){var b=v();I(0,"section")(1,"div",12)(2,"b-recaptcha",13);M("onUpdate",function(c){w(b);var d=P();return x(d.recaptchaResponse=c)});J()()()}},NYa=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]}}},OYa=function(a){var b=
[],c=new Map;a=k(a);for(var d=a.next();!d.done;d=a.next())if(d=d.value,d.displayText!=="")if(c.get(d.resourceId)){var e=c.get(d.resourceId);e.relations=[].concat(t(e.relations),t(d.relations))}else c.set(d.resourceId,d),b.push(d);return b},PYa=function(a,b){a&1&&K(0,"mat-icon",5);a&2&&(E("svgIcon",b.icon)("matTooltip",b.tooltip),jg("aria-label",b.tooltip))},QYa=function(a){a&1&&(Ag(0),Q(1,"\u2026 >"),Bg())},RYa=function(a){a&1&&(Ag(0),Q(1,"\u2026"),Bg())},SYa=function(a){if(a&1){var b=v();I(0,"a",
13);M("click",function(){w(b);var c=P(4);return x(c.compactMode$.next(!1))});D(1,QYa,2,0,"ng-container")(2,RYa,2,0,"ng-container");J()}a&2&&(a=P().$implicit,B(),G(a.isSpliced?1:-1),B(),G(a.isTruncated?2:-1))},TYa=function(a){a&1&&(I(0,"a",14),Q(1),J());if(a&2){a=P().$implicit;var b=L(5);sg("muted",a.name==a.id);E("routerLinkObj",a.route)("onedevHovercardTrigger",b);B();Yg(a.name)}},UYa=function(a){a&1&&(I(0,"span",15),Q(1),J());a&2&&(a=P().$implicit,sg("muted",a.name==a.id),B(),Yg(a.name))},VYa=function(a){a&
1&&Q(0," > ")},WYa=function(a){a&1&&(Ag(0),K(1,"b-component-path-card",16,1),Bg());if(a&2){a=L(2);var b=P().$implicit;B();E("onedevIsHovercardReady",a.init)("componentId",b.id)}},XYa=function(a,b){a&1&&(D(0,SYa,3,2,"a",9)(1,TYa,2,5,"a",10)(2,UYa,2,3,"span",11)(3,VYa,1,0),I(4,"onedev-hovercard",null,0),D(6,WYa,3,2,"ng-container",12),J());if(a&2){a=b.$implicit;var c=b.$index;b=b.$count;var d=P(3);G(a.isSpliced||a.isTruncated?0:-1);B();G(d.viewOnly?2:1);B(2);G(c!==b-1?3:-1)}},YYa=function(a,b){a&1&&
(I(0,"span",6),yg(1,XYa,7,3,null,null,xg),J());a&2&&(B(),zg(b))},ZYa=function(a){a&1&&(I(0,"span"),Q(1,"[Archived]"),J())},$Ya=function(a){if(a&1){var b=v();I(0,"button",17);M("click",function(){w(b);P(2).editing=!0;return x()});K(1,"mat-icon",18);J()}},aZa=function(a){a&1&&(I(0,"a",8),S(1,"async"),K(2,"mat-icon",19),J());if(a&2){var b;a=P(2);E("routerLinkObj",a.popoutLink((b=U(1,1,a.component$))==null?null:b.componentId))}},bZa=function(a){a&1&&(I(0,"b-async-data-placeholder",2),S(1,"async"),I(2,
"div",4),S(3,"async"),S(4,"async"),D(5,PYa,1,3,"mat-icon",5),S(6,"async"),D(7,YYa,3,0,"span",6),S(8,"async"),D(9,ZYa,2,0,"span"),S(10,"async"),D(11,$Ya,2,0,"button",7)(12,aZa,3,3,"a",8),J()());if(a&2){var b,c;a=P();E("isReady",U(1,10,a.isReady$));B(2);sg("public",U(3,12,a.showPublicIndicator$))("partner",U(4,14,a.showPartnerIndicator$));B(3);G((b=U(6,16,a.folder$))?5:-1,b);B(2);G((c=U(8,18,a.componentPath$))?7:-1,c);B(2);G(U(10,20,a.isArchived$)?9:-1);B(2);G(a.viewOnly?-1:11);B();G(a.popoutLink?12:
-1)}},dZa=function(a){if(a&1){var b=v();I(0,"b-team-component-picker",20);S(1,"async");M("selectedComponentChange",function(c){w(b);var d=P();return x(cZa(d,c))})("dropdownClosed",function(){w(b);var c=P();return x(cZa(c))});J()}a&2&&(a=P(),E("selectedComponent",U(1,4,a.component$))("isRequired",!0)("shouldFocus",!0)("showOverlayAbove",a.showPickerOverlayAbove))},Cr=function(a){for(var b=k(eZa),c=b.next();!c.done;c=b.next())if(c=c.value,c.accessLevel===a)return c.title;return Br.title},fZa=function(a){a&
1&&K(0,"mat-icon",7);a&2&&(a=P(),E("matTooltip",a.disabledDropdownTooltip))},gZa=function(a,b){if(a&1){var c=v();I(0,"button",10);M("click",function(){var d=w(c).$implicit,e=P();e.selectedDisplay$.next(d);e.updatedAccessLimitLevel.emit(d.accessLevel);return x()});I(1,"div",11);K(2,"mat-icon",12);I(3,"span",13);Q(4);J()();I(5,"div",14);Q(6);J()()}a&2&&(a=b.$implicit,b=P(),B(2),E("svgIcon",a.icon),B(2),R(" ",a.title," "),B(2),R(" ",b.implicitAccessEnabled?a.descriptionWithExpandedAccess:a.descriptionNoExpandedAccess,
" "))},iZa=function(a,b){if(a&1){var c=v();I(0,"mat-checkbox",19);M("click",function(d){w(c);return x(d.stopPropagation())})("change",function(d){var e=w(c).$implicit,f=P(2);e=e.value.user;d=d.source.checked;var h=f.collaboratorGroupsEmailToDetailsMap.get(e.emailAddress).specifiedOnIssue;d?(h||f.addedCollaboratorGroups.add(e),f.removedCollaboratorGroups.delete(e)):(h&&f.removedCollaboratorGroups.add(e),f.addedCollaboratorGroups.delete(e));var l;hZa(f,(l=f.updatedAccessLimitLevel$.getValue())!=null?
l:f.defaultAccessLimitLevel);return x()});Q(1);J()}a&2&&(a=b.$implicit,E("id",a.key)("name",a.key)("checked",a.value.specifiedOnIssue),B(),R(" ",a.key," "))},jZa=function(a){a&1&&(I(0,"div")(1,"span",16),Q(2,"Add collaborator groups"),J(),K(3,"mat-icon",7),J(),I(4,"div",17),yg(5,iZa,2,4,"mat-checkbox",18,xg),S(7,"keyvalue"),J());a&2&&(a=P(),B(3),Lg("matTooltip",a.COLLABORATOR_GROUPS_TOOLTIP),B(2),zg(U(7,1,a.collaboratorGroupsEmailToDetailsMap)))},lZa=function(a){if(a&1){var b=v();I(0,"button",20);
M("click",function(){w(b);var c=P();return x(c.onPressCancel())});Q(1," Cancel ");J();I(2,"button",21);S(3,"async");M("click",function(){w(b);var c=P();return x(c.onPressSave())});Q(4," Save ");J()}a&2&&(a=P(),B(2),E("disabled",!kZa(a,U(3,1,a.hasAccessLimitLevelSelectionChanged$))))},mZa=function(a){if(a&1){var b=v();I(0,"button",22);M("click",function(){w(b);var c=P();return x(c.onPressCancel())});Q(1," Close ");J()}},nZa=function(a){if(a&1){var b=v();I(0,"b-star-toggle",8);S(1,"async");S(2,"async");
M("starClicked",function(){w(b);var c=P(2);return x(c.starClicked.emit())});J()}a&2&&(a=P(2),E("starMessage","Star this hotlist")("unStarMessage","Un-star this hotlist")("acceptInput",!U(1,4,Bq(a.isSavingStar,a.hotlist.hotlistId)))("starred",U(2,6,Bq(a.starredHotlists,a.hotlist.hotlistId))))},oZa=function(a){a&1&&(I(0,"p",7),Q(1),J());a&2&&(a=P(2),B(),R(" ",a.hotlist.description," "))},pZa=function(a){if(a&1){var b=v();I(0,"div",0)(1,"div",1)(2,"label",2);Q(3);J();I(4,"span",3);D(5,nZa,3,8,"b-star-toggle",
4);I(6,"a",5);M("click",function(c){w(b);return x(c.stopPropagation())})("keydown.enter",function(c){w(b);return x(c.stopPropagation())});K(7,"mat-icon",6);J()()();D(8,oZa,2,1,"p",7);J()}a&2&&(a=P(),B(3),R(" ",a.hotlist.name," "),B(2),G(a.shouldShowStar(a.hotlist)?5:-1),B(),E("routerLink",a.ROUTES.viewHotlist.makeHref(a.hotlist.hotlistId)),B(2),G(!a.isCompact&&a.hotlist.description?8:-1))},qZa=function(a){a&1&&Cg(0)},rZa=function(a){a&1&&D(0,qZa,1,0,"ng-container",7);a&2&&(P(),a=L(10),E("ngTemplateOutlet",
a))},tZa=function(a){if(a&1){var b=v();I(0,"button",15);M("click",function(){w(b);var c=P(2),d=uj(c.query$.value);c.allHotlistIds.has(d)?(c.selectedHotlistIds.add(d),Dr(c)):sZa(c,d);return x()});Q(1);S(2,"async");I(3,"span",16);Q(4,"(add hotlist by ID)");J()()}a&2&&(a=P(2),B(),R(" ",U(2,1,a.query$)," "))},uZa=function(a){if(a&1){var b=v();I(0,"button",17);M("click",function(){w(b);P(2).showCreateNewPane=!0;return x()});Q(1);S(2,"async");I(3,"span",16);Q(4,"(create new)");J()()}a&2&&(a=P(2),B(),R(" ",
U(2,1,a.query$)," "))},vZa=function(a){a&1&&K(0,"mat-icon",23)},wZa=function(a){a&1&&K(0,"mat-icon",24)},xZa=function(a){a&1&&K(0,"mat-icon",25)},yZa=function(a){if(a&1){var b=v();I(0,"div");D(1,vZa,1,0,"mat-icon",23)(2,wZa,1,0,"mat-icon",24)(3,xZa,1,0,"mat-icon",25);I(4,"mat-list-option",26);S(5,"async");M("focus",function(){w(b);P();var e=L(1);return x(e.show())})("blur",function(){w(b);P();var e=L(1);return x(e.hide())});I(6,"hotlist-matlist-option",27);M("starClicked",function(){w(b);var e=P().$implicit,
f=P(3);return x(f.toggleStar(e.hotlistId))});J()()()}if(a&2){var c;a=P().$implicit;var d=P(3);vg("flex-kids-x align-items-center left-padding ",a.type,"");B();G(a.type===d.HotlistType.RECOMMENDED?1:a.type===d.HotlistType.USER?2:3);B(3);rg("height","auto");E("selected",d.selectedHotlistIds.has(a.hotlistId))("disabled",((c=U(5,13,a.permissions$))==null?null:c.appender)===!1)("value",a.hotlistId);B(2);E("hotlist",a)("isCompact",!1)("starredHotlists",d.starredHotlists)("isSavingStar",d.isSavingStar)}},
zZa=function(a){if(a&1){var b=v();I(0,"mat-list-option",26);S(1,"async");M("focus",function(){w(b);P();var e=L(1);return x(e.show())})("blur",function(){w(b);P();var e=L(1);return x(e.hide())});I(2,"hotlist-matlist-option",27);M("starClicked",function(){w(b);var e=P().$implicit,f=P(3);return x(f.toggleStar(e.hotlistId))});J()()}if(a&2){var c;a=P().$implicit;var d=P(3);rg("height","auto");E("selected",d.selectedHotlistIds.has(a.hotlistId))("disabled",((c=U(1,9,a.permissions$))==null?null:c.appender)===
!1)("value",a.hotlistId);B(2);E("hotlist",a)("isCompact",!1)("starredHotlists",d.starredHotlists)("isSavingStar",d.isSavingStar)}},AZa=function(a,b){a&1&&(I(0,"div",19,4),S(2,"async"),D(3,yZa,7,15,"div",21)(4,zZa,3,11,"mat-list-option",22),J());if(a&2){var c;a=b.$implicit;b=P(3);E("matTooltip",((c=U(2,2,a.permissions$))==null?null:c.appender)===!1?b.NO_ACCESS_MESSAGE:"");B(3);G(b.isInternalSession?3:4)}},BZa=function(a){if(a&1){var b=v();I(0,"div",20)(1,"span",16);Q(2," The number of hotlists is too large to show at once. ");
J();I(3,"button",28);M("click",function(){w(b);var c=P(3);return x(c.forceShowOverflow$.next(!0))});Q(4," Show all anyway ");J()()}},DZa=function(a,b){if(a&1){var c=v();I(0,"mat-selection-list",18);M("selectionChange",function(d){w(c);var e=P(2);return x(e.onChangeMatList(d))})("keydown.meta.enter",function(){w(c);var d=P(2);return x(d.usePreviousSelectedHotlists=!0)})("keydown.shift.enter",function(){w(c);var d=P(2);return x(d.usePreviousSelectedHotlists=!0)})("keydown.control.enter",function(){w(c);
var d=P(2);return x(d.usePreviousSelectedHotlists=!0)});yg(1,AZa,5,4,"div",19,CZa);J();D(3,BZa,5,0,"div",20);S(4,"async")}a&2&&(a=P(2),B(),zg(b),B(2),G(U(4,1,a.isOverflowMode$)?3:-1))},EZa=function(a){if(a&1){var b=v();I(0,"header",8)(1,"h2");Q(2,"Search for Hotlists");J();I(3,"div",9);K(4,"mat-icon",10);I(5,"input",11,2);M("input",function(){w(b);var d=L(6);P().query$.next(d.value);return x()});J()()();I(7,"section",12,3);D(9,tZa,5,3,"button",13);S(10,"async");D(11,uZa,5,3,"button",14);S(12,"async");
D(13,DZa,5,3);S(14,"async");J()}if(a&2){var c;a=P();B(9);G(U(10,3,a.showLoadById$)?9:-1);B(2);G(U(12,5,a.showCreateNew$)?11:-1);B(2);G((c=U(14,7,a.visibleHotlists$))?13:-1,c)}},FZa=function(a){a&1&&Cg(0)},GZa=function(a){a&1&&D(0,FZa,1,0,"ng-container",7);a&2&&(P(),a=L(8),E("ngTemplateOutlet",a))},HZa=function(a){if(a&1){var b=v();I(0,"button",29);M("click",function(){w(b);var c=P();return x(Dr(c))});Q(1);J()}a&2&&(a=P(),E("mat-dialog-close",!0)("matTooltip",a.saveBtnTooltip)("disabled",a.pristine),
jg("aria-label",a.saveBtnTooltip),B(),R(" ",a.saveBtnLabel," "))},KZa=function(a){if(a&1){var b=v();I(0,"button",30);M("click",function(){w(b);var c=P();return x(IZa(c))});Q(1," Create ");J()}a&2&&(a=P(),E("disabled",!(JZa(a).length>0)))},LZa=function(a){a&1&&(I(0,"header",8)(1,"h2"),Q(2,"Create new hotlist"),J()(),I(3,"section",31)(4,"div",32)(5,"form",33)(6,"label",34),Q(7,"Name"),J(),K(8,"input",35),I(9,"label",36),Q(10,"Description"),J(),K(11,"textarea",37),I(12,"p",16),Q(13," Note: Access controls can be adjusted after the hotlist is created. "),
J()()()());a&2&&(a=P(),B(5),E("formGroup",a.hotlistUnderEdit))},MZa=function(a,b){return a.name.localeCompare(b.name)},NZa=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)},OZa=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)"]},PZa=function(a){if(a&1){var b=v();I(0,"b-edit-field",24);S(1,"async");M("valueChange",function(d){w(b);var e=P(2),f=P(2);return x(f.setSeverity(e,d!==null&&d!==void 0?d:f.IssueSeverity.S2))});J()}if(a&2){a=P(2);var c=P(2);E("name","severity")("title","Severity")("type",c.FieldType.ENUM)("tooltip","Set severity")("value",a.severity)("choices",c.severityChoices)("readonly",!U(1,7,c.hasAclToEdit$))}},QZa=
function(a){if(a&1){var b=v();I(0,"b-edit-field",25,0);S(2,"async");M("onHotkey",function(){w(b);var d=L(1);return x(Yq(d,null,!0,!1))})("valueChange",function(d){w(b);var e=P(2),f=P(2);return x(f.setPriority(e,d!==null&&d!==void 0?d:f.IssuePriority.P2))});J()}if(a&2){a=P(2);var c=P(2);E("name","priority")("title","Priority")("type",c.FieldType.ENUM)("tooltip","Set priority")("value",a.priority)("choices",c.priorityChoices)("hotkey",c.HOTKEYS.OPEN_ISSUE_PRIORITY_MENU)("readonly",!U(2,8,c.hasAclToEdit$))}},
RZa=function(a){if(a&1){var b=v();I(0,"triage-hotlists-editor",26);M("hotlistIdsChange",function(c){w(b);var d=P(4);return x(d.hotlistIds=c)});J()}a&2&&(a=P(4),E("phase",a.phase)("subphase",a.subphase))},SZa=function(a){a&1&&K(0,"triage-custom-fields-editor",14);if(a&2){a=P(2);var b=P(2);E("editableIssue",a)("phase",b.phase)("subphase",b.subphase)}},TZa=function(a,b){if(a&1){var c=v();I(0,"button",31);M("click",function(){var e=w(c),f=P(5),h=P(2);return x(h.setAssignee(f,e))})("onHotkey",function(){var e=
w(c),f=P(5),h=P(2);return x(h.setAssignee(f,e))});K(1,"mat-icon",32);Q(2," Assign to default ");J()}if(a&2){a=P(5);var d=P(2);E("disabled",a.assignee===b)("hotkey",d.HOTKEYS.ASSIGN_ISSUE_TO_DEFAULT_ASSIGNEE)("matTooltip","Set "+b+" as assignee");jg("aria-label","Set "+b+" as assignee");B();E("svgIcon",a.assignee===b?"done":"add")}},UZa=function(a){a&1&&(D(0,TZa,3,5,"button",30),S(1,"async"));if(a&2){var b;a=P(6);G((b=U(1,1,a.defaultAssigneeForComponent$))?0:-1,b)}},VZa=function(a){if(a&1){var b=v();
I(0,"button",33);M("click",function(){w(b);var c=P(4),d=P(2);return x(d.setAssignee(c,d.currentUserEmail))})("onHotkey",function(){w(b);var c=P(4),d=P(2);return x(d.setAssignee(c,d.currentUserEmail))});K(1,"mat-icon",34);Q(2," Assign to me ");J()}a&2&&E("matTooltip","Assign to me")},WZa=function(a){a&1&&(I(0,"div",28),D(1,UZa,2,3)(2,VZa,3,1,"button",29),J());if(a&2){a=P(3);var b=P(2);B();G(b.showAssignToDefault?1:-1);B();G(b.showAssignToSelf&&a.assignee!==b.currentUserEmail?2:-1)}},XZa=function(a){if(a&
1){var b=v();I(0,"div",15)(1,"b-single-user-control",27,1);M("onHotkey",function(){w(b);var d=L(2);return x(d.openEditor())})("valueChange",function(d){w(b);var e=P(2),f=P(2);return x(f.setAssignee(e,d.newEmail))})("emailChange",function(d){w(b);var e=P(2),f=P(2);return x(f.setAssignee(e,d))});J();D(3,WZa,3,2,"div",28);S(4,"async");J()}if(a&2){a=P(2);var c=P(2);B();E("name","assignee")("title","Assignee")("hotkey",c.HOTKEYS.CHANGE_ASSIGNEE)("value",a.assignee);B(2);G(U(4,5,c.showAssigneeChips$)?3:
-1)}},YZa=function(a){if(a&1){var b=v();I(0,"b-edit-field",35,2);S(2,"async");M("valueChange",function(d){w(b);var e=P(2),f=P(2);return x(f.setType(e,d!==null&&d!==void 0?d:f.IssueType.BUG))});J()}if(a&2){a=P(2);var c=P(2);E("name","type")("title","Type")("type",c.FieldType.ENUM)("value",a.type)("choices",c.typeChoices)("readonly",!U(2,6,c.hasAclToEdit$))}},ZZa=function(a){if(a&1){var b=v();I(0,"b-edit-field",36,3);S(2,"async");M("onHotkey",function(){w(b);var d=L(1);return x(Yq(d,null,!0,!1))})("valueChange",
function(d){w(b);var e=P(2),f=P(2);return x(f.setStatus(e,d!==null&&d!==void 0?d:f.IssueStatus.NEW))});J()}if(a&2){a=P(2);var c=P(2);E("name","status")("title","Status")("type",c.FieldType.ENUM)("value",a.status)("choices",c.statusChoices)("showHotkeyHint",!0)("hotkey",c.HOTKEYS.OPEN_ISSUE_STATUS_MENU)("readonly",!U(2,8,c.hasAclToEdit$))}},a_a=function(a){if(a&1){var b=v();I(0,"b-list-field",37);S(1,"async");M("valuesChange",function(d){w(b);var e=P(2),f=P(2);return x(f.setCodeChanges(e,d.values))});
J()}if(a&2){a=P(2);var c=P(2);E("readonly",!U(1,6,c.hasAclToEdit$))("defaultLineCount",3)("title","Code Changes")("inputValidator",c.codeChangesValidator)("type",c.ListFieldType.CODE_CHANGES)("values",$Za(a,c.sessionIsExternal))}},b_a=function(a){if(a&1){var b=v();I(0,"div",19)(1,"div",38)(2,"label");Q(3,"Component");J()();I(4,"b-component-breadcrumb-chip",39);M("componentChanged",function(d){w(b);var e=P(4);return x(e.setComponent(d))});J()()}if(a&2){a=P(2);var c=P(2);B(4);E("issueId",a.issueId)("componentId",
c.componentId)("compactMode",!0)("handleSave",!1)("showPickerOverlayAbove",!0)}},e_a=function(a){if(a&1){var b=v();I(0,"div",20)(1,"div")(2,"b-post-comment",40,4);M("commentSubmitted",function(){w(b);var d=P(4);return x(c_a(d))});J();I(4,"button",10);M("click",function(){w(b);var d=L(7),e=P(4);return x(c_a(e,d))});Q(5,"Remove comment");J()();I(6,"button",10,5);M("click",function(){w(b);var d=L(3);P(4).showCommentInput=!0;return x(d.commentBox==null?null:d_a(d.commentBox))});Q(8,"Add comment");J()()}if(a&
2){a=P(2);var c=P(2);B();sg("hidden",!c.showCommentInput);B();E("issueId",a.issueId)("showActionsAfterPreview",!1)("showCommentButton",!1);B(4);sg("hidden",c.showCommentInput)}},f_a=function(a){if(a&1){var b=v();I(0,"b-multi-user-control",41);S(1,"async");M("userInclusionToggle",function(){w(b);var d=P(2),e=P(2);return x(e.toggleCollaborators(d))})("valueChange",function(d){w(b);var e=P(2),f=P(2);return x(f.setCollaborators(e,d))})("toggleAccessLimits",function(){w(b);var d=P(2),e=P(2);return x(e.toggleAccessLimits(d.issueId))});
J()}if(a&2){a=P(2);var c=P(2);E("title","Collaborators")("values",a.collaborators)("users",a.collaboratorsUsers)("includeSelfActionDescription","Add me")("includeSelfActionLongDescription","Add yourself to collaborators")("overlayPosition",c.overlayPositionList)("removeSelfActionDescription","Remove me")("removeSelfActionLongDescription","Remove yourself from collaborators")("collectionHovercardDescription","Collaborators are people directly working on this issue.")("isCurrentUserInCollection",c.isCurrentUserCollaborator)("isAllowedToEditCollection",
U(1,14,c.hasAclToEdit$))("iconName","groups_24px")("inputValidator",c.collaboratorUserPrincipalValidator)("checkAccessLimits",!0)}},h_a=function(a){if(a&1){var b=v();I(0,"b-multi-user-control",42);S(1,"async");M("userInclusionToggle",function(){w(b);var d=P(2),e=P(2);return x(g_a(e,d))})("valueChange",function(d){w(b);var e=P(2),f=P(2);return x(f.setCcs(e,d))});J()}if(a&2){a=P(2);var c=P(2);E("title","CC")("values",a.cc)("users",a.ccUsers)("includeSelfActionDescription","CC me")("includeSelfActionLongDescription",
"Add yourself to CC")("overlayPosition",c.overlayPositionList)("removeSelfActionDescription","Un-CC me")("removeSelfActionLongDescription","Remove yourself from CC")("collectionHovercardDescription","CC are users who want to receive updates.")("isCurrentUserInCollection",c.isCurrentUserCcd)("isAllowedToEditCollection",U(1,12,c.hasAclToEdit$))("iconName","add_alert_24px")}},i_a=function(a,b){a&1&&K(0,"automatic-change-chip",23);a&2&&(a=P(2),E("issueId",a.issueId)("automaticChange",b))},k_a=function(a,
b){a&1&&(I(0,"div",7),D(1,PZa,2,9,"b-edit-field",11)(2,QZa,3,10,"b-edit-field",12)(3,RZa,1,2,"triage-hotlists-editor",13)(4,SZa,1,3,"triage-custom-fields-editor",14)(5,XZa,5,7,"div",15)(6,YZa,3,8,"b-edit-field",16)(7,ZZa,3,10,"b-edit-field",17)(8,a_a,2,8,"b-list-field",18)(9,b_a,5,5,"div",19)(10,e_a,9,7,"div",20)(11,f_a,2,16,"b-multi-user-control",21)(12,h_a,2,14,"b-multi-user-control",22)(13,i_a,1,2,"automatic-change-chip",23),J());if(a&2){var c;a=b.$implicit;b=P(3);B();G(a===b.IssueFieldKey.SEVERITY?
1:a===b.IssueFieldKey.PRIORITY?2:a===b.IssueFieldKey.HOTLISTS?3:a===b.IssueFieldKey.CUSTOM_FIELDS?4:a===b.IssueFieldKey.ASSIGNEE?5:a===b.IssueFieldKey.TYPE?6:a===b.IssueFieldKey.STATUS?7:a===b.IssueFieldKey.CODE_CHANGES?8:a===b.IssueFieldKey.COMPONENT?9:a===b.IssueFieldKey.COMMENT?10:a===b.IssueFieldKey.COLLABORATORS?11:a===b.IssueFieldKey.CC_LIST?12:-1);B(12);G((c=j_a(b,a))?13:-1,c)}},l_a=function(a){if(a&1){var b=v();I(0,"div",6);yg(1,k_a,14,2,"div",7,xg);J();I(3,"div",8)(4,"button",9);S(5,"async");
M("click",function(){var c=w(b),d=P(2);return x(d.save(c))});Q(6);S(7,"async");J();I(8,"button",10);M("click",function(){w(b);var c=P(2);return x(c.cancelAction.emit())});Q(9,"Cancel");J()()}a&2&&(a=P(2),B(),zg(a.fields),B(3),E("disabled",U(5,2,a.isSaving$)),B(2),Yg(U(7,4,a.isSaving$)?"Saving":"Save changes"))},m_a=function(a){a&1&&(D(0,l_a,10,6),S(1,"async"));if(a&2){var b;a=P();G((b=U(1,1,a.editableIssue$))?0:-1,b)}},n_a=function(a,b){if(a&1){var c=v();I(0,"button",4);M("click",function(){var d=
w(c).$implicit;P(3).onSelect.emit(d);return x()});Q(1);J()}a&2&&(a=b.$implicit,B(),R(" ",a.displayAs," "))},p_a=function(a){a&1&&yg(0,n_a,2,1,"button",3,o_a);a&2&&(P(),a=Hg(2),zg(a))},r_a=function(a,b){if(a&1){var c=v();I(0,"button",2);M("click",function(){var d=w(c).$implicit;P().onSelect.emit(d);return x()});Q(1);J();Gg(2);D(3,p_a,2,0)}a&2&&(a=b.$implicit,B(),R(" ",a.displayAs," "),B(),a=Ala(q_a(a)),B(),G(a.length?3:-1))},s_a=function(a){a&1&&Cg(0)},t_a=function(a){a&1&&D(0,s_a,1,0,"ng-container",
11);a&2&&(P(),a=L(12),E("ngTemplateOutlet",a))},u_a=function(a){a&1&&Cg(0)},v_a=function(a){a&1&&D(0,u_a,1,0,"ng-container",11);a&2&&(P(),a=L(14),E("ngTemplateOutlet",a))},w_a=function(a){a&1&&Cg(0)},x_a=function(a){a&1&&D(0,w_a,1,0,"ng-container",11);a&2&&(P(),a=L(16),E("ngTemplateOutlet",a))},y_a=function(a){a&1&&Cg(0)},z_a=function(a){a&1&&D(0,y_a,1,0,"ng-container",11);a&2&&(P(),a=L(32),E("ngTemplateOutlet",a))},A_a=function(a){a&1&&Cg(0)},B_a=function(a){a&1&&D(0,A_a,1,0,"ng-container",11);a&
2&&(P(),a=L(20),E("ngTemplateOutlet",a))},C_a=function(a){a&1&&Cg(0)},D_a=function(a){a&1&&D(0,C_a,1,0,"ng-container",11);a&2&&(P(),a=L(22),E("ngTemplateOutlet",a))},E_a=function(a){a&1&&Cg(0)},F_a=function(a){a&1&&D(0,E_a,1,0,"ng-container",11);a&2&&(P(),a=L(24),E("ngTemplateOutlet",a))},G_a=function(a){a&1&&Cg(0)},H_a=function(a){a&1&&D(0,G_a,1,0,"ng-container",11);a&2&&(P(),a=L(26),E("ngTemplateOutlet",a))},I_a=function(a){a&1&&Cg(0)},J_a=function(a){a&1&&D(0,I_a,1,0,"ng-container",11);a&2&&(P(),
a=L(28),E("ngTemplateOutlet",a))},K_a=function(a){a&1&&Cg(0)},L_a=function(a){a&1&&D(0,K_a,1,0,"ng-container",11);a&2&&(P(),a=L(18),E("ngTemplateOutlet",a))},M_a=function(a){a&1&&Cg(0)},N_a=function(a){a&1&&D(0,M_a,1,0,"ng-container",11);a&2&&(P(),a=L(30),E("ngTemplateOutlet",a))},O_a=function(a){if(a&1){var b=v();I(0,"div",12)(1,"div",13);Q(2,"Move to Needs more info");J();I(3,"verify-fields",14);M("cancelAction",function(){w(b);var c=P();return x(c.cancelAction.emit())})("completeAction",function(c){w(b);
var d=P();return x(d.finalizeAction.emit(c))});J()()}a&2&&(a=P(),B(3),E("fields",a.NEEDS_MORE_INFO.fieldsToShow)("phase",a.TriagePhase.NEW)("subphase",a.TriageSubphase.NEEDS_INFO)("automaticChanges",a.needsInfoAutomaticChanges)("expandCommentBox",!0)("showAssignToDefault",!1)("showAssignToSelf",!1))},P_a=function(a){if(a&1){var b=v();I(0,"div",12)(1,"div",13);Q(2,"Move to Confirmed");J();I(3,"verify-fields",15);M("cancelAction",function(){w(b);var c=P();return x(c.cancelAction.emit())})("completeAction",
function(c){w(b);var d=P();return x(d.finalizeAction.emit(c))});J()()}a&2&&(a=P(),B(3),E("fields",a.CONFIRM_ACTION.fieldsToShow)("phase",a.TriagePhase.CONFIRMED))},Q_a=function(a){if(a&1){var b=v();I(0,"div",12)(1,"div",13);Q(2,"Move to Pending owner");J();I(3,"verify-fields",15);M("cancelAction",function(){w(b);var c=P();return x(c.cancelAction.emit())})("completeAction",function(c){w(b);var d=P();return x(d.finalizeAction.emit(c))});J()()}a&2&&(a=P(),B(3),E("fields",a.SET_PENDING_OWNER.fieldsToShow)("phase",
a.TriagePhase.CONFIRMED))},R_a=function(a){if(a&1){var b=v();I(0,"div",12)(1,"div",13);Q(2,"Route");J();I(3,"verify-fields",15);M("cancelAction",function(){w(b);var c=P();return x(c.cancelAction.emit())})("completeAction",function(c){w(b);var d=P();return x(d.finalizeAction.emit(c))});J()()}a&2&&(a=P(),B(3),E("fields",a.CHANGE_COMPONENT.fieldsToShow)("phase",a.TriagePhase.NEW))},S_a=function(a){if(a&1){var b=v();I(0,"div",12)(1,"div",13);Q(2,"Move to In progress");J();I(3,"verify-fields",16);M("cancelAction",
function(){w(b);var c=P();return x(c.cancelAction.emit())})("completeAction",function(c){w(b);var d=P();return x(d.finalizeAction.emit(c))});J()()}a&2&&(a=P(),B(3),E("fields",a.SET_IN_PROGRESS.fieldsToShow)("phase",a.TriagePhase.IN_PROGRESS)("showAssignToSelf",a.SET_IN_PROGRESS.showAssignToSelf))},T_a=function(a){if(a&1){var b=v();I(0,"div",12)(1,"div",13);Q(2,"Move to Expected");J();I(3,"verify-fields",16);M("cancelAction",function(){w(b);var c=P();return x(c.cancelAction.emit())})("completeAction",
function(c){w(b);var d=P();return x(d.finalizeAction.emit(c))});J()()}a&2&&(a=P(),B(3),E("fields",a.SET_EXPECTED.fieldsToShow)("phase",a.TriagePhase.IN_PROGRESS)("showAssignToSelf",a.SET_EXPECTED.showAssignToSelf))},U_a=function(a){if(a&1){var b=v();I(0,"div",12)(1,"div",13);Q(2,"Move to Planned");J();I(3,"verify-fields",16);M("cancelAction",function(){w(b);var c=P();return x(c.cancelAction.emit())})("completeAction",function(c){w(b);var d=P();return x(d.finalizeAction.emit(c))});J()()}a&2&&(a=P(),
B(3),E("fields",a.SET_PLANNED.fieldsToShow)("phase",a.TriagePhase.IN_PROGRESS)("showAssignToSelf",a.SET_PLANNED.showAssignToSelf))},V_a=function(a){if(a&1){var b=v();I(0,"div",12)(1,"div",13);Q(2,"Move to Committed");J();I(3,"verify-fields",16);M("cancelAction",function(){w(b);var c=P();return x(c.cancelAction.emit())})("completeAction",function(c){w(b);var d=P();return x(d.finalizeAction.emit(c))});J()()}a&2&&(a=P(),B(3),E("fields",a.SET_COMMITTED.fieldsToShow)("phase",a.TriagePhase.IN_PROGRESS)("showAssignToSelf",
a.SET_COMMITTED.showAssignToSelf))},W_a=function(a){if(a&1){var b=v();I(0,"div",12)(1,"div",13);Q(2,"Move to Fixed");J();I(3,"verify-fields",17);M("cancelAction",function(){w(b);var c=P();return x(c.cancelAction.emit())})("completeAction",function(c){w(b);var d=P();return x(d.finalizeAction.emit(c))});J()()}a&2&&(a=P(),B(3),E("fields",a.SET_FIXED.fieldsToShow)("phase",a.TriagePhase.FIXED)("automaticChanges",a.SET_FIXED.automaticChanges))},X_a=function(a){if(a&1){var b=v();I(0,"div",12)(1,"div",13);
Q(2,"Move to New");J();I(3,"verify-fields",17);M("cancelAction",function(){w(b);var c=P();return x(c.cancelAction.emit())})("completeAction",function(c){w(b);var d=P();return x(d.finalizeAction.emit(c))});J()()}a&2&&(a=P(),B(3),E("fields",a.SET_NEW.fieldsToShow)("phase",a.TriagePhase.NEW)("automaticChanges",a.SET_NEW.automaticChanges))},Y_a=function(a){if(a&1){var b=v();I(0,"div",12)(1,"div",13);Q(2,"Move to Won't fix");J();I(3,"verify-fields",18);M("cancelAction",function(){w(b);var c=P();return x(c.cancelAction.emit())})("completeAction",
function(c){w(b);var d=P();return x(d.finalizeAction.emit(c))});J()()}a&2&&(a=P(),B(3),E("fields",a.SET_WONT_FIX.fieldsToShow)("automaticChanges",a.SET_WONT_FIX.automaticChanges))},Z_a=function(a){a&1&&(I(0,"div",5),K(1,"b-spinner"),J())},$_a=function(a){a&1&&K(0,"code",16);a&2&&(a=P(2).$implicit,P(2),E("innerHtml",Wc(a.formattingModeDiff),uf))},a0a=function(a){a&1&&(I(0,"code",17),Q(1),J());a&2&&(a=P(2).$implicit,B(),R(" ",a.formattingMode," "))},b0a=function(a){a&1&&(I(0,"p",15),Q(1," Formatting: "),
D(2,$_a,1,1,"code",16)(3,a0a,2,1,"code",17),J());a&2&&(a=P(3),B(2),G(a.diffView?2:3))},c0a=function(a){if(a&1){var b=v();I(0,"div")(1,"span",18)(2,"b-person-hovercard",19);S(3,"omitObfuscatedEmail");Q(4);S(5,"appendDomain");J()();I(6,"a",20);M("click",function(c){w(b);var d=P().$implicit,e=P(2);return x(e.updateUrl(c,d.version))});Q(7);J()()}a&2&&(a=P().$implicit,P(2),B(2),E("email",U(3,7,Sj(a.lastEditorUser))),B(2),R(" <",U(5,9,Sj(a.lastEditorUser)),"> "),B(2),lg("aria-label","Comment version ",
a.version,""),Kg("id","bv2-edit-issue-comment-",a.version,""),B(),R(" #",a.version,""))},d0a=function(a){a&1&&(I(0,"div",21),Q(1),J());a&2&&(a=P(2).$implicit,B(),Yg(a.preview))},e0a=function(a){a&1&&(I(0,"div",22),Q(1,"Comment deleted."),J())},f0a=function(a){a&1&&(I(0,"div",23),Q(1,"Comment history restricted."),J())},g0a=function(a){a&1&&D(0,d0a,2,1,"div",21)(1,e0a,2,0,"div",22)(2,f0a,2,0,"div",23);a&2&&(a=P().$implicit,G(a.restricted||a.deleted?-1:0),B(),G(!a.restricted&&a.deleted?1:-1),B(),G(a.restricted?
2:-1))},h0a=function(a){a&1&&(I(0,"div",24),Q(1,"Comment deleted."),J())},i0a=function(a){a&1&&(K(0,"div",26),S(1,"async"));if(a&2){a=P(2).$implicit;var b=P(2);sg("codefont",U(1,3,b.codefont.codefont$));E("innerHtml",a.unlinkifiedComment,uf)}},j0a=function(a){a&1&&(K(0,"div",26),S(1,"async"));if(a&2){a=P(2).$implicit;var b=P(2);sg("codefont",U(1,3,b.codefont.codefont$));E("innerHtml",Wc(a.diff),uf)}},k0a=function(a){a&1&&(I(0,"div",23),Q(1," This comment is not available due to present or past restrictions on the comment. "),
J())},l0a=function(a){a&1&&D(0,h0a,2,0,"div",24)(1,i0a,2,5,"div",25)(2,j0a,2,5,"div",25)(3,k0a,2,0,"div",23);if(a&2){a=P().$implicit;var b=P(2);G(!a.restricted&&a.deleted?0:-1);B();G(b.diffView||a.restricted||a.deleted?-1:1);B();G(!b.diffView||a.restricted||a.deleted?-1:2);B();G(a.restricted?3:-1)}},m0a=function(a,b){if(a&1){var c=v();I(0,"li",9)(1,"div",10);K(2,"b-user-image",11);J();I(3,"div",12);M("click",function(){var d=w(c).$implicit;return x(d.open=!d.open)});K(4,"b-user-display",13)(5,"b-formatted-date-time",
14);D(6,b0a,4,1,"p",15)(7,c0a,8,11,"div")(8,g0a,3,3);J();D(9,l0a,4,4);J()}a&2&&(a=b.$implicit,P(2),sg("comment-version-open",a.open),B(2),E("email",Sj(a.lastEditorUser)),B(2),E("model",a.lastEditorUser),B(),E("timestamp",a.lastModified),B(),G(a.deleted?-1:6),B(),G(a.open?7:8),B(2),G(a.open?9:-1))},n0a=function(a){a&1&&(I(0,"ul",6),yg(1,m0a,10,8,"li",8,wg),J());a&2&&(a=P(),B(),zg(a.history))},q0a=function(a,b){var c=new o0a;a=Er(c,a,b);p0a(c,a);c=a.map(function(d){var e=d[0];d=d[1];switch(e){case -1:return yi("span",
{"class":"diff-removed"},d);case 1:return yi("span",{"class":"diff-added"},d);case 0:return yi("span",{"class":void 0},d);default:throw Error("Se`"+e);}});return xi(c)},r0a=function(a){var b;return((b=a.entityStatus)==null?void 0:b.status)==="DELETED"},s0a=function(a){a&1&&(I(0,"div",2),Q(1," You are about to access a file marked as restricted. Access will be logged and audited. You must delete any downloaded files from local storage when finished. "),I(2,"a",12),Q(3," Learn more "),J()());a&2&&(a=
P(2),B(2),E("href",a.getRestrictedAccessHelpLink(),vf))},u0a=function(a){a&1&&(Ag(0),D(1,s0a,4,1,"div",2),Bg());a&2&&(a=P(),B(),G(t0a(a)?1:-1))},v0a=function(a){a&1&&(I(0,"div",2)(1,"span",13),Q(2," You do not have access to view this attachment. "),J()())},w0a=function(a){a&1&&K(0,"mat-spinner",8)},y0a=function(a,b){b=b===void 0?!0:b;return se(function(c){if(c.nextAddress==1)if(window.crypto.subtle&&b)c=y(c,crypto.subtle.digest("SHA-256",a),3);else{var d=c.return;var e=new x0a;e.update(new Uint8Array(a));
e=(new Uint8Array(e.digest())).buffer;c=d.call(c,e)}else c=c.return(c.yieldResult);return c})},C0a=function(a){var b=a.useSubtleCrypto===void 0?!0:a.useSubtleCrypto;var c=a.parts;var d,e,f,h;return se(function(l){if(l.nextAddress==1){if(c.length===0)throw Error("Xe");d=[];for(e=0;e<c.length;e++)f=c[e],typeof f==="string"?d.push(z0a.encode(f).buffer):d.push(f),e<c.length-1&&d.push(A0a);h=B0a.apply(null,t(d));return y(l,y0a(h,b),2)}return l.return(l.yieldResult)})},D0a=function(){var a=new Uint8Array(10);
crypto.getRandomValues(a);return a},E0a=function(a){return a.reduce(function(b,c){return BigInt(256)*b+BigInt(c)},BigInt(0)).toString(36)},B0a=function(){for(var a=vd.apply(0,arguments),b=0,c=k(a),d=c.next();!d.done;d=c.next())b+=d.value.byteLength;b=new Uint8Array(b);c=0;a=k(a);for(d=a.next();!d.done;d=a.next())d=d.value,b.set(new Uint8Array(d),c),c+=d.byteLength;return b.buffer},F0a=function(a){var b=a.product;var c=a.trustedOrigin;var d=a.salt;var e=a.useSubtleCrypto===void 0?!0:a.useSubtleCrypto;
var f,h,l;return se(function(q){if(q.nextAddress==1)return f=d?d:new ArrayBuffer(0),y(q,C0a({useSubtleCrypto:e,parts:[b,f,c]}),2);h=q.yieldResult;l=new Uint8Array(h);return q.return(E0a(l).padStart(50,"0").slice(0,50))})},G0a=function(a){for(var b=a.trustedOrigin,c=a.product,d=a.fileHash+"-h"+a.version+".scf.usercontent.goog",e=k(d.split(".")),f=e.next();!f.done;f=e.next());a=a.cache?"&cache=1":"";return"https://"+d+"/"+c+"/shim.html?origin="+encodeURIComponent(b)+a},H0a=function(){var a=window.origin;
return typeof a==="string"&&(a.startsWith("https://")||a.startsWith("http://")||a.startsWith("chrome-extension://"))},I0a=function(a){a&1&&(I(0,"span"),Q(1),J());a&2&&(a=P(),sg("muted",a.isGreyedOut),B(),R(" ",a.displayName,""))},J0a=function(a){if(a&1){var b=v();I(0,"a",2);M("click",function(c){w(b);var d=P();return x(d.handleClick(c))});Q(1);J()}a&2&&(a=P(),E("href",a.linkUrl,vf)("rel",a.EXTERNAL_LINK_REL),B(),R(" ",a.displayName,""))},K0a=function(a){a&1&&(I(0,"span",3),Q(1),J());a&2&&(a=P(),jg("aria-label",
a.expandableTabsTitle),B(),Yg(a.expandableTabsTitle))},L0a=function(a){a&1&&K(0,"mat-icon",9)},N0a=function(a){a&1&&Cg(0,10);if(a&2){a=P().$implicit;P();var b=L(13);E("ngTemplateOutlet",b)("ngTemplateOutletContext",eh(2,M0a,a))}},O0a=function(){},P0a=function(a){a&1&&D(0,O0a,0,0,"ng-template")},Q0a=function(a){a&1&&D(0,P0a,1,0,null,11);a&2&&(a=P(2).$implicit,E("ngTemplateOutlet",a.tabIconTemplate))},R0a=function(a){a&1&&(D(0,Q0a,1,1),Cg(1,10));if(a&2){a=P().$implicit;P();var b=L(13);G(a.tabIconTemplate?
0:-1);B();E("ngTemplateOutlet",b)("ngTemplateOutletContext",eh(3,M0a,a))}},S0a=function(a,b){if(a&1){var c=v();I(0,"button",8);S(1,"async");S(2,"async");S(3,"async");M("click",function(){var d=w(c).$implicit,e=P();d=d.key;e.internalExpandedTabs.has(d)?e.internalExpandedTabs.delete(d):e.internalExpandedTabs.add(d);e.expandedTabsChanged.emit(new Set(e.internalExpandedTabs));return x()});D(4,L0a,1,0,"mat-icon",9);S(5,"async");D(6,N0a,1,4,"ng-container",10);S(7,"async");D(8,R0a,2,5);J()}a&2&&(a=b.$implicit,
b=P(),sg("expanded",!!U(1,9,Bq(b.internalExpandedTabs,a.key))),lg("aria-controls","expandable-tabs-",a.key,"-content"),jg("aria-label",a.ariaLabel)("aria-expanded",!!U(2,11,Bq(b.internalExpandedTabs,a.key)))("aria-selected",!!U(3,13,Bq(b.internalExpandedTabs,a.key))),B(4),G(U(5,15,Bq(b.internalExpandedTabs,a.key))?4:-1),B(2),G(U(7,17,Bq(b.internalExpandedTabs,a.key))?6:8))},T0a=function(a,b){if(a&1){var c=v();I(0,"button",12);M("click",function(){w(c);var d=P();return x(d.toggleAll())});Q(1);J()}a&
2&&(a=P(),sg("expandable-tabs-hide-all",b.allTabsExpanded)("expandable-tabs-show-all",!b.allTabsExpanded),jg("aria-label",(b.allTabsExpanded?"Hide all":"Show all")+" "+a.ariaLabel),B(),R(" ",b.allTabsExpanded?"Hide all":"Show all"," "))},U0a=function(){},V0a=function(a){a&1&&D(0,U0a,0,0,"ng-template")},W0a=function(a){a&1&&D(0,V0a,1,0,null,11);a&2&&(a=P(3).$implicit,E("ngTemplateOutlet",a.tabIconTemplate))},X0a=function(a){a&1&&(I(0,"h4"),D(1,W0a,1,1),Cg(2,10),J());if(a&2){a=P(2).$implicit;P();var b=
L(13);B();G(a.tabIconTemplate?1:-1);B();E("ngTemplateOutlet",b)("ngTemplateOutletContext",eh(3,M0a,a))}},Y0a=function(a){a&1&&K(0,"span",15)},Z0a=function(a){a&1&&K(0,"span",15)},$0a=function(){},a1a=function(a){a&1&&D(0,$0a,0,0,"ng-template")},b1a=function(a){a&1&&D(0,a1a,1,0,null,11);a&2&&(a=P(2).$implicit,E("ngTemplateOutlet",a.tabContentTemplate))},d1a=function(a){a&1&&(I(0,"div",14),D(1,X0a,3,5,"h4"),S(2,"async"),D(3,Y0a,1,0,"span",15)(4,Z0a,1,0,"ng-template",null,1,ih)(6,b1a,1,1),J());if(a&
2){var b;a=P().$implicit;var c=P();vg("expandable-tab-content ",a.key,"");Kg("id","expandable-tabs-",a.key,"-content");B();G(((b=U(2,7,c.visibleExpandedTabs$))!==null&&b!==void 0?b:dh(9,c1a)).length>1?1:3);B(5);G(a.tabContentTemplate?6:-1)}},e1a=function(a,b){a&1&&(D(0,d1a,7,10,"div",13),S(1,"async"));a&2&&(a=b.$implicit,b=P(),G(U(1,1,Bq(b.internalExpandedTabs,a.key))?0:-1))},f1a=function(){},g1a=function(a){a&1&&D(0,f1a,0,0,"ng-template")},h1a=function(a){a&1&&D(0,g1a,1,0,null,11);a&2&&(a=P().tab,
E("ngTemplateOutlet",a.tabHeaderTemplate))},i1a=function(a){a&1&&Q(0);a&2&&(a=P().tab,R(" ",a.key," "))},j1a=function(a,b){a&1&&D(0,h1a,1,1)(1,i1a,1,1);a&2&&G(b.tab.tabHeaderTemplate?0:1)},k1a=function(a){a&1&&Q(0);a&2&&(a=P().$implicit,Yg(a.category))},l1a=function(a){a&1&&K(0,"b-markdown-format-presenter",19);a&2&&(a=P(2).$implicit,E("content",a.formattedContent.markdownFormat))},m1a=function(a){a&1&&K(0,"b-literal-format-presenter",19);a&2&&(a=P(2).$implicit,E("content",a.formattedContent.literalFormat))},
n1a=function(a){a&1&&K(0,"b-plain-format-presenter",19);a&2&&(a=P(2).$implicit,E("content",a.formattedContent.plainFormat))},q1a=function(a){if(a&1){var b=v();I(0,"table",4)(1,"tr",5)(2,"td",6);K(3,"b-user-display",7);J();I(4,"td",8)(5,"span",9);K(6,"b-formatted-date-time",10);J();I(7,"button",11);M("click",function(){w(b);var d=P().$implicit,e=P();navigator.clipboard.writeText(d.content);e.trackEvent("copy",o1a(d));e.enrichmentApi.submitEnrichmentFeedback({issueId:d.issueId,attachmentId:d.attachmentId,
category:d.category,feedbackType:"COPY"}).subscribe();return x()});K(8,"mat-icon",12);J();I(9,"button",13);M("click",function(){w(b);var d=P().$implicit,e=P();return x(e.trackThumbsUp(d))});K(10,"mat-icon",14);J();I(11,"button",15);M("click",function(){w(b);var d=P().$implicit,e=P();return x(e.trackThumbsDown(d))});K(12,"mat-icon",16);J()()();I(13,"tr",17)(14,"td",18);D(15,l1a,1,1,"b-markdown-format-presenter",19)(16,m1a,1,1,"b-literal-format-presenter",19)(17,n1a,1,1,"b-plain-format-presenter",19);
J()()()}if(a&2){a=P().$implicit;var c=P();B(3);E("model",a.author);B(3);E("timestamp",a.timestamp);B(3);E("disabled",c.hasReacted(a));B();E("ngClass",eh(9,p1a,c.thumbsUpClicked(a)));B();E("disabled",c.hasReacted(a));B();E("ngClass",eh(11,p1a,c.thumbsDownClicked(a)));B(3);G(a.formattedContent.markdownFormat?15:-1);B();G(a.formattedContent.literalFormat?16:-1);B();G(a.formattedContent.plainFormat?17:-1)}},r1a=function(a,b){a&1&&(I(0,"expandable-tab",1),D(1,k1a,1,1,"ng-template",2)(2,q1a,18,13,"ng-template",
3),J());a&2&&(a=b.$implicit,b=P(),E("key",a.category)("ariaLabel","Toggle "+a.category+" attachment enrichment category for attachment id "+b.attachmentId))},o1a=function(a){return a.issueId+"_"+a.attachmentId+"_"+a.category},u1a=function(a){a&1&&(I(0,"span"),Q(1),I(2,"b"),Q(3),J(),Q(4," on "),I(5,"b"),Q(6),S(7,"date"),J(),Q(8,". "),J());a&2&&(a=P(4),B(),R(" Currently, the ",a.contentType," is scheduled for deletion in "),B(2),Yg(s1a(t1a(a).getTime(),!0)),B(3),Yg(hh(7,3,t1a(a),"longDate")))},v1a=
function(a){a&1&&(Q(0," The retention has "),I(1,"b"),Q(2,"expired"),J(),Q(3),I(4,"b"),Q(5),S(6,"date"),J(),Q(7,". "));a&2&&(a=P(4),B(3),R(" and the ",a.contentType," was scheduled for deletion on "),B(2),Yg(hh(6,2,t1a(a),"longDate")))},w1a=function(a){a&1&&(I(0,"span")(1,"b"),Q(2,"Retention:"),J(),Q(3),I(4,"b"),Q(5),J(),Q(6," from the last modification of the issue. "),D(7,u1a,9,6,"span")(8,v1a,8,5),J());a&2&&(a=P(3),B(3),R(" This ",a.contentType," has a retention period of "),B(2),Yg(a.getRetentionPeriod()),
B(2),G(t1a(a).getTime()<(new tj).getTime()?8:7))},x1a=function(a){a&1&&(I(0,"b"),Q(1,"Retention:"),J(),Q(2));a&2&&(a=P(3),B(2),R(" This ",a.contentType," has an indefinite retention period. "))},y1a=function(a){a&1&&(Q(0),I(1,"b"),Q(2,"overridden"),J(),Q(3," retention period set to match the issue retention period. "));a&2&&(a=P(3),R(" The ",a.contentType," has an "))},z1a=function(a){a&1&&(I(0,"p"),D(1,w1a,9,3,"span")(2,x1a,3,1)(3,y1a,4,1),J());a&2&&(a=P(2),B(),G(a.retentionState&&!a.retentionState.scheduledDeletionTime?
2:1),B(2),G(a.retention===a.retentionModel.INDEFINITE?3:-1))},A1a=function(a){a&1&&(I(0,"div",5)(1,"p")(2,"b"),Q(3,"Restricted Access:"),J(),Q(4),I(5,"a",6),Q(6," Learn More "),J()(),D(7,z1a,4,2,"p"),J());a&2&&(a=P(),B(4),R(" This ",a.contentType," is only available to users with the appropriate permissions. "),B(),E("rel",a.EXTERNAL_LINK_REL),jg("href",a.documentationLinks.getRestrictedAccessHelpLink(),vf),B(2),G(a.retentionState?7:-1))},B1a=function(a){a&1&&(I(0,"mat-icon",9),Q(1),J());a&2&&(a=
P(2),B(),Yg(a.actionBtnIcon))},C1a=function(a){if(a&1){var b=v();I(0,"button",6);M("click",function(){w(b);var c=P();return x(c.action.emit())});I(1,"span",7);Q(2);D(3,B1a,2,1,"mat-icon",8);J()()}a&2&&(a=P(),B(2),R(" ",a.actionBtnText," "),B(),E("ngIf",a.actionBtnIcon))},D1a=function(a){if(a&1){var b=v();I(0,"onedev-feature-tooltip-body",1);M("action",function(){w(b);var c=P();return x(c.action.emit())})("dismiss",function(){w(b);var c=P();c.hideFeatureTooltip();c.dismiss.emit();return x()});Jg(1);
J()}a&2&&(a=P(),E("actionBtnText",a.actionBtnText)("actionBtnIcon",a.actionBtnIcon)("color",a.color)("pointerPosition",a.pointerPosition)("widthOffset",a.widthOffset))},E1a=function(a,b){return new Promise(function(c){var d=function(e){e.source===a.contentWindow&&e.data===b&&(window.removeEventListener("message",d),c(e))};window.addEventListener("message",d)})},G1a=function(a){var b=Vq(document,"IFRAME");if(!b.sandbox)throw Error("ef");b.sandbox.value="allow-scripts";b.sandbox.supports&&b.sandbox.add&&
b.sandbox.supports("allow-downloads")&&b.sandbox.add("allow-downloads");if(F1a==""){var c=Uc('<!DOCTYPE html><body><input type="hidden" id="nonce" value="'+wi(a)+'" /><script nonce="'+wi(Eea(window))+'">var g=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},h=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("Cannot find global object");},k=h(this),l=function(a,b){if(b)a:{var c=k;a=a.split(".");for(var d=0;d<a.length-\n1;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&&g(c,a,{configurable:!0,writable:!0,value:b})}},m=function(){for(var a=Number(this),b=[],c=a;c<arguments.length;c++)b[c-a]=arguments[c];return b};l("globalThis",function(a){return a||k});/*\n\n Copyright Google LLC\n SPDX-License-Identifier: Apache-2.0\n*/\nvar n=globalThis.trustedTypes,p;function q(){var a=null;if(!n)return a;try{var b=function(c){return c};a=n.createPolicy("goog#html",{createHTML:b,createScript:b,createScriptURL:b})}catch(c){}return a};var r=function(a){this.g=a};r.prototype.toString=function(){return this.g+""};function t(a){p===void 0&&(p=q());var b=p;return new r(b?b.createScript(a):a)}function u(a){if(a instanceof r)return a.g;throw Error("");};function v(a,b){a.textContent=u(b);var c;b=a.ownerDocument;b=b===void 0?document:b;var d;b=(d=(c="document"in b?b.document:b).querySelector)==null?void 0:d.call(c,"script[nonce]");(c=b==null?"":b.nonce||b.getAttribute("nonce")||"")&&a.setAttribute("nonce",c)};var w=function(a){var b=m.apply(1,arguments),c,d;"evalCspCompatiblyData"in window||(window.evalCspCompatiblyData={index:0});var e=window.evalCspCompatiblyData.index++;window.evalCspCompatiblyData[e]={args:b,callback:function(f,x){c=f;d=x}};b=document.createElement("script");b.async=!1;b.setAttribute("data-index",e);e=\'"use strict";\\v(function(){var idx=parseInt((document.currentScript||Array.prototype.slice.call(document.querySelectorAll("head script[data-index]"),-1)[0]).getAttribute("data-index"),10),curEvalData=evalCspCompatiblyData[idx];delete evalCspCompatiblyData[idx];(function(){var callback=curEvalData.callback;try{callback(true,(\'+\nString(u(a))+"\\n));}catch(ex){callback(false, ex);}}).apply(this, curEvalData.args);})()";e=t(e);v(b,e);e=function(f){c=!1;d=f.error||f};window.addEventListener("error",e);document.head.appendChild(b);window.removeEventListener("error",e);document.head.removeChild(b);if(!c)throw d;return d};var y=document.getElementById("nonce"),z=y?y.value:(new URL(location.href)).searchParams.get("nonce");function A(){if(self.origin)return self.origin=="null";if(location.host!="")return!1;try{return window.parent.escape(""),!1}catch(a){return!0}}\n(function(){if(!A())throw"sandboxing error";var a=new MessageChannel;a.port1.onmessage=function(c){try{var d=w.apply(null,[t("(function("+c.data.paramNames.join(", ")+") {\\n"+c.data.code+"\\n}).apply(null, arguments)")].concat(c.data.values));c.ports[0].postMessage({result:d})}catch(e){c.ports[0].postMessage({error:e.toString()})}};var b="*";location.protocol=="chrome-extension:"&&(b=location.origin);window.parent.postMessage(z,b,[a.port2])})();\n\x3c/script></body>');
a=Lc("data:text/html;charset=UTF-8;base64,"+btoa(c.toString()));b.srcdoc=Wc(c)}else{c=new Map([["nonce",a]]);var d=Mc(F1a).toString();var e=d.split(/[?#]/),f=/[?]/.test(d)?"?"+e[1]:"";a=e[0];d=/[#]/.test(d)?"#"+(f?e[2]:e[1]):"";a=Hqa(a,f,d,c)}Dea(b,a);b.style.cssText="height: 0; left: 0; position: absolute; top: 0; width: 0;";b.setAttribute("aria-hidden","true");return b},H1a=function(){return new Promise(function(a){setTimeout(a,500)})},I1a=function(a){a&1&&K(0,"b-restricted-chip",6);a&2&&(a=P(),
E("label",a.getRestrictedLabel())("retentionState",a.attachment==null?null:a.attachment.piiRetentionState)("contentType","attachment"))},J1a=function(a){a&1&&(I(0,"span",7),K(1,"b-actions-menu",13),J());a&2&&(a=P(),B(),E("menuItems",a.actionMenuItems)("buttonLabel","Attachment actions")("matTooltip","Attachment actions"))},M1a=function(a){if(a&1){var b=v();I(0,"span")(1,"b-conditional-link",14);M("customHandler",function(){w(b);var c=P();return x(c.viewAttachment())});J()()}a&2&&(a=P(),vg("bv2-issue-attachment-link ",
K1a(a),""),B(),E("isGreyedOut",!a.hasViewAccess)("displayName","View")("linkUrl",L1a(a,!1))("linkEnabled",!0)("useCustomHandler",!0))},O1a=function(a){if(a&1){var b=v();I(0,"span")(1,"b-conditional-link",14);M("customHandler",function(){w(b);var c=P();return x(N1a(c))});J()();I(2,"span",15)(3,"button",16);M("click",function(){w(b);var c=P(),d;if((d=c.attachment)==null||!d.attachmentId)throw Error("ff");d=Fr(c.trackerHelpers,c.issueId)+"#attachment"+c.attachment.attachmentId;c.clipboard.copy(d);c.snackBar.open("Link to attachment copied to clipboard",
"",{duration:2E3});return x()});K(4,"b-icon",17);J()()}a&2&&(a=P(),vg("bv2-issue-attachment-link ",K1a(a),""),B(),E("isGreyedOut",!a.hasViewAccess)("displayName","Download")("linkUrl",L1a(a,!0))("linkEnabled",!0)("useCustomHandler",!0))},P1a=function(a){a&1&&(I(0,"span",11)(1,"a",18),K(2,"mat-icon",19),J()());a&2&&(a=P(),B(),E("href",a.documentationLinks.getRestrictedAccessHelpLink(),vf)("disableRipple",!0),B(),E("svgIcon","help-outline"))},Q1a=function(a){a&1&&(I(0,"div",20),Q(1," You do not have access to this restricted attachment. "),
I(2,"a",21),Q(3,"Learn more"),J()());a&2&&(a=P(),B(2),E("href",a.documentationLinks.getRestrictedAccessHelpLink(),vf))},R1a=function(a){a&1&&K(0,"attachment-preview",12);a&2&&(a=P(),E("issueId",a.issueId)("attachmentId",a.attachment==null?null:a.attachment.attachmentId.toString())("mimeType",a.attachment==null?null:a.attachment.contentType))},T1a=function(a){a&1&&(I(0,"onedev-feature-tooltip-controller")(1,"onedev-feature-tooltip",23)(2,"p",24),Q(3,"Attachment analysis"),J(),Q(4," See agent-generated attachment analysis alongside your files. "),
J()());a&2&&(a=P(3),B(),E("customPositions",fh(2,S1a,a.TOOLTIP_POSITIONS.BOTTOM_LEFT,a.TOOLTIP_POSITIONS.TOP_LEFT))("tooltipId",a.ATTACHMENT_ENRICHMENTS_FEATURE_TOOLTIP_ID))},U1a=function(a){a&1&&(D(0,T1a,5,5,"onedev-feature-tooltip-controller"),K(1,"b-attachment-enrichments",22));if(a&2){a=P();var b=P();G(b.showFeatureTooltip?0:-1);B();E("onedevFeatureTooltip",b.ATTACHMENT_ENRICHMENTS_FEATURE_TOOLTIP_ID)("hideTooltipWhenAnchorNotVisible",!0)("issueId",b.issueId)("attachmentId",b.attachment.attachmentId.toString())("attachmentEnrichments",
a)}},V1a=function(a,b){a&1&&D(0,U1a,2,6);a&2&&(a=P(),b=a.isActive()&&a.hasViewAccess&&b&&b.length>0,G(b?0:-1))},X1a=function(a){var b,c,d;a=(d=(b=a.snapshot)==null?void 0:(c=b[0])==null?void 0:c.hotlistId)!=null?d:[];if(a.length===0)return!1;var e,f=(e=W1a.allowedHotlistIds)!=null?e:[];return a.some(function(h){return f.includes(h)})},a2a=function(a){var b=Gr(a,"Content-Type");if(!b)return null;b=b.toLowerCase();if(b.startsWith("application/json"))return b.startsWith("application/json+protobuf")?
new Hr:new Y1a;if(b.startsWith("application/x-protobuf")){a=Gr(a,"Content-Transfer-Encoding");if(!a)return new Z1a;if(a.toLowerCase()=="base64")return new $1a}return null},c2a=function(){return function(a){return{response:a.getMutableResponse().getText(),citationResources:b2a(a.getMutableResponse())}}},b2a=function(a){return lk(a,d2a,13,Uj()).filter(function(b){return Jm(b,e2a,6,f2a)}).flatMap(function(b){var c;if(b==null)b=void 0;else{var d;(c=um(b,e2a,6,f2a))==null?d=void 0:d=lk(c,g2a,1,Uj());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:Ak(b,6))!=null?f:!1}})},h2a=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}},i2a=function(a){a&1&&K(0,"mat-icon",17)},j2a=function(a){a&1&&K(0,"img",18);a&2&&(a=P().$implicit,E("src",a.iconUrl,vf))},k2a=function(a,b){if(a&1){var c=v();I(0,"div",15);D(1,i2a,1,0,"mat-icon",17)(2,j2a,1,1,"img",18);I(3,"a",19);M("click",function(){w(c);P(5).analytics.trackEvent("helpMeFix","click","citationClickFromPreview");return x()});Q(4);J()()}a&2&&(a=b.$implicit,B(),G(a.isExternalDocument?1:2),B(2),E("href",a.url,vf),B(),R(" ",
a.citationTitle," "))},l2a=function(a){a&1&&(I(0,"div",16),Q(1),J());a&2&&(a=P(2),B(),R(" +",a.length-2," "))},m2a=function(a){a&1&&(I(0,"div",13),Q(1),J(),I(2,"div",14),yg(3,k2a,5,3,"div",15,xg),D(5,l2a,2,1,"div",16),J());a&2&&(a=P(),B(),Zg(" Found ",a.length," related source",a.length===1?"":"s"," "),B(2),zg(a.slice(0,2)),B(2),G(a.length>2?5:-1))},n2a=function(a,b){a&1&&D(0,m2a,6,3);a&2&&G(b.length>0?0:-1)},o2a=function(a,b){if(a&1){var c=v();D(0,n2a,1,1);S(1,"async");I(2,"div",8)(3,"div",9);K(4,
"b-markdown-format-presenter",10);J();I(5,"div",11)(6,"button",12);M("click",function(){w(c);var e=P(2);return x(e.openHelpMeFixSidebar())});Q(7," View summary and suggested fix ");J()()()}if(a&2){var d;a=P(2);G((d=U(1,2,a.citations$))?0:-1,d);B(4);E("content",b)}},p2a=function(a){a&1&&K(0,"b-spinner",7)},r2a=function(a){if(a&1){var b=v();I(0,"div",0)(1,"header",1)(2,"div",2);K(3,"mat-icon",3);I(4,"h4",4);Q(5,"Help me fix");J()();I(6,"button",5);M("click",function(){w(b);var d=P();q2a(d.helpMeFixPreviewService);
d.analytics.trackEvent("helpMeFix","click","hidePreview");return x()});K(7,"mat-icon",6);J()();D(8,o2a,8,4);S(9,"async");D(10,p2a,1,0,"b-spinner",7);J()}if(a&2){var c;a=P();B(8);G((c=U(9,1,a.llmResponseMarkdown$))?8:10,c)}},s2a=function(a){if(a&1){var b=v();I(0,"button",1);M("click",function(){w(b);var c=P();q2a(c.helpMeFixPreviewService);return x()});K(1,"mat-icon",2);Q(2," Help me fix ");J()}},t2a=function(a){if(a&1){var b=v();I(0,"button",1);M("click",function(){w(b);var c=P();return x(c.openHelpMeFixSidebar())});
K(1,"mat-icon",2);Q(2);S(3,"async");J()}a&2&&(a=P(),B(2),R(" ",U(3,1,a.buttonText$)," "))},v2a=function(a){if(a&1){var b=v();I(0,"button",17,1);M("click",function(){w(b);var c=P(2);return x(u2a(c))});Q(2," Edit ");J()}},w2a=function(a,b){a&1&&(K(0,"b-user-display",18),I(1,"onedev-hovercard",null,2),K(3,"b-issue-person-card",19),S(4,"async"),J(),Q(5," created issue "));if(a&2){var c;a=L(2);var d=P(2);E("onedevHovercardTrigger",a)("model",b);B(3);E("email",(c=U(4,3,d.originalAuthorEmail$))!==null&&
c!==void 0?c:"")}},x2a=function(a,b){a&1&&(Q(0," on behalf of "),K(1,"b-user-display-name",20));a&2&&(B(),E("email",b)("showEmail",!1))},y2a=function(a){a&1&&(D(0,x2a,2,2),S(1,"async"));if(a&2){var b;a=P(2);G((b=U(1,1,a.onBehalfOfEmail$))?0:-1,b)}},z2a=function(a,b){if(a&1){var c=v();I(0,"a",21);M("click",function(d){var e=w(c);P(2).issueReferenceResolver.visit({issueId:e,elementId:"comment1",event:d});return x()});Q(1);J()}a&2&&(a=P(),P(),E("routerLinkObj",Pp(b,{comment:1})),jg("aria-label","Comment number"+
a.commentNumber),B(),R(" #",a.commentNumber,""))},A2a=function(a,b){a&1&&(Q(0," by "),K(1,"b-user-display",18),I(2,"onedev-hovercard",null,3),K(4,"b-issue-person-card",19),J());if(a&2){var c;a=L(3);B();E("onedevHovercardTrigger",a)("model",b);B(3);E("email",(c=b.emailAddress)!==null&&c!==void 0?c:"")}},B2a=function(a){a&1&&(I(0,"span",12),S(1,"async"),Q(2," \u2022 Edited "),D(3,A2a,5,3),S(4,"async"),J());if(a&2){var b;a=P(2);E("matTooltip",U(1,2,a.editedTooltipText$));B(3);G((b=U(4,4,a.lastNonCreatorCommentEditorUser$))?
3:-1,b)}},C2a=function(a){a&1&&K(0,"help-me-fix-preview-button",13)},D2a=function(a){a&1&&(I(0,"p",16),Q(1," Description has been deleted. "),J())},E2a=function(a){if(a&1){var b=v();I(0,"b-restricted-comment-placeholder",23);S(1,"async");M("onConfirm",function(){w(b);var c=P(),d=P(3),e=P();return x(e.loadRestrictedComment(c,d))});J()}a&2&&(a=P(5),E("disabled",!U(1,1,a.mayReadPii$)))},F2a=function(a){a&1&&(D(0,E2a,2,3,"b-restricted-comment-placeholder",22),S(1,"async"));a&2&&(a=P(4),G(U(1,1,a.shouldShowRestrictedPlaceholder$)?
0:-1))},G2a=function(a){a&1&&(D(0,F2a,2,3),S(1,"async"));if(a&2){var b;a=P(3);G((b=U(1,1,a.id$))?0:-1,b)}},H2a=function(a){a&1&&K(0,"help-me-fix-preview")},I2a=function(a){a&1&&K(0,"smart-help-me-fix-button")},J2a=function(a,b){a&1&&(K(0,"b-note-container",25),S(1,"async"));if(a&2){a=P();var c=P(4);E("issueId",a)("issueAccessLevel",U(1,5,c.accessLevel$))("note",b)("formattingMode",c.formattingMode)("canEditComment",c.canEditComment())}},K2a=function(a){a&1&&(D(0,J2a,2,7,"b-note-container",25),S(1,
"async"),S(2,"async"));if(a&2){var b;a=P(4);G((b=U(1,1,a.hasDescription$)&&U(2,3,a.firstNote$))?0:-1,b)}},L2a=function(a){a&1&&Q(0," Add one. ")},M2a=function(a){a&1&&(I(0,"p",24),Q(1," No description yet. "),D(2,L2a,1,0),J());a&2&&(a=P(4),B(2),G(a.canEditComment()?2:-1))},N2a=function(a){a&1&&(D(0,H2a,1,0,"help-me-fix-preview")(1,I2a,1,0,"smart-help-me-fix-button")(2,K2a,3,5),S(3,"async"),D(4,M2a,3,1,"p",24),S(5,"async"));if(a&2){var b;a=P(3);G(a.enableHelpMeFixSummary?0:1);B(2);G((b=U(3,3,a.id$))?
2:-1,b);B(2);G(U(5,5,a.hasDescription$)?-1:4)}},O2a=function(a){a&1&&(D(0,G2a,2,3),S(1,"async"),D(2,N2a,6,7));a&2&&(a=P(2),G(U(1,1,a.isRedacted$)?0:2))},P2a=function(a,b){a&1&&(K(0,"b-attachment-viewer",28),S(1,"async"));if(a&2){var c;a=P().$implicit;var d=P(4);E("issueId",b)("attachment",a)("attachmentUploader",(c=U(1,3,d.originalAuthorEmail$))!==null&&c!==void 0?c:"")}},Q2a=function(a,b){a&1&&(I(0,"div",27),D(1,P2a,2,5,"b-attachment-viewer",28),S(2,"async"),J());if(a&2){var c;a=b.$implicit;b=P(4);
Kg("id","attachment",a.attachmentId,"");B();G((c=U(2,3,b.id$))?1:-1,c)}},R2a=function(a){a&1&&(I(0,"div",26),yg(1,Q2a,3,5,"div",27,xg),J());a&2&&(a=P(),B(),zg(a))},S2a=function(a,b){a&1&&D(0,R2a,3,0,"div",26);a&2&&G(b.length?0:-1)},U2a=function(a,b){a&1&&(I(0,"div",4),K(1,"mat-icon",5),I(2,"div",6)(3,"div",7)(4,"div",8)(5,"h4",9),Q(6,"Description"),J(),D(7,v2a,3,0,"button",10)(8,w2a,6,5),S(9,"async"),D(10,y2a,2,3),S(11,"async"),D(12,z2a,2,3,"a",11),S(13,"async"),D(14,B2a,5,6,"span",12),S(15,"async"),
J(),I(16,"div"),D(17,C2a,1,0,"help-me-fix-preview-button",13),K(18,"b-formatted-date-time",14)(19,"b-actions-menu",15,0),S(21,"async"),J()(),D(22,D2a,2,0,"p",16),S(23,"async"),D(24,O2a,3,3)(25,S2a,1,1),S(26,"async"),J()());if(a&2){var c,d,e,f;a=P();B(7);G(a.canEditComment()?7:-1);B();G((c=U(9,11,a.originalAuthor$))?8:-1,c);B(2);G(U(11,13,a.isAuthorNotReporter$)?10:-1);B(2);G((d=b.commentNumber&&U(13,15,a.id$))?12:-1,d);B(2);G(U(15,17,a.isShowCommentHistoryActionInMenu$)?14:-1);B(3);G(a.enableHelpMeFixSummary?
17:-1);B();E("timestamp",b.modifiedDate);B();E("buttonLabel","Description actions")("menuItems",(e=U(21,19,a.commentActionMenuItems$))!==null&&e!==void 0?e:dh(25,T2a));B(3);G(U(23,21,a.isDeleted$)?22:24);B(3);G((f=U(26,23,a.attachments$))?25:-1,f)}},V2a=function(a){a&1&&K(0,"b-spinner")},W2a=function(a){a&1&&(Ag(0),Q(1," reacted"),Bg())},X2a=function(a){a&1&&(Ag(0),Q(1,", "),K(2,"br"),Bg())},Y2a=function(a,b){a&1&&(I(0,"div"),Ag(1),Q(2),Bg(),D(3,W2a,2,0,"ng-container")(4,X2a,3,0,"ng-container"),J());
if(a&2){a=b.$implicit;var c=b.$index;b=b.$count;B(2);R(" ",a,"");B();G(c===b-1?3:4)}},Z2a=function(a){a&1&&(Ag(0),Q(1),Bg());a&2&&(a=P(2),B(),R(" by ",Pj(a.event.lastCommentEditorUser),""))},$2a=function(a){a&1&&(Ag(0),Q(1,"Message last modified"),Bg(),D(2,Z2a,2,1,"ng-container"),Ag(3),Q(4," on "),K(5,"b-formatted-date-time",0),Bg());a&2&&(a=P(),B(2),G(a.event.version===0&&a.event.lastCommentEditorUser?2:-1),B(3),E("timestamp",a.event.commentLastModifiedAtDate))},a3a=function(a){a&1&&K(0,"b-user-email",
0);a&2&&(a=P().$implicit,E("email",a.text)("withProfile",!0))},b3a=function(a){a&1&&(I(0,"b-issue-reference-widget",1),Q(1),J());if(a&2){a=P().$implicit;var b=P();E("href",Qq.viewIssue.makeHref(a.text))("issueId",b.getIssueId(a));B();Yg(a.text)}},c3a=function(a){a&1&&(Ag(0),Q(1),Bg());a&2&&(a=P().$implicit,B(),Yg(a.text))},d3a=function(a,b){a&1&&D(0,a3a,1,2,"b-user-email",0)(1,b3a,2,3,"b-issue-reference-widget",1)(2,c3a,2,1,"ng-container");if(a&2){var c;G((c=b.$implicit.tag)==="user"?0:c==="bug"?
1:2)}},Ir=function(a){var b;a=a==null?void 0:(b=a.accessLimit)==null?void 0:b.accessLevel;return a==="EXTERNAL_PARTNER"||a==="EXTERNAL_PUBLIC"},e3a=function(a){var b;return(a==null?void 0:(b=a.accessLimit)==null?void 0:b.accessLevel)==="EXTERNAL_PARTNER"},Jr=function(a){var b;return(a==null?void 0:(b=a.accessLimit)==null?void 0:b.accessLevel)==="EXTERNAL_PUBLIC"},f3a=function(a,b){return a?a.join(" > "):String(b)},g3a=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""}},h3a=function(a){a&1&&(Ag(0),K(1,"b-component-card",4,1),Bg());if(a&2){a=L(2);var b=P();B();E("onedevIsHovercardReady",a.init)("componentId",b.id)}},i3a=function(a){a&1&&(I(0,"span"),Q(1),J());if(a&2){var b;a=P(5);B();Yg((b=a.effortSpecName)!==
null&&b!==void 0?b:"Estimated Effort")}},j3a=function(a){a&1&&(I(0,"span"),Q(1,"Estimated Effort (disabled)"),J())},k3a=function(a){a&1&&(I(0,"label"),D(1,i3a,2,1,"span")(2,j3a,2,0,"span"),Q(3," :\u200b "),J());a&2&&(a=P(4),B(),G(a.effortEnabled?1:2))},l3a=function(a){a&1&&(I(0,"label"),Q(1),J());a&2&&(a=P(3).$implicit,B(),R("",a.displayName,":\u200b"))},m3a=function(a){a&1&&(I(0,"span"),K(1,"b-user-display-name",7),J());a&2&&(a=P(),B(),E("email",a)("showEmail",!0))},n3a=function(a){a&1&&K(0,"plain-component-path",
5);a&2&&(a=P(4).$implicit,E("id",a.oldValue))},o3a=function(a){a&1&&K(0,"b-formatted-date-time",8);if(a&2){a=P(2);var b=P(4);E("timestamp",b.asNumber(a)*1E3)}},p3a=function(a){a&1&&(I(0,"span"),Q(1,"[Issue creation date]"),J())},q3a=function(a){a&1&&(I(0,"span"),D(1,o3a,1,1,"b-formatted-date-time",8)(2,p3a,2,0,"span"),J());a&2&&(a=P(),B(),G(a!=="<none>"?1:-1),B(),G(a==="<none>"?2:-1))},r3a=function(a){a&1&&K(0,"b-formatted-date-time",8);if(a&2){a=P(2);var b=P(4);E("timestamp",b.asNumber(a)*1E3)}},
s3a=function(a){a&1&&(I(0,"span"),Q(1,"[Unset]"),J())},t3a=function(a){a&1&&(I(0,"span"),D(1,r3a,1,1,"b-formatted-date-time",8)(2,s3a,2,0,"span"),J());a&2&&(a=P(),B(),G(a!=="<none>"?1:-1),B(),G(a==="<none>"?2:-1))},u3a=function(a){a&1&&(I(0,"span"),Q(1),J());a&2&&(a=P(),P(4),B(),Yg(Cr(a)))},v3a=function(a){a&1&&(I(0,"span"),Q(1),J());a&2&&(a=P(),B(),Yg(a))},w3a=function(a){a&1&&(D(0,m3a,2,2,"span")(1,n3a,1,1,"plain-component-path",5)(2,q3a,3,2,"span")(3,t3a,3,2,"span")(4,u3a,2,1,"span")(5,v3a,2,1,
"span"),Ag(6),Q(7,"\u00a0"),Bg(),K(8,"span",6),Ag(9),Q(10,"\u00a0"),Bg());a&2&&(a=P(3).$implicit,G(a.isUser?0:-1),B(),G(a.name==="component"?1:-1),B(),G(a.name=="sloStartTime"?2:-1),B(),G(a.name=="sloEndTime"?3:-1),B(),G(a.name==="access_limit"?4:-1),B(),G(a.isUser||a.name==="component"||a.name==="sloStartTime"||a.name==="sloEndTime"||a.name==="access_limit"?-1:5))},x3a=function(a){a&1&&K(0,"b-user-display-name",7);a&2&&(a=P(),E("email",a)("showEmail",!0))},y3a=function(a){a&1&&(I(0,"span"),K(1,"plain-component-path",
5),J());a&2&&(a=P(4).$implicit,B(),E("id",a.newValue))},z3a=function(a){a&1&&K(0,"b-formatted-date-time",8);if(a&2){a=P(2);var b=P(4);E("timestamp",b.asNumber(a)*1E3)}},A3a=function(a){a&1&&(I(0,"span"),Q(1,"[Issue creation date]"),J())},B3a=function(a){a&1&&(I(0,"span"),D(1,z3a,1,1,"b-formatted-date-time",8)(2,A3a,2,0,"span"),J());a&2&&(a=P(),B(),G(a!=="<none>"?1:-1),B(),G(a==="<none>"?2:-1))},C3a=function(a){a&1&&K(0,"b-formatted-date-time",8);if(a&2){a=P(2);var b=P(4);E("timestamp",b.asNumber(a)*
1E3)}},D3a=function(a){a&1&&(I(0,"span"),Q(1,"[Unset]"),J())},E3a=function(a){a&1&&(I(0,"span"),D(1,C3a,1,1,"b-formatted-date-time",8)(2,D3a,2,0,"span"),J());a&2&&(a=P(),B(),G(a!=="<none>"?1:-1),B(),G(a==="<none>"?2:-1))},F3a=function(a){a&1&&(I(0,"span"),Q(1),J());a&2&&(a=P(),P(4),B(),Yg(Cr(a)))},H3a=function(a){a&1&&(I(0,"span",9),Q(1),J());if(a&2){a=P();var b=P(3).$implicit;E("ngClass",eh(2,G3a,b.oldValue&&b.name=="title"));B();Yg(a)}},I3a=function(a){a&1&&D(0,x3a,1,2,"b-user-display-name",7)(1,
y3a,2,1,"span")(2,B3a,3,2,"span")(3,E3a,3,2,"span")(4,F3a,2,1,"span")(5,H3a,2,4,"span",9);a&2&&(a=P(3).$implicit,G(a.isUser?0:-1),B(),G(a.name==="component"?1:-1),B(),G(a.name==="sloStartTime"?2:-1),B(),G(a.name==="sloEndTime"?3:-1),B(),G(a.name==="access_limit"?4:-1),B(),G(a.isUser||a.name=="component"||a.name=="sloStartTime"||a.name=="sloEndTime"||a.name=="access_limit"?-1:5))},J3a=function(a){a&1&&(I(0,"div",4),D(1,k3a,4,1,"label")(2,l3a,2,1,"label")(3,w3a,11,6)(4,I3a,6,6),J());if(a&2){var b,c;
a=P(2).$implicit;B();G(a.name==="effort"?1:2);B(2);G((b=a.oldValue)?3:-1,b);B();G((c=a.newValue)?4:-1,c)}},K3a=function(a){a&1&&(I(0,"span"),Q(1,", "),J())},L3a=function(a,b){a&1&&(I(0,"span"),K(1,"b-user-display-name",7),D(2,K3a,2,0,"span"),J());if(a&2){a=b.$implicit;var c=b.$index;b=b.$count;B();E("email",a)("showEmail",!0);B();G(c!==b-1?2:-1)}},M3a=function(a){a&1&&(I(0,"span"),yg(1,L3a,3,3,"span",null,xg),J());a&2&&(a=P(4).$implicit,B(),zg(a.added))},N3a=function(a){a&1&&(I(0,"span"),Q(1,", "),
J())},O3a=function(a,b){a&1&&(I(0,"span")(1,"span"),Q(2),J(),D(3,N3a,2,0,"span"),J());if(a&2){a=b.$implicit;var c=b.$index;b=b.$count;B(2);Yg(a);B();G(c!==b-1?3:-1)}},P3a=function(a){a&1&&(I(0,"span"),yg(1,O3a,4,2,"span",null,xg),J());a&2&&(a=P(4).$implicit,B(),zg(a.added))},Q3a=function(a){a&1&&(I(0,"div")(1,"label"),Q(2),J(),D(3,M3a,3,0,"span")(4,P3a,3,0,"span"),J());a&2&&(a=P(3).$implicit,B(2),R("+",a.displayName,":\u200b"),B(),G(a.isUser?3:4))},R3a=function(a){a&1&&(I(0,"span"),Q(1,", "),J())},
S3a=function(a,b){a&1&&(I(0,"span"),K(1,"b-user-display-name",7),D(2,R3a,2,0,"span"),J());if(a&2){a=b.$implicit;var c=b.$index;b=b.$count;B();E("email",a)("showEmail",!0);B();G(c!==b-1?2:-1)}},T3a=function(a){a&1&&(I(0,"span"),yg(1,S3a,3,3,"span",null,xg),J());a&2&&(a=P(4).$implicit,B(),zg(a.removed))},U3a=function(a){a&1&&(I(0,"span"),Q(1,", "),J())},V3a=function(a,b){a&1&&(I(0,"span")(1,"span"),Q(2),J(),D(3,U3a,2,0,"span"),J());if(a&2){a=b.$implicit;var c=b.$index;b=b.$count;B(2);Yg(a);B();G(c!==
b-1?3:-1)}},W3a=function(a){a&1&&(I(0,"span"),yg(1,V3a,4,2,"span",null,xg),J());a&2&&(a=P(4).$implicit,B(),zg(a.removed))},X3a=function(a){a&1&&(I(0,"div")(1,"label"),Q(2),J(),D(3,T3a,3,0,"span")(4,W3a,3,0,"span"),J());a&2&&(a=P(3).$implicit,B(2),R("-",a.displayName,":\u200b"),B(),G(a.isUser?3:4))},Y3a=function(a){a&1&&(I(0,"div",4),D(1,Q3a,5,2,"div")(2,X3a,5,2,"div"),J());if(a&2){a=P(2).$implicit;var b=P();B();G(a.added&&a.added.length&&b.isStringArray(a.added)?1:-1);B();G(a.removed&&a.removed.length&&
b.isStringArray(a.removed)?2:-1)}},Z3a=function(a){a&1&&Cg(0)},a4a=function(a,b){a&1&&(I(0,"span"),D(1,Z3a,1,0,"ng-container",10),J());if(a&2){a=b.$implicit;var c=b.$index;b=b.$count;var d=P(4).$implicit;P();var e=L(4);B();E("ngTemplateOutlet",e)("ngTemplateOutletContext",gh(2,$3a,d,a,c===b-1))}},b4a=function(a){a&1&&(I(0,"div")(1,"label"),Q(2),J(),yg(3,a4a,2,6,"span",null,xg),J());a&2&&(a=P(3).$implicit,B(2),R("+",a.displayName,":\u200b"),B(),zg(a.added))},c4a=function(a){a&1&&Cg(0)},d4a=function(a,
b){a&1&&(I(0,"span"),D(1,c4a,1,0,"ng-container",10),J());if(a&2){a=b.$implicit;var c=b.$index;b=b.$count;var d=P(4).$implicit;P();var e=L(4);B();E("ngTemplateOutlet",e)("ngTemplateOutletContext",gh(2,$3a,d,a,c===b-1))}},e4a=function(a){a&1&&(I(0,"div")(1,"label"),Q(2),J(),yg(3,d4a,2,6,"span",null,xg),J());a&2&&(a=P(3).$implicit,B(2),R("-",a.displayName,":\u200b"),B(),zg(a.removed))},f4a=function(a){a&1&&(I(0,"div",4),D(1,b4a,5,1,"div")(2,e4a,5,1,"div"),J());if(a&2){a=P(2).$implicit;var b=P();B();
G(a.added&&a.added.length&&b.isLinkedItemArray(a.added)?1:-1);B();G(a.removed&&a.removed.length&&b.isLinkedItemArray(a.removed)?2:-1)}},g4a=function(a){a&1&&K(0,"b-formatted-date-time",8);a&2&&(a=P(),E("timestamp",a))},h4a=function(a){a&1&&(I(0,"span"),Q(1," - "),J())},i4a=function(a,b){a&1&&(I(0,"span"),K(1,"b-formatted-date-time",8),D(2,h4a,2,0,"span"),J());if(a&2){a=b.$implicit;var c=b.$index;b=b.$count;B();E("timestamp",a);B();G(c!==b-1?2:-1)}},j4a=function(a){a&1&&(I(0,"span"),yg(1,i4a,3,2,"span",
null,xg),J());a&2&&(a=P(4).$implicit,B(),zg(a.oldValue.split(", ")))},k4a=function(a){a&1&&(I(0,"span"),Q(1),J());a&2&&(a=P(),B(),Yg(a))},n4a=function(a){a&1&&(D(0,g4a,1,1,"b-formatted-date-time",8)(1,j4a,3,0,"span")(2,k4a,2,1,"span"),Ag(3),Q(4,"\u00a0"),Bg(),K(5,"span",6),Ag(6),Q(7,"\u00a0"),Bg());if(a&2){a=P(3).$implicit;var b=P();G(l4a(b,a,"oldValue")?0:-1);B();G(m4a(b,a,"oldValue")?1:-1);B();G(l4a(b,a,"oldValue")||m4a(b,a,"oldValue")?-1:2)}},o4a=function(a){a&1&&K(0,"b-formatted-date-time",8);
a&2&&(a=P(),E("timestamp",a))},p4a=function(a){a&1&&(I(0,"span"),Q(1," - "),J())},q4a=function(a,b){a&1&&(I(0,"span"),K(1,"b-formatted-date-time",8),D(2,p4a,2,0,"span"),J());if(a&2){a=b.$implicit;var c=b.$index;b=b.$count;B();E("timestamp",a);B();G(c!==b-1?2:-1)}},r4a=function(a){a&1&&(I(0,"span"),yg(1,q4a,3,2,"span",null,xg),J());a&2&&(a=P(4).$implicit,B(),zg(a.newValue.split(", ")))},s4a=function(a){a&1&&(I(0,"span"),Q(1),J());a&2&&(a=P(),B(),Yg(a))},t4a=function(a){a&1&&D(0,o4a,1,1,"b-formatted-date-time",
8)(1,r4a,3,0,"span")(2,s4a,2,1,"span");if(a&2){a=P(3).$implicit;var b=P();G(l4a(b,a,"newValue")?0:-1);B();G(m4a(b,a,"newValue")?1:-1);B();G(l4a(b,a,"newValue")||m4a(b,a,"newValue")?-1:2)}},u4a=function(a){a&1&&(I(0,"div",4)(1,"label"),Q(2),J(),D(3,n4a,8,3)(4,t4a,3,3),J());if(a&2){var b,c;a=P(2).$implicit;var d=P();B();jg("title",d.customFieldName(a));B();R("",d.customFieldName(a),":\u200b");B();G((b=a.oldValue)?3:-1,b);B();G((c=a.newValue)?4:-1,c)}},v4a=function(a){a&1&&(I(0,"span",11),Q(1,"Updated"),
J())},w4a=function(a){a&1&&(I(0,"span"),Q(1,"Deleted"),J())},x4a=function(a){a&1&&(I(0,"span"),Q(1),J());a&2&&(a=P(),B(),R("Edited (unknown status '",a.status,"')"))},y4a=function(a,b){a&1&&D(0,v4a,2,0,"span",11)(1,w4a,2,0,"span")(2,x4a,2,1,"span");if(a&2){var c;G((c=b.status)==="ACTIVE"?0:c==="DELETED"?1:2)}},z4a=function(a){a&1&&(I(0,"div",4)(1,"label"),Q(2),J(),D(3,y4a,3,1),J());if(a&2){var b;a=P(2).$implicit;B(2);R("",a.displayName,":\u200b");B();G((b=a.statusUpdateDiff==null?null:a.statusUpdateDiff.entityStatus)?
3:-1,b)}},A4a=function(a){a&1&&(I(0,"div",4)(1,"label"),Q(2),J(),I(3,"pre",12),Q(4),S(5,"json"),J()());a&2&&(a=P(2).$implicit,B(2),R("",a.displayName,":\u200b"),B(2),Yg(U(5,2,a)))},B4a=function(a){a&1&&(K(0,"b-formatted-date-time",3),D(1,J3a,5,3,"div",4)(2,Y3a,3,2,"div",4)(3,f4a,3,2,"div",4)(4,u4a,5,4,"div",4)(5,z4a,4,2,"div",4)(6,A4a,6,4,"div",4));if(a&2){a=P().$implicit;var b=P();E("timestamp",a.timestamp);B();G(!0===(a.type===b.DiffType.SINGLE_VALUE)?1:!0===(a.type===b.DiffType.COLLECTION||a.type===
b.DiffType.USER_COLLECTION)?2:!0===(a.type===b.DiffType.LINKED_COLLECTION)?3:!0===(a.type===b.DiffType.CUSTOM_FIELD)?4:!0===(a.type===b.DiffType.STATUS_UPDATE)?5:6)}},C4a=function(a,b){a&1&&(I(0,"div",2),D(1,B4a,7,2),J());a&2&&(a=b.$implicit,b=P(),B(),G(((a==null?void 0:a.name)==="sloStartTime"||(a==null?void 0:a.name)==="sloEndTime"?b.activeSession.isInternalSession():1)?1:-1))},D4a=function(a){a&1&&(I(0,"b-issue-reference-widget",13),Q(1),J());if(a&2){a=P();var b=P().change;E("href",b.href)("issueId",
a);B();Yg(a)}},E4a=function(a){a&1&&K(0,"hotlist-link",5);a&2&&(a=P(),E("id",a))},F4a=function(a){a&1&&(I(0,"a",14),Q(1),J());if(a&2){a=P();var b=P().change;E("href",b.href,vf);B();Yg(a)}},G4a=function(a){a&1&&(I(0,"span"),Q(1,", "),J())},H4a=function(a){a&1&&D(0,D4a,2,3,"b-issue-reference-widget",13)(1,E4a,1,1,"hotlist-link",5)(2,F4a,2,2,"a",14)(3,G4a,2,0,"span");if(a&2){var b=P();a=b.diff;b=b.isLast;var c=P();G(c.isIssueDiff(a)?0:c.isHotlistDiff(a)?1:2);B(3);G(b?-1:3)}},I4a=function(a,b){a&1&&D(0,
H4a,4,2);if(a&2){var c;G((c=b.change.value)?0:-1,c)}},J4a=function(a,b){a&1&&(K(0,"b-user-membership-chip",9),S(1,"async"),S(2,"async"));if(a&2){var c;a=P(2);E("user",a.event.userPerformingActionUser)("email",b)("teamId",(c=U(1,4,a.teamId$))!==null&&c!==void 0?c:"");jg("aria-label",U(2,6,a.ariaLabelHeading$))}},K4a=function(a){a&1&&(K(0,"b-user-display",10),S(1,"async"));a&2&&(a=P(2),E("model",a.event.userPerformingActionUser),jg("aria-label",U(1,2,a.ariaLabelHeading$)))},L4a=function(a){a&1&&Cg(0)},
M4a=function(a){a&1&&(I(0,"span",33),D(1,L4a,1,0,"ng-container",34),J(),I(2,"onedev-hovercard",null,1),K(4,"b-issue-person-card",35),J());if(a&2){a=L(3);P();var b=L(9),c=P();E("onedevHovercardTrigger",a);B();E("ngTemplateOutlet",b);B(3);E("email",Sj(c.event.userPerformingActionUser))}},N4a=function(a){a&1&&(I(0,"span",11),Q(1),J());a&2&&(a=P(2),B(),R(" <",Pj(a.event.userPerformingActionUser),"> "))},O4a=function(a){a&1&&(I(0,"span",11),Q(1),J());a&2&&(a=P(2),B(),R(" <",Pj(a.event.userPerformingActionUser),
"> "))},P4a=function(a){if(a&1){var b=v();I(0,"span")(1,"a",36);M("click",function(c){w(b);var d=P(2);return x(d.scrollCommentIntoView(c,d.event.commentNumber))});Q(2);J()()}a&2&&(a=P(2),B(),E("routerLinkObj",a.getCommentNumberLink(a.event.commentNumber)),jg("aria-label","Comment number"+a.event.commentNumber),B(),R(" #",a.event.commentNumber,""))},Q4a=function(a){if(a&1){var b=v();I(0,"button",37);M("click",function(){w(b);var c=P(2);return x(Kr(c.issueCommentDialogsService,c.issueId,c.deobfuscatedEvent||
c.event))});J()}},R4a=function(a){a&1&&K(0,"b-restricted-chip",14);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)}},T4a=function(a){a&1&&(K(0,"b-actions-menu",16,2),S(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:dh(4,S4a))}},U4a=function(a){a&1&&(I(0,
"div",18),K(1,"b-tagged-text",38),J());a&2&&(a=P(2),B(),E("texts",a.event.taggedSummary))},V4a=function(a){a&1&&(K(0,"b-issue-event-details",19),S(1,"async"),S(2,"async"),S(3,"async"));if(a&2){var b,c;a=P();var d=P();E("diffs",(b=U(1,4,d.preEventDiffs$))!==null&&b!==void 0?b:dh(10,S4a))("customFieldMap",a.customFieldMap)("effortSpecName",(c=U(2,6,d.effortSpec$))==null?null:c.name)("effortEnabled",!!U(3,8,d.isEffortEnabled$))}},W4a=function(a){a&1&&(I(0,"div",22),Q(1," Comment has been deleted. "),
J())},X4a=function(a){if(a&1){var b=v();I(0,"b-restricted-comment-placeholder",39);S(1,"async");M("onConfirm",function(){w(b);var c=P(2);return x(c.loadRestrictedComment())});J()}a&2&&(a=P(2),E("disabled",!U(1,1,a.mayReadPii$)))},Y4a=function(a){a&1&&(K(0,"b-note-container",25),S(1,"async"),S(2,"async"));if(a&2){var b,c;a=P(2);E("issueId",a.issueId)("issueAccessLevel",a.issueAccessLevel)("note",a.deobfuscatedEvent||a.event)("formattingMode",(b=U(1,5,a.formattingMode$))!==null&&b!==void 0?b:a.FormattingMode.PLAIN)("canEditComment",
(c=U(2,7,a.canEditComment$))!==null&&c!==void 0?c:!1)}},Z4a=function(a){if(a&1){var b=v();K(0,"b-summarized-note-container",40);S(1,"async");I(2,"button",41);M("click",function(){w(b);var d=P(2);d.wasSummarized=!0;d.isSummarized=!d.isSummarized;return x()});K(3,"mat-icon",42);Q(4,"Expand details");J()}if(a&2){var c;a=P(2);E("issueId",a.issueId)("issueAccessLevel",a.issueAccessLevel)("note",a.deobfuscatedEvent||a.event)("summaryType",a.getSummaryType())("formattingMode",(c=U(1,5,a.formattingMode$))!==
null&&c!==void 0?c:a.FormattingMode.PLAIN)}},$4a=function(a){if(a&1){var b=v();I(0,"button",41);M("click",function(){w(b);var c=P(2);c.wasSummarized=!0;c.isSummarized=!c.isSummarized;return x()});K(1,"mat-icon",43);Q(2,"Collapse details");J()}},a5a=function(a){a&1&&K(0,"b-formatted-date-time",29);a&2&&(a=P(2),E("timestamp",a.event.modifiedDate))},b5a=function(a){a&1&&K(0,"mat-icon",45)},c5a=function(a){a&1&&K(0,"mat-icon",46)},d5a=function(a,b){a&1&&(I(0,"span"),Q(1),J());a&2&&(B(),Yg(b))},e5a=function(a){a&
1&&K(0,"b-comment-reaction-responders-card",47);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))},j5a=function(a){if(a&1){var b=v();I(0,"div",30)(1,"button",44,3);S(3,"async");S(4,"async");S(5,"async");S(6,"async");M("click",function(){w(b);var e=P(2);return x(f5a(e))});D(7,b5a,1,0,"mat-icon",45)(8,c5a,1,0,"mat-icon",46)(9,d5a,2,1,"span");S(10,"async");J();I(11,"onedev-hovercard",
null,4);D(13,e5a,1,3,"b-comment-reaction-responders-card",47);S(14,"async");J()()}if(a&2){var c;a=L(12);var d=P(2);B();E("ariaLabel",g5a(d,d.ReactionType.UPVOTE))("ngClass",eh(22,h5a,U(3,10,d.noUpvoteReactions$)))("aria-disabled",!U(4,12,d.hasAclToUpvoteReact$)||d.commentReactionIsSaving)("disabled",!U(5,14,d.hasAclToUpvoteReact$)||d.commentReactionIsSaving)("onedevHovercardTrigger",a)("onedevHovercardConfig",d.commentReactionsHovercardConfig)("onedevHovercardActive",!!U(6,16,d.showCommentReactionHovercard$));
B(6);G(i5a(d,d.ReactionType.UPVOTE)?7:8);B(2);G((c=U(10,18,d.upvoteReactionCountDisplayString$))?9:-1,c);B(4);G(U(14,20,d.noUpvoteReactions$)?-1:13)}},k5a=function(a){if(a&1){var b=v();I(0,"a",49);M("click",function(){w(b);var c=P(3);return x(c.showCommentHistoryDialog(c.event.commentNumber))});Q(1," Show History ");J()}},l5a=function(a){a&1&&(I(0,"div",31),K(1,"b-comment-edit-timestamp-message",48),D(2,k5a,2,0,"a"),J());a&2&&(a=P(2),B(),E("event",a.event),B(),G(a.commentHistoryEnabled?2:-1))},m5a=
function(a){a&1&&(K(0,"b-issue-event-details",19),S(1,"async"),S(2,"async"),S(3,"async"));if(a&2){var b,c;a=P();var d=P();E("diffs",(b=U(1,4,d.postEventDiffs$))!==null&&b!==void 0?b:dh(10,S4a))("customFieldMap",a.customFieldMap)("effortSpecName",(c=U(2,6,d.effortSpec$))==null?null:c.name)("effortEnabled",!!U(3,8,d.isEffortEnabled$))}},n5a=function(a,b){a&1&&(I(0,"div",50),K(1,"b-attachment-viewer",51),J());a&2&&(a=b.$implicit,b=P(3),Kg("id","attachment",a.attachmentId,""),B(),E("issueId",b.issueId)("attachment",
a)("attachmentUploader",Sj(b.event.userPerformingActionUser)))},o5a=function(a){a&1&&(I(0,"div",32),yg(1,n5a,2,5,"div",50,xg),J());a&2&&(a=P(2),B(),zg(a.event.attachments))},q5a=function(a){a&1&&(I(0,"div",5),K(1,"b-user-image",6),J(),I(2,"div",7)(3,"h4",8),D(4,J4a,3,8,"b-user-membership-chip",9)(5,K4a,2,4,"b-user-display",10)(6,M4a,5,3)(7,N4a,2,1,"span",11)(8,O4a,2,1,"ng-template",null,0,ih)(10,P4a,3,3,"span")(11,Q4a,1,0,"button",12),S(12,"async"),I(13,"span",13),D(14,R4a,1,3,"b-restricted-chip",
14),K(15,"b-formatted-date-time",15),D(16,T4a,3,5,"b-actions-menu",16),J()(),K(17,"div",17),D(18,U4a,2,1,"div",18)(19,V4a,4,11,"b-issue-event-details",19),S(20,"async"),K(21,"div",17),I(22,"div",20)(23,"div",21),D(24,W4a,2,0,"div",22)(25,X4a,2,3,"b-restricted-comment-placeholder",23),I(26,"div",24),D(27,Y4a,3,9,"b-note-container",25)(28,Z4a,5,7)(29,$4a,3,0,"button",26),J(),I(30,"div",27)(31,"div",28),D(32,a5a,1,1,"b-formatted-date-time",29),S(33,"async"),J(),D(34,j5a,15,24,"div",30),J()(),D(35,l5a,
3,2,"div",31),J(),D(36,m5a,4,11,"b-issue-event-details",19),S(37,"async"),K(38,"div",17),D(39,o5a,3,0,"div",32),K(40,"div",17),J());if(a&2){var b;a=P();B();E("email",Sj(a.event.userPerformingActionUser));B(3);G((b=a.enableTeamAnnotations&&Sj(a.event.userPerformingActionUser))?4:5,b);B(2);G(a.isNonObfuscatedEmail(Sj(a.event.userPerformingActionUser))?6:7);B(4);G(a.isCommentEvent(a.event)?10:-1);B();G(U(12,20,a.canEditComment$)&&!Lr(a)?11:-1);B(3);G(a.isRestricted()?14:-1);B();E("timestamp",a.event.modifiedDate);
B();G(a.isCommentEvent(a.event)?16:-1);B(2);G(a.event.taggedSummary&&a.event.taggedSummary.length?18:-1);B();G(U(20,22,a.showFullHistoryFromFiltering$)==="FULL_HISTORY"?19:-1);B(5);G(a.isDeleted()?24:-1);B();G(Lr(a)&&!a.isDeleted()?25:-1);B(2);G(!p5a(a)||Lr(a)||a.isDeleted()||a.isSummarized?-1:27);B();G(p5a(a)&&!Lr(a)&&!a.isDeleted()&&a.isSummarized?28:-1);B();G(a.wasSummarized&&!a.isSummarized?29:-1);B(3);G(U(33,24,a.isShowingCommentTimestamp$)?32:-1);B(2);var c;b=a.ReactionType.UPVOTE;var d,e=!a.issuePermissionService.hasAclToComment()&&
((c=a.event.commentReactions)==null?void 0:(d=c.get(b))==null?void 0:d.count)===0;c=a.isInternalSession&&a.commentReactionsEnabled&&p5a(a)&&!a.isDeleted()&&!Lr(a)&&!e;G(c?34:-1);B();G(a.isCommentEvent(a.event)&&(a.event.commentVersion||0)>0&&!Lr(a)?35:-1);B();G(U(37,26,a.showFullHistoryFromFiltering$)==="FULL_HISTORY"?36:-1);B(3);G(a.event.attachments.length?39:-1)}},r5a=function(a){a&1&&(I(0,"aside",0),K(1,"b-spinner"),J())},s5a=function(a){a&1&&Q(0);if(a&2){var b;a=P(2).$index;var c=P();R(" ",(b=
c.foldedCommentsCounts.get(a))==null?null:b.commentFoldedCount," updates ")}},t5a=function(a){a&1&&Q(0);if(a&2){var b;a=P(2).$index;var c=P();R(" ",(b=c.foldedCommentsCounts.get(a))==null?null:b.commentFoldedCount," update ")}},u5a=function(a){if(a&1){var b=v();I(0,"div",2)(1,"button",4);M("click",function(){w(b);var e=P().$index,f=P(),h,l,q=(l=(h=f.foldedCommentsCounts.get(e))==null?void 0:h.eventFoldedCount)!=null?l:0;for(h=0;h<q&&((Ol(f.internalEvents[e-h])||Pl(f.internalEvents[e-h]))&&f.eventDisplayMode.set(e-
h,"full"),e-h!==0);h++);f.foldedCommentsCounts.delete(e);return x()});D(2,s5a,1,1)(3,t5a,1,1);J();K(4,"div",5);J()}if(a&2){var c;a=P().$index;var d=P();B(2);G(((c=(c=d.foldedCommentsCounts.get(a))==null?null:c.commentFoldedCount)!==null&&c!==void 0?c:1)>1?2:3)}},v5a=function(a){a&1&&(I(0,"div",3),K(1,"b-history-event",6),J());if(a&2){var b=P();a=b.$implicit;b=b.$index;var c=P();B();E("issueId",c.internalIssueId)("issueAccessLevel",c.issueAccessLevel)("event",a)("isSummarized",c.eventDisplayMode.get(b)===
c.eventDisplayModes.SUMMARIZED)}},x5a=function(a,b){a&1&&D(0,u5a,5,1,"div",2)(1,v5a,2,4,"div",3);if(a&2){var c;a=b.$index;b=P();G(b.foldedCommentsCounts.has(a)&&((c=(c=b.foldedCommentsCounts.get(a))==null?null:c.commentFoldedCount)!==null&&c!==void 0?c:0)>0?0:-1);B();G(b.internalIssueId&&w5a(b.eventDisplayMode.get(a))?1:-1)}},y5a=function(a){a&1&&(I(0,"aside",0),K(1,"b-spinner"),J())},z5a=function(a){return!(!cua(a.userPerformingAction)||!a.isMajorEvent)},B5a=function(a){if(a&1){var b=v();I(0,"div",
0);K(1,"mat-icon",1);I(2,"button",2);M("click",function(){w(b);var c=P(3);c.llmIssueSummaryService.trackEvent("click","issueDetailsPage");A5a(c.llmIssueSummaryService);return x()});Q(3," Summarize ");J()()}},C5a=function(a,b){a&1&&D(0,B5a,4,0,"div",0);a&2&&(a=P(2),G(b===a.BUTTON?0:-1))},D5a=function(a){a&1&&(D(0,C5a,1,1),S(1,"async"));if(a&2){var b;a=P();G((b=U(1,1,a.stage$))?0:-1,b)}},E5a=function(a,b){a&1&&(I(0,"mat-option",5)(1,"div",8),Q(2),J(),I(3,"div",9),Q(4),J()());a&2&&(a=b.$implicit,E("value",
a),B(2),Yg(a.name),B(2),Yg(a.description))},I5a=function(a){switch(a){case "FULL_HISTORY":return F5a;case "ALL_COMMENTS":return Mr;case "HUMAN_ONLY":return G5a;case "TEAM_AND_ASSIGNEE":return H5a;default:return Mr}},J5a=function(a){if(a&1){var b=v();I(0,"button",6);M("click",function(){w(b);var c=P(2);return x(c.removeHotlist.emit())});K(1,"mat-icon",7);J()}a&2&&(a=P(2),sg("invisible",a.disabled),jg("aria-disabled",a.disabled)("aria-label","Remove the hotlist "+a.hotlist.name))},K5a=function(a){a&
1&&(I(0,"span",1)(1,"span",2)(2,"a",3),Q(3),J()(),D(4,J5a,2,4,"button",4),J(),I(5,"onedev-hovercard",null,0),K(7,"b-hotlist-card",5),J());if(a&2){a=L(6);var b=P();rg("padding-right",b.removable?0:"10px");sg("muted",b.disabled);E("onedevHovercardTrigger",a)("onedevHovercardActive",b.showHovercard);B(2);E("href",b.ROUTES.viewHotlist.makeHref(b.hotlist.hotlistId),vf);jg("aria-label",b.getAriaLabel(b.hotlist));B();Yg(b.hotlist.name);B();G(b.removable?4:-1);B(3);E("hotlist",b.hotlist)}},L5a=function(a){if(a&
1){var b=v();I(0,"span",1)(1,"div")(2,"button",2);M("click",function(){w(b);var d=P();return x(d.addHotlist(d.hotlist.hotlistId))});K(3,"mat-icon",3);J();K(4,"mat-icon",4);J();I(5,"span",5)(6,"a",6);Q(7);J()()();I(8,"onedev-hovercard",null,0);K(10,"b-hotlist-recommendation-card",7);J()}if(a&2){a=L(9);var c=P();rg("padding-right","10px");E("onedevHovercardTrigger",a)("onedevHovercardActive",c.showHovercard)("onedevHovercardConfig",c.hovercardConfig);B(2);jg("aria-label","Add the suggested hotlist "+
c.hotlist.name);B(4);E("href",c.ROUTES.viewHotlist.makeHref(c.hotlist.hotlistId),vf);jg("aria-label",c.getAriaLabel(c.hotlist));B();Yg(c.hotlist.name);B(3);E("hotlist",c.hotlist)("recommendationId",c.recommendationId)("issueId",c.issueId)}},N5a=function(a,b){if(a&1){var c=v();I(0,"b-hotlist-chip-smart",4);M("removeHotlist",function(){var d=w(c).$implicit,e=P(2);return x(M5a(e,d))});J()}a&2&&E("id",b.$implicit)},O5a=function(a,b){a&1&&(K(0,"b-hotlist-recommendation-chip",5),S(1,"async"));a&2&&(a=b.$implicit,
b=P(4),E("hotlist",a.content==null?null:a.content.recommendedHotlist)("recommendationId",a.name)("issueId",U(1,3,b.issueId$)))},Q5a=function(a,b){a&1&&yg(0,O5a,2,5,"b-hotlist-recommendation-chip",5,P5a);a&2&&zg(b)},R5a=function(a){a&1&&(D(0,Q5a,2,0),S(1,"async"));if(a&2){var b;a=P(2);G((b=U(1,1,a.recommendations$))?0:-1,b)}},T5a=function(a){if(a&1){var b=v();I(0,"div",0);Jg(1);I(2,"button",1);S(3,"async");M("onHotkey",function(){w(b);var c=P();return x(c.openHotlistModal())})("click",function(){w(b);
var c=P();return x(c.openHotlistModal())});K(4,"mat-icon",2);Q(5);S(6,"async");J();yg(7,N5a,1,1,"b-hotlist-chip-smart",3,xg);S(9,"async");D(10,R5a,2,3);J()}a&2&&(a=P(),B(2),E("hotkey",a.HOTKEYS.OPEN_HOTLIST_PICKER)("ngClass",eh(10,S5a,!U(3,4,a.textOfHotlistBtn$))),B(3),R(" ",U(6,6,a.textOfHotlistBtn$)," "),B(2),zg(U(9,8,a.hotlistIds$)),B(3),G(a.isInternalSession?10:-1))},V5a=function(a){if(a&1){var b=v();I(0,"mat-form-field",7)(1,"input",8,0);M("keyup",function(c){w(b);var d=P();return x(U5a(d,c))})("blur",
function(){w(b);var c=P();return x(c.onInputBlur())});J()()}a&2&&(a=P(),rg("width",a.editModeWidth,"px"),sg("banned-words-warning",a.bannedWordsChecker.showWarning()),B(),E("value",a.titlePlain))},W5a=function(a){a&1&&(I(0,"h3",4,1),Q(2),J());a&2&&(a=P(),jg("title",a.isLongTitle?a.titlePlain:""),B(2),R(" ",a.titleTruncated," "))},Y5a=function(a){if(a&1){var b=v();I(0,"button",9);M("click",function(){w(b);var c=P();return x(c.isEditMode?U5a(c):X5a(c))});K(1,"mat-icon",10);J()}a&2&&(a=P(),E("disabled",
a.disabled||a.isSaving))},Z5a=function(a){a&1&&(I(0,"p",6),Q(1),I(2,"a",11),Q(3," Learn more "),J()());a&2&&(a=P(),B(),R(" ",Ar(a.bannedWordsChecker)," is restricted. Press 'Esc' to cancel or 'Enter' to skip check and save title. "))},$5a=function(a){a&1&&K(0,"mat-icon",1)},a6a=function(a){a&1&&(I(0,"span",2),S(1,"date"),Q(2),J());a&2&&(a=P(2),Kg("title","Start Date: ",hh(1,4,a.startDate,"longDate"),""),B(2),Zg(" ",a.startDateShortStr," ",a.JOINING_ARROW," "))},b6a=function(a){a&1&&(I(0,"span",3),
S(1,"date"),Q(2),J());a&2&&(a=P(2),Kg("title","End Date: ",hh(1,3,a.endDate,"longDate"),""),B(2),R(" ",a.endDateShortStr," "))},c6a=function(a){a&1&&(I(0,"span",4),Q(1,"?"),J())},d6a=function(a){a&1&&(I(0,"div",0),D(1,$5a,1,0,"mat-icon",1)(2,a6a,3,7,"span",2)(3,b6a,3,6,"span",3)(4,c6a,2,0,"span",4),J());a&2&&(a=P(),B(),G(a.showIcon?1:-1),B(),G(a.startDate?2:-1),B(),G(a.endDate?3:4))},e6a=function(a,b){b=b===void 0?[]:b;return"http://cl/search/cl:("+[].concat(t(a),t(b.map(function(c){return String(c.changelistNumber)}))).join("|")+
")"},f6a=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(" ")},Nr=function(a){return"hotlist-"+a},Or=function(a){return"savedsearch-"+a},Qr=function(a){if(a!=null){if(g6a.includes(a))return a;var b=a.match(/\bhotlists?\b/)?Pr(a):void 0;if(b)return"hotlist";
b=a.match(/\bsavedsearch(?:es|)\b/)?Pr(a):void 0;if(b)return"savedsearch";b=/\bb\/\d+\b/;b=a.match(/\bissues?\b/)||a.match(b)?Pr(a):void 0;b||(a=a.trim(),b=a.length<3?!1:!!a.match(/^\d+$/));if(b)return"issue"}},h6a=function(a){switch(Qr(a)){case "hotlist":return"Hotlist";case "savedsearch":return"Saved Search";case "issue":return"Issue"}},Pr=function(a){if(a!=null)return a.split(/[^\d]+/).filter(Boolean).pop()},i6a=function(a){var b=Pr(a);if(b!=null)switch(Qr(a)){case "hotlist":return"/hotlists/"+
b;case "savedsearch":return"/savedsearches/"+b;default:return"/issues/"+b}},j6a=function(a){var b=Pr(a);if(b!=null&&Qr(a)==="issue")return"/issues?q="+encodeURIComponent("id:"+b+" OR parentid:"+b+"+")},k6a=function(a){for(var b={},c={},d=k(a),e=d.next();!e.done;e=d.next())e=e.value,c[e.issueId]=e;d=a.slice();d.sort(function(q,u){var A,F;return(((A=u.descendantCount)!=null?A:0)-((F=q.descendantCount)!=null?F:0))*-1});d=k(d);for(e=d.next();!e.done;e=d.next()){var f=e.value,h=void 0;e=(h=b[f.issueId])!=
null?h:0;h=void 0;f=k((h=f.parentIssueIds)!=null?h:[]);for(h=f.next();!h.done;h=f.next())if(h=c[h.value],h!=null){var l=void 0;b[h.issueId]=(l=b[h.issueId])!=null?l:0;b[h.issueId]+=1+e}}return a.map(function(q){var u,A=(u=b[q.issueId])!=null?u:0;return[[A,q.openDescendantCount+A*10],q]})},l6a=function(a,b){a=a.results;if(a.length<(b===void 0?50:b))return[];a=k6a(a);a.sort(function(f,h){f=k(f);f=k(f.next().value);f.next();f=f.next().value;h=k(h);h=k(h.next().value);h.next();return h.next().value-f});
b=a.filter(function(f){f=k(f);return k(f.next().value).next().value>0}).map(function(f){f=k(f);f.next();return f.next().value}).filter(function(f){return f.descendantCount>=2}).filter(Oxa);var c={};a=k(a);for(var d=a.next();!d.done;d=a.next()){var e=k(d.value);d=e.next().value;e=e.next().value;c[e.issueId]=d}return b.map(function(f){var h,l;return{title:(h=f.snapshot)==null?void 0:(l=h[0])==null?void 0:l.title,ref:f.issueId,suggestionRationale:f.descendantCount+" descendants and "+c[f.issueId][0]+
" recent personal touchpoints."}})},m6a=function(a){if(a&1){var b=v();I(0,"div",1);M("click",function(){w(b);var c=P();return x(c.useXofYLabel=!c.useXofYLabel)});K(1,"div",2);I(2,"span");Q(3);S(4,"number");J();I(5,"span");Q(6);J()()}a&2&&(a=P(),Mg("title","",a.closed," of ",a.total," issues closed in this work area"),B(),jg("style",a.makePie(a.closed/a.total),Qia),B(),sg("display-none",a.useXofYLabel),B(),R("",hh(4,11,a.closed/a.total*100,"1.0-0"),"% complete"),B(2),sg("display-none",!a.useXofYLabel),
B(),Zg("",a.closed," of ",a.total," closed"))},n6a=function(a,b,c){var d=c[b];return d==null?!1:[].concat(t(a)).map(function(e){return Rr[e]}).every(function(e){return e==null?!0:e.check(d,b,c)})},o6a=function(a){return!!Rr[a]},p6a=function(a){a&1&&(I(0,"div",2),Ud(),I(1,"svg",3),K(2,"path",4),J()())},q6a=function(a){a&1&&K(0,"th",49)},r6a=function(a){a&1&&K(0,"td",50)},s6a=function(a){a&1&&(I(0,"th",49),Q(1," ID "),J())},t6a=function(a){a&1&&K(0,"b-issue-id-cell",52);a&2&&(a=P().$implicit,E("id",
a.issueIds[0]))},u6a=function(a,b){a&1&&(I(0,"td",51),D(1,t6a,1,1,"b-issue-id-cell",52),J());a&2&&(a=b.$implicit,B(),G(a.issueIds.length===1?1:-1))},w6a=function(a){if(a&1){var b=v();I(0,"th",49)(1,"mat-checkbox",53);M("change",function(d){w(b);var e=P(),f=P();return x(d?f.toggleAllRows(e):null)});J()()}if(a&2){a=P();var c=P();B();E("checked",c.selection.selected.length>0&&v6a(c,a))("indeterminate",c.selection.selected.length>0&&!v6a(c,a))}},x6a=function(a,b){if(a&1){var c=v();I(0,"td",51)(1,"mat-checkbox",
54);M("click",function(d){w(c);return x(d.stopPropagation())})("change",function(){var d=w(c).$implicit,e=P(2);e.selection.toggle(d.issueIds[0]);e.selectedIssuesChange.emit(e.selection);return x()});J()()}a&2&&(a=b.$implicit,b=P(2),B(),E("checked",b.selection.isSelected(a.issueIds[0])),jg("aria-label","Select issue "+a.issueIds[0])("aria-checked",b.selection.isSelected(a.issueIds[0])))},y6a=function(a){if(a&1){var b=v();I(0,"th",49)(1,"mat-checkbox",53);M("change",function(d){w(b);var e=P(),f=P();
return x(d?f.toggleAllRows(e):null)});J()()}if(a&2){a=P();var c=P();B();E("checked",c.selection.selected.length>0&&v6a(c,a))("indeterminate",c.selection.selected.length>0&&!v6a(c,a))}},z6a=function(a){a&1&&K(0,"td",51)},A6a=function(a){a&1&&(I(0,"th",49),Q(1," Title "),J())},B6a=function(a,b){a&1&&(I(0,"td",51),K(1,"b-issue-title-cell",55),S(2,"async"),S(3,"async"),S(4,"async"),J());if(a&2){var c,d;a=b.$implicit;b=P(2);B();sg("bold",b.showReadStatus&&b.isUnread(U(2,8,a.issue$)));Lg("anchorTarget",
(b.options.navigationOptions==null?0:b.options.navigationOptions.alwaysOpenNewTab)?"_blank":"_self");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?(d=U(4,12,b.trendingChipsById$))==null?null:d[a.issueIds[0]]:void 0)}},C6a=function(a){a&
1&&(I(0,"th",49),Q(1," Title "),J())},D6a=function(a,b){a&1&&(I(0,"td",51)(1,"b"),Q(2),S(3,"async"),J()());a&2&&(a=b.$implicit,B(2),Zg("",U(3,2,a.summaryTitle$)," (",a.issueIds.length,")"))},E6a=function(a){a&1&&(I(0,"th",56),Q(1," Type "),J())},F6a=function(a,b){a&1&&(I(0,"td",51),K(1,"b-issue-type-cell",57),S(2,"async"),J());a&2&&(a=b.$implicit,B(),E("issue",U(2,1,a.issue$)))},G6a=function(){},H6a=function(a){a&1&&Q(0," Assignee ")},I6a=function(a){a&1&&(I(0,"th",58),D(1,G6a,0,0)(2,H6a,1,0),J());
a&2&&(a=P(2),B(),G((a.options.modes==null?null:a.options.modes.assignee)==="avatar-if-open"?1:2))},J6a=function(a,b){a&1&&K(0,"b-user-image",59);a&2&&E("email",b)},K6a=function(a){a&1&&D(0,J6a,1,1,"b-user-image",59);if(a&2){var b;a=P();var c=P(4);G((b=c.getAssigneeString(a))?0:-1,b)}},L6a=function(a,b){a&1&&D(0,K6a,1,1);a&2&&(a=P(4),G(a.isOpen(b)?0:-1))},M6a=function(a){a&1&&(D(0,L6a,1,1),S(1,"async"));if(a&2){var b;a=P().$implicit;G((b=U(1,1,a.issue$))?0:-1,b)}},N6a=function(a){a&1&&(K(0,"b-issue-assignee-cell",
57),S(1,"async"));a&2&&(a=P().$implicit,E("issue",U(1,1,a.issue$)))},O6a=function(a){a&1&&(I(0,"td",51),D(1,M6a,2,3)(2,N6a,2,3,"b-issue-assignee-cell",57),J());a&2&&(a=P(2),B(),G((a.options.modes==null?null:a.options.modes.assignee)==="avatar-if-open"?1:2))},P6a=function(a){a&1&&(I(0,"th",60),Q(1," Reporter "),J())},Q6a=function(a,b){a&1&&(I(0,"td",51),K(1,"b-issue-reporter-cell",57),S(2,"async"),J());a&2&&(a=b.$implicit,B(),E("issue",U(2,1,a.issue$)))},R6a=function(a){a&1&&(I(0,"th",61),Q(1," P "),
J())},S6a=function(a,b){a&1&&(I(0,"td",51),K(1,"b-issue-priority-display",62),J());a&2&&(a=b.$implicit,b=P(2),B(),E("issuePriority",b.getPriority(a)))},T6a=function(a){a&1&&K(0,"th",63)},U6a=function(a){a&1&&(I(0,"td",51),K(1,"mat-icon",64),J())},V6a=function(a){a&1&&(I(0,"th",65),Q(1," Status "),J())},W6a=function(a,b){a&1&&(I(0,"td",51),K(1,"b-issue-status-cell",57),S(2,"async"),J());a&2&&(a=b.$implicit,B(),E("issue",U(2,1,a.issue$)))},X6a=function(a){a&1&&(I(0,"th",49),Q(1," Team "),J())},Y6a=
function(a,b){a&1&&(I(0,"td",51),K(1,"b-issue-team-cell",57),S(2,"async"),J());a&2&&(a=b.$implicit,B(),E("issue",U(2,1,a.issue$)))},Z6a=function(a){a&1&&(I(0,"th",49),Q(1," Dupes "),J())},$6a=function(a){a&1&&Q(0);if(a&2){var b;a=P();R(" ",(b=a.snapshot[0].duplicateIssueId==null?null:a.snapshot[0].duplicateIssueId.length)!==null&&b!==void 0?b:0," ")}},a7a=function(a){a&1&&D(0,$6a,1,1);a&2&&(P(3),G(0))},b7a=function(a,b){a&1&&(I(0,"td",51),D(1,a7a,1,1),S(2,"async"),J());if(a&2){var c;a=b.$implicit;
B();G((c=U(2,1,a.issue$))?1:-1,c)}},c7a=function(a){a&1&&(I(0,"th",49),Q(1," +1s "),J())},d7a=function(a){a&1&&(I(0,"span",66),Q(1),J());a&2&&(a=P(),Kg("title","",a.aggregatedData==null?null:a.aggregatedData.voteCount," votes"),B(),R(" ",a.aggregatedData==null?null:a.aggregatedData.voteCount," "))},e7a=function(a){a&1&&D(0,d7a,2,3,"span",66);a&2&&(P(3),G(0))},f7a=function(a,b){a&1&&(I(0,"td",51),D(1,e7a,1,1),S(2,"async"),J());if(a&2){var c;a=b.$implicit;B();G((c=U(2,1,a.issue$))?1:-1,c)}},g7a=function(a){a&
1&&(I(0,"th",49),Q(1," 7d Views "),J())},h7a=function(a){a&1&&(I(0,"span",66),Q(1),J());a&2&&(a=P(),Kg("title","",a.userActivityStats==null?null:a.userActivityStats.sevenDayViewCount," views in last 7 days"),B(),R(" ",a.userActivityStats==null?null:a.userActivityStats.sevenDayViewCount," "))},i7a=function(a){a&1&&D(0,h7a,2,3,"span",66);a&2&&(P(3),G(0))},j7a=function(a,b){a&1&&(I(0,"td",51),D(1,i7a,1,1),S(2,"async"),J());if(a&2){var c;a=b.$implicit;B();G((c=U(2,1,a.issue$))?1:-1,c)}},k7a=function(a){a&
1&&(I(0,"th",67),Q(1," Created "),J())},l7a=function(a,b){a&1&&(I(0,"td",51),K(1,"b-issue-created-time-cell",68),S(2,"async"),J());if(a&2){var c;a=b.$implicit;b=P(2);B();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)}},m7a=function(a){a&1&&(I(0,"th",69),Q(1," Last Modified "),J())},n7a=function(a,b){a&1&&K(0,"b-formatted-date-time",70);if(a&2){var c;a=P(3);E("timestamp",b/1E3)("mode",(c=a.options.modes==null?
null:a.options.modes.modifiedTime)!==null&&c!==void 0?c:a.DEFAULT_DATETIME_MODE)("paddingLeftPx",0)}},o7a=function(a,b){a&1&&(I(0,"td",51),D(1,n7a,1,3,"b-formatted-date-time",70),J());if(a&2){var c;a=b.$implicit;b=P(2);B();G((c=b.getModifiedTimeMicros(a))?1:-1,c)}},p7a=function(a){a&1&&(I(0,"th",71),Q(1," Modified "),J())},q7a=function(a,b){a&1&&K(0,"b-formatted-date-time",70);a&2&&E("timestamp",b/1E3)("mode","relativepasttiny")("paddingLeftPx",4)},r7a=function(a,b){a&1&&(I(0,"td",72),D(1,q7a,1,3,
"b-formatted-date-time",70),J());if(a&2){var c;a=b.$implicit;b=P(2);B();G((c=b.getModifiedTimeMicros(a))?1:-1,c)}},s7a=function(a){a&1&&(I(0,"th",73),Q(1," Triager "),J())},t7a=function(a){a&1&&K(0,"b-issue-triager-cell",57);a&2&&(a=P(),E("issue",a))},u7a=function(a){a&1&&D(0,t7a,1,1,"b-issue-triager-cell",57);a&2&&(P(3),G(0))},v7a=function(a,b){a&1&&(I(0,"td",72),D(1,u7a,1,1),S(2,"async"),J());if(a&2){var c;a=b.$implicit;B();G((c=U(2,1,a.issue$))?1:-1,c)}},w7a=function(a){a&1&&(I(0,"th",49),Q(1,
"Alerts"),J())},x7a=function(a){a&1&&K(0,"b-issue-alerts-cell",75);if(a&2){a=P();var b=P(4);E("alerts",b.alerts)("issue",a)}},y7a=function(a){a&1&&D(0,x7a,1,2,"b-issue-alerts-cell",75);a&2&&(P(4),G(0))},z7a=function(a){a&1&&(D(0,y7a,1,1),S(1,"async"));if(a&2){var b;a=P().$implicit;G((b=U(1,1,a.issue$))?0:-1,b)}},A7a=function(a){a&1&&K(0,"b-signal-chip",74)},B7a=function(a,b){a&1&&(I(0,"td",72),D(1,z7a,2,3)(2,A7a,1,0,"b-signal-chip",74),J());a&2&&(a=b.$implicit,B(),G(a.issueIds.length===1?1:2))},C7a=
function(a){a&1&&(I(0,"th",76),Q(1," Timeframe "),J())},D7a=function(a,b){a&1&&(I(0,"td",51),K(1,"issue-timeframe",77),S(2,"async"),J());a&2&&(a=b.$implicit,B(),E("issue",U(2,2,a.issue$))("showIcon",!1))},E7a=function(a){a&1&&(I(0,"th",78),Q(1," Progress "),J())},F7a=function(a,b){a&1&&(I(0,"td",51),K(1,"progress-pie",57),S(2,"async"),J());a&2&&(a=b.$implicit,B(),E("issue",U(2,1,a.issue$)))},G7a=function(a){a&1&&K(0,"th",49)},H7a=function(a,b){if(a&1){var c=v();I(0,"td",51)(1,"b-actions-menu",79);
M("click",function(f){w(c);return x(f.stopPropagation())});J()()}if(a&2){var d,e;a=b.$implicit;b=P(2);B();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.issueIds[0]))}},I7a=function(a){a&1&&(I(0,"th",49),Q(1," Component "),J())},J7a=function(a,b){a&1&&(I(0,"td",51),
K(1,"b-issue-component-name-cell",57),S(2,"async"),J());a&2&&(a=b.$implicit,B(),E("issue",U(2,1,a.issue$)))},K7a=function(a){a&1&&(I(0,"th",49),Q(1," Source "),J())},L7a=function(a){a&1&&(I(0,"span"),Q(1,", "),J())},M7a=function(a,b){a&1&&(I(0,"span"),Q(1),J(),D(2,L7a,2,0,"span"));if(a&2){a=b.$implicit;var c=b.$index;b=b.$count;B();Yg(a);B();G(c!==b-1?2:-1)}},N7a=function(a,b){a&1&&(I(0,"td",51),yg(1,M7a,3,2,null,null,xg),J());a&2&&(a=b.$implicit,b=P(2),B(),zg(b.enrichmentCategoriesFunction(a.issueIds[0])))},
O7a=function(a){a&1&&K(0,"tr",80)},Q7a=function(a,b){if(a&1){var c=v();I(0,"tr",81,0);S(2,"async");M("click",function(d){w(c);var e=L(1),f=P(2);return x(P7a(f,d,e))})("mouseup",function(d){w(c);var e=L(1),f=P(2);return x(P7a(f,d,e))})("focusin",function(){var d=w(c).$implicit,e=P(2);return x(e.focusManager==null?null:Cq(e.focusManager,d))})("keydown",function(d){var e=w(c).$implicit,f=P(2);return x(f.onRowKeydown(e,d))});J()}a&2&&(a=b.$implicit,b=P(2),sg("closed",b.options.deEmphasizeClosedIssues&&
b.isClosed(U(2,5,a.issue$)))("active",b.options.activeRowMode===b.ActiveRowMode.REMAIN_ACTIVE&&b.idsToString(b.focusManager==null?null:b.focusManager.activeItem==null?null:b.focusManager.activeItem.row==null?null:b.focusManager.activeItem.row.issueIds)===b.idsToString(a.issueIds)),E("row",a))},R7a=function(a,b){if(a&1){var c=v();I(0,"tr",81,0);M("click",function(d){w(c);var e=L(1),f=P(2);return x(P7a(f,d,e))})("mouseup",function(d){w(c);var e=L(1),f=P(2);return x(P7a(f,d,e))})("focusin",function(){var d=
w(c).$implicit,e=P(2);return x(e.focusManager==null?null:Cq(e.focusManager,d))})("keydown",function(d){var e=w(c).$implicit,f=P(2);return x(f.onRowKeydown(e,d))});J()}a&2&&(a=b.$implicit,b=P(2),sg("active",b.options.activeRowMode===b.ActiveRowMode.REMAIN_ACTIVE&&b.idsToString(b.focusManager==null?null:b.focusManager.activeItem==null?null:b.focusManager.activeItem.row==null?null:b.focusManager.activeItem.row.issueIds)===b.idsToString(a.issueIds)),E("row",a))},T7a=function(a,b){if(a&1){var c=v();I(0,
"table",3);S(1,"async");S(2,"async");M("matSortChange",function(f){w(c);var h=P();return x(h.onSortChange(f))});Ag(3,4);D(4,q6a,1,0,"th",5)(5,r6a,1,0,"td",6);Bg();Ag(6,7);D(7,s6a,2,0,"th",5)(8,u6a,2,1,"td",8);Bg();Ag(9,9);D(10,w6a,2,2,"th",5)(11,x6a,2,3,"td",8);Bg();Ag(12,10);D(13,y6a,2,2,"th",5)(14,z6a,1,0,"td",8);Bg();Ag(15,11);D(16,A6a,2,0,"th",5)(17,B6a,5,14,"td",8);Bg();Ag(18,12);D(19,C6a,2,0,"th",5)(20,D6a,4,4,"td",8);Bg();Ag(21,13);D(22,E6a,2,0,"th",14)(23,F6a,3,3,"td",8);Bg();Ag(24,15);D(25,
I6a,3,1,"th",16)(26,O6a,3,1,"td",8);Bg();Ag(27,17);D(28,P6a,2,0,"th",18)(29,Q6a,3,3,"td",8);Bg();Ag(30,19);D(31,R6a,2,0,"th",20)(32,S6a,2,1,"td",8);Bg();Ag(33,21);D(34,T6a,1,0,"th",22)(35,U6a,2,0,"td",8);Bg();Ag(36,23);D(37,V6a,2,0,"th",24)(38,W6a,3,3,"td",8);Bg();Ag(39,25);D(40,X6a,2,0,"th",5)(41,Y6a,3,3,"td",8);Bg();Ag(42,26);D(43,Z6a,2,0,"th",5)(44,b7a,3,3,"td",8);Bg();Ag(45,27);D(46,c7a,2,0,"th",5)(47,f7a,3,3,"td",8);Bg();Ag(48,28);D(49,g7a,2,0,"th",5)(50,j7a,3,3,"td",8);Bg();Ag(51,29);D(52,k7a,
2,0,"th",30)(53,l7a,3,4,"td",8);Bg();Ag(54,31);D(55,m7a,2,0,"th",32)(56,o7a,2,1,"td",8);Bg();Ag(57,33);D(58,p7a,2,0,"th",34)(59,r7a,2,1,"td",35);Bg();Ag(60,36);D(61,s7a,2,0,"th",37)(62,v7a,3,3,"td",35);Bg();Ag(63,38);D(64,w7a,2,0,"th",5)(65,B7a,3,1,"td",35);Bg();Ag(66,39);D(67,C7a,2,0,"th",40)(68,D7a,3,4,"td",8);Bg();Ag(69,41);D(70,E7a,2,0,"th",42)(71,F7a,3,3,"td",8);Bg();Ag(72,43);D(73,G7a,1,0,"th",5)(74,H7a,2,3,"td",8);Bg();Ag(75,44);D(76,I7a,2,0,"th",5)(77,J7a,3,3,"td",8);Bg();Ag(78,45);D(79,K7a,
2,0,"th",5)(80,N7a,3,0,"td",8);Bg();D(81,O7a,1,0,"tr",46)(82,Q7a,3,7,"tr",47)(83,R7a,2,3,"tr",48);J()}if(a&2){var d,e;a=P();sg("hide-header",a.options.hideColumnHeaders);E("dataSource",b)("trackBy",a.trackBy)("matSortDisabled",a.options.sortMode===a.SortMode.DISABLED)("matSortActive",(d=(d=U(1,12,a.activeSort$))==null?null:d.column)!==null&&d!==void 0?d:"")("matSortDirection",a.toMatSortDirection((e=U(2,14,a.activeSort$))==null?null:e.direction));B(81);E("matHeaderRowDef",a.tableColumns);B();E("matRowDefColumns",
a.tableColumns)("matRowDefWhen",a.isSingleIssue);B();E("matRowDefColumns",S7a(a))("matRowDefWhen",a.isMultiIssue)}},U7a=function(a){if(a&1){var b=v();I(0,"button",83);M("click",function(){w(b);var c=P(5);return x(c.rowLimit$.next(void 0))});Q(1," Show more ");J()}},V7a=function(a){a&1&&D(0,U7a,2,0,"button",82);if(a&2){a=P();var b=P();G(a.length<b?0:-1)}},W7a=function(a){if(a&1){var b=v();I(0,"button",83);M("click",function(){w(b);var c=P(5);return x(c.rowLimit$.next(c.options.rowLimit))});Q(1," Show less ");
J()}},X7a=function(a){a&1&&D(0,W7a,2,0,"button",82);if(a&2){a=P();var b=P(3);G(a.length>b.options.rowLimit?0:-1)}},Y7a=function(a){a&1&&(D(0,V7a,1,1),S(1,"async"),D(2,X7a,1,1));if(a&2){var b;a=P(3);G((b=U(1,1,a.rowLimit$))?0:2,b)}},Z7a=function(a){a&1&&(D(0,Y7a,3,3),S(1,"async"));if(a&2){var b;a=P(2);G((b=U(1,1,a.rows$))?0:-1,b)}},$7a=function(a){a&1&&(I(0,"div",2),D(1,Z7a,2,3),S(2,"async"),J());if(a&2){var b;a=P();B();G((b=U(2,1,a.rowCountAfterFilters$))?1:-1,b)}},a8a=function(a,b){return a===b?
!0:a&&b?Cua(a.issueIds,b.issueIds):!1},b8a=function(a){var b;return(b=a==null?void 0:a.join(";"))!=null?b:""},Ul=function(a){return tp(a.issue$)},c8a=function(a){var b,c,d;return(b=tp(a.issue$))==null?void 0:(c=b.snapshot)==null?void 0:(d=c[0])==null?void 0:d.priority},d8a=function(a){var b,c;return(b=tp(a.issue$))==null?void 0:(c=b.aggregatedData)==null?void 0:c.modifiedTimeMicros},e8a=function(a,b){if(!b)return a;switch(b.column){case "status":return xxa()(a,b.direction);case "assignee":return yxa()(a,
b.direction);case "reporter":return Axa()(a,b.direction);case "type":return zxa()(a,b.direction);case "createdTime":return Bxa(Ul)(a,b.direction);case "modifiedTime":case "relativeModifiedTime":return Cxa(Ul)(a,b.direction);case "priority":return Hxa(Ul)(a,b.direction);case "progress":return Ixa()(a,b.direction);default:return console.warn("b-issues-table sort by '"+b.column+"' not implemented"),a}},f8a=function(a,b){var c=a.views24h;var d=a.views7d;a=a.views30d;if(Ei(c[b],c))return{title:"Trending 24h",
tooltip:c[b]+" Views in 24 hours",cssClass:"cyan"};if(Ei(d[b],d))return{title:"Trending 7d",tooltip:d[b]+" Views in 7 days",cssClass:"purple"};if(Ei(a[b],a))return{title:"Trending 30d",tooltip:a[b]+" Views in the last 30 days",cssClass:"blue"}},g8a=function(a,b){if(a&1){var c=v();I(0,"b-issues-table",1);M("issueNavigated",function(d){w(c);var e=P();return x(e.submitEnrichmentFeedback(d,e.EnrichmentFeedbackType.GO_TO_ISSUE))});J()}a&2&&(a=P(),E("issueIds",b.issueIds)("tableColumns",b.tableColumns)("options",
a.tableOptions)("enrichmentCategoriesFunction",b.categoriesFunction)("menuItemFactory",a.menuItemFactory))},h8a=function(a){a&1&&(I(0,"div"),K(1,"b-spinner"),J())},i8a=function(a){a&1&&Cg(0)},l8a=function(a){if(a&1){var b=v();I(0,"div",1);M("keydown",function(c){w(b);var d=P();return x(d.processKeydown(c))});I(1,"div",2);D(2,i8a,1,0,"ng-container",3);J();I(3,"div",4)(4,"button",5);M("click",function(){w(b);var c=P();return x(j8a(c))});Q(5,"Save");J();I(6,"button",6);M("click",function(){w(b);var c=
P();return x(k8a(c))});Q(7,"Cancel");J()()()}a&2&&(a=P(),E("cdkTrapFocusAutoCapture",!0),B(2),E("ngTemplateOutlet",a.editorTemplate),B(2),E("disabled",a.saveDisabled))},m8a=function(a){if(a&1){var b=v();I(0,"input",4,2);M("peoplekitAutocompleteSelectionChange",function(c){w(b);var d=P();return x(d.selectAutocomplete(c))});bh("ngModelChange",function(c){w(b);var d=P();ah(d.inputValue,c)||(d.inputValue=c);return x(c)});J()}a&2&&(a=P(),E("peoplekitAutocompleteConfig",a.mergedAutocompleteConfig)("peoplekitSearchSessionOptions",
a.sessionOptions),$g("ngModel",a.inputValue))},n8a=function(a){a&1&&Cg(0)},p8a=function(a){a&1&&(Ag(0),D(1,n8a,1,0,"ng-container",6),Bg());a&2&&(a=P(),B(),E("ngTemplateOutlet",a.selectedUserTemplate)("ngTemplateOutletContext",eh(2,o8a,a.email)))},q8a=function(a){a&1&&Q(0);a&2&&(a=P(),R(" ",a.email," "))},r8a=function(a){a&1&&(Ud(),I(0,"svg",7),K(1,"path",8),J())},s8a=function(a){a&1&&K(0,"b-user-membership-chip",3);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)}},t8a=function(a,b){a&1&&D(0,s8a,1,3,"b-user-membership-chip",3);a&2&&G(b.$implicit?0:-1)},u8a=function(a){a&1&&K(0,"div",2)},v8a=function(a){a&1&&(Ag(0),Jg(1),Bg())},w8a=function(a){a&1&&(Ud(),I(0,"svg",1),K(1,"path",2),J());a&2&&(a=P(),E("matTooltip",a.warning))},x8a=function(a){if(a&1){var b=v();I(0,"b-edit-field",3,0);S(2,"async");S(3,"async");M("valueChange",function(d){w(b);var e=L(1),f=P();f.valueChange.emit({editField:e,newEmail:d!==null&&d!==void 0?
d:""});f.cdr.markForCheck();return x()});J()}if(a&2){var c;a=P();E("name",a.name)("title",a.title)("type",a.FieldType.TEXT)("value",a.value)("user",a.user)("isUser",!0)("readonly",!U(2,10,a.hasAclToEdit$))("disabled",!!a.isSaving)("showAvailability",!0)("teamId",(c=U(3,12,a.teamId$))!==null&&c!==void 0?c:"")}},y8a=function(a){if(a&1){var b=v();I(0,"onedev-edit-field")(1,"onedev-field-label");Q(2);J();I(3,"onedev-field-value",4)(4,"b-user-picker",5,1);S(6,"async");S(7,"async");M("emailChange",function(f){w(b);
var h=P();h.emailChange.emit(f);h.cdr.markForCheck();return x()});J()()()}if(a&2){var c,d,e;a=P();B(2);Yg(a.title);B();E("thinking",!!a.isSaving);B();E("anchor",(c=a.anchor)!==null&&c!==void 0?c:a.elementRef.nativeElement)("user",(d=a.user)!==null&&d!==void 0?d:a.emailToUser(a.value))("teamId",(e=U(6,6,a.teamId$))!==null&&e!==void 0?e:"")("disabled",!U(7,8,a.hasAclToEdit$))}},z8a=function(a){a&1&&(I(0,"div",4),Jg(1,1),J());a&2&&(a=P(),Kg("id","expansion-panel-content-",a.instance,""),jg("aria-labelledby",
"expansion-panel-header-"+a.instance))},A8a=function(a,b){a&1&&(I(0,"div")(1,"span",16),Q(2,"Phase:\u00a0"),J(),I(3,"span",17),Q(4),J()());a&2&&(B(4),Yg(b))},B8a=function(a,b){a&1&&(I(0,"div")(1,"span",16),Q(2,"Subphase:\u00a0"),J(),I(3,"span",17),Q(4),J()());a&2&&(B(4),Yg(b))},C8a=function(a){a&1&&K(0,"b-issue-card",20,1);if(a&2){a=L(1);var b=P();E("onedevIsHovercardReady",a.init)("issueId",b)}},D8a=function(a,b){a&1&&(I(0,"span",18),Q(1),J(),I(2,"onedev-hovercard",null,0),D(4,C8a,2,2,"b-issue-card",
19),J());a&2&&(a=L(3),E("onedevHovercardTrigger",a),B(),R("Duplicate of ",b,""))},F8a=function(a,b){if(a&1){var c=v();I(0,"span",16);Q(1,"Triager:\u00a0");J();K(2,"b-user-image",22);I(3,"b-single-user-control",23,3);S(5,"async");M("valueChange",function(f){w(c);var h=P(3);return x(E8a(h,f.newEmail))})("emailChange",function(f){w(c);var h=P(3);return x(E8a(h,f))});J();I(6,"button",24);M("click",function(f){w(c);L(4).openEditor();return x(f.stopPropagation())});K(7,"mat-icon",25);J()}if(a&2){var d;
P();a=L(1);var e=P(2);B(2);E("email",b);B();E("name","triager")("anchor",a)("title","Triager")("value",b)("user",(d=U(5,6,e.triager$))!==null&&d!==void 0?d:void 0)}},G8a=function(a){if(a&1){var b=v();I(0,"button",26);M("click",function(){w(b);var c=P(3);return x(c.claim())});Q(1," Claim ");J()}},H8a=function(a){a&1&&(I(0,"div",10,2),D(2,F8a,8,8),S(3,"async"),D(4,G8a,2,0,"button",21),J());if(a&2){var b;a=P(2);B(2);G((b=U(3,1,a.triagerEmail$))?2:4,b)}},I8a=function(a,b){a&1&&(I(0,"span",45),Q(1,"Reporter:"),
J(),K(2,"b-user-image",22)(3,"b-user-display",51),I(4,"onedev-hovercard",null,5),K(6,"b-issue-person-card",52),J());if(a&2){a=L(5);var c=P();B(2);E("email",b);B();E("onedevHovercardTrigger",a)("model",c);B(3);E("email",b)}},J8a=function(a){a&1&&(D(0,I8a,7,4),S(1,"async"));if(a&2){var b;a=P(3);G((b=U(1,1,a.reporterEmail$))?0:-1,b)}},K8a=function(a){if(a&1){var b=v();I(0,"b-event-stream-header",53);M("click",function(c){w(b);return x(c.stopPropagation())});J()}},M8a=function(a){a&1&&K(0,"suggested-similar-issues",
54);if(a&2){a=P();var b=P(2),c=P();E("issueId",b)("similarIssueIds",a)("similarIssuesEnrichments",dh(4,L8a))("limit",c.MAX_SIMILAR_ISSUES)}},N8a=function(a,b){a&1&&D(0,M8a,1,5,"suggested-similar-issues",54);a&2&&G(b.length?0:-1)},P8a=function(a,b){if(a&1){var c=v();I(0,"secondary-footer",56);M("cancelAction",function(){w(c);var d=P(4);return x(d.cancelAction())})("finalizeAction",function(d){w(c);var e=P(4);return x(O8a(e,d))});J()}a&2&&(a=P(4),E("needsInfoAutomaticChanges",b)("selectedTriageAction",
a.selectedTriageAction))},Q8a=function(a){a&1&&(D(0,P8a,1,2,"secondary-footer",55),S(1,"async"));if(a&2){var b;a=P(3);G((b=U(1,1,a.needsInfoAutomaticChanges$))?0:-1,b)}},R8a=function(a,b){if(a&1){var c=v();I(0,"button",59);S(1,"async");M("click",function(){var d=w(c).$implicit,e=P(4),f=P();return x(f.openSecondaryActionFooter(d.key,e))});Q(2);J()}a&2&&(a=b.$implicit,b=P(5),E("disabled",!U(1,2,b.hasAclToEdit$)),B(2),R(" ",a.displayAs," "))},T8a=function(a,b){if(a&1){var c=v();I(0,"triage-action-selector",
57);M("onSelect",function(d){w(c);var e=P(3),f=P();return x(f.openSecondaryActionFooter(d.key,e))});J();yg(1,R8a,3,4,"button",58,S8a)}a&2&&(a=P(4),E("phase",b),B(),zg(a.PHASE_TO_ACTIONS.get(b)))},U8a=function(a){a&1&&(D(0,T8a,3,1),S(1,"async"));if(a&2){var b;a=P(3);G((b=U(1,1,a.issuePhase$))?0:-1,b)}},V8a=function(a,b){a&1&&(I(0,"div",27)(1,"div",28),K(2,"issue-title",29),S(3,"async"),I(4,"div",30)(5,"div")(6,"span",31),Q(7),S(8,"enumToHuman"),J()(),I(9,"div")(10,"span",32),K(11,"b-issue-priority-display",
33),J()(),K(12,"mat-divider",34)(13,"b-issue-hotlists",35),J()(),I(14,"b-expansion-panel",36),Ag(15,37),I(16,"div",38),K(17,"mat-icon",39),I(18,"h4",40),Q(19,"Description"),J(),D(20,J8a,2,3),S(21,"async"),J(),Bg(),K(22,"b-issue-description",41),J(),I(23,"b-expansion-panel",36,4),Ag(25,37),I(26,"div",42),K(27,"mat-icon",43),I(28,"h4",44),Q(29),S(30,"async"),J(),D(31,K8a,1,0,"b-event-stream-header",45),S(32,"async"),J(),Bg(),K(33,"b-event-stream",46),S(34,"async"),S(35,"async"),S(36,"async"),S(37,"async"),
J(),I(38,"b-expansion-panel",36),Ag(39,37),I(40,"div",42),K(41,"mat-icon",47),I(42,"h4",48),Q(43),S(44,"async"),J(),K(45,"mat-icon",49),S(46,"async"),J(),Bg(),D(47,N8a,1,1),S(48,"async"),J()(),I(49,"div",50),D(50,Q8a,2,3)(51,U8a,2,3),J());if(a&2){var c,d,e,f,h,l;a=L(24);var q=P(),u=P();B(2);E("title",b.snapshot[0].title)("issueId",q)("componentId",b.snapshot[0].componentId)("hasAclToEdit",U(3,25,u.hasAclToEdit$));B(5);Yg(U(8,27,b.snapshot[0].type));B(4);E("issuePriority",b.snapshot[0].priority);B();
E("vertical",!0);B();E("issueId",q);B();E("expanded",!0);B(6);G((c=U(21,29,u.reporterUser$))?20:-1,c);B(2);E("id",q);B();E("expanded",!0);B(6);R("Comments (",(d=U(30,31,u.comments$))==null?null:d.length,")");B(2);G(a.expanded&&((e=U(32,33,u.comments$))==null?0:e.length)?31:-1);B(2);E("issueId",q)("events",U(34,35,u.events$))("issueAccessLevel",U(35,37,u.accessLevel$))("showFullHistory",U(36,39,u.preferences.showFullHistory$));jg("data-will-inline-screenshots",U(37,41,u.enableInlineScreenshots$)?!0:
null);B(5);E("expanded",!0);B(5);R(" Similar issues (",(f=U(44,43,u.similarIssueIds$))==null?null:f.length,") ");B(2);Kg("matTooltip","Similar issues found in query: ",(h=U(46,45,u.triageScope$))!==null&&h!==void 0?h:"","");B(2);G((l=U(48,47,u.similarIssueIds$))?47:-1,l);B(3);G(u.displaySecondaryFooter?50:51)}},W8a=function(a,b){if(a&1){var c=v();I(0,"div",6)(1,"div",7)(2,"div",8);K(3,"b-issue-id-picker",9);D(4,A8a,5,1,"div");S(5,"async");D(6,B8a,5,1,"div");S(7,"async");D(8,D8a,5,2);S(9,"async");
D(10,H8a,5,3,"div",10);S(11,"async");J();I(12,"div",11)(13,"a",12);K(14,"mat-icon",13);J();I(15,"button",14);M("click",function(){w(c);var l=P();return x(l.triageService.closeSidebar())});K(16,"mat-icon",15);J()()();D(17,V8a,52,49);S(18,"async");J()}if(a&2){var d,e,f,h;a=P();B(3);E("issueId",b)("showCopyOptions",!1);B();G((d=U(5,9,a.issuePhaseDisplay$))?4:-1,d);B(2);G((e=U(7,11,a.issueSubphaseDisplay$))?6:-1,e);B(2);G((f=U(9,13,a.canonicalIssueId$))?8:-1,f);B(2);G(U(11,15,a.issuePhase$)===a.TriagePhase.NEW?
10:-1);B(3);Kg("href","/issues/",b,"",vf);B(4);G((h=U(18,17,a.issue$))?17:-1,h)}},X8a=function(a,b){a&1&&(I(0,"div",2)(1,"span",8),Q(2,"Phase:\u00a0"),J(),I(3,"span",9),Q(4),J()());a&2&&(B(4),Yg(b))},Y8a=function(a,b){a&1&&(I(0,"span",10),Q(1),J());a&2&&(a=b.$implicit,B(),Yg(a))},Z8a=function(a){a&1&&(I(0,"div")(1,"span",8),Q(2,"Subphase:\u00a0"),J(),yg(3,Y8a,2,1,"span",10,xg),J());a&2&&(a=P(),B(3),zg(a))},$8a=function(a,b){a&1&&D(0,Z8a,5,0,"div");a&2&&G(b.length?0:-1)},a9a=function(a,b){if(a&1){var c=
v();I(0,"button",13);S(1,"async");M("click",function(){var d=w(c).$implicit,e=P(2),f=P();return x(f.openSecondaryActionFooter(d.key,e))});Q(2);J()}a&2&&(a=b.$implicit,b=P(3),E("disabled",!U(1,2,b.hasAclToEdit$)),B(2),R(" ",a.displayAs," "))},c9a=function(a,b){if(a&1){var c=v();I(0,"triage-action-selector",11);M("onSelect",function(d){w(c);var e=P(),f=P();return x(f.openSecondaryActionFooter(d.key,e))});J();yg(1,a9a,3,4,"button",12,b9a)}a&2&&(a=P(2),E("phase",b),B(),zg(a.PHASE_TO_ACTIONS.get(b)))},
d9a=function(a){a&1&&(D(0,c9a,3,1),S(1,"async"));if(a&2){var b;a=P();G((b=U(1,1,a.issuePhase$))?0:-1,b)}},f9a=function(a){if(a&1){var b=v();I(0,"b-list-field",2);M("valuesChange",function(d){w(b);var e=P(2);return x(e.save.emit(d.values))});J()}if(a&2){a=P();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",e9a(c))("displayValuesOverride",a.displayValues)("enumChoices",a.choices)("listFieldDisabled",
c.disabled)}},i9a=function(a){if(a&1){var b=v();I(0,"b-edit-field",3);M("valueChange",function(e){w(b);var f=P(2);return x(f.save.emit(e))});J()}if(a&2){var c;a=P();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",g9a(d))("displayValueOverride",d.getDisplayValue())("choices",(c=a.choices)!==null&&c!==void 0?c:dh(12,h9a))("showEnumTitle",!0)("disabled",d.disabled)("customFieldId",
d.field.customFieldId)}},j9a=function(a,b){a&1&&D(0,f9a,1,10,"b-list-field",0)(1,i9a,1,13,"b-edit-field",1);a&2&&G(b.isRepeated()?0:1)},k9a=function(a,b){if(a&1){var c=v();I(0,"b-custom-field-editor",1);M("save",function(d){var e=w(c).$implicit,f=P();return x(f.updateCustomField(e.customFieldId,d))});J()}a&2&&(a=b.$implicit,b=P(),E("issue",b.editableIssue)("field",a))},l9a=function(a,b){if(a&1){var c=v();I(0,"b-hotlist-chip-smart",6);M("removeHotlist",function(){var d=w(c).$implicit,e=P(2);return x(e.removeHotlists([d]))});
J()}a&2&&E("id",b.$implicit)},m9a=function(a){if(a&1){var b=v();I(0,"div",0)(1,"div",1)(2,"label");Q(3,"Hotlists");J()();I(4,"div",2)(5,"button",3);M("click",function(){w(b);var c=P();return x(c.openHotlistModal())});K(6,"mat-icon",4);Q(7," Add ");J();yg(8,l9a,1,1,"b-hotlist-chip-smart",5,xg);J()()}a&2&&(a=P(),B(8),zg(a.hotlistIds))},Sr=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},
Tr=function(a,b){for(var c in a)if(c.toLowerCase()===b.toLowerCase())return a[c]},n9a=function(a,b){for(var c in a)if(c.toLowerCase()===b.toLowerCase()){delete a[c];break}},p9a=function(a){a=Jc(a);for(var b=0;b<o9a.length;++b){var c=o9a[b],d=Tr(a,c);d&&(a["X-Goog-Upload-Header-"+c]=d,n9a(a,c))}return a},q9a=function(a){a=Jc(a);n9a(a,"X-Goog-Upload-Status");return a},s9a=function(a){if(a&1){var b=v();I(0,"button",3);M("fileSelected",function(c){w(b);var d=P();return x(r9a(d,c))});K(1,"mat-icon",4);
J()}a&2&&(a=P(),E("selectorType",a.SelectorType.MULTIPLE_FILE_SELECTION)("disableAutoUpload",!0)("disabled",a.disabled))},t9a=function(a){if(a&1){var b=v();I(0,"button",5);M("fileSelected",function(c){w(b);var d=P();return x(r9a(d,c))});K(1,"mat-icon",4);Q(2," Add attachments ");J()}a&2&&(a=P(),E("selectorType",a.SelectorType.MULTIPLE_FILE_SELECTION)("disableAutoUpload",!0)("disabled",a.disabled))},u9a=function(a){a&1&&(I(0,"span"),Q(1),S(2,"humanFileSize"),S(3,"humanFileSize"),J());if(a&2){var b;
a=P().$implicit;B();Zg(" ",U(2,2,a.transferredBytes)," of ",U(3,4,(b=a.size)!==null&&b!==void 0?b:0)," ")}},v9a=function(a){a&1&&(I(0,"span",6),Q(1),J());a&2&&(a=P().$implicit,B(),R(" ",a.errorMessage," "))},w9a=function(a){a&1&&(I(0,"span",6),Q(1),S(2,"humanFileSize"),J());if(a&2){var b;a=P().$implicit;B();R(" ",U(2,1,(b=a.size)!==null&&b!==void 0?b:0)," ")}},y9a=function(a,b){if(a&1){var c=v();I(0,"div",1)(1,"div",2);K(2,"mat-icon",3);I(3,"span",4);Q(4);J();I(5,"span",5);D(6,u9a,4,6,"span")(7,v9a,
2,1,"span",6)(8,w9a,3,3,"span",6);J()();I(9,"button",7);M("click",function(){var d=w(c).$implicit,e=P(2);return x(e.cancel(d))});J()()}a&2&&(a=b.$implicit,b=P(2),E("ngClass",eh(8,x9a,a.state===b.uploadStates.ERROR)),B(3),E("matTooltip",a.name),B(),Yg(a.name),B(2),G(a.state===b.uploadStates.UPLOADING?6:-1),B(),G(a.state===b.uploadStates.ERROR?7:-1),B(),G(a.state===b.uploadStates.COMPLETE?8:-1),B(),E("matTooltip",a.state===b.uploadStates.UPLOADING?"Cancel upload":"Remove attachment"),jg("aria-label",
"Remove attachment"+a.name))},z9a=function(a){a&1&&(I(0,"div",0),yg(1,y9a,10,10,"div",1,xg),J());a&2&&(a=P(),B(),zg(a.uploads))},A9a=function(a){this.action=a;this.wfv=!1},B9a=function(a,b){A9a.call(this,"set-drive-options");this.appId=a;this.appOrigin=b},C9a=function(a){a=a&&a.getWindow()||window;return a.gadgets&&a.gadgets.rpc},E9a=function(a,b){var c=b&&b.getWindow()||window;if(C9a(b))a();else if(D9a)D9a.push(a);else var d=D9a=[a],e=c.setInterval(function(){if(C9a(b)){c.clearInterval(e);for(var f=
0;f<d.length;f++)d[f]();D9a=null}},100)},H9a=function(a,b){var c=new F9a(a);Ur(b,c);var d={passive:!1};b.listen(c,"mousewheel",function(e){return void G9a(a,e)},d).listen(a,"scroll",function(e){return void G9a(a,e)},d)},G9a=function(a,b){var c;a:{for(c=b.target;c;){if(c.nodeType==1){var d=Vr(c,"overflowY");if(d=="auto"||d=="scroll")break a}c=c.parentNode}c=null}if(!c||!I9a(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()},J9a=function(a){if(a&1){var b=v();I(0,"div",0);K(1,"mat-icon",1);I(2,"div",2);Q(3," Comment and vote +1 on this issue to increase visibility ");J();I(4,"div",3)(5,"button",4);M("click",function(c){w(b);var d=P();return x(d.onClick(c))});Q(6,"Comment and vote +1");J()()()}a&2&&(B(),E("matTooltip","The +1 button is located in the top right corner of the issue details page"))},K9a=function(a){if(a&1){var b=v();I(0,"b-plus-one-comment-callout",7);M("onSubmitComment",
function(c){w(b);var d=P();return x(d.submitComment(c))});J()}a&2&&(a=P(),E("isPlusOneText",a.comment.value.trim()==="+1"))},L9a=function(a){if(a&1){var b=v();I(0,"b-drive-attachment",11);M("onPickDoc",function(c){w(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){w(b);var d=P(2);return x(d.addUpload(c))});J()}a&2&&(a=P(2),E("disabled",
a.attachmentsDisabled))},M9a=function(a){if(a&1){var b=v();I(0,"button",14);M("click",function(){w(b);var c=P(3);return x(c.onRestrict.emit())});K(1,"mat-icon",15);J()}a&2&&(a=P(3),E("disabled",a.attachmentsDisabled))},N9a=function(a){if(a&1){var b=v();I(0,"button",16);M("click",function(){w(b);var c=P(3);return x(c.onRestrict.emit())});K(1,"mat-icon",15);Q(2);J()}a&2&&(a=P(3),B(2),R(" ",a.getRestrictedLabel()," "))},O9a=function(a){a&1&&(I(0,"div",10),D(1,M9a,2,1,"button",12)(2,N9a,3,1,"button",
13),J());a&2&&(a=P(2),B(),G(a.isRestricted()?2:1))},P9a=function(a){if(a&1){var b=v();I(0,"div",6);Jg(1,2,[1,"goog-inline-block"]);I(2,"b-attachment-selector",8);M("onSelect",function(c){w(b);var d=P();return x(d.uploadFile(c))});J();D(3,L9a,1,1,"b-drive-attachment",9)(4,O9a,3,1,"div",10);J()}a&2&&(a=P(),B(2),E("disabled",a.attachmentsDisabled),B(),G(a.currentTracker?-1:3),B(),G(a.showRestrictionOptions?4:-1))},Q9a=function(a){a&1&&(I(0,"div"),K(1,"b-live-preview",17),J());a&2&&(a=P(),B(),E("comment",
a.comment.value)("issueId",a.issueId)("audience",a.audience)("formattingMode",a.comment.formattingMode))},R9a=function(a){a&1&&(I(0,"p",6),Q(1),I(2,"a",14),Q(3," Learn more "),J()());a&2&&(a=P(4),B(),R(" Your comment contains restricted words: ",Ar(a.bannedWordsChecker),". Review your comment before posting. "))},S9a=function(a){if(a&1){var b=v();I(0,"div",7)(1,"b-recaptcha",15);M("onUpdate",function(c){w(b);var d=P(4);return x(d.recaptchaResponse$.next(c))});J()()}},T9a=function(a){a&1&&Cg(0)},U9a=
function(a){a&1&&D(0,T9a,1,0,"ng-container",16);a&2&&(P(4),a=L(3),E("ngTemplateOutlet",a))},W9a=function(a){if(a&1){var b=v();I(0,"span")(1,"mat-checkbox",17);S(2,"async");S(3,"async");M("change",function(){w(b);var c=P(4);return x(V9a(c))});Q(4," CC Me ");J()()}a&2&&(a=P(4),B(),E("checked",!!U(2,2,a.autoCcOnComment$))("disabled",!!U(3,4,a.isCurrentUserCCd$)))},X9a=function(a){a&1&&(I(0,"mat-checkbox",18),Q(1," CC Me "),J());a&2&&E("checked",!0)("disabled",!0)},Y9a=function(a){a&1&&(I(0,"span",10),
D(1,X9a,2,2,"mat-checkbox",18),S(2,"async"),J());a&2&&(a=P(4),B(),G(U(2,1,a.isCurrentUserCCd$)?1:-1))},Z9a=function(a){if(a&1){var b=v();I(0,"b-markdown-toggle",19);M("change",function(c){w(b);var d=P();return x(d.formattingMode=c)});J()}a&2&&(a=P(),E("initialValue",a.formattingMode))},$9a=function(a){a&1&&(K(0,"b-access-limits-chip",12),S(1,"async"));a&2&&(a=P(4),E("issueId",a.issueId)("componentId",a.componentIdString)("accessLimitLevel",U(1,3,a.issueAccessLimitLevel$)))},a$a=function(a,b){if(a&
1){var c=v();I(0,"b-comment-box",5,1);S(2,"async");S(3,"async");S(4,"async");S(5,"async");M("onHotkey",function(){w(c);var l=L(1);return x(d_a(l,"editpage-hotkey"))})("onChange",function(){w(c);var l=P(3);return x(l.saveCommentDraft())})("onFocusEvent",function(){w(c);var l=P(3);return x(l.wasFocused=!0)})("onSubmit",function(l){w(c);var q=P(3);return x(q.submitCommentBox(l))})("onRestrict",function(){w(c);var l=P(3);return x(l.showNewContentJudgementDialog())})("onPlusOneTextEntered",function(l){w(c);
var q=P(3);q.commentButtonStyle=q.isPlusOneCalloutEnabled()&&l?"hairline":"fill";return x()});D(6,R9a,4,1,"p",6)(7,S9a,2,0,"div",7);S(8,"async");I(9,"div",8);D(10,U9a,1,1,"ng-container");I(11,"div",9);Jg(12);D(13,W9a,5,6,"span");S(14,"async");S(15,"async");D(16,Y9a,3,3,"span",10);S(17,"async");S(18,"async");D(19,Z9a,1,1,"b-markdown-toggle",11);S(20,"async");D(21,$9a,2,5,"b-access-limits-chip",12);S(22,"async");J();K(23,"b-issue-visibility-chip",13);J()()}if(a&2){var d,e,f;a=P(2);var h=P();E("hotkey",
h.HOTKEYS.FOCUS_COMMENT_BOX)("supportsPreview",!0)("issueId",a.issueId)("comment",b)("componentId",a.componentId)("placeholder",(d=U(2,20,h.commentPlaceholderText$))!==null&&d!==void 0?d:void 0)("judgementForNewContent",(e=U(3,22,h.judgementForNewContent$))!==null&&e!==void 0?e:void 0)("audience",(f=U(4,24,h.audience$))!==null&&f!==void 0?f:void 0)("disabled",U(5,26,h.commentBoxEnabled$)===!1)("isPlusOneCalloutEnabled",h.isPlusOneCalloutEnabled())("warn",h.bannedWordsChecker.showWarning())("isLiteralModeSupported",
!0);B(6);G(h.bannedWordsChecker.showWarning()?6:-1);B();G(U(8,28,h.showRecaptcha$)?7:-1);B(3);G(h.showActionsAfterPreview?-1:10);B(3);G(!U(14,30,h.isCurrentUserCCd$)&&U(15,32,h.hasAclToEdit$)?13:-1);B(3);G(U(17,34,h.isCurrentUserCCd$)||!U(18,36,h.hasAclToEdit$)?16:-1);B(3);G(U(20,38,h.hasAclToComment$)?19:-1);B(2);G(U(22,40,h.isAccessLimited$)?21:-1);B(2);E("issueId",h.issueId)}},b$a=function(a){a&1&&Cg(0)},c$a=function(a){a&1&&D(0,b$a,1,0,"ng-container",16);a&2&&(P(3),a=L(3),E("ngTemplateOutlet",
a))},e$a=function(a){a&1&&(I(0,"h3",2),Q(1,"Add comment"),J(),I(2,"div",3),S(3,"async"),D(4,a$a,24,42,"b-comment-box",4),S(5,"async"),J(),D(6,c$a,1,1,"ng-container"));if(a&2){var b;a=P(2);B(2);E("ngClass",fh(7,d$a,U(3,3,a.empty$),!a.wasFocused));B(2);G((b=U(5,5,a.comment$))?4:-1,b);B(2);G(a.showActionsAfterPreview?6:-1)}},f$a=function(a,b){a&1&&D(0,e$a,7,10);a&2&&G(b.isDeleted?-1:0)},g$a=function(a){if(a&1){var b=v();I(0,"b-button",21);S(1,"async");M("onAction",function(c){w(b);var d=P(2);return x(d.submitCommentBox(c))})("click",
function(c){w(b);var d=P(2);return x(d.submitCommentBox(c))});Q(2);J()}a&2&&(a=P(2),E("format",a.commentButtonStyle)("disabled",U(1,4,a.commentButtonEnabled$)===!1)("color",a.bannedWordsChecker.showWarning()?"warn":"primary"),B(2),R(" ",a.bannedWordsChecker.showWarning()?"Comment Anyway":"Comment"," "))},h$a=function(a){a&1&&D(0,g$a,3,6,"b-button",20);a&2&&(a=P(),G(a.showCommentButton?0:-1))},j$a=function(a){a=a.internal;var b,c,d;(b=W(a,i$a,11))==null?d=void 0:d=pc(b,1,Kb,Uj(Vj)).sort().join("-");
b=(c=d)!=null?c:"";var e,f,h;(e=W(a,i$a,11))==null?h=void 0:h=pc(e,2,Kb,Uj(Vj)).sort().join("-");c=(f=h)!=null?f:"";return Kh(a,10,"all_features")+(":enabled-"+b)+(":disabled-"+c)},Wr=function(a,b){return a.querySelector('[peoplekit-id="'+b+'"]')},k$a=function(a,b){return Array.from(a.querySelectorAll('[peoplekit-id="'+b+'"]'))},l$a=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"))})},m$a=function(a){return a.closest('[class~="aU4VQc"]')},n$a=function(a){var b=new Image;b.src=a;a=b.complete;b.src="";return a},Xr=function(a,b,c,d,e,f){e=e===void 0?new o$a:e;f=(f===void 0?"":f)||"https://lh3.googleusercontent.com/a/default-user";b=b.length?b.map(function(h){return h||"https://lh3.googleusercontent.com/a/default-user"}):[f];c=Nq(p$a,{imageUrls:b,backupUrl:f,size:c,preloadSize:d,pixelRatio:q$a()});e=new r$a(c,e);a.appendChild(c);
return e},t$a=function(a,b){var c="",d=0;b=k(b);for(var e=b.next();!e.done;e=b.next())e=e.value,c=c+a.substring(d,e.getStart())+"#\ufe0f\u20e3\u20e31\ufe0f\u20e3\u20e3"+a.substring(e.getStart(),e.getEnd())+"2\ufe0f\u20e3\u20e3*\ufe0f\u20e3\u20e3",d=e.getEnd();c+=a.substring(d,a.length);return s$a(s$a(Yr(c),"#\ufe0f\u20e3\u20e31\ufe0f\u20e3\u20e3","<b>"),"2\ufe0f\u20e3\u20e3*\ufe0f\u20e3\u20e3","</b>")},u$a=function(a){var b=a.getDisplayName();return b?t$a(b,a.getMatchInfo().getDisplayNameMatches()):
""},v$a=function(a){var b=a.getDisplayValue();return b?t$a(b,a.getMatchInfo().getDisplayValueMatches()):""},w$a=function(a,b){var c=b?u$a(a):Yr(a.getDisplayName());b=b?v$a(a):Yr(a.getDisplayValue());c=c||b;b=b||Yr(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()]}},x$a=function(a){var b=a.result();b=w$a(b,!1);a=a.getDisplayNameWithOverrideApplied();return{label:Yr(a)||
b.sublabel,sublabel:b.sublabel,name:a,photos:b.photos,hovercardId:b.hovercardId}},y$a=function(a){var b;switch(((b=a.statefulChipConfig)==null?void 0:b.chipState)||0){case 3:return"isError";default:return""}},A$a=function(a,b,c){var d=x$a(a),e=a.result().getPrimaryTarget();a=b.getWarnForExternalSelections()&&e.getOrgState()===2;e=b.getShouldDisplayExternalSelectionIcon()&&a&&e.getDataSource()!==1?["https://www.gstatic.com/people/peoplekit/icons/light_theme/out_of_domain_yellow500.svg"]:d.photos;c=
y$a(c);return{id:Zr(z$a),label:d.label,name:d.name,photos:e,hovercardId:d.hovercardId,stateClass:c,isWarning:a,isDeletionDisabled:!b.getAllowChipDeletion()}},C$a=function(a,b,c,d){var e="",f=Yr(a.getDescription()),h=!1,l=a.getMemberList().length;if(l>1||a.getDisplayName())e=a.getMemberList().map(function(q){var u=q.getPrimaryTarget().getName(),A="";if(u){if(b){var F;var H=(u=(H=q.getPrimaryTarget())==null?void 0:(F=H.getName())==null?void 0:F.getGivenName())?t$a(u,q.getMatchInfo().getGivenNameMatches()):
""}else H=Yr(u.getGivenName());(A=H)||(A=b?u$a(q):Yr(q.getDisplayName()))}A||(A=b?v$a(q):Yr(q.getDisplayValue()));return A}),c&&(e=e.reverse()),e=b?u$a(a)||e.join(", "):Yr(a.getDisplayName())||e.join(", "),f||d||a.getTotalMemberCount()===null||(f=Number(a.getTotalMemberCount()),f=B$a({memberCount:f}),h=!0);else if(l===1)return e=a.getMemberList()[0],f=w$a(e,b),Object.assign({},f,{type:a.getPrimaryTarget().getTargetType(),flatResult:e,allowSublabelTranslation:!1});c=a.getPhotoUrl();c=a.getDisplayName()&&
c?[c]:a.getMemberList().map(function(q){return q.getPhotoUrl()});return{hovercardId:"",label:e,sublabel:f,type:a.getPrimaryTarget().getTargetType(),photos:c,allowSublabelTranslation:h}},as=function(a){return new $r(a)},D$a=function(a,b,c){b=b.ownerDocument.createEvent(c);b.initEvent(a,!0,!0);return b},E$a=function(a,b){return D$a(a,b,"CustomEvent")},F$a=function(a){return a.resultType===4||a.resultType===5},J$a=function(a){bs.addCoreFactory({type:0,configurationKey:a,factory:{create:function(b){var c=
b.chipConfig;var d=b.chipCustomization,e=b.isRightToLeft;e=C$a(b.selection.result(),!1,e,!1);if(e.flatResult){var f=Object,h=f.assign,l=e.flatResult,q=l.getPrimaryTarget(),u=c.getWarnForExternalSelections()&&q.getOrgState()===2;q=c.getShouldDisplayExternalSelectionIcon()&&u&&q.getDataSource()!==1?["https://www.gstatic.com/people/peoplekit/icons/light_theme/out_of_domain_yellow500.svg"]:e.photos;d=y$a(d);c={id:Zr(z$a),label:e.label,name:l.getDisplayName(),photos:q,hovercardId:e.hovercardId,stateClass:d,
isWarning:u,isDeletionDisabled:!c.getAllowChipDeletion()};c=h.call(f,{},c,{type:e.type})}else c=Object.assign({},{id:Zr(G$a),isDeletionDisabled:!c.getAllowChipDeletion(),stateClass:"",isWarning:!1,name:e.label},e);e=Nq(H$a,c);Xr(Wr(e,"d6MZcd"),c.photos,b.avatarSize,b.resultListItemAvatarSize,b.appearanceConfig);b.parent.appendChild(e);return{chip:new I$a(e,b.selection,b.selectionsState),root:e,state:0}},shouldCreate:F$a}})},K$a=function(a){return 0===a.resultType},N$a=function(a){bs.addCoreFactory({type:1,
configurationKey:a,factory:{create:function(b){var c=A$a(b.selection,b.chipConfig,b.chipCustomization);c=Nq(L$a,Object.assign({},c,{avatarSize:b.avatarSize}));b.parent.appendChild(c);return{chip:new M$a(c,b.selection,b.selectionsState),root:c,state:0}},shouldCreate:K$a}})},W$a=function(a,b,c,d,e){var f=O$a(c),h=P$a(a),l=Q$a(a);l&&h.intersection(R$a(l));S$a(h,Mq(a),Mq(c));a=T$a(a,b);b=h.left;a&4?b+=h.width:a&2&&(b+=h.width/2);h=new cs(b,h.top+(a&1?h.height:0));h=U$a(h,f);a=T$a(c,d);h=V$a(h,ds(c),a).rect;
c=Q$a(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},Z$a=function(a,b){es(a,new cs(b.left,b.top));b=b.getSize();X$a(ds(a),b)||Y$a(a,b)},$$a=function(a,b){return new fs(a,b)},dab=function(a,b,c){b=Nq(aab,{label:c.label,id:b,ariaLabel:c.ariaLabel});a.appendChild(b);a=c.showDelayMs;
c=c.hideDelayMs;c=new bab(b,a===void 0?500:a,c===void 0?300:c);return new cab(b,c)},eab=function(a){return!a.chipCustomization.statefulChipConfig||a.chipCustomization.statefulChipConfig.chipState===0||a.chipConfig.getWarnForExternalSelections()&&a.chipCustomization.statefulChipConfig.chipState!==3?!1:!0},fab=function(a){bs.addDecoratorFactory({type:0,factory:{create:function(b,c){return{chip:new gs(c.chip,b.chipCustomization.statefulChipConfig.tooltipLabel,b.chipCustomization.statefulChipConfig.ariaLabel),
root:c.root,state:b.chipCustomization.statefulChipConfig.chipState}},shouldCreate:eab},configurationKey:a})},hab=function(a,b,c){return new xq(new gab(a===void 0?0:a,b!=null?b:[],c!=null?c:null))},hs=function(a){return(a||"").trim()},jab=function(a,b,c,d){return new iab(a,b===void 0?"":b,c===void 0?!1:c,d===void 0?null:d)},is=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)},js=function(a){return E$a("pcw-click",a)},kab=function(a){var b;return Object.freeze({id:"jCCvxc",iconUrl:(b=ks.get(a))==null?void 0:b.get("jCCvxc"),label:"Copy",keyboardShortcut:[512,67],veid:108906})},lab=function(a){var b;return Object.freeze({id:"UkZFS",iconUrl:(b=ks.get(a))==null?void 0:b.get("UkZFS"),label:"Cut",keyboardShortcut:[512,88],veid:119506})},mab=function(a){var b;
return Object.freeze({id:"YCRBfe",iconUrl:(b=ks.get(a))==null?void 0:b.get("YCRBfe"),label:"Change name",keyboardShortcut:[16,69],veid:120676})},nab=function(a){var b;return Object.freeze({id:"l1309",iconUrl:(b=ks.get(a))==null?void 0:b.get("l1309"),label:"Change email address",keyboardShortcut:[16,70],veid:135428})},oab=function(a){var b=ls?"Option":"Alt",c,d=Object,e=d.freeze;a=(c=ks.get(a))==null?void 0:c.get("xTCd3");return e.call(d,{id:"xTCd3",iconUrl:a,label:"More info",keyboardShortcut:[18,
39],veid:119507,ariaLabel:"More info, "+b+" + right arrow key"})},pab=function(a){var b;return Object.freeze({id:"ENOWEf",iconUrl:(b=ks.get(a))==null?void 0:b.get("ENOWEf"),label:"Hide suggestion",keyboardShortcut:[],veid:181476})},qab=function(a){return a.map(function(b){if(ls)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)}})},tab=
function(a,b){var c=Zr(ms.getInstance()),d=Object,e=d.assign;c=c+":"+a.id;var f=qab(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("Ff`"+b);}d=Nq(rab,e.call(d,{},a,{id:c,keyboardShortcut:f,densityClass:b}));a.veid&&is({element:d,veid:a.veid,actions:["impression","pcw-click"],componentId:"peoplekitweb"});return new sab(d,a)},
uab=function(a,b){return new ns(a,b)},vab=function(a,b,c){var d=Math.max(b,c);return a>Math.min(b,c)&&a<d},os=function(a){return new wab(a)},yab=function(a,b){return new xab(a,b)},zab=function(){return!1},Aab=function(){},Dab=function(a,b,c,d){var e=Nq(Bab);is({element:e,veid:28041,actions:["impression"],componentId:"peoplekitweb"});var f=new Cab(e);a.appendChild(e);return new ps(e,b,c,f,d)},Gab=function(a,b){b=Nq(Eab,{label:b.label});a.appendChild(b);return new Fab(b)},Iab=function(a,b){for(var c=
k(Hab.values()),d=c.next();!d.done;d=c.next())a.classList.remove(d.value);(b=Hab.get(b))&&a.classList.add(b)},Kab=function(a,b){for(var c=k(["peoplekitThemeLight","peoplekitThemeDark"]),d=c.next();!d.done;d=c.next())a.classList.remove(d.value);(b=Jab.get(b))&&a.classList.add(b)},Nab=function(a,b,c,d,e){b=Nq(Lab,{content:b,header:d,confirmAction:!0});a.appendChild(b);d=Wr(b,"Sx9Kwc");a=Gab(Wr(b,"IbE0S"),{label:"Cancel"});var f={confirmButtonText:e};f=f||{};var h="";f=f.confirmButtonText;switch(Ya(f)?
f.toString():f){case "Confirm":h+="Confirm";break;case "Hide":h+="Hide";break;case "Show":h+="Show";break;default:h+="Apply"}h=Gab(Wr(b,"McfNlf"),{label:h});Kab(b,c.getTheme());Iab(d,c.getStyle());c={element:h.getRoot(),veid:0,actions:["pcw-click","impression"],componentId:"peoplekitweb"};switch(e){case "Hide":c.veid=131909;is(c);break;case "Show":c.veid=131910,is(c)}return new Mab(b,a,h)},Pab=function(a,b,c,d){b=Nq(Lab,{content:b,header:d});a.appendChild(b);a=Wr(b,"Sx9Kwc");d=Gab(Wr(b,"IbE0S"),{label:"Close"});
Kab(b,c.getTheme());Iab(a,c.getStyle());return new Oab(b,d)},Rab=function(a,b){var c=Qab({header:"Couldn't hide suggestion"});var d=qs("<div>There was a problem and this person could not be hidden</div>");a=Pab(a,d,b,c);is({element:a.getRoot(),veid:131913,actions:["impression"],componentId:"peoplekitweb"});return a},Sab=function(a,b){var c=Qab({header:"Couldn't hide suggestion"});var d=qs("<div>Groups of 2 or more people can't be hidden</div>");a=Pab(a,d,b,c);is({element:a.getRoot(),veid:166230,actions:["impression"],
componentId:"peoplekitweb"});return a},Uab=function(a,b){var c=Qab({header:"Couldn't show suggestion"});var d=qs("<div>There was a problem and this person could not be shown in suggestions</div>");a=Pab(a,d,b,c);is({element:a.getRoot(),veid:184760,actions:["impression"],componentId:"peoplekitweb"});return a},Xab=function(a,b,c,d){var e=b.result().getMemberList();e.length===1?(b=w$a(e[0],!1),b={hovercardId:b.hovercardId,label:b.label,sublabel:b.sublabel,name:"",photos:b.photos}):b=x$a(b);e=Vab({hovercardId:b.hovercardId,
label:b.label,sublabel:b.sublabel,name:b.name});var f=d===0?"Hide":"Show",h='<div peoplekit-id="'+ts("bN97Pc")+'"><div class="'+ts("peoplekitComponentsHideconfirmationdialogImplHeadline")+'">';h=(d===0?h+"Hide Suggestion?":h+"Show Suggestion?")+('</div><div class="'+ts("peoplekitComponentsHideconfirmationdialogImplDescription")+'">');d=qs((d===0?h+"This person won't be suggested again unless you search for them in Photos.":h+"Suggest this person when showing people results.")+"</div></div>");a=Nab(a,
d,c,e,f);d=Wr(a.getRoot(),"d6MZcd");Xr(d,b.photos,36,36,c);return new Wab(a)},Zab=function(a){us.addDecoratorFactory({type:0,factory:{create:function(b,c){return new vs(c,b.appearanceConfig,b.clientConfig,b.result,b.ariaParent,b.popupsContainer)},shouldCreate:function(b){var c=b.result.getResultType()===7,d=b.result.getMemberList().length>=2;c=!c&&!d;d=!!(new Yab).filterResult(b.result);return Ak(b.clientConfig.internal,7,!1)&&!d&&c}},configurationKey:a})},cbb=function(a,b,c){var d=Nq($ab,{icon:c.icon,
tooltipLabel:c.tooltipLabel,ariaLabel:c.ariaLabel});a.appendChild(d);a=d.classList;var e=a.add;a:{var f=c.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("Ff`"+f);}}e.call(a,f);if(c.tooltipLabel){var h=d.getAttribute("data-tooltip-id")||"";h=dab(b,h,{label:c.tooltipLabel,ariaLabel:c.ariaLabel});abb(h,d)}return new bbb(d,c.icon,c.disabledIcon,h,c.disableDomNavigation,
c.onClick)},ebb=function(a,b,c,d,e){var f=Object.assign({},c);f.onClick=function(h){d.select(a.getSelection(),1);var l;(l=c.onClick)==null||l.call(c,h)};return new dbb(a,b,f,e)},gbb=function(a){us.addDecoratorFactory({type:2,factory:{create:function(b,c){return new fbb(c,b.appearanceConfig,b.clientConfig,b.interactions,b.popupsContainer)},shouldCreate:function(b){return Ak(b.clientConfig.internal,7,!1)&&!!(new Yab).filterResult(b.result)}},configurationKey:a})},hbb=function(a){us.addDecoratorFactory({type:1,
factory:{create:function(b,c){return ebb(c,b.appearanceConfig,b.resultCustomizationConfig.secondaryActionButtonConfig,b.interactions,b.popupsContainer)},shouldCreate:function(b){return!!b.resultCustomizationConfig.secondaryActionButtonConfig&&!(Ak(b.clientConfig.internal,7,!1)&&(new Yab).filterResult(b.result))}},configurationKey:a})},ibb=function(a){a=j$a(a);N$a(a);fab(a);J$a(a);Zab(a);gbb(a);hbb(a)},jbb=function(a,b,c){b=[b,c].map(function(d){return d!=null?d:""}).join(";");a.setAttribute("pkd-ac-state",
String(wi(b)))},kbb=function(a,b){b=[String(b.getId()),b.getValue()].join(";");a.setAttribute("pkd-target",String(wi(b)))},lbb=function(a,b){a.setAttribute("pkd-ps-state",String(wi("1")));b.warmUpCache().then(function(){a.setAttribute("pkd-ps-state",String(wi("2")))},function(){a.setAttribute("pkd-ps-state",String(wi("3")))})},pbb=function(a){var b=Nq(mbb,{id:Zr(nbb)});a.appendChild(b);return new obb(b)},sbb=function(a){if(ws){var b=qbb(a);rbb(a,b)}else a.scrollIntoView({block:"nearest"})},xbb=function(a,
b){var c=a.headerText,d=a.infoGroupConfig;a=a.collapsibleGroupConfig;if(c){var e=Zr(ms.getInstance());e=Nq(tbb,{id:e,header:c});c=new ubb(e,c);d&&(e={},d.infoType===1&&(e={infoIconVeId:185198,learnMoreLinkVeId:185199}),c=new vbb(c,d,b,e));a&&(c=new xs(c,a.isInitiallyCollapsed));c.getActionItems().length>0&&(c=new wbb(c));return c}},ybb=function(a){return Object.values(a).filter(function(b){return b!=null}).length},zbb=function(a){return Object.values(a.groupConfigs).every(function(b){return b&&ybb(b)!==
0?b.headerText!=null&&ybb(b)===1:!0})},Abb=function(a){switch(a){case 0:return 40;case 1:return 32;case 2:return 28;default:throw Error("Ff`"+a);}},Bbb=function(a){switch(a){case 0:return"googleMaterialDefaultDensity";case 1:return"workspaceMaterialComfortableDensity";case 2:return"workspaceMaterialCompactDensity";default:throw Error("Ff`"+a);}},Cbb=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},Dbb=function(a){var b,c=(b=a.getClient())==null?void 0:b.getApplication();a=a.getRequestType();return c&&a?[c,a]:null},Ebb=function(a){return(a=Dbb(a))?JSON.stringify(a):null},Fbb=function(a,b){b=b===void 0?null:b;b=a.getProfileId()||b;return b?(a=Dbb(a))?JSON.stringify([a,b]):null:null},Hbb=function(a){return Gbb.map(function(b){return new ys(a,b)})},Ibb=function(a,b){window.setTimeout(a,b)},Jbb=function(a,b){return new Promise(function(c){b>0?Ibb(function(){return c(a)},b):c(a)})},Kbb=function(a){return new Promise(function(b,
c){a>0?Ibb(function(){return c("TIMEOUT")},a):c("TIMEOUT")})},Lbb=function(a,b,c){b=Jbb(b,c);return Promise.race([a,b])},Mbb=function(a,b){b=Kbb(b);return Promise.race([a,b])},Nbb=function(a){var b=new zs;if(a instanceof As)switch(b.setErrorType(a.type),a.type){case 2:b.setErrorMessage("Failed to load flags from service");break;case 3:b.setErrorMessage("Failed to retrieve flags from cache");break;case 4:b.setErrorMessage("Operation failed to complete before timeout");break;case 6:b.setErrorMessage("Operation failed because of invalid keys.");
break;case 7:b.setErrorMessage("Failed to load flags from server"),b.setStatusCode(a.statusCode)}else b.setErrorType(5),b.setErrorMessage(a.message);return b},Pbb=function(a){a=a===void 0?null:a;var b=(new Obb).setExperimentFlags(new Bs).setSource(3);a&&b.setError(Nbb(a));return b},Zbb=function(a){var b=b===void 0?new Qbb:b;if(Rbb)return Rbb;var c=new Sbb(a),d=new Tbb(a),e;b.isAvailable()?e=new Ubb(a,b):e=new Vbb(a);b=e;try{b.clean()}catch(f){}c=new Wbb(new Xbb(b,c),d,a.runtime_);return Rbb=new Ybb(a,
c)},acb=function(a){var b=a.resultCustomizationConfig,c=w$a(a.result,!0);a=$bb(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}},$bb=function(a,b){var c=a.result,d=a.resultConfig;a=Bbb(a.appearanceConfig.getDensity());var e=[];Ak(bcb.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:Zr(ccb),hovercardId:b.hovercardId,label:b.label,sublabel:b.sublabel,photos:b.photos,densityClass:a,tags:e,allowSublabelTranslation:!1}},ecb=function(a){var b=a.result,c=a.resultCustomizationConfig,d=a.appearanceConfig,e=a.isRightToLeft,f=Ak(a.clientConfig.internal,6,!1);d=Bbb(d.getDensity());
b=C$a(b,!0,e,f);if(b.flatResult)return d=Object.assign({},a,{result:b.flatResult}),d=$bb(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:Zr(dcb),hovercardId:b.hovercardId,label:b.label,sublabel:c.shouldHideSublabel?"":a,type:b.type,photos:b.photos,densityClass:d,tags:[],allowSublabelTranslation:e}},gcb=function(a,b,c,d,e,f){return new fcb(a,b,c,d,e,f)},hcb=function(a){return a.resultCustomizationConfig.shouldDisable?2:a.selectionsState.get(a.result.getPrimaryTarget().getId())&&!a.resultConfig.getAllowResultDeselection()?1:0},jcb=function(a,b,c,d){return new icb(a,b===void 0?"":b,c===void 0?!1:c,d===void 0?null:d)},kcb=function(a){var b=
-1;(a=Cs(a))&&Bk(a,2)&&(b=Xj(a,2,0));return"index:"+b},Ds=function(a){return a instanceof TypeError?4:3},lcb=function(){return"https://support.google.com/contacts/answer/7345608"},ncb=function(a){return mcb.some(function(b){return a instanceof b})},ocb=function(a){return a.getAttribute("peoplekit-id")==="XLuqBd"},Gcb=function(a,b,c,d,e,f,h,l,q,u){var A=Nq(pcb);Iab(A,h.getStyle());a.appendChild(A);a=Nq(qcb);is({element:a,veid:85843,actions:["impression"],componentId:"peoplekitweb"});Iab(a,h.getStyle());
A.appendChild(a);var F=Wr(a,"tjneg"),H=new rcb(a),N=h.getAutocompleteHeader(),O=h.getAutocompleteCustomGrouping();if(l.internal.getEnableAutocompleteLegalese()){var T=h.getAutocompleteGroupingType()===4||h.getAutocompleteGroupingType()===5;var ea=O&&ncb(O);T=T&&ea?O:new scb}else switch(h.getAutocompleteGroupingType()){case 1:T=new scb;break;case 2:T=new tcb(h.getAutocompleteGroupingLabel());break;case 3:T=new ucb(h.getAutocompleteGroupingLabel());break;case 4:case 5:T=O}O=T;N=Nq(vcb,{header:N||""});
F.appendChild(N);N=pbb(Wr(N,"tjneg"));q=new wcb(N,h,h,l,d,e,q,b,H,O);e=new xcb(q,e,f);F=Wr(F,"rymPhb");b.setAttribute("aria-owns",F.id);b.setAttribute("aria-controls",F.id);F.setAttribute("aria-labelledby",b.id);q=h.getNoResultsMessage();F=Nq(ycb);q?q.display?q=new zcb(F,q):(q=Nq(Acb,q),F.appendChild(q),q=new Bcb):q=new Ccb;a.appendChild(F);f=new Dcb(a,b,e,c,f,h,q,l);Ak(l.internal,7,!1)&&(f=new Ecb(f,u,c,l,h,b));return new Fcb(A,b,f,d,h)},Icb=function(a,b){return new Hcb(a,b)},Jcb=function(a){return a.map(function(b){return b.getLoggingToken()}).filter(Boolean)},
Es=function(a){return a.filter(function(b){return!b.isPlaceholder()}).map(function(b){return b.selectionToken().getLoggingToken()}).filter(Boolean)},Kcb=function(a,b,c){switch(b){case 1:a.reporter.reportProceed(Es(c));break;case 2:a.dismiss(c);break;case 3:a.save(c);break;case 4:a.send(c);break;case 5:a.reporter.reportSecondaryAction(Es(c))}},Mcb=function(a,b,c){return new Lcb(a,b,c)},Qcb=function(a,b){a=a.internal.getClearcut();b=new Ncb(a,b);b=Fs(b);a=a.getInterfaceType();return new Ocb(new Pcb(b,
a))},Rcb=function(a,b,c,d){var e;d=k(d);for(var f=d.next();!f.done;f=d.next()){f=f.value;try{f(a,b,c)}catch(h){e||(e=h)}}if(e)throw e;},Scb=function(a,b,c,d,e){e=k(e);for(var f=e.next();!f.done;f=e.next())f=f.value,f(a,b,c,d)},Ucb=function(a){if(Tcb.has(a))return Tcb.get(a);throw Error("Tf`"+a);},Wcb=function(a){if(Vcb.has(a))return Vcb.get(a);throw Error("Uf`"+a);},Xcb=function(a){for(var b=new Map,c=k(Object.keys(a)),d=c.next();!d.done;d=c.next())d=d.value,b.set(a[d].string,a[d].xid);return b},
Zcb=function(a){return a?a.__owner?a.__owner:a.parentNode&&a.parentNode.nodeType===11?a.parentNode.host:Ycb(a):null},$cb=function(a,b,c){for(c||(a=Zcb(a));a&&!b(a);)a=Zcb(a)},edb=function(a,b,c){var d=new Gs,e=MPa();c=(new adb).setClientId(b.getClientId()).setApplication(b.getSocialApplicationOrUndefined()).setEntryPoint(c).setVersionName("1.0").setBaselineCl(713336297);d=new bdb(d,1394,e,void 0,void 0,void 0,new cdb(c));d.setClientSideLogOnlyForDevelopment(!b.getEnableClearcut()||!1);b=new ZPa;e=
bcb.getExperimentIds();b=wc(b,3,e,Lb);d.clearcut_.setClearExperimentIds(b);d.setComponentID("peoplekitweb");return new ddb(a,d)},kdb=function(a){var b=a.clientConfig,c=a.initializeIoC,d=b.internal;a=a.commonConfig.getEnvironmentConfig();var e=a.experimentsConfig_.getProfileId();if(e)if(d.getExperiments().getIsEnabled()){var f=ec(fdb||(fdb=gdb('[null,null,null,null,null,null,null,"AIzaSyBAMHkvD9gqERVdYmGsYLnAtfzigZdAqJQ"]')));f=new hdb(f,7)}else f=new Hs;else f=new Hs;d=d.getExperiments();a=f.loadExperiments(d.getApplication(),
(new idb).setPeopleApiEnv(a.apiEnv_),e);bcb=new jdb(d,a);c&&c(b)},mdb=function(a,b,c,d,e,f){var h=c.beginSession(function(){},f.sessionOptions||new Is);return ldb(a,b,c,h,d,e,f)},ldb=function(a,b,c,d,e,f,h){kdb({clientConfig:f,commonConfig:e,initializeIoC:ibb});f.internal.getClearcut().setInterfaceType(4);f.internal.getClearcut().setComponentFlow(7);var l=Nq(ndb,{classes:"aU4VQc"});a.appendChild(l);Ak(f.internal,14,!0)&&e.setStyle(1);Kab(l,e.getTheme());is({element:l,veid:64611,actions:["impression"],
componentId:"peoplekitweb"});a=new Js;var q=Mcb(d,a,e.getEntryPoint()),u=Qcb(f,e.getEntryPoint());b=Gcb(l,b,d,a,q,u,e,f,new odb(h.intelligence),c);lbb(b.getRoot(),c);c=edb(l,f.internal.getClearcut(),e.getEntryPoint());c.start(pdb);return new qdb(l,b,a,q,c,e)},rdb=function(a){switch(a){case 0:return 28;case 1:return 24;case 2:return 20;default:throw Error("Ff`"+a);}},sdb=function(a){var b=Number("2"),c=Number("4");return rdb(a)+2*b+2*c},Adb=function(a,b){var c=a.getPrimaryTarget().getContactId(),d=
a.getPrimaryTarget().getProfileId();if(c)return tdb(udb(vdb(),wdb(c).setEdit(!0)));if(d)return tdb(xdb(vdb(),(new Ks).setObfuscatedGaiaId(d).setEdit(!0)));var e;c=((e=a.getPrimaryTarget().getName())==null?void 0:e.getGivenName())||b;var f;b=((f=a.getPrimaryTarget().getName())==null?void 0:f.getFamilyName())||"";f=a.getTargetList().filter(function(h){return h.getTargetType()===1||h.getTargetType()===6}).map(function(h){return h.getDisplayValue()});a=a.getTargetList().filter(function(h){return h.getTargetType()===
2||h.getTargetType()===7}).map(function(h){return h.getDisplayValue()});return tdb(ydb(new Ls,zdb((new Ms).setGivenName(c).setFamilyName(b).setEmailList(f),a)))},Bdb=function(a){return(a==null?0:Ns(a).isValid())?{isValid:!1,errorMessage:"Name can't be an email address"}:{isValid:!0}},Fdb=function(a,b,c,d){var e=x$a(b);b=Adb(b.result(),b.getDisplayNameWithOverrideApplied());e={hovercardId:e.hovercardId,label:e.label,sublabel:e.sublabel,photos:e.photos,name:e.name,contactsUrl:b};b=e.contactsUrl;var f=
d.description;d='<div peoplekit-id="'+ts("bN97Pc")+'"><div class="'+ts("peoplekitComponentsNameeditdialogImplDescription")+'">';f?(d+=Os(f)+" ",b='To edit this contact permanently, use <a href="'+(ts(Ps(b))+'" target="_blank" class="'+ts("peoplekitComponentsNameeditdialogImplGoogleContactsLink")+'">Google Contacts</a>.'),d+=b):(b='Show a different name to recipients of this message. To edit this contact permanently, use <a href="'+(ts(Ps(b))+'" target="_blank" class="'+ts("peoplekitComponentsNameeditdialogImplGoogleContactsLink")+
'">Google Contacts</a>.'),d+=b);d+='</div><div peoplekit-id="'+ts("PN08Xe")+'"></div></div>';d=qs(d);b=Vab(e);a=Nab(a,d,c,b);d=Wr(a.getRoot(),"d6MZcd");Xr(d,e.photos,36,36,c);c=Wr(a.getRoot(),"PN08Xe");e=Nq(Cdb,{label:"Name",initialValue:e.name||"",id:Zr(Ddb)});c.appendChild(e);c=new Qs(e);return new Edb(a,c)},Hdb=function(a,b,c,d,e,f,h,l,q,u){a={resultType:c.result().getResultType(),avatarSize:rdb(f.getDensity()),resultListItemAvatarSize:Abb(f.getDensity()),parent:a,ariaParent:b,selection:c,selectionsState:d,
actionRequestCallbacks:e,appearanceConfig:f,chipConfig:h,chipCustomization:q,isRightToLeft:u,clientConfig:l};l=j$a(l);return Gdb(bs,l).create(a)},Idb=function(a){return JSON.stringify(a.map(function(b){return{id:String(b.getId()),dn:b.getDisplayName()||void 0,fdn:b.getForceDisplayNameOverride()?"f":void 0}}))},Kdb=function(a){return JSON.parse(a).map(function(b){var c=new Rs(Ss(b.id));b.dn&&c.setDisplayName(b.dn);b.fdn&&Jdb(c,!0);return c})},Ldb=function(a){return Jdb((new Rs(a.id())).setDisplayName(a.getDisplayNameOverride()),
a.getForceDisplayNameOverride())},Ndb=function(a,b,c,d,e,f,h,l,q,u){return new Mdb(a,b,c,d,e,f,h,l,q,u)},Rdb=function(a,b){var c=b.ownerDocument.defaultView.navigator;if(c.clipboard&&c.clipboard.writeText)c.clipboard.writeText(a);else if(c=b.ownerDocument,b=b.ownerDocument.defaultView,c.queryCommandSupported("copy"))try{var d=c.createElement("div");d.setAttribute("peoplekit-id","wbLqpc");d.textContent=a;a=d;var e,f=Odb.height;if(!f){var h=Pdb();f=h;if(a.style[h]===void 0){var l=Qdb()+zj(h);a.style[l]!==
void 0&&(f=l)}Odb.height=f}(e=f)&&(a.style[e]=0);c.body.appendChild(d);var q=b.getSelection();q&&(q.selectAllChildren(d),c.execCommand("copy"))}finally{d&&c.body.removeChild(d)}},Sdb=function(a,b){a=a.map(function(c){var d=c.result(),e=c.getDisplayNameWithOverrideApplied();switch(c.id().getType()){case 3:case 8:e=e||"Google User"}c=d.getDisplayValue();return new Ts(c,e)});Rdb(a.join(", "),b)},Udb=function(a,b,c,d,e,f,h,l,q,u,A){a=new Us(a,b,c,d,e,f,h,l,q,u,A);return new Tdb(a,A)},Xdb=function(a,b,
c,d,e,f,h,l,q,u,A){var F=new Cab(a),H=new Vdb({getPrevKeyCode:function(){return Vs(a)?39:37},getNextKeyCode:function(){return Vs(a)?37:39},navigatePastBegin:q.navigatePastBegin,navigatePastEnd:q.navigatePastEnd});e=Udb(b,c,F,d,e,f,h,l,{chipClick:function(N,O){return H.onClick(N,os(O))},chipContextMenu:function(N,O){H.onContextMenu(os(O))},chipDrop:q.chipDrop||function(){},chipEditContactMethod:q.chipEditContactMethod||function(){}},u,A);H.attach(a,e.getNavigatable());return new Wdb(e,b,c,d,u,A)},
Ydb=function(a){switch(a){case 0:return"googleMaterialDefaultDensity";case 1:return"workspaceMaterialComfortableDensity";case 2:return"workspaceMaterialCompactDensity";default:throw Error("Ff`"+a);}},$db=function(a){a=a.replace(/\\"/g,"%%").matchAll(Zdb);return[].concat(t(a)).map(function(b){var c=b[0].replace(RegExp("%%","g"),'\\"');return{value:c,startIndex:b.index||0,length:c.length}})},aeb=function(a,b){var c=$db(a);c=k(c);for(var d=c.next();!d.done;d=c.next())if(d=d.value,b<=d.startIndex+d.length)return d;
return{startIndex:0,length:a.length,value:a}},beb=function(a,b){return a.length!==b.length?!1:a.length===b.length&&a.every(function(c,d){return c.equals(b[d])})},heb=function(a,b,c,d,e,f,h,l,q){var u=new ceb(c,new Ws(c,d,l,q),f),A=Nq(deb,{max_height:void 0});Iab(A,e.getStyle());a.appendChild(A);a=Wr(A,"kE8AEc");var F=Nq(eeb,{multiSelectable:!0,orientation:"horizontal",isKeyboardFocusable:!1,ariaLabel:"Search Field"});a.appendChild(F);a=Nq(feb,{id:Zr(geb),ariaLabel:"",helpText:e.helpText,shouldAutofocus:e.shouldAutofocus,
height:sdb(e.getDensity()),densityClass:Ydb(e.getDensity())});var H=Wr(a,"BbVjBd");F.appendChild(a);f=Xdb(F,c,u,d,h,e,e,f,{navigatePastEnd:function(){H.focus()},chipDrop:function(){H.focus()},chipEditContactMethod:function(N){H.value=N;N=H.dispatchEvent;var O=D$a("input",H,"Event");N.call(H,O);H.focus()}},l,q);b=b(H);return new Xs(A,f,a,b,c,u,d,l,e,q)},leb=function(a,b,c,d,e,f){e.internal.getClearcut().setInterfaceType(4);e.internal.getClearcut().setComponentFlow(4);d.setAllowContactMethodEditing(Ak(e.internal,
5,!1));var h=Nq(ieb,{classes:"aU4VQc"});a.appendChild(h);Ak(e.internal,14,!0)&&d.setStyle(1);Kab(h,d.getTheme());is({element:h,veid:64611,actions:["impression"],componentId:"peoplekitweb"});lbb(h,b);var l=Qcb(e,d.getEntryPoint()),q=new Js,u=Mcb(c,q,d.getEntryPoint()),A=new odb(f.intelligence);a=(new jeb).setFilter(c.options_.getFilter()).setUseOriginalDisplayValue(d.getUseOriginalDisplayValue());a=heb(h,function(F){return Gcb(h,F,c,q,u,l,d,e,A,b)},q,b,d,e,A,a,l);f=edb(h,e.internal.getClearcut(),d.getEntryPoint());
f.start(pdb);return new keb(h,a,q,u,f)},neb=function(a,b,c,d,e){var f=b.beginSession(function(){},e.sessionOptions||new Is);return meb(a,b,f,c,d,e)},meb=function(a,b,c,d,e,f){kdb({clientConfig:e,commonConfig:d,initializeIoC:ibb});return leb(a,b,c,d,e,f)},oeb=function(a,b){return isFinite(a.fieldAffinity)?a.fieldAffinity:b&&Ys(a.id)&&a.id.getType()!==9?isFinite(a.itemAffinity)?a.itemAffinity:-Infinity:-Infinity},reb=function(a,b,c){if(Ys(a.id)||Ys(b.id)){var d=peb.has(a.id.getType()),e=peb.has(b.id.getType());
if(d!==e)return d?-1:1;if(Ys(a.id)&&Ys(b.id))return qeb(a,b,c,!1)}d=oeb(a,c);c=oeb(b,c);(c=d!==c?d>c?-1:1:0)||(a=!!a.isPrimary,c=a!==!!b.isPrimary?a?-1:1:0);return c},qeb=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?reb(a,b,c):0},seb=function(a){a=a===void 0?{requestCorpHeaders:!1}:a;var b=(new Zs).setDevice(1);a.requestCorpHeaders&&gl(b,2,2);return b},ueb=function(a){return a?teb.get(a)||0:0},
yeb=function(a){switch(a.getValueCase()){case 2:return $s(a.getEmail().getValue()||"");case 3:var b=a.getPhone();return b.getOriginalValue()&&b.getCanonicalValue()?(a=veb(b.getOriginalValue()||""),b=veb(b.getCanonicalValue()||""),!a.equals(b)&&a.getValue().startsWith(b.getValue())?a:b):veb(b.getCanonicalValue()||b.getDisplayValue()||b.getOriginalValue()||"");case 4:a=um(a,web,4,at);if(a.hasProfileId())return a=a.getProfileId()||"",new bt(8,wq(a).toLowerCase(),a);switch($l(a,ct)){case 2:return a=a.getEmail()||
"",new bt(6,wq(a).toLowerCase(),a);case 3:return xeb(a.getPhone()||"")}}return dt},Ceb=function(a){return lk(a,zeb,5,Uj()).map(function(b){switch(b.getIdCase()){case 1:return Aeb(b.getProfileId()||"");case 2:return Beb(b.getContactId()||"");default:return null}}).filter(Boolean)},Deb=function(a,b){return Jk(a,et,3)&&W(a,et,3).getIsPlaceholder()?3:ft(b,8)?1:0},Eeb=function(a){return a&&a.hasAffinity()?Number(a.getAffinity().getValue_legacyNullable()):-Infinity},Feb=function(a){return a.hasAffinity()?
Number(a.getAffinity().getValue_legacyNullable()):-Infinity},Geb=function(a){return!!a&&!!a.getPrimary()},Ieb=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"+Heb(a):""},Meb=function(a){var b=void 0;if(W(a,et,3)){var c;b=(c=b)!=null?c:new gt;ht(b,Jeb,W(a,et,3))}if(W(a,
Keb,5)){var d;b=(d=b)!=null?d:new gt;ht(b,Leb,W(a,Keb,5))}return b},Peb=function(a){var b=void 0;if(W(a,Neb,9)){var c;b=(c=b)!=null?c:new gt;ht(b,Oeb,W(a,Neb,9))}return b},Reb=function(a){var b=new it,c=a?2:1;Qeb(b.setEventType(4),c).setToken(a);return b},Teb=function(a,b){var c=new jt;c=(new it).setLookupInfo(c);kt(c.setEventType(6),9).setItemCount(a.length).setQueryScope(Seb.get(b)||0);return c},Ueb=function(){var a=new it;kt(a.setEventType(6),10);return a},Veb=function(){var a=new it;kt(a.setEventType(6),
2);return a},Web=function(){var a=new it;kt(a.setEventType(6),13);return a},Xeb=function(a,b){var c=new it;kt(c.setEventType(6),6).setQueryLength(a.length).setQueryScope(Seb.get(b)||0);return c},Yeb=function(a){var b=new it;kt(b.setEventType(6),5).setQueryScope(Seb.get(a)||0);return b},Zeb=function(a,b){switch(a){case 8:case 3:case 17:return(new lt).setProfileId(b);case 1:case 6:return(new lt).setEmail(b);case 7:case 2:return(new lt).setPhone(b);case 13:case 14:return a=new lt,em(a,4,mt,b);case 4:case 9:return(new lt).setContactId(b);
default:return null}},bfb=function(a){return((a=lk(a,$eb,2,Uj()).find(function(b){return nt(b,1)===1}))?afb.get(nt(a,2)):0)||0},ot=function(a){return(a||"").trim()},gfb=function(a,b){b.hasAffinity()&&a.setFieldLoggingId(cfb(ot(mna(pt(b.getAffinity(),1)))));if(b.hasName()){var c=b.getName(),d=a.setName,e=(new dfb).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 efb).setUrl(b.getUrl()).setGlyph(b.getGlyph()).setType(ffb.get(b.getType())||0)))},ifb=function(a,b){if(b.hasProfileId())switch($l(b,ct)){case 2:var c=ot(b.getEmail());return hfb(qt(a.id).setValue(ot(b.getProfileId())),(new rt).setType(1).setValue(c));case 3:return c=ot(b.getPhone()),hfb(qt(a.id).setValue(ot(b.getProfileId())),(new rt).setType(2).setValue(c));default:return b=ot(b.getProfileId()),qt(a.id).setValue(b)}switch($l(b,
ct)){case 2:return b=ot(b.getEmail()),hfb(qt(a.id).setValue(b),(new rt).setType(1).setValue(b));case 3:return b=ot(b.getPhone()),hfb(qt(a.id).setValue(b),(new rt).setType(2).setValue(b));default:return b=ot(b.getProfileId()),qt(a.id).setValue(b)}},lfb=function(a,b){var c=qt(a.id).setIsMe(!!a.isMe);a.containerIds&&(c.sourceIds_=a.containerIds||[]);b&&gfb(c,b);a.group&&((b=lk(a.group,jfb,6,Uj()).find(function(d){return ep(d,1,kfb)!=null}))?c.setValue(ot(ep(b,1,kfb))):a.group.hasGroupId()&&c.setValue(ot(a.group.getGroupId())));
a.targetExtendedData&&c.setExtendedData(a.targetExtendedData);a.target=c},nfb=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&&mfb(b,d.substring(c+1));a=a.substring(0,c+1)}if(a==="@")return b;mfb(b,a);return b},mfb=function(a,b){a.push(b);var c=b.length+1;ofb.lastIndex=0;for(var d=ofb.exec(b);d&&d.index<c;d=ofb.exec(b))a.push(b.substring(Number(ofb.lastIndex)))},st=function(a){return Iq(pfb(a)).replace(qfb,"").toUpperCase().toLowerCase()},
sfb=function(a){a=Array.from(a).flatMap(function(f){return(f||"").split(rfb)}).filter(Boolean);if(!a.length)return a;var b=new Set;a=k(a);for(var c=a.next();!c.done;c=a.next()){c=st(c.value);c=k(nfb(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})},ufb=function(a){return function c(){var d;return tfb(c,function(e){switch(e.nextAddress){case 1:fha(e,2),d=0;case 4:if(!(d<
a)){e.jumpTo(2);break}return y(e,d,7);case 7:d++;e.jumpTo(4);break;case 2:ue(e),ve(e,0)}})}()},wfb=function(a){return new vfb(a)},zfb=function(a){if(a.getTargetType()===8){var b=a.getOriginatingField();if(b&&(b=b.getType(),b=xfb.get(b)))return b}return(b=yfb.get(a.getTargetType()))?b:Ys(a.getId())?8:0},Bfb=function(a,b,c){var d=new tt,e=new ut;X(d,ut,2,e);e.setProvenance(b);b=new vt;X(d,vt,1,b);cl(b,9,c===1);b.setProfileId(a.getProfileId()||null);b.setContactId(a.getContactId()||null);c=zfb(a)===
8?8:a.getProfileId()?3:4;gl(b,8,c);c=null;a.getTargetType()===8&&(e=a.getOriginatingField())&&xfb.has(e.getType())&&(c=e.getValue());c||(c=a.getValue());c&&b.setFieldValue(c);Ys(a.getId())||b.setName(a.getName()?a.getName().getDisplayName():null);c=zfb(a);gl(b,7,c);b.setFieldLoggingId(a.getFieldLoggingId()||null);b.setPersonLoggingId(a.getPersonLoggingId()||null);b.setIsPlaceholder(a.getDataSource()===3);nt(b,7)===8&&b.setGroupId(a.getId().getValue());return new Afb(a,d)},Dfb=function(a){a=Cfb.indexOf(a.provenance);
return a<0?Cfb.length:a},Efb=function(a){return a.containerIds&&a.containerIds.some(function(b){return b.getType()===3})},Ffb=function(a){var b;return(new Set(((b=a.containerIds)!=null?b:[]).map(String))).size},Hfb=function(a,b){b.getUseOriginalDisplayValue()&&(a=new Map(Array.from(a,function(c){var d=k(c);c=d.next().value;d=d.next().value;if(c.equals(d.getPrimaryTarget().getId())&&c.getOriginalValue()!==d.getDisplayValue()&&d.getPrimaryTarget().getValue()===d.getDisplayValue()){var e=c.getOriginalValue(),
f=d.getPrimaryTarget();d=QLa(d,new Gfb(f,e))}return[c,d]})));return a},Kfb=function(a){return Ak(a,21,!1)?new Ifb:Jfb},Lfb=function(a){return a!==0&&a!==12},Mfb=function(a){return a.substring(a.indexOf("@")+1)},Nfb=function(a){return a.substring(0,a.indexOf("@")+1)},Qfb=function(a,b){a=a.match(Ofb);b=$s(b);return a&&a.length&&(a=a[0]||"")&&!b.equals($s(a.replace(Pfb,"")))?!0:!1},Rfb=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)}}},Vfb=function(a,b,c,d){b=Sfb(a,b).map(function(e){var f=k(e);e=f.next().value;f=f.next().value;return new Tfb(e,f)});c=Sfb(a,c).map(function(e){var f=k(e);e=f.next().value;f=f.next().value;return new Tfb(e,f)});a=Sfb(a,d).map(function(e){var f=k(e);e=f.next().value;f=f.next().value;return new Tfb(e,f)});return new Ufb(b,c,a)},Wfb=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}},Xfb=function(a){return a.reduce(function(b,c){var d=Wfb(c);if(b.has(d)){var e;(e=b.get(d))==null||e.push(c)}else b.set(d,[c]);return b},new Map)},Yfb=function(a,b){b=b===void 0?new wt:b;var c=new Map;a=k(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;for(var e=k(d.data.keys()),f=e.next();!f.done;f=e.next())f=f.value,c.set(f,d.data.get(f))}return{data:c,metadata:b}},$fb=function(a,b){return!a||
a instanceof Zfb?a:new Zfb(a,b)},cgb=function(a){var b=new agb,c=b.setQueryId(bgb(a,3)).setSelectionId(bgb(a,4)),d=bgb(a,5);Xk(c,3,d).setInstanceId(a.getInstanceIdOrUndefined()).setAffinityVersion(a.getAffinityVersionOrUndefined());return b},egb=function(a){var b=new dgb,c;if(a=(c=W(a,xt,18))==null?void 0:c.getSessionState())c=cgb(a),X(b,agb,2,c);return b},ggb=function(a){return fgb.get(a)||0},kgb=function(a,b){var c=igb(yt(new zt,"PeopleStore").setLogSource(Fk(a,4,574)).setApplication(a.getSocialApplication()).setEnvironment(b.getPeopleApiEnv()).setVersion("1004").setBaselineCl(713336297).setEnableClearcut(a.getEnableClearcut()),
[].concat(t(b.getExperiments().getExperimentIdsList()),t(jgb?jgb.getExperimentIds():[]))).setClientAgent(2);b.getClearcutUrl()&&c.setClearcutUrl(b.getClearcutUrl());if(a=lk(a,At,5,Uj()).find(function(d){return d.getEntryPoint()===0}))c.setEventSource(Bt(a,4)),c.setEventSourceId(Bt(a,4));return c},mgb=function(a,b){return new lgb(a,b)},ngb=function(a){return(Jk(a,Ct,12)?W(W(a,Ct,12),At,2):a.getSources())||new At},ogb=function(a){return(Jk(a,Ct,12)?W(W(a,Ct,12),At,3):a.getSources())||new At},pgb=function(a){return a.filter(function(b){var c,
d=(c=Cs(b))==null?void 0:Fk(c,4,0),e;return((e=b.getInfo())==null?void 0:Fk(e,8,0))!==3||d!==2&&d!==1?!0:!1})},rgb=function(a){return a.filter(function(b){var c;return(b=(c=b.getInfo())==null?void 0:c.getFieldType())&&qgb.has(b)?!1:!0})},sgb=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)},tgb=function(a){if(!a.hasSessionState())return"";a=a.getSessionState();return Qk(a,3,0)+":"+Qk(a,4,0)+":"+Qk(a,5,0)+":"+a.getInstanceId()},ugb=function(a){return Jk(a,
ut,2)?Cs(a).getContext()||0:0},vgb=function(a){var b=new Map;a=k(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=c.getSessionState();d=d?Qk(d,3,0)+"-"+Qk(d,4,0)+"-"+Qk(d,5,0)+"-"+d.getInstanceId():"";b.has(d)?b.get(d).push(c):b.set(d,[c])}return Array.from(b.values())},Dt=function(a,b,c,d){d=d===void 0?!1:d;a=a.filter(function(h){return!Ak(h,4,!1)});if(d){d=k(a);for(var e=d.next();!e.done;e=d.next())cl(e.value,4,!0)}if(c)for(d=a.filter(function(h){return h&&!h.hasSessionState()}),d=k(d),
e=d.next();!e.done;e=d.next())e.value.setSessionState(c.clone());a=vgb(a);c=[];a=k(a);for(d=a.next();!d.done;d=a.next())if(d=d.value,e=d.find(function(h){return h&&h.hasSessionState()})){e=e.getSessionState();var f=new wgb;f.setSessionState(e);f.setEventType(b);$m(f,3,d);f.setEventSources(e.getSources());c.push(f)}return c},xgb=function(a){var b;a=a.getMetadata();a.hasCacheState()&&(a=a.getCacheState(),a.hasSource()&&(b=a.getSource()));return b||new Et},Bgb=function(a,b,c){var d=ygb(b.getTargetType(),
b.getValue()),e=[],f=e.concat;var h=Tj(b,5,Uj());h=t(h.map(Aeb));var l=t(Tj(b,6,Uj()).map(Beb));var q=Tj(b,13,Uj());e=f.call(e,h,l,t(q.map(zgb)));Agb.includes(d.getType())&&e.push(d);return{id:d,containerIds:e,dataSource:Tj(b,6,Uj()).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}},Cgb=function(a){return(a||"").trim()},Fgb=function(a){var b=a.resultData,c=a.targetData,d=qt(a.id).setDataSource(a.dataSource||0).setIsMe(!!a.isMe);a.containerIds&&(d.sourceIds_=a.containerIds||[]);Dk(b,1)&&d.setResultType(b.getResultType());c.hasValue()&&d.setValue(Cgb(c.getValue()));c.hasCanonicalValue()&&d.setCanonicalValue(Cgb(c.getCanonicalValue()));c.hasDescription()&&d.setDescription(c.getDescription());if(c.hasName()){var e=c.getName();d.setName((new dfb).setDisplayName(e.getDisplayName()).setGivenName(e.getGivenName()).setFamilyName(e.getFamilyName()).setSourceType(e.getSourceType()))}c.hasPhoto()&&
(e=c.getPhoto(),d.setPhoto((new efb).setUrl(e.getUrl()).setType(e.getType()).setSourceType(e.getSourceType()).setGlyph(e.getGlyph())));if(Bk(b,4)){var f;a.totalMemberCount=(f=b.getTotalMemberCount())!=null?f:void 0}b.hasAffinity()&&d.setPersonLoggingId(b.getAffinity().getLoggingId()||"");c.hasAffinity()&&d.setFieldLoggingId(c.getAffinity().getLoggingId()||"");Dk(c,10)&&d.setOrgState(c.getOrgState());c.hasDataSource()&&d.setDataSource(c.getDataSource());c.getTagList().length&&d.setTagList(c.getTagList().map(function(h){return(new Ft).setAltText(h.getAltText()).setIconUrl(h.getIconUrl())}));
c.hasExtendedData()&&d.setExtendedData(c.getExtendedData());Jk(c,Gt,9)&&(a=c.getEmailSecurityInfo(),d.setEmailSecurityInfo(Dgb(a.getCertificateStatus(),Qk(a,3,0),a.getEncryptionSupport()==4||a.getEncryptionSupport()==2)));Jk(c,Ht,17)&&(c=c.getReachabilityInfo(),d.setReachabilityInfo(new Egb(c.getReachabilityStatus(),c.getClientData())));return d},Hgb=function(a){a.cacheConfigurators_.push(new Ggb);return a},Igb=function(a,b){b&&(b.helpText!=null&&(a.helpText=b.helpText),b.helpTextWithSelections!=
null&&(a.helpTextWithSelections=b.helpTextWithSelections),b.shouldAutofocus!=null&&(a.shouldAutofocus=b.shouldAutofocus),b.autocompleteGroupingType!=null&&a.setAutocompleteGroupingType(b.autocompleteGroupingType),b.autocompleteHeader!=null&&a.setAutocompleteHeader(b.autocompleteHeader),b.autocompleteMaxResultsBeforeScroll!=null&&a.setAutocompleteMaxResultsBeforeScroll(b.autocompleteMaxResultsBeforeScroll),b.density!=null&&a.setDensity(b.density),b.theme!=null&&a.setTheme(b.theme),b.showSuggestions!=
null&&a.setShowSuggestions(b.showSuggestions))},Jgb=function(a){a&1&&(I(0,"span"),Q(1),J());a&2&&(a=P(3),B(),R(" ",a.removeSelfActionDescription," "))},Kgb=function(a){a&1&&(I(0,"span"),Q(1),J());a&2&&(a=P(3),B(),R(" ",a.includeSelfActionDescription," "))},Lgb=function(a){if(a&1){var b=v();I(0,"div",22);M("click",function(){w(b);var c=P(2);return x(c.userInclusionToggle.emit())})("keydown.enter",function(c){w(b);P(2).userInclusionToggle.emit();c.stopPropagation();c.preventDefault();return x()})("keydown.space",
function(c){w(b);P(2).userInclusionToggle.emit();c.stopPropagation();c.preventDefault();return x()});D(1,Jgb,2,1,"span")(2,Kgb,2,1,"span");J()}a&2&&(a=P(2),sg("disabled",!!a.isSaving),E("matTooltip",a.isCurrentUserInCollection?a.removeSelfActionLongDescription:a.includeSelfActionLongDescription),jg("aria-disabled",!!a.isSaving)("aria-label",a.isCurrentUserInCollection?a.removeSelfActionLongDescription:a.includeSelfActionLongDescription),B(),G(a.isCurrentUserInCollection?1:-1),B(),G(!a.isCurrentUserInCollection&&
a.isAllowedToEditCollection?2:-1))},Mgb=function(a){a&1&&(I(0,"div",20),D(1,Lgb,3,7,"div",21),J());a&2&&(a=P(),B(),G(a.isCurrentUserInCollection||!a.isCurrentUserInCollection&&a.isAllowedToEditCollection?1:-1))},Ngb=function(a){a&1&&K(0,"input",24);a&2&&(a=P(2),lg("aria-label","Addition to ",a.title,""),E("bContactAutocomplete","MULTI"))},Pgb=function(a){if(a&1){var b=v();I(0,"div",31,5);M("peoplekitSearchBarSelectionChange",function(c){w(b);var d=P(2);return x(Ogb(d,c))})("peoplekitSearchBarEnterKeyDown",
function(){w(b);P();var c=L(3),d=L(4),e=P();return x(e.textPopupSubmit(c,d))});J()}a&2&&(a=P(2),lg("aria-label","Addition to ",a.title,""),E("peoplekitSearchBarConfig",{helpText:void 0,helpTextWithSelections:"",density:2,theme:It(a.theme)?1:0}))},Qgb=function(a){a&1&&(I(0,"mat-error"),Q(1),J());a&2&&(a=P(2),mg("aria-label","",a.title," error: ",a.invalidMessage,""),B(),R(" ",a.invalidMessage," "))},Rgb=function(a){if(a&1){var b=v();I(0,"xap-dialog-layout")(1,"xap-dialog-layout-content")(2,"form",
23,4);M("ngSubmit",function(){w(b);var d=L(3),e=L(4),f=P();return x(f.textPopupSubmit(d,e))});D(5,Ngb,1,3,"input",24)(6,Pgb,2,3,"div",25);I(7,"div",26)(8,"button",27);K(9,"mat-icon",28);J();I(10,"button",29);M("click",function(){w(b);var d=P();return x(d.closeAddPopup(!0))});K(11,"mat-icon",30);J()();D(12,Qgb,2,4,"mat-error");J()()()}if(a&2){a=L(3);var c=P();B(5);G(c.enablePeoplekitAc?6:5);B(3);lg("aria-label","Apply addition to ",c.title,"");E("disabled",!a.valid||!c.isAllowedToEditCollection);B(2);
lg("aria-label","Discard addition to ",c.title,"");B(2);G(c.invalidMessage?12:-1)}},Sgb=function(a){a&1&&(K(0,"b-user-membership-chip",33),S(1,"async"));if(a&2){var b;a=P().$implicit;var c=P();E("user",c.getUser(a))("email",a)("teamId",(b=U(1,5,c.teamId$))!==null&&b!==void 0?b:"")("enableSmallChip",!0)("enableGroupIcon",!0)}},Tgb=function(a){a&1&&K(0,"b-icon",34)},Ugb=function(a){a&1&&(I(0,"b-person-hovercard",35),Q(1),J());a&2&&(a=P().$implicit,E("email",a),B(),R(" ",a," "))},Wgb=function(a){if(a&
1){var b=v();I(0,"button",37);S(1,"async");M("click",function(){w(b);var c=P(2);return x(c.toggleAccessLimits.emit())});K(2,"b-icon",38);S(3,"async");J()}a&2&&(a=P(2),E("disabled",!U(1,2,a.hasAclToAdmin$)),B(2),E("ngClass",eh(6,Vgb,!U(3,4,a.hasAclToAdmin$))))},Xgb=function(a){if(a&1){var b=v();I(0,"button",40,6);M("click",function(){w(b);var d=P(2).$index,e=P();return x(e.removeItem(d))});J()}if(a&2){a=P(2).$implicit;var c=P();mg("aria-label","Remove ",a," from ",c.title,"");E("matTooltip","Remove item")}},
Ygb=function(a){a&1&&D(0,Xgb,2,4,"button",39);a&2&&(a=P(2),G(a.isAllowedToEditCollection?0:-1))},Zgb=function(a,b){a&1&&(I(0,"div",12)(1,"div",32),D(2,Sgb,2,7,"b-user-membership-chip",33)(3,Tgb,1,0,"b-icon",34),S(4,"async"),D(5,Ugb,2,2,"b-person-hovercard",35),J(),D(6,Wgb,4,8,"button",36),S(7,"async"),D(8,Ygb,1,1),J());if(a&2){var c,d;a=b.$implicit;b=P();B(2);G(b.enableTeamAnnotations?2:-1);B();G(!b.enableTeamAnnotations&&((c=U(4,4,b.groups$))==null?0:c.has(a))?3:-1);B(2);G(b.enableTeamAnnotations?
-1:5);B();G(b.toggleAccessLimits.observed&&((d=U(7,6,b.groups$))==null?0:d.has(a))?6:8)}},$gb=function(a){if(a&1){var b=v();I(0,"button",41);M("beforeOpened",function(){w(b);var d=P();return x(d.invalidMessage="")});Q(1,"Add ");J()}if(a&2){a=P();var c=L(3);lg("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.overlayPosition)}},ahb=function(a){a&1&&Cg(0)},bhb=function(a,b){return{originX:a,
originY:b}},chb=function(a,b){return{overlayX:a,overlayY:b}},ehb=function(a){a&1&&Cg(0,9);if(a&2){a=P(2);P();var b=L(5);E("ngTemplateOutlet",b)("ngTemplateOutletContext",eh(2,dhb,a))}},fhb=function(a){a&1&&(I(0,"div",5),K(1,"mat-icon",6),I(2,"div",7),Cg(3,8),D(4,ehb,1,4,"ng-container",9),J()());if(a&2){a=P(2);var b=L(3);B(3);E("ngTemplateOutlet",b);B();G(a.isIssueSummaryExpanded?4:-1)}},ghb=function(a,b){a&1&&D(0,fhb,5,2,"div",5);a&2&&(a=P(),G(b===a.GENERATING||b===a.SUMMARY_VISIBLE?0:-1))},hhb=function(a){a&
1&&(I(0,"div"),Q(1," AI-generated summaries may contain inaccurate or offensive information that doesn't represent Google's views. Buganizer and other AI API usage does not store or log the issue's contents for any training purposes. "),J())},ihb=function(a){a&1&&K(0,"mat-icon",15)},jhb=function(a){a&1&&K(0,"mat-icon",16)},khb=function(a){if(a&1){var b=v();I(0,"span",10)(1,"h4",11);Q(2," AI-generated summary ");I(3,"xap-bubble",12)(4,"xap-icon-trigger");K(5,"mat-icon",13);J();D(6,hhb,2,0,"ng-template",
null,4,ih);J()();I(8,"button",14);M("click",function(){w(b);var d=P();return x(d.isIssueSummaryExpanded=!d.isIssueSummaryExpanded)});D(9,ihb,1,0,"mat-icon",15)(10,jhb,1,0,"mat-icon",16);J()()}if(a&2){a=L(7);var c=P();B(3);E("panelTemplate",a);B(5);E("matTooltipShowDelay",1E3);jg("aria-expanded",c.isIssueSummaryExpanded);B();G(c.isIssueSummaryExpanded?9:10)}},lhb=function(a){a&1&&K(0,"b-spinner")},nhb=function(a,b){a&1&&Cg(0,9);a&2&&(P(3),a=L(9),E("ngTemplateOutlet",a)("ngTemplateOutletContext",eh(2,
mhb,b)))},ohb=function(a){a&1&&(D(0,nhb,1,4,"ng-container",9),S(1,"async"));if(a&2){var b;a=P(2);G((b=U(1,1,a.summary$))?0:-1,b)}},phb=function(a,b){a&1&&D(0,lhb,1,0,"b-spinner")(1,ohb,2,3);a&2&&(a=b.stage,b=P(),G(a===b.GENERATING?0:a===b.SUMMARY_VISIBLE?1:-1))},qhb=function(a){a&1&&K(0,"b-markdown-format-presenter",17);a&2&&(a=P().summary,E("content",a.formattedSummary))},rhb=function(a){a&1&&(I(0,"div",18),Q(1),J());a&2&&(a=P().summary,B(),R(" ",a.summary," "))},shb=function(a,b){a&1&&D(0,qhb,1,
1,"b-markdown-format-presenter",17)(1,rhb,2,1,"div",18);a&2&&G(b.summary.formattedSummary?0:1)},uhb=function(a){if(a&1){var b=v();Cg(0,9);I(1,"div",19);K(2,"span",20);I(3,"div",21)(4,"button",22);M("click",function(){w(b);var e=P().summary,f=P();return x(f.copySummary(e))});K(5,"mat-icon",23);J();I(6,"button",24);M("click",function(){w(b);var e=P().summary,f=P();return x(f.openFeedbackDialog(e))});K(7,"mat-icon",25);J();I(8,"button",26);M("click",function(){w(b);var e=P().summary,f=P();return x(f.trackThumbsUp(e))});
K(9,"mat-icon",27);J();I(10,"button",28);M("click",function(){w(b);var e=P().summary,f=P();return x(f.trackThumbsDown(e))});K(11,"mat-icon",29);J()()()}if(a&2){a=P().summary;var c=P(),d=L(7);E("ngTemplateOutlet",d)("ngTemplateOutletContext",eh(6,mhb,a));B(8);E("disabled",c.hasReacted);B();E("ngClass",eh(8,thb,c.thumbsUpClicked));B();E("disabled",c.hasReacted);B();E("ngClass",eh(10,thb,c.thumbsDownClicked))}},vhb=function(a){if(a&1){var b=v();I(0,"div",19)(1,"div",30);Q(2," Issue can not be summarized for now. ");
J();I(3,"div",21)(4,"button",31);M("click",function(){w(b);var c=P().summary,d=P();return x(d.openFeedbackDialog(c))});K(5,"mat-icon",32);J()()()}},whb=function(a,b){a&1&&D(0,uhb,12,12)(1,vhb,6,0,"div",19);a&2&&G(b.summary.summary?0:1)},xhb=function(a,b){a&1&&K(0,"b-user-image",0);a&2&&E("email",b.$implicit)},yhb=function(a,b){if(a&1){var c=v();I(0,"button",2);M("click",function(){w(c);var d=P(2);return x(d.limit+=d.LIMIT_INCREMENT)});Q(1);J()}a&2&&(Kg("title","",b," more participant(s). Click to show."),
B(),R("",b," more"))},zhb=function(a){a&1&&D(0,yhb,2,3,"button",1);if(a&2){var b;a=P();G((b=a.emails.length-a.limit)?0:-1,b)}},Bhb=function(a){a&1&&(I(0,"a",3),Q(1),J());a&2&&(a=P(2),E("href",a.makeCritiqueUrl(dh(2,Ahb),a.pending),vf),B(),R("(",a.pending.length," pending)"))},Chb=function(a,b){a&1&&(I(0,"div",0),K(1,"img",1),Q(2," \u00a0 "),I(3,"a",2),Q(4),J(),Q(5," \u00a0 "),D(6,Bhb,2,3,"a",3),J());a&2&&(a=P(),B(3),E("href",a.makeCritiqueUrl(a.submitted,a.pending),vf),B(),R("",b," CLs"),B(2),G(a.pending.length>
0?6:-1))},Dhb=function(a){a&1&&(I(0,"a",2),Q(1),J());a&2&&(a=P(2),E("routerLink",a.searchPageUrl),B(),R(" ",a.count," Issues "))},Ehb=function(a){a&1&&D(0,Dhb,2,2,"a",2);a&2&&(a=P(),G(a.count!=null?0:-1))},Fhb=function(a){a&1&&Q(0);a&2&&(a=P(),R(" ",a.count," Issues "))},Ghb=function(){},Hhb=function(a){a&1&&(I(0,"span",1),Ud(),I(1,"svg",2),K(2,"path",3),J()())},Ihb=function(a){a&1&&(I(0,"div",0),K(1,"img",2),J());a&2&&(a=P(2),B(),E("src",a.SPACE_EMPTY_STATE,vf))},Jhb=function(a,b){a&1&&(I(0,"mat-panel-title"),
Q(1),J());a&2&&(a=P().$index,B(),R(" ",b[a]," "))},Khb=function(a){a&1&&K(0,"mat-panel-title",3)},Lhb=function(a,b){a&1&&(I(0,"mat-expansion-panel")(1,"mat-expansion-panel-header"),D(2,Jhb,2,1,"mat-panel-title"),S(3,"async"),D(4,Khb,1,0,"mat-panel-title",3),I(5,"mat-panel-description"),Q(6),J()(),K(7,"b-issues-table",4),J());if(a&2){var c;a=b.$implicit;b=P(3);B(2);G((c=U(3,5,b.titles$))?2:4,c);B(4);R("",a.length," issues");B();E("issueIds",a)("tableColumns",b.tableColumns)("options",b.tableOptions)}},
Mhb=function(a){a&1&&(I(0,"div",1),yg(1,Lhb,8,7,"mat-expansion-panel",null,xg),J());a&2&&(a=P(),B(),zg(a))},Nhb=function(a,b){a&1&&D(0,Ihb,2,1,"div",0)(1,Mhb,3,0,"div",1);a&2&&G(b.length===0?0:1)},Ohb=function(a){a&1&&(I(0,"div",2,1)(2,"div",5)(3,"span",6),Q(4),J()()());a&2&&(a=P(),B(4),Yg(a.valueIndicatorText))},Phb=function(a,b){a&1&&K(0,"div");if(a&2){a=b.$implicit;b=b.$index;var c=P(3);tg(a===0?"mdc-slider__tick-mark--active":"mdc-slider__tick-mark--inactive");rg("transform",c._calcTickMarkTransform(b))}},
Qhb=function(a){a&1&&yg(0,Phb,1,4,"div",8,wg);a&2&&(a=P(2),zg(a._tickMarks))},Rhb=function(a){a&1&&(I(0,"div",6,1),D(2,Qhb,2,0),J());a&2&&(a=P(),B(2),G(a._cachedWidth?2:-1))},Shb=function(a){a&1&&K(0,"mat-slider-visual-thumb",7);a&2&&(a=P(),E("discrete",a.discrete)("thumbPosition",1)("valueIndicatorText",a.startValueIndicatorText))},Thb=function(a){a&1&&(I(0,"span"),Q(1,"All Components"),J())},Uhb=function(a){a&1&&(I(0,"span"),Q(1,"Selected Components"),J())},Vhb=function(a,b){if(a&1){var c=v();I(0,
"button",19);M("click",function(d){var e=w(c).$implicit;P().onCheckboxChange(e);return x(d.stopPropagation())});I(1,"mat-checkbox",27);Q(2);J()()}a&2&&(a=b.$implicit,b=P(),B(),E("checked",b.selectComponents$.has(a)),B(),R(" ",a.name," "))},Whb=function(a,b){if(a&1){var c=v();I(0,"button",19);M("click",function(){var d=w(c).$implicit;P().selectedDateRangeFilter$.next(d);return x()});Q(1);J()}a&2&&(a=b.$implicit,B(),R(" ",a.displayAs," "))},Xhb=function(a,b){if(a&1){var c=v();I(0,"div",6)(1,"a",7);
Q(2);S(3,"async");J();I(4,"button",8);M("click",function(){var e=w(c),f=P(),h=P();Jt(h.router,Qq.viewTriage.makeHref(f,e,Kt[h.phase$.value]));return x()});Q(5," View issues ");K(6,"mat-icon",9);J()()}if(a&2){a=P();var d=P();B();E("href",d.ROUTES.viewTriage.makeHref(a,b,d.phaseToUrlSlug[d.phase$.value]),vf);B();R(" ",U(3,2,d.heading$)," ")}},Yhb=function(a){a&1&&(D(0,Xhb,7,4,"div",6),S(1,"async"));if(a&2){var b;a=P();G((b=U(1,1,a.triageId$))?0:-1,b)}},Zhb=function(a,b){a&1&&Q(0);a&2&&(a=P(),Zg(" ",
b.length,"",b.length===a.FETCH_SIZE?"+":""," "))},$hb=function(a){a&1&&Q(0," ... ")},aib=function(a,b){a&1&&K(0,"i",11);if(a&2){a=b.$implicit;b=b.$index;var c=P(2);a=kg(v(),"height: ",a*100,"%;");fla(dla,ela,a,!1);Mg("title","Modified ",b," days ago: ",c[b]," Issues")}},bib=function(a,b){a&1&&yg(0,aib,1,6,"i",10,wg);a&2&&zg(b)},cib=function(a){a&1&&(D(0,bib,2,0),S(1,"async"));if(a&2){var b;a=P();G((b=U(1,1,a.ratioDaysOld$))?0:-1,b)}},eib=function(a){return(dib-a/1E3)/864E5},hib=function(a){var b=
a.match(/\(.*\)/);if(a.match(/'.*'/)||a.match(/".*"/)||b)return{complexSyntax:!0};a=a.split(/\s+/).filter(Boolean);b=a.filter(fib).length;var c=a.filter(function(d){return!fib(d)}).filter(gib).length;return{filters:b,text:a.length-b-c,resourceIds:c}},gib=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:iib(a)},fib=function(a){return!!a.match(/\w:\w/g)},jib=function(a,b){a&1&&(I(0,"span",5),Q(1),J());a&2&&(E("title",
b.description),B(),Yg(b.name))},kib=function(a){a&1&&(I(0,"code",6),Q(1),S(2,"async"),J());a&2&&(a=P(),B(),Yg(U(2,1,a.id$)))},lib=function(a,b){a&1&&(I(0,"div",7),K(1,"phase-card-contents",8)(2,"phase-card-contents",8)(3,"phase-card-contents",8)(4,"phase-card-contents",8)(5,"phase-card-contents",8),J());if(a&2){a=P();var c=P();B();E("phase",c.TriagePhase.NEW)("teamId",a)("triageId",b);B();E("phase",c.TriagePhase.CONFIRMED)("teamId",a)("triageId",b);B();E("phase",c.TriagePhase.IN_PROGRESS)("teamId",
a)("triageId",b);B();E("phase",c.TriagePhase.FIXED)("teamId",a)("triageId",b);B();E("phase",c.TriagePhase.WONT_FIX)("teamId",a)("triageId",b)}},mib=function(a){a&1&&(D(0,lib,6,15,"div",7),S(1,"async"));if(a&2){var b;a=P();G((b=U(1,1,a.triageId$))?0:-1,b)}},nib=function(a){if(!a.unlinkifiedComment)return nj("Can't getClMetadata from an event with no unlinkifiedComment",a),{};if(Lxa(a))if(Wl(a)){var b=a.unlinkifiedComment;var c=b.trim().split("\n");if(a.formattingMode==="MARKDOWN"){var d,e;var f=(e=
(d=c[5])==null?void 0:d.trim())!=null?e:"";var h;c=(h=b.match(/^Link: &nbsp;&nbsp;&nbsp;&nbsp; (.+)/m))==null?void 0:h[1];var l;var q=(l=b.match(/^Author: .* \\<(.+)\\>/m))==null?void 0:l[1]}else{var u,A;f=(A=(u=c[7])==null?void 0:u.trim())!=null?A:"";var F,H;c=(H=(F=c[c.length-1])==null?void 0:F.trim())!=null?H:"";var N;q=(N=b.match(/^Author: .* <(.+)>/m))==null?void 0:N[1]}f||nj("failed to parse a title from GitWatcher comment, which is unexpected.",b);c||nj("failed to parse a link from GitWatcher comment, which is unexpected.",
b);q?q=q.endsWith("@google.com")?q.split("@")[0]:q:nj("failed to parse an author from GitWatcher comment, which is unexpected.",b);b={author:q,title:f,link:c,reviewer:void 0,delta:void 0}}else b={};else{l=a.unlinkifiedComment;h=l.trim().split("\n");var O,T;N=(T=(O=h[0])==null?void 0:O.trim())!=null?T:"";var ea;h=(ea=h[2])==null?void 0:ea.trim();F=(q=N.match(/^Change\s+(\d+)/))==null?void 0:q[1];F==null&&nj("failed to parse an id from Critique comment, which is unexpected.",l);N=(c=N.match(/^Change.*by (\S+)@/))==
null?void 0:c[1];N==null&&nj("failed to parse an author from Critique comment, which is unexpected.",l);c=(f=l.match(/[\^\s]R=(\S+)/))==null?void 0:f[1];f=(b=l.match(/[\^\s]DELTA=(\d+)/))==null?void 0:b[1];b={id:fk(F),author:N,title:h,reviewer:c,delta:fk(f),link:"cl/"+F}}return b},oib=function(a){var b;return(b=nib(a).id)!=null?b:0},pib=function(a){var b;return(b=nib(a).link)!=null?b:""},qib=function(a){return[].concat(t(a.preDiffs),t(a.postDiffs)).map(function(b){return"Changed "+(b.displayName||
b.name)+" "+(b.newValue?"to "+b.newValue:"")}).join("\n")},sib=function(a){if(a==null)return"";var b,c,d=(c=(b=a.userPerformingActionUser)==null?void 0:b.emailAddress)!=null?c:"";if(Vl(a)||Wl(a)){if(a=nib(a).author)return a.includes("@")?a:a+"@google.com"}else if(d==="product-feedback-gathering@prod.google.com")return rib(a,"reporter")||d;return d},tib=function(a,b){var c,d,e;return(e=[].concat(t((c=a.preDiffs)!=null?c:[]),t((d=a.postDiffs)!=null?d:[])).find(function(f){return f.name===b}))==null?
void 0:e.oldValue},rib=function(a,b){var c,d,e;return(e=[].concat(t((c=a.preDiffs)!=null?c:[]),t((d=a.postDiffs)!=null?d:[])).find(function(f){return f.name===b}))==null?void 0:e.newValue},uib=function(a){if(a==null)return"default";if(Ol(a)&&a.commentNumber===1)return"create";if(Vl(a)||Wl(a))return"changelist";var b,c=(b=a.preDiffs)!=null?b:[],d;b=(d=a.postDiffs)!=null?d:[];c=new Set([].concat(t(c),t(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=rib(a,"assignee");a=tib(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":Ol(a)?"comment":c.has("component")?"component":"default"},vib=function(a){a&1&&(Q(0," created "),I(1,"b-issue-reference-widget",1),Q(2),J(),K(3,"b-formatted-date-time",2));a&2&&(a=P(),B(),E("href",Rq(a.event.issueId))("issueId",a.event.issueId),
B(),R("b/",a.event.issueId,""),B(),E("timestamp",a.event.modifiedDate))},wib=function(a){a&1&&K(0,"changelist-link-plain",3);a&2&&(a=P(2),E("id",a.getChangelistNumber(a.event)))},xib=function(a){a&1&&(I(0,"a",4),Q(1),J());a&2&&(a=P(2),E("href",a.getLink(a.event),vf),B(),Yg(a.getLink(a.event)))},yib=function(a,b){a&1&&(Q(0," \u2014 "),I(1,"span",5),Q(2),J());a&2&&(B(),E("title",b),B(),Yg(b))},zib=function(a){a&1&&(Q(0," submitted "),D(1,wib,1,1,"changelist-link-plain",3)(2,xib,2,2,"a",4),K(3,"b-formatted-date-time",
2),D(4,yib,3,2));if(a&2){var b;a=P();B();G(a.isCritiqueComment(a.event)?1:-1);B();G(a.isFullGerritComment(a.event)?2:-1);B();E("timestamp",a.event.modifiedDate);B();G((b=a.getClMetadata(a.event).title)?4:-1,b)}},Aib=function(a){a&1&&(Q(0," commented on "),I(1,"b-issue-reference-widget",1),Q(2),J(),K(3,"b-formatted-date-time",2));a&2&&(a=P(),B(),E("href",Rq(a.event.issueId))("issueId",a.event.issueId),B(),R("b/",a.event.issueId,""),B(),E("timestamp",a.event.modifiedDate))},Bib=function(a){a&1&&(Q(0,
" set priority "),K(1,"b-issue-priority-display",6),Q(2," on "),I(3,"b-issue-reference-widget",1),Q(4),J(),K(5,"b-formatted-date-time",2));a&2&&(a=P(),B(),E("issuePriority",a.toIssuePriority(a.getNewDiffValue(a.event,"priority"))),B(2),E("href",Rq(a.event.issueId))("issueId",a.event.issueId),B(),R("b/",a.event.issueId,""),B(),E("timestamp",a.event.modifiedDate))},Cib=function(a,b){a&1&&(Q(0," set status "),I(1,"span"),Q(2),J(),Q(3," on "));a&2&&(a=P(2),B(),vg("chippy xs status-",a.STATUS_CODE_FROM_DISPLAY_STRING[b],
""),B(),R(" ",b," "))},Dib=function(a){a&1&&(D(0,Cib,4,4),I(1,"b-issue-reference-widget",1),Q(2),J(),K(3,"b-formatted-date-time",2));if(a&2){var b;a=P();G((b=a.getNewDiffValue(a.event,"status"))?0:-1,b);B();E("href",Rq(a.event.issueId))("issueId",a.event.issueId);B();R("b/",a.event.issueId,"");B();E("timestamp",a.event.modifiedDate)}},Eib=function(a,b){a&1&&(Q(0," \u2014 "),I(1,"span",7),Q(2),J());a&2&&(B(),E("title",b),B(),Yg(b))},Fib=function(a){a&1&&(Q(0," set status update on "),I(1,"b-issue-reference-widget",
1),Q(2),J(),K(3,"b-formatted-date-time",2),D(4,Eib,3,2));if(a&2){var b;a=P();B();E("href",Rq(a.event.issueId))("issueId",a.event.issueId);B();R("b/",a.event.issueId,"");B();E("timestamp",a.event.modifiedDate);B();G((b=a.event.statusUpdate==null?null:a.event.statusUpdate.updateText)?4:-1,b)}},Gib=function(a){a&1&&(Q(0," assigned "),I(1,"b-issue-reference-widget",1),Q(2),J(),Q(3," to "),K(4,"b-user-email",0)(5,"b-formatted-date-time",2));if(a&2){var b;a=P();B();E("href",Rq(a.event.issueId))("issueId",
a.event.issueId);B();R("b/",a.event.issueId,"");B(2);E("ldapOnly",!0)("email",(b=a.getNewDiffValue(a.event,"assignee"))!==null&&b!==void 0?b:"");B();E("timestamp",a.event.modifiedDate)}},Hib=function(a){a&1&&(Q(0," self-assigned "),I(1,"b-issue-reference-widget",1),Q(2),J(),K(3,"b-formatted-date-time",2));a&2&&(a=P(),B(),E("href",Rq(a.event.issueId))("issueId",a.event.issueId),B(),R("b/",a.event.issueId,""),B(),E("timestamp",a.event.modifiedDate))},Iib=function(a){a&1&&(Q(0," unassigned self from "),
I(1,"b-issue-reference-widget",1),Q(2),J(),K(3,"b-formatted-date-time",2));a&2&&(a=P(),B(),E("href",Rq(a.event.issueId))("issueId",a.event.issueId),B(),R("b/",a.event.issueId,""),B(),E("timestamp",a.event.modifiedDate))},Jib=function(a){a&1&&(Q(0," unassigned "),K(1,"b-user-email",0),Q(2," from "),I(3,"b-issue-reference-widget",1),Q(4),J(),K(5,"b-formatted-date-time",2));if(a&2){var b;a=P();B();E("ldapOnly",!0)("email",(b=a.getPreviousDiffValue(a.event,"assignee"))!==null&&b!==void 0?b:"");B(2);E("href",
Rq(a.event.issueId))("issueId",a.event.issueId);B();R("b/",a.event.issueId,"");B();E("timestamp",a.event.modifiedDate)}},Kib=function(a){a&1&&(Q(0," moved "),I(1,"b-issue-reference-widget",1),Q(2),J(),Q(3," to another component "),K(4,"b-formatted-date-time",2));a&2&&(a=P(),B(),E("href",Rq(a.event.issueId))("issueId",a.event.issueId),B(),R("b/",a.event.issueId,""),B(2),E("timestamp",a.event.modifiedDate))},Lib=function(a){a&1&&(I(0,"span",8),Q(1," updated "),J(),I(2,"b-issue-reference-widget",1),
Q(3),J(),K(4,"b-formatted-date-time",2));a&2&&(a=P(),E("title",a.shorthandAllDiffs(a.event)),B(2),E("href",Rq(a.event.issueId))("issueId",a.event.issueId),B(),R("b/",a.event.issueId,""),B(),E("timestamp",a.event.modifiedDate))},Mib=function(a,b){a&1&&(Q(0," \u2014 "),I(1,"span",9),Q(2),J());a&2&&(B(),E("title",b),B(),Yg(b))},Nib=function(a){a&1&&D(0,Mib,3,2);if(a&2){var b;a=P();G((b=a.event.unlinkifiedComment)?0:-1,b)}},Oib=function(a,b){a&1&&(Q(0," \u2014 "),I(1,"span",10),Q(2),J());a&2&&(B(),E("title",
b),B(),Yg(b))},Pib=function(a){a&1&&D(0,Oib,3,2);if(a&2){a=P();var b,c;a=(b=a.issueFullFridge.peek(a.event.issueId))==null?void 0:(c=b.snapshot[0])==null?void 0:c.title;G(a?0:-1,a)}},Qib=function(a,b){a&1&&K(0,"recent-event-row",4);a&2&&E("event",b.$implicit)},Rib=function(a,b){a&1&&(I(0,"p",3),Q(1),J(),yg(2,Qib,1,1,"recent-event-row",4,xg));if(a&2){a=P();var c=P(3);B();R("Last 24 hours ",c.printStats(a["<24h"]),"");B();zg(b)}},Sib=function(a,b){a&1&&K(0,"recent-event-row",4);a&2&&E("event",b.$implicit)},
Tib=function(a,b){a&1&&(I(0,"p",5),Q(1),J(),yg(2,Sib,1,1,"recent-event-row",4,xg));if(a&2){a=P();var c=P(3);B();R("1-7 days ago ",c.printStats(a["24h-7d"]),"");B();zg(b)}},Uib=function(a,b){a&1&&K(0,"recent-event-row",4);a&2&&E("event",b.$implicit)},Vib=function(a,b){a&1&&(I(0,"p",5),Q(1),J(),yg(2,Uib,1,1,"recent-event-row",4,xg));if(a&2){a=P();var c=P(3);B();R("1-4 weeks ago ",c.printStats(a["7d-30d"]),"");B();zg(b)}},Wib=function(a,b){a&1&&K(0,"recent-event-row",4);a&2&&E("event",b.$implicit)},
Xib=function(a,b){a&1&&(I(0,"p",5),Q(1),J(),yg(2,Wib,1,1,"recent-event-row",4,xg));if(a&2){a=P();var c=P(3);B();R(">30 days ago ",c.printStats(a[">30d"]),"");B();zg(b)}},Yib=function(a){if(a&1){var b=v();I(0,"button",6);M("click",function(){w(b);var c=P(4);c.numDisplayed$.value<100?c.numDisplayed$.next(100):c.numDisplayed$.next(c.defaultNumEvents);return x()});Q(1);J()}a&2&&(a=P(4),B(),R(" ",a.numDisplayed$.value>a.defaultNumEvents?"Show less":"Show more"," "))},Zib=function(a){a&1&&(D(0,Rib,4,1)(1,
Tib,4,1)(2,Vib,4,1)(3,Xib,4,1)(4,Yib,2,1,"button",2),S(5,"async"));if(a&2){var b,c,d,e,f;a=P();var h=P(2);G((b=a["<24h"])?0:-1,b);B();G((c=a["24h-7d"])?1:-1,c);B();G((d=a["7d-30d"])?2:-1,d);B();G((e=a[">30d"])?3:-1,e);B();G(((f=(f=U(5,5,h.events$))==null?null:f.length)!==null&&f!==void 0?f:0)>h.defaultNumEvents?4:-1)}},$ib=function(a){a&1&&(D(0,Zib,6,7),S(1,"async"));if(a&2){var b;a=P(2);G((b=U(1,1,a.bucketedEventStats$))?0:-1,b)}},ajb=function(a){a&1&&(I(0,"div",0),Q(1," Recent activity "),K(2,"input",
1),J(),D(3,$ib,2,3),S(4,"async"));if(a&2){var b;a=P();B(2);E("formControl",a.quickFilter);B();G((b=U(4,2,a.bucketedEvents$))?3:-1,b)}},bjb=function(a){return function(b){var c;if(a){var d="";if(Vl(b)||Wl(b)){var e=nib(b);d="submitted "+e.link+" "+e.title}e="b/"+b.issueId;var f=sib(b),h=uib(b),l=qib(b);b=b==null||Vl(b)||Wl(b)?"":((c=b.unlinkifiedComment)!=null?c:"").slice(0,999);c=[e,f,h,d,l,b].join(" ").toLowerCase().includes(a.toLowerCase())}else c=!0;return c}},cjb=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(ik);return a.length===0?"":"\u2014 "+a.join(", ")},djb=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},ejb=function(a,b,c){var d;a=(d=b[a])!=null?d:[];var e={n:a.length,pptCounts:{}};a.forEach(function(f){var h=
uib(f),l=sib(f);if(h!=="changelist"&&c?f.isCommentEvent:f.unlinkifiedComment){var q;e.comment=((q=e.comment)!=null?q:0)+1;var u;e.pptCounts[l]=((u=e.pptCounts[l])!=null?u:0)+1}if(h==="changelist"){var A;e.clCount=((A=e.clCount)!=null?A:0)+1;var F;e.pptCounts[l]=((F=e.pptCounts[l])!=null?F:0)+1}else if(h==="create"){var H;e.created=((H=e.created)!=null?H:0)+1;var N;e.pptCounts[l]=((N=e.pptCounts[l])!=null?N:0)+1}else if(h==="status"&&rib(f,"status")==="Fixed"){var O;e.fixed=((O=e.fixed)!=null?O:0)+
1}});return e},fjb=function(a){a&1&&(I(0,"p",11),Q(1),J());a&2&&(a=P().$implicit,B(),Yg(a.description))},gjb=function(a,b){a&1&&(I(0,"mat-list-option",8)(1,"div",9)(2,"label",10),Q(3),J()(),D(4,fjb,2,1,"p",11),J());a&2&&(a=b.$implicit,b=P(2),rg("height","auto"),E("selected",b.selectedIds.has(a.searchId))("value",a.searchId),B(3),Yg(a.name),B(),G(a.description?4:-1))},ijb=function(a,b){if(a&1){var c=v();I(0,"mat-selection-list",6);M("selectionChange",function(d){w(c);var e=P();return x(e.onChangeMatList(d))});
yg(1,gjb,5,6,"mat-list-option",7,hjb);J()}a&2&&(B(),zg(b))},jjb=function(a,b){a&1&&K(0,"avatar-bunch",4);a&2&&E("emails",b)},kjb=function(a,b){a&1&&(I(0,"a",6),Q(1," View in TaskFlow "),K(2,"mat-icon",7),J());a&2&&E("href",b,vf)},ljb=function(a,b){a&1&&K(0,"progress-pie",1);a&2&&E("closed",b.closed)("total",b.total)},njb=function(a,b){a&1&&(K(0,"cl-counts",3),S(1,"async"));if(a&2){var c;a=P();E("submitted",b.changelists)("pending",(c=U(1,2,a.pendingCls$))!==null&&c!==void 0?c:dh(4,mjb))}},ojb=function(a){a&
1&&K(0,"gerrit-changes-count",4);a&2&&(a=P(),E("changes",a))},pjb=function(a,b){a&1&&D(0,ojb,1,1,"gerrit-changes-count",4);a&2&&G(b&&b.length>0?0:-1)},qjb=function(a){a&1&&K(0,"avatar-bunch",5);a&2&&(a=P(),E("emails",a))},rjb=function(a,b){a&1&&D(0,qjb,1,1,"avatar-bunch",5);a&2&&G(b.length>0?0:-1)},sjb=function(a){return a},tjb=function(a){a==="UNKNOWN_SOURCE"&&console.error("an UNKNOWN TaskSources snuck in");return a},ujb=function(a){return Lt.buganizerSignals.reduce(function(b,c){return b.set(c,
a.includes(c))},new Map)},vjb=function(a){return a?Lt.buganizerSignals.filter(function(b){return a.get(b)!==!1}):Lt.buganizerSignals},wjb=function(a){return Lt.changelistSignals.reduce(function(b,c){return b.set(c,a.includes(c))},new Map)},xjb=function(a){return a?Lt.changelistSignals.filter(function(b){return a.get(b)!==!1}):Lt.changelistSignals},yjb=function(a){return Lt.driveSignals.reduce(function(b,c){return b.set(c,a.includes(c))},new Map)},zjb=function(a){return a?Lt.driveSignals.filter(function(b){return a.get(b)!==
!1}):Lt.driveSignals},Ajb=function(a){return Lt.gerritSignals.reduce(function(b,c){return b.set(c,a.includes(c))},new Map)},Bjb=function(a){return a?Lt.gerritSignals.filter(function(b){return a.get(b)!==!1}):Lt.gerritSignals},Cjb=function(a){a&1&&(I(0,"div",2),Q(1),J());if(a&2){var b;a=P();sg("muted",!a.isNumeric(a.countDisplay)||a.isDisabled());B();Yg((b=a.countDisplay)!==null&&b!==void 0?b:"\u00a0")}},Djb=function(a){a&1&&(I(0,"div",0),K(1,"qif-stat",1),S(2,"async"),K(3,"qif-stat",1),S(4,"async"),
J());a&2&&(a=P(),B(),E("key",a.QuickFilterKey.OPEN)("prefKey",a.id)("metadata",U(2,6,a.metadata$)),B(2),E("key",a.QuickFilterKey.BROAD_IN_PROGRESS)("prefKey",a.id)("metadata",U(4,8,a.metadata$)))},Ejb=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))},Fjb=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:Db(a)}},Hjb=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=Gjb(b),f=b.nextElementSibling&&Gjb(b.nextElementSibling),h=b.previousElementSibling&&Gjb(b.previousElementSibling);if(a==="top"){var l;if(((l=b.previousElementSibling)==null?0:l.classList.contains("dragging"))&&h===e)return d="none",c();d="before";return c()}if(a==="bottom"){if(f!=
null&&e<f){var q;if((q=b.nextElementSibling)==null?0:q.classList.contains("dragging"))return d="none",c();b=b.nextElementSibling;d="before";return c()}var u;if(((u=b.nextElementSibling)==null?0:u.classList.contains("dragging"))&&e===f)return d="none",c();d="after";return c()}d="current";return c()},Gjb=function(a){return Number(a.dataset.level)},Ijb=function(a){var b;return Mt((b=a.dataset.ancestorchain)!=null?b:"")},Jjb=function(a){a&1&&K(0,"th",30)},Kjb=function(a){if(a&1){var b=v();I(0,"td",31,
0);M("click",function(c){var d=w(b).$implicit,e=L(1),f=P();e.focus();Cq(f.focusManager,d);return x(c.stopPropagation())});J()}},Ljb=function(a){a&1&&K(0,"th",30)},Mjb=function(a){if(a&1){var b=v();I(0,"td",32,1);M("click",function(c){var d=w(b).$implicit,e=L(1),f=P();e.focus();Cq(f.focusManager,d);return x(c.stopPropagation())})("dragstart",function(c){w(b);var d=P();return x(d.handleDragStart(c))});K(2,"mat-icon",33);J()}},Njb=function(a){a&1&&(I(0,"th",30),Q(1," Id "),J())},Ojb=function(a,b){a&
1&&(I(0,"td",34),K(1,"b-issue-id-cell",35),J());a&2&&(a=b.$implicit,B(),E("id",a.id))},Pjb=function(a){a&1&&(I(0,"th",30),Q(1," Id "),J())},Qjb=function(a){a&1&&(I(0,"td",34),Q(1,"--"),J())},Rjb=function(a){a&1&&(I(0,"th",30),Q(1," Title "),J())},Sjb=function(a,b){if(a&1){var c=v();I(0,"td",34)(1,"b-expandable-issue-title-cell",36);S(2,"async");S(3,"async");M("expansionChange",function(){var d=w(c).$implicit,e=P();return x(e.toggleExpansion(d))});J()()}a&2&&(a=b.$implicit,B(),E("issue",U(2,4,a.issue$))("expandable",
U(3,6,a.hasChildren$))("expanded",!!a.expandedCount)("level",a.level))},Tjb=function(a){a&1&&(I(0,"th",30),Q(1," Type "),J())},Ujb=function(a,b){a&1&&(I(0,"td",34),K(1,"b-issue-type-cell",37),S(2,"async"),J());a&2&&(a=b.$implicit,B(),E("issue",U(2,1,a.issue$)))},Vjb=function(){},Wjb=function(a){a&1&&Q(0," Assignee ")},Xjb=function(a){a&1&&(I(0,"th",30),D(1,Vjb,0,0)(2,Wjb,1,0),J());a&2&&(a=P(),B(),G((a.options.modes==null?null:a.options.modes.assignee)==="avatar-if-open"?1:2))},Yjb=function(a,b){a&
1&&K(0,"b-user-image",38);a&2&&E("email",b)},Zjb=function(a){a&1&&D(0,Yjb,1,1,"b-user-image",38);if(a&2){var b;a=P();var c=P(3);G((b=c.getAssigneeString(a))?0:-1,b)}},$jb=function(a,b){a&1&&D(0,Zjb,1,1);a&2&&(a=P(3),G(a.isOpen(b)?0:-1))},akb=function(a){a&1&&(D(0,$jb,1,1),S(1,"async"));if(a&2){var b;a=P().$implicit;G((b=U(1,1,a.issue$))?0:-1,b)}},bkb=function(a){a&1&&(K(0,"b-issue-assignee-cell",37),S(1,"async"));a&2&&(a=P().$implicit,E("issue",U(1,1,a.issue$)))},ckb=function(a){a&1&&(I(0,"td",34),
D(1,akb,2,3)(2,bkb,2,3,"b-issue-assignee-cell",37),J());a&2&&(a=P(),B(),G((a.options.modes==null?null:a.options.modes.assignee)==="avatar-if-open"?1:2))},dkb=function(a){a&1&&(I(0,"th",30),Q(1," Status "),J())},ekb=function(a,b){a&1&&(I(0,"td",34),K(1,"b-issue-status-cell",39),S(2,"async"),J());a&2&&(a=b.$implicit,B(),E("issue",U(2,2,a.issue$))("showPendingFix",!0))},fkb=function(a){a&1&&(I(0,"th",30),Q(1," Team "),J())},gkb=function(a,b){a&1&&(I(0,"td",34),K(1,"b-issue-team-cell",37),S(2,"async"),
J());a&2&&(a=b.$implicit,B(),E("issue",U(2,1,a.issue$)))},hkb=function(a){a&1&&K(0,"th",30)},ikb=function(a,b){if(a&1){var c=v();I(0,"td",34)(1,"b-actions-menu",40);M("click",function(d){w(c);return x(d.stopPropagation())});J()()}a&2&&(a=b.$implicit,b=P(),B(),E("menuItems",b.getMenuItems(a)))},jkb=function(a){a&1&&K(0,"th",30)},lkb=function(a){if(a&1){var b=v();I(0,"b-actions-menu",40);M("click",function(d){w(b);return x(d.stopPropagation())});J()}if(a&2){a=P().$implicit;var c=P();E("menuItems",kkb(c,
a))}},mkb=function(a){a&1&&K(0,"b-spinner")},nkb=function(a){a&1&&K(0,"b-spinner")},okb=function(a,b){a&1&&(I(0,"td",41),D(1,lkb,1,1,"b-actions-menu",42)(2,mkb,1,0,"b-spinner")(3,nkb,1,0,"ng-template",null,2,ih),J());a&2&&(a=b.$implicit,B(),G(a.saving?2:1))},qkb=function(a,b){if(a&1){var c=v();I(0,"td",34)(1,"b-async-data-placeholder",43);S(2,"async");I(3,"b-button",44);M("onAction",function(){var d=w(c).$implicit,e=P();return x(pkb(e,d))});I(4,"span",45);Q(5);J()()()()}a&2&&(a=b.$implicit,b=P(),
rg("padding-left",a.level*24+b.TITLE_FIXED_OFFSET_PX,"px"),jg("colspan",b.tableColumns.length),B(),E("isReady",!!U(2,5,a.parentIssue$)),B(4),R("Display ",a.truncatedSiblingCount," more"))},rkb=function(a){a&1&&(I(0,"th",30),Q(1," Title "),J())},tkb=function(a,b){if(a&1){var c=v();I(0,"td",34)(1,"div",46)(2,"b-text-input-cell",47);bh("valueChange",function(d){var e=w(c).$implicit;ah(e.title,d)||(e.title=d);return x(d)});M("commit",function(){var d=w(c).$implicit,e=P();return x(e.saveDraft(d))});J();
I(3,"b-button",48);M("onAction",function(){var d=w(c).$implicit,e=P();return x(e.saveDraft(d))});Q(4," Create ");J();I(5,"b-button",49);M("onAction",function(){var d=w(c).$implicit,e=P();return x(skb(e,d))});Q(6," Cancel ");J()()()}a&2&&(a=b.$implicit,rg("padding-left",(a.level+1)*24,"px"),B(2),$g("value",a.title),E("readonly",a.saving),B(),E("disabled",!a.title||a.saving),B(2),E("disabled",a.saving))},ukb=function(a){a&1&&K(0,"tr",23)},vkb=function(a){a&1&&D(0,ukb,1,0,"tr",50);a&2&&(a=P(),E("matHeaderRowDef",
a.tableColumns))},xkb=function(a,b){if(a&1){var c=v();I(0,"tr",51);S(1,"async");S(2,"async");M("click",function(d){var e=w(c).$implicit,f=P();return x(f.navigateToIssue(d,e))})("mouseup",function(d){var e=w(c).$implicit,f=P();return x(f.navigateToIssue(d,e))})("focusin",function(){var d=w(c).$implicit,e=P();return x(Cq(e.focusManager,d))})("keydown",function(d){var e=w(c).$implicit,f=P();return x(f.onRowKeydown(e,d))});J()}a&2&&(a=b.$implicit,b=P(),sg("selected",U(1,8,wkb(b.selectionModel,a.ancestorChain)))("closed",
b.isClosed(U(2,10,a.issue$))),E("row",a),jg("data-level",a.level)("data-type",a.type)("data-ancestorchain",a.ancestorChain.hash()))},ykb=function(a,b){if(a&1){var c=v();I(0,"tr",52);M("focusin",function(){var d=w(c).$implicit,e=P();return x(Cq(e.focusManager,d))})("keydown",function(d){var e=w(c).$implicit,f=P();return x(f.onRowKeydown(e,d))});J()}a&2&&(a=b.$implicit,E("row",a),jg("data-level",a.level)("data-type",a.type)("data-ancestorchain",a.ancestorChain.hash()))},zkb=function(a,b){if(a&1){var c=
v();I(0,"tr",53);M("keydown",function(d){var e=w(c).$implicit,f=P();return x(f.onRowKeydown(e,d))})("keydown.escape",function(){var d=w(c).$implicit,e=P();return x(skb(e,d))})("keydown.backspace",function(d){var e=w(c).$implicit,f=P();return x(e.title||d.repeat||skb(f,e))})("focusin",function(){var d=w(c).$implicit,e=P();return x(Cq(e.focusManager,d))});J()}a&2&&(a=b.$implicit,E("row",a),jg("data-type",a.type))},Akb=function(a,b){if(a&&a.length)return a.map(b)},Bkb=function(a){var b=a.getFilename();
var c=pc(a,2,Mb,Uj(Vj));return{filename:b,lineNumber:c,changeNumber:a.getChangeNumber_asLegacyNumberOrString()}},Dkb=function(a){var b=Kh(a,1);a=lk(a,Ckb,2,Uj(Vj));return{packageName:b,fileMentionSet:Akb(a,Bkb)}},Fkb=function(a){var b=Xj(a,1),c=Ak(a,2);a=lk(a,Ekb,3,Uj(Vj));return{totalMentions:b,truncated:c,packageMentionSet:Akb(a,Dkb)}},Hkb=function(a){var b=Gkb(a.open);a=Gkb(a.total);return b===a?"("+b+")":"("+b+"/"+a+")"},Gkb=function(a){var b=a.count;a=a.exact;return b===0||a?""+b:b+"+"},Ikb=
function(a){return"("+Gkb(a)+")"},Nt=function(a){return{count:a>99?99:a,exact:a>99?!1:!0}},Jkb=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:Db(b)}},Kkb=function(a){a&1&&Cg(0)},Lkb=function(a){a&1&&D(0,Kkb,1,0,"ng-container",6);a&2&&(P(),a=L(14),E("ngTemplateOutlet",a))},Mkb=function(a,b){a&1&&
K(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))},Nkb=function(a){a&1&&(D(0,Mkb,1,6,"b-issues-table",7),S(1,"async"));if(a&2){var b;a=P();G((b=U(1,1,a.blockerIds$))?0:-1,b)}},Okb=function(a){a&1&&Cg(0)},Pkb=function(a){a&1&&(I(0,"div")(1,"span",5),Q(2,"This issue is not blocked "),I(3,"span",8),Q(4,"\ud83c\udf89"),J()(),D(5,Okb,1,0,"ng-container",6),J());
a&2&&(P(),a=L(14),B(5),E("ngTemplateOutlet",a))},Qkb=function(a,b){if(a&1){var c=v();I(0,"p",5);Q(1);I(2,"button",9);M("click",function(){w(c);var d=P();return x(d.shouldResetFilters.next())});Q(3,"Show all");J()()}a&2&&(B(),Zg(" Filtering ",b," issue",b===1?"":"s",". "))},Skb=function(a){if(a&1){var b=v();I(0,"b-button",10);S(1,"async");M("onAction",function(){w(b);var c=P();return x(Rkb(c))});Q(2," Add blocker ");J()}a&2&&(a=P(),E("disabled",!U(1,1,a.canEdit$)))},Tkb=function(a,b){a&1&&K(0,"b-issues-table",
0);a&2&&(a=P(),E("issueIds",b)("tableColumns",a.tableColumns)("options",a.tableOptions)("filters",a.filters)("issueUrlFactory",a.ROUTES.issueDependencies.makeHref)("menuItemFactory",a.getMenuItems))},Ukb=function(a,b){a&1&&(I(0,"span",8),Q(1),J());a&2&&(Kg("title","",b," applied filter(s)"),B(),Yg(b))},Vkb=function(a){a&1&&(D(0,Ukb,2,3,"span",8),S(1,"async"));if(a&2){var b;a=P();G((b=U(1,1,a.internalSelectedOptions.size$))?0:-1,b)}},Wkb=function(a){a&1&&(I(0,"h1",6),Q(1),J());a&2&&(a=P(),B(),Yg(a.overlayTitle))},
Xkb=function(a){a&1&&(I(0,"h1"),Q(1),J());a&2&&(a=P().$implicit,B(),Yg(a.title))},Ykb=function(a){a&1&&(I(0,"p"),Q(1),J());a&2&&(a=P().$implicit,B(),Yg(a.description))},Zkb=function(a,b){if(a&1){var c=v();I(0,"div",7)(1,"div",9)(2,"mat-checkbox",10);S(3,"async");M("change",function(d){var e=w(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()});J();I(4,"div");D(5,Xkb,2,1,"h1")(6,Ykb,
2,1,"p");J()()()}a&2&&(a=b.$implicit,b=P(),B(2),E("checked",U(3,3,Bq(b.internalSelectedOptions,a.key))),B(3),G(a.title?5:-1),B(),G(a.description?6:-1))},$kb=function(a){if(a&1){var b=v();K(0,"mat-divider");I(1,"div",11)(2,"button",12);M("click",function(){w(b);var c=P(),d=L(1);return x(c.cancel(d))});Q(3);J();I(4,"button",13);M("click",function(){w(b);var c=P(),d=L(1);return x(c.confirm(d))});Q(5);J()()}a&2&&(a=P(),B(3),Yg(a.cancelButtonLabel),B(2),Yg(a.confirmButtonLabel))},alb=function(a){a&1&&
K(0,"b-spinner")},blb=function(a){a&1&&Cg(0)},clb=function(a){a&1&&D(0,blb,1,0,"ng-container",23);a&2&&(P(2),a=L(12),E("ngTemplateOutlet",a))},dlb=function(a){a&1&&(K(0,"b-parents-table",15),S(1,"async"),S(2,"async"));if(a&2){a=P();var b=P();E("issueId",a)("parentIds",U(1,3,b.parentIds$))("filters",U(2,5,b.issueFilters.value$))}},elb=function(a){a&1&&Cg(0)},flb=function(a){a&1&&(I(0,"div")(1,"span",24),Q(2,"This issue has no parents"),J(),D(3,elb,1,0,"ng-container",23),J());a&2&&(P(2),a=L(12),B(3),
E("ngTemplateOutlet",a))},glb=function(a){a&1&&Cg(0)},ilb=function(a){a&1&&(D(0,glb,1,0,"ng-container",25),S(1,"async"));if(a&2){a=P(2);var b=L(10);E("ngTemplateOutlet",b)("ngTemplateOutletContext",eh(4,hlb,U(1,2,a.parentsTable==null?null:a.parentsTable.hiddenRowCount$)))}},jlb=function(a){a&1&&Cg(0)},klb=function(a){a&1&&D(0,jlb,1,0,"ng-container",23);a&2&&(P(2),a=L(14),E("ngTemplateOutlet",a))},llb=function(a){a&1&&(I(0,"div",20)(1,"section",26)(2,"div",27),Q(3," Progress: "),J(),I(4,"div",27),
Q(5),S(6,"async"),S(7,"number"),S(8,"async"),S(9,"number"),J(),I(10,"div",28),S(11,"async"),I(12,"div",29),K(13,"div",30),S(14,"async"),I(15,"onedev-hovercard",null,3)(17,"div",31)(18,"div",32),Q(19),S(20,"async"),J()()()()(),K(21,"mat-icon",33),I(22,"onedev-hovercard",null,4)(24,"div",31)(25,"div",34)(26,"p"),Q(27," The progress of child issues takes into consideration all child issues and descendant issues which have estimation data. If a child issue doesn\u2019t have an estimate, their progress is not reflected in the progress bar. "),
J()()()()()());if(a&2){a=L(16);var b=L(23),c=P(2);B(5);Zg(" ",hh(7,11,U(6,9,c.totalDaysComplete$),"1.0-2")," of ",hh(9,16,U(8,14,c.totalDaysCount$),"1.0-2")," days complete ");B(5);lg("aria-label","",U(11,19,c.totalDaysDisplayPercent$)," Percentage of effort completed");B(2);E("onedevHovercardTrigger",a);B();rg("width",U(14,21,c.totalDaysDisplayPercent$),"%");B(6);R(" ",U(20,23,c.progressHovercardContent$)," ");B(2);E("onedevHovercardTrigger",b)}},mlb=function(a){a&1&&K(0,"rollups-project",21);a&
2&&(a=P(),E("id",a))},nlb=function(a){a&1&&Cg(0)},olb=function(a){a&1&&(D(0,nlb,1,0,"ng-container",25),S(1,"async"));if(a&2){a=P(2);var b=L(10);E("ngTemplateOutlet",b)("ngTemplateOutletContext",eh(4,hlb,U(1,2,a.relationsTable==null?null:a.relationsTable.hiddenRowCount$)))}},plb=function(a){a&1&&Cg(0)},qlb=function(a){a&1&&(I(0,"span",24),Q(1,"This issue has no children"),J(),D(2,plb,1,0,"ng-container",23));a&2&&(P(3),a=L(14),B(2),E("ngTemplateOutlet",a))},rlb=function(a){a&1&&(I(0,"p",35)(1,"a",36),
Q(2," View as search results "),J()());if(a&2){a=P(2);var b=P();B();E("href",b.makeIlpUrlForParentIssue(a),vf)}},slb=function(a){a&1&&(D(0,qlb,3,1),S(1,"async"),S(2,"async"),D(3,rlb,3,1,"p",35));if(a&2){var b;a=P(2);G(U(1,1,a.unarchivedChildIssueCount$)===0&&(((b=U(2,3,a.relationsTable==null?null:a.relationsTable.rows$))==null?null:b.length)||0)===0?0:3)}},tlb=function(a,b){if(a&1){var c=v();I(0,"div",9)(1,"section",10)(2,"div",11)(3,"h4",12)(4,"div",13);K(5,"mat-icon",14);J();Q(6);S(7,"async");J();
D(8,clb,1,1,"ng-container");S(9,"async");J();D(10,dlb,3,7,"b-parents-table",15);S(11,"async");D(12,flb,4,1,"div")(13,ilb,2,6,"ng-container");S(14,"async");J();I(15,"section")(16,"b-blockers-table",16);S(17,"async");M("shouldResetFilters",function(){w(c);var f=P();return x(f.shouldResetFilters())});J()();I(18,"section")(19,"div",17)(20,"h4",12)(21,"div",18);K(22,"mat-icon",19);J();Q(23);S(24,"async");J();D(25,klb,1,1,"ng-container");S(26,"async");S(27,"async");J();D(28,llb,28,25,"div",20);S(29,"async");
S(30,"async");D(31,mlb,1,1,"rollups-project",21);K(32,"b-issue-relations-table",22);S(33,"async");S(34,"async");S(35,"async");D(36,olb,2,6,"ng-container");S(37,"async");D(38,slb,4,5);S(39,"async");J()()}if(a&2){var d,e;a=P();B(6);R(" Parents ",U(7,17,a.counts.countParentsDisplay$)," ");B(2);G(U(9,19,a.parentsCount$)?8:-1);B(2);G(U(11,21,a.parentsCount$)?10:12);B(3);G(U(14,23,a.issueFilters.value$)?13:-1);B(3);E("filters",U(17,25,a.issueFilters.value$));B(7);R(" Child issues ",U(24,27,a.counts.countChildrenDisplay$),
" ");B(2);G(U(26,29,a.unarchivedChildIssueCount$)||(((d=U(27,31,a.relationsTable==null?null:a.relationsTable.rows$))==null?null:d.length)||0)>0?25:-1);B(3);G(a.isTotalEstimatesEnabled&&U(29,33,a.unarchivedChildIssueCount$)&&U(30,35,a.totalDaysCount$)?28:-1);B(3);G(a.isInternalSession&&a.enableRollupStatsUi?31:-1);B();sg("hidden",!((e=U(33,37,a.relationsTable==null?null:a.relationsTable.rows$))==null?0:e.length)&&!U(34,39,a.relationsTable==null?null:a.relationsTable.hiddenRowCount$));Kg("saveExpansionAtKey",
"project-expansion-",b,"");E("rootIssueId",b)("filters",U(35,41,a.issueFilters.value$));B(4);G(U(37,43,a.issueFilters.value$)?36:-1);B(2);G(U(39,45,a.unarchivedChildIssueCount$)!==null?38:-1)}},ulb=function(a){if(a&1){var b=v();I(0,"p",24);Q(1);I(2,"button",37);M("click",function(){w(b);var c=P(2);return x(c.issueFilters.reset([]))});Q(3,"Show all");J()()}a&2&&(a=P().filteredCount,B(),Zg(" Filtering ",a," issue",a===1?"":"s",". "))},vlb=function(a,b){a&1&&D(0,ulb,4,2,"p",24);a&2&&G(b.filteredCount?
0:-1)},xlb=function(a){if(a&1){var b=v();I(0,"b-button",38);S(1,"async");M("onAction",function(){w(b);var c=P();return x(wlb(c))});Q(2," Add parent ");J()}a&2&&(a=P(),E("disabled",!U(1,1,a.canEdit$)))},ylb=function(a){if(a&1){var b=v();I(0,"b-button",41);S(1,"async");M("onAction",function(){w(b);var c=P(2);return x(c.createChild())});Q(2," Create new child ");J()}a&2&&(a=P(2),E("disabled",!U(1,1,a.canEdit$)))},zlb=function(a){if(a&1){var b=v();D(0,ylb,3,3,"b-button",39);I(1,"b-button",40);S(2,"async");
M("onAction",function(){w(b);var c=P();return x(c.addChild())});Q(3," Add existing child ");J()}a&2&&(a=P(),G(a.isNonPublicSession?0:-1),B(),E("disabled",!U(2,2,a.canEdit$)))},Alb=function(a,b){return Ie([a,b]).pipe(z(function(c){var d=k(c);c=d.next().value;d=d.next().value;return d===0?0:Math.round(c*100/d*100)/100}))},Blb=function(a){return a===1?a+" day":a+" days"},Clb=function(a){a&1&&(K(0,"one-work-area-list",0),S(1,"async"));a&2&&(a=P(2),E("searchString",U(1,5,a.issueFilter$))("prefKey",a.entityReference)("reference",
a.entityReference)("onlyShowTableWhenFiltered",a.onlyShowTableWhenFiltered)("entityType",a.entityType))},Elb=function(a){if(a&1){var b=v();I(0,"aside",4)(1,"p",5);Q(2,"This issue has no children.");J();I(3,"button",6);M("click",function(){w(b);var c;(c=P(5).relationsTable)==null||Dlb(c);return x()});Q(4," Create new child ");J();I(5,"button",7);M("click",function(){w(b);var c;(c=P(5).relationsTable)==null||c.addExistingChild();return x()});Q(6," Add existing ");J()()}},Flb=function(a,b){a&1&&(D(0,
Elb,7,0,"aside",4),S(1,"async"));if(a&2){var c;a=P(4);G(b.descendantCount===0&&(((c=U(1,1,a.relationsTable==null?null:a.relationsTable.rows$))==null?null:c.length)||0)===0?0:-1)}},Glb=function(a){a&1&&(K(0,"b-issue-relations-table",3),D(1,Flb,2,3),S(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);B();G((b=U(2,8,c.issue$))?1:
-1,b)}},Hlb=function(a){a&1&&(K(0,"rollups-project",2)(1,"stat-cards-project",2),D(2,Glb,3,10));if(a&2){a=P();var b=P();E("id",a);B();E("id",a);B();G(b.showTable()?2:-1)}},Ilb=function(a){a&1&&Q(0);a&2&&(a=P(2),R(" Unhandled entity type: ",a.entityType," "))},Jlb=function(a){a&1&&(K(0,"recent-events",1),S(1,"async"));a&2&&(a=P(2),E("query",U(1,2,a.issueFilter$))("numEvents",a.numRecentActivityEvents))},Klb=function(a){a&1&&D(0,Clb,2,7,"one-work-area-list",0)(1,Hlb,3,3)(2,Ilb,1,1)(3,Jlb,2,4,"recent-events",
1);a&2&&(a=P(),G(a.entityType==="hotlist"||a.entityType==="savedsearch"?0:a.entityType==="issue"?1:2),B(3),G(a.hideRecentActivity?-1:3))},Llb=function(a){return{filter:a!=null?a:void 0,pageSize:500,sort:"modified_time:desc"}},Mlb=function(a,b){a&1&&K(0,"b-issues-table",2);a&2&&(a=P(2),E("issueIds",b)("options",a.TABLE_OPTIONS)("filters",a.getFilters())("tableColumns",a.getFilters()[0]==="PROGRESS"?a.PROGRESS_COLUMNS:a.DEFAULT_COLUMNS)("initialSort",a.INITIAL_SORT))},Nlb=function(a){a&1&&(D(0,Mlb,
1,5,"b-issues-table",2),S(1,"async"));if(a&2){var b;a=P();G((b=U(1,1,a.issueIds$))?0:-1,b)}},Olb=function(a){a&1&&(I(0,"button",9),K(1,"mat-icon",13),Q(2," Add "),J());a&2&&(P(),a=L(9),E("matMenuTriggerFor",a))},Plb=function(a){a&1&&K(0,"b-tracker-chip-smart",17);a&2&&(a=P(2).$implicit,E("trackerId",a.trackerId)("compactMode",!0))},Qlb=function(a){a&1&&(I(0,"a",28),K(1,"mat-icon",29),Q(2," View Issue "),J(),I(3,"a",30),K(4,"mat-icon",29),Q(5," View as search results "),J());if(a&2){a=P(2).$implicit;
var b=P(2);E("routerLink",b.makeBuganizerUrl(a.workAreaUrl));B(3);E("href",b.makeIlpUrlForParentIssue(a.workAreaUrl),vf)}},Rlb=function(a){a&1&&(I(0,"a",21),K(1,"mat-icon",29),Q(2),J());if(a&2){a=P(2).$implicit;var b=P(2);E("routerLink",b.makeBuganizerUrl(a.workAreaUrl));B(2);R(" View ",b.getEntityTypeName(a.workAreaUrl)," ")}},Slb=function(a,b){if(a&1){var c=v();I(0,"button",10);M("click",function(){var d=w(c),e=P(4);e.clipboard.copy(d);jq(e.butterBar,"ID copied",2E3);return x()});K(1,"mat-icon",
31);Q(2);J()}a&2&&(B(2),R(" Copy ID: ",b," "))},Ulb=function(a){if(a&1){var b=v();D(0,Plb,1,2,"b-tracker-chip-smart",17);Q(1);I(2,"button",18);M("click",function(l){w(b);return x(l.stopPropagation())});K(3,"mat-icon",19);J();I(4,"mat-menu",20,1);D(6,Qlb,6,2)(7,Rlb,3,2,"a",21)(8,Slb,3,1,"button",22);K(9,"mat-divider");I(10,"button",23);M("click",function(){w(b);var l=P().$implicit,q=P(2);return x(Tlb(q.prefsService,l.workAreaUrl,-1))});K(11,"mat-icon",24);Q(12," Move Left ");J();I(13,"button",23);
M("click",function(){w(b);var l=P().$implicit,q=P(2);return x(Tlb(q.prefsService,l.workAreaUrl,1))});K(14,"mat-icon",25);Q(15," Move Right ");J();I(16,"button",26);M("click",function(){w(b);var l=P().$implicit,q=P(2).prefsService,u=l.workAreaUrl;if(u!=null){var A;l=((A=q.prefs.workAreaUrls)!=null?A:[]).slice();A=l.indexOf(u);A<0||(l.splice(A,1),Ot(q,{workAreaUrls:l}))}return x()});K(17,"mat-icon",27);Q(18," Remove ");J()()}if(a&2){var c;a=L(5);var d=P(),e=d.$implicit,f=d.$index;d=d.$count;var h=P(2);
G(h.currentTrackerId&&h.currentTrackerId!==e.trackerId&&h.inferEntityType(e.workAreaUrl)==="issue"?0:-1);B();R(" ",h.titles[e.workAreaUrl]||e.workAreaUrl," ");B();E("matMenuTriggerFor",a);B(4);G(h.inferEntityType(e.workAreaUrl)==="issue"?6:7);B(2);G((c=h.extractLastDigits(e.workAreaUrl))?8:-1,c);B(2);E("disabled",f===0);B(3);E("disabled",f===d-1);B(3);Kg("title","Hide the work area '",e.workAreaUrl,"' from this section")}},Vlb=function(a){a&1&&K(0,"one-work-area",32);if(a&2){a=P().$implicit;var b=
P(2);E("reference",a.workAreaUrl)("refreshWorkArea",b.refreshData)}},Wlb=function(a){a&1&&(I(0,"mat-tab"),D(1,Ulb,19,9,"ng-template",15)(2,Vlb,1,2,"ng-template",16),J())},Ylb=function(a){if(a&1){var b=v();I(0,"mat-tab-group",14);M("selectedIndexChange",function(c){w(b);var d=P();return x(Xlb(d.prefsService,d.SECTION_SLUG,c))});yg(1,Wlb,3,0,"mat-tab",null,xg);S(3,"async");J()}a&2&&(a=P(),E("selectedIndex",a.INITIAL_TAB_INDEX),B(),zg(U(3,1,a.refsForTemplate$)))},Zlb=function(a){a&1&&K(0,"b-issue-card",
44);a&2&&(a=P().$implicit,E("issueId",a.ref))},amb=function(a,b){if(a&1){var c=v();I(0,"li",41);M("click",function(){var d=w(c).$implicit,e=P(3);return x($lb(e,d.ref))});I(1,"p",42);Q(2);J();I(3,"p",43);Q(4);J();I(5,"onedev-hovercard",null,2);D(7,Zlb,1,1,"b-issue-card",44);J()()}a&2&&(a=b.$implicit,b=L(6),Kg("title","Click to add\n\rWhy this? ",a.suggestionRationale,""),B(2),Yg(a.title),B(),E("onedevHovercardTrigger",b),B(),R("b/",a.ref,""),B(3),G(a.ref?7:-1))},bmb=function(a){a&1&&(I(0,"div",35)(1,
"h4"),Q(2,"Suggestions:"),J(),I(3,"ol",39),yg(4,amb,8,6,"li",40,xg),J()());a&2&&(a=P(2),B(4),zg(a.suggestions))},cmb=function(a){a&1&&(I(0,"section",12)(1,"div",33),K(2,"img",34),D(3,bmb,6,0,"div",35),J(),I(4,"p",36),Q(5," Use work areas to closely monitor a hotlist, saved search, or a parent/child project issue. "),J(),I(6,"button",37),K(7,"mat-icon",38),Q(8," Add work area "),J()());if(a&2){a=P();var b=L(9);B(2);E("src",a.EMPTY_STATE_IMG,vf);B();G(a.suggestions.length>0?3:-1);B(3);E("matMenuTriggerFor",
b)}},dmb=function(a){if(a&1){var b=v();I(0,"div",1);M("click",function(){w(b);var c=P();return x(c._onBackdropClicked())});J()}a&2&&(a=P(),sg("mat-drawer-shown",a._isShowingBackdrop()))},emb=function(a){a&1&&(I(0,"mat-drawer-content"),Jg(1,2),J())},fmb=function(){return!1},gmb=function(a){if(a&1){var b=v();I(0,"div",1);M("click",function(){w(b);var c=P();return x(c._onBackdropClicked())});J()}a&2&&(a=P(),sg("mat-drawer-shown",a._isShowingBackdrop()))},hmb=function(a){a&1&&(I(0,"mat-sidenav-content"),
Jg(1,2),J())},imb=function(a,b){if(a&1){var c=v();I(0,"button",9);M("click",function(){var d=w(c).$implicit,e=P(2);return x(e.pageSizeChange.emit(d))});I(1,"span",10);K(2,"mat-icon",11);J();Q(3);J()}a&2&&(a=b.$implicit,b=P(2),sg("b-menu-item-checked",a===b.pageSize),jg("aria-checked",a===b.pageSize),B(3),R(" ",a," "))},jmb=function(a){a&1&&(I(0,"button",5),K(1,"mat-icon",6),J(),I(2,"mat-menu",null,0)(4,"div",7),Q(5,"Results per page:"),J(),yg(6,imb,4,4,"button",8,xg),J());if(a&2){a=L(3);var b=P();
E("matMenuTriggerFor",a);B(6);zg(b.pageSizeOptions)}},kmb=function(a){a&1&&(I(0,"span"),Q(1," - "),I(2,"strong"),Q(3),J()());a&2&&(a=P(),B(3),Yg(a.endIndex))},lmb=function(a,b){a&1&&(I(0,"span",27),Q(1),J());a&2&&(B(),R("",b," "))},mmb=function(a){a&1&&(D(0,lmb,2,1,"span",27),S(1,"async"),Q(2," \u00a0/\u00a0 "));if(a&2){var b;a=P();G((b=U(1,1,a.attentionCount$))?0:-1,b)}},nmb=function(a,b){a&1&&(I(0,"div",9)(1,"h2",7),Q(2),J(),I(3,"span",26),D(4,mmb,3,3),S(5,"async"),I(6,"span"),Q(7),S(8,"async"),
J()()());if(a&2){var c;B(2);Yg(b.displayName);B(2);G((c=U(5,3,b.attentionCount$))?4:-1,c);B(3);Yg(U(8,5,b.totalCount$))}},pmb=function(a,b){if(a&1){var c=v();I(0,"button",13);M("click",function(){var d=w(c).$implicit,e=P();return x(omb(e,d))});Q(1);J()}a&2&&(a=b.$implicit,b=P(),B(),R(" ",b.SUBPHASE_TO_DISPLAY_NAME[a]," "))},qmb=function(a){a&1&&K(0,"mat-progress-bar",21)},rmb=function(a){a&1&&Q(0);a&2&&(a=P().$implicit,R(" (",a.count,") "))},smb=function(a,b){a&1&&(I(0,"mat-chip-option",30),S(1,"async"),
I(2,"span",31),Q(3),D(4,rmb,1,1),J()());a&2&&(a=b.$implicit,b=P(4),E("value",a.key)("selected",U(1,5,Bq(b.selectedFilterKeys,a.key))),B(2),E("matTooltip",a.tooltip),B(),R(" ",a.displayAs," "),B(),G(a.showCount?4:-1))},umb=function(a){if(a&1){var b=v();I(0,"mat-chip-listbox",29);M("change",function(c){w(b);P(3).selectedFilterKeys.reset(c.value.filter(ik));return x()});yg(1,smb,5,7,"mat-chip-option",30,tmb);J()}a&2&&(a=P(),E("multiple",!0),B(),zg(a))},vmb=function(a,b){a&1&&D(0,umb,3,1,"mat-chip-listbox",
28);a&2&&G(b.length?0:-1)},wmb=function(a){a&1&&(D(0,vmb,1,1),S(1,"async"));if(a&2){var b;a=P();G((b=U(1,1,a.availableFiltersInCurrentPhase$))?0:-1,b)}},xmb=function(a){a&1&&Cg(0)},zmb=function(a,b){a&1&&D(0,xmb,1,0,"ng-container",32);if(a&2){a=P();var c=L(53);E("ngTemplateOutlet",c)("ngTemplateOutletContext",fh(2,ymb,b,a.teamId))}},Amb=function(a){if(a&1){var b=v();I(0,"selection-triage-sidebar",33);M("refreshTable",function(){w(b);var c=P(3);return x(c.refreshTable())});J()}},Bmb=function(a){if(a&
1){var b=v();I(0,"issue-triage-sidebar",33);M("refreshTable",function(){w(b);var c=P(4);return x(c.refreshTable())});J()}},Cmb=function(a){if(a&1){var b=v();I(0,"cluster-triage-sidebar",33);M("refreshTable",function(){w(b);var c=P(4);return x(c.refreshTable())});J()}},Dmb=function(a){a&1&&D(0,Bmb,1,0,"issue-triage-sidebar")(1,Cmb,1,0,"cluster-triage-sidebar");a&2&&(a=P(),G(a.length===1?0:a.length>1?1:-1))},Emb=function(a){a&1&&D(0,Amb,1,0,"selection-triage-sidebar")(1,Dmb,2,1);a&2&&(a=P(2),G(a.triageService.mode===
a.TriageServiceMode.SELECTION?0:a.triageService.mode===a.TriageServiceMode.ACTIVATION?1:-1))},Fmb=function(a){a&1&&(D(0,Emb,2,1),S(1,"async"));if(a&2){var b;a=P();G((b=U(1,1,a.triageService.currentIssueIds$))?0:-1,b)}},Imb=function(a){if(a&1){var b=v();I(0,"b-issues-table",36);S(1,"async");S(2,"async");M("activeIssueChange",function(h){w(b);var l=P(2);return x(Gmb(l,h))})("rowClick",function(h){w(b);var l=P(2);return x(Gmb(l,h))})("selectedIssuesChange",function(h){w(b);var l=P(2);l.selectedIssues=
h;h=l.selectedIssues.selected;l.triageService.setIssueIds(h);h.length?(l.triageService.setMode(1),l.triageService.openSidebar()):(l.triageService.setMode(0),l.triageService.closeSidebar());return x()})("sortChange",function(h){w(b);var l=P(2);return x(l.onSortChange(h))});J()}if(a&2){var c,d,e=P();a=e.issueIds;e=e.teamId;var f=P();E("issueIds",a)("tableColumns",(c=U(1,6,f.tableColumns$))!==null&&c!==void 0?c:dh(10,Hmb))("options",f.tableOptions)("teamId",e)("showReadStatus",!0)("alerts",(d=U(2,8,
f.issueAlertsForCurrentPhase$))!==null&&d!==void 0?d:dh(11,Hmb))}},Jmb=function(a){a&1&&(I(0,"div",35),K(1,"img",37),Q(2," All clean! There are no issues in this phase. "),J());a&2&&(a=P(2),B(),E("src",a.EMPTY_STATE_IMG,vf))},Kmb=function(a,b){a&1&&D(0,Imb,3,12,"b-issues-table",34)(1,Jmb,3,1,"div",35);a&2&&G(b.issueIds.length?0:1)},Lmb=function(a,b,c){var d=b.find(function(e){return e.key==="LAST_30_DAYS"});b=b.filter(function(e){return e.key!=="LAST_30_DAYS"});return eya(a,b).filter(function(e){return!d||
d.check(e)||c.some(function(f){return Zl(e,f)})?!0:!1})},Nmb=function(a,b,c,d){return c?function(){switch(c.column){case "createdTime":return Bxa(yua)(a,c.direction);case "relativeModifiedTime":return Cxa(yua)(a,c.direction);case "priority":return Hxa(yua)(a,c.direction);case "triager":return Exa()(a,c.direction);default:return console.warn("b-triage-phase sort by '"+c.column+"' not implemented"),a}}().map(function(e){return e.issueId}):Mmb(a,b,d)},Mmb=function(a,b,c){var d=Omb.get(c),e=new Map(a.map(function(f){return[f.issueId,
d.findIndex(function(h){return Zl(f,h)})]}));c=a.filter(function(f){return e.get(f.issueId)!==-1}).map(function(f){return f.issueId}).sort(function(f,h){return e.get(f)-e.get(h)});return Jj([].concat(t(b),t(c),t(a.map(function(f){return f.issueId}))),function(f){return Array.isArray(f)?f.join(";"):f})},Pmb=function(a){a&1&&(I(0,"span",8),Q(1," > "),J())},Smb=function(a,b){if(a&1){var c=v();I(0,"span")(1,"a",7);M("click",function(e){var f=w(c).$implicit,h=P(2);f=new Qmb(f.pathIds,f.pathNames);h.onTeamSelect.emit(f);
e.stopPropagation();e.preventDefault();Rmb(h.autocompleteTrigger);return x()});Q(2);J();D(3,Pmb,2,0,"span",8);J()}if(a&2){a=b.$implicit;var d=b.$index;b=b.$count;B();E("matTooltip",a.pathNameText);B();Yg(a.name);B();G(d!==b-1?3:-1)}},Tmb=function(a,b){a&1&&(I(0,"mat-option",5)(1,"div"),yg(2,Smb,4,3,"span",null,xg),J(),I(4,"span",6),Q(5),S(6,"slice"),J()());a&2&&(a=b.$implicit,E("value",a),B(2),zg(a.teamPath),B(2),E("matTooltip",a.description),B(),R("",jma(6,3,a.description,100)," "))},Umb=function(a){a&
1&&Q(0," Search results ")},Vmb=function(a){a&1&&Q(0," Recommended ")},Wmb=function(a){a&1&&(I(0,"th",18)(1,"span",19),Q(2,"Starred"),J()())},Xmb=function(a,b){if(a&1){var c=v();I(0,"td",20)(1,"b-star-toggle",21);M("starClicked",function(){var e=w(c).$implicit,f=P(2),h=P();return x(h.toggleStar(e.triageId,e.teamId,f))});J()()}if(a&2){a=b.$implicit;b=P(2);var d=P();B();E("disabled",d.starInProgress["row.triageId:row.teamId"])("starred",d.isTriageStarred(a.triageId,a.teamId,b))("starMessage","Star this triage view")("unStarMessage",
"Un-star this triage view")}},Ymb=function(a){a&1&&(I(0,"th",18),Q(1,"Name"),J())},Zmb=function(a,b){a&1&&(I(0,"td",22)(1,"a",23),Q(2),J()());a&2&&(a=b.$implicit,b=P(3),B(),E("href",b.getTriageLink(a.triageId,a.teamId),vf),B(),R(" ",a.triageName||a.teamName+" triage"," "))},$mb=function(a){a&1&&(I(0,"th",18),Q(1,"Team"),J())},anb=function(a,b){a&1&&(I(0,"td",24),Q(1),J());a&2&&(a=b.$implicit,B(),R(" ",a.teamName," "))},bnb=function(a){a&1&&(I(0,"th",18),Q(1,"Scope"),J())},cnb=function(a,b){a&1&&(I(0,
"td",25),Q(1),J());a&2&&(a=b.$implicit,B(),R(" ",a.scope," "))},dnb=function(a){a&1&&K(0,"tr",26)},enb=function(a){a&1&&K(0,"tr",27)},fnb=function(a,b){a&1&&(I(0,"table",6),Ag(1,7),D(2,Wmb,3,0,"th",8)(3,Xmb,2,4,"td",9),Bg(),Ag(4,10),D(5,Ymb,2,0,"th",8)(6,Zmb,3,2,"td",11),Bg(),Ag(7,12),D(8,$mb,2,0,"th",8)(9,anb,2,1,"td",13),Bg(),Ag(10,14),D(11,bnb,2,0,"th",8)(12,cnb,2,1,"td",15),Bg(),D(13,dnb,1,0,"tr",16)(14,enb,1,0,"tr",17),J());a&2&&(a=P(2),E("dataSource",b)("fixedLayout",!0),B(13),E("matHeaderRowDef",
a.tableColumns),B(),E("matRowDefColumns",a.tableColumns))},gnb=function(a){a&1&&K(0,"b-spinner")},hnb=function(a){a&1&&(D(0,fnb,15,4,"table",6),S(1,"async"),D(2,gnb,1,0,"b-spinner"));if(a&2){var b;a=P();G((b=U(1,1,a.triageRows$))?0:2,b)}},inb=function(a){a&1&&(I(0,"button",9)(1,"span"),Q(2,"Edit"),J(),K(3,"b-icon",15),J());if(a&2){a=P();var b=L(7);E("disabled",a.isAnonymous)("matMenuTriggerFor",b)}},jnb=function(a){a&1&&(I(0,"button",9)(1,"span"),Q(2,"Link"),J(),K(3,"b-icon",15),J());if(a&2){a=P();
var b=L(73);E("disabled",a.isAnonymous)("matMenuTriggerFor",b)}},knb=function(a){a&1&&(I(0,"button",9)(1,"span"),Q(2,"CC"),J(),K(3,"b-icon",15),J());if(a&2){a=P();var b=L(89);E("disabled",a.isAnonymous)("matMenuTriggerFor",b)}},lnb=function(a){if(a&1){var b=v();I(0,"button",11);M("click",function(){w(b);var c=P();return x(c.bulkEdit("ESTIMATED_EFFORT"))});Q(1,"Estimated Effort");J()}},mnb=function(a,b){if(a&1){var c=v();I(0,"button",11);M("click",function(){var d=w(c).$implicit,e=P();return x(e.quickBulkEdit("PRIORITY",
d))});Q(1);J()}a&2&&(a=b.$implicit,B(),R(" ",a," "))},nnb=function(a,b){if(a&1){var c=v();I(0,"button",11);M("click",function(){var d=w(c).$implicit,e=P();return x(e.quickBulkEdit("SEVERITY",d))});Q(1);J()}a&2&&(a=b.$implicit,B(),R(" ",a," "))},onb=function(a,b){if(a&1){var c=v();I(0,"button",11);M("click",function(){var d=w(c).$implicit,e=P();return x(e.quickBulkEdit("STATUS",d))});Q(1);J()}a&2&&(a=b.$implicit,b=P(),B(),R(" ",b.STATUS_JS_FULL_TEXT.get(a)," "))},pnb=function(a,b){if(a&1){var c=v();
I(0,"button",16);M("click",function(){var e=w(c).$implicit,f=P();return x(f.quickBulkEdit("TYPE",e))});Q(1);J()}if(a&2){var d;a=b.$implicit;b=P();E("matTooltip",(d=b.constants.issueTypesShortDescriptions.get(a))!==null&&d!==void 0?d:"");B();R(" ",b.constants.issueTypesDisplayNames.get(a)," ")}},qnb=function(a){if(a&1){var b=v();I(0,"button",4);M("click",function(){w(b);var c=P(2);return x(c.exportCsvClicked.emit())});Q(1,"Export issues to CSV ");J()}},rnb=function(a){if(a&1){var b=v();I(0,"button",
4);M("click",function(){w(b);var c=P(2);return x(c.flagAsSpamClicked.emit())});Q(1,"Flag issues as spam ");J()}},snb=function(a){a&1&&(I(0,"button",1)(1,"span"),Q(2,"More"),J(),K(3,"b-icon",2),J(),I(4,"mat-menu",null,0),D(6,qnb,2,0,"button",3)(7,rnb,2,0,"button",3),J());if(a&2){a=L(5);var b=P();E("disabled",b.isAnonymous)("matMenuTriggerFor",a);B(6);G(b.showExportCsv?6:-1);B();G(b.showFlagIssuesAsSpam?7:-1)}},tnb=function(a){a&1&&Q(0," Network connection has been interrupted. ")},unb=function(a){a&
1&&Q(0," Network connection has been interrupted or login credentials may have expired. ")},vnb=function(a){if(a&1){var b=v();I(0,"button",2);M("click",function(c){w(b);P(2);c.stopPropagation();c.preventDefault();var d={width:690,height:500,top:window.screenTop+(window.outerHeight-500)/2,left:window.screenLeft+(window.outerWidth-690)/2};c=window;var e=Oc("/refreshSso")?"/refreshSso":Rc(typeof"/refreshSso".href!="undefined"?"/refreshSso".href:"/refreshSso");var f=self.crossOriginIsolated!==void 0,
h="strict-origin-when-cross-origin";window.Request&&(h=(new Request("/")).referrerPolicy);var l=h==="unsafe-url";h=d.noreferrer;if(f&&h){if(l)throw Error("cg");h=!1}f=d.target||"/refreshSso".target;l=[];for(var q in d)switch(q){case "width":case "height":case "top":case "left":l.push(q+"="+d[q]);break;case "target":case "noopener":case "noreferrer":break;case "attributionsrc":l.push(q+(d[q]?"="+d[q]:""));break;default:l.push(q+"="+(d[q]?1:0))}q=l.join(",");Ka()&&c.navigator&&c.navigator.standalone&&
f&&f!="_self"?(q=Vq(document,"A"),Bea(q,e),q.target=f,h&&(q.rel="noreferrer"),((d=d.attributionsrc)||d==="")&&q.setAttribute("attributionsrc",d),d=document.createEvent("MouseEvent"),d.initMouseEvent("click",!0,!0,c,1),q.dispatchEvent(d)):h?(c=Xc(c,"",f,q),d=Pc(e),c&&(c.opener=null,d===""&&(d="javascript:''"),d=Uc('<meta name="referrer" content="no-referrer"><meta http-equiv="refresh" content="0; url='+Yr(d)+'">'),(c=c.document)&&c.write&&(c.write(Wc(d)),c.close()))):((c=Xc(c,e,f,q))&&d.noopener&&
(c.opener=null),c&&d.noreferrer&&(c.opener=null));return x()});Q(1," Log in again ");J()}},wnb=function(a){a&1&&(I(0,"b-callout",0)(1,"b-callout-body"),D(2,tnb,1,0)(3,unb,1,0),J(),I(4,"b-callout-actions"),D(5,vnb,2,0,"button",1),J()());a&2&&(a=P(),E("messageType","error"),B(2),G(a.isAnonymous?2:3),B(3),G(a.isAnonymous?-1:5))},xnb=function(a){a&1&&(I(0,"a",0),Q(1," Hiring! "),J())},ynb=function(a,b){a&1&&(I(0,"tr")(1,"td",4),Q(2),J(),I(3,"td"),Q(4,":"),J(),I(5,"td",5),Q(6),J()());a&2&&(a=b.$implicit,
B(2),Yg(a.displayAs),B(4),Yg(a.description))},znb=function(a,b){a&1&&(I(0,"thead")(1,"tr"),K(2,"th",2),I(3,"th",3),Q(4),J()(),yg(5,ynb,7,2,"tr",null,xg),J());a&2&&(a=b.$implicit,B(4),Yg(a.title),B(),zg(a.hotkeys))},Anb=function(a){a=a===void 0?!1:a;var b=Tqa(),c=b.total,d=b.redundancyRatio;So("after-60s","xhr","redundant",b.redundant);So("after-60s","xhr","total",c);So("after-60s","xhr","redundancyRatio",d);a&&(console.table(Sqa()),console.log(b))},Bnb=function(){IPa().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=Dl().appBaseHref+"proxy/";c("https://people-pa.clients6.google.com");c("https://people-pa.googleapis.com")})},Qt=function(a){a==="duplicateOfIssueId"&&(a="canonicalIssueId");var b=Number(a);isNaN(b)?a=new Pt({type:String(a).replace(/([A-Z])/g,"_$1").toUpperCase()}):b===0?a=null:(a={customFieldId:b},a=new Pt({type:"CUSTOM_FIELD",customFieldId:a.customFieldId,customFieldName:a.name}));
return a},Cnb=function(a){a=Rt(a);if(St(a))return null;var b=a.split(":");if(b.length!==2||St(b[1]))return null;a=b[1].toLowerCase()==="asc"?"ASCENDING":"DESCENDING";return(b=Qt(b[0]))&&a?new Tt(b,a):null},Fnb=function(a,b){var c=new Dnb;Enb(c,a,b);return c},Enb=function(a,b,c){var d=Na(b.snapshot),e=b.aggregatedData,f=b.userActivityStats;var h=b&&b.accessLimit?b.accessLimit.accessLevel:void 0;a.accessLevel=h;a.id=b.issueId;a.issueId=b.issueId;a.trackerId=b.trackerId;d.componentId&&(a.componentId=
d.componentId);c&&c.componentPathInfo&&c.componentPathInfo.componentPathName?a.componentPath=c.componentPathInfo:a.componentPath=[String(d.componentId)];d.type&&(a.type=d.type);if(d.status){a.status=d.status;var l;a.isClosed=!((l=Rl[d.status])==null?0:l.open)||b.isArchived}a.priority=d.priority.substr(1);a.severity=d.severity.substr(1);a.reporter=Pj(d.reporterUser);a.assignee=Pj(d.assigneeUser);a.assigneeEmail=Sj(d.assigneeUser);a.verifier=Pj(d.verifierUser);a.verifierEmail=Sj(d.verifierUser);a.cc=
Qj(d.ccUsers);a.collaborator=Qj(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=Pj((q=b.aggregatedData)==null?void 0:q.lastModifier);a.customFieldMap={};a.customFieldNameToIdMap={};a.customFieldValueMap={};if(c&&c.componentPathInfo&&c.componentPathInfo.allCustomField)for(c=k(c.componentPathInfo.allCustomField),h=c.next();!h.done;h=c.next())h=h.value,a.customFieldMap[String(h.customFieldId)]=
h,a.customFieldNameToIdMap[h.name.toLowerCase()]=h.customFieldId;if(d.customField)for(c=k(d.customField),h=c.next();!h.done;h=c.next())h=h.value,a.customFieldValueMap[String(h.customFieldId)]=h;a.retentionState=e?e.retentionState:void 0;a.sloId=e?""+e.sloId:"";a.sloStatus=e?e.sloStatus||null:null;a.sloStartTime=d.sloStartTime;a.sloEndTime=d.sloEndTime;a.isRead=!!a.lastViewedTime&&a.lastViewedTime>=a.majorModifiedTime;d.effort&&(a.effort=d.effort);a.issueAccessLevel=d.issueAccessLimitLevel;a.descendantCount=
b.descendantCount;a.openDescendantCount=b.openDescendantCount;a.oneDayViewCount=f?f.oneDayViewCount:0;a.sevenDayViewCount=f?f.sevenDayViewCount:0;a.thirtyDayViewCount=f?f.thirtyDayViewCount:0;a.escalationOwner=Pj(b.escalationOwner)},Ut=function(a,b){b=b===void 0?Dl():b;var c,d=(c=b.tracker)==null?void 0:c.name;b=b.config.appName;d=d||b;return a?a+" - "+d:d},Gnb=function(a){a&1&&K(0,"bug-screensaver")},Hnb=function(a){a&1&&(K(0,"img",3),I(1,"span",4),Q(2),J(),Q(3," Powered by Google "),I(4,"span",
1),Q(5,"|"),J());a&2&&(a=P(2),E("src",a.trackerLogo,vf),B(2),R("",a.trackerName," Issue Tracker"))},Inb=function(a){a&1&&(I(0,"div")(1,"span",1),Q(2,"|"),J(),I(3,"a",5),Q(4,"Code of Conduct"),J()());a&2&&(a=P(2),B(3),E("href",a.trackerCoc,vf))},Jnb=function(a){a&1&&(I(0,"footer"),D(1,Hnb,6,2),I(2,"a",0),Q(3,"Privacy"),J(),I(4,"span",1),Q(5,"|"),J(),I(6,"a",2),Q(7,"Terms"),J(),D(8,Inb,5,1,"div"),J());a&2&&(a=P(),B(),G(a.currentTracker?1:-1),B(7),G(a.trackerCoc?8:-1))},Knb=function(a,b){if(a&1){var c=
v();I(0,"b-fab-segmented",1);M("clickMain",function(e){w(c);var f=P(2);return x(f.trackClick(e))})("clickSegment",function(e){w(c);var f=P(2);return x(f.trackClick(e))});J()}if(a&2){a=P();var d=P();E("label",b)("icon",d.buttonIcon)("href",d.createIssuePath)("segments",a)}},Lnb=function(a){a&1&&(D(0,Knb,1,4,"b-fab-segmented",0),S(1,"async"));if(a&2){var b;a=P();G((b=U(1,1,a.buttonLabel$))?0:-1,b)}},Mnb=function(a){a&1&&Cg(0)},Nnb=function(a){a&1&&Cg(0)},Onb=function(a){a&1&&D(0,Nnb,1,0,"ng-container",
1);a&2&&(a=P(),E("ngTemplateOutlet",a.content))},Pnb=function(a){a&1&&(I(0,"ul",5)(1,"li")(2,"a",6),K(3,"mat-icon",7),Q(4," Triage "),J()()());a&2&&(a=P(2),B(),sg("selected",a.location.path().startsWith(Qq.triageSettings.makeHref())),B(),E("href",a.ROUTES.triageSettings.makeHref(),vf))},Qnb=function(a){if(a&1){var b=v();I(0,"button",13);M("click",function(){w(b);var c=P(4);return x(c.goToTriageSettingsPage())});Q(1," Configure triage ");J()}},Rnb=function(a){if(a&1){var b=v();Q(0," Triage ");I(1,
"span",9);Q(2,"New");J();I(3,"button",10);M("click",function(c){w(b);return x(c.stopPropagation())});K(4,"mat-icon",11);J();I(5,"mat-menu",null,2);D(7,Qnb,2,0,"ng-template",12);J()}a&2&&(a=L(6),B(3),E("matMenuTriggerFor",a))},Snb=function(a){a&1&&(I(0,"div",17)(1,"span",18),Q(2),S(3,"async"),J()());a&2&&(a=P().$implicit,B(2),Yg(U(3,1,a.displayName$)))},Tnb=function(a,b){a&1&&(I(0,"span",26),Q(1),J());a&2&&(B(),R(" ",b," "))},Unb=function(a,b){if(a&1){var c=v();I(0,"a",25);M("click",function(f){var h=
w(c),l=P(8);return x(l.onAnchorClick(h,f))});I(1,"span");Q(2);J();D(3,Tnb,2,1,"span",26);S(4,"async");J()}if(a&2){var d;a=P().$implicit;var e=P();E("href",b,vf);B(2);R(" ",e.phase(a).displayName," ");B();G((d=U(4,3,e.phase(a).attentionCount$))?3:-1,d)}},Vnb=function(a,b){a&1&&(I(0,"li",24),D(1,Unb,5,5,"a",22),J());if(a&2){var c;a=b.$implicit;b=P();var d=P(2).$implicit,e=P(4);sg("selected-indented",e.isTriageUrlFor(d.teamId,a,d.triageId));E("title",b.phase(a).displayName);B();G((c=e.ROUTES.viewTriage.makeHref(d.teamId,
d.triageId,e.phaseToUrlSlug[a]))?1:-1,c)}},Wnb=function(a){a&1&&(I(0,"ul",19),yg(1,Vnb,2,4,"li",20,xg),K(3,"mat-divider"),I(4,"li",21)(5,"a",22)(6,"span"),Q(7," Issue Themes "),K(8,"mat-icon",23),J()()()());if(a&2){a=P(2).$implicit;var b=P(4);B();zg(b.ALL_PHASES);B(3);sg("selected-indented",b.location.path().endsWith("issue-themes"));B();E("href",b.ROUTES.viewIssueThemes.makeHref(a.teamId,a.triageId),vf)}},Xnb=function(a){a&1&&D(0,Wnb,9,3,"ul",19);if(a&2){var b;a=P().$implicit;var c=P(4);G((b=c.triageService.triageDataFactory.get(a.teamId,
a.triageId))?0:-1,b)}},Znb=function(a,b){if(a&1){var c=v();I(0,"li",15);S(1,"async");I(2,"sidebar-zippy",16);S(3,"async");M("onExpand",function(){var h=w(c).$implicit;P(4).bLocation.setUrl(Qq.viewTriage.makeHref(h.teamId,h.triageId));return x()});D(4,Snb,4,3,"ng-template",null,3,ih)(6,Xnb,1,1,"ng-template",null,4,ih);J()()}if(a&2){var d;a=b.$implicit;b=L(5);var e=L(7),f=P(4);E("title",U(1,4,a.displayName$));B(2);E("header",b)("content",e)("expanded",(d=U(3,6,Ynb(f,a.teamId,a.triageId)))!==null&&d!==
void 0?d:!1)}},$nb=function(a){a&1&&(I(0,"ul",14),yg(1,Znb,8,8,"li",15,xg),J());a&2&&(a=P(2),B(),zg(a))},aob=function(a){a&1&&(K(0,"hr"),I(1,"sidebar-zippy",8),D(2,Rnb,8,1,"ng-template",null,0,ih)(4,$nb,3,0,"ng-template",null,1,ih),J());if(a&2){a=L(3);var b=L(5);B();E("header",a)("content",b)}},bob=function(a,b){a&1&&D(0,Pnb,5,3,"ul",5)(1,aob,6,2);a&2&&G(b.length===0?0:1)},cob=function(a){a&1&&Q(0," Archived ")},dob=function(a){if(a&1){var b=v();I(0,"button",15);M("click",function(c){w(b);return x(c.stopPropagation())});
K(1,"mat-icon",16);J()}a&2&&(P(),a=L(5),E("matMenuTriggerFor",a))},eob=function(a){if(a&1){var b=v();I(0,"button",17);M("click",function(){w(b);var c=P(3).$implicit;return x(c.unstar())});Q(1," Unstar ");J()}},fob=function(a){if(a&1){var b=v();I(0,"button",17);M("click",function(){w(b);var c=P(3).$implicit;return x(c.unarchive())});Q(1," Unarchive ");J()}},gob=function(a){if(a&1){var b=v();I(0,"button",17);M("click",function(){w(b);var c=P(2).$implicit,d=P(3);return x(d.handleBookmarkGroupOpen(c.id))});
Q(1," Open ");J();I(2,"button",17);M("click",function(){w(b);var c=P(2).$implicit,d=P(3);return x(d.handleBookmarkGroupDashboard(c.id))});Q(3," Dashboard ");J();I(4,"button",17);M("click",function(){w(b);var c=P(2).$implicit,d=P(3);return x(d.openEditBookmarkGroup(c.id))});Q(5," Settings ");J();D(6,eob,2,0,"button",18)(7,fob,2,0,"button",18)}a&2&&(a=P(2).$implicit,B(6),G(a.isUnstarable()?6:-1),B(),G(a.isEditable()?7:-1))},hob=function(a){a&1&&(I(0,"div",11)(1,"span",12),Q(2),J(),D(3,dob,2,1,"button",
13),I(4,"mat-menu",null,4),D(6,gob,8,2,"ng-template",14),J()());a&2&&(a=P().$implicit,lg("id","bv2-user-archived-bookmarkgroup-item-",a.id,""),B(2),Yg(a.name),B(),G(a?3:-1))},iob=function(a,b){if(a&1){var c=v();I(0,"li",21)(1,"a",22);M("click",function(d){var e=w(c).$implicit,f=P(5);return x(f.onAnchorClick(e.href,d))});I(2,"span",12);Q(3);J()()()}a&2&&(a=b.$implicit,b=P(2).$implicit,sg("selected-indented",a.isSelected())("bv2-bookmark-group-hotlist-item",a.type=="HOTLIST")("bv2-bookmark-group-saved-search-item",
a.type=="SAVED_SEARCH"),Uka("id","bv2-user-hotlists-bg-",b.id,"-",a.type,"-",a.id,""),E("title",a.name),B(),E("href",a.href,vf),B(2),R(" ",a.name," "))},job=function(a){a&1&&(I(0,"ul",19),yg(1,iob,4,13,"li",20,xg),J());a&2&&(a=P().$implicit,B(),zg(a.items))},kob=function(a,b){a&1&&(I(0,"li",8)(1,"sidebar-zippy",10),D(2,hob,7,4,"ng-template",null,2,ih)(4,job,3,0,"ng-template",null,3,ih),J()());if(a&2){a=b.$implicit;b=L(3);var c=L(5);E("title",a.name);B();E("header",b)("content",c)}},lob=function(a){a&
1&&(I(0,"button",25),K(1,"mat-icon",16),J());a&2&&(P(),a=L(6),E("matMenuTriggerFor",a))},mob=function(a){if(a&1){var b=v();I(0,"button",17);M("click",function(){w(b);var c=P(2).$implicit;return x(c.unstar())});Q(1," Unstar ");J()}},nob=function(a){if(a&1){var b=v();I(0,"button",17);M("click",function(){w(b);var c=P(2).$implicit;return x(c.unarchive())});Q(1," Unarchive ");J()}},oob=function(a){if(a&1){var b=v();I(0,"button",17);M("click",function(){w(b);var c=P().$implicit,d=P(3);return x(d.openEditHotlist(c.id))});
Q(1," Settings ");J();D(2,mob,2,0,"button",18)(3,nob,2,0,"button",18)}a&2&&(a=P().$implicit,B(2),G(a.isUnstarable()?2:-1),B(),G(a.isEditable()?3:-1))},pob=function(a,b){if(a&1){var c=v();I(0,"li",23)(1,"a",24);M("click",function(d){var e=w(c).$implicit,f=P(3);return x(f.onAnchorClick(e.href,d))});I(2,"span",12);Q(3);J()();D(4,lob,2,1,"button",25);I(5,"mat-menu",null,5);D(7,oob,4,2,"ng-template",14);J()()}a&2&&(a=b.$implicit,sg("selected",a.isSelected()),Kg("id","bv2-user-hotlists-archived-hotlist-item-",
a.id,""),E("title",a.name),B(),E("href",a.href,vf),B(2),Yg(a.name),B(),G(a?4:-1))},qob=function(a){a&1&&(I(0,"ul",7),yg(1,kob,6,3,"li",8,xg),yg(3,pob,8,8,"li",9,xg),J());a&2&&(a=P(2),B(),zg(a.bookmarkGroups),B(2),zg(a.hotlists))},rob=function(a){a&1&&(I(0,"div"),K(1,"hr"),I(2,"sidebar-zippy",6),D(3,cob,1,0,"ng-template",null,0,ih)(5,qob,5,0,"ng-template",null,1,ih),J()());if(a&2){a=L(4);var b=L(6);B(2);E("header",a)("content",b)}},sob=function(a){a&1&&K(0,"b-spinner")},tob=function(a){if(a&1){var b=
v();I(0,"b-star-toggle",13);M("starClicked",function(){w(b);var c=P().$implicit,d=P();return x(d.toggleStar(c))});J()}a&2&&(a=P().$implicit,E("starMessage","Star this item")("unStarMessage","Un-star this item")("starred",a.isStarred))},uob=function(a){a&1&&K(0,"b-hotlist-card",10);a&2&&(a=P().$implicit,E("hotlist",a))},vob=function(a){a&1&&K(0,"b-bookmark-group-card",11);a&2&&(a=P().$implicit,E("bookmarkGroup",a))},wob=function(a,b){a&1&&(I(0,"mat-option",6)(1,"div",8),D(2,tob,1,3,"b-star-toggle",
9),I(3,"onedev-hovercard",null,2),D(5,uob,1,1,"b-hotlist-card",10)(6,vob,1,1,"b-bookmark-group-card",11),J(),I(7,"span",12),Q(8),J()()());if(a&2){a=b.$implicit;b=L(4);var c=P();E("value",a);B();sg("bv2-bookmark-group",c.showHotlists&&a.isGroup);B();G(c.shouldShowStar(a)?2:-1);B(3);G(a.isGroup?6:5);B(2);E("onedevHovercardTrigger",b);B();Yg(a.name)}},xob=function(a){if(a&1){var b=v();I(0,"xap-dialog-layout")(1,"xap-dialog-layout-content")(2,"b-hotlist-search",3);M("itemSelect",function(c){w(b);var d=
P();d.itemSelect.emit(c);d.dialog.disabled=!0;d.dialog.disabled=!1;return x()});J()()()}a&2&&(a=P(),B(2),E("showGroups",a.showGroups)("showHotlists",a.showHotlists)("allowStarring",a.allowStarring)("focusOnInit",!0))},yob=function(a){if(a&1){var b=v();I(0,"span");Q(1,"Bookmark groups");J();I(2,"b-hotlist-search-popup",8);M("itemSelect",function(c){w(b);var d=P();c.isGroup&&d.handleBookmarkGroupOpen(c.bookmarkGroupId);return x()})("click",function(c){w(b);return x(c.stopPropagation())});J()}a&2&&(B(2),
E("showHotlists",!1))},zob=function(a){if(a&1){var b=v();I(0,"button",16);M("click",function(c){w(b);return x(c.stopPropagation())});K(1,"mat-icon",17);J()}a&2&&(P(),a=L(5),E("matMenuTriggerFor",a))},Aob=function(a){if(a&1){var b=v();I(0,"button",18);M("click",function(){w(b);var c=P(3).$implicit;return x(c.unstar())});Q(1," Unstar ");J()}},Bob=function(a){if(a&1){var b=v();I(0,"button",18);M("click",function(){w(b);var c=P(3).$implicit;return x(c.archive())});Q(1," Archive ");J()}},Cob=function(a){if(a&
1){var b=v();I(0,"button",18);M("click",function(){w(b);var c=P(3).$implicit;return x(c.setAsPreferredHomepage())});Q(1," Set as homepage ");J()}},Dob=function(a){if(a&1){var b=v();I(0,"button",18);M("click",function(){w(b);var c=P(2).$implicit,d=P(3);return x(d.handleBookmarkGroupOpen(c.id))});Q(1," Open ");J();I(2,"button",18);M("click",function(){w(b);var c=P(2).$implicit,d=P(3);return x(d.handleBookmarkGroupDashboard(c.id))});Q(3," Dashboard ");J();I(4,"button",18);M("click",function(){w(b);var c=
P(2).$implicit,d=P(3);return x(d.editBookmarkGroup(c.id))});Q(5," Settings ");J();D(6,Aob,2,0,"button",19)(7,Bob,2,0,"button",19)(8,Cob,2,0,"button",19)}a&2&&(a=P(2).$implicit,B(6),G(a.isUnstarable()?6:-1),B(),G(a.isEditable()?7:-1),B(),G(a.isPreferredHomepage()?-1:8))},Eob=function(a){a&1&&(I(0,"div",12)(1,"span",13),Q(2),J(),D(3,zob,2,1,"button",14),I(4,"mat-menu",null,4),D(6,Dob,9,3,"ng-template",15),J()());a&2&&(a=P().$implicit,lg("id","bv2-user-bookmarkgroup-item-",a.id,""),B(2),Yg(a.name),B(),
G(a?3:-1))},Fob=function(a){a&1&&(I(0,"button",24),K(1,"mat-icon",17),J());a&2&&(P(),a=L(6),E("matMenuTriggerFor",a))},Gob=function(a){if(a&1){var b=v();I(0,"button",18);M("click",function(){w(b);var c=P(2).$implicit;return x(c.unstar())});Q(1," Unstar ");J()}},Hob=function(a){if(a&1){var b=v();I(0,"button",18);M("click",function(){w(b);var c=P(2).$implicit;return x(c.setAsPreferredHomepage())});Q(1," Set as homepage ");J()}},Iob=function(a){if(a&1){var b=v();I(0,"button",18);M("click",function(){w(b);
var c=P().$implicit,d=P(5);c.type==="HOTLIST"?d.location.setUrl(Qq.editHotlist.makeHref(c.id)):d.location.setUrl(d.paths.editSavedSearch(c.id));return x()});Q(1," Settings ");J();D(2,Gob,2,0,"button",19)(3,Hob,2,0,"button",19)}a&2&&(a=P().$implicit,B(2),G(a.isUnstarable()?2:-1),B(),G(a.isPreferredHomepage()?-1:3))},Job=function(a,b){if(a&1){var c=v();I(0,"li",22)(1,"a",23);M("click",function(d){var e=w(c).$implicit,f=P(5);return x(f.onAnchorClick(e.href,d))});I(2,"span",13);Q(3);J()();D(4,Fob,2,1,
"button",24);I(5,"mat-menu",null,5);D(7,Iob,4,2,"ng-template",15);J()()}a&2&&(a=b.$implicit,b=P(2).$implicit,sg("selected-indented",a.isSelected())("bv2-bookmark-group-hotlist-item",a.type=="HOTLIST")("bv2-bookmark-group-saved-search-item",a.type=="SAVED_SEARCH"),Uka("id","bv2-user-hotlists-bg-",b.id,"-",a.type,"-",a.id,""),E("title",a.getDisplayName()),B(),E("href",a.href,vf),B(2),R(" ",a.getDisplayName()," "),B(),G(b?4:-1))},Kob=function(a){a&1&&(I(0,"ul",20),yg(1,Job,8,14,"li",21,xg),J());a&2&&
(a=P().$implicit,B(),zg(a.items))},Lob=function(a,b){a&1&&(I(0,"li",10)(1,"sidebar-zippy",11),D(2,Eob,7,4,"ng-template",null,2,ih)(4,Kob,3,0,"ng-template",null,3,ih),J()());if(a&2){a=b.$implicit;b=L(3);var c=L(5);E("title",a.name);B();E("header",b)("content",c)("expanded",!1)}},Mob=function(a){a&1&&(I(0,"ul",9),yg(1,Lob,6,4,"li",10,xg),J());a&2&&(a=P(2),B(),zg(a.bookmarkGroups))},Nob=function(a){a&1&&D(0,Mob,3,0,"ul",9);a&2&&(a=P(),G(a.bookmarkGroups?0:-1))},Oob=function(a){if(a&1){var b=v();I(0,
"span");Q(1,"Hotlists");J();I(2,"b-hotlist-search-popup",5);M("itemSelect",function(c){w(b);var d=P();d.analytics.trackEvent("hotlistSearch","goToHotlist");d.location.setUrl(c.href);return x()})("click",function(c){w(b);return x(c.stopPropagation())});J()}a&2&&(B(2),E("showGroups",!1))},Pob=function(a){a&1&&(I(0,"button",11),K(1,"mat-icon",13),J());a&2&&(P(),a=L(6),E("matMenuTriggerFor",a))},Qob=function(a){if(a&1){var b=v();I(0,"button",15);M("click",function(){w(b);var c=P(2).$implicit,d=P(3);return x(d.addToMissionControl(c.id))});
K(1,"mat-icon",17);Q(2," Add to 'Home' screen ");J()}},Rob=function(a){if(a&1){var b=v();I(0,"button",15);M("click",function(){w(b);var c=P(2).$implicit;return x(c.setAsPreferredHomepage())});K(1,"mat-icon",18);Q(2," Set as preferred homepage ");J()}},Sob=function(a){if(a&1){var b=v();I(0,"button",15);M("click",function(){w(b);var c=P(2).$implicit;return x(c.unstar())});K(1,"mat-icon",19);Q(2," Unstar ");J()}},Tob=function(a){if(a&1){var b=v();D(0,Qob,3,0,"button",14)(1,Rob,3,0,"button",14);I(2,"button",
15);M("click",function(){w(b);var d=P().$implicit,e=P(3);return x(e.openEditHotlist(d.id))});K(3,"mat-icon",16);Q(4," Settings ");J();D(5,Sob,3,0,"button",14)}if(a&2){a=P().$implicit;var c=P(3);G(c.ENABLE_MISSION_CONTROL?0:-1);B();G(a.isPreferredHomepage()?-1:1);B(4);G(a.isUnstarable()?5:-1)}},Uob=function(a,b){if(a&1){var c=v();I(0,"li",8)(1,"a",9);M("click",function(d){var e=w(c).$implicit,f=P(3);return x(f.onAnchorClick(e.href,d))});I(2,"span",10);Q(3);J()();D(4,Pob,2,1,"button",11);I(5,"mat-menu",
null,2);D(7,Tob,6,3,"ng-template",12);J()()}a&2&&(a=b.$implicit,sg("selected",a.isSelected()),Kg("id","bv2-user-hotlists-hotlist-item-",a.id,""),E("title",a.name),B(),E("href",a.href,vf),B(2),Yg(a.name),B(),G(a?4:-1))},Vob=function(a){a&1&&(I(0,"ul",6),yg(1,Uob,8,8,"li",7,xg),J());a&2&&(a=P(2),B(),zg(a.hotlists))},Wob=function(a){a&1&&D(0,Vob,3,0,"ul",6);a&2&&(a=P(),G(a.hotlists?0:-1))},Xob=function(a){a&1&&(I(0,"span"),Q(1,"Saved searches"),J())},Yob=function(a){if(a&1){var b=v();I(0,"button",14);
M("click",function(){w(b);var c=P(2).$implicit,d=P(3);return x(d.addToMissionControl(c.id))});K(1,"mat-icon",17);Q(2," Add to 'Home' screen ");J()}},Zob=function(a){if(a&1){var b=v();I(0,"button",14);M("click",function(){w(b);var c=P(2).$implicit;return x(c.setAsPreferredHomepage())});K(1,"mat-icon",18);Q(2," Set as preferred homepage ");J()}},apb=function(a){if(a&1){var b=v();D(0,Yob,3,0,"button",13)(1,Zob,3,0,"button",13);I(2,"button",14);M("click",function(){w(b);var d=P().$implicit,e=P(3);return x(e.openEditSavedSearch(d.id))});
K(3,"mat-icon",15);Q(4," Settings ");J();I(5,"button",14);M("click",function(){w(b);var d=P().$implicit,e=P(3);return x($ob(e,d))});K(6,"mat-icon",16);Q(7," Delete ");J()}if(a&2){a=P().$implicit;var c=P(3);G(c.ENABLE_MISSION_CONTROL?0:-1);B();G(a.isPreferredHomepage()?-1:1)}},bpb=function(a,b){if(a&1){var c=v();I(0,"li",7)(1,"a",8);M("click",function(d){var e=w(c).$implicit,f=P(3);return x(f.onAnchorClick(e.href,d))});I(2,"span",9);Q(3);J()();I(4,"button",10);K(5,"mat-icon",11);J();I(6,"mat-menu",
null,2);D(8,apb,8,2,"ng-template",12);J()()}a&2&&(a=b.$implicit,b=L(7),sg("selected",a.isSelected()),lg("id","bv2-saved-searches-search-item-",a.id,""),E("title",a.name),B(),E("href",a.href,vf),B(2),Yg(a.name),B(),E("matMenuTriggerFor",b))},cpb=function(a){a&1&&(I(0,"ul",5),yg(1,bpb,9,8,"li",6,xg),J());a&2&&(a=P(2),B(),zg(a.searches))},dpb=function(a){a&1&&D(0,cpb,3,0,"ul",5);a&2&&(a=P(),G(a.searches?0:-1))},epb=function(a,b){a&1&&K(0,"mat-icon",23);a&2&&E("matBadge",b>99?"99+":b)("matBadgeHidden",
b===0)("matBadgeDescription","Badge indicating "+b+" tasks need attention")},fpb=function(a){a&1&&K(0,"mat-icon",24)},gpb=function(a){a&1&&(I(0,"button",25),K(1,"mat-icon",26),J());a&2&&(P(),a=L(10),E("matMenuTriggerFor",a))},ipb=function(a){if(a&1){var b=v();I(0,"button",27);M("click",function(){w(b);var c=P(2);hpb(c,"MISSION_CONTROL");return x()});Q(1," Set as homepage ");J()}},jpb=function(a){if(a&1){var b=v();I(0,"li",22)(1,"a",8);M("click",function(d){w(b);var e=P();e.onAnchorClick(e.missionControlPath,
d);return x()});D(2,epb,1,3,"mat-icon",23);S(3,"async");S(4,"async");D(5,fpb,1,0,"mat-icon",24);Q(6," Home ");J();D(7,gpb,2,1,"button",25);S(8,"async");I(9,"mat-menu",null,1);D(11,ipb,2,0,"ng-template",11);J()()}if(a&2){var c;a=P();sg("selected",!!a.location.path().match(/^\/home\b/));B();E("href",a.missionControlPath,vf);B();G((c=!U(3,5,a.hideBadgeInNav$)&&U(4,7,a.missionControlTaskCount$))?2:5,c);B(5);G(U(8,9,a.isHomepageMissionControl$)?-1:7)}},kpb=function(a){a&1&&(I(0,"button",10),K(1,"mat-icon",
26),J());a&2&&(P(),a=L(13),E("matMenuTriggerFor",a))},lpb=function(a){if(a&1){var b=v();I(0,"button",27);M("click",function(){w(b);var c=P();hpb(c,"ASSIGNED_TO_ME");return x()});Q(1," Set as homepage ");J()}},mpb=function(a){a&1&&K(0,"nav-sidebar-triage")},npb=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},opb=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)},qpb=function(a,b,c){b=b===void 0?"#ccc":b;c=c===void 0?400:c;ppb++;var d=156;d+=(ppb-1)*12;return function(e){e=e===void 0?b:e;var f,h=(f=document.getElementById(a))!=null?f:npb(a,d);opb(h,e,c)}},Cpb=function(a,b,c){c=c===void 0?[]:c;var d=d===void 0?{}:d;if(b==null)return"(undefined)";
var e=b.snapshot[0],f,h=(f=c[0])!=null?f:b.description;c=c.slice(1);c.sort(function(l,q){return q.modifiedDate-l.modifiedDate});return["## "+e.title,"ID: http://b/"+b.issueId,"Priority: "+e.priority,"Status: "+e.status,"Modified: "+zp(b.majorModifiedTimeMicros/1E3/1E3),rpb(b),spb(b),tpb(b,d),upb(b),vpb(b),wpb(b),xpb(b),ypb(b),zpb(a,h),Apb(b),Bpb(a,c)].filter(Boolean).join("\n").trim()+"\n\n---\n\n"},tpb=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(", ")},Bpb=function(a,b){if(b.length!==0){var c=b.map(function(d){a:{if(d!=null){var e=Dpb(a,d);e=Epb(e);if(e!=null){var f,h=(f=d.lastCommentEditorUser)==null?void 0:f.emailAddress;d=zp(d.modifiedDate/1E3);d=h+": "+e+" ("+d+")";break a}}d=void 0}return d}).filter(Boolean).join("\n\n");return"\n### Comments ("+b.length+")\n"+c}},Epb=function(a,b){b=b===void 0?300:b;if(a!=null)return a=a.replaceAll(/\n/g," "),a=$Ia(a,b)},Dpb=function(a,b){var c=b.unlinkifiedComment;
b=b.formattedComment;if(c)return c;if(b&&a)return Mwa(b)},zpb=function(a,b){if(b!=null&&(a=Dpb(a,b),a=Epb(a,600),a!=null))return"\n### Description\n"+a},wpb=function(a){a=a.descendantCount;if(!(a<=0))return"Descendant count: "+a},upb=function(a){var b;a=((b=k(a.snapshot).next().value.blockingIssueId)!=null?b:[]).length;if(!(a<=0))return"Blocking "+a+" issue(s)"},vpb=function(a){var b;a=((b=k(a.snapshot).next().value.blockedByIssueId)!=null?b:[]).length;if(!(a<=0))return"Blocked by "+a+" issue(s)"},
rpb=function(a){var b;return(a=((b=k(a.snapshot).next().value.assigneeUser)!=null?b:{}).emailAddress)?"Assignee: "+a:void 0},spb=function(a){var b;return(a=((b=k(a.snapshot).next().value.reporterUser)!=null?b:{}).emailAddress)?"Reporter: "+a:void 0},xpb=function(a){var b,c;a=(c=(b=a.aggregatedData)==null?void 0:b.voteCount)!=null?c:0;if(!(a<=0))return"Upvotes: "+a},Apb=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=zp((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+")"}},ypb=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},Fpb=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():"")},Gpb=function(a){a&1&&(I(0,"div",1),K(1,"router-outlet"),J())},Ipb=function(a){if(a&
1){var b=v();I(0,"a",9);M("keydown.enter",function(){w(b);var c=P(3);return x(Hpb(c))})("keydown.space",function(){w(b);var c=P(3);return x(Hpb(c))})("click",function(){w(b);var c=P(3);return x(Hpb(c))});Q(1," Dismiss");J()}},Jpb=function(a){a&1&&(I(0,"div",2)(1,"div",6),K(2,"span",7),D(3,Ipb,2,0,"a",8),J()());a&2&&(a=P(2),B(2),E("innerHtml",a.announcement.message,uf),B(),G(a.announcement.dismissible?3:-1))},Lpb=function(a){if(a&1){var b=v();I(0,"b-resizable-sidebar",10,0);M("widthChanged",function(c){w(b);
var d=P(2);return x(Kpb(d,c))});K(2,"b-sidebar");J()}a&2&&(a=P(2),E("size",a.sidebarWidth))},Mpb=function(a){a&1&&(K(0,"b-hiring-banner")(1,"b-terms-of-service"),D(2,Jpb,4,2,"div",2),K(3,"b-sso-expired-callout-outlet"),I(4,"div",3),D(5,Lpb,3,1,"b-resizable-sidebar",4),I(6,"div",5),K(7,"router-outlet"),J()(),K(8,"b-footer")(9,"bug-screensaver-manager"));if(a&2){a=P();B(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||!Vt(a.activeSession,"canSeeAnnouncementBanner")?!1:c.dismissible?a.dismissedMessageId==null?!1:c.messageId!==a.dismissedMessageId:!0}else b=!1;G(b?2:-1);B(3);G(a.isAnonymous?-1:5)}},Npb=function(a){switch(a){case "COMFORTABLE":return"d-comfort";case "COZY":return"d-cozy";case "COMPACT":return"d-compact";default:return"d-comfort"}},Opb=function(a){a&1&&K(0,"b-formatted-date-time",2);a&2&&(a=P(),E("date",a.value))},Ppb=function(a){a&1&&(Ag(0),Q(1,"---"),Bg())},Qpb=function(a,b){if(a&1){var c=v();
I(0,"div",4)(1,"mat-checkbox",8);M("change",function(){var d=w(c).$implicit,e=P();return x(e.changeSelection(d))})("click",function(d){w(c);return x(d.stopPropagation())});Q(2);J()()}a&2&&(a=b.$implicit,b=P(),E("title",b.getDisplayString(a)),B(),E("checked",!!b.valueMap.get(a))("indeterminate",b.valueMap.get(a)===null),B(),R(" ",b.getDisplayString(a)," "))},Spb=function(a){if(a&1){var b=v();I(0,"input",9,1);M("keydown",function(c){w(b);var d=P();c.key==="Enter"&&(Rpb(d)&&d.addValue(),c.preventDefault());
return x()})("click",function(c){w(b);return x(c.stopPropagation())});bh("ngModelChange",function(c){w(b);var d=P();ah(d.filterValue,c)||(d.filterValue=c);return x(c)});J()}a&2&&(a=P(),E("type",a.type==="REPEATED_NUMERIC"?"number":"text"),$g("ngModel",a.filterValue),E("placeholder",a.type==="REPEATED_ENUM"?"Filter values":"Add or filter values"))},Tpb=function(a){a&1&&K(0,"mat-divider")},Upb=function(a){if(a&1){var b=v();I(0,"div",10);M("click",function(c){w(b);var d=P();c.stopPropagation();return x(d.addValue())});
Q(1," Add ");J()}},Vpb=function(a){if(a&1){var b=v();I(0,"div")(1,"b-date-time-input",11);bh("valueChange",function(c){w(b);var d=P();ah(d.currentSelectedDate,c)||(d.currentSelectedDate=c);return x(c)});J();I(2,"div",12);M("click",function(c){w(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 ");J()()}a&2&&(a=P(),B(),$g("value",a.currentSelectedDate))},
Wpb=function(a){if(a&1){var b=v();I(0,"div",6);Ud();I(1,"svg",7);K(2,"path",8);J();Vd();I(3,"input",9,0);M("input",function(){w(b);var c=L(4),d=P();return x(d.filterText$.next(c.value))});J()()}},Xpb=function(a){a&1&&Cg(0)},Zpb=function(a){if(a&1){var b=v();I(0,"div",12);M("click",function(){w(b);var d=P(2);return x(d.select(d.emptyOptionValue))});D(1,Xpb,1,0,"ng-container",13);J()}if(a&2){P();a=L(4);var c=P();E("option",c.emptyOptionValue);jg("aria-selected",c.isSelected(c.emptyOptionValue));B();
E("ngTemplateOutlet",a)("ngTemplateOutletContext",eh(4,Ypb,c.emptyOptionValue))}},$pb=function(a){a&1&&Cg(0)},aqb=function(a){if(a&1){var b=v();I(0,"div",12);M("click",function(){w(b);var e=P().$implicit,f=P(2);return x(f.select(e))});D(1,$pb,1,0,"ng-container",13);J()}if(a&2){a=P().$implicit;P();var c=L(4),d=P();E("option",a);jg("aria-selected",d.isSelected(a));B();E("ngTemplateOutlet",c)("ngTemplateOutletContext",eh(4,Ypb,a))}},bqb=function(a,b){a&1&&(Ag(0),D(1,aqb,2,6,"div",10),Bg());a&2&&(a=b.$implicit,
B(),E("ngIf",a))},cqb=function(a){a&1&&(Ag(0),Q(1),Bg());a&2&&(a=P(2).$implicit,B(),R(" ",a," "))},dqb=function(a){a&1&&(I(0,"span",15),Q(1,"--"),J())},eqb=function(a){a&1&&(Ag(0),D(1,cqb,2,1,"ng-container",14)(2,dqb,2,0,"ng-template",null,3,ih),Bg());if(a&2){a=L(3);var b=P().$implicit;B();E("ngIf",b!=null)("ngIfElse",a)}},fqb=function(a){a&1&&Cg(0)},gqb=function(a){a&1&&D(0,fqb,1,0,"ng-container",13);if(a&2){a=P().$implicit;var b=P(2);E("ngTemplateOutlet",b.optionTemplate)("ngTemplateOutletContext",
eh(2,Ypb,a))}},hqb=function(a){a&1&&D(0,eqb,4,2,"ng-container",14)(1,gqb,1,4,"ng-template",null,2,ih);if(a&2){a=L(2);var b=P(2);E("ngIf",!b.optionTemplate)("ngIfElse",a)}},iqb=function(a,b){a&1&&(Ag(0),D(1,Zpb,2,6,"div",10)(2,bqb,2,1,"ng-container",11)(3,hqb,3,2,"ng-template",null,1,ih),Bg());a&2&&(a=b.ngIf,b=P(),B(),E("ngIf",b.includeEmptyOption),B(),E("ngForOf",a))},jqb=function(a){a&1&&Cg(0)},lqb=function(a){a&1&&(Ag(0),D(1,jqb,1,0,"ng-container",11),Bg());a&2&&(a=P(),B(),E("ngTemplateOutlet",
a.valueTemplate)("ngTemplateOutletContext",eh(2,kqb,a.value)))},mqb=function(a){a&1&&Cg(0)},nqb=function(a){a&1&&(Ag(0),D(1,mqb,1,0,"ng-container",11),Bg());a&2&&(a=P(2),B(),E("ngTemplateOutlet",a.optionTemplate)("ngTemplateOutletContext",eh(2,kqb,a.value)))},oqb=function(a){a&1&&D(0,nqb,2,4,"ng-container",7);if(a&2){a=P();var b=L(8);E("ngIf",a.optionTemplate)("ngIfElse",b)}},pqb=function(a){a&1&&(Ag(0),Q(1),Bg());a&2&&(a=P(2),B(),R(" ",a.value," "))},qqb=function(a){a&1&&(I(0,"span",12),Q(1,"--"),
J())},rqb=function(a){a&1&&D(0,pqb,2,1,"ng-container",7)(1,qqb,2,0,"ng-template",null,4,ih);if(a&2){a=L(2);var b=P();E("ngIf",b.value!=null)("ngIfElse",a)}},sqb=function(a){a&1&&(Ud(),I(0,"svg",13),K(1,"path",14),J())},tqb=function(a){a&1&&(I(0,"div"),Q(1," The selected issues have no custom fields in common. "),J())},uqb=function(a){a&1&&(I(0,"span"),Q(1,"*"),J())},wqb=function(a){if(a&1){var b=v();I(0,"input",10);bh("ngModelChange",function(c){w(b);var d=P(2).$implicit;ah(d.textValue,c)||(d.textValue=
c);return x(c)});J()}a&2&&(a=P(2).$implicit,P(),$g("ngModel",a.textValue),jg("aria-labelledby",vqb(a)))},xqb=function(a){if(a&1){var b=v();I(0,"input",11);bh("ngModelChange",function(c){w(b);var d=P(2).$implicit;ah(d.numericValue,c)||(d.numericValue=c);return x(c)});J()}a&2&&(a=P(2).$implicit,P(),$g("ngModel",a.numericValue),jg("aria-labelledby",vqb(a)))},zqb=function(a){if(a&1){var b=v();I(0,"div")(1,"b-date-time-input",12);M("valueChange",function(e){w(b);var f=P(2).$implicit;P();return x(f.dateValue=
e?Eo(e):void 0)});J()()}if(a&2){var c;a=P(2).$implicit;var d=P();B();E("value",(c=yqb(a.dateValue))!==null&&c!==void 0?c:void 0)("required",d.isCustomFieldRequired(a))("customAriaLabelledBy",vqb(a))("customFormId","bv2-custom-field-"+a.customFieldId)}},Bqb=function(a){if(a&1){var b=v();I(0,"onedev-single-select",13);bh("valueChange",function(d){w(b);var e=P(2).$implicit;ah(e.enumValue,d)||(e.enumValue=d);return x(d)});J()}if(a&2){var c;a=P(2).$implicit;P();$g("value",a.enumValue);E("options",(c=a.allowedValue)!==
null&&c!==void 0?c:dh(3,Aqb));jg("aria-labelledby",vqb(a))}},Dqb=function(a){if(a&1){var b=v();I(0,"b-bulk-repeated-field-picker",14);M("onSave",function(e){w(b);var f=P(2).$implicit,h=P();return x(Cqb(h,f.customFieldId,e))});J()}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:dh(3,Aqb))}},Eqb=function(a){a&1&&D(0,wqb,1,2,"input",6)(1,xqb,1,2,"input",
7)(2,zqb,2,4,"div")(3,Bqb,1,4,"onedev-single-select",8)(4,Dqb,1,4,"b-bulk-repeated-field-picker",9);if(a&2){var b;a=P().$implicit;var c=P();G((b=c.getCustomFieldType(a))==="TEXT"?0:b==="NUMERIC"?1:b==="DATE"?2:b==="ENUM"?3:4)}},Fqb=function(a){if(a&1){var b=v();I(0,"span");Q(1," Multiple values ");J();I(2,"a",15);M("click",function(){w(b);var c=P().$implicit,d=P();return x(d.clearCustomFieldValue(c))});Q(3,"X");J()}},Gqb=function(a,b){a&1&&(I(0,"div",1)(1,"div",4)(2,"label",5),Q(3),D(4,uqb,2,0,"span"),
J()(),D(5,Eqb,5,1)(6,Fqb,4,0),J());a&2&&(a=b.$implicit,P(),B(2),E("matTooltip",(a.description||"")+" [ID: "+a.customFieldId+"]"),jg("id",vqb(a)),B(),R(" ",a.name," "),B(),G(a.required?4:-1),B(),G(a.hasMultipleValues?6:5))},Hqb=function(a){return new Set(a.map(function(b){return sj(b)}))},Wt=function(a,b,c){return a.has(b)?c:""},Iqb=function(a,b,c){return a.has(b)?c:[]},Xt=function(a,b,c){return{fieldName:a,diffType:"SINGLE_VALUE",diff:{oldValue:b,newValue:c}}},Lqb=function(a){if(!a)return"";var b=
Jqb.get(a.retentionSelection),c=a.retentionPeriodDays,d="Issue Retention: "+b;b=d;c&&(b=d+(", Days: "+c));d=Kqb.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},Nqb=function(a){if(!a)return"";var b=a.inherit,c=Mqb.get(a.source),d=a.comment;a="Inherit: "+b+", Source: "+c+", ID: "+a.id;return d?a+(", Justification: "+d):a},Oqb=function(a){return a?"Inherit: "+
a.inherit+", ID: "+a.id:""},Pqb=function(a,b){a&1&&(I(0,"mat-option",17),Q(1),J());a&2&&(a=b.$implicit,E("value",a),B(),R(" ",a," "))},Qqb=function(a){if(a&1){var b=v();I(0,"mat-form-field",14)(1,"mat-select",16,0);M("selectionChange",function(c){w(b);var d=P(2);return x(d._changePageSize(c.value))});yg(3,Pqb,2,2,"mat-option",17,xg);J();I(5,"div",18);M("click",function(){w(b);var c=L(2);return x(c.open())});J()()}a&2&&(a=P(2),E("appearance",a._formFieldAppearance)("color",a.color),B(),E("value",a.pageSize)("disabled",
a.disabled)("aria-labelledby",a._pageSizeLabelId)("panelClass",a.selectConfig.panelClass||"")("disableOptionCentering",a.selectConfig.disableOptionCentering),B(2),zg(a._displayedPageSizeOptions))},Rqb=function(a){a&1&&(I(0,"div",15),Q(1),J());a&2&&(a=P(2),B(),Yg(a.pageSize))},Sqb=function(a){a&1&&(I(0,"div",3)(1,"div",13),Q(2),J(),D(3,Qqb,6,7,"mat-form-field",14)(4,Rqb,2,1,"div",15),J());a&2&&(a=P(),B(),jg("id",a._pageSizeLabelId),B(),R(" ",a._intl.itemsPerPageLabel," "),B(),G(a._displayedPageSizeOptions.length>
1?3:-1),B(),G(a._displayedPageSizeOptions.length<=1?4:-1))},Tqb=function(a){if(a&1){var b=v();I(0,"button",19);M("click",function(){w(b);var c=P();return x(c._buttonClicked(0,c._previousButtonsDisabled()))});Ud();I(1,"svg",8);K(2,"path",20);J()()}a&2&&(a=P(),E("matTooltip",a._intl.firstPageLabel)("matTooltipDisabled",a._previousButtonsDisabled())("disabled",a._previousButtonsDisabled()),jg("aria-label",a._intl.firstPageLabel))},Uqb=function(a){if(a&1){var b=v();I(0,"button",21);M("click",function(){w(b);
var c=P();return x(c._buttonClicked((c.pageSize?Math.ceil(c.length/c.pageSize):0)-1,c._nextButtonsDisabled()))});Ud();I(1,"svg",8);K(2,"path",22);J()()}a&2&&(a=P(),E("matTooltip",a._intl.lastPageLabel)("matTooltipDisabled",a._nextButtonsDisabled())("disabled",a._nextButtonsDisabled()),jg("aria-label",a._intl.lastPageLabel))},Vqb=function(a){if(a&1){var b=v();I(0,"mat-paginator",3);M("page",function(c){w(b);var d=P(),e=c.pageIndex*c.pageSize;d.childrenOnPage=d.children.slice(e,e+c.pageSize);return x()});
J()}a&2&&(a=P(),E("length",a.children.length)("pageSize",a.pageSize)("pageSizeOptions",a.pageSizeOptions))},Wqb=function(a,b){if(a&1){var c=v();I(0,"li")(1,"a",4);M("click",function(){var e=w(c).$implicit,f=P();return x(f.onVisit.emit(e))});Q(2);J();I(3,"onedev-hovercard",null,0);K(5,"b-component-card",5);J()()}if(a&2){a=b.$implicit;b=L(4);var d=P();B();E("onedevHovercardTrigger",b)("href",d.ROUTES.editComponent.makeHref(a.componentId),vf);B();R(" ",a.name," ");B(3);E("componentId",a.componentId.toString())}},
Xqb=function(a){if(a&1){var b=v();I(0,"button",6);M("click",function(){w(b);var c=P();return x(c.onClickCopyIssueShortLinks.emit())});Q(1);J()}a&2&&(a=P(),B(),R(" Copy '",a.shortLinkPrefix,"'' links "))},Yqb=function(a){if(a&1){var b=v();I(0,"div",2)(1,"button",3);M("click",function(){w(b);var c=P();return x(c.action())});Q(2);J()()}a&2&&(a=P(),B(2),Yg(a.data.action))},Zqb=function(){},$qb=function(a){if(a&1){var b=v();I(0,"a",17);M("click",function(){w(b);var c=P().$implicit;return x(c.showChildren=
!1)});K(1,"mat-icon",18);J()}},arb=function(a){if(a&1){var b=v();I(0,"a",19);M("click",function(){w(b);var c=P().$implicit,d=P();return x(d.showChildren(c))});K(1,"mat-icon",20);J()}},brb=function(a){a&1&&(I(0,"span"),Q(1,"[Archived]"),J())},drb=function(a){a&1&&(I(0,"a",10),Q(1," (Recent Issues) "),J());if(a&2){a=P().$implicit;var b=P();E("href",b.paths.listIssues(eh(1,crb,"status:open componentid:"+a.componentId)),vf)}},erb=function(a){a&1&&(I(0,"a",15),Q(1," Create issue "),J());if(a&2){a=P().$implicit;
var b=P();E("href",b.paths.createIssue()+"?component="+a.componentId,vf)}},frb=function(a){a&1&&(I(0,"div",21),Q(1," No child components found. "),J())},grb=function(a){a&1&&(I(0,"div",22),K(1,"b-spinner"),J())},hrb=function(a){if(a&1){var b=v();I(0,"component-subtree-list",24);M("childClosed",function(d){w(b);var e=P(3);return x(e.onSubtreeChildClosed(d))});J()}if(a&2){a=P(2).$implicit;var c=P();E("components",a.children)("parentComponent",a)("rootController",c.rootController)("includeArchived",
c.includeArchived)}},irb=function(a){a&1&&(I(0,"div",16),D(1,frb,2,0,"div",21)(2,grb,2,0,"div",22)(3,hrb,1,4,"component-subtree-list",23),J());a&2&&(a=P().$implicit,B(),G(a.noChildren?1:-1),B(),G(a.noChildren||a.children?-1:2),B(),G(a.children?3:-1))},jrb=function(a,b){if(a&1){var c=v();I(0,"li",2);M("click",function(d){var e=w(c).$implicit,f=P();return x(f.setSelected(e.componentId,d))});I(1,"div",3);K(2,"div",4);I(3,"div",5);D(4,$qb,2,0,"a",6)(5,arb,2,0,"a",7);J();I(6,"div",8)(7,"div")(8,"a",9);
Q(9);J();D(10,brb,2,0,"span")(11,drb,2,3,"a",10);K(12,"b-component-access-level-indicator",11)(13,"b-tracker-chip-smart",12);J();I(14,"div",13);Q(15);J()();I(16,"div",14);D(17,erb,2,1,"a",15);J()();D(18,irb,4,3,"div",16);J()}a&2&&(a=b.$implicit,b=P(),Kg("id","component-",a.componentId,""),B(4),G(a.showChildren?4:5),B(4),E("href",b.ROUTES.editComponent.makeHref(a.componentId),vf),B(),R(" ",a.name," "),B(),G(a.archived?10:11),B(2),E("accessLevel",a.accessLimit==null?null:a.accessLimit.accessLevel),
B(),E("trackerId",a.trackerId),B(2),Yg(a.description),B(2),G(a.archived?-1:17),B(),G(a.showChildren?18:-1))},krb=function(a){if(a&1){var b=v();I(0,"a",17);M("click",function(){w(b);var c=P().$implicit;return x(c.showChildren=!1)});K(1,"mat-icon",18);J()}},lrb=function(a){if(a&1){var b=v();I(0,"a",19);M("click",function(){w(b);var c=P().$implicit,d=P();return x(d.showChildren(c))});K(1,"mat-icon",20);J()}},mrb=function(a){a&1&&(I(0,"span"),Q(1,"[Archived]"),J())},orb=function(a){a&1&&(I(0,"a",10),
Q(1," (Recent Issues) "),J());if(a&2){a=P().$implicit;var b=P();E("href",b.paths.listIssues(eh(1,nrb,"status:open componentid:"+a.componentId)),vf)}},prb=function(a){a&1&&(I(0,"a",15),Q(1," Create issue "),J());if(a&2){a=P().$implicit;var b=P();E("href",b.paths.createIssue()+"?component="+a.componentId,vf)}},qrb=function(a){a&1&&(I(0,"div",21),Q(1," No child components found. "),J())},rrb=function(a){a&1&&(I(0,"div",22),K(1,"b-spinner"),J())},srb=function(a){if(a&1){var b=v();I(0,"component-subtree-list",
24);M("childClosed",function(d){w(b);var e=P(3);return x(e.onSubtreeChildClosed(d))});J()}if(a&2){a=P(2).$implicit;var c=P();E("components",a.children)("parentComponent",a)("rootController",c.rootController)("includeArchived",c.includeArchived)}},trb=function(a){a&1&&(I(0,"div",16),D(1,qrb,2,0,"div",21)(2,rrb,2,0,"div",22)(3,srb,1,4,"component-subtree-list",23),J());a&2&&(a=P().$implicit,B(),G(a.noChildren?1:-1),B(),G(a.noChildren||a.children?-1:2),B(),G(a.children?3:-1))},urb=function(a,b){if(a&
1){var c=v();I(0,"li",2);M("click",function(d){var e=w(c).$implicit,f=P();return x(f.setSelected(e.componentId,d))});I(1,"div",3);K(2,"div",4);I(3,"div",5);D(4,krb,2,0,"a",6)(5,lrb,2,0,"a",7);J();I(6,"div",8)(7,"div")(8,"a",9);Q(9);J();D(10,mrb,2,0,"span")(11,orb,2,3,"a",10);K(12,"b-component-access-level-indicator",11)(13,"b-tracker-chip-smart",12);J();I(14,"div",13);Q(15);J()();I(16,"div",14);D(17,prb,2,1,"a",15);J()();D(18,trb,4,3,"div",16);J()}a&2&&(a=b.$implicit,b=P(),E("id","component-"+a.componentId),
B(4),G(a.showChildren?4:5),B(4),E("href",b.ROUTES.editComponent.makeHref(a.componentId),vf),B(),R(" ",a.name," "),B(),G(a.archived?10:11),B(2),E("accessLevel",a.accessLimit==null?null:a.accessLimit.accessLevel),B(),E("trackerId",a.trackerId),B(2),Yg(a.description),B(2),G(a.archived?-1:17),B(),G(a.showChildren?18:-1))},vrb=function(a){a&1&&(I(0,"div"),Q(1," Loading custom fields... "),J())},wrb=function(a){a&1&&(I(0,"div"),Q(1),J());a&2&&(a=P(2),B(),R(" There are no custom fields in component ",a.selectedComponent.name,
". "))},xrb=function(a,b){a&1&&(I(0,"mat-option",6),Q(1),J());a&2&&(a=b.$implicit,E("value",a),B(),R(" ",a.name," "))},yrb=function(a){if(a&1){var b=v();I(0,"div")(1,"mat-form-field",4)(2,"mat-label");Q(3,"Custom field");J();I(4,"mat-select",5);M("selectionChange",function(c){w(b);var d=P(2);return x(d.fieldSelected.emit(c.value))});yg(5,xrb,2,2,"mat-option",6,xg);J()()()}a&2&&(a=P(2),B(5),zg(a.customFields))},zrb=function(a){a&1&&(I(0,"div",3),D(1,vrb,2,0,"div")(2,wrb,2,1,"div")(3,yrb,7,0,"div"),
J());a&2&&(a=P(),B(),G(a.customFields==null?1:-1),B(),G(a.customFields&&!a.customFields.length?2:-1),B(),G((a.customFields==null?0:a.customFields.length)?3:-1))},Arb=function(a){a&1&&Cg(0)},Brb=function(){},Crb=function(a){a&1&&(Ag(0),Q(1),Bg());a&2&&(a=P().value,B(),Yg(a.textValue))},Drb=function(a){a&1&&K(0,"b-formatted-date-time",4);if(a&2){a=P().value;var b=P();E("date",b.toDate(a.dateValue))}},Erb=function(a){a&1&&(Ag(0),Q(1),Bg());a&2&&(a=P().value,B(),Yg(a.enumValue))},Frb=function(a){a&1&&
(Ag(0),Q(1),Bg());a&2&&(a=P().value,B(),Yg(a.numericValue))},Grb=function(a,b){a&1&&(Ag(0),Q(1),Bg());if(a&2){a=b.$implicit;var c=b.$index;b=b.$count;B();Zg("",a,"",c===b-1?"":", ","")}},Hrb=function(a){a&1&&yg(0,Grb,2,2,"ng-container",null,xg);a&2&&(a=P().value,zg(a.repeatedTextValue.values))},Irb=function(a,b){a&1&&(Ag(0),K(1,"b-formatted-date-time",4),Q(2),Bg());if(a&2){a=b.$implicit;var c=b.$index;b=b.$count;var d=P(3);B();E("date",d.toDate(a));B();Yg(c===b-1?"":", ")}},Jrb=function(a){a&1&&yg(0,
Irb,3,2,"ng-container",null,xg);a&2&&(a=P().value,zg(a.repeatedDateValue.values))},Krb=function(a,b){a&1&&(Ag(0),Q(1),Bg());if(a&2){a=b.$implicit;var c=b.$index;b=b.$count;B();Zg("",a,"",c===b-1?"":", ","")}},Lrb=function(a){a&1&&yg(0,Krb,2,2,"ng-container",null,xg);a&2&&(a=P().value,zg(a.repeatedEnumValue.values))},Mrb=function(a,b){a&1&&(Ag(0),Q(1),Bg());if(a&2){a=b.$implicit;var c=b.$index;b=b.$count;B();Zg("",a,"",c===b-1?"":", ","")}},Nrb=function(a){a&1&&yg(0,Mrb,2,2,"ng-container",null,xg);
a&2&&(a=P().value,zg(a.repeatedNumericValue.values))},Orb=function(a,b){a&1&&D(0,Crb,2,1,"ng-container")(1,Drb,1,1,"b-formatted-date-time",4)(2,Erb,2,1,"ng-container")(3,Frb,2,1,"ng-container")(4,Hrb,2,0)(5,Jrb,2,0)(6,Lrb,2,0)(7,Nrb,2,0);a&2&&(a=b.value,b=P(),G(a.textValue!=null?0:-1),B(),G(b.isNonemptyJsonDateValue(a.dateValue)?1:-1),B(),G(a.enumValue!=null?2:-1),B(),G(a.numericValue!=null?3:-1),B(),G(a.repeatedTextValue!=null?4:-1),B(),G(a.repeatedDateValue!=null?5:-1),B(),G(a.repeatedEnumValue!=
null?6:-1),B(),G(a.repeatedNumericValue!=null?7:-1))},Prb=function(a){a&1&&(I(0,"div")(1,"p"),Q(2),J()());a&2&&(a=P(),B(2),Zg(" Checking if you have permissions to mark these issues as spam. Checked ",a.issuesChecked," of ",a.issuesToFlag.length,"... "))},Qrb=function(a,b){a&1&&(I(0,"li"),Q(1),J());a&2&&(a=b.$implicit,B(),Zg(" ",a.issueId," - ",a.title," "))},Rrb=function(a){a&1&&(I(0,"div")(1,"p"),Q(2),J(),I(3,"ul"),yg(4,Qrb,2,2,"li",null,xg),J()());a&2&&(a=P(),B(2),R(" You do not have permissions to mark ",
a.protectedIssues.length," issues. These will not be flagged as spam. "),B(2),zg(a.protectedIssues))},Srb=function(a){if(a&1){var b=v();I(0,"div",1)(1,"label");Q(2);J();I(3,"onedev-single-select",4);bh("valueChange",function(c){w(b);var d=P();ah(d.currentEnumLabel,c)||(d.currentEnumLabel=c);return x(c)});J()()}a&2&&(a=P(),B(2),R(" ",a.effortSpecName," "),B(),$g("value",a.currentEnumLabel),E("includeEmptyOption",!0)("options",a.allowedLabels))},Trb=function(a){if(a&1){var b=v();I(0,"mat-dialog-content")(1,
"mat-form-field")(2,"mat-label");Q(3);J();I(4,"input",5);bh("ngModelChange",function(c){w(b);var d=P();ah(d.numericEstimatedEffort,c)||(d.numericEstimatedEffort=c);return x(c)});M("keypress",function(c){w(b);var d=P();return x(/^(\d*\.)?\d*$/.test(d.numericEstimatedEffort+c.key))});J()()()}a&2&&(a=P(),B(3),R(" ",a.effortSpecName," "),B(),$g("ngModel",a.numericEstimatedEffort))},Zrb=function(a,b){if(a&1){var c=v();I(0,"div",20,4);M("click",function(){var e=w(c).$implicit,f=P(2);Urb(f,e)||Vrb(f,e);
return x()});I(2,"mat-pseudo-checkbox",21);M("click",function(e){var f=w(c).$implicit,h=P(2);e.stopPropagation();return x(Wrb(h,f))});J();I(3,"span");Q(4);J()()}if(a&2){a=b.$implicit;b=b.$index;var d=P(2);rg("display",d.shouldShowHotlist[a.hotlistId]?"block":"none");sg("focused",b===d.focusedRowIndex);Lg("title",a.name);jg("id","hotlist-item-"+a.hotlistId)("aria-checked",Xrb(d.selectedHotlistMap[a.hotlistId]))("aria-disabled",Urb(d,a));B(2);E("state",Yrb(d.selectedHotlistMap[a.hotlistId]))("disabled",
Urb(d,a));B(2);R(" ",a.name," ")}},$rb=function(a){a&1&&(I(0,"span"),Q(1),J());a&2&&(a=P(2),B(),R(" (",a.filterText,")"))},asb=function(a){if(a&1){var b=v();I(0,"div",22,5);M("click",function(){w(b);var c=P(2);return x(c.loadHotlist())})("keydown.enter",function(){w(b);var c=P(2);return x(c.loadHotlist())});Q(2,"Load hotlist from id ");I(3,"span");Q(4);J()()}a&2&&(a=P(2),sg("focused",a.focusedRowIndex===a.choices.length+1),jg("aria-label","Load hotlist from"+a.filterText),B(4),R("(",a.filterText,
")"))},csb=function(a){if(a&1){var b=v();I(0,"div",23,6);M("click",function(){w(b);var c=P(2);return x(bsb(c))})("keydown.enter",function(){w(b);var c=P(2);return x(bsb(c))});Q(2,"Apply");J()}a&2&&(a=P(2),sg("focused",a.focusedRowIndex===a.choices.length+2))},dsb=function(a){if(a&1){var b=v();I(0,"div",11)(1,"div",15,2);yg(3,Zrb,5,11,"div",16,xg);J()();K(5,"mat-divider");I(6,"div",17,3);M("click",function(){w(b);var c=P();return x(c.createHotlist())})("keydown.enter",function(){w(b);var c=P();return x(c.createHotlist())});
Q(8,"Create new hotlist ");D(9,$rb,2,1,"span");J();D(10,asb,5,4,"div",18)(11,csb,3,2,"div",19)}a&2&&(a=P(),B(3),zg(a.choices),B(3),sg("focused",a.focusedRowIndex===a.choices.length),E("disabled",!a.canCreate),jg("aria-label","Create new hotlist"+a.filterText),B(3),G(a.filterText?9:-1),B(),G(a.canLoad?10:-1),B(),G(a.pendingChanges?11:-1))},esb=function(a){a&1&&(I(0,"li")(1,"a",1),Q(2),J(),K(3,"b-issue-visibility-chip",2),J());a&2&&(a=P().$implicit,B(),Kg("href","issues/",a.issueId,"",vf),B(),R("b/",
a.issueId,""),B(),E("issueId",a.issueId))},fsb=function(a,b){a&1&&D(0,esb,4,4,"li");a&2&&G(b.$implicit.type==="issue"?0:-1)},gsb=function(a){a&1&&(I(0,"li"),Q(1),K(2,"b-component-access-level-indicator",3),J());a&2&&(a=P().$implicit,B(),R(" ",a.path," "),B(),E("accessLevel",a.accessLevel))},hsb=function(a,b){a&1&&D(0,gsb,3,2,"li");a&2&&G(b.$implicit.type==="component"?0:-1)},isb=function(a){a&1&&(I(0,"div",0)(1,"div")(2,"strong"),Q(3,"You are editing issues in components that may have external viewers:"),
J()(),I(4,"ul"),yg(5,fsb,1,1,null,null,wg),J(),Q(7," within: "),I(8,"ul"),yg(9,hsb,1,1,null,null,wg),J()());a&2&&(a=P(),B(5),zg(a.externalWarnings),B(4),zg(a.externalWarnings))},ksb=function(a,b){if(a&1){var c=v();I(0,"button",12);M("click",function(){var d=w(c).$implicit,e=P(3);return x(jsb(e.issueEditBuilder,d))});Q(1);J()}a&2&&(a=b.$implicit,b=P(3),E("disabled",b.issueEditBuilder.issueState==a),B(),R(" ",a.displayValue," "))},lsb=function(a){if(a&1){var b=v();I(0,"div",19)(1,"span");Q(2,"Multiple");
J();I(3,"a",22);M("click",function(){w(b);var c=P(4);return x(c.issueEditBuilder.clearAssignee())});Q(4,"X");J()()}},msb=function(a){if(a&1){var b=v();I(0,"div",19)(1,"span");Q(2,"Possibly multiple");J();I(3,"a",22);M("click",function(){w(b);var c=P(4);return x(c.issueEditBuilder.clearAssignee())});Q(4,"X");J()()}},osb=function(a){if(a&1){var b=v();I(0,"div")(1,"input",23);bh("ngModelChange",function(c){w(b);var d=P(4);ah(d.issueEditBuilder.commonAssignee,c)||(d.issueEditBuilder.commonAssignee=c);
return x(c)});M("ngModelChange",function(){w(b);var c=P(4);return x(nsb(c.issueEditBuilder))});J()()}a&2&&(a=P(4),B(),$g("ngModel",a.issueEditBuilder.commonAssignee),E("bContactAutocomplete","SINGLE"),jg("cdkFocusInitial",a.focus===a.FocusableField.ASSIGNEE||null))},qsb=function(a){if(a&1){var b=v();I(0,"div",19)(1,"span");Q(2);J();I(3,"a",24);M("click",function(){w(b);var c=P(4);return x(c.issueEditBuilder.clearVerifier())});Q(4,"X");J()()}a&2&&(a=P(4),sg("bv2-invalid-multiple-user-chip",!psb(a.issueEditBuilder)),
B(2),R(" Multiple ",psb(a.issueEditBuilder)?"":"(some unset)"," "))},rsb=function(a){if(a&1){var b=v();I(0,"div",19)(1,"span");Q(2);J();I(3,"a",24);M("click",function(){w(b);var c=P(4);return x(c.issueEditBuilder.clearVerifier())});Q(4,"X");J()()}a&2&&(a=P(4),sg("bv2-invalid-multiple-user-chip",!psb(a.issueEditBuilder)),B(2),R(" Possibly multiple ",psb(a.issueEditBuilder)?"":"(some unset)"," "))},ssb=function(a){if(a&1){var b=v();I(0,"div")(1,"input",25);bh("ngModelChange",function(c){w(b);var d=
P(4);ah(d.issueEditBuilder.commonVerifier,c)||(d.issueEditBuilder.commonVerifier=c);return x(c)});J()()}a&2&&(a=P(4),B(),$g("ngModel",a.issueEditBuilder.commonVerifier),E("required",(a.issueEditBuilder.issueState==null?null:a.issueEditBuilder.issueState.status)=="VERIFIED")("bContactAutocomplete","SINGLE"),jg("cdkFocusInitial",a.focus===a.FocusableField.VERIFIER||null))},tsb=function(a){a&1&&(I(0,"div")(1,"div",14)(2,"label",18),Q(3," Assignee "),J(),I(4,"div"),D(5,lsb,5,0,"div",19)(6,msb,5,0,"div",
19)(7,osb,2,3,"div"),J()(),I(8,"div",14)(9,"label",20),Q(10," Verifier "),J(),I(11,"div"),D(12,qsb,5,3,"div",21)(13,rsb,5,3,"div",21)(14,ssb,2,4,"div"),J()()());if(a&2){var b,c;a=P(3);B(5);G((b=a.issueEditBuilder.selectedAssigneesStatus)==="MULTIPLE"?5:b==="POSSIBLY_MULTIPLE"?6:7);B(7);G((c=a.issueEditBuilder.selectedVerifiersStatus)==="MULTIPLE"?12:c==="POSSIBLY_MULTIPLE"?13:14)}},usb=function(a){if(a&1){var b=v();I(0,"div",14)(1,"label",26);Q(2," Issue ID ");J();I(3,"input",27);M("ngModelChange",
function(c){w(b);var d=P(3).issueEditBuilder;c=eJa(c);return x(d.commonDuplicateOf=c.length===1?c[0]:"")});J()()}a&2&&(a=P(3),B(3),E("ngModel",a.issueEditBuilder.commonDuplicateOf),jg("cdkFocusInitial",a.focus===a.FocusableField.DUPE_ID||null))},vsb=function(a){if(a&1){var b=v();I(0,"div",5)(1,"button",10)(2,"span");Q(3);J();K(4,"b-icon",11);J();I(5,"mat-menu",null,2)(7,"button",12);M("click",function(){w(b);var d=P(2);return x(d.issueEditBuilder.issueState=void 0)});Q(8,"No change ");J();yg(9,ksb,
2,2,"button",13,xg);J();I(11,"div");D(12,tsb,15,2,"div")(13,usb,4,2,"div",14);J();I(14,"div")(15,"b-comment-box",15);M("onSubmit",function(){w(b);var d;(d=P(2).matDialogRef)==null||d.close(!0);return x()});J()();K(16,"div",16)(17,"b-external-warnings",17);J()}if(a&2){a=L(6);var c=P(2);B();E("matMenuTriggerFor",a);B(2);Yg(c.issueEditBuilder.issueState?c.issueEditBuilder.issueState.displayValue:"No change");B(4);E("disabled",!c.issueEditBuilder.issueState);B(2);zg(c.issueStates);B(3);G((!c.issueEditBuilder.issueState||
c.issueEditBuilder.issueState.status!=="DUPLICATE")===!0?12:13);B(3);E("comment",c.comment)("showToolbar",!1)("isLiteralModeSupported",!0);B(2);E("externalWarnings",c.externalWarnings)}},wsb=function(a){if(a&1){var b=v();I(0,"div",6)(1,"b-recaptcha",28);M("onUpdate",function(c){w(b);var d=P(2);return x(d.issueEditBuilder.recaptchaResponse=c)});J()()}},ysb=function(a){a&1&&(I(0,"form",null,1)(2,"h1",3),Q(3,"Change issue status"),J(),I(4,"div",4)(5,"span"),Q(6,"Enter updated issue status information below"),
J(),D(7,vsb,18,8,"div",5),J(),D(8,wsb,2,0,"div",6),I(9,"div",7)(10,"button",8),Q(11," Cancel "),J(),I(12,"button",9),Q(13," Save "),J()()());if(a&2){var b=L(1);a=P();B(7);G(a.issueEditBuilder?7:-1);B();G(a.issueEditBuilder&&a.enableRecaptcha?8:-1);B(2);E("mat-dialog-close",!1);B(2);var c=E("mat-dialog-close",!0);if(!(b=b.invalid))a:{if(a.issueEditBuilder!=null){b=xsb(a.issueEditBuilder);var d=b.get("status");if(d==="DUPLICATE"){b=!b.get("duplicateOfIssueId");break a}if(d==="VERIFIED"){b=!psb(a.issueEditBuilder)&&
!b.get("verifier");break a}}b=!1}c("disabled",b||!(!a.enableRecaptcha||a.issueEditBuilder.recaptchaResponse!==""))}},Asb=function(a){if(a&1){var b=v();I(0,"b-app-bar-bulk-edit-menus",6);S(1,"async");M("onBulkEdit",function(d){w(b);var e=P();return x(e.bulkEdit(d))})("onQuickBulkEdit",function(d){w(b);var e=P();return x(e.quickBulkEdit(d))})("onBulkEditIssueRelation",function(d){w(b);var e=P();return x(e.bulkEditIssueRelation(d))})("onBulkMarkIssueRead",function(){w(b);var d=P();return x(d.bulkMarkIssueRead())});
J()}if(a&2){var c;a=P();E("readStatePrompt",zsb(a))("enableBulkEstimatedEffortOption",(c=U(1,2,a.enableBulkEstimatedEffortOption$))!==null&&c!==void 0?c:!1)}},Esb=function(a){if(a&1){var b=v();I(0,"b-copy-issue-id-button",7);M("onClickCopyIssueIds",function(){w(b);var c=P();return x(Bsb(c.copyIssueIdService,Yt(c)))})("onClickCopyIssueShortLinks",function(){w(b);var c=P();return x(Csb(c.copyIssueIdService,Yt(c)))})("onClickCopyAsIssueSearch",function(){w(b);var c=P();return x(Dsb(c.copyIssueIdService,
Yt(c)))});J()}a&2&&(a=P(),E("shortLinkPrefix",a.copyIssueIdService.shortLinkPrefix)("shouldShowCopyIssueShortLinks",a.activeSession.isInternalSession()))},Fsb=function(a){if(a&1){var b=v();I(0,"div",3)(1,"b-hotlist-picker",8);M("onApply",function(c){w(b);var d=P();return x(d.handleHotlistPickerSave(c))})("onCreate",function(c){w(b);var d=P();return x(d.onCreateHotlist.emit(c))})("onLoad",function(c){w(b);var d=P();return x(d.onLoadHotlist.emit(c))});J()()}a&2&&(a=P(),B(),E("selectedHotlistIds",a.hotlistIdMatrix)("choices",
a.hotlistChoices))},Hsb=function(a){if(a&1){var b=v();I(0,"b-comment-box",15);bh("commentChange",function(c){w(b);var d=P(2);ah(d.comment,c)||(d.comment=c);return x(c)});M("onSubmit",function(){w(b);var c=P(2);return x(Gsb(c))});J()}a&2&&(a=P(2),$g("comment",a.comment),E("showToolbar",!1)("isLiteralModeSupported",!0))},Isb=function(a){if(a&1){var b=v();I(0,"div",12)(1,"b-recaptcha",16);M("onUpdate",function(c){w(b);var d=P(2);return x(d.recaptchaResponse=c)});J()()}},Jsb=function(a){a&1&&(I(0,"h1",
9),Q(1,"Add comment"),J(),I(2,"mat-dialog-content"),D(3,Hsb,1,3,"b-comment-box",10),K(4,"b-external-warnings",11),J(),D(5,Isb,2,0,"div",12),I(6,"mat-dialog-actions")(7,"button",13),Q(8," Cancel "),J(),I(9,"button",14),Q(10," Save "),J()());a&2&&(a=P(),B(3),G(a.comment?3:-1),B(),E("externalWarnings",a.externalWarnings),B(),G(a.enableRecaptcha?5:-1),B(2),E("mat-dialog-close",!1),B(2),E("disabled",a.enableRecaptcha&&a.recaptchaResponse==="")("mat-dialog-close",!0))},Ksb=function(a){a&1&&K(0,"tr",8)},
Lsb=function(a){a&1&&K(0,"tr",9)},Msb=function(a){a&1&&(I(0,"th",10),Q(1,"User"),J())},Nsb=function(a,b){a&1&&(I(0,"div",12),K(1,"b-user-image",13)(2,"b-user-display-name",14),J());a&2&&(B(),E("email",b),B(),E("email",b)("hovercardFocusEnabled",!0)("availabilityChipEnabled",!1))},Osb=function(a,b){a&1&&(I(0,"td",11),D(1,Nsb,3,4,"div",12),J());if(a&2){var c;a=b.$implicit;B();G((c=a.user.emailAddress)?1:-1,c)}},Psb=function(a){a&1&&(I(0,"th",10)(1,"span",15),Q(2," Involvement "),K(3,"b-icon",16),J()());
a&2&&(P(),a=Hg(7),B(3),E("matTooltip",a),jg("aria-label",a))},Qsb=function(a,b){a&1&&(I(0,"mat-option",18),Q(1),J());a&2&&(a=b.$implicit,E("value",a.value),B(),Yg(a.displayText))},Tsb=function(a,b){if(a&1){var c=v();I(0,"td",11)(1,"mat-select",17);M("selectionChange",function(d){var e=w(c).$implicit,f=P();return x(Rsb(f,e,d.value))});yg(2,Qsb,2,2,"mat-option",18,Ssb);J()()}a&2&&(a=b.$implicit,b=P(),B(),E("disabled",!b.isAllowedToEdit)("value",a.involvement),B(),zg(b.involvementOptions))},Usb=function(a){a&
1&&(I(0,"th",10),Q(1,"Delete"),J())},Wsb=function(a){if(a&1){var b=v();I(0,"td",11)(1,"button",19);M("click",function(){var c=w(b).$implicit,d=P();return x(Vsb(d,c))});K(2,"mat-icon",20);J()()}a&2&&(a=P(),B(),E("disabled",!a.isAllowedToEdit))},Xsb=function(a,b){a&1&&(I(0,"span",5)(1,"mat-option",11)(2,"span",12),Q(3),J()()());a&2&&(a=b.$implicit,E("matTooltip","The "+a.displayText+" role has already been allocated.")("matTooltipDisabled",!a.disabled),B(),E("value",a.value)("disabled",a.disabled),
B(2),R(" ",a.displayText," "))},Ysb=function(a){a&1&&(I(0,"mat-error"),Q(1," Count must be less than or equal to 300,000. "),J())},Zsb=function(a){a&1&&(I(0,"mat-error"),Q(1," Count must be a whole number greater than 0. "),J())},$sb=function(a){a&1&&(I(0,"b-callout",2)(1,"b-callout-body"),Q(2," You do not have edit access "),J()())},btb=function(a,b){if(a&1){var c=v();I(0,"b-placeholder-chip",15);M("editPlaceholder",function(){var d=w(c).$implicit,e=P(),f=Hg(4);return x(atb(e,f,d.role))})("removePlaceholder",
function(){var d=w(c).$implicit,e=P();return x(e.removePlaceholder(d))});J()}a&2&&(a=b.$implicit,b=P(),E("placeholder",a)("isAllowedToEdit",b.isAllowedToEdit))},ctb=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},dtb=function(a){a&1&&(I(0,"span"),Q(1,"Cancel"),J())},
etb=function(a){a&1&&(I(0,"span"),Q(1,"Edit"),J())},ltb=function(a){if(a&1){var b=v();I(0,"td")(1,"div")(2,"div",18);Q(3);J();I(4,"div",19)(5,"a",20);Q(6);J()()()();I(7,"td",14)(8,"mat-radio-button",21);M("change",function(d){w(b);var e=P(2);return x(ftb(e,d.value))});J()();I(9,"td",14)(10,"b-button",22);M("onAction",function(){w(b);var d=P().$implicit,e=P();return x(gtb(e,d))});D(11,dtb,2,0,"span")(12,etb,2,0,"span");J()();I(13,"td",14)(14,"b-button",23);M("onAction",function(){w(b);var d=P().$implicit,
e=P();return x(htb(e,d))});Q(15," Delete ");J()()}if(a&2){a=P().$implicit;var c=P();B(2);sg("selected",itb(c,a));B();R(" ",a.name," ");B(2);E("href",jtb(c,a),vf);jg("aria-label",a.name+"- Click to create a new issue");B();R(" ",jtb(c,a)," ");B(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);B(2);E("bAriaLabel",itb(c,a)?"Cancel editing "+a.name:"Edit "+a.name);B();G(itb(c,a)?11:12);
B(3);E("bAriaLabel","Delete "+a.name)("disabled",!ktb(c,a))}},mtb=function(a){a&1&&(I(0,"h2",25),Q(1," Create Template "),J())},ntb=function(a){a&1&&(I(0,"h2",25),Q(1),J());a&2&&(a=P(2).$implicit,B(),Zg(' Edit template "',a.name,'" ',a.editableTemplate.isDirty()?"(changed)":""," "))},otb=function(a){if(a&1){var b=v();I(0,"div",26)(1,"b-slide-toggle",79);M("modelChange",function(){w(b);var c=P(2).$implicit.editableTemplate;c.inheritable=!c.inheritable;Zt(c);return x()});J();I(2,"span",27)(3,"label",
80);Q(4,"Inherited by all child components");J();K(5,"mat-icon",81);J()()}a&2&&(a=P(2).$implicit,B(),E("model",a.editableTemplate.inheritable))},ptb=function(a,b){a&1&&(I(0,"mat-option",86),Q(1),J());a&2&&(a=b.$implicit,Lg("value",a),B(),R(" ",a," "))},qtb=function(a){if(a&1){var b=v();I(0,"div",37)(1,"div",27)(2,"label",82);Q(3,"Collaborator Groups");J();K(4,"mat-icon",83);J();I(5,"mat-form-field",84)(6,"mat-select",85);bh("ngModelChange",function(d){w(b);var e=P(2).$implicit;ah(e.editableTemplate.collaboratorGroups,
d)||(e.editableTemplate.collaboratorGroups=d);return x(d)});M("ngModelChange",function(){w(b);var d=P(2).$implicit;return x(Zt(d.editableTemplate))});I(7,"mat-select-trigger");Q(8);J();yg(9,ptb,2,2,"mat-option",86,xg);J()()()}if(a&2){a=P(2).$implicit;var c=P();B(4);Lg("matTooltip",c.COLLABORATOR_GROUPS_TOOLTIP);B(2);$g("ngModel",a.editableTemplate.collaboratorGroups);B(2);R(" ",a.editableTemplate.getCollaboratorGroupsString()," ");B();zg(c.trackerCollaboratorGroups)}},stb=function(a,b){if(a&1){var c=
v();I(0,"button",87);M("click",function(){var e=w(c).$implicit,f=P(2).$implicit,h=P();f.issueType=e.value;return x(rtb(h))});Q(1);J()}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:"");B();R(" ",a.displayText," ")}},ttb=function(a,b){if(a&1){var c=v();I(0,"button",88);M("click",function(){var d=w(c).$implicit,e=P(2).$implicit;e.editableTemplate.priority=d.value;return x(Zt(e.editableTemplate))});Q(1);J()}a&2&&(a=b.$implicit,
b=P(2).$implicit,E("disabled",b.editableTemplate.priority===a.value),B(),R(" ",a.displayText," "))},utb=function(a,b){if(a&1){var c=v();I(0,"button",88);M("click",function(){var d=w(c).$implicit,e=P(2).$implicit;e.editableTemplate.severity=d.value;return x(Zt(e.editableTemplate))});Q(1);J()}a&2&&(a=b.$implicit,b=P(2).$implicit,E("disabled",b.editableTemplate.severity===a.value),B(),R(" ",a.displayText," "))},vtb=function(a,b){if(a&1){var c=v();I(0,"div",54)(1,"b-hotlist-chip",89);M("removeHotlist",
function(){var d=w(c).$implicit,e=P(3);return x(e.removeHotlist(d.hotlistId))});J()()}a&2&&(a=b.$implicit,B(),E("hotlist",a))},wtb=function(a){if(a&1){var b=v();I(0,"input",90);bh("ngModelChange",function(c){w(b);var d=P(2).$implicit;ah(d.editableTemplate.assignee,c)||(d.editableTemplate.assignee=c);return x(c)});M("ngModelChange",function(){w(b);var c=P(2).$implicit;return x(Zt(c.editableTemplate))});J()}a&2&&(a=P(2).$implicit,E("bContactAutocomplete","SINGLE"),$g("ngModel",a.editableTemplate.assignee))},
ztb=function(a){if(a&1){var b=v();I(0,"div",91,5);M("peoplekitSearchBarSelectionChange",function(d){w(b);var e=P(2).$implicit,f=P();return x(xtb(f,e.editableTemplate.assignee,"assignee",e,d))});J()}if(a&2){a=P(2).$implicit;var c=P();E("peoplekitSearchBarConfig",c.createSearchBarConfig(eh(1,ytb,a.editableTemplate.assignee)))}},Atb=function(a){if(a&1){var b=v();I(0,"input",92);bh("ngModelChange",function(c){w(b);var d=P(2).$implicit;ah(d.editableTemplate.verifier,c)||(d.editableTemplate.verifier=c);
return x(c)});M("ngModelChange",function(){w(b);var c=P(2).$implicit;return x(Zt(c.editableTemplate))});J()}a&2&&(a=P(2).$implicit,E("bContactAutocomplete","SINGLE"),$g("ngModel",a.editableTemplate.verifier))},Btb=function(a){if(a&1){var b=v();I(0,"div",93,6);M("peoplekitSearchBarSelectionChange",function(d){w(b);var e=P(2).$implicit,f=P();return x(xtb(f,e.editableTemplate.verifier,"verifier",e,d))});J()}if(a&2){a=P(2).$implicit;var c=P();E("peoplekitSearchBarConfig",c.createSearchBarConfig(eh(1,
ytb,a.editableTemplate.verifier)))}},Dtb=function(a){if(a&1){var b=v();I(0,"div",27)(1,"label",94);Q(2,"Collaborators");J();K(3,"mat-icon",95);J();I(4,"div",96,7);M("peoplekitSearchBarSelectionChange",function(d){w(b);var e=P(2).$implicit,f=P();e.editableTemplate&&!Ctb(f,e.editableTemplate.collaborators,d)&&(e.editableTemplate.collaborators=f.selectionsToStrings(d),Zt(e.editableTemplate));return x()});J()}if(a&2){a=P(2).$implicit;var c=P();B(4);E("peoplekitSearchBarConfig",c.createSearchBarConfig(a.editableTemplate.collaborators))}},
Ftb=function(a){if(a&1){var b=v();I(0,"div",27)(1,"label",97);Q(2,"Collaborators");J();K(3,"mat-icon",95);J();I(4,"input",98);M("ngModelChange",function(c){w(b);var d=P(2).$implicit;return x(Etb(d.editableTemplate,c))});J()}a&2&&(a=P(2).$implicit,B(4),E("bContactAutocomplete","MULTI")("ngModel",a.editableTemplate.collaborators.join(", ")))},Gtb=function(a){if(a&1){var b=v();I(0,"div",27)(1,"label",99);Q(2,"CC");J()();I(3,"div",100,8);M("peoplekitSearchBarSelectionChange",function(d){w(b);var e=P(2).$implicit,
f=P();e.editableTemplate&&!Ctb(f,e.editableTemplate.cc,d)&&(e.editableTemplate.cc=f.selectionsToStrings(d),Zt(e.editableTemplate));return x()});J()}if(a&2){a=P(2).$implicit;var c=P();B(3);E("peoplekitSearchBarConfig",c.createSearchBarConfig(a.editableTemplate.cc))}},Itb=function(a){if(a&1){var b=v();I(0,"div",27)(1,"label",101);Q(2,"CC");J()();I(3,"input",102);M("ngModelChange",function(c){w(b);var d=P(2).$implicit;return x(Htb(d.editableTemplate,c))});J()}a&2&&(a=P(2).$implicit,B(3),E("bContactAutocomplete",
"MULTI")("ngModel",a.editableTemplate.cc.join(", ")))},Jtb=function(a){a&1&&(I(0,"h3"),Q(1,"Custom issue fields"),J())},Ktb=function(a){if(a&1){var b=v();I(0,"input",109);bh("ngModelChange",function(d){w(b);var e=P().$implicit,f=P(2).$implicit;ah(f.editableTemplate.customFieldValues[e.id].textValue,d)||(f.editableTemplate.customFieldValues[e.id].textValue=d);return x(d)});M("ngModelChange",function(){w(b);var d=P(3).$implicit;return x(Zt(d.editableTemplate))});J()}if(a&2){a=P().$implicit;var c=P(2).$implicit;
lg("id","template-cf-",a.id,"");$g("ngModel",c.editableTemplate.customFieldValues[a.id].textValue)}},Ltb=function(a){if(a&1){var b=v();I(0,"input",110);bh("ngModelChange",function(d){w(b);var e=P().$implicit,f=P(2).$implicit;ah(f.editableTemplate.customFieldValues[e.id].numericValue,d)||(f.editableTemplate.customFieldValues[e.id].numericValue=d);return x(d)});M("ngModelChange",function(){w(b);var d=P(3).$implicit;return x(Zt(d.editableTemplate))});J()}if(a&2){a=P().$implicit;var c=P(2).$implicit;
lg("id","template-cf-",a.id,"");$g("ngModel",c.editableTemplate.customFieldValues[a.id].numericValue)}},Ntb=function(a){if(a&1){var b=v();I(0,"b-edit-field",111);M("valueChange",function(h){w(b);var l=P().$implicit,q=P(2).$implicit,u=P();return x(u.setCustomField(q,l.id,h))});J()}if(a&2){var c,d;a=P().$implicit;var e=P(2).$implicit,f=P();lg("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:dh(7,Mtb))}},Otb=function(a){if(a&1){var b=v();I(0,"bv2-input-date-picker",112);M("boundValueChange",function(e){w(b);var f=P().$implicit,h=P(2).$implicit,l=P();return x(h.editableTemplate.customFieldValues[f.id].dateValue=l.getDateValue(e))})("boundValueChange",function(){w(b);var e=P(3).$implicit;return x(Zt(e.editableTemplate))});J()}if(a&2){var c;a=P().$implicit;var d=P(2).$implicit;lg("id","template-cf-",a.id,"");E("boundValue",
(c=d.editableTemplate.customFieldValues[a.id].dateValue)!==null&&c!==void 0?c:void 0)}},Qtb=function(a){if(a&1){var b=v();I(0,"b-list-field",113);M("valuesChange",function(e){w(b);var f=P().$implicit,h=P(2).$implicit,l=P();return x(l.setCustomField(h,f.id,e.values))});J()}if(a&2){a=P().$implicit;var c=P(2).$implicit,d=P();lg("id","template-cf-",a.id,"");E("defaultLineCount",2)("type",d.getListFieldType(a.type))("values",Ptb(c.editableTemplate.customFieldValues[a.id]))("enumChoices",a.enumFields)("truncate",
!0)}},Rtb=function(a,b){a&1&&(I(0,"div")(1,"div",27)(2,"label",103),Q(3),J()(),I(4,"div"),D(5,Ktb,1,3,"input",104)(6,Ltb,1,3,"input",105)(7,Ntb,1,8,"b-edit-field",106)(8,Otb,1,3,"bv2-input-date-picker",107)(9,Qtb,1,7,"b-list-field",108),J()());if(a&2){var c;a=b.$implicit;vg("cell-",a.cellType,"");B(2);Kg("for","template-cf-",a.id,"");B();Zg("",a.name," (id=",a.id,")");B(2);G((c=a.type)==="TEXT"?5:c==="NUMERIC"?6:c==="ENUM"?7:c==="DATE"?8:9)}},Vtb=function(a){if(a&1){var b=v();I(0,"td",17)(1,"div",
24);D(2,mtb,2,0,"h2",25)(3,ntb,2,2,"h2",25);I(4,"div",26)(5,"div",27)(6,"label",28);Q(7,"Template Name");J()();I(8,"input",29);bh("ngModelChange",function(h){w(b);var l=P().$implicit;ah(l.editableTemplate.name,h)||(l.editableTemplate.name=h);return x(h)});M("ngModelChange",function(){w(b);var h=P().$implicit;return x(Zt(h.editableTemplate))});J()();D(9,otb,6,1,"div",26);I(10,"div",26)(11,"div",27)(12,"label",30);Q(13,"Description of Template");J()();I(14,"input",31);bh("ngModelChange",function(h){w(b);
var l=P().$implicit;ah(l.editableTemplate.description,h)||(l.editableTemplate.description=h);return x(h)});M("ngModelChange",function(){w(b);var h=P().$implicit;return x(Zt(h.editableTemplate))});J()();I(15,"div",32)(16,"h3");Q(17," Standard issue fields ");J();I(18,"div",33)(19,"div",34)(20,"div",27)(21,"label",35);Q(22,"Issue Access Level");J()();I(23,"b-issue-access-limits-dropdown",36);M("updatedAccessLimitLevel",function(h){w(b);var l=P().$implicit;return x(l.editableTemplate.onAccessLimitLevelSelected(h))});
J()();D(24,qtb,11,3,"div",37);J();I(25,"div",26)(26,"div",27)(27,"label",38);Q(28,"Title");J()();I(29,"input",39);bh("ngModelChange",function(h){w(b);var l=P().$implicit;ah(l.editableTemplate.title,h)||(l.editableTemplate.title=h);return x(h)});M("ngModelChange",function(){w(b);var h=P().$implicit;return x(Zt(h.editableTemplate))});J()();I(30,"div",40)(31,"div",27)(32,"label",41);Q(33,"Type");J()();I(34,"button",42)(35,"span");Q(36);J();K(37,"b-icon",43);J();I(38,"mat-menu",44,2);yg(40,stb,2,3,"button",
45,xg);J()();I(42,"div",40)(43,"div",27)(44,"label",46);Q(45,"Priority");J()();I(46,"button",47)(47,"span");Q(48);J();K(49,"b-icon",43);J();I(50,"mat-menu",44,3);yg(52,ttb,2,2,"button",48,xg);J()();I(54,"div",40)(55,"div",27)(56,"label",49);Q(57,"Severity");J()();I(58,"button",50)(59,"span");Q(60);J();K(61,"b-icon",43);J();I(62,"mat-menu",44,4);yg(64,utb,2,2,"button",48,xg);J()();I(66,"div",51)(67,"div",27)(68,"label",52);Q(69,"Default Hotlists");J()();I(70,"b-hotlist-picker",53);M("onApply",function(h){w(b);
var l=P(2);return x(l.handleHotlistPickerSave(h))})("onCreate",function(h){w(b);var l=P(2);return x(l.createHotlist(h))})("onLoad",function(h){w(b);var l=P(2);return x(l.loadHotlist(h))});J();yg(71,vtb,2,1,"div",54,xg);J();K(73,"div",55);I(74,"div",56)(75,"div",27)(76,"label",57);Q(77,"Assignee");J()();D(78,wtb,1,2,"input",58)(79,ztb,2,3,"div",59);J();I(80,"div",56)(81,"div",27)(82,"label",60);Q(83,"Verifier");J()();D(84,Atb,1,2,"input",61)(85,Btb,2,3,"div",62);J();I(86,"div",26);D(87,Dtb,6,1)(88,
Ftb,5,2);J();I(89,"div",26);D(90,Gtb,5,1)(91,Itb,4,2);J();I(92,"div",26)(93,"div",27)(94,"label",63);Q(95,"Initial Comment");J()();I(96,"textarea",64);bh("ngModelChange",function(h){w(b);var l=P().$implicit;ah(l.editableTemplate.comment,h)||(l.editableTemplate.comment=h);return x(h)});M("ngModelChange",function(){w(b);var h=P().$implicit;return x(Zt(h.editableTemplate))});Q(97,"                  ");J();I(98,"b-markdown-toggle",65);M("change",function(h){w(b);var l=P().$implicit;return x(l.editableTemplate.setFormattingMode(h))});
J()();I(99,"div",26)(100,"div",27)(101,"label",66);Q(102,"In Prod");J()();I(103,"b-slide-toggle",67);M("modelChange",function(){w(b);var h=P().$implicit.editableTemplate;h.inProd=!h.inProd;Zt(h);return x()});J()();Gg(104);S(105,"staffingSummary");I(106,"div",68)(107,"div",27)(108,"label",69);Q(109,"Staffing");J();K(110,"mat-icon",70);J();I(111,"button",71);M("click",function(){w(b);var h=P(2);return x(h.editStaffing())});I(112,"span",72);Q(113);J();K(114,"div",73);J()()();I(115,"div",74);D(116,Jtb,
2,0,"h3");yg(117,Rtb,10,8,"div",75,xg);J();I(119,"div",76)(120,"b-button",77);M("onAction",function(){w(b);var h=P(2);return x(Stb(h))});Q(121," Save ");J();I(122,"b-button",78);M("onAction",function(){w(b);var h=P(2);return x(Ttb(h))});Q(123," Cancel ");J()()()()}if(a&2){var c=L(39),d=L(51),e=L(63);a=P().$implicit;var f=P();B(2);G(a.editableTemplate.new?2:3);B(6);$g("ngModel",a.editableTemplate.name);B();G(f.enableTemplateInheritance?9:-1);B(5);$g("ngModel",a.editableTemplate.description);B(9);E("disabled",
!1)("defaultAccessLimitLevel",a.editableTemplate.issueAccessLimitLevel)("implicitAccessEnabled",f.implicitAccessEnabled);B();G(f.trackerCollaboratorGroups.length?24:-1);B(5);$g("ngModel",a.editableTemplate.title);B(5);E("matMenuTriggerFor",c);B(2);Yg(Utb(a.issueType));B(2);E("overlapTrigger",!0);B(2);zg(f.issueTypeChoices);B(6);E("matMenuTriggerFor",d);B(2);Yg(a.editableTemplate.priority);B(2);E("overlapTrigger",!0);B(2);zg(f.priorityChoices);B(6);E("matMenuTriggerFor",e);B(2);Yg(a.editableTemplate.severity);
B(2);E("overlapTrigger",!0);B(2);zg(f.severityChoices);B(6);E("selectedHotlistIds",f.selectedHotlistIds)("choices",f.hotlists);B();zg(f.selectedHotlists);B(7);G(f.enablePeoplekitAc?79:78);B(6);G(f.enablePeoplekitAc?85:84);B(3);G(f.enablePeoplekitAc?87:88);B(3);G(f.enablePeoplekitAc?90:91);B(6);$g("ngModel",a.editableTemplate.comment);B(2);E("initialValue",a.editableTemplate.formattingMode);B(5);E("model",a.editableTemplate.inProd);c=U(105,31,a.editableTemplate.staffing==null?null:a.editableTemplate.staffing.plannedAllocations);
B(8);jg("aria-label","Staffing: "+c);B(2);R(" ",c," ");B(3);G(f.customFieldRows.length>0?116:-1);B();zg(f.customFieldRows);B(3);E("disabled",!a.editableTemplate.isDirty())}},Wtb=function(a,b){a&1&&(I(0,"tr"),D(1,ltb,16,15)(2,Vtb,124,33,"td",17),J());a&2&&(a=b.$implicit,B(),G(a.editableTemplate?2:1))},Xtb=function(a){a&1&&(I(0,"tr")(1,"td",17)(2,"div",114)(3,"strong"),Q(4,"Templates inherited from parent components"),J()()()())},Ytb=function(a){a&1&&(Ag(0),K(1,"b-component-card",120,10),Bg());if(a&
2){a=L(2);var b=P().$implicit;B();E("onedevIsHovercardReady",a.init)("componentId",b.componentId.toString())}},Ztb=function(a,b){if(a&1){var c=v();I(0,"tr")(1,"td")(2,"div")(3,"div",18);Q(4);J();I(5,"div",19)(6,"a",20);Q(7);J()()()();I(8,"td",14)(9,"mat-radio-button",21);M("change",function(e){w(c);var f=P(2);return x(ftb(f,e.value))});J()();I(10,"td",115)(11,"div",116)(12,"div",117);Q(13,"Inherited From");J();I(14,"a",118);Q(15);J();I(16,"onedev-hovercard",null,9);D(18,Ytb,3,2,"ng-container",119);
J()()()()}if(a&2){a=b.$implicit;b=L(17);var d=P(2);B(3);sg("selected",itb(d,a));B();R(" ",a.name," ");B(2);E("href",jtb(d,a),vf);jg("aria-label",a.name+"- Click to create a new issue");B();R(" ",jtb(d,a)," ");B(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);B(5);E("onedevHovercardTrigger",b)("href",d.ROUTES.editComponentTemplates.makeHref(a.componentId),vf);jg("aria-label","Inherited from "+
d.componentIdsToPaths[a.componentId]);B();R(" ",d.componentIdsToPaths[a.componentId]," ")}},$tb=function(a,b){a&1&&(D(0,Xtb,5,0,"tr"),yg(1,Ztb,19,15,"tr",null,xg));a&2&&(G(b.length?0:-1),B(),zg(b))},aub=function(a,b){a&1&&(I(0,"div",121),Q(1),J(),I(2,"div",122)(3,"button",123),Q(4," Cancel "),J(),I(5,"button",124),Q(6," Confirm "),J()());a&2&&(a=b.$implicit,B(),R(' Are you sure you want to delete the template "',a.name,'"? '),B(2),E("mat-dialog-close",!1),B(2),E("mat-dialog-close",!0))},bub=function(a,
b){a&1&&(I(0,"div",121),Q(1),J(),I(2,"div",122)(3,"button",125),Q(4," Cancel "),J(),I(5,"button",125),Q(6," Don't Save "),J(),I(7,"button",126),Q(8," Save "),J()());a&2&&(a=b.$implicit,B(),R(' Do you want to save changes to template "',a.name,'" before closing? '),B(2),E("mat-dialog-close",void 0),B(2),E("mat-dialog-close",!1),B(2),E("mat-dialog-close",!0))},cub=function(a){a&1&&(I(0,"div"),Q(1),J(),I(2,"div"),Q(3),J());a&2&&(a=P(),B(),R(" Policy: ",a.rawObjectiveDisplayText," (business) "),B(2),
R("Effective: ",a.objectiveDisplayText," (calendar)"))},dub=function(a){a&1&&(I(0,"div"),Q(1),J());a&2&&(a=P(),B(),R("Policy: ",a.rawObjectiveDisplayText," (calendar)"))},eub=function(a){a&1&&(I(0,"div"),K(1,"b-slo-time-indicator",0),J());a&2&&(a=P(),B(),E("sloStartTime",a.sloStartTime)("sloEndTime",a.sloEndTime)("sloBounds",a.assignmentSlo)("includeObjective",!0))},fub=function(a){a&1&&(I(0,"div"),K(1,"b-slo-time-indicator",1),J());a&2&&(a=P(),B(),E("sloStartTime",a.sloStartTime)("sloEndTime",a.sloEndTime)("sloBounds",
a.responseSlo)("includeObjective",!0))},gub=function(a){a&1&&(I(0,"div"),K(1,"b-slo-time-indicator",2),J());a&2&&(a=P(),B(),E("sloStartTime",a.sloStartTime)("sloEndTime",a.sloEndTime)("sloBounds",a.closureSlo)("includeObjective",!0))},hub=function(a){a&1&&(I(0,"div",5),K(1,"b-slo-status-summary",7),J());a&2&&(a=P(),B(),E("sloStatus",a.sloStatus)("sloStartTime",a.sloStartTime)("onlyShowMetric",a.onlyShowMetric))},iub=function(a){a&1&&Q(0," No applicable SLO rules ")},jub=function(a){a&1&&Q(0," No SLO set on issue component ")},
kub=function(a){a&1&&(I(0,"div",6),D(1,iub,1,0)(2,jub,1,0),J());a&2&&(a=P(),B(),G(a.editSloLink?1:2))},lub=function(a){if(a&1){var b=v();I(0,"a",9);M("click",function(){w(b);var c=P(2);return x(c.trackOpenSlo())});Q(1);J()}a&2&&(a=P(2),E("href",a.editSloLink,vf),B(),R(" ",a.sloName," "))},mub=function(a){a&1&&(I(0,"span"),Q(1," (private) "),J())},nub=function(a){a&1&&(I(0,"span"),Q(1," SLO definition: "),D(2,lub,2,2,"a",8)(3,mub,2,0,"span"),J());a&2&&(a=P(),B(2),G(a.sloName?2:3))},qub=function(a){if(a.type===
"CUSTOM_FIELD")return new $t({name:a.customFieldId?String(a.customFieldId):a.customFieldName||"",label:a.customFieldName||"",fullLabel:a.customFieldName||"",isCustomField:!0,sortable:a.customFieldId!==void 0,tooltip:""});a=sj(a.type);a==="canonicalIssueId"&&(a="duplicateOfIssueId");return oub.includes(a)?pub(a):null},sub=function(a){return rub(a.map(qub).filter(function(b){return!!b}))},tub=function(a){return a.map(function(b){b.isCustomField?b={type:"CUSTOM_FIELD",customFieldId:uj(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})},rub=function(a){return Jj(a,function(b){return b.name})},pub=function(a){var b={name:a,label:a.toUpperCase()},c=uub[a];c?Object.assign(b,c):oub.includes(a)||(b.isCustomField=!0);b.fullLabel=b.fullLabel||b.label.charAt(0).toUpperCase()+b.label.slice(1).toLowerCase();return new $t(b)},vub=function(a,b){a&1&&K(0,"col");a&2&&
vg("",b.$implicit.name,"-col")},wub=function(a){a&1&&Cg(0)},yub=function(a,b){a&1&&D(0,wub,1,0,"ng-container",7);a&2&&(a=b.$implicit,b=P(),E("ngTemplateOutlet",b.headerCellTemplates[a.name]||b.defaultHeaderCellTemplate)("ngTemplateOutletContext",eh(2,xub,a)))},zub=function(a){a&1&&Cg(0)},Bub=function(a,b){a&1&&D(0,zub,1,0,"ng-container",7);if(a&2){a=b.$implicit;b=b.$index;var c=P(),d=c.$implicit;c=c.$index;var e=P();E("ngTemplateOutlet",e[b])("ngTemplateOutletContext",gh(2,Aub,d,a,c))}},Dub=function(a,
b){if(a&1){var c=v();I(0,"tr",9,3);M("click",function(){var e=w(c).$index,f=P(2);f.focusedRowIndex!==e&&(f.focusedRowIndex=e,f.focusedRowIndexChange.emit(e));return x()})("focus",function(){var e=w(c).$index,f=P(2);f.focusedRowIndex!==e&&(f.focusedRowIndex=e,f.focusedRowIndexChange.emit(e));return x()});yg(2,Bub,1,6,"ng-container",null,Cub);J()}if(a&2){a=b.$implicit;b=b.$index;var d=P(2);sg("selected",a.selected)("unread",!d.readUnreadOptOut&&!a.isRead&&!a.isClosed)("closed",a.isClosed)("grid-focus",
d.focusedRowIndex===b);jg("data-row-id",a.id)("data-is-read",a.isRead)("aria-label",d.renderRowLabel(a,b)+(a.selected?", row starred":""));B(2);zg(d.columns)}},Fub=function(a){a&1&&yg(0,Dub,4,11,"tr",8,Eub);a&2&&(a=P(),zg(a.list))},Hub=function(a,b){a&1&&(I(0,"th"),K(1,"pop-grid-default-th",10),J());a&2&&(a=b.column,B(),E("column",a))},Iub=function(a,b){a&1&&(I(0,"td"),K(1,"pop-grid-default-cell",11),J());a&2&&(a=b.row,b=b.column,B(),E("row",a)("column",b))},Jub=function(a){if(a&1){var b=v();I(0,
"b-sortable-header",3);M("sortChanged",function(c){w(b);var d=P();d.grid&&d.grid.sortChange.emit(c);return x()});J()}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||""))},Kub=function(a){a&1&&(I(0,"span",4),Q(1),J());a&2&&(a=P(2),B(),R("column-",a.column.name,""))},Lub=function(a){a&1&&(I(0,"div",2),D(1,Kub,2,1,"span",4),Q(2),J());a&2&&(a=P(),jg("aria-label",
a.column.label),B(),G(a.column.label?-1:1),B(),R(" ",a.column.label," "))},Mub=function(a){if(a&1){var b=v();I(0,"div",13,3);M("menuOpened",function(){w(b);var d=P();return x(d.menuOpen=!0)})("menuClosed",function(){w(b);var d=P();return x(d.menuOpen=!1)})("keydown.enter",function(d){w(b);L(1).openMenu();d.preventDefault();return x(d.stopPropagation())})("keydown.space",function(){w(b);var d=L(1);return x(d.openMenu())});J()}if(a&2){a=P();var c=L(5);sg("columnpicker-button-active",a.menuOpen);lg("aria-label",
"",a.column.fullLabel," column configuration");E("matMenuTriggerFor",c)}},Pub=function(a,b){if(a&1){var c=v();I(0,"button",14);M("click",function(){var d=w(c).$implicit,e=P();return x(Nub(e,d.name))});K(1,"b-icon",15);I(2,"span",16);Q(3);J()()}a&2&&(a=b.$implicit,b=P(),sg("b-menu-item-checked",Oub(a.name).get(b.listViewPrefs)),B(3),R(" ",a.menuItem," "))},Qub=function(a){a&1&&K(0,"mat-divider")},Rub=function(a){if(a&1){var b=v();I(0,"button",19);M("click",function(){w(b);var c=P().$implicit,d=P().before,
e=P();return x(e.add(c,d))})("keydown.enter",function(c){w(b);var d=P().$implicit,e=P().before;P().add(d,e);c.preventDefault();return x(c.stopPropagation())});Q(1);J()}a&2&&(a=P().$implicit,E("matTooltip",a.tooltip),B(),R(" ",a.fullLabel," "))},Tub=function(a){a&1&&(I(0,"button",11)(1,"span"),Q(2),J()());if(a&2){a=P().$implicit;var b=P().before;P();var c=L(19);E("matMenuTriggerFor",c)("matMenuTriggerData",fh(3,Sub,a.columns,b));B(2);Yg(a.label)}},Uub=function(a,b){a&1&&D(0,Rub,2,2,"button",18)(1,
Tub,3,6,"button",11);a&2&&(a=b.$implicit,b=P(2),G(b.isIssueGridColumn(a)?0:1))},Wub=function(a){if(a&1){var b=v();I(0,"button",17);M("click",function(){var c=w(b).before,d=P();return x(Vub(d,c))});Q(1," Custom Field ");J();K(2,"mat-divider");yg(3,Uub,2,1,null,null,xg)}a&2&&(a=P(),B(3),zg(a.currentAvailableItems))},Xub=function(a,b){if(a&1){var c=v();I(0,"button",21);M("click",function(){var d=w(c).$implicit,e=P().before,f=P();return x(f.add(d,e))})("keydown.enter",function(d){var e=w(c).$implicit,
f=P().before;P().add(e,f);d.preventDefault();return x(d.stopPropagation())});Q(1);J()}a&2&&(a=b.$implicit,B(),R(" ",a.fullLabel," "))},Yub=function(a,b){a&1&&yg(0,Xub,2,1,"button",20,xg);a&2&&zg(b.columns)},Oub=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("gg`"+a);}},Zub=function(a){a&1&&
(I(0,"p",5),Q(1),J());a&2&&(a=P(),B(),R(" * Status update must be less than ",a.CHAR_LIMIT," characters. "))},$ub=function(a){a&1&&(I(0,"p",6),Q(1),I(2,"a",12),Q(3," Learn more "),J()());a&2&&(a=P(),B(),R(" Your status update contains restricted words: ",Ar(a.bannedWordsChecker),". Review your status update before posting. "))},avb=function(a){a&1&&(I(0,"div",8),K(1,"b-live-preview",13),J());a&2&&(a=P(),B(),E("comment",a.newStatusUpdate.updateText)("issueId",a.origStatusUpdate.issueId)("formattingMode",
a.newStatusUpdate.formattingMode)("audience",a.formattingAudience))},bvb=function(a){return function(b){return lk(b,ip,1,Uj()).map(function(c){return{workspaceId:c.getWorkspaceId_asLegacyNumberOrString(),workspaceName:c.getName(),issueId:a}})}},cvb=function(a){a&1&&Cg(0)},evb=function(a){a&1&&(Ag(0),D(1,cvb,1,0,"ng-container",8),Bg());a&2&&(a=P(),B(),E("ngTemplateOutlet",a.valueTemplate)("ngTemplateOutletContext",eh(2,dvb,a.value)))},fvb=function(a){a&1&&Q(0);a&2&&(a=P(),Yg(a.value!=null?a.value:
"--"))},gvb=function(a){a&1&&(Ud(),I(0,"svg",9),K(1,"path",10),J())},hvb=function(a){if(a&1){var b=v();I(0,"input",11);bh("ngModelChange",function(c){w(b);var d=P();ah(d.editingValue,c)||(d.editingValue=c);return x(c)});J()}a&2&&(a=P(),$g("ngModel",a.editingValue))},ivb=function(a){return a!=null?Number(a):void 0},jvb=function(a){a&1&&K(0,"mat-icon",4);a&2&&(P(),a=L(5),E("onedevHovercardTrigger",a))},kvb=function(a){if(a&1){var b=v();I(0,"onedev-numeric-field",10);M("valueChange",function(d){w(b);
var e=P(2);e.selectedNumericEstimate=d;d==null?e.effortChange.emit(void 0):e.effortChange.emit({estimate:String(d)});return x()});J()}if(a&2){a=P(2);var c=L(2);E("value",a.selectedNumericEstimate)("valueTemplate",c)("disabled",a.disabled)("displayEditIcon",!a.disabled)}},lvb=function(a){a&1&&Q(0);a&2&&(a=P().$implicit,R(" ",a.label," "))},mvb=function(a){a&1&&Q(0," -- ")},nvb=function(a,b){a&1&&D(0,lvb,1,1)(1,mvb,1,0);a&2&&G(b.$implicit?0:1)},pvb=function(a){if(a&1){var b=v();I(0,"onedev-single-select",
11);M("valueChange",function(e){w(b);var f=P(2);return x(f.selectOption(e))});J();D(1,nvb,2,1,"ng-template",null,2,ih)}if(a&2){var c;a=L(2);var d=P(2);E("value",d.selectedOption)("options",(c=d.effortSpec.enumSpec==null?null:d.effortSpec.enumSpec.options)!==null&&c!==void 0?c:dh(6,ovb))("includeEmptyOption",!0)("optionTemplate",a)("disabled",d.disabled)("displayArrowIcon",!d.disabled)}},qvb=function(a){a&1&&Q(0);a&2&&(a=P(2),R(" ",a.effort==null?null:a.effort.estimate," "))},rvb=function(a){a&1&&
(I(0,"onedev-edit-field")(1,"onedev-field-label",3),Q(2),D(3,jvb,1,1,"mat-icon",4),J(),I(4,"onedev-hovercard",null,1)(6,"div",5)(7,"div",6),Q(8," This estimate was made under a different configuration and needs to be updated. "),I(9,"a",7),Q(10,"Learn more"),J()()()(),I(11,"onedev-field-value",8),D(12,kvb,1,4,"onedev-numeric-field",9)(13,pvb,3,7)(14,qvb,1,1),J()());if(a&2){var b;a=P();B();E("thinking",a.thinking);B();R(" ",a.fieldName," ");B();G(a.isCompatibleValue?-1:3);B(8);E("thinking",a.thinking);
B();G((b=a.fieldType)==="NUMERIC"?12:b==="DROPDOWN"?13:14)}},svb=function(a){a&1&&Q(0);a&2&&(a=P(2),R(" ",a.effort==null?null:a.effort.estimate," "))},tvb=function(a){a&1&&Q(0);a&2&&(a=P().$implicit,R(" ",a!=null?a:"--"," "))},uvb=function(a,b){a&1&&D(0,svb,1,1)(1,tvb,1,1);a&2&&(a=b.$implicit,b=P(),G(b.isNaN(a)?0:1))},vvb=function(a){a&1&&Q(0," -- ")},wvb=function(a){a&1&&(I(0,"div",12),Q(1),J(),I(2,"div",13),Q(3),J());a&2&&(a=P(),B(),Yg(a.staffingUserSummary),B(2),Yg(a.staffingPlaceholderSummary))},
xvb=function(a){a&1&&K(0,"mat-icon",3)},yvb=function(a){a&1&&K(0,"mat-icon",10)},zvb=function(a){a&1&&K(0,"mat-icon",11)},Avb=function(a){a&1&&(I(0,"span"),K(1,"b-formatted-date-time",21),J());a&2&&(a=P(2),B(),E("timestamp",a.sloStartTime))},Bvb=function(a){a&1&&(I(0,"span"),K(1,"b-formatted-date-time",21),I(2,"span"),Q(3," (default)"),J()());a&2&&(a=P(2),B(),E("timestamp",a.issueCreationTimestamp/1E3))},Cvb=function(a){if(a&1){var b=v();I(0,"slo-edit-date-time-picker",22);M("closePicker",function(){w(b);
var c=P(2);return x(c.isSloStartEditTimePickerOpen=!1)})("sloEditCommit",function(c){w(b);var d=P(2);return x(d.updateSloStartTime(c))});J()}a&2&&(a=P(2),E("sloStatus",a.sloStatus)("sloEditTime",a.sloStartTime))},Dvb=function(a){if(a&1){var b=v();I(0,"div",13)(1,"a",17);Q(2," Start Date: ");J();I(3,"div",18)(4,"a",19,0);M("keydown.enter",function(){w(b);var d=P();d.isSloStartEditTimePickerOpen=!d.isSloStartEditTimePickerOpen;return x()})("keydown.space",function(){w(b);var d=P();d.isSloStartEditTimePickerOpen=
!d.isSloStartEditTimePickerOpen;return x()})("click",function(){w(b);var d=P();d.isSloStartEditTimePickerOpen=!d.isSloStartEditTimePickerOpen;return x()});D(6,Avb,2,1,"span")(7,Bvb,4,1,"span");J();D(8,Cvb,1,2,"ng-template",20);J()()}if(a&2){a=L(5);var c=P();B(6);G(c.hasSloStartTime?6:7);B(2);E("cdkConnectedOverlayOrigin",a)("cdkConnectedOverlayOpen",c.isSloStartEditTimePickerOpen)}},Evb=function(a){a&1&&(I(0,"span"),Q(1," Set closure SLO "),J())},Fvb=function(a){a&1&&(I(0,"span"),K(1,"b-formatted-date-time",
21),J());a&2&&(a=P(2),B(),E("timestamp",a.sloEndTime))},Gvb=function(a){a&1&&(I(0,"span"),K(1,"b-formatted-date-time",21),I(2,"span"),Q(3," (default)"),J()());a&2&&(a=P(2),B(),E("timestamp",a.closureSloTarget*1E3))},Hvb=function(a){if(a&1){var b=v();I(0,"slo-edit-date-time-picker",22);M("closePicker",function(){w(b);var c=P(2);return x(c.isSloEndEditTimePickerOpen=!1)})("sloEditCommit",function(c){w(b);var d=P(2);return x(d.updateSloEndTime(c))});J()}a&2&&(a=P(2),E("sloStatus",a.sloStatus)("sloEditTime",
a.sloEndTime))},Ivb=function(a){if(a&1){var b=v();I(0,"div",14)(1,"a",17);Q(2," End Date: ");J();I(3,"div",18)(4,"a",23,0);M("click",function(){w(b);var d=P();d.isSloEndEditTimePickerOpen=!d.isSloEndEditTimePickerOpen;return x()})("keydown.enter",function(){w(b);var d=P();d.isSloEndEditTimePickerOpen=!d.isSloEndEditTimePickerOpen;return x()})("keydown.space",function(){w(b);var d=P();d.isSloEndEditTimePickerOpen=!d.isSloEndEditTimePickerOpen;return x()});D(6,Evb,2,0,"span")(7,Fvb,2,1,"span")(8,Gvb,
4,1,"span");J();D(9,Hvb,1,2,"ng-template",20);J()()}if(a&2){a=L(5);var c=P();B(6);G(c.hasClosureSlo?-1:6);B();G(c.hasClosureSlo&&c.hasSloEndTime?7:-1);B();G(c.hasClosureSlo&&!c.hasSloEndTime?8:-1);B();E("cdkConnectedOverlayOrigin",a)("cdkConnectedOverlayOpen",c.isSloEndEditTimePickerOpen)}},Jvb=function(a){a&1&&K(0,"b-user-membership-chip",24);a&2&&(a=P(2),E("user",a.escalationOwner)("email",a.userToDisplayString(a.escalationOwner))("enableSmallChip",!0))},Kvb=function(a){a&1&&Q(0," None ")},Lvb=
function(a){a&1&&(I(0,"div",15),Q(1," Owner: "),I(2,"div",18),D(3,Jvb,1,3,"b-user-membership-chip",24)(4,Kvb,1,0),J()());a&2&&(a=P(),B(3),G(a.escalationOwner?3:4))},Mvb=function(a,b){if(a&1){var c=v();I(0,"a",26);M("click",function(){w(c);var d=P(2);return x(d.trackOpenSlo())});Q(1);J()}a&2&&(a=P(2),jg("href",a.editSloLink,vf),B(),R(" ",b.name," "))},Nvb=function(a){a&1&&(I(0,"div",16),Q(1," SLO definition: "),D(2,Mvb,2,2,"a",25),S(3,"async"),J());if(a&2){var b;a=P();B(2);G((b=U(3,1,a.slo$))?2:-1,
b)}},Ovb=function(a){if(a&1){var b=v();I(0,"div",16)(1,"a",27);M("click",function(){w(b);P();So("component","open","fromIssueSloBox");return x()});Q(2,"Select an SLO");J()()}a&2&&(a=P(),B(),jg("href",a.componentSloLink,vf))},Pvb=function(a){return a&&a.teamId!=="0"?a.deleted?"DELETED":"VALID":"MISSING"},Qvb=function(a){a&1&&Cg(0)},Rvb=function(a){if(a&1){var b=v();I(0,"div",3);Q(1," Select a team from the suggestions below, or edit in ");I(2,"a",6);M("click",function(){w(b);var d=P();return x(d.trackClick("viewTeamAssociationOnComponent"))});
Q(3,"component settings");J();Q(4,". ");I(5,"mat-radio-group",7);bh("ngModelChange",function(d){w(b);var e=P();ah(e.teamAction,d)||(e.teamAction=d);return x(d)});I(6,"p")(7,"mat-radio-button",8);Q(8," Don't make any changes ");J()();I(9,"p")(10,"mat-radio-button",9);Q(11," Map component to selected team ");J()()();D(12,Qvb,1,0,"ng-container",10);J()}if(a&2){a=P();var c=L(5);B(2);E("href",a.componentSetting,vf);B(3);$g("ngModel",a.teamAction);B(7);E("ngTemplateOutlet",c)}},Svb=function(a){a&1&&Cg(0)},
Tvb=function(a){a&1&&(I(0,"div",3),Q(1," Assigned team no longer exists, select a different team from the suggestions below, or edit/opt out of team mapping in "),I(2,"a",11),Q(3,"component settings"),J(),Q(4,". "),D(5,Svb,1,0,"ng-container",10),J());if(a&2){a=P();var b=L(5);B(2);E("href",a.componentSetting,vf);B(3);E("ngTemplateOutlet",b)}},Uvb=function(a){a&1&&(I(0,"span",16),Q(1),J());a&2&&(a=P().$implicit,B(),Yg(a.teamPath))},Vvb=function(a){a&1&&Q(0," -- ")},Wvb=function(a,b){a&1&&D(0,Uvb,2,
1,"span",16)(1,Vvb,1,0);a&2&&G(b.$implicit?0:1)},Xvb=function(a){if(a&1){var b=v();I(0,"div",12)(1,"onedev-single-select",13);bh("valueChange",function(d){w(b);var e=P(2);ah(e.selectedTeam,d)||(e.selectedTeam=d);return x(d)});M("valueChange",function(d){w(b);var e=P(2);return x(e.selectOption(d))});J();D(2,Wvb,2,1,"ng-template",null,1,ih);I(4,"a",14);M("click",function(){w(b);var d=P(2);return x(d.trackClick("viewTeamInMoma"))});K(5,"mat-icon",15);J()()}if(a&2){a=L(3);var c=P(2);B();E("disabled",
c.teamAction==="NONE");$g("value",c.selectedTeam);E("options",c.teamOptions)("includeEmptyOption",!1)("optionTemplate",a);B(3);jg("href",c.getMomaTeamLink(),vf)}},Yvb=function(a){a&1&&D(0,Xvb,6,6,"div",12);a&2&&(a=P(),G(a.teamOptions.length>0?0:-1))},Zvb=function(a){if(a&1){var b=v();I(0,"b-callout-actions")(1,"b-button",1);M("click",function(){w(b);var c=P();return x(c.openDialog())});Q(2);J()()}a&2&&(a=P(),B(2),Yg(a.buttonName))},$vb=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)})},awb=function(a){return["PROD","NIGHTLY"].includes(a)?"production":"autopush"},bwb=function(a){a&1&&Cg(0)},cwb=function(a){a&1&&D(0,bwb,1,0,"ng-container",47);a&2&&(P(),a=L(95),E("ngTemplateOutlet",a))},ewb=function(a,b){a&1&&(K(0,"b-list-field",48),S(1,"async"));
a&2&&(a=P(3),E("readonly",!0)("defaultLineCount",3)("title","Team")("type",a.ListFieldType.TEAM)("values",eh(8,dwb,b))("showInternalOnlyFieldBadge",!U(1,6,a.issueIsOnInternalComponent$)))},fwb=function(a){a&1&&(D(0,ewb,2,10,"b-list-field",48),S(1,"async"));if(a&2){var b;a=P(2);G((b=U(1,1,a.teamHovercardInputs$))?0:-1,b)}},hwb=function(a){if(a&1){var b=v();I(0,"div",49)(1,"b-team-warning",50);S(2,"async");S(3,"async");M("updateTeam",function(){w(b);var h=P(3);h.issueFullFridge.poke(h.issueId);return x()});
J()()}if(a&2){var c,d;a=P();var e=P(),f=P();B();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:dh(8,gwb))}},iwb=function(a){a&1&&(D(0,hwb,4,9,"div",49),S(1,"async"));a&2&&(a=P(2),G(U(1,1,a.shouldDisplayTeamSuggestions$)?0:-1))},jwb=function(a){a&1&&Cg(0)},kwb=function(a){a&1&&D(0,jwb,1,0,"ng-container",47);a&2&&(P(),a=L(97),E("ngTemplateOutlet",a))},
lwb=function(a,b){if(a&1){var c=v();I(0,"div",51);K(1,"div",52);I(2,"span",53);S(3,"async");S(4,"async");M("click",function(){var d=w(c),e=P(3);return x(au(e,d))})("keydown.enter",function(d){var e=w(c);au(P(3),e);d.stopPropagation();return x(d.preventDefault())})("keydown.space",function(d){var e=w(c);au(P(3),e);d.stopPropagation();return x(d.preventDefault())});Q(5);J()()}a&2&&(a=P(3),B(2),sg("disabled",!!U(3,6,a.isSaving$(a.IssueFieldName.STATUS))),E("matTooltip",b.description||""),jg("aria-disabled",
!!U(4,8,a.isSaving$(a.IssueFieldName.STATUS)))("aria-label",b.displayText||null),B(3),R(" ",b.displayText," "))},mwb=function(a){a&1&&(D(0,lwb,6,10,"div",51),S(1,"async"));if(a&2){var b;a=P(2);G((b=U(1,1,a.issueStatusQuickAction$))?0:-1,b)}},nwb=function(a){a&1&&(I(0,"div",24),K(1,"b-edit-field",54,15),S(3,"async"),I(4,"div",51),K(5,"div",52),I(6,"a",55),S(7,"async"),Q(8," Open triage "),J()()());a&2&&(a=P(2),B(),E("name","phase")("title","Triage phase")("type",a.FieldType.ENUM)("value",U(3,8,a.triagePhase$))("choices",
a.phaseChoices)("showHotkeyHint",!1)("disabled",!0),B(5),E("href",U(7,10,a.triagePhaseUrl$),vf))},owb=function(a){a&1&&(K(0,"b-issue-card",56,16),S(2,"async"));if(a&2){a=L(1);var b=P(2);E("onedevIsHovercardReady",a.init)("issueId",U(2,2,b.canonicalIssueId$))}},qwb=function(a){if(a&1){var b=v();I(0,"b-estimated-effort-row",57);S(1,"async");S(2,"async");S(3,"async");M("effortChange",function(e){w(b);var f=P(2);return x(pwb(f.editIssueService,f.issueId,e))});J()}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$))}},rwb=function(a){a&1&&(I(0,"div"),Q(1," Expanded access is turned on for this component. Assignees, verifiers and collaborators can edit issues in this component, and CC'd users can comment on them. "),I(2,"a",61),Q(3,"Learn more"),J()());a&2&&(a=P(3),B(2),E("href",Aq(a.documentationLinks)+"#expanded-access",vf))},swb=function(a){a&1&&(I(0,"div",38)(1,
"span",58),Q(2,"Expanded Access"),J(),I(3,"xap-bubble",59)(4,"xap-icon-trigger"),K(5,"mat-icon",60),J(),D(6,rwb,4,1,"ng-template",null,17,ih),J()());a&2&&(a=L(7),B(3),E("panelTemplate",a))},twb=function(a){a&1&&(I(0,"span",65),S(1,"async"),Q(2),J());if(a&2){a=P();var b=P(3);sg("disabled",!!U(1,3,b.isSaving$(b.IssueFieldName.ASSIGNEE)));B(2);R(" ",a.displayText," ")}},uwb=function(a,b){if(a&1){var c=v();I(0,"div",63);S(1,"async");M("onHotkey",function(){var d=w(c),e=P(3);return x(au(e,d))})("click",
function(){var d=w(c),e=P(3);return x(au(e,d))})("keydown.enter",function(d){var e=w(c);au(P(3),e);d.stopPropagation();return x(d.preventDefault())})("keydown.space",function(d){var e=w(c);au(P(3),e);d.stopPropagation();return x(d.preventDefault())});K(2,"div",52);D(3,twb,3,5,"span",64);S(4,"async");J()}a&2&&(a=P(3),E("hotkey",a.HOTKEYS.ASSIGN_ISSUE_TO_DEFAULT_ASSIGNEE)("matTooltip",b.description),jg("aria-disabled",!!U(1,5,a.isSaving$(a.IssueFieldName.ASSIGNEE)))("aria-label",b.description),B(3),
G(U(4,7,a.hasAclToEdit$)?3:-1))},vwb=function(a){a&1&&(D(0,uwb,5,9,"div",62),S(1,"async"));if(a&2){var b;a=P(2);G((b=U(1,1,a.issueAssigneeQuickAction$))?0:-1,b)}},wwb=function(a){a&1&&Cg(0)},xwb=function(a){a&1&&D(0,wwb,1,0,"ng-container",47);a&2&&(P(),a=L(99),E("ngTemplateOutlet",a))},ywb=function(a){a&1&&K(0,"b-list-field",44);if(a&2){a=P();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")}},
zwb=function(a,b){a&1&&(D(0,ywb,1,6,"b-list-field",44),S(1,"async"));a&2&&(a=P(2),G(U(1,1,a.shouldDisplayWtdmUi$)&&b.length?0:-1))},Awb=function(a){a&1&&K(0,"b-list-field",44);if(a&2){a=P();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)")}},Cwb=function(a,b){a&1&&(I(0,"div"),Cg(1,66),J());a&2&&(a=b.$implicit,P(),b=L(111),B(),E("ngTemplateOutlet",
b)("ngTemplateOutletContext",eh(2,Bwb,a)))},Dwb=function(a){a&1&&Cg(0)},Ewb=function(a){a&1&&D(0,Dwb,1,0,"ng-container",47);a&2&&(P(),a=L(109),E("ngTemplateOutlet",a))},Fwb=function(a){a&1&&K(0,"hr",45)},Gwb=function(a){a&1&&Cg(0)},Hwb=function(a){a&1&&D(0,Gwb,1,0,"ng-container",47);a&2&&(P(2),a=L(95),E("ngTemplateOutlet",a))},Iwb=function(a){a&1&&Cg(0)},Jwb=function(a){a&1&&D(0,Iwb,1,0,"ng-container",47);a&2&&(P(2),a=L(97),E("ngTemplateOutlet",a))},Kwb=function(a){a&1&&Cg(0)},Lwb=function(a){a&1&&
D(0,Kwb,1,0,"ng-container",47);a&2&&(P(2),a=L(99),E("ngTemplateOutlet",a))},Mwb=function(a,b){a&1&&(I(0,"div"),Cg(1,66),J());a&2&&(a=b.$implicit,P(2),b=L(111),B(),E("ngTemplateOutlet",b)("ngTemplateOutletContext",eh(2,Bwb,a)))},Nwb=function(a){a&1&&Cg(0)},Owb=function(a){a&1&&D(0,Nwb,1,0,"ng-container",47);a&2&&(P(2),a=L(109),E("ngTemplateOutlet",a))},Pwb=function(a){a&1&&(I(0,"collapsible-panel",46),S(1,"async"),D(2,Hwb,1,1,"ng-container"),S(3,"async"),D(4,Jwb,1,1,"ng-container"),S(5,"async"),D(6,
Lwb,1,1,"ng-container"),S(7,"async"),yg(8,Mwb,2,4,"div",null,v()[15][8].trackCustomField,!0),S(10,"async"),D(11,Owb,1,1,"ng-container"),S(12,"async"),J());if(a&2){var b;a=P(2);E("titleWhenCollapsed",(b=U(1,6,a.showHiddenFieldsLabel$))!==null&&b!==void 0?b:"")("titleWhenExpanded","Hide additional fields");B(2);G(a.showSloStatus&&!U(3,8,a.isSloStatusPrimary$)?2:-1);B(2);G(U(5,10,a.isSeverityPrimary$)?-1:4);B(2);G(a.showCodeChanges&&!U(7,12,a.isChangelistPrimary$)?6:-1);B(2);zg(U(10,14,a.hiddenCustomFields$));
B(3);G(U(12,16,a.isForgottenFourPrimary$)?-1:11)}},Qwb=function(a){if(a&1){var b=v();I(0,"b-issue-slo-box",68);S(1,"async");S(2,"async");S(3,"async");S(4,"async");S(5,"async");M("onSloStartTimeChange",function(h){w(b);var l=P(3);return x(l.editIssueService.updateSloStartTime(l.issueId,h.date))})("onSloEndTimeChange",function(h){w(b);var l=P(3);return x(l.editIssueService.updateSloEndTime(l.issueId,h.date))});J()}if(a&2){var c,d,e;a=P(2);var f=P();E("sloStatus",(c=U(1,9,f.sloStatus$))!==null&&c!==
void 0?c:void 0)("sloStartTime",a.sloStartTime)("sloEndTime",a.sloEndTime)("sloId",(d=U(2,11,f.sloId$))!==null&&d!==void 0?d:void 0)("componentId",a.componentId)("isEditable",!!U(3,13,f.hasAclToEdit$))("issueCreationTimestamp",(e=U(4,15,f.createdTimeMicros$))!==null&&e!==void 0?e:0)("showInternalOnlyFieldBadge",!U(5,17,f.issueIsOnInternalComponent$))("escalationOwner",a.escalationOwner)}},Rwb=function(a){a&1&&D(0,Qwb,6,19,"ng-template",67);a&2&&(a=P(2),E("refreshable",a.refreshMonitor.getObservable()))},
Twb=function(a){if(a&1){var b=v();I(0,"b-edit-field",69);S(1,"async");S(2,"async");M("valueChange",function(d){w(b);var e=P(2);return x(Swb(e.editIssueService,e.issueId,d!==null&&d!==void 0?d:""))});J()}if(a&2){a=P();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$(c.IssueFieldName.SEVERITY)))}},
Uwb=function(a){if(a&1){var b=v();I(0,"insights-graph-btn",72);M("pressed",function(){w(b);var c=P(3);return x(c.issueInsightsSidebarService.onClickButton("deployments"))});J()}},Xwb=function(a){if(a&1){var b=v();I(0,"b-list-field",70);S(1,"async");S(2,"async");M("valuesChange",function(h){w(b);var l=P(2),q=[],u=[];h=k(h.values);for(var A=h.next();!A.done;A=h.next()){A=A.value;var F=Il(A);F?q.push(F):u.push(A)}Vwb(l.editIssueService,l.issueId,u);Wwb(l.editIssueService,l.issueId,q);return x()});I(3,
"div",71);D(4,Uwb,1,0,"insights-graph-btn");S(5,"async");J()();K(6,"b-list-field",44);S(7,"async");S(8,"async");S(9,"async")}if(a&2){var c,d,e;a=P();var f=P();E("readonly",!U(1,16,f.hasAclToEdit$))("defaultLineCount",3)("title","Code Changes")("inputValidator",f.codeChangesValidator)("type",f.ListFieldType.CODE_CHANGES)("values",$Za(a,f.sessionIsExternal))("listFieldDisabled",!!U(2,18,f.isSaving$(f.IssueFieldName.CHANGELISTS)));B(4);G(U(5,20,f.issueInsightsSidebarService.shouldShowInsightsGraphButton$)?
4:-1);B(2);sg("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)||dh(28,gwb))("tooltip",((e=U(9,26,f.pendingCodeChanges$))==null?0:e.hasError)?"Error fetching pending changelists":"Pending code changes (auto-populated)")}},Zwb=function(a){if(a&1){var b=v();I(0,"b-edit-field",73);S(1,"csv");S(2,
"async");S(3,"async");M("valueChange",function(d){w(b);var e=P(2);return x(Ywb(e.editIssueService,e.issueId,d!==null&&d!==void 0?d:""))});J()}if(a&2){a=P();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$(c.IssueFieldName.FOUND_IN_VERSION)))}},axb=function(a){if(a&
1){var b=v();I(0,"b-edit-field",74);S(1,"csv");S(2,"async");S(3,"async");M("valueChange",function(d){w(b);var e=P(2);return x($wb(e.editIssueService,e.issueId,d!==null&&d!==void 0?d:""))});J()}if(a&2){a=P();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$(c.IssueFieldName.TARGETED_TO_VERSION)))}},cxb=function(a){if(a&1){var b=v();I(0,"b-edit-field",73);S(1,"csv");S(2,"async");S(3,"async");M("valueChange",function(d){w(b);var e=P(2);return x(bxb(e.editIssueService,e.issueId,d!==null&&d!==void 0?d:""))});J()}if(a&2){a=P();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$(c.IssueFieldName.VERIFIED_IN_VERSION)))}},exb=function(a){if(a&1){var b=v();I(0,"b-edit-field",75);S(1,"async");S(2,"async");M("valueChange",function(d){w(b);var e=P(2);return x(dxb(e.editIssueService,e.issueId,d!==null&&d!==void 0?d:!1))});J()}if(a&2){a=P();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$(c.IssueFieldName.IN_PROD)))}},fxb=function(a){a&1&&Cg(0)},gxb=function(a){a&1&&Cg(0)},hxb=function(a){a&1&&Cg(0)},ixb=function(a){a&1&&Cg(0)},jxb=function(a){a&1&&(I(0,"div",20),D(1,fxb,1,0,"ng-container",47)(2,gxb,1,0,"ng-container",47)(3,hxb,1,0,"ng-container",47)(4,ixb,1,0,"ng-container",47),J());if(a&2){P();a=L(101);var b=L(103),c=L(105),d=L(107);B();E("ngTemplateOutlet",a);B();E("ngTemplateOutlet",b);B();E("ngTemplateOutlet",c);B();E("ngTemplateOutlet",
d)}},lxb=function(a,b){if(a&1){var c=v();I(0,"b-custom-field-editor",76);S(1,"async");S(2,"async");M("save",function(e){var f=w(c).$implicit,h=P(2);return x(h.editIssueService.updateCustomField(h.issueId,f.customFieldId,e))});J()}if(a&2){a=b.$implicit;b=P();var d=P();E("issue",b)("field",a)("readonly",!U(1,4,d.hasAclToEdit$))("disabled",!!U(2,6,d.isSaving$(eh(8,kxb,a.customFieldId))))}},xxb=function(a,b){if(a&1){var c=v();D(0,cwb,1,1,"ng-container");S(1,"async");D(2,fwb,2,3)(3,iwb,2,3);S(4,"async");
I(5,"b-single-user-control",18);S(6,"async");M("valueChange",function(H){w(c);var N=P();return x(mxb(N,H))})("emailChange",function(H){w(c);var N=P();return x(nxb(N.editIssueService,N.issueId,H))});J();I(7,"b-edit-field",19,0);S(9,"async");S(10,"async");M("valueChange",function(H){w(c);var N=L(8),O=P();return x(oxb(O,N,H!==null&&H!==void 0?H:"",O.getTrackerId()))});J();I(11,"div",20)(12,"b-edit-field",21,1);S(14,"async");S(15,"async");M("onHotkey",function(){w(c);var H=L(13);return x(Yq(H,null,!0,
!1))})("valueChange",function(H){w(c);var N=P();return x(pxb(N.editIssueService,N.issueId,H!==null&&H!==void 0?H:""))});J();D(16,kwb,1,1,"ng-container");S(17,"async");J();I(18,"div",22)(19,"b-edit-field",23,2);S(21,"async");S(22,"async");S(23,"async");S(24,"async");M("onHotkey",function(){w(c);var H=L(20);return x(Yq(H,null,!0,!1))})("valueChange",function(H){w(c);var N=P();return x(N.onStatusChanged(H!==null&&H!==void 0?H:""))});J();D(25,mwb,2,3);S(26,"async");J();D(27,nwb,9,12,"div",24);I(28,"onedev-hovercard",
null,3);D(30,owb,3,4,"b-issue-card",25);J();D(31,qwb,4,9,"b-estimated-effort-row",26);S(32,"async");S(33,"async");I(34,"div",27)(35,"div",28)(36,"div",29)(37,"label");Q(38,"Access");J()();I(39,"div",30)(40,"span",31);Q(41);S(42,"async");J();I(43,"div",32);S(44,"async");S(45,"async");M("click",function(){w(c);var H=P();return x(H.toggleAccessLimits())})("keydown.enter",function(H){w(c);var N=P();return x(N.toggleAccessLimitsWithKeystroke(H))})("keydown.space",function(H){w(c);var N=P();return x(N.toggleAccessLimitsWithKeystroke(H))});
I(46,"span");Q(47);S(48,"async");J()()()();I(49,"onedev-hovercard",null,4)(51,"div",33)(52,"div",34)(53,"span",35);Q(54," Issue access level can only be set by Issue admins and it enables issue-level access control. ");I(55,"a",36);Q(56,"Learn more");J()()()()()();I(57,"div",37);S(58,"async");D(59,swb,8,1,"div",38);S(60,"async");I(61,"b-single-user-control",39,5);S(63,"async");M("onHotkey",function(){w(c);var H=L(62);return x(H.openEditor())})("valueChange",function(H){w(c);var N=P();return x(qxb(N,
H))})("emailChange",function(H){w(c);var N=P();return x(rxb(N.editIssueService,N.issueId,H))});J();D(64,vwb,2,3);S(65,"async");I(66,"b-single-user-control",40);S(67,"async");M("valueChange",function(H){w(c);var N=P();return x(sxb(N,H))})("emailChange",function(H){w(c);var N=P();return x(txb(N.editIssueService,N.issueId,H))});J();Ag(68);I(69,"b-multi-user-control",41);S(70,"async");S(71,"async");S(72,"async");M("userInclusionToggle",function(){w(c);var H=P();return x(H.toggleCollaborators())})("valueChange",
function(H){w(c);var N=P();return x(uxb(N,H))})("toggleAccessLimits",function(){w(c);var H=P();return x(H.toggleAccessLimits())});J();I(73,"b-multi-user-control",42);S(74,"async");S(75,"async");S(76,"async");M("userInclusionToggle",function(){w(c);var H=P();return x(vxb(H))})("valueChange",function(H){w(c);var N=P();return x(wxb(N,H))});J();Bg();J();D(77,xwb,1,1,"ng-container");S(78,"async");D(79,zwb,2,3);S(80,"async");K(81,"b-staffing-row",43);S(82,"async");S(83,"async");D(84,Awb,1,6,"b-list-field",
44);yg(85,Cwb,2,4,"div",null,v()[15][8].trackCustomField,!0);S(87,"async");D(88,Ewb,1,1,"ng-container");S(89,"async");D(90,Fwb,1,0,"hr",45);S(91,"async");D(92,Pwb,13,18,"collapsible-panel",46);S(93,"async");D(94,Rwb,1,1,"ng-template",null,6,ih)(96,Twb,3,12,"ng-template",null,7,ih)(98,Xwb,10,29,"ng-template",null,8,ih)(100,Zwb,4,14,"ng-template",null,9,ih)(102,axb,4,14,"ng-template",null,10,ih)(104,cxb,4,14,"ng-template",null,11,ih)(106,exb,3,11,"ng-template",null,12,ih)(108,jxb,5,4,"ng-template",
null,13,ih)(110,lxb,3,10,"ng-template",null,14,ih)}if(a&2){var d,e,f,h,l,q,u;a=L(29);var A=L(50),F=P();G(F.showSloStatus&&U(1,97,F.isSloStatusPrimary$)?0:-1);B(2);G(F.sessionIsInternal?2:-1);B();G((d=U(4,99,F.teamWarningType$))?3:-1,d);B(2);E("name","reporter")("title","Reporter")("value",b.reporter)("user",(e=b.reporterUser)!==null&&e!==void 0?e:void 0)("isSaving",U(6,101,F.isSaving$(F.IssueFieldName.REPORTER)));B(2);E("name","type")("title","Type")("type",F.FieldType.ENUM)("value",b.type)("choices",
F.typeChoices)("readonly",!U(9,103,F.hasAclToEdit$))("disabled",!!U(10,105,F.isSaving$(F.IssueFieldName.TYPE)));B(5);E("name","priority")("title","Priority")("type",F.FieldType.ENUM)("tooltip","Set priority, which reflects how soon the issue should be fixed")("value",b.priority)("choices",F.priorityChoices)("hotkey",F.HOTKEYS.OPEN_ISSUE_PRIORITY_MENU)("readonly",!U(14,107,F.hasAclToEdit$))("disabled",!!U(15,109,F.isSaving$(F.IssueFieldName.PRIORITY)));B(4);G(U(17,111,F.isSeverityPrimary$)?16:-1);
B(3);E("name","status")("title","Status")("type",F.FieldType.ENUM)("value",b.status)("choices",(f=U(21,113,F.statusChoices$))!==null&&f!==void 0?f:dh(173,gwb))("showHotkeyHint",!0)("hotkey",F.HOTKEYS.OPEN_ISSUE_STATUS_MENU)("readonly",!U(22,115,F.hasAclToEdit$))("disabled",!!U(23,117,F.isSaving$(F.IssueFieldName.STATUS)))("onedevHovercardActive",!!U(24,119,F.canonicalIssueId$))("onedevHovercardTrigger",a);B(6);G(U(26,121,F.hasAclToEdit$)?25:-1);B(2);G(F.enableTriageView?27:-1);B(4);G(U(32,123,F.isEffortEnabled$)&&
U(33,125,F.shouldDisplayEffort$)?31:-1);B(4);E("onedevHovercardTrigger",A)("onedevHovercardActive",!0)("onedevHovercardConfig",F.ACCESS_LIMITS_HOVERCARD_CONFIG);B(6);Yg(F.getAccessLimitLevelDisplay(U(42,127,F.accessLimitLevel$)));B(2);E("matTooltip",U(44,129,F.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)");jg("aria-label",U(45,131,F.hasAclToAdmin$)?"Edit":"View");B(4);
R(" ",U(48,133,F.hasAclToAdmin$)?"Edit":"View"," ");B(8);E("href",F.documentationLinks.getIssueAccessLimit(),vf);B(2);sg("implicit-access-box",U(58,135,F.isImplicitAccessEnabled$));B(2);G(U(60,137,F.isImplicitAccessEnabled$)?59:-1);B(2);E("name","assignee")("title","Assignee")("hotkey",F.HOTKEYS.CHANGE_ASSIGNEE)("value",b.assignee)("user",(h=b.assigneeUser)!==null&&h!==void 0?h:void 0)("isSaving",U(63,139,F.isSaving$(F.IssueFieldName.ASSIGNEE)));B(3);G(F.defaultAssigneeQuickActionEnabled&&U(65,141,
F.hasAclToEdit$)?64:-1);B(2);E("name","verifier")("title","Verifier")("value",b.verifier)("user",(l=b.verifierUser)!==null&&l!==void 0?l:void 0)("isSaving",U(67,143,F.isSaving$(F.IssueFieldName.VERIFIER)));B(3);E("title","Collaborators")("values",b.collaborators)("users",b.collaboratorsUsers)("includeSelfActionDescription","Add me")("includeSelfActionLongDescription","Add yourself to collaborators")("removeSelfActionDescription","Remove me")("removeSelfActionLongDescription","Remove yourself from collaborators")("collectionHovercardDescription",
"Collaborators are people directly working on this issue.")("isSaving",U(70,145,F.isSaving$(F.IssueFieldName.COLLABORATORS)))("isCurrentUserInCollection",U(71,147,F.isCurrentUserCollaborator$))("isAllowedToEditCollection",U(72,149,F.hasAclToEdit$))("iconName","groups_24px")("inputValidator",F.collaboratorUserPrincipalValidator)("checkAccessLimits",!0);B(4);E("title","CC")("values",b.cc)("users",b.ccUsers)("includeSelfActionDescription","CC me")("includeSelfActionLongDescription","Add yourself to CC")("removeSelfActionDescription",
"Un-CC me")("removeSelfActionLongDescription","Remove yourself from CC")("collectionHovercardDescription","CC are users who want to receive updates.")("isSaving",U(74,151,F.isSaving$(F.IssueFieldName.CCS)))("isCurrentUserInCollection",U(75,153,F.isCurrentUserCCd$))("isAllowedToEditCollection",U(76,155,F.isAllowedToEditCC$))("iconName","add_alert_24px");B(4);G(F.showCodeChanges&&U(78,157,F.isChangelistPrimary$)?77:-1);B(2);G((q=U(80,159,F.workspaces$))?79:-1,q);B(2);E("staffing",(u=U(82,161,F.staffing$))!==
null&&u!==void 0?u:void 0)("issueId",F.issueId)("isAllowedToEdit",U(83,163,F.hasAclToEdit$));B(3);G(!F.sessionIsExternal&&(b.postmortems==null?0:b.postmortems.length)?84:-1);B();zg(U(87,165,F.visibleCustomFields$));B(3);G(U(89,167,F.isForgottenFourPrimary$)?88:-1);B(2);G(U(91,169,F.hasHiddenFields$)?90:-1);B(2);G(U(93,171,F.hasHiddenFields$)?92:-1)}},yxb=function(a,b){if(a&1){var c=v();I(0,"a",18);M("click",function(){w(c);P().analytics.trackEvent("issueSidebar","navigate","issueDetailsPage");return x()});
I(1,"span",19);Q(2,"Navigate to issue ");J();Q(3);J();I(4,"button",20);M("click",function(){var d=w(c),e=P();return x(e.copyIssueId(d))});K(5,"mat-icon",21);J()}a&2&&(Kg("href","/issues/",b,"",vf),B(3),R(" ",b," "))},zxb=function(a,b){if(a&1){var c=v();I(0,"b-app-vote-button",22);M("onVote",function(d){w(c);var e=P();return x(e.upvoted(d))});J()}a&2&&E("issueId",b.issueId)("upvoted",!(b.userData==null||!b.userData.voted))("voteCount",(b.aggregatedData==null?null:b.aggregatedData.voteCount)||0)},Bxb=
function(a){if(a&1){var b=v();I(0,"span");Q(1);J();I(2,"button",24);M("click",function(){w(b);var c=P(2);return x(Axb(c))});K(3,"mat-icon",25);J()}a&2&&(a=P(),jg("title",a.snapshot[0].title),B(),R(" ",a.snapshot[0].title," "),B(),E("matTooltipShowDelay",500))},Dxb=function(a){if(a&1){var b=v();I(0,"button",31);M("click",function(){w(b);var c=P(3);return x(Cxb(c))});Q(1,"Cancel");J()}},Exb=function(a){a&1&&Q(0," Update title ")},Fxb=function(a){a&1&&Cg(0)},Gxb=function(a){a&1&&D(0,Fxb,1,0,"ng-container",
32);a&2&&(P(3),a=L(23),E("ngTemplateOutlet",a))},Hxb=function(a){if(a&1){var b=v();I(0,"mat-form-field",26)(1,"textarea",27);bh("ngModelChange",function(c){w(b);var d=P(2);ah(d.draftTitle,c)||(d.draftTitle=c);return x(c)});J()();I(2,"div",28);D(3,Dxb,2,0,"button",29);I(4,"button",30);M("click",function(){w(b);var c=P(2);return x(c.saveTitle())});D(5,Exb,1,0)(6,Gxb,1,1,"ng-container");J()()}a&2&&(a=P(2),B(),E("cdkTextareaAutosize",!0)("cdkAutosizeMinRows",1),$g("ngModel",a.draftTitle),E("bFocus",!0),
B(2),G(a.isSavingTitle?-1:3),B(),E("disabled",a.isSavingTitle),B(),G(a.isSavingTitle?6:5))},Ixb=function(a){a&1&&(I(0,"div",15)(1,"div",23),D(2,Bxb,4,3)(3,Hxb,7,7),J()());a&2&&(a=P(),B(2),G(a.editTitleMode?-1:2),B(),G(a.editTitleMode?3:-1))},Jxb=function(a){a&1&&(I(0,"xap-dialog-layout")(1,"xap-dialog-layout-content")(2,"div"),Q(3," AI-generated summaries may contain inaccurate or offensive information that does not represent Google's views. Buganizer and other AI API usage does not store or log the issue's contents for any training purposes. "),
J()()())},Kxb=function(a){if(a&1){var b=v();I(0,"button",54);M("click",function(){w(b);var c=P(5);return x(c.generateIssueSummary())});Q(1," Generate ");J()}},Lxb=function(a){a&1&&K(0,"mat-icon",44)},Mxb=function(a){a&1&&K(0,"mat-icon",45)},Nxb=function(a){if(a&1){var b=v();I(0,"button",55);M("click",function(){w(b);var c=P(5);return x(c.isIssueSummaryExpanded=!c.isIssueSummaryExpanded)});D(1,Lxb,1,0,"mat-icon",44)(2,Mxb,1,0,"mat-icon",45);J()}a&2&&(a=P(5),E("matTooltipShowDelay",1E3),jg("aria-expanded",
a.isIssueSummaryExpanded),B(),G(a.isIssueSummaryExpanded?-1:1),B(),G(a.isIssueSummaryExpanded?2:-1))},Oxb=function(a){a&1&&Cg(0,56);a&2&&(P(6),a=L(23),E("ngTemplateOutlet",a))},Pxb=function(a){a&1&&K(0,"b-markdown-format-presenter",57);a&2&&(a=P(),E("content",a.formattedSummary))},Qxb=function(a){a&1&&(I(0,"div"),Q(1),J());a&2&&(a=P(),B(),R(" ",a.summary," "))},Rxb=function(a,b){if(a&1){var c=v();D(0,Pxb,1,1,"b-markdown-format-presenter",57)(1,Qxb,2,1,"div");I(2,"div",58)(3,"button",59);M("click",
function(){var d=w(c),e=P(7);return x(e.copySummary(d))});K(4,"mat-icon",60);J();I(5,"button",61);M("click",function(){var d=w(c),e=P(7);return x(e.openFeedbackDialog(d))});K(6,"mat-icon",62);J();I(7,"button",63);M("click",function(){var d=w(c),e=P(7);return x(e.trackThumbsUp(d))});K(8,"mat-icon",64);J();I(9,"button",65);M("click",function(){var d=w(c),e=P(7);return x(e.trackThumbsDown(d))});K(10,"mat-icon",66);J()()}a&2&&(a=P(7),G(b.formattedSummary?0:1),B(7),E("disabled",a.hasRatedSummary),B(),
sg("has-reacted-icon",a.summaryThumbsUp),B(),E("disabled",a.hasRatedSummary),B(),sg("has-reacted-icon",a.summaryThumbsDown))},Sxb=function(a){a&1&&(D(0,Rxb,11,7),S(1,"async"));if(a&2){var b;a=P(6);G((b=U(1,1,a.issueSummary$))?0:-1,b)}},Txb=function(a){a&1&&(I(0,"div",53),D(1,Oxb,1,1,"ng-container",56)(2,Sxb,2,3),J());if(a&2){a=P(2);var b=P(3);B();G(a===b.GENERATING?1:a===b.SUMMARY_VISIBLE?2:-1)}},Uxb=function(a){a&1&&(I(0,"div",47)(1,"div",34)(2,"div",35),K(3,"mat-icon",48),I(4,"span"),Q(5,"AI-GENERATED SUMMARY"),
J(),I(6,"button",49),K(7,"mat-icon",50),J(),D(8,Jxb,4,0,"ng-template",null,2,ih),J(),D(10,Kxb,2,0,"button",51)(11,Nxb,3,4,"button",52),J(),D(12,Txb,3,1,"div",53),J());if(a&2){a=L(9);var b=P(),c=P(3);B(6);E("xapInlineDialog",a)("dialogTabIndex",0);B(4);G(b===c.BUTTON?10:-1);B();G(b===c.SUMMARY_VISIBLE?11:-1);B();G(c.isIssueSummaryExpanded?12:-1)}},Vxb=function(a,b){a&1&&D(0,Uxb,13,5,"div",47);a&2&&(a=P(3),G(b!==a.HIDDEN?0:-1))},Wxb=function(a){a&1&&(D(0,Vxb,1,1),S(1,"async"));if(a&2){var b;a=P(2);
G((b=U(1,1,a.stage$))?0:-1,b)}},Xxb=function(a){a&1&&(I(0,"span"),Q(1," No update yet "),J())},Yxb=function(a){if(a&1){var b=v();I(0,"button",67);M("click",function(){w(b);var c=P(2);return x(c.editStatusUpdate())});K(1,"mat-icon",25);J()}a&2&&E("matTooltipShowDelay",1E3)},Zxb=function(a){a&1&&K(0,"mat-icon",44)},$xb=function(a){a&1&&K(0,"mat-icon",45)},ayb=function(a){if(a&1){var b=v();I(0,"button",68);M("click",function(){w(b);var c=P(2);return x(c.isStatusUpdateExpanded=!c.isStatusUpdateExpanded)});
D(1,Zxb,1,0,"mat-icon",44)(2,$xb,1,0,"mat-icon",45);J()}a&2&&(a=P(2),E("matTooltipShowDelay",1E3),jg("aria-expanded",a.isStatusUpdateExpanded),B(),G(a.isStatusUpdateExpanded?-1:1),B(),G(a.isStatusUpdateExpanded?2:-1))},byb=function(a,b){a&1&&(K(0,"b-note-container",70),S(1,"async"));if(a&2){var c;a=P();var d=P(),e=P(2);E("issueId",b)("note",d)("issueAccessLevel",U(1,4,e.accessLevel$))("formattingMode",(c=a.formattingMode)!==null&&c!==void 0?c:e.FormattingMode.PLAIN)}},cyb=function(a){a&1&&(I(0,"div",
69),D(1,byb,2,6,"b-note-container",70),S(2,"async"),J());if(a&2){var b;a=P();var c=P(2);B();G((b=a.unlinkifiedComment!==""&&U(2,1,c.issueId$))?1:-1,b)}},dyb=function(a){a&1&&(D(0,cyb,3,3,"div",69),S(1,"async"));if(a&2){var b;a=P(2);G((b=U(1,1,a.statusUpdate$))?0:-1,b)}},eyb=function(a){a&1&&(I(0,"span"),Q(1," No description yet "),J())},gyb=function(a){if(a&1){var b=v();I(0,"button",74);M("click",function(){w(b);var c=P(3);return x(fyb(c))});K(1,"mat-icon",25);J()}a&2&&E("matTooltipShowDelay",1E3)},
hyb=function(a){a&1&&K(0,"mat-icon",44)},iyb=function(a){a&1&&K(0,"mat-icon",45)},jyb=function(a){if(a&1){var b=v();I(0,"button",75);M("click",function(){w(b);var c=P(3);return x(c.isDescriptionExpanded=!c.isDescriptionExpanded)});D(1,hyb,1,0,"mat-icon",44)(2,iyb,1,0,"mat-icon",45);J()}a&2&&(a=P(3),E("matTooltipShowDelay",1E3),jg("aria-expanded",a.isDescriptionExpanded),B(),G(a.isDescriptionExpanded?-1:1),B(),G(a.isDescriptionExpanded?2:-1))},kyb=function(a,b){a&1&&(K(0,"b-note-container",70),S(1,
"async"));if(a&2){var c;a=P();var d=P(2),e=P(2);E("issueId",b)("note",a)("issueAccessLevel",U(1,4,e.accessLevel$))("formattingMode",(c=d[0].formattingMode)!==null&&c!==void 0?c:e.FormattingMode.PLAIN)}},lyb=function(a){if(a&1){var b=v();I(0,"div",77)(1,"a",78);M("click",function(){w(b);var c=P(5);c.analytics.trackEvent("issueSidebar","showMoreDescription");c.showFullDescription=!0;return x()});Q(2," Show more ");J()()}},myb=function(a){a&1&&(I(0,"div",76),D(1,kyb,2,6,"b-note-container",70),S(2,"async"),
S(3,"async"),J(),D(4,lyb,3,0,"div",77));if(a&2){var b;a=P(4);sg("full-height",a.showFullDescription);B();G((b=U(2,4,a.hasDescription$)&&U(3,6,a.issueId$))?1:-1,b);B(3);G(!a.showFullDescription&&a.descriptionHasMore?4:-1)}},nyb=function(a){a&1&&(I(0,"div",73,3),D(2,myb,5,8),S(3,"async"),S(4,"async"),J());if(a&2){var b;a=P(3);B(2);G((b=U(3,1,a.hasDescription$)&&U(4,3,a.firstNote$))?2:-1,b)}},oyb=function(a){a&1&&(I(0,"div",40)(1,"div",34)(2,"div",35)(3,"span"),Q(4,"DESCRIPTION"),J()(),I(5,"div",37),
D(6,eyb,2,0,"span"),S(7,"async"),D(8,gyb,2,1,"button",71),S(9,"async"),S(10,"async"),D(11,jyb,3,4,"button",72),S(12,"async"),J()(),D(13,nyb,5,5,"div",73),J());a&2&&(a=P(2),B(6),G(U(7,4,a.hasDescription$)?-1:6),B(2),G(!a.isDescriptionExpanded&&U(9,6,a.hasDescription$)||!U(10,8,a.userCanEditDescription$)?-1:8),B(3),G(U(12,10,a.hasDescription$)?11:-1),B(2),G(a.isDescriptionExpanded?13:-1))},pyb=function(a){a&1&&Cg(0)},qyb=function(a){a&1&&D(0,pyb,1,0,"ng-container",32);a&2&&(P(2),a=L(23),E("ngTemplateOutlet",
a))},ryb=function(a){a&1&&K(0,"mat-icon",44)},syb=function(a){a&1&&K(0,"mat-icon",45)},tyb=function(a){a&1&&(I(0,"div",46),K(1,"edit-issue-metadata",79),J());a&2&&(a=P(),B(),E("issueId",a.issueId))},uyb=function(a){if(a&1){var b=v();I(0,"div",17);D(1,Wxb,2,3);I(2,"div",33)(3,"div",34)(4,"div",35);K(5,"mat-icon",36);I(6,"span");Q(7," STATUS UPDATE ");J()();I(8,"div",37);D(9,Xxb,2,0,"span");S(10,"async");D(11,Yxb,2,1,"button",38);S(12,"async");S(13,"async");D(14,ayb,3,4,"button",39);S(15,"async");J()();
D(16,dyb,2,3);S(17,"async");J();D(18,oyb,14,12,"div",40);S(19,"async");D(20,qyb,1,1,"ng-container");I(21,"div",41)(22,"div",34)(23,"div",35);K(24,"mat-icon",42);I(25,"span");Q(26,"FIELDS");J()();I(27,"button",43);M("click",function(){w(b);var e=P();return x(e.isFieldsExpanded=!e.isFieldsExpanded)});D(28,ryb,1,0,"mat-icon",44)(29,syb,1,0,"mat-icon",45);J()();D(30,tyb,2,1,"div",46);J()()}if(a&2){var c,d;a=P();B();G(a.enableIssueSummarizationNoButton?1:-1);B(8);G(U(10,11,a.hasStatusUpdate$)?-1:9);B(2);
G(!a.isStatusUpdateExpanded&&U(12,13,a.hasStatusUpdate$)||!U(13,15,a.userCanEditStatusUpdate$)?-1:11);B(3);G(U(15,17,a.hasStatusUpdate$)?14:-1);B(2);G((c=a.isStatusUpdateExpanded&&U(17,19,a.statusUpdateNote$))?16:-1,c);B(2);G((d=U(19,21,a.events$))?18:20,d);B(9);E("matTooltipShowDelay",1E3);jg("aria-expanded",a.isFieldsExpanded);B();G(a.isFieldsExpanded?-1:28);B();G(a.isFieldsExpanded?29:-1);B();G(a.isFieldsExpanded?30:-1)}},vyb=function(a){a&1&&Cg(0)},wyb=function(a){a&1&&D(0,vyb,1,0,"ng-container",
32);a&2&&(P(),a=L(23),E("ngTemplateOutlet",a))},xyb=function(a){a&1&&(I(0,"div",80),K(1,"b-spinner"),J())},yyb=function(a){a&1&&(Q(0," This issue has not been modified since "),K(1,"b-formatted-date-time",1),Q(2," and is scheduled for deletion on "),I(3,"strong"),K(4,"b-formatted-date-time",1),J(),Q(5,". "));a&2&&(a=P(2),B(),E("mode","date")("timestamp",a.modifiedTime)("paddingLeftPx",0),B(3),E("mode","date")("timestamp",a.retentionExpireTime)("paddingLeftPx",0))},zyb=function(a){a&1&&Q(0," This issue is retained indefinitely. ")},
Ayb=function(a){a&1&&(D(0,yyb,6,6)(1,zyb,1,0),I(2,"a",0),Q(3,"Learn more"),J());a&2&&(a=P(),G(a.retentionState.retentionPeriod?0:1),B(2),E("href",a.documentationLink,vf))},Byb=function(a){a&1&&(I(0,"b-base-chip",0)(1,"div",1),K(2,"retention-text",2),J(),I(3,"div",3),K(4,"retention-help-text",4),J()());a&2&&(a=P(),E("compactMode",a.compactMode)("labelClass",a.dangerZone?"danger":"expiring")("labelOnlyMode",a.labelOnlyMode),B(2),E("retentionState",a.retentionState)("compactMode",a.compactMode),B(2),
E("retentionState",a.retentionState)("modifiedTime",a.modifiedTime))},Cyb=function(a){var b=b===void 0?new Date:b;var c=a.retentionPeriod;return b.getTime()>=Ml(a.scheduledDeletionTime)-Math.max(12096E5,.2*(c?c.seconds*1E3+(c.nanos||0)/1E6:0))},Fyb=function(a){if(a&1){var b=v();I(0,"issue-sidebar",10);M("closeSidebar",function(){w(b);var d=P(2);return x(d.isIssueSidebarOpen=!1)})("navigateToNextIssue",function(){w(b);var d=P(2);return x(Dyb(d))})("navigateToPreviousIssue",function(){w(b);var d=P(2);
return x(Eyb(d))});J()}if(a&2){var c;a=P(2);E("issueId",(c=a.getFocusedIssue())==null?null:c.issueId)}},Gyb=function(a){a&1&&Cg(0)},Hyb=function(a){if(a&1){var b=v();I(0,"mat-sidenav-container",6,2)(2,"mat-sidenav",7);M("openedChange",function(d){w(b);P().anayltics.trackEvent("issueSidebar",d?"open":"close");return x()});D(3,Fyb,1,1,"issue-sidebar",8);J();I(4,"mat-sidenav-content");D(5,Gyb,1,0,"ng-container",9);J()()}if(a&2){a=P();var c=L(4);sg("sidebar-enabled",a.isIssueSidebarEnabled);B(2);E("opened",
a.isIssueSidebarOpen)("disableClose",!0);B();G(a.isIssueSidebarOpen?3:-1);B(2);E("ngTemplateOutlet",c)}},Iyb=function(a){a&1&&Cg(0)},Jyb=function(a){a&1&&D(0,Iyb,1,0,"ng-container",9);a&2&&(P(),a=L(4),E("ngTemplateOutlet",a))},Kyb=function(a,b){a&1&&K(0,"th",32);a&2&&jg("data-stable-column-name",b.column.name)},Lyb=function(a,b){a&1&&K(0,"th",33);a&2&&jg("data-stable-column-name",b.column.name)},Pyb=function(a){if(a&1){var b=v();I(0,"mat-pseudo-checkbox",36);M("click",function(c){w(b);var d=P(3);
c.stopPropagation();return x(Myb(d))})("keydown.enter",function(c){w(b);var d=P(3);c.stopPropagation();return x(Myb(d))})("keydown.space",function(c){w(b);var d=P(3);c.stopPropagation();return x(Myb(d))});J()}a&2&&(a=P(3),E("state",Nyb(a)),jg("aria-checked",Oyb(a)))},Qyb=function(a,b){a&1&&(I(0,"th",34),D(1,Pyb,1,2,"mat-pseudo-checkbox",35),J());a&2&&(a=b.column,b=P(2),jg("data-stable-column-name",a.name),B(),G(b.isIssueGridColumn(a)?1:-1))},Ryb=function(a,b){a&1&&K(0,"th");a&2&&jg("data-stable-column-name",
b.column.name)},Syb=function(a){a&1&&K(0,"pop-grid-default-th",37);a&2&&(a=P().column,E("column",a))},Tyb=function(a,b){a&1&&(I(0,"th"),D(1,Syb,1,1,"pop-grid-default-th",37),J());a&2&&(a=b.column,b=P(2),jg("data-stable-column-name",a.name),B(),G(b.isIssueGridColumn(a)?1:-1))},Uyb=function(a){if(a&1){var b=v();I(0,"b-column-picker",39);M("selectedColumnsChange",function(d){w(b);var e=P(4);e.columns=d;e.columnsChange.emit(d);e.cdr.detectChanges();return x()});J()}if(a&2){a=P(2).column;var c=P(2);E("column",
a)("availableColumns",c.availableColumns)("selectedColumns",c.columns)}},Vyb=function(a){a&1&&K(0,"pop-grid-default-th",37);a&2&&(a=P(2).column,E("column",a))},Wyb=function(a){a&1&&D(0,Uyb,1,3,"b-column-picker",38)(1,Vyb,1,1,"pop-grid-default-th",37);a&2&&(a=P(3),G(a.enableColumnSaving?0:1))},Xyb=function(a,b){a&1&&(I(0,"th"),D(1,Wyb,2,1),J());a&2&&(a=b.column,b=P(2),jg("data-stable-column-name",a.name),B(),G(b.isIssueGridColumn(a)?1:-1))},Yyb=function(a){a&1&&K(0,"td",32)},Zyb=function(a){a&1&&K(0,
"td",40)},$yb=function(a){if(a&1){var b=v();I(0,"mat-pseudo-checkbox",42);M("click",function(c){w(b);var d=P(),e=d.row;d=d.index;var f=P(2);c.stopPropagation();if(c.shiftKey&&(c=e.selected,f.lastCheckedIndex!==null&&f.searchResults)){if(d<f.lastCheckedIndex){var h=d+1;var l=f.lastCheckedIndex+1}else h=f.lastCheckedIndex,l=d;h=k(f.searchResults.issues.slice(h,l));for(l=h.next();!l.done;l=h.next())l.value.selected=!c;bu(f)}e.selected=!e.selected;f.lastCheckedIndex=d;bu(f);return x()});J()}a&2&&(a=P().row,
E("state",a.selected?"checked":"unchecked"),jg("aria-label","Select issue "+a.issueId)("aria-checked",a.selected))},azb=function(a){a&1&&(I(0,"td",34),D(1,$yb,1,3,"mat-pseudo-checkbox",41),J());a&2&&(P(2),B(),G(1))},bzb=function(a){if(a&1){var b=v();I(0,"b-star-toggle",45);M("starClicked",function(){w(b);var d=P().row,e=P(2);return x(e.toggleStar(d))});J()}if(a&2){a=P().row;var c=P(2);E("starred",a.starred)("disabled",c.starInProgress[a.issueId])("starMessage","Star this issue")("unStarMessage","Un-star this issue")}},
czb=function(a){a&1&&(I(0,"td",43),D(1,bzb,1,4,"b-star-toggle",44),J());a&2&&(P(2),B(),G(1))},dzb=function(a){a&1&&(I(0,"span"),Q(1),J());a&2&&(a=P().row,jg("title",a.position),B(),R(" ",a.position," "))},ezb=function(a){a&1&&(I(0,"td"),D(1,dzb,2,2,"span"),J());a&2&&(P(2),B(),G(1))},fzb=function(a){if(a&1){var b=v();I(0,"b-issue-id-picker",49);M("click",function(c){w(b);return x(c.stopPropagation())});J()}a&2&&(a=P(2).row,E("issueId",a.issueId)("showCopyOptions",!1),jg("title",a.title))},gzb=function(a){a&
1&&(I(0,"a",48),Q(1),J());a&2&&(a=P(2).row,P(2),E("href",Rq(a.issueId),vf),jg("title",a.title),B(),R(" ",a.issueId," "))},hzb=function(a){a&1&&D(0,fzb,1,3,"b-issue-id-picker",47)(1,gzb,2,3,"a",48);a&2&&(a=P(3),G((a.listViewPrefs==null?null:a.listViewPrefs.modeForField==null?null:a.listViewPrefs.modeForField.id)==="copy"?0:1))},izb=function(a){a&1&&(I(0,"td",46),D(1,hzb,2,1),J());a&2&&(P(2),B(),G(1))},jzb=function(a){a&1&&K(0,"archived-issue-indicator")},kzb=function(a){a&1&&K(0,"mat-icon",58)},lzb=
function(a,b){a&1&&K(0,"b-hotlist-chip-smart",60);a&2&&E("id",b.$implicit)("removable",!1)},mzb=function(a){a&1&&(I(0,"div",59),yg(1,lzb,1,2,"b-hotlist-chip-smart",60,xg),J());a&2&&(a=P(2).row,B(),zg(a.hotlistId))},nzb=function(a){a&1&&(I(0,"div",52),D(1,jzb,1,0,"archived-issue-indicator"),K(2,"b-issue-visibility-chip",53)(3,"b-tracker-chip-smart",54)(4,"b-retention-chip",55),I(5,"div",56)(6,"a",57),Q(7),D(8,kzb,1,0,"mat-icon",58),J()(),D(9,mzb,3,0,"div",59),J());if(a&2){a=P().row;var b=P(2);sg("bv2-grid-cell-flex-wrap",
b.listViewPrefs&&b.listViewPrefs.wrapTitles);B();G(a.archived?1:-1);B();E("issueId",a.issueId)("compactMode",!0);B();E("trackerId",a.trackerId)("compactMode",!0);B();E("retentionState",a.retentionState)("showOnlyInDangerZone",!0)("compactMode",!0)("modifiedTime",a.modifiedTime);B(2);E("href",Rq(a.issueId),vf);jg("title",a.title);B();R(" ",a.title," ");B();G(b.isIssueSidebarEnabled?8:-1);B();G(b.listViewPrefs&&b.listViewPrefs.showHotlists?9:-1)}},ozb=function(a){a&1&&(I(0,"td",50),D(1,nzb,10,16,"div",
51),J());a&2&&(a=P(2),sg("bv2-grid-cell-variable-height",a.listViewPrefs&&a.listViewPrefs.wrapTitles),B(),G(1))},qzb=function(a){a&1&&(I(0,"div",62),Q(1),J());a&2&&(a=P().row,P(2),E("ngClass",gh(2,pzb,Number(a.priority)>=2,Number(a.priority)<2,Number(a.priority)===0)),B(),R(" P",a.priority," "))},rzb=function(a){a&1&&(I(0,"td",61),D(1,qzb,2,6,"div",62),J());a&2&&(P(2),B(),G(1))},szb=function(a){a&1&&(I(0,"div",62),Q(1),J());a&2&&(a=P().row,P(2),E("ngClass",gh(2,pzb,Number(a.severity)>=2,Number(a.severity)<
2,Number(a.severity)===0)),B(),R(" S",a.severity," "))},tzb=function(a){a&1&&(I(0,"td",63),D(1,szb,2,6,"div",62),J());a&2&&(P(2),B(),G(1))},uzb=function(a){a&1&&K(0,"mat-icon",66);if(a&2){var b;a=P();var c=P(4);E("svgIcon",(b=c.ISSUE_STATUS_JS_ICON_NAME.get(a))!==null&&b!==void 0?b:"")}},vzb=function(a){a&1&&Q(0);if(a&2){var b;a=P();var c=P(4);R(" ",(b=c.STATUS_JS_TERSE.get(a))!==null&&b!==void 0?b:""," ")}},wzb=function(a){a&1&&(I(0,"span"),Q(1),J());if(a&2){var b;a=P();var c=P(4);vg("chippy status-",
a," margin-left-auto");B();R(" ",(b=c.STATUS_JS_TERSE.get(a))!==null&&b!==void 0?b:""," ")}},xzb=function(a,b){a&1&&(I(0,"span",65),D(1,uzb,1,1,"mat-icon",66)(2,vzb,1,1)(3,wzb,2,4,"span",67),J());if(a&2){var c,d;a=P(4);E("title",((c=a.STATUS_JS_FULL_TEXT.get(b))!==null&&c!==void 0?c:"")===((c=a.STATUS_JS_TERSE.get(b))!==null&&c!==void 0?c:"")?"":(c=a.STATUS_JS_FULL_TEXT.get(b))!==null&&c!==void 0?c:"");B();G((d=a.listViewPrefs==null?null:a.listViewPrefs.fieldStatus==null?null:a.listViewPrefs.fieldStatus.mode)===
"icon"?1:d==="plain"?2:3)}},yzb=function(a){a&1&&D(0,xzb,4,2,"span",65);if(a&2){var b;a=P().row;G((b=a.status)?0:-1,b)}},zzb=function(a){a&1&&(I(0,"td",64),D(1,yzb,1,1),J());a&2&&(P(2),B(),G(1))},Azb=function(a){a&1&&(Q(0),S(1,"enumToHuman"));a&2&&(a=P().row,R(" ",U(1,1,a.type)," "))},Bzb=function(a){a&1&&(I(0,"td",68),D(1,Azb,2,3),J());a&2&&(P(2),B(),G(1))},Czb=function(a){a&1&&(I(0,"b-person-hovercard",70),S(1,"omitObfuscatedEmail"),Q(2),J());a&2&&(a=P(2).row,E("email",U(1,2,a.reporter)),B(2),R(" ",
a.reporter," "))},Dzb=function(a){a&1&&(I(0,"span"),Q(1,"--"),J())},Ezb=function(a){a&1&&(D(0,Czb,3,4,"b-person-hovercard",70),S(1,"omitObfuscatedEmail"),D(2,Dzb,2,0,"span"));a&2&&(a=P().row,G(U(1,2,a.reporter)?0:-1),B(2),G(a.reporter?-1:2))},Fzb=function(a){a&1&&(I(0,"td",69),D(1,Ezb,3,4),J());a&2&&(P(2),B(),G(1))},Gzb=function(a){a&1&&(I(0,"b-person-hovercard",70),S(1,"omitObfuscatedEmail"),Q(2),J());a&2&&(a=P(2).row,E("email",U(1,2,a.assignee)),B(2),R(" ",a.assignee," "))},Hzb=function(a){a&1&&
(I(0,"span"),Q(1,"--"),J())},Izb=function(a){a&1&&(D(0,Gzb,3,4,"b-person-hovercard",70),S(1,"omitObfuscatedEmail"),D(2,Hzb,2,0,"span"));a&2&&(a=P().row,G(U(1,2,a.assignee)?0:-1),B(2),G(a.assignee?-1:2))},Jzb=function(a){a&1&&(I(0,"td",69),D(1,Izb,3,4),J());a&2&&(P(2),B(),G(1))},Kzb=function(a){a&1&&(I(0,"b-person-hovercard",70),S(1,"omitObfuscatedEmail"),Q(2),J());a&2&&(a=P(2).row,E("email",U(1,2,a.verifier)),B(2),R(" ",a.verifier," "))},Lzb=function(a){a&1&&(I(0,"span"),Q(1,"--"),J())},Mzb=function(a){a&
1&&(D(0,Kzb,3,4,"b-person-hovercard",70),S(1,"omitObfuscatedEmail"),D(2,Lzb,2,0,"span"));a&2&&(a=P().row,G(U(1,2,a.verifier)?0:-1),B(2),G(a.verifier?-1:2))},Nzb=function(a){a&1&&(I(0,"td",69),D(1,Mzb,3,4),J());a&2&&(P(2),B(),G(1))},Ozb=function(a){a&1&&(I(0,"span"),S(1,"arrayToHuman"),Q(2),S(3,"arrayToHuman"),J());a&2&&(a=P().row,jg("title",U(1,2,a.cc)),B(2),R(" ",U(3,4,a.cc)," "))},Pzb=function(a){a&1&&(I(0,"td",69),D(1,Ozb,4,6,"span"),J());a&2&&(P(2),B(),G(1))},Qzb=function(a){a&1&&(I(0,"span"),
S(1,"arrayToHuman"),Q(2),S(3,"arrayToHuman"),J());a&2&&(a=P().row,jg("title",U(1,2,a.changelist)),B(2),R(" ",U(3,4,a.changelist)," "))},Rzb=function(a){a&1&&(I(0,"td",69),D(1,Qzb,4,6,"span"),J());a&2&&(P(2),B(),G(1))},Szb=function(a){a&1&&(I(0,"span"),S(1,"arrayToHuman"),Q(2),S(3,"arrayToHuman"),J());a&2&&(a=P().row,jg("title",U(1,2,a.postmortem)),B(2),R(" ",U(3,4,a.postmortem)," "))},Tzb=function(a){a&1&&(I(0,"td",69),D(1,Szb,4,6,"span"),J());a&2&&(P(2),B(),G(1))},Uzb=function(a){a&1&&Cg(0)},Vzb=
function(a){a&1&&(I(0,"span"),Q(1,", "),J())},Xzb=function(a,b){a&1&&D(0,Uzb,1,0,"ng-container",71)(1,Vzb,2,0,"span");if(a&2){a=b.$implicit;var c=b.$index;b=b.$count;P(4);var d=L(6);E("ngTemplateOutlet",d)("ngTemplateOutletContext",eh(3,Wzb,a));B();G(c!==b-1?1:-1)}},Yzb=function(a){a&1&&yg(0,Xzb,2,5,null,null,xg);a&2&&(a=P().row,zg(a.blockingIssueId))},Zzb=function(a){a&1&&(I(0,"td",69),D(1,Yzb,2,0),J());a&2&&(P(2),B(),G(1))},$zb=function(a){a&1&&Cg(0)},aAb=function(a){a&1&&(I(0,"span"),Q(1,", "),
J())},bAb=function(a,b){a&1&&D(0,$zb,1,0,"ng-container",71)(1,aAb,2,0,"span");if(a&2){a=b.$implicit;var c=b.$index;b=b.$count;P(4);var d=L(6);E("ngTemplateOutlet",d)("ngTemplateOutletContext",eh(3,Wzb,a));B();G(c!==b-1?1:-1)}},cAb=function(a){a&1&&yg(0,bAb,2,5,null,null,xg);a&2&&(a=P().row,zg(a.blockedByIssueId))},dAb=function(a){a&1&&(I(0,"td",69),D(1,cAb,2,0),J());a&2&&(P(2),B(),G(1))},eAb=function(a){a&1&&Cg(0)},fAb=function(a){a&1&&D(0,eAb,1,0,"ng-container",71);if(a&2){a=P(2).row;P(2);var b=
L(6);E("ngTemplateOutlet",b)("ngTemplateOutletContext",eh(2,Wzb,a.duplicateOfIssueId))}},gAb=function(a){a&1&&D(0,fAb,1,4,"ng-container");a&2&&(a=P().row,G(a.duplicateOfIssueId?0:-1))},hAb=function(a){a&1&&(I(0,"td",69),D(1,gAb,1,1),J());a&2&&(P(2),B(),G(1))},iAb=function(a){a&1&&K(0,"b-formatted-date-time",73);a&2&&(a=P().row,E("timestamp",a.createdTime))},jAb=function(a){a&1&&(I(0,"td",72),D(1,iAb,1,1,"b-formatted-date-time",73),J());a&2&&(P(2),B(),G(1))},kAb=function(a){a&1&&K(0,"b-formatted-date-time",
73);a&2&&(a=P().row,E("timestamp",a.modifiedTime))},lAb=function(a){a&1&&(I(0,"td",72),D(1,kAb,1,1,"b-formatted-date-time",73),J());a&2&&(P(2),B(),G(1))},mAb=function(a){a&1&&K(0,"b-formatted-date-time",73);a&2&&(a=P().row,E("timestamp",a.resolvedTime))},nAb=function(a){a&1&&(I(0,"td",72),D(1,mAb,1,1,"b-formatted-date-time",73),J());a&2&&(P(2),B(),G(1))},oAb=function(a){a&1&&K(0,"b-formatted-date-time",73);a&2&&(a=P().row,E("timestamp",a.verifiedTime))},pAb=function(a){a&1&&(I(0,"td",72),D(1,oAb,
1,1,"b-formatted-date-time",73),J());a&2&&(P(2),B(),G(1))},qAb=function(a){a&1&&(I(0,"span"),S(1,"arrayToHuman"),Q(2),S(3,"arrayToHuman"),J());a&2&&(a=P().row,jg("title",U(1,2,a.foundInVersion)),B(2),R(" ",U(3,4,a.foundInVersion)," "))},rAb=function(a){a&1&&(I(0,"td",69),D(1,qAb,4,6,"span"),J());a&2&&(P(2),B(),G(1))},sAb=function(a){a&1&&(I(0,"span"),S(1,"arrayToHuman"),Q(2),S(3,"arrayToHuman"),J());a&2&&(a=P().row,jg("title",U(1,2,a.targetedToVersion)),B(2),R(" ",U(3,4,a.targetedToVersion)," "))},
tAb=function(a){a&1&&(I(0,"td",69),D(1,sAb,4,6,"span"),J());a&2&&(P(2),B(),G(1))},uAb=function(a){a&1&&(I(0,"span"),S(1,"arrayToHuman"),Q(2),S(3,"arrayToHuman"),J());a&2&&(a=P().row,jg("title",U(1,2,a.verifiedInVersion)),B(2),R(" ",U(3,4,a.verifiedInVersion)," "))},vAb=function(a){a&1&&(I(0,"td",69),D(1,uAb,4,6,"span"),J());a&2&&(P(2),B(),G(1))},wAb=function(a){a&1&&(Q(0),S(1,"yesNo"));a&2&&(a=P().row,R(" ",U(1,1,a.inProd)," "))},xAb=function(a){a&1&&(I(0,"td",69),D(1,wAb,2,3),J());a&2&&(P(2),B(),
G(1))},yAb=function(a){a&1&&(Q(0),S(1,"yesNo"));a&2&&(a=P().row,R(" ",U(1,1,a.archived)," "))},zAb=function(a){a&1&&(I(0,"td",69),D(1,yAb,2,3),J());a&2&&(P(2),B(),G(1))},AAb=function(a){a&1&&(I(0,"div",52)(1,"div",56)(2,"span"),Q(3),J()()());if(a&2){a=P().row;var b=P(2);B(2);jg("title",b.getComponentPath(a.componentPath));B();Yg(b.getComponentPath(a.componentPath))}},CAb=function(a){a&1&&(I(0,"td",74),D(1,AAb,4,2,"div",52),J());if(a&2){a=P(2);var b;var c=!((b=a.listViewPrefs)==null||!b.rtlComponentPath);
E("ngClass",fh(2,BAb,a.listViewPrefs&&a.listViewPrefs.wrapComponents,c));B();G(1)}},DAb=function(a){a&1&&(I(0,"slo-status-card",76),K(1,"b-aggregated-slo-status-indicator",77),J());a&2&&(a=P(2).row,E("sloId",a.sloId)("sloStatus",a.sloStatus)("sloStartTime",a.sloStartTime),B(),E("sloStatus",a.sloStatus)("sloStartTime",a.sloStartTime))},EAb=function(a){a&1&&D(0,DAb,2,5,"slo-status-card",76);a&2&&(a=P().row,G(a.sloStatus?0:-1))},FAb=function(a){a&1&&(I(0,"td",75),D(1,EAb,1,1),J());a&2&&(P(2),B(),G(1))},
GAb=function(a){a&1&&(I(0,"slo-status-card",78),K(1,"b-slo-time-indicator",79),J());a&2&&(a=P(2).row,E("sloId",a.sloId)("sloStatus",a.sloStatus)("sloStartTime",a.sloStartTime)("onlyShowMetric","RESPONSE"),B(),E("sloBounds",a.sloStatus.responseBounds))},HAb=function(a){a&1&&D(0,GAb,2,5,"slo-status-card",78);a&2&&(a=P().row,G(a.sloStatus?0:-1))},IAb=function(a){a&1&&(I(0,"td",75),D(1,HAb,1,1),J());a&2&&(P(2),B(),G(1))},JAb=function(a){a&1&&(I(0,"slo-status-card",78),K(1,"b-slo-time-indicator",79),J());
a&2&&(a=P(2).row,E("sloId",a.sloId)("sloStatus",a.sloStatus)("sloStartTime",a.sloStartTime)("onlyShowMetric","ASSIGNMENT"),B(),E("sloBounds",a.sloStatus.assignmentBounds))},KAb=function(a){a&1&&D(0,JAb,2,5,"slo-status-card",78);a&2&&(a=P().row,G(a.sloStatus?0:-1))},LAb=function(a){a&1&&(I(0,"td",75),D(1,KAb,1,1),J());a&2&&(P(2),B(),G(1))},MAb=function(a){a&1&&(I(0,"slo-status-card",78),K(1,"b-slo-time-indicator",79),J());a&2&&(a=P(2).row,E("sloId",a.sloId)("sloStatus",a.sloStatus)("sloStartTime",
a.sloStartTime)("onlyShowMetric","CLOSURE"),B(),E("sloBounds",a.sloStatus.closureBounds))},NAb=function(a){a&1&&D(0,MAb,2,5,"slo-status-card",78);a&2&&(a=P().row,G(a.sloStatus?0:-1))},OAb=function(a){a&1&&(I(0,"td",75),D(1,NAb,1,1),J());a&2&&(P(2),B(),G(1))},PAb=function(a,b){a&1&&K(0,"b-formatted-date-time",80);a&2&&(P(4),E("timestamp",b.seconds*1E3))},QAb=function(a){a&1&&D(0,PAb,1,1,"b-formatted-date-time",80);if(a&2){var b;a=P().row;G((b=a.retentionState==null?null:a.retentionState.scheduledDeletionTime)?
0:-1,b)}},RAb=function(a){a&1&&(I(0,"td",69),D(1,QAb,1,1),J());a&2&&(P(2),B(),G(1))},SAb=function(a){a&1&&K(0,"div",81)},TAb=function(a){a&1&&(I(0,"div"),K(1,"b-team-display",82),J());a&2&&(a=P(2).row,B(),E("teamId",a.teamId.toString())("componentId",a.componentId.toString())("anchorLinkEnabled",!1))},UAb=function(a){a&1&&D(0,SAb,1,0,"div",81)(1,TAb,2,3,"div");a&2&&(a=P(3),G(a.isLoadingTeams?0:1))},VAb=function(a){a&1&&(I(0,"td",69),D(1,UAb,2,1),J());a&2&&(P(2),B(),G(1))},WAb=function(a){a&1&&Q(0);
a&2&&(a=P().row,R(" ",a.effort==null?null:a.effort.estimate," "))},XAb=function(a){a&1&&(I(0,"td",69),D(1,WAb,1,1),J());a&2&&(P(2),B(),G(1))},YAb=function(a){a&1&&Q(0);if(a&2){a=P().row;var b=P(2);R(" ",b.isTotalEstimatesEnabled?(a.effort==null?null:a.effort.totalOpen)||"":""," ")}},ZAb=function(a){a&1&&(I(0,"td",69),D(1,YAb,1,1),J());a&2&&(P(2),B(),G(1))},$Ab=function(a){a&1&&Q(0);if(a&2){a=P().row;var b=P(2);R(" ",b.isTotalEstimatesEnabled?(a.effort==null?null:a.effort.totalComplete)||"":""," ")}},
aBb=function(a){a&1&&(I(0,"td",69),D(1,$Ab,1,1),J());a&2&&(P(2),B(),G(1))},bBb=function(a){a&1&&Q(0);if(a&2){a=P().row;var b=P(2);R(" ",b.GET_ISSUE_ACCESS_LEVEL_TITLE(a.issueAccessLevel)," ")}},cBb=function(a){a&1&&(I(0,"td",75),D(1,bBb,1,1),J());a&2&&(P(2),B(),G(1))},dBb=function(a){a&1&&Q(0);a&2&&(a=P().row,R(" ",a.descendantCount," "))},eBb=function(a){a&1&&(I(0,"td",69),D(1,dBb,1,1),J());a&2&&(P(2),B(),G(1))},fBb=function(a){a&1&&Q(0);a&2&&(a=P().row,R(" ",a.openDescendantCount," "))},gBb=function(a){a&
1&&(I(0,"td",69),D(1,fBb,1,1),J());a&2&&(P(2),B(),G(1))},hBb=function(a){a&1&&Q(0);a&2&&(a=P().row,R(" ",a.oneDayViewCount," "))},iBb=function(a){a&1&&(I(0,"td",69),D(1,hBb,1,1),J());a&2&&(a=P(2),B(),G(a.enableAddViewCountColumnsOnIlp?1:-1))},jBb=function(a){a&1&&Q(0);a&2&&(a=P().row,R(" ",a.sevenDayViewCount," "))},kBb=function(a){a&1&&(I(0,"td",69),D(1,jBb,1,1),J());a&2&&(P(2),B(),G(1))},lBb=function(a){a&1&&Q(0);a&2&&(a=P().row,R(" ",a.thirtyDayViewCount," "))},mBb=function(a){a&1&&(I(0,"td",69),
D(1,lBb,1,1),J());a&2&&(P(2),B(),G(1))},nBb=function(a){a&1&&Q(0);a&2&&(a=P().row,R(" ",a.voteCount&&a.voteCount>0?a.voteCount:""," "))},oBb=function(a){a&1&&(I(0,"td",69),D(1,nBb,1,1),J());a&2&&(P(2),B(),G(1))},pBb=function(a){a&1&&Q(0);a&2&&(a=P().row,R(" ",a.position," "))},qBb=function(a){a&1&&(I(0,"td",69),D(1,pBb,1,1),J());a&2&&(P(2),B(),G(1))},rBb=function(a){a&1&&(I(0,"b-person-hovercard",70),S(1,"omitObfuscatedEmail"),Q(2),J());a&2&&(a=P(2).row,E("email",U(1,2,a.escalationOwner)),B(2),R(" ",
a.escalationOwner," "))},sBb=function(a){a&1&&(I(0,"span"),Q(1,"--"),J())},tBb=function(a){a&1&&(D(0,rBb,3,4,"b-person-hovercard",70),S(1,"omitObfuscatedEmail"),D(2,sBb,2,0,"span"));a&2&&(a=P().row,G(U(1,2,a.escalationOwner)?0:-1),B(2),G(a.escalationOwner?-1:2))},uBb=function(a){a&1&&(I(0,"td",69),D(1,tBb,3,4),J());a&2&&(P(2),B(),G(1))},wBb=function(a){if(a&1){var b=v();I(0,"pop-grid",11);M("columnsChange",function(c){w(b);var d=P();d.columns=c;d.columnsChange.emit(c);d.cdr.detectChanges();return x()})("focusedRowIndexChange",
function(c){w(b);var d=P();d.focusedRowIndex=c;return x(d.focusedRowIndexChange.emit(d.focusedRowIndex))})("sortChange",function(c){w(b);var d=P();return x(d.sortChange.emit(c))})("rowClick",function(c){w(b);var d=P(),e=c.event.target,f,h=(f=e==null?void 0:e.closest(".title-cell"))!=null?f:!1,l;e=(l=e==null?void 0:e.closest(".issue-id-cell"))!=null?l:!1;h||e||yn(c.event)||!d.isIssueSidebarEnabled?d.rowClick.emit(c):(d.isIssueSidebarOpen=!0,d.cdr.detectChanges());return x()});D(1,Kyb,1,1,"th",12)(2,
Lyb,1,1,"th",13)(3,Qyb,2,2,"th",14)(4,Ryb,1,1,"th",15)(5,Tyb,2,2,"th",15)(6,Xyb,2,2,"th",16)(7,Yyb,1,0,"td",17)(8,Zyb,1,0,"td",18)(9,azb,2,1,"td",19)(10,czb,2,1,"td",20)(11,ezb,2,1,"td",21)(12,izb,2,1,"td",22)(13,ozb,2,3,"td",23)(14,rzb,2,1,"td",24)(15,tzb,2,1,"td",25)(16,zzb,2,1,"td",26)(17,Bzb,2,1,"td",27)(18,Fzb,2,1,"td",28)(19,Jzb,2,1,"td",28)(20,Nzb,2,1,"td",28)(21,Pzb,2,1,"td",28)(22,Rzb,2,1,"td",28)(23,Tzb,2,1,"td",28)(24,Zzb,2,1,"td",28)(25,dAb,2,1,"td",28)(26,hAb,2,1,"td",28)(27,jAb,2,1,
"td",29)(28,lAb,2,1,"td",29)(29,nAb,2,1,"td",29)(30,pAb,2,1,"td",29)(31,rAb,2,1,"td",28)(32,tAb,2,1,"td",28)(33,vAb,2,1,"td",28)(34,xAb,2,1,"td",28)(35,zAb,2,1,"td",28)(36,CAb,2,5,"td",30)(37,FAb,2,1,"td",31)(38,IAb,2,1,"td",31)(39,LAb,2,1,"td",31)(40,OAb,2,1,"td",31)(41,RAb,2,1,"td",28)(42,VAb,2,1,"td",28)(43,XAb,2,1,"td",28)(44,ZAb,2,1,"td",28)(45,aBb,2,1,"td",28)(46,cBb,2,1,"td",31)(47,eBb,2,1,"td",28)(48,gBb,2,1,"td",28)(49,iBb,2,1,"td",28)(50,kBb,2,1,"td",28)(51,mBb,2,1,"td",28)(52,oBb,2,1,"td",
28)(53,qBb,2,1,"td",28)(54,uBb,2,1,"td",28);J()}a&2&&(a=P(),sg("sidebar-open",a.isIssueSidebarOpen),E("list",(a.searchResults==null?null:a.searchResults.issues)||dh(61,vBb))("columns",a.columns)("focusedRowIndex",a.focusedRowIndex)("scrollContainer",".bv2-view")("sort",a.sort)("rowLabelRenderer",a.issueDescription),B(),E("forHeaderCell","focused"),B(),E("forHeaderCell","draghandle"),B(),E("forHeaderCell","selected"),B(),E("forHeaderCell","starred"),B(),E("forHeaderCell","position"),B(2),E("forViewCell",
"focused"),B(),E("forViewCell","draghandle"),B(),E("forViewCell","selected"),B(),E("forViewCell","starred"),B(),E("forViewCell","position"),B(),E("forViewCell","issueId"),B(),E("forViewCell","title"),B(),E("forViewCell","priority"),B(),E("forViewCell","severity"),B(),E("forViewCell","status"),B(),E("forViewCell","type"),B(),E("forViewCell","reporter"),B(),E("forViewCell","assignee"),B(),E("forViewCell","verifier"),B(),E("forViewCell","cc"),B(),E("forViewCell","changelist"),B(),E("forViewCell","postmortem"),
B(),E("forViewCell","blockingIssueId"),B(),E("forViewCell","blockedByIssueId"),B(),E("forViewCell","duplicateOfIssueId"),B(),E("forViewCell","createdTime"),B(),E("forViewCell","modifiedTime"),B(),E("forViewCell","resolvedTime"),B(),E("forViewCell","verifiedTime"),B(),E("forViewCell","foundInVersion"),B(),E("forViewCell","targetedToVersion"),B(),E("forViewCell","verifiedInVersion"),B(),E("forViewCell","inProd"),B(),E("forViewCell","archived"),B(),E("forViewCell","componentPath"),B(),E("forViewCell",
"minSlo"),B(),E("forViewCell","responseSlo"),B(),E("forViewCell","assignmentSlo"),B(),E("forViewCell","closureSlo"),B(),E("forViewCell","deletionTime"),B(),E("forViewCell","team"),B(),E("forViewCell","estimate"),B(),E("forViewCell","estimateTotalOpen"),B(),E("forViewCell","estimateTotalComplete"),B(),E("forViewCell","accessLevel"),B(),E("forViewCell","descendantCount"),B(),E("forViewCell","openDescendantCount"),B(),E("forViewCell","oneDayViewCount"),B(),E("forViewCell","sevenDayViewCount"),B(),E("forViewCell",
"thirtyDayViewCount"),B(),E("forViewCell","voteCount"),B(),E("forViewCell","position"),B(),E("forViewCell","escalationOwner"))},xBb=function(a){a&1&&K(0,"b-issue-card",85,4);if(a&2){a=L(1);var b=P().id;E("onedevIsHovercardReady",a.init)("issueId",b)}},yBb=function(a,b){a&1&&(I(0,"onedev-hovercard",null,3),D(2,xBb,2,2,"b-issue-card",83),J(),I(3,"span",84),Q(4),J());a&2&&(a=b.id,b=L(1),B(3),E("onedevHovercardTrigger",b),B(),Yg(a))},zBb=function(a){if(a&1){var b=v();I(0,"b-app-bar-bulk-edit-menus",9);
S(1,"async");M("onBulkEdit",function(d){w(b);var e=P();return x(e.bulkEdit(d))})("onQuickBulkEdit",function(d){w(b);var e=P();return x(e.quickBulkEdit(d))})("onBulkEditIssueRelation",function(d){w(b);var e=P();return x(e.bulkEditIssueRelation(d))})("onBulkMarkIssueRead",function(){w(b);var d=P();return x(d.bulkMarkIssueRead())});J()}if(a&2){var c;a=P();E("enableBulkEstimatedEffortOption",(c=U(1,2,a.enableBulkEstimatedEffortOption$))!==null&&c!==void 0?c:!1)("readStatePrompt",zsb(a))}},ABb=function(a){if(a&
1){var b=v();I(0,"b-copy-issue-id-button",10);M("onClickCopyIssueIds",function(){w(b);var c=P();return x(Bsb(c.copyIssueIdService,Yt(c)))})("onClickCopyIssueShortLinks",function(){w(b);var c=P();return x(Csb(c.copyIssueIdService,Yt(c)))})("onClickCopyAsIssueSearch",function(){w(b);var c=P();return x(Dsb(c.copyIssueIdService,Yt(c)))});J()}a&2&&(a=P(),E("shortLinkPrefix",a.copyIssueIdService.shortLinkPrefix)("shouldShowCopyIssueShortLinks",a.activeSession.isInternalSession()))},BBb=function(a){if(a&
1){var b=v();I(0,"div",5)(1,"b-hotlist-picker",11);M("onApply",function(c){w(b);var d=P();return x(d.handleHotlistPickerSave(c))})("onCreate",function(c){w(b);var d=P();return x(d.onCreateHotlist.emit(c))})("onLoad",function(c){w(b);var d=P();return x(d.onLoadHotlist.emit(c))});J()()}a&2&&(a=P(),B(),E("selectedHotlistIds",a.hotlistIdMatrix)("choices",a.hotlistChoices))},CBb=function(a){if(a&1){var b=v();I(0,"hotlist-add-issue-btn",13);M("issueAddedToHotlist",function(){w(b);var c=P(2);return x(c.refresh())});
J()}a&2&&(a=P(2),E("hotlistId",a.currentHotlistId))},DBb=function(a){a&1&&K(0,"hotlist-archive-btn",12);a&2&&(a=P(2),E("hotlistId",a.currentHotlistId))},EBb=function(a){a&1&&D(0,CBb,1,1,"hotlist-add-issue-btn",12)(1,DBb,1,1,"hotlist-archive-btn",12);a&2&&(a=P(),G(a.enableBulkEditUi?0:-1),B(),G(a.isHotlistAdmin?1:-1))},FBb=function(a){a&1&&(I(0,"span",16),Q(1,"Reporting"),J())},GBb=function(a){if(a&1){var b=v();I(0,"b-button",14);M("onAction",function(){w(b);var c=P();return x(c.openInEstado())});
K(1,"b-icon",15);D(2,FBb,2,0,"span",16);J()}a&2&&(a=P(),E("size",a.hasSelectedIssues()?"large":"medium")("format",a.hasSelectedIssues()?"icon":"flat"),B(2),G(a.hasSelectedIssues()?-1:2))},HBb=function(a){if(a&1){var b=v();I(0,"b-comment-box",23);bh("commentChange",function(c){w(b);var d=P(2);ah(d.comment,c)||(d.comment=c);return x(c)});M("onSubmit",function(){w(b);var c=P(2);return x(Gsb(c))});J()}a&2&&(a=P(2),$g("comment",a.comment),E("showToolbar",!1)("isLiteralModeSupported",!0))},IBb=function(a){if(a&
1){var b=v();I(0,"div",20)(1,"b-recaptcha",24);M("onUpdate",function(c){w(b);var d=P(2);return x(d.recaptchaResponse=c)});J()()}},JBb=function(a){a&1&&(I(0,"h1",17),Q(1,"Add comment"),J(),I(2,"mat-dialog-content"),D(3,HBb,1,3,"b-comment-box",18),K(4,"b-external-warnings",19),J(),D(5,IBb,2,0,"div",20),I(6,"mat-dialog-actions")(7,"button",21),Q(8," Cancel "),J(),I(9,"button",22),Q(10," Save "),J()());a&2&&(a=P(),B(3),G(a.comment?3:-1),B(),E("externalWarnings",a.externalWarnings),B(),G(a.enableRecaptcha?
5:-1),B(2),E("mat-dialog-close",!1),B(2),E("disabled",a.enableRecaptcha&&a.recaptchaResponse==="")("mat-dialog-close",!0))},KBb=function(a){if(a&1){var b=v();I(0,"div",6)(1,"button",7);M("click",function(){w(b);var c=P();return x(c.onPressSave())});Q(2," Save ");J();I(3,"button",8);M("click",function(){w(b);var c=P();return x(c.onPressRevert())});Q(4," Revert changes ");J()()}a&2&&(a=P(),B(),E("disabled",a.hasNoChanges()||a.hotlistAccessPolicyFridge.isSaving()||a.isInvalid())("matTooltip",a.isInvalid()?
"Invalid form data":a.hasNoChanges()?"No changes":"Save these changes"),B(2),E("disabled",a.hasNoChanges()||a.hotlistAccessPolicyFridge.isSaving())("matTooltip",a.hasNoChanges()?"No changes":"Go back to the last saved state"))},LBb=function(a){if(a&1){var b=v();I(0,"div",6)(1,"button",7);M("click",function(){w(b);var d=P();return x(d.save())});Q(2," Save ");J();I(3,"button",8);M("click",function(){w(b);var d=P();return x(d.revert())});Q(4," Revert changes ");J();K(5,"hotlist-archive-btn",9);S(6,"async");
J()}if(a&2){var c;a=P();B();E("disabled",a.hasNoChanges()||a.fridge.isSaving())("matTooltip",a.hasNoChanges()?"No changes":"Save these changes");B(2);E("disabled",a.hasNoChanges()||a.fridge.isSaving())("matTooltip",a.hasNoChanges()?"No changes":"Go back to the last saved state");B(2);E("hotlistId",(c=U(6,5,a.id$))!==null&&c!==void 0?c:void 0)}},MBb=function(a,b){a&1&&Q(0);a&2&&R(" ",b.name," ")},NBb=function(a){a&1&&(I(0,"strong",2),Q(1,"(archived)"),J())},OBb=function(a){a&1&&K(0,"b-spinner")},PBb=
function(a){a&1&&(K(0,"hotlist-add-issue-btn",4),S(1,"async"));if(a&2){var b;a=P();E("hotlistId",(b=U(1,1,a.id$))!==null&&b!==void 0?b:void 0)}},QBb=function(a){a&1&&(I(0,"p",6),Q(1," This hotlist cannot be edited because you are not an administrator of it. "),J())},RBb=function(a){a&1&&(K(0,"b-edit-hotlist-toolbar",0),I(1,"div",1),K(2,"b-edit-hotlist-header",0),I(3,"mat-tab-group",2)(4,"mat-tab",3),K(5,"b-edit-hotlist-basic",4),S(6,"async"),J(),I(7,"mat-tab",5),K(8,"b-edit-hotlist-acl",4),S(9,"async"),
J()(),D(10,QBb,2,0,"p",6),S(11,"async"),J());a&2&&(a=P(),E("hotlistId",a.id),B(2),E("hotlistId",a.id),B(),E("selectedIndex",a.tabIndex),B(2),E("hotlistId",a.id)("isReadOnly",U(6,8,a.isAdmin$)===!1),B(3),E("hotlistId",a.id)("isReadOnly",U(9,10,a.isAdmin$)===!1),B(2),G(U(11,12,a.isAdmin$)===!1?10:-1))},SBb=function(a,b){a&1&&(K(0,"empty-toolbar"),I(1,"div",7)(2,"h2"),Q(3,"Error"),J(),I(4,"p"),Q(5),J()());a&2&&(B(5),Yg(b))},TBb=function(a){a&1&&(I(0,"b-callout",0)(1,"b-callout-body"),Q(2),J()());a&2&&
(a=P(),B(2),Yg(a.error))},UBb=function(a){a&1&&(Ag(0),Q(1,", "),Bg())},VBb=function(a,b){a&1&&(Q(0),D(1,UBb,2,0,"ng-container"));if(a&2){a=b.$implicit;var c=b.$index;b=b.$count;var d=P(2);R(" ",d.convertUserToString(a)," ");B();G(c!==b-1?1:-1)}},WBb=function(a,b){if(a&1){var c=v();I(0,"tr",7);M("click",function(){var e=w(c).$implicit,f=P();return x(f.editHotlist(e))})("focus",function(){var e=w(c).$index,f=P();return x(f.setFocusOnIndex(e))});K(1,"td",2);I(2,"td",8)(3,"a",9);M("click",function(e){w(c);
return x(e.stopPropagation())});Q(4);J()();I(5,"td",10);Q(6);J();I(7,"td",11);yg(8,VBb,2,2,null,null,xg);J();I(10,"td",12);Q(11);J()()}if(a&2){a=b.$implicit;b=b.$index;var d=P();sg("grid-focus",d.isFocused(b));jg("aria-selected",d.isFocused(b))("aria-label",d.renderRowLabel(b));B(3);E("href",Qq.editHotlist.makeHref(a.hotlistId),vf);B();R(" ",a.name," ");B(2);R(" ",a.description," ");B(2);zg(a.adminUsers);B(3);R(" ",a.hotlistId," ")}},XBb=function(a){if(a&1){var b=v();I(0,"button",9);M("click",function(){w(b);
var c=P(2);return x(c.appEvents.dashboardPanels.moveToTop.next(c.panelId))});Q(1," Move to top ");J()}},YBb=function(a){if(a&1){var b=v();I(0,"button",10);M("click",function(){w(b);var c=P(2);return x(c.appEvents.dashboardPanels.moveUp.next(c.panelId))});Q(1," Move up ");J()}},ZBb=function(a){if(a&1){var b=v();I(0,"button",11);M("click",function(){w(b);var c=P(2);return x(c.appEvents.dashboardPanels.moveDown.next(c.panelId))});Q(1," Move down ");J()}},$Bb=function(a){if(a&1){var b=v();I(0,"button",
12);M("click",function(){w(b);var c=P(2);return x(c.appEvents.dashboardPanels.moveToBottom.next(c.panelId))});Q(1," Move to bottom ");J()}},aCb=function(a){if(a&1){var b=v();D(0,XBb,2,0,"button",4)(1,YBb,2,0,"button",5)(2,ZBb,2,0,"button",6)(3,$Bb,2,0,"button",7);I(4,"button",8);M("click",function(){w(b);var c=P();return x(c.removePanel())});Q(5," Remove ");J()}a&2&&(a=P(),G(a.first?-1:0),B(),G(a.first?-1:1),B(),G(a.last?-1:2),B(),G(a.last?-1:3))},bCb=function(a){a&1&&(Ag(0),Q(1,"Insights"),Bg())},
cCb=function(a){if(a&1){var b=v();I(0,"b-insights-graph-menu",1);M("openSidebar",function(d){w(b);var e=P(2);return x(e.openSidebar(d.panel))});J()}if(a&2){a=P();var c=P();E("availablePanels",a)("iconOnly",c.iconOnly)("buttonClassname",c.buttonClassname)}},dCb=function(a){a&1&&(D(0,cCb,1,3,"b-insights-graph-menu",0),S(1,"async"));a&2&&(a=P(),G(U(1,1,a.shouldShowInsightsGraphMenu$)?0:-1))},eCb=function(a){a&1&&K(0,"edit-issue-metadata",4);a&2&&(a=P(),E("issueId",a.issueId))},fCb=function(a){a&1&&(I(0,
"span"),Q(1),J());a&2&&(a=P(),jg("title",a.getValue()),B(),R(" ",a.getValue()," "))},gCb=function(a){a&1&&K(0,"b-custom-field-value-display",0);a&2&&(a=P(),E("customFieldValue",a.getCustomFieldValue()))},hCb=function(a){a&1&&K(0,"b-actions-menu",1);a&2&&(a=P(),E("menuItems",a.menuItems))},iCb=function(a){a&1&&(I(0,"span",2)(1,"strong"),Q(2),J(),Q(3,"\u00a0of\u00a0"),I(4,"strong"),Q(5),J()());a&2&&(a=P(),B(2),Zg("",a.searchResults.startIndex,"\u00a0-\u00a0",a.searchResults.endIndex,""),B(3),Yg(a.searchResults.totalText))},
jCb=function(a){a&1&&(I(0,"div"),Q(1," Hotlist not found. "),J())},kCb=function(a){a&1&&(I(0,"div"),Q(1," Loading details... "),J())},lCb=function(a){a&1&&K(0,"b-panel-controls",5);a&2&&(a=P(2),E("panelId",a.panel.panelId))},mCb=function(a){a&1&&(I(0,"span",9),Q(1," \u00a0(changed) "),J())},nCb=function(a){a&1&&(I(0,"div"),D(1,lCb,1,1,"b-panel-controls",5),I(2,"span",6),Q(3," Hotlist: "),I(4,"a",7)(5,"span",8),Q(6),J()()(),D(7,mCb,2,0,"span",9),J());a&2&&(a=P(),B(),G(a.isDashboardEditable?1:-1),B(3),
E("href",a.ROUTES.viewHotlist.makeHref(a.hotlistId),vf),B(),Lg("matTooltip",a.resource.description),B(),Yg(a.resource.name),B(),G(a.hasParamChanges()?7:-1))},oCb=function(a){if(a&1){var b=v();I(0,"div",3)(1,"button",10);M("click",function(){w(b);var c=P();return x(c.save())});Q(2,"Save ");J();I(3,"button",11);M("click",function(){w(b);var c=P();return x(c.discardChanges())});Q(4," Discard changes ");J()()}},pCb=function(a){a&1&&(I(0,"span"),Q(1),J());a&2&&(a=P(3),B(),R("Searching for ",a.searchParams.query,
" ..."))},qCb=function(a){a&1&&(I(0,"div",12),K(1,"b-spinner",15),D(2,pCb,2,1,"span"),J());a&2&&(a=P(2),B(),E("large",!1),B(),G(a.searchParams&&a.searchParams.query?2:-1))},rCb=function(a){a&1&&(I(0,"div",13),Q(1," No issues in hotlist. "),J())},tCb=function(a){if(a&1){var b=v();I(0,"div",14)(1,"b-issues-grid",16);M("init",function(c){w(b);var d=P(2);return x(sCb(d,c))});bh("focusedRowIndexChange",function(c){w(b);var d=P(2);ah(d.focusedRowIndex,c)||(d.focusedRowIndex=c);return x(c)})("columnsChange",
function(c){w(b);var d=P(2);ah(d.issueColumns,c)||(d.issueColumns=c);return x(c)});M("sortChange",function(c){w(b);var d=P(2);return x(d.setSort(c.field,c.direction))})("onRowDragDrop",function(c){w(b);var d=P(2);return x(d.repositionIssue(c.srcIndex,c.destIndex))})("rowClick",function(c){w(b);var d=P(2);return x(d.goToIssue(c.id,c.isRead,c.event))})("onNextPage",function(){w(b);var c=P(2);return x(c.goToPage(c.page+1))})("onPrevPage",function(){w(b);var c=P(2);return x(c.goToPage(c.page-1))});J()()}a&
2&&(a=P(2),B(),E("searchResults",a.searchResults),$g("focusedRowIndex",a.focusedRowIndex)("columns",a.issueColumns),E("enableColumnSaving",a.isColumnSaveEnabled)("sort",a.getSort()))},uCb=function(a){a&1&&(I(0,"div"),D(1,qCb,3,2,"div",12)(2,rCb,2,0,"div",13)(3,tCb,2,5,"div",14),J());a&2&&(a=P(),B(),G(a.isLoading?1:-1),B(),G(a.isLoading||(a.searchResults==null?0:a.searchResults.issues==null?0:a.searchResults.issues.length)?-1:2),B(),G(!a.isLoading&&(a.searchResults==null?0:a.searchResults.issues==
null?0:a.searchResults.issues.length)?3:-1))},vCb=function(a){a&1&&(I(0,"div"),Q(1," Saved search not found. "),J())},wCb=function(a){a&1&&(I(0,"div"),Q(1," Loading details... "),J())},xCb=function(a){a&1&&K(0,"b-panel-controls",5);a&2&&(a=P(2),E("panelId",a.panel.panelId))},yCb=function(a){a&1&&(I(0,"span",8),Q(1," \u00a0(changed) "),J())},zCb=function(a){a&1&&(I(0,"div",3),D(1,xCb,1,1,"b-panel-controls",5),I(2,"span",3),Q(3," Saved search: "),I(4,"a",6)(5,"span",7),Q(6),J()()(),D(7,yCb,2,0,"span",
8),J());a&2&&(a=P(),B(),G(a.isDashboardEditable?1:-1),B(3),E("href",a.paths.viewSavedSearch(a.savedSearchId),vf),B(),Lg("matTooltip",a.resource.description),B(),Yg(a.resource.name),B(),G(a.hasParamChanges()?7:-1))},ACb=function(a,b){a&1&&(I(0,"span"),Q(1),J());a&2&&(B(),R("Searching for ",b,"..."))},BCb=function(a){a&1&&(I(0,"div",9),K(1,"b-spinner",12),D(2,ACb,2,1,"span"),J());if(a&2){var b;a=P(2);B();E("large",!1);B();G((b=a.searchParams==null?null:a.searchParams.query)?2:-1,b)}},CCb=function(a){a&
1&&(I(0,"div",10),Q(1," No issues in saved search. "),J())},DCb=function(a){if(a&1){var b=v();I(0,"div",11)(1,"b-issues-grid",13);M("init",function(c){w(b);var d=P(2);return x(sCb(d,c))});bh("focusedRowIndexChange",function(c){w(b);var d=P(2);ah(d.focusedRowIndex,c)||(d.focusedRowIndex=c);return x(c)});M("columnsChange",function(c){w(b);var d=P(2);return x(d.columnsChange(c))})("sortChange",function(c){w(b);var d=P(2);return x(d.setSort(c.field,c.direction))})("rowClick",function(c){w(b);var d=P(2);
return x(d.goToIssue(c.id,c.isRead,c.event))})("onNextPage",function(){w(b);var c=P(2);return x(c.goToPage(c.page+1))})("onPrevPage",function(){w(b);var c=P(2);return x(c.goToPage(c.page-1))});J()()}a&2&&(a=P(2),B(),E("searchResults",a.searchResults),$g("focusedRowIndex",a.focusedRowIndex),E("columns",a.issueColumns)("enableColumnSaving",a.isColumnSaveEnabled)("sort",a.getSort()))},ECb=function(a){a&1&&(I(0,"div"),D(1,BCb,3,2,"div",9)(2,CCb,2,0,"div",10)(3,DCb,2,5,"div",11),J());a&2&&(a=P(),B(),G(a.isLoading?
1:-1),B(),G(!a.isLoading&&a.searchResults&&a.searchResults.issues.length===0?2:-1),B(),G(!a.isLoading&&a.searchResults&&a.searchResults.issues.length!==0?3:-1))},FCb=function(a,b){a&1&&(I(0,"span",2)(1,"a",3),Q(2),J()());a&2&&(a=b.$implicit,B(),Kg("routerLink","/teams/",a.id,"/edit"),E("preserveFragment",!0),B(),Yg(a.name))},GCb=function(a){a&1&&(I(0,"p")(1,"span",5),Q(2,"NOTE:"),J(),Q(3),I(4,"a",6),Q(5,"Learn more"),J()());a&2&&(a=P(),B(3),R(" ",a.data.noteText," "),B(),E("href",a.getDisablingFieldsHelpLink(),
vf))},HCb=function(a){a&1&&K(0,"span",25)(1,"b-icon",26);a&2&&(a=P(),E("innerHTML",a.menuLabel,uf))},ICb=function(a){a&1&&(I(0,"div",27),Q(1," This includes emails about major updates and: "),I(2,"ul",28)(3,"li"),Q(4,"All title, hotlist, and status changes."),J(),I(5,"li"),Q(6,"Blocking, Blocked By, or Duplicate changes."),J(),I(7,"li"),Q(8,"Changes to Reporter, Verifier, and CCs."),J(),I(9,"li"),Q(10,"Changes to Type, Found In, Targeted To, Verified In, and In Prod. "),J(),I(11,"li"),Q(12,"Changes to custom fields marked as minor."),
J()()())},JCb=function(a){a&1&&(I(0,"div",29),Q(1," This includes emails about: "),I(2,"ul",28)(3,"li"),Q(4,"New comments."),J(),I(5,"li"),Q(6,"New status updates."),J(),I(7,"li"),Q(8,"Priority or Severity changes."),J(),I(9,"li"),Q(10,"Assignee changes."),J(),I(11,"li"),Q(12,"Component changes."),J(),I(13,"li"),Q(14,"Issue closure or reopening."),J(),I(15,"li"),Q(16,"Changes to custom fields marked as major."),J()()())},KCb=function(a,b){a&1&&(I(0,"mat-option",5),Q(1),J());a&2&&(a=b.$implicit,E("value",
a),B(),R(" ",a.name," "))},LCb=function(a){a&1&&(I(0,"span",3),Q(1," (must be between 30 days and 20 years) "),J())},NCb=function(a){if(a&1){var b=v();I(0,"div",4)(1,"b-duration-picker",12);M("durationDaysChange",function(c){w(b);var d=P();d.model.retentionPeriodDays=c!==null&&c!==void 0?c:null;d.modelChange.emit(d.model);cu(d);return x()});J();I(2,"div",13);Q(3);J()()}a&2&&(a=P(),B(),E("disabled",a.issueRetentionDisabled)("durationDays",a.model.retentionPeriodDays),B(2),R(" Issues will be marked for deletion when they have not been modified for ",
MCb(a.model.retentionPeriodDays),". "))},OCb=function(a){a&1&&(I(0,"div",5)(1,"p"),Q(2,"Please note this extended retention is not appropriate in many circumstances. Before selecting this option, you should make sure "),I(3,"b"),Q(4,"one or more"),J(),Q(5," of the following is true:"),J(),I(6,"ol")(7,"li"),Q(8,"There is no personal data, user data, or any other forms of sensitive data being stored."),J(),I(9,"li"),Q(10,"You have a process in place to manually delete this data within an approved period of time."),
J(),I(11,"li"),Q(12,"Legal and Privacy have approved this non-standard retention period."),J()()())},PCb=function(a){a&1&&(I(0,"div",7)(1,"p"),Q(2,"Please note indefinite retention is not appropriate in many circumstances. Before selecting this option, you should make sure "),I(3,"b"),Q(4,"one or more"),J(),Q(5," of the following is true:"),J(),I(6,"ol")(7,"li"),Q(8,"There is no personal data, user data, or any other forms of sensitive data being stored."),J(),I(9,"li"),Q(10,"You have a process in place to manually delete this data within an approved period of time."),
J(),I(11,"li"),Q(12,"Legal and Privacy have approved this non-standard retention period."),J()()())},QCb=function(a){a&1&&(I(0,"span",3),Q(1," (Issue Retention is shorter than default Restricted Retention) "),J())},SCb=function(a){a&1&&(I(0,"span",3),Q(1),J());a&2&&(a=P(),B(),R(" ",RCb(a)," "))},TCb=function(a){a&1&&(I(0,"div",18)(1,"p"),Q(2," Please note restricted retention longer than 4 months is not appropriate in many circumstances for personal data, user data, or any other forms of sensitive data being stored. Before selecting it, you should make sure that Legal and Privacy have approved this non-standard retention period."),
J()())},WCb=function(a){if(a&1){var b=v();I(0,"div",4)(1,"div")(2,"span",14);Q(3,"Restricted retention:");J();I(4,"b-duration-picker",15);M("durationDaysChange",function(c){w(b);var d=P();d.model.piiRetentionPeriodDays=c!==null&&c!==void 0?c:null;d.modelChange.emit(d.model);cu(d);return x()});J()();I(5,"div",16)(6,"p");Q(7);J()();I(8,"div")(9,"span",14);Q(10,"Restricted+ retention:");J();I(11,"b-duration-picker",17);M("durationDaysChange",function(c){w(b);var d=P();d.model.spiiRetentionPeriodDays=
c!==null&&c!==void 0?c:null;d.modelChange.emit(d.model);cu(d);return x()});J()();I(12,"div",16)(13,"p");Q(14);J()();D(15,TCb,3,0,"div",18);J()}a&2&&(a=P(),B(4),E("disabled",!UCb(a))("durationDays",a.model.piiRetentionPeriodDays),B(3),R(" Restricted comments and attachments will be marked for deletion when the containing issue has not been modified for ",MCb(a.model.piiRetentionPeriodDays),". "),B(4),E("disabled",!UCb(a))("durationDays",a.model.spiiRetentionPeriodDays),B(3),R(" Restricted+ comments and attachments will be marked for deletion when the containing issue has not been modified for ",
MCb(a.model.spiiRetentionPeriodDays),". "),B(),G(a.model.piiRetentionSelection===a.RetentionSelection.CUSTOM_PERIOD&&VCb(a)?15:-1))},XCb=function(a){a&1&&(I(0,"div",11)(1,"p"),Q(2," Please note restricted retention longer than 4 months is not appropriate in many circumstances for personal data, user data, or any other forms of sensitive data being stored. Before selecting it, you should make sure that Legal and Privacy have approved this non-standard retention period."),J()())},YCb=function(a,b,c){a=
du(a.slice(b),c,"[()|]","[()|,\\s]");a.idx+=b;return a},du=function(a,b,c,d){var e=ZCb(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}},ZCb=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},eu=function(a,b){return(b===void 0?0:b)?a.search(/^\d+\+?$/)>-1:a.search(/^\d+$/)>-1},$Cb=function(a){return a.charAt(0)==="-"?{negated:!0,token:a.slice(1)}:{negated:!1,
token:a}},fu=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):Da(q,e):!1});b=b.idx;for(var f=b+e.length,h=k(a),l=h.next();!l.done;l=h.next())l=l.value.completionCfg,l.startIdx=b,l.endIdx=f,l.matchingString=e;return a},gu=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}}},aDb=function(a,b){if(a&1){var c=v();I(0,"div",7)(1,"div",9);M("click",function(d){var e=w(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;f.onSelectionChanged();return x()});I(2,"mat-checkbox",10);M("change",function(d){var e=w(c).$implicit,f=P();e.value.value=d.checked;return x(f.onSelectionChanged())})("click",
function(d){w(c);return x(d.stopPropagation())});Q(3);J()()()}a&2&&(a=b.$implicit,jg("aria-checked",a.value.value),B(2),E("checked",a.value.value),B(),R(" ",a.value.displayString," "))},bDb=function(a){a&1&&(I(0,"div",8),Q(1),J());a&2&&(a=P(),B(),R(" ",a.errorString," "))},cDb=function(a){a&1&&(I(0,"span",2),Q(1),J());a&2&&(a=P(2),B(),Zg(" ",a.objectiveBusinessDays," day",a.objectiveBusinessDays!=1?"s":""," "))},dDb=function(a){a&1&&(I(0,"span"),Q(1,", "),J())},fDb=function(a){a&1&&(I(0,"span"),D(1,
dDb,2,0,"span"),I(2,"span"),Q(3),J()());a&2&&(a=P(2),B(),G(a.objectiveBusinessDays?1:-1),B(2),Zg("",a.intervalString," ",eDb(a,a.intervalUnit),""))},gDb=function(a){a&1&&(I(0,"span",0),D(1,cDb,2,2,"span",2)(2,fDb,4,3,"span"),J());a&2&&(a=P(),B(),G(a.objectiveBusinessDays?1:-1),B(),G(a.intervalString&&a.intervalString!="0"?2:-1))},iDb=function(a){if(a&1){var b=v();I(0,"span",3)(1,"input",4);bh("ngModelChange",function(c){w(b);var d=P(2);ah(d.businessDayString,c)||(d.businessDayString=c);return x(c)});
M("ngModelChange",function(){w(b);var c=P(2);return x(hDb(c))});J();I(2,"span",7);Q(3,"days,");J()()}a&2&&(a=P(2),B(),sg("ng-invalid",!!a.errorString),$g("ngModel",a.businessDayString))},jDb=function(a,b){a&1&&(I(0,"mat-option",6),Q(1),J());a&2&&(a=b.$implicit,b=P(2),E("value",a),B(),R(" ",eDb(b,a)," "))},qDb=function(a){if(a&1){var b=v();I(0,"span",1);D(1,iDb,4,3,"span",3);I(2,"span",3)(3,"input",4);bh("ngModelChange",function(c){w(b);var d=P();ah(d.intervalString,c)||(d.intervalString=c);return x(c)});
M("ngModelChange",function(){w(b);var c=P();return x(hDb(c))});J();I(4,"mat-select",5);bh("ngModelChange",function(c){w(b);var d=P();ah(d.intervalUnit,c)||(d.intervalUnit=c);return x(c)});M("selectionChange",function(){w(b);var c=P();kDb(c);lDb(c);return x()});yg(5,jDb,2,2,"mat-option",6,xg);J()()()}a&2&&(a=P(),B(),G(mDb(a)?1:-1),B(2),sg("invalid",!!a.errorString),$g("ngModel",a.intervalString),B(),$g("ngModel",a.intervalUnit),B(),zg(mDb(a)?[nDb,oDb]:[nDb,oDb,pDb]))},sDb=function(a){if(a&1){var b=
v();I(0,"b-icon",22);M("click",function(){w(b);var c=P(2);return x(rDb(c,0))});J()}a&2&&E("name","add")("size","small")},uDb=function(a){if(a&1){var b=v();I(0,"span",5)(1,"span",18)(2,"span",19);D(3,sDb,1,2,"b-icon",20);J();I(4,"span",19)(5,"b-icon",21);M("click",function(c){w(b);var d=P();return x(tDb(d,c))});J()()()()}a&2&&(a=P(),B(3),G(a.canPerformActions?3:-1),B(2),E("name","delete")("size","small"))},vDb=function(a){a&1&&K(0,"td",26)},wDb=function(a){a&1&&K(0,"td",27)},xDb=function(a){if(a&1){var b=
v();I(0,"td",28)(1,"slo-element-property-picker",42);bh("optionsChange",function(c){w(b);var d=P().$implicit;ah(d.typePickerValues,c)||(d.typePickerValues=c);return x(c)});J()()}a&2&&(a=P().$implicit,B(),E("selectAllText","Any type")("validator",a.validateTypePicker),$g("options",a.typePickerValues))},yDb=function(a){a&1&&(I(0,"div"),Q(1),J());a&2&&(a=P(2).$implicit,B(),R("ERROR: ",a.parseResult.error,""))},zDb=function(a,b){a&1&&(I(0,"span",44)(1,"span",45),Q(2),J()());a&2&&(a=b.$implicit,B(2),Yg(a))},
BDb=function(a){a&1&&(I(0,"span",43),yg(1,zDb,3,1,"span",44,xg),J());if(a&2){a=P(2).$implicit;B();if(a.parseResult.types.length===0)a=["Any"];else{for(var b=[],c=k(a.controllerReference.sloParseService.enumTypeToString.keys()),d=c.next();!d.done;d=c.next())d=d.value,a.parseResult.types.includes(d)&&b.push(ADb(a.controllerReference,d));a=b}zg(a)}},CDb=function(a){a&1&&(I(0,"td",29),D(1,yDb,2,1,"div")(2,BDb,3,0,"span",43),J());a&2&&(a=P().$implicit,B(),G(a.parseResult.error?1:2))},DDb=function(a){if(a&
1){var b=v();I(0,"td",30)(1,"slo-element-property-picker",46);bh("optionsChange",function(c){w(b);var d=P().$implicit;ah(d.priorityPickerValues,c)||(d.priorityPickerValues=c);return x(c)});J()()}a&2&&(a=P().$implicit,B(),E("selectAllText","Any priority")("validator",a.validatePriorityPicker),$g("options",a.priorityPickerValues))},EDb=function(a){a&1&&(I(0,"div"),Q(1),J());a&2&&(a=P(2).$implicit,B(),R("ERROR: ",a.parseResult.error,""))},FDb=function(a,b){a&1&&(I(0,"span",44)(1,"span",45),Q(2),J()());
a&2&&(a=b.$implicit,B(2),Yg(a))},HDb=function(a){a&1&&(I(0,"span",43),yg(1,FDb,3,1,"span",44,xg),J());if(a&2){a=P(2).$implicit;B();if(a.parseResult.priorities.length===0)a=["Any"];else{for(var b=[],c=k(a.controllerReference.sloParseService.enumPriorityToString.keys()),d=c.next();!d.done;d=c.next())d=d.value,a.parseResult.priorities.includes(d)&&b.push(GDb(a.controllerReference,d));a=b}zg(a)}},IDb=function(a){a&1&&(I(0,"td",31),D(1,EDb,2,1,"div")(2,HDb,3,0,"span",43),J());a&2&&(a=P().$implicit,B(),
G(a.parseResult.error?1:2))},JDb=function(a){if(a&1){var b=v();I(0,"td",32)(1,"slo-element-property-picker",47);bh("optionsChange",function(d){w(b);var e=P().$implicit;ah(e.postmortemPickerValues,d)||(e.postmortemPickerValues=d);return x(d)});J()()}if(a&2){a=P().$implicit;var c=P(2);B();E("selectAllText",c.postmortemAllSummaryValue)("validator",a.validatePostmortemPicker);$g("options",a.postmortemPickerValues)}},KDb=function(a){a&1&&(I(0,"div"),Q(1),J());a&2&&(a=P(2).$implicit,B(),R("ERROR: ",a.parseResult.error,
""))},LDb=function(a,b){a&1&&(I(0,"span",44)(1,"span",45),Q(2),J()());a&2&&(a=b.$implicit,B(2),Yg(a))},MDb=function(a){a&1&&(I(0,"span",43),yg(1,LDb,3,1,"span",44,xg),J());if(a&2){a=P(2).$implicit;B();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])];zg(a)}},NDb=function(a){a&1&&(I(0,"td",33),D(1,KDb,2,1,"div")(2,MDb,3,0,"span",43),J());a&2&&(a=
P().$implicit,B(),G(a.parseResult.error?1:2))},PDb=function(a,b){a&1&&(I(0,"mat-option",50),Q(1),J());a&2&&(a=b.$implicit,P(4),E("value",a),B(),R(" ",ODb(a)," "))},QDb=function(a){if(a&1){var b=v();I(0,"td",34)(1,"mat-form-field",48)(2,"mat-select",49);bh("ngModelChange",function(d){w(b);var e=P().$implicit;ah(e.selectedMetric,d)||(e.selectedMetric=d);return x(d)});yg(3,PDb,2,2,"mat-option",50,xg);J()()()}if(a&2){a=P().$implicit;var c=P(2);B(2);$g("ngModel",a.selectedMetric);E("customValidators",
a.metricValidators);B();zg(c.metricChoices)}},RDb=function(a){a&1&&(I(0,"td",35),Q(1),J());a&2&&(a=P().$implicit,P(2),B(),R(" ",ODb(a.sloElement.metric)," "))},SDb=function(a){if(a&1){var b=v();I(0,"td",36)(1,"slo-objective-selector",51);bh("objectiveDurationChange",function(c){w(b);var d=P().$implicit;ah(d.selectedObjectiveDuration,c)||(d.selectedObjectiveDuration=c);return x(c)})("objectiveBusinessDaysChange",function(c){w(b);var d=P().$implicit;ah(d.selectedObjectiveBusinessDays,c)||(d.selectedObjectiveBusinessDays=
c);return x(c)});J()()}a&2&&(a=P().$implicit,B(),E("dayType",a.selectedDayType),$g("objectiveDuration",a.selectedObjectiveDuration)("objectiveBusinessDays",a.selectedObjectiveBusinessDays),E("validator",a.validateObjective)("isDisabled",!1))},TDb=function(a){if(a&1){var b=v();I(0,"td",37)(1,"slo-objective-selector",52);bh("objectiveDurationChange",function(c){w(b);var d=P().$implicit;ah(d.selectedObjectiveDuration,c)||(d.selectedObjectiveDuration=c);return x(c)})("objectiveBusinessDaysChange",function(c){w(b);
var d=P().$implicit;ah(d.selectedObjectiveBusinessDays,c)||(d.selectedObjectiveBusinessDays=c);return x(c)});J()()}a&2&&(a=P().$implicit,B(),E("dayType",a.selectedDayType),$g("objectiveDuration",a.selectedObjectiveDuration)("objectiveBusinessDays",a.selectedObjectiveBusinessDays),E("isDisabled",!a.isEditingInternal))},VDb=function(a,b){a&1&&(I(0,"mat-option",50),Q(1),J());a&2&&(a=b.$implicit,P(4),E("value",a),B(),R(" ",UDb.get(a||"CALENDAR")," "))},WDb=function(a){if(a&1){var b=v();I(0,"td",38)(1,
"mat-form-field",48)(2,"mat-select",53);bh("ngModelChange",function(d){w(b);var e=P().$implicit;ah(e.selectedDayType,d)||(e.selectedDayType=d);return x(d)});M("selectionChange",function(){w(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()});yg(3,VDb,2,2,"mat-option",50,xg);J()()()}if(a&2){a=P().$implicit;var c=P(2);B(2);$g("ngModel",a.selectedDayType);B();zg(c.dayTypes)}},XDb=function(a){a&1&&(I(0,"td",39),Q(1),J());a&2&&(a=P().$implicit,P(2),B(),R(" ",UDb.get(a.sloElement.dayType||"CALENDAR")," "))},aEb=function(a){if(a&1){var b=v();I(0,"td",40)(1,"span",18)(2,"span",19)(3,"b-icon",54);M("click",function(){w(b);var c=P(3);if(c.openRow)if(c.openRow.isValid())YDb(c.openRow.typePickerValues)&&
YDb(c.openRow.priorityPickerValues)&&YDb(c.openRow.postmortemPickerValues)?c.confirmationDialogService.open({title:"SLO validation error",content:wi("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}):ZDb(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:wi('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()});J()();I(4,"span",19)(5,"b-icon",55);M("click",function(){w(b);var c=P().$implicit,d=P(2);return x($Db(d,c))});J()()()()}a&2&&(B(3),
E("name","done")("size","small"),B(2),E("name","delete")("size","small"))},cEb=function(a){if(a&1){var b=v();I(0,"b-icon",63);M("click",function(c){w(b);var d=P(2).$implicit,e=P(2);return x(bEb(e,d,c))});J()}a&2&&E("name","edit")("size","small")},dEb=function(a){a&1&&K(0,"b-icon",57);a&2&&(P(),a=L(8),E("name","more-settings-vertical")("size","small")("matMenuTriggerFor",a))},fEb=function(a){if(a&1){var b=v();I(0,"button",64);M("click",function(){w(b);var c=P(2).$implicit,d=P(2);return x(eEb(d,c,1))});
Q(1," Move row down ");J()}},gEb=function(a){if(a&1){var b=v();I(0,"button",65);M("click",function(){w(b);var c=P(2).$implicit,d=P(2);return x(eEb(d,c,-1))});Q(1," Move row up ");J()}},iEb=function(a){if(a&1){var b=v();I(0,"td",41)(1,"span",18)(2,"span",19);D(3,cEb,1,2,"b-icon",56);J();I(4,"span",19)(5,"span");D(6,dEb,1,3,"b-icon",57);J();I(7,"mat-menu",null,0);D(9,fEb,2,0,"button",58)(10,gEb,2,0,"button",59);I(11,"button",60);M("click",function(){w(b);var d=P().$implicit,e=P(2);rDb(e,e.collection.indexOf(d)+
1);return x()});Q(12," Add row below ");J();I(13,"button",61);M("click",function(){w(b);var d=P().$implicit,e=P(2);rDb(e,e.collection.indexOf(d)+-1+1);return x()});Q(14," Add row above ");J();I(15,"button",62);M("click",function(){w(b);var d=P().$implicit,e=P(2);return x($Db(e,d))});Q(16," Remove ");J()()()()()}if(a&2){a=P().$implicit;var c=P(2);B(3);G(a.canEdit?3:-1);B(3);G(a.canEdit?6:-1);B(3);G(hEb(c,a,1).valid?9:-1);B();G(hEb(c,a,-1).valid?10:-1)}},jEb=function(a,b){a&1&&(I(0,"tr",25),D(1,vDb,
1,0,"td",26)(2,wDb,1,0,"td",27)(3,xDb,2,3,"td",28)(4,CDb,3,1,"td",29)(5,DDb,2,3,"td",30)(6,IDb,3,1,"td",31)(7,JDb,2,3,"td",32)(8,NDb,3,1,"td",33)(9,QDb,5,2,"td",34)(10,RDb,2,1,"td",35)(11,SDb,2,5,"td",36)(12,TDb,2,4,"td",37)(13,WDb,5,1,"td",38)(14,XDb,2,1,"td",39)(15,aEb,6,4,"td",40)(16,iEb,17,4,"td",41),J());a&2&&(a=b.$implicit,b=P(2),sg("draggable",!b.isDisabled&&b.openRow==null),B(),G(a.isEditingInternal?1:2),B(2),G(a.isEditingInternal?3:4),B(2),G(a.isEditingInternal?5:6),B(2),G(a.isEditingInternal?
7:8),B(2),G(a.isEditingInternal?9:10),B(2),G(a.isEditingInternal?11:12),B(2),G(a.isEditingInternal?13:14),B(2),G(a.isEditingInternal?15:16))},kEb=function(a){if(a&1){var b=v();I(0,"tbody",23);M("cdkDropListDropped",function(c){w(b);var d=P();return x(d.onDrop(c))});yg(1,jEb,17,10,"tr",24,xg);J()}a&2&&(a=P(),E("cdkDropListData",a.collection)("cdkDropListDisabled",a.isDisabled||a.openRow!=null),B(),zg(a.collection))},lEb=function(a){a&1&&(I(0,"div",17),Q(1," There are currently no rules for this SLO "),
J())},mEb=function(a,b){if(a&1){var c=v();I(0,"tr",7);M("click",function(){var e=w(c).$implicit,f=P();return x(f.editSlo(e))})("focus",function(){var e=w(c).$index,f=P();return x(f.setFocusOnIndex(e))});K(1,"td",2);I(2,"td",8)(3,"a",9);Q(4);J()();I(5,"td",10);Q(6);J()()}if(a&2){a=b.$implicit;b=b.$index;var d=P();sg("grid-focus",d.isFocused(b));jg("aria-selected",d.isFocused(b))("aria-label",d.renderRowLabel(b));B(3);E("href",Qq.editSlo.makeHref(a.sloId),vf);B();R(" ",a.name," ");B(2);R(" ",a.description,
" ")}},nEb=function(a){if(a)return(Array.isArray(a)?a.map(function(b){return uj(b)}):[uj(a)]).filter(function(b){return!isNaN(b)})},oEb=function(a,b){if(b&&!Array.isArray(b))return a.find(function(c){return!hu(c,b)})},pEb=function(a,b){typeof a==="string"&&(a=a.trim())&&b(Wj(a))},qEb=function(a,b){if(!a)return[];a=k(typeof a==="string"?a.split(","):a);for(var c=a.next();!c.done;c=a.next())pEb(c.value,function(d){return b.push(d)});return Lta(b)},rEb=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("jg");}},sEb=function(a){a&1&&(I(0,"a",1),Q(1),S(2,"async"),J());if(a&2){var b;a=P();E("href",a.manageComponentLink,vf);B();Yg((b=U(2,2,a.component$))==null?null:b.name)}},tEb=function(a){a&1&&(I(0,"output"),Q(1),J());a&2&&(a=P(),B(),Yg(a.componentId))},uEb=function(a){a&1&&Cg(0)},vEb=function(a){a&1&&D(0,uEb,1,0,"ng-container",4);a&2&&(P(),a=L(6),E("ngTemplateOutlet",a))},wEb=function(a){a&1&&
Cg(0)},xEb=function(a){a&1&&D(0,wEb,1,0,"ng-container",4);a&2&&(P(),a=L(8),E("ngTemplateOutlet",a))},yEb=function(a){a&1&&(I(0,"li")(1,"label"),Q(2,"Component"),J(),K(3,"b-async-component",8),J());a&2&&(a=P(2),B(3),E("componentId",a.issueComponentId))},zEb=function(a){a&1&&(I(0,"li")(1,"label"),Q(2,"Team"),J(),K(3,"b-team-display",9),J());a&2&&(a=P(2),B(3),E("teamId",a.issueTeamId))},AEb=function(a){a&1&&(I(0,"ol",5)(1,"li")(2,"label"),Q(3,"ID"),J(),I(4,"output"),Q(5),J()(),I(6,"li")(7,"label"),Q(8,
"Type"),J(),I(9,"output"),Q(10),J()(),I(11,"li")(12,"label"),Q(13,"Priority"),J(),K(14,"b-issue-priority-display",6),J(),I(15,"li")(16,"label"),Q(17,"Severity"),J(),I(18,"output"),Q(19),J()(),I(20,"li")(21,"label"),Q(22,"Status"),J(),I(23,"output"),Q(24),J()(),I(25,"li")(26,"label"),Q(27,"Last modified"),J(),I(28,"output"),Q(29),S(30,"date"),J()(),I(31,"li")(32,"label"),Q(33,"Issue access limit"),J(),I(34,"output"),Q(35),I(36,"a",7),Q(37,"Learn more"),J()()(),D(38,yEb,4,1,"li")(39,zEb,4,1,"li"),J());
a&2&&(a=P(),B(5),Yg(a.issueId),B(5),Yg(a.issueType),B(4),E("issuePriority",a.issuePriority),B(5),Yg(a.issueSeverity),B(5),Yg(a.issueStatus),B(5),Yg(hh(30,10,a.issueLastModified,"medium")),B(6),R("",a.accessLimitLevel," "),B(),E("href",a.documentationLinks.getIssueAccessLimit(),vf),B(2),G(a.issueComponentId?38:-1),B(),G(a.issueTeamId?39:-1))},BEb=function(a){a&1&&(Ag(0),Q(1,"Signing in..."),Bg(),K(2,"b-spinner"))},CEb=function(a){a&1&&(Ag(0),Q(1,"Sign in"),Bg())},DEb=function(a){if(a&1){var b=v();
I(0,"button",11);M("click",function(){w(b);var c=P(2);c.signInProgressing=!0;c.loginRedirector.redirect();return x()});D(1,BEb,3,0)(2,CEb,2,0,"ng-container");J()}a&2&&(a=P(2),B(),G(a.signInProgressing?1:2))},EEb=function(a){a&1&&(I(0,"h3"),Q(1,"Access to this issue may be resolved by signing in."),J(),D(2,DEb,3,1,"button",10));a&2&&(a=P(),B(2),G(a.enableSignInAnonymousAccessDenied?2:-1))},FEb=function(a){return a.startsWith('"')&&a.endsWith('"')||a.startsWith("'")&&a.endsWith("'")?a.toLowerCase().substr(1,
a.length-2):a.toLowerCase()},GEb=function(a){a.label||(a=pj(a),a.label={customFieldId:void 0,field:"_TEXT_"});return a},IEb=function(a){return{type:HEb[a.getType()],value:a.getValue()}},KEb=function(a){var b,c=JEb[a.getType()],d=((b=a.getValuesList())!=null?b:[]).map(KEb);a=lk(a,LEb,3,Uj());return{type:c,values:d,simpleValues:(a!=null?a:[]).map(IEb)}},PEb=function(a){var b,c=MEb[a.getType()],d=((b=a.getValuesList())!=null?b:[]).map(KEb);b=Ak(a,3);if(a.hasLabel()){var e=a.getLabel();e={field:NEb[e.getField()],
customFieldId:Number(e.getCustomFieldId_asString())}}else e=void 0;return{type:c,values:d,negated:b,label:e,operator:OEb[Fk(a,5,0)]}},UEb=function(a){switch(a.getKindCase()){case 2:return{syntaxErrorResponse:{syntaxError:Kh(um(a,QEb,2,REb),1)},queryBuilderResponse:void 0};case 1:a=um(a,iu,1,REb);var b;return{syntaxErrorResponse:void 0,queryBuilderResponse:{type:SEb[a.getType()],expressions:((b=lk(a,TEb,2,Uj()))!=null?b:[]).map(PEb)}};default:return{syntaxErrorResponse:void 0,queryBuilderResponse:void 0}}},
VEb=function(a,b){a&1&&(I(0,"mat-option",4)(1,"div",5),Q(2),J()());a&2&&(a=b.$implicit,E("value",a),B(2),R(" ",a.name," "))},WEb=function(a,b){a&1&&(I(0,"mat-option",11),Q(1),J());a&2&&(a=b.$implicit,E("value",a.key),B(),R(" ",a.value," "))},XEb=function(a){if(a&1){var b=v();I(0,"mat-form-field",4)(1,"mat-select",10);bh("ngModelChange",function(c){w(b);var d=P(2);ah(d.expressionType,c)||(d.expressionType=c);return x(c)});yg(2,WEb,2,2,"mat-option",11,xg);S(4,"keyvalue");J()()}a&2&&(a=P(2),B(),$g("ngModel",
a.expressionType),B(),zg(U(4,1,a.globalTypeLabels)))},YEb=function(a,b){a&1&&(I(0,"mat-option",11),Q(1),J());a&2&&(a=b.$implicit,E("value",a[0]),B(),R(" ",a[1]," "))},ZEb=function(a,b){a&1&&(I(0,"mat-option",11),Q(1),J());if(a&2){a=b.$implicit;b=P(2).$implicit;var c=P(2);E("value",a);B();R(" ",c.getTypeLabel(b,a)," ")}},$Eb=function(a){if(a&1){var b=v();I(0,"mat-form-field",4)(1,"mat-select",18);bh("ngModelChange",function(c){w(b);var d=P().$implicit;ah(d.type,c)||(d.type=c);return x(c)});yg(2,ZEb,
2,2,"mat-option",11,xg);J()()}a&2&&(a=P().$implicit,B(),$g("ngModel",a.type),B(),zg(a.getLegalTypes()))},bFb=function(a){if(a&1){var b=v();I(0,"div",26);M("click",function(){w(b);var c=P(2).$implicit,d=P(5);return x(aFb(d,c))});I(1,"span",27);Q(2);J()()}a&2&&(a=P(2).$implicit,P(5),E("title",a.value),B(2),R(" ",a.value.replace(/"/g,"")," "))},cFb=function(a){if(a&1){var b=v();I(0,"div",24)(1,"b-custom-repeated-enum-picker",28);M("onValueChange",function(e){w(b);var f=P(7);f.chipUnderEdit.value='"'+
e+'"';ju(f);return x()});J()()}if(a&2){a=P(2).$implicit;var c=P(3).$implicit,d=P(2);B();E("showPlaceholder",!0)("customFieldTitle",d.getCustomFieldName(c))("currentInputValue",a.value.replace(/"/g,""))("allowedValues",c.getOptions())}},dFb=function(a){if(a&1){var b=v();I(0,"div",22);D(1,bFb,3,2,"div",23)(2,cFb,2,4,"div",24);I(3,"button",25);M("click",function(){w(b);var d=P().$implicit,e=P(3).$implicit,f=P(2);return x(ku(f,e,d))});J()()}if(a&2){a=P().$implicit;var c=P(5);B();G(c.chipUnderEdit===a?
-1:1);B();G(c.chipUnderEdit===a?2:-1)}},eFb=function(a,b){a&1&&D(0,dFb,4,2,"div",22);a&2&&(a=b.$implicit,b=P(5),G(b.chipUnderEdit===a||a.value?0:-1))},fFb=function(a){if(a&1){var b=v();I(0,"button",29);M("click",function(){w(b);var c=P(3).$implicit,d=P(2);return x(lu(d,c))});Q(1);J()}a&2&&(a=P(3).$implicit,B(),R(" + ",a.type=="OR"||a.type=="NAND"?"OR":"AND"," "))},gFb=function(a){a&1&&(I(0,"div",19),yg(1,eFb,1,1,null,null,xg),D(3,fFb,2,1,"button",21),J());a&2&&(a=P(2).$implicit,B(),zg(a.values),B(2),
G(a.type?3:-1))},hFb=function(a,b){if(a&1){var c=v();I(0,"div",30)(1,"mat-checkbox",31);M("change",function(d){var e=w(c).$implicit,f=P(3).$implicit;return x(f.enumValues[e.id]=d.checked)});Q(2);J()()}a&2&&(a=b.$implicit,b=P(3).$implicit,B(),E("checked",b.enumValues[a.id]),B(),R(" ",a.label||a.id," "))},iFb=function(a){a&1&&(I(0,"div",20),yg(1,hFb,3,2,"div",30,xg),J());a&2&&(a=P(2).$implicit,B(),zg(a.getOptions()))},jFb=function(a){if(a&1){var b=v();I(0,"div")(1,"input",32);bh("ngModelChange",function(c){w(b);
var d=P(3).$implicit;ah(d.csv,c)||(d.csv=c);return x(c)});J()()}a&2&&(a=P(3).$implicit,B(),$g("ngModel",a.csv),E("bContactAutocomplete","MULTI"))},kFb=function(a){if(a&1){var b=v();I(0,"div",14)(1,"input",33);bh("ngModelChange",function(c){w(b);var d=P(3).$implicit;ah(d.csv,c)||(d.csv=c);return x(c)});J()()}a&2&&(a=P(3).$implicit,B(),$g("ngModel",a.csv))},lFb=function(a){if(a&1){var b=v();I(0,"div",14)(1,"input",34);bh("ngModelChange",function(c){w(b);var d=P(3).$implicit;ah(d.csv,c)||(d.csv=c);return x(c)});
J()()}a&2&&(a=P(3).$implicit,B(),$g("ngModel",a.csv))},mFb=function(a){if(a&1){var b=v();I(0,"div",14)(1,"input",35);bh("ngModelChange",function(c){w(b);var d=P(3).$implicit;ah(d.csv,c)||(d.csv=c);return x(c)});J()()}a&2&&(a=P(3).$implicit,B(),$g("ngModel",a.csv))},nFb=function(a){a&1&&(I(0,"div"),D(1,jFb,2,2,"div")(2,kFb,2,1,"div",14)(3,lFb,2,1,"div",14)(4,mFb,2,1,"div",14),J());a&2&&(a=P(2).$implicit,B(),G(a.getWidgetType()=="user"?1:-1),B(),G(a.getWidgetType()=="csv"?2:-1),B(),G(a.getWidgetType()==
"id"?3:-1),B(),G(a.getWidgetType()=="number"?4:-1))},oFb=function(a,b){if(a&1){var c=v();I(0,"div",36)(1,"div",24)(2,"input",35);bh("ngModelChange",function(d){var e=w(c).$implicit;ah(e.value,d)||(e.value=d);return x(d)});J()();I(3,"button",37);M("click",function(){var d=w(c).$implicit,e=P(3).$implicit,f=P(2);return x(ku(f,e,d))});J()()}a&2&&(a=b.$implicit,B(2),$g("ngModel",a.value))},pFb=function(a){if(a&1){var b=v();I(0,"button",29);M("click",function(){w(b);var c=P(3).$implicit,d=P(2);return x(lu(d,
c))});Q(1);J()}a&2&&(a=P(3).$implicit,B(),R(" + ",a.type=="OR"||a.type=="NOR"?"OR":"AND"," "))},qFb=function(a){a&1&&(I(0,"div",19),yg(1,oFb,4,1,"div",36,xg),D(3,pFb,2,1,"button",21),J());a&2&&(a=P(2).$implicit,B(),zg(a.values),B(2),G(a.type?3:-1))},sFb=function(a){if(a&1){var b=v();I(0,"div",26);M("click",function(){w(b);var d=P(2).$implicit,e=P(5);return x(rFb(e,d))});I(1,"span",27);Q(2);J()()}if(a&2){a=P(2).$implicit;var c=P(5);E("title",c.getComponentPath(c.components[a.value]));B(2);R(" ",c.getComponentPath(c.components[a.value]),
" ")}},tFb=function(a){if(a&1){var b=v();I(0,"div",24)(1,"b-team-component-picker",41);M("selectedComponentChange",function(c){w(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;ju(d);return x()});J()()}a&2&&(a=P(7),B(),E("selectedComponent",a.componentUnderEdit)("placeholder","Choose Component")("isRequired",!0))},
uFb=function(a){if(a&1){var b=v();I(0,"div",38);D(1,sFb,3,2,"div",23)(2,tFb,2,3,"div",24);I(3,"button",39);M("click",function(){w(b);var d=P().$implicit;P(5);d.includeSubs=!d.includeSubs;return x()});K(4,"mat-icon",40);J();I(5,"button",25);M("click",function(){w(b);var d=P().$implicit,e=P(3).$implicit,f=P(2);return x(ku(f,e,d))});J()()}if(a&2){a=P().$implicit;var c=P(5);B();G(c.chipUnderEdit===a?-1:1);B();G(c.chipUnderEdit===a?2:-1);B();E("title",a.includeSubs?"Subcomponents are included":"Subcomponents are not included");
jg("aria-checked",a.includeSubs);B();E("svgIcon",a.includeSubs?"child-components-24px":"child-components-hide-24px")}},vFb=function(a,b){a&1&&D(0,uFb,6,5,"div",38);a&2&&(a=b.$implicit,b=P(5),G(b.chipUnderEdit===a||a.value?0:-1))},wFb=function(a){if(a&1){var b=v();I(0,"button",29);M("click",function(){w(b);var c=P(3).$implicit,d=P(2);return x(lu(d,c))});Q(1);J()}a&2&&(a=P(3).$implicit,B(),R(" + ",a.type=="OR"||a.type=="NAND"?"OR":"AND"," "))},xFb=function(a){a&1&&(I(0,"div",19),yg(1,vFb,1,1,null,null,
xg),D(3,wFb,2,1,"button",21),J());a&2&&(a=P(2).$implicit,B(),zg(a.values),B(2),G(a.type?3:-1))},zFb=function(a){if(a&1){var b=v();I(0,"div",26);M("click",function(){w(b);var d=P(2).$implicit,e=P(5);return x(yFb(e,d))});I(1,"span",27);Q(2);J()()}if(a&2){a=P(2).$implicit;var c=P(5);E("title",c.trackers[a.value]==null?null:c.trackers[a.value].name);B(2);R(" ",c.trackers[a.value]==null?null:c.trackers[a.value].name," ")}},AFb=function(a){if(a&1){var b=v();I(0,"div",24)(1,"b-tracker-picker",43);M("onTrackerSelect",
function(c){w(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;ju(d);return x()});J()()}a&2&&(a=P(7),B(),E("selectedTracker",a.trackerUnderEdit))},BFb=function(a){if(a&1){var b=v();I(0,"div",42);D(1,zFb,3,2,"div",23)(2,AFb,2,1,"div",24);I(3,"button",25);M("click",function(){w(b);var d=P().$implicit,e=P(3).$implicit,f=P(2);return x(ku(f,
e,d))});J()()}if(a&2){a=P().$implicit;var c=P(5);B();G(c.chipUnderEdit===a?-1:1);B();G(c.chipUnderEdit===a?2:-1)}},CFb=function(a,b){a&1&&D(0,BFb,4,2,"div",42);a&2&&(a=b.$implicit,b=P(5),G(b.chipUnderEdit===a||a.value?0:-1))},DFb=function(a){if(a&1){var b=v();I(0,"button",29);M("click",function(){w(b);var c=P(3).$implicit,d=P(2);return x(lu(d,c))});Q(1);J()}a&2&&(a=P(3).$implicit,B(),R(" + ",a.type=="OR"||a.type=="NAND"?"OR":"AND"," "))},EFb=function(a){a&1&&(I(0,"div",19),yg(1,CFb,1,1,null,null,
xg),D(3,DFb,2,1,"button",21),J());a&2&&(a=P(2).$implicit,B(),zg(a.values),B(2),G(a.type?3:-1))},GFb=function(a){if(a&1){var b=v();I(0,"div",26);S(1,"teamPath");M("click",function(){w(b);var d=P(2).$implicit,e=P(6);return x(FFb(e,d))});I(2,"span",27);Q(3);S(4,"teamPath");J()()}if(a&2){a=P(2).$implicit;var c=P(6);E("title",U(1,2,c.teams[a.value]));B(3);R(" ",U(4,4,c.teams[a.value])," ")}},IFb=function(a){if(a&1){var b=v();I(0,"div",24)(1,"b-team-picker",46);M("onTeamSelect",function(c){w(b);var d=P(8);
return x(HFb(d,c))});J()()}a&2&&(a=P(8),B(),E("teamSelected",a.teamUnderEdit))},JFb=function(a){if(a&1){var b=v();I(0,"div",44);D(1,GFb,5,6,"div",23)(2,IFb,2,1,"div",24);I(3,"button",45);M("click",function(){w(b);var d=P().$implicit;P(6);d.includeSubs=!d.includeSubs;return x()});K(4,"mat-icon",40);J();I(5,"button",25);M("click",function(){w(b);var d=P().$implicit,e=P(4).$implicit,f=P(2);return x(ku(f,e,d))});J()()}if(a&2){a=P().$implicit;var c=P(6);B();G(c.chipUnderEdit===a?-1:1);B();G(c.chipUnderEdit===
a?2:-1);B();E("title",a.includeSubs?"Subteams are included":"Subteams are not included");jg("aria-checked",a.includeSubs);B();E("svgIcon",a.includeSubs?"child-teams-24px":"child-teams-hide-24px")}},KFb=function(a,b){a&1&&D(0,JFb,6,5,"div",44);a&2&&(a=b.$implicit,b=P(6),G(b.chipUnderEdit===a||a.value?0:-1))},LFb=function(a){if(a&1){var b=v();I(0,"button",29);M("click",function(){w(b);var c=P(4).$implicit,d=P(2);return x(lu(d,c))});Q(1);J()}a&2&&(a=P(4).$implicit,B(),R(" + ",a.type=="OR"||a.type=="NAND"?
"OR":"AND"," "))},MFb=function(a){a&1&&(yg(0,KFb,1,1,null,null,xg),D(2,LFb,2,1,"button",21));a&2&&(a=P(3).$implicit,zg(a.values),B(2),G(a.type?2:-1))},NFb=function(a){a&1&&(I(0,"div",19),D(1,MFb,3,1),J());a&2&&(a=P(4),B(),G(a.sessionIsInternal?1:-1))},PFb=function(a){if(a&1){var b=v();I(0,"div")(1,"bv2-input-date-picker",47);M("boundValueChange",function(d){w(b);P(3).$implicit.dateFrom=OFb(d);return x()});J();Q(2," and ");I(3,"bv2-input-date-picker",47);M("boundValueChange",function(d){w(b);P(3).$implicit.dateTo=
OFb(d);return x()});J()()}if(a&2){a=P(3).$implicit;var c=P(2);B();E("boundValue",c.getDateValue(a.dateFrom))("isRequired",!0);B(2);E("boundValue",c.getDateValue(a.dateTo))("isRequired",!0)}},QFb=function(a){if(a&1){var b=v();I(0,"div");Q(1," the last ");I(2,"input",48);bh("ngModelChange",function(c){w(b);var d=P(3).$implicit;ah(d.duration,c)||(d.duration=c);return x(c)});J();Q(3," days. ");J()}a&2&&(a=P(3).$implicit,B(2),$g("ngModel",a.duration))},RFb=function(a){if(a&1){var b=v();I(0,"div")(1,"bv2-input-date-picker",
47);M("boundValueChange",function(d){w(b);P(3).$implicit.dateFrom=OFb(d);return x()});J()()}if(a&2){a=P(3).$implicit;var c=P(2);B();E("boundValue",c.getDateValue(a.dateFrom))("isRequired",!0)}},SFb=function(a){a&1&&(I(0,"div"),D(1,PFb,4,4,"div")(2,QFb,4,1,"div")(3,RFb,2,2,"div"),J());a&2&&(a=P(2).$implicit,B(),G(a.type=="RANGE"||a.type=="NRANGE"?1:-1),B(),G(a.type=="DURATION"||a.type=="NDURATION"?2:-1),B(),G(a.type=="LE"||a.type=="LT"||a.type=="GE"||a.type=="GT"||a.type=="OR"?3:-1))},TFb=function(a){if(a&
1){var b=v();I(0,"div",26);M("click",function(){w(b);var d=P(2).$implicit,e=P(5);return x(mu(e,d))});I(1,"span",27);Q(2);J()()}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);B(2);R(" ",(c.hotlists[a.value]==null?null:c.hotlists[a.value].name)||a.value," ")}},UFb=function(a,b){a&1&&(I(0,"mat-option",11),Q(1),J());a&2&&(a=b.$implicit,E("value",a.hotlistId),B(),R(" ",a.name," "))},VFb=function(a){if(a&1){var b=v();I(0,"mat-form-field",
50)(1,"mat-select",51);bh("ngModelChange",function(d){w(b);var e=P(2).$implicit;ah(e.value,d)||(e.value=d);return x(d)});M("selectionChange",function(){w(b);var d=P(7);return x(ju(d))});yg(2,UFb,2,2,"mat-option",11,xg);J()()}if(a&2){a=P(2).$implicit;var c=P(5);B();$g("ngModel",a.value);B();zg(c.userHotlists)}},WFb=function(a){if(a&1){var b=v();I(0,"div",49);D(1,TFb,3,2,"div",23)(2,VFb,4,1,"mat-form-field",50);I(3,"button",25);M("click",function(){w(b);var d=P().$implicit,e=P(3).$implicit,f=P(2);return x(ku(f,
e,d))});J()()}if(a&2){a=P().$implicit;var c=P(5);B();G(c.chipUnderEdit===a?-1:1);B();G(c.chipUnderEdit===a?2:-1)}},XFb=function(a,b){a&1&&D(0,WFb,4,2,"div",49);a&2&&(a=b.$implicit,b=P(5),G(b.chipUnderEdit===a||a.value?0:-1))},YFb=function(a){if(a&1){var b=v();I(0,"button",29);M("click",function(){w(b);var c=P(3).$implicit,d=P(2);return x(lu(d,c))});Q(1);J()}a&2&&(a=P(3).$implicit,B(),R(" + ",a.type=="OR"||a.type=="NAND"?"OR":"AND"," "))},ZFb=function(a){a&1&&(I(0,"div",19),yg(1,XFb,1,1,null,null,
xg),D(3,YFb,2,1,"button",21),J());a&2&&(a=P(2).$implicit,B(),zg(a.values),B(2),G(a.type?3:-1))},$Fb=function(a){if(a&1){var b=v();I(0,"div",26);M("click",function(){w(b);var d=P(2).$implicit,e=P(5);return x(mu(e,d))});I(1,"span",27);Q(2);J()()}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);B(2);R(" ",(c.savedSearches[a.value]==null?null:c.savedSearches[a.value].name)||a.value," ")}},aGb=function(a,b){a&1&&(I(0,"mat-option",
11),Q(1),J());a&2&&(a=b.$implicit,E("value",a.searchId),B(),R(" ",a.name," "))},bGb=function(a){if(a&1){var b=v();I(0,"mat-form-field",50)(1,"mat-select",52);bh("ngModelChange",function(d){w(b);var e=P(2).$implicit;ah(e.value,d)||(e.value=d);return x(d)});M("selectionChange",function(){w(b);var d=P(7);return x(ju(d))});yg(2,aGb,2,2,"mat-option",11,xg);J()()}if(a&2){a=P(2).$implicit;var c=P(5);B();$g("ngModel",a.value);B();zg(c.userSavedSearches)}},cGb=function(a){if(a&1){var b=v();I(0,"div",49);D(1,
$Fb,3,2,"div",23)(2,bGb,4,1,"mat-form-field",50);I(3,"button",25);M("click",function(){w(b);var d=P().$implicit,e=P(3).$implicit,f=P(2);return x(ku(f,e,d))});J()()}if(a&2){a=P().$implicit;var c=P(5);B();G(c.chipUnderEdit===a?-1:1);B();G(c.chipUnderEdit===a?2:-1)}},dGb=function(a,b){a&1&&D(0,cGb,4,2,"div",49);a&2&&(a=b.$implicit,b=P(5),G(b.chipUnderEdit===a||a.value?0:-1))},eGb=function(a){if(a&1){var b=v();I(0,"button",29);M("click",function(){w(b);var c=P(3).$implicit,d=P(2);return x(lu(d,c))});
Q(1);J()}a&2&&(a=P(3).$implicit,B(),R(" + ",a.type=="OR"||a.type=="NAND"?"OR":"AND"," "))},fGb=function(a){a&1&&(I(0,"div",19),yg(1,dGb,1,1,null,null,xg),D(3,eGb,2,1,"button",21),J());a&2&&(a=P(2).$implicit,B(),zg(a.values),B(2),G(a.type?3:-1))},gGb=function(a){a&1&&(I(0,"div",14),D(1,gFb,4,1,"div",19)(2,iFb,3,0,"div",20)(3,nFb,5,4,"div")(4,qFb,4,1,"div",19)(5,xFb,4,1,"div",19)(6,EFb,4,1,"div",19)(7,NFb,2,1,"div",19)(8,SFb,4,3,"div")(9,ZFb,4,1,"div",19)(10,fGb,4,1,"div",19),J());if(a&2){a=P().$implicit;
var b=P(2);B();G(a.getWidgetType()==="repeated-enum"?1:-1);B();G(a.getWidgetType()==="enum"?2:-1);B();G(a instanceof nu?3:-1);B();G(a.getWidgetType()=="text"?4:-1);B();G(a.getWidgetType()=="component"?5:-1);B();G(b.isTrackerSearchEnabled&&a.getWidgetType()=="tracker"?6:-1);B();G(a.getWidgetType()=="team"?7:-1);B();G(a.getWidgetType()==="date"?8:-1);B();G(a.getWidgetType()=="hotlist"?9:-1);B();G(a.getWidgetType()=="savedsearch"?10:-1)}},hGb=function(a){a&1&&(I(0,"div",15),Q(1),J());if(a&2){a=P().$implicit;
var b=P(2);B();R(" ",b.getCustomFieldName(a)," ")}},kGb=function(a){if(a&1){var b=v();I(0,"div",16)(1,"b-custom-field-picker",53);M("fieldSelected",function(c){w(b);var d=P().$index,e=P(2),f=c.customFieldId;e.customFields[f]=c;e.expressions[d]=iGb(e.searchRuleFactory,"CUSTOM_FIELD",e.customFields[f]);jGb(e,e.expressions[d]);return x()});J()()}},mGb=function(a,b){if(a&1){var c=v();I(0,"div",5)(1,"div",12)(2,"mat-form-field",4)(3,"mat-select",13);bh("ngModelChange",function(d){var e=w(c).$implicit;
ah(e.label.field,d)||(e.label.field=d);return x(d)});M("selectionChange",function(){var d=w(c).$index,e=P(2);return x(lGb(e,d))});yg(4,YEb,2,2,"mat-option",11,xg);J()();D(6,$Eb,4,1,"mat-form-field",4);J();D(7,gGb,11,10,"div",14)(8,hGb,2,1,"div",15)(9,kGb,2,0,"div",16);I(10,"button",17);M("click",function(){var d=w(c).$implicit,e=P(2);return x(e.removeExpression(d))});J()()}a&2&&(a=b.$implicit,b=P(2),B(3),$g("ngModel",a.label.field),B(),zg(b.availableLabels),B(2),G(a.isPendingCustomField?-1:6),B(),
G(a.isPendingCustomField?-1:7),B(),G(a.label.customFieldId?8:-1),B(),G(a.isPendingCustomField?9:-1))},nGb=function(a,b){if(a&1){var c=v();I(0,"button",54);M("click",function(){var d=w(c).$implicit,e=P(2);e.expressions.push({label:{field:d[0]}});lGb(e,e.expressions.length-1);return x()});Q(1);J()}a&2&&(a=b.$implicit,B(),R(" ",a[1]," "))},oGb=function(a){a&1&&(I(0,"div",1)(1,"div",2)(2,"span",3),Q(3,"Advanced search query builder"),J(),D(4,XEb,5,3,"mat-form-field",4),J(),yg(5,mGb,11,5,"div",5,wg),I(7,
"div",6)(8,"button",7),Q(9),J(),I(10,"mat-menu",8,0),yg(12,nGb,2,1,"button",9,xg),J()()());if(a&2){a=L(11);var b=P();B(4);G(b.expressions.length?4:-1);B();zg(b.expressions);B(3);E("matMenuTriggerFor",a);B();R(" ",b.expressionType," ... ");B(3);zg(b.availableLabels)}},qGb=function(a){if(a&1){var b=v();I(0,"button",2);M("click",function(){w(b);var c=P();return x(pGb(c))});Q(1);J()}a&2&&(a=P(),B(),R(" ",a.buttonLabel," "))},rGb=function(a){if(a&1){var b=v();I(0,"button",3);M("click",function(){w(b);
var c=P();return x(pGb(c))});K(1,"mat-icon",4);Q(2);J()}a&2&&(a=P(),E("matTooltip","Open release notes"),B(),E("svgIcon",a.alertMode?"release-notes-alert":"release-notes-default"),B(),R(" ",a.buttonLabel," "))},sGb=function(a){a&1&&K(0,"div",0)},tGb=function(a){a&1&&K(0,"div",1)},uGb=function(a){if(a&1){var b=v();I(0,"button",9);M("click",function(c){w(b);var d=P();return x(d.manageSlos(c))});Q(1,"Manage SLOs");J()}},vGb=function(a){a&1&&(I(0,"a",11),Q(1,"Early Access "),K(2,"b-feature-stage-label",
12),J())},wGb=function(a){a&1&&K(0,"mat-divider")(1,"b-whats-new-button",13);a&2&&(B(),E("menuMode",!0))},xGb=function(a){a&1&&K(0,"b-whats-new-button",0);a&2&&(a=P(),E("alertMode",a.majorReleaseNotesUpdated))},yGb=function(a){if(a&1){var b=v();I(0,"button",4);M("click",function(){w(b);var c=P();return x(c.openFeedbackDialog())});K(1,"mat-icon",5);J()}},zGb=function(a){if(a&1){var b=v();I(0,"button",5);M("click",function(){w(b);var c=P();return x(c.clickMenu.emit())});K(1,"mat-icon",6);J()}},CGb=
function(a,b){a&1&&(I(0,"output",4),Q(1),J());a&2&&(a=b.$implicit,E("ngClass",a.color?eh(2,AGb,a.color):dh(4,BGb)),B(),Yg(a.name))},DGb=function(a){a&1&&(I(0,"span"),Q(1," Currently selected hotlist: "),I(2,"strong"),Q(3),J()());a&2&&(a=P(3),B(3),Yg(a.header.hotlist.name))},EGb=function(a){a&1&&Q(0," Showing your subscribed hotlists. Start typing a hotlist name or ID to filter. ")},FGb=function(a){a&1&&D(0,DGb,4,1,"span")(1,EGb,1,0);a&2&&(a=P(2),G(a.header.hotlist?0:1))},GGb=function(a){a&1&&(I(0,
"span"),Q(1,"Currently selected saved search: "),I(2,"strong"),Q(3),J()());a&2&&(a=P(3),B(3),Yg(a.header.savedSearch.name))},HGb=function(a){a&1&&Q(0," Showing your saved searches. Start typing a saved search name or ID to filter. ")},IGb=function(a){a&1&&D(0,GGb,4,1,"span")(1,HGb,1,0);a&2&&(a=P(2),G(a.header.savedSearch?0:1))},JGb=function(a){a&1&&(I(0,"span"),Q(1," and "),I(2,"strong"),Q(3,"subcomponents"),J()())},KGb=function(a){a&1&&(I(0,"span"),Q(1," Currently selected component: "),I(2,"strong",
3),Q(3),J(),K(4,"b-component-access-level-indicator",4)(5,"b-tracker-chip-smart",5),D(6,JGb,4,0,"span"),J());if(a&2){a=P(3);B(3);var b=a.header.component,c=ou(a.trackerHelpers,b.componentPathInfo);Yg(c&&c.componentPathName?c.componentPathName.join(" > "):b.name);B();E("accessLevel",a.header.component.accessLimit==null?null:a.header.component.accessLimit.accessLevel);B();E("trackerId",a.header.component.trackerId);B();G(a.header.includeChildren?6:-1)}},LGb=function(a){a&1&&Q(0," Start typing a component name or ID to see auto-complete suggestions. ")},
MGb=function(a){a&1&&D(0,KGb,7,4,"span")(1,LGb,1,0);a&2&&(a=P(2),G(a.header.component?0:1))},NGb=function(a){a&1&&(I(0,"span"),Q(1," Currently selected tracker: "),I(2,"strong"),Q(3),J()());a&2&&(a=P(3),B(3),Yg(a.header.tracker.name))},OGb=function(a){a&1&&Q(0," Start typing a tracker name or ID to see auto-complete suggestions. ")},PGb=function(a){a&1&&D(0,NGb,4,1,"span")(1,OGb,1,0);a&2&&(a=P(2),G(a.header.tracker?0:1))},QGb=function(a){a&1&&(I(0,"span"),Q(1," and "),I(2,"strong"),Q(3,"subteams"),
J()())},RGb=function(a){a&1&&(I(0,"span"),Q(1," Currently selected team: "),I(2,"strong"),Q(3),J(),D(4,QGb,4,0,"span"),J());a&2&&(a=P(3),B(3),Yg(a.header.team.name),B(),G(a.header.includeChildren?4:-1))},SGb=function(a){a&1&&Q(0," Start typing a team name or ID to see auto-complete suggestions. ")},TGb=function(a){a&1&&D(0,RGb,5,2,"span")(1,SGb,1,0);a&2&&(a=P(2),G(a.header.team?0:1))},UGb=function(a,b){a&1&&(I(0,"span"),Q(1," Currently selected custom field: "),I(2,"strong"),Q(3),J(),Q(4," of type "),
I(5,"strong"),Q(6),S(7,"lowercase"),J(),Q(8,". "),J());a&2&&(B(3),Yg(b.name),B(3),Yg(U(7,2,b.type)))},VGb=function(a){a&1&&Q(0," Start typing a custom field name or ID to see auto-complete suggestions. ")},WGb=function(a){a&1&&D(0,UGb,9,4,"span")(1,VGb,1,0);if(a&2){var b;a=P(2);G((b=a.header.customField)?0:1,b)}},XGb=function(a){a&1&&(I(0,"div",0),D(1,FGb,2,1)(2,IGb,2,1)(3,MGb,2,1)(4,PGb,2,1)(5,TGb,2,1)(6,WGb,2,1),J());a&2&&(a=P(),B(),G(a.header.type==="hotlist"?1:-1),B(),G(a.header.type==="savedsearch"?
2:-1),B(),G(a.header.type==="component"?3:-1),B(),G(a.header.type==="tracker"?4:-1),B(),G(a.header.type==="team"?5:-1),B(),G(a.header.type==="customfield"?6:-1))},YGb=function(a){a&1&&(I(0,"span"),Q(1),J());a&2&&(a=P().$implicit,B(),Zg(" ",a.id,": ",a.name," "))},ZGb=function(a){a&1&&(I(0,"span"),Q(1),I(2,"span"),Q(3),J()());a&2&&(a=P().$implicit,B(),R(" Hotlist ",a.id,": "),B(2),Yg(a.name))},$Gb=function(a){a&1&&(I(0,"span"),Q(1),I(2,"span"),Q(3),J(),K(4,"br"),I(5,"span",7),Q(6),J()());a&2&&(a=P().$implicit,
B(),R(" Saved search ",a.id,": "),B(2),Yg(a.name),B(3),Yg(a.query))},aHb=function(a){a&1&&(I(0,"span"),Q(1),J());a&2&&(a=P().$implicit,B(),R(" ",a.name," "))},bHb=function(a){a&1&&(I(0,"span"),Q(1," > "),J())},dHb=function(a,b){if(a&1){var c=v();I(0,"span",9);M("click",function(e){var f=w(c).$implicit;cHb(f);return x(e.stopPropagation())});Q(1);J();D(2,bHb,2,0,"span")}if(a&2){a=b.$implicit;var d=b.$index;b=b.$count;Mg("title","",a.id,": ",a.name,"");B();Yg(a.name);B();G(d!==b-1?2:-1)}},eHb=function(a){a&
1&&(I(0,"span"),Q(1," Component "),I(2,"strong",3),Q(3),J(),K(4,"b-component-access-level-indicator",4)(5,"b-tracker-chip-smart",5),I(6,"span",8),yg(7,dHb,3,5,null,null,xg),J()());a&2&&(a=P().$implicit,B(3),Yg(a.id),B(),E("accessLevel",a.accessLimit==null?null:a.accessLimit.accessLevel),B(),E("trackerId",a.trackerId),B(2),zg(a.componentPath))},fHb=function(a){a&1&&(I(0,"span"),Q(1),I(2,"span"),Q(3),J()());a&2&&(a=P().$implicit,B(),R(" Tracker ",a.id,": "),B(2),Yg(a.name))},gHb=function(a){a&1&&(I(0,
"span"),Q(1," > "),J())},hHb=function(a,b){if(a&1){var c=v();I(0,"span",9);M("click",function(e){var f=w(c).$implicit;cHb(f);return x(e.stopPropagation())});Q(1);J();D(2,gHb,2,0,"span")}if(a&2){a=b.$implicit;var d=b.$index;b=b.$count;Mg("title","",a.id,": ",a.name,"");B();Yg(a.name);B();G(d!==b-1?2:-1)}},iHb=function(a){a&1&&(I(0,"span"),Q(1," Team "),I(2,"strong"),Q(3),J(),I(4,"span",8),yg(5,hHb,3,5,null,null,xg),J()());a&2&&(a=P().$implicit,B(3),Yg(a.id),B(2),zg(a.teamPath))},jHb=function(a){a&
1&&(I(0,"span"),Q(1," > "),J())},kHb=function(a,b){a&1&&(I(0,"span"),Q(1),J(),D(2,jHb,2,0,"span"));if(a&2){a=b.$implicit;var c=b.$index;b=b.$count;B();Yg(a);B();G(c!==b-1?2:-1)}},lHb=function(a){a&1&&(I(0,"span"),Q(1),I(2,"span"),Q(3),J(),I(4,"span",10),yg(5,kHb,3,2,null,null,xg),J()());a&2&&(a=P().$implicit,B(),R(" Custom Field ",a.id,": "),B(2),Yg(a.name),B(2),zg(a.componentPathNames))},mHb=function(a){a&1&&(I(0,"span"),Q(1),J());a&2&&(a=P().$implicit,B(),Zg(" ",a.label,": ",a.name," "))},oHb=function(a,
b){if(a&1){var c=v();I(0,"b-app-search-auto-complete-option",6);M("optionClicked",function(e){w(c);var f=P();e>=0&&e<f.items.length&&(e=f.items[e],e.id&&e.completionCfg&&nHb(e),f.itemSelected.emit(e));return x()});D(1,YGb,2,2,"span")(2,ZGb,4,2,"span")(3,$Gb,7,3,"span")(4,aHb,2,1,"span")(5,eHb,9,3,"span")(6,fHb,4,2,"span")(7,iHb,7,1,"span")(8,lHb,7,2,"span")(9,mHb,2,2,"span");J()}if(a&2){a=b.$implicit;b=b.$index;var d=P();lg("id","b-app-search-option-",b,"");E("index",b)("isActive",b>=0&&b<d.items.length?
b===d.activeItemIndex:!1);B();G(a.completionCfg.type==="issue"?1:-1);B();G(a.completionCfg.type==="hotlist"?2:-1);B();G(a.completionCfg.type==="savedsearch"?3:-1);B();G(a.completionCfg.type==="atom"?4:-1);B();G(a.completionCfg.type==="component"?5:-1);B();G(a.completionCfg.type==="tracker"?6:-1);B();G(a.completionCfg.type==="team"?7:-1);B();G(a.completionCfg.type==="customField"?8:-1);B();G(d.SPECIAL_ITEM_TYPES.includes(a.completionCfg.type)?-1:9)}},qHb=function(a){if(a&1){var b=v();I(0,"div",21)(1,
"input",22,2);bh("ngModelChange",function(c){w(b);var d=P();ah(d.searchName,c)||(d.searchName=c);return x(c)});M("keydown.Tab",function(){w(b);var c=P();return x(pHb(c))})("keydown.enter",function(){w(b);var c=P();return x(c.saveSearch())});J();I(3,"button",23);M("click",function(){w(b);var c=P();return x(c.saveSearch())});K(4,"mat-icon",24);J()()}a&2&&(a=P(),B(),$g("ngModel",a.searchName),B(2),E("disabled",!a.searchName))},rHb=function(a){a&1&&(I(0,"span",9),Q(1),J());a&2&&(a=P(),sg("muted",a.disabled),
B(),Yg(a.cardTitle))},sHb=function(a){a&1&&(I(0,"mat-select-trigger"),K(1,"mat-icon",15),I(2,"span"),Q(3),J()());a&2&&(a=P(3),B(),E("svgIcon",a.selectedOption.icon),B(2),Yg(a.selectedOption.displayText))},tHb=function(a){a&1&&K(0,"mat-icon",15);a&2&&(a=P().$implicit,E("svgIcon",a.icon))},uHb=function(a,b){a&1&&(I(0,"mat-option",14),D(1,tHb,1,1,"mat-icon",15),Q(2),J());a&2&&(a=b.$implicit,E("value",a),B(),G(a.icon?1:-1),B(),R(" ",a.displayText," "))},vHb=function(a){if(a&1){var b=v();I(0,"mat-form-field",
12)(1,"mat-label");Q(2," Choose type... ");J();I(3,"mat-select",13);bh("valueChange",function(c){w(b);var d=P(2);ah(d.selectedOption,c)||(d.selectedOption=c);return x(c)});M("selectionChange",function(c){w(b);P(2).dropdownSelectionChanged.emit(c.value);return x()});D(4,sHb,4,2,"mat-select-trigger");yg(5,uHb,3,3,"mat-option",14,xg);J()()}a&2&&(a=P(2),B(3),E("disabled",a.disabled),$g("value",a.selectedOption),B(),G(a.selectedOption&&a.selectedOption.icon?4:-1),B(),zg(a.dropdownOptions))},wHb=function(a){if(a&
1){var b=v();I(0,"mat-form-field",10)(1,"input",11);M("ngModelChange",function(c){w(b);var d=P();return x(d.cardTitleChange.emit(c))});J()();D(2,vHb,7,3,"mat-form-field",12)}a&2&&(a=P(),B(),sg("muted",a.disabled||!a.selected),E("placeholder",a.placeholderForCardTitle)("disabled",a.disabled||!a.selected)("ngModel",a.cardTitle),jg("aria-label",a.ariaLabelForCardTitle),B(),G(a.dropdownOptions.length?2:-1))},xHb=function(a){a&1&&K(0,"mat-icon",5)},yHb=function(a){a&1&&K(0,"mat-icon",6)},zHb=function(a){a&
1&&(I(0,"div",7),Jg(1),J())},AHb=function(a){a&1&&(I(0,"button",18),K(1,"mat-icon",22),J());a&2&&(a=P(2),E("disabled",a.disabled))},BHb=function(a){a&1&&K(0,"mat-divider",19);a&2&&E("vertical",!0)},CHb=function(a){a&1&&(I(0,"mat-slide-toggle",20),Q(1," Required "),J());a&2&&(a=P(2),E("disabled",a.disabled))},DHb=function(a){if(a&1){var b=v();I(0,"mat-slide-toggle",23);M("change",function(c){w(b);var d=P(2);return x(d.isInheritedChange.emit(c))});Q(1," Inherited ");J()}a&2&&(a=P(2),E("checked",a.isInherited)("disabled",
a.inheritedDisabled)("matTooltip",a.inheritedDisabledTooltipText)("matTooltipDisabled",!a.inheritedDisabled))},EHb=function(a){if(a&1){var b=v();I(0,"div",8)(1,"button",16);M("click",function(){w(b);var c=P();return x(c.onSave())});Q(2," Save ");J();I(3,"button",17);M("click",function(){w(b);var c=P();return x(c.onCancel())});Q(4," Cancel ");J();D(5,AHb,2,1,"button",18)(6,BHb,1,1,"mat-divider",19)(7,CHb,2,1,"mat-slide-toggle",20)(8,DHb,2,4,"mat-slide-toggle",21);J()}a&2&&(a=P(),B(),E("disabled",a.isSaveButtonDisabled),
B(2),E("disabled",a.disabled),B(2),G(a.showDeleteButton?5:-1),B(),G(a.showDeleteButton&&a.showRequiredToggle?6:-1),B(),G(a.showRequiredToggle?7:-1),B(),G(a.showInheritedToggle?8:-1))},FHb=function(a,b){a&1&&(I(0,"mat-option",6),Q(1),J());a&2&&(a=b.$implicit,E("value",a),B(),Yg(a.name))},GHb=function(a){if(a&1){var b=v();I(0,"mat-form-field")(1,"mat-select",5);bh("valueChange",function(c){w(b);var d=P();ah(d.selected,c)||(d.selected=c);return x(c)});yg(2,FHb,2,2,"mat-option",6,xg);J()()}a&2&&(a=P(),
B(),$g("value",a.selected),B(),zg(a.options))},HHb=function(a){a&1&&Q(0," All the available shared fields have been activated. ")},IHb=function(a){a&1&&(I(0,"div"),Q(1," Once activated, the shared field will appear in the right panel of all issues. This only affects the visibility of the shared field in Buganizer UI. "),I(2,"a",7),Q(3,"Learn more"),J()())},JHb=function(a){return eBa(a.getIt())},KHb=function(a){a&1&&(I(0,"h3"),Q(1),J());a&2&&(a=P(2),B(),R(" Edit Custom Field ",a.editableField.customFieldId,
" "))},LHb=function(a){a&1&&(I(0,"h3"),Q(1," Create Custom Field "),J())},MHb=function(a){a&1&&(I(0,"div",11),Q(1),J());a&2&&(a=P(2),B(),R(" ",a.serverError," "))},OHb=function(a,b){a&1&&(I(0,"button",25),Q(1),S(2,"enumToHuman"),J());a&2&&(a=b.$implicit,P(),b=L(33),E("matMenuTriggerFor",b)("matMenuTriggerData",eh(5,NHb,a)),B(),R(" ",U(2,3,a)," "))},PHb=function(a,b){if(a&1){var c=v();I(0,"button",41);M("click",function(){var d=w(c).$implicit,e=P().type,f=P(2);return x(f.setType(e,d==="Multiple"))});
Q(1);J()}a&2&&(a=b.$implicit,B(),R(" ",a," "))},QHb=function(a){a&1&&yg(0,PHb,2,1,"button",40,xg);a&2&&(a=P(2),zg(a.secondaryTypes))},SHb=function(a){if(a&1){var b=v();I(0,"td",13)(1,"label",42);Q(2," Allowed Values: ");J();I(3,"b-list-field",43);M("valuesChange",function(c){w(b);var d=P(2);return x(RHb(d,c.values))});J()()}a&2&&(a=P(2),B(3),E("defaultLineCount",3)("type",a.ListFieldType.REPEATED_TEXT)("values",a.editableField.allowedValue||null)("listFieldDisabled",a.isSaving)("preventDuplicates",
!0)("isDefaultOrAllowedValues",!0)("truncate",!0))},THb=function(a){a&1&&(I(0,"label",27),Q(1," Default Value: "),J())},WHb=function(a,b){if(a&1){var c=v();I(0,"b-edit-field",44);M("valueChange",function(d){w(c);var e=P(2);UHb(e,d);return x()});J()}a&2&&(a=P(2),E("name","Default")("type",b)("tooltip","Set default value")("value",VHb(a))("choices",a.allowedValues)("showEnumTitle",!0)("disabled",a.isSaving)("truncate",!0)("clearable",!0))},XHb=function(a){a&1&&(I(0,"label",29),Q(1," Default Values: "),
J())},YHb=function(a,b){if(a&1){var c=v();I(0,"b-list-field",45);M("valuesChange",function(d){w(c);var e=P(2);UHb(e,d.values);return x()});J()}a&2&&(a=P(2),E("defaultLineCount",3)("type",b)("tooltip","Set default values")("values",a.getListFieldValues())("enumChoices",a.allowedValues)("isDefaultOrAllowedValues",!0)("listFieldDisabled",a.isSaving)("truncate",!0))},ZHb=function(a,b){if(a&1){var c=v();I(0,"button",46);M("click",function(){var d=w(c).$implicit,e=P(2);return x(e.setFieldSignificance(d))});
Q(1);S(2,"enumToHuman");J()}a&2&&(a=b.$implicit,B(),R(" ",U(2,1,a)," "))},$Hb=function(a){if(a&1){var b=v();I(0,"div",9);D(1,KHb,2,1,"h3")(2,LHb,2,0,"h3")(3,MHb,2,1,"div",11);I(4,"form",12)(5,"div",13)(6,"label",14);Q(7,"Name:");J();I(8,"input",15);bh("ngModelChange",function(q){w(b);var u=P();ah(u.editableField.name,q)||(u.editableField.name=q);return x(q)});J()();I(9,"div",13)(10,"label",16);Q(11,"Description:");J();I(12,"textarea",17);bh("ngModelChange",function(q){w(b);var u=P();ah(u.editableField.description,
q)||(u.editableField.description=q);return x(q)});J()();I(13,"table",18)(14,"tr")(15,"td",13)(16,"div",19)(17,"label",20);Q(18," Type: ");J();I(19,"onedev-hovercard",null,0)(21,"div",21)(22,"div",22);Q(23," You can only choose type of field when creating a new custom field. You won't be able to edit it after the custom field is created. ");J()()()();I(24,"button",23);Q(25);S(26,"enumToHuman");K(27,"b-icon",24);J();I(28,"mat-menu",null,1);yg(30,OHb,3,7,"button",25,xg);J();I(32,"mat-menu",null,2);D(34,
QHb,2,0,"ng-template",26);J()();D(35,SHb,4,7,"td",13);I(36,"td",13);D(37,THb,2,0,"label",27)(38,WHb,1,9,"b-edit-field",28)(39,XHb,2,0,"label",29)(40,YHb,1,8,"b-list-field",30);J();I(41,"td",13)(42,"label",31);Q(43," Required: ");J();I(44,"b-edit-field",32);M("valueChange",function(q){w(b);var u=P();return x(u.editableField.required=!!q)});J()();I(45,"td",13)(46,"div",19)(47,"label",33);Q(48," Field Significance: ");J();I(49,"onedev-hovercard",null,3)(51,"div",34)(52,"div",22);Q(53," This affects whether users will receive notifications when changes are made to this field. ");
K(54,"br");Q(55," See\u00a0 ");I(56,"a",35);Q(57,"Email Settings ");J()()()()();I(58,"button",36);Q(59);S(60,"enumToHuman");K(61,"b-icon",24);J();I(62,"mat-menu",null,4);yg(64,ZHb,3,3,"button",37,xg);J()()()();I(66,"button",38);M("click",function(){w(b);var q=P();return x(q.save())});Q(67," Save ");J();I(68,"button",39);M("click",function(){w(b);var q=P();return x(q.cancel())});Q(69," Cancel ");J()()()}if(a&2){var c,d;a=L(20);var e=L(29),f=L(50),h=L(63),l=P();B();G(l.editableField.customFieldId?1:
2);B(2);G(l.serverError?3:-1);B(5);E("bFocus",l.editableField&&!l.isLoading);$g("ngModel",l.editableField.name);E("disabled",l.isSaving);B(4);$g("ngModel",l.editableField.description);E("disabled",l.isSaving);B(5);E("onedevHovercardTrigger",a);B(7);E("matMenuTriggerFor",e)("disabled",!!l.editableField.customFieldId);B();R(" ",U(26,25,l.editableField.type)," ");B(5);zg(l.typeChoices);B(5);G(["REPEATED_ENUM","ENUM"].includes(l.editableField.type)?35:-1);B(2);G(l.isRepeated(l.editableField)?-1:37);B();
G((c=l.getSingleEditFieldType(l.editableField))?38:-1,c);B();G(l.isRepeated(l.editableField)?39:-1);B();G((d=l.getListFieldType(l.editableField))?40:-1,d);B(4);E("name","Required")("type",l.FieldType.BOOL)("tooltip","Whether the field is required")("value",l.editableField.required);B(3);E("onedevHovercardTrigger",f);B(9);E("href",l.documentationLinks.baseDocumentationUrl+"/concepts/settings#email",vf);B(2);E("matMenuTriggerFor",h);B();R(" ",U(60,27,l.editableField.fieldSignificance)," ");B(5);zg(l.significanceChoices);
B(2);E("disabled",!l.hasUnsavedChanges()||!l.editableField.name)}},aIb=function(a){a&1&&(I(0,"div",10),K(1,"b-spinner",47),J());a&2&&(B(),E("large",!0))},bIb=function(a){a&1&&(I(0,"th"),Q(1,"Actions"),J())},dIb=function(a){if(a&1){var b=v();I(0,"td",52)(1,"button",53);M("click",function(){w(b);var c=P().$index,d=P(2);return x(d.editField(c))});Q(2,"Edit");J();I(3,"button",53);M("click",function(){w(b);var c=P().$index,d=P(2);return x(cIb(d,c))});Q(4,"Delete");J()()}},eIb=function(a,b){a&1&&(I(0,"tr",
49)(1,"td"),Q(2),J(),I(3,"td"),Q(4),J(),I(5,"td"),Q(6),S(7,"enumToHuman"),J(),I(8,"td"),Q(9),J(),I(10,"td"),Q(11),S(12,"yesNo"),J(),I(13,"td"),K(14,"b-custom-field-value-display",51),J(),I(15,"td"),Q(16),S(17,"arrayToHuman"),J(),I(18,"td"),Q(19),S(20,"enumToHuman"),J(),D(21,dIb,5,0,"td",52),J());a&2&&(a=b.$implicit,b=P(2),E("ngClass",a.enabledOnIssues?"enabled-field":"disabled-field"),B(2),Yg(a.name),B(2),Yg(a.customFieldId),B(2),Yg(U(7,10,a.type)),B(3),Yg(a.description),B(2),Yg(U(12,12,a.required)),
B(3),E("customFieldValue",a.typedDefaultValue),B(2),Yg(U(17,14,a.allowedValue)),B(3),Yg(U(20,16,a.fieldSignificance)),B(2),G(b.editMode?21:-1))},fIb=function(a){a&1&&(I(0,"tr")(1,"td",54),Q(2," There are no custom fields defined on this component. "),J()())},gIb=function(a){a&1&&(I(0,"tr")(1,"td",55)(2,"strong"),Q(3,"Fields inherited from parent components"),J()()())},hIb=function(a){a&1&&(Ag(0),K(1,"b-component-card",61,6),Bg());if(a&2){a=L(2);var b=P().$implicit;B();E("onedevIsHovercardReady",a.init)("componentId",
b.componentId.toString())}},jIb=function(a){if(a&1){var b=v();I(0,"b-field-state-menu",62,7);M("fieldStateChange",function(d){w(b);var e=P(),f=e.$implicit;e=e.$index;var h=P(3);return x(h.updateCustomFieldState(f,d,e))});J()}if(a&2){a=P().$implicit;var c=P(3);E("fieldName",a.name)("fieldState",a.stateOnIssues)("enabledOnParent",iIb(c,a.customFieldId))("disabled",!c.editMode)("matTooltip",c.msgFieldStateTip);jg("aria-label",c.msgFieldStateTip)}},kIb=function(a,b){if(a&1){var c=v();I(0,"tr",49)(1,"td");
Q(2);J();I(3,"td");Q(4);J();I(5,"td");Q(6);S(7,"enumToHuman");J();I(8,"td");Q(9);J();I(10,"td");Q(11);S(12,"yesNo");J();I(13,"td");K(14,"b-custom-field-value-display",51);J();I(15,"td");Q(16);S(17,"arrayToHuman");J();I(18,"td");Q(19);S(20,"enumToHuman");J();I(21,"td",52)(22,"div",56)(23,"div",57);Q(24,"Inherited From");J();I(25,"a",58);M("click",function(){w(c);var e=P(3);return x(e.trackClick("parentCustomFields"))});Q(26);J();I(27,"onedev-hovercard",null,5);D(29,hIb,3,2,"ng-container",59);J()();
D(30,jIb,2,6,"b-field-state-menu",60);J()()}if(a&2){a=b.$implicit;b=L(28);var d=P(3);E("ngClass",a.enabledOnIssues?"enabled-field":"disabled-field");B(2);Yg(a.name);B(2);Yg(a.customFieldId);B(2);Yg(U(7,13,a.type));B(3);Yg(a.description);B(2);Yg(U(12,15,a.required));B(3);E("customFieldValue",a.typedDefaultValue);B(2);Yg(U(17,17,a.allowedValue));B(3);Yg(U(20,19,a.fieldSignificance));B(6);E("onedevHovercardTrigger",b)("href",d.ROUTES.editComponentFields.makeHref(a.componentId),vf);B();R(" ",d.componentIdsToNames[a.componentId],
" ");B(4);G(d.editMode?30:-1)}},lIb=function(a){a&1&&yg(0,kIb,31,21,"tr",49,xg);a&2&&(a=P(2),zg(a.inheritedCustomFields))},mIb=function(a){a&1&&(I(0,"tr")(1,"td",55)(2,"strong"),Q(3,"Shared fields"),J()()())},oIb=function(a){if(a&1){var b=v();I(0,"div",52)(1,"button",64);M("click",function(){w(b);var d=P().$implicit,e=P(3);return x(nIb(e,d.customFieldId))});Q(2," Deactivate ");J()()}if(a&2){a=P().$implicit;var c=P(3);B();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.":"")}},pIb=function(a,b){a&1&&(I(0,"tr",63)(1,"td"),Q(2),J(),I(3,"td"),Q(4),J(),I(5,"td"),Q(6),S(7,"enumToHuman"),J(),I(8,"td"),Q(9),J(),I(10,"td"),Q(11),S(12,"yesNo"),J(),I(13,"td"),K(14,"b-custom-field-value-display",51),J(),I(15,"td"),Q(16),S(17,"arrayToHuman"),J(),I(18,"td"),Q(19),S(20,"enumToHuman"),
J(),I(21,"td"),D(22,oIb,3,2,"div",52),J()());a&2&&(a=b.$implicit,b=P(3),B(2),Yg(a.name),B(2),Yg(a.customFieldId),B(2),Yg(U(7,9,a.type)),B(3),Yg(a.description),B(2),Yg(U(12,11,a.required)),B(3),E("customFieldValue",a.typedDefaultValue),B(2),Yg(U(17,13,a.allowedValue)),B(3),Yg(U(20,15,a.fieldSignificance)),B(3),G(b.editMode?22:-1))},qIb=function(a){a&1&&yg(0,pIb,23,17,"tr",63,xg);a&2&&(a=P(2),zg(a.sharedFields))},rIb=function(a){a&1&&(I(0,"tfoot")(1,"tr")(2,"td",55),Q(3," Custom fields in this table are sorted alphabetically. To see or modify field ordering, go to the "),
I(4,"a",65),Q(5,"Field Ordering"),J(),Q(6," tab."),K(7,"br"),Q(8," Before removing custom fields or adding/changing required state, ensure that no automation depends on them. "),J()()())},uIb=function(a){if(a&1){var b=v();I(0,"div",50)(1,"button",66);M("click",function(){w(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=pj(c.editableField);c.setType("TEXT");c.allowedValues=[];c.serverError=null;return x()});Q(2," Add a Custom Field ");J();I(3,"button",67);M("click",function(){w(b);var c=P(2);return x(sIb(c))});Q(4," Activate a Shared Field ");J()()}a&2&&(a=P(2),B(3),E("disabled",tIb(a).length==0))},vIb=function(a){a&1&&(I(0,"div")(1,"table",48)(2,"tr")(3,"th"),Q(4,"Name"),J(),I(5,"th"),Q(6,"ID"),J(),I(7,"th"),Q(8,"Type"),J(),I(9,"th"),Q(10,"Description"),J(),I(11,"th"),Q(12,
"Required?"),J(),I(13,"th"),Q(14,"Default Value"),J(),I(15,"th"),Q(16,"Allowed Values"),J(),I(17,"th"),Q(18,"Field Significance"),J(),D(19,bIb,2,0,"th"),J(),yg(20,eIb,22,18,"tr",49,xg),D(22,fIb,3,0,"tr")(23,gIb,4,0,"tr")(24,lIb,2,0)(25,mIb,4,0,"tr")(26,qIb,2,0)(27,rIb,9,0,"tfoot"),J(),D(28,uIb,5,1,"div",50),J());a&2&&(a=P(),B(19),G(a.editMode?19:-1),B(),zg(a.customFields),B(2),G(a.customFields.length?-1:22),B(),G(a.inheritedCustomFields.length?23:-1),B(),G(a.inheritedCustomFields.length?24:-1),B(),
G(a.sharedFields.length?25:-1),B(),G(a.sharedFields.length?26:-1),B(),G(a.customFields.length?27:-1),B(),G(a.editMode?28:-1))},wIb=function(a){if(a&1){var b=v();I(0,"button",17);M("click",function(){w(b);var c=P().$index,d=P();return x(d.removeAtIndex.emit(c))});K(1,"mat-icon",18);J()}a&2&&(a=P().$implicit,jg("aria-label","Delete row "+a.label))},xIb=function(a,b){if(a&1){var c=v();I(0,"div",9)(1,"div",11);K(2,"mat-icon",12);I(3,"div",3)(4,"mat-form-field",13)(5,"input",14,0);M("change",function(d){var e=
w(c).$index,f=P();f.options[e].label=d.target.value;f.optionsChange.emit(f.options);return x()});J()()();I(7,"div",3)(8,"mat-form-field",13)(9,"input",15,1);M("change",function(d){var e=w(c).$index,f=P();return x(f.valueChange(d,e))});J()()();D(11,wIb,2,1,"button",16);J()()}a&2&&(a=b.$implicit,b=P(),B(4),E("appearance","outline"),B(),sg("muted",b.disabled),E("value",a.label)("placeholder",a.label==null?"Dropdown value":"")("disabled",b.disabled),B(3),E("appearance","outline"),B(),sg("muted",b.disabled),
E("value",a.value)("placeholder",a.value==null?"Average days":"")("disabled",b.disabled),B(2),G(b.disabled?-1:11))},yIb=function(a){if(a&1){var b=v();I(0,"button",19);M("click",function(){w(b);var c=P();return x(c.addRow.emit())});Q(1," Add row ");J()}},zIb=function(a){a&1&&Cg(0)},AIb=function(a){a&1&&D(0,zIb,1,0,"ng-container",5);a&2&&(P(),a=L(7),E("ngTemplateOutlet",a))},BIb=function(a){if(a&1){var b=v();I(0,"b-numeric-config",6);bh("valueChange",function(c){w(b);var d=P();ah(d.numericSpecMultiplier,
c)||(d.numericSpecMultiplier=c);return x(c)});J()}a&2&&(a=P(),E("disabled",a.disabled),$g("value",a.numericSpecMultiplier))},CIb=function(){},DIb=function(a){if(a&1){var b=v();I(0,"div",4)(1,"label",7);Q(2,"Aggregation Rule");J();I(3,"a",8);K(4,"mat-icon",9);J();K(5,"br");I(6,"mat-form-field",10)(7,"mat-select",11);bh("valueChange",function(c){w(b);var d=P();ah(d.selectedAggregationRule,c)||(d.selectedAggregationRule=c);return x(c)});I(8,"mat-select-trigger");Q(9);S(10,"aggregationRuleText");J();
I(11,"mat-option",12)(12,"div",13);Q(13);S(14,"aggregationRuleText");J();I(15,"div",14);Q(16,"All parents and children are added to the total");J()();I(17,"mat-option",12)(18,"div",13);Q(19);S(20,"aggregationRuleText");J();I(21,"div",14);Q(22,"Take the assigned estimate if larger than total of all immediate children");J()()()()()}a&2&&(a=P(),B(7),$g("value",a.selectedAggregationRule),E("disabled",a.disabled),B(2),R(" ",U(10,7,a.selectedAggregationRule)," "),B(2),E("value",a.aggregationRules.SUM),
B(2),Yg(U(14,9,a.aggregationRules.SUM)),B(4),E("value",a.aggregationRules.MAX),B(2),Yg(U(20,11,a.aggregationRules.MAX)))},EIb=function(a){if(a&1){var b=v();I(0,"b-config-grid",15);bh("optionsChange",function(c){w(b);var d=P();ah(d.enumSpecOptions,c)||(d.enumSpecOptions=c);return x(c)});M("addRow",function(){w(b);var c=P();return x(c.addRow())})("removeAtIndex",function(c){w(b);P().enumSpecOptions.splice(c,1);return x()});J()}a&2&&(a=P(),$g("options",a.enumSpecOptions),E("disabled",a.disabled||a.inherit))},
FIb=function(a){a&1&&(I(0,"div",4),K(1,"b-team-warning",5),J());a&2&&(a=P(),B(),E("warningType",a)("messageOnly",!0))},GIb=function(a,b){a&1&&D(0,FIb,2,2,"div",4);a&2&&(a=P(),G(!a.isAdmin||b!=="MISSING"&&b!=="DELETED"?-1:0))},HIb=function(a){if(a&1){var b=v();I(0,"div",0)(1,"mat-checkbox",6);M("change",function(c){w(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 ");J()()}a&2&&(a=P(),B(),E("disabled",!a.isAdmin)("checked",!a.inherit))},JIb=function(a){if(a&1){var b=v();I(0,"a",8);M("click",function(){w(b);P(2);So("component","navigate","to-internal-team-page");return x()});K(1,"mat-icon",9);J()}a&2&&(a=P(2),E("routerLink",IIb(a)?"/teams/"+a.model.id+"/edit":null)("target",a.anchorTarget))},KIb=function(a){a&1&&D(0,JIb,2,2,"a",7);a&2&&(a=P(),G(IIb(a)?0:-1))},LIb=function(a){if(a&1){var b=v();I(0,"a",11);M("click",
function(){w(b);var c=P(2);So("component","linkout-moma","team",Number(c.model.id));return x()});K(1,"mat-icon",9);J()}a&2&&(a=P(2),jg("href",a.getMomaTeamLink(),vf))},MIb=function(a){a&1&&D(0,LIb,2,1,"a",10);a&2&&(a=P(),G(IIb(a)?0:-1))},PIb=function(a,b){if(a&1){var c=v();I(0,"li",11);M("keydown",function(e){var f=w(c).$index,h=P();return x(h.onKeyDown(e,f))})("focus",function(){var e=w(c).$index,f=P();return x(f.onFocus(e))});K(1,"mat-icon",12);I(2,"span");Q(3);J();I(4,"div",13)(5,"button",14);
M("click",function(){var e=w(c).$index,f=P();return x(NIb(f,e))});K(6,"mat-icon",15);J();I(7,"button",16);M("click",function(){var e=w(c).$index,f=P();return x(OIb(f,e))});K(8,"mat-icon",17);J()()()}if(a&2){a=b.$implicit;b=b.$index;var d=P();jg("aria-label",a.name)("aria-grabbed",b===d.grabbedIndex);B(3);Yg(a.name);B(2);sg("invisible",b===0);B(2);sg("invisible",b===d.fields.length-1)}},QIb=function(a){a&1&&(I(0,"th",14),Q(1," Order"),J())},RIb=function(a,b){a&1&&(I(0,"td",15),Q(1),J());a&2&&(a=b.index,
B(),R(" ",a+1," "))},SIb=function(a){a&1&&(I(0,"th",14),Q(1," Name"),J())},TIb=function(a,b){a&1&&(I(0,"td",15),Q(1),J());a&2&&(a=b.$implicit,B(),R(" ",a.name," "))},UIb=function(a){a&1&&(I(0,"th",14),Q(1," Type"),J())},VIb=function(a,b){a&1&&(I(0,"td",15),Q(1),S(2,"toCustomFieldTypeDisplayValue"),J());a&2&&(a=b.$implicit,B(),R(" ",U(2,1,a.type)," "))},WIb=function(a){a&1&&(I(0,"th",14),Q(1," Required"),J())},XIb=function(a,b){a&1&&(I(0,"td",15),Q(1),J());a&2&&(a=b.$implicit,B(),R(" ",a.required?
"Yes":"No"," "))},YIb=function(a){a&1&&(I(0,"th",14),Q(1," ID"),J())},ZIb=function(a,b){a&1&&(I(0,"td",15),Q(1),J());a&2&&(a=b.$implicit,B(),R(" ",a.customFieldId," "))},$Ib=function(a){a&1&&K(0,"tr",16)},aJb=function(a){a&1&&K(0,"tr",17)},bJb=function(a){a&1&&(I(0,"div",12),Q(1," There are no custom fields defined on this component. "),J())},eJb=function(a){if(a&1){var b=v();I(0,"div",13)(1,"div")(2,"button",18);M("click",function(){w(b);var c=P();return x(cJb(c))});Q(3," Reorder fields ");J();I(4,
"button",18);M("click",function(){w(b);var c=P();return x(dJb(c))});Q(5," Reset ordering ");J()()()}a&2&&(a=P(),B(2),E("disabled",a.fields.length===0),B(2),E("disabled",a.fieldOrdering!=="CUSTOMIZED"))},fJb=function(a){a&1&&(I(0,"span"),Q(1),J());a&2&&(a=P(),B(),a=a.lineNumbers.length,R(" (",a+(a==1?" TODO":" TODOs"),") "))},hJb=function(a,b){if(a&1){var c=v();I(0,"li",3)(1,"a",4);M("click",function(){w(c);var d=P(2);return x(d.trackClick("lineNumber"))});Q(2);J()()}a&2&&(a=b.$implicit,b=P(2),B(),
E("href",gJb(b,a),vf),B(),Yg(a))},iJb=function(a){a&1&&(I(0,"span"),Q(1," ("),I(2,"ul",2),yg(3,hJb,3,2,"li",3,xg),J(),Q(5,") "),J());a&2&&(a=P(),B(3),zg(a.lineNumbers))},jJb=function(a){a&1&&(I(0,"a",4),Q(1," Create Component "),J());a&2&&(a=P(),E("href",a.createComponentPath,vf))},kJb=function(a){if(a&1){var b=v();I(0,"xap-dialog-layout",10)(1,"xap-dialog-layout-content")(2,"b-team-component-picker",11);S(3,"async");M("selectedComponentChange",function(d){w(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(Qq.editComponent.makeHref(d.componentId)));return x()});J()()()}if(a&2){var c;a=P();B(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)}},mJb=function(a){if(a&1){var b=v();I(0,"div",6)(1,"b-slide-toggle",12);S(2,"async");M("modelChange",function(d){w(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&&lJb(e,d,Fe(e.topLevelComponents$));return x()});J()()}if(a&2){var c;a=P();B();E("model",(c=U(2,2,a.includeArchived$))!==null&&c!==void 0?c:!1)("tooltip",a.includeArchived?"Show archived components.":"Hide archived components.")}},nJb=function(a){a&1&&(I(0,"div",8),K(1,"b-spinner",13),J())},oJb=function(a){a&
1&&(I(0,"p",1),Q(1),J());a&2&&(a=P(),B(),Yg(a.packageMentionSet.packageName))},pJb=function(a,b){a&1&&(I(0,"li"),K(1,"b-file-mention",2),J());a&2&&(a=b.$implicit,b=P(),B(),E("issueId",b.issueId)("packageName",b.packageMentionSet.packageName)("filename",a.filename)("lineNumbers",a.lineNumber)("changeNumber",a.changeNumber))},qJb=function(a){a&1&&(I(0,"div",4),Q(1),J());a&2&&(a=P(),B(),R(" Signed in as ",a.activeSession.getUserEmail()," "))},rJb=function(a){a&1&&(I(0,"span",3),Q(1," Select at least one tracker "),
J())},sJb=function(a,b){if(a&1){var c=v();I(0,"div",5)(1,"mat-checkbox",6);M("change",function(d){var e=w(c).$implicit,f=P();return x(f.trackerCheckboxValues[e.trackerId]=d.checked)});Q(2);J()()}a&2&&(a=b.$implicit,b=P(),B(),E("checked",b.trackerCheckboxValues[a.trackerId]||!1),B(),R(" ",a.name," "))},tJb=function(a){a&1&&(K(0,"b-tracker-search",1),S(1,"async"));a&2&&(a=P(),E("currentTrackerId",a.currentTracker.trackerId)("availableTrackers",U(1,2,a.availableTrackers$)))},uJb=function(a){a&1&&(I(0,
"div",3),K(1,"b-spinner"),I(2,"span"),Q(3,"Initializing query builder..."),J()())},vJb=function(a){a&1&&(I(0,"div",6),K(1,"mat-icon",7),I(2,"p"),Q(3," The query is too complex to show in the query builder. You can still perform the search or save the search. "),J()())},wJb=function(a){a&1&&(I(0,"div"),Q(1," We cannot understand your query because it seems to be incorrect (syntactically). Make sure all parentheses are balanced and all labels have values. "),J())},xJb=function(a){a&1&&(I(0,"div",4),
D(1,vJb,4,0,"div",6)(2,wJb,2,0,"div"),J());a&2&&(a=P(),B(),G((a.advancedSearchCtrl==null?null:a.advancedSearchCtrl.getState())==="NOT_REPRESENTABLE"?1:-1),B(),G((a.advancedSearchCtrl==null?null:a.advancedSearchCtrl.getState())==="SYNTAX_ERROR"?2:-1))},yJb=function(a){a&1&&(I(0,"div",4),Q(1," We encountered a problem while retrieving the interpretation of the search query from the server. Please try again. "),J())},zJb=function(a){a&1&&K(0,"b-tracker-account-menu-hack",5);a&2&&(a=P(),E("trackerInternalBaseUrl",
a.currentTracker.internalBaseUrl)("trackerExternalBaseUrl",a.currentTracker.externalBaseUrl))},AJb=function(a){a&1&&(I(0,"span"),Q(1),K(2,"span",13),J());a&2&&(a=P(2).$implicit,B(),R(" ",a.diff.oldValue," "))},BJb=function(a){a&1&&(I(0,"span")(1,"label"),Q(2),J(),D(3,AJb,3,1,"span"),Q(4),J());a&2&&(a=P().$implicit,B(2),R("",a.fieldName,":"),B(),G(a.diff.oldValue?3:-1),B(),R(" ",a.diff.newValue," "))},CJb=function(a,b){a&1&&(I(0,"div")(1,"label"),Q(2),J(),Q(3),J());a&2&&(a=b.$implicit,b=P(3).$implicit,
B(2),R("-",b.fieldName,":"),B(),R(" ",a," "))},DJb=function(a){a&1&&yg(0,CJb,4,2,"div",null,xg);a&2&&(a=P(2).$implicit,zg(a.diff.removed))},EJb=function(a,b){a&1&&(I(0,"div")(1,"label"),Q(2),J(),Q(3),J());a&2&&(a=b.$implicit,b=P(3).$implicit,B(2),R("+",b.fieldName,":"),B(),R(" ",a," "))},FJb=function(a){a&1&&yg(0,EJb,4,2,"div",null,xg);a&2&&(a=P(2).$implicit,zg(a.diff.added))},GJb=function(a){a&1&&(I(0,"div"),D(1,DJb,2,0)(2,FJb,2,0),J());a&2&&(a=P().$implicit,B(),G(a.diff.removed?1:-1),B(),G(a.diff.added?
2:-1))},HJb=function(a,b){a&1&&(I(0,"div",12),D(1,BJb,5,3,"span")(2,GJb,3,2,"div"),J());a&2&&(a=b.$implicit,b=P(2),B(),G(a.diffType==b.DiffType.SINGLE_VALUE?1:-1),B(),G(a.diffType==b.DiffType.COLLECTION?2:-1))},IJb=function(a,b){a&1&&(I(0,"li",2)(1,"div",5),K(2,"b-user-image",6),J(),I(3,"div",7)(4,"h4"),K(5,"b-user-display-name",8),I(6,"span",9),K(7,"b-formatted-date-time",10),J()(),I(8,"div",11),yg(9,HJb,3,2,"div",12,xg),J()()());a&2&&(a=b.$implicit,b=P(),B(2),E("email",b.userToDisplay(a.author)),
B(3),E("email",b.userToDisplay(a.author)),B(2),E("timestamp",a.timestamp),B(2),zg(a.diffs))},JJb=function(a){a.stack&&(a.stack=a.stack.replace(/ \[angular\]/g,""))},KJb=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"},
LJb=function(a,b){a&1&&(I(0,"mat-option",2),Q(1),K(2,"br"),I(3,"span",3),Q(4),J()());a&2&&(a=b.$implicit,E("value",a),B(),R(" ",a.title,""),B(3),Yg(a.description))},NJb=function(a,b){a&1&&Cg(0,4);a&2&&(a=b.$implicit,P(),b=L(3),E("ngTemplateOutlet",b)("ngTemplateOutletContext",eh(2,MJb,a)))},OJb=function(a){a&1&&Cg(0,4);if(a&2){a=P().question;P();var b=L(5);E("ngTemplateOutlet",b)("ngTemplateOutletContext",eh(2,MJb,a))}},PJb=function(a){a&1&&Cg(0,4);if(a&2){a=P().question;P();var b=L(7);E("ngTemplateOutlet",
b)("ngTemplateOutletContext",eh(2,MJb,a))}},QJb=function(a){a&1&&Cg(0,4);if(a&2){a=P().question;P();var b=L(9);E("ngTemplateOutlet",b)("ngTemplateOutletContext",eh(2,MJb,a))}},RJb=function(a,b){a&1&&D(0,OJb,1,4,"ng-container",4)(1,PJb,1,4,"ng-container",4)(2,QJb,1,4,"ng-container",4);if(a&2){var c;a=b.question;b=P();G((c=a.type)===b.CustomQuestionType.INPUT?0:c===b.CustomQuestionType.TEXT?1:c===b.CustomQuestionType.SELECT?2:-1)}},TJb=function(a,b){if(a&1){var c=v();K(0,"h4",5);I(1,"mat-form-field",
6)(2,"input",7);M("ngModelChange",function(d){var e=w(c).question,f=P();e.response=d;return x(SJb(f))});J()()}a&2&&(a=b.question,E("innerHtml",a.question,uf),B(2),E("ngModel",a.response),jg("aria-label",a.question))},UJb=function(a,b){if(a&1){var c=v();K(0,"h4",5);I(1,"mat-form-field",8)(2,"textarea",7);M("ngModelChange",function(d){var e=w(c).question,f=P();e.response=d;return x(SJb(f))});Q(3,"    ");J()()}a&2&&(a=b.question,E("innerHtml",a.question,uf),B(2),E("ngModel",a.response),jg("aria-label",
a.question))},WJb=function(a,b){a&1&&(I(0,"mat-option",10),Q(1),J());a&2&&(a=b.$implicit,P(2),E("value",a),B(),R(" ",VJb(a)?a.text:a," "))},XJb=function(a){a&1&&Cg(0,4);if(a&2){a=P().question;P();var b=L(3);E("ngTemplateOutlet",b)("ngTemplateOutletContext",eh(2,MJb,a.response.child))}},YJb=function(a,b){if(a&1){var c=v();K(0,"h4",5);I(1,"mat-form-field",6)(2,"mat-select",9);M("valueChange",function(d){var e=w(c).question,f=P();e.response=d;return x(SJb(f))});yg(3,WJb,2,2,"mat-option",10,xg);J()();
D(5,XJb,1,4,"ng-container",4)}a&2&&(a=b.question,P(),E("innerHtml",a.question,uf),B(),jg("aria-label",a.question),B(),E("value",a.response),B(),zg(a.options),B(2),G(VJb(a.response)?5:-1))},ZJb=function(a){a&1&&Jg(0)},$Jb=function(a){a&1&&Cg(0,2);a&2&&(a=P(),E("ngTemplateOutlet",a.iconOverrides[a.state])("ngTemplateOutletContext",a._getIconContext()))},aKb=function(a){a&1&&(I(0,"span",7),Q(1),J());a&2&&(a=P(2),B(),Yg(a._getDefaultTextForState(a.state)))},bKb=function(a){a&1&&(I(0,"span",8),Q(1),J());
a&2&&(a=P(3),B(),Yg(a._intl.completedLabel))},cKb=function(a){a&1&&(I(0,"span",8),Q(1),J());a&2&&(a=P(3),B(),Yg(a._intl.editableLabel))},dKb=function(a){a&1&&(D(0,bKb,2,1,"span",8)(1,cKb,2,1,"span",8),I(2,"mat-icon",7),Q(3),J());a&2&&(a=P(2),G(a.state==="done"?0:a.state==="edit"?1:-1),B(3),Yg(a._getDefaultTextForState(a.state)))},eKb=function(a){a&1&&D(0,aKb,2,1,"span",7)(1,dKb,4,2);a&2&&(a=P(),G(a.state==="number"?0:1))},fKb=function(a,b){a&1&&(I(0,"div",4),Cg(1,9),J());a&2&&(B(),E("ngTemplateOutlet",
b.template))},gKb=function(a){a&1&&(I(0,"div",4),Q(1),J());a&2&&(a=P(),B(),Yg(a.label))},hKb=function(a){a&1&&(I(0,"div",5),Q(1),J());a&2&&(a=P(),B(),Yg(a._intl.optionalLabel))},iKb=function(a){a&1&&(I(0,"div",6),Q(1),J());a&2&&(a=P(),B(),Yg(a.errorMessage))},jKb=function(){},kKb=function(a){a&1&&(Jg(0),D(1,jKb,0,0,"ng-template",0));a&2&&(a=P(),B(),E("cdkPortalOutlet",a._portal))},lKb=function(a){a&1&&Jg(0)},mKb=function(a){a&1&&K(0,"div",6)},oKb=function(a,b){a&1&&(Cg(0,5),D(1,mKb,1,0,"div",6));
if(a&2){a=b.$implicit;var c=b.$index;b=b.$count;P(2);var d=L(4);E("ngTemplateOutlet",d)("ngTemplateOutletContext",fh(3,nKb,a,c));B();G(c!==b-1?1:-1)}},rKb=function(a,b){if(a&1){var c=v();I(0,"div",7);M("@horizontalStepTransition.done",function(e){w(c);var f=P(2);return x(f._animationDone.next(e))});Cg(1,8);J()}if(a&2){a=b.$implicit;b=b.$index;var d=P(2);sg("mat-horizontal-stepper-content-inactive",d.selectedIndex!==b);E("@horizontalStepTransition",fh(8,pKb,d._getAnimationDirection(b),eh(6,qKb,d._getAnimationDuration())))("id",
d._getStepContentId(b));jg("aria-labelledby",d._getStepLabelId(b));B();E("ngTemplateOutlet",a.content)}},sKb=function(a){a&1&&(I(0,"div",1)(1,"div",2),yg(2,oKb,2,6,null,null,xg),J(),I(4,"div",3),yg(5,rKb,2,11,"div",4,xg),J()());a&2&&(a=P(),B(2),zg(a.steps),B(3),zg(a.steps))},tKb=function(a,b){if(a&1){var c=v();I(0,"div",9);Cg(1,5);I(2,"div",10)(3,"div",11);M("@verticalStepTransition.done",function(h){w(c);var l=P(2);return x(l._animationDone.next(h))});I(4,"div",12);Cg(5,8);J()()()()}if(a&2){a=b.$implicit;
var d=b.$index;b=b.$count;var e=P(2),f=L(4);B();E("ngTemplateOutlet",f)("ngTemplateOutletContext",fh(10,nKb,a,d));B();sg("mat-stepper-vertical-line",d!==b-1);B();sg("mat-vertical-stepper-content-inactive",e.selectedIndex!==d);E("@verticalStepTransition",fh(15,pKb,e._getAnimationDirection(d),eh(13,qKb,e._getAnimationDuration())))("id",e._getStepContentId(d));jg("aria-labelledby",e._getStepLabelId(d));B(2);E("ngTemplateOutlet",a.content)}},uKb=function(a){a&1&&yg(0,tKb,6,18,"div",9,xg);a&2&&(a=P(),
zg(a.steps))},vKb=function(a,b){if(a&1){var c=v();I(0,"mat-step-header",13);M("click",function(){var e=w(c).step;return x(e.select())})("keydown",function(e){w(c);var f=P();return x(f._onKeydown(e))});J()}if(a&2){a=b.step;b=b.i;var d=P();sg("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);jg("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)}},wKb=function(a){a&1&&(I(0,"li"),Q(1,"I have read "),I(2,"a",51),Q(3,"Chrome Security FAQ"),J(),Q(4,"."),J(),I(5,"li"),Q(6,"I have read "),I(7,"a",52),Q(8,"Reporting Security Bugs"),J(),Q(9,"."),J(),I(10,"li"),Q(11,"I understand reports may be eligible for reward payments under the "),I(12,"a",53),Q(13,"Chrome VRP"),J(),Q(14,"."),J(),I(15,"li"),Q(16,"I understand issues are normally publicized once a fix has been widely deployed."),J())},yKb=function(a){if(a&1){var b=v();I(0,"h4",5);
Q(1,"Which of the following best describes the issue that you are reporting?");J();I(2,"wizard-category-select",46);bh("categoryChange",function(c){w(b);var d=P();ah(d.model.category,c)||(d.model.category=c);return x(c)});J();I(3,"mat-card",47)(4,"mat-card-header");Q(5," Ensure quality of issue reports: ");J();I(6,"mat-card-content")(7,"mat-checkbox",48);bh("ngModelChange",function(c){w(b);var d=P();ah(d.ackIssueQuality,c)||(d.ackIssueQuality=c);return x(c)});Q(8," By checking this box, I'm acknowledging that: ");
I(9,"ul")(10,"li");Q(11,"I have searched for ");I(12,"a",49);Q(13,"existing issues");J();Q(14," that already report this problem.");J();D(15,wKb,17,0);J()()()();I(16,"div",30)(17,"button",33);Q(18," Next ");K(19,"mat-icon",50);J()()}a&2&&(a=P(),B(2),E("persona",a.model.persona),$g("category",a.model.category),B(5),$g("ngModel",a.ackIssueQuality),B(5),E("href",a.existingIssuesLink,vf),B(3),G(a.model.persona===a.Persona.VULN_REPORTER?15:-1),B(2),E("disabled",!xKb(a,0)))},AKb=function(a){a&1&&(I(0,"div")(1,
"h3"),Q(2,"Prefer to file an issue manually?"),J(),I(3,"p"),Q(4," It's usually best to work through this short wizard so that your issue is given the labels needed for the right team to see it. Otherwise it might take longer for your issue to be triaged and resolved. "),J(),I(5,"p"),Q(6," However, if you are a Chromium contributor and none of the other options apply, you may use the regular issue entry "),I(7,"a",49),Q(8,"form"),J(),Q(9,". "),J()());a&2&&(a=P(),B(7),E("href",a.paths.createIssue(dh(1,
zKb)),vf))},BKb=function(a){a&1&&(I(0,"mat-error"),Q(1," Summary is required "),J())},CKb=function(a){a&1&&(I(0,"mat-error"),Q(1," Steps to reproduce are required "),J())},DKb=function(a){a&1&&(I(0,"mat-error"),Q(1," Issue description is required "),J())},EKb=function(a){if(a&1){var b=v();I(0,"wizard-custom-questions",54);M("responses",function(c){w(b);var d=P();return x(d.model.customQuestionResponses=c)});J()}a&2&&(a=P(),E("category",a.model.category.value))},FKb=function(a){if(a&1){var b=v();I(0,
"div",41)(1,"b-recaptcha",55);M("onUpdate",function(c){w(b);var d=P();return x(d.recaptchaResponse=c)});J()()}},GKb=function(){},HKb=function(){},IKb=function(){},JKb=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},LKb=function(a){return a.length?"# Custom Questions\n"+KKb(a).map(function(b){var c;return"#### "+((c=b.answerPrefix)!=null?c:b.question)+
"\n"+b.response}).join("\n\n"):""},KKb=function(a){var b=[];a=k(a);for(var c=a.next();!c.done;c=a.next())c=c.value,VJb(c.response)?(b.push({type:c.type,question:c.question,response:c.response.text}),b.push.apply(b,t(KKb([c.response.child])))):b.push(c);return b},MKb=function(a){a&1&&(I(0,"a",8),Q(1," Create Component "),J())},NKb=function(a){a&1&&(I(0,"p",16),Q(1," None found. "),I(2,"a",18),Q(3,"Learn More"),J()())},OKb=function(a){a&1&&(Ag(0),K(1,"b-component-path-card",28,1),Bg());if(a&2){a=L(2);
var b=P().$implicit;B();E("onedevIsHovercardReady",a.init)("componentId",b.componentId)}},PKb=function(a,b){a&1&&(I(0,"li")(1,"a",19)(2,"div",20)(3,"span",21),Q(4),K(5,"b-component-access-level-indicator",22)(6,"b-tracker-chip-smart",23),J(),I(7,"p",24),Q(8),J()(),I(9,"div",25)(10,"a",26),Q(11," Edit "),J(),I(12,"a",26),Q(13," Create Issue "),J()()(),I(14,"onedev-hovercard",null,0),D(16,OKb,3,2,"ng-container",27),J()());if(a&2){a=b.$implicit;b=L(15);var c=P(2);B();E("routerLinkObj",c.viewIssues(a.componentId));
B();E("onedevHovercardTrigger",b);B(2);R(" ",a.name||a.componentId," ");B();E("accessLevel",a.accessLimit==null?null:a.accessLimit.accessLevel)("labelOnlyMode",!0);B();E("trackerId",a.trackerId)("showHovercard",!1);B(2);Yg(a.description);B(2);E("routerLinkObj",c.componentSettings(a.componentId));B(2);E("routerLinkObj",c.createIssue(a.componentId))}},QKb=function(a,b){a&1&&(D(0,NKb,4,0,"p",16),I(1,"ol",17),yg(2,PKb,17,10,"li",null,xg),J());a&2&&(G(b.length===0?0:-1),B(2),zg(b))},SKb=function(a){a&
1&&(I(0,"a",23),Q(1," Learn more "),J());a&2&&(P(),E("href",RKb(),vf))},TKb=function(a){a&1&&(Q(0),S(1,"async"));a&2&&(a=P(2),R(" ",U(1,1,a.suggestedTitle$)," "))},UKb=function(a){a&1&&K(0,"b-spinner")},VKb=function(a,b){if(a&1){var c=v();I(0,"button",17);M("click",function(){var d=w(c).$implicit;P();var e=L(19),f=P();f.llmSuggestTitleService.generatedTitle.next(null);f.analytics.trackEvent("llm","reject","title-"+String(d));jq(f.butterBar,"Thanks for the feedback!",3E3);var h;(h=e.trigger)==null||
h.close();return x()});I(1,"span");Q(2);J()()}a&2&&(a=b.$implicit,b=P(2),B(2),Yg(b.REJECT_REASON_TO_DISPLAY.get(a)))},WKb=function(a){if(a&1){var b=v();I(0,"div",1)(1,"div",2)(2,"div",3)(3,"span",4);Q(4,"Suggested title");J();I(5,"div",5)(6,"button",6);M("click",function(){w(b);P().llmSuggestTitleService.suggestTitleRequested.next();return x()});K(7,"mat-icon",7);J();I(8,"button",8);M("click",function(){w(b);var c=P();return x(c.close())});K(9,"mat-icon",9);J()()();I(10,"div",10);D(11,TKb,2,3);S(12,
"async");D(13,UKb,1,0,"b-spinner");J();I(14,"div",11)(15,"button",12);S(16,"async");M("click",function(){w(b);var c=P(),d=tp(pu(c.llmSuggestTitleService.generatedTitle));d&&(c.analytics.trackEvent("llm","accept","title"),c.suggestionAccepted.emit(d),c.llmSuggestTitleService.generatedTitle.next(null));return x()});Q(17," Accept ");J();I(18,"split-button",13,0);S(20,"async");I(21,"button",14);S(22,"async");M("click",function(){w(b);var c=P();c.llmSuggestTitleService.generatedTitle.next(null);c.analytics.trackEvent("llm",
"reject","title");return x()});Q(23," Reject ");J();I(24,"div",15);yg(25,VKb,3,1,"button",16,xg);J()()()()()}a&2&&(a=P(),B(11),G(U(12,5,a.isGeneratingTitle$)?13:11),B(4),E("disabled",U(16,7,a.isGeneratingTitle$)),B(3),E("size","small")("disabled",!!U(20,9,a.isGeneratingTitle$)),B(3),E("disabled",U(22,11,a.isGeneratingTitle$)),B(4),zg(a.suggestedTitleRejectionReasons))},XKb=function(a){a&1&&(I(0,"a",3),K(1,"mat-icon",5),J())},YKb=function(a){a&1&&K(0,"b-spinner")},ZKb=function(a,b){a&1&&K(0,"b-issues-table",
4);a&2&&(a=P(),E("issueIds",b)("tableColumns",a.tableColumns)("options",a.tableOptions))},$Kb=function(a){var b=a.similarIssues;var c=a.scores;return b.filter(function(d,e){return c[e]>=.65})},aLb=function(a){a&1&&Cg(0)},cLb=function(a){a&1&&(Ag(0),D(1,aLb,1,0,"ng-container",9),Bg());a&2&&(a=P(),B(),E("ngTemplateOutlet",a.valueTemplate)("ngTemplateOutletContext",eh(2,bLb,a.value)))},dLb=function(a){a&1&&Q(0);a&2&&(a=P(),Yg(a.value||"--"))},eLb=function(a){a&1&&(Ud(),I(0,"svg",10),K(1,"path",11),J());
a&2&&(a=P(),sg("centered",a.centerEditIcon))},fLb=function(a){a&1&&K(0,"textarea",15);a&2&&(a=P(3),E("formControl",a.editingValue)("cdkAutosizeMaxRows",a.multilineMaxLines))},gLb=function(a){a&1&&K(0,"input",16);a&2&&(a=P(3),E("formControl",a.editingValue))},hLb=function(a){a&1&&(Ag(0),I(1,"div",13),D(2,fLb,1,2,"textarea",14)(3,gLb,1,1,"ng-template",null,4,ih),J(),Bg());if(a&2){a=L(4);var b=P(2);B(2);E("ngIf",b.allowMultipleLines)("ngIfElse",a)}},iLb=function(a){a&1&&Cg(0)},kLb=function(a){a&1&&(Ag(0),
D(1,iLb,1,0,"ng-container",9),Bg());a&2&&(a=P(2),B(),E("ngTemplateOutlet",a.editorTemplate)("ngTemplateOutletContext",eh(2,jLb,a.editingValue)))},lLb=function(a){a&1&&D(0,hLb,5,2,"ng-container",12)(1,kLb,2,4,"ng-container",12);a&2&&(a=P(),E("ngIf",!a.editorTemplate),B(),E("ngIf",a.editorTemplate))},mLb=function(a){if(a&1){var b=v();I(0,"b-hotlist-picker",28);M("onApply",function(c){w(b);var d=P();return x(d.handleHotlistPickerSave(c))})("onLoad",function(c){w(b);var d=P();return x(d.loadHotlist(c))})("onCreate",
function(c){w(b);var d=P();return x(d.createHotlist(c))});J()}a&2&&(a=P(),E("selectedHotlistIds",a.selectedHotlistIds)("choices",a.hotlists))},nLb=function(a,b){a&1&&(I(0,"a",13),Q(1,"View recent issues"),J());a&2&&(a=P(),E("routerLinkObj",a.recentIssuesInComponent(b)))},sLb=function(a){a&1&&(I(0,"div",17),K(1,"b-icon",29),I(2,"span"),Q(3),J(),I(4,"a",30),Q(5,"View access settings"),J()());a&2&&(a=P(),E("ngClass",fh(5,oLb,pLb(a),qLb(a))),B(),E("name","alert")("size","small"),B(2),R("",rLb(a),"\u00a0"),
B(),E("href",a.selectedComponent?Qq.editComponentAccess.makeHref(a.selectedComponent.componentId):"",vf))},vLb=function(a){a&1&&(I(0,"div",31),Q(1),J());a&2&&(a=P(2),B(),R(" Error: The following required field(s) have not been filled: ",tLb(a).concat(uLb(a)).join(", ")," "))},wLb=function(a){a&1&&(I(0,"li"),Q(1),J());if(a&2){a=P(3);B();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"):"")}},xLb=function(a){a&1&&(I(0,"li"),Q(1),J());a&2&&(a=P(3),B(),R(" Collaborators: you cannot add ",a.invalidCollaboratorsInput.join(", ")," "))},yLb=function(a){a&1&&(I(0,"div",31),Q(1," Error: The following field(s) have invalid values: "),I(2,"ul"),D(3,wLb,2,1,"li")(4,xLb,2,1,"li"),J()());a&2&&(a=P(2),B(3),G(a.isBlockedByIssueIdValid&&a.isBlockingIssueIdValid&&a.isParentIssueIdsValid?-1:3),B(),G(a.isCollaboratorsValid?
-1:4))},zLb=function(a){a&1&&(I(0,"div",31),Q(1," Error: There is at least one upload ongoing. Please cancel or wait for it to be finished. "),J())},BLb=function(a){a&1&&(I(0,"div",18),D(1,vLb,2,1,"div",31)(2,yLb,5,2,"div",31)(3,zLb,2,0,"div",31),J());a&2&&(a=P(),B(),G(tLb(a).length!==0||uLb(a).length!==0?1:-1),B(),G(a.isBlockedByIssueIdValid&&a.isBlockingIssueIdValid&&a.isParentIssueIdsValid&&a.isCollaboratorsValid?-1:2),B(),G(ALb(a.comment)?3:-1))},CLb=function(a,b){if(a&1){var c=v();I(0,"div",
32)(1,"b-hotlist-chip",33);M("removeHotlist",function(){var d=w(c).$implicit,e=P(2);return x(e.removeHotlist(d.hotlistId))});J()()}a&2&&(a=b.$implicit,B(),E("hotlist",a))},DLb=function(a){a&1&&(I(0,"div",19),yg(1,CLb,2,1,"div",32,xg),J());a&2&&(a=P(),B(),zg(a.selectedHotlists))},ELb=function(a,b){if(a&1){var c=v();I(0,"button",39);M("click",function(){var d=w(c).$implicit;P(2).selectedTemplate=d;return x()});Q(1);J()}a&2&&(a=b.$implicit,B(),Yg(a.name))},FLb=function(a){if(a&1){var b=v();I(0,"button",
39);M("click",function(){w(b);var c=P(2);c.selectedTemplate=c.availableExistingIssueTemplate;return x()});Q(1);J()}a&2&&(a=P(2),B(),Yg(a.availableExistingIssueTemplate.name))},GLb=function(a){a&1&&(I(0,"div",26)(1,"div",22)(2,"label",34),Q(3,"Template"),J()(),I(4,"button",35),Q(5),K(6,"mat-icon",36),J(),I(7,"mat-menu",37,2),yg(9,ELb,2,1,"button",38,xg),D(11,FLb,2,1,"button",38),J()());if(a&2){var b;a=L(8);var c=P();B(4);E("matMenuTriggerFor",a);B();R("",(b=c.selectedTemplate==null?null:c.selectedTemplate.name)!==
null&&b!==void 0?b:""," ");B(2);E("overlapTrigger",!0);B(2);zg(c.availablePredefinedTemplates);B(2);G(c.availableExistingIssueTemplate?11:-1)}},HLb=function(a){a&1&&(I(0,"div",27)(1,"div",31),Q(2," You do not have permission to create issues in this component. "),J()())},JLb=function(a){if(a&1){var b=v();I(0,"div",41)(1,"b-title-suggestion-picker",59);M("suggestionSelected",function(c){w(b);var d=P(2);d.setTitle(c.title);var e;!c.description||d.comment.value&&d.comment.value!==((e=d.lastSelectedSuggestedIssueMetadata)==
null?void 0:e.description)||(d.comment=new qu(c.description),d.shouldHighlightDescription=!0);var f;!c.assignee||d.assigneeText&&d.assigneeText!==((f=d.lastSelectedSuggestedIssueMetadata)==null?void 0:f.assignee)||(d.assigneeText=c.assignee,d.shouldHighlightAssignee=!0);var h;!c.reporter||d.reporterText&&d.reporterText!==((h=d.lastSelectedSuggestedIssueMetadata)==null?void 0:h.reporter)||(d.reporterText=c.reporter,d.shouldHighlightReporter=!0);c.ccs&&(ILb(d.ccsText)||oj(d.ccsText,c.ccs))&&(d.ccsText=
[].concat(t(c.ccs)),d.shouldHighlightCcs=!0);c.collaborators&&(ILb(d.collaboratorsText)||oj(d.collaboratorsText,c.collaborators))&&(d.collaboratorsText=[].concat(t(c.collaborators)),d.shouldHighlightCollaborators=!0);d.lastSelectedSuggestedIssueMetadata=c;return x()})("titleChanged",function(c){w(b);var d=P(2);return x(d.setTitle(c))});J()()}},KLb=function(a){a&1&&K(0,"llm-suggest-title-button",61);a&2&&(a=P(3),E("description",a.comment))},MLb=function(a){if(a&1){var b=v();I(0,"div",42)(1,"input",
60);M("ngModelChange",function(c){w(b);var d=P(2);return x(d.setTitle(c))})("blur",function(){w(b);var c=P(2);return x(LLb(c))});J();D(2,KLb,1,1,"llm-suggest-title-button",61);J()}a&2&&(a=P(2),B(),sg("invalid",a.titleBannedWordsChecker.showWarning()),E("ngModel",a.issue.title)("bFocus",a.newIssueStarted),B(),G(a.enableSuggestTitle?2:-1))},NLb=function(a){if(a&1){var b=v();I(0,"llm-suggest-title-preview",62);M("suggestionAccepted",function(c){w(b);var d=P(2);d.setTitle(c);return x(LLb(d))});J()}},
OLb=function(a){a&1&&(I(0,"p",43),Q(1),I(2,"a",63),Q(3," Learn more "),J()());a&2&&(a=P(2),B(),R(" Your title contains restricted words: ",Ar(a.titleBannedWordsChecker),". Review your title before posting. "))},PLb=function(a,b){if(a&1){var c=v();I(0,"button",66);M("click",function(){var d=w(c).$implicit,e=P(3);return x(e.setPriority(d.value))});Q(1);J()}a&2&&(a=b.$implicit,B(),Yg(a.displayText))},QLb=function(a){if(a&1){var b=v();I(0,"div",26)(1,"div",22)(2,"label",64);Q(3,"Priority");J()();I(4,
"button",65);Q(5);K(6,"mat-icon",36);J();I(7,"mat-menu",37,3)(9,"button",66);M("click",function(){w(b);var d=P(2);return x(d.setPriority())});Q(10,"--");J();yg(11,PLb,2,1,"button",67,xg);J()()}if(a&2){a=L(8);var c=P(2);B(4);E("matMenuTriggerFor",a);jg("aria-label","Priority, required"+(c.issue.priority?", "+c.issue.priority:""));B();R("",c.issue.priority?c.issue.priority:"--"," ");B(2);E("overlapTrigger",!0);B(4);zg(c.priorityChoices)}},RLb=function(a,b){if(a&1){var c=v();I(0,"button",70);M("click",
function(){var d=w(c).$implicit,e=P(3);return x(e.setIssueType(d.value))});Q(1);J()}a&2&&(a=b.$implicit,Lg("title",a.altText||""),B(),Yg(a.displayText))},SLb=function(a){if(a&1){var b=v();I(0,"div",26)(1,"div",22)(2,"label",68);Q(3,"Type");J()();I(4,"button",65);S(5,"enumToHuman");Q(6);S(7,"enumToHuman");K(8,"mat-icon",36);J();I(9,"mat-menu",37,4)(11,"button",66);M("click",function(){w(b);var d=P(2);return x(d.setIssueType())});Q(12,"--");J();yg(13,RLb,2,2,"button",69,xg);J()()}if(a&2){a=L(10);var c=
P(2);B(4);E("matMenuTriggerFor",a);jg("aria-label","Type, required"+(c.issue.type?U(5,4,", "+c.issue.type):""));B(2);R("",U(7,6,c.issue.type||"--")," ");B(3);E("overlapTrigger",!0);B(4);zg(c.issueTypeChoices)}},TLb=function(a){if(a&1){var b=v();I(0,"div",22)(1,"label",71);Q(2,"Assignee");J()();I(3,"div",72)(4,"input",73);M("peoplekitAutocompleteSelectionChange",function(c){w(b);var d=P(3);return x(d.assigneeText=d.handleAutocompleteSelection(c))});bh("ngModelChange",function(c){w(b);var d=P(3);ah(d.assigneeText,
c)||(d.assigneeText=c);return x(c)});J()()}a&2&&(a=P(3),B(4),sg("highlight-input",a.shouldHighlightAssignee),E("peoplekitAutocompleteConfig",a.getAutocompleteConfig()),$g("ngModel",a.assigneeText))},ULb=function(a){if(a&1){var b=v();I(0,"div",22)(1,"label",74);Q(2,"Assignee");J()();I(3,"div",72)(4,"input",75);bh("ngModelChange",function(c){w(b);var d=P(3);ah(d.assigneeText,c)||(d.assigneeText=c);return x(c)});J()()}a&2&&(a=P(3),B(4),sg("highlight-input",a.shouldHighlightAssignee),$g("ngModel",a.assigneeText),
E("bContactAutocomplete","SINGLE"))},VLb=function(a){a&1&&(I(0,"div",44),D(1,TLb,5,4)(2,ULb,5,4),J());a&2&&(a=P(2),B(),G(a.enablePeoplekitAc?1:2))},WLb=function(a){a&1&&(I(0,"mat-error"),Q(1," Collaborators only accepts individual users. "),J())},XLb=function(a){if(a&1){var b=v();I(0,"div",76)(1,"div",22)(2,"label",77);Q(3,"Collaborators");J();K(4,"mat-icon",78);J();I(5,"div",72)(6,"div",79,5);M("peoplekitSearchBarSelectionChange",function(c){w(b);var d=P(3);return x(d.collaboratorsText=d.selectionsToStrings(c))});
J()();D(8,WLb,2,0,"mat-error");J()}a&2&&(a=P(3),B(6),sg("invalid",!a.isCollaboratorsValid)("highlight-input",a.shouldHighlightCollaborators),E("peoplekitSearchBarConfig",a.createSearchBarConfig(a.collaboratorsText)),B(2),G(!a.isCollaboratorsValid&&a.submitRequested?8:-1))},YLb=function(a){a&1&&(I(0,"mat-error"),Q(1," Collaborators only accepts individual users. "),J())},$Lb=function(a){if(a&1){var b=v();I(0,"div",76)(1,"div",22)(2,"label",80);Q(3,"Collaborators");J();K(4,"mat-icon",78);J();I(5,"div",
72)(6,"input",81);M("ngModelChange",function(c){w(b);var d=P(3);return x(d.collaboratorsText=ZLb(c))});J()();D(7,YLb,2,0,"mat-error");J()}a&2&&(a=P(3),B(6),sg("invalid",!a.isCollaboratorsValid)("highlight-input",a.shouldHighlightCollaborators),E("ngModel",ru(a.collaboratorsText))("bContactAutocomplete","MULTI"),B(),G(!a.isCollaboratorsValid&&a.submitRequested?7:-1))},aMb=function(a){a&1&&D(0,XLb,9,6,"div",76)(1,$Lb,8,7,"div",76);a&2&&(a=P(2),G(a.enablePeoplekitAc?0:1))},bMb=function(a){if(a&1){var b=
v();I(0,"div",82)(1,"div",22)(2,"label",83);Q(3,"CC");J()();I(4,"div",72)(5,"div",84,5);M("peoplekitSearchBarSelectionChange",function(c){w(b);var d=P(3);return x(d.ccsText=d.selectionsToStrings(c))});J()()()}a&2&&(a=P(3),B(5),sg("highlight-input",a.shouldHighlightCcs),E("peoplekitSearchBarConfig",a.createSearchBarConfig(a.ccsText)))},cMb=function(a){if(a&1){var b=v();I(0,"div",82)(1,"div",22)(2,"label",85);Q(3,"CC");J()();I(4,"div",72)(5,"input",86);M("ngModelChange",function(c){w(b);var d=P(3);
return x(d.ccsText=ZLb(c))});J()()()}a&2&&(a=P(3),B(5),sg("highlight-input",a.shouldHighlightCcs),E("ngModel",ru(a.ccsText))("bContactAutocomplete","MULTI"))},dMb=function(a){a&1&&D(0,bMb,7,3,"div",82)(1,cMb,6,4,"div",82);a&2&&(a=P(2),G(a.enablePeoplekitAc?0:1))},eMb=function(a){a&1&&(I(0,"p",48),Q(1),I(2,"a",63),Q(3," Learn more "),J()());a&2&&(a=P(2),B(),R(" Your description contains restricted words: ",Ar(a.descriptionBannedWordsChecker),". Review your description before posting. "))},fMb=function(a){a&
1&&Cg(0)},gMb=function(a){a&1&&(I(0,"div",21)(1,"div",22)(2,"label",89),Q(3," Collaborator Groups "),J(),K(4,"mat-icon",90),J(),D(5,fMb,1,0,"ng-container",91),J());if(a&2){a=P(3);var b=L(30);B(4);Lg("matTooltip",a.COLLABORATOR_GROUPS_TOOLTIP);B();E("ngTemplateOutlet",b)}},hMb=function(a){if(a&1){var b=v();I(0,"div",50)(1,"div",21)(2,"div",22)(3,"label",87);Q(4," Issue access level ");J()();I(5,"b-issue-access-limits-dropdown",88);M("updatedAccessLimitLevel",function(c){w(b);var d=P(2);return x(d.onAccessLimitLevelSelected(c))});
J()();D(6,gMb,6,2,"div",21);J()}a&2&&(a=P(2),B(5),E("disabled",!1)("implicitAccessEnabled",a.componentHasExpandedAccessEnabled)("defaultAccessLimitLevel",a.selectedAccessLimitLevel),B(),G(a.trackerCollaboratorGroups.length>0?6:-1))},iMb=function(a,b){if(a&1){var c=v();I(0,"button",66);M("click",function(){var d=w(c).$implicit,e=P(3);return x(e.issue.severity=e.toIssueSeverity(d.value))});Q(1);J()}a&2&&(a=b.$implicit,B(),Yg(a.displayText))},jMb=function(a){if(a&1){var b=v();I(0,"div",99)(1,"div",22)(2,
"label",116);Q(3," Reporter ");J()();I(4,"input",117);M("peoplekitAutocompleteSelectionChange",function(c){w(b);var d=P(3);return x(d.reporterText=d.handleAutocompleteSelection(c))});bh("ngModelChange",function(c){w(b);var d=P(3);ah(d.reporterText,c)||(d.reporterText=c);return x(c)});J()()}a&2&&(a=P(3),B(4),sg("highlight-input",a.shouldHighlightReporter),E("peoplekitAutocompleteConfig",a.getAutocompleteConfig()),$g("ngModel",a.reporterText))},kMb=function(a){if(a&1){var b=v();I(0,"div",99)(1,"div",
22)(2,"label",116);Q(3," Reporter ");J()();I(4,"input",118);bh("ngModelChange",function(c){w(b);var d=P(3);ah(d.reporterText,c)||(d.reporterText=c);return x(c)});J()()}a&2&&(a=P(3),B(4),sg("highlight-input",a.shouldHighlightReporter),$g("ngModel",a.reporterText),E("bContactAutocomplete","SINGLE"))},lMb=function(a){if(a&1){var b=v();I(0,"div",99)(1,"div",22)(2,"label",119);Q(3," Verifier ");J()();I(4,"input",120);M("peoplekitAutocompleteSelectionChange",function(c){w(b);var d=P(3);return x(d.verifierText=
d.handleAutocompleteSelection(c))});bh("ngModelChange",function(c){w(b);var d=P(3);ah(d.verifierText,c)||(d.verifierText=c);return x(c)});J()()}a&2&&(a=P(3),B(4),E("peoplekitAutocompleteConfig",a.getAutocompleteConfig()),$g("ngModel",a.verifierText))},mMb=function(a){if(a&1){var b=v();I(0,"div",99)(1,"div",22)(2,"label",119);Q(3," Verifier ");J()();I(4,"input",121);bh("ngModelChange",function(c){w(b);var d=P(3);ah(d.verifierText,c)||(d.verifierText=c);return x(c)});J()()}a&2&&(a=P(3),B(4),$g("ngModel",
a.verifierText),E("bContactAutocomplete","SINGLE"))},nMb=function(a){a&1&&(I(0,"span"),Q(1,"*"),J())},oMb=function(a){a&1&&(I(0,"span"),Q(1,"*"),J())},pMb=function(a){a&1&&(I(0,"span"),Q(1,"*"),J())},rMb=function(a){if(a&1){var b=v();I(0,"div",99)(1,"div",22)(2,"label",122);Q(3," Parents ");D(4,pMb,2,0,"span");J()();I(5,"input",123);M("ngModelChange",function(c){w(b);var d=P(3);d.parentIssueIds=qMb(d,c).map(Dj);d.isParentIssueIdsValid=d.ISSUE_ID_LIST_PATTERN.test(ru(d.parentIssueIds));return x()});
J()()}a&2&&(a=P(3),B(4),G(a.isParentIssueIdsValid?-1:4),B(),E("ngModel",ru(a.parentIssueIds)))},sMb=function(a){a&1&&(I(0,"span"),Q(1,"*"),J())},tMb=function(a){if(a&1){var b=v();I(0,"div",99)(1,"div",22)(2,"label",124);Q(3," Children ");D(4,sMb,2,0,"span");J()();I(5,"input",125);M("ngModelChange",function(c){w(b);var d=P(3);d.childrenIssueIds=qMb(d,c).map(Dj);d.isChildIssueIdsValid=d.ISSUE_ID_LIST_PATTERN.test(ru(d.childrenIssueIds));return x()});J()()}a&2&&(a=P(3),B(4),G(a.isChildIssueIdsValid?
-1:4),B(),E("ngModel",ru(a.childrenIssueIds)))},uMb=function(a){if(a&1){var b=v();I(0,"div",99)(1,"div",22)(2,"label",87);Q(3," Issue access level ");J()();I(4,"b-issue-access-limits-dropdown",126);M("updatedAccessLimitLevel",function(c){w(b);var d=P(3);return x(d.onAccessLimitLevelSelected(c))});J()()}a&2&&(a=P(3),B(4),E("disabled",!1)("defaultAccessLimitLevel",a.selectedAccessLimitLevel)("implicitAccessEnabled",a.componentHasExpandedAccessEnabled))},vMb=function(a){a&1&&Cg(0)},wMb=function(a){a&
1&&(I(0,"div",21)(1,"div",22)(2,"label",89),Q(3," Collaborator Groups "),J(),K(4,"mat-icon",90),J(),D(5,vMb,1,0,"ng-container",91),J());if(a&2){a=P(3);var b=L(30);B(4);Lg("matTooltip",a.COLLABORATOR_GROUPS_TOOLTIP);B();E("ngTemplateOutlet",b)}},xMb=function(a){if(a&1){var b=v();I(0,"onedev-text-field",130);M("valueChange",function(d){w(b);var e=P(2).$implicit,f=P(3);return x(f.setCustomFieldValue(e,d))});J()}if(a&2){a=P(2).$implicit;var c=P(3);Kg("id","bv2-custom-field-",a.customFieldId,"");E("value",
a.textValue);jg("required",c.isCustomFieldRequired(a))("aria-labelledby","bv2-custom-field-"+a.customFieldId+"-label")}},yMb=function(a){if(a&1){var b=v();I(0,"onedev-numeric-field",130);M("valueChange",function(d){w(b);var e=P(2).$implicit,f=P(3);return x(f.setCustomFieldValue(e,d))});J()}if(a&2){a=P(2).$implicit;var c=P(3);Kg("id","bv2-custom-field-",a.customFieldId,"");E("value",a.numericValue);jg("required",c.isCustomFieldRequired(a))("aria-labelledby","bv2-custom-field-"+a.customFieldId+"-label")}},
zMb=function(a){if(a&1){var b=v();I(0,"div")(1,"bv2-input-date-picker",131);M("boundValueChange",function(d){w(b);var e=P(2).$implicit,f=P(3);return x(f.setCustomFieldValue(e,d))});J()()}if(a&2){a=P(2).$implicit;var c=P(3);B();Lg("bv2AriaLabelledby","bv2-custom-field-"+a.customFieldId+"-label");E("boundValue",a.dateValue)("isRequired",c.isCustomFieldRequired(a))("bv2Id","bv2-custom-field-"+a.customFieldId)}},AMb=function(a){if(a&1){var b=v();I(0,"onedev-single-select",132);M("valueChange",function(d){w(b);
var e=P(2).$implicit,f=P(3);return x(f.setCustomFieldValue(e,d))});J()}if(a&2){a=P(2).$implicit;var c=P(3);E("value",a.enumValue)("options",c.getCustomFieldAllowedValues(a))("includeEmptyOption",!0);jg("aria-labelledby","bv2-custom-field-"+a.customFieldId+"-label")}},BMb=function(a,b){a&1&&(I(0,"div"),D(1,xMb,1,5,"onedev-text-field",128)(2,yMb,1,5,"onedev-numeric-field",128)(3,zMb,2,4,"div")(4,AMb,1,4,"onedev-single-select",129),J());a&2&&(a=P(4),B(),G(b===a.FieldType.TEXT?1:-1),B(),G(b===a.FieldType.NUMERIC?
2:-1),B(),G(b===a.FieldType.DATE?3:-1),B(),G(b===a.FieldType.ENUM?4:-1))},CMb=function(a,b){if(a&1){var c=v();I(0,"div")(1,"b-list-field",133);M("valuesChange",function(e){w(c);var f=P().$implicit,h=P(3);return x(h.setCustomFieldValue(f,e.values))});J()()}if(a&2){a=P().$implicit;var d=P(3);B();E("defaultLineCount",2)("type",b)("values",d.getListFieldValues(a))("enumChoices",d.customFieldAllowedValuesMap[a.customFieldId]||null)("truncate",!0)("isRequired",d.isCustomFieldRequired(a));jg("aria-labelledby",
"bv2-custom-field-"+a.customFieldId+"-label")}},EMb=function(a,b){a&1&&(I(0,"div",99)(1,"div",22)(2,"label",127),Q(3),J()(),D(4,BMb,5,4,"div")(5,CMb,2,7,"div"),J());if(a&2){var c,d;a=b.$implicit;b=P(3);B(2);Kg("id","bv2-custom-field-",a.customFieldId,"-label");var e=b.customFieldMap[a.customFieldId];Lg("title",(e&&e.description?e.description:"Custom Field")+" [ID: "+a.customFieldId+"]");E("ngClass",eh(8,DMb,b.isCustomFieldRequired(a)));var f=(e=b.customFieldMap[a.customFieldId])?e.name:"";e&&b.canEditIssuesInComponent&&
b.customFieldMap[a.customFieldId].required&&(f+=", required field");jg("aria-label",f);B();R(" ",b.getCustomFieldName(a)," ");B();G((c=b.getSingleEditFieldType(b.customFieldMap[a.customFieldId]))?4:-1,c);B();G((d=b.getListFieldType(b.customFieldMap[a.customFieldId]))?5:-1,d)}},GMb=function(a){if(a&1){var b=v();I(0,"mat-expansion-panel",53)(1,"mat-expansion-panel-header")(2,"mat-panel-title")(3,"span",92);Q(4,"Advanced fields (Required fields marked with");I(5,"span",93);Q(6,"*");J();Q(7,")");J()()();
I(8,"div",94)(9,"div",95)(10,"div",22)(11,"label",96);Q(12," Severity ");J()();I(13,"button",97);Q(14);K(15,"b-icon",98);J();I(16,"mat-menu",37,6);yg(18,iMb,2,1,"button",67,xg);J()();I(20,"div",99)(21,"div",22)(22,"label",100);Q(23," Found in ");J()();I(24,"input",101);M("ngModelChange",function(e){w(b);var f=P(2);return x(f.issue.foundInVersion=ZLb(e))});J()();I(25,"div",102)(26,"div",22)(27,"label",103);Q(28," In prod ");J()();I(29,"mat-slide-toggle",104);bh("ngModelChange",function(e){w(b);var f=
P(2);ah(f.issue.inProd,e)||(f.issue.inProd=e);return x(e)});J()();K(30,"div",51);I(31,"div",105)(32,"div",22)(33,"label",106);Q(34," Staffing ");J()();I(35,"button",107);S(36,"staffingSummary");M("click",function(){w(b);var e=P(2);return x(e.editStaffing())});I(37,"span",108);Q(38);S(39,"staffingSummary");J();K(40,"mat-icon",109);J()();K(41,"div",51);D(42,jMb,5,4,"div",99)(43,kMb,5,4,"div",99)(44,lMb,5,2,"div",99)(45,mMb,5,2,"div",99);I(46,"div",99)(47,"div",22)(48,"label",110);Q(49," Targeted to ");
J()();I(50,"input",111);M("ngModelChange",function(e){w(b);var f=P(2);return x(f.issue.targetedToVersion=ZLb(e))});J()();K(51,"div",51);I(52,"div",99)(53,"div",22)(54,"label",112);Q(55," Blocked by ");D(56,nMb,2,0,"span");J()();I(57,"input",113);M("ngModelChange",function(e){w(b);var f=P(2);f.issue.blockedByIssueId=qMb(f,e);f.isBlockedByIssueIdValid=f.ISSUE_ID_LIST_PATTERN.test(ru(f.issue.blockedByIssueId));return x()});J()();I(58,"div",99)(59,"div",22)(60,"label",114);Q(61," Blocking ");D(62,oMb,
2,0,"span");J()();I(63,"input",115);M("ngModelChange",function(e){w(b);var f=P(2);f.issue.blockingIssueId=qMb(f,e);f.isBlockingIssueIdValid=f.ISSUE_ID_LIST_PATTERN.test(ru(f.issue.blockingIssueId));return x()});J()();D(64,rMb,6,2,"div",99)(65,tMb,6,2,"div",99);K(66,"div",51);D(67,uMb,5,3,"div",99)(68,wMb,6,2,"div",21);K(69,"div",51);yg(70,EMb,6,10,"div",99,xg);J()()}if(a&2){var c;a=L(17);var d=P(2);B(13);E("matMenuTriggerFor",a);jg("aria-label","Severity"+(d.issue.severity?", "+d.issue.severity:""));
B();Yg(d.issue.severity);B(2);E("overlapTrigger",!0);B(2);zg(d.severityChoices);B(6);E("ngModel",ru(d.originalIssueCopy.foundInVersion));B(5);$g("ngModel",d.issue.inProd);B(6);jg("aria-label","Staffing: "+U(36,19,(c=d.issue.staffing==null?null:d.issue.staffing.plannedAllocations)!==null&&c!==void 0?c:dh(23,FMb)));B(3);R(" ",U(39,21,d.issue.staffing==null?null:d.issue.staffing.plannedAllocations)," ");B(4);G(d.enablePeoplekitAc?42:43);B(2);G(d.enablePeoplekitAc?44:45);B(6);E("ngModel",ru(d.originalIssueCopy.targetedToVersion));
B(6);G(d.isBlockedByIssueIdValid?-1:56);B();E("ngModel",ru(d.issue.blockedByIssueId));B(5);G(d.isBlockingIssueIdValid?-1:62);B();E("ngModel",ru(d.issue.blockingIssueId));B();G(d.sessionIsExternal?-1:64);B();G(d.sessionIsExternal?-1:65);B(2);G(Jr(d.selectedComponent)?-1:67);B();G(d.trackerCollaboratorGroups.length>0&&!Jr(d.selectedComponent)?68:-1);B(2);zg(d.issue.customField)}},HMb=function(a,b){a&1&&K(0,"similar-issues",134);a&2&&(a=P(3),E("context",b)("componentId",a.issue.componentId))},IMb=function(a){a&
1&&(D(0,HMb,1,2,"similar-issues",134),S(1,"async"));if(a&2){var b;a=P(2);G((b=U(1,1,a.similarIssuesSearchString$))?0:-1,b)}},JMb=function(a){a&1&&(I(0,"div",17),K(1,"b-icon",29),I(2,"span"),Q(3),J(),I(4,"a",30),Q(5,"View access settings"),J()());a&2&&(a=P(2),E("ngClass",fh(5,oLb,pLb(a),qLb(a))),B(),E("name","alert")("size","small"),B(2),R("",rLb(a),"\u00a0"),B(),E("href",a.selectedComponent?Qq.editComponentAccess.makeHref(a.selectedComponent.componentId):"",vf))},KMb=function(a){if(a&1){var b=v();
I(0,"div",54)(1,"b-recaptcha",135);M("onUpdate",function(c){w(b);var d=P(2);return x(d.recaptchaResponse=c)});J()()}},OMb=function(a){if(a&1){var b=v();I(0,"div")(1,"div",20)(2,"div",21)(3,"div",22)(4,"label",40);Q(5,"Title");J()();D(6,JLb,2,0,"div",41)(7,MLb,3,5,"div",42)(8,NLb,1,0,"llm-suggest-title-preview")(9,OLb,4,1,"p",43);J();D(10,QLb,13,4,"div",26)(11,SLb,15,8,"div",26);J();Ag(12);I(13,"div",20);D(14,VLb,3,1,"div",44)(15,aMb,2,1);J();I(16,"div",20);D(17,dMb,2,1);J();Bg();I(18,"div",45)(19,
"div",20)(20,"div",21)(21,"div",22)(22,"label",46);Q(23,"Description");J()();I(24,"b-comment-box",47);bh("commentChange",function(c){w(b);var d=P();ah(d.comment,c)||(d.comment=c);return x(c)});M("onChange",function(){w(b);var c=P();return x(c.saveCommentDraft())})("onSubmit",function(c){w(b);var d=P();return x(LMb(d,c,!c.shiftKey))})("onRestrict",function(){w(b);var c=P();return x(c.showNewContentJudgementDialog())});D(25,eMb,4,1,"p",48);I(26,"b-markdown-toggle",49);M("change",function(c){w(b);var d=
P();return x(d.comment.formattingMode=c)});J()()()();D(27,hMb,7,4,"div",50);K(28,"div",51);I(29,"div",52);D(30,GMb,72,24,"mat-expansion-panel",53);J();D(31,IMb,2,3)(32,JMb,6,8,"div",17)(33,KMb,2,0,"div",54);I(34,"div",55)(35,"b-button",56);M("onAction",function(c){w(b);var d=P();return x(LMb(d,c,!0))});Q(36);J();I(37,"b-button",57);M("onAction",function(c){w(b);var d=P();return x(LMb(d,c,!1))});Q(38);J();I(39,"b-button",58);M("onAction",function(){w(b);var c=P();return x(c.discard())});Q(40," Discard ");
J()()()()}a&2&&(a=P(),B(6),G(a.enableIssueSuggestionPicker?6:-1),B(),G(a.enableIssueSuggestionPicker?-1:7),B(),G(a.enableSuggestTitle?8:-1),B(),G(a.titleBannedWordsChecker.showWarning()?9:-1),B(),G(a.canEditIssuesInComponent?10:-1),B(),G(a.canEditIssuesInComponent?11:-1),B(3),G(a.canEditIssuesInComponent?14:-1),B(),G(a.canEditIssuesInComponent?15:-1),B(2),G(a.canEditIssuesInComponent?17:-1),B(7),sg("highlight-input",a.shouldHighlightDescription),E("supportsPreview",!0),$g("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",eh(38,MMb,ALb(a.comment)))("warn",a.descriptionBannedWordsChecker.showWarning())("canEditIssuesInComponent",a.canEditIssuesInComponent)("isLiteralModeSupported",a.isLiteralModeSupported()),B(),G(a.descriptionBannedWordsChecker.showWarning()?
25:-1),B(),E("initialValue",a.comment.formattingMode),B(),G(a.canEditIssuesInComponent&&Jr(a.selectedComponent)?27:-1),B(3),G(a.canEditIssuesInComponent?30:-1),B(),G(a.issue.componentId&&!a.submitRequested?31:-1),B(),G(pLb(a)||qLb(a)?32:-1),B(),G(a.enableRecaptcha?33:-1),B(2),E("disabled",NMb(a))("color",a.titleBannedWordsChecker.showWarning()||a.descriptionBannedWordsChecker.showWarning()?"warn":"primary"),B(),R(" ",a.titleBannedWordsChecker.showWarning()||a.descriptionBannedWordsChecker.showWarning()?
"Create Anyway":"Create"," "),B(),E("disabled",NMb(a))("color",a.titleBannedWordsChecker.showWarning()||a.descriptionBannedWordsChecker.showWarning()?"warn":"primary"),B(),R(" ",a.titleBannedWordsChecker.showWarning()||a.descriptionBannedWordsChecker.showWarning()?"Create Anyway & Start Another":"Create & Start Another"," "),B(),E("disabled",NMb(a)))},PMb=function(a,b){a&1&&(I(0,"h2",136),Q(1,"This component has a default description"),J(),I(2,"mat-dialog-content"),Q(3," You have already entered a description, but the component you chose has a default description: "),
I(4,"div",137),Q(5),J()(),I(6,"mat-dialog-actions")(7,"button",138),Q(8,"Use component description"),J(),I(9,"button",139),Q(10,"Keep my description"),J()());a&2&&(a=b.$implicit,B(5),Yg(a),B(2),E("mat-dialog-close",!0))},QMb=function(a,b){a&1&&(I(0,"mat-option",142),Q(1),J());a&2&&(a=b.$implicit,Lg("value",a),B(),R(" ",a," "))},SMb=function(a){if(a&1){var b=v();I(0,"mat-form-field",140)(1,"mat-select",141);bh("ngModelChange",function(c){w(b);var d=P();ah(d.collaboratorGroupsText,c)||(d.collaboratorGroupsText=
c);return x(c)});I(2,"mat-select-trigger");Q(3);J();yg(4,QMb,2,2,"mat-option",142,xg);J()()}a&2&&(a=P(),B(),$g("ngModel",a.collaboratorGroupsText),E("ngModelOptions",dh(3,RMb)),B(2),Yg(a.getCollaboratorGroupsString()),B(),zg(a.trackerCollaboratorGroups))},TMb=function(a,b){b.assigneeText=Pj(a.assigneeUser);b.reporterText=Pj(a.reporterUser);b.verifierText=Pj(a.verifierUser);b.collaboratorsText=Qj(a.collaboratorsUsers);b.ccsText=Qj(a.ccUsers)},UMb=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=Wj(a.assigneeText));a.reporterText!=null&&(b.reporterUser=Wj(a.reporterText));a.verifierText!=null&&(b.verifierUser=Wj(a.verifierText));a.collaboratorsText&&(c=Rua(a.collaboratorsText),c.length?b.collaboratorsUsers=c:b.collaboratorsUsers=void 0);a.ccsText&&(a=Rua(a.ccsText),a.length?b.ccUsers=a:b.ccUsers=void 0)},WMb=function(a,b){for(var c=k(Object.keys(b)),d=c.next();!d.done;d=c.next()){d=
d.value;var e=b[d],f=VMb[d];d==="customField"||oj(e,f)||(Array.isArray(e)?a[d]?(e=Lta([].concat(t(e),t(a[d]))),a[d]=e):a[d]=e:e!==""&&(a[d]=e))}},XMb=function(a){a=Object.assign({},a);return delete a.hotlistId,a},YMb=function(a){var b={};a=k(a);for(var c=a.next();!c.done;c=a.next())c=c.value,c.allowedValue&&(b[c.customFieldId]=c.allowedValue.map(function(d){return{value:d,displayText:d}}));return b},ZMb=function(a){return function(b){var c=Gj(b.snapshot.customField,function(l){return l.customFieldId}),
d=[],e,f,h=(f=(e=a.componentPathInfo)==null?void 0:e.allCustomField)!=null?f:[];e=k(h);for(f=e.next();!f.done;f=e.next())f=f.value,h=f.customFieldId,f.enabledOnIssues&&(c.has(h)?d.push(c.get(h)):f.typedDefaultValue?d.push(f.typedDefaultValue):d.push({customFieldId:h}));return Object.assign({},b,{snapshot:Object.assign({},b.snapshot,{customField:d})})}},ILb=function(a){return a===null||a===void 0||a.length===0},$Mb=function(a){a&1&&K(0,"b-star-toggle",6);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)},aNb=function(a){if(a&1){var b=v();I(0,"b-star-toggle",10);M("starClicked",function(){w(b);var c=P(2);return x(c.toggleStar())});J()}a&2&&(a=P(2),E("starMessage","Star this bookmark group")("unStarMessage","Un-star this bookmark group")("starred",a.isStarred))},bNb=function(a){if(a&1){var b=v();I(0,"div")(1,"div",5);D(2,$Mb,1,4,"b-star-toggle",6)(3,aNb,1,3,"b-star-toggle",7);I(4,"span",8);Q(5);I(6,
"span")(7,"button",9);M("click",function(){w(b);var c=P();return x(c.editBookmarkGroup())});J()()()()()}a&2&&(a=P(),B(2),G(a.isAdmin?2:3),B(3),R("",a.bookmarkGroup.name," "))},eNb=function(a){if(a&1){var b=v();I(0,"b-saved-search-panel",13);M("focusedRowIndexChange",function(f){w(b);var h=P().$implicit,l=P();return x(cNb(l,h,f))})("selectionChange",function(f){w(b);var h=P(2);return x(dNb(h,f))})("resultsLoaded",function(f){w(b);var h=P(2);return x(h.loadHotlists(f))});J()}if(a&2){var c=P();a=c.$implicit;
var d=c.$index;c=c.$count;var e=P();E("panel",a)("isDashboardEditable",e.isAdmin)("focusedRowIndex",a.focusedRowIndex)("savedSearchId",a.resourceId)("first",d===0)("last",d===c-1)}},fNb=function(a){if(a&1){var b=v();I(0,"b-hotlist-panel",14);M("focusedRowIndexChange",function(f){w(b);var h=P().$implicit,l=P();return x(cNb(l,h,f))})("selectionChange",function(f){w(b);var h=P(2);return x(dNb(h,f))})("resultsLoaded",function(f){w(b);var h=P(2);return x(h.loadHotlists(f))});J()}if(a&2){var c=P();a=c.$implicit;
var d=c.$index;c=c.$count;var e=P();E("panel",a)("isDashboardEditable",e.isAdmin)("focusedRowIndex",a.focusedRowIndex)("hotlistId",a.resourceId)("first",d===0)("last",d===c-1)}},gNb=function(a,b){a&1&&(I(0,"div"),D(1,eNb,1,6,"b-saved-search-panel",11)(2,fNb,1,6,"b-hotlist-panel",12),J());if(a&2){var c;a=b.$implicit;B();G((c=a.type)==="SAVED_SEARCH"?1:c==="HOTLIST"?2:-1)}},hNb=function(a){if(a&1){var b=v();I(0,"button",10);M("click",function(){w(b);var c=P();return x(c.archive())});Q(1," Archive bookmark group ");
J()}a&2&&(a=P(),E("disabled",a.hasUnsavedChanges()||a.isSaving()))},iNb=function(a){if(a&1){var b=v();I(0,"button",10);M("click",function(){w(b);var c=P();return x(c.unarchive())});Q(1," Unarchive bookmark group ");J()}a&2&&(a=P(),E("disabled",a.hasUnsavedChanges()||a.isSaving()))},jNb=function(a){a&1&&(I(0,"span",12),Q(1," (archived) "),J())},lNb=function(a,b){if(a&1){var c=v();I(0,"div")(1,"b-hotlist-chip-smart",45);M("removeHotlist",function(){var d=w(c),e=P(4);return x(kNb(e,d))});J()()}a&2&&
(B(),E("id",b))},nNb=function(a,b){if(a&1){var c=v();I(0,"div",43)(1,"a",46);Q(2);J();I(3,"span",47);M("click",function(){var e=w(c),f=P(4);return x(mNb(f,e))})("keydown.enter",function(){var e=w(c),f=P(4);return x(mNb(f,e))})("keydown.space",function(){var e=w(c),f=P(4);return x(mNb(f,e))});Q(4," \u00d7 ");J()()}if(a&2){a=P().$implicit;var d=P(3);B();E("href",d.paths.viewSavedSearch(b),vf)("matTooltip","Go to saved search: "+d.getDisplayName(a));B();R(" S: ",d.getDisplayName(a)," ");B();E("matTooltip",
"Remove item: "+d.getDisplayName(a));jg("aria-label","Remove item: "+d.getDisplayName(a))}},oNb=function(a){a&1&&(I(0,"span",44),Q(1,"<None>"),J())},pNb=function(a,b){a&1&&(I(0,"div",34),D(1,lNb,2,1,"div")(2,nNb,5,5,"div",43)(3,oNb,2,0,"span",44),J());if(a&2){var c;a=b.$implicit;b=P(3);B();var d;var e=a.resourceType==="HOTLIST"?(d=a.hotlistId)==null?void 0:d.toString():void 0;G(e?1:-1,e);B();G((c=a.resourceType==="SAVED_SEARCH"?a.savedSearchId:void 0)?2:-1,c);B();G(b.bookmarkGroupUnderEdit.item.length?
-1:3)}},rNb=function(a,b){if(a&1){var c=v();I(0,"button",54);M("click",function(){var d=w(c).$implicit,e=P(5);return x(qNb(e,d))});Q(1);J()}a&2&&(a=b.$implicit,B(),R("",a.name," "))},sNb=function(a){a&1&&yg(0,rNb,2,1,"button",53,xg);a&2&&(a=P(4),zg(a.savedSearchChoices))},tNb=function(a){a&1&&(I(0,"div",42)(1,"label",48),Q(2,"Add from saved searches:"),J(),I(3,"button",49)(4,"span",50),Q(5,"Select"),J(),K(6,"mat-icon",51),J(),I(7,"mat-menu",null,2),D(9,sNb,2,0,"ng-template",52),J()());a&2&&(a=L(8),
B(3),E("matMenuTriggerFor",a))},yNb=function(a){if(a&1){var b=v();I(0,"div",30)(1,"label",32)(2,"span",20);Q(3,"Selected items");J()();I(4,"div",33,1);yg(6,pNb,4,3,"div",34,xg);J()();I(8,"div",35)(9,"div",36)(10,"label",37);Q(11,"Add hotlist from favorites:");J();I(12,"b-hotlist-picker",38);M("onApply",function(c){w(b);var d=P(2);return x(uNb(d,c))})("onCreate",function(c){w(b);var d=P(2);return x(vNb(d,c))})("onLoad",function(c){w(b);var d=P(2);return x(wNb(d,c))});J()();I(13,"div",39)(14,"label",
40);Q(15,"Add hotlist by query:");J();I(16,"b-hotlist-search",41);M("itemSelect",function(c){w(b);var d=P(2);"hotlistId"in c&&!d.selectedHotlistIds[0].includes(c.hotlistId)&&(xNb(d,c.hotlistId),d.bookmarkGroupUnderEdit.item.push({name:c.name,resourceType:"HOTLIST",hotlistId:c.hotlistId}));return x()});J()();D(17,tNb,10,1,"div",42);J()}a&2&&(a=P(2),B(6),zg(a.bookmarkGroupUnderEdit.item),B(6),E("selectedHotlistIds",a.selectedHotlistIds)("choices",a.userHotlists)("checkEditAcl",!1),B(4),E("showGroups",
!1)("allowStarring",!1),B(),G(a.savedSearchChoices.length>0?17:-1))},ANb=function(a){a&1&&(I(0,"span"),Q(1),I(2,"a",56),Q(3),J()());if(a&2){a=P().$implicit;var b=P(3);B();R(" Hotlist ",a.hotlistId,": ");B();E("href",zNb(b,a),vf);B();R(" ",a.name||"(name not available)"," ")}},BNb=function(a){a&1&&(I(0,"span"),Q(1),I(2,"a",56),Q(3),J()());if(a&2){a=P().$implicit;var b=P(3);B();R(" Saved search ",a.savedSearchId,": ");B();E("href",zNb(b,a),vf);B();R(" ",a.name||"(name not available)"," ")}},CNb=function(a,
b){a&1&&(I(0,"li"),D(1,ANb,4,3,"span")(2,BNb,4,3,"span"),J());a&2&&(a=b.$implicit,B(),G(a.resourceType==="HOTLIST"?1:-1),B(),G(a.resourceType==="SAVED_SEARCH"?2:-1))},DNb=function(a){a&1&&(I(0,"div",24)(1,"label")(2,"span",20),Q(3,"Items"),J()(),I(4,"div",55)(5,"ul"),yg(6,CNb,3,2,"li",null,xg),J()()());a&2&&(a=P(2),B(6),zg(a.bookmarkGroup.item))},ENb=function(a){if(a&1){var b=v();I(0,"div",25)(1,"button",57);M("click",function(){w(b);var c=P(2);return x(c.saveMetadata())});Q(2," Update ");J();I(3,
"button",58);M("click",function(){w(b);var c=P(2);return x(c.revertMetadataChanges())});Q(4," Revert changes ");J()()}a&2&&(a=P(2),B(),E("disabled",!a.hasUnsavedMetadataChanges()||a.isSaving()))},FNb=function(a){if(a&1){var b=v();I(0,"div",25)(1,"button",57);M("click",function(){w(b);var c=P(2);return x(c.saveAccessPolicy())});Q(2," Update ");J();I(3,"button",58);M("click",function(){w(b);var c=P(2);return x(c.revertAccessPolicyChanges())});Q(4," Revert changes ");J()()}a&2&&(a=P(2),B(),E("disabled",
!a.hasUnsavedAccessPolicyChanges()||a.isSaving()||!a.isAdminsFieldValid||!a.isReaderFieldValid))},JNb=function(a){if(a&1){var b=v();I(0,"div",11)(1,"h2");Q(2);J();D(3,jNb,2,0,"span",12);I(4,"a",13);Q(5," (View Dashboard)");J()();I(6,"mat-tab-group",14);bh("selectedIndexChange",function(c){w(b);var d=P();ah(d.selectedTabIndex,c)||(d.selectedTabIndex=c);return x(c)});M("selectedIndexChange",function(c){w(b);var d=P();return x(d.tabChange(c))});I(7,"mat-tab",15)(8,"div",16);K(9,"b-error-banner",17);
I(10,"div",18)(11,"label",19)(12,"span",20);Q(13,"Name");J()();I(14,"input",21,0);bh("ngModelChange",function(c){w(b);var d=P();ah(d.bookmarkGroupUnderEdit.name,c)||(d.bookmarkGroupUnderEdit.name=c);return x(c)});J()();I(16,"div",18)(17,"label",22)(18,"span",20);Q(19,"Description");J()();I(20,"textarea",23);bh("ngModelChange",function(c){w(b);var d=P();ah(d.bookmarkGroupUnderEdit.description,c)||(d.bookmarkGroupUnderEdit.description=c);return x(c)});J()();D(21,yNb,18,6)(22,DNb,8,0,"div",24)(23,ENb,
5,1,"div",25);J()();I(24,"mat-tab",26)(25,"div",16)(26,"div",18)(27,"label")(28,"span",20);Q(29,"Admins");J();I(30,"p",27);Q(31," Edit access controls, edit name and description, reorder items, add/remove items ");J()();I(32,"b-multi-user-input",28);M("usersChange",function(c){w(b);var d=P();return x(d.accessPolicyUnderEdit.admins=c)})("isValid",function(c){w(b);var d=P();return x(d.isAdminsFieldValid=c)});J()();I(33,"div",18)(34,"label")(35,"span",20);Q(36,"View only");J();I(37,"p",27);Q(38," View the bookmark group ");
J();I(39,"b-multi-user-input",29);M("usersChange",function(c){w(b);var d=P();return x(d.accessPolicyUnderEdit.readers=c)})("isValid",function(c){w(b);var d=P();return x(d.isReaderFieldValid=c)});J()()();I(40,"div",30);Q(41," See ");I(42,"a",31);Q(43,"access control documentation");J();Q(44," for an explanation of the settings. ");J();D(45,FNb,5,1,"div",25);J()()()}a&2&&(a=P(),B(2),Zg(" Bookmark group ",a.bookmarkGroup.bookmarkGroupId,": ",a.bookmarkGroup.name," "),B(),G(a.isArchived()?3:-1),B(),E("href",
Sq(Qq.viewDashboard.routeDeclarationPath,{id:a.bookmarkGroup.bookmarkGroupId}),vf),B(2),$g("selectedIndex",a.selectedTabIndex),B(3),E("error",a.error),B(),E("ngClass",eh(27,GNb,a.isEditDisabled())),B(4),$g("ngModel",a.bookmarkGroupUnderEdit.name),E("disabled",a.isEditDisabled()),B(2),E("ngClass",eh(29,GNb,a.isEditDisabled())),B(4),$g("ngModel",a.bookmarkGroupUnderEdit.description),E("disabled",a.isEditDisabled()),B(),G(a.isAdmin?21:22),B(2),G(a.isAdmin?23:-1),B(3),E("ngClass",eh(31,GNb,a.isEditDisabled())),
B(6),sg("disabled",a.isEditDisabled()),E("users",a.accessPolicyUnderEdit.admins),B(),E("ngClass",eh(33,GNb,a.isEditDisabled())),B(6),sg("disabled",a.isEditDisabled()),E("users",a.accessPolicyUnderEdit.readers)("includeAliases",!0)("includeViewAliases",!0)("containerChips",eh(37,HNb,eh(35,INb,a.accessPolicyUnderEdit.admins))),B(3),E("href",Aq(a.documentationLinks)+"#bookmark-groups",vf),B(3),G(a.isAdmin?45:-1))},KNb=function(a){if(a&1){var b=v();I(0,"button",9);M("click",function(){w(b);var c=P();
return x(c.delete())});Q(1," Delete saved search ");J()}a&2&&(a=P(),E("disabled",a.hasUnsavedChanges()||a.isSaving()))},LNb=function(a){a&1&&(I(0,"div",8)(1,"h2"),Q(2," Saved search not found "),J()())},MNb=function(a){if(a&1){var b=v();I(0,"div",25)(1,"button",33);M("click",function(){w(b);var c=P(2);return x(c.saveMetadata())});Q(2," Update ");J();I(3,"button",34);M("click",function(){w(b);var c=P(2);return x(c.revertMetadataChanges())});Q(4," Revert changes ");J()()}a&2&&(a=P(2),B(),E("disabled",
!a.hasUnsavedMetadataChanges()||a.isSaving()))},NNb=function(a){if(a&1){var b=v();I(0,"div",25)(1,"button",33);M("click",function(){w(b);var c=P(2);return x(c.saveAccessPolicy())});Q(2," Update ");J();I(3,"button",34);M("click",function(){w(b);var c=P(2);return x(c.revertAccessPolicyChanges())});Q(4," Revert changes ");J()()}a&2&&(a=P(2),B(),E("disabled",!a.hasUnsavedAccessPolicyChanges()||a.isSaving()||!a.isAdminsFieldValid||!a.isReaderFieldValid))},RNb=function(a){if(a&1){var b=v();I(0,"div",8)(1,
"h2");Q(2);J();I(3,"a",10);Q(4," (View Issues)");J()();I(5,"mat-tab-group",11);bh("selectedIndexChange",function(c){w(b);var d=P();ah(d.selectedTabIndex,c)||(d.selectedTabIndex=c);return x(c)});M("selectedIndexChange",function(c){w(b);var d=P();return x(d.tabChange(c))});I(6,"mat-tab",12)(7,"div",13);K(8,"b-error-banner",14);I(9,"div",15)(10,"label",16)(11,"span",17);Q(12,"Name");J()();I(13,"input",18,0);bh("ngModelChange",function(c){w(b);var d=P();ah(d.savedSearchUnderEdit.name,c)||(d.savedSearchUnderEdit.name=
c);return x(c)});J()();I(15,"div",15)(16,"label",19)(17,"span",17);Q(18,"Description");J()();I(19,"textarea",20);bh("ngModelChange",function(c){w(b);var d=P();ah(d.savedSearchUnderEdit.description,c)||(d.savedSearchUnderEdit.description=c);return x(c)});Q(20,"            ");J()();I(21,"div",21)(22,"label",22)(23,"span",17);Q(24,"Query");J();I(25,"p",23);Q(26," To modify query and display preferences, run the saved search and modify its parameters ");J();I(27,"div",24);Q(28);J()()();D(29,MNb,5,1,"div",
25);J()();I(30,"mat-tab",26)(31,"div",13)(32,"div",15)(33,"label",27)(34,"span",17);Q(35,"Admins");J();I(36,"p",23);Q(37," Edit access controls, edit name and description, edit query ");J()();I(38,"b-multi-user-input",28);M("usersChange",function(c){w(b);var d=P();return x(d.accessPolicyUnderEdit.admins=c)})("isValid",function(c){w(b);var d=P();return x(d.isAdminsFieldValid=c)});J()();I(39,"div",15)(40,"label",29)(41,"span",17);Q(42,"View and execute search");J()();I(43,"b-multi-user-input",30);M("usersChange",
function(c){w(b);var d=P();return x(d.accessPolicyUnderEdit.readers=c)})("isValid",function(c){w(b);var d=P();return x(d.isReaderFieldValid=c)});J()();I(44,"div",31);Q(45," See ");I(46,"a",32);Q(47,"access control documentation");J();Q(48," for an explanation of the settings. ");J();D(49,NNb,5,1,"div",25);J()()()}a&2&&(a=P(),B(2),Zg(" Saved search ",a.savedSearch.searchId,": ",a.savedSearch.name," "),B(),E("href",a.paths.viewSavedSearch(a.savedSearch.searchId),vf),B(2),$g("selectedIndex",a.selectedTabIndex),
B(3),E("error",a.error),B(),E("ngClass",eh(26,ONb,a.isEditDisabled())),B(4),$g("ngModel",a.savedSearchUnderEdit.name),E("disabled",a.isEditDisabled()),B(2),E("ngClass",eh(28,ONb,a.isEditDisabled())),B(4),$g("ngModel",a.savedSearchUnderEdit.description),E("disabled",a.isEditDisabled()),B(9),R(" ",a.savedSearch.query," "),B(),G(a.isAdmin?29:-1),B(3),E("ngClass",eh(30,ONb,a.isEditDisabled())),B(6),sg("disabled",a.isEditDisabled()),E("users",a.accessPolicyUnderEdit.admins),B(),E("ngClass",eh(32,ONb,a.isEditDisabled())),
B(4),sg("disabled",a.isEditDisabled()),E("users",a.accessPolicyUnderEdit.readers)("includeAliases",!0)("includeViewAliases",!0)("containerChips",eh(36,PNb,eh(34,QNb,a.accessPolicyUnderEdit.admins))),B(3),E("href",Aq(a.documentationLinks)+"#saved-searches",vf),B(3),G(a.isAdmin?49:-1))},SNb=function(a){a&1&&(I(0,"div",6),K(1,"b-spinner"),J())},TNb=function(a){if(a&1){var b=v();I(0,"div",35)(1,"span",36)(2,"mat-checkbox",37);M("change",function(c){w(b);var d=P(2);return x(d.alertState.setValue(c.checked))});
J()();I(3,"div")(4,"strong",38);Q(5,"SLO Notifications");J();I(6,"div",39);Q(7," When checked, admins will be notified when any component that would be automatically assigned this SLO overrides their SLO settings. ");J()()()}a&2&&(a=P(2),sg("bv2-edit-resource-readonly",a.isEditDisabled()),B(2),E("checked",a.alertState.getValue())("disabled",a.isEditDisabled()))},UNb=function(a){a&1&&(I(0,"div",20),Q(1," Action is required to keep your SLO definitions in Buganizer and BugScope in sync. "),I(2,"a",
40),Q(3," Learn more "),J()())},WNb=function(a){if(a&1){var b=v();I(0,"b-button",45);M("onAction",function(){w(b);var c=P(3);return x(VNb(c,!0))});Q(1," Archive ");J()}a&2&&(a=P(3),E("disabled",a.hasUnsavedMetadataChanges()||a.isSaving()))},XNb=function(a){if(a&1){var b=v();I(0,"b-button",46);M("onAction",function(){w(b);var c=P(3);return x(VNb(c,!1))});Q(1," Unarchive ");J()}a&2&&(a=P(3),E("disabled",a.hasUnsavedMetadataChanges()||a.isSaving()))},YNb=function(a){if(a&1){var b=v();I(0,"div",24)(1,
"b-button",41);M("onAction",function(){w(b);var d=P(2);return x(d.saveMetadata())});Q(2," Update ");J();I(3,"b-button",42);M("onAction",function(){w(b);var d=P(2);return x(d.revertMetadataChanges())});Q(4," Revert changes ");J();D(5,WNb,2,1,"b-button",43)(6,XNb,2,1,"b-button",44);J()}if(a&2){P();a=L(9);var c=P();B();E("disabled",!c.hasUnsavedMetadataChanges()||c.isSaving()||!c.elementPickerIsValid||!!a.pending||!!a.invalid);B(2);E("disabled",!c.hasUnsavedMetadataChanges()||c.isSaving()||!!a.pending||
!!a.invalid);B(2);G(c.slo&&!c.slo.isArchived?5:-1);B();G(c.slo&&c.slo.isArchived?6:-1)}},ZNb=function(a){if(a&1){var b=v();I(0,"div",23)(1,"b-button",47);M("onAction",function(){w(b);var c=P(2);return x(c.saveAccessPolicy())});Q(2," Update ");J();I(3,"b-button",48);M("onAction",function(){w(b);var c=P(2);return x(c.revertAccessPolicyChanges())});Q(4," Revert changes ");J()()}a&2&&(a=P(2),B(),E("disabled",!a.hasUnsavedAccessPolicyChanges()||a.isSaving()||a.isInvalid()))},$Nb=function(a){if(a&1){var b=
v();I(0,"div")(1,"div",7)(2,"h2")(3,"span",8);Q(4);J()()();I(5,"mat-tab-group",9);bh("selectedIndexChange",function(c){w(b);var d=P();ah(d.selectedTabIndex,c)||(d.selectedTabIndex=c);return x(c)});M("selectedIndexChange",function(c){w(b);var d=P();return x(d.tabChange(c))});I(6,"mat-tab",10)(7,"div",11)(8,"form",12,0)(10,"div",13)(11,"label",14)(12,"span",15);Q(13,"Name");J()();I(14,"input",16);M("ngModelChange",function(c){w(b);var d=P();return x(d.editableCopy.name=c)});J()();I(15,"div",13)(16,
"label",17)(17,"span",15);Q(18,"Description");J()();I(19,"textarea",18);M("ngModelChange",function(c){w(b);var d=P();return x(d.editableCopy.description=c)});Q(20,"                ");J()();D(21,TNb,8,4,"div",19);J();D(22,UNb,4,0,"div",20);I(23,"div",13)(24,"slo-elements-picker",21);M("onCollectionUpdate",function(c){w(b);var d=P();return x(d.updateCollection(c))})("onValidation",function(c){w(b);var d=P();return x(d.elementPickerIsValid=c)});J()();I(25,"div",22)(26,"div",23)(27,"div",24)(28,"b-button",
25);M("onAction",function(){w(b);var c=P();return x(c.showUpdateHistoryModal())});Q(29," View history ");J()()();I(30,"div",23);D(31,YNb,7,4,"div",24);J()()()();I(32,"mat-tab",26)(33,"div",27)(34,"form",28)(35,"div",13)(36,"label",29)(37,"span",15);Q(38,"Admins");J();I(39,"p",30);Q(40," Edit name, description and metrics ");J()();I(41,"b-multi-user-input",31);M("usersChange",function(c){w(b);var d=P();return x(d.editableAccessPolicy.admins=c)})("isValid",function(c){w(b);var d=P();return x(d.validity.admins=
c)});J()();I(42,"div",13)(43,"label",32)(44,"span",15);Q(45,"Readers");J();I(46,"p",30);Q(47," View the SLO definition (this is not required to see an issue's SLO status) ");J()();I(48,"b-multi-user-input",33);M("usersChange",function(c){w(b);var d=P();return x(d.editableAccessPolicy.readers=c)})("isValid",function(c){w(b);var d=P();return x(d.validity.readers=c)});J()()();I(49,"div",13);Q(50," See ");I(51,"a",34);Q(52,"access control documentation");J();Q(53," for an explanation of the settings. ");
J();D(54,ZNb,5,1,"div",23);J()()()()}a&2&&(a=P(),B(4),Zg(" SLO ",a.slo.sloId,": ",a.slo.name," "),B(),$g("selectedIndex",a.selectedTabIndex),B(5),sg("bv2-edit-resource-readonly",a.isEditDisabled()),B(4),E("required",!0)("ngModel",a.editableCopy.name)("disabled",a.isEditDisabled()),B(),sg("bv2-edit-resource-readonly",a.isEditDisabled()),B(4),E("ngModel",a.editableCopy.description)("disabled",a.isEditDisabled()),B(2),G(a.isImportedFromBugScope||a.alertState.getSavedValue()?21:-1),B(),G(a.isUneditedFromBugScope&&
a.isAdmin()?22:-1),B(),sg("bv2-edit-resource-readonly",a.isEditDisabled()),B(),E("isDisabled",a.isEditDisabled())("collection",a.editableCopy.elements),B(7),G(a.isAdmin()?31:-1),B(4),sg("bv2-edit-resource-readonly",a.isEditDisabled()),B(6),E("users",a.editableAccessPolicy.admins),jg("disabled",a.isEditDisabled()?!0:null),B(),sg("bv2-edit-resource-readonly",a.isEditDisabled()),B(6),E("users",a.editableAccessPolicy.readers)("includeAliases",!0)("includeViewAliases",!0),jg("disabled",a.isEditDisabled()?
!0:null),B(3),Kg("href","",Aq(a.documentationLinks),"#slos",vf),B(3),G(a.isAdmin()?54:-1))},bOb=function(a){if(a&1){var b=v();I(0,"div",2);K(1,"img",3)(2,"img",4);I(3,"p",5);Q(4," This issue is not blocking anything \u00a0\ud83e\udd73 ");J();I(5,"p",6);Q(6,' If this issue blocked another, it would mean that it should be resolved first, and it would show up in the "Blockers" list for that issue. ');I(7,"a",7);Q(8,"Learn more");J()();I(9,"button",8);M("click",function(){w(b);var c=P(2);return x(aOb(c))});
Q(10," Add ");J()()}a&2&&(a=P(2),B(),E("src",a.TEA_LIGHT,vf),B(),E("src",a.TEA_DARK,vf))},cOb=function(a,b){a&1&&K(0,"b-issues-table",13);a&2&&(a=P(6),E("issueIds",b)("menuItemFactory",a.getMenuItems))},dOb=function(a){a&1&&(D(0,cOb,1,2,"b-issues-table",13),S(1,"async"));if(a&2){var b;a=P(5);G((b=U(1,1,a.blockedAndOpenIds$))?0:-1,b)}},eOb=function(a){a&1&&(I(0,"p",12),Q(1,"Not blocking any open issues \ud83e\udd73"),J())},fOb=function(a,b){a&1&&(I(0,"h4",11),Q(1),J(),D(2,dOb,2,3)(3,eOb,2,0,"p",12));
a&2&&(B(),R("Open (",b.length,")"),B(),G(b.length>0?2:3))},gOb=function(a,b){a&1&&K(0,"b-issues-table",13);a&2&&(a=P(6),E("issueIds",b)("menuItemFactory",a.getMenuItems))},hOb=function(a){a&1&&(I(0,"h4",11),Q(1),J(),D(2,gOb,1,2,"b-issues-table",13),S(3,"async"));if(a&2){var b;a=P();var c=P(4);B();R("Closed (",a.length,")");B();G((b=U(3,2,c.blockedAndClosedIds$))?2:-1,b)}},iOb=function(a,b){a&1&&D(0,hOb,4,4);a&2&&G(b.length>0?0:-1)},jOb=function(a){a&1&&(D(0,fOb,4,2),S(1,"async"),D(2,iOb,1,1),S(3,
"async"));if(a&2){var b,c;a=P(3);G((b=U(1,2,a.blockedAndOpen$))?0:-1,b);B(2);G((c=U(3,4,a.blockedAndClosed$))?2:-1,c)}},kOb=function(a,b){a&1&&(I(0,"li")(1,"a",15)(2,"span",6),Q(3),J(),I(4,"aside",16),K(5,"button",17),J()()());a&2&&(a=b.$implicit,B(),lg("aria-label","Issue ",a,""),Kg("routerLink","/issues/",a,""),B(2),R("b/",a,""))},lOb=function(a){a&1&&(I(0,"h4",11),Q(1,"Loading..."),J(),I(2,"ol",14),yg(3,kOb,6,5,"li",null,xg),J());a&2&&(a=P(2),B(3),zg(a))},mOb=function(a,b){a&1&&(I(0,"a",10),Q(1,
" View as search results "),J());a&2&&E("routerLink",b.path)("queryParams",b.params)},nOb=function(a){if(a&1){var b=v();D(0,jOb,4,6);S(1,"async");D(2,lOb,5,0);I(3,"aside",9)(4,"button",8);M("click",function(){w(b);var d=P(2);return x(aOb(d))});Q(5," Add ");J();D(6,mOb,2,2,"a",10);S(7,"async");J()}if(a&2){var c;a=P(2);G(U(1,2,a.issuesBeingBlocked$)?0:2);B(6);G((c=U(7,4,a.searchUrl$))?6:-1,c)}},oOb=function(a,b){a&1&&D(0,bOb,11,2,"div",2)(1,nOb,8,6);a&2&&G(b.length===0?0:1)},pOb=function(a){a&1&&(I(0,
"aside",1),K(1,"b-spinner"),J())},sOb=function(a){return qOb(rOb(),a.paths.map(function(b){var c=new su;return fl(c,1,b)}))},tOb=function(a){return{content:new Map(a.getResponsesList().map(function(b){return[Kh(b.getReadonlySourceFileId(),1),Cya(b.getContent())]})),revisionNumber:new Map(a.getResponsesList().map(function(b){return[Kh(b.getReadonlySourceFileId(),1),b.getReadonlySourceFileId().getRevisionNumber()]}))}},uOb=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:Kh(e,1))!=null?h:""}},vOb=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}},yOb=function(a){var b=new wOb,c=a.sourceFile,d=new xOb,e=d.setSourceFileId;
var f=c.sourceFileId;var h=new su;f=fl(h,1,f.depotPath).setRevisionNumber(f.revisionNumber);d=e.call(d,f);c.fileOperation&&d.setOperation(vOb(c.fileOperation));return X(b,xOb,1,d).setContent(a.content)},zOb=function(a){a=a.getReadonlyResponse();return{outputs:lk(a,tu,1,Uj()).map(function(b){return b.getContent()}),outputBlocked:Ak(a,2)}},AOb=function(a){a=encodeURIComponent(a).replace(/%([0-9A-F]{2})/g,function(b,c){return String.fromCharCode(Number("0x"+c))});return btoa(a)},BOb=function(a){return a.filter(function(b){return b.indexOf("+")!==
0}).map(function(b){return b.substring(1)})},COb=function(a){return a.filter(function(b){return b.indexOf("-")!==0}).map(function(b){return b.substring(1)})},DOb=function(a,b,c){return BOb(c).every(function(d,e){return d.trim()===a[b+e].trim()})},EOb=function(a,b,c){for(var d=[],e=BOb(b).length,f=a.length-e;c<=f;c++)DOb(a,c,b)&&d.push(c);if(d.length===0)throw Error("qg");a=d[0];return{startRange:a,endRange:a+e}},FOb=function(a,b){if(b.length===0)return"";a=a.split("\n");var c=b.split(/\r?\n?@@\r?\n/).filter(function(l){return l.length>
0});b=[];var d=0,e=0,f=0;c=k(c);for(e=c.next();!e.done;e=c.next()){var h=e.value;d=EOb(a,h.split("\n"),d);e=d.startRange;d=f=d.endRange;h=COb(h.split("\n"));b.push([e,f,h])}d=e=c=0;b=k(b);for(e=b.next();!e.done;e=b.next())e=k(e.value),f=e.next().value,c=e.next().value,e=e.next().value,f+=d,c+=d,a.splice.apply(a,[f,c-f].concat(t(e))),c-=f,e=e.length-c,d+=e;return a.join("\n")},GOb=function(a,b){a&1&&(I(0,"div",2),Q(1),J());a&2&&(a=b.$implicit,sg("remove",a.indexOf("-")==0)("add",a.indexOf("+")==0),
B(),R(" ",a[0]=="-"||a[0]=="+"?a.substr(1):a," "))},HOb=function(a){if(a&1){var b=v();I(0,"div",1);Q(1);J();I(2,"button",2);M("click",function(){w(b);var c=P();return x(c.restart())});Q(3," Restart ");J()}a&2&&(a=P(),B(),R(" ",a.error," "))},IOb=function(a,b){a&1&&K(0,"change-block",4);a&2&&E("lines",b.$implicit.lines)},LOb=function(a){if(a&1){var b=v();I(0,"div",3);Q(1," Suggested code change: ");J();yg(2,IOb,1,1,"change-block",4,xg);I(4,"div",3);Q(5," Suggested changelist description: ");J();K(6,
"change-block",5);I(7,"button",6);M("click",function(){w(b);var c=P();return x(JOb(c,c.outputData))});Q(8," Patch Changelist into new workspace ");J()}a&2&&(a=P(),B(2),zg(a.outputData.diffBlocks),B(4),E("lines",eh(1,KOb,a.outputData.description)))},MOb=function(a){a&1&&(I(0,"div",0),K(1,"img",7),I(2,"i"),Q(3,"Analyzing issue using LLM"),J()())},NOb=function(a){if(a&1){var b=v();I(0,"b-bug2code-file-path-input",8);M("chosenFilePath",function(c){w(b);var d=P();return x(d.updateFilePath(c))});J()}},
OOb=function(a){return a&&a.toString!==Object.prototype.toString?a.toString():a!=null&&a.message?a.message:"Unknown Error"},POb=function(a){a&1&&K(0,"mat-icon",3)},QOb=function(a){a&1&&K(0,"img",4);a&2&&(a=P().$implicit,E("src",a.iconUrl,vf))},ROb=function(a,b){a&1&&(I(0,"div",2),D(1,POb,1,0,"mat-icon",3)(2,QOb,1,1,"img",4),I(3,"a",5),Q(4),J()());a&2&&(a=b.$implicit,B(),G(a.isExternalDocument?1:2),B(2),E("href",a.url,vf),B(),R(" ",a.citationTitle," "))},SOb=function(a){a&1&&(I(0,"div",1),Q(1,"Sources"),
J(),yg(2,ROb,5,3,"div",2,xg));a&2&&(a=P(),B(2),zg(a))},TOb=function(a,b){a&1&&D(0,SOb,4,0);a&2&&G(b.length>0?0:-1)},UOb=function(a,b){a&1&&(K(0,"b-markdown-format-presenter",0),D(1,TOb,1,1),S(2,"async"));if(a&2){var c;a=P();E("content",b);B();G((c=U(2,2,a.citations$))?1:-1,c)}},WOb=function(a){a&1&&(I(0,"p",4),Q(1),J(),Cg(2,5));if(a&2){a=P();var b=P(),c=L(3);B();Yg(b.sectionTitle);B();E("ngTemplateOutletContext",eh(3,VOb,a))("ngTemplateOutlet",c)}},XOb=function(a,b){a&1&&D(0,WOb,3,5);a&2&&G(b.length>
0?0:-1)},YOb=function(a){a&1&&K(0,"b-issue-card",11,2);if(a&2){a=L(1);var b=P(3).$implicit;E("onedevIsHovercardReady",a.init)("issueId",b.issue.issueId)}},ZOb=function(a){a&1&&K(0,"b-changelist-card",16,2);if(a&2){a=L(1);var b=P(2).$implicit,c=P(5);E("onedevIsHovercardReady",a.init)("changelistId",c.Number(b))}},$Ob=function(a){if(a&1){var b=v();I(0,"div",12);K(1,"mat-icon",13);I(2,"a",14);M("onedevHovercardShown",function(){w(b);var h=P(6);return x(h.trackHover(h.changelistAnalyticsLabel))})("click",
function(){w(b);var h=P(6);return x(h.trackClick(h.changelistAnalyticsLabel))});Q(3);J();I(4,"onedev-hovercard",null,3);D(6,ZOb,2,2,"b-changelist-card",15);J()()}if(a&2){a=L(5);var c=P(),d=c.$implicit;c=c.$index;var e=P(3).$implicit,f=P(2);B(2);Kg("href","https://critique.corp.google.com/cl/",d,"",vf);E("onedevHovercardTrigger",a)("onedevHovercardConfig",f.hovercardConfig);B();R(" ",e.changelists[c].firstInterestingLine," ")}},aPb=function(a,b){a&1&&D(0,$Ob,7,5,"div",12);a&2&&(a=b.$index,b=P(3).$implicit,
G(b.changelists[a].isInteresting?0:-1))},bPb=function(a){if(a&1){var b=v();I(0,"div",6)(1,"div",7);K(2,"img",8);I(3,"a",9);M("onedevHovercardShown",function(){w(b);var f=P(4);return x(f.trackHover(f.issueAnalyticsLabel))})("click",function(){w(b);var f=P(4);return x(f.trackClick(f.issueAnalyticsLabel))});Q(4);J();I(5,"onedev-hovercard",null,1);D(7,YOb,2,2,"b-issue-card",10);J()();yg(8,aPb,1,1,null,null,wg);J()}if(a&2){a=L(6);var c=P(),d=P().$implicit,e=P(2);B(2);E("src",e.BUGANIZER_LOGO_URL,vf);B();
Kg("href","/issues/",d.issue.issueId,"",vf);E("onedevHovercardTrigger",a)("onedevHovercardConfig",e.hovercardConfig);B();R(" ",c.title," ");B(4);zg(d.issue.snapshot[0].changelist.slice(0,3))}},cPb=function(a){a&1&&D(0,bPb,10,6,"div",6);a&2&&(a=P().$implicit,G(a.changelists&&a.changelists.length>0?0:-1))},dPb=function(a,b){a&1&&D(0,cPb,1,1);if(a&2){var c;a=b.$implicit;G((c=a.issue.snapshot&&a.issue.snapshot[0])?0:-1,c)}},fPb=function(a,b){a&1&&yg(0,dPb,1,1,null,null,ePb);a&2&&zg(b.issuesAndChangelists)},
hPb=function(a){a&1&&(I(0,"p",4),Q(1),J(),Cg(2,5));if(a&2){a=P();var b=P(),c=L(3);B();Yg(b.sectionTitle);B();E("ngTemplateOutletContext",eh(3,gPb,a))("ngTemplateOutlet",c)}},iPb=function(a,b){a&1&&D(0,hPb,3,5);a&2&&G(b.length>0?0:-1)},jPb=function(a){a&1&&K(0,"b-issue-card",11,2);if(a&2){a=L(1);var b=P(3).$implicit;E("onedevIsHovercardReady",a.init)("issueId",b.issue.issueId)}},kPb=function(a){a&1&&K(0,"b-changelist-card",16,2);if(a&2){a=L(1);var b=P(2).$implicit,c=P(5);E("onedevIsHovercardReady",
a.init)("changelistId",c.Number(b))}},lPb=function(a){if(a&1){var b=v();I(0,"div",12);K(1,"mat-icon",13);I(2,"a",14);M("onedevHovercardShown",function(){w(b);var h=P(6);return x(h.trackHover(h.changelistAnalyticsLabel))})("click",function(){w(b);var h=P(6);return x(h.trackClick(h.changelistAnalyticsLabel))});Q(3);J();I(4,"onedev-hovercard",null,3);D(6,kPb,2,2,"b-changelist-card",15);J()()}if(a&2){a=L(5);var c=P(),d=c.$implicit;c=c.$index;var e=P(3).$implicit,f=P(2);B(2);Kg("href","https://critique.corp.google.com/cl/",
d,"",vf);E("onedevHovercardTrigger",a)("onedevHovercardConfig",f.hovercardConfig);B();R(" ",e.changelists[c].firstInterestingLine," ")}},mPb=function(a,b){a&1&&D(0,lPb,7,5,"div",12);a&2&&(a=b.$index,b=P(3).$implicit,G(b.changelists[a].isInteresting?0:-1))},nPb=function(a){if(a&1){var b=v();I(0,"div",6)(1,"div",7);K(2,"img",8);I(3,"a",9);M("onedevHovercardShown",function(){w(b);var f=P(4);return x(f.trackHover(f.issueAnalyticsLabel))})("click",function(){w(b);var f=P(4);return x(f.trackClick(f.issueAnalyticsLabel))});
Q(4);J();I(5,"onedev-hovercard",null,1);D(7,jPb,2,2,"b-issue-card",10);J()();yg(8,mPb,1,1,null,null,wg);J()}if(a&2){a=L(6);var c=P(),d=P().$implicit,e=P(2);B(2);E("src",e.BUGANIZER_LOGO_URL,vf);B();Kg("href","/issues/",d.issue.issueId,"",vf);E("onedevHovercardTrigger",a)("onedevHovercardConfig",e.hovercardConfig);B();R(" ",c.title," ");B(4);zg(d.issue.snapshot[0].changelist.slice(0,3))}},oPb=function(a){a&1&&D(0,nPb,10,6,"div",6);a&2&&(a=P().$implicit,G(a.changelists&&a.changelists.length>0?0:-1))},
pPb=function(a,b){a&1&&D(0,oPb,1,1);if(a&2){var c;a=b.$implicit;G((c=a.issue.snapshot&&a.issue.snapshot[0])?0:-1,c)}},rPb=function(a,b){a&1&&yg(0,pPb,1,1,null,null,qPb);a&2&&zg(b.issuesAndChangelists)},sPb=function(a){a&1&&K(0,"mat-icon",8)},tPb=function(a){a&1&&K(0,"mat-icon",9)},uPb=function(a){if(a&1){var b=v();I(0,"b-callout",17)(1,"b-callout-body");Q(2," Feature only visible for some components. Join group to see it on all issues with stack traces. ");J();I(3,"b-callout-actions")(4,"button",
18);M("click",function(){w(b);P(3).hasDismissedBanner=!0;yl("isHMFAllComponentsOptInBannerDismissed")(!0);return x()});Q(5,"Dismiss");J();I(6,"button",19);M("click",function(){w(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");J()()()}},vPb=function(a){a&1&&D(0,uPb,8,0,"b-callout",17);a&2&&(a=P(2),G(a.isEnabledOnAllComponents||a.hasDismissedBanner?-1:0))},wPb=function(a){a&1&&(I(0,"span",15),K(1,"b-spinner"),
Q(2," Analyzing the issue"),J())},yPb=function(a){if(a&1){var b=v();I(0,"llm-response",20);M("dataReady",function(){w(b);var c=P(2);return x(xPb(c))});J()}},zPb=function(a,b){a&1&&K(0,"b-bug2code-sidebar",21);a&2&&E("issueId",b)},APb=function(a){a&1&&(D(0,zPb,1,1,"b-bug2code-sidebar",21),S(1,"async"));if(a&2){var b;a=P(2);G((b=U(1,1,a.issueId$))?0:-1,b)}},BPb=function(a){a&1&&(I(0,"div",16),S(1,"async"),K(2,"related-fixed-issues"),J());a&2&&(a=P(2),E("hidden",!U(1,1,a.isLlmDataReady$)))},CPb=function(a){a&
1&&(I(0,"div",16),S(1,"async"),K(2,"similar-fixed-issues"),J());a&2&&(a=P(2),E("hidden",!U(1,1,a.isLlmDataReady$)))},DPb=function(a){a&1&&(I(0,"div",29),Q(1," Want to provide more feedback? "),I(2,"a",32),Q(3,"Share your thoughts"),J()())},EPb=function(a){a&1&&(I(0,"div",33),Q(1," Enjoying this feature? Join "),I(2,"a",34),Q(3,"this group"),J(),Q(4," to see it on all issues with exception stack traces! "),J());a&2&&(a=P(4),B(2),E("href",a.allComponentsOptInLink,vf))},FPb=function(a){a&1&&D(0,EPb,
5,1,"div",33);a&2&&(a=P(3),G(!a.isEnabledOnAllComponents&&a.hasDismissedBanner?0:-1))},GPb=function(a){if(a&1){var b=v();I(0,"div",22)(1,"div",23)(2,"span");Q(3);J();I(4,"div",24)(5,"button",25);M("click",function(){w(b);var d=P(2),e=tp(d.helpMeFixService.currentConfig$),f=Number(tp(d.issueId$));d.votedThumbsUp=!0;d.analytics.trackEvent("helpMeFix","thumbsUpOnIssueIdJson",JSON.stringify({issueCategory:e==null?void 0:e.issueCategory,issueId:f}));return x()});K(6,"mat-icon",26);J();I(7,"button",27);
M("click",function(){w(b);var d=P(2),e=tp(d.helpMeFixService.currentConfig$),f=Number(tp(d.issueId$));d.votedThumbsDown=!0;d.analytics.trackEvent("helpMeFix","thumbsDownOnIssueIdJson",JSON.stringify({issueCategory:e==null?void 0:e.issueCategory,issueId:f}));return x()});K(8,"mat-icon",28);J()()();D(9,DPb,4,0,"div",29);J();I(10,"div",30)(11,"div");Q(12," AI may generate code in the response. Please review ");I(13,"a",31);Q(14," go/code-ai-policy ");J();Q(15," before using it. ");J();D(16,FPb,1,1);
J()}if(a&2){a=P();var c=P();B(3);R(" ",c.votedThumbsUp||c.votedThumbsDown?"Thanks for the feedback!":"Was this helpful?"," ");B(2);sg("voted",c.votedThumbsUp);E("disabled",c.votedThumbsUp||c.votedThumbsDown);B(2);sg("voted",c.votedThumbsDown);E("disabled",c.votedThumbsUp||c.votedThumbsDown);B(2);G(c.votedThumbsUp||c.votedThumbsDown?9:-1);B(7);G(a.issueCategory===c.IssueCategory.EXCEPTION?16:-1)}},HPb=function(a,b){a&1&&(I(0,"div",12),D(1,vPb,1,1),I(2,"div",14),D(3,wPb,3,0,"span",15),S(4,"async"),
D(5,yPb,1,0,"llm-response")(6,APb,2,3),S(7,"async"),J(),D(8,BPb,3,3,"div",16)(9,CPb,3,3,"div",16)(10,GPb,17,9),S(11,"async"),J());a&2&&(a=P(),B(),G(b.issueCategory===a.IssueCategory.EXCEPTION?1:-1),B(2),G(!U(4,7,a.isLlmDataReady$)&&b.displayedModules.includes(a.DisplayModule.LOADING_AND_FOOTER)?3:-1),B(2),G(b.displayedModules.includes(a.DisplayModule.LLM_RESPONSE)?5:-1),B(),G(b.displayedModules.includes(a.DisplayModule.BUG_2_CODE)&&U(7,9,a.isHelpMeFixSidebarOpen$)?6:-1),B(2),G(b.displayedModules.includes(a.DisplayModule.RELATED_FIXED_ISSUES)?
8:-1),B(),G(b.displayedModules.includes(a.DisplayModule.SIMILAR_FIXED_ISSUES)?9:-1),B(),G(U(11,11,a.isLlmDataReady$)&&b.displayedModules.includes(a.DisplayModule.LOADING_AND_FOOTER)?10:-1))},IPb=function(a){a&1&&(I(0,"div",13),Q(1,"View an issue details to gain AI insights."),J())},JPb=function(a){a&1&&(I(0,"div",1),K(1,"mat-icon",3),I(2,"span",4),Q(3),J()());a&2&&(a=P(),B(3),R("",a.length," parent issues"))},KPb=function(a){a&1&&(I(0,"div",1),K(1,"mat-icon",5),I(2,"span",4),Q(3),J()());a&2&&(a=P(),
B(3),R("Blocked by ",a.length," issues"))},LPb=function(a,b){a&1&&(I(0,"span"),Q(1),J());a&2&&(a=P(4),vg("chippy status-",b," margin-s-left"),B(),R(" ",a.STATUS_JS_TERSE.get(b)," "))},MPb=function(a){a&1&&(I(0,"a",6)(1,"div",7)(2,"div",8)(3,"div",9),Q(4),J(),I(5,"div",10),Q(6),J()(),I(7,"div",8)(8,"div",11),Q(9),J(),D(10,LPb,2,4,"span",12),J()()());if(a&2){var b,c=P();a=c.$implicit;var d=c.$index;c=c.$count;var e=P(2);Kg("routerLink","/issues/",a.issueId,"");B();sg("border-bottom",d!==c-1);B(3);Yg(a.issueId);
B(2);Yg(a.snapshot[0].title);B(2);E("ngClass",e.priorityClass(a.snapshot[0].priority));B();Yg(a.snapshot[0].priority);B();G((b=a.snapshot[0].status)?10:-1,b)}},NPb=function(a,b){a&1&&D(0,MPb,11,9,"a",6);a&2&&G(b.$index<5?0:-1)},PPb=function(a){if(a&1){var b=v();I(0,"div",2)(1,"button",13);M("click",function(){w(b);var c=P(2);return x(OPb(c))});Q(2,"View all parent issues");J()()}},QPb=function(a){if(a&1){var b=v();I(0,"div",2)(1,"button",13);M("click",function(){w(b);var c=P(2),d;(d=c.hovercardInstance)==
null||d.closeHovercard$.next();Jt(c.router,"/issues/"+c.currentIssueId+"/dependencies");return x()});Q(2,"View all blockers");J()()}},SPb=function(a,b){a&1&&(I(0,"div",0),D(1,JPb,4,1,"div",1)(2,KPb,4,1,"div",1),I(3,"div"),yg(4,NPb,1,1,null,null,RPb),D(6,PPb,3,0,"div",2)(7,QPb,3,0,"div",2),J()());a&2&&(a=P(),B(),G(a.mode===a.ListIssuesHovercardMode.PARENT_ISSUES?1:-1),B(),G(a.mode===a.ListIssuesHovercardMode.BLOCKED_BY_ISSUES?2:-1),B(2),zg(b),B(2),G(b.length>5&&a.mode===a.ListIssuesHovercardMode.PARENT_ISSUES?
6:-1),B(),G(b.length>5&&a.mode===a.ListIssuesHovercardMode.BLOCKED_BY_ISSUES?7:-1))},TPb=function(a){a&1&&K(0,"mat-icon",4)},UPb=function(a){a&1&&(Ag(0),K(1,"b-list-issues-card",6,1),Bg());if(a&2){a=L(2);P();var b=L(4),c=P();B();E("onedevIsHovercardReady",a.init)("hovercardInstance",b)("currentIssueId",c.issueId)("issueIds",c.multiParentIssueIds)("mode",c.ListIssuesHovercardMode.PARENT_ISSUES)}},VPb=function(a){a&1&&(I(0,"a",3),Q(1),J(),D(2,TPb,1,0,"mat-icon",4),I(3,"onedev-hovercard",null,0),D(5,
UPb,3,5,"ng-container",5),J());if(a&2){a=L(4);var b=P();Kg("title","",b.multiParentIssueIds.length," parents at this position");E("onedevHovercardTrigger",a);B();R("",b.multiParentIssueIds.length," Parents\u2026");B();G(b.multiParentIssueIds.length>1?2:-1)}},WPb=function(a,b){a&1&&(I(0,"b-issue-reference-widget",7),Q(1),J(),K(2,"mat-icon",4));if(a&2){var c=b.$implicit;a=b.$index;b=b.$count;var d=P();E("href",d.getIssueLink(c))("issueId",c);B();d.issueIdToTitle.has(c)?(c=d.issueIdToTitle.get(c),c=
$Ia(c)):c=String(c);Yg(c);B();sg("last",a===b-1)}},YPb=function(a,b){if(a&1){var c=v();I(0,"button",1);S(1,"async");M("click",function(){w(c);var d=P();return x(XPb(d))});Q(2);J()}a&2&&(a=P(),E("disabled",a.disabled||a.issueFullFridge.isSaving(a.internalIssueId)||U(1,3,a.canEdit$)===!1)("title",b.isDupe?a.TOOLTIP_UNMARK_DUPE:a.TOOLTIP_MARK_DUPE),B(2),R(" ",b.isDupe?"Unmark Duplicate":"Mark as Duplicate"," "))},ZPb=function(a){a&1&&Cg(0)},$Pb=function(a){a&1&&D(0,ZPb,1,0,"ng-container",4);a&2&&(a=
P(),E("ngTemplateOutlet",a.content))},aQb=function(a,b){if(a&1){var c=v();I(0,"button",13);M("click",function(e){var f=w(c).$implicit;return x(f.action(e))});K(1,"mat-icon",14);Q(2);J()}if(a&2){var d;a=b.$implicit;E("disabled",a.disabled)("title",a.title);jg("aria-label",a.title);B();E("svgIcon",(d=a.icon)!==null&&d!==void 0?d:"");B();R(" ",a.label," ")}},bQb=function(a){if(a&1){var b=v();I(0,"button",15);M("click",function(d){w(b);var e=P(2);d.stopPropagation();d.preventDefault();var f;(f=e.helpHover)==
null||f.toggle();return x()});K(1,"mat-icon",16);Q(2," Retention: ");K(3,"retention-text",17);Q(4," \u00a0 ");K(5,"help-hover",18);J()}if(a&2){a=P();var c=L(14);B(3);E("retentionState",a.retentionState);B(2);E("content",c)}},cQb=function(a){a&1&&K(0,"retention-help-text",19);a&2&&(a=P(2),E("retentionState",a.retentionState)("modifiedTime",a.modifiedTimeMilliseconds))},dQb=function(a){a&1&&D(0,cQb,1,2,"retention-help-text",19);a&2&&(a=P(),G(a.retentionState&&a.modifiedTimeMilliseconds?0:-1))},eQb=
function(a,b){if(a&1){var c=v();K(0,"b-app-vote-button",3)(1,"hotlist-picker-btn",4);I(2,"smart-dupe-btn",5,0);M("onHotkey",function(){w(c);var e=L(3);return x(XPb(e))});J();I(4,"b-notification-menu",6);M("subscriptionChange",function(e){w(c);var f=P();return x(f.updateSubscription(e))})("showNotificationSettings",function(e){w(c);var f=P();return x(f.showNotificationSettings(e))});J();K(5,"insights-graph-menu-smart",7);I(6,"button",8);K(7,"mat-icon",9);J();I(8,"mat-menu",10,1);yg(10,aQb,3,5,"button",
11,xg);D(12,bQb,6,2,"button",12);J();D(13,dQb,1,1,"ng-template",null,2,ih)}if(a&2){a=L(9);var d=P();E("issueId",b.issueId)("voteCount",b.voteCount)("upvoted",b.voted);B();E("issueId",b.issueId);B();E("issueId",b.issueId)("hotkey",d.HOTKEYS.TOGGLE_MARK_AS_DUPLICATE);B(2);E("subscription",b.notificationSubscription)("issueId",b.issueId)("iconOnly",!0);B();E("iconOnly",!0);B();E("matMenuTriggerFor",a);B(4);zg(b.menuItems);B(2);G(d.retentionEnabled?12:-1)}},fQb=function(){},gQb=function(a){a&1&&(I(0,
"output"),Q(1),S(2,"async"),J());if(a&2){a=P();var b=P();B();Zg(" ",a," of ",U(2,2,b.currentSearchResults.totalText$)," ")}},kQb=function(a,b){if(a&1){var c=v();D(0,gQb,3,4,"output");I(1,"span",0)(2,"button",1);S(3,"async");M("onHotkey",function(){w(c);var d=P();return x(hQb(d.currentSearchResults))})("click",function(){w(c);var d=P();return x(hQb(d.currentSearchResults))});K(4,"mat-icon",2);J();I(5,"button",3);S(6,"async");M("onHotkey",function(){w(c);var d=P();return x(iQb(d.currentSearchResults))})("click",
function(){w(c);var d=P();return x(iQb(d.currentSearchResults))});K(7,"mat-icon",4);J()()}a&2&&(a=P(),G(b!==-1?0:-1),B(),E("ngClass",eh(10,jQb,b===-1)),B(),E("hotkey",a.HOTKEYS.GO_TO_PREVIOUS_ISSUE)("disabled",!U(3,6,a.currentSearchResults.hasPreviousIssue$)),B(3),E("hotkey",a.HOTKEYS.GO_TO_NEXT_ISSUE)("disabled",!U(6,8,a.currentSearchResults.hasNextIssue$)))},lQb=function(a){a&1&&K(0,"b-issue-visibility-chip",1);a&2&&(a=P(2),E("issueId",a.issueId))},mQb=function(a){a&1&&K(0,"b-access-limits-chip",
2);a&2&&(a=P(2),E("issueId",a.issueId)("componentId",a.componentId)("accessLimitLevel",a.issueAccessLimitLevel))},nQb=function(a){a&1&&K(0,"b-retention-chip",3);a&2&&(a=P(2),E("retentionState",a.retentionState)("compactMode",!1)("modifiedTime",a.modifiedTime))},oQb=function(a){a&1&&(I(0,"div",0),D(1,lQb,1,1,"b-issue-visibility-chip",1)(2,mQb,1,3,"b-access-limits-chip",2)(3,nQb,1,3,"b-retention-chip",3),J());a&2&&(a=P(),B(),G(a.hasAccessIndicator?1:-1),B(),G(a.isAccessLimited?2:-1),B(),G(a.isShowingRetention?
3:-1))},pQb=function(a,b){a&1&&D(0,oQb,4,3,"div",0);a&2&&G(b.isShowingPublicPartner||b.isShowingRetention||b.isAccessLimited?0:-1)},qQb=function(a){a&1&&(I(0,"div",2),K(1,"mat-icon",4),Q(2),S(3,"async"),J());if(a&2){a=P();var b=L(4);E("onedevHovercardTrigger",b);B(2);R("",U(3,2,a.teamName$)," ")}},rQb=function(a){a&1&&Cg(0)},sQb=function(a){a&1&&D(0,rQb,1,0,"ng-container",20);a&2&&(P(),a=L(13),E("ngTemplateOutlet",a))},tQb=function(a){a&1&&(K(0,"b-component-breadcrumb-chip",22),S(1,"async"),I(2,"div",
23),K(3,"b-issue-id-picker",24),S(4,"async"),S(5,"async"),S(6,"async"),J());a&2&&(a=P(2),E("componentId",U(1,6,a.componentId$))("issueId",a.issueId),B(3),E("issueId",a.issueId)("componentId",U(4,8,a.componentId$))("issueTitle",U(5,10,a.issueTitle$))("isExternalIssue",!!U(6,12,a.isWithinExternalComponent$)))},uQb=function(a){if(a&1){var b=v();I(0,"b-team-chip",21);S(1,"async");S(2,"async");M("onTeamLoaded",function(){w(b);var c=P();return x(c.isTeamLoaded=!0)});J();D(3,tQb,7,14)}a&2&&(a=P(),E("componentId",
U(1,3,a.componentId$))("teamId",U(2,5,a.teamId$)),B(3),G(a.isTeamLoaded?3:-1))},vQb=function(a,b){a&1&&K(0,"ancestors-breadcrumbs",27);a&2&&(a=P(3),E("ancestors",b)("issueId",a.issueId))},wQb=function(a){a&1&&(K(0,"b-component-breadcrumb-chip",25),S(1,"async"),I(2,"div",26),D(3,vQb,1,2,"ancestors-breadcrumbs",27),S(4,"async"),K(5,"b-issue-id-picker",28),S(6,"async"),S(7,"async"),S(8,"async"),J());if(a&2){var b;a=P(2);E("componentId",U(1,8,a.componentId$))("compactMode",!0)("issueId",a.issueId);B(3);
G((b=U(4,10,a.ancestors$))?3:-1,b);B(2);E("issueId",a.issueId)("componentId",U(6,12,a.componentId$))("issueTitle",U(7,14,a.issueTitle$))("isExternalIssue",!!U(8,16,a.isWithinExternalComponent$))}},xQb=function(a){if(a&1){var b=v();I(0,"b-team-chip",21);S(1,"async");S(2,"async");M("onTeamLoaded",function(){w(b);var c=P();return x(c.isTeamLoaded=!0)});J();D(3,wQb,9,18)}a&2&&(a=P(),E("componentId",U(1,3,a.componentId$))("teamId",U(2,5,a.teamId$)),B(3),G(a.isTeamLoaded?3:-1))},yQb=function(a,b){a&1&&
(I(0,"div",17),K(1,"mat-icon",29),Q(2),J());a&2&&(P(),a=L(36),E("onedevHovercardTrigger",a),B(2),R(" ",b," "))},zQb=function(a){a&1&&(Ag(0),K(1,"b-list-issues-card",30,2),S(3,"async"),Bg());if(a&2){a=L(2);var b=P(),c=L(36);B();E("onedevIsHovercardReady",a.init)("hovercardInstance",c)("currentIssueId",b.issueId)("issueIds",U(3,5,b.blockedByids$))("mode",b.ListIssuesHovercardMode.BLOCKED_BY_ISSUES)}},AQb=function(a){if(a.length!==0)return a.length===1?Qq.viewIssue.makeHref(a[0]):Qq.listIssues.makeHref()},
BQb=function(a,b){a&1&&(I(0,"div",0),K(1,"img",1),I(2,"h3"),Q(3),J(),I(4,"a",2),S(5,"async"),Q(6),J()());a&2&&(a=P(),B(),E("src",b.branding==null?null:b.branding.logoUrl,vf),B(2),R("This issue is a part of the ",b.name," tracker."),B(),E("href",U(5,4,a.trackerRedirectUrl$),vf),B(2),R(" View in ",b.name," Tracker "))},CQb=function(a){a&1&&(I(0,"div")(1,"ol")(2,"li")(3,"label"),Q(4,"Issue ID"),J(),I(5,"output"),Q(6),J()(),I(7,"li")(8,"label"),Q(9,"Type"),J(),I(10,"output"),Q(11),J()(),I(12,"li")(13,
"label"),Q(14,"Status"),J(),I(15,"output"),Q(16),J()()()());a&2&&(a=P(2),B(6),Yg(a.issueId),B(5),Yg(a.issueType),B(5),Yg(a.issueStatus))},DQb=function(a){a&1&&(I(0,"div",0)(1,"div",1),K(2,"img",2),S(3,"async"),K(4,"mat-icon",3)(5,"img",2),S(6,"async"),J(),I(7,"h3",4),Q(8),S(9,"async"),J(),D(10,CQb,17,3,"div"),I(11,"div",5)(12,"a",6),S(13,"async"),Q(14,"Continue"),J()()());a&2&&(a=P(),B(2),E("src",U(3,5,a.currentTrackerLogo$),vf),B(3),E("src",U(6,7,a.trackerLogo$),vf),B(3),R(" Redirecting to ",U(9,
9,a.trackerName$)," "),B(2),G(a.issue!=null?10:-1),B(2),E("href",U(13,11,a.trackerRedirectUrl$),vf))},EQb=function(a,b){if(a instanceof Element){var c=fk(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)}}},FQb=function(a,b){a&1&&(I(0,"h2",6),Q(1),J());a&2&&(B(),R("Issue ",b,""))},GQb=function(a){a&1&&Cg(0,7);a&2&&(P(2),a=L(5),E("ngTemplateOutlet",
a))},HQb=function(a){a&1&&Cg(0,7);a&2&&(P(3),a=L(11),E("ngTemplateOutlet",a))},JQb=function(a){a&1&&Cg(0,8);if(a&2){a=P(2);P(2);var b=L(9);E("ngTemplateOutlet",b)("ngTemplateOutletContext",eh(2,IQb,a.monorailRedirectUrl))}},KQb=function(a){a&1&&D(0,JQb,1,4,"ng-container",8);a&2&&(a=P(),G(a.monorailRedirectUrl?0:-1))},LQb=function(a,b){a&1&&D(0,HQb,1,1,"ng-container",7)(1,KQb,1,1);if(a&2){var c;G((c=b.status)===403?0:c===404?1:-1)}},MQb=function(a,b){a&1&&(D(0,GQb,1,1,"ng-container",7)(1,LQb,2,1),
S(2,"async"));if(a&2){var c;a=P();G(b.success?0:-1);B();G((c=U(2,2,a.mainIssueLoadError$))?1:-1,c)}},NQb=function(a){a&1&&Cg(0)},OQb=function(a){a&1&&K(0,"help-me-fix-sidebar")},PQb=function(a){a&1&&(I(0,"mat-sidenav-container",9)(1,"mat-sidenav-content"),D(2,NQb,1,0,"ng-container",10),J(),I(3,"mat-sidenav",11),S(4,"async"),D(5,OQb,1,0,"help-me-fix-sidebar"),S(6,"async"),J()());if(a&2){a=P(2);var b=L(7);B(2);E("ngTemplateOutlet",b);B();E("autoFocus",!0)("opened",U(4,5,a.isHelpMeFixSidebarOpen$))("disableClose",
!0);B(2);G(U(6,7,a.isHelpMeFixSidebarOpen$)?5:-1)}},QQb=function(a){a&1&&Cg(0)},RQb=function(a){a&1&&D(0,QQb,1,0,"ng-container",10);a&2&&(P(2),a=L(7),E("ngTemplateOutlet",a))},SQb=function(a){a&1&&(D(0,PQb,7,9,"mat-sidenav-container",9),S(1,"async"),D(2,RQb,1,1,"ng-container"));a&2&&(a=P(),G(U(1,1,a.enableHelpMeFixSidebar$)?0:2))},TQb=function(a){a&1&&(I(0,"a",22),Q(1,"Learn more"),J())},UQb=function(a){if(a&1){var b=v();I(0,"button",24);M("click",function(){var c=w(b),d=P(4);return x(d.editIssueService.unarchive(c))});
Q(1," Unarchive ");J()}},VQb=function(a){a&1&&(I(0,"b-callout",15)(1,"b-callout-body"),Q(2,"This issue has been archived. "),D(3,TQb,2,0,"a",22),J(),I(4,"b-callout-actions"),D(5,UQb,2,0,"button",23),S(6,"async"),J()());if(a&2){var b;a=P(3);E("messageType","caution")("format","app")("iconOverride","archive_24px");B(3);G(a.activeSession.isInternalSession()?3:-1);B(2);G((b=U(6,5,a.id$))?5:-1,b)}},WQb=function(a){a&1&&(I(0,"a",25),Q(1,"Learn more"),J())},XQb=function(a){a&1&&(I(0,"b-callout",16)(1,"b-callout-body"),
Q(2," This issue is in an archived component. "),D(3,WQb,2,0,"a",25),J()());a&2&&(a=P(3),E("format","app")("iconOverride","archive_24px"),B(3),G(a.activeSession.isInternalSession()?3:-1))},YQb=function(a,b){a&1&&(Q(0," Reason: "),I(1,"code"),Q(2),J(),Q(3,". "));a&2&&(B(2),Yg(b))},ZQb=function(a){a&1&&(I(0,"a",26),Q(1,"Learn more"),J())},aRb=function(a){if(a&1){var b=v();I(0,"button",28);S(1,"async");S(2,"async");M("click",function(){var d=w(b),e=P(4);return x($Qb(e.editIssueService,d))});Q(3," Undelete ");
J()}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$))}},bRb=function(a){a&1&&(I(0,"b-callout",17)(1,"b-callout-body"),Q(2," This issue has been deleted. "),D(3,YQb,4,1),S(4,"async"),D(5,ZQb,2,0,"a",26),J(),I(6,"b-callout-actions"),D(7,aRb,4,6,"button",27),S(8,"async"),J()());if(a&2){var b,c;a=P(3);B(3);G((b=(b=U(4,3,a.snapshot$))==null?null:b.deletionReason)?3:-1,b);B(2);G(a.activeSession.isInternalSession()?
5:-1);B(2);G((c=U(8,5,a.id$))?7:-1,c)}},cRb=function(a,b){a&1&&(I(0,"output",32),Q(1),J());a&2&&(B(),R(" ",b," "))},eRb=function(a,b){a&1&&(I(0,"a",31,5),Q(2),D(3,cRb,2,1,"output",32),S(4,"async"),J());if(a&2){var c;a=b.$implicit;b=L(1);E("routerLink",a.link)("active",b.isActive)("routerLinkActiveOptions",dh(7,dRb));B(2);R(" ",a.title," ");B();G((c=U(4,5,a.count$))?3:-1,c)}},fRb=function(a,b){a&1&&(I(0,"header",18),K(1,"b-tracker-banner",29),S(2,"async"),S(3,"async"),K(4,"issue-header",21),I(5,"nav",
30),yg(6,eRb,5,8,"a",31,xg),J(),K(8,"mat-tab-nav-panel",null,4),J());if(a&2){a=L(9);var c=P(3);B();E("issueId",U(2,4,c.id$))("trackerId",U(3,6,c.issueTrackerId$));B(3);E("issueId",b);B();E("tabPanel",a);B();zg(c.tabs)}},gRb=function(a,b){a&1&&K(0,"issue-metadata-sidebar",21);a&2&&E("issueId",b)},hRb=function(a){a&1&&(I(0,"div",14),S(1,"async"),D(2,VQb,7,7,"b-callout",15),S(3,"async"),D(4,XQb,4,3,"b-callout",16),S(5,"async"),D(6,bRb,9,7,"b-callout",17),S(7,"async"),D(8,fRb,10,8,"header",18),S(9,"async"),
I(10,"div",19)(11,"article",20),K(12,"router-outlet"),J(),D(13,gRb,1,1,"issue-metadata-sidebar",21),S(14,"async"),J()());if(a&2){var b,c;a=P(2);sg("issue-editor-false",!U(1,7,a.permissions.hasAclToEdit$));B(2);G(U(3,9,a.archived$)?2:-1);B(2);G(U(5,11,a.inArchivedComponent$)?4:-1);B(2);G(U(7,13,a.deleted$)?6:-1);B(2);G((b=U(9,15,a.id$))?8:-1,b);B(5);G((c=U(14,17,a.id$))?13:-1,c)}},iRb=function(a){a&1&&(I(0,"div",13),K(1,"b-tracker-redirect",33),S(2,"async"),J());a&2&&(a=P(2),B(),E("issue",U(2,1,a.issue$)))},
jRb=function(a){a&1&&(D(0,hRb,15,19,"div",12),S(1,"async"),D(2,iRb,3,3,"div",13));a&2&&(a=P(),G(U(1,1,a.showTrackerRedirect$)?2:0))},kRb=function(a,b){a&1&&(I(0,"h3"),Q(1," Redirecting to "),I(2,"a",34),Q(3),J()());a&2&&(a=b.monorailRedirectUrl,B(2),E("href",a,vf),B(),R(" ",a," "))},lRb=function(a){a&1&&(K(0,"b-access-denied-metadata",35),S(1,"async"));a&2&&(a=P(2),E("issueMetadata",U(1,1,a.issueMetadata$)))},mRb=function(a){a&1&&K(0,"b-access-denied-metadata",36)},nRb=function(a){a&1&&(I(0,"div",
13),D(1,lRb,2,3,"b-access-denied-metadata",35)(2,mRb,1,0,"b-access-denied-metadata",36),J());a&2&&(a=P(),B(),G(a.activeSession.isInternalSession()?1:2))},oRb=function(a,b){a&1&&K(0,"b-issues-table",0);a&2&&(a=P(),E("issueIds",b)("menuItemFactory",a.getMenuItems)("tableColumns",a.tableColumns)("initialSort",a.initialSort))},qRb=function(a){if(a&1){var b=v();I(0,"div",2);K(1,"img",3);I(2,"p",4);Q(3," This issue has no duplicates ");J();I(4,"p",5);Q(5," A duplicate is an issue with similar content. ");
J();I(6,"p",5);Q(7,' Any issue added here will be closed as a duplicate of this one, making this the "canonical issue". ');I(8,"a",6);Q(9,"Learn more");J()();I(10,"button",7);M("click",function(){w(b);var c=P(2);return x(pRb(c))});Q(11," Add ");J()()}a&2&&(a=P(2),B(),E("src",a.ROBOT_SLEEPING,vf))},rRb=function(a,b){a&1&&K(0,"b-duplicates-table",10);a&2&&(a=P(2),E("issueId",b)("duplicateIds",a))},sRb=function(a,b){a&1&&(I(0,"a",12),Q(1," View as search results "),J());a&2&&E("routerLink",b.path)("queryParams",
b.params)},tRb=function(a){if(a&1){var b=v();I(0,"h4",8);Q(1);S(2,"async");I(3,"button",9);M("click",function(){w(b);var e=P(2);return x(pRb(e))});Q(4," Add ");J()();D(5,rRb,1,2,"b-duplicates-table",10);S(6,"async");I(7,"aside",11);D(8,sRb,2,2,"a",12);S(9,"async");J()}if(a&2){var c,d;a=P(2);B();R("Duplicates ",U(2,3,a.counts.countDuplicateDisplay$)," ");B(4);G((c=U(6,5,a.id$))?5:-1,c);B(3);G((d=U(9,7,a.dupeUrl$))?8:-1,d)}},uRb=function(a){a&1&&(D(0,qRb,12,1,"div",2),S(1,"async"),D(2,tRb,10,9));a&
2&&(a=P(),G(U(1,1,a.showTable$)?2:0))},vRb=function(a){a&1&&(I(0,"aside",1),K(1,"b-spinner"),J())},wRb=function(a){a&1&&K(0,"mat-icon",2)},xRb=function(a){a&1&&K(0,"mat-icon",3)},yRb=function(a){a&1&&K(0,"mat-icon",4)},zRb=function(a){if(a&1){var b=v();I(0,"div",6)(1,"label");Q(2,"File path");J()();I(3,"div",6)(4,"input",7);M("keyup",function(c){w(b);var d=P(2).$implicit;P();d.type==="text-input"&&(d.value=c.target.value);return x()});J()();I(5,"div",6)(6,"button",8);M("click",function(){w(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 ");J()()}a&2&&(a=P(2).$implicit,B(4),E("disabled",a.state=="complete"),B(2),E("disabled",a.state=="complete"))},ARb=function(a,b){a&1&&K(0,"change-block",9);a&2&&E("lines",b.$implicit.lines)},BRb=function(a){a&1&&(Q(0),yg(1,ARb,1,1,"change-block",9,xg));if(a&2){a=P(2).$implicit;var b=P();R(" ",a.description," ");B();zg(b.blocks(a))}},CRb=function(a){if(a&1){var b=v();I(0,"div",10);Q(1);J();
I(2,"button",11);M("click",function(){w(b);var c=P(2).$implicit,d=P();return x(d.patch(c))});Q(3," Patch changelist into new workspace ");J()}a&2&&(a=P(2).$implicit,B(),R(" ",a.description," "),B(),E("disabled",a.state!=="in-progress"))},DRb=function(a){a&1&&Q(0);a&2&&(a=P(2).$implicit,R(" ",a.description," "))},ERb=function(a){a&1&&(I(0,"section"),D(1,zRb,8,2)(2,BRb,3,1)(3,CRb,4,2)(4,DRb,1,1),Q(5),J());if(a&2){var b;a=P().$implicit;tg(a.type);B();G((b=a.type)==="text-input"?1:b==="diff-preview"?
2:b==="changelist-create"?3:4);B(4);R(" ",a.error," ")}},FRb=function(a,b){a&1&&(I(0,"div",0)(1,"header")(2,"div",1),D(3,wRb,1,0,"mat-icon",2)(4,xRb,1,0,"mat-icon",3)(5,yRb,1,0,"mat-icon",4),J(),I(6,"span"),Q(7),J()(),D(8,ERb,6,4,"section",5),J());if(a&2){var c;a=b.$implicit;B(3);G((c=a.state)==="error"?3:c==="complete"?4:5);B(4);Yg(a.title);B();G(a.type!=="complete"?8:-1)}},GRb=function(a){if(a&1){var b=v();I(0,"div",2);K(1,"mat-icon",3);I(2,"div",4);Cg(3,5);I(4,"div",6)(5,"button",7);M("click",
function(){w(b);var c=P();return x(c.open())});Q(6," Suggest a fix for me ");J()()()()}a&2&&(P(),a=L(3),B(3),E("ngTemplateOutlet",a))},HRb=function(a){a&1&&(I(0,"div"),Q(1," AI-generated code changes may inaccurate or offensive information that doesn't represent Google's views. Please review all suggested changes. "),J())},IRb=function(a){a&1&&(I(0,"h4",8),Q(1," AI-generated code change "),I(2,"xap-bubble",9)(3,"xap-icon-trigger"),K(4,"mat-icon",10),J(),D(5,HRb,2,0,"ng-template",null,1,ih),J(),I(7,
"a",11),K(8,"mat-icon",12),J()());a&2&&(a=L(6),B(2),E("panelTemplate",a))},JRb=function(a,b){a&1&&(I(0,"span",9),Q(1," of "),I(2,"a",10),Q(3),J()());a&2&&(P(2),a=L(11),B(2),Kg("routerLink","/issues/",b,""),E("onedevHovercardTrigger",a),B(),R(" ",b," "))},KRb=function(a,b){a&1&&(I(0,"div")(1,"div",8),S(2,"async"),Q(3),J(),D(4,JRb,4,4,"span",9),S(5,"async"),J());if(a&2){var c,d,e;a=P();B();vg("chippy ",U(2,6,a.statusCssClass$),"");E("title",(c=a.STATUS_JS_FULL_TEXT.get(b))!==null&&c!==void 0?c:"");
B(2);R(" ",(d=a.STATUS_JS_TERSE.get(b))!==null&&d!==void 0?d:""," ");B();G((e=U(5,8,a.canonicalId$))?4:-1,e)}},LRb=function(a,b){a&1&&(I(0,"span"),Q(1),J());a&2&&(a=P(),vg("b-chip squared issue-type-",b,""),B(),R(" ",a.issueTypeToDisplay(b)," "))},MRb=function(a,b){a&1&&K(0,"b-issue-hotlists",6);a&2&&E("issueId",b)},NRb=function(a){a&1&&(K(0,"b-issue-card",11,1),S(2,"async"));if(a&2){a=L(1);var b=P();E("onedevIsHovercardReady",a.init)("issueId",U(2,2,b.canonicalId$))}},ORb=function(a){a&1&&(I(0,"div",
0),K(1,"llm-summary"),J())},PRb=function(a,b){a&1&&K(0,"b-issue-person-card",4);a&2&&E("email",b)},QRb=function(a,b){a&1&&(I(0,"span",3),Q(1),S(2,"shortenEmail"),J(),I(3,"onedev-hovercard",null,0),D(5,PRb,1,1,"b-issue-person-card",4),J());if(a&2){var c;a=L(4);var d=P(2);E("onedevHovercardTrigger",a);B();R(" ",hh(2,3,d.userToString(b),30)," ");B(4);G((c=b.emailAddress)?5:-1,c)}},RRb=function(a,b){if(a&1){var c=v();I(0,"a",5);M("click",function(d){var e=w(c),f=P(2);return x(f.scrollCommentIntoView(d,
e))});Q(1);J()}a&2&&(a=P(2),lg("aria-label","Comment number ",b,""),E("routerLinkObj",a.getCommentNumberLink(b)),B(),R(" #",b,""))},SRb=function(a){a&1&&(Ag(0),Q(1,","),Bg())},TRb=function(a,b){a&1&&(I(0,"span",1),D(1,QRb,6,6),I(2,"span"),D(3,RRb,2,4,"a",2)(4,SRb,2,0,"ng-container"),J()());if(a&2){var c,d;a=b.$implicit;var e=b.$index;b=b.$count;B();G((c=a.userPerformingActionUser)?1:-1,c);B(2);G((d=a.commentNumber)?3:-1,d);B();G(e!==b-1?4:-1)}},URb=function(a,b){a&1&&(I(0,"div",2)(1,"a",3),S(2,"removePngExtension"),
K(3,"b-secure-image-widget",4),J(),K(4,"comments-info",5),J());a&2&&(a=b.$implicit,b=P(3),B(),Lg("href",U(2,5,a.src),vf),B(2),E("showByDefault",!0)("src",a.srcCorp),B(),E("issueId",b.issueId)("comments",a.comments))},VRb=function(a){if(a&1){var b=v();I(0,"button",8);M("click",function(){w(b);var c=P(2),d=P(2);c=c.length;var e=tp(d.maxImagesInOneRow$);e&&d.lastRenderedImageIndex$.next((Math.floor(c/e)+4)*e);return x()});Q(1," Load more ");J()}},WRb=function(a){if(a&1){var b=v();I(0,"button",9);M("click",
function(){w(b);var c=P(4);return x(c.goToResourcesTab())});Q(1," See all screenshots ");J()}},XRb=function(a){a&1&&D(0,VRb,2,0,"button",6)(1,WRb,2,0,"button",7);a&2&&(a=P(3),G(a.paginate?0:1))},YRb=function(a,b){a&1&&(I(0,"div",1),yg(1,URb,5,7,"div",2,wg),S(3,"async"),J(),D(4,XRb,2,1));if(a&2){a=P();var c=P();sg("show-all-images",c.paginate);B();zg(U(3,3,c.imagesToRender$));B(3);G(a.length!==b.length?4:-1)}},ZRb=function(a){a&1&&(D(0,YRb,5,5),S(1,"async"));if(a&2){var b;a=P();G((b=U(1,1,a.imagesToRender$))?
0:-1,b)}},$Rb=function(a){var b=new Map;a=k(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=void 0,e=(d=b.get(c.src))!=null?d:[];e.push(c.comment);b.set(c.src,e)}return Array.from(b.entries()).map(function(f){var h=k(f);f=h.next().value;h=h.next().value;return{src:f,comments:Kj(h)}})},aSb=function(a){a&1&&(I(0,"span",1),Q(1),S(2,"reverse"),J());a&2&&(a=P(),B(),Yg(U(2,1,a.leftText)))},bSb=function(a){a&1&&(I(0,"b-external-hyperlink-widget",2),Q(1),J());a&2&&(a=P(),E("href",a.redirectedHref)("originalHref",
a.originalHref),B(),Yg(a.linkText))},cSb=function(a){a&1&&(I(0,"b-issue-reference-widget",4),Q(1),J());a&2&&(a=P(2),E("href",a.redirectedHref)("issueId",a.issueId),B(),Yg(a.linkText))},dSb=function(a){a&1&&(I(0,"a",5),Q(1),J());a&2&&(a=P(2),Lg("href",a.redirectedHref,vf),B(),Yg(a.linkText))},eSb=function(a){a&1&&D(0,cSb,2,3,"b-issue-reference-widget",4)(1,dSb,2,2,"a",5);a&2&&(a=P(),G(a.issueId?0:1))},fSb=function(a){a&1&&(I(0,"span",3),Q(1),J());a&2&&(a=P(),B(),Yg(a.rightText))},gSb=function(a){var b=
document.createElement("div");a&&Cea(b,a);return b},hSb=function(a){a&1&&(I(0,"td"),K(1,"b-issue-priority-display",0),J(),I(2,"td",1)(3,"span",2),Q(4),J(),K(5,"mentioned-link-with-context",3),J(),I(6,"td"),K(7,"comments-info",4),S(8,"toComments"),J());if(a&2){var b;a=P().$implicit;var c=P(3);B();E("matTooltip",a.hasViewAccess?"":"Access is denied to this issue")("issuePriority",a.priority);B(2);E("matTooltip",a.hasViewAccess?"":"Access is denied to this issue");B();R(" ",(b=a.title)!==null&&b!==void 0?
b:"--"," ");B();E("sourceComment",a.sourceComments[0].issueEvent)("relatedLink",a.relatedLinks[0]);B(2);E("issueId",c.issueId)("comments",U(8,8,a.sourceComments))}},iSb=function(a,b){a&1&&(I(0,"tr"),D(1,hSb,9,10),J());a&2&&(a=b.$implicit,B(),G(a.sourceComments&&a.relatedLinks?1:-1))},jSb=function(a){if(a&1){var b=v();I(0,"button",7);M("click",function(){w(b);var c=P(4);c.lastRenderedMentionedIssueIndex$.next(c.lastRenderedMentionedIssueIndex$.value+100);return x()});Q(1," Load more ");J()}},kSb=function(a){if(a&
1){var b=v();I(0,"button",8);M("click",function(){w(b);var c=P(4);return x(c.goToResourcesTab())});Q(1," See all mentioned issues ");J()}},lSb=function(a){a&1&&(I(0,"div"),D(1,jSb,2,0,"button",5)(2,kSb,2,0,"button",6),J());a&2&&(a=P(3),B(),G(a.paginate?1:2))},mSb=function(a,b){a&1&&(I(0,"section")(1,"table"),yg(2,iSb,2,1,"tr",null,xg),J(),D(4,lSb,3,1,"div"),J());a&2&&(a=P(),B(2),zg(a),B(2),G(b.length!==a.length?4:-1))},nSb=function(a){a&1&&(D(0,mSb,5,1,"section"),S(1,"async"));if(a&2){var b;a=P();
G((b=U(1,1,a.allMentionedIssues$))?0:-1,b)}},oSb=function(a,b){a&1&&(I(0,"div",0),K(1,"mentioned-link-with-context",1)(2,"comments-info",2),S(3,"toComments"),J());a&2&&(a=b.$implicit,b=P(3),B(),E("sourceComment",a[0].comment)("relatedLink",a[0]),B(),E("issueId",b.issueId)("comments",U(3,4,a)))},pSb=function(a){if(a&1){var b=v();I(0,"button",5);M("click",function(){w(b);var c=P(4);c.lastRenderedRelatedLinkIndex$.next(c.lastRenderedRelatedLinkIndex$.value+100);return x()});Q(1," Load more ");J()}},
qSb=function(a){if(a&1){var b=v();I(0,"button",6);M("click",function(){w(b);var c=P(4);return x(c.goToResourcesTab())});Q(1," See all related links ");J()}},rSb=function(a){a&1&&(I(0,"div"),D(1,pSb,2,0,"button",3)(2,qSb,2,0,"button",4),J());a&2&&(a=P(3),B(),G(a.paginate?1:2))},tSb=function(a,b){a&1&&(yg(0,oSb,4,6,"div",0,sSb),D(2,rSb,3,1,"div"));a&2&&(a=P(),zg(b),B(2),G(a.length!==b.length?2:-1))},uSb=function(a){a&1&&(D(0,tSb,3,1),S(1,"async"));if(a&2){var b;a=P();G((b=U(1,1,a.linkGroupsToRender$))?
0:-1,b)}},wSb=function(a,b){var c=a.filter(function(d){return mLa(d[0])});a=a.filter(function(d){return!mLa(d[0])});return vSb([].concat(t(c),t(a)).slice(0,b),"ASCENDING")},xSb=function(a){a&1&&K(0,"mat-icon",10)},ySb=function(a){a&1&&(Q(0),S(1,"async"));if(a&2){var b;a=P(2);R("Screenshots (",(b=U(1,1,a.distinctImageLinksCount$))!==null&&b!==void 0?b:0,")")}},BSb=function(a,b){if(a&1){var c=v();I(0,"inline-images-summary",12);S(1,"async");M("click",function(){w(c);var e=P(3);zSb(e.issueSummaryTracking,
e.issueId,e.TabKeys.IMAGES);return x()});J()}if(a&2){var d;a=P(3);E("issueId",b)("imageLinks",(d=U(1,2,a.imageLinks$))!==null&&d!==void 0?d:dh(4,ASb))}},CSb=function(a){a&1&&(D(0,BSb,2,5,"inline-images-summary",11),S(1,"async"));if(a&2){var b;a=P(2);G((b=U(1,1,a.issueId$))?0:-1,b)}},DSb=function(a){a&1&&K(0,"mat-icon",13)},ESb=function(a){a&1&&(Q(0),S(1,"async"));if(a&2){var b;a=P(2);R("Mentioned issues (",(b=U(1,1,a.distinctIssuesCount$))!==null&&b!==void 0?b:0,")")}},FSb=function(a,b){if(a&1){var c=
v();I(0,"b-mentioned-issues",15);M("click",function(){w(c);var d=P(3);zSb(d.issueSummaryTracking,d.issueId,d.TabKeys.MENTIONED_ISSUES);return x()});J()}a&2&&(a=P(3),E("issueReferences",b)("currentIssueId",a.issueId))},GSb=function(a){a&1&&(D(0,FSb,1,2,"b-mentioned-issues",14),S(1,"async"));if(a&2){var b;a=P(2);G((b=U(1,1,a.issues$))?0:-1,b)}},HSb=function(a){a&1&&K(0,"mat-icon",16)},ISb=function(a){a&1&&(Q(0),S(1,"async"));if(a&2){var b;a=P(2);R("Links (",(b=U(1,1,a.distinctOtherLinksCount$))!==null&&
b!==void 0?b:0,")")}},JSb=function(a){if(a&1){var b=v();I(0,"related-links-widget",17);S(1,"async");M("click",function(){w(b);var d=P(2);zSb(d.issueSummaryTracking,d.issueId,d.TabKeys.LINKS);return x()});J()}if(a&2){var c;a=P(2);E("links",(c=U(1,2,a.otherLinks$))!==null&&c!==void 0?c:dh(4,ASb))("issueId",a.issueId)}},KSb=function(a){a&1&&K(0,"mat-icon",18)},LSb=function(a){a&1&&Q(0,"Similar issues")},MSb=function(a,b){if(a&1){var c=v();I(0,"suggested-similar-issues",20);M("click",function(){w(c);
var e=P(4);zSb(e.issueSummaryTracking,e.issueId,e.TabKeys.SIMILAR_ISSUES);return x()});J()}if(a&2){a=P();var d=P(3);E("issueId",d.issueId)("similarIssueIds",a)("similarIssuesEnrichments",b)}},NSb=function(a){a&1&&(D(0,MSb,1,3,"suggested-similar-issues",19),S(1,"async"));if(a&2){var b;a=P(3);G((b=U(1,1,a.similarIssuesEnrichments$))?0:-1,b)}},OSb=function(a){a&1&&(D(0,NSb,2,3),S(1,"async"));if(a&2){var b;a=P(2);G((b=U(1,1,a.similarIssueIds$))?0:-1,b)}},QSb=function(a,b){if(a&1){var c=v();I(0,"expandable-tabs",
2);M("expandedTabsChanged",function(d){var e=w(c),f=P();return x(f.onTabExpanded$.emit({expandedTabKeys:d,allTabKeys:e}))})("contentShownChanged",function(d){w(c);var e=P(),f=e.issueSummaryTracking;e=e.issueId;for(var h=k(PSb),l=h.next();!l.done;l=h.next())l=l.value,d.has(l)?(uu(f.issueInteractionsTracking,e,l+"-content-shown"),f.issueInteractionsTracking.getState(e).variations.delete(l+"-content-not-shown")):(uu(f.issueInteractionsTracking,e,l+"-content-not-shown"),f.issueInteractionsTracking.getState(e).variations.delete(l+
"-content-shown"));d.size>0?(f.recordImpressionOnce(),uu(f.issueInteractionsTracking,e,"SW-content-shown"),f.issueInteractionsTracking.getState(e).variations.delete("SW-content-not-shown")):(uu(f.issueInteractionsTracking,e,"SW-content-not-shown"),f.issueInteractionsTracking.getState(e).variations.delete("SW-content-shown"));return x()});I(1,"expandable-tab",3);D(2,xSb,1,0,"ng-template",4)(3,ySb,2,3,"ng-template",5)(4,CSb,2,3,"ng-template",6);J();I(5,"expandable-tab",7);D(6,DSb,1,0,"ng-template",
4)(7,ESb,2,3,"ng-template",5)(8,GSb,2,3,"ng-template",6);J();I(9,"expandable-tab",8);D(10,HSb,1,0,"ng-template",4)(11,ISb,2,3,"ng-template",5)(12,JSb,2,5,"ng-template",6);J();I(13,"expandable-tab",9);D(14,KSb,1,0,"ng-template",4)(15,LSb,1,0,"ng-template",5)(16,OSb,2,3,"ng-template",6);J()()}a&2&&(a=P(),E("tabKeys",b)("expandedTabs",a.initiallyExpandedTabs),B(),E("key",a.TabKeys.IMAGES),B(4),E("key",a.TabKeys.MENTIONED_ISSUES),B(4),E("key",a.TabKeys.LINKS),B(4),E("key",a.TabKeys.SIMILAR_ISSUES))},
RSb=function(a,b){a&1&&(I(0,"li",3)(1,"div",6),K(2,"b-user-image",7),J(),I(3,"div",8),K(4,"b-user-display",9)(5,"b-formatted-date-time",10),I(6,"p",11),Q(7," Formatting: "),I(8,"code",12),Q(9),J()(),K(10,"br"),I(11,"span",13)(12,"b-person-hovercard",14),S(13,"omitObfuscatedEmail"),Q(14),S(15,"appendDomain"),J()(),Q(16),J(),I(17,"pre"),Q(18),J()());a&2&&(a=b.$implicit,b=b.$index,B(2),E("email",a.author==null?null:a.author.emailAddress),B(2),E("model",a.author),B(),E("timestamp",a.updateTime),B(4),
R(" ",a.formattingMode," "),B(3),E("email",U(13,8,a.author==null?null:a.author.emailAddress)),B(2),R(" <",U(15,10,a.author==null?null:a.author.emailAddress),"> "),B(2),R(" #",b+1," "),B(2),Yg(a.updateText))},SSb=function(a){if(a&1){var b=v();I(0,"button",9);M("click",function(){w(b);var c=P(3);return x(c.editStatusUpdate())});Q(1," Edit ");J()}},TSb=function(a){a&1&&(I(0,"header",4)(1,"h4",6),Q(2,"Status Update"),J(),I(3,"p",7),Q(4,"No update yet."),J(),D(5,SSb,2,0,"button",8),S(6,"async"),J());a&
2&&(a=P(2),B(5),G(U(6,1,a.showEditButton$)?5:-1))},VSb=function(a){if(a&1){var b=v();I(0,"button",18);M("click",function(){w(b);var c=P(4);return x(USb(c))});Q(1," Mark as fresh ");J()}},WSb=function(a){if(a&1){var b=v();I(0,"button",16);M("click",function(){w(b);var c=P(3);return x(c.editStatusUpdate())});Q(1," Edit ");J();D(2,VSb,2,0,"button",17);S(3,"async")}a&2&&(a=P(3),B(2),G(U(3,1,a.freshnessIndicator$)===a.Freshness.STALE?2:-1))},XSb=function(a){a&1&&K(0,"mat-icon",19)},YSb=function(a,b){a&
1&&(D(0,XSb,1,0,"mat-icon",19),S(1,"async"),Q(2," Updated by "),I(3,"span",20),Q(4),S(5,"shortenEmail"),J(),K(6,"b-formatted-date-time",21),I(7,"onedev-hovercard",null,0),K(9,"b-issue-person-card",22),J());if(a&2){var c,d;a=L(8);var e=P(3);G(U(1,5,e.freshnessIndicator$)===e.Freshness.FRESH?0:-1);B(3);E("onedevHovercardTrigger",a);B();R(" ",U(5,7,(c=b.author==null?null:b.author.emailAddress)!==null&&c!==void 0?c:"")," ");B(2);E("timestamp",b.updateTime);B(3);E("email",(d=b.author==null?null:b.author.emailAddress)!==
null&&d!==void 0?d:"")}},ZSb=function(a,b){a&1&&K(0,"b-actions-menu",14);a&2&&E("buttonLabel","Status Update actions")("menuItems",b)},$Sb=function(a,b){a&1&&(K(0,"b-note-container",23),S(1,"async"),S(2,"async"));if(a&2){var c;a=P();var d=P(3);E("issueId",a.issueId)("issueAccessLevel",U(1,4,d.accessLevel$))("note",b)("formattingMode",(c=U(2,6,d.formattingMode$))!==null&&c!==void 0?c:d.FormattingMode.PLAIN)}},aTb=function(a){if(a&1){var b=v();I(0,"button",25);M("click",function(){w(b);var c=P(4);return x(c.isCollapsed=
!1)});Q(1," Show More ");J()}},bTb=function(a){a&1&&(I(0,"div",15)(1,"div",null,1),D(3,$Sb,3,8,"b-note-container",23),S(4,"async"),J(),D(5,aTb,2,0,"button",24),J());if(a&2){var b;a=P(3);B();sg("collapsed",a.isCollapsed);B(2);G((b=U(4,4,a.statusUpdateAsNote$))?3:-1,b);B(2);G(a.isCollapsed?5:-1)}},cTb=function(a){a&1&&(I(0,"div",5)(1,"header",10)(2,"div",11)(3,"h4",12),Q(4,"Status Update"),J(),D(5,WSb,4,3),S(6,"async"),J(),I(7,"div",13),D(8,YSb,10,9),S(9,"async"),D(10,ZSb,1,2,"b-actions-menu",14),S(11,
"async"),J()(),D(12,bTb,6,6,"div",15),S(13,"async"),J());if(a&2){var b,c,d;a=P(2);B(5);G(U(6,4,a.showEditButton$)?5:-1);B(3);G((b=U(9,6,a.statusUpdate$))?8:-1,b);B(2);G((c=U(11,8,a.menuItems$))?10:-1,c);B(2);G((d=U(13,10,a.statusUpdate$))?12:-1,d)}},eTb=function(a,b){a&1&&(I(0,"div"),S(1,"async"),K(2,"mat-icon",3),D(3,TSb,7,3,"header",4)(4,cTb,14,12,"div",5),J());a&2&&(a=P(),vg("carded margin-s-sides margin-s-bottom bg-main highlighted-left flex-kids-x ",U(1,9,a.semanticClass$),""),sg("display-none",
eh(11,dTb,a.UiState.LOADING).includes(b))("short-height",a.UiState.EMPTY===b),B(3),G(b===a.UiState.EMPTY?3:-1),B(),G(b===a.UiState.NORMAL?4:-1))},fTb=function(a){switch(a){case 1:return"noUpdate";case 2:return"hasUpdate";case 0:return"";default:return""}},gTb=function(a){a&1&&K(0,"llm-suggested-bug-fix",5);a&2&&(a=P(),E("issueId",a))},hTb=function(a,b){a&1&&(K(0,"issue-description-area",4)(1,"status-update",5),D(2,gTb,1,1,"llm-suggested-bug-fix",5),K(3,"b-issue-description",6));a&2&&(a=P(),E("id",
b),B(),E("issueId",b),B(),G(a.enableGoosePrompting||a.enableGoosePromptingSupportedIssues?2:-1),B(),E("id",b))},iTb=function(a,b){a&1&&(K(0,"issue-summary-card",7,0),S(2,"async"));a&2&&(a=L(1),sg("hidden",!U(2,3,a.shouldShowSummaryCard$)),E("issueId",b))},jTb=function(a){a&1&&K(0,"issue-event-list",9);a&2&&(a=P(),E("id",a))},kTb=function(a){a&1&&K(0,"issue-event-list",9);a&2&&(a=P(),E("id",a))},lTb=function(a,b){a&1&&(I(0,"div",8),K(1,"b-event-stream-header"),D(2,jTb,1,1,"issue-event-list",9),K(3,
"b-post-comment",5),D(4,kTb,1,1,"issue-event-list",9),J());a&2&&(a=P(),sg("recent-first",a.showRecentEventsFirst),B(2),G(a.showRecentEventsFirst?-1:2),B(),E("issueId",b),B(),G(a.showRecentEventsFirst?4:-1))},mTb=function(a){a&1&&(I(0,"section")(1,"h4"),K(2,"mat-icon",1),Q(3),J(),K(4,"inline-images-summary",2)(5,"br")(6,"hr",3),J());if(a&2){a=P(2);var b=P();B(3);R(" Screenshots (",a.length,") ");B();E("issueId",b.issueId)("imageLinks",a)("paginate",!0)}},nTb=function(a){a&1&&D(0,mTb,7,4,"section");
a&2&&(a=P(),G(a.length?0:-1))},oTb=function(a){a&1&&D(0,nTb,1,1);a&2&&(a=P(2),G(a.isInternalSession?0:-1))},pTb=function(a){a&1&&(I(0,"section")(1,"h4"),K(2,"mat-icon",4),Q(3),J(),K(4,"b-mentioned-issues",5)(5,"br")(6,"hr",3),J());if(a&2){a=P();var b=P();B(3);R(" Mentioned issues (",a.length,") ");B();E("issueReferences",a)("currentIssueId",b.issueId)("paginate",!0)}},qTb=function(a,b){a&1&&D(0,pTb,7,4,"section");a&2&&G(b.length?0:-1)},rTb=function(a){a&1&&(I(0,"section")(1,"h4"),K(2,"mat-icon",6),
Q(3),J(),K(4,"related-links-widget",7),J());if(a&2){a=P();var b=P();B(3);R(" Links (",a.length,") ");B();E("links",a)("issueId",b.issueId)("paginate",!0)}},sTb=function(a,b){a&1&&D(0,rTb,5,4,"section");a&2&&G(b.length?0:-1)},tTb=function(a){a&1&&(D(0,oTb,1,1),S(1,"async"),D(2,qTb,1,1),S(3,"async"),D(4,sTb,1,1),S(5,"async"));if(a&2){var b,c,d;a=P();G((b=U(1,3,a.imageLinks$))?0:-1,b);B(2);G((c=U(3,5,a.issueReferences$))?2:-1,c);B(2);G((d=U(5,7,a.otherLinks$))?4:-1,d)}},uTb=function(a,b){a&1&&K(0,"b-package-mentions-listing",
2);if(a&2){a=b.$implicit;b=P(2);var c=P(),d=P();E("issueId",c)("packageMentionSet",a)("displayPackageName",d.displayPackageNames(b))}},vTb=function(a){if(a&1){var b=v();yg(0,uTb,1,3,"b-package-mentions-listing",2,xg);I(2,"p",3)(3,"a",4);M("click",function(){w(b);var c=P(3);return x(c.trackSqueegeeClick())});Q(4,"View in Squeegee");J()()}a&2&&(a=P(),zg(a.mentions.packageMentionSet),B(3),E("href",a.link,vf))},wTb=function(a){a&1&&(I(0,"div",1),K(1,"img",5),I(2,"p",6),Q(3," This issue has no TODOs "),
J(),I(4,"p",7),Q(5," Buganizer uses a separate service to look for TODOs in the codebase. It didn't find any. "),I(6,"a",8),Q(7,"Learn more"),J()()());a&2&&(a=P(3),B(),E("src",a.ROBOT_SLEEPING,vf))},xTb=function(a,b){a&1&&D(0,vTb,5,1)(1,wTb,8,1,"div",1);a&2&&G(b.mentions&&b.mentions.totalMentions>0?0:1)},yTb=function(a){a&1&&(D(0,xTb,2,1),S(1,"async"));if(a&2){var b;a=P();G((b=U(1,1,a.codeMentionsState$))?0:-1,b)}},zTb=function(a){a&1&&K(0,"b-spinner",4);a&2&&E("large",!0)},ATb=function(a){a&1&&K(0,
"b-hotlist-grid",5);a&2&&(a=P(),E("hotlists",a.hotlists))},BTb=function(a){a&1&&(I(0,"div",6),K(1,"b-spinner"),I(2,"span"),Q(3),J()());a&2&&(a=P(),B(3),R(" Searching",a.query?" for "+a.query:"","..."))},CTb=function(a){a&1&&Q(0," No issues match your search. ")},DTb=function(a){a&1&&Q(0," Use search box to find issues. ")},FTb=function(a){a&1&&(I(0,"a",10),Q(1," Click to see all open issues"),J());a&2&&E("queryParams",dh(1,ETb))},GTb=function(a){a&1&&(I(0,"a",11),Q(1,"Learn more about searching"),
J())},HTb=function(a){a&1&&(I(0,"div",7),K(1,"img",9),D(2,CTb,1,0)(3,DTb,1,0)(4,FTb,2,2,"a",10)(5,GTb,2,0,"a",11),J());a&2&&(a=P(),E("bFocus",!0),B(),E("src",a.SPACE_EMPTY_STATE,vf),B(),G(a.query?2:3),B(2),G(a.currentTracker?4:5))},JTb=function(a){if(a&1){var b=v();I(0,"div",8)(1,"b-issues-grid",12);M("init",function(c){w(b);var d=P();return x(d.resultsGrid=c)});bh("columnsChange",function(c){w(b);var d=P();ah(d.issueColumns,c)||(d.issueColumns=c);return x(c)});M("columnsChange",function(){w(b);P();
ITb();return x()})("sortChange",function(c){w(b);var d=P();return x(d.setSort(c.field,c.direction))})("rowClick",function(c){w(b);var d=P();return x(d.goToIssue(c.id,c.isRead,c.event))})("onNextPage",function(){w(b);var c=P();return x(vu(c,c.page,1))})("onPrevPage",function(){w(b);var c=P();return x(vu(c,c.page,-1))});J()()}a&2&&(a=P(),B(),E("searchResults",a.searchResults)("focusedRowIndex",a.focusedRowIndex),$g("columns",a.issueColumns),E("enableColumnSaving",!!a.isColumnSaveEnabled)("sort",a.getSort())("enableSidebar",
!0))},KTb=function(a){a&1&&(I(0,"div",3)(1,"h2"),Q(2,"Manage SLOs"),J(),I(3,"p",5),Q(4,"You have admin rights for all SLOs listed below."),J()())},LTb=function(a){a&1&&K(0,"b-spinner",4);a&2&&E("large",!0)},MTb=function(a){a&1&&K(0,"b-slo-grid",6);a&2&&(a=P(2),E("slos",a.activeSlos))},NTb=function(a){a&1&&(I(0,"div",7),Q(1,"You have no Active SLOs"),J())},OTb=function(a){a&1&&K(0,"b-slo-grid",6);a&2&&(a=P(3),E("slos",a.archivedSlos))},PTb=function(a){a&1&&(I(0,"p",12),Q(1," You have no archived SLOs. "),
J())},QTb=function(a){a&1&&(I(0,"div",11),D(1,OTb,1,1,"b-slo-grid",6)(2,PTb,2,0,"p",12),J());a&2&&(a=P(2),B(),G(a.archivedSlos.length?1:2))},RTb=function(a){if(a&1){var b=v();D(0,MTb,1,1,"b-slo-grid",6)(1,NTb,2,0,"div",7);I(2,"button",8);M("click",function(){w(b);var c=P();c.areArchivedSlosExpanded=!c.areArchivedSlosExpanded;return x()});I(3,"h4",9);K(4,"mat-icon",10);Q(5);J()();D(6,QTb,3,1,"div",11)}a&2&&(a=P(),G(a.activeSlos.length?0:1),B(4),sg("rotate-180",a.areArchivedSlosExpanded),E("svgIcon",
"arrow-dropdown"),B(),R(" Archived SLOs (",a.archivedSlos.length,") "),B(),G(a.areArchivedSlosExpanded?6:-1))},STb=function(a){a&1&&(I(0,"p"),Q(1,"Team inheritance path:"),J(),K(2,"b-team-breadcrumb",0));a&2&&(a=P(),B(2),E("teamPath",a.teamPath))},TTb=function(a){a&1&&(I(0,"p"),Q(1,"Component inheritance path:"),J(),K(2,"b-component-breadcrumb",1));a&2&&(a=P(),B(2),E("componentPathInfo",a.componentPath))},UTb=function(a){var b={};a=k(a.groupMetadata);for(var c=a.next();!c.done;c=a.next())c=c.value,
b[c.groupEmail]=c;return b},XTb=function(a){return{approximateSize:Qk(a,2),groupEmail:Kh(a,1),sizeCategory:VTb[Fk(a,3,0)],permissionCategory:WTb[Fk(a,5,0)]}},ZTb=function(a){a=lk(a,YTb,1,Uj());return{groupMetadata:(a!=null?a:[]).map(XTb)}},aUb=function(a,b){var c=[];if(!b||!a)return c;for(var d=k($Tb),e=d.next();!e.done;e=d.next()){e=e.value;var f=xj(e.accessor(b)||[],e.accessor(a)||[]);f.length&&c.push({field:e.field,addedPrincipals:f})}return c},cUb=function(a,b){if(!a.appenders||!b||oj(b.appenders,
a.appenders))return!1;a=k(a.appenders||[]);for(var c=a.next();!c.done;c=a.next())if(c=c.value,bUb.has(c)&&!b.appenders.includes(c))return!0;return!1},dUb=function(a){var b=new Map;a=k(a);for(var c=a.next();!c.done;c=a.next())switch(c=c.value,c.sizeCategory){case "LARGE":case "HUGE":case "ENORMOUS":b.set(c.groupEmail,c)}return b},eUb=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"},fUb=function(a){if(a.size===0)return wu;for(var b=a.size===1?yi("p",{},"The following large group is added: "):yi("p",{},"The following large groups are added: "),c=[],d=k(a.keys()),e=d.next();!e.done;e=d.next()){e=e.value;var f=a.get(e).approximateSize;c.push(yi("p",{},xi([yi("b",{},e)," has approximately ",yi("b",{},f)," Googlers."])))}return xi([b].concat(t(c)))},gUb=function(a){if(a.size===0)return wu;
var b=a.size===1?yi("p",{},"The following open group is added: "):yi("p",{},"The following open groups are added: "),c=[];a=k(a.keys());for(var d=a.next();!d.done;d=a.next())c.push(yi("p",{},yi("b",{},d.value)));return xi([b].concat(t(c)))},hUb=function(a){var b=new Map;a=k(a);for(var c=a.next();!c.done;c=a.next())c=c.value,c.permissionCategory==="OPEN_TO_JOIN"&&b.set(c.groupEmail,c);return b},iUb=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},jUb=function(a,b,c){a="USER:"+a;var d=c.admins.concat(c.inheritedAdmins);b=b.admins.concat(b.inheritedAdmins).filter(function(f){return!d.includes(f)});c=b.filter(function(f){return f.startsWith("GROUP:")});var e=b.filter(function(f){return f.startsWith("USER:")});return d.includes(a)||b.length===0?!1:e.includes(a)?!0:c.length?!0:!1},xu=function(a){var b=a.split(":");a=b[0];return a==="ALIAS"?(b=b[1],{value:b,displayText:$ta(b),principalType:a,detailedUserType:null}):{value:b[1],displayText:b[1],
principalType:a,detailedUserType:null}},kUb=function(a,b){a&1&&K(0,"b-contact-chip",4);a&2&&(a=b.$implicit,b=P(2),E("value",a.value)("detailedUserType",a.detailedUserType)("principalType",a.principalType)("accessLevel",b.accessLevel)("displayText",a.displayText))},lUb=function(a,b){a&1&&(I(0,"tr",2)(1,"th",3),Q(2),J(),I(3,"td"),yg(4,kUb,1,5,"b-contact-chip",4,xg),J()());a&2&&(a=b.$implicit,B(2),Yg(a.permission),B(2),zg(a.principals))},pUb=function(a){var b="minimal";b=b===void 0?"expanded":b;a=mUb(a);
a=rua(a,function(c){c=nUb(c);return oUb(c,b)});return mUb(a)},rUb=function(a){a=mUb(a);a=rua(a,function(b){b=qUb(b);return nUb(b)});return mUb(a)},oUb=function(a,b){var c=b==="expanded"?sUb:tUb;return new Set([].concat(t(a)).flatMap(function(d){return[].concat(t(c.get(d)))}))},qUb=function(a){return new Set(uUb.filter(function(b){return Jta(a,tUb.get(b))}))},nUb=function(a){a=oUb(a,"expanded");var b=qUb(a);return new Set([].concat(t(b)).filter(function(c){return[].concat(t(vUb.get(c))).every(function(d){return!b.has(d)})}))},
mUb=function(a){var b=new Map;a=k(a.entries());for(var c=a.next();!c.done;c=a.next()){var d=k(c.value);c=d.next().value;d=d.next().value;d=k(d);for(var e=d.next();!e.done;e=d.next()){e=e.value;var f=void 0;b.set(e,((f=b.get(e))!=null?f:new Set).add(c))}}return b},xUb=function(){function a(f,h){c.has(f)||c.set(f,new Set);var l=c.get(f);l.add(h);var q;h=k((q=b.get(h))!=null?q:[]);for(q=h.next();!q.done;q=h.next())q=q.value,l.has(q)||a(f,q)}var b=wUb,c=new Map,d=[].concat(t(b.values())).flatMap(function(f){return[].concat(t(f))});
d=k(new Set([].concat(t(b.keys()),t(d))));for(var e=d.next();!e.done;e=d.next())e=e.value,a(e,e);return c},yUb=function(a){var b=pUb(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(t((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")}}},zUb=function(a){var b=a.componentAccessPolicy;a=a.issueAccessPolicy;return Kj([].concat(t(b?[].concat(t(b.inheritedAdmins||[]),t(b.admins||[]),t(b.appenders||[])):[]),t(a?[].concat(t(a.admins||[]),t(a.editors||[]),t(a.appenders||[]),t(a.readers||[]),t(a.restrictedReaders||[]),t(a.restrictedPlusReaders||[])):[]))).sort()},BUb=function(a){function b(e){var f;return[].concat(t((f=d.get(e))!=null?f:[])).sort()}
if(!a)return AUb;var c=a.issueAccessPolicy;a=a.componentAccessPolicy;var d=rUb(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}},CUb=function(a,b){var c;(c=!b)||(c=!(!oj([].concat(t(b.admins)).sort(),[].concat(t(a.admins)).sort())||
!oj([].concat(t(b.appenders)).sort(),[].concat(t(a.appenders)).sort())||!oj(b.implicitAccess,a.implicitAccess)));return!c},DUb=function(a,b){return b&&a?!oj([].concat(t(a.admins)).sort(),[].concat(t(b.admins)).sort())||!oj([].concat(t(a.editors)).sort(),[].concat(t(b.editors)).sort())||!oj([].concat(t(a.appenders)).sort(),[].concat(t(b.appenders)).sort())||!oj([].concat(t(a.readers)).sort(),[].concat(t(b.readers)).sort())||!oj([].concat(t(a.restrictedReaders)).sort(),[].concat(t(b.restrictedReaders)).sort())||
!oj([].concat(t(a.restrictedPlusReaders)).sort(),[].concat(t(b.restrictedPlusReaders)).sort()):!1},EUb=function(a,b){var c=Object.keys(a);c=k(c);for(var d=c.next();!d.done;d=c.next())if(d=d.value,!Dua(a[d],b[d]))return!0;return!1},FUb=function(a){if(a&1){var b=v();I(0,"input",15);bh("ngModelChange",function(c){w(b);var d=P(2);ah(d.rolesEditor.component.accessLimit.accessLevel,c)||(d.rolesEditor.component.accessLimit.accessLevel=c);return x(c)});J()}a&2&&(a=P(2),E("disabled",!a.rolesEditor.isAdmin),
$g("ngModel",a.rolesEditor.component.accessLimit.accessLevel))},GUb=function(a){if(a&1){var b=v();I(0,"input",16);bh("ngModelChange",function(c){w(b);var d=P(2);ah(d.rolesEditor.component.accessLimit.accessLevel,c)||(d.rolesEditor.component.accessLimit.accessLevel=c);return x(c)});J()}a&2&&(a=P(2),E("disabled",!a.rolesEditor.isAdmin||!a.isParentPartner()),$g("ngModel",a.rolesEditor.component.accessLimit.accessLevel))},HUb=function(a){if(a&1){var b=v();I(0,"input",17);bh("ngModelChange",function(c){w(b);
var d=P(2);ah(d.rolesEditor.component.accessLimit.accessLevel,c)||(d.rolesEditor.component.accessLimit.accessLevel=c);return x(c)});J()}a&2&&(a=P(2),E("disabled",!a.rolesEditor.isAdmin||!a.isParentPublic()),$g("ngModel",a.rolesEditor.component.accessLimit.accessLevel))},IUb=function(a,b){a&1&&(I(0,"p",14)(1,"a",18),Q(2," Learn more "),J()());a&2&&(B(),E("href",b,vf))},JUb=function(a){a&1&&(I(0,"div",0)(1,"div",3)(2,"span",4),Q(3,"Component visibility: "),J()(),I(4,"div",5)(5,"div",6),D(6,FUb,1,2,
"input",7),I(7,"label",8),Q(8),J()(),I(9,"div",6),D(10,GUb,1,2,"input",9),I(11,"label",10),Q(12),J()(),I(13,"div",11),D(14,HUb,1,2,"input",12),I(15,"label",13),Q(16),J()()(),D(17,IUb,3,1,"p",14),J());if(a&2){var b;a=P();B(6);G(a.rolesEditor.component&&a.rolesEditor.component.accessLimit?6:-1);B(2);R(" ",g3a(a.AccessLevelStrings.INTERNAL)," ");B(2);G(a.rolesEditor.component&&a.rolesEditor.component.accessLimit?10:-1);B(2);R(" ",g3a(a.AccessLevelStrings.EXTERNAL_PARTNER)," ");B(2);G(a.rolesEditor.component&&
a.rolesEditor.component.accessLimit?14:-1);B(2);R(" ",g3a(a.AccessLevelStrings.EXTERNAL_PUBLIC)," ");B();G((b=vMa(a.documentationLinks))?17:-1,b)}},OUb=function(a,b){if(a&1){var c=v();I(0,"tr")(1,"td")(2,"div",1)(3,"div",2)(4,"label",3);Q(5);J();I(6,"button",4);K(7,"mat-icon",5);J()();I(8,"b-multi-user-input",6);M("usersChange",function(e){var f=w(c).$implicit,h=P();return x(h.updateRolesMap(f.roleType,e))})("isValid",function(e){var f=w(c).$implicit,h=P();h.aclFormValidity.set(f.roleType,e);e=[].concat(t(h.aclFormValidity.values())).every(Boolean);
h.formIsValid.emit(e);return x()});J()()();I(9,"td");K(10,"b-icon",7);J();I(11,"td");K(12,"b-icon",7);J();I(13,"td");K(14,"b-icon",7);J();I(15,"td");K(16,"b-icon",7);J();I(17,"td");K(18,"b-icon",7);J();I(19,"td");K(20,"b-icon",7);J();I(21,"td");K(22,"b-icon",7);J();I(23,"td");K(24,"b-icon",7);J()()}if(a&2){var d;a=b.$implicit;b=P();B(2);sg("bv2-edit-resource-readonly",b.canEdit);B(2);E("htmlFor",a.roleType);B();Yg(a.label);B();E("matTooltip",a.tooltip);B(2);E("idForInputBox",a.roleType)("users",a.users)("ariaLabel",
a.ariaLabel)("accessLevel",b.accessLevel)("customValidators",(d=a.customValidators)!==null&&d!==void 0?d:dh(22,KUb))("includeAliases",a.includeAliases)("includeViewAliases",a.includeViewAliases)("containerChips",(a.chips==null?0:a.chips.values)&&a.chips.values.length>0?eh(26,LUb,fh(23,MUb,a.chips.displayText,a.chips.values)):dh(28,NUb));jg("disabled",b.canEdit?null:!0);B(2);E("name",b.getIconName(a,"componentAdmin"));B(2);E("name",b.getIconName(a,"createIssues"));B(2);E("name",b.getIconName(a,"issueAdmin"));
B(2);E("name",b.getIconName(a,"issueEditor"));B(2);E("name",b.getIconName(a,"issueCommenter"));B(2);E("name",b.getIconName(a,"issueReader"));B(2);E("name",b.getIconName(a,"restrictedReader"));B(2);E("name",b.getIconName(a,"restrictedPlusReader"))}},PUb=function(a){a&1&&(I(0,"div",0),K(1,"b-spinner"),J())},RUb=function(a){if(a&1){var b=v();I(0,"div")(1,"div",1)(2,"mat-tab-group",2);M("selectedIndexChange",function(c){w(b);var d=P();return x(d.tabChange(c))});I(3,"mat-tab",3)(4,"roles-view",4);M("saveRolesMap",
function(c){w(b);var d=P();QUb(d.rolesEditor,c);return x()});J()();I(5,"mat-tab",5);K(6,"permissions-view",6);J()()()()}a&2&&(a=P(),B(2),E("selectedIndex",a.selectedTabIndex),B(2),E("rolesMap",a.rolesEditor.rolesMap)("isSaving",a.isSaving())("component",a.rolesEditor.component)("rolesEditor",a.rolesEditor),B(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))},TUb=function(a){if(a&1){var b=v();I(0,"b-button",19,1);M("onAction",function(){w(b);var c=P(3);return x(SUb(c))});Q(2);J()}a&2&&(a=P(3),E("disabled",a.isSaving()),B(2),R(" ",a.archiveAction," Component "))},UUb=function(a){if(a&1){var b=v();I(0,"b-button",20);M("onAction",function(){w(b);var c=P(3);return x(c.createIssue())});Q(1," Create Issue ");J()}a&2&&(a=P(3),E("tooltip",
a.isArchived()?"Cannot create issue in archived component":"")("disabled",a.isArchived()))},VUb=function(a){a&1&&(I(0,"a",16),Q(1," Browse Components "),J(),D(2,TUb,3,2,"b-button",17)(3,UUb,2,2,"b-button",18));a&2&&(a=P(2),E("routerLinkObj",a.componentListRoute(a.component.componentId)),B(2),G(a.isAdmin()?2:-1),B(),G(a.isAnonymous?-1:3))},WUb=function(a){a&1&&(I(0,"div",15),K(1,"b-spinner"),J())},XUb=function(a){a&1&&(I(0,"span",22),Q(1," (archived) "),J())},YUb=function(a){a&1&&Cg(0)},ZUb=function(a){a&
1&&Cg(0)},$Ub=function(a){a&1&&Cg(0)},aVb=function(a){a&1&&Cg(0)},bVb=function(a){a&1&&Cg(0)},dVb=function(a){if(a&1){var b=v();I(0,"div",52)(1,"div",44)(2,"label",73)(3,"span",41);Q(4,"Parent Component");J()();I(5,"span",46)(6,"div",74)(7,"strong");Q(8,"Careful!");J();Q(9," Moving this component can have significant consequences. If this component has custom fields that are defined on the parent or ancestor components, those fields will be lost, and issues in this component will no longer display those fields. ");
I(10,"div",48);K(11,"div",49)(12,"div",50);J()()()();I(13,"b-team-component-picker",75);M("selectedComponentChange",function(c){w(b);var d=P(4);return x(d.parentComponent=c!==null&&c!==void 0?c:null)});J()()}a&2&&(a=P(4),B(2),sg("required",a.isParentComponentRequired&&!cVb(a)),B(11),E("selectedComponent",a.parentComponent)("placeholder","Choose Component")("isRequired",a.isParentComponentRequired&&!cVb(a)))},eVb=function(a){a&1&&(I(0,"a",58),Q(1," Learn more "),J());a&2&&(P(4),E("href",RKb(),vf))},
fVb=function(a){if(a&1){var b=v();I(0,"div",76)(1,"label",77)(2,"span",41);Q(3,"Retention Settings");J()();I(4,"div",78)(5,"p");Q(6,"Please choose a period of time to retain the data stored in this component.");K(7,"br");I(8,"a",79);Q(9," Learn more ");J()()();I(10,"div",80)(11,"b-retention-settings-form",81);M("modelChange",function(c){w(b);var d=P(4);return x(d.component.retentionSettings=c)})("validChange",function(c){w(b);P(4).retentionIsValid=c;return x()});J()()()}a&2&&(a=P(4),sg("bv2-edit-resource-readonly",
!a.isAdmin()),B(8),E("href",yu(),vf),B(3),E("issueRetentionDisabled",a.isAccessEditDisabled())("isExternal",a.isExternal())("componentPathInfo",a.component.componentPathInfo)("componentId",a.component.componentId)("initialModel",a.component.retentionSettings))},hVb=function(a){if(a&1){var b=v();I(0,"div",84)(1,"b-component-team-picker",85);M("modelChange",function(c){w(b);var d=P(5);d.component.team=c;d.componentTeam$.next(d.component.team);d.component.slo.inherit&&gVb(d);return x()});J()()}a&2&&
(a=P(5),B(),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))},iVb=function(a){a&1&&(I(0,"div",82)(1,"label",83)(2,"span",41),Q(3,"Team Configuration"),J()(),D(4,hVb,2,6,"div",84),J());a&2&&(a=P(4),sg("bv2-edit-resource-readonly",!a.isAdmin()),B(4),G(a.component.team?4:-1))},jVb=function(a){a&1&&(I(0,"a",95),
Q(1),J());if(a&2){var b;a=P();var c=P(5);E("routerLinkObj",c.getSloManagementLink(a.id));B();R(" ",(b=a.slo==null?null:a.slo.name)!==null&&b!==void 0?b:a.id," ")}},kVb=function(a){a&1&&Q(0," None ")},lVb=function(a,b){a&1&&(I(0,"div",90),Q(1," Inherited SLO Policy: "),D(2,jVb,2,2,"a",95)(3,kVb,1,0),J());a&2&&(B(2),G(b.id!=="0"?2:3))},mVb=function(a){a&1&&(I(0,"a",96),Q(1),S(2,"titlecase"),J());a&2&&(a=P(),E("routerLinkObj",a.link),B(),Zg(" (",U(2,3,a.type),") ",a.name," "))},nVb=function(a){a&1&&
Q(0," None ")},oVb=function(a){a&1&&(I(0,"div",98),K(1,"slo-inheritance-breadcrumbs",99),J());a&2&&(a=P(),B(),E("componentPath",a.componentPath)("teamPath",a.teamPath))},pVb=function(a){a&1&&D(0,oVb,2,2,"div",98);a&2&&(a=P(6),G(a.showSloInheritancePath?0:-1))},qVb=function(a,b){if(a&1){var c=v();I(0,"div",91);Q(1," Policy Source: ");D(2,mVb,3,5,"a",96)(3,nVb,1,0);I(4,"button",97);M("click",function(){w(c);var e=P(5);return x(e.showSloInheritancePath=!e.showSloInheritancePath)});Q(5);J();D(6,pVb,1,
1);S(7,"async");J()}if(a&2){var d;a=P(5);B(2);G(b.link?2:3);B(2);jg("aria-expanded",a.showSloInheritancePath);B();R(" ",a.showSloInheritancePath?"Hide":"Show"," full path ");B();G((d=U(7,4,a.policySourcePath$))?6:-1,d)}},rVb=function(a){a&1&&(Q(0," , "),I(1,"a",100),Q(2,"Team Leads"),J());a&2&&(a=P(6),B(),E("routerLinkObj",{path:"/teams/"+a.component.team.id+"/edit",fragment:a.tabsService.Tab.ACCESS}))},sVb=function(a){a&1&&(I(0,"div",92),Q(1," SLO Admins: "),I(2,"a",100),Q(3,"Component Admins"),
J(),D(4,rVb,3,1),J());a&2&&(a=P(5),B(2),E("routerLinkObj",a.componentPermissions(a.componentId)),B(2),G(a.component.team&&a.component.team.id!=="0"?4:-1))},tVb=function(a){a&1&&(K(0,"mat-icon",101),Q(1," on "))},uVb=function(a){a&1&&(K(0,"mat-icon",102),Q(1," off "))},vVb=function(a){a&1&&(Q(0," Lock: "),D(1,tVb,2,0),S(2,"async"),D(3,uVb,2,0));a&2&&(a=P(5),B(),G(U(2,1,a.sloLocked$)?1:3))},xVb=function(a){if(a&1){var b=v();I(0,"div",94)(1,"mat-checkbox",103);M("change",function(c){w(b);var d=P(5);
c=c.checked;d.component.slo.inherit=!c;c||gVb(d);return x()});I(2,"span");Q(3,"Override the inherited SLO policy");J()()()}a&2&&(a=P(5),B(),E("checked",!a.component.slo.inherit)("disabled",!wVb(a)))},zVb=function(a){if(a&1){var b=v();I(0,"div",104)(1,"label",110);Q(2," Justification ");J();K(3,"mat-icon",111);I(4,"textarea",112);bh("ngModelChange",function(c){w(b);var d=P(6);ah(d.component.slo.comment,c)||(d.component.slo.comment=c);return x(c)});J()()}a&2&&(a=P(6),B(4),$g("ngModel",a.component.slo.comment),
E("disabled",!yVb(a)))},AVb=function(a){a&1&&(I(0,"a",109),K(1,"mat-icon",113),J());a&2&&(a=P(6),Lg("target",a.hasUnsavedChanges()?"_blank":"_self"),E("routerLinkObj",a.getSloManagementLink(a.component.slo.id)))},EVb=function(a){if(a&1){var b=v();D(0,zVb,5,2,"div",104);I(1,"mat-slide-toggle",105);bh("ngModelChange",function(c){w(b);var d=P(5);ah(d.isEnableSloChecked,c)||(d.isEnableSloChecked=c);return x(c)});M("change",function(c){w(b);var d=P(5);c=c.checked;d.isEnableSloChecked=c;c||(d.component.slo.id=
"0");return x()});Q(2," Enable SLO ");J();I(3,"div",106)(4,"label",107);Q(5,"SLO policy");J();I(6,"slo-picker",108);M("onSloSelect",function(c){w(b);var d=P(5);return x(d.onSloChange(c))});J();D(7,AVb,2,2,"a",109);J()}a&2&&(a=P(5),G(BVb(a)?0:-1),B(),sg("indented",CVb(a)),$g("ngModel",a.isEnableSloChecked),E("disabled",!DVb(a)),B(5),E("bv2Disabled",!a.isEnableSloChecked||!DVb(a))("boundId",a.component.slo.id)("bv2Placeholder",a.isEnableSloChecked&&DVb(a)?"Type to search for an SLO":"SLO disabled"),
B(),G(a.component.slo.id&&a.component.slo.id!=="0"?7:-1))},FVb=function(a){a&1&&(I(0,"div",86)(1,"div",44)(2,"label",87)(3,"span",41),Q(4,"SLO Configuration"),J()(),I(5,"span",46)(6,"div",88)(7,"strong"),Q(8,"Careful!"),J(),Q(9," Changing the SLO (service level objective) of a component has the potential to impact the Buganizer SLO compliance status of every issue under that component. "),I(10,"div",48),K(11,"div",49)(12,"div",50),J()()()(),I(13,"div",89),D(14,lVb,4,1,"div",90),S(15,"async"),D(16,
qVb,8,6,"div",91),S(17,"async"),D(18,sVb,5,2,"div",92),I(19,"div",93),D(20,vVb,4,3),J()(),D(21,xVb,4,2,"div",94)(22,EVb,8,9),J());if(a&2){var b,c;a=P(4);sg("bv2-edit-resource-readonly",!yVb(a));B(14);G((b=U(15,8,a.inheritedSlo$))?14:-1,b);B(2);G((c=U(17,10,a.sloPolicySource$))?16:-1,c);B(2);G(a.sessionIsInternal?18:-1);B(2);G(a.enableSloLockingUi?20:-1);B();G(CVb(a)?21:-1);B();a.component&&a.component.slo?(b=!!a.component.team&&a.component.team.id!=="0",c=!a.component.slo.inherit,a=a.component.parentComponentId===
0&&!b||c):a=!1;G(a?22:-1)}},GVb=function(a){if(a&1){var b=v();I(0,"mat-slide-toggle",114);M("change",function(c){w(b);P(4).component.spamProtection=c.checked?"ALL_PROTECTIONS":"NO_PROTECTIONS";return x()});Q(1," Enable Spam Protections ");J()}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()))},HVb=function(a){if(a&
1){var b=v();I(0,"div",69)(1,"b-button",115);M("onAction",function(){w(b);var c=P(4);return x(c.saveMetadata())});Q(2," Update ");J();I(3,"b-button",116);M("onAction",function(){w(b);var c=P(4);return x(c.revertMetadataChanges())});Q(4," Revert Changes ");J();I(5,"b-button",116);M("onAction",function(){w(b);var c=P(4);return x(c.createChild())});Q(6," Create Child Component ");J()()}a&2&&(a=P(4),B(),E("disabled",a.isSaving()||!a.hasUnsavedMetadataChanges()),B(2),E("disabled",a.isSaving()||!a.hasUnsavedMetadataChanges()),
B(2),E("disabled",a.hasUnsavedMetadataChanges()))},IVb=function(a){if(a&1){var b=v();I(0,"b-button",117);M("onAction",function(){w(b);var c=P(4);return x(c.showUpdateHistoryModal())});Q(1," View History ");J()}},JVb=function(a){a&1&&K(0,"b-spinner")},KVb=function(a){if(a&1){var b=v();I(0,"b-component-children-list",118);M("onVisit",function(){w(b);var c=P(4);return x(c.trackClick("openChildComponent"))});J()}a&2&&(a=P(4),E("children",a.childComponents))},LVb=function(a){a&1&&(I(0,"span"),Q(1," No child components. "),
J())},NVb=function(a){if(a&1){var b=v();I(0,"div",36)(1,"form",37,7);K(3,"b-error-banner",38);I(4,"div",39)(5,"label",40)(6,"span",41);Q(7,"Name");J()();I(8,"input",42);bh("ngModelChange",function(c){w(b);var d=P(3);ah(d.component.name,c)||(d.component.name=c);return x(c)});J()();I(9,"div",43)(10,"div",44)(11,"label",45)(12,"span",41);Q(13,"Description");J()();I(14,"span",46)(15,"div",47);Q(16," The description will be used during component searches. You can add previous project names or keywords that will help users search for your component. ");
I(17,"div",48);K(18,"div",49)(19,"div",50);J()()()();I(20,"textarea",51);bh("ngModelChange",function(c){w(b);var d=P(3);ah(d.component.description,c)||(d.component.description=c);return x(c)});Q(21,"                ");J()();D(22,dVb,14,5,"div",52);I(23,"div",53)(24,"div",54)(25,"mat-checkbox",55);M("change",function(c){w(b);var d=P(3);return x(d.setCommentEditState(c.checked))});J()();I(26,"div")(27,"strong",56);Q(28,"Editable Comments");J();I(29,"div",57);Q(30," When checked, users with comment access can modify their own issue comments, and editors can modify the first issue comment. ");
K(31,"br");D(32,eVb,2,1,"a",58);J()()();D(33,fVb,12,8,"div",59)(34,iVb,5,3,"div",60)(35,FVb,23,12,"div",61);I(36,"div",62)(37,"div",44)(38,"label",63)(39,"span",41);Q(40,"Component Alias");J()();I(41,"span",46)(42,"div",64);Q(43," You can create a new issue in this component by sending an email to this alias. ");K(44,"br");I(45,"a",65);Q(46," Learn more ");J();I(47,"div",48);K(48,"div",49)(49,"div",50);J()()()();I(50,"div")(51,"a",66);Q(52);J()()();D(53,GVb,2,2,"mat-slide-toggle",67);I(54,"div",68);
D(55,HVb,7,3,"div",69);I(56,"div",69);D(57,IVb,2,0,"b-button",70);J()();I(58,"div",71)(59,"label")(60,"span",41);Q(61,"Child Components");J()();D(62,JVb,1,0,"b-spinner")(63,KVb,1,1,"b-component-children-list",72)(64,LVb,2,0,"span");J()()()}a&2&&(a=P(3),B(),sg("show-errors",a.error),B(2),E("error",a.error),B(),sg("bv2-edit-resource-readonly",MVb(a)),B(4),$g("ngModel",a.component.name),E("disabled",MVb(a)),B(),sg("bv2-edit-resource-readonly",MVb(a)),B(11),$g("ngModel",a.component.description),E("disabled",
MVb(a)),B(2),G(a.isAdmin()?22:-1),B(),sg("bv2-edit-resource-readonly",a.isAccessEditDisabled()),B(2),E("checked",a.commentEditsEnabled)("disabled",MVb(a)),B(7),G(a.sessionIsExternal?-1:32),B(),G(a.sessionIsExternal?-1:33),B(),G(a.sessionIsInternal?34:-1),B(),G(a.component.slo&&a.sessionIsInternal?35:-1),B(10),E("href",a.documentationLinks.baseDocumentationUrl+"/guides/create-issue-email",vf),B(6),Kg("href","mailto:",a.component.emailAlias,"",vf),jg("aria-label","Component Alias -"+a.component.emailAlias),
B(),Yg(a.component.emailAlias),B(),G(a.sessionIsInternal&&a.getComponentAccessLevel()==="EXTERNAL_PUBLIC"?53:-1),B(2),G(a.isEditorInternal||yVb(a)?55:-1),B(2),G(a.componentHistoryUiEnabled?57:-1),B(5),G(a.childComponents===void 0?62:-1),B(),G(a.childComponents&&a.childComponents.length>0?63:-1),B(),G(a.childComponents&&a.childComponents.length===0?64:-1))},OVb=function(a){a&1&&(I(0,"div",119),Q(1," Standard Fields "),J())},QVb=function(a){if(a&1){var b=v();I(0,"b-component-standard-fields",123);M("updateComponent",
function(c){w(b);var d=P(4);return x(PVb(d,c))});J()}a&2&&(a=P(4),E("effortSpec",a.component.effortSpec)("parentEffortSpec",a.parentComponent==null?null:a.parentComponent.effortSpec)("disabled",!a.isEditorInternal))},RVb=function(a){a&1&&(I(0,"div",121),Q(1," Custom Fields "),J())},TVb=function(a){a&1&&(D(0,OVb,2,0,"div",119)(1,QVb,1,3,"b-component-standard-fields",120)(2,RVb,2,0,"div",121),K(3,"b-component-custom-fields",122));a&2&&(a=P(3),G(SVb(a)?0:-1),B(),G(SVb(a)?1:-1),B(),G(SVb(a)?2:-1),B(),
E("editMode",a.isEditorInternal)("isSaving",a.isSaving())("component",a.component)("parentComponent",a.parentComponent))},VVb=function(a){a&1&&(I(0,"a",125),Q(1," Learn more "),J());a&2&&(P(4),E("href",UVb(),vf))},XVb=function(a){if(a&1){var b=v();I(0,"div",36)(1,"div",124);Q(2," Field ordering will be applied to all issues and templates in this component, including the right panel on the Issue Detail page. ");D(3,VVb,2,1,"a",125);J();I(4,"b-field-reorder",126);M("onReload",function(){w(b);var c=
P(3);return x(WVb(c))});J()()}a&2&&(a=P(3),B(3),G(a.sessionIsInternal?3:-1),B(),E("fields",a.effectiveCustomFields)("componentId",a.componentId)("fieldOrdering",a.component.fieldOrdering)("isAdmin",a.isAdmin()))},YVb=function(a){a&1&&K(0,"b-edit-templates",127);a&2&&(a=P(4),E("componentId",a.componentId)("supportCustomFields",!0))},ZVb=function(a){a&1&&(I(0,"div"),Q(1),J());a&2&&(a=P().$implicit,B(),Yg(a.description))},$Vb=function(a,b){a&1&&(I(0,"div",128)(1,"label"),Q(2),J(),D(3,ZVb,2,1,"div"),
I(4,"div")(5,"a",66),Q(6),J()()());a&2&&(a=b.$implicit,B(2),Yg(a.name),B(),G(a.description?3:-1),B(2),E("href",a.url,vf),jg("aria-label","Click to open the template "+a.name),B(),Yg(a.url))},aWb=function(a){a&1&&yg(0,$Vb,7,5,"div",128,xg);a&2&&(a=P(4),zg(a.templates))},bWb=function(a){a&1&&(I(0,"div",36),D(1,YVb,1,2,"b-edit-templates",127)(2,aWb,2,0),J());a&2&&(a=P(3),B(),G(a.isEditorInternal?1:2))},dWb=function(a){if(a&1){var b=v();I(0,"role-based-permissions",129);M("onTabChange",function(c){w(b);
var d=P(3).tabsService;d.selectedAccessSubTabIndex=c;cWb(d);return x()});J()}a&2&&(a=P(3),E("tabIndex",a.tabsService.selectedAccessSubTabIndex))},eWb=function(a){if(a&1){var b=v();I(0,"div")(1,"div",21)(2,"h2");Q(3);J();D(4,XUb,2,0,"span",22);I(5,"a",23);M("click",function(){w(b);var l=P(2);return x(l.trackClick("recentIssues"))});Q(6," (Recent Issues)");J();K(7,"b-component-access-level-indicator",24)(8,"b-tracker-chip-smart",25);J();I(9,"div",26);K(10,"b-component-breadcrumb",27)(11,"div",28);J();
I(12,"mat-tab-group",29);M("selectedIndexChange",function(l){w(b);var q=P(2);return x(q.tabsService.tabChange(l))});I(13,"mat-tab",30);D(14,YUb,1,0,"ng-container",31);J();I(15,"mat-tab",32);D(16,ZUb,1,0,"ng-container",31);J();I(17,"mat-tab",33);D(18,$Ub,1,0,"ng-container",31);J();I(19,"mat-tab",34);D(20,aVb,1,0,"ng-container",31);J();I(21,"mat-tab",35);D(22,bVb,1,0,"ng-container",31);J()();D(23,NVb,65,31,"ng-template",null,2,ih)(25,TVb,4,7,"ng-template",null,3,ih)(27,XVb,5,5,"ng-template",null,4,
ih)(29,bWb,3,1,"ng-template",null,5,ih)(31,dWb,1,1,"ng-template",null,6,ih);J()}if(a&2){a=L(24);var c=L(26),d=L(28),e=L(30),f=L(32),h=P(2);B(3);Zg(" Component ",h.component.componentId,": ",h.currentName," ");B();G(h.isArchived()?4:-1);B();E("routerLinkObj",h.getRecentIssuesLink());B(2);E("accessLevel",h.getComponentAccessLevel());B();E("trackerId",h.component.trackerId);B(2);E("componentPathInfo",h.component.componentPathInfo)("isArchived",h.isArchived())("label","Parent Component");B(2);E("selectedIndex",
h.tabsService.selectedTabIndex);B();E("id",h.tabsService.Tab.BASIC);B();E("ngTemplateOutlet",a);B();E("id",h.tabsService.Tab.CUSTOM_FIELDS)("label",SVb(h)?"Fields":"Custom Fields");B();E("ngTemplateOutlet",c);B();E("id",h.tabsService.Tab.FIELD_ORDERING);B();E("ngTemplateOutlet",d);B();E("id",h.tabsService.Tab.TEMPLATES);B();E("ngTemplateOutlet",e);B();E("id",h.tabsService.Tab.ACCESS);B();E("ngTemplateOutlet",f)}},fWb=function(a){a&1&&(I(0,"span")(1,"p"),Q(2," Archiving a component causes it and its subcomponents and all issues in those components to be hidden from normal use."),
K(3,"br"),I(4,"a",134),Q(5," Learn more "),J()(),I(6,"p"),Q(7," If you no longer have a reason to retain the data stored in these components, please change the retention period as needed "),K(8,"br"),Q(9," so they can be scheduled for deletion. "),I(10,"a",135),Q(11," Learn more "),J()()());a&2&&(P(3),B(4),E("href","http://go/archived-components",vf),B(6),E("href",yu(),vf))},gWb=function(a){a&1&&(I(0,"span")(1,"p"),Q(2," Unarchiving a component will NOT cause its subcomponents to be unarchived."),
K(3,"br"),Q(4," If you need to recursively unarchive subcomponents please use the buganizer_admin tool. "),I(5,"a",136),Q(6," Learn more "),J()()());a&2&&(P(3),B(5),E("href","http://go/buganizer-admin",vf))},hWb=function(a,b){a&1&&(I(0,"span")(1,"span"),Q(2),J(),I(3,"span"),Q(4," : "),I(5,"b"),Q(6),J()(),K(7,"br"),J());a&2&&(a=b.$implicit,b=P(4),B(2),Yg(a.componentPath),B(),sg("b-archive-warning-indef",!a.retentionSettings.retentionPeriodDays),B(3),Yg(b.getRetentionPeriod(a)))},iWb=function(a){a&
1&&(I(0,"span"),yg(1,hWb,8,4,"span",null,xg),J());a&2&&(a=P(3),B(),zg(a.descendants))},jWb=function(a){a&1&&(I(0,"span")(1,"span"),Q(2),J()());a&2&&(a=P(3),B(2),Yg(a.descendants[0].componentPath))},kWb=function(a){if(a&1){var b=v();I(0,"h2",130);Q(1);J();I(2,"mat-dialog-content");D(3,fWb,12,2,"span")(4,gWb,7,1,"span");I(5,"p");Q(6," The following components will be affected: ");J();I(7,"div",131);D(8,iWb,3,0,"span")(9,jWb,3,1,"span");J()();I(10,"mat-dialog-actions")(11,"button",132);M("click",function(){w(b);
var c=P(2);c.archive();c.isArchiving=!1;return x()});Q(12," Yes ");J();I(13,"button",133);M("click",function(){w(b);P(2).isArchiving=!1;return x()});Q(14," No ");J()()}a&2&&(a=P(2),B(),Yg(a.component&&a.archiveAction?"Are you sure you want to "+a.archiveAction.toLowerCase()+' "'+a.component.name+'"'+(a.archiveAction==="Archive"?" and its subcomponents?":"?"):""),B(2),G(a.archiveAction==="Archive"?3:-1),B(),G(a.archiveAction==="Unarchive"?4:-1),B(4),G(a.archiveAction==="Archive"?8:-1),B(),G(a.archiveAction===
"Unarchive"?9:-1))},lWb=function(a){if(a&1){var b=v();I(0,"div",9)(1,"div",10)(2,"div",11)(3,"b-button",12);M("onAction",function(){w(b);var c=P();return x(c.back())});K(4,"b-icon",13);J();D(5,VUb,4,3);J()()();I(6,"div",14);D(7,WUb,2,0,"div",15)(8,eWb,33,21,"div");J();D(9,kWb,15,5,"ng-template",null,0,ih)}a&2&&(a=P(),B(5),G(a.component?5:-1),B(2),G(a.isLoading?7:-1),B(),G(!a.isLoading&&a.component&&a.component.componentId?8:-1))},mWb=function(a){a&1&&(I(0,"div",8),K(1,"b-tracker-redirect",137),J());
a&2&&(a=P(),B(),E("component",a.component))},nWb=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}},oWb=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}},pWb=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},qWb=function(a,b){a&1&&(I(0,"div",10),K(1,"b-team-breadcrumb",37),J());a&2&&(B(),E("teamPath",b))},rWb=function(a,b){a&1&&(Ag(0),Q(1),Bg());a&2&&(B(),Yg(b.trim()))},sWb=function(a){a&1&&Q(0," No description ")},tWb=function(a,b){a&1&&K(0,"b-multi-user-input",25);a&2&&(E("users",b),jg("disabled",!0))},
uWb=function(a){a&1&&(I(0,"p"),Q(1,"No child teams"),J())},vWb=function(a,b){a&1&&(K(0,"br"),I(1,"a",38),Q(2),J());a&2&&(a=b.$implicit,B(),Kg("routerLink","/teams/",a.id,"/edit"),B(),Yg(a.name))},wWb=function(a){a&1&&yg(0,vWb,3,3,null,null,xg);a&2&&(a=P(),zg(a))},xWb=function(a,b){a&1&&D(0,uWb,2,0,"p")(1,wWb,2,0);a&2&&G(b.length===0?0:1)},yWb=function(a){a&1&&(I(0,"a",39),Q(1),J());if(a&2){var b;a=P();E("routerLinkObj",a.link);B();R(" ",(b=a.slo==null?null:a.slo.name)!==null&&b!==void 0?b:a.id," ")}},
zWb=function(a){a&1&&Q(0," None ")},AWb=function(a,b){a&1&&(I(0,"div",29),Q(1," Inherited SLO Policy: "),D(2,yWb,2,2,"a",39)(3,zWb,1,0),J());a&2&&(B(2),G(b.link?2:3))},BWb=function(a,b){a&1&&(I(0,"a",31),Q(1),J());a&2&&(E("routerLinkObj",b.link),B(),R(" ",b.name," "))},CWb=function(a){a&1&&Q(0," None ")},DWb=function(a){a&1&&(K(0,"mat-icon",40),Q(1," on "))},EWb=function(a){a&1&&(K(0,"mat-icon",41),Q(1," off "))},FWb=function(a){a&1&&(Q(0," Lock: "),D(1,DWb,2,0)(2,EWb,2,0));a&2&&(a=P(2),B(),G(a.originalSloLock?
1:2))},GWb=function(a){if(a&1){var b=v();I(0,"div",42)(1,"mat-checkbox",43);M("change",function(c){w(b);var d=P(3);d.isSloInheritEnabled=!c.checked;d.isSloInheritEnabled&&(d.sloId=d.parentTeam.slo.sloId);return x()});I(2,"span");Q(3,"Override the inherited SLO");J()()()}a&2&&(a=P(3),B(),E("disabled",!a.hasSloEditAccess)("checked",!a.isSloInheritEnabled))},HWb=function(a){if(a&1){var b=v();I(0,"div",44)(1,"label",48);Q(2," Justification to override the org SLO ");J();K(3,"mat-icon",49);I(4,"textarea",
50);S(5,"async");M("ngModelChange",function(c){w(b);var d=P(4);return x(d.sloJustification$.next(c))});J()()}a&2&&(a=P(4),B(3),E("matTooltip",a.justificationRequiredText),jg("aria-label",a.justificationRequiredText),B(),E("ngModel",U(5,4,a.sloJustification$))("disabled",!a.hasSloEditAccess))},IWb=function(a,b){a&1&&(I(0,"a",47),S(1,"async"),K(2,"mat-icon",9),J());a&2&&(a=P(4),Lg("target",U(1,2,a.hasUnsavedChanges$)?"_blank":"_self"),E("routerLinkObj",b))},JWb=function(a){if(a&1){var b=v();D(0,HWb,
6,6,"div",44);I(1,"div",14)(2,"mat-slide-toggle",45);bh("ngModelChange",function(e){w(b);var f=P(3);ah(f.enableSloChecked,e)||(f.enableSloChecked=e);return x(e)});M("change",function(e){w(b);var f=P(3);return x(f.enableSloChecked=e.checked)});Q(3," Enable SLO ");J();I(4,"slo-picker",46);M("onSloSelect",function(e){w(b);var f=P(3);return x(f.onSloChange(e))});J();D(5,IWb,3,4,"a",47);S(6,"async");J()}if(a&2){var c;a=P();var d=P(2);G(a.value?-1:0);B(2);sg("indented",!a.value);$g("ngModel",d.enableSloChecked);
E("disabled",!d.hasSloEditAccess);B(2);E("boundId",d.sloId)("bv2Disabled",!d.hasSloEditAccess||!d.enableSloChecked||d.isSloInheritEnabled)("bv2Placeholder",d.enableSloChecked?"Type to search for an SLO":"SLO disabled");B();G((c=U(6,9,d.sloPickerLink$))?5:-1,c)}},KWb=function(a,b){a&1&&D(0,GWb,4,2,"div",42)(1,JWb,7,11);a&2&&(a=P(2),G(b.value?-1:0),B(),G(a.isSloInheritEnabled?-1:1))},LWb=function(a){if(a&1){var b=v();I(0,"div",14)(1,"mat-checkbox",51);M("change",function(c){w(b);var d=P(2);return x(d.sloLocked=
c.checked)});I(2,"span");Q(3,"Lock for all child teams");J()()()}a&2&&(a=P(2),B(),E("checked",a.sloLocked)("disabled",!a.canEditSloLock))},NWb=function(a){if(a&1){var b=v();I(0,"div",14)(1,"mat-checkbox",53);M("change",function(c){w(b);var d=P(3);d.isOwnerInheritEnabled=!c.checked;d.isOwnerInheritEnabled&&MWb(d);return x()});I(2,"span");Q(3,"Override the inherited owner");J()()()}a&2&&(a=P(3),B(),E("checked",!a.isOwnerInheritEnabled)("disabled",!a.hasSloEditAccess))},QWb=function(a,b){if(a&1){var c=
v();D(0,NWb,4,2,"div",14);I(1,"div",14)(2,"div")(3,"label");Q(4);J();I(5,"b-multi-user-input",52);M("usersChange",function(d){w(c);var e=P(2);d.length>1||(e.escalationOwner=d.length===1?d[0]:"");return x()})("isValid",function(d){w(c);var e=P(2);return x(e.isEscalationOwnerValid=d)});J()()()}a&2&&(a=P(2),G(b.value?-1:0),B(4),Yg(a.isOwnerInheritEnabled&&!b.value?"Inherited owner":"Owner"),B(),E("users",a.escalationOwner?eh(7,OWb,a.escalationOwner):dh(9,PWb))("customValidators",a.escalationOwnerUserValidators)("detailedUserValidators",
a.escalationOwnerGooglerValidators)("maxUserAllowed",1),jg("disabled",a.isOwnerInheritEnabled||!a.hasSloEditAccess?!0:null))},TWb=function(a){if(a&1){var b=v();I(0,"div",34)(1,"div",54)(2,"button",55);S(3,"async");M("click",function(){w(b);var c=P(),d=P();return x(RWb(d,c))});Q(4," Update ");J();I(5,"button",56);S(6,"async");M("click",function(){w(b);var c=P(2);return x(SWb(c))});Q(7," Revert changes ");J()()()}a&2&&(a=P(2),B(2),E("disabled",!U(3,2,a.hasUnsavedChanges$)),B(3),E("disabled",!U(6,4,
a.hasUnsavedChanges$)))},UWb=function(a){a&1&&(I(0,"p"),Q(1,"No mapped components"),J())},VWb=function(a,b){a&1&&(I(0,"ul")(1,"li")(2,"a",38),Q(3),J()()());a&2&&(a=b.$implicit,B(2),Kg("routerLink","/components/",a.componentId,"/edit"),B(),R(" ",a.name," "))},WWb=function(a){a&1&&(yg(0,VWb,4,3,"ul",null,xg),S(2,"async"));a&2&&(a=P(3),zg(U(2,0,a.associatedComponents$)))},XWb=function(a,b){a&1&&D(0,UWb,2,0,"p")(1,WWb,3,2);a&2&&G(b.length===0?0:1)},YWb=function(a){a&1&&(I(0,"th",67)(1,"span",68),Q(2,
"Starred"),J()())},ZWb=function(a,b){if(a&1){var c=v();I(0,"td",69)(1,"b-star-toggle",70);M("starClicked",function(){var f=w(c).$implicit,h=P(),l=P(2),q=P();return x(q.toggleStar(f.id,l.teamId,h))});J()()}if(a&2){a=b.$implicit;b=P();var d=P(2),e=P();B();E("starred",e.isTriageStarred(a.id,d.teamId,b))("starMessage","Star this triage view")("unStarMessage","Un-star this triage view")}},$Wb=function(a){a&1&&(I(0,"th",67),Q(1,"Name"),J())},aXb=function(a,b){a&1&&(I(0,"td",71)(1,"a",72),Q(2),J()());if(a&
2){a=b.$implicit;b=P(3);var c=P();B();E("href",c.getTriageLink(a.id,b.teamId),vf);B();R(" ",a.displayName||b.name+" triage"," ")}},bXb=function(a){a&1&&(I(0,"th",67)(1,"span",68),Q(2,"Actions"),J()())},cXb=function(a){a&1&&K(0,"div",76)},eXb=function(a){if(a&1){var b=v();I(0,"button",78);M("click",function(){w(b);var c=P().$implicit,d=P(4);return x(dXb(d,c))});K(1,"mat-icon",79);J()}a&2&&(a=P(5),E("disabled",!a.hasTeamEditAccess))},gXb=function(a,b){if(a&1){var c=v();I(0,"td",69)(1,"div",73)(2,"button",
74);M("click",function(){var d=w(c).$implicit,e=P(3),f=P();return x(fXb(f,d.id,e))});K(3,"mat-icon",75);J();D(4,cXb,1,0,"div",76)(5,eXb,2,1,"button",77);J()()}a&2&&(a=b.$implicit,b=P(4),B(2),E("disabled",!b.hasTeamEditAccess),B(2),G(a.id===0?4:5))},hXb=function(a){a&1&&K(0,"tr",80)},iXb=function(a){a&1&&K(0,"tr",81)},kXb=function(a){if(a&1){var b=v();I(0,"h3");Q(1,"Triage views");J();I(2,"table",57);Ag(3,58);D(4,YWb,3,0,"th",59)(5,ZWb,2,3,"td",60);Bg();Ag(6,61);D(7,$Wb,2,0,"th",59)(8,aXb,3,2,"td",
62);Bg();Ag(9,63);D(10,bXb,3,0,"th",59)(11,gXb,6,2,"td",60);Bg();D(12,hXb,1,0,"tr",64)(13,iXb,1,0,"tr",65);J();I(14,"button",66);M("click",function(){w(b);var c=P(2),d=P();return x(jXb(d,c))});Q(15," Add new view ");J()}a&2&&(a=P(3),B(2),E("dataSource",a.teamExperiments.triage),B(10),E("matHeaderRowDef",a.tableColumns),B(),E("matRowDefColumns",a.tableColumns),B(),E("disabled",!a.hasTeamEditAccess))},lXb=function(a){a&1&&(I(0,"mat-tab",36)(1,"div",13),D(2,kXb,16,4),S(3,"async"),J()());if(a&2){var b;
a=P(2);E("id",a.Tab.TRIAGE);B(2);G((b=U(3,2,a.starredTriageViews$))?2:-1,b)}},nXb=function(a,b){if(a&1){var c=v();I(0,"div",7)(1,"h2");Q(2);I(3,"a",8);Q(4);K(5,"mat-icon",9);J()()();D(6,qWb,2,1,"div",10);S(7,"async");I(8,"mat-tab-group",11);bh("selectedIndexChange",function(H){w(c);var N=P();ah(N.selectedTabIndex,H)||(N.selectedTabIndex=H);return x(H)});M("selectedIndexChange",function(H){w(c);var N=P();return x(N.tabChange(H))});I(9,"mat-tab",12)(10,"div",13);Q(11," Team information on this page comes from ");
I(12,"a",8);Q(13," Team Graph ");K(14,"mat-icon",9);J();Q(15," and is view only. ");I(16,"div",14)(17,"div",15)(18,"label")(19,"span",16);Q(20,"Description");J()();I(21,"div",17);D(22,rWb,2,1,"ng-container")(23,sWb,1,0);J()()();I(24,"div",14)(25,"div",18)(26,"label",19)(27,"span",16);Q(28," Team admins ");J();I(29,"span",20)(30,"div",21);Q(31," Team admins are team leads from Team Graph. ");I(32,"div",22);K(33,"div",23)(34,"div",24);J()()()();D(35,tWb,1,2,"b-multi-user-input",25);S(36,"async");J()();
I(37,"div",14)(38,"div",15)(39,"label")(40,"span",16);Q(41,"Child team(s)");J()();D(42,xWb,2,1);S(43,"async");J()()()();I(44,"mat-tab",26)(45,"div",13)(46,"div",18)(47,"label",19)(48,"span",16);Q(49,"SLO configuration");J()();I(50,"span",20)(51,"div",27)(52,"strong");Q(53,"Careful!");J();Q(54," Changing the SLO (service level objective) of a component has the potential to impact the compliance status of every issue under this team's components. ");I(55,"div",22);K(56,"div",23)(57,"div",24);J()()()();
I(58,"div",28);D(59,AWb,4,1,"div",29);S(60,"async");I(61,"div",30);Q(62," Policy Source: ");D(63,BWb,2,2,"a",31);S(64,"async");D(65,CWb,1,0);J();I(66,"div",32);D(67,FWb,3,1);J()();K(68,"b-error-banner",33);D(69,KWb,2,2);S(70,"async");D(71,LWb,4,2,"div",14);I(72,"div",14)(73,"div",18)(74,"label",19)(75,"span",16);Q(76," Owner configuration ");J()();I(77,"span",20)(78,"div",21);Q(79," Single team lead receiving SLO reports of unassigned issues. ");I(80,"div",22);K(81,"div",23)(82,"div",24);J()()()()();
D(83,QWb,6,10);S(84,"async");D(85,TWb,8,6,"div",34);J()();I(86,"mat-tab",35)(87,"div",13)(88,"div",14)(89,"div",15)(90,"label")(91,"span",16);Q(92," Component(s) that have mapped to this team ");J()()();D(93,XWb,2,1);S(94,"async");J()()();D(95,lXb,4,4,"mat-tab",36);J()}if(a&2){var d,e,f,h,l,q,u,A,F;a=P();B(2);R(" Team ",b.teamId,": ");B();Kg("href","https://moma.corp.google.com/team/",b.teamId,"",vf);B();R(" ",b.name," ");B(2);G((d=U(7,24,a.teamPath$))?6:-1,d);B(2);$g("selectedIndex",a.selectedTabIndex);
B();E("id",a.Tab.BASIC);B(3);Kg("href","https://moma.corp.google.com/team/",b.teamId,"",vf);B(10);G((e=b.description)?22:23,e);B(13);G((f=U(36,26,a.adminsAndLeads$))?35:-1,f);B(7);G((h=U(43,28,a.childTeams$))?42:-1,h);B(2);E("id",a.Tab.SLO);B(15);G((l=U(60,30,a.inheritedSlo$))?59:-1,l);B(4);G((q=U(64,32,a.sloPolicySource$))?63:65,q);B(4);G(a.enableSloLockingUi?67:-1);B();E("error",a.error);B();G((u=eh(40,mXb,U(70,34,a.isRootTeam$)))?69:-1,u);B(2);G(a.enableSloLockingUi?71:-1);B(12);G((A=eh(42,mXb,
U(84,36,a.isRootTeam$)))?83:-1,A);B(2);G(a.hasSloEditAccess?85:-1);B();E("id",a.Tab.MAPPINGS);B(7);G((F=U(94,38,a.associatedComponents$))?93:-1,F);B(2);G(a.enableTeamScope?95:-1)}},oXb=function(a,b){a&1&&(I(0,"div",82),Q(1),J(),I(2,"div",83)(3,"button",84),Q(4," Cancel "),J(),I(5,"button",85),Q(6," Confirm "),J()());a&2&&(a=b.$implicit,B(),R(' Are you sure you want to delete this triage view: "',a.displayName,'"? '),B(2),E("mat-dialog-close",!1),B(2),E("mat-dialog-close",!0))},pXb=function(a){a&1&&
(I(0,"mat-error"),Q(1),J());a&2&&(a=P(),B(),Yg(a.validationErrorMessage))},qXb=function(a){a&1&&(I(0,"div",0)(1,"div",1),K(2,"mat-icon",2),Q(3),J(),I(4,"div",3),K(5,"mat-icon",4),I(6,"span")(7,"a",5),Q(8),J(),Q(9," \u00b7 "),K(10,"b-formatted-date-time",6),Q(11," \u2010 "),K(12,"b-formatted-date-time",6),J()()());if(a&2){a=P();B(3);R(" ",a.iteration.workspace.name," ");B(4);var b,c,d;var e=a.getBaseUrl()+"/workspaces/"+((b=a.iteration)==null?void 0:(c=b.workspace)==null?void 0:c.workspaceId)+"/iterations/"+
((d=a.iteration)==null?void 0:d.iterationId);E("href",e,vf);B();R(" ",a.iteration.name," ");B(2);E("paddingLeftPx",0)("timestamp",a.iteration.startTimestamp);B(2);E("paddingLeftPx",0)("timestamp",a.iteration.endTimestamp)}},rXb=function(a){a&1&&K(0,"iteration-card",4,1);if(a&2){a=L(1);var b=P(2);E("onedevIsHovercardReady",a.hovercardReady$)("iteration",b.iteration)}},sXb=function(a){if(a&1){var b=v();I(0,"div",2);M("onedevHovercardShown",function(){w(b);var c=P();return x(c.trackHoverEvent())})("click",
function(c){w(b);var d=P();c.stopPropagation();d.analytics.trackEvent("missionControl","click","iteration-chip");var e,f,h;c=d.iteration||d.iteration.workspace||d.iteration.iterationId?d.getBaseUrl()+"/workspaces/"+((e=d.iteration)==null?void 0:(f=e.workspace)==null?void 0:f.workspaceId)+"/iterations/"+((h=d.iteration)==null?void 0:h.iterationId):d.getBaseUrl();d.domSafe.openInNewTab(c);return x()});Q(1," Current ");J();I(2,"onedev-hovercard",null,0);D(4,rXb,2,2,"iteration-card",3);J()}a&2&&(a=L(3),
E("onedevHovercardTrigger",a))},zXb=function(a,b,c,d,e){return tXb(a).map(function(f){var h=f.task,l=uXb(f.signals,b,e);if(h&&l&&l.length!==0){var q,u,A,F,H,N,O=h.taskId,T=h.taskResourceType,ea=h.title,ka=vXb(l);f=wXb(f,l);if(h.issueResource){var oa=h.issueResource.priority;oa=oa==="P0"||oa==="P1"?oa:null}else oa=null;return{id:O,type:T,description:ea,lastAlertTimestamp:ka,signals:f,link:h.externalLink,icon:cya(h),priority:oa,accessLevel:(A=(q=h.issueResource)==null?void 0:q.accessLevel)!=null?A:
null,hotlistIds:h.issueResource?h.issueResource.hotlistIds:[],issueId:eJa(h.taskId).length===1?eJa(h.taskId)[0]:null,futureAvailability:xXb(l),reviewEstimate:yXb(l),lastMentionLink:((u=h.driveResource)==null?0:u.lastMentionLink)&&h.driveResource.lastMentionLink!==""?h.driveResource.lastMentionLink:void 0,isStaleTask:(F=h.isStaleTask)!=null?F:!1,snoozeUntilTimestamp:(H=h.snoozeUntilTimestamp)!=null?H:void 0,manualSignalTimestamp:(N=h.manualSignalTimestamp)!=null?N:void 0,iteration:c.get(h.taskId),
okrIds:d.get(h.taskId)}}}).filter(ik)},uXb=function(a,b,c){return AXb(a).filter(function(d){var e;if(e=d.signalStatus===b)e=d.driveAlert?c.driveSignals.includes(d.driveAlert.signal):d.changelistAlert?c.changelistSignals.includes(d.changelistAlert.signal):d.issueAlert?c.buganizerSignals.includes(d.issueAlert.signal):d.gerritAlert?c.gerritSignals.includes(d.gerritAlert.signal):!1;return e})},tXb=function(a){return a.results.map(function(b){var c=b.task,d,e;return((e=c==null?void 0:(d=c.snoozeUntilTimestamp)==
null?void 0:d.seconds)!=null?e:0)!==0?{task:c,signals:b.signals.map(function(f){return Object.assign({},f,{signalStatus:2})})}:b})},wXb=function(a,b){return 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})},AXb=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"})},vXb=function(a){return a.sort(function(b,c){var d,e;return((d=Ml(c.timestamp))!=null?d:0)-((e=Ml(b.timestamp))!=null?e:0)})[0].timestamp},
BXb=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}},CXb=function(a){var b=a[0],c=BXb(b);a=k(a);for(var d=a.next();!d.done;d=a.next())d=
d.value,BXb(d)<c&&(b=d,c=BXb(b));return b},xXb=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(ik)},yXb=function(a){return a.map(function(b){var c;return(c=b.changelistAlert)==null?void 0:c.reviewEstimate}).find(ik)},DXb=function(a){if(a&1){var b=v();I(0,"a",5);M("click",function(){w(b);P(2).analytics.trackEvent("mentionsCard","navigate","comment");return x()});Q(1," a comment ");J()}a&2&&(a=
P(2),E("href",a.lastMentionLink,vf))},EXb=function(a){a&1&&Q(0," a comment ")},FXb=function(a,b){a&1&&(I(0,"div",0)(1,"div",1)(2,"span"),K(3,"b-user-display",2),Q(4," mentioned you in "),D(5,DXb,2,1,"a",3)(6,EXb,1,0),J(),I(7,"span"),K(8,"b-formatted-date-time",4),J()(),I(9,"div"),Q(10),J()());a&2&&(a=P(),B(3),E("model",{emailAddress:b.authorDisplayName}),B(2),G(a.lastMentionLink?5:6),B(3),E("timestamp",b.lastModifiedTimestamp),B(2),Yg(b.content))},GXb=function(a,b){if(a&1){var c=v();I(0,"a",7);M("click",
function(){w(c);P(4).analytics.trackEvent("mentionsCard","navigate","commentNumber");return x()});Q(1);J()}a&2&&(a=P(4),E("routerLinkObj",a.getCommentNumberLink(a.issueId,b)),B(),R(" comment #",b," "))},IXb=function(a){if(a&1){var b=v();I(0,"div",9)(1,"span",10);Q(2," Was this 'Needs Response' alert accurate? ");J();I(3,"button",11);M("click",function(){w(b);var c=P(5);return x(c.trackThumbsUp())});K(4,"mat-icon",12);J();I(5,"button",13);M("click",function(){w(b);var c=P(5);return x(c.trackThumbsDown())});
K(6,"mat-icon",14);J()()}a&2&&(a=P(5),B(3),E("disabled",a.hasReacted),B(),E("ngClass",eh(4,HXb,a.thumbsUpClicked)),B(),E("disabled",a.hasReacted),B(),E("ngClass",eh(6,HXb,a.thumbsDownClicked)))},JXb=function(a,b){a&1&&(I(0,"div"),K(1,"b-note-container",8),D(2,IXb,7,8,"div",9),J());if(a&2){a=P(2).$implicit;var c=P(2);B();E("issueId",c.issueId)("note",b)("formattingMode",a.formattingMode);B();G(c.needsResponse&&!a.commentRedacted?2:-1)}},LXb=function(a){a&1&&(I(0,"div",1)(1,"div",2)(2,"span",3),K(3,
"b-user-display",4),I(4,"span"),Q(5," mentioned you in "),D(6,GXb,2,2,"a",5),J()(),I(7,"span"),K(8,"b-formatted-date-time",6),J()(),D(9,JXb,3,4,"div"),J());if(a&2){var b,c,d=P();a=d.$implicit;var e=d.$index;d=d.$count;var f=P(2);E("ngClass",eh(5,KXb,e!==d-1));B(3);E("model",a.lastCommentEditorUser);B(3);G((b=a.commentNumber)?6:-1,b);B(2);E("timestamp",a.commentLastModifiedAtDate);B();if(f.enableExternalMentionsFe||a.unlinkifiedComment){var h;b={commentNumber:(h=a.commentNumber)!=null?h:void 0,unlinkifiedComment:a.commentRedacted?
"Comment access restricted. Please reach out to the issue owner to view.":a.unlinkifiedComment,formattedComment:a.commentRedacted?void 0:a.formattedComment}}else b=null;G((c=b)?9:-1,c)}},MXb=function(a,b){a&1&&D(0,LXb,10,7,"div",1);a&2&&(a=b.$implicit,b=P(2),G(b.enableExternalMentionsFe||a.unlinkifiedComment!=null?0:-1))},OXb=function(a,b){a&1&&(I(0,"div",0),yg(1,MXb,1,1,null,null,NXb),I(3,"div"),Cg(4),J()());a&2&&(B(),zg(b))},PXb=function(a){return a===void 0||a===null?[]:Object.keys(a).filter(function(b){return a.hasOwnProperty(b)})},
QXb=function(a){a&1&&Cg(0)},SXb=function(a){a&1&&D(0,QXb,1,0,"ng-container",5);if(a&2){a=P().$implicit;P(2);var b=L(3);E("ngTemplateOutlet",b)("ngTemplateOutletContext",eh(2,RXb,a))}},TXb=function(a,b){a&1&&D(0,SXb,1,4,"ng-container");a&2&&(a=b.$implicit,b=P(2),G(b.SIGNAL_TO_DISPLAY_TEXT.has(a.type)?0:-1))},VXb=function(a){a&1&&(I(0,"div",4),yg(1,TXb,1,1,null,null,UXb),J());a&2&&(a=P(),B(),zg(a.signals))},WXb=function(a){a&1&&Cg(0)},YXb=function(a,b){a&1&&(I(0,"div",6),D(1,WXb,1,0,"ng-container",
5),I(2,"div",7),Q(3),J()());if(a&2){a=P(2);var c=L(3);B();E("ngTemplateOutlet",c)("ngTemplateOutletContext",eh(4,RXb,b));B();E("matTooltip",XXb(a.signals,b));B();R(" and ",a.signals.length-1," more ")}},ZXb=function(a){a&1&&D(0,YXb,4,6,"div",6);if(a&2){var b;a=P();G((b=a.getHighestPrioritySignal(a.signals))?0:-1,b)}},cYb=function(a,b){if(a&1){var c=v();I(0,"div",11,2);M("mouseenter",function(){var f=w(c).xapLet,h=L(1);return x(f?h.disabled=!0:null)})("mouseleave",function(){var f=w(c).xapLet,h=L(1);
return x(f?h.disabled=!1:null)});Q(2);J()}if(a&2){a=b.xapLet;b=P().signal;var d=L(2),e=P();vg("signal-chip type-button urgent-",e.getSignalUrgency(b),"");sg("keep-focus-ring",a);E("onedevHovercardActive",a)("onedevHovercardTrigger",d)("matTooltip",$Xb(e,b)||aYb(b)?'Press "Alt/Option + Right Arrow Key" to show comment':bYb.get(b.type));jg("tabindex",a?"0":"-1");B(2);R(" ",e.SIGNAL_TO_DISPLAY_TEXT.get(b.type)," ")}},eYb=function(a){a&1&&K(0,"mentioned-issue-comments-card",9,3);if(a&2){var b;a=L(1);
var c=P(2).signal,d=P();E("onedevIsHovercardReady",a.contentReady$)("issueId",d.issueId)("commentNumbers",(b=c.commentNumbers)!==null&&b!==void 0?b:dh(4,dYb))("needsResponse",c.type==="MENTIONED_NEEDS_RESPONSE")}},fYb=function(a){a&1&&D(0,eYb,2,5,"mentioned-issue-comments-card",12)},gYb=function(a){a&1&&K(0,"mentioned-drive-comments-card",10,3);if(a&2){a=L(1);var b=P(2).signal;E("onedevIsHovercardReady",a.contentReady$)("fileId",b.driveFileId)("commentId",b.driveCommentId)("lastMentionLink",b.driveCommentLink)}},
hYb=function(a){a&1&&D(0,gYb,2,4,"mentioned-drive-comments-card",13)},iYb=function(a,b){a&1&&(D(0,cYb,3,10,"div",8),I(1,"onedev-hovercard",null,1),D(3,fYb,1,0,"mentioned-issue-comments-card",9)(4,hYb,1,0,"mentioned-drive-comments-card",10),J());a&2&&(a=b.signal,b=P(),E("xapLet",$Xb(b,a)||aYb(a)),B(3),G($Xb(b,a)?3:-1),B(),G(aYb(a)?4:-1))},kYb=function(a,b){a&1&&(I(0,"div",3)(1,"div",5),Q(2),J(),I(3,"div")(4,"a",6),Q(5),J()()());a&2&&(P(3),B(2),R(" O ",jYb(b==null?null:b.priorityRating),""),B(2),E("href",
b==null?null:b.url,vf),B(),Yg(b==null?null:b.title))},lYb=function(a,b){a&1&&(I(0,"div",4)(1,"div",7),Q(2),J(),I(3,"div")(4,"a",6),Q(5),J()()());a&2&&(P(3),B(2),R(" KR ",jYb(b.priorityRating),""),B(2),E("href",b.url,vf),B(),R(" ",b==null?null:b.title,""))},oYb=function(a,b){a&1&&(I(0,"div",2),D(1,kYb,6,3,"div",3)(2,lYb,6,3,"div",4),J());if(a&2){var c,d;a=b.$implicit;b=P();P();B();G((c=mYb(b,a))?1:-1,c);B();G((d=nYb(b,a))?2:-1,d)}},pYb=function(a){a&1&&(I(0,"div",0)(1,"div",1),yg(2,oYb,3,2,"div",2,
xg),J()());a&2&&(a=P(),B(2),zg(a.okrIds))},qYb=function(a){a&1&&K(0,"okr-card",4,1);if(a&2){a=L(1);var b=P(2);E("onedevIsHovercardReady",a.hovercardReady$)("okrIds",b.okrIds)}},rYb=function(a){if(a&1){var b=v();I(0,"div",2);M("onedevHovercardShown",function(){w(b);var c=P();return x(c.trackHoverEvent())});Q(1,"OKR");J();I(2,"onedev-hovercard",null,0);D(4,qYb,2,2,"okr-card",3);J()}a&2&&(a=L(3),E("onedevHovercardTrigger",a))},sYb=function(a){a&1&&(I(0,"div",0)(1,"div",1)(2,"div",2)(3,"div"),Q(4," Your response time is longer than usual for similar items. Respond to unblock others ("),
I(5,"a",3),Q(6,"see more"),J(),Q(7,"). "),J()()()())},tYb=function(a){a&1&&K(0,"stale-task-card",5,1);if(a&2){a=L(1);var b=P();E("onedevIsHovercardReady",a.hovercardReady$)("taskId",b.taskId)}},uYb=function(a,b){if(a&1){var c=v();I(0,"button",5);M("click",function(d){var e=w(c).$implicit;P().onCheckboxChange(e);return x(d.stopPropagation())});I(1,"mat-checkbox",8);Q(2);J()()}a&2&&(a=b.$implicit,b=P(),B(),E("checked",b.currentSelectedSignals.has(a)),B(),R(" ",b.SIGNAL_TO_DISPLAY_TEXT.get(a)," "))},
xYb=function(a,b){if(a&1){var c=v();I(0,"mat-chip-option",1)(1,"span",2);Q(2);J();I(3,"signal-list-dropdown",3);M("changeFilteredSignals",function(e){w(c);var f=P().$implicit,h=P();return x(h.signalFilterChange(e,f))})("chipSelectionStateChanged",function(e){w(c);var f=P().$implicit;P().chipsSelected[f]=e;return x()});J()()}if(a&2){a=P().$implicit;var d=P();E("value",a)("selected",d.chipsSelected[a]);B();E("matTooltip",b.tooltipText);B();R(" ",b.displayName," ");B();E("signalFilterKeys",vYb(a))("selectedSignals",
wYb(d,a))("source",a)}},yYb=function(a,b){a&1&&D(0,xYb,4,7,"mat-chip-option",1);if(a&2){var c;a=b.$implicit;b=P();G((c=b.DEFINITIONS[a])?0:-1,c)}},zYb=function(a,b){a&1&&(I(0,"mat-chip-option",1)(1,"span",2),Q(2),J()());if(a&2){a=P().$implicit;var c=P();E("value",a)("selected",c.selectedSources.includes(a));B();E("matTooltip",b.tooltipText);B();R(" ",b.displayName," ")}},AYb=function(a,b){a&1&&D(0,zYb,3,4,"mat-chip-option",1);if(a&2){var c;a=b.$implicit;b=P();G((c=b.DEFINITIONS[a])?0:-1,c)}},BYb=
function(a,b){if(a&1){var c=v();I(0,"button",7);M("click",function(){var d=w(c).$implicit,e=P();d=d.numberOfDays;e.selectedTimeBoundary=d;e.change.emit(d);return x()});Q(1);J()}a&2&&(a=b.$implicit,b=P(),E("disabled",a.numberOfDays===b.selectedTimeBoundary),B(),R(" ",a.label," "))},CYb=function(a){if(a&1){var b=v();I(0,"button",4);M("click",function(){w(b);var c=P();c.unsnooze.emit();c.onOpen(!1);return x()});K(1,"mat-icon",12);Q(2,"Unsnooze now ");J()}},DYb=function(a){if(a&1){var b=v();I(0,"div",
13);M("clickOutside",function(){w(b);P().timePickerOpen=!1;return x()});I(1,"b-date-time-picker-content",14);M("cancelClicked",function(){w(b);P().timePickerOpen=!1;return x()})("dateTimeChange",function(c){w(b);P().currentPickerDateTime=c;return x()})("saveClicked",function(){w(b);var c=P(),d=c.currentPickerDateTime;d&&c.snooze.emit(d);c.timePickerOpen=!1;return x()});J()()}a&2&&(a=P(),B(),E("required",!0)("renderPanel",!0)("dateTime",a.currentPickerDateTime)("includeTimePicker",!0))},EYb=function(a){if(a&
1){var b=v();Ag(0);I(1,"div",1)(2,"span",2)(3,"a",3);M("click",function(){w(b);P().onChipClicked.emit();return x()});Q(4,"DMA");J()()();Bg()}a&2&&(a=P(),B(),E("matTooltip",a.DMA_TOOLTIP_TEXT))},FYb=function(a){a&1&&(I(0,"label",9),Q(1),J());a&2&&(a=P().$implicit,E("matTooltip",a.description),B(),Yg(a.label))},GYb=function(a){a&1&&(I(0,"mat-tab"),D(1,FYb,2,2,"ng-template",8),J())},HYb=function(a){if(a&1){var b=v();I(0,"mat-tab-group",7);M("selectedIndexChange",function(c){w(b);var d=P();return x(d.onTabIndexChange(c))});
yg(1,GYb,2,0,"mat-tab",null,xg);J()}a&2&&(a=P(),E("selectedIndex",0),B(),zg(a.tabData))},JYb=function(a,b){if(a&1){var c=v();I(0,"signal-filter-chips",12);M("changeFilteredSignals",function(d){w(c);var e=P(3),f=e.missionControlPrefs;f.prefs.needsAttentionBuganizerFilteredSignals=ujb(d.buganizerSignals);f.prefs.needsAttentionDriveFilteredSignals=yjb(d.driveSignals);f.prefs.needsAttentionGerritFilteredSignals=Ajb(d.gerritSignals);f.prefs.needsAttentionChangelistFilteredSignals=wjb(d.changelistSignals);
Ot(f,{needsAttentionBuganizerFilteredSignals:f.prefs.needsAttentionBuganizerFilteredSignals,needsAttentionDriveFilteredSignals:f.prefs.needsAttentionDriveFilteredSignals,needsAttentionGerritFilteredSignals:f.prefs.needsAttentionGerritFilteredSignals,needsAttentionChangelistFilteredSignals:f.prefs.needsAttentionChangelistFilteredSignals});f=[];d.buganizerSignals.length>0&&f.push("BUGANIZER");d.driveSignals.length>0&&f.push("DRIVE");d.changelistSignals.length>0&&f.push("CRITIQUE");d.gerritSignals.length>
0&&f.push("GERRIT");IYb(e.missionControlPrefs,f);return x()})("changeSourceFilter",function(d){w(c);var e=P(3);IYb(e.missionControlPrefs,d);return x()});J()}a&2&&(a=P(3),E("sourceFilterKeys",a.ALL_NEEDS_ATTENTION_SOURCE_FILTERS)("selectedSignals",b))},KYb=function(a){a&1&&(D(0,JYb,1,2,"signal-filter-chips",11),S(1,"async"));if(a&2){var b;a=P(2);G((b=U(1,1,a.filteredSignals$))?0:-1,b)}},LYb=function(a,b){if(a&1){var c=v();I(0,"source-filter-chips",14);M("change",function(d){w(c);var e=P(3);IYb(e.missionControlPrefs,
d);return x()});J()}a&2&&(a=P(3),E("sourceFilterKeys",a.ALL_NEEDS_ATTENTION_SOURCE_FILTERS)("selectedSources",b))},MYb=function(a){a&1&&(D(0,LYb,1,2,"source-filter-chips",13),S(1,"async"));if(a&2){var b;a=P(2);G((b=U(1,1,a.sources$))?0:-1,b)}},NYb=function(a){a&1&&(I(0,"span",10),Q(1,"Sources"),J(),D(2,KYb,2,3)(3,MYb,2,3));a&2&&(a=P(),B(2),G(a.enableSignalFiltering?2:3))},OYb=function(a,b){if(a&1){var c=v();I(0,"time-boundary-filter",15);M("change",function(d){w(c);var e=P().missionControlPrefs;e.prefs.needsAttentionDaysOld=
d;Ot(e,{needsAttentionDaysOld:d});return x()});J()}a&2&&E("selectedTimeBoundary",b)},PYb=function(a){if(a&1){var b=v();I(0,"div",5)(1,"button",16,0);M("taskAdded",function(){w(b);var c=P();return x(c.refreshTaskData())});Q(3," Add a task ");J()()}},QYb=function(a){a&1&&(I(0,"p",17),Q(1," No alerts "),J())},RYb=function(a){if(a&1){var b=v();I(0,"th",33)(1,"mat-checkbox",34);M("change",function(d){w(b);var e=P(2),f=P(2);return x(d?f.toggleAllRows(e):null)});J()()}if(a&2){a=P(2);var c=P(2);B();E("checked",
c.selection.hasValue()&&c.selection.selected.length===a.length)("indeterminate",c.selection.hasValue()&&c.selection.selected.length!==a.length)}},SYb=function(a,b){if(a&1){var c=v();I(0,"td",35)(1,"mat-checkbox",36);M("click",function(d){w(c);return x(d.stopPropagation())})("change",function(d){var e=w(c).$implicit,f=P(4);return x(d?f.selection.toggle(e.id):null)});J()()}a&2&&(a=b.$implicit,b=P(4),B(),E("checked",b.selection.isSelected(a.id)))},TYb=function(a){a&1&&(I(0,"th",33),Q(1),J());a&2&&(a=
P(4),B(),Yg(a.selection.hasValue()?"":"Source"))},UYb=function(a,b){a&1&&(I(0,"td",35),K(1,"mat-icon",37),J());a&2&&(a=b.$implicit,B(),vg("product-icon ",a.icon,""),E("matTooltip",a.type)("svgIcon",a.icon))},WYb=function(a){if(a&1){var b=v();I(0,"button",40);M("click",function(){w(b);var c=P(5);VYb(c,c.selection.selected);c.selection.clear();return x()});Q(1);J()}a&2&&(a=P(5),B(),Yg(tp(a.signalStatusFilter$)!==1?"Dismiss":"Un-dismiss"))},XYb=function(a){a&1&&(I(0,"span"),Q(1,"Description"),J())},
ZYb=function(a){if(a&1){var b=v();I(0,"button",41);Q(1);J();I(2,"snooze-menu",42,1);M("snooze",function(d){w(b);var e=P(5);YYb(e,e.selection.selected,d);e.selection.clear();return x()})("unsnooze",function(){w(b);var d=P(5);YYb(d,d.selection.selected);d.selection.clear();return x()});J()}if(a&2){a=L(3);var c=P(5);E("matMenuTriggerFor",a.menu);B();Yg(tp(c.signalStatusFilter$)!==2?"Snooze":"Snooze Options");B();E("isSnoozed",c.signalStatusFilter$.getValue()===c.SignalStatus.SNOOZED)}},bZb=function(a){if(a&
1){var b=v();I(0,"button",43);M("click",function(){w(b);var c=P(5);return x($Yb(c))});Q(1);J()}a&2&&(a=P(5),B(),Yg(aZb(a)?"Trigger manual signal":"Remove manual signal"))},cZb=function(a){a&1&&(I(0,"th",33),D(1,WYb,2,1,"button",38)(2,XYb,2,0,"span")(3,ZYb,4,3)(4,bZb,2,1,"button",39),J());a&2&&(a=P(4),B(),G(a.selection.hasValue()?1:2),B(2),G(a.enableSnoozedTasks&&a.selection.hasValue()?3:-1),B(),G(a.selection.hasValue()?4:-1))},dZb=function(a){a&1&&K(0,"b-issue-visibility-chip",46);if(a&2){a=P(2).$implicit;
var b=P(4);E("issueId",b.extractLastDigits(a.id))}},eZb=function(a){a&1&&K(0,"okr-chip",47);a&2&&(a=P(2).$implicit,E("okrIds",a.okrIds))},fZb=function(a){a&1&&K(0,"iteration-chip",48);a&2&&(a=P(2).$implicit,E("iteration",a.iteration))},gZb=function(a){a&1&&(I(0,"div",49),S(1,"futureAvailability"),K(2,"mat-icon",54),J());a&2&&(a=P(2).$implicit,E("matTooltip",U(1,1,a.futureAvailability)))},hZb=function(a){a&1&&(I(0,"div",50),Q(1),S(2,"number"),J());a&2&&(a=P(2).$implicit,B(),R(" <",hh(2,1,a.reviewEstimate.seconds/
60,"1.0-0"),"m "))},iZb=function(a){a&1&&K(0,"b-issue-priority-display",51);a&2&&(a=P(2).$implicit,E("issuePriority",a.priority))},jZb=function(a){if(a&1){var b=v();I(0,"div",44);D(1,dZb,1,1,"b-issue-visibility-chip",46)(2,eZb,1,1,"okr-chip",47)(3,fZb,1,1,"iteration-chip",48)(4,gZb,3,3,"div",49)(5,hZb,3,4,"div",50)(6,iZb,1,1,"b-issue-priority-display",51);I(7,"a",52);M("auxclick",function(){w(b);var d=P().$implicit,e=P(2),f=P(2);return x(f.sendClickAnalytics(d,e.slice(0,f.numDisplayedRows)))});Q(8);
J();I(9,"onedev-dma-chip",53);M("onChipClicked",function(){w(b);var d=P(5);return x(d.sendDmaAnalytics())});J()()}if(a&2){a=P().$implicit;var c=P(4);B();G(a.type===c.TaskResourceType.ISSUE?1:-1);B();G(c.enableOkrChip&&a.okrIds&&a.okrIds.length>0?2:-1);B();G(c.enableIterationChip&&a.iteration?3:-1);B();G(c.hasFutureAvailability(a)?4:-1);B();G(a.reviewEstimate&&a.reviewEstimate.seconds>=60?5:-1);B();G(a.priority?6:-1);B();E("href",a.type==="ISSUE"?"/issues/"+a.issueId:a.lastMentionLink?a.lastMentionLink:
a.link,vf);jg("target",a.type!==c.TaskResourceType.ISSUE?"_blank":null);B();R(" ",a.description," ");B();E("hotlistIds",a.hotlistIds)}},kZb=function(a){a&1&&(I(0,"span",45),Q(1,"No access to linked file"),J())},lZb=function(a,b){a&1&&(I(0,"td",35),D(1,jZb,10,10,"div",44)(2,kZb,2,0,"span",45),J());a&2&&(a=b.$implicit,B(),G(a.description&&a.description!==""?1:2))},mZb=function(a){a&1&&(I(0,"th",33),Q(1),J());a&2&&(a=P(4),B(),Yg(a.selection.hasValue()?"":"Most recent alert"))},nZb=function(a){if(a&1){var b=
v();I(0,"div")(1,"stale-task-indicator",55);M("click",function(){w(b);P();P(4).analytics.trackEvent("missionControl","click","stalenessChip-{{row.type}}");return x()});J()()}a&2&&(a=P().$implicit,B(),E("taskId",a.id)("lastAlertTimestamp",a.lastAlertTimestamp))},oZb=function(a){a&1&&K(0,"b-formatted-date-time",56);a&2&&(a=P(2).$implicit,E("timestamp",a.lastAlertTimestamp)("paddingLeftPx",6))},pZb=function(a){a&1&&D(0,oZb,1,2,"b-formatted-date-time",56);a&2&&(a=P().$implicit,G(a.lastAlertTimestamp?
0:-1))},qZb=function(a,b){a&1&&(I(0,"td",35),D(1,nZb,2,2,"div")(2,pZb,1,1),J());a&2&&(a=b.$implicit,b=P(4),B(),G(b.enableStaleTasks&&a.isStaleTask?1:2))},rZb=function(a){a&1&&(I(0,"th",33),Q(1),J());a&2&&(a=P(4),B(),R(" ",a.selection.hasValue()?"":"Alert"," "))},sZb=function(a,b){a&1&&(I(0,"td",35),K(1,"needs-attention-signals-cell",57),J());a&2&&(a=b.$implicit,B(),E("issueId",a.issueId)("signals",a.signals))},tZb=function(a){a&1&&(I(0,"th",33),Q(1),J());a&2&&(a=P(4),B(),Yg(a.selection.hasValue()?
"":"Action"))},uZb=function(a,b){a&1&&(I(0,"td",35)(1,"a",58),Q(2),J()());a&2&&(a=b.$implicit,b=P(4),B(2),R(" ",b.SIGNAL_TO_ACTION_TEXT.get(b.getHighestPrioritySignal(a.signals).type)," "))},vZb=function(a){a&1&&(I(0,"th",59),Q(1),J());a&2&&(a=P(4),B(),Yg(a.selection.hasValue()?"":a.signalStatusFilter$.getValue()!==a.SignalStatus.SNOOZED?"Options":"Snooze Until"))},xZb=function(a){a&1&&(I(0,"span",60),Q(1),J());a&2&&(a=P().$implicit,P(4),B(),R("",wZb(a)," "))},zZb=function(a){if(a&1){var b=v();I(0,
"button",66);M("click",function(d){w(b);return x(d.preventDefault())});K(1,"mat-icon",67);J();I(2,"snooze-menu",42,1);M("snooze",function(d){w(b);var e=P().$implicit,f=P(4);YYb(f,[e.id],d);return x()})("unsnooze",function(){w(b);var d=P().$implicit,e=P(4);YYb(e,[d.id]);return x()});J()}if(a&2){a=L(3);var c=P(5);E("ariaLabel",yZb(c))("matTooltip",yZb(c))("matMenuTriggerFor",a.menu);B(2);E("isSnoozed",c.signalStatusFilter$.getValue()===c.SignalStatus.SNOOZED)}},BZb=function(a,b){if(a&1){var c=v();I(0,
"td",35);D(1,xZb,2,1,"span",60);I(2,"div",61)(3,"button",62);M("click",function(d){var e=w(c).$implicit,f=P(4);d.preventDefault();return x(f.copyIdOrLink(e))});K(4,"mat-icon",63);J();I(5,"button",64);M("click",function(d){var e=w(c).$implicit,f=P(4);d.preventDefault();return x(f.dismissAlert(e))});K(6,"mat-icon",65);J();D(7,zZb,4,4);J()()}a&2&&(a=b.$implicit,b=P(4),B(),G(b.signalStatusFilter$.getValue()===b.SignalStatus.SNOOZED?1:-1),B(2),E("matTooltip",a.type===b.TaskResourceType.ISSUE?"Copy ID to clipboard":
"Copy link to clipboard"),jg("aria-label",a.type===b.TaskResourceType.ISSUE?"Copy ID to clipboard":"Copy link to clipboard"),B(2),E("ariaLabel",AZb(b))("matTooltip",AZb(b)),B(2),G(b.enableSnoozedTasks?7:-1))},CZb=function(a){a&1&&K(0,"tr",68)},DZb=function(a){if(a&1){var b=v();I(0,"tr",69);M("click",function(c){var d=w(b).$implicit,e=P(2),f=P(2);return x(f.navigateToResource(c,d,e.slice(0,f.numDisplayedRows)))});J()}},EZb=function(a){a&1&&(I(0,"tr",70)(1,"td",71),Q(2," No alerts found "),J()())},
FZb=function(a){a&1&&K(0,"mat-icon",73)},GZb=function(a){a&1&&K(0,"mat-icon",74)},HZb=function(a){if(a&1){var b=v();I(0,"button",72);M("click",function(){w(b);var d=P(2),e=P(2);return x(e.setNumDisplayedRows(d))});Q(1);D(2,FZb,1,0,"mat-icon",73)(3,GZb,1,0,"mat-icon",74);J()}if(a&2){a=P(2);var c=P(2);B();R(" ",a.length>c.numDisplayedRows?"Show more":"Show less"," ");B();G(a.length>c.numDisplayedRows?2:-1);B();G(a.length===c.numDisplayedRows?3:-1)}},IZb=function(a){a&1&&(I(0,"table",18),Ag(1,19),D(2,
RYb,2,2,"th",20)(3,SYb,2,1,"td",21),Bg(),Ag(4,22),D(5,TYb,2,1,"th",20)(6,UYb,2,5,"td",21),Bg(),Ag(7,23),D(8,cZb,5,3,"th",20)(9,lZb,3,1,"td",21),Bg(),Ag(10,24),D(11,mZb,2,1,"th",20)(12,qZb,3,1,"td",21),Bg(),Ag(13,25),D(14,rZb,2,1,"th",20)(15,sZb,2,2,"td",21),Bg(),Ag(16,26),D(17,tZb,2,1,"th",20)(18,uZb,3,1,"td",21),Bg(),Ag(19,27),D(20,vZb,2,1,"th",28)(21,BZb,8,6,"td",21),Bg(),D(22,CZb,1,0,"tr",29)(23,DZb,1,0,"tr",30)(24,EZb,3,0,"tr",31),J(),D(25,HZb,4,3,"button",32));if(a&2){a=P();var b=P(2);E("dataSource",
a.slice(0,b.numDisplayedRows));B(22);E("matHeaderRowDef",b.displayedColumns);B();E("matRowDefColumns",b.displayedColumns);B(2);G(a.length>b.DEFAULT_NUM_ROWS_DISPLAYED?25:-1)}},JZb=function(a,b){a&1&&D(0,QYb,2,0,"p",17)(1,IZb,26,4);a&2&&(G(b.length===0?0:-1),B(),G(b.length>0?1:-1))},KZb=function(a){a&1&&(D(0,JZb,2,2),S(1,"async"));if(a&2){var b;a=P();G((b=U(1,1,a.allNeedsAttention$))?0:-1,b)}},LZb=function(a){a&1&&(I(0,"div",6),K(1,"b-spinner",75),J());a&2&&(B(),E("ariaLabel","loading needs attention alerts"))},
MZb=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=Kj(a).filter(function(d){return!c.includes(d)}).sort();return[c.join(","),a.join(",")]},NZb=function(a,b){a&1&&(I(0,"div",6)(1,"span",8),Q(2),J()());a&2&&(B(2),Yg(b))},OZb=function(a){a&1&&(I(0,"div",7),K(1,"b-needs-attention-table",9),J());a&2&&(a=P(),B(),E("refreshTable",a.refreshData))},PZb=function(a,b){return{label:"Viewed",description:"Issues you recently viewed",
issues:a.watchMany({custom:"viewed",pageSize:50}).pipe(z(function(c){c=c.results;return b?c.filter(function(d){return d.trackerId===b}):c})),loading:!1}},QZb=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"},RZb=function(a){a&1&&(I(0,"label",11),Q(1),J());a&2&&(a=P().$implicit,E("matTooltip",a.description),B(),Yg(a.label))},SZb=function(a,b){if(a&1){var c=v();I(0,"source-filter-chips",
14);M("change",function(d){w(c);var e=P(5).prefsService;d=d.map(sjb);e.prefs.myTasksSources=d;Ot(e,{myTasksSources:d,isMyTasksSourcesConfigured:!0});return x()});J()}a&2&&(a=P(5),E("sourceFilterKeys",a.MY_TASK_FILTERS)("selectedSources",b))},TZb=function(a){a&1&&(I(0,"span",2),Q(1,"Sources"),J(),D(2,SZb,1,2,"source-filter-chips",13),S(3,"async"));if(a&2){var b;a=P(4);B(2);G((b=U(3,1,a.sources$))?2:-1,b)}},UZb=function(a,b){if(a&1){var c=v();I(0,"time-boundary-filter",15);M("change",function(d){w(c);
var e=P(4).prefsService;e.prefs.myTasksDaysOld=d;Ot(e,{myTasksDaysOld:d});return x()});J()}a&2&&E("selectedTimeBoundary",b)},VZb=function(a){a&1&&(I(0,"div",9),D(1,TZb,4,3)(2,UZb,1,1,"time-boundary-filter",12),S(3,"async"),J());if(a&2){var b;a=P(3);B();G(a.isInternalSession?1:-1);B();G((b=U(3,2,a.timeBoundary$))?2:-1,b)}},WZb=function(a,b){a&1&&K(0,"b-issues-table",16);a&2&&(a=P(4),E("issueIds",a.getIds(b))("tableColumns",a.tableColumns)("options",a.tableOptions))},XZb=function(a,b){a&1&&(I(0,"p",
18),Q(1),J());a&2&&(B(),R(" ",b.length===0?"Enable source filters to see tasks":"No tasks"," "))},YZb=function(a){a&1&&(D(0,XZb,2,1,"p",18),S(1,"async"));if(a&2){var b;a=P(5);G((b=U(1,1,a.sources$))?0:-1,b)}},ZZb=function(a){a&1&&(I(0,"th",36),Q(1,"Source"),J())},$Zb=function(a,b){a&1&&(I(0,"td",37),K(1,"mat-icon",38),J());a&2&&(a=b.$implicit,b=P(6),B(),vg("product-icon ",b.taskResourceTypeToIcon(a),""),E("matTooltip",a.taskResourceType)("svgIcon",b.taskResourceTypeToIcon(a)))},a_b=function(a){a&
1&&(I(0,"th",36),Q(1,"Description"),J())},b_b=function(a){a&1&&K(0,"b-issue-visibility-chip",40);a&2&&(a=P(2).$implicit,E("issueId",a.issueId)("compactMode",!0))},c_b=function(a){a&1&&K(0,"b-issue-priority-display",41);a&2&&(a=P(2).$implicit,E("issuePriority",a.issueResource.priority))},d_b=function(a){if(a&1){var b=v();I(0,"onedev-dma-chip",44);M("onChipClicked",function(){w(b);var c=P(8);return x(c.sendDmaAnalytics())});J()}a&2&&(a=P(2).$implicit,E("hotlistIds",a.issueResource.hotlistIds))},f_b=
function(a){if(a&1){var b=v();D(0,b_b,1,2,"b-issue-visibility-chip",40)(1,c_b,1,1,"b-issue-priority-display",41);I(2,"a",42);M("auxclick",function(){w(b);var d=P().$implicit,e=P(6);return x(e.sendClickAnalytics(d))});Q(3);J();D(4,d_b,1,1,"onedev-dma-chip",43)}if(a&2){a=P().$implicit;var c=P(6);G(a.issueId?0:-1);B();G(a.issueResource&&a.issueResource.priority&&e_b(a.issueResource.priority)?1:-1);B();E("href",a.taskResourceType===c.TaskResourceType.ISSUE?"/issues/"+c.extractLastDigits(a.taskId):a.externalLink,
vf);jg("target",a.taskResourceType!==c.TaskResourceType.ISSUE?"_blank":null);B();Yg(a.title);B();G(a.issueResource&&a.issueResource.hotlistIds?4:-1)}},g_b=function(a){a&1&&(I(0,"span",39),Q(1,"No access to linked file"),J())},h_b=function(a,b){a&1&&(I(0,"td",37),D(1,f_b,5,6)(2,g_b,2,0,"span",39),J());a&2&&(a=b.$implicit,B(),G(a.title&&a.title!==""?1:2))},i_b=function(a){a&1&&(I(0,"th",36),Q(1,"Last modified"),J())},j_b=function(a){a&1&&K(0,"b-formatted-date-time",45);a&2&&(a=P().$implicit,E("timestamp",
a.lastModifiedTimestamp)("paddingLeftPx",0))},k_b=function(a,b){a&1&&(I(0,"td",37),D(1,j_b,1,2,"b-formatted-date-time",45),J());a&2&&(a=b.$implicit,B(),G(a.lastModifiedTimestamp?1:-1))},l_b=function(a){a&1&&(I(0,"th",36),Q(1,"My role"),J())},m_b=function(a,b){a&1&&(I(0,"td",37),Q(1),J());a&2&&(a=b.$implicit,B(),Yg(a.resourceRelationships[0].roleName))},n_b=function(a){a&1&&(I(0,"th",36),Q(1,"Creation date"),J())},o_b=function(a){a&1&&K(0,"b-formatted-date-time",45);a&2&&(a=P().$implicit,E("timestamp",
a.createdTimestamp)("paddingLeftPx",0))},p_b=function(a){a&1&&Q(0," -- ")},q_b=function(a,b){a&1&&(I(0,"td",37),D(1,o_b,1,2,"b-formatted-date-time",45)(2,p_b,1,0),J());a&2&&(a=b.$implicit,B(),G(a.createdTimestamp?1:2))},r_b=function(a){a&1&&(I(0,"th",46),Q(1," Options "),J())},t_b=function(a,b){if(a&1){var c=v();I(0,"td",47)(1,"div",48)(2,"button",49);M("click",function(d){var e=w(c).$implicit,f=P(6);d.preventDefault();return x(s_b(f,e))});K(3,"mat-icon",50);J();I(4,"button",51);M("click",function(d){var e=
w(c).$implicit,f=P(6);d.preventDefault();return x(f.copyIdOrLink(e))});K(5,"mat-icon",52);J()()()}a&2&&(a=b.$implicit,b=P(6),B(2),E("disabled",b.isSavingManualSignal)("matTooltip","Trigger a needs attention alert on this task"),B(2),E("matTooltip",a.taskResourceType===b.TaskResourceType.ISSUE?"Copy ID to clipboard":"Copy link to clipboard"),jg("aria-label",a.taskResourceType===b.TaskResourceType.ISSUE?"Copy ID to clipboard":"Copy link to clipboard"))},u_b=function(a){a&1&&K(0,"tr",53)},v_b=function(a){if(a&
1){var b=v();I(0,"tr",54);M("click",function(c){var d=w(b).$implicit,e=P(6);return x(e.navigateToResource(c,d))});J()}},w_b=function(a){a&1&&K(0,"mat-icon",58)},x_b=function(a){a&1&&K(0,"mat-icon",59)},y_b=function(a){if(a&1){var b=v();I(0,"button",57);M("click",function(){w(b);var d=P(3),e=P(4);return x(e.setNumDisplayedRows(d))});Q(1);D(2,w_b,1,0,"mat-icon",58)(3,x_b,1,0,"mat-icon",59);J()}if(a&2){a=P(3);var c=P(4);B();R(" ",a.length>c.numDisplayedRows?"Show more":"Show less"," ");B();G(a.length>
c.numDisplayedRows?2:-1);B();G(a.length===c.numDisplayedRows?3:-1)}},z_b=function(a){a&1&&(I(0,"td",55),D(1,y_b,4,3,"button",56),J());if(a&2){a=P(2);var b=P(4);B();G(a.length>b.DEFAULT_NUM_ROWS_DISPLAYED?1:-1)}},A_b=function(a){a&1&&K(0,"tr",60);if(a&2){a=P(2);var b=P(4);E("hidden",!(a.length>b.DEFAULT_NUM_ROWS_DISPLAYED))}},B_b=function(a,b){a&1&&(I(0,"td",62),Q(1),J());a&2&&(B(),R(" ",b.length===0?"Enable source filters to see tasks":"No tasks found"," "))},C_b=function(a){a&1&&(I(0,"tr",61),D(1,
B_b,2,1,"td",62),S(2,"async"),J());if(a&2){var b;a=P(6);B();G((b=U(2,1,a.sources$))?1:-1,b)}},F_b=function(a){a&1&&(I(0,"table",19),Ag(1,20),D(2,ZZb,2,0,"th",21)(3,$Zb,2,5,"td",22),Bg(),Ag(4,23),D(5,a_b,2,0,"th",21)(6,h_b,3,1,"td",22),Bg(),Ag(7,24),D(8,i_b,2,0,"th",21)(9,k_b,2,1,"td",22),Bg(),Ag(10,25),D(11,l_b,2,0,"th",21)(12,m_b,2,1,"td",22),Bg(),Ag(13,26),D(14,n_b,2,0,"th",21)(15,q_b,3,1,"td",22),Bg(),Ag(16,27),D(17,r_b,2,0,"th",28)(18,t_b,6,4,"td",29),Bg(),D(19,u_b,1,0,"tr",30)(20,v_b,1,0,"tr",
31),Ag(21,32),D(22,z_b,2,1,"td",33),Bg(),D(23,A_b,1,1,"tr",34)(24,C_b,3,3,"tr",35),J());if(a&2){a=P();var b=P(2).$implicit,c=P(2);vg("table-",b.label,"");E("dataSource",a.slice(0,c.numDisplayedRows)||dh(7,D_b));B(19);E("matHeaderRowDef",c.displayColumns);B();E("matRowDefColumns",c.displayColumns);B(3);E("matFooterRowDef",dh(8,E_b))}},G_b=function(a,b){a&1&&D(0,YZb,2,3)(1,F_b,25,9,"table",17);a&2&&(G(b.length===0?0:-1),B(),G(b.length>0?1:-1))},H_b=function(a){a&1&&(D(0,WZb,1,3,"b-issues-table",16),
S(1,"async"),D(2,G_b,2,2),S(3,"async"));if(a&2){var b,c;a=P().$implicit;G((b=U(1,2,a.issues))?0:-1,b);B(2);G((c=U(3,4,a.liteTasks))?2:-1,c)}},I_b=function(a){a&1&&(I(0,"div",10),K(1,"b-spinner",63),J());a&2&&(B(),E("ariaLabel","loading tasks"))},J_b=function(a,b){a&1&&(I(0,"mat-tab"),D(1,RZb,2,2,"ng-template",8)(2,VZb,4,4,"div",9)(3,H_b,4,6)(4,I_b,2,1,"div",10),J());a&2&&(a=b.$implicit,B(2),G(a.liteTasks?2:-1),B(),G(a.loading?4:3))},K_b=function(a){if(a&1){var b=v();I(0,"div",6)(1,"mat-tab-group",
7);M("selectedIndexChange",function(c){w(b);var d=P();return x(d.onTabIndexChange(c))});yg(2,J_b,5,2,"mat-tab",null,xg);J()()}a&2&&(a=P(),B(),E("selectedIndex",a.INITIAL_TAB_INDEX),B(),zg(a.tabData))},L_b=function(a,b){return a.lastModifiedTimestamp?b.lastModifiedTimestamp?Ml(b.lastModifiedTimestamp)-Ml(a.lastModifiedTimestamp):1:-1},M_b=function(a){var b=mGa(a.getFrequency()),c=a.getTimeZone(),d=a.getTimeOfDay(),e=a.getLastUpdatedTimestamp();if(!b)throw Error("yd");if(!c)throw Error("zd");if(!d)throw Error("Ad");
if(!e)throw Error("vg");return{id:a.getId_asString(),frequency:b,ordinal:a.getOrdinal(),timeZone:oGa(c),timeOfDay:qGa(d),displayName:a.getDisplayName(),query:a.getQuery(),sendEmail:Ak(a,8),showInBuganizerHome:Ak(a,9),baselineIssueIds:[].concat(t(Uk(a,10))),isOverflowing:Ak(a,11),lastUpdated:qk(e)}},N_b=function(a){var b=(new zu).setId(a.id).setFrequency(nGa(a.frequency)).setOrdinal(a.ordinal).setTimeZone(pGa(a.timeZone)).setTimeOfDay(rGa(a.timeOfDay)).setDisplayName(a.displayName).setQuery(a.query);
b=Cm(b,8,a.sendEmail);b=Cm(b,9,a.showInBuganizerHome);b=pp(b,10,a.baselineIssueIds);b=Cm(b,11,a.isOverflowing);a=sk(a.lastUpdated);return X(b,rk,12,a)},O_b=function(a,b){a&1&&(I(0,"mat-option",2),Q(1),J());a&2&&(a=b.$implicit,E("value",a.id),B(),R(" ",a.displayName," "))},P_b=function(a,b){return a.gmt===b.gmt?a.id>b.id?1:-1:a.gmt>b.gmt?1:-1},Q_b=function(a,b){a&1&&(I(0,"mat-option",2),Q(1),J());a&2&&(a=b.$implicit,E("value",a.frequency),B(),R(" ",a.display," "))},R_b=function(a,b){if(a&1){var c=
v();I(0,"div")(1,"mat-form-field",0)(2,"mat-label");Q(3," Frequency ");J();I(4,"mat-select",1);M("ngModelChange",function(d){w(c);var e=P();return x(e.frequency$.next(d))});yg(5,Q_b,2,2,"mat-option",2,xg);J()()()}a&2&&(a=P(),B(4),E("ngModel",b),B(),zg(a.frequencyOptions))},S_b=function(a,b){a&1&&(I(0,"mat-option",2),Q(1),J());a&2&&(a=b.$implicit,E("value",a.ordinal),B(),R(" ",a.display," "))},T_b=function(a,b){if(a&1){var c=v();I(0,"div")(1,"mat-form-field",0)(2,"mat-label");Q(3," Repeat on ");J();
I(4,"mat-select",1);M("ngModelChange",function(d){w(c);var e=P();return x(e.ordinal$.next(d))});yg(5,S_b,2,2,"mat-option",2,xg);J()()()}a&2&&(a=P(),B(4),E("ngModel",b),B(),zg(a.repeatOnOptions.get(a.frequency$.value)))},U_b=function(a,b){a&1&&(I(0,"mat-option",2),Q(1),J());a&2&&(a=b.$implicit,E("value",a.timeOfDay),B(),R(" ~",a.display," "))},V_b=function(a,b){if(a&1){var c=v();I(0,"div")(1,"mat-form-field",0)(2,"mat-label");Q(3," Repeat at ");J();I(4,"mat-select",3);M("ngModelChange",function(d){w(c);
var e=P();return x(e.timeOfDay$.next(d))});yg(5,U_b,2,2,"mat-option",2,xg);J()()()}a&2&&(a=P(),B(4),E("ngModel",b)("compareWith",a.compareTimeOfDay),B(),zg(a.repeatAtOptions))},W_b=function(a,b){if(a&1){var c=v();I(0,"div")(1,"b-timezone-picker",4);M("timezoneIdChange",function(d){w(c);var e=P();return x(e.timeZoneId$.next(d))});J()()}a&2&&(B(),E("timezoneId",b)("fullWidth",!0))},X_b=function(a,b){return a.hours===b.hours&&a.minutes===b.minutes&&a.seconds===b.seconds&&a.nanos===b.nanos},Y_b=function(a){a&
1&&(I(0,"th",15),Q(1,"Name"),J())},Z_b=function(a,b){a&1&&(I(0,"td",16),Q(1),J());a&2&&(a=b.$implicit,B(),R(" ",a.displayName," "))},$_b=function(a){a&1&&(I(0,"th",15),Q(1,"Size"),J())},a0b=function(a){a&1&&Q(0," Overflowing! ")},b0b=function(a){a&1&&Q(0);a&2&&(a=P().$implicit,R(" ",a.baselineIssueIds.length," "))},c0b=function(a,b){a&1&&(I(0,"td",16),D(1,a0b,1,0)(2,b0b,1,1),J());a&2&&(a=b.$implicit,B(),G(a.isOverflowing?1:2))},d0b=function(a){a&1&&K(0,"th",15)},e0b=function(a){if(a&1){var b=v();
I(0,"td",16)(1,"button",17);K(2,"mat-icon",18);J();I(3,"mat-menu",null,1)(5,"button",19);M("click",function(){var c=w(b).$implicit,d=P(2);return x(d.openDialog(c))});Q(6," Edit subscription ");J();I(7,"button",20);M("click",function(){var c=w(b).$implicit,d=P(2);return x(d.openConfirmDeleteDialog(c))});Q(8," Delete subscription ");J()()()}a&2&&(a=L(4),B(),E("matMenuTriggerFor",a))},f0b=function(a){a&1&&K(0,"tr",21)},g0b=function(a,b){a&1&&K(0,"tr",22);a&2&&jg("aria-label","Subscription with ID "+
b.$implicit.id)},h0b=function(a,b){a&1&&(I(0,"div",5)(1,"table",7),Ag(2,8),D(3,Y_b,2,0,"th",9)(4,Z_b,2,1,"td",10),Bg(),Ag(5,11),D(6,$_b,2,0,"th",9)(7,c0b,3,1,"td",10),Bg(),Ag(8,12),D(9,d0b,1,0,"th",9)(10,e0b,9,1,"td",10),Bg(),D(11,f0b,1,0,"tr",13)(12,g0b,1,1,"tr",14),J()());a&2&&(a=P(),B(),E("dataSource",b),B(10),E("matHeaderRowDef",a.columnsToDisplay),B(),E("matRowDefColumns",a.columnsToDisplay))},i0b=function(a,b){if(a&1){var c=v();I(0,"h1",23);Q(1,"Add configurable alert");J();I(2,"mat-dialog-content")(3,
"p",24);Q(4," Create a new configurable alert. ");J();I(5,"mat-form-field",25)(6,"mat-label");Q(7,"Name");J();I(8,"input",26);bh("ngModelChange",function(d){var e=w(c).$implicit;ah(e.displayName,d)||(e.displayName=d);return x(d)});J()();I(9,"mat-form-field",25)(10,"mat-label");Q(11,"Search query");J();I(12,"input",26);bh("ngModelChange",function(d){var e=w(c).$implicit;ah(e.query,d)||(e.query=d);return x(d)});J()();I(13,"b-delivery-frequency-subform",27);M("frequencyChange",function(d){var e=w(c).$implicit,
f=P();return x(f.setFrequency(e,d))});bh("ordinalChange",function(d){var e=w(c).$implicit;ah(e.ordinal,d)||(e.ordinal=d);return x(d)})("timeOfDayChange",function(d){var e=w(c).$implicit;ah(e.timeOfDay,d)||(e.timeOfDay=d);return x(d)})("timeZoneIdChange",function(d){var e=w(c).$implicit;ah(e.timeZone.id,d)||(e.timeZone.id=d);return x(d)});J();I(14,"div",25)(15,"mat-slide-toggle",28);M("change",function(d){var e=w(c).$implicit;return x(e.sendEmail=d.checked)});Q(16," Send email when new issues are found. ");
J()()();I(17,"mat-dialog-actions")(18,"button",29);Q(19,"Cancel");J();I(20,"button",6);M("click",function(){var d=w(c).$implicit,e=P();return x(e.save(d))});Q(21);J()()}a&2&&(a=b.$implicit,B(8),$g("ngModel",a.displayName),B(4),$g("ngModel",a.query),B(),E("frequency",a.frequency),$g("ordinal",a.ordinal)("timeOfDay",a.timeOfDay)("timeZoneId",a.timeZone.id),B(2),E("checked",a.sendEmail),B(6),R(" ",a.id==="0"?"Add":"Update"," "))},j0b=function(a){a&1&&(I(0,"mat-option",20),Q(1),J());a&2&&(a=P().$implicit,
E("value",a),B(),R(" ",a.name," "))},k0b=function(a,b){a&1&&D(0,j0b,2,2,"mat-option",20);a&2&&G(b.$implicit.shouldDisplay()?0:-1)},l0b=function(a,b){a&1&&(I(0,"mat-option",22),Q(1),J());a&2&&(a=b.$implicit,E("value",a.id),B(),R(" ",a.name," "))},n0b=function(a){if(a&1){var b=v();I(0,"mat-form-field",5)(1,"mat-select",21);bh("ngModelChange",function(c){w(b);var d=P();ah(d.preferredHomepage.selectedOptionId,c)||(d.preferredHomepage.selectedOptionId=c);return x(c)});M("selectionChange",function(){w(b);
var c=P();return x(m0b(c.preferredHomepage))});yg(2,l0b,2,2,"mat-option",22,xg);J()()}a&2&&(a=P(),B(),$g("ngModel",a.preferredHomepage.selectedOptionId),B(),zg(a.preferredHomepage.selectedMainOption.options))},o0b=function(a){if(a&1){var b=v();I(0,"div")(1,"mat-slide-toggle",23);M("change",function(c){w(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 ');J()()}a&2&&(a=P(),B(),E("checked",!a.hideBadgeInNav))},p0b=function(a,b){a&1&&(I(0,"mat-option",12),Q(1),J());a&2&&(a=b.$implicit,E("value",a.value),B(),R(" ",a.label," "))},q0b=function(a,b){a&1&&(I(0,"mat-option",12),Q(1),J());a&2&&(a=b.$implicit,E("value",a.value),B(),R(" ",a.label," "))},r0b=function(a,b){a&1&&(I(0,"mat-option",12),Q(1),J());a&2&&(a=b.$implicit,E("value",a.value),B(),R(" ",
a.label," "))},t0b=function(a){if(a&1){var b=v();I(0,"div",18)(1,"mat-slide-toggle",24);M("change",function(c){w(b);var d=P();d.userPreferences.textDisplayPreferences&&d.userPreferences.commentFormattingPreferences&&(c=c.checked?"LITERAL_FORMATTING_MODE":void 0,d.userPreferencesDualWriteOptOut||(d.userPreferences.commentFormattingPreferences.commentDisplayOverride=c,d.userPreferences.commentFormattingPreferences.commentCreateOverride=c),d.userPreferences.textDisplayPreferences.commentDisplayOverride=
c,d.save("saveTextDisplayPreferences.commentDisplayOverride"));return x()});Q(2," Force comments to display as plain text ");J()()}a&2&&(a=P(),B(),E("checked",s0b(a)))},u0b=function(a){if(a&1){var b=v();I(0,"div",18)(1,"mat-slide-toggle",25);M("change",function(c){w(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 ");J()()}a&2&&(a=P(),B(),E("checked",a.getShowInlineImages()))},x0b=function(a){if(a&
1){var b=v();K(0,"hr",8);I(1,"div",0)(2,"div",1)(3,"p",2);Q(4,"Comment formatting settings");J()();I(5,"div")(6,"div",18)(7,"mat-slide-toggle",26);M("change",function(c){w(b);var d=P();d.userPreferences.commentFormattingPreferences&&d.userPreferences.textDisplayPreferences&&(c=c.checked?"LITERAL_FORMATTING_MODE":void 0,d.userPreferencesDualWriteOptOut||(d.userPreferences.textDisplayPreferences.commentDisplayOverride=c),d.userPreferences.commentFormattingPreferences.commentDisplayOverride=c,d.save("saveCommentFormattingPreferences.commentDisplayOverride"));
return x()});Q(8," Force comments to display as plain text ");J()();I(9,"div",18)(10,"mat-slide-toggle",27);M("change",function(c){w(b);var d=P();d.userPreferences.commentFormattingPreferences&&(d.userPreferences.commentFormattingPreferences.commentCreateOverride=c.checked?"LITERAL_FORMATTING_MODE":void 0,d.save("saveCommentFormattingPreferences.commentCreateOverride"));return x()});Q(11," Force comments to be created as plain text ");J()()()()}a&2&&(a=P(),B(7),E("checked",v0b(a)),B(3),E("checked",
w0b(a)))},y0b=function(a){if(a&1){var b=v();I(0,"div",0)(1,"div",1)(2,"p",2);Q(3,"Other");J()();I(4,"div")(5,"div")(6,"mat-slide-toggle",28);M("change",function(c){w(b);var d=P();d.userPreferences.bugScreensaverPreferences.enableBugScreensaver=c.checked;return x(d.save("saveBugScreensaverPreferences"))});Q(7," Enable bug screensaver ");J()()()()}a&2&&(a=P(),B(6),E("checked",a.userPreferences.bugScreensaverPreferences.enableBugScreensaver))},z0b=function(a,b){a&1&&(I(0,"mat-option",8),Q(1),S(2,"toNewEmailPreference"),
J());a&2&&(a=b.$implicit,E("value",a),B(),R(" ",U(2,2,a)," "))},A0b=function(a,b){a&1&&(I(0,"mat-option",8),Q(1),S(2,"toNewEmailPreference"),J());a&2&&(a=b.$implicit,E("value",a),B(),R(" ",U(2,2,a)," "))},B0b=function(a,b){a&1&&(I(0,"mat-option",8),Q(1),S(2,"toNewEmailPreference"),J());a&2&&(a=b.$implicit,E("value",a),B(),R(" ",U(2,2,a)," "))},C0b=function(a,b){a&1&&(I(0,"mat-option",8),Q(1),S(2,"toNewEmailPreference"),J());a&2&&(a=b.$implicit,E("value",a),B(),R(" ",U(2,2,a)," "))},D0b=function(a,
b){a&1&&(I(0,"mat-option",8),Q(1),S(2,"toNewEmailPreference"),J());a&2&&(a=b.$implicit,E("value",a),B(),R(" ",U(2,2,a)," "))},E0b=function(a,b){a&1&&(I(0,"mat-option",8),Q(1),S(2,"toNewEmailPreference"),J());a&2&&(a=b.$implicit,E("value",a),B(),R(" ",U(2,2,a)," "))},F0b=function(a){a&1&&K(0,"b-spinner")},G0b=function(a){a&1&&(I(0,"mat-hint"),Q(1,"This field is read-only"),J())},H0b=function(a,b){a&1&&(I(0,"mat-option",21),Q(1),J());a&2&&(a=b.$implicit,E("value",a.value),B(),Yg(a.displayText))},J0b=
function(a,b){if(a&1){var c=v();I(0,"div",24)(1,"a",26);Q(2);J();I(3,"button",27);M("click",function(){var d=w(c).$implicit,e=P(2),f=P(2);return x(I0b(f,e,d))});K(4,"mat-icon",28);J()()}a&2&&(a=b.$implicit,B(),E("href","/slos/"+a,vf),B(),Yg(a),B(),E("matTooltip","Remove SLO ID "+a))},K0b=function(a){a&1&&(I(0,"div",25),Q(1),J());a&2&&(a=P(2),B(),R(" Subscription ID: ",a.id," "))},M0b=function(a){if(a&1){var b=v();I(0,"b-delivery-frequency-subform",17);M("frequencyChange",function(e){w(b);var f=P(),
h=P(2);return x(h.setFrequency(e,f))})("ordinalChange",function(e){w(b);var f=P(),h=P(2);Au(h,Object.assign({},f,{ordinal:e}));return x()})("timeOfDayChange",function(e){w(b);var f=P(),h=P(2);Au(h,Object.assign({},f,{timeOfDay:e}));return x()})("timeZoneIdChange",function(e){w(b);var f=P(),h=P(2);return x(h.setTimeZone(e,f))});J();I(1,"div")(2,"mat-form-field",18)(3,"mat-label");Q(4,"Days remaining");J();I(5,"input",19);bh("ngModelChange",function(e){w(b);var f=P(3);ah(f.inputDaysRemaining,e)||(f.inputDaysRemaining=
e);return x(e)});M("blur",function(){w(b);var e=P(),f=P(2);return x(f.setDaysRemaining(e))})("keydown.enter",function(){w(b);var e=P(),f=P(2);return x(f.setDaysRemaining(e))});J()()();I(6,"div")(7,"mat-form-field",18)(8,"mat-label");Q(9,"Types");J();I(10,"mat-select",20);M("ngModelChange",function(e){w(b);var f=P(),h=P(2);return x(h.setIssueType(e,f))});yg(11,H0b,2,2,"mat-option",21,xg);J()()();I(13,"div",8)(14,"mat-form-field",22)(15,"mat-label");Q(16,"Add SLO ID");J();I(17,"input",23);bh("ngModelChange",
function(e){w(b);var f=P(3);ah(f.newSloId,e)||(f.newSloId=e);return x(e)});M("keydown.enter",function(){w(b);var e=P(),f=P(2);return x(L0b(f,e))})("blur",function(){w(b);var e=P(),f=P(2);return x(L0b(f,e))});J()();yg(18,J0b,5,3,"div",24,xg);J();D(20,K0b,2,1,"div",25)}if(a&2){var c;a=P();var d=P(2);E("frequency",a.frequency)("ordinal",(c=a.ordinal)!==null&&c!==void 0?c:0)("timeOfDay",a.timeOfDay)("timeZoneId",a.timeZone.id);B(5);$g("ngModel",d.inputDaysRemaining);B(5);E("ngModel",a.types);B();zg(d.typeChoices);
B(6);$g("ngModel",d.newSloId);B();zg(a.sloIds);B(2);G(a.id?20:-1)}},O0b=function(a,b){if(a&1){var c=v();I(0,"div")(1,"div",8)(2,"mat-slide-toggle",14);S(3,"async");M("change",function(){w(c);var d=P(2);return x(N0b(d))});Q(4," Subscribe to your own reports ");D(5,F0b,1,0,"b-spinner");S(6,"async");J()();I(7,"div")(8,"mat-form-field",15)(9,"mat-label");Q(10,"Scope");J();I(11,"input",16);M("focus",function(){w(c);var d=P(2);return x(d.inputHasFocus=!0)})("blur",function(){w(c);var d=P(2);return x(d.inputHasFocus=
!1)});J();D(12,G0b,2,0,"mat-hint");J()();D(13,M0b,21,8);J()}a&2&&(a=P(2),B(2),E("disabled",U(3,6,a.isThinking$))("checked",b.id!==0),B(3),G(U(6,8,a.isThinking$)?5:-1),B(6),E("ngModel",a.currentUser.email),B(),G(a.inputHasFocus?12:-1),B(),G(b.id!==0?13:-1))},P0b=function(a){a&1&&(I(0,"div",2)(1,"div",3)(2,"p",4),Q(3,"Frequency settings"),J(),I(4,"p",11),Q(5," Choose when to receive your own reports. "),I(6,"a",12),Q(7,"Learn more"),J()()(),D(8,O0b,14,10,"div"),S(9,"async"),J(),K(10,"hr",13));if(a&
2){var b;a=P();B(8);G((b=U(9,1,a.userSubscription$))?8:-1,b)}},Q0b=function(a){a&1&&K(0,"b-spinner")},R0b=function(a){a&1&&(I(0,"th",36),Q(1,"Scope"),J())},S0b=function(a,b){a&1&&(I(0,"td",37),Q(1),J());a&2&&(a=b.$implicit,B(),R(" ",a.lead.emailAddress," "))},T0b=function(a){a&1&&(I(0,"th",36),Q(1,"Frequency"),J())},V0b=function(a,b){a&1&&(I(0,"td",37),Q(1),S(2,"async"),S(3,"async"),J());if(a&2){var c;a=b.$implicit;b=P(2);B();var d=b.frequencyDisplayMap.get(a.frequency);if(a.ordinal)if(a.frequency===
"weekly")var e="- "+U0b[a.ordinal-1].display;else if(a.frequency==="monthly"){e=a.ordinal;var f=e%10,h=e%100;e="- "+(f===1&&h!==11?String(e)+"st":f===2&&h!==12?String(e)+"nd":f===3&&h!==13?String(e)+"rd":String(e)+"th")}else e="";else e="";Xla(" ",d," ",e," - ",(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)," ")}},W0b=function(a){a&1&&K(0,"th",36)},X0b=function(a){if(a&1){var b=v();I(0,"td",37)(1,"button",
38);K(2,"mat-icon",39);J();I(3,"mat-menu",null,1)(5,"button",40);M("click",function(){var c=w(b).$implicit,d=P(2);return x(d.openDialog(c))});Q(6," Edit subscription ");J();I(7,"button",41);M("click",function(){var c=w(b).$implicit,d=P(2);return x(d.openConfirmDeleteDialog(c))});Q(8," Delete subscription ");J()()()}a&2&&(a=L(4),B(),E("matMenuTriggerFor",a))},Y0b=function(a){a&1&&K(0,"tr",42)},Z0b=function(a,b){a&1&&K(0,"tr",43);a&2&&(a=b.$implicit,jg("aria-label","Subscription with ID "+a.id+" and scoped to "+
a.lead.emailAddress))},$0b=function(a){a&1&&(I(0,"table",10),Ag(1,29),D(2,R0b,2,0,"th",30)(3,S0b,2,1,"td",31),Bg(),Ag(4,32),D(5,T0b,2,0,"th",30)(6,V0b,4,8,"td",31),Bg(),Ag(7,33),D(8,W0b,1,0,"th",30)(9,X0b,9,1,"td",31),Bg(),D(10,Y0b,1,0,"tr",34)(11,Z0b,1,1,"tr",35),J());a&2&&(a=P(),E("dataSource",a.subscriptions$),B(10),E("matHeaderRowDef",a.columns),B(),E("matRowDefColumns",a.columns))},a1b=function(a){a&1&&(I(0,"mat-error"),Q(1,"Please select a valid, single user"),J())},b1b=function(a){a&1&&(I(0,
"mat-error"),Q(1,"Report for sundar@ cannot be generated"),J())},c1b=function(a,b){a&1&&(I(0,"mat-option",21),Q(1),J());a&2&&(a=b.$implicit,E("value",a.value),B(),Yg(a.displayText))},e1b=function(a,b){if(a&1){var c=v();I(0,"div",24)(1,"a",26);Q(2);J();I(3,"button",27);M("click",function(){var d=w(c).$implicit,e=P().$implicit;P();return x(d1b(e,d))});K(4,"mat-icon",28);J()()}a&2&&(a=b.$implicit,B(),E("href","/slos/"+a,vf),B(),Yg(a),B(),E("matTooltip","Remove SLO ID "+a))},f1b=function(a){a&1&&(I(0,
"div",25),Q(1),J());a&2&&(a=P().$implicit,B(),R(" Subscription ID: ",a.id," "))},i1b=function(a,b){if(a&1){var c=v();I(0,"h1",44);Q(1,"Add report subscription");J();I(2,"mat-dialog-content")(3,"p",45);Q(4," Select the user (scope) and frequency of the report you wish to receive. ");J();I(5,"div")(6,"mat-form-field",46)(7,"mat-label");Q(8,"Scope");J();I(9,"input",47);M("ngModelChange",function(f){var h=w(c).$implicit,l=P();return x(h.lead=l.emailToUser(f))});J();D(10,a1b,2,0,"mat-error")(11,b1b,2,
0,"mat-error");J()();I(12,"b-delivery-frequency-subform",17);M("frequencyChange",function(f){var h=w(c).$implicit;P();h.frequency=f;f!=="daily"?h.ordinal=1:delete h.ordinal;return x()})("ordinalChange",function(f){var h=w(c).$implicit;return x(h.ordinal=f)});bh("timeOfDayChange",function(f){var h=w(c).$implicit;ah(h.timeOfDay,f)||(h.timeOfDay=f);return x(f)})("timeZoneIdChange",function(f){var h=w(c).$implicit;ah(h.timeZone.id,f)||(h.timeZone.id=f);return x(f)});J();I(13,"div")(14,"mat-form-field",
15)(15,"mat-label");Q(16,"Days remaining");J();I(17,"input",48);bh("ngModelChange",function(f){var h=w(c).$implicit;ah(h.daysRemaining,f)||(h.daysRemaining=f);return x(f)});J()()();I(18,"div")(19,"mat-form-field",15)(20,"mat-label");Q(21,"Types");J();I(22,"mat-select",20);bh("ngModelChange",function(f){var h=w(c).$implicit;ah(h.types,f)||(h.types=f);return x(f)});yg(23,c1b,2,2,"mat-option",21,xg);J()()();I(25,"div",8)(26,"mat-form-field",49)(27,"mat-label");Q(28,"Add SLO ID");J();I(29,"input",23);
bh("ngModelChange",function(f){w(c);var h=P();ah(h.newSloId,f)||(h.newSloId=f);return x(f)});M("keydown.enter",function(){var f=w(c).$implicit,h=P();return x(g1b(h,f))})("blur",function(){var f=w(c).$implicit,h=P();return x(g1b(h,f))});J()();yg(30,e1b,5,3,"div",24,xg);J();D(32,f1b,2,1,"div",25);I(33,"p",50);Q(34," You are the only recipient of your subscription. Anyone else wishing to receive this report will need to subscribe for themselves. ");J();I(35,"a",51);Q(36,"Learn more");J()();I(37,"mat-dialog-actions")(38,
"button",52);Q(39,"Cancel");J();I(40,"button",9);M("click",function(){var f=w(c).$implicit,h=P();return x(h1b(h,f))});Q(41);J()()}if(a&2){var d,e;a=b.$implicit;b=P();B(9);E("ngModel",(d=a.lead==null?null:a.lead.emailAddress)!==null&&d!==void 0?d:"")("bContactAutocomplete","SINGLE");B();G(b.dialogInvalidEmailFormat?10:-1);B();G(b.ceoSelected?11:-1);B();E("frequency",a.frequency)("ordinal",(e=a.ordinal)!==null&&e!==void 0?e:0);$g("timeOfDay",a.timeOfDay)("timeZoneId",a.timeZone.id);B(5);$g("ngModel",
a.daysRemaining);B(5);$g("ngModel",a.types);B();zg(b.typeChoices);B(6);$g("ngModel",b.newSloId);B();zg(a.sloIds);B(2);G(a.id?32:-1);B(8);E("disabled",!a.lead||!a.lead.emailAddress);B();R(" ",a.id===0?"Add":"Update"," ")}},j1b=function(a){a&1&&(I(0,"div",7),K(1,"b-general-settings"),J())},k1b=function(a){a&1&&(I(0,"div",7),K(1,"b-notification-settings"),J())},l1b=function(a){a&1&&(I(0,"div",7),K(1,"b-slo-reports-settings"),J())},m1b=function(a){a&1&&(I(0,"mat-tab",5),D(1,l1b,2,0,"ng-template",3),J())},
n1b=function(a){a&1&&(I(0,"div",7),K(1,"b-configurable-alert-settings"),J())},o1b=function(a){a&1&&(I(0,"mat-tab",6),D(1,n1b,2,0,"ng-template",3),J())},p1b=function(a){a&1&&K(0,"b-star-toggle",5);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)},q1b=function(a){if(a&1){var b=v();I(0,"b-star-toggle",11);M("starClicked",function(){w(b);var c=
P(2);return x(c.toggleStar())});J()}a&2&&(a=P(2),E("starMessage","Star this bookmark group")("unStarMessage","Un-star this bookmark group")("starred",a.isStarred))},r1b=function(a,b){a&1&&(I(0,"li")(1,"a",12),Q(2),J()());a&2&&(a=b.$implicit,b=P(2),B(),E("href",b.getUrl(a),vf),B(),Yg(b.getDisplayName(a)))},s1b=function(a){if(a&1){var b=v();I(0,"div")(1,"div",3)(2,"div",4);D(3,p1b,1,4,"b-star-toggle",5)(4,q1b,1,3,"b-star-toggle",6);I(5,"span",7);Q(6);J();I(7,"button",8);M("click",function(){w(b);var c=
P();return x(c.openEditBookmarkGroup())});J()();I(8,"div",9);Q(9);J()();I(10,"ul",10);yg(11,r1b,3,2,"li",null,xg);J()()}a&2&&(a=P(),B(3),G(a.userIsAdmin?3:4),B(3),R("Bookmark Group: ",a.bookmarkGroup.name," "),B(3),Yg(a.bookmarkGroup.description),B(2),zg(a.bookmarkGroup.item))},t1b=function(a){if(a&1){var b=v();I(0,"button",10);M("click",function(){w(b);var c=P(2);return x(c.addToMissionControl(c.hotlistId))});Q(1," Hotlist insights in Home ");J()}},u1b=function(a,b){a&1&&D(0,t1b,2,0,"button",9);
a&2&&(a=P(),G(a.showAddToMcButton(b)?0:-1))},v1b=function(a){if(a&1){var b=v();I(0,"b-star-toggle",16);M("starClicked",function(){w(b);var c=P(2);return x(c.toggleStar())})("keydown.space",function(c){w(b);return x(c.stopPropagation())})("keydown.enter",function(c){w(b);return x(c.stopPropagation())});J()}a&2&&(a=P(2),E("starMessage","Star this hotlist")("unStarMessage","Un-star this hotlist")("starred",a.isStarred))},w1b=function(a){a&1&&K(0,"b-star-toggle",12);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)},x1b=function(a){a&1&&K(0,"b-star-toggle",12);a&2&&E("starMessage","")("unStarMessage","")("starred",!1)("disabled",!0)},y1b=function(a){a&1&&(I(0,"div",14),Q(1," Hotlist not found. "),J());a&2&&E("bFocus",!0)},z1b=function(a){a&1&&(I(0,"div"),Q(1," Loading details... "),J())},A1b=function(a){a&1&&(I(0,"span",19),Q(1," (archived) "),J())},B1b=function(a){a&1&&(I(0,"span",22),Q(1," \u00a0(changed) "),J())},
C1b=function(a){if(a&1){var b=v();I(0,"div")(1,"span",17);Q(2," Hotlist: ");I(3,"span",18);Q(4);J()();D(5,A1b,2,0,"span",19);I(6,"div",20)(7,"button",21);M("click",function(){w(b);var c=P(2);return x(c.openEditHotlist())});J()();D(8,B1b,2,0,"span",22);J()}a&2&&(a=P(2),B(3),E("matTooltip",a.hotlist.description),B(),R(" ",a.hotlist.name," "),B(),G(a.hotlist.archived?5:-1),B(3),G(a.hasParamChanges()?8:-1))},D1b=function(a){if(a&1){var b=v();I(0,"div",15)(1,"button",23);M("click",function(){w(b);var c=
P(2);return x(c.save())});Q(2,"Save ");J();I(3,"button",24);M("click",function(){w(b);var c=P(2);return x(c.discardChanges())});Q(4,"Discard changes ");J()()}},E1b=function(a){a&1&&(I(0,"div",5),D(1,v1b,1,3,"b-star-toggle",11)(2,w1b,1,4,"b-star-toggle",12)(3,x1b,1,4,"b-star-toggle",12),I(4,"div",13),D(5,y1b,2,1,"div",14)(6,z1b,2,0,"div")(7,C1b,9,4,"div"),J(),D(8,D1b,5,0,"div",15),J());a&2&&(a=P(),B(),G(a.isDirectAdmin()||!a.hotlist||a.hotlist.archived?-1:1),B(),G(a.isDirectAdmin()&&a.hotlist&&!a.hotlist.archived?
2:-1),B(),G(a.hotlist?-1:3),B(2),G(a.hotlist||a.hotlistLoading?-1:5),B(),G(a.hotlistLoading?6:-1),B(),G(a.hotlist&&!a.hotlistLoading?7:-1),B(),G(a.hasParamChanges()?8:-1))},F1b=function(a){a&1&&(I(0,"div",6),K(1,"b-spinner"),I(2,"span"),Q(3),J()());a&2&&(a=P(),B(3),R(" Loading hotlist: ",a.hotlistId,""))},G1b=function(a){a&1&&(I(0,"div",7),Q(1),J());a&2&&(a=P(),E("bFocus",!0),B(),R(" No issues in hotlist ",a.hotlistId,". "))},H1b=function(a){if(a&1){var b=v();I(0,"div",8)(1,"b-issues-grid",25);M("init",
function(c){w(b);var d=P();return x(d.resultsGrid=c)});bh("focusedRowIndexChange",function(c){w(b);var d=P();ah(d.focusedRowIndex,c)||(d.focusedRowIndex=c);return x(c)})("columnsChange",function(c){w(b);var d=P();ah(d.issueColumns,c)||(d.issueColumns=c);return x(c)});M("sortChange",function(c){w(b);var d=P();return x(d.setSort(c.field,c.direction))})("rowClick",function(c){w(b);var d=P();return x(d.goToIssue(c.id,c.isRead,c.event))})("onRowDragDrop",function(c){w(b);var d=P();return x(d.repositionIssue(c.srcIndex,
c.destIndex))})("onNextPage",function(){w(b);var c=P();return x(vu(c,c.page,1))})("onPrevPage",function(){w(b);var c=P();return x(vu(c,c.page,-1))});J()()}a&2&&(a=P(),B(),E("searchResults",a.searchResults),$g("focusedRowIndex",a.focusedRowIndex)("columns",a.issueColumns),E("enableColumnSaving",!!a.isColumnSaveEnabled)("sort",a.getSort())("enableSidebar",!0))},I1b=function(a){if(a&1){var b=v();I(0,"button",9);M("click",function(){w(b);var c=P(2);return x(c.addToMissionControl(c.savedSearchId))});Q(1,
" Saved Search insights in Home ");J()}},J1b=function(a,b){a&1&&D(0,I1b,2,0,"button",8);a&2&&(a=P(),G(a.showAddToMcButton(b)?0:-1))},K1b=function(a){a&1&&(I(0,"span",13),Q(1," \u00a0(changed) "),J())},L1b=function(a){if(a&1){var b=v();I(0,"div",10);Q(1," Saved search: ");I(2,"span",11);Q(3);J();I(4,"button",12);M("click",function(){w(b);var c=P(2);return x(c.openEditSavedSearch())});J();D(5,K1b,2,0,"span",13);J()}a&2&&(a=P(2),B(2),E("matTooltip",a.savedSearch.description),B(),R(" ",a.savedSearch.name,
" "),B(2),G(a.hasParamChanges()?5:-1))},M1b=function(a){a&1&&(I(0,"div"),Q(1," Loading details... "),J())},N1b=function(a){a&1&&(I(0,"div"),Q(1," Saved search not found. "),J())},O1b=function(a){a&1&&D(0,M1b,2,0,"div")(1,N1b,2,0,"div");a&2&&(a=P(2),G(a.isLoading?0:1))},P1b=function(a){a&1&&(I(0,"div",6),D(1,L1b,6,3,"div",10)(2,O1b,2,1),J());a&2&&(a=P(),B(),G(a.savedSearch?1:2))},Q1b=function(a){if(a&1){var b=v();I(0,"button",18);M("click",function(){w(b);var c=P(2);return x(c.save())});Q(1,"Save ");
J()}},R1b=function(a){if(a&1){var b=v();I(0,"div",7);D(1,Q1b,2,0,"button",14);I(2,"button",15);M("click",function(){w(b);var c=P();return x(c.discardChanges())});Q(3,"Discard changes ");J();I(4,"span",16)(5,"a",17);M("click",function(){w(b);var c=P();c.analytics.trackEvent(c.ANALYTICS_CATEGORY,"backToNormalSearch");return x()});Q(6," Back to normal search");J()()()}a&2&&(a=P(),B(),G(a.isEditable()?1:-1),B(4),E("href",a.exitLink,vf))},S1b=function(a){a&1&&(I(0,"span"),Q(1),J());a&2&&(a=P(3),B(),R(" Searching",
a.searchParams.query?" for "+a.searchParams.query:"","..."))},T1b=function(a){a&1&&(I(0,"div",19),K(1,"b-spinner"),D(2,S1b,2,1,"span"),J());a&2&&(a=P(2),B(2),G(a.searchParams?2:-1))},U1b=function(a){if(a&1){var b=v();I(0,"div",20)(1,"b-issues-grid",22);M("init",function(c){w(b);var d=P(3);return x(d.resultsGrid=c)});bh("focusedRowIndexChange",function(c){w(b);var d=P(3);ah(d.focusedRowIndex,c)||(d.focusedRowIndex=c);return x(c)})("columnsChange",function(c){w(b);var d=P(3);ah(d.issueColumns,c)||(d.issueColumns=
c);return x(c)});M("sortChange",function(c){w(b);var d=P(3);return x(d.setSort(c.field,c.direction))})("rowClick",function(c){w(b);var d=P(3);return x(d.goToIssue(c.id,c.isRead,c.event))})("onNextPage",function(){w(b);var c=P(3);return x(vu(c,c.page,1))})("onPrevPage",function(){w(b);var c=P(3);return x(vu(c,c.page,-1))});J()()}a&2&&(a=P(3),B(),E("searchResults",a.searchResults),$g("focusedRowIndex",a.focusedRowIndex)("columns",a.issueColumns),E("enableColumnSaving",!!a.isColumnSaveEnabled)("sort",
a.getSort())("enableSidebar",!0))},V1b=function(a){a&1&&(I(0,"div",21),Q(1," No issues in saved search. "),J());a&2&&E("bFocus",!0)},W1b=function(a){a&1&&D(0,U1b,2,6,"div",20)(1,V1b,2,1,"div",21);a&2&&(a=P(2),G(a.hasResults()?0:1))},X1b=function(a){a&1&&(I(0,"div"),D(1,T1b,3,1,"div",19)(2,W1b,2,1),J());a&2&&(a=P(),B(),G(a.isLoading?1:2))},Z1b=function(a,b){return Y1b(function(){return Jl(a)},b)},Y1b=function(a,b){return a()?[b]:[]},$1b=function(){var a=r(Bu).getEnvironmentType(),b={};return(b.DEV=
"Dev",b.NIGHTLY="Autopush",b.QA="Dev",b.PROD="Prod",b)[a]},a2b=function(a,b){var c={};return yi("a",(c.href=b,c.target="_blank",c.rel="noopener noreferrer nofollow",c),a)},d2b=function(){return r(Bu).getEnvironmentType()==="QA"?b2b:c2b},g2b=function(){return r(Bu).getEnvironmentType()==="QA"?e2b:f2b},j2b=function(){return r(Bu).getEnvironmentType()==="QA"?h2b:i2b},k2b=function(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}},l2b=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},m2b=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=m2b(this),Cu=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&&l2b(c,a,{configurable:!0,writable:!0,value:b})}};Cu("Symbol",function(a){if(a)return a;var b=function(f,h){this.$jscomp$symbol$id_=f;l2b(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});
Cu("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"&&l2b(d.prototype,a,{configurable:!0,writable:!0,value:function(){return n2b(k2b(this))}})}return a});Cu("Symbol.asyncIterator",function(a){return a?a:Symbol("d")});
var n2b=function(a){a={next:a};a[Symbol.iterator]=function(){return this};return a},o2b=typeof Object.create=="function"?Object.create:function(a){var b=function(){};b.prototype=a;return new b},p2b=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=o2b(e.prototype||Object.prototype);return Function.prototype.apply.call(c,e,d)||e}}(),q2b;if(typeof Object.setPrototypeOf=="function")q2b=Object.setPrototypeOf;else{var r2b;a:{var s2b={a:!0},t2b={};try{t2b.__proto__=s2b;r2b=t2b.a;break a}catch(a){}r2b=!1}q2b=r2b?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError("e`"+a);return a}:null}
var Du=q2b,Y=function(a,b){a.prototype=o2b(b.prototype);a.prototype.constructor=a;if(Du)Du(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},k=function(a){var b=typeof Symbol!="undefined"&&Symbol.iterator&&a[Symbol.iterator];if(b)return b.call(a);if(typeof a.length=="number")return{next:k2b(a)};throw Error("f`"+String(a));},ln=function(a){for(var b,c=[];!(b=a.next()).done;)c.push(b.value);
return c},t=function(a){return a instanceof Array?a:ln(k(a))},Eu=function(a){return u2b(a,a)},u2b=function(a,b){a.raw=b;Object.freeze&&(Object.freeze(a),Object.freeze(b));return a},Fu=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)},v2b=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)Fu(d,e)&&(a[e]=d[e])}return a};Cu("Object.assign",function(a){return a||v2b});
var Gu=function(){this.isRunning_=!1;this.yieldAllIterator_=null;this.yieldResult=void 0;this.nextAddress=1;this.finallyAddress_=this.catchAddress_=0;this.finallyContexts_=this.abruptCompletion_=null};Gu.prototype.start_=function(){if(this.isRunning_)throw new TypeError("h");this.isRunning_=!0};Gu.prototype.next_=function(a){this.yieldResult=a};Gu.prototype.throw_=function(a){this.abruptCompletion_={exception:a,isException:!0};this.nextAddress=this.catchAddress_||this.finallyAddress_};
Gu.prototype.return=function(a){this.abruptCompletion_={return:a};this.nextAddress=this.finallyAddress_};var y=function(a,b,c){a.nextAddress=c;return{value:b}};Gu.prototype.jumpTo=function(a){this.nextAddress=a};
var xe=function(a){a.nextAddress=0},te=function(a,b,c){a.catchAddress_=b;c!=void 0&&(a.finallyAddress_=c)},fha=function(a,b){a.catchAddress_=0;a.finallyAddress_=b||0},Hu=function(a,b){a.nextAddress=b;a.catchAddress_=0},we=function(a){a.catchAddress_=0;var b=a.abruptCompletion_.exception;a.abruptCompletion_=null;return b},ue=function(a,b,c,d){d?a.finallyContexts_[d]=a.abruptCompletion_:a.finallyContexts_=[a.abruptCompletion_];a.catchAddress_=b||0;a.finallyAddress_=c||0},ve=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},w2b=function(a){this.context_=new Gu;this.program_=a};
w2b.prototype.next_=function(a){this.context_.start_();if(this.context_.yieldAllIterator_)return x2b(this,this.context_.yieldAllIterator_.next,a,this.context_.next_);this.context_.next_(a);return y2b(this)};var z2b=function(a,b){a.context_.start_();var c=a.context_.yieldAllIterator_;if(c)return x2b(a,"return"in c?c["return"]:function(d){return{value:d,done:!0}},b,a.context_.return);a.context_.return(b);return y2b(a)};
w2b.prototype.throw_=function(a){this.context_.start_();if(this.context_.yieldAllIterator_)return x2b(this,this.context_.yieldAllIterator_["throw"],a,this.context_.next_);this.context_.throw_(a);return y2b(this)};
var x2b=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),y2b(a)}a.context_.yieldAllIterator_=null;d.call(a.context_,f);return y2b(a)},y2b=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}},A2b=function(a){this.next=function(b){return a.next_(b)};this.throw=function(b){return a.throw_(b)};this.return=function(b){return z2b(a,b)};this[Symbol.iterator]=function(){return this}},tfb=function(a,b){b=new A2b(new w2b(b));Du&&a.prototype&&Du(b,a.prototype);
return b},B2b=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())})},se=function(a){return B2b(new A2b(new w2b(a)))},eha=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))})},vd=function(){for(var a=Number(this),b=[],c=a;c<arguments.length;c++)b[c-a]=arguments[c];return b};Cu("Reflect",function(a){return a?a:{}});Cu("Reflect.construct",function(){return p2b});Cu("Reflect.setPrototypeOf",function(a){return a?a:Du?function(b,c){try{return Du(b,c),!0}catch(d){return!1}}:null});
Cu("Promise",function(a){function b(){this.batch_=null}function c(h){return h instanceof e?h:new e(function(l){l(h)})}if(a)return a;b.prototype.asyncExecute=function(h){if(this.batch_==null){this.batch_=[];var l=this;this.asyncExecuteFunction(function(){l.executeBatch_()})}this.batch_.push(h)};var d=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 l=0;l<h.length;++l){var q=
h[l];h[l]=null;try{q()}catch(u){this.asyncThrow_(u)}}}this.batch_=null};b.prototype.asyncThrow_=function(h){this.asyncExecuteFunction(function(){throw h;})};var e=function(h){this.state_=0;this.result_=void 0;this.onSettledCallbacks_=[];this.isRejectionHandled_=!1;var l=this.createResolveAndReject_();try{h(l.resolve,l.reject)}catch(q){l.reject(q)}};e.prototype.createResolveAndReject_=function(){function h(u){return function(A){q||(q=!0,u.call(l,A))}}var l=this,q=!1;return{resolve:h(this.resolveTo_),
reject:h(this.reject_)}};e.prototype.resolveTo_=function(h){if(h===this)this.reject_(new TypeError("j"));else if(h instanceof e)this.settleSameAsPromise_(h);else{a:switch(typeof h){case "object":var l=h!=null;break a;case "function":l=!0;break a;default:l=!1}l?this.resolveToNonPromiseObj_(h):this.fulfill_(h)}};e.prototype.resolveToNonPromiseObj_=function(h){var l=void 0;try{l=h.then}catch(q){this.reject_(q);return}typeof l=="function"?this.settleSameAsThenable_(l,h):this.fulfill_(h)};e.prototype.reject_=
function(h){this.settle_(2,h)};e.prototype.fulfill_=function(h){this.settle_(1,h)};e.prototype.settle_=function(h,l){if(this.state_!=0)throw Error("k`"+h+"`"+l+"`"+this.state_);this.state_=h;this.result_=l;this.state_===2&&this.scheduleUnhandledRejectionCheck_();this.executeOnSettledCallbacks_()};e.prototype.scheduleUnhandledRejectionCheck_=function(){var h=this;d(function(){if(h.notifyUnhandledRejection_()){var l=da.console;typeof l!=="undefined"&&l.error(h.result_)}},1)};e.prototype.notifyUnhandledRejection_=
function(){if(this.isRejectionHandled_)return!1;var h=da.CustomEvent,l=da.Event,q=da.dispatchEvent;if(typeof q==="undefined")return!0;typeof h==="function"?h=new h("unhandledrejection",{cancelable:!0}):typeof l==="function"?h=new l("unhandledrejection",{cancelable:!0}):(h=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 l=this.createResolveAndReject_();h.callWhenSettled_(l.resolve,l.reject)};e.prototype.settleSameAsThenable_=function(h,l){var q=this.createResolveAndReject_();try{h.call(l,q.resolve,q.reject)}catch(u){q.reject(u)}};e.prototype.then=function(h,l){function q(H,N){return typeof H=="function"?function(O){try{u(H(O))}catch(T){A(T)}}:
N}var u,A,F=new e(function(H,N){u=H;A=N});this.callWhenSettled_(q(h,u),q(l,A));return F};e.prototype.catch=function(h){return this.then(void 0,h)};e.prototype.callWhenSettled_=function(h,l){function q(){switch(u.state_){case 1:h(u.result_);break;case 2:l(u.result_);break;default:throw Error("l`"+u.state_);}}var u=this;this.onSettledCallbacks_==null?f.asyncExecute(q):this.onSettledCallbacks_.push(q);this.isRejectionHandled_=!0};e.resolve=c;e.reject=function(h){return new e(function(l,q){q(h)})};e.race=
function(h){return new e(function(l,q){for(var u=k(h),A=u.next();!A.done;A=u.next())c(A.value).callWhenSettled_(l,q)})};e.all=function(h){var l=k(h),q=l.next();return q.done?c([]):new e(function(u,A){function F(O){return function(T){H[O]=T;N--;N==0&&u(H)}}var H=[],N=0;do H.push(void 0),N++,c(q.value).callWhenSettled_(F(H.length-1),A),q=l.next();while(!q.done)})};return e});var Iu=function(a,b,c){if(a==null)throw new TypeError("m`"+c);if(b instanceof RegExp)throw new TypeError("n`"+c);return a+""};
Cu("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=Iu(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}});Cu("Object.setPrototypeOf",function(a){return a||Du});Cu("Symbol.dispose",function(a){return a?a:Symbol("o")});
Cu("WeakMap",function(a){function b(){}function c(q){var u=typeof q;return u==="object"&&q!==null||u==="function"}function d(q){if(!Fu(q,f)){var u=new b;l2b(q,f,{value:u})}}function e(q){var u=Object[q];u&&(Object[q]=function(A){if(A instanceof b)return A;Object.isExtensible(A)&&d(A);return u(A)})}if(function(){if(!a||!Object.seal)return!1;try{var q=Object.seal({}),u=Object.seal({}),A=new a([[q,2],[u,3]]);if(A.get(q)!=2||A.get(u)!=3)return!1;A.delete(q);A.set(u,4);return!A.has(q)&&A.get(u)==4}catch(F){return!1}}())return a;
var f="$jscomp_hidden_"+Math.random();e("freeze");e("preventExtensions");e("seal");var h=0,l=function(q){this.id_=(h+=Math.random()+1).toString();if(q){q=k(q);for(var u;!(u=q.next()).done;)u=u.value,this.set(u[0],u[1])}};l.prototype.set=function(q,u){if(!c(q))throw Error("p");d(q);if(!Fu(q,f))throw Error("q`"+q);q[f][this.id_]=u;return this};l.prototype.get=function(q){return c(q)&&Fu(q,f)?q[f][this.id_]:void 0};l.prototype.has=function(q){return c(q)&&Fu(q,f)&&Fu(q[f],this.id_)};l.prototype.delete=
function(q){return c(q)&&Fu(q,f)&&Fu(q[f],this.id_)?delete q[f][this.id_]:!1};return l});
Cu("Map",function(a){if(function(){if(!a||typeof a!="function"||!a.prototype.entries||typeof Object.seal!="function")return!1;try{var l=Object.seal({x:4}),q=new a(k([[l,"s"]]));if(q.get(l)!="s"||q.size!=1||q.get({x:4})||q.set({x:4},"t")!=q||q.size!=2)return!1;var u=q.entries(),A=u.next();if(A.done||A.value[0]!=l||A.value[1]!="s")return!1;A=u.next();return A.done||A.value[0].x!=4||A.value[1]!="t"||!u.next().done?!1:!0}catch(F){return!1}}())return a;var b=new WeakMap,c=function(l){this[0]={};this[1]=
f();this.size=0;if(l){l=k(l);for(var q;!(q=l.next()).done;)q=q.value,this.set(q[0],q[1])}};c.prototype.set=function(l,q){l=l===0?0:l;var u=d(this,l);u.list||(u.list=this[0][u.id]=[]);u.entry?u.entry.value=q:(u.entry={next:this[1],previous:this[1].previous,head:this[1],key:l,value:q},u.list.push(u.entry),this[1].previous.next=u.entry,this[1].previous=u.entry,this.size++);return this};c.prototype.delete=function(l){l=d(this,l);return l.entry&&l.list?(l.list.splice(l.index,1),l.list.length||delete this[0][l.id],
l.entry.previous.next=l.entry.next,l.entry.next.previous=l.entry.previous,l.entry.head=null,this.size--,!0):!1};c.prototype.clear=function(){this[0]={};this[1]=this[1].previous=f();this.size=0};c.prototype.has=function(l){return!!d(this,l).entry};c.prototype.get=function(l){return(l=d(this,l).entry)&&l.value};c.prototype.entries=function(){return e(this,function(l){return[l.key,l.value]})};c.prototype.keys=function(){return e(this,function(l){return l.key})};c.prototype.values=function(){return e(this,
function(l){return l.value})};c.prototype.forEach=function(l,q){for(var u=this.entries(),A;!(A=u.next()).done;)A=A.value,l.call(q,A[1],A[0],this)};c.prototype[Symbol.iterator]=c.prototype.entries;var d=function(l,q){var u=q&&typeof q;u=="object"||u=="function"?b.has(q)?u=b.get(q):(u=""+ ++h,b.set(q,u)):u="p_"+q;var A=l[0][u];if(A&&Fu(l[0],u))for(l=0;l<A.length;l++){var F=A[l];if(q!==q&&F.key!==F.key||q===F.key)return{id:u,list:A,index:l,entry:F}}return{id:u,list:A,index:-1,entry:void 0}},e=function(l,
q){var u=l[1];return n2b(function(){if(u){for(;u.head!=l[1];)u=u.previous;for(;u.next!=u.head;)return u=u.next,{done:!1,value:q(u)};u=null}return{done:!0,value:void 0}})},f=function(){var l={};return l.previous=l.next=l.head=l},h=0;return c});
Cu("Set",function(a){if(function(){if(!a||typeof a!="function"||!a.prototype.entries||typeof Object.seal!="function")return!1;try{var c=Object.seal({x:4}),d=new a(k([c]));if(!d.has(c)||d.size!=1||d.add(c)!=d||d.size!=1||d.add({x:4})!=d||d.size!=2)return!1;var e=d.entries(),f=e.next();if(f.done||f.value[0]!=c||f.value[1]!=c)return!1;f=e.next();return f.done||f.value[0]==c||f.value[0].x!=4||f.value[1]!=f.value[0]?!1:e.next().done}catch(h){return!1}}())return a;var b=function(c){this.map_=new Map;if(c){c=
k(c);for(var d;!(d=c.next()).done;)this.add(d.value)}this.size=this.map_.size};b.prototype.add=function(c){c=c===0?0:c;this.map_.set(c,c);this.size=this.map_.size;return this};b.prototype.delete=function(c){c=this.map_.delete(c);this.size=this.map_.size;return c};b.prototype.clear=function(){this.map_.clear();this.size=0};b.prototype.has=function(c){return this.map_.has(c)};b.prototype.entries=function(){return this.map_.entries()};b.prototype.values=function(){return this.map_.values()};b.prototype.keys=
b.prototype.values;b.prototype[Symbol.iterator]=b.prototype.values;b.prototype.forEach=function(c,d){var e=this;this.map_.forEach(function(f){return c.call(d,f,f,e)})};return b});Cu("Array.from",function(a){return a?a:function(b,c,d){c=c!=null?c:function(l){return l};var e=[],f=typeof Symbol!="undefined"&&Symbol.iterator&&b[Symbol.iterator];if(typeof f=="function"){b=f.call(b);for(var h=0;!(f=b.next()).done;)e.push(c.call(d,f.value,h++))}else for(f=b.length,h=0;h<f;h++)e.push(c.call(d,b[h],h));return e}});
Cu("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d in b)Fu(b,d)&&c.push([d,b[d]]);return c}});Cu("Number.isFinite",function(a){return a?a:function(b){return typeof b!=="number"?!1:!isNaN(b)&&b!==Infinity&&b!==-Infinity}});Cu("Number.MAX_SAFE_INTEGER",function(){return 9007199254740991});Cu("Number.MIN_SAFE_INTEGER",function(){return-9007199254740991});Cu("Number.isInteger",function(a){return a?a:function(b){return Number.isFinite(b)?b===Math.floor(b):!1}});
Cu("Number.isSafeInteger",function(a){return a?a:function(b){return Number.isInteger(b)&&Math.abs(b)<=Number.MAX_SAFE_INTEGER}});Cu("String.prototype.endsWith",function(a){return a?a:function(b,c){var d=Iu(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}});Cu("Object.is",function(a){return a?a:function(b,c){return b===c?b!==0||1/b===1/c:b!==b&&c!==c}});
Cu("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}});Cu("String.prototype.includes",function(a){return a?a:function(b,c){return Iu(this,b,"includes").indexOf(b,c||0)!==-1}});
var C2b=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};Cu("Array.prototype.entries",function(a){return a?a:function(){return C2b(this,function(b,c){return[b,c]})}});Cu("Array.prototype.keys",function(a){return a?a:function(){return C2b(this,function(b){return b})}});Cu("globalThis",function(a){return a||da});
Cu("Object.getOwnPropertySymbols",function(a){return a?a:function(){return[]}});var D2b=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}};Cu("Array.prototype.find",function(a){return a?a:function(b,c){return D2b(this,b,c).v}});Cu("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)Fu(b,d)&&c.push(b[d]);return c}});
Cu("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}});Cu("Math.log10",function(a){return a?a:function(b){return Math.log(b)/Math.LN10}});
Cu("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}});Cu("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}});Cu("Number.isNaN",function(a){return a?a:function(b){return typeof b==="number"&&isNaN(b)}});
Cu("Array.prototype.values",function(a){return a?a:function(){return C2b(this,function(b,c){return c})}});Cu("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 Ju=function(a){return a?a:Array.prototype.fill};Cu("Int8Array.prototype.fill",Ju);Cu("Uint8Array.prototype.fill",Ju);Cu("Uint8ClampedArray.prototype.fill",Ju);
Cu("Int16Array.prototype.fill",Ju);Cu("Uint16Array.prototype.fill",Ju);Cu("Int32Array.prototype.fill",Ju);Cu("Uint32Array.prototype.fill",Ju);Cu("Float32Array.prototype.fill",Ju);Cu("Float64Array.prototype.fill",Ju);Cu("Object.fromEntries",function(a){return a?a:function(b){var c={};if(!(Symbol.iterator in b))throw new TypeError("r`"+b);b=b[Symbol.iterator].call(b);for(var d=b.next();!d.done;d=b.next()){d=d.value;if(Object(d)!==d)throw new TypeError("s");c[d[0]]=d[1]}return c}});
Cu("String.prototype.replaceAll",function(a){return a?a:function(b,c){if(b instanceof RegExp&&!b.global)throw new TypeError("t");return b instanceof RegExp?this.replace(b,c):this.replace(new RegExp(String(b).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08"),"g"),c)}});Cu("String.prototype.repeat",function(a){return a?a:function(b){var c=Iu(this,null,"repeat");if(b<0||b>1342177279)throw new RangeError("u");b|=0;for(var d="";b;)if(b&1&&(d+=c),b>>>=1)c+=c;return d}});
Cu("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}});Cu("Array.prototype.findIndex",function(a){return a?a:function(b,c){return D2b(this,b,c).i}});
Cu("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}});Cu("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;})})}});
Cu("String.prototype.matchAll",function(a){return a?a:function(b){if(b instanceof RegExp&&!b.global)throw new TypeError("v");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}});
Cu("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 E2b=function(a){a=Math.trunc(a)||0;a<0&&(a+=this.length);if(!(a<0||a>=this.length))return this[a]};Cu("Array.prototype.at",function(a){return a?a:E2b});var Ku=function(a){return a?a:E2b};Cu("Int8Array.prototype.at",Ku);Cu("Uint8Array.prototype.at",Ku);
Cu("Uint8ClampedArray.prototype.at",Ku);Cu("Int16Array.prototype.at",Ku);Cu("Uint16Array.prototype.at",Ku);Cu("Int32Array.prototype.at",Ku);Cu("Uint32Array.prototype.at",Ku);Cu("Float32Array.prototype.at",Ku);Cu("Float64Array.prototype.at",Ku);Cu("String.prototype.at",function(a){return a?a:E2b});Cu("Reflect.isExtensible",function(a){return a?a:typeof Object.isExtensible=="function"?Object.isExtensible:function(){return!0}});Cu("Reflect.getOwnPropertyDescriptor",function(a){return a||Object.getOwnPropertyDescriptor});
Cu("Reflect.getPrototypeOf",function(a){return a||Object.getPrototypeOf});var F2b=function(a,b){for(;a;){var c=Reflect.getOwnPropertyDescriptor(a,b);if(c)return c;a=Reflect.getPrototypeOf(a)}};Cu("Reflect.set",function(a){return a?a:function(b,c,d,e){var f=F2b(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}});
Cu("Reflect.get",function(a){return a?a:function(b,c,d){if(arguments.length<=2)return b[c];var e=F2b(b,c);if(e)return e.get?e.get.call(d):e.value}});Cu("String.prototype.codePointAt",function(a){return a?a:function(b){var c=Iu(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}}});
Cu("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}});var G2b=function(a,b){a=a!==void 0?String(a):" ";return b>0&&a?a.repeat(Math.ceil(b/a.length)).substring(0,b):""};
Cu("String.prototype.padStart",function(a){return a?a:function(b,c){var d=Iu(this,null,"padStart");return G2b(c,b-d.length)+d}});
Cu("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)}});Cu("Array.of",function(a){return a?a:function(b){return Array.from(arguments)}});
Cu("String.prototype.padEnd",function(a){return a?a:function(b,c){var d=Iu(this,null,"padStart");return d+G2b(c,b-d.length)}});var H2b=H2b||{},ya=this||self,I2b=ya._F_toggles||[],Eq=function(a,b){a=a.split(".");b=b||ya;for(var c=0;c<a.length;c++)if(b=b[a[c]],b==null)return null;return b},Gb=function(a){var b=typeof a;return b!="object"?b:a?Array.isArray(a)?"array":b:"null"},Xa=function(a){var b=Gb(a);return b=="array"||b=="object"&&typeof a.length=="number"},Ya=function(a){var b=typeof a;return b=="object"&&a!=null||b=="function"},Za=function(a){return Object.prototype.hasOwnProperty.call(a,J2b)&&a[J2b]||(a[J2b]=++K2b)},
J2b="closure_uid_"+(Math.random()*1E9>>>0),K2b=0,L2b=function(a,b,c){return a.call.apply(a.bind,arguments)},M2b=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)}},Lu=function(a,b,c){Lu=Function.prototype.bind&&Function.prototype.bind.toString().indexOf("native code")!=-1?L2b:M2b;return Lu.apply(null,
arguments)},Mu=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)}},N2b=function(a){(0,eval)(a)},O2b=function(a,b){a=a.split(".");var c=ya;a[0]in c||typeof c.execScript=="undefined"||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)a.length||b===void 0?c[d]&&c[d]!==Object.prototype[d]?c=c[d]:c=c[d]={}:c[d]=b},ica=function(a){return a},Nu=function(a,b){function c(){}c.prototype=b.prototype;a.superClass_=
b.prototype;a.prototype=new c;a.prototype.constructor=a;a.base=function(d,e,f){for(var h=Array(arguments.length-2),l=2;l<arguments.length;l++)h[l-2]=arguments[l];return b.prototype[e].apply(d,h)}};var vca=aa(function(a){return typeof a==="number"}),uca=aa(function(a){return typeof a==="string"}),xca=aa(function(a){return typeof a==="boolean"}),VJb=aa(function(a){return!!a&&(typeof a==="object"||typeof a==="function")}),caa=aa(function(a){return Array.isArray(a)});var ba=globalThis;var fa=Object.getOwnPropertyDescriptor,naa=Object.defineProperty,qaa=Object.getPrototypeOf,Gaa=Object.create,Haa=Array.prototype.slice,aba=ca("addEventListener"),bba=ca("removeEventListener"),pa=ca(""),P2b=typeof window!=="undefined",na=P2b?window:void 0,ia=P2b&&na||globalThis,Q2b=typeof WorkerGlobalScope!=="undefined"&&self instanceof WorkerGlobalScope,zaa=!("nw"in ia)&&typeof ia.process!=="undefined"&&ia.process.toString()==="[object process]",Iaa=!zaa&&!Q2b&&!(!P2b||!na.HTMLElement),Jaa=typeof ia.process!==
"undefined"&&ia.process.toString()==="[object process]"&&!Q2b&&!(!P2b||!na.HTMLElement),laa={},R2b=ca("enable_beforeunload"),maa=function(a){if(a=a||ia.event){var b=laa[a.type];b||(b=laa[a.type]=ca("ON_PROPERTY"+a.type));var c=this||a.target||ia;b=c[b];Iaa&&c===na&&a.type==="error"?(c=a,c=b&&b.call(this,c.message,c.filename,c.lineno,c.colno,c.error),c===!0&&a.preventDefault()):(c=b&&b.apply(this,arguments),a.type==="beforeunload"&&ia[R2b]&&typeof c==="string"?a.returnValue=c:c==void 0||c||a.preventDefault());
return c}},ja=ca("originalInstance"),saa=!1,taa=!1;var sa=!1;if(typeof window!=="undefined")try{var S2b=Object.defineProperty({},"passive",{get:function(){sa=!0}});window.addEventListener("test",S2b,S2b);window.removeEventListener("test",S2b,S2b)}catch(a){sa=!1}var Baa={useG:!0},ra={},Aaa={},Daa=new RegExp("^"+pa+"(\\w+)(true|false)$"),yaa=ca("propagationStopped");var Laa,Maa,Naa,Oaa,ua;var Waa=[].concat(t("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(" ")),
t(["webglcontextrestored","webglcontextlost","webglcontextcreationerror"]),t(["autocomplete","autocompleteerror"]),t(["toggle"]),t("afterscriptexecute beforescriptexecute DOMContentLoaded freeze fullscreenchange mozfullscreenchange webkitfullscreenchange msfullscreenchange fullscreenerror mozfullscreenerror webkitfullscreenerror msfullscreenerror readystatechange visibilitychange resume".split(" ")),t("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(" ")),
t("beforecopy beforecut beforepaste copy cut paste dragstart loadend animationstart search transitionrun transitionstart webkitanimationend webkitanimationiteration webkitanimationstart webkittransitionend".split(" ")),t("activate afterupdate ariarequest beforeactivate beforedeactivate beforeeditfocus beforeupdate cellchange controlselect dataavailable datasetchanged datasetcomplete errorupdate filterchange layoutcomplete losecapture move moveend movestart propertychange resizeend resizestart rowenter rowexit rowsdelete rowsinserted command compassneedscalibration deactivate help mscontentzoom msmanipulationstatechanged msgesturechange msgesturedoubletap msgestureend msgesturehold msgesturestart msgesturetap msgotpointercapture msinertiastart mslostpointercapture mspointercancel mspointerdown mspointerenter mspointerhover mspointerleave mspointermove mspointerout mspointerover mspointerup pointerout mssitemodejumplistitemremoved msthumbnailclick stop storagecommit".split(" ")));var $aa=ca("zoneTask");Nu(wa,Error);wa.prototype.name="CustomError";var T2b;Nu(eba,wa);eba.prototype.name="AssertionError";var jba=void 0,hba,iba,U2b=typeof TextDecoder!=="undefined",nba,mba=typeof String.prototype.isWellFormed==="function",lba=typeof TextEncoder!=="undefined";var Ou=function(a,b){var c=a.length-b.length;return c>=0&&a.indexOf(b,c)==c},APa=function(a){return hu("@ldap.google.com",a.slice(a.length-16))==0},St=function(a){return/^[\s\xa0]*$/.test(a)},yj=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]},hu=function(a,b){a=String(a).toLowerCase();b=String(b).toLowerCase();return a<b?-1:a==b?0:1},V2b=/&/g,W2b=/</g,X2b=/>/g,Y2b=/"/g,Z2b=/'/g,$2b=/\x00/g,a3b=/[\x00&<>"']/,Da=function(a,b){return a.indexOf(b)!=
-1},Ma=function(a,b){return Da(a.toLowerCase(),b.toLowerCase())},c3b=function(a,b){var c=0;a=yj(String(a)).split(".");b=yj(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=b3b(f[1].length==0?0:parseInt(f[1],10),h[1].length==0?0:parseInt(h[1],10))||b3b(f[2].length==0,h[2].length==0)||b3b(f[2],h[2]);f=f[3];h=h[3]}while(c==
0)}return c},b3b=function(a,b){return a<b?-1:a>b?1:0};var d3b=!!(I2b[0]&1024);var e3b;if(I2b[0]&512)e3b=d3b;else{var f3b=Eq("WIZ_global_data.oxN3nb"),g3b=f3b&&f3b[610401301];e3b=g3b!=null?g3b:!1}var Ba=e3b;var Ca,h3b=ya.navigator;Ca=h3b?h3b.userAgentData||null:null;var Qa=Array.prototype.indexOf?function(a,b){return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if(typeof a==="string")return typeof b!=="string"||b.length!=1?-1:a.indexOf(b,0);for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},Oa=Array.prototype.forEach?function(a,b,c){Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=typeof a==="string"?a.split(""):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)},i3b=Array.prototype.filter?function(a,b,c){return Array.prototype.filter.call(a,
b,c)}:function(a,b,c){for(var d=a.length,e=[],f=0,h=typeof a==="string"?a.split(""):a,l=0;l<d;l++)if(l in h){var q=h[l];b.call(c,q,l,a)&&(e[f++]=q)}return e},j3b=Array.prototype.map?function(a,b,c){return Array.prototype.map.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=Array(d),f=typeof a==="string"?a.split(""):a,h=0;h<d;h++)h in f&&(e[h]=b.call(c,f[h],h,a));return e},k3b=Array.prototype.some?function(a,b){return Array.prototype.some.call(a,b,void 0)}:function(a,b){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))return!0;return!1};var l3b=function(a){l3b[" "](a);return a};l3b[" "]=function(){};var m3b=function(a,b){try{return l3b(a[b]),!0}catch(c){}return!1};var n3b=qba(),ws=rba(),o3b=Ea("Edge"),Pu=Ea("Gecko")&&!(Ma(Aa(),"WebKit")&&!Ea("Edge"))&&!(Ea("Trident")||Ea("MSIE"))&&!Ea("Edge"),Qu=Ma(Aa(),"WebKit")&&!Ea("Edge"),p3b=Qu&&Ea("Mobile"),ls=zba(),q3b=Aba(),r3b=(Ja()?Ca.platform==="Linux":Ea("Linux"))||Bba(),s3b=xba(),t3b=yba(),u3b=Ea("iPad"),v3b=Ea("iPod"),w3b=Ka();Ma(Aa(),"KaiOS");var x3b;
a:{var y3b="",z3b=function(){var a=Aa();if(Pu)return/rv:([^\);]+)(\)|;)/.exec(a);if(o3b)return/Edge\/([\d\.]+)/.exec(a);if(ws)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(Qu)return/WebKit\/(\S+)/.exec(a);if(n3b)return/(?:Version)[ \/]?(\S+)/.exec(a)}();z3b&&(y3b=z3b?z3b[1]:"");if(ws){var A3b,B3b=ya.document;A3b=B3b?B3b.documentMode:void 0;if(A3b!=null&&A3b>parseFloat(y3b)){x3b=String(A3b);break a}}x3b=y3b}var C3b=x3b;var D3b=sba(),E3b=yba()||Ea("iPod"),F3b=Ea("iPad"),G3b=uba(),H3b=Ia(),I3b=tba()&&!Ka();var J3b={},K3b=null,L3b=Pu||Qu||!I3b&&typeof ya.atob=="function",Qba=function(a,b){b===void 0&&(b=0);M3b();b=J3b[b];for(var c=Array(Math.floor(a.length/3)),d=b[64]||"",e=0,f=0;e<a.length-2;e+=3){var h=a[e],l=a[e+1],q=a[e+2],u=b[h>>2];h=b[(h&3)<<4|l>>4];l=b[(l&15)<<2|q>>6];q=b[q&63];c[f++]=u+h+l+q}u=0;q=d;switch(a.length-e){case 2:u=a[e+1],q=b[(u&15)<<2]||d;case 1:a=a[e],c[f]=b[a>>2]+b[(a&3)<<4|u>>4]+q+d}return c.join("")},cfb=function(a){if(L3b)return ya.atob(a);var b="";N3b(a,function(c){b+=String.fromCharCode(c)});
return b},O3b=function(a){var b=[];N3b(a,function(c){b.push(c)});return b},Uba=function(a){var b=a.length,c=b*3/4;c%3?c=Math.floor(c):Da("=.",a[b-1])&&(c=Da("=.",a[b-2])?c-2:c-1);var d=new Uint8Array(c),e=0;N3b(a,function(f){d[e++]=f});return e!==c?d.subarray(0,e):d},N3b=function(a,b){function c(q){for(;d<a.length;){var u=a.charAt(d++),A=K3b[u];if(A!=null)return A;if(!St(u))throw Error("O`"+u);}return q}M3b();for(var d=0;;){var e=c(-1),f=c(0),h=c(64),l=c(64);if(l===64&&e===-1)break;b(e<<2|f>>4);h!=
64&&(b(f<<4&240|h>>2),l!=64&&b(h<<6&192|l))}},M3b=function(){if(!K3b){K3b={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;c<5;c++){var d=a.concat(b[c].split(""));J3b[c]=d;for(var e=0;e<d.length;e++){var f=d[e];K3b[f]===void 0&&(K3b[f]=e)}}}};var Xba=typeof Uint8Array!=="undefined",Pba=!ws&&typeof btoa==="function",Vba=/[-_.]/g,Sba={"-":"+",_:"/",".":"="},kb={},P3b=typeof structuredClone!="undefined";var jb=function(a,b){if(b!==kb)throw Error("Q");this.value_=a;if(a!=null&&a.length===0)throw Error("P");},ib=function(){return Q3b||(Q3b=new jb(null,kb))},Ada=function(a){var b=a.value_;return b==null?"":typeof b==="string"?b:a.value_=Rba(b)};jb.prototype.isEmpty=function(){return this.value_==null};jb.prototype.sizeBytes=function(){var a=ic(this);return a?a.length:0};
var Cya=function(a){var b={};b=b.parsingErrorsAreFatal===void 0?!0:b.parsingErrorsAreFatal;if(a=ic(a)){var c=a.length;b=U2b?kba(a,0,c,b):gba(a,0,c,b)}else b="";return b},Hda=function(a){a=a.value_||"";return typeof a==="string"?a:new Uint8Array(a)},R3b=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=ic(a);b=ic(b);return Yba(c,b)},ic=function(a){if(kb!==kb)throw Error("Q");var b=a.value_;b=b==null||$a(b)?b:typeof b==="string"?Wba(b):null;return b==null?b:a.value_=b},lda=function(a,b){if(typeof b==="string")b=b?new jb(b,kb):ib();else if(b instanceof Uint8Array)b=new jb(b,kb);else if(!(b instanceof jb))return!1;return R3b(a,b)},Q3b;var Bc=typeof Symbol==="function"&&typeof Symbol()==="symbol",Zba=new Set,Ru=ab("jas",void 0,!0,!0),bda=ab(void 0,"0di"),S3b=ab(void 0,"2ex"),Cc=ab(void 0,"1oa",!0),Tda=ab(void 0,"0dg"),tb=ab(void 0,Symbol(),!0);var db=Bc?function(a,b){a[Ru]|=b}:function(a,b){a.internalArrayState!==void 0?a.internalArrayState|=b:Object.defineProperties(a,{internalArrayState:{value:b,configurable:!0,writable:!0,enumerable:!1}})},rc=Bc?function(a,b){a[Ru]&=~b}:function(a,b){a.internalArrayState!==void 0&&(a.internalArrayState&=~b)},bb=Bc?function(a){return a[Ru]|0}:function(a){return a.internalArrayState|0},fb=Bc?function(a,b){a[Ru]=b}:function(a,b){a.internalArrayState!==void 0?a.internalArrayState=b:Object.defineProperties(a,
{internalArrayState:{value:b,configurable:!0,writable:!0,enumerable:!1}})};var eca={},fca={},Vda,T3b=[];fb(T3b,55);Vda=Object.freeze(T3b);var U3b=function(a,b,c){this.idx_=0;this.arr_=a;this.mapper=b;this.thisArg=c};U3b.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}};U3b.prototype[Symbol.iterator]=function(){return new U3b(this.arr_,this.mapper,this.thisArg)};var Vj=Object.freeze({});var wca=typeof ya.BigInt==="function"&&typeof ya.BigInt(0)==="bigint";var Tb=aa(function(a){return wca?a>=V3b&&a<=W3b:a[0]==="-"?yca(a,X3b):yca(a,Y3b)}),X3b=Number.MIN_SAFE_INTEGER.toString(),V3b=wca?BigInt(Number.MIN_SAFE_INTEGER):void 0,Y3b=Number.MAX_SAFE_INTEGER.toString(),W3b=wca?BigInt(Number.MAX_SAFE_INTEGER):void 0;var Z3b=typeof Uint8Array.prototype.slice==="function",wb=0,xb=0;var Gca=function(a,b){a.__closure__error__context__984382||(a.__closure__error__context__984382={});a.__closure__error__context__984382.severity=b};var $3b=void 0;var Mca=/^-?([1-9][0-9]*|0)(\.[0-9]+)?$/;var wda={},a4b=function(){try{var a=function(){return p2b(Map,[],this.constructor)};Y(a,Map);l3b(new a);return!1}catch(b){return!0}}(),b4b=function(){this.map_=new Map};g=b4b.prototype;g.get=function(a){return this.map_.get(a)};g.set=function(a,b){this.map_.set(a,b);this.size=this.map_.size;return this};g.delete=function(a){a=this.map_.delete(a);this.size=this.map_.size;return a};g.clear=function(){this.map_.clear();this.size=this.map_.size};g.has=function(a){return this.map_.has(a)};g.entries=function(){return this.map_.entries()};
g.keys=function(){return this.map_.keys()};g.values=function(){return this.map_.values()};g.forEach=function(a,b){return this.map_.forEach(a,b)};b4b.prototype[Symbol.iterator]=function(){return this.entries()};
var Su=function(){if(a4b)return Object.setPrototypeOf(b4b.prototype,Map.prototype),Object.defineProperties(b4b.prototype,{size:{value:0,configurable:!0,enumerable:!0,writable:!0}}),b4b;var a=function(){return p2b(Map,[],this.constructor)};Y(a,Map);return a}(),gc=function(a,b,c,d){c=c===void 0?oda:c;d=d===void 0?oda:d;var e=Su.call(this)||this;var f=bb(a);f|=64;fb(a,f);e.arrayState=f;e.valueCtor=b;e.keyToApi=c;e.valueToApi=e.valueCtor?pda:d;for(var h=0;h<a.length;h++){var l=a[h],q=c(l[0],!1,!0),u=
l[1];b?u===void 0&&(u=null):u=d(l[1],!1,!0,void 0,void 0,f);Su.prototype.set.call(e,q,u)}return e};Y(gc,Su);var c4b=function(a){if(a.arrayState&2)throw Error("T");},Bda=function(a,b){b=b===void 0?qda:b;if(a.size!==0)return Rda(a,b)},Rda=function(a,b){b=b===void 0?qda:b;var c=[];a=Su.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=gc.prototype;g.clear=function(){c4b(this);Su.prototype.clear.call(this)};
g.delete=function(a){c4b(this);return Su.prototype.delete.call(this,this.keyToApi(a,!0,!1))};g.entries=function(){var a=Array.from(Su.prototype.keys.call(this));return new U3b(a,uda,this)};g.keys=function(){return Su.prototype.keys.call(this)};g.values=function(){var a=Array.from(Su.prototype.keys.call(this));return new U3b(a,gc.prototype.get,this)};g.forEach=function(a,b){var c=this;Su.prototype.forEach.call(this,function(d,e){a.call(b,c.get(e),e,c)})};
g.set=function(a,b){c4b(this);a=this.keyToApi(a,!0,!1);return a==null?this:b==null?(Su.prototype.delete.call(this,a),this):Su.prototype.set.call(this,a,this.valueToApi(b,!0,!0,this.valueCtor,!1,this.arrayState))};g.has=function(a){return Su.prototype.has.call(this,this.keyToApi(a,!1,!1))};
g.get=function(a){a=this.keyToApi(a,!1,!1);var b=Su.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&&Su.prototype.set.call(this,a,c),c):b}};var kda=function(a,b,c){return b instanceof gc?rda(a,b,c):tda(a,b,c)};gc.prototype[Symbol.iterator]=function(){return this.entries()};gc.prototype.toJSON=void 0;gc.prototype.mapPrototypeMarker=fca;var vda;var XEa=P3b?structuredClone:function(a){return Dda(a,Fda,void 0,void 0,!1)};var Lda,Mda;var d4b=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=d4b.prototype;g.init=function(a,b,c,d){d=d===void 0?{}:d;this.aliasBytesFields=d.aliasBytesFields===void 0?!1:d.aliasBytesFields;a&&(a=Pda(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();e4b.length<100&&e4b.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){f4b(this,this.cursor_+a)};
var f4b=function(a,b){a.cursor_=b;if(b>a.end_)throw Error("ia`"+b+"`"+a.end_);},Tu=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("ha");f4b(a,c);return e},g4b=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},h4b=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 f4b(a,c),!!(b&127)}throw Error("ha");},i4b=function(a,b){if(b<0)throw Error("ja`"+b);var c=a.cursor_,d=c+b;if(d>a.end_)throw Error("ia`"+(a.end_-c)+"`"+b);a.cursor_=d;return c};d4b.prototype.readString=function(a,b){var c=i4b(this,a),d=this.bytes_;return U2b?kba(d,c,a,b):gba(d,c,a,b)};
d4b.prototype.readByteString=function(a){if(a==0)return ib();var b=i4b(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):Z3b?c.slice(b,a):new Uint8Array(c.subarray(b,a))}return dca(b)};var e4b=[];var ona=function(a,b){if(e4b.length){var c=e4b.pop();c.init(a,void 0,void 0,b);a=c}else a=new d4b(a,b);this.decoder_=a;this.fieldCursor_=this.decoder_.getCursor();this.nextWireType_=this.nextTag_=this.nextField_=-1;this.setOptions(b)};g=ona.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;nna.length<100&&nna.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 cna=function(a){var b=a.decoder_;if(b.cursor_==b.end_)return!1;a.fieldCursor_=a.decoder_.getCursor();b=Tu(a.decoder_)>>>0;var c=b>>>3,d=b&7;if(!(d>=0&&d<=5))throw Error("da`"+d+"`"+a.fieldCursor_);if(c<1)throw Error("ea`"+c+"`"+a.fieldCursor_);a.nextTag_=b;a.nextField_=c;a.nextWireType_=d;return!0},ena=function(a){switch(a.nextWireType_){case 0:a.nextWireType_!=0?ena(a):h4b(a.decoder_);break;case 1:a.decoder_.advance(8);break;case 2:if(a.nextWireType_!=2)ena(a);else{var b=Tu(a.decoder_)>>>0;a.decoder_.advance(b)}break;
case 5:a.decoder_.advance(4);break;case 3:b=a.nextField_;do{if(!cna(a))throw Error("fa");if(a.nextWireType_==4){if(a.nextField_!=b)throw Error("ga");break}ena(a)}while(1);break;default:throw Error("da`"+a.nextWireType_+"`"+a.fieldCursor_);}},j4b=function(a,b,c){var d=a.decoder_.getEnd(),e=Tu(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("ca`"+e+"`"+(e-h));a.decoder_.cursor_=f;a.decoder_.setEnd(d)};
ona.prototype.readString=function(){return k4b(this)};var k4b=function(a){var b=Tu(a.decoder_)>>>0;return a.decoder_.readString(b,!0)};ona.prototype.readByteString=function(){var a=Tu(this.decoder_)>>>0;return this.decoder_.readByteString(a)};var nna=[];var l4b=ub(0),Hk=function(a,b){a=a.internalArrayDoNotAccessOrElse;return qc(a,bb(a),b)},qc=function(a,b,c,d){if(c===-1)return null;var e=c+(b&512?0:-1),f=a.length-1;if(e>=f&&b&256)return a[f][c];if(d&&b&256&&(b=a[f][c],b!=null)){if(a[e]!=null&&S3b!=null){var h;a=(h=$3b)!=null?h:$3b={};h=a[S3b]||0;h>=4||(a[S3b]=h+1,Hca())}return b}if(e<=f)return a[e]},Np=function(a,b,c){var d=a.internalArrayDoNotAccessOrElse,e=bb(d);rb(e);kc(d,e,b,c);return a},Jk=function(a,b,c,d){return Zda(a,b,c,d===void 0?!1:d)!==
void 0},Jm=function(a,b,c,d){return Zda(a,b,om(a,d,c))!==void 0},m4b=function(a,b,c){return $da(a,bb(a.internalArrayDoNotAccessOrElse),b,c,3,!1,!0).length},Uu=function(a,b,c,d,e){Dc(a,b,c,e,d,!1,1);return a},Vu=function(a,b){a=a.internalArrayDoNotAccessOrElse;var c=bb(a),d=qc(a,c,b),e=Jca(d);e!=null&&e!==d&&kc(a,c,b,e);return e},pt=function(a,b){a=a.internalArrayDoNotAccessOrElse;var c=bb(a),d=qc(a,c,b),e=pb(d,!0,!0);e!=null&&e!==d&&kc(a,c,b,e);return e},Uj=function(a){return a===Vj?2:4},Mp=function(a,
b){a=pt(a,b);return a==null?ib():a},rm=function(a,b,c,d){var e=a.internalArrayDoNotAccessOrElse,f=bb(e);rb(f);if(d==null){var h=Xda(e);if(Yda(h,e,f,c)===b)h.set(c,0);else return a}else{h=Xda(e);var l=Yda(h,e,f,c);l!==b&&(l&&(f=kc(e,f,l)),h.set(c,b))}kc(e,f,b,d);return a},om=function(a,b,c){return $l(a,b)===c?c:-1},$l=function(a,b){a=a.internalArrayDoNotAccessOrElse;return Yda(Xda(a),a,bb(a),b)},Wu=function(a,b,c){a=a.internalArrayDoNotAccessOrElse;var d=bb(a);rb(d);var e=qc(a,d,c);b=ec(ac(e,b,!0,
d));e!==b&&kc(a,d,c,b);return b},n4b=function(a,b,c,d){var e=bb(a);d=qc(a,e,c,d);var f;if(d!=null&&nb(d))return b=ec(d),b!==d&&kc(a,e,c,b),b.internalArrayDoNotAccessOrElse;if(Array.isArray(d)){var h=bb(d);h&2?f=Oda(jc(d,h,!1),b,!0):h&64?f=d:f=Oda(f,b,!0)}else f=Oda(void 0,b,!0);f!==d&&kc(a,e,c,f);return f},Tq=function(a,b,c){(a=Zda(a,b,c,!1))||(a=b[bda])||(a=new b,eb(a.internalArrayDoNotAccessOrElse),a=b[bda]=a);return a},W=function(a,b,c,d){b=Zda(a,b,c,d===void 0?!1:d);if(b==null)return b;a=a.internalArrayDoNotAccessOrElse;
d=bb(a);if(!(d&2)){var e=ec(b);e!==b&&(b=e,kc(a,d,c,b))}return b},lk=function(a,b,c,d){var e=bb(a.internalArrayDoNotAccessOrElse);return $da(a,e,b,c,d,void 0,!1,!(2&e))},X=function(a,b,c,d){d==null&&(d=void 0);return Np(a,c,d)},zm=function(a,b,c,d){d==null&&(d=void 0);return rm(a,b,c,d)},$m=function(a,b,c){var d=a.internalArrayDoNotAccessOrElse,e=bb(d);rb(e);if(c==null)return kc(d,e,b),a;for(var f=bb(c),h=f,l=mc(f),q=l||Object.isFrozen(c),u=!0,A=!0,F=0;F<c.length;F++){var H=c[F];l||(H=cb(H.internalArrayDoNotAccessOrElse),
u&&(u=!H),A&&(A=H))}l||(f=u?13:5,f=A?f|16:f&-17);q&&f===h||(c=hb(c),h=0,f=lc(f,e),f=oc(f,e,!0));f!==h&&fb(c,f);kc(d,e,b,c);return a},Xu=function(a,b,c,d,e){Dc(a,b,c,d,e);return a},Yu=function(a,b,c,d){Dc(a,b,c,void 0,d,void 0,1,!0);return a},Xn=function(a,b,c,d){var e=bb(a.internalArrayDoNotAccessOrElse);rb(e);b=$da(a,e,c,b,2,!1,!0);e=c=0;if(Array.isArray(d))for(var f=d.length,h=0;h<f;h++){var l=d[h];b.push(l);(l=cb(l.internalArrayDoNotAccessOrElse))&&!c++&&rc(b,8);l||e++||rc(b,16)}else for(d=k(d),
f=d.next();!f.done;f=d.next())f=f.value,b.push(f),(f=cb(f.internalArrayDoNotAccessOrElse))&&!c++&&rc(b,8),f||e++||rc(b,16);return a},Zu=function(a,b){return Ub(Hk(a,b))},$u=function(a,b){a=Hk(a,b);a!=null&&(typeof a==="bigint"?a>=0&&Tb(a)?a=Number(a):(a=BigInt.asUintN(64,a),a=Tb(a)?Number(a):String(a)):a=Ib(a)?typeof a==="number"?Rb(a):Sb(a):void 0);return a},jk=function(a,b,c){return pc(a,b,Ub,c,void 0,void 0,0)},Uk=function(a,b){return pc(a,b,aea,1,void 0,void 0,4096)},o4b=function(a,b){return pc(a,
b,Vb,Uj(),void 0,void 0,0)},ft=function(a,b){return Lca(Hk(a,b))},av=function(a,b){return Mb(Hk(a,b))},ql=function(a,b){return $b(Hk(a,b))},nt=function(a,b){return Kb(Hk(a,b))},Ak=function(a,b,c){c=c===void 0?!1:c;var d;return(d=ft(a,b))!=null?d:c},Xj=function(a,b,c){c=c===void 0?0:c;var d;return(d=av(a,b))!=null?d:c},Qk=function(a,b,c){c=c===void 0?0:c;var d;return(d=Zu(a,b))!=null?d:c},p4b=function(a){var b=b===void 0?0:b;var c;return(c=$u(a,23))!=null?c:b},bv=function(a,b,c){c=c===void 0?"0":c;
var d;return(d=Vb(Hk(a,b)))!=null?d:c},dv=function(a,b,c){c=c===void 0?l4b:c;var d;return(d=Wb(Hk(a,b)))!=null?d:c},tm=function(a,b,c){c=c===void 0?0:c;var d;return(d=Vu(a,b))!=null?d:c},Kh=function(a,b,c){c=c===void 0?"":c;var d;return(d=ql(a,b))!=null?d:c},Fk=function(a,b,c){c=c===void 0?0:c;var d;return(d=nt(a,b))!=null?d:c},Wk=function(a,b){var c=c===void 0?"0":c;var d;return(d=Vb(Hk(a,b),!0))!=null?d:c},Ik=function(a,b){var c=c===void 0?"0":c;var d;return(d=Vb(Hk(a,b),!0))!=null?d:c},ev=function(a,
b,c){a=pc(a,b,Mb,3,void 0,!0);sb(a,c);return a[c]},fv=function(a,b,c){a=pc(a,b,Wb,3,void 0,!0,8192);sb(a,c);return a[c]},Tj=function(a,b,c,d,e){return pc(a,b,$b,c,d,e)},gv=function(a,b,c){a=Tj(a,b,3,void 0,!0);sb(a,c);return a[c]},q4b=function(a,b,c){a=pc(a,b,Kb,3,void 0,!0);sb(a,c);return a[c]},bm=function(a,b,c){return Kh(a,om(a,c,b))},ep=function(a,b,c){return ql(a,om(a,c,b))},um=function(a,b,c,d){return W(a,b,om(a,d,c))},wYa=function(a,b){b=om(a,rr,b);a=Hk(a,b);b=!0;b=b===void 0?!1:b;var c=typeof a;
a=a==null?a:c==="bigint"?String(BigInt.asUintN(64,a)):Ib(a)?c==="string"?Sb(a):b?Xca(a):Rb(a):void 0;return a!=null?a:void 0},xYa=function(a,b){b=om(a,rr,b);var c;return(c=Vu(a,b))!=null?c:void 0},hv=function(a,b){var c;return(c=av(a,b))!=null?c:void 0},bgb=function(a,b){var c;return(c=Zu(a,b))!=null?c:void 0},iv=function(a,b){var c;return(c=Wb(Hk(a,b)))!=null?c:void 0},wr=function(a,b){var c;return(c=ql(a,b))!=null?c:void 0},yYa=function(a,b){var c;return(c=pt(a,b))!=null?c:void 0},Bt=function(a,
b){var c;return(c=nt(a,b))!=null?c:void 0},vYa=function(a,b){var c;return(c=Vb(Hk(a,b),!0))!=null?c:void 0},r4b=function(a,b){var c;return(c=Vb(Hk(a,b),!0))!=null?c:void 0},cl=function(a,b,c){return Np(a,b,Hb(c))},Cm=function(a,b,c){return yc(a,b,Hb(c),!1)},dl=function(a,b,c){return Np(a,b,c==null?c:Lb(c))},pk=function(a,b,c){return yc(a,b,c==null?c:Lb(c),0)},Xk=function(a,b,c){return Np(a,b,Qb(c))},jm=function(a,b,c){return yc(a,b,Qb(c),"0")},kl=function(a,b,c){return Np(a,b,Qb(c))},Wm=function(a,
b,c){return yc(a,b,Eb(c),0)},fl=function(a,b,c){return Np(a,b,ada(c))},ak=function(a,b,c){return yc(a,b,ada(c),"")},em=function(a,b,c,d){return rm(a,b,c,ada(d))},mm=function(a,b,c){return yc(a,b,pb(c,!1,!0),ib())},gl=function(a,b,c){return Np(a,b,Nca(c))},ck=function(a,b,c){return yc(a,b,Nca(c),0)},s4b=function(a,b,c){return Ac(a,b,Lb,c,void 0,Mb)},pp=function(a,b,c){return wc(a,b,c,Pb)},t4b=function(a,b,c){return zc(a,b,Pb,void 0,c,Ub,void 0,1,!1,!0)},jv=function(a,b,c){zc(a,b,Pb,c,void 0,Ub,void 0,
void 0,!0)},kv=function(a,b,c){Ac(a,b,Pb,c,void 0,Ub)},bk=function(a,b,c){return wc(a,b,c,Yb)},Sn=function(a,b,c){return zc(a,b,Yb,c,void 0,$b,void 0,void 0,!0)},lv=function(a,b,c,d){return Ac(a,b,Yb,c,d,$b)},op=function(a,b,c){return wc(a,b,c,Jb)},zk=function(a,b){return ft(a,b)!=null},Bk=function(a,b){return av(a,b)!=null},Pk=function(a,b){return Zu(a,b)!=null},Ck=function(a,b){return ql(a,b)!=null},Dk=function(a,b){return nt(a,b)!=null};var dea,Ec,V=function(a,b,c){this.internalArrayDoNotAccessOrElse=m(a,b,c)};V.prototype.toJSON=function(){var a=!Ec;try{return a&&(Ec=Kda),eea(this)}finally{a&&(Ec=void 0)}};V.prototype.serialize=function(a){try{return Ec=cea,a&&(dea=a===lca||a!==kca&&a!==pca&&a!==sca?lca:a),JSON.stringify(eea(this),zda)}finally{a&&(dea=void 0),Ec=void 0}};var rna=function(a,b){if(b==null||b=="")return new a;b=JSON.parse(b);if(!Array.isArray(b))throw Error("na");return new a(aca(b))};
V.prototype.getExtension=function(a){return a.ctor?a.isRepeated?a.getExtensionFn(this,a.ctor,a.fieldIndex,Uj(),!0):a.getExtensionFn(this,a.ctor,a.fieldIndex,!0):a.isRepeated?a.getExtensionFn(this,a.fieldIndex,Uj(),!0):a.getExtensionFn(this,a.fieldIndex,a.defaultValue,!0)};var u4b=function(a,b){a=b.ctor?b.getExtensionFn(a,b.ctor,b.fieldIndex,!0):b.getExtensionFn(a,b.fieldIndex,null,!0);return a===null?void 0:a};
V.prototype.hasExtension=function(a){return a.ctor?Jk(this,a.ctor,a.fieldIndex,!0):u4b(this,a)!==void 0};V.prototype.clone=function(){var a=this.internalArrayDoNotAccessOrElse;return new this.constructor(jc(a,bb(a),!1))};V.prototype.isMutable=function(){return!cb(this.internalArrayDoNotAccessOrElse)};V.prototype.isImmutable=function(){return cb(this.internalArrayDoNotAccessOrElse)};var ht=function(a,b,c){b.ctor?b.setExtensionFn(a,b.ctor,b.fieldIndex,c):b.setExtensionFn(a,b.fieldIndex,c)};
V.prototype.messagePrototypeMarker=eca;V.prototype.toString=function(){try{return Ec=cea,eea(this).toString()}finally{Ec=void 0}};var pea="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");var v4b=globalThis.trustedTypes,rea=v4b,tea;var Kc=function(a){this.privateDoNotAccessOrElseWrappedResourceUrl=a};Kc.prototype.toString=function(){return this.privateDoNotAccessOrElseWrappedResourceUrl+""};var w4b=Eu([""]),x4b=u2b(["\x00"],["\\0"]),y4b=u2b(["\n"],["\\n"]),z4b=u2b(["\x00"],["\\u0000"]);vea(function(a){return a(w4b)})||vea(function(a){return a(x4b)})||vea(function(a){return a(y4b)})||vea(function(a){return a(z4b)});var Nc=function(a){this.privateDoNotAccessOrElseWrappedUrl=a};Nc.prototype.toString=function(){return this.privateDoNotAccessOrElseWrappedUrl};var yea=new Nc("about:invalid#zClosurez");var wea=function(a){this.isValid=a},xea=[Qc("data"),Qc("http"),Qc("https"),Qc("mailto"),Qc("ftp"),new wea(function(a){return/^[^:]*([/?#]|$)/.test(a)})],zea=/^\s*(?!javascript:)(?:[\w+.-]+:|[^:/?#]*(?:[/?#]|$))/i;var Tc=function(a){this.privateDoNotAccessOrElseWrappedHtml=a};Tc.prototype.toString=function(){return this.privateDoNotAccessOrElseWrappedHtml+""};var wu=new Tc(v4b?v4b.emptyHTML:"");var A4b="alternate author bookmark canonical cite help icon license modulepreload next prefetch dns-prefetch prerender preconnect preload prev search subresource".split(" ");var D4b=function(a){var b=Eq("window.location.href");a==null&&(a='Unknown Error of type "null/undefined"');if(typeof a==="string")return{message:a,name:"Unknown error",lineNumber:"Not available",fileName:b,stack:"Not available"};var c=!1;try{var d=a.lineNumber||a.line||"Not available"}catch(h){d="Not available",c=!0}try{var e=a.fileName||a.filename||a.sourceURL||ya.$googDebugFname||b}catch(h){e="Not available",c=!0}b=B4b(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,C4b[c])c=C4b[c];else{c=String(c);if(!C4b[c]){var f=/function\s+([^\(]+)/m.exec(c);C4b[c]=f?f[1]:"[Anonymous]"}c=C4b[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}},B4b=function(a,b){b||(b={});b[E4b(a)]=!0;var c=a.stack||"",d=a.cause;d&&!b[E4b(d)]&&(c+="\nCaused by: ",d.stack&&d.stack.indexOf(d.toString())==0||(c+=typeof d==="string"?d:d.message+"\n"),c+=B4b(d,b));a=a.errors;if(Array.isArray(a)){d=1;var e;for(e=0;e<a.length&&!(d>4);e++)b[E4b(a[e])]||(c+="\nInner error "+d++ +": ",a[e].stack&&a[e].stack.indexOf(a[e].toString())==0||(c+=typeof a[e]==="string"?a[e]:a[e].message+"\n"),c+=B4b(a[e],
b));e<a.length&&(c+="\n... "+(a.length-e)+" more inner errors")}return c},E4b=function(a){var b="";typeof a.toString==="function"&&(b=""+a);return b+a.stack},C4b={};var F4b=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")},G4b=function(a){return a.replace(/[\s\xa0]+/g," ").replace(/^\s+|\s+$/g,"")},iib=function(a){return!/[^0-9]/.test(a)},Yr=function(a){a3b.test(a)&&(a.indexOf("&")!=-1&&(a=a.replace(V2b,"&amp;")),a.indexOf("<")!=-1&&(a=a.replace(W2b,"&lt;")),a.indexOf(">")!=-1&&(a=a.replace(X2b,"&gt;")),a.indexOf('"')!=-1&&(a=a.replace(Y2b,"&quot;")),a.indexOf("'")!=
-1&&(a=a.replace(Z2b,"&#39;")),a.indexOf("\x00")!=-1&&(a=a.replace($2b,"&#0;")));return a},H4b=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},s$a=function(a,b,c){return a.replace(new RegExp(Bj(b),"g"),c.replace(/\$/g,"$$$$"))},Bj=function(a){return String(a).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")},I4b=String.prototype.repeat?function(a,b){return a.repeat(b)}:
function(a,b){return Array(b+1).join(a)},mv=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+I4b("0",Math.max(0,b-c))+a},Rt=function(a){return a==null?"":String(a)},J4b=function(){return Math.floor(Math.random()*2147483648).toString(36)+Math.abs(Math.floor(Math.random()*2147483648)^Date.now()).toString(36)},Sm=function(a){var b=Number(a);return b==0&&St(a)?NaN:b},Pdb=function(){return"height".replace(/\-([a-z])/g,
function(a,b){return b.toUpperCase()})},K4b=function(a){return String(a).replace(/([A-Z])/g,"-$1").toLowerCase()},zj=function(a){return a.replace(RegExp("(^|[\\s]+)([a-z])","g"),function(b,c,d){return c+d.toUpperCase()})},uj=function(a){isFinite(a)&&(a=String(a));return typeof a==="string"?/^\s*-?0x/i.test(a)?parseInt(a,16):parseInt(a,10):NaN},L4b=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 nv=function(a,b){this.key_=a;this.value_=b},M4b=function(a){throw Error("sa`"+a.key_);};nv.prototype.string=function(a){if(this.value_==null)return arguments.length==0&&M4b(this),a;if(typeof this.value_==="string")return this.value_;throw new TypeError("ta`"+this.key_+"`"+this.value_+"`"+typeof this.value_);};
nv.prototype.bool=function(a){if(this.value_==null)return arguments.length==0&&M4b(this),a;if(typeof this.value_==="boolean")return this.value_;if(typeof this.value_==="string"){var b=this.value_.toLowerCase();if(b==="true"||b==="1")return!0;if(b==="false"||b==="0")return!1}throw new TypeError("va`"+this.key_+"`"+this.value_+"`"+typeof this.value_);};
var O4b=function(){var a=N4b;if(a.value_==null)return null;if(typeof a.value_==="boolean")return a.value_;if(typeof a.value_==="string"){var b=a.value_.toLowerCase();if(b==="true"||b==="1")return!0;if(b==="false"||b==="0")return!1}throw new TypeError("wa`"+a.key_+"`"+a.value_+"`"+typeof a.value_);};
nv.prototype.number=function(a){if(this.value_==null)return arguments.length==0&&M4b(this),a;if(typeof this.value_==="number")return this.value_;if(typeof this.value_==="string"){var b=Number(this.value_);if(!isNaN(b)&&!St(this.value_))return b}throw new TypeError("xa`"+this.key_+"`"+this.value_+"`"+typeof this.value_);};
nv.prototype.toString=function(){if(this.value_==null)var a=null;else if(typeof this.value_==="string")a=this.value_;else throw new TypeError("ua`"+this.key_+"`"+this.value_+"`"+typeof this.value_);a===null&&M4b(this);return a};nv.prototype.array=function(a){if(this.value_==null){if(arguments.length==0)throw Error("sa`"+this.key_);return a}return P4b(this,Xa(this.value_)?this.value_:typeof this.value_!=="string"?[this.value_]:Q4b(this))};
var P4b=function(a,b){return j3b(b,function(c,d){return new nv(this.key_+"["+d+"]",c)},a)},Q4b=function(a){a=a.string();return a.trim()==""?[]:a.split(",").map(function(b){return b.trim()})};nv.prototype.object=function(a){if(this.value_==null){if(arguments.length==0)throw Error("sa`"+this.key_);return a}if(!Xa(this.value_)&&Ya(this.value_))return gea(this.value_,function(b,c){return new nv(this.key_+"."+c,b)},this);throw new TypeError("ya`"+this.key_+"`"+this.value_+"`"+typeof this.value_);};var R4b;if(!(R4b=typeof window==="undefined")){var N4b,S4b,T4b=S4b=S4b===void 0?window:S4b;T4b=T4b===void 0?window:T4b;var U4b,V4b=T4b;V4b=V4b===void 0?window:V4b;U4b=V4b.WIZ_global_data;N4b=new nv("mXaIFf",U4b&&"mXaIFf"in U4b?U4b.mXaIFf:null);var W4b=O4b();R4b=W4b===null?!0:W4b}
if(R4b){var ov=globalThis,X4b=ov[ca("forceDuplicateZoneCheck")]===!0;if(ov.Zone&&(X4b||typeof ov.Zone.__symbol__!=="function"))throw Error("Ca");ov.Zone!=null||(ov.Zone=gaa());var ta=ov.Zone;Fea();Gea();Hea();Kaa();Yaa();cba();dba()};var Iea=Zc({"\u0275prov":Zc}),Mea=Zc({"\u0275inj":Zc}),Jea=Zc({ngInjectableDef:Zc}),Nea=Zc({ngInjectorDef:Zc});var bd=function(a,b){b=Error.call(this,"NG0"+Math.abs(a)+(b?": "+b:""));this.message=b.message;"stack"in b&&(this.stack=b.stack);this.code=a};Y(bd,Error);var wd=Zc({"\u0275cmp":Zc}),Oja=Zc({"\u0275dir":Zc}),qfa=Zc({"\u0275pipe":Zc}),Y4b=Zc({"\u0275mod":Zc}),sfa=Zc({"\u0275fac":Zc}),Zd=Zc({__NG_ELEMENT_ID__:Zc}),Z4b=Zc({__NG_ENV_ID__:Zc});var cd=null,Sea=!1,Xea=1,id=Symbol("Ea"),pv={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,kind:"unknown",producerMustRecompute:function(){return!1},producerRecomputeValue:function(){},consumerMarkedDirty:function(){},consumerOnSignalRead:function(){}};var $4b=Symbol("Fa"),a5b=Symbol("Ga"),efa=Symbol("Ha"),dfa=Object.assign({},pv,{value:$4b,dirty:!0,error:null,equal:Rea,kind:"computed",producerMustRecompute:function(a){return a.value===$4b||a.value===a5b},producerRecomputeValue:function(a){if(a.value===a5b)throw Error("Ia");var b=a.value;a.value=a5b;var c=fd(a);try{var d=a.computation()}catch(e){d=efa,a.error=e}finally{gd(a,c)}b!==$4b&&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({},pv,{equal:Rea,value:void 0,kind:"signal"});Object.assign({},pv,{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:function(a){a.schedule!==null&&a.schedule(a.ref)},hasRun:!1,cleanupFn:function(){}});var jd;var mfa=Zc({__forward_ref__:Zc});var zd=function(a,b){this._desc=a;this.\u0275prov=void 0;typeof b=="number"?this.__NG_ELEMENT_ID__=b:b!==void 0&&(this.\u0275prov=n({token:this,providedIn:b.providedIn||"root",factory:b.factory}))};zd.prototype.toString=function(){return"InjectionToken "+this._desc};da.Object.defineProperties(zd.prototype,{multi:{configurable:!0,enumerable:!0,get:function(){return this}}});var qf=globalThis;var b5b={},c5b=/\n/gm,nd=void 0;var Cfa=new zd("");var d5b=new zd("",-1);var Bfa=new zd("");var Gfa=function(){};Gfa.prototype.get=function(a,b){b=b===void 0?b5b:b;if(b===b5b)throw a=Error("Ja`"+ad(a)),a.name="NullInjectorError",a;return b};var Fd={},xd=[];var Dfa=Zc({provide:String,useValue:Zc});var Fma=new zd("");var Lfa={},e5b={},Ffa=void 0,qv=function(){},Bd=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;Ofa(a,function(f){return f5b(e,f)});this.records.set(d5b,Ad(void 0,this));d.has("environment")&&this.records.set(qv,Ad(void 0,this));a=this.records.get(Fma);a!=null&&typeof a.value==="string"&&this.scopes.add(a.value);this.injectorDefTypes=new Set(this.get(Bfa,xd,2))};Y(Bd,qv);g=Bd.prototype;
g.destroy=function(){Nfa(this);this._destroyed=!0;var a=dd(null);try{for(var b=k(this._ngOnDestroyHooks),c=b.next();!c.done;c=b.next())c.value.ngOnDestroy();var d=this._onDestroyHooks;this._onDestroyHooks=[];for(var e=k(d),f=e.next();!f.done;f=e.next()){var h=f.value;h()}}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),dd(a)}};
g.onDestroy=function(a){var b=this;Nfa(this);this._onDestroyHooks.push(a);return function(){var c=b._onDestroyHooks.indexOf(a);c!==-1&&b._onDestroyHooks.splice(c,1)}};
g.get=function(a,b,c){b=b===void 0?b5b:b;c=c===void 0?0:c;Nfa(this);if(a.hasOwnProperty(Z4b))return a[Z4b](this);c=ofa(c);var d=od(this),e=kd();try{if(!(c&4)){var f=this.records.get(a);if(f===void 0){var h=(typeof a==="function"||typeof a==="object"&&a instanceof zd)&&Kea(a),l;if(l=h)if(h.providedIn){var q=md(h.providedIn);l=typeof q==="string"?q==="any"||this.scopes.has(q):this.injectorDefTypes.has(q)}else l=!1;l?f=Ad(Jfa(a),Lfa):f=null;this.records.set(a,f)}if(f!=null){a:{b=f;var u=dd(null);try{b.value===
Lfa&&(b.value=e5b,b.value=b.factory());var A;if(A=typeof b.value==="object"&&b.value){var F=b.value;A=F!==null&&typeof F==="object"&&typeof F.ngOnDestroy==="function"}A&&this._ngOnDestroyHooks.add(b.value);var H=b.value;break a}finally{dd(u)}H=void 0}return H}}var N=c&2?Hfa():this.parent;b=c&8&&b===b5b?null:b;return N.get(a,b)}catch(Pa){if(Pa.name==="NullInjectorError"){(Pa.ngTempTokenPath=Pa.ngTempTokenPath||[]).unshift(ad(a));if(d)throw Pa;H=Pa;var O=this.source,T=H.ngTempTokenPath;a.__source&&
T.unshift(a.__source);var ea="\n"+H.message;a=O;a=a===void 0?null:a;ea=ea&&ea.charAt(0)==="\n"&&ea.charAt(1)=="\u0275"?ea.slice(2):ea;var ka=ad(T);if(Array.isArray(T))ka=T.map(ad).join(" -> ");else if(typeof T==="object"){O=[];for(var oa in T)if(T.hasOwnProperty(oa)){var La=T[oa];O.push(oa+":"+(typeof La==="string"?JSON.stringify(La):ad(La)))}ka="{"+O.join(", ")+"}"}var Ua="R3InjectorError"+(a?"("+a+")":"")+"["+ka+"]: "+ea.replace(c5b,"\n  ");H.message=Ua;H.ngTokenPath=T;H.ngTempTokenPath=null;throw H;
}throw Pa;}finally{kd(e),od(d)}};g.resolveInjectorInitializers=function(){var a=dd(null),b=od(this),c=kd();try{for(var d=this.get(Cfa,xd,2),e=k(d),f=e.next();!f.done;f=e.next()){var h=f.value;h()}}finally{od(b),kd(c),dd(a)}};g.toString=function(){for(var a=[],b=k(this.records.keys()),c=b.next();!c.done;c=b.next())a.push(ad(c.value));return"R3Injector["+a.join(", ")+"]"};
var f5b=function(a,b){b=md(b);var c=yd(b)?b:md(b&&b.provide),d=Mfa(b);if(!yd(b)&&b.multi===!0){var e=a.records.get(c);e||(e=Ad(void 0,Lfa,!0),e.factory=function(){return pfa(e.multi)},a.records.set(c,e));c=b;e.multi.push(b)}a.records.set(c,d)};da.Object.defineProperties(Bd.prototype,{destroyed:{configurable:!0,enumerable:!0,get:function(){return this._destroyed}}});var Tfa=function(a,b,c){this.previousValue=a;this.currentValue=b;this.firstChange=c};var rv=function(){var a=function(){return Sfa};a.ngInherit=!0;return a}();var Nd=dga(null),Uia=null,Yfa=!1,ig=!0;var ce=function(a,b){var c=hf;this.factory=a;this.resolving=!1;this.canSeeViewProviders=b;this.injectImpl=c};var g5b={};var h5b=function(a,b){this.injector=a;this.parentInjector=b};h5b.prototype.get=function(a,b,c){c=ofa(c);var d=this.injector.get(a,g5b,c);return d!==g5b||b===g5b?d:this.parentInjector.get(a,b,c)};var nga=!0,pga=0,ae={},de=function(a,b){this._tNode=a;this._lView=b};de.prototype.get=function(a,b,c){return yga(this._tNode,this._lView,a,ofa(c),b)};var sv=function(a){var b=this;this.attributeName=a;this.__NG_ELEMENT_ID__=function(){return $d(b.attributeName)}};sv.prototype.toString=function(){return"HostAttributeToken "+this.attributeName};(new zd("")).__NG_ELEMENT_ID__=function(a){var b=Pd();if(b===null)throw new bd(204,!1);if(b.type&2)return b.value;if(a&8)return null;throw new bd(204,!1);};var i5b=qd(fe(function(a){return{token:a}}),-1),tv=qd(fe(),8);qd(fe(),2);var uv=qd(fe(),4);qd(fe(),1);Zc({provide:String,useValue:Zc});var Ye=function(){},th=function(a){if(Array.isArray(a))return Ega({name:""},void 0,a,"");var b,c=(b=a.name)!=null?b:"";return Ega({name:c},a.parent,a.providers,c)},j5b=new Gfa;Ye.\u0275prov=n({token:Ye,providedIn:"any",factory:function(){return pd(d5b)}});Ye.__NG_ELEMENT_ID__=-1;var k5b=function(){};var vv=function(){},$sa=function(){};var xh=function(){},l5b=new zd("",{providedIn:"root",factory:function(){return!1}});new zd("",{providedIn:"root",factory:function(){return!1}});var sma=new zd(""),tma=new zd("");var bf=new zd("");var cf=function(){};cf.__NG_ELEMENT_ID__=Jga;cf.__NG_ENV_ID__=function(a){return a};var ge=function(a){this._lView=a};Y(ge,cf);ge.__NG_ENV_ID__=cf.__NG_ENV_ID__;ge.__NG_ELEMENT_ID__=cf.__NG_ELEMENT_ID__;ge.prototype.onDestroy=function(a){var b=this;Xfa(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 m5b=he(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 je=function(a){this.initialTeardown=a;this.closed=!1;this._teardowns=this._parentage=null};g=je.prototype;
g.unsubscribe=function(){if(!this.closed){this.closed=!0;var a=this._parentage;if(Array.isArray(a))for(var b=k(a),c=b.next();!c.done;c=b.next())c.value.remove(this);else a==null||a.remove(this);b=this.initialTeardown;if(ie(b))try{b()}catch(f){var d=f instanceof m5b?f.errors:[f]}var e=this._teardowns;if(e)for(this._teardowns=null,b=k(e),c=b.next();!c.done;c=b.next()){c=c.value;try{ie(c)?c():c.unsubscribe()}catch(f){c=void 0,d=(c=d)!=null?c:[],f instanceof m5b?d=[].concat(t(d),t(f.errors)):d.push(f)}}if(d)throw new m5b(d);
}};g.add=function(a){if(a&&a!==this)if(this.closed)ie(a)?a():a.unsubscribe();else{if(a instanceof je){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)&&Kga(b,a)};g.remove=function(a){var b=this._teardowns;b&&Kga(b,a);a instanceof je&&a._removeParent(this)};var n5b=new je;n5b.closed=!0;je.EMPTY=n5b;var Mga=function(){setTimeout.apply(null,t(vd.apply(0,arguments)))};var wv=function(a){je.call(this);this.isStopped=!1;this.destination=a instanceof wv?a:new o5b(!a||ie(a)?{next:a!=null?a:void 0}:a);Lga(a)&&a.add(this)};Y(wv,je);wv.EMPTY=je.EMPTY;wv.create=function(a,b,c){return new Ce(a,b,c)};g=wv.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,je.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 o5b=function(a){this.partialObserver=a};o5b.prototype.next=function(a){var b=this.partialObserver;if(b.next)try{b.next(a)}catch(c){le(c)}};o5b.prototype.error=function(a){var b=this.partialObserver;if(b.error)try{b.error(a)}catch(c){le(c)}else le(a)};o5b.prototype.complete=function(){var a=this.partialObserver;if(a.complete)try{a.complete()}catch(b){le(b)}};
var Ce=function(a,b,c){wv.call(this);var d;ie(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 o5b(d)};Y(Ce,wv);Ce.EMPTY=wv.EMPTY;Ce.create=wv.create;var pe=typeof Symbol==="function"&&Symbol.observable||"@@observable";var oe=function(a){a&&(this._subscribe=a)};g=oe.prototype;g.lift=function(a){var b=new oe;b.source=this;b.operator=a;return b};g.subscribe=function(a,b,c){a=a&&a instanceof wv||a&&ie(a.next)&&ie(a.error)&&ie(a.complete)&&Lga(a)?a:new Ce(a,b,c);b=this.operator;c=this.source;a.add(b?b.call(a,c):c?this._subscribe(a):this._trySubscribe(a));return a};g._trySubscribe=function(a){try{return this._subscribe(a)}catch(b){a.error(b)}};
g.forEach=function(a,b){var c=this;b=Oga(b);return new b(function(d,e){var f=c.subscribe(function(h){try{a(h)}catch(l){e(l),f==null||f.unsubscribe()}},e,d)})};g._subscribe=function(a){var b;return(b=this.source)==null?void 0:b.subscribe(a)};oe.prototype[pe]=function(){return this};oe.prototype.pipe=function(){var a=vd.apply(0,arguments);return a.length?Nga(a)(this):this};oe.create=function(a){return new oe(a)};var p5b=he(function(a){return function(){a(this);this.name="ObjectUnsubscribedError";this.message="object unsubscribed"}});var Uf=function(){this.observers=[];this.hasError=this.isStopped=this.closed=!1;this.thrownError=null};Y(Uf,oe);g=Uf.prototype;g.lift=function(a){var b=new xv(this,this);b.operator=a;return b};g._throwIfClosed=function(){if(this.closed)throw new p5b;};g.next=function(a){this._throwIfClosed();if(!this.isStopped)for(var b=k(this.observers.slice()),c=b.next();!c.done;c=b.next())c.value.next(a)};
g.error=function(a){this._throwIfClosed();if(!this.isStopped){this.hasError=this.isStopped=!0;this.thrownError=a;for(var b=this.observers;b.length;)b.shift().error(a)}};g.complete=function(){this._throwIfClosed();if(!this.isStopped){this.isStopped=!0;for(var a=this.observers;a.length;)a.shift().complete()}};g.unsubscribe=function(){this.isStopped=this.closed=!0;this.observers=null};g._trySubscribe=function(a){this._throwIfClosed();return oe.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?je.EMPTY:(d.push(a),new je(function(){return Kga(b.observers,a)}))};g._checkFinalizedStatuses=function(a){var b=this.thrownError,c=this.isStopped;this.hasError?a.error(b):c&&a.complete()};var pu=function(a){var b=new oe;b.source=a;return b};
da.Object.defineProperties(Uf.prototype,{observed:{configurable:!0,enumerable:!0,get:function(){var a;return((a=this.observers)==null?void 0:a.length)>0}}});Uf.create=function(a,b){return new xv(a,b)};var xv=function(a,b){Uf.call(this);this.destination=a;this.source=b};Y(xv,Uf);xv.create=Uf.create;xv.prototype.next=function(a){var b,c;(b=this.destination)==null||(c=b.next)==null||c.call(b,a)};xv.prototype.error=function(a){var b,c;(b=this.destination)==null||(c=b.error)==null||c.call(b,a)};
xv.prototype.complete=function(){var a,b;(a=this.destination)==null||(b=a.complete)==null||b.call(a)};xv.prototype._subscribe=function(a){var b,c;return(c=(b=this.source)==null?void 0:b.subscribe(a))!=null?c:je.EMPTY};var Xi=function(a){Uf.call(this);this._value=a};Y(Xi,Uf);Xi.create=Uf.create;Xi.prototype._subscribe=function(a){var b=Uf.prototype._subscribe.call(this,a);!b.closed&&a.next(this._value);return b};Xi.prototype.getValue=function(){var a=this.thrownError,b=this._value;if(this.hasError)throw a;this._throwIfClosed();return b};Xi.prototype.next=function(a){Uf.prototype.next.call(this,this._value=a)};da.Object.defineProperties(Xi.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.getValue()}}});var Se=new oe(function(a){return a.complete()});var Sga=typeof Symbol==="function"&&Symbol.iterator?Symbol.iterator:"@@iterator";var Xga=function(a){return a&&typeof a.length==="number"&&typeof a!=="function"};var q5b={now:function(){return(q5b.delegate||Date).now()},delegate:void 0};var Tf=function(a,b,c){a=a===void 0?Infinity:a;b=b===void 0?Infinity:b;c=c===void 0?q5b:c;Uf.call(this);this.bufferSize=a;this.windowTime=b;this.timestampProvider=c;this.buffer=[];this.infiniteTimeWindow=b===Infinity;this.bufferSize=Math.max(1,a);this.windowTime=Math.max(1,b)};Y(Tf,Uf);Tf.create=Uf.create;
Tf.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));r5b(this);Uf.prototype.next.call(this,a)};Tf.prototype._subscribe=function(a){this._throwIfClosed();r5b(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 r5b=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 t5b=function(a,b){b=b===void 0?s5b:b;this.schedulerActionCtor=a;this.now=b};t5b.prototype.schedule=function(a,b,c){b=b===void 0?0:b;return(new this.schedulerActionCtor(this,a)).schedule(c,b)};var s5b=q5b.now;var Ee=he(function(a){return function(){a(this);this.name="EmptyError";this.message="no elements in sequence"}});var He=function(a,b,c,d,e){wv.call(this,a);this.onUnsubscribe=e;b&&(this._next=function(f){try{b(f)}catch(h){this.destination.error(h)}});c&&(this._error=function(f){try{c(f)}catch(h){this.destination.error(h)}this.unsubscribe()});d&&(this._complete=function(){try{d()}catch(f){this.destination.error(f)}this.unsubscribe()})};Y(He,wv);He.EMPTY=wv.EMPTY;He.create=wv.create;He.prototype.unsubscribe=function(){var a;this.closed||(a=this.onUnsubscribe)!=null&&a.call(this);wv.prototype.unsubscribe.call(this)};var Sf=function(a,b){this.source=a;this.subjectFactory=b;this._subject=null;this._refCount=0;this._connection=null};Y(Sf,oe);Sf.create=oe.create;Sf.prototype._subscribe=function(a){return u5b(this).subscribe(a)};var u5b=function(a){var b=a._subject;if(!b||b.isStopped)a._subject=a.subjectFactory();return a._subject};Sf.prototype._teardown=function(){this._refCount=0;var a=this._connection;this._subject=this._connection=null;a==null||a.unsubscribe()};
Sf.prototype.connect=function(){var a=this,b=this._connection;if(!b){b=this._connection=new je;var c=u5b(this);b.add(this.source.subscribe(new He(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=je.EMPTY)}return b};Sf.prototype.refCount=function(){return hha()(this)};var iha=Array.isArray;var kha=Array.isArray,v5b=Object,lha=v5b.getPrototypeOf,mha=v5b.prototype,nha=v5b.keys;var Je=function(a,b,c){wv.call(this,a);this._next=b;this.shouldComplete=c};Y(Je,wv);Je.EMPTY=wv.EMPTY;Je.create=wv.create;Je.prototype._complete=function(){this.shouldComplete()?wv.prototype._complete.call(this):this.unsubscribe()};var w5b=function(){return requestAnimationFrame.apply(null,t(vd.apply(0,arguments)))},x5b=function(){cancelAnimationFrame.apply(null,t(vd.apply(0,arguments)))};var uha=["addListener","removeListener"],tha=["addEventListener","removeEventListener"],wha=["on","off"];var yv=function(){je.call(this)};Y(yv,je);yv.EMPTY=je.EMPTY;yv.prototype.schedule=function(){return this};var y5b=function(a,b){return setInterval.apply(null,[a,b].concat(t(vd.apply(2,arguments))))};var zv=function(a,b){je.call(this);this.scheduler=a;this.work=b;this.pending=!1};Y(zv,yv);zv.EMPTY=yv.EMPTY;g=zv.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 y5b(a.flush.bind(a,this),c)};
g.recycleAsyncId=function(a,b,c){c=c===void 0?0:c;if(c!=null&&this.delay===c&&this.pending===!1)return b;clearInterval(b)};g.execute=function(a,b){if(this.closed)return Error("Qa");this.pending=!1;if(a=this._execute(a,b))return a;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))};g._execute=function(a){var b=!1;try{this.work(a)}catch(d){b=!0;var c=!!d&&d||Error(d)}if(b)return this.unsubscribe(),c};
g.unsubscribe=function(){if(!this.closed){var a=this.id,b=this.scheduler,c=b.actions;this.work=this.state=this.scheduler=null;this.pending=!1;Kga(c,this);a!=null&&(this.id=this.recycleAsyncId(b,a,null));this.delay=null;yv.prototype.unsubscribe.call(this)}};var Av=function(a,b){b=b===void 0?s5b:b;t5b.call(this,a,b);this.actions=[];this.active=!1;this.scheduled=void 0};Y(Av,t5b);Av.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 Qe=new Av(zv);var Bv=new oe(ke);var zha=Array.isArray;var Dha=he(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 z5b=function(a,b){zv.call(this,a,b);this.scheduler=a;this.work=b};Y(z5b,zv);z5b.EMPTY=zv.EMPTY;z5b.prototype.requestAsyncId=function(a,b,c){c=c===void 0?0:c;if(c!==null&&c>0)return zv.prototype.requestAsyncId.call(this,a,b,c);a.actions.push(this);return a.scheduled||(a.scheduled=w5b(function(){return a.flush(void 0)}))};
z5b.prototype.recycleAsyncId=function(a,b,c){c=c===void 0?0:c;if(c!=null&&c>0||c==null&&this.delay>0)return zv.prototype.recycleAsyncId.call(this,a,b,c);a.actions.length===0&&(x5b(b),a.scheduled=void 0)};var A5b=function(){Av.apply(this,arguments)};Y(A5b,Av);A5b.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 B5b=new A5b(z5b);var C5b=1,D5b,Eha={},E5b=function(a){var b=C5b++;Eha[b]=!0;D5b||(D5b=Promise.resolve());D5b.then(function(){return Fha(b)&&a()});return b};var F5b=function(){return E5b.apply(null,t(vd.apply(0,arguments)))};var G5b=function(a,b){zv.call(this,a,b);this.scheduler=a;this.work=b};Y(G5b,zv);G5b.EMPTY=zv.EMPTY;G5b.prototype.requestAsyncId=function(a,b,c){c=c===void 0?0:c;if(c!==null&&c>0)return zv.prototype.requestAsyncId.call(this,a,b,c);a.actions.push(this);return a.scheduled||(a.scheduled=F5b(a.flush.bind(a,void 0)))};
G5b.prototype.recycleAsyncId=function(a,b,c){c=c===void 0?0:c;if(c!=null&&c>0||c==null&&this.delay>0)return zv.prototype.recycleAsyncId.call(this,a,b,c);a.actions.length===0&&(Fha(b),a.scheduled=void 0)};var H5b=function(){Av.apply(this,arguments)};Y(H5b,Av);H5b.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 vp=new H5b(G5b);he(function(a){return function(){a(this);this.name="ArgumentOutOfRangeError";this.message="argument out of range"}});he(function(a){return function(b){a(this);this.name="NotFoundError";this.message=b}});he(function(a){return function(b){a(this);this.name="SequenceError";this.message=b}});var Cv=function(){this.taskId=0;this.pendingTasks=new Set;this.hasPendingTasks=new Xi(!1)};Cv.prototype.add=function(){this._hasPendingTasks||this.hasPendingTasks.next(!0);var a=this.taskId++;this.pendingTasks.add(a);return a};Cv.prototype.has=function(a){return this.pendingTasks.has(a)};Cv.prototype.remove=function(a){this.pendingTasks.delete(a);this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)};
Cv.prototype.ngOnDestroy=function(){this.pendingTasks.clear();this._hasPendingTasks&&this.hasPendingTasks.next(!1)};da.Object.defineProperties(Cv.prototype,{_hasPendingTasks:{configurable:!0,enumerable:!0,get:function(){return this.hasPendingTasks.value}}});Cv.\u0275prov=n({token:Cv,providedIn:"root",factory:function(){return new Cv}});var Dv=function(a){a=a===void 0?!1:a;Uf.call(this);this.pendingTasks=this.destroyRef=void 0;this.__isAsync=a;if(jd!==void 0||nd!=null){var b;this.destroyRef=(b=r(cf,{optional:!0}))!=null?b:void 0;var c;this.pendingTasks=(c=r(Cv,{optional:!0}))!=null?c:void 0}};Y(Dv,Uf);Dv.create=Uf.create;Dv.prototype.emit=function(a){var b=dd(null);try{Uf.prototype.next.call(this,a)}finally{dd(b)}};
Dv.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=I5b(this,b),d&&(d=I5b(this,d)),c&&(c=I5b(this,c)));d=Uf.prototype.subscribe.call(this,{next:d,error:b,complete:c});a instanceof je&&a.add(d);return d};
var I5b=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 Mha=0,kh=function(a){this.hasPendingMicrotasks=this.hasPendingMacrotasks=!1;this.isStable=!0;this.onUnstable=new Dv(!1);this.onMicrotaskEmpty=new Dv(!1);this.onStable=new Dv(!1);this.onError=new Dv(!1);var b=a.enableLongStackTrace===void 0?!1:a.enableLongStackTrace,c=a.shouldCoalesceEventChangeDetection===void 0?!1:a.shouldCoalesceEventChangeDetection,d=a.shouldCoalesceRunChangeDetection===void 0?!1:a.shouldCoalesceRunChangeDetection;a=a.scheduleInRootZone===void 0?!1:a.scheduleInRootZone;if(typeof Zone==
"undefined")throw new bd(908,!1);Zone.assertZonePatched();this._nesting=0;this._outer=this._inner=Zone.current;Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec));b&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec));this.shouldCoalesceEventChangeDetection=!d&&c;this.shouldCoalesceRunChangeDetection=d;this.callbackScheduled=!1;this.scheduleInRootZone=a;Pha(this)},J5b=function(){return typeof Zone!=="undefined"&&Zone.current.get("isAngularZone")===
!0},K5b=function(){if(J5b())throw new bd(909,!1);};kh.prototype.run=function(a,b,c){return this._inner.run(a,b,c)};kh.prototype.runTask=function(a,b,c,d){var e=this._inner;a=e.scheduleEventTask("NgZoneEvent: "+d,a,L5b,We,We);try{return e.runTask(a,b,c)}finally{e.cancelTask(a)}};kh.prototype.runGuarded=function(a,b,c){return this._inner.runGuarded(a,b,c)};kh.prototype.runOutsideAngular=function(a){return this._outer.run(a)};
var L5b={},Ev=function(){this.hasPendingMacrotasks=this.hasPendingMicrotasks=!1;this.isStable=!0;this.onUnstable=new Dv;this.onMicrotaskEmpty=new Dv;this.onStable=new Dv;this.onError=new Dv};Ev.prototype.run=function(a,b,c){return a.apply(b,c)};Ev.prototype.runGuarded=function(a,b,c){return a.apply(b,c)};Ev.prototype.runOutsideAngular=function(a){return a()};Ev.prototype.runTask=function(a,b,c){return a.apply(b,c)};var zf=function(){this._console=console};zf.prototype.handleError=function(a){this._console.error("ERROR",a)};var M5b=new zd("",{providedIn:"root",factory:function(){var a=r(kh),b=r(zf);return function(c){return a.runOutsideAngular(function(){return b.handleError(c)})}}});var $e=function(){this.impl=null};$e.prototype.execute=function(){var a;(a=this.impl)==null||a.execute()};$e.\u0275prov=n({token:$e,providedIn:"root",factory:function(){return new $e}});var N5b=[0,1,2,3],af=function(){this.ngZone=r(kh);this.scheduler=r(xh);this.errorHandler=r(zf,{optional:!0});this.sequences=new Set;this.deferredRegistrations=new Set;this.executing=!1;r(bf,{optional:!0})};
af.prototype.execute=function(){this.executing=!0;for(var a=k(N5b),b=a.next(),c={};!b.done;c={phase:void 0},b=a.next()){c.phase=b.value;b=k(this.sequences);for(var d=b.next(),e={};!d.done;e={sequence:void 0},d=b.next())if(e.sequence=d.value,!e.sequence.erroredOrDestroyed&&e.sequence.hooks[c.phase])try{e.sequence.pipelinedValue=this.ngZone.runOutsideAngular(function(f,h){return function(){return O5b(function(){return f.sequence.hooks[h.phase](f.sequence.pipelinedValue)},f.sequence.snapshot)}}(e,c))}catch(f){e.sequence.erroredOrDestroyed=
!0,d=void 0,(d=this.errorHandler)==null||d.handleError(f)}}this.executing=!1;a=k(this.sequences);for(c=a.next();!c.done;c=a.next())c=c.value,P5b(c),c.once&&(this.sequences.delete(c),c.destroy());a=k(this.deferredRegistrations);for(c=a.next();!c.done;c=a.next())this.sequences.add(c.value);this.deferredRegistrations.size>0&&this.scheduler.notify(7);this.deferredRegistrations.clear()};
af.prototype.register=function(a){var b=a.view;if(b!==void 0){var c;((c=b[25])!=null?c:b[25]=[]).push(a);Kd(b);b[2]|=8192}else this.executing?this.deferredRegistrations.add(a):(this.sequences.add(a),this.scheduler.notify(7))};af.prototype.unregister=function(a){this.executing&&this.sequences.has(a)?(a.erroredOrDestroyed=!0,a.pipelinedValue=void 0,a.once=!0):(this.sequences.delete(a),this.deferredRegistrations.delete(a))};var O5b=function(a,b){return b?b.run(1,a):a()};
af.\u0275prov=n({token:af,providedIn:"root",factory:function(){return new af}});var Vha=function(a,b,c,d,e,f){var h=this;this.impl=a;this.hooks=b;this.view=c;this.once=d;this.snapshot=f===void 0?null:f;this.erroredOrDestroyed=!1;this.pipelinedValue=void 0;this.unregisterOnDestroy=e==null?void 0:e.onDestroy(function(){return h.destroy()})},P5b=function(a){a.erroredOrDestroyed=!1;a.pipelinedValue=void 0;var b;(b=a.snapshot)==null||b.dispose();a.snapshot=null};
Vha.prototype.destroy=function(){var a=this;this.impl.unregister(this);var b;(b=this.unregisterOnDestroy)==null||b.call(this);var c;(b=(c=this.view)==null?void 0:c[25])&&(this.view[25]=b.filter(function(d){return d!==a}))};var Qha=function(a,b){this.view=a;this.node=b};Qha.__NG_ELEMENT_ID__=Rha;var Sha=new Set;/*

 Copyright 2024 Google, Inc
 SPDX-License-Identifier: MIT
*/
Symbol.for("propagationStopped");new zd("",{providedIn:"root",factory:function(){return{}}});new zd("");var Q5b=new zd("",{providedIn:"root",factory:function(){return!1}});new zd("");new zd("");new zd("");new zd("",{providedIn:"root",factory:function(){return new Map}});new zd("");var Wha=void 0;var Yha=new Map,Sia=0;var R5b=new zd("",{providedIn:"root",factory:function(){return"ng"}}),Gma=new zd(""),Fv=new zd("",{providedIn:"platform",factory:function(){return"unknown"}});new zd("");
var Gv=new zd(""),S5b=new zd("",{providedIn:"root",factory:function(){var a,b;return((a=Xha().body)==null?void 0:(b=a.querySelector("[ngCspNonce]"))==null?void 0:b.getAttribute("ngCspNonce"))||null}}),T5b={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1};new zd("",{providedIn:"root",factory:function(){return T5b}});var U5b=function(){},V5b=function(){};var ef=function(a){this.nativeElement=a};ef.__NG_ELEMENT_ID__=function(){return ff(Pd(),v())};var Hv=function(){},Iv=function(){this.destroyNode=null};Iv.__NG_ELEMENT_ID__=function(){var a=v(),b=Id(Pd().index,a);return(Dd(b)?b:a)[11]};var fia=/^>|^->|\x3c!--|--\x3e|--!>|<!-$/g,gia=/(<|>)/g;var xf={};var nf=function(a){this.changingThisBreaksApplicationSecurity=a};nf.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see https://g.co/ng/security#xss)"};var W5b=function(){nf.apply(this,arguments)};Y(W5b,nf);W5b.prototype.getTypeName=function(){return"HTML"};var X5b=function(){nf.apply(this,arguments)};Y(X5b,nf);X5b.prototype.getTypeName=function(){return"URL"};var Y5b=function(){nf.apply(this,arguments)};Y(Y5b,nf);
Y5b.prototype.getTypeName=function(){return"ResourceURL"};var sia;var Eia=function(a){this.inertDocumentHelper=a};Eia.prototype.getInertBodyElement=function(a){a="<body><remove></remove>"+a;try{var b=(new window.DOMParser).parseFromString(uia(a),"text/html").body;if(b===null)return this.inertDocumentHelper.getInertBodyElement(a);var c;(c=b.firstChild)==null||c.remove();return b}catch(d){return null}};var Dia=function(a){this.defaultDoc=a;this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")};
Dia.prototype.getInertBodyElement=function(a){var b=this.inertDocument.createElement("template");b.innerHTML=uia(a);return b};var via=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;var Z5b=rf("area,br,col,hr,img,wbr"),$5b=rf("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),a6b=rf("rp,rt"),b6b=sf(a6b,$5b),c6b=sf($5b,rf("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")),d6b=sf(a6b,rf("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")),
Gia=sf(Z5b,c6b,d6b,b6b),Iia=rf("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),e6b=rf("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"),
f6b=rf("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"),
Hia=sf(Iia,e6b,f6b),Jia=rf("script,style,template"),Fia=function(){this.buf=[]};Fia.prototype.endElement=function(a){a=xia(a).toLowerCase();Gia.hasOwnProperty(a)&&!Z5b.hasOwnProperty(a)&&(this.buf.push("</"),this.buf.push(a),this.buf.push(">"))};var zia=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Aia=/([^#-~ |!])/g,Cia;var g6b={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 Lia;var Bja=[],Cja=Object.assign({},pv,{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:function(a){Kd(a.lView)},consumerOnSignalRead:function(){this.lView[24]=this}}),Dja=Object.assign({},pv,{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:function(a){for(a=Md(a.lView);a&&a[1].type===2;)a=Md(a);a&&Ufa(a)},consumerOnSignalRead:function(){this.lView[24]=this}});var jh=function(a,b,c){this._lView=a;this._cdRefInjectingView=b;this.notifyErrorHandler=c===void 0?!0:c;this._appRef=null;this._attachedToViewContainer=!1};g=jh.prototype;g.destroy=function(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){var a=this._lView[3];if(Ed(a)){var b=a[8],c=b?b.indexOf(this):-1;c>-1&&(lf(a,c),ufa(b,c))}this._attachedToViewContainer=!1}mia(this._lView[1],this._lView)};g.onDestroy=function(a){Xfa(this._lView,a)};
g.markForCheck=function(){bia(this._cdRefInjectingView||this._lView,4)};g.detach=function(){this._lView[2]&=-129};g.detectChanges=function(){this._lView[2]|=1024;zja(this._lView,this.notifyErrorHandler)};
da.Object.defineProperties(jh.prototype,{rootNodes:{configurable:!0,enumerable:!0,get:function(){var a=this._lView,b=a[1];return vja(b,a,b.firstChild,[])}},context:{configurable:!0,enumerable:!0,get:function(){return this._lView[8]},set:function(a){this._lView[8]=a}},dirty:{configurable:!0,enumerable:!0,get:function(){var a;return!!(this._lView[2]&9280)||!((a=this._lView[24])==null||!a.dirty)}},destroyed:{configurable:!0,enumerable:!0,get:function(){return(this._lView[2]&256)===256}}});var h6b=function(){};h6b.\u0275prov=n({token:h6b,providedIn:"root",factory:function(){return null}});var i6b=function(a){this.ngModule=a};Y(i6b,k5b);var j6b=function(a,b){return new Ah(b[wd]||null,a.ngModule)},Ah=function(a,b){this.componentDef=a;this.ngModule=b;this.componentType=a.type;this.selector=a.selectors.map(Iga).join(",");this.ngContentSelectors=a.ngContentSelectors?a.ngContentSelectors:[];this.isBoundToModule=!!b};Y(Ah,V5b);
Ah.prototype.create=function(a,b,c,d){var e=dd(null);try{d=d||this.ngModule;var f,h=d instanceof qv?d:(f=d)==null?void 0:f.injector;h&&this.componentDef.getStandaloneInjector!==null&&(h=this.componentDef.getStandaloneInjector(h)||h);var l=h?new h5b(a,h):a,q=l.get(Hv,null);if(q===null)throw new bd(407,!1);var u=l.get(h6b,null),A=l.get(xh,null);a={rendererFactory:q,sanitizer:u,changeDetectionScheduler:A};var F=q.createRenderer(null,this.componentDef),H=this.componentDef.selectors[0][0]||"div";if(c){var N=
this.componentDef.encapsulation,O=l.get(Q5b,!1)||N===3;var T=F.selectRootElement(c,O)}else{var ea=H.toLowerCase();T=F.createElement(H,ea==="svg"?"svg":ea==="math"?"math":null)}q=T;H=512;this.componentDef.signals?H|=4096:this.componentDef.onPush||(H|=16);T=null;q!==null&&(T=null);var ka=dja(0,null,null,1,0,null,null,null,null,null,null),oa=Tia(null,ka,null,H,null,null,a,F,l,null,T);cga(oa);l=null;try{var La=this.componentDef;H=null;if(La.findHostDirectiveDefs){var Ua=[];H=new Map;La.findHostDirectiveDefs(La,
Ua,H);Ua.push(La)}else Ua=[La];var Pa=oa[1];oa[26]=q;var lb=wf(Pa,26,2,"#host",null);Pa=Ua;for(var qa=oa[1],Ga=k(Pa),Ha=Ga.next();!Ha.done;Ha=Ga.next())lb.mergedAttrs=Xd(lb.mergedAttrs,Ha.value.hostAttrs);lb.mergedAttrs!==null&&(uja(lb,lb.mergedAttrs,!0),q!==null&&ria(F,q,lb));Ga=null;q!==null&&(Ga=null);var Ab=a.rendererFactory.createRenderer(q,La),vb=Tia(oa,Yia(La),null,$ia(La),oa[lb.index],lb,a,Ab,null,null,Ga);qa.firstCreatePass&&hja(qa,lb,Pa.length-1);Zia(oa,vb);l=oa[lb.index]=vb;var fc=ka.data[26];
if(q)if(c)kga(F,q,["ng-version","0.0.0-PLACEHOLDER"]);else{var hc=La.selectors[0];c=[];lb=[];qa=1;for(Ab=2;qa<hc.length;){var tc=hc[qa];if(typeof tc==="string")Ab===2?tc!==""&&c.push(tc,hc[++qa]):Ab===8&&lb.push(tc);else{if((Ab&1)!==0)break;Ab=tc}qa++}c&&kga(F,q,c);if(lb&&lb.length>0){var bc=lb.join(" ");bc===""?F.removeAttribute(q,"class"):F.setAttribute(q,"class",bc)}}if(b!==void 0){var De=this.ngContentSelectors,mb=fc.projection=[];for(F=0;F<De.length;F++){var Fb=b[F];mb.push(Fb!=null&&Fb.length?
Array.from(Fb):null)}}b=l;mb=H;De=[Gja];var Sa=Pd(),Zb=oa[1],nc=Hd(Sa,oa);ija(Zb,oa,Sa,Ua,null,mb);for(mb=0;mb<Ua.length;mb++){var hd=be(oa,Zb,Sa.directiveStart+mb,Sa);df(hd,oa)}aja(Zb,oa,Sa);nc&&df(nc,oa);var Bb=be(oa,Zb,Sa.directiveStart+Sa.componentOffset,Sa);b[8]=oa[8]=Bb;if(De!==null)for(var vc=k(De),xc=vc.next();!xc.done;xc=vc.next()){var Ld=xc.value;Ld(Bb,La)}Xia(Zb,Sa,oa);var ud=Bb;tja(ka,oa,null)}catch(tf){throw l!==null&&Yha.delete(l[19]),Yha.delete(oa[19]),tf;}finally{fga()}return new Jv(this.componentType,
ud,ff(fc,oa),oa,fc)}finally{dd(e)}};da.Object.defineProperties(Ah.prototype,{inputs:{configurable:!0,enumerable:!0,get:function(){var a=this.componentDef,b=a.inputTransforms;a=Fja(a.inputs,!0);if(b!==null)for(var c=k(a),d=c.next();!d.done;d=c.next())d=d.value,b.hasOwnProperty(d.propName)&&(d.transform=b[d.propName]);return a}},outputs:{configurable:!0,enumerable:!0,get:function(){return Fja(this.componentDef.outputs,!1)}}});
var Jv=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 jh(d,void 0,!1);this.componentType=a};Y(Jv,U5b);
Jv.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,gja(c[1],c,d,a,b),this.previousInputValues.set(a,b),a=Id(this._tNode.index,c),bia(a,1)))};Jv.prototype.destroy=function(){this.hostView.destroy()};Jv.prototype.onDestroy=function(a){this.hostView.onDestroy(a)};
da.Object.defineProperties(Jv.prototype,{injector:{configurable:!0,enumerable:!0,get:function(){return new de(this._tNode,this._rootLView)}}});var Af=function(a,b,c,d){d=d===void 0?!0:d;this.ngModuleType=a;this._parent=b;this._bootstrapComponents=[];this.destroyCbs=[];this.componentFactoryResolver=new i6b(this);var e=(a[Y4b]||null).bootstrap;this._bootstrapComponents=e instanceof Function?e():e;this._r3Injector=Dga(a,b,[{provide:vv,useValue:this},{provide:k5b,useValue:this.componentFactoryResolver}].concat(t(c)),ad(a),new Set(["environment"]));d&&this.resolveInjectorInitializers()};Y(Af,vv);
Af.prototype.resolveInjectorInitializers=function(){this._r3Injector.resolveInjectorInitializers();this.instance=this._r3Injector.get(this.ngModuleType)};Af.prototype.destroy=function(){var a=this._r3Injector;!a.destroyed&&a.destroy();this.destroyCbs.forEach(function(b){return b()});this.destroyCbs=null};Af.prototype.onDestroy=function(a){this.destroyCbs.push(a)};da.Object.defineProperties(Af.prototype,{injector:{configurable:!0,enumerable:!0,get:function(){return this._r3Injector}}});
var ata=function(a){this.moduleType=a};Y(ata,$sa);ata.prototype.create=function(a){return new Af(this.moduleType,a,[])};var Ija=function(a){this.componentFactoryResolver=new i6b(this);this.instance=null;var b=new Bd([].concat(t(a.providers),[{provide:vv,useValue:this},{provide:k5b,useValue:this.componentFactoryResolver}]),a.parent||Hfa(),a.debugName,new Set(["environment"]));this.injector=b;a.runEnvironmentInitializers&&b.resolveInjectorInitializers()};Y(Ija,vv);Ija.prototype.destroy=function(){this.injector.destroy()};
Ija.prototype.onDestroy=function(a){this.injector.onDestroy(a)};var Bf=function(a){this._injector=a;this.cachedInjectors=new Map};Bf.prototype.ngOnDestroy=function(){try{for(var a=k(this.cachedInjectors.values()),b=a.next();!b.done;b=a.next()){var c=b.value;c!==null&&c.destroy()}}finally{this.cachedInjectors.clear()}};Bf.\u0275prov=n({token:Bf,providedIn:"environment",factory:function(){return new Bf(pd(qv))}});var k6b=new zd(""),nh=function(){var a=this;this.done=this.initialized=!1;this.donePromise=new Promise(function(c,d){a.resolve=c;a.reject=d});var b;this.appInits=(b=r(k6b,{optional:!0}))!=null?b:[];this.injector=r(Ye)},wma=function(a){if(!a.initialized){for(var b=[],c=k(a.appInits),d=c.next(),e={};!d.done;e={initResult:void 0},d=c.next())e.initResult=Cd(a.injector,d.value),Ff(e.initResult)?b.push(e.initResult):Sja(e.initResult)&&(d=new Promise(function(f){return function(h,l){f.initResult.subscribe({complete:h,
error:l})}}(e)),b.push(d));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}};nh.\u0275fac=function(a){return new (a||nh)};nh.\u0275prov=n({token:nh,factory:nh.\u0275fac,providedIn:"root"});var Kv=function(){};Kv.prototype.log=function(a){console.log(a)};Kv.prototype.warn=function(a){console.warn(a)};Kv.\u0275fac=function(a){return new (a||Kv)};Kv.\u0275prov=n({token:Kv,factory:Kv.\u0275fac,providedIn:"platform"});var yh=function(){};yh.\u0275prov=n({token:yh,providedIn:"root",factory:function(){return new l6b}});var l6b=function(){this.queuedEffectCount=0;this.queues=new Map};l6b.prototype.schedule=function(a){this.enqueue(a)};l6b.prototype.remove=function(a){var b=this.queues.get(a.zone);b.has(a)&&(b.delete(a),this.queuedEffectCount--)};l6b.prototype.enqueue=function(a){var b=a.zone;this.queues.has(b)||this.queues.set(b,new Set);b=this.queues.get(b);b.has(a)||(this.queuedEffectCount++,b.add(a))};
l6b.prototype.flush=function(){for(var a=this;this.queuedEffectCount>0;)for(var b=k(this.queues),c=b.next(),d={};!c.done;d={queue$jscomp$4:void 0},c=b.next()){var e=k(c.value);c=e.next().value;e=e.next().value;d.queue$jscomp$4=e;c===null?m6b(this,d.queue$jscomp$4):c.run(function(f){return function(){return m6b(a,f.queue$jscomp$4)}}(d))}};var m6b=function(a,b){for(var c=k(b),d=c.next();!d.done;d=c.next())d=d.value,b.delete(d),a.queuedEffectCount--,d.run()};var n6b=new zd(""),o6b=new zd(""),Lv=function(a,b,c){var d=this;this._ngZone=a;this.registry=b;this._isZoneStable=!0;this._callbacks=[];this.taskTrackingZone=null;p6b||(p6b=c,q6b(b));this._watchAngularEvents();a.run(function(){d.taskTrackingZone=typeof Zone=="undefined"?null:Zone.current.get("TaskTrackingZone")})};
Lv.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(){K5b();queueMicrotask(function(){a._isZoneStable=!0;a._runCallbacksIfReady()})}})})};Lv.prototype.isStable=function(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks};
Lv.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=r6b(this);this._callbacks=this._callbacks.filter(function(c){return c.updateCb&&c.updateCb(b)?(clearTimeout(c.timeoutId),!1):!0})}};
var r6b=function(a){return a.taskTrackingZone?a.taskTrackingZone.macroTasks.map(function(b){return{source:b.source,creationLocation:b.creationLocation,data:b.data}}):[]};g=Lv.prototype;g.addCallback=function(a,b,c){var d=this,e=-1;b&&b>0&&(e=setTimeout(function(){d._callbacks=d._callbacks.filter(function(f){return f.timeoutId!==e});a()},b));this._callbacks.push({doneCb:a,timeoutId:e,updateCb:c})};g.whenStable=function(a,b,c){if(c&&!this.taskTrackingZone)throw Error("Wa");this.addCallback(a,b,c);this._runCallbacksIfReady()};
g.registerApplication=function(a){this.registry.registerApplication(a,this)};g.unregisterApplication=function(a){this.registry.unregisterApplication(a)};g.findProviders=function(){return[]};Lv.\u0275fac=function(a){return new (a||Lv)(pd(kh),pd(Mv),pd(o6b))};Lv.\u0275prov=n({token:Lv,factory:Lv.\u0275fac});var Mv=function(){this._applications=new Map};Mv.prototype.registerApplication=function(a,b){this._applications.set(a,b)};Mv.prototype.unregisterApplication=function(a){this._applications.delete(a)};
Mv.prototype.findTestabilityInTree=function(a,b){var c,d;return(d=(c=p6b)==null?void 0:c.findTestabilityInTree(this,a,b===void 0?!0:b))!=null?d:null};Mv.\u0275fac=function(a){return new (a||Mv)};Mv.\u0275prov=n({token:Mv,factory:Mv.\u0275fac,providedIn:"platform"});var p6b;var qka={leading:!0,trailing:!1};var s6b=new zd(""),ph=function(){var a=this;this._destroyed=this._runningTick=!1;this._destroyListeners=[];this._views=[];this.internalErrorHandler=r(M5b);this.afterRenderManager=r($e);this.zonelessEnabled=r(l5b);this.rootEffectScheduler=r(yh);this.dirtyFlags=0;this.tracingSnapshot=null;this.externalTestViews=new Set;this.afterTick=new Uf;this.componentTypes=[];this.components=[];this.isStable=r(Cv).hasPendingTasks.pipe(z(function(b){return!b}));this._injector=r(qv);this._rendererFactory=null;this._tick=
function(){if(a.tracingSnapshot!==null){var b=a.tracingSnapshot;a.tracingSnapshot=null;b.run(0,a._tick);b.dispose()}else{if(a._runningTick)throw new bd(101,!1);b=dd(null);try{a._runningTick=!0;a._rendererFactory!==null||a._injector.destroyed||(a._rendererFactory=a._injector.get(Hv,null,{optional:!0}));for(var c=0;a.dirtyFlags!==0&&c++<10;)a:{var d=void 0,e=void 0,f=void 0,h=void 0;a.dirtyFlags&16&&(a.dirtyFlags&=-17,a.rootEffectScheduler.flush());if(a.dirtyFlags&7){var l=!!(a.dirtyFlags&1);a.dirtyFlags&=
-8;a.dirtyFlags|=8;for(var q=k(a.allViews),u=q.next();!u.done;u=q.next()){var A=u.value,F=A._lView;(l||Vfa(F))&&zja(F,A.notifyErrorHandler,l&&!a.zonelessEnabled?0:1)}a.dirtyFlags&=-5;t6b(a);if(a.dirtyFlags&23)break a}else(h=a._rendererFactory)==null||(f=h.begin)==null||f.call(h),(e=a._rendererFactory)==null||(d=e.end)==null||d.call(e);a.dirtyFlags&8&&(a.dirtyFlags&=-9,a.afterRenderManager.execute());t6b(a)}}catch(H){a.internalErrorHandler(H)}finally{a._runningTick=!1,dd(b),a.afterTick.next()}}};r(bf,
{optional:!0})};ph.prototype.whenStable=function(){var a=this,b;return(new Promise(function(c){b=a.isStable.subscribe({next:function(d){d&&c()}})})).finally(function(){b.unsubscribe()})};
ph.prototype.bootstrap=function(a,b){var c=this,d=a instanceof V5b;if(!this._injector.get(nh).done)throw new bd(405,!1);var e;d?e=a:e=j6b(this._injector.get(k5b),a);this.componentTypes.push(e.componentType);a=e.isBoundToModule?void 0:this._injector.get(vv);var f=e.create(j5b,[],b||e.selector,a),h=f.location.nativeElement,l=f.injector.get(n6b,null);l==null||l.registerApplication(h);f.onDestroy(function(){c.detachView(f.hostView);vka(c.components,f);l==null||l.unregisterApplication(h)});this._loadComponent(f);
return f};ph.prototype.tick=function(){this.zonelessEnabled||(this.dirtyFlags|=1);this._tick()};var t6b=function(a){a.allViews.some(function(b){return Vfa(b._lView)})?a.dirtyFlags|=2:a.dirtyFlags&=-8},u6b=function(a,b){a._views.push(b);if(b._attachedToViewContainer)throw new bd(902,!1);b._appRef=a;a=(b._lView[2]&512)!==0;var c=b._lView[16];c===null||a||jia(c,b._lView);Wfa(b._lView)};g=ph.prototype;
g.detachView=function(a){vka(this._views,a);a._appRef=null;var b=(a._lView[2]&512)!==0,c=a._lView[16];c===null||b||kia(c,a._lView);iia(a._lView[1],a._lView)};g._loadComponent=function(a){u6b(this,a.hostView);this.tick();this.components.push(a);this._injector.get(s6b,[]).forEach(function(b){return b(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._destroyListeners=[]}};g.onDestroy=function(a){var b=this;this._destroyListeners.push(a);return function(){return vka(b._destroyListeners,a)}};g.destroy=function(){if(this._destroyed)throw new bd(406,!1);var a=this._injector;a.destroy&&!a.destroyed&&a.destroy()};
da.Object.defineProperties(ph.prototype,{allViews:{configurable:!0,enumerable:!0,get:function(){return[].concat(t(this.externalTestViews.keys()),t(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}}});ph.\u0275fac=function(a){return new (a||ph)};
ph.\u0275prov=n({token:ph,factory:ph.\u0275fac,providedIn:"root"});new zd("DEFER_BLOCK_DEPENDENCY_INTERCEPTOR");new zd("");var Pg=function(){};Pg.__NG_ELEMENT_ID__=Jka;var eg=function(a,b,c){this._lContainer=a;this._hostTNode=b;this._hostLView=c};Y(eg,Pg);eg.__NG_ELEMENT_ID__=Pg.__NG_ELEMENT_ID__;g=eg.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=v6b(a,b||{},e,null);w6b(this,a,d,bg(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 Ah(a[wd]||null);c=c||this.parentInjector;e||a.ngModule!=null||(f=(f?c:this.parentInjector).get(qv,null))&&(e=f);d=a.create(c,d,null,e);w6b(this,d.hostView,b,bg(this._hostTNode,null));return d};g.insert=function(a,b){return w6b(this,a,b,!0)};
var w6b=function(a,b,c,d){var e=b._lView;if(Ed(e[3])){var f=a.indexOf(b);f!==-1?a.detach(f):(f=e[3],f=new eg(f,f[5],f[3]),f.detach(f.indexOf(b)))}c=a._adjustIndex(c);a=a._lContainer;yka(a,e,c,d);if(b._appRef)throw new bd(902,!1);b._attachedToViewContainer=!0;d=Kka(a);c>=d.length?d.push(b):d.splice(c,0,b);return b};g=eg.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=lf(this._lContainer,a);b&&(ufa(Kka(this._lContainer),a),mia(b[1],b))};g.detach=function(a){a=this._adjustIndex(a,-1);var b=lf(this._lContainer,a);return b&&ufa(Kka(this._lContainer),a)!=null?new jh(b):null};g._adjustIndex=function(a,b){return a==null?this.length+(b===void 0?0:b):a};
da.Object.defineProperties(eg.prototype,{element:{configurable:!0,enumerable:!0,get:function(){return ff(this._hostTNode,this._hostLView)}},injector:{configurable:!0,enumerable:!0,get:function(){return new de(this._hostTNode,this._hostLView)}},parentInjector:{configurable:!0,enumerable:!0,get:function(){var a=tga(this._hostTNode,this._hostLView);if(a!==-1){var b=mga(a,this._hostLView);return new de(b[1].data[(a&32767)+8],b)}return new de(null,this._hostLView)}},length:{configurable:!0,enumerable:!0,
get:function(){return this._lContainer.length-10}}});var Lka=Mka;var Qka=Ska;var ng=0,og=0,pg=0,Zka=0,ala=0;var x6b=function(){};x6b.prototype.destroy=function(){};x6b.prototype.updateValue=function(){};var nla=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)};x6b.prototype.move=function(a,b){this.attach(b,this.detach(a))};var ola=function(){this.kvMap=new Map;this._vMap=void 0};g=ola.prototype;g.has=function(a){return this.kvMap.has(a)};
g.delete=function(a){if(!this.has(a))return!1;var b=this.kvMap.get(a);this._vMap!==void 0&&this._vMap.has(b)?(this.kvMap.set(a,this._vMap.get(b)),this._vMap.delete(b)):this.kvMap.delete(a);return!0};g.get=function(a){return this.kvMap.get(a)};g.set=function(a,b){if(this.kvMap.has(a)){a=this.kvMap.get(a);this._vMap===void 0&&(this._vMap=new Map);for(var c=this._vMap;c.has(a);)a=c.get(a);c.set(a,b)}else this.kvMap.set(a,b)};
g.forEach=function(a){for(var b=k(this.kvMap),c=b.next();!c.done;c=b.next()){var d=k(c.value);c=d.next().value;d=d.next().value;a(d,c);if(this._vMap!==void 0)for(var e=this._vMap;e.has(d);)d=e.get(d),a(d,c)}};var y6b=function(a,b,c){this.lContainer=a;this.$implicit=b;this.$index=c};da.Object.defineProperties(y6b.prototype,{$count:{configurable:!0,enumerable:!0,get:function(){return this.lContainer.length-10}}});var tla=function(a){this.hasEmptyBlock=!1;this.trackByFn=a;this.liveCollection=void 0},ula=function(a,b,c){this.lContainer=a;this.hostLView=b;this.templateTNode=c;this.operationsCounter=void 0;this.needsIndexUpdate=!1};Y(ula,x6b);g=ula.prototype;g.at=function(a){return xka(this.lContainer,a)[8].$implicit};
g.attach=function(a,b){var c=b[6];this.needsIndexUpdate||(this.needsIndexUpdate=a!==this.length);yka(this.lContainer,b,a,bg(this.templateTNode,c))};g.detach=function(a){this.needsIndexUpdate||(this.needsIndexUpdate=a!==this.length-1);return lf(this.lContainer,a)};g.create=function(a,b){a=wka(this.hostLView,this.templateTNode,new y6b(this.lContainer,b,a),{dehydratedView:null});var c;(c=this.operationsCounter)==null||c.recordCreate();return a};
g.destroy=function(a){mia(a[1],a);var b;(b=this.operationsCounter)==null||b.recordDestroy()};g.updateValue=function(a,b){xka(this.lContainer,a)[8].$implicit=b};g.reset=function(){this.needsIndexUpdate=!1;var a;(a=this.operationsCounter)==null||a.reset()};da.Object.defineProperties(ula.prototype,{length:{configurable:!0,enumerable:!0,get:function(){return this.lContainer.length-10}}});var wla=["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 xla={};var zla={};var z6b,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;this[z6b]=Gla};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.next(a)},Vla=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 Uf}}});
z6b=Symbol.iterator;var Og=function(){};Og.__NG_ELEMENT_ID__=Ila;var Ng=function(a,b,c){this._declarationLView=a;this._declarationTContainer=b;this.elementRef=c};Y(Ng,Og);Ng.__NG_ELEMENT_ID__=Og.__NG_ELEMENT_ID__;Ng.prototype.createEmbeddedView=function(a,b){return v6b(this,a,b)};var v6b=function(a,b,c,d){a=wka(a._declarationLView,a._declarationTContainer,b,{embeddedViewInjector:c,dehydratedView:d});return new jh(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 Mla=function(a){this.queryList=a;this.matches=null};Mla.prototype.clone=function(){return new Mla(this.queryList)};Mla.prototype.setDirty=function(){this.queryList.setDirty()};var Lla=function(a){this.queries=a=a===void 0?[]:a};Lla.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 Lla(c)}return null};
Lla.prototype.detachView=function(a){sja(this,a)};var sja=function(a,b){for(var c=0;c<a.queries.length;c++)b.queries.queries[c].matches!==null&&a.queries[c].setDirty()},Pla=function(a,b,c){this.flags=b;this.read=c===void 0?null:c;typeof a==="string"?this.predicate=Qla(a):this.predicate=a},Rla=function(a){this.queries=a=a===void 0?[]:a};g=Rla.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 Rla(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(Rla.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(A6b(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}B6b(this,a,b,f);B6b(this,a,b,Aga(b,a,e,!1,!1))}else c===Og?b.type&4&&B6b(this,a,b,-1):B6b(this,a,b,Aga(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 A6b(this,a)?(this.crossesNgTemplate=!0,C6b(this,-a.index,b),new Tg(this.metadata)):null};
var A6b=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},B6b=function(a,b,c,d){if(d!==null){var e=a.metadata.read;e!==null?e===ef||e===Pg||e===Og&&c.type&4?C6b(a,c.index,-2):(b=Aga(c,b,e,!1,!1),b!==null&&C6b(a,c.index,b)):C6b(a,c.index,d)}},C6b=function(a,b,c){a.matches===null?a.matches=[b,c]:a.matches.push(b,c)};var Nv=function(){};Nv.\u0275fac=function(a){return new (a||Nv)(pd(ph))};Nv.\u0275mod=Cf({type:Nv});Nv.\u0275inj=p({});new zd("REQUEST",{providedIn:"platform",factory:function(){return null}});new zd("RESPONSE_INIT",{providedIn:"platform",factory:function(){return null}});new zd("REQUEST_CONTEXT",{providedIn:"platform",factory:function(){return null}});var lma=Symbol("Xa"),mma=Object.assign({},gfa,{transformFn:void 0,applyValueToInputSignal:function(a,b){jfa(a,b)}});oma.required=function(){return Ula(!0)};var Ov=function(){};Ov.__NG_ELEMENT_ID__=pma;var D6b=function(){};D6b.prototype.supports=function(a){return Oka(a)};D6b.prototype.create=function(a){return new E6b(a)};var F6b=function(a,b){return b},E6b=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||F6b};
E6b.prototype.forEachItem=function(a){var b;for(b=this._itHead;b!==null;b=b._next)a(b)};
var G6b=function(a,b){var c=a._itHead;a=a._removalsHead;for(var d=0,e=null;c||a;){var f=!a||c&&c.currentIndex<qma(a,d,e)?c:a,h=qma(f,d,e),l=f.currentIndex;if(f===a)d--,a=a._nextRemoved;else if(c=c._next,f.previousIndex==null)d++;else{e||(e=[]);var q=h-d,u=l-d;if(q!=u){for(var A=0;A<q;A++){var F=A<e.length?e[A]:e[A]=0,H=F+A;u<=H&&H<q&&(e[A]=F+1)}e[f.previousIndex]=u-q}}h!==l&&b(f,h,l)}},H6b=function(a,b){for(a=a._identityChangesHead;a!==null;a=a._nextIdentityChange)b(a)};g=E6b.prototype;
g.diff=function(a){a==null&&(a=[]);if(!Oka(a))throw new bd(900,!1);return this.check(a)?this:null};g.onDestroy=function(){};
g.check=function(a){var b=this;this._reset();var c=this._itHead,d=!1;if(Array.isArray(a)){this.length=a.length;for(var e=0;e<this.length;e++){var f=a[e];var h=this._trackByFn(e,f);c!==null&&Object.is(c.trackById,h)?(d&&(c=this._verifyReinsertion(c,f,h,e)),Object.is(c.item,f)||this._addIdentityChange(c,f)):(c=this._mismatch(c,f,h,e),d=!0);c=c._next}}else{var l=0;Pka(a,function(q){h=b._trackByFn(l,q);c!==null&&Object.is(c.trackById,h)?(d&&(c=b._verifyReinsertion(c,q,h,l)),Object.is(c.item,q)||b._addIdentityChange(c,
q)):(c=b._mismatch(c,q,h,l),d=!0);c=c._next;l++});this.length=l}this._truncate(c);this.collection=a;return this.isDirty};
g._reset=function(){if(this.isDirty){var a;for(a=this._previousItHead=this._itHead;a!==null;a=a._next)a._nextPrevious=a._next;for(a=this._additionsHead;a!==null;a=a._nextAdded)a.previousIndex=a.currentIndex;this._additionsHead=this._additionsTail=null;for(a=this._movesHead;a!==null;a=a._nextMoved)a.previousIndex=a.currentIndex;this._identityChangesHead=this._identityChangesTail=this._removalsHead=this._removalsTail=this._movesHead=this._movesTail=null}};
g._mismatch=function(a,b,c,d){if(a===null)var e=this._itTail;else e=a._prev,this._remove(a);a=this._unlinkedRecords===null?null:this._unlinkedRecords.get(c,null);a!==null?(Object.is(a.item,b)||this._addIdentityChange(a,b),this._reinsertAfter(a,e,d)):(a=this._linkedRecords===null?null:this._linkedRecords.get(c,d),a!==null?(Object.is(a.item,b)||this._addIdentityChange(a,b),this._moveAfter(a,e,d)):a=this._addAfter(new I6b(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 Pv);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 Pv);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(E6b.prototype,{isDirty:{configurable:!0,enumerable:!0,get:function(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}}});
var I6b=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},J6b=function(){this._tail=this._head=null};J6b.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)};
J6b.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};J6b.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 Pv=function(){this.map=new Map};Pv.prototype.put=function(a){var b=a.trackById,c=this.map.get(b);c||(c=new J6b,this.map.set(b,c));c.add(a)};
Pv.prototype.get=function(a,b){var c=this.map.get(a);return c?c.get(a,b):null};Pv.prototype.remove=function(a){var b=a.trackById;this.map.get(b).remove(a)&&this.map.delete(b);return a};Pv.prototype.clear=function(){this.map.clear()};da.Object.defineProperties(Pv.prototype,{isEmpty:{configurable:!0,enumerable:!0,get:function(){return this.map.size===0}}});var K6b=function(){};K6b.prototype.supports=function(a){return a instanceof Map||Nka(a)};K6b.prototype.create=function(){return new L6b};var L6b=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=L6b.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||Nka(a)))throw new bd(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 M6b(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(L6b.prototype,{isDirty:{configurable:!0,enumerable:!0,get:function(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}}});var M6b=function(a){this.key=a;this._nextChanged=this._nextRemoved=this._nextAdded=this._prev=this._next=this._nextPrevious=this.currentValue=this.previousValue=null};var Qv=function(a){this.factories=a};Qv.prototype.find=function(a){var b=this.factories.find(function(c){return c.supports(a)});if(b!=null)return b;throw new bd(901,!1);};Qv.\u0275prov=n({token:Qv,providedIn:"root",factory:function(){return new Qv([new D6b])}});var Rv=function(a){this.factories=a};Rv.prototype.find=function(a){var b=this.factories.find(function(c){return c.supports(a)});if(b)return b;throw new bd(901,!1);};Rv.\u0275prov=n({token:Rv,providedIn:"root",factory:function(){return new Rv([new K6b])}});var Sv=function(){var a=this;this.appRef=r(ph);this.taskService=r(Cv);this.ngZone=r(kh);this.zonelessEnabled=r(l5b);this.tracing=r(bf,{optional:!0});var b;this.disableScheduling=(b=r(sma,{optional:!0}))!=null?b:!1;this.zoneIsDefined=typeof Zone!=="undefined"&&!!Zone.root.run;this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];this.subscriptions=new je;var c;this.angularZoneId=this.zoneIsDefined?(c=this.ngZone._inner)==null?void 0:c.get("isAngularZone_ID"):null;var d;this.scheduleInRootZone=
!this.zonelessEnabled&&this.zoneIsDefined&&((d=r(tma,{optional:!0}))!=null?d:!1);this.cancelScheduledCallback=null;this.runningTick=this.useMicrotaskScheduler=!1;this.pendingRenderTaskId=null;this.subscriptions.add(this.appRef.afterTick.subscribe(function(){a.runningTick||a.cleanup()}));this.subscriptions.add(this.ngZone.onUnstable.subscribe(function(){a.runningTick||a.cleanup()}));this.disableScheduling||(this.disableScheduling=!this.zonelessEnabled&&(this.ngZone instanceof Ev||!this.zoneIsDefined))};
Sv.prototype.notify=function(a){var b=this;if(this.zonelessEnabled||a!==5){var c=!1;switch(a){case 0:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 6:this.appRef.dirtyFlags|=2;c=!0;break;case 12:this.appRef.dirtyFlags|=16;c=!0;break;case 13:this.appRef.dirtyFlags|=2;c=!0;break;case 11:c=!0;break;default:this.appRef.dirtyFlags|=8}var d,e;this.appRef.tracingSnapshot=(e=(d=this.tracing)==null?void 0:d.snapshot(this.appRef.tracingSnapshot))!=null?
e:null;if(!(this.disableScheduling&&!c||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get("isAngularZone_ID"+this.angularZoneId))){var f=this.useMicrotaskScheduler?Iha:Hha;this.pendingRenderTaskId=this.taskService.add();this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(function(){return f(function(){return b.tick()})}):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(function(){return f(function(){return b.tick()})})}}};
Sv.prototype.tick=function(){var a=this;if(!this.runningTick&&!this.appRef.destroyed)if(this.appRef.dirtyFlags===0)this.cleanup();else{!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);var b=this.taskService.add();try{this.ngZone.run(function(){a.runningTick=!0;a.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(c){throw this.taskService.remove(b),c;}finally{this.cleanup()}this.useMicrotaskScheduler=!0;Iha(function(){a.useMicrotaskScheduler=!1;a.taskService.remove(b)})}};
Sv.prototype.ngOnDestroy=function(){this.subscriptions.unsubscribe();this.cleanup()};Sv.prototype.cleanup=function(){this.runningTick=!1;var a;(a=this.cancelScheduledCallback)==null||a.call(this);this.cancelScheduledCallback=null;this.pendingRenderTaskId!==null&&(a=this.pendingRenderTaskId,this.pendingRenderTaskId=null,this.taskService.remove(a))};Sv.\u0275fac=function(a){return new (a||Sv)};Sv.\u0275prov=n({token:Sv,factory:Sv.\u0275fac,providedIn:"root"});var lh=function(){this.zone=r(kh);this.changeDetectionScheduler=r(xh);this.applicationRef=r(ph)};lh.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()})}}))};lh.prototype.ngOnDestroy=function(){var a;(a=this._onMicrotaskEmptySubscription)==null||a.unsubscribe()};
lh.\u0275fac=function(a){return new (a||lh)};lh.\u0275prov=n({token:lh,factory:lh.\u0275fac,providedIn:"root"});new zd("",{factory:function(){return!1}});var mh=function(){this.subscription=new je;this.initialized=!1;this.zone=r(kh);this.pendingTasks=r(Cv)};
mh.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(){K5b();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(!J5b())throw new bd(909,
!1);b!=null||(b=a.pendingTasks.add())}))}};mh.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()};mh.\u0275fac=function(a){return new (a||mh)};mh.\u0275prov=n({token:mh,factory:mh.\u0275fac,providedIn:"root"});var oh=new zd("",{providedIn:"root",factory:function(){return r(oh,12)||(typeof H2b!=="undefined"?"en-US":typeof $localize!=="undefined"&&$localize.locale||"en-US")}});new zd("",{providedIn:"root",factory:function(){return"USD"}});new zd("");new zd("");var vma=new zd("");var xma=new zd("");var Tv=function(){};Tv.\u0275fac=function(a){return new (a||Tv)};Tv.\u0275prov=n({token:Tv,factory:Tv.\u0275fac,providedIn:"root"});new zd("");var rh=function(a){this._injector=a;this._modules=[];this._destroyListeners=[];this._destroyed=!1},N6b=function(a,b,c){var d=c==null?void 0:c.scheduleInRootZone;b=Hja(b.moduleType,a.injector,[uma({ngZoneFactory:function(){var e=c==null?void 0:c.ngZone,f=Object.assign({},rma({eventCoalescing:c==null?void 0:c.ngZoneEventCoalescing,runCoalescing:c==null?void 0:c.ngZoneRunCoalescing}),{scheduleInRootZone:d});e=e===void 0?"zone.js":e;return e==="noop"?new Ev:e==="zone.js"?new kh(f):e},ignoreChangesOutsideZone:c==
null?void 0:c.ignoreChangesOutsideZone}),{provide:xh,useExisting:Sv}]);return zma({moduleRef:b,allPlatformModules:a._modules,platformInjector:a.injector})},P6b=function(){var a=O6b(),b=Uv;var c=c===void 0?[]:c;var d=uka({},c);Promise.resolve(new ata(b)).then(function(e){return N6b(a,e,d)})};rh.prototype.onDestroy=function(a){this._destroyListeners.push(a)};
rh.prototype.destroy=function(){if(this._destroyed)throw new bd(404,!1);this._modules.slice().forEach(function(b){return b.destroy()});this._destroyListeners.forEach(function(b){return b()});var a=this._injector.get(vma,null);a&&(a.forEach(function(b){return b()}),a.clear());this._destroyed=!0};da.Object.defineProperties(rh.prototype,{injector:{configurable:!0,enumerable:!0,get:function(){return this._injector}},destroyed:{configurable:!0,enumerable:!0,get:function(){return this._destroyed}}});
rh.\u0275fac=function(a){return new (a||rh)(pd(Ye))};rh.\u0275prov=n({token:rh,factory:rh.\u0275fac,providedIn:"platform"});var qh=null,Bma=new zd("");var Q6b=Symbol("Ya"),R6b=new Set;
Object.assign({},gfa,{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:Q6b,cleanup:null,consumerMarkedDirty:function(){if(this.sequence.impl.executing){if(this.sequence.lastPhase===null||this.sequence.lastPhase<this.phase)return;this.sequence.erroredOrDestroyed=!0}this.sequence.scheduler.notify(7)},phaseFn:function(a){this.sequence.lastPhase=this.phase;if(!this.dirty)return this.signal;this.dirty=!1;if(this.value!==Q6b&&!Yea(this))return this.signal;try{for(var b,c=k((b=this.cleanup)!=null?
b:R6b),d=c.next();!d.done;d=c.next()){var e=d.value;e()}}finally{var f;(f=this.cleanup)==null||f.clear()}b=[];a!==void 0&&b.push(a);b.push(this.registerCleanupFn);a=fd(this);try{var h=this.userFn.apply(null,b)}finally{gd(this,a)}this.value!==Q6b&&this.equal(this.value,h)||(this.value=h,this.version++);return this.signal}});var Jma=function(a){this[id]=a};Jma.prototype.destroy=function(){this[id].destroy()};new zd("",{providedIn:"root",factory:function(){return r(yh)}});
var S6b=Object.assign({},pv,{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:We,run:function(){var a=this;this.dirty=!1;if(!this.hasRun||Yea(this)){this.hasRun=!0;var b,c=function(f){var h;return((h=(b=a).cleanupFns)!=null?h:b.cleanupFns=[]).push(f)},d=fd(this),e=Zfa(!1);try{this.maybeCleanup(),this.fn(c)}finally{Zfa(e),gd(this,d)}}},maybeCleanup:function(){var a;if((a=this.cleanupFns)!=null&&a.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=
[]}}}),Mma=Object.assign({},S6b,{consumerMarkedDirty:function(){this.scheduler.schedule(this);this.notifier.notify(12)},destroy:function(){bfa(this);this.onDestroyFn();this.maybeCleanup();this.scheduler.remove(this)}}),Lma=Object.assign({},S6b,{consumerMarkedDirty:function(){this.view[2]|=8192;Kd(this.view);this.notifier.notify(13)},destroy:function(){bfa(this);this.onDestroyFn();this.maybeCleanup();var a;(a=this.view[23])==null||a.delete(this)}});var T6b=Symbol("Fa"),U6b=Symbol("Ga"),V6b=Symbol("Ha");
Object.assign({},pv,{value:T6b,dirty:!0,error:null,equal:Rea,computation:function(a){return a},producerMustRecompute:function(a){return a.value===T6b||a.value===U6b},producerRecomputeValue:function(a){if(a.value===U6b)throw Error("Ia");var b=a.value;a.value=U6b;var c=fd(a);try{var d=a.source();var e=a.computation(d,b===T6b||b===V6b?void 0:{source:a.sourceValue,value:b});a.sourceValue=d}catch(f){e=V6b,a.error=f}finally{gd(a,c)}b!==T6b&&e!==V6b&&a.equal(b,e)?a.value=b:(a.value=e,a.version++)}});var W6b=Ema(null,"core",[]);var soa=new function(a){a=a.split(".");this.major=a[0];this.minor=a[1];this.patch=a.slice(2).join(".")}("0.0.0-PLACEHOLDER");new zd("@ngrx/store Internal Root Guard");new zd("@ngrx/store Internal Initial State");new zd("@ngrx/store Initial State");new zd("@ngrx/store Reducer Factory");new zd("@ngrx/store Internal Reducer Factory Provider");new zd("@ngrx/store Initial Reducers");new zd("@ngrx/store Internal Initial Reducers");new zd("@ngrx/store Store Features");new zd("@ngrx/store Internal Store Reducers");new zd("@ngrx/store Internal Feature Reducers");new zd("@ngrx/store Internal Feature Configs");new zd("@ngrx/store Internal Store Features");
new zd("@ngrx/store Internal Feature Reducers Token");new zd("@ngrx/store Feature Reducers");new zd("@ngrx/store User Provided Meta Reducers");new zd("@ngrx/store Meta Reducers");new zd("@ngrx/store Internal Resolved Meta Reducers");new zd("@ngrx/store User Runtime Checks Config");new zd("@ngrx/store Internal User Runtime Checks Config");new zd("@ngrx/store Internal Runtime Checks");new zd("@ngrx/store Check if Action types are unique");new zd("@ngrx/store Root Store Provider");new zd("@ngrx/store Feature State Provider");Object.values({RDL:"rdl",DAPPER:"dapper",SHERLOG:"sherlog",THIRD_EYE:"error_insights"});
var Ana=Object.values({ENTITY:"entity",BORG_USER:"borg_user",BORG_JOB:"borg_job",BORG_CELL:"cell",BORG_TASK_INDEX:"task_index",BORG_TASK_ATTEMPT_UID:"task_attempt_uid",START_TIME:"start_time",END_TIME:"end_time",RPC_SERVER_SERVICE_NAME:"rpc_server_service_name",RPC_CLIENT_SERVICE_NAME:"rpc_client_service_name",LPC_SERVICE_NAME:"lpc_service_name",RPC_SERVER_METHOD_NAME:"rpc_server_method_name",RPC_CLIENT_METHOD_NAME:"rpc_client_method_name",LPC_METHOD_NAME:"lpc_method_name",STATUS_CODE:"status_code",
SEVERITY:"severity",MIN_LATENCY:"min_latency",MAX_LATENCY:"max_latency",TEXT_PAYLOAD:"text_payload",CALLSITE:"site_path",HAS_TRACED_SAMPLE:"has_traced_sample",SNIPPET:"snippet",LOG_NAME:"log_name",PROCESS_NAME:"process_name",THREAD_ID:"thread_id",TRACE_ID:"trace_id",SPAN_ID:"span_id",JOB_UID:"job_uid",LOCAL_PROCESS_ID:"local_process_id"}),aaa={EQUALS:"=",NOT_EQUALS:"!=",REGEX_MATCH:"=~",NOT_REGEX_MATCH:"!~"},yna="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(" "),
xna="start_time end_time min_latency max_latency severity status_code task_index task_attempt_uid".split(" "),zna=["has_traced_sample"];(function(a,b){if(typeof b==="function")return eaa(a,function(){return Object.assign({},b.apply(null,t(vd.apply(0,arguments))),{type:a})});switch(b?b._as:"empty"){case "empty":return eaa(a,function(){return{type:a}});case "props":return eaa(a,function(c){return Object.assign({},c,{type:a})});default:throw Error("Za");}})("NoopAction");var X6b=function(a,b){this.lo=a>>>0;this.hi=b>>>0},Z6b=function(a){if(!a)return Y6b||(Y6b=new X6b(0,0));if(!/^\d+$/.test(a))return null;Fca(a);return new X6b(wb,xb)},Y6b,$6b=function(a,b){this.lo=a>>>0;this.hi=b>>>0},b7b=function(a){if(!a)return a7b||(a7b=new $6b(0,0));if(!/^-?\d+$/.test(a))return null;Fca(a);return new $6b(wb,xb)},a7b;var Vv=function(){this.buffer_=[]};Vv.prototype.length=function(){return this.buffer_.length};Vv.prototype.end=function(){var a=this.buffer_;this.buffer_=[];return a};Vv.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)};Vv.prototype.writeSplitFixed64=function(a,b){this.writeUint32(a);this.writeUint32(b)};
var c7b=function(a,b){for(;b>127;)a.buffer_.push(b&127|128),b>>>=7;a.buffer_.push(b)},d7b=function(a,b){if(b>=0)c7b(a,b);else{for(var c=0;c<9;c++)a.buffer_.push(b&127|128),b>>=7;a.buffer_.push(1)}};g=Vv.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){zca(a);this.writeUint32(wb);this.writeUint32(xb)};
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){yb(a);this.writeSplitFixed64(wb,xb)};g.writeBool=function(a){this.buffer_.push(a?1:0)};g.writeEnum=function(a){d7b(this,a)};var e7b=function(){this.blocks_=[];this.totalLength_=0;this.encoder_=new Vv},Fh=function(a,b){b.length!==0&&(a.blocks_.push(b),a.totalLength_+=b.length)},f7b=function(a){Fh(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},Eh=function(a,b,c){c7b(a.encoder_,b*8+c)};g=e7b.prototype;g.writeInt32=function(a,b){b!=null&&b!=null&&(Eh(this,a,0),d7b(this.encoder_,b))};
g.writeInt64=function(a,b){if(b!=null){switch(typeof b){case "string":b7b(b)}if(b!=null)switch(Eh(this,a,0),typeof b){case "number":a=this.encoder_;yb(b);a.writeSplitVarint64(wb,xb);break;case "bigint":b=BigInt.asUintN(64,b);b=new $6b(Number(b&BigInt(4294967295)),Number(b>>BigInt(32)));this.encoder_.writeSplitVarint64(b.lo,b.hi);break;default:b=b7b(b),this.encoder_.writeSplitVarint64(b.lo,b.hi)}}};g.writeUint32=function(){};g.writeUint64=function(){};
g.writeBool=function(a,b){b!=null&&(Eh(this,a,0),this.encoder_.writeBool(b))};g.writeEnum=function(a,b){b!=null&&(b=parseInt(b,10),Eh(this,a,0),d7b(this.encoder_,b))};g.writeSplitFixed64=function(a,b){Eh(this,a,1);this.encoder_.writeSplitFixed64(b)};g.writeSplitVarint64=function(a,b){Eh(this,a,0);this.encoder_.writeSplitVarint64(b)};var Qma=Ch(),g7b=Ch(),h7b=Ch();var Dh=function(a,b,c){this.$$binaryReaderFn=a;this.$$binaryWriterFn=b;a=ica(Qma);this.$$isMsg=!!a&&c===a||!1},Uma=Rma(function(a,b,c,d,e){if(a.nextWireType_!==2)return!1;j4b(a,n4b(b,d,c),e);return!0}),Wma=Rma(function(a,b,c,d,e){if(a.nextWireType_!==2)return!1;j4b(a,n4b(b,d,c,!0),e);return!0}),fna=Symbol(),Zma=Symbol(),bna=Symbol(),jna=Symbol(),Sma,Tma;var i7b=Hh(function(a,b,c){if(a.nextWireType_!==0)return!1;a=a.decoder_;var d=0,e=0,f=0,h=a.bytes_,l=a.cursor_;do{var q=h[l++];d|=(q&127)<<f;f+=7}while(f<32&&q&128);f>32&&(e|=(q&127)>>4);for(f=3;f<32&&q&128;f+=7)q=h[l++],e|=(q&127)<<f;f4b(a,l);if(q<128)a=Cca(d>>>0,e>>>0);else throw Error("ha");Jh(b,c,a);return!0},function(a,b,c){a.writeInt64(c,Zca(b))},Ch()),Wv=Hh(function(a,b,c){if(a.nextWireType_!==0)return!1;Jh(b,c,Tu(a.decoder_));return!0},function(a,b,c){a.writeInt32(c,Mb(b))},h7b),j7b;
j7b=new Dh(function(a,b,c){if(a.nextWireType_!==0&&a.nextWireType_!==2)return!1;var d=bb(b);rb(d);var e=!!(64&d)||!(16384&d),f=Sda(b,d,c,!1),h=f!==Vda;if(e||!h){var l=e=h?bb(f):0;if(!h||2&l||mc(l)||4&l&&!(32&l))f=hb(f),l=lc(l,d),d=kc(b,d,c,f);l=Uda(l,d)&-13;l=oc(l|16,d,!0);l!==e&&fb(f,l)}b=f;if(a.nextWireType_==2)for(c=Tu(a.decoder_)>>>0,c=a.decoder_.getCursor()+c;a.decoder_.getCursor()<c;)b.push(Tu(a.decoder_));else b.push(Tu(a.decoder_));return!0},function(a,b,c){if(Array.isArray(b)){var d=bb(b);
if(!(d&4)){for(var e=0,f=0;e<b.length;e++){var h=Mb(b[e]);h!=null&&(b[f++]=h)}f<e&&(b.length=f);fb(b,(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&&(Eh(e,f,0),d7b(e.encoder_,h))},h7b);
var k7b=Hh(function(a,b,c){if(a.nextWireType_!==1)return!1;var d=a.decoder_;a=g4b(d);d=g4b(d);Jh(b,c,zb(a,d));return!0},function(a,b,c){b=$ca(b);if(b!=null){switch(typeof b){case "string":Z6b(b)}Eh(a,c,1);switch(typeof b){case "number":a.encoder_.writeUint64(b);break;case "bigint":c=BigInt.asUintN(64,b);c=new X6b(Number(c&BigInt(4294967295)),Number(c>>BigInt(32)));a.encoder_.writeSplitFixed64(c.lo,c.hi);break;default:c=Z6b(b),a.encoder_.writeSplitFixed64(c.lo,c.hi)}}},Ch()),l7b=Hh(function(a,b,c){if(a.nextWireType_!==
5)return!1;Jh(b,c,g4b(a.decoder_));return!0},function(a,b,c){b=Oca(b);b!=null&&(Eh(a,c,5),a.encoder_.writeUint32(b))},Ch()),Xv=Hh(function(a,b,c){if(a.nextWireType_!==0)return!1;Jh(b,c,h4b(a.decoder_));return!0},function(a,b,c){a.writeBool(c,Lca(b))},Ch()),m7b=Hh(function(a,b,c){if(a.nextWireType_!==2)return!1;Jh(b,c,k4b(a));return!0},function(a,b,c){b=$b(b);b!=null&&(b=oba(b,!1),Eh(a,c,2),c7b(a.encoder_,b.length),Fh(a,a.encoder_.end()),Fh(a,b))},g7b),n7b=Hh(function(a,b,c){if(a.nextWireType_!==0)return!1;
Jh(b,c,Tu(a.decoder_));return!0},function(a,b,c){a.writeEnum(c,Mb(b))},Ch());var Yv=function(a,b){this.fieldIndex=a;this.ctor=b;this.isRepeated=0;this.getExtensionFn=W;this.setExtensionFn=X;this.defaultValue=void 0};var rk=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(rk,V);g=rk.prototype;g.getSeconds=function(){return dv(this,1)};g.getSeconds_asLegacyNumberOrString=function(){return Qk(this,1)};g.getSeconds_asString=function(){return Wk(this,1)};g.setSeconds=function(a){return jm(this,1,a)};g.getNanos=function(){return Xj(this,2)};g.setNanos=function(a){return pk(this,2,a)};g.toDate=function(){var a=Number(this.getSeconds_asString()),b=this.getNanos();return new Date(a*1E3+b/1E6)};
g.fromMillis=function(a){Number.isFinite(a)||(a=0);return this.setSeconds(Math.floor(a/1E3)).setNanos((a%1E3+1E3)%1E3*1E6)};var o7b={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},Zv=o7b;Zv=o7b;var p7b=RegExp("^((?:[-+]\\d*)?\\d{4})(?:(?:-?(\\d{2})(?:-?(\\d{2}))?)|(?:-?(\\d{3}))|(?:-?W(\\d{2})(?:-?([1-7]))?))?$"),q7b=/^(\d{2})(?::?(\d{2})(?::?(\d{2})(\.\d+)?)?)?$/,r7b=/Z|(?:([-+])(\d{2})(?::?(\d{2}))?)$/,s7b=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},t7b=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},$v=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=$v.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 $v(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 tj=function(a,b,c){typeof a==="number"?(this.date=u7b(a,b||0,c||1),v7b(this,c||1)):Ya(a)?(this.date=u7b(a.getFullYear(),a.getMonth(),a.getDate()),v7b(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),v7b(this,a))},u7b=function(a,b,c){b=new Date(a,b,c);a>=0&&a<100&&b.setFullYear(b.getFullYear()-1900);return b};g=tj.prototype;g.firstDayOfWeek_=Zv.FIRSTDAYOFWEEK;
g.firstWeekCutOffDay_=Zv.FIRSTWEEKCUTOFFDAY;g.clone=function(){var a=new tj(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 w7b=function(a){return s7b(a.getFullYear(),a.getMonth())};g=tj.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(s7b(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()),v7b(this,a.getDate()))};
g.toIsoString=function(a){var b=this.getFullYear(),c=b<0?"-":b>=1E4?"+":"";return[c+mv(Math.abs(b),c?6:4),mv(this.getMonth()+1,2),mv(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 v7b=function(a,b){a.getDate()!=b&&a.date.setUTCHours(a.date.getUTCHours()+(a.getDate()<b?1:-1))};tj.prototype.valueOf=function(){return this.date.valueOf()};
var Cj=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())};Nu(Cj,tj);g=Cj.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){tj.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=tj.prototype.toIsoString.call(this,a);return a?b+"T"+mv(this.getHours(),2)+":"+mv(this.getMinutes(),2)+":"+mv(this.getSeconds(),2):b+"T"+mv(this.getHours(),2)+mv(this.getMinutes(),2)+mv(this.getSeconds(),2)};g.equals=function(a){return this.getTime()==a.getTime()};g.toString=function(){return this.toIsoString()};g.clone=function(){var a=new Cj(this.date),b=this.getFirstDayOfWeek();a.firstDayOfWeek_=b;a.firstWeekCutOffDay_=this.firstWeekCutOffDay_;return a};var x7b=/\s+/,y7b=[],aw=function(a,b){this._ngEl=a;this._renderer=b;this.initialClasses=y7b;this.stateMap=new Map};aw.prototype.ngDoCheck=function(){for(var a=k(this.initialClasses),b=a.next();!b.done;b=a.next())this._updateState(b.value,!0);a=this.rawClass;if(Array.isArray(a)||a instanceof Set)for(a=k(a),b=a.next();!b.done;b=a.next())this._updateState(b.value,!0);else if(a!=null){b=k(Object.keys(a));for(var c=b.next();!c.done;c=b.next())c=c.value,this._updateState(c,!!a[c])}this._applyStateDiff()};
aw.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})};aw.prototype._applyStateDiff=function(){for(var a=k(this.stateMap),b=a.next();!b.done;b=a.next()){var c=b.value;b=c[0];c=c[1];c.changed?(this._toggleClass(b,c.enabled),c.changed=!1):c.touched||(c.enabled&&this._toggleClass(b,!1),this.stateMap.delete(b));c.touched=!1}};
aw.prototype._toggleClass=function(a,b){var c=this;a=a.trim();a.length>0&&a.split(x7b).forEach(function(d){b?c._renderer.addClass(c._ngEl.nativeElement,d):c._renderer.removeClass(c._ngEl.nativeElement,d)})};da.Object.defineProperties(aw.prototype,{klass:{configurable:!0,enumerable:!0,set:function(a){this.initialClasses=a!=null?a.trim().split(x7b):y7b}},ngClass:{configurable:!0,enumerable:!0,set:function(a){this.rawClass=typeof a==="string"?a.trim().split(x7b):a}}});
aw.\u0275fac=function(a){return new (a||aw)(hf(ef),hf(Iv))};aw.\u0275dir=Df({type:aw,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}});var z7b=function(a,b,c,d){this.$implicit=a;this.ngForOf=b;this.index=c;this.count=d};da.Object.defineProperties(z7b.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 bw=function(a,b,c){this._viewContainer=a;this._template=b;this._differs=c;this._ngForOf=null;this._ngForOfDirty=!0;this._differ=null};bw.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)};
bw.prototype._applyChanges=function(a){var b=this,c=this._viewContainer;G6b(a,function(h,l,q){h.previousIndex==null?c.createEmbeddedView(b._template,new z7b(h.item,b._ngForOf,-1,-1),q===null?void 0:q):q==null?c.remove(l===null?void 0:l):l!==null&&(l=c.get(l),c.move(l,q),l.context.$implicit=h.item)});for(var d=0,e=c.length;d<e;d++){var f=c.get(d).context;f.index=d;f.count=e;f.ngForOf=this._ngForOf}H6b(a,function(h){c.get(h.currentIndex).context.$implicit=h.item})};
da.Object.defineProperties(bw.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)}}});bw.\u0275fac=function(a){return new (a||bw)(hf(Pg),hf(Og),hf(Qv))};
bw.\u0275dir=Df({type:bw,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}});var cw=function(a,b){this._viewContainer=a;this._context=new A7b;this._elseViewRef=this._thenViewRef=this._elseTemplateRef=null;this._thenTemplateRef=b};
cw.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(cw.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()}}});cw.\u0275fac=function(a){return new (a||cw)(hf(Pg),hf(Og))};
cw.\u0275dir=Df({type:cw,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}});var A7b=function(){this.ngIf=this.$implicit=null};var dw=function(a){this._viewContainerRef=a;this.ngTemplateOutletInjector=this.ngTemplateOutlet=this.ngTemplateOutletContext=this._viewRef=null};dw.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};
dw.prototype._shouldRecreateView=function(a){return!!a.ngTemplateOutlet||!!a.ngTemplateOutletInjector};dw.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)}})};dw.\u0275fac=function(a){return new (a||dw)(hf(Pg))};
dw.\u0275dir=Df({type:dw,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[rv]});var B7b=function(){};B7b.prototype.createSubscription=function(a,b){return zh(function(){return a.subscribe({next:b,error:function(c){throw c;}})})};B7b.prototype.dispose=function(a){zh(function(){return a.unsubscribe()})};var C7b=function(){};C7b.prototype.createSubscription=function(a,b){return a.then(b,function(c){throw c;})};C7b.prototype.dispose=function(){};
var D7b=new C7b,E7b=new B7b,ew=function(a){this._latestValue=null;this.markForCheckOnValueUpdate=!0;this._strategy=this._obj=this._subscription=null;this._ref=a};g=ew.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(Ff(a))return D7b;if(Sja(a))return E7b;throw Qh();};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()}};ew.\u0275fac=function(a){return new (a||ew)(hf(Ov,16))};ew.\u0275pipe=Ef({name:"async",type:ew,pure:!1});var fw=function(){};fw.prototype.transform=function(a){if(a==null)return null;if(typeof a!=="string")throw Qh();return a.toLowerCase()};fw.\u0275fac=function(a){return new (a||fw)};fw.\u0275pipe=Ef({name:"lowercase",type:fw,pure:!0});
var F7b=/(?:[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,gw=
function(){};gw.prototype.transform=function(a){if(a==null)return null;if(typeof a!=="string")throw Qh();return a.replace(F7b,function(b){return b[0].toUpperCase()+b.slice(1).toLowerCase()})};gw.\u0275fac=function(a){return new (a||gw)};gw.\u0275pipe=Ef({name:"titlecase",type:gw,pure:!0});var doa=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Uh={},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 G7b=new zd(""),H7b=new zd(""),hw=function(a,b,c){this.locale=a;this.defaultTimezone=b;this.defaultOptions=c};hw.prototype.transform=function(a,b,c,d){if(a==null||a===""||a!==a)return null;try{var e,f,h=(f=b!=null?b:(e=this.defaultOptions)==null?void 0:e.dateFormat)!=null?f:"mediumDate",l,q,u,A=(u=(q=c!=null?c:(l=this.defaultOptions)==null?void 0:l.timezone)!=null?q:this.defaultTimezone)!=null?u:void 0;return Yna(a,h,d||this.locale,A)}catch(F){throw Qh();}};
hw.\u0275fac=function(a){return new (a||hw)(hf(oh,16),hf(G7b,24),hf(H7b,24))};hw.\u0275pipe=Ef({name:"date",type:hw,pure:!0});var iw=function(){};iw.prototype.transform=function(a){return JSON.stringify(a,null,2)};iw.\u0275fac=function(a){return new (a||iw)};iw.\u0275pipe=Ef({name:"json",type:iw,pure:!1});var jw=function(a){this.differs=a;this.keyValues=[];this.compareFn=foa};jw.prototype.transform=function(a,b){var c=this;b=b===void 0?foa: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)b&&this.keyValues.sort(b),this.compareFn=b;return this.keyValues};
jw.\u0275fac=function(a){return new (a||jw)(hf(Rv,16))};jw.\u0275pipe=Ef({name:"keyvalue",type:jw,pure:!1});var ioa=/^(\d+)?\.((\d+)(-(\d+))?)?$/;var kw=function(a){this._locale=a};
kw.prototype.transform=function(a,b,c){if(a==null||a===""||a!==a)return null;c||(c=this._locale);try{if(typeof a!=="string"||isNaN(Number(a)-parseFloat(a))){if(typeof a!=="number")throw Error("ub`"+a);var d=a}else d=Number(a);a=d;var e=Fg(c)[14][0],f=Ph(c,5);f=f===void 0?"-":f;d={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0};var h=e.split(";"),l=h[0],q=h[1],u=l.indexOf(".")!==-1?l.split("."):[l.substring(0,l.lastIndexOf("0")+1),l.substring(l.lastIndexOf("0")+
1)],A=u[0],F=u[1]||"";d.posPre=A.substring(0,A.indexOf("#"));for(e=0;e<F.length;e++){var H=F.charAt(e);H==="0"?d.minFrac=d.maxFrac=e+1:H==="#"?d.maxFrac=e+1:d.posSuf+=H}var N=A.split(",");d.gSize=N[1]?N[1].length:0;d.lgSize=N[2]||N[1]?(N[2]||N[1]).length:0;if(q){var O=l.length-d.posPre.length-d.posSuf.length,T=q.indexOf("#");d.negPre=q.substring(0,T).replace(/'/g,"");d.negSuf=q.slice(T+O).replace(/'/g,"")}else d.negPre=f+d.posPre,d.negSuf=d.posSuf;return loa(a,d,c,b)}catch(ea){throw Qh();}};
kw.\u0275fac=function(a){return new (a||kw)(hf(oh,16))};kw.\u0275pipe=Ef({name:"number",type:kw,pure:!0});var lw=function(){};lw.prototype.transform=function(a,b,c){if(a==null)return null;if(!this.supports(a))throw Qh();return a.slice(b,c)};lw.prototype.supports=function(a){return typeof a==="string"||Array.isArray(a)};lw.\u0275fac=function(a){return new (a||lw)};lw.\u0275pipe=Ef({name:"slice",type:lw,pure:!1});var mw=function(){};mw.\u0275fac=function(a){return new (a||mw)};mw.\u0275mod=Cf({type:mw});mw.\u0275inj=p({});var I7b=function(a){return a.src};new zd("",{providedIn:"root",factory:function(){return I7b}});var ii=new zd("");new zd("");new zd("",{providedIn:"root",factory:function(){return new Set}});var J7b=null,K7b=function(){};var nw=function(){};nw.prototype.historyGo=function(){throw Error("qa");};nw.\u0275fac=function(a){return new (a||nw)};nw.\u0275prov=n({token:nw,factory:function(){return r(ow)},providedIn:"platform"});var L7b=new zd(""),ow=function(){this._doc=r(ii);this._location=window.location;this._history=window.history};Y(ow,nw);ow.prototype.onPopState=function(a){var b=M7b(this._doc,"window");b.addEventListener("popstate",a,!1);return function(){return b.removeEventListener("popstate",a)}};
var N7b=function(a,b){var c=M7b(a._doc,"window");c.addEventListener("hashchange",b,!1);return function(){return c.removeEventListener("hashchange",b)}};g=ow.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(ow.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}}});ow.\u0275fac=function(a){return new (a||ow)};ow.\u0275prov=n({token:ow,factory:function(){return new ow},providedIn:"platform"});var pw=function(){};pw.prototype.historyGo=function(){throw Error("qa");};pw.\u0275fac=function(a){return new (a||pw)};pw.\u0275prov=n({token:pw,factory:function(){return r(qw)},providedIn:"root"});var O7b=new zd(""),qw=function(a,b){this._platformLocation=a;this._removeListenerFns=[];var c,d,e;this._baseHref=(e=(d=b!=null?b:J7b.getBaseHref())!=null?d:(c=r(ii).location)==null?void 0:c.origin)!=null?e:""};Y(qw,pw);g=qw.prototype;g.ngOnDestroy=function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()};
g.onPopState=function(a){this._removeListenerFns.push(this._platformLocation.onPopState(a),N7b(this._platformLocation,a))};g.getBaseHref=function(){return this._baseHref};g.prepareExternalUrl=function(a){return moa(this._baseHref,a)};g.path=function(a){var b=this._platformLocation.pathname+Wh(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+Wh(d)))};
g.replaceState=function(a,b,c,d){this._platformLocation.replaceState(a,b,this.prepareExternalUrl(c+Wh(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)};qw.\u0275fac=function(a){return new (a||qw)(pd(nw),pd(O7b,8))};qw.\u0275prov=n({token:qw,factory:qw.\u0275fac,providedIn:"root"});var rw=function(a,b){this._platformLocation=a;this._baseHref="";this._removeListenerFns=[];b!=null&&(this._baseHref=b)};Y(rw,pw);g=rw.prototype;g.ngOnDestroy=function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()};g.onPopState=function(a){this._removeListenerFns.push(this._platformLocation.onPopState(a),N7b(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=moa(this._baseHref,a);return a.length>0?"#"+a:a};g.pushState=function(a,b,c,d){c=this.prepareExternalUrl(c+Wh(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+Wh(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)};rw.\u0275fac=function(a){return new (a||rw)(pd(nw),pd(O7b,8))};
rw.\u0275prov=n({token:rw,factory:rw.\u0275fac});var sw=function(a){var b=this;this._subject=new Uf;this._urlChangeListeners=[];this._urlChangeSubscription=null;this._locationStrategy=a;a=this._locationStrategy.getBaseHref();this._basePath=ooa(noa(a.replace(/\/index.html$/,"")));this._locationStrategy.onPopState(function(c){b._subject.next({url:b.path(!0),pop:!0,state:c.state,type:c.type})})};g=sw.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 noa(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+Wh(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+Wh(b)),c)};g.forward=function(){this._locationStrategy.forward()};g.back=function(){this._locationStrategy.back()};
g.historyGo=function(a){var b,c;(c=(b=this._locationStrategy).historyGo)==null||c.call(b,a===void 0?0:a)};g._notifyUrlChangeListeners=function(a,b){a=a===void 0?"":a;this._urlChangeListeners.forEach(function(c){return c(a,b)})};g.subscribe=function(a,b,c){return this._subject.subscribe({next:a,error:b!=null?b:void 0,complete:c!=null?c:void 0})};sw.\u0275fac=function(a){return new (a||sw)(pd(pw))};sw.\u0275prov=n({token:sw,factory:function(){return new sw(pd(pw))},providedIn:"root"});var P7b=function(){};P7b.\u0275prov=n({token:P7b,providedIn:"root",factory:function(){return r(Fv)==="browser"?new Q7b:new R7b}});var Q7b=function(){var a=r(ii),b=window;this.document=a;this.window=b;this.offset=function(){return[0,0]}};g=Q7b.prototype;g.setOffset=function(a){this.offset=Array.isArray(a)?function(){return a}:a};g.getScrollPosition=function(){return[this.window.scrollX,this.window.scrollY]};g.scrollToPosition=function(a){this.window.scrollTo(a[0],a[1])};
g.scrollToAnchor=function(a){a:{var b=this.document,c=b.getElementById(a)||b.getElementsByName(a)[0];if(c)a=c;else{if(typeof b.createTreeWalker==="function"&&b.body&&typeof b.body.attachShadow==="function")for(b=b.createTreeWalker(b.body,NodeFilter.SHOW_ELEMENT),c=b.currentNode;c;){if(c=c.shadowRoot)if(c=c.getElementById(a)||c.querySelector('[name="'+a+'"]')){a=c;break a}c=b.nextNode()}a=null}}if(a){c=a.getBoundingClientRect();b=c.left+this.window.pageXOffset;c=c.top+this.window.pageYOffset;var d=
this.offset();this.window.scrollTo(b-d[0],c-d[1]);a.focus()}};g.setHistoryScrollRestoration=function(a){this.window.history.scrollRestoration=a};var R7b=function(){};g=R7b.prototype;g.setOffset=function(){};g.getScrollPosition=function(){return[0,0]};g.scrollToPosition=function(){};g.scrollToAnchor=function(){};g.setHistoryScrollRestoration=function(){};var S7b=function(){};var uoa,voa="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 Yh;var zoa,$h;var Boa;var T7b;try{T7b=typeof Intl!=="undefined"&&Intl.v8BreakIterator}catch(a){T7b=!1}
var tw=function(){this.EDGE=(this.isBrowser=(this._platformId=r(Fv))?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&&!T7b)&&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;this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT};tw.\u0275fac=function(a){return new (a||tw)};tw.\u0275prov=n({token:tw,factory:tw.\u0275fac,providedIn:"root"});var U7b=new zd("cdk-input-modality-detector-options"),V7b={ignoreKeys:[18,17,224,91,16]},uw=Zh({passive:!0,capture:!0}),vw=function(){var a=this;this._platform=r(tw);this._mostRecentTarget=null;this._modality=new Xi(null);this._lastTouchMs=0;this._onKeydown=function(e){var f,h;((f=a._options)==null?0:(h=f.ignoreKeys)==null?0:h.some(function(l){return l===e.keyCode}))||(a._modality.next("keyboard"),a._mostRecentTarget=bi(e))};this._onMousedown=function(e){Date.now()-a._lastTouchMs<650||(a._modality.next(poa(e)?
"keyboard":"mouse"),a._mostRecentTarget=bi(e))};this._onTouchstart=function(e){qoa(e)?a._modality.next("keyboard"):(a._lastTouchMs=Date.now(),a._modality.next("touch"),a._mostRecentTarget=bi(e))};var b=r(kh),c=r(ii),d=r(U7b,{optional:!0});this._options=Object.assign({},V7b,d);this.modalityDetected=this._modality.pipe(Wf(1));this.modalityDetected.pipe(Pf());this._platform.isBrowser&&b.runOutsideAngular(function(){c.addEventListener("keydown",a._onKeydown,uw);c.addEventListener("mousedown",a._onMousedown,
uw);c.addEventListener("touchstart",a._onTouchstart,uw)})};vw.prototype.ngOnDestroy=function(){this._modality.complete();this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,uw),document.removeEventListener("mousedown",this._onMousedown,uw),document.removeEventListener("touchstart",this._onTouchstart,uw))};da.Object.defineProperties(vw.prototype,{mostRecentModality:{configurable:!0,enumerable:!0,get:function(){return this._modality.value}}});
vw.\u0275fac=function(a){return new (a||vw)};vw.\u0275prov=n({token:vw,factory:vw.\u0275fac,providedIn:"root"});var W7b=new zd("cdk-focus-monitor-default-options"),X7b=Zh({passive:!0,capture:!0}),ww=function(){var a=this;this._ngZone=r(kh);this._platform=r(tw);this._inputModalityDetector=r(vw);this._origin=null;this._originFromTouchInteraction=this._windowFocused=!1;this._elementInfo=new Map;this._monitoredElementCount=0;this._rootNodeFocusListenerCount=new Map;this._windowFocusListener=function(){a._windowFocused=!0;a._windowFocusTimeoutId=setTimeout(function(){return a._windowFocused=!1})};this._document=
r(ii,{optional:!0});this._stopInputModalityDetector=new Uf;this._rootNodeFocusAndBlurListener=function(c){for(var d=bi(c);d;d=d.parentElement)c.type==="focus"?a._onFocus(c,d):a._onBlur(c,d)};var b;this._detectionMode=((b=r(W7b,{optional:!0}))==null?void 0:b.detectionMode)||0};
ww.prototype.monitor=function(a,b){b=b===void 0?!1:b;a=fi(a);if(!this._platform.isBrowser||a.nodeType!==1)return Ae();var c=Coa(a)||this._getDocument(),d=this._elementInfo.get(a);if(d)return b&&(d.checkChildren=!0),d.subject;b={checkChildren:b,subject:new Uf,rootNode:c};this._elementInfo.set(a,b);this._registerGlobalListeners(b);return b.subject};
ww.prototype.stopMonitoring=function(a){a=fi(a);var b=this._elementInfo.get(a);b&&(b.subject.complete(),this._setClasses(a),this._elementInfo.delete(a),this._removeGlobalListeners(b))};var xw=function(a,b,c,d){b=fi(b);b===a._getDocument().activeElement?a._getClosestElementsInfo(b).forEach(function(e){var f=k(e);e=f.next().value;f=f.next().value;return a._originChanged(e,c,f)}):(a._setOrigin(c),typeof b.focus==="function"&&b.focus(d))};g=ww.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=bi(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,X7b);c.addEventListener("blur",b._rootNodeFocusAndBlurListener,X7b)});this._rootNodeFocusListenerCount.set(c,a+1);++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(function(){b._getWindow().addEventListener("focus",b._windowFocusListener)}),
this._inputModalityDetector.modalityDetected.pipe(Zf(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,X7b),a.removeEventListener("blur",this._rootNodeFocusAndBlurListener,X7b),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};ww.\u0275fac=function(a){return new (a||ww)};ww.\u0275prov=n({token:ww,factory:ww.\u0275fac,providedIn:"root"});
var yw=function(){this._elementRef=r(ef);this._focusMonitor=r(ww);this._focusOrigin=null;this.cdkFocusChange=new Dv};yw.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)})};yw.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef);this._monitorSubscription&&this._monitorSubscription.unsubscribe()};
da.Object.defineProperties(yw.prototype,{focusOrigin:{configurable:!0,enumerable:!0,get:function(){return this._focusOrigin}}});yw.\u0275fac=function(a){return new (a||yw)};yw.\u0275dir=Df({type:yw,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]});var zw=function(){this._platform=r(tw)};zw.prototype.isDisabled=function(a){return a.hasAttribute("disabled")};zw.prototype.isVisible=function(a){return!!(a.offsetWidth||a.offsetHeight||typeof a.getClientRects==="function"&&a.getClientRects().length)&&getComputedStyle(a).visibility==="visible"};
var Y7b=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&&(Foa(c)===-1||!a.isVisible(c)))return!1;c=b.nodeName.toLowerCase();var d=Foa(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};
zw.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")||Eoa(a);return c&&!this.isDisabled(a)&&((b==null?void 0:b.ignoreVisibility)||this.isVisible(a))};zw.\u0275fac=function(a){return new (a||zw)};zw.\u0275prov=n({token:zw,factory:zw.\u0275fac,providedIn:"root"});var Z7b=new WeakMap,Aw=function(){this._injector=r(Ye);this._environmentInjector=r(qv)};Aw.prototype.load=function(a){var b=this._appRef=this._appRef||this._injector.get(ph),c=Z7b.get(b);c||(c={loaders:new Set,refs:[]},Z7b.set(b,c),b.onDestroy(function(){var d;(d=Z7b.get(b))==null||d.refs.forEach(function(e){return e.destroy()});Z7b.delete(b)}));c.loaders.has(a)||(c.loaders.add(a),c.refs.push(Nma(a,{environmentInjector:this._environmentInjector})))};Aw.\u0275fac=function(a){return new (a||Aw)};
Aw.\u0275prov=n({token:Aw,factory:Aw.\u0275fac,providedIn:"root"});var Bw=function(){};Bw.\u0275fac=function(a){return new (a||Bw)};Bw.\u0275cmp=C({type:Bw,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(){},styles:[".cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}\n"],encapsulation:2,changeDetection:0});var Ew=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 $7b(h)};this.endAnchorListener=function(){return Cw(h)};this._enabled=!0;(e===void 0?0:e)||Dw(this)};
Ew.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 Dw=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))},a8b=function(a){return new Promise(function(b){a._executeOnStable(function(){return b(a.focusInitialElement())})})};
Ew.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)};
Ew.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 Cw(this)};var Cw=function(a){(a=a._getRegionBoundary("start"))&&a.focus(void 0);return!!a},$7b=function(a){(a=a._getRegionBoundary("end"))&&a.focus(void 0);return!!a};g=Ew.prototype;g.hasAttached=function(){return this._hasAttached};
g._getFirstTabbableElement=function(a){if(this._checker.isFocusable(a)&&Y7b(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)&&Y7b(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 b8b=function(a,b){a._startAnchor&&a._endAnchor&&(a._toggleAnchorTabIndex(b,a._startAnchor),a._toggleAnchorTabIndex(b,a._endAnchor))};
Ew.prototype._executeOnStable=function(a){this._injector?Ze(a,{injector:this._injector}):setTimeout(a)};da.Object.defineProperties(Ew.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 Fw=function(){this._checker=r(zw);this._ngZone=r(kh);this._document=r(ii);this._injector=r(Ye);r(Aw).load(Bw)};
Fw.prototype.create=function(a,b){return new Ew(a,this._checker,this._ngZone,this._document,b===void 0?!1:b,this._injector)};Fw.\u0275fac=function(a){return new (a||Fw)};Fw.\u0275prov=n({token:Fw,factory:Fw.\u0275fac,providedIn:"root"});var Gw=function(){this._elementRef=r(ef);this._focusTrapFactory=r(Fw);this._previouslyFocusedElement=null;r(tw).isBrowser&&(this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0))};g=Gw.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||Dw(a);this.autoCapture&&this._captureFocus()};g.ngDoCheck=function(){this.focusTrap&&!this.focusTrap.hasAttached()&&Dw(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=ai();var a;(a=this.focusTrap)==null||a8b(a)};da.Object.defineProperties(Gw.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)}}});
Gw.\u0275fac=function(a){return new (a||Gw)};Gw.\u0275dir=Df({type:Gw,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",uh],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",uh]},exportAs:["cdkTrapFocus"],features:[dg,rv]});var c8b=new Set,Hw,Iw=function(){this._platform=r(tw);this._nonce=r(S5b,{optional:!0});this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Goa};Iw.prototype.matchMedia=function(a){if(this._platform.WEBKIT||this._platform.BLINK){var b=this._nonce;if(!c8b.has(a))try{Hw||(Hw=document.createElement("style"),b&&Hw.setAttribute("nonce",b),Hw.setAttribute("type","text/css"),document.head.appendChild(Hw)),Hw.sheet&&(Hw.sheet.insertRule("@media "+a+" {body{ }}",0),c8b.add(a))}catch(c){console.error(c)}}return this._matchMedia(a)};
Iw.\u0275fac=function(a){return new (a||Iw)};Iw.\u0275prov=n({token:Iw,factory:Iw.\u0275fac,providedIn:"root"});var Jw=function(){this._mediaMatcher=r(Iw);this._zone=r(kh);this._queries=new Map;this._destroySubject=new Uf};Jw.prototype.ngOnDestroy=function(){this._destroySubject.next();this._destroySubject.complete()};
Jw.prototype.observe=function(a){var b=this;a=Hoa(ci(a)).map(function(c){return b._registerQuery(c).observable});a=Ie(a);a=Me(a.pipe(Nf()),a.pipe(Wf(1),Lf(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}))};
Jw.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 oe(function(e){var f=function(h){return b._zone.run(function(){return e.next(h)})};c.addListener(f);return function(){c.removeListener(f)}})).pipe(Xf(c),z(function(e){return{query:a,matches:e.matches}}),Zf(this._destroySubject)),mql:c};this._queries.set(a,d);return d};Jw.\u0275fac=function(a){return new (a||Jw)};
Jw.\u0275prov=n({token:Jw,factory:Jw.\u0275fac,providedIn:"root"});var Kw=function(){var a=this;this._platform=r(tw);this._document=r(ii);this._breakpointSubscription=r(Jw).observe("(forced-colors: active)").subscribe(function(){a._hasCheckedHighContrastMode&&(a._hasCheckedHighContrastMode=!1,a._applyBodyHighContrastModeCssClasses())})},d8b=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};Kw.prototype.ngOnDestroy=function(){this._breakpointSubscription.unsubscribe()};
Kw.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=d8b(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")}};
Kw.\u0275fac=function(a){return new (a||Kw)};Kw.\u0275prov=n({token:Kw,factory:Kw.\u0275fac,providedIn:"root"});var e8b=new zd("liveAnnouncerElement",{providedIn:"root",factory:Ioa}),f8b=new zd("LIVE_ANNOUNCER_DEFAULT_OPTIONS");var Lw=function(){};Lw.prototype.create=function(a){return typeof MutationObserver==="undefined"?null:new MutationObserver(a)};Lw.\u0275fac=function(a){return new (a||Lw)};Lw.\u0275prov=n({token:Lw,factory:Lw.\u0275fac,providedIn:"root"});var Mw=function(){this._mutationObserverFactory=r(Lw);this._observedElements=new Map;this._ngZone=r(kh)};g=Mw.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=fi(a);return new oe(function(d){var e=b._observeElement(c).pipe(z(function(f){return f.filter(function(h){return!Joa(h)})}),Ue(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 Uf,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)}};Mw.\u0275fac=function(a){return new (a||Mw)};Mw.\u0275prov=n({token:Mw,factory:Mw.\u0275fac,providedIn:"root"});
var Nw=function(){this._contentObserver=r(Mw);this._elementRef=r(ef);this.event=new Dv;this._disabled=!1;this._currentSubscription=null};Nw.prototype.ngAfterContentInit=function(){this._currentSubscription||this.disabled||this._subscribe()};Nw.prototype.ngOnDestroy=function(){this._unsubscribe()};Nw.prototype._subscribe=function(){this._unsubscribe();var a=this._contentObserver.observe(this._elementRef);this._currentSubscription=(this.debounce?a.pipe(Lf(this.debounce)):a).subscribe(this.event)};
Nw.prototype._unsubscribe=function(){var a;(a=this._currentSubscription)==null||a.unsubscribe()};da.Object.defineProperties(Nw.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=gi(a);this._subscribe()}}});Nw.\u0275fac=function(a){return new (a||Nw)};
Nw.\u0275dir=Df({type:Nw,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",uh],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"],features:[dg]});var Ow=function(){};Ow.\u0275fac=function(a){return new (a||Ow)};Ow.\u0275mod=Cf({type:Ow});Ow.\u0275inj=p({providers:[Lw]});var g8b=0,Pw=function(){this._ngZone=r(kh);this._defaultOptions=r(f8b,{optional:!0});this._document=r(ii);this._liveElement=r(e8b,{optional:!0})||this._createLiveElement()};g=Pw.prototype;
g.announce=function(a){var b=vd.apply(1,arguments),c=this,d=this._defaultOptions;if(b.length===1&&typeof b[0]==="number")var e=b[0];else{b=k(b);var f=b.next().value;e=b.next().value}this.clear();clearTimeout(this._previousTimeout);f||(f=d&&d.politeness?d.politeness:"polite");e==null&&d&&(e=d.duration);this._liveElement.setAttribute("aria-live",f);this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id);return this._ngZone.runOutsideAngular(function(){c._currentPromise||(c._currentPromise=
new Promise(function(h){return c._currentResolve=h}));clearTimeout(c._previousTimeout);c._previousTimeout=setTimeout(function(){c._liveElement.textContent=a;typeof e==="number"&&(c._previousTimeout=setTimeout(function(){return c.clear()},e));var h;(h=c._currentResolve)==null||h.call(c);c._currentPromise=c._currentResolve=void 0},100);return c._currentPromise})};g.clear=function(){this._liveElement&&(this._liveElement.textContent="")};
g.ngOnDestroy=function(){clearTimeout(this._previousTimeout);var a;(a=this._liveElement)==null||a.remove();this._liveElement=null;var b;(b=this._currentResolve)==null||b.call(this);this._currentPromise=this._currentResolve=void 0};
g._createLiveElement=function(){for(var a=this._document.getElementsByClassName("cdk-live-announcer-element"),b=this._document.createElement("div"),c=0;c<a.length;c++)a[c].remove();b.classList.add("cdk-live-announcer-element");b.classList.add("cdk-visually-hidden");b.setAttribute("aria-atomic","true");b.setAttribute("aria-live","polite");b.id="cdk-live-announcer-"+g8b++;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)}};Pw.\u0275fac=function(a){return new (a||Pw)};Pw.\u0275prov=n({token:Pw,factory:Pw.\u0275fac,providedIn:"root"});var Qw=function(){r(Kw)._applyBodyHighContrastModeCssClasses()};Qw.\u0275fac=function(a){return new (a||Qw)};Qw.\u0275mod=Cf({type:Qw});Qw.\u0275inj=p({imports:[Ow]});var Noa=0,Rw=function(){this._platform=r(tw);this._document=r(ii);this._messageRegistry=new Map;this._messagesContainer=null;this._id=""+Noa++;r(Aw).load(Bw);this._id=r(R5b)+"-"+Noa++},h8b=function(a,b,c,d){if(a._canBeDescribed(b,c)){var e=Moa(c,d);typeof c!=="string"?(Ooa(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)}},Sw=function(a,b,c,d){if(c&&a._isElementNode(b)){d=
Moa(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=Rw.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");Ooa(c,this._id);c.textContent=a;b&&c.setAttribute("role",b);this._createMessagesContainer();this._messagesContainer.appendChild(c);this._messageRegistry.set(Moa(a,b),{messageElement:c,referenceCount:0})};g._deleteMessageElement=function(a){var b,c;(b=this._messageRegistry.get(a))==null||(c=b.messageElement)==null||c.remove();this._messageRegistry.delete(a)};
g._createMessagesContainer=function(){if(!this._messagesContainer){for(var a=this._document.querySelectorAll('.cdk-describedby-message-container[platform="server"]'),b=0;b<a.length;b++)a[b].remove();a=this._document.createElement("div");a.style.visibility="hidden";a.classList.add("cdk-describedby-message-container");a.classList.add("cdk-visually-hidden");this._platform.isBrowser||a.setAttribute("platform","server");this._document.body.appendChild(a);this._messagesContainer=a}};
g._removeCdkDescribedByReferenceIds=function(a){var b=Koa(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);Loa(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--;hi(a,"aria-describedby",b.messageElement.id);a.removeAttribute("cdk-describedby-host")};g._isElementDescribedByMessage=function(a,b){a=Koa(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};Rw.\u0275fac=function(a){return new (a||Rw)};Rw.\u0275prov=n({token:Rw,factory:Rw.\u0275fac,providedIn:"root"});var Tw=function(a,b,c,d,e,f,h,l){Ew.call(this,a,b,c,d,h.defer,l);this._focusTrapManager=e;this._inertStrategy=f;this._focusTrapManager.register(this)};Y(Tw,Ew);Tw.prototype.destroy=function(){this._focusTrapManager.deregister(this);Ew.prototype.destroy.call(this)};Tw.prototype._enable=function(){this._inertStrategy.preventFocus(this);b8b(this,!0)};Tw.prototype._disable=function(){this._inertStrategy.allowFocus(this);b8b(this,!1)};
da.Object.defineProperties(Tw.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 i8b=function(){this._listener=null};i8b.prototype.preventFocus=function(a){var b=this;this._listener&&a._document.removeEventListener("focus",this._listener,!0);this._listener=function(c){return b._trapFocus(a,c)};a._ngZone.runOutsideAngular(function(){a._document.addEventListener("focus",b._listener,!0)})};i8b.prototype.allowFocus=function(a){this._listener&&(a._document.removeEventListener("focus",this._listener,!0),this._listener=null)};
i8b.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)&&Cw(a)})};var j8b=new zd("FOCUS_TRAP_INERT_STRATEGY");var Uw=function(){this._focusTrapStack=[]};Uw.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()};Uw.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())};Uw.\u0275fac=function(a){return new (a||Uw)};Uw.\u0275prov=n({token:Uw,factory:Uw.\u0275fac,providedIn:"root"});var Vw=function(){this._checker=r(zw);this._ngZone=r(kh);this._focusTrapManager=r(Uw);this._document=r(ii);this._injector=r(Ye);this._inertStrategy=r(j8b,{optional:!0})||new i8b};Vw.prototype.create=function(a,b){b=b===void 0?{defer:!1}:b;var c;typeof b==="boolean"?c={defer:b}:c=b;return new Tw(a,this._checker,this._ngZone,this._document,this._focusTrapManager,this._inertStrategy,c,this._injector)};Vw.\u0275fac=function(a){return new (a||Vw)};Vw.\u0275prov=n({token:Vw,factory:Vw.\u0275fac,providedIn:"root"});var k8b={},Ww=function(){this._appId=r(R5b)};Ww.prototype.getId=function(a){this._appId!=="ng"&&(a+=this._appId);k8b.hasOwnProperty(a)||(k8b[a]=0);return a+k8b[a]++};Ww.\u0275fac=function(a){return new (a||Ww)};Ww.\u0275prov=n({token:Ww,factory:Ww.\u0275fac,providedIn:"root"});var l8b=function(a,b){this._letterKeyStream=new Uf;this._items=[];this._selectedItemIndex=-1;this._pressedLetters=[];this.selectedItem=this._selectedItem=new Uf;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=l8b.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($f(function(c){return b._pressedLetters.push(c)}),Lf(a),Ue(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,l=void 0,q=void 0;if(((h=(f=b)._skipPredicateFn)==null||!h.call(f,e))&&((q=(l=e).getLabel)==null?void 0:q.call(l).toLocaleUpperCase().trim().indexOf(c))===
0){b._selectedItem.next(e);break}}b._pressedLetters=[]})};var Xw=function(a,b){var c=this;this._items=a;this._activeItemIndex=-1;this._activeItem=Xg(null);this._wrap=!1;this._typeaheadSubscription=je.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 Uf;this.change=new Uf;a instanceof Qg?this._itemChangesSubscription=a.changes.subscribe(function(d){return c._itemsChanged(d.toArray())}):Gf(a)&&(this._effectRef=Kma(function(){return c._itemsChanged(a())},
{injector:b}))};Xw.prototype.skipPredicate=function(a){this._skipPredicateFn=a;return this};
var Yw=function(a){a._wrap=!0;return a},Zw=function(a,b){a._vertical=b===void 0?!0:b;return a},$w=function(a,b){a._horizontal=b;return a},m8b=function(a){a._allowedModifierKeys=["shiftKey"];return a},n8b=function(a,b){b=b===void 0?200:b;a._typeaheadSubscription.unsubscribe();var c=a._getItemsArray();a._typeahead=new l8b(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},ax=function(a){a._homeAndEnd=!0;return a},o8b=function(a){a._pageUpAndDown={enabled:!0,delta:10};return a};Xw.prototype.setActiveItem=function(a){var b=this._activeItem();bx(this,a);this._activeItem()!==b&&this.change.next(this._activeItemIndex)};
Xw.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){p8b(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||Xh(a,"shiftKey")){var e;(e=this._typeahead)==null||e.handleKey(a)}return}var f;(f=this._typeahead)==null||f.reset();a.preventDefault()};Xw.prototype.isTyping=function(){return!!this._typeahead&&this._typeahead.isTyping()};var p8b=function(a){a._setActiveItemByIndex(a._getItemsArray().length-1,-1)};Xw.prototype.setNextItemActive=function(){this._activeItemIndex<0?this._setActiveItemByIndex(0,1):this._setActiveItemByDelta(1)};
Xw.prototype.setPreviousItemActive=function(){this._activeItemIndex<0&&this._wrap?p8b(this):this._setActiveItemByDelta(-1)};var bx=function(a,b){var c=a._getItemsArray();b=typeof b==="number"?b:c.indexOf(b);c=c[b];a._activeItem.set(c==null?null:c);a._activeItemIndex=b;(a=a._typeahead)!=null&&(a._selectedItemIndex=b)};g=Xw.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 Gf(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);if(b=this._activeItem())a=a.indexOf(b),a>-1&&a!==this._activeItemIndex&&(this._activeItemIndex=a,(b=this._typeahead)!=null&&(b._selectedItemIndex=a))};
da.Object.defineProperties(Xw.prototype,{activeItemIndex:{configurable:!0,enumerable:!0,get:function(){return this._activeItemIndex}},activeItem:{configurable:!0,enumerable:!0,get:function(){return this._activeItem()}}});var cx=function(){Xw.apply(this,arguments)};Y(cx,Xw);cx.prototype.setActiveItem=function(a){this.activeItem&&this.activeItem.setInactiveStyles();Xw.prototype.setActiveItem.call(this,a);this.activeItem&&this.activeItem.setActiveStyles()};var dx=function(){Xw.apply(this,arguments);this._origin="program"};Y(dx,Xw);var q8b=function(a,b){a._origin=b;return a};dx.prototype.setActiveItem=function(a){Xw.prototype.setActiveItem.call(this,a);this.activeItem&&this.activeItem.focus(this._origin)};var r8b=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=je.EMPTY;this._hasInitialFocused=!1;this.change=new Uf;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._initializeFocus()})):Gha(a)?a.subscribe(function(d){c._items=d;var e;(e=c._typeahead)==null||e.setItems(d);c._updateActiveItemIndex(d);c._initializeFocus()}):(this._items=a,this._initializeFocus());typeof b.shouldActivationFollowFocus==="boolean"&&(this._shouldActivationFollowFocus=b.shouldActivationFollowFocus);b.horizontalOrientation&&(this._horizontalOrientation=b.horizontalOrientation);b.skipPredicate&&(this._skipPredicateFn=b.skipPredicate);b.trackBy&&(this._trackByFn=b.trackBy);typeof b.typeAheadDebounceInterval!==
"undefined"&&this._setTypeAhead(b.typeAheadDebounceInterval)};g=r8b.prototype;
g._initializeFocus=function(){if(!this._hasInitialFocused&&this._items.length!==0){for(var a=0,b=0;b<this._items.length;b++)if(!this._skipPredicateFn(this._items[b])&&!this._isItemDisabled(this._items[b])){a=b;break}b=this._items[a];if(b.makeFocusable){var c;(c=this._activeItem)==null||c.unfocus();this._activeItemIndex=a;this._activeItem=b;(c=this._typeahead)!=null&&(c._selectedItemIndex=a);b.makeFocusable()}else ex(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(){ex(this,this._findNextAvailableItemIndex(-1))};g._focusLastItem=function(){ex(this,this._findPreviousAvailableItemIndex(this._items.length))};g._focusNextItem=function(){ex(this,this._findNextAvailableItemIndex(this._activeItemIndex))};g._focusPreviousItem=function(){ex(this,this._findPreviousAvailableItemIndex(this._activeItemIndex))};
var ex=function(a,b){var c=c===void 0?{}:c;c.emitChangeEvent!=null||(c.emitChangeEvent=!0);var d=typeof b==="number"?b:a._items.findIndex(function(l){return a._trackByFn(l)===a._trackByFn(b)});if(!(d<0||d>=a._items.length)){var e=a._items[d];if(a._activeItem===null||a._trackByFn(e)!==a._trackByFn(a._activeItem)){var f=a._activeItem;a._activeItem=e!=null?e:null;a._activeItemIndex=d;(e=a._typeahead)!=null&&(e._selectedItemIndex=d);var h;(h=a._activeItem)==null||h.focus();f==null||f.unfocus();c.emitChangeEvent&&
a.change.next(a._activeItem);a._shouldActivationFollowFocus&&a._activateCurrentItem()}}};g=r8b.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 l8b(this._items,{debounceInterval:typeof a==="number"?a:void 0,skipPredicate:function(c){return b._skipPredicateFn(c)}});this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(function(c){ex(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)&&ex(this,a)}};
g._expandCurrentItem=function(){var a=this;this._activeItem&&(this._isCurrentItemExpanded()?Poa(this._activeItem.getChildren()).pipe(Nf()).subscribe(function(b){(b=b.find(function(c){return!a._skipPredicateFn(c)}))&&ex(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?Poa(a.getChildren()):Ae(this._items.filter(function(b){return b.getParent()===null}))).pipe(Nf()).subscribe(function(b){b=k(b);for(var c=b.next();!c.done;c=b.next())c.value.expand()})}};g._activateCurrentItem=function(){var a;(a=this._activeItem)==null||a.activate()};
new zd("tree-key-manager",{providedIn:"root",factory:function(){return function(a,b){return new r8b(a,b)}}});var s8b=new zd("cdk-dir-doc",{providedIn:"root",factory:Qoa});var t8b=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i,fx=function(){this.value="ltr";this.change=new Dv;var a=r(s8b,{optional:!0});if(a){var b=a.documentElement?a.documentElement.dir:null;b=(a.body?a.body.dir:null)||b||"ltr";b=(b==null?void 0:b.toLowerCase())||"";var c;this.value=b==="auto"&&typeof navigator!=="undefined"&&((c=navigator)==null?0:c.language)?t8b.test(navigator.language)?"rtl":"ltr":b==="rtl"?"rtl":"ltr"}};
fx.prototype.ngOnDestroy=function(){this.change.complete()};fx.\u0275fac=function(a){return new (a||fx)};fx.\u0275prov=n({token:fx,factory:fx.\u0275fac,providedIn:"root"});var gx=function(){};gx.\u0275fac=function(a){return new (a||gx)};gx.\u0275mod=Cf({type:gx});gx.\u0275inj=p({});var hx=function(){this._attachedOverlays=[];this._document=r(ii)};hx.prototype.ngOnDestroy=function(){this.detach()};hx.prototype.add=function(a){this.remove(a);this._attachedOverlays.push(a)};hx.prototype.remove=function(a){a=this._attachedOverlays.indexOf(a);a>-1&&this._attachedOverlays.splice(a,1);this._attachedOverlays.length===0&&this.detach()};hx.\u0275fac=function(a){return new (a||hx)};hx.\u0275prov=n({token:hx,factory:hx.\u0275fac,providedIn:"root"});var ix=function(){hx.apply(this,arguments);var a=this;this._ngZone=r(kh);this._renderer=r(Hv).createRenderer(null,null);this._keydownListener=function(b){var c=a._attachedOverlays,d={};for(d.i$jscomp$558=c.length-1;d.i$jscomp$558>-1;d={i$jscomp$558:d.i$jscomp$558},d.i$jscomp$558--)if(c[d.i$jscomp$558]._keydownEvents.observers.length>0){a._ngZone.run(function(e){return function(){return c[e.i$jscomp$558]._keydownEvents.next(b)}}(d));break}}};Y(ix,hx);
ix.prototype.add=function(a){var b=this;hx.prototype.add.call(this,a);this._isAttached||(this._ngZone.runOutsideAngular(function(){b._cleanupKeydown=b._renderer.listen("body","keydown",b._keydownListener)}),this._isAttached=!0)};ix.prototype.detach=function(){if(this._isAttached){var a;(a=this._cleanupKeydown)==null||a.call(this);this._isAttached=!1}};ix.\u0275fac=function(){var a;return function(b){return(a||(a=ee(ix)))(b||ix)}}();ix.\u0275prov=n({token:ix,factory:ix.\u0275fac,providedIn:"root"});var jx=function(){hx.apply(this,arguments);var a=this;this._platform=r(tw);this._ngZone=r(kh,{optional:!0});this._cursorStyleIsSet=!1;this._pointerDownListener=function(b){a._pointerDownEventTarget=bi(b)};this._clickListener=function(b){var c=bi(b),d=b.type==="click"&&a._pointerDownEventTarget?a._pointerDownEventTarget:c;a._pointerDownEventTarget=null;for(var e=a._attachedOverlays.slice(),f={},h=e.length-1;h>-1;f={outsidePointerEvents:void 0},h--){var l=e[h];if(!(l._outsidePointerEvents.observers.length<
1)&&l.hasAttached()){if(Roa(l.overlayElement,c)||Roa(l.overlayElement,d))break;f.outsidePointerEvents=l._outsidePointerEvents;a._ngZone?a._ngZone.run(function(q){return function(){return q.outsidePointerEvents.next(b)}}(f)):f.outsidePointerEvents.next(b)}}}};Y(jx,hx);
jx.prototype.add=function(a){var b=this;hx.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}};
jx.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}};
jx.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)};jx.\u0275fac=function(){var a;return function(b){return(a||(a=ee(jx)))(b||jx)}}();jx.\u0275prov=n({token:jx,factory:jx.\u0275fac,providedIn:"root"});var kx=function(){};kx.\u0275fac=function(a){return new (a||kx)};
kx.\u0275cmp=C({type:kx,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(){},styles:[".cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%;z-index:1000}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0;z-index:1000;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors: active){.cdk-overlay-backdrop-showing{opacity:.6}}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px;z-index:1000}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}\n"],encapsulation:2,
changeDetection:0});var lx=function(){this._platform=r(tw);this._document=r(ii);this._styleLoader=r(Aw)};lx.prototype.ngOnDestroy=function(){var a;(a=this._containerElement)==null||a.remove()};var u8b=function(a){a._loadStyles();a._containerElement||a._createContainer();return a._containerElement};
lx.prototype._createContainer=function(){if(this._platform.isBrowser||Doa())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");Doa()?a.setAttribute("platform","test"):this._platform.isBrowser||a.setAttribute("platform","server");this._document.body.appendChild(a);this._containerElement=a};
lx.prototype._loadStyles=function(){this._styleLoader.load(kx)};lx.\u0275fac=function(a){return new (a||lx)};lx.\u0275prov=n({token:lx,factory:lx.\u0275fac,providedIn:"root"});var v8b=yoa(),w8b=function(a,b){this._viewportRuler=a;this._previousHTMLStyles={top:"",left:""};this._isEnabled=!1;this._document=b};w8b.prototype.attach=function(){};
w8b.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=ei(-this._previousScrollPosition.left);a.style.top=ei(-this._previousScrollPosition.top);a.classList.add("cdk-global-scrollblock");this._isEnabled=!0}};
w8b.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");v8b&&(b.scrollBehavior=c.scrollBehavior="auto");window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top);v8b&&(b.scrollBehavior=d,c.scrollBehavior=e)}};
w8b.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 x8b=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()})}};x8b.prototype.attach=function(a){this._overlayRef=a};
x8b.prototype.enable=function(){var a=this;if(!this._scrollSubscription){var b=this._scrollDispatcher.scrolled(0).pipe(Ue(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)}};x8b.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)};x8b.prototype.detach=function(){this.disable();this._overlayRef=null};var y8b=function(){};y8b.prototype.enable=function(){};y8b.prototype.disable=function(){};y8b.prototype.attach=function(){};var z8b=function(a,b,c,d){this._scrollDispatcher=a;this._viewportRuler=b;this._ngZone=c;this._config=d;this._scrollSubscription=null};z8b.prototype.attach=function(a){this._overlayRef=a};
z8b.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;Soa(b,[{width:d,height:c,bottom:c,right:d,top:0,left:0}])&&(a.disable(),a._ngZone.run(function(){return a._overlayRef.detach()}))}}))};
z8b.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)};z8b.prototype.detach=function(){this.disable();this._overlayRef=null};new zd("VIRTUAL_SCROLL_STRATEGY");var mx=function(){this._ngZone=r(kh);this._platform=r(tw);this._renderer=r(Hv).createRenderer(null,null);this._scrolled=new Uf;this._scrolledCount=0;this.scrollContainers=new Map};mx.prototype.register=function(a){var b=this;this.scrollContainers.has(a)||this.scrollContainers.set(a,a._elementScrolled.subscribe(function(){return b._scrolled.next(a)}))};mx.prototype.deregister=function(a){var b=this.scrollContainers.get(a);b&&(b.unsubscribe(),this.scrollContainers.delete(a))};
mx.prototype.scrolled=function(a){var b=this;a=a===void 0?20:a;return this._platform.isBrowser?new oe(function(c){b._cleanupGlobalListener||(b._cleanupGlobalListener=b._ngZone.runOutsideAngular(function(){return b._renderer.listen("document","scroll",function(){return b._scrolled.next()})}));var d=a>0?b._scrolled.pipe(Hf(a)).subscribe(c):b._scrolled.subscribe(c);b._scrolledCount++;return function(){d.unsubscribe();b._scrolledCount--;if(!b._scrolledCount){var e;(e=b._cleanupGlobalListener)==null||
e.call(b);b._cleanupGlobalListener=void 0}}}):Ae()};mx.prototype.ngOnDestroy=function(){var a=this,b;(b=this._cleanupGlobalListener)==null||b.call(this);this._cleanupGlobalListener=void 0;this.scrollContainers.forEach(function(c,d){return a.deregister(d)});this._scrolled.complete()};var A8b=function(a,b){var c=[];a.scrollContainers.forEach(function(d,e){a._scrollableContainsElement(e,b)&&c.push(e)});return c};
mx.prototype._scrollableContainsElement=function(a,b){b=fi(b);a=a.elementRef.nativeElement;do if(b==a)return!0;while(b=b.parentElement);return!1};mx.\u0275fac=function(a){return new (a||mx)};mx.\u0275prov=n({token:mx,factory:mx.\u0275fac,providedIn:"root"});var nx=function(){this.elementRef=r(ef);this.scrollDispatcher=r(mx);this.ngZone=r(kh);this.dir=r(fx,{optional:!0});this._scrollElement=this.elementRef.nativeElement;this._destroyed=new Uf;this._renderer=r(Iv);this._elementScrolled=new Uf};nx.prototype.ngOnInit=function(){var a=this;this._cleanupScroll=this.ngZone.runOutsideAngular(function(){return a._renderer.listen(a._scrollElement,"scroll",function(b){return a._elementScrolled.next(b)})});this.scrollDispatcher.register(this)};
nx.prototype.ngOnDestroy=function(){var a;(a=this._cleanupScroll)==null||a.call(this);this._elementScrolled.complete();this.scrollDispatcher.deregister(this);this._destroyed.next();this._destroyed.complete()};
nx.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&&Aoa()!=0?(a.left!=null&&(a.right=b.scrollWidth-b.clientWidth-a.left),Aoa()==2?a.left=a.right:Aoa()==1&&(a.left=a.right?-a.right:a.right)):a.right!=null&&(a.left=b.scrollWidth-b.clientWidth-a.right);this._applyScrollToOptions(a)};
nx.prototype._applyScrollToOptions=function(a){var b=this.elementRef.nativeElement;yoa()?b.scrollTo(a):(a.top!=null&&(b.scrollTop=a.top),a.left!=null&&(b.scrollLeft=a.left))};nx.\u0275fac=function(a){return new (a||nx)};nx.\u0275dir=Df({type:nx,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]});var B8b=new zd("_ViewRepeater");var C8b=function(){};C8b.prototype.applyChanges=function(a,b,c,d,e){G6b(a,function(f,h,l){if(f.previousIndex==null){var q=c(f,h,l);q=b.createEmbeddedView(q.templateRef,q.context,q.index);h=1}else l==null?(b.remove(h),h=3):(q=b.get(h),b.move(q,l),h=2);if(e){var u;e({context:(u=q)==null?void 0:u.context,operation:h,record:f})}})};C8b.prototype.detach=function(){};var D8b=function(){this._viewCache=[]};g=D8b.prototype;g.applyChanges=function(a,b,c,d,e){var f=this;G6b(a,function(h,l,q){var u;if(h.previousIndex==null)var A=(u=f._insertView(function(){return c(h,l,q)},q,b,d(h)))?1:0;else q==null?(f._detachAndCacheView(l,b),A=3):(u=f._moveView(l,q,b,d(h)),A=2);if(e){var F;e({context:(F=u)==null?void 0:F.context,operation:A,record:h})}})};g.detach=function(){for(var a=k(this._viewCache),b=a.next();!b.done;b=a.next())b.value.destroy();this._viewCache=[]};
g._insertView=function(a,b,c,d){if(b=this._insertViewFromCache(b,c))b.context.$implicit=d;else return a=a(),c.createEmbeddedView(a.templateRef,a.context,a.index)};g._detachAndCacheView=function(a,b){a=b.detach(a);this._maybeCacheView(a,b)};g._moveView=function(a,b,c,d){a=c.get(a);c.move(a,b);a.context.$implicit=d;return a};g._maybeCacheView=function(a,b){if(this._viewCache.length<20)this._viewCache.push(a);else{var c=b.indexOf(a);c===-1?a.destroy():b.remove(c)}};
g._insertViewFromCache=function(a,b){var c=this._viewCache.pop();c&&b.insert(c,a);return c||null};var ox=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 Uf;b&&b.length&&(a?b.forEach(function(f){return e._markSelected(f)}):this._markSelected(b[0]),this._selectedToEmit.length=0)};g=ox.prototype;
g.select=function(){var a=this;vd.apply(0,arguments).forEach(function(c){return a._markSelected(c)});var b=this._hasQueuedChanges();this._emitChangeEvent();return b};g.deselect=function(){var a=this;vd.apply(0,arguments).forEach(function(c){return a._unmarkSelected(c)});var b=this._hasQueuedChanges();this._emitChangeEvent();return b};g.toggle=function(a){return this.isSelected(a)?this.deselect(a):this.select(a)};
g.clear=function(a){a=a===void 0?!0:a;this._unmarkAll();var b=this._hasQueuedChanges();a&&this._emitChangeEvent();return b};g.isSelected=function(a){return this._selection.has(this._getConcreteValue(a))};g.isEmpty=function(){return this._selection.size===0};g.hasValue=function(){return!this.isEmpty()};g.sort=function(a){this._multiple&&this.selected&&this._selected.sort(a)};
g._emitChangeEvent=function(){this._selected=null;if(this._selectedToEmit.length||this._deselectedToEmit.length)this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[]};g._markSelected=function(a){a=this._getConcreteValue(a);this.isSelected(a)||(this._multiple||this._unmarkAll(),this.isSelected(a)||this._selection.add(a),this._emitChanges&&this._selectedToEmit.push(a))};
g._unmarkSelected=function(a){a=this._getConcreteValue(a);this.isSelected(a)&&(this._selection.delete(a),this._emitChanges&&this._deselectedToEmit.push(a))};g._unmarkAll=function(){var a=this;this.isEmpty()||this._selection.forEach(function(b){return a._unmarkSelected(b)})};g._verifyValueAssignment=function(){};g._hasQueuedChanges=function(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)};
g._getConcreteValue=function(a,b){if(this.compareWith){var c;b=(c=b)!=null?c:this._selection;b=k(b);for(c=b.next();!c.done;c=b.next())if(c=c.value,this.compareWith(a,c))return c}return a};da.Object.defineProperties(ox.prototype,{selected:{configurable:!0,enumerable:!0,get:function(){this._selected||(this._selected=Array.from(this._selection.values()));return this._selected}}});var px=function(){this._listeners=[]};px.prototype.notify=function(a,b){for(var c=k(this._listeners),d=c.next();!d.done;d=c.next())d=d.value,d(a,b)};px.prototype.listen=function(a){var b=this;this._listeners.push(a);return function(){b._listeners=b._listeners.filter(function(c){return a!==c})}};px.prototype.ngOnDestroy=function(){this._listeners=[]};px.\u0275fac=function(a){return new (a||px)};px.\u0275prov=n({token:px,factory:px.\u0275fac,providedIn:"root"});var qx=function(){var a=this;this._platform=r(tw);this._change=new Uf;this._document=r(ii,{optional:!0});var b=r(kh),c=r(Hv).createRenderer(null,null);b.runOutsideAngular(function(){if(a._platform.isBrowser){var d=function(e){return a._change.next(e)};a._listeners=[c.listen("window","resize",d),c.listen("window","orientationchange",d)]}a.change().subscribe(function(){return a._viewportSize=null})})};g=qx.prototype;
g.ngOnDestroy=function(){var a;(a=this._listeners)==null||a.forEach(function(b){return b()});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(Hf(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}};qx.\u0275fac=function(a){return new (a||qx)};qx.\u0275prov=n({token:qx,factory:qx.\u0275fac,providedIn:"root"});new zd("VIRTUAL_SCROLLABLE");var rx=function(){};rx.\u0275fac=function(a){return new (a||rx)};rx.\u0275mod=Cf({type:rx});rx.\u0275inj=p({});var sx=function(){};sx.\u0275fac=function(a){return new (a||sx)};sx.\u0275mod=Cf({type:sx});sx.\u0275inj=p({imports:[gx,rx,gx,rx]});var tx=function(){var a=this;this._scrollDispatcher=r(mx);this._viewportRuler=r(qx);this._ngZone=r(kh);this._document=r(ii);this.noop=function(){return new y8b};this.close=function(b){return new x8b(a._scrollDispatcher,a._ngZone,a._viewportRuler,b)};this.block=function(){return new w8b(a._viewportRuler,a._document)};this.reposition=function(b){return new z8b(a._scrollDispatcher,a._viewportRuler,a._ngZone,b)}};tx.\u0275fac=function(a){return new (a||tx)};
tx.\u0275prov=n({token:tx,factory:tx.\u0275fac,providedIn:"root"});var ux=function(a){this.scrollStrategy=new y8b;this.panelClass="";this.hasBackdrop=!1;this.backdropClass="cdk-overlay-dark-backdrop";this.disposeOnNavigation=!1;if(a){var b=Object.keys(a);b=k(b);for(var c=b.next();!c.done;c=b.next())c=c.value,a[c]!==void 0&&(this[c]=a[c])}};var vx=function(a,b,c,d,e,f,h,l,q,u,A,F){var H=this;u=u===void 0?!1:u;this._portalOutlet=a;this._host=b;this._pane=c;this._config=d;this._ngZone=e;this._keyboardDispatcher=f;this._document=h;this._location=l;this._outsideClickDispatcher=q;this._animationsDisabled=u;this._injector=A;this._renderer=F;this._backdropElement=null;this._backdropClick=new Uf;this._attachments=new Uf;this._detachments=new Uf;this._locationChanges=je.EMPTY;this._keydownEvents=new Uf;this._outsidePointerEvents=new Uf;this._renders=
new Uf;d.scrollStrategy&&(this._scrollStrategy=d.scrollStrategy,this._scrollStrategy.attach(this));this._positionStrategy=d.positionStrategy;this._afterRenderRef=zh(function(){return Uha(function(){H._renders.next()},{injector:H._injector})})};g=vx.prototype;
g.attach=function(a){var b=this;!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);a=this._portalOutlet.attach(a);this._positionStrategy&&this._positionStrategy.attach(this);this._updateStackingOrder();this._updateElementSize();this._updateElementDirection();this._scrollStrategy&&this._scrollStrategy.enable();var c;(c=this._afterNextRenderRef)==null||c.destroy();this._afterNextRenderRef=Ze(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()){E8b(this);this._togglePointerEvents(!1);this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach();this._scrollStrategy&&this._scrollStrategy.disable();var a=this._portalOutlet.detach();this._detachments.next();this._keyboardDispatcher.remove(this);this._detachContentWhenEmpty();this._locationChanges.unsubscribe();this._outsideClickDispatcher.remove(this);return a}};
g.dispose=function(){var a=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose();this._disposeScrollStrategy();this._disposeBackdrop(this._backdropElement);this._locationChanges.unsubscribe();this._keyboardDispatcher.remove(this);this._portalOutlet.dispose();this._attachments.complete();this._backdropClick.complete();this._keydownEvents.complete();this._outsidePointerEvents.complete();this._outsideClickDispatcher.remove(this);var b;(b=this._host)==null||b.remove();var c;(c=this._afterNextRenderRef)==
null||c.destroy();this._previousHostParent=this._pane=this._host=null;a&&this._detachments.next();this._detachments.complete();this._afterRenderRef.destroy();this._renders.complete()};g.hasAttached=function(){return this._portalOutlet.hasAttached()};g.backdropClick=function(){return this._backdropClick};g.attachments=function(){return this._attachments};g.keydownEvents=function(){return this._keydownEvents};g.outsidePointerEvents=function(){return this._outsidePointerEvents};g.getConfig=function(){return this._config};
g.updatePosition=function(){this._positionStrategy&&this._positionStrategy.apply()};var F8b=function(a,b){b!==a._positionStrategy&&(a._positionStrategy&&a._positionStrategy.dispose(),a._positionStrategy=b,a.hasAttached()&&(b.attach(a),a.updatePosition()))};vx.prototype.updateSize=function(a){this._config=Object.assign({},this._config,a);this._updateElementSize()};vx.prototype.setDirection=function(a){this._config=Object.assign({},this._config,{direction:a});this._updateElementDirection()};
vx.prototype.addPanelClass=function(a){this._pane&&this._toggleClasses(this._pane,a,!0)};vx.prototype.removePanelClass=function(a){this._pane&&this._toggleClasses(this._pane,a,!1)};var G8b=function(a){return(a=a._config.direction)?typeof a==="string"?a:a.value:"ltr"};g=vx.prototype;g._updateElementDirection=function(){this._host.setAttribute("dir",G8b(this))};
g._updateElementSize=function(){if(this._pane){var a=this._pane.style;a.width=ei(this._config.width);a.height=ei(this._config.height);a.minWidth=ei(this._config.minWidth);a.minHeight=ei(this._config.minHeight);a.maxWidth=ei(this._config.maxWidth);a.maxHeight=ei(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);var b;(b=this._cleanupBackdropClick)==null||b.call(this);this._cleanupBackdropClick=
this._renderer.listen(this._backdropElement,"click",function(c){return a._backdropClick.next(c)});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 E8b=function(a){var b=a._backdropElement;b&&(a._animationsDisabled?a._disposeBackdrop(b):(b.classList.remove("cdk-overlay-backdrop-showing"),a._ngZone.runOutsideAngular(function(){var c;(c=a._cleanupBackdropTransitionEnd)==null||c.call(a);a._cleanupBackdropTransitionEnd=a._renderer.listen(b,"transitionend",function(d){a._disposeBackdrop(d.target)})}),b.style.pointerEvents="none",a._backdropTimeout=a._ngZone.runOutsideAngular(function(){return setTimeout(function(){a._disposeBackdrop(b)},500)})))};
vx.prototype._toggleClasses=function(a,b,c){b=ci(b||[]).filter(function(d){return!!d});b.length&&(c?a.classList.add.apply(a.classList,t(b)):a.classList.remove.apply(a.classList,t(b)))};
vx.prototype._detachContentWhenEmpty=function(){var a=this;this._ngZone.runOutsideAngular(function(){var b=a._renders.pipe(Zf(Te(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())})})};
vx.prototype._disposeScrollStrategy=function(){var a=this._scrollStrategy;a&&(a.disable(),a.detach&&a.detach())};vx.prototype._disposeBackdrop=function(a){var b;(b=this._cleanupBackdropClick)==null||b.call(this);var c;(c=this._cleanupBackdropTransitionEnd)==null||c.call(this);a&&(a.remove(),this._backdropElement===a&&(this._backdropElement=null));this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)};
da.Object.defineProperties(vx.prototype,{overlayElement:{configurable:!0,enumerable:!0,get:function(){return this._pane}},hostElement:{configurable:!0,enumerable:!0,get:function(){return this._host}}});var H8b=function(a,b){this.connectionPair=a;this.scrollableViewProperties=b};var Voa=/([A-Za-z%]+)$/,wx=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 Uf;this._resizeSubscription=je.EMPTY;this._offsetY=this._offsetX=0;this._appliedPanelClasses=[];this.positionChanges=
this._positionChanges;this.setOrigin(a)};wx.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()})};
wx.prototype.apply=function(){if(!this._isDisposed&&this._platform.isBrowser)if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)I8b(this);else{this._clearPanelClasses();this._resetOverlayElementStyles();this._resetBoundingBoxStyles();this._viewportRect=this._getNarrowedViewportRect();this._originRect=this._getOriginRect();this._overlayRect=this._pane.getBoundingClientRect();this._containerRect=u8b(this._overlayContainer).getBoundingClientRect();for(var a=this._originRect,b=this._overlayRect,
c=this._viewportRect,d=this._containerRect,e=[],f,h=k(this._preferredPositions),l=h.next();!l.done;l=h.next()){l=l.value;var q=this._getOriginPoint(a,d,l),u=this._getOverlayPoint(q,b,l),A=this._getOverlayFit(u,b,c,l);if(A.isCompletelyWithinViewport){this._isPushed=!1;this._applyPosition(l,q);return}if(this._canFitWithFlexibleDimensions(A,u,c))e.push({position:l,origin:q,overlayRect:b,boundingBoxRect:this._calculateBoundingBoxRect(q,l)});else if(!f||f.overlayFit.visibleArea<A.visibleArea)f={overlayFit:A,
overlayPoint:u,originPoint:q,position:l,overlayRect:b}}if(e.length){a=null;b=-1;e=k(e);for(c=e.next();!c.done;c=e.next())c=c.value,d=c.boundingBoxRect.width*c.boundingBoxRect.height*(c.position.weight||1),d>b&&(b=d,a=c);this._isPushed=!1;this._applyPosition(a.position,a.origin)}else this._canPush&&(this._isPushed=!0),this._applyPosition(f.position,f.originPoint)}};wx.prototype.detach=function(){this._clearPanelClasses();this._previousPushAmount=this._lastPosition=null;this._resizeSubscription.unsubscribe()};
wx.prototype.dispose=function(){this._isDisposed||(this._boundingBox&&ji(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 I8b=function(a){if(!a._isDisposed&&a._platform.isBrowser){var b=a._lastPosition;if(b){a._originRect=a._getOriginRect();a._overlayRect=a._pane.getBoundingClientRect();a._viewportRect=a._getNarrowedViewportRect();a._containerRect=u8b(a._overlayContainer).getBoundingClientRect();var c=a._getOriginPoint(a._originRect,a._containerRect,b);a._applyPosition(b,c)}else a.apply()}},J8b=function(a,b){a._scrollables=b;return a},xx=function(a,b){a._preferredPositions=b;b.indexOf(a._lastPosition)===-1&&(a._lastPosition=
null);return a},yx=function(a,b){a._viewportMargin=b;return a},zx=function(a,b){a._hasFlexibleDimensions=b===void 0?!0:b;return a},K8b=function(a,b){a._growAfterOpen=b===void 0?!0:b;return a},L8b=function(a,b){a._canPush=b===void 0?!0:b;return a},M8b=function(a,b){a._positionLocked=b===void 0?!0:b;return a};wx.prototype.setOrigin=function(a){this._origin=a;return this};var N8b=function(a,b){a._transformOriginSelector=b;return a};g=wx.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){var d=c.overlayX=="center"?-b.width/2:c.overlayX==="start"?this._isRtl()?-b.width:0:this._isRtl()?0:-b.width;return{x:a.x+d,y:a.y+(c.overlayY=="center"?-b.height/2:c.overlayY=="top"?0:-b.height)}};
g._getOverlayFit=function(a,b,c,d){b=Xoa(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=Woa(this._overlayRef.getConfig().minHeight);var e=Woa(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=Xoa(b);var d=this._viewportRect,e=Math.max(a.x+b.width-d.width,0),f=Math.max(a.y+b.height-d.height,0),h=Math.max(d.top-c.top-a.y,0),l=Math.max(d.left-c.left-a.x,0);e=b.width<=d.width?l||-e:a.x<this._viewportMargin?d.left-c.left-a.x:0;c=b.height<=d.height?h||-f:a.y<this._viewportMargin?d.top-c.top-a.y:0;this._previousPushAmount={x:e,y:c};
return{x:a.x+e,y:a.y+c}};
g._applyPosition=function(a,b){this._setTransformOrigin(a);this._setOverlayElementStyles(b,a);this._setBoundingBoxStyles(b,a);a.panelClass&&this._addPanelClasses(a.panelClass);if(this._positionChanges.observers.length){b=this._getScrollVisibility();var c;if(c=a===this._lastPosition&&this._lastScrollVisibility)c=this._lastScrollVisibility,c=c===b?!0:c.isOriginClipped===b.isOriginClipped&&c.isOriginOutsideView===b.isOriginOutsideView&&c.isOverlayClipped===b.isOverlayClipped&&c.isOverlayOutsideView===
b.isOverlayOutsideView;c||this._positionChanges.next(new H8b(a,b));this._lastScrollVisibility=b}this._lastPosition=a;this._isInitialRender=!1};g._setTransformOrigin=function(a){if(this._transformOriginSelector){var b=this._boundingBox.querySelectorAll(this._transformOriginSelector),c=a.overlayY;a=a.overlayX==="center"?"center":this._isRtl()?a.overlayX==="start"?"right":"left":a.overlayX==="start"?"left":"right";for(var d=0;d<b.length;d++)b[d].style.transformOrigin=a+" "+c}};
g._calculateBoundingBoxRect=function(a,b){var c=this._viewportRect,d=this._isRtl();if(b.overlayY==="top"){var e=a.y;var f=c.height-e+this._viewportMargin}else if(b.overlayY==="bottom"){var h=c.height-a.y+this._viewportMargin*2;f=c.height-h+this._viewportMargin}else{e=Math.min(c.bottom-a.y+c.top,a.y);var l=this._lastBoundingBoxSize.height;f=e*2;e=a.y-e;f>l&&!this._isInitialRender&&!this._growAfterOpen&&(e=a.y-l/2)}l=b.overlayX==="start"&&!d||b.overlayX==="end"&&d;if(b.overlayX==="end"&&!d||b.overlayX===
"start"&&d){var q=c.width-a.x+this._viewportMargin*2;b=a.x-this._viewportMargin}else if(l){var u=a.x;b=c.right-a.x}else u=Math.min(c.right-a.x+c.left,a.x),c=this._lastBoundingBoxSize.width,b=u*2,u=a.x-u,b>c&&!this._isInitialRender&&!this._growAfterOpen&&(u=a.x-c/2);return{top:e,left:u,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=ei(a.height);c.top=ei(a.top);c.bottom=ei(a.bottom);
c.width=ei(a.width);c.left=ei(a.left);c.right=ei(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=ei(d));e&&(c.maxWidth=ei(e))}this._lastBoundingBoxSize=a;ji(this._boundingBox.style,c)};g._resetBoundingBoxStyles=function(){ji(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})};
g._resetOverlayElementStyles=function(){ji(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();ji(c,this._getExactOverlayY(b,a,h));ji(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=ei(f.maxHeight):e&&(c.maxHeight=""));f.maxWidth&&
(d?c.maxWidth=ei(f.maxWidth):e&&(c.maxWidth=""));ji(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=ei(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=ei(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:Toa(a,c),isOriginOutsideView:Soa(a,c),isOverlayClipped:Toa(b,c),isOverlayOutsideView:Soa(b,c)}};g._subtractOverflows=function(a){return vd.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 G8b(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&&ci(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 ef)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(wx.prototype,{positions:{configurable:!0,enumerable:!0,get:function(){return this._preferredPositions}}});var O8b=function(){this._cssPosition="static";this._height=this._width=this._xOffset=this._xPosition=this._alignItems=this._bottomOffset=this._topOffset="";this._isDisposed=!1};g=O8b.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 P8b=function(a){a.left("");a._xPosition="center";return a},Q8b=function(a){a.top("");a._alignItems="center";return a};
O8b.prototype.apply=function(){if(this._overlayRef&&this._overlayRef.hasAttached()){var a=this._overlayRef.overlayElement.style,b=this._overlayRef.hostElement.style,c=this._overlayRef.getConfig(),d=c.width,e=c.height,f=c.maxWidth;c=c.maxHeight;d=(d==="100%"||d==="100vw")&&(!f||f==="100%"||f==="100vw");e=(e==="100%"||e==="100vh")&&(!c||c==="100%"||c==="100vh");f=this._xPosition;c=this._xOffset;var h=this._overlayRef.getConfig().direction==="rtl",l="",q="",u="";if(d)u="flex-start";else if(f==="center")u=
"center",h?q=c:l=c;else if(h)if(f==="left"||f==="end")u="flex-end",l=c;else{if(f==="right"||f==="start")u="flex-start",q=c}else if(f==="left"||f==="start")u="flex-start",l=c;else if(f==="right"||f==="end")u="flex-end",q=c;a.position=this._cssPosition;a.marginLeft=d?"0":l;a.marginTop=e?"0":this._topOffset;a.marginBottom=this._bottomOffset;a.marginRight=d?"0":q;b.justifyContent=u;b.alignItems=e?"flex-start":this._alignItems}};
O8b.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 Ax=function(){this._viewportRuler=r(qx);this._document=r(ii);this._platform=r(tw);this._overlayContainer=r(lx)};Ax.prototype.global=function(){return new O8b};var Bx=function(a,b){return new wx(b,a._viewportRuler,a._document,a._platform,a._overlayContainer)};Ax.\u0275fac=function(a){return new (a||Ax)};Ax.\u0275prov=n({token:Ax,factory:Ax.\u0275fac,providedIn:"root"});var Cx=function(){};Cx.prototype.attach=function(a){this._attachedHost=a;return a.attach(this)};Cx.prototype.detach=function(){var a=this._attachedHost;a!=null&&(this._attachedHost=null,a.detach())};da.Object.defineProperties(Cx.prototype,{isAttached:{configurable:!0,enumerable:!0,get:function(){return this._attachedHost!=null}}});var Dx=function(a,b,c,d,e){this.component=a;this.viewContainerRef=b;this.injector=c;this.projectableNodes=e};Y(Dx,Cx);
var Ex=function(a,b,c,d){this.templateRef=a;this.viewContainerRef=b;this.context=c;this.injector=d};Y(Ex,Cx);Ex.prototype.attach=function(a,b){this.context=b=b===void 0?this.context:b;return Cx.prototype.attach.call(this,a)};Ex.prototype.detach=function(){this.context=void 0;return Cx.prototype.detach.call(this)};da.Object.defineProperties(Ex.prototype,{origin:{configurable:!0,enumerable:!0,get:function(){return this.templateRef.elementRef}}});var Fx=function(){this._isDisposed=!1};g=Fx.prototype;
g.hasAttached=function(){return!!this._attachedPortal};g.attach=function(a){if(a instanceof Dx)return this._attachedPortal=a,this.attachComponentPortal(a);if(a instanceof Ex)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 Gx=function(a,b,c,d,e){this._isDisposed=!1;this.outletElement=a;this._appRef=c;this._defaultInjector=d;this._document=e};Y(Gx,Fx);
Gx.prototype.attachComponentPortal=function(a){var b=this;if(a.viewContainerRef){var c=a.injector||a.viewContainerRef.injector,d=c.get(vv,null,{optional:!0})||void 0;var e=a.viewContainerRef.createComponent(a.component,{index:a.viewContainerRef.length,injector:c,ngModuleRef:d,projectableNodes:a.projectableNodes||void 0});this.setDisposeFn(function(){return e.destroy()})}else e=Nma(a.component,{elementInjector:a.injector||this._defaultInjector||j5b,environmentInjector:this._appRef.injector,projectableNodes:a.projectableNodes||
void 0}),u6b(this._appRef,e.hostView),this.setDisposeFn(function(){b._appRef.viewCount>0&&b._appRef.detachView(e.hostView);e.destroy()});this.outletElement.appendChild(this._getComponentRootNode(e));this._attachedPortal=a;return e};
Gx.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};Gx.prototype.dispose=function(){Fx.prototype.dispose.call(this);this.outletElement.remove()};Gx.prototype._getComponentRootNode=function(a){return a.hostView.rootNodes[0]};var Hx=function(){var a=r(Og),b=r(Pg);Ex.call(this,a,b)};Y(Hx,Ex);Hx.\u0275fac=function(a){return new (a||Hx)};Hx.\u0275dir=Df({type:Hx,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[cg]});var Ix=function(){this._isDisposed=!1;this._moduleRef=r(vv,{optional:!0});this._document=r(ii);this._viewContainerRef=r(Pg);this._isInitialized=!1;this.attached=new Dv};Y(Ix,Fx);g=Ix.prototype;g.ngOnInit=function(){this._isInitialized=!0};
g.ngOnDestroy=function(){Fx.prototype.dispose.call(this);this._attachedRef=this._attachedPortal=null};
g.attachComponentPortal=function(a){a._attachedHost=this;var b=a.viewContainerRef!=null?a.viewContainerRef:this._viewContainerRef,c=b.createComponent(a.component,{index:b.length,injector:a.injector||b.injector,projectableNodes:a.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0});b!==this._viewContainerRef&&this._getRootNode().appendChild(c.hostView.rootNodes[0]);Fx.prototype.setDisposeFn.call(this,function(){return c.destroy()});this._attachedPortal=a;this._attachedRef=c;this.attached.emit(c);
return c};g.attachTemplatePortal=function(a){var b=this;a._attachedHost=this;var c=this._viewContainerRef.createEmbeddedView(a.templateRef,a.context,{injector:a.injector});Fx.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(Ix.prototype,{portal:{configurable:!0,enumerable:!0,get:function(){return this._attachedPortal},set:function(a){if(!this.hasAttached()||a||this._isInitialized)this.hasAttached()&&Fx.prototype.detach.call(this),a&&Fx.prototype.attach.call(this,a),this._attachedPortal=a||null}}});Ix.\u0275fac=function(a){return new (a||Ix)};
Ix.\u0275dir=Df({type:Ix,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[cg]});var Jx=function(){};Jx.\u0275fac=function(a){return new (a||Jx)};Jx.\u0275mod=Cf({type:Jx});Jx.\u0275inj=p({});var Kx=function(){this.scrollStrategies=r(tx);this._overlayContainer=r(lx);this._positionBuilder=r(Ax);this._keyboardDispatcher=r(ix);this._injector=r(Ye);this._ngZone=r(kh);this._document=r(ii);this._directionality=r(fx);this._location=r(sw);this._outsideClickDispatcher=r(jx);this._animationsModuleType=r(Gv,{optional:!0});this._idGenerator=r(Ww);this._renderer=r(Hv).createRenderer(null,null);this._styleLoader=r(Aw)};g=Kx.prototype;
g.create=function(a){this._styleLoader.load(kx);var b=this._createHostElement(),c=this._createPaneElement(b),d=this._createPortalOutlet(c);a=new ux(a);a.direction=a.direction||this._directionality.value;return new vx(d,b,c,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations",this._injector.get(qv),this._renderer)};g.position=function(){return this._positionBuilder};
g._createPaneElement=function(a){var b=this._document.createElement("div");b.id=this._idGenerator.getId("cdk-overlay-");b.classList.add("cdk-overlay-pane");a.appendChild(b);return b};g._createHostElement=function(){var a=this._document.createElement("div");u8b(this._overlayContainer).appendChild(a);return a};g._createPortalOutlet=function(a){this._appRef||(this._appRef=this._injector.get(ph));return new Gx(a,null,this._appRef,this._injector,this._document)};
Kx.\u0275fac=function(a){return new (a||Kx)};Kx.\u0275prov=n({token:Kx,factory:Kx.\u0275fac,providedIn:"root"});var R8b=[{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"}],S8b=new zd("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:function(){var a=r(Kx);return function(){return a.scrollStrategies.reposition()}}}),Lx=function(){this.elementRef=r(ef)};
Lx.\u0275fac=function(a){return new (a||Lx)};Lx.\u0275dir=Df({type:Lx,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]});
var Mx=function(){this._overlay=r(Kx);this._dir=r(fx,{optional:!0});this._positionSubscription=this._detachSubscription=this._attachSubscription=this._backdropSubscription=je.EMPTY;this._scrollStrategyFactory=r(S8b);this._disposeOnNavigation=!1;this._ngZone=r(kh);this.viewportMargin=0;this.push=this.growAfterOpen=this.flexibleDimensions=this.lockPosition=this.hasBackdrop=this.disableClose=this.open=!1;this.backdropClick=new Dv;this.positionChange=new Dv;this.attach=new Dv;this.detach=new Dv;this.overlayKeydown=
new Dv;this.overlayOutsideClick=new Dv;var a=r(Og),b=r(Pg);this._templatePortal=new Ex(a,b);this.scrollStrategy=this._scrollStrategyFactory()};g=Mx.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=R8b);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||Xh(c)||(c.preventDefault(),a._detachOverlay())});this._overlayRef.outsidePointerEvents().subscribe(function(c){var d=
a._getOriginElement(),e=bi(c);d&&(d===e||d.contains(e))||a.overlayOutsideClick.next(c)})};
g._buildConfig=function(){var a=this._position=this.positionStrategy||this._createPositionStrategy();a=new ux({direction:this._dir||"ltr",positionStrategy:a,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});if(this.width||this.width===0)a.width=this.width;if(this.height||this.height===0)a.height=this.height;if(this.minWidth||this.minWidth===0)a.minWidth=this.minWidth;if(this.minHeight||this.minHeight===0)a.minHeight=this.minHeight;this.backdropClass&&
(a.backdropClass=this.backdropClass);this.panelClass&&(a.panelClass=this.panelClass);return a};
g._updatePositionStrategy=function(a){var b=this,c=this.positions.map(function(d){return{originX:d.originX,originY:d.originY,overlayX:d.overlayX,overlayY:d.overlayY,offsetX:d.offsetX||b.offsetX,offsetY:d.offsetY||b.offsetY,panelClass:d.panelClass||void 0}});return N8b(M8b(yx(K8b(L8b(zx(xx(a.setOrigin(this._getOrigin()),c),this.flexibleDimensions),this.push),this.growAfterOpen),this.viewportMargin),this.lockPosition),this.transformOriginSelector)};
g._createPositionStrategy=function(){var a=Bx(this._overlay.position(),this._getOrigin());this._updatePositionStrategy(a);return a};g._getOrigin=function(){return this.origin instanceof Lx?this.origin.elementRef:this.origin};g._getOriginElement=function(){return this.origin instanceof Lx?this.origin.elementRef.nativeElement:this.origin instanceof ef?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(pka(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(Mx.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"}}});Mx.\u0275fac=function(a){return new (a||Mx)};
Mx.\u0275dir=Df({type:Mx,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",uh],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",uh],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",uh],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",uh],push:[2,"cdkConnectedOverlayPush","push",uh],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",
uh]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[dg,rv]});var T8b={provide:S8b,deps:[Kx],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}};var Nx=function(){};Nx.\u0275fac=function(a){return new (a||Nx)};Nx.\u0275mod=Cf({type:Nx});Nx.\u0275inj=p({providers:[Kx,T8b],imports:[gx,Jx,sx,sx]});new zd("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}});var Ox=function(){r(Kw)._applyBodyHighContrastModeCssClasses()};Ox.\u0275fac=function(a){return new (a||Ox)};Ox.\u0275mod=Cf({type:Ox});Ox.\u0275inj=p({imports:[gx,gx]});var U8b=function(a,b,c,d,e){this._defaultMatcher=a;this.ngControl=b;this._parentFormGroup=c;this._parentForm=d;this._stateChanges=e;this.errorState=!1};U8b.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 zd("MAT_DATE_LOCALE",{providedIn:"root",factory:Yoa});var Px=function(){this.localeChanges=this._localeChanges=new Uf};Px.prototype.setTime=function(){throw Error("vb");};Px.prototype.getHours=function(){throw Error("vb");};Px.prototype.getMinutes=function(){throw Error("vb");};Px.prototype.getSeconds=function(){throw Error("vb");};var Qx=function(a,b){return b instanceof Cj&&a.isValid(b)?b:null},Rx=function(a,b){return b==null||b instanceof Cj&&a.isValid(b)?b:a.invalid()};
Px.prototype.setLocale=function(a){this.locale=a;this._localeChanges.next()};var Sx=function(a,b,c){return a.getYear(b)-a.getYear(c)||a.getMonth(b)-a.getMonth(c)||a.getDate(b)-a.getDate(c)};Px.prototype.sameDate=function(a,b){if(a&&b){var c=this.isValid(a),d=this.isValid(b);return c&&d?!Sx(this,a,b):c==d}return a==b};var V8b=function(a,b,c,d){return c&&Sx(a,b,c)<0?c:d&&Sx(a,b,d)>0?d:b};var W8b=new zd("mat-date-formats");var Tx=function(){};Tx.prototype.isErrorState=function(a,b){return!!(a&&a.invalid&&(a.touched||b&&b.submitted))};Tx.\u0275fac=function(a){return new (a||Tx)};Tx.\u0275prov=n({token:Tx,factory:Tx.\u0275fac,providedIn:"root"});var Ux=function(){};Ux.\u0275fac=function(a){return new (a||Ux)};
Ux.\u0275cmp=C({type:Ux,selectors:[["structural-styles"]],decls:0,vars:0,template:function(){},styles:['.mat-focus-indicator{position:relative}.mat-focus-indicator::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border-width:var(--mat-focus-indicator-border-width, 3px);border-style:var(--mat-focus-indicator-border-style, solid);border-color:var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus::before{content:""}@media(forced-colors: active){html{--mat-focus-indicator-display: block}}\n'],encapsulation:2,
changeDetection:0});var Vx=function(){};Vx.\u0275fac=function(a){return new (a||Vx)};
Vx.\u0275cmp=C({type:Vx,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(a,b){a&2&&sg("mdc-form-field--align-end",b.labelPosition==="before")},inputs:{labelPosition:"labelPosition"},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 X8b=new zd("MAT_OPTION_PARENT_COMPONENT");var Y8b=new zd("MatOptgroup");var Z8b=Zh({passive:!0,capture:!0}),a9b=function(a,b,c,d){var e=$8b,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,Z8b)}))};var b9b=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 c9b={enterDuration:225,exitDuration:150},d9b=Zh({passive:!0,capture:!0}),e9b=["mousedown","touchstart"],f9b=["mouseup","mouseleave","touchend","touchcancel"],g9b=function(){};g9b.\u0275fac=function(a){return new (a||g9b)};
g9b.\u0275cmp=C({type:g9b,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(){},styles:[".mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale3d(0, 0, 0);background-color:var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent))}@media(forced-colors: active){.mat-ripple-element{display:none}}.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none}\n"],encapsulation:2,
changeDetection:0});
var h9b=function(a,b,c,d,e){this._target=a;this._ngZone=b;this._platform=d;this._isPointerDown=!1;this._activeRipples=new Map;this._pointerUpEventsRegistered=!1;d.isBrowser&&(this._containerElement=fi(c));e&&e.get(Aw).load(g9b)},i9b=function(a,b,c,d){d=d===void 0?{}:d;var e=a._containerRect=a._containerRect||a._containerElement.getBoundingClientRect(),f=Object.assign({},c9b,d.animation);d.centered&&(b=e.left+e.width/2,c=e.top+e.height/2);var h=d.radius||Zoa(b,c,e);b-=e.left;c-=e.top;var l=f.enterDuration,
q=document.createElement("div");q.classList.add("mat-ripple-element");q.style.left=b-h+"px";q.style.top=c-h+"px";q.style.height=h*2+"px";q.style.width=h*2+"px";d.color!=null&&(q.style.backgroundColor=d.color);q.style.transitionDuration=l+"ms";a._containerElement.appendChild(q);h=window.getComputedStyle(q);c=h.transitionDuration;e=h.transitionProperty==="none"||c==="0s"||c==="0s, 0s"||e.width===0&&e.height===0;var u=new b9b(a,q,d,e);q.style.transform="scale3d(1, 1, 1)";u.state=0;d.persistent||(a._mostRecentTransientRipple=
u);var A=null;e||!l&&!f.exitDuration||a._ngZone.runOutsideAngular(function(){var F=function(){A&&(A.fallbackTimer=null);clearTimeout(N);a._finishRippleTransition(u)},H=function(){return a._destroyRipple(u)},N=setTimeout(H,l+100);q.addEventListener("transitionend",F);q.addEventListener("transitioncancel",H);A={onTransitionEnd:F,onTransitionCancel:H,fallbackTimer:N}});a._activeRipples.set(u,A);!e&&l||a._finishRippleTransition(u);return u},j9b=function(a,b){if(b.state!==2&&b.state!==3){var c=b.element,
d=Object.assign({},c9b,b.config.animation);c.style.transitionDuration=d.exitDuration+"ms";c.style.opacity="0";b.state=2;!b._animationForciblyDisabledThroughCss&&d.exitDuration||a._finishRippleTransition(b)}};h9b.prototype.fadeOutAllNonPersistent=function(){this._getActiveRipples().forEach(function(a){a.config.persistent||j9b(a._renderer,a)})};
var k9b=function(a,b){var c=fi(b);a._platform.isBrowser&&c&&c!==a._triggerElement&&(a._removeTriggerEvents(),a._triggerElement=c,e9b.forEach(function(d){a9b(a._ngZone,d,c,a)}))};g=h9b.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(){f9b.forEach(function(c){b._triggerElement.addEventListener(c,b,d9b)})}),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||j9b(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=poa(a),c=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;this._target.rippleDisabled||b||c||(this._isPointerDown=!0,i9b(this,a.clientX,a.clientY,this._target.rippleConfig))};g._onTouchStart=function(a){if(!this._target.rippleDisabled&&!qoa(a)&&(this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0,a=a.changedTouches))for(var b=0;b<a.length;b++)i9b(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&&j9b(a._renderer,a)}))};g._getActiveRipples=function(){return Array.from(this._activeRipples.keys())};
g._removeTriggerEvents=function(){var a=this,b=this._triggerElement;b&&(e9b.forEach(function(c){var d=$8b,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,Z8b)))}}),this._pointerUpEventsRegistered&&(f9b.forEach(function(c){return b.removeEventListener(c,a,d9b)}),this._pointerUpEventsRegistered=!1))};
var $8b=new function(){var a=this;this._events=new Map;this._delegateEventHandler=function(b){var c=bi(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 Wx=new zd("mat-ripple-global-options"),Xx=function(){this._elementRef=r(ef);this._animationMode=r(Gv,{optional:!0});this.radius=0;this._isInitialized=this._disabled=!1;var a=r(kh),b=r(tw),c=r(Wx,{optional:!0}),d=r(Ye);this._globalOptions=c||{};this._rippleRenderer=new h9b(this,a,this._elementRef,b,d)};g=Xx.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&&k9b(this._rippleRenderer,this.trigger)};g.launch=function(a,b,c){return typeof a==="number"?i9b(this._rippleRenderer,a,b===void 0?0:b,Object.assign({},this.rippleConfig,c)):i9b(this._rippleRenderer,0,0,Object.assign({},this.rippleConfig,a))};
da.Object.defineProperties(Xx.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}}});Xx.\u0275fac=function(a){return new (a||Xx)};
Xx.\u0275dir=Df({type:Xx,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(a,b){a&2&&sg("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"]});var Yx=function(){this._animationMode=r(Gv,{optional:!0});this.state="unchecked";this.disabled=!1;this.appearance="full"};Yx.\u0275fac=function(a){return new (a||Yx)};
Yx.\u0275cmp=C({type:Yx,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(a,b){a&2&&sg("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"},decls:0,vars:0,template:function(){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color, var(--mat-sys-primary))}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color, var(--mat-sys-on-surface-variant));border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color, var(--mat-sys-primary));border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color, var(--mat-sys-on-primary))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface))}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}\n'],
encapsulation:2,changeDetection:0});var l9b=["text"],m9b=[[["mat-icon"]],"*"],n9b=function(a,b){this.source=a;this.isUserInput=b===void 0?!1:b},Zx=function(){this._element=r(ef);this._changeDetectorRef=r(Ov);this._parent=r(X8b,{optional:!0});this.group=r(Y8b,{optional:!0});this._disabled=this._active=this._selected=this._signalDisableRipple=!1;this._mostRecentViewValue="";this.id=r(Ww).getId("mat-option-");this.onSelectionChange=new Dv;this._stateChanges=new Uf;r(Aw).load(Ux);r(Aw).load(Bw);this._signalDisableRipple=!!this._parent&&
Gf(this._parent.disableRipple)};g=Zx.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||Xh(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 n9b(this,a===void 0?!1:a))};
da.Object.defineProperties(Zx.prototype,{multiple:{configurable:!0,enumerable:!0,get:function(){return this._parent&&this._parent.multiple}},selected:{configurable:!0,enumerable:!0,get:function(){return this._selected}},disabled:{configurable:!0,enumerable:!0,get:function(){return this.group&&this.group.disabled||this._disabled},set:function(a){this._disabled=a}},disableRipple:{configurable:!0,enumerable:!0,get:function(){var a;return this._signalDisableRipple?this._parent.disableRipple():!((a=this._parent)==
null||!a.disableRipple)}},hideSingleSelectionIndicator:{configurable:!0,enumerable:!0,get:function(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}},active:{configurable:!0,enumerable:!0,get:function(){return this._active}},viewValue:{configurable:!0,enumerable:!0,get:function(){var a;return(((a=this._text)==null?void 0:a.nativeElement.textContent)||"").trim()}}});Zx.\u0275fac=function(a){return new (a||Zx)};
Zx.\u0275cmp=C({type:Zx,selectors:[["mat-option"]],viewQuery:function(a,b){a&1&&Rg(l9b,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&&M("click",function(){return b._selectViaInteraction()})("keydown",function(c){return b._handleKeydown(c)});a&2&&(Dg("id",b.id),jg("aria-selected",b.selected)("aria-disabled",b.disabled.toString()),sg("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",uh]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],features:[dg],ngContentSelectors:["mat-icon","*"],decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",
3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(a,b){a&1&&(Ig(m9b),D(0,$oa,1,2,"mat-pseudo-checkbox",1),Jg(1),I(2,"span",2,0),Jg(4,1),J(),D(5,apa,1,1,"mat-pseudo-checkbox",3)(6,bpa,2,1,"span",4),K(7,"div",5));a&2&&(G(b.multiple?0:-1),B(5),G(b.multiple||!b.selected||b.hideSingleSelectionIndicator?-1:5),B(),G(b.group&&b.group._inert?6:-1),B(),E("matRippleTrigger",
b._getHostElement())("matRippleDisabled",b.disabled||b.disableRipple))},dependencies:[Yx,Xx],styles:['.mat-mdc-option{-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-option-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-option-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-option-label-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-option-label-text-tracking, var(--mat-sys-label-large-tracking));font-weight:var(--mat-option-label-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent));outline:0}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color, var(--mat-sys-secondary-container))}.mat-mdc-option .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-selected-checkmark-color: var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}@media(forced-colors: active){.mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{right:auto;left:16px}}.mat-mdc-option-multiple{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-focus-indicator::before{content:""}\n'],
encapsulation:2,changeDetection:0});var ay=function(){};ay.\u0275fac=function(a){return new (a||ay)};ay.\u0275mod=Cf({type:ay});ay.\u0275inj=p({imports:[Ox,Ox]});var by=function(){};by.\u0275fac=function(a){return new (a||by)};by.\u0275mod=Cf({type:by});by.\u0275inj=p({imports:[Ox]});var cy=function(){};cy.\u0275fac=function(a){return new (a||cy)};cy.\u0275mod=Cf({type:cy});cy.\u0275inj=p({imports:[ay,Ox,by,Zx]});var o9b={capture:!0},p9b=["focus","mousedown","mouseenter","touchstart"],dy=function(){var a=this;this._document=r(ii,{optional:!0});this._animationMode=r(Gv,{optional:!0});this._globalRippleOptions=r(Wx,{optional:!0});this._platform=r(tw);this._ngZone=r(kh);this._injector=r(Ye);this._hosts=new Map;this._onInteraction=function(b){b=bi(b);if(b instanceof HTMLElement){var c,d;(b=b.closest('[mat-ripple-loader-uninitialized="'+((d=(c=a._globalRippleOptions)==null?void 0:c.namespace)!=null?d:"")+'"]'))&&
a._createRipple(b)}};this._ngZone.runOutsideAngular(function(){for(var b=k(p9b),c=b.next();!c.done;c=b.next()){c=c.value;var d=void 0;(d=a._document)==null||d.addEventListener(c,a._onInteraction,o9b)}})};dy.prototype.ngOnDestroy=function(){var a=this._hosts.keys();a=k(a);for(var b=a.next();!b.done;b=a.next())q9b(this,b.value);a=k(p9b);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,o9b)}};
var r9b=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","")};
dy.prototype.setDisabled=function(a,b){var c=this._hosts.get(a);c?(c.target.rippleDisabled=b,b||c.hasSetUpEvents||(c.hasSetUpEvents=!0,k9b(c.renderer,a))):b?a.setAttribute("mat-ripple-loader-disabled",""):a.removeAttribute("mat-ripple-loader-disabled")};
dy.prototype._createRipple=function(a){if(this._document&&!this._hosts.has(a)){var b;(b=a.querySelector(".mat-ripple"))==null||b.remove();b=this._document.createElement("span");b.classList.add("mat-ripple",a.getAttribute("mat-ripple-loader-class-name"));a.append(b);var c=this._animationMode==="NoopAnimations",d=this._globalRippleOptions,e,f,h=c?0:(f=d==null?void 0:(e=d.animation)==null?void 0:e.enterDuration)!=null?f:c9b.enterDuration,l,q;e=c?0:(q=d==null?void 0:(l=d.animation)==null?void 0:l.exitDuration)!=
null?q:c9b.exitDuration;l={rippleDisabled:c||(d==null?void 0:d.disabled)||a.hasAttribute("mat-ripple-loader-disabled"),rippleConfig:{centered:a.hasAttribute("mat-ripple-loader-centered"),terminateOnPointerUp:d==null?void 0:d.terminateOnPointerUp,animation:{enterDuration:h,exitDuration:e}}};b=new h9b(l,this._ngZone,b,this._platform,this._injector);(q=!l.rippleDisabled)&&k9b(b,a);this._hosts.set(a,{target:l,renderer:b,hasSetUpEvents:q});a.removeAttribute("mat-ripple-loader-uninitialized")}};
var q9b=function(a,b){var c=a._hosts.get(b);c&&(c.renderer._removeTriggerEvents(),a._hosts.delete(b))};dy.\u0275fac=function(a){return new (a||dy)};dy.\u0275prov=n({token:dy,factory:dy.\u0275fac,providedIn:"root"});var ey=function(){this.changes=new Uf;this.openCalendarLabel="Open calendar";this.closeCalendarLabel="Close calendar";this.comparisonDateLabel="Comparison range"};ey.prototype.formatYearRange=function(a,b){return a+" \u2013 "+b};ey.prototype.formatYearRangeLabel=function(a,b){return a+" to "+b};ey.\u0275fac=function(a){return new (a||ey)};ey.\u0275prov=n({token:ey,factory:ey.\u0275fac,providedIn:"root"});var ipa=function(a,b){return b.id},s9b=0,t9b=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=s9b++},u9b=Zh({passive:!1,capture:!0}),fy=Zh({passive:!0,capture:!0}),v9b=Zh({passive:!0}),gy=function(){var a=this;this._elementRef=r(ef);this._ngZone=r(kh);this._platform=r(tw);this._intl=r(ey);this._focusActiveCellAfterViewChecked=!1;this.numCols=7;this.activeCell=0;this.isRange=
!1;this.cellAspectRatio=1;this.previewEnd=this.previewStart=null;this.selectedValueChange=new Dv;this.previewChange=new Dv;this.activeDateChange=new Dv;this.dragStarted=new Dv;this.dragEnded=new Dv;this._didDragSinceMouseDown=!1;this._injector=r(Ye);this.comparisonDateAccessibleName=this._intl.comparisonDateLabel;this._trackRow=function(c){return c};this._enterHandler=function(c){if(a._skipNextFocus&&c.type==="focus")a._skipNextFocus=!1;else if(c.target&&a.isRange){var d=a._getCellFromElement(c.target);
d&&a._ngZone.run(function(){return a.previewChange.emit({value:d.enabled?d:null,event:c})})}};this._touchmoveHandler=function(c){if(a.isRange){var d=ppa(c),e=d?a._getCellFromElement(d):null;d!==c.target&&(a._didDragSinceMouseDown=!0);lpa(c.target)&&c.preventDefault();a._ngZone.run(function(){return a.previewChange.emit({value:(e==null?0:e.enabled)?e:null,event:c})})}};this._leaveHandler=function(c){a.previewEnd!==null&&a.isRange&&(c.type!=="blur"&&(a._didDragSinceMouseDown=!0),!c.target||!a._getCellFromElement(c.target)||
c.relatedTarget&&a._getCellFromElement(c.relatedTarget)||a._ngZone.run(function(){return a.previewChange.emit({value:null,event:c})}))};this._mousedownHandler=function(c){if(a.isRange){a._didDragSinceMouseDown=!1;var d=c.target&&a._getCellFromElement(c.target);d&&a._isInRange(d.compareValue)&&a._ngZone.run(function(){a.dragStarted.emit({value:d.rawValue,event:c})})}};this._mouseupHandler=function(c){if(a.isRange){var d=lpa(c.target);d?d.closest(".mat-calendar-body")===a._elementRef.nativeElement&&
a._ngZone.run(function(){var e=a._getCellFromElement(d),f;a.dragEnded.emit({value:(f=e==null?void 0:e.rawValue)!=null?f:null,event:c})}):a._ngZone.run(function(){a.dragEnded.emit({value:null,event:c})})}};this._touchendHandler=function(c){(c=ppa(c))&&a._mouseupHandler({target:c})};var b=r(Ww);this._startDateLabelId=b.getId("mat-calendar-body-start-");this._endDateLabelId=b.getId("mat-calendar-body-end-");this._comparisonStartDateLabelId=b.getId("mat-calendar-body-comparison-start-");this._comparisonEndDateLabelId=
b.getId("mat-calendar-body-comparison-end-");r(Aw).load(Ux);this._ngZone.runOutsideAngular(function(){var c=a._elementRef.nativeElement;c.addEventListener("touchmove",a._touchmoveHandler,u9b);c.addEventListener("mouseenter",a._enterHandler,fy);c.addEventListener("focus",a._enterHandler,fy);c.addEventListener("mouseleave",a._leaveHandler,fy);c.addEventListener("blur",a._leaveHandler,fy);c.addEventListener("mousedown",a._mousedownHandler,v9b);c.addEventListener("touchstart",a._mousedownHandler,v9b);
a._platform.isBrowser&&(window.addEventListener("mouseup",a._mouseupHandler),window.addEventListener("touchend",a._touchendHandler))})};g=gy.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,u9b);a.removeEventListener("mouseenter",this._enterHandler,fy);a.removeEventListener("focus",this._enterHandler,fy);a.removeEventListener("mouseleave",this._leaveHandler,fy);a.removeEventListener("blur",this._leaveHandler,fy);a.removeEventListener("mousedown",this._mousedownHandler,v9b);a.removeEventListener("touchstart",this._mousedownHandler,v9b);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;Ze(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 mpa(a,this.startValue,this.endValue)};g._isRangeEnd=function(a){return npa(a,this.startValue,this.endValue)};g._isInRange=function(a){return opa(a,this.startValue,this.endValue,this.isRange)};g._isComparisonStart=function(a){return mpa(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 npa(a,this.comparisonStart,this.comparisonEnd)};g._isInComparisonRange=function(a){return opa(a,this.comparisonStart,this.comparisonEnd,this.isRange)};g._isComparisonIdentical=function(a){return this.comparisonStart===this.comparisonEnd&&a===this.comparisonStart};g._isPreviewStart=function(a){return mpa(a,this.previewStart,this.previewEnd)};g._isPreviewEnd=function(a){return npa(a,this.previewStart,this.previewEnd)};
g._isInPreview=function(a){return opa(a,this.previewStart,this.previewEnd,this.isRange)};
g._getDescribedby=function(a){if(!this.isRange)return null;if(this.startValue===a&&this.endValue===a)return this._startDateLabelId+" "+this._endDateLabelId;if(this.startValue===a)return this._startDateLabelId;if(this.endValue===a)return this._endDateLabelId;if(this.comparisonStart!==null&&this.comparisonEnd!==null){if(a===this.comparisonStart&&a===this.comparisonEnd)return this._comparisonStartDateLabelId+" "+this._comparisonEndDateLabelId;if(a===this.comparisonStart)return this._comparisonStartDateLabelId;
if(a===this.comparisonEnd)return this._comparisonEndDateLabelId}return null};g._getCellFromElement=function(a){var b=lpa(a);return b&&(a=b.getAttribute("data-mat-row"),b=b.getAttribute("data-mat-col"),a&&b)?this.rows[parseInt(a)][parseInt(b)]:null};gy.\u0275fac=function(a){return new (a||gy)};
gy.\u0275cmp=C({type:gy,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"],features:[rv],attrs:["mat-calendar-body",""],decls:11,vars:11,consts:[["aria-hidden","true"],["role","row"],[1,"mat-calendar-body-hidden-label",3,"id"],[1,"mat-calendar-body-label"],[1,"mat-calendar-body-label",3,"paddingTop","paddingBottom"],["role","gridcell",
1,"mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"click","focus","ngClass","tabindex"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(a,b){a&1&&(D(0,fpa,3,6,"tr",0),yg(1,jpa,4,1,"tr",1,epa,!0),I(3,"span",2),Q(4),J(),I(5,"span",2),Q(6),J(),I(7,"span",2),Q(8),J(),I(9,"span",2),Q(10),
J());a&2&&(G(b._firstRowOffset<b.labelMinRequiredCells?0:-1),B(),zg(b.rows),B(2),E("id",b._startDateLabelId),B(),R(" ",b.startDateAccessibleName,"\n"),B(),E("id",b._endDateLabelId),B(),R(" ",b.endDateAccessibleName,"\n"),B(),E("id",b._comparisonStartDateLabelId),B(),Zg(" ",b.comparisonDateAccessibleName," ",b.startDateAccessibleName,"\n"),B(),E("id",b._comparisonEndDateLabelId),B(),Zg(" ",b.comparisonDateAccessibleName," ",b.endDateAccessibleName,"\n"))},dependencies:[aw],styles:['.mat-calendar-body{min-width:224px}.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:var(--mat-datepicker-calendar-date-today-outline-color, var(--mat-sys-primary))}.mat-calendar-body-label{height:0;line-height:0;text-align:start;padding-left:4.7142857143%;padding-right:4.7142857143%;font-size:var(--mat-datepicker-calendar-body-label-text-size, var(--mat-sys-title-small-size));font-weight:var(--mat-datepicker-calendar-body-label-text-weight, var(--mat-sys-title-small-weight));color:var(--mat-datepicker-calendar-body-label-text-color, var(--mat-sys-on-surface))}.mat-calendar-body-hidden-label{display:none}.mat-calendar-body-cell-container{position:relative;height:0;line-height:0}.mat-calendar-body-cell{position:absolute;top:0;left:0;width:100%;height:100%;background:none;text-align:center;outline:none;font-family:inherit;margin:0;font-family:var(--mat-datepicker-calendar-text-font, var(--mat-sys-body-medium-font));font-size:var(--mat-datepicker-calendar-text-size, var(--mat-sys-body-medium-size));-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-calendar-body-cell::-moz-focus-inner{border:0}.mat-calendar-body-cell::before,.mat-calendar-body-cell::after,.mat-calendar-body-cell-preview{content:"";position:absolute;top:5%;left:0;z-index:0;box-sizing:border-box;display:block;height:90%;width:100%}.mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-start::after,.mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,.mat-calendar-body-comparison-start::after,.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:5%;width:95%;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,[dir=rtl] .mat-calendar-body-comparison-start::after,[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:0;border-radius:0;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,.mat-calendar-body-comparison-end::after,.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}[dir=rtl] .mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,[dir=rtl] .mat-calendar-body-comparison-end::after,[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{left:5%;border-radius:0;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-comparison-bridge-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-bridge-end.mat-calendar-body-range-start::after{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end.mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-end.mat-calendar-body-range-start::after{width:90%}.mat-calendar-body-in-preview{color:var(--mat-datepicker-calendar-date-preview-state-outline-color, var(--mat-sys-primary))}.mat-calendar-body-in-preview .mat-calendar-body-cell-preview{border-top:dashed 1px;border-bottom:dashed 1px}.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:dashed 1px}[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:0;border-right:dashed 1px}.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:dashed 1px}[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:0;border-left:dashed 1px}.mat-calendar-body-disabled{cursor:default}.mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:var(--mat-datepicker-calendar-date-disabled-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:var(--mat-datepicker-calendar-date-today-disabled-state-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mat-calendar-body-disabled{opacity:.5}}.mat-calendar-body-cell-content{top:5%;left:5%;z-index:1;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px;color:var(--mat-datepicker-calendar-date-text-color, var(--mat-sys-on-surface));border-color:var(--mat-datepicker-calendar-date-outline-color, transparent)}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}@media(forced-colors: active){.mat-calendar-body-cell-content{border:none}}.cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-focus-state-background-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent))}@media(hover: hover){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-hover-state-background-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}}.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-state-background-color, var(--mat-sys-primary));color:var(--mat-datepicker-calendar-date-selected-state-text-color, var(--mat-sys-on-primary))}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-disabled-state-background-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-calendar-body-selected.mat-calendar-body-today{box-shadow:inset 0 0 0 1px var(--mat-datepicker-calendar-date-today-selected-state-outline-color, var(--mat-sys-primary))}.mat-calendar-body-in-range::before{background:var(--mat-datepicker-calendar-date-in-range-state-background-color, var(--mat-sys-primary-container))}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container))}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container))}.mat-calendar-body-comparison-bridge-start::before,[dir=rtl] .mat-calendar-body-comparison-bridge-end::before{background:linear-gradient(to right, var(--mat-datepicker-calendar-date-in-range-state-background-color, var(--mat-sys-primary-container)) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container)) 50%)}.mat-calendar-body-comparison-bridge-end::before,[dir=rtl] .mat-calendar-body-comparison-bridge-start::before{background:linear-gradient(to left, var(--mat-datepicker-calendar-date-in-range-state-background-color, var(--mat-sys-primary-container)) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container)) 50%)}.mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range.mat-calendar-body-in-range::after{background:var(--mat-datepicker-calendar-date-in-overlap-range-state-background-color, var(--mat-sys-secondary-container))}.mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:var(--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color, var(--mat-sys-secondary))}@media(forced-colors: active){.mat-datepicker-popup:not(:empty),.mat-calendar-body-cell:not(.mat-calendar-body-in-range) .mat-calendar-body-selected{outline:solid 1px}.mat-calendar-body-today{outline:dotted 1px}.mat-calendar-body-cell::before,.mat-calendar-body-cell::after,.mat-calendar-body-selected{background:none}.mat-calendar-body-in-range::before,.mat-calendar-body-comparison-bridge-start::before,.mat-calendar-body-comparison-bridge-end::before{border-top:solid 1px;border-bottom:solid 1px}.mat-calendar-body-range-start::before{border-left:solid 1px}[dir=rtl] .mat-calendar-body-range-start::before{border-left:0;border-right:solid 1px}.mat-calendar-body-range-end::before{border-right:solid 1px}[dir=rtl] .mat-calendar-body-range-end::before{border-right:0;border-left:solid 1px}.mat-calendar-body-in-comparison-range::before{border-top:dashed 1px;border-bottom:dashed 1px}.mat-calendar-body-comparison-start::before{border-left:dashed 1px}[dir=rtl] .mat-calendar-body-comparison-start::before{border-left:0;border-right:dashed 1px}.mat-calendar-body-comparison-end::before{border-right:dashed 1px}[dir=rtl] .mat-calendar-body-comparison-end::before{border-right:0;border-left:dashed 1px}}\n'],
encapsulation:2,changeDetection:0});var w9b=new zd("MAT_BUTTON_CONFIG"),x9b=[{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"]}],hy=function(){this._elementRef=r(ef);this._platform=r(tw);this._ngZone=r(kh);this._animationMode=r(Gv,{optional:!0});this._focusMonitor=r(ww);this._rippleLoader=r(dy);this._disabled=this._disableRipple=this._isFab=!1;r(Aw).load(Ux);var a=r(w9b,{optional:!0}),b=this._elementRef.nativeElement,c=b.classList,d;this.disabledInteractive=
(d=a==null?void 0:a.disabledInteractive)!=null?d:!1;var e;this.color=(e=a==null?void 0:a.color)!=null?e:null;var f;(f=this._rippleLoader)==null||r9b(f,b,{className:"mat-mdc-button-ripple"});a=k(x9b);for(d=a.next();!d.done;d=a.next())d=d.value,e=d.mdcClasses,b.hasAttribute(d.attribute)&&c.add.apply(c,t(e))};g=hy.prototype;g.ngAfterViewInit=function(){this._focusMonitor.monitor(this._elementRef,!0)};
g.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef);var a;(a=this._rippleLoader)==null||q9b(a,this._elementRef.nativeElement)};g.focus=function(a,b){(a=a===void 0?"program":a)?xw(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(hy.prototype,{disableRipple:{configurable:!0,enumerable:!0,get:function(){return this._disableRipple},set:function(a){this._disableRipple=a;this._updateRippleDisabled()}},disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=a;this._updateRippleDisabled()}}});hy.\u0275fac=function(a){return new (a||hy)};
hy.\u0275dir=Df({type:hy,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",uh],disabled:[2,"disabled","disabled",uh],ariaDisabled:[2,"aria-disabled","ariaDisabled",uh],disabledInteractive:[2,"disabledInteractive","disabledInteractive",uh]},features:[dg]});var iy=function(){hy.apply(this,arguments);var a=this;this._renderer=r(Iv);this._haltDisabledEvents=function(b){a.disabled&&(b.preventDefault(),b.stopImmediatePropagation())}};Y(iy,hy);
iy.prototype.ngOnInit=function(){var a=this;this._ngZone.runOutsideAngular(function(){a._cleanupClick=a._renderer.listen(a._elementRef.nativeElement,"click",a._haltDisabledEvents)})};iy.prototype.ngOnDestroy=function(){hy.prototype.ngOnDestroy.call(this);var a;(a=this._cleanupClick)==null||a.call(this)};iy.prototype._getAriaDisabled=function(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled||null};iy.\u0275fac=function(){var a;return function(b){return(a||(a=ee(iy)))(b||iy)}}();
iy.\u0275dir=Df({type:iy,inputs:{tabIndex:[2,"tabIndex","tabIndex",function(a){return a==null?void 0:vh(a)}]},features:[dg,cg]});var y9b=["mat-button",""],z9b=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],A9b=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],
B9b=function(){return'.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 12px);height:var(--mdc-text-button-container-height, 40px);font-family:var(--mdc-text-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-sys-label-large-weight))}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, var(--mat-sys-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 16px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display, block)}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-filled-button-container-height, 40px);font-family:var(--mdc-filled-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-filled-button-horizontal-padding, 24px)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color, var(--mat-sys-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display, block)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-sys-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-sys-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-filled-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);box-shadow:var(--mdc-protected-button-container-elevation-shadow, var(--mat-sys-level1));height:var(--mdc-protected-button-container-height, 40px);font-family:var(--mdc-protected-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-protected-button-horizontal-padding, 24px)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display, block)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-sys-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-sys-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-sys-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-protected-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow, var(--mat-sys-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-outlined-button-container-height, 40px);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-sys-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-sys-corner-full));border-width:var(--mdc-outlined-button-outline-width, 1px);padding:0 var(--mat-outlined-button-horizontal-padding, 24px)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display, block)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-sys-primary));border-color:var(--mdc-outlined-button-outline-color, var(--mat-sys-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:var(--mdc-outlined-button-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button .mdc-button__ripple{border-width:var(--mdc-outlined-button-outline-width, 1px);border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-focus-indicator,.mat-mdc-unelevated-button .mat-focus-indicator,.mat-mdc-raised-button .mat-focus-indicator,.mat-mdc-outlined-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-focus-indicator::before,.mat-mdc-raised-button:focus .mat-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-focus-indicator::before{content:""}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-focus-indicator::before,.mat-mdc-raised-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}\n'},
C9b=function(){return"@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-icon-button.mat-mdc-icon-button{outline:solid 1px}}\n"},jy=function(){hy.apply(this,arguments)};Y(jy,hy);jy.\u0275dir=hy.\u0275dir;jy.\u0275fac=function(){var a;return function(b){return(a||(a=ee(jy)))(b||jy)}}();
jy.\u0275cmp=C({type:jy,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(a,b){a&2&&(jg("disabled",b._getDisabledAttribute())("aria-disabled",b._getAriaDisabled()),tg(b.color?"mat-"+b.color:""),sg("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"],features:[cg],attrs:y9b,ngContentSelectors:A9b,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(a,b){a&1&&(Ig(z9b),K(0,"span",0),Jg(1),I(2,"span",1),Jg(3,1),J(),Jg(4,2),K(5,"span",2)(6,"span",3));a&2&&sg("mdc-button__ripple",!b._isFab)("mdc-fab__ripple",b._isFab)},styles:[B9b(),C9b()],encapsulation:2,changeDetection:0});var ky=function(){iy.apply(this,arguments)};
Y(ky,iy);ky.\u0275dir=iy.\u0275dir;ky.\u0275fac=function(){var a;return function(b){return(a||(a=ee(ky)))(b||ky)}}();
ky.\u0275cmp=C({type:ky,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:15,hostBindings:function(a,b){a&2&&(jg("disabled",b._getDisabledAttribute())("tabindex",b.disabled&&!b.disabledInteractive?-1:b.tabIndex)("aria-disabled",b._getAriaDisabled()),tg(b.color?"mat-"+b.color:""),sg("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"],features:[cg],attrs:y9b,ngContentSelectors:A9b,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(a,b){a&1&&(Ig(z9b),K(0,"span",0),Jg(1),I(2,"span",1),Jg(3,1),J(),Jg(4,2),K(5,"span",2)(6,"span",3));a&2&&sg("mdc-button__ripple",!b._isFab)("mdc-fab__ripple",b._isFab)},styles:[B9b(),
C9b()],encapsulation:2,changeDetection:0});var D9b=new zd("mat-mdc-fab-default-options",{providedIn:"root",factory:qpa});var E9b=["mat-icon-button",""],F9b=["*"],G9b=function(){return'.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 40px);height:var(--mdc-icon-button-state-layer-size, 40px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 40px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size, 24px);color:var(--mdc-icon-button-icon-color, var(--mat-sys-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface-variant) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display, block)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mdc-icon-button-icon-size, 24px);height:var(--mdc-icon-button-icon-size, 24px);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}\n'},
H9b=function(){return"@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-icon-button.mat-mdc-icon-button{outline:solid 1px}}\n"},ly=function(){hy.call(this);r9b(this._rippleLoader,this._elementRef.nativeElement,{centered:!0})};Y(ly,hy);ly.\u0275dir=hy.\u0275dir;ly.\u0275fac=function(a){return new (a||ly)};
ly.\u0275cmp=C({type:ly,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(a,b){a&2&&(jg("disabled",b._getDisabledAttribute())("aria-disabled",b._getAriaDisabled()),tg(b.color?"mat-"+b.color:""),sg("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"],features:[cg],attrs:E9b,ngContentSelectors:F9b,
decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(a){a&1&&(Ig(),K(0,"span",0),Jg(1),K(2,"span",1)(3,"span",2))},styles:[G9b(),H9b()],encapsulation:2,changeDetection:0});var my=function(){iy.apply(this,arguments)};Y(my,iy);my.\u0275dir=iy.\u0275dir;my.\u0275fac=function(){var a;return function(b){return(a||(a=ee(my)))(b||my)}}();
my.\u0275cmp=C({type:my,selectors:[["a","mat-icon-button",""]],hostVars:15,hostBindings:function(a,b){a&2&&(jg("disabled",b._getDisabledAttribute())("tabindex",b.disabled&&!b.disabledInteractive?-1:b.tabIndex)("aria-disabled",b._getAriaDisabled()),tg(b.color?"mat-"+b.color:""),sg("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"],features:[cg],attrs:E9b,ngContentSelectors:F9b,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(a){a&1&&(Ig(),K(0,"span",0),Jg(1),K(2,"span",1)(3,"span",2))},styles:[G9b(),H9b()],encapsulation:2,changeDetection:0});var ny=function(){};ny.\u0275fac=function(a){return new (a||ny)};ny.\u0275mod=Cf({type:ny});ny.\u0275inj=p({imports:[Ox,ay,Ox]});var oy=function(a,b){this.selection=a;this._adapter=b;this.selectionChanged=this._selectionChanged=new Uf;this.selection=a};oy.prototype.updateSelection=function(a,b){var c=this.selection;this.selection=a;this._selectionChanged.next({selection:a,source:b,oldValue:c})};oy.prototype.ngOnDestroy=function(){this._selectionChanged.complete()};oy.prototype._isValidDateInstance=function(a){return a instanceof Cj&&this._adapter.isValid(a)};oy.\u0275fac=function(){dia()};oy.\u0275prov=n({token:oy,factory:oy.\u0275fac});
var py=function(a){oy.call(this,null,a)};Y(py,oy);py.prototype.add=function(a){oy.prototype.updateSelection.call(this,a,this)};py.prototype.isValid=function(){return this.selection!=null&&this._isValidDateInstance(this.selection)};py.prototype.isComplete=function(){return this.selection!=null};py.prototype.clone=function(){var a=new py(this._adapter);a.updateSelection(this.selection,this);return a};py.\u0275fac=function(a){return new (a||py)(pd(Px))};py.\u0275prov=n({token:py,factory:py.\u0275fac});
var I9b={provide:oy,deps:[[new tv,new uv,oy],Px],useFactory:function(a,b){return a||new py(b)}};new tv;new uv;var J9b=new zd("MAT_DATE_RANGE_SELECTION_STRATEGY");new tv;new uv;var K9b=function(a,b){return b.id},L9b=0,qy=function(){this._changeDetectorRef=r(Ov);this._dateFormats=r(W8b,{optional:!0});this._dateAdapter=r(Px,{optional:!0});this._dir=r(fx,{optional:!0});this._rangeStrategy=r(J9b,{optional:!0});this._rerenderSubscription=je.EMPTY;this.activeDrag=null;this.selectedChange=new Dv;this._userSelection=new Dv;this.dragStarted=new Dv;this.dragEnded=new Dv;this.activeDateChange=new Dv;r(Aw).load(Bw);this._activeDate=new Cj};g=qy.prototype;
g.ngAfterContentInit=function(){var a=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Xf(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);Sx(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=ry(this._activeDate,c?1:-1);break;case 39:this.activeDate=ry(this._activeDate,c?-1:1);break;case 38:this.activeDate=ry(this._activeDate,-7);break;case 40:this.activeDate=ry(this._activeDate,7);break;case 36:this.activeDate=ry(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case 35:this.activeDate=ry(this._activeDate,w7b(this._activeDate)-this._dateAdapter.getDate(this._activeDate));
break;case 33:this.activeDate=a.altKey?sy(this._activeDate,-1):ty(this._activeDate,-1);break;case 34:this.activeDate=a.altKey?sy(this._activeDate,1):ty(this._activeDate,1);break;case 13:case 32:this._selectionKeyPressed=!0;this._canSelect(this._activeDate)&&a.preventDefault();return;case 27:this._previewEnd==null||Xh(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}Sx(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 Cj);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+uy(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 uy(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),a)};
g._initWeekdays=function(){var a=this._dateAdapter.getFirstDayOfWeek(),b=M9b(this._dateAdapter,"narrow"),c=M9b(this._dateAdapter,"long").map(function(d,e){return{long:d,narrow:b[e],id:L9b++}});this._weekdays=c.slice(a).concat(c.slice(0,a))};
g._createWeekCells=function(){var a=w7b(this.activeDate),b=N9b;this._weeks=[[]];for(var c=0,d=this._firstWeekOffset;c<a;c++,d++){d==7&&(this._weeks.push([]),d=0);var e=uy(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),c+1),f=this._shouldEnableDate(e),h=this._dateAdapter.format(e,this._dateFormats.display.dateA11yLabel),l=this.dateClass?this.dateClass(e,"month"):void 0;this._weeks[this._weeks.length-1].push(new t9b(c+1,b[c],h,f,l,this._getCellCompareValue(e),
e))}};g._shouldEnableDate=function(a){return!!a&&(!this.minDate||Sx(this._dateAdapter,a,this.minDate)>=0)&&(!this.maxDate||Sx(this._dateAdapter,a,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(a))};g._getDateInCurrentMonth=function(a){return a&&this._hasSameMonthAndYear(a,this.activeDate)?this._dateAdapter.getDate(a):null};g._hasSameMonthAndYear=function(a,b){return!(!a||!b||this._dateAdapter.getMonth(a)!=this._dateAdapter.getMonth(b)||this._dateAdapter.getYear(a)!=this._dateAdapter.getYear(b))};
g._getCellCompareValue=function(a){if(a){var b=this._dateAdapter.getYear(a),c=this._dateAdapter.getMonth(a);return(new Date(b,c,this._dateAdapter.getDate(a))).getTime()}return null};g._isRtl=function(){return this._dir&&this._dir.value==="rtl"};g._setRanges=function(a){this._rangeStart=this._rangeEnd=this._getCellCompareValue(a);this._isRange=!1;this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart);this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)};
g._canSelect=function(a){return!this.dateFilter||this.dateFilter(a)};g._clearPreview=function(){this._previewStart=this._previewEnd=null};
da.Object.defineProperties(qy.prototype,{activeDate:{configurable:!0,enumerable:!0,get:function(){return this._activeDate},set:function(a){var b=this._activeDate;a=Qx(this._dateAdapter,Rx(this._dateAdapter,a))||new Cj;this._activeDate=V8b(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=Qx(this._dateAdapter,Rx(this._dateAdapter,a));
this._setRanges(this._selected)}},minDate:{configurable:!0,enumerable:!0,get:function(){return this._minDate},set:function(a){this._minDate=Qx(this._dateAdapter,Rx(this._dateAdapter,a))}},maxDate:{configurable:!0,enumerable:!0,get:function(){return this._maxDate},set:function(a){this._maxDate=Qx(this._dateAdapter,Rx(this._dateAdapter,a))}}});qy.\u0275fac=function(a){return new (a||qy)};
qy.\u0275cmp=C({type:qy,selectors:[["mat-month-view"]],viewQuery:function(a,b){a&1&&Rg(gy,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"],features:[rv],decls:8,vars:14,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col"],["aria-hidden","true"],["colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"selectedValueChange","activeDateChange","previewChange","dragStarted","dragEnded","keyup","keydown","label","rows","todayValue","startValue",
"endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","startDateAccessibleName","endDateAccessibleName"],[1,"cdk-visually-hidden"]],template:function(a,b){a&1&&(I(0,"table",0)(1,"thead",1)(2,"tr"),yg(3,rpa,5,2,"th",2,K9b),J(),I(5,"tr",3),K(6,"th",4),J()(),I(7,"tbody",5),M("selectedValueChange",function(c){return b._dateSelected(c)})("activeDateChange",function(c){return b._updateActiveDate(c)})("previewChange",function(c){return b._previewChanged(c)})("dragStarted",
function(c){return b.dragStarted.emit(c)})("dragEnded",function(c){return b._dragEnded(c)})("keyup",function(c){return b._handleCalendarBodyKeyup(c)})("keydown",function(c){return b._handleCalendarBodyKeydown(c)}),J()());a&2&&(B(3),zg(b._weekdays),B(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:[gy],encapsulation:2,changeDetection:0});var vy=function(){this._changeDetectorRef=r(Ov);this._dateAdapter=r(Px,{optional:!0});this._dir=r(fx,{optional:!0});this._rerenderSubscription=je.EMPTY;this.selectedChange=new Dv;this.yearSelected=new Dv;this.activeDateChange=new Dv;this._activeDate=new Cj};g=vy.prototype;g.ngAfterContentInit=function(){var a=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Xf(null)).subscribe(function(){return a._init()})};g.ngOnDestroy=function(){this._rerenderSubscription.unsubscribe()};
g._init=function(){var a=this;this._todayYear=this._dateAdapter.getYear(new Cj);var b=this._dateAdapter.getYear(this._activeDate)-ki(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=uy(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);Sx(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=sy(this._activeDate,c?1:-1);break;case 39:this.activeDate=sy(this._activeDate,c?-1:1);break;case 38:this.activeDate=sy(this._activeDate,-4);break;case 40:this.activeDate=sy(this._activeDate,4);break;case 36:this.activeDate=sy(this._activeDate,-ki(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case 35:this.activeDate=sy(this._activeDate,24-ki(this._dateAdapter,
this.activeDate,this.minDate,this.maxDate)-1);break;case 33:this.activeDate=sy(this._activeDate,a.altKey?-240:-24);break;case 34:this.activeDate=sy(this._activeDate,a.altKey?240:24);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}Sx(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 ki(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=uy(a,b,1);c=w7b(c);return uy(a,b,Math.min(this._dateAdapter.getDate(this.activeDate),c))};g._createCellForYear=function(a){var b=uy(a,0,1),c=""+b.getFullYear();b=this.dateClass?this.dateClass(b,"multi-year"):void 0;return new t9b(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=uy(a,0,1);this._dateAdapter.getYear(b)==a;b=ry(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(vy.prototype,{activeDate:{configurable:!0,enumerable:!0,get:function(){return this._activeDate},set:function(a){var b=this._activeDate;a=Qx(this._dateAdapter,Rx(this._dateAdapter,a))||new Cj;this._activeDate=V8b(this._dateAdapter,a,this.minDate,this.maxDate);tpa(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=Qx(this._dateAdapter,Rx(this._dateAdapter,
a));this._setSelectedYear(a)}},minDate:{configurable:!0,enumerable:!0,get:function(){return this._minDate},set:function(a){this._minDate=Qx(this._dateAdapter,Rx(this._dateAdapter,a))}},maxDate:{configurable:!0,enumerable:!0,get:function(){return this._maxDate},set:function(a){this._maxDate=Qx(this._dateAdapter,Rx(this._dateAdapter,a))}}});vy.\u0275fac=function(a){return new (a||vy)};
vy.\u0275cmp=C({type:vy,selectors:[["mat-multi-year-view"]],viewQuery:function(a,b){a&1&&Rg(gy,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"],decls:5,vars:7,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden",
"true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"selectedValueChange","activeDateChange","keyup","keydown","rows","todayValue","startValue","endValue","numCols","cellAspectRatio","activeCell"]],template:function(a,b){a&1&&(I(0,"table",0)(1,"thead",1)(2,"tr"),K(3,"th",2),J()(),I(4,"tbody",3),M("selectedValueChange",function(c){return b._yearSelected(c)})("activeDateChange",function(c){return b._updateActiveDate(c)})("keyup",function(c){return b._handleCalendarBodyKeyup(c)})("keydown",
function(c){return b._handleCalendarBodyKeydown(c)}),J()());a&2&&(B(4),E("rows",b._years)("todayValue",b._todayYear)("startValue",b._selectedYear)("endValue",b._selectedYear)("numCols",4)("cellAspectRatio",4/7)("activeCell",b._getActiveCell()))},dependencies:[gy],encapsulation:2,changeDetection:0});var wy=function(){this._changeDetectorRef=r(Ov);this._dateFormats=r(W8b,{optional:!0});this._dateAdapter=r(Px,{optional:!0});this._dir=r(fx,{optional:!0});this._rerenderSubscription=je.EMPTY;this.selectedChange=new Dv;this.monthSelected=new Dv;this.activeDateChange=new Dv;this._activeDate=new Cj};g=wy.prototype;g.ngAfterContentInit=function(){var a=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Xf(null)).subscribe(function(){return a._init()})};g.ngOnDestroy=function(){this._rerenderSubscription.unsubscribe()};
g._monthSelected=function(a){a=a.value;var b=uy(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);Sx(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=ty(this._activeDate,c?1:-1);break;case 39:this.activeDate=ty(this._activeDate,c?-1:1);break;case 38:this.activeDate=ty(this._activeDate,-4);break;case 40:this.activeDate=ty(this._activeDate,4);break;case 36:this.activeDate=ty(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case 35:this.activeDate=ty(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));
break;case 33:this.activeDate=sy(this._activeDate,a.altKey?-10:-1);break;case 34:this.activeDate=sy(this._activeDate,a.altKey?10:1);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}Sx(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 Cj);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=uy(this._dateAdapter.getYear(this.activeDate),a,1);b=w7b(b);return uy(this._dateAdapter.getYear(this.activeDate),a,Math.min(this._dateAdapter.getDate(this.activeDate),b))};
g._createCellForMonth=function(a,b){var c=uy(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 t9b(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=uy(b,a,1);this._dateAdapter.getMonth(b)==a;b=ry(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(wy.prototype,{activeDate:{configurable:!0,enumerable:!0,get:function(){return this._activeDate},set:function(a){var b=this._activeDate;a=Qx(this._dateAdapter,Rx(this._dateAdapter,a))||new Cj;this._activeDate=V8b(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=Qx(this._dateAdapter,
Rx(this._dateAdapter,a));this._setSelectedMonth(a)}},minDate:{configurable:!0,enumerable:!0,get:function(){return this._minDate},set:function(a){this._minDate=Qx(this._dateAdapter,Rx(this._dateAdapter,a))}},maxDate:{configurable:!0,enumerable:!0,get:function(){return this._maxDate},set:function(a){this._maxDate=Qx(this._dateAdapter,Rx(this._dateAdapter,a))}}});wy.\u0275fac=function(a){return new (a||wy)};
wy.\u0275cmp=C({type:wy,selectors:[["mat-year-view"]],viewQuery:function(a,b){a&1&&Rg(gy,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"],decls:5,vars:9,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden","true",
1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"selectedValueChange","activeDateChange","keyup","keydown","label","rows","todayValue","startValue","endValue","labelMinRequiredCells","numCols","cellAspectRatio","activeCell"]],template:function(a,b){a&1&&(I(0,"table",0)(1,"thead",1)(2,"tr"),K(3,"th",2),J()(),I(4,"tbody",3),M("selectedValueChange",function(c){return b._monthSelected(c)})("activeDateChange",function(c){return b._updateActiveDate(c)})("keyup",
function(c){return b._handleCalendarBodyKeyup(c)})("keydown",function(c){return b._handleCalendarBodyKeydown(c)}),J()());a&2&&(B(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:[gy],encapsulation:2,changeDetection:0});var yy=function(){this._intl=r(ey);this.calendar=r(xy);this._dateAdapter=r(Px,{optional:!0});this._dateFormats=r(W8b,{optional:!0});this._periodButtonLabelId=r(Ww).getId("mat-calendar-period-label-");r(Aw).load(Bw);var a=r(Ov);this.calendar.stateChanges.subscribe(function(){return a.markForCheck()})};
yy.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):tpa(this._dateAdapter,a,b,this.calendar.minDate,this.calendar.maxDate)};
yy.prototype._formatMinAndMaxYearLabels=function(){var a=this._dateAdapter.getYear(this.calendar.activeDate)-ki(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),b=a+24-1;a=""+uy(a,0,1).getFullYear();b=""+uy(b,0,1).getFullYear();return[a,b]};
da.Object.defineProperties(yy.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,t(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,t(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]}}});yy.\u0275fac=function(a){return new (a||yy)};
yy.\u0275cmp=C({type:yy,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:["*"],decls:17,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"],"viewBox;0 0 24 24;focusable;false;aria-hidden;true".split(";"),["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"click","disabled"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"]],template:function(a,b){a&1&&(Ig(),I(0,"div",0)(1,"div",1)(2,"span",2),Q(3),J(),I(4,"button",3),M("click",function(){b.calendar.currentView=b.calendar.currentView=="month"?
"multi-year":"month"}),I(5,"span",4),Q(6),J(),Ud(),I(7,"svg",5),K(8,"polygon",6),J()(),Vd(),K(9,"div",7),Jg(10),I(11,"button",8),M("click",function(){b.calendar.activeDate=b.calendar.currentView=="month"?ty(b.calendar.activeDate,-1):sy(b.calendar.activeDate,b.calendar.currentView=="year"?-1:-24)}),Ud(),I(12,"svg",9),K(13,"path",10),J()(),Vd(),I(14,"button",11),M("click",function(){b.calendar.activeDate=b.calendar.currentView=="month"?ty(b.calendar.activeDate,1):sy(b.calendar.activeDate,b.calendar.currentView==
"year"?1:24)}),Ud(),I(15,"svg",9),K(16,"path",12),J()()()());a&2&&(B(2),E("id",b._periodButtonLabelId),B(),Yg(b.periodButtonDescription),B(),jg("aria-label",b.periodButtonLabel)("aria-describedby",b._periodButtonLabelId),B(2),Yg(b.periodButtonText),B(),sg("mat-calendar-invert",b.calendar.currentView!=="month"),B(4),E("disabled",!(b.calendar.minDate?!b.calendar.minDate||!b._isSameView(b.calendar.activeDate,b.calendar.minDate):1)),jg("aria-label",b.prevButtonLabel),B(3),E("disabled",!(!b.calendar.maxDate||
!b._isSameView(b.calendar.activeDate,b.calendar.maxDate))),jg("aria-label",b.nextButtonLabel))},dependencies:[jy,ly],encapsulation:2,changeDetection:0});
var xy=function(){var a=this;this._dateAdapter=r(Px,{optional:!0});this._dateFormats=r(W8b,{optional:!0});this._changeDetectorRef=r(Ov);this._moveFocusOnNextTick=!1;this.startView="month";this.selectedChange=new Dv;this.yearSelected=new Dv;this.monthSelected=new Dv;this.viewChanged=new Dv(!0);this._userSelection=new Dv;this._userDragDrop=new Dv;this._activeDrag=null;this.stateChanges=new Uf;this._intlChanges=r(ey).changes.subscribe(function(){a._changeDetectorRef.markForCheck();a.stateChanges.next()})};
g=xy.prototype;g.ngAfterContentInit=function(){this._calendarHeaderPortal=new Dx(this.headerComponent||yy);this.activeDate=this.startAt||new Cj;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(xy.prototype,{startAt:{configurable:!0,enumerable:!0,get:function(){return this._startAt},set:function(a){this._startAt=Qx(this._dateAdapter,Rx(this._dateAdapter,a))}},selected:{configurable:!0,enumerable:!0,get:function(){return this._selected},set:function(a){this._selected=Qx(this._dateAdapter,Rx(this._dateAdapter,a))}},minDate:{configurable:!0,enumerable:!0,get:function(){return this._minDate},set:function(a){this._minDate=Qx(this._dateAdapter,Rx(this._dateAdapter,a))}},
maxDate:{configurable:!0,enumerable:!0,get:function(){return this._maxDate},set:function(a){this._maxDate=Qx(this._dateAdapter,Rx(this._dateAdapter,a))}},activeDate:{configurable:!0,enumerable:!0,get:function(){return this._clampedActiveDate},set:function(a){this._clampedActiveDate=V8b(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)}}});xy.\u0275fac=function(a){return new (a||xy)};
xy.\u0275cmp=C({type:xy,selectors:[["mat-calendar"]],viewQuery:function(a,b){a&1&&(Rg(qy,5),Rg(wy,5),Rg(vy,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"],features:[ch([I9b]),rv],decls:5,vars:2,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content"],[3,"activeDate","selected","dateFilter","maxDate","minDate",
"dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass"],[3,"activeDateChange","_userSelection","dragStarted","dragEnded","activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag"],[3,"activeDateChange","monthSelected","selectedChange","activeDate","selected","dateFilter",
"maxDate","minDate","dateClass"],[3,"activeDateChange","yearSelected","selectedChange","activeDate","selected","dateFilter","maxDate","minDate","dateClass"]],template:function(a,b){a&1&&(D(0,upa,0,0,"ng-template",0),I(1,"div",1),D(2,vpa,1,11,"mat-month-view",2)(3,wpa,1,6,"mat-year-view",3)(4,xpa,1,6,"mat-multi-year-view",3),J());if(a&2){var c;E("cdkPortalOutlet",b._calendarHeaderPortal);B(2);G((c=b.currentView)==="month"?2:c==="year"?3:c==="multi-year"?4:-1)}},dependencies:[Ix,yw,qy,wy,vy],styles:['.mat-calendar{display:block;line-height:normal;font-family:var(--mat-datepicker-calendar-text-font, var(--mat-sys-body-medium-font));font-size:var(--mat-datepicker-calendar-text-size, var(--mat-sys-body-medium-size))}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;align-items:center;margin:5% calc(4.7142857143% - 16px)}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0;margin:0 8px;font-size:var(--mat-datepicker-calendar-period-button-text-size, var(--mat-sys-title-small-size));font-weight:var(--mat-datepicker-calendar-period-button-text-weight, var(--mat-sys-title-small-weight));--mdc-text-button-label-text-color:var(--mat-datepicker-calendar-period-button-text-color, var(--mat-sys-on-surface-variant))}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle;fill:var(--mat-datepicker-calendar-period-button-icon-color, var(--mat-sys-on-surface-variant))}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}@media(forced-colors: active){.mat-calendar-arrow{fill:CanvasText}}.mat-datepicker-content .mat-calendar-previous-button:not(.mat-mdc-button-disabled),.mat-datepicker-content .mat-calendar-next-button:not(.mat-mdc-button-disabled){color:var(--mat-datepicker-calendar-navigation-button-icon-color, var(--mat-sys-on-surface-variant))}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0;color:var(--mat-datepicker-calendar-header-text-color, var(--mat-sys-on-surface-variant));font-size:var(--mat-datepicker-calendar-header-text-size, var(--mat-sys-title-small-size));font-weight:var(--mat-datepicker-calendar-header-text-weight, var(--mat-sys-title-small-weight))}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px;background:var(--mat-datepicker-calendar-header-divider-color, transparent)}.mat-calendar-body-cell-content::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}.mat-calendar-body-cell:focus .mat-focus-indicator::before{content:""}\n'],
encapsulation:2,changeDetection:0});var zy=function(a,b){this._renderer=a;this._elementRef=b;this.onChange=function(){};this.onTouched=function(){}};zy.prototype.setProperty=function(a,b){this._renderer.setProperty(this._elementRef.nativeElement,a,b)};zy.prototype.registerOnTouched=function(a){this.onTouched=a};zy.prototype.registerOnChange=function(a){this.onChange=a};zy.prototype.setDisabledState=function(a){this.setProperty("disabled",a)};zy.\u0275fac=function(a){return new (a||zy)(hf(Iv),hf(ef))};zy.\u0275dir=Df({type:zy});
var pi=function(){zy.apply(this,arguments)};Y(pi,zy);pi.\u0275fac=function(){var a;return function(b){return(a||(a=ee(pi)))(b||pi)}}();pi.\u0275dir=Df({type:pi,features:[cg]});var Ay=new zd("");var O9b={provide:Ay,useExisting:ld(function(){return oi}),multi:!0},P9b=new zd(""),oi=function(a,b,c){zy.call(this,a,b);this._compositionMode=c;this._composing=!1;this._compositionMode==null&&(this._compositionMode=!/android (\d+)/.test((J7b?window.navigator.userAgent:"").toLowerCase()))};Y(oi,zy);oi.prototype.writeValue=function(a){this.setProperty("value",a==null?"":a)};oi.prototype._handleInput=function(a){if(!this._compositionMode||this._compositionMode&&!this._composing)this.onChange(a)};
oi.prototype._compositionStart=function(){this._composing=!0};oi.prototype._compositionEnd=function(a){this._composing=!1;this._compositionMode&&this.onChange(a)};oi.\u0275fac=function(a){return new (a||oi)(hf(Iv),hf(ef),hf(P9b,8))};
oi.\u0275dir=Df({type:oi,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(a,b){a&1&&M("input",function(c){return b._handleInput(c.target.value)})("blur",function(){return b.onTouched()})("compositionstart",function(){return b._compositionStart()})("compositionend",
function(c){return b._compositionEnd(c.target.value)})},standalone:!1,features:[ch([O9b]),cg]});var By=new zd(""),Q9b=new zd(""),Cy=function(a){return Apa(a)};var Dy=function(){this._rawValidators=[];this._rawAsyncValidators=[];this._onDestroyCallbacks=[]};g=Dy.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(Dy.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 Ey=function(){Dy.apply(this,arguments);this.valueAccessor=this.name=this._parent=null};Y(Ey,Dy);var Fy=function(){Dy.apply(this,arguments)};Y(Fy,Dy);da.Object.defineProperties(Fy.prototype,{formDirective:{configurable:!0,enumerable:!0,get:function(){return null}},path:{configurable:!0,enumerable:!0,get:function(){return null}}});var R9b=function(a){this._cd=a};
da.Object.defineProperties(R9b.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 Gy=function(a){this._cd=a};Y(Gy,R9b);Gy.\u0275fac=function(a){return new (a||Gy)(hf(Ey,2))};
Gy.\u0275dir=Df({type:Gy,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(a,b){a&2&&sg("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)},standalone:!1,features:[cg]});var Hy=function(a){this._cd=a};Y(Hy,R9b);Hy.\u0275fac=function(a){return new (a||Hy)(hf(Fy,10))};
Hy.\u0275dir=Df({type:Hy,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(a,b){a&2&&sg("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)},standalone:!1,features:[cg]});var S9b=new zd("CallSetDisabledState",{providedIn:"root",factory:function(){return"whenDisabledForLegacyCode"}});var Iy=function(){},T9b=function(a,b){this.value=a;this.source=b};Y(T9b,Iy);var U9b=function(a,b){this.pristine=a;this.source=b};Y(U9b,Iy);var V9b=function(a,b){this.touched=a;this.source=b};Y(V9b,Iy);var W9b=function(a,b){this.status=a;this.source=b};Y(W9b,Iy);var X9b=function(a){this.source=a};Y(X9b,Iy);var Y9b=function(a){this.source=a};Y(Y9b,Iy);
var Jy=function(a,b){var c=this;this._pendingDirty=!1;this._hasOwnPendingAsyncValidator=null;this._pendingTouched=!1;this._onCollectionChange=function(){};this._parent=null;this._status=wh(function(){return c.statusReactive()});this.statusReactive=Xg();this._pristine=wh(function(){return c.pristineReactive()});this.pristineReactive=Xg(!0);this._touched=wh(function(){return c.touchedReactive()});this.touchedReactive=Xg(!1);this._events=new Uf;this.events=pu(this._events);this._onDisabledChange=[];
this._assignValidators(a);this._assignAsyncValidators(b)},Xpa=function(a,b){a._assignValidators(b)},Ypa=function(a,b){a._assignAsyncValidators(b)},Z9b=function(a){a=a._rawValidators;return Array.isArray(a)?a.includes(Cy):a===Cy},$pa=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&&$pa(a._parent,Object.assign({},b,{sourceControl:e}));c&&b.emitEvent!==!1&&a._events.next(new V9b(!0,e))},$9b=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){$9b(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 V9b(!1,e))},aqa=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&&aqa(a._parent,Object.assign({},b,{sourceControl:e}));c&&b.emitEvent!==!1&&a._events.next(new U9b(!1,
e))},a$b=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){a$b(f,{onlySelf:!0,emitEvent:b.emitEvent})});a._parent&&!b.onlySelf&&a._parent._updatePristine(b,e);c&&b.emitEvent!==!1&&a._events.next(new U9b(!0,e))};g=Jy.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 T9b(this.value,d)),this._events.next(new W9b(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}))});ni(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&&(ni(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 ni=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 T9b(a.value,c)),a._events.next(new W9b(a.status,c)),a.valueChanges.emit(a.value),a.statusChanges.emit(a.status));a._parent&&!b.onlySelf&&ni(a._parent,Object.assign({},
b,{sourceControl:c}))};g=Jy.prototype;g._updateTreeValidity=function(a){a=a===void 0?{emitEvent:!0}:a;this._forEachChild(function(b){return b._updateTreeValidity(a)});ni(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 W9b(this.status,b));this._parent&&this._parent._updateControlsErrors(a,b,c)};g._initObservables=function(){this.valueChanges=new Dv;this.statusChanges=new Dv};
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 U9b(this.pristine,b))};g._updateTouched=function(a,b){a=a===void 0?{}:a;this.touched=this._anyControlsTouched();this._events.next(new V9b(this.touched,b));this._parent&&!a.onlySelf&&this._parent._updateTouched(a,b)};g._registerOnCollectionChange=function(a){this._onCollectionChange=a};
g._setUpdateStrategy=function(a){qi(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(Jy.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 zh(this.statusReactive)},
set:function(a){var b=this;zh(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 zh(this.pristineReactive)},set:function(a){var b=this;zh(function(){return b.pristineReactive.set(a)})}},dirty:{configurable:!0,enumerable:!0,get:function(){return!this.pristine}},touched:{configurable:!0,enumerable:!0,get:function(){return zh(this.touchedReactive)},set:function(a){var b=this;zh(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 Ky=function(a,b,c){Jy.call(this,(qi(b)?b.validators:b)||null,(qi(b)?b.asyncValidators:c)||null);this.controls=a;this._initObservables();this._setUpdateStrategy(b);this._setUpControls();ni(this,{onlySelf:!0,emitEvent:!!this.asyncValidator})};Y(Ky,Jy);var b$b=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=Ky.prototype;
g.addControl=function(a){var b=b===void 0?{}:b;b$b(this,a);ni(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];ni(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;eqa(this,a);Object.keys(a).forEach(function(d){var e=c.controls;if(!Object.keys(e).length)throw new bd(1E3,"");if(!e[d])throw new bd(1001,"");c.controls[d].setValue(a[d],{onlySelf:!0,emitEvent:b.emitEvent})});ni(this,b)};g.patchValue=function(a,b){var c=this;b=b===void 0?{}:b;a!=null&&(Object.keys(a).forEach(function(d){var e=c.controls[d];e&&e.patchValue(a[d],{onlySelf:!0,emitEvent:b.emitEvent})}),ni(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);ni(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&&ni(this,{onlySelf:!0});return a};
g._forEachChild=function(a){var b=this;Object.keys(this.controls).forEach(function(c){var d=b.controls[c];d&&a(d,c)})};g._setUpControls=function(){var a=this;this._forEachChild(function(b){b.setParent(a);b._registerOnCollectionChange(a._onCollectionChange)})};g._updateValue=function(){this.value=this._reduceValue()};g._anyControls=function(a){for(var b=k(Object.entries(this.controls)),c=b.next();!c.done;c=b.next()){var d=k(c.value);c=d.next().value;d=d.next().value;if(this.contains(c)&&a(d))return!0}return!1};
g._reduceValue=function(){var a=this;return this._reduceChildren({},function(b,c,d){if(c.enabled||a.disabled)b[d]=c.value;return b})};g._reduceChildren=function(a,b){var c=a;this._forEachChild(function(d,e){c=b(c,d,e)});return c};g._allControlsDisabled=function(){for(var a=k(Object.keys(this.controls)),b=a.next();!b.done;b=a.next())if(this.controls[b.value].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled};
g._find=function(a){return this.controls.hasOwnProperty(a)?this.controls[a]:null};var c$b={provide:Fy,useExisting:ld(function(){return Ly})},d$b=Promise.resolve(),Ly=function(a,b,c){Fy.call(this);var d=this;this.callSetDisabledState=c;this._submitted=wh(function(){return d.submittedReactive()});this.submittedReactive=Xg(!1);this._directives=new Set;this.ngSubmit=new Dv;this.form=new Ky({},Kpa(a),Mpa(b))};Y(Ly,Fy);g=Ly.prototype;g.ngAfterViewInit=function(){this._setUpdateStrategy()};
g.addControl=function(a){var b=this;d$b.then(function(){var c=b._findContainer(a.path);a.control=b$b(c,a.name,a.control);mi(a.control,a,b.callSetDisabledState);ni(a.control,{emitEvent:!1});b._directives.add(a)})};g.removeControl=function(a){var b=this;d$b.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;d$b.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);cqa(this.form,this._directives);this.ngSubmit.emit(a);var b;return(a==null?void 0:(b=a.target)==null?void 0:b.method)==="dialog"};g.onReset=function(){this.resetForm()};g.resetForm=function(a){this.form.reset(a);this.submittedReactive.set(!1)};g._setUpdateStrategy=function(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)};g._findContainer=function(a){a.pop();return a.length?this.form.get(a):this.form};
da.Object.defineProperties(Ly.prototype,{submitted:{configurable:!0,enumerable:!0,get:function(){return zh(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}}});Ly.\u0275fac=function(a){return new (a||Ly)(hf(By,10),hf(Q9b,10),hf(S9b,8))};
Ly.\u0275dir=Df({type:Ly,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(a,b){a&1&&M("submit",function(c){return b.onSubmit(c)})("reset",function(){return b.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[ch([c$b]),cg]});var My=function(a,b,c){a=a===void 0?null:a;Jy.call(this,(qi(b)?b.validators:b)||null,(qi(b)?b.asyncValidators:c)||null);this.defaultValue=null;this._onChange=[];this._pendingChange=!1;this._applyFormState(a);this._setUpdateStrategy(b);this._initObservables();ni(this,{onlySelf:!0,emitEvent:!!this.asyncValidator});qi(b)&&(b.nonNullable||b.initialValueIsDefault)&&(fqa(a)?this.defaultValue=a.value:this.defaultValue=a)};Y(My,Jy);g=My.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)});ni(this,b)};g.patchValue=function(a,b){b=b===void 0?{}:b;this.setValue(a,b)};g.reset=function(a,b){a=a===void 0?this.defaultValue:a;b=b===void 0?{}:b;this._applyFormState(a);a$b(this,b);$9b(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&&aqa(this),this._pendingTouched&&$pa(this),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1};g._applyFormState=function(a){fqa(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 e$b={provide:Ey,useExisting:ld(function(){return Ny})},f$b=Promise.resolve(),Ny=function(a,b,c,d,e,f){Ey.call(this);this._changeDetectorRef=e;this.callSetDisabledState=f;this.control=new My;this._registered=!1;this.name="";this.update=new Dv;this._parent=a;this._setValidators(b);this._setAsyncValidators(c);this.valueAccessor=dqa(d)};Y(Ny,Ey);g=Ny.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);bqa(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(){mi(this.control,this,this.callSetDisabledState);ni(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;f$b.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&&uh(a);f$b.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(Ny.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}}});Ny.\u0275fac=function(a){return new (a||Ny)(hf(Fy,9),hf(By,10),hf(Q9b,10),hf(Ay,10),hf(Ov,8),hf(S9b,8))};
Ny.\u0275dir=Df({type:Ny,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[ch([e$b]),cg,rv]});var Oy=function(){};Oy.\u0275fac=function(a){return new (a||Oy)};Oy.\u0275dir=Df({type:Oy,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1});var g$b={provide:Ay,useExisting:ld(function(){return Py}),multi:!0},Py=function(){pi.apply(this,arguments)};Y(Py,pi);Py.prototype.writeValue=function(a){this.setProperty("value",a==null?"":a)};Py.prototype.registerOnChange=function(a){this.onChange=function(b){a(b==""?null:parseFloat(b))}};Py.\u0275fac=function(){var a;return function(b){return(a||(a=ee(Py)))(b||Py)}}();
Py.\u0275dir=Df({type:Py,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(a,b){a&1&&M("input",function(c){return b.onChange(c.target.value)})("blur",function(){return b.onTouched()})},standalone:!1,features:[ch([g$b]),cg]});var h$b={provide:Ay,useExisting:ld(function(){return Qy}),multi:!0},Ry=function(){this._accessors=[]};Ry.prototype.add=function(a,b){this._accessors.push([a,b])};Ry.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}};Ry.prototype.select=function(a){var b=this;this._accessors.forEach(function(c){b._isSameGroup(c,a)&&c[1]!==a&&c[1].writeValue(a.value)})};
Ry.prototype._isSameGroup=function(a,b){return a[0].control?a[0]._parent===b._control._parent&&a[1].name===b.name:!1};Ry.\u0275fac=function(a){return new (a||Ry)};Ry.\u0275prov=n({token:Ry,factory:Ry.\u0275fac,providedIn:"root"});var Qy=function(a,b,c,d){pi.call(this,a,b);this._registry=c;this._injector=d;this.setDisabledStateFired=!1;this.onChange=function(){};var e;this.callSetDisabledState=(e=r(S9b,{optional:!0}))!=null?e:"whenDisabledForLegacyCode"};Y(Qy,pi);g=Qy.prototype;
g.ngOnInit=function(){this._control=this._injector.get(Ey);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)};Qy.\u0275fac=function(a){return new (a||Qy)(hf(Iv),hf(ef),hf(Ry),hf(Ye))};
Qy.\u0275dir=Df({type:Qy,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(a,b){a&1&&M("change",function(){return b.onChange()})("blur",function(){return b.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},standalone:!1,features:[ch([h$b]),cg]});var i$b=new zd(""),j$b={provide:Ey,useExisting:ld(function(){return Sy})},Sy=function(a,b,c,d,e){Ey.call(this);this._ngModelWarningConfig=d;this.callSetDisabledState=e;this.update=new Dv;this._ngModelWarningSent=!1;this._setValidators(a);this._setAsyncValidators(b);this.valueAccessor=dqa(c)};Y(Sy,Ey);
Sy.prototype.ngOnChanges=function(a){if(this._isControlChanged(a)){var b=a.form.previousValue;b&&Vpa(b,this);mi(this.form,this,this.callSetDisabledState);ni(this.form,{emitEvent:!1})}bqa(a,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)};Sy.prototype.ngOnDestroy=function(){this.form&&Vpa(this.form,this)};Sy.prototype.viewToModelUpdate=function(a){this.viewModel=a;this.update.emit(a)};Sy.prototype._isControlChanged=function(a){return a.hasOwnProperty("form")};
da.Object.defineProperties(Sy.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}}});Sy.\u0275fac=function(a){return new (a||Sy)(hf(By,10),hf(Q9b,10),hf(Ay,10),hf(i$b,8),hf(S9b,8))};
Sy.\u0275dir=Df({type:Sy,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[ch([j$b]),cg,rv]});var k$b={provide:Fy,useExisting:ld(function(){return Ty})},Ty=function(a,b,c){Fy.call(this);var d=this;this.callSetDisabledState=c;this._submitted=wh(function(){return d._submittedReactive()});this._submittedReactive=Xg(!1);this._onCollectionChange=function(){return d._updateDomValue()};this.directives=[];this.form=null;this.ngSubmit=new Dv;this._setValidators(a);this._setAsyncValidators(b)};Y(Ty,Fy);g=Ty.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);mi(b,a,this.callSetDisabledState);ni(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);cqa(this.form,this.directives);this.ngSubmit.emit(a);this.form._events.next(new X9b(this.control));var b;return(a==null?void 0:(b=a.target)==null?void 0:b.method)==="dialog"};g.onReset=function(){this.resetForm()};
g.resetForm=function(a){this.form.reset(a);this._submittedReactive.set(!1);this.form._events.next(new Y9b(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 My&&(mi(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);ni(b,{emitEvent:!1})};
g._cleanUpFormContainer=function(a){if(this.form){var b=this.form.get(a.path);b&&Upa(b,a)&&ni(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(Ty.prototype,{submitted:{configurable:!0,enumerable:!0,get:function(){return zh(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[]}}});Ty.\u0275fac=function(a){return new (a||Ty)(hf(By,10),hf(Q9b,10),hf(S9b,8))};
Ty.\u0275dir=Df({type:Ty,selectors:[["","formGroup",""]],hostBindings:function(a,b){a&1&&M("submit",function(c){return b.onSubmit(c)})("reset",function(){return b.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[ch([k$b]),cg,rv]});var l$b={provide:Ey,useExisting:ld(function(){return Uy})},Uy=function(a,b,c,d,e){Ey.call(this);this._ngModelWarningConfig=e;this._added=!1;this.name=null;this.update=new Dv;this._ngModelWarningSent=!1;this._parent=a;this._setValidators(b);this._setAsyncValidators(c);this.valueAccessor=dqa(d)};Y(Uy,Ey);g=Uy.prototype;g.ngOnChanges=function(a){this._added||this._setUpControl();bqa(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(Uy.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}}});Uy.\u0275fac=function(a){return new (a||Uy)(hf(Fy,13),hf(By,10),hf(Q9b,10),hf(Ay,10),hf(i$b,8))};
Uy.\u0275dir=Df({type:Uy,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},standalone:!1,features:[ch([l$b]),cg,rv]});var Vy=function(){this._validator=Cpa};Vy.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())};Vy.prototype.validate=function(a){return this._validator(a)};Vy.prototype.registerOnValidatorChange=function(a){this._onChange=a};Vy.prototype.enabled=function(a){return a!=null};Vy.\u0275fac=function(a){return new (a||Vy)};
Vy.\u0275dir=Df({type:Vy,features:[rv]});var m$b={provide:By,useExisting:ld(function(){return Wy}),multi:!0},Wy=function(){Vy.apply(this,arguments);this.inputName="max";this.normalizeInput=function(a){return typeof a==="number"?a:parseFloat(a)};this.createValidator=function(a){return zpa(a)}};Y(Wy,Vy);Wy.\u0275fac=function(){var a;return function(b){return(a||(a=ee(Wy)))(b||Wy)}}();
Wy.\u0275dir=Df({type:Wy,selectors:["input type number max  formControlName ".split(" "),"input type number max  formControl ".split(" "),"input type number max  ngModel ".split(" ")],hostVars:1,hostBindings:function(a,b){a&2&&jg("max",b._enabled?b.max:null)},inputs:{max:"max"},standalone:!1,features:[ch([m$b]),cg]});
var n$b={provide:By,useExisting:ld(function(){return Xy}),multi:!0},Xy=function(){Vy.apply(this,arguments);this.inputName="min";this.normalizeInput=function(a){return typeof a==="number"?a:parseFloat(a)};this.createValidator=function(a){return ypa(a)}};Y(Xy,Vy);Xy.\u0275fac=function(){var a;return function(b){return(a||(a=ee(Xy)))(b||Xy)}}();
Xy.\u0275dir=Df({type:Xy,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&&jg("min",b._enabled?b.min:null)},inputs:{min:"min"},standalone:!1,features:[ch([n$b]),cg]});var o$b={provide:By,useExisting:ld(function(){return Yy}),multi:!0},Yy=function(){Vy.apply(this,arguments);this.inputName="required";this.normalizeInput=uh;this.createValidator=function(){return Apa}};
Y(Yy,Vy);Yy.prototype.enabled=function(a){return a};Yy.\u0275fac=function(){var a;return function(b){return(a||(a=ee(Yy)))(b||Yy)}}();Yy.\u0275dir=Df({type:Yy,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(a,b){a&2&&jg("required",b._enabled?"":null)},inputs:{required:"required"},standalone:!1,features:[ch([o$b]),cg]});
var p$b={provide:By,useExisting:ld(function(){return Zy}),multi:!0},Zy=function(){Vy.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)}};Y(Zy,Vy);Zy.\u0275fac=function(){var a;return function(b){return(a||(a=ee(Zy)))(b||Zy)}}();
Zy.\u0275dir=Df({type:Zy,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(a,b){a&2&&jg("maxlength",b._enabled?b.maxlength:null)},inputs:{maxlength:"maxlength"},standalone:!1,features:[ch([p$b]),cg]});
var q$b={provide:By,useExisting:ld(function(){return $y}),multi:!0},$y=function(){Vy.apply(this,arguments);this.inputName="pattern";this.normalizeInput=function(a){return a};this.createValidator=function(a){return Dpa(a)}};Y($y,Vy);$y.\u0275fac=function(){var a;return function(b){return(a||(a=ee($y)))(b||$y)}}();
$y.\u0275dir=Df({type:$y,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(a,b){a&2&&jg("pattern",b._enabled?b.pattern:null)},inputs:{pattern:"pattern"},standalone:!1,features:[ch([q$b]),cg]});var az=function(){};az.\u0275fac=function(a){return new (a||az)};az.\u0275mod=Cf({type:az});az.\u0275inj=p({});var bz=function(){};bz.\u0275fac=function(a){return new (a||bz)};bz.\u0275mod=Cf({type:bz});bz.\u0275inj=p({imports:[az]});var cz=function(){};cz.\u0275fac=function(a){return new (a||cz)};cz.\u0275mod=Cf({type:cz});cz.\u0275inj=p({imports:[az]});var r$b=new zd("MatError"),dz=function(){this.id=r(Ww).getId("mat-mdc-error-");r(new sv("aria-live"),{optional:!0})||r(ef).nativeElement.setAttribute("aria-live","polite")};dz.\u0275fac=function(a){return new (a||dz)};dz.\u0275dir=Df({type:dz,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&&Dg("id",b.id)},inputs:{id:"id"},features:[ch([{provide:r$b,useExisting:dz}])]});var ez=function(){this.align="start";this.id=r(Ww).getId("mat-mdc-hint-")};ez.\u0275fac=function(a){return new (a||ez)};ez.\u0275dir=Df({type:ez,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(a,b){a&2&&(Dg("id",b.id),jg("align",null),sg("mat-mdc-form-field-hint-end",b.align==="end"))},inputs:{align:"align",id:"id"}});var fz=function(){};fz.\u0275fac=function(a){return new (a||fz)};fz.\u0275dir=Df({type:fz,selectors:[["mat-label"]]});var s$b=new zd("MatPrefix");var t$b=new zd("MatSuffix");var aq=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=aq.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(),u$b(this));this._started=!0};var u$b=function(a){queueMicrotask(function(){return a._onFinish()})};g=aq.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 mKa=function(a){var b=this;this._onDoneFns=[];this._onStartFns=[];this._destroyed=this._started=this._finished=!1;this._onDestroyFns=[];this.parentPlayer=null;this.totalTime=0;this.players=a;var c=0,d=0,e=0,f=this.players.length;f==0?queueMicrotask(function(){return b._onFinish()}):this.players.forEach(function(h){h.onDone(function(){++c==f&&b._onFinish()});h.onDestroy(function(){++d==f&&b._onDestroy()});h.onStart(function(){++e==f&&b._onStart()})});this.totalTime=this.players.reduce(function(h,
l){return Math.max(h,l.totalTime)},0)};g=mKa.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 v$b=ri("transitionMessages",[ui("enter",ti({opacity:1,transform:"translateY(0%)"})),vi("void => enter",[ti({opacity:0,transform:"translateY(-5px)"}),si("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])]);var gz=function(){};gz.\u0275fac=function(a){return new (a||gz)};gz.\u0275dir=Df({type:gz});var w$b=function(a){var b=this;this._box=a;this._destroyed=new Uf;this._resizeSubject=new Uf;this._elementObservables=new Map;typeof ResizeObserver!=="undefined"&&(this._resizeObserver=new ResizeObserver(function(c){return b._resizeSubject.next(c)}))};
w$b.prototype.observe=function(a){var b=this;this._elementObservables.has(a)||this._elementObservables.set(a,(new oe(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(Ue(function(c){return c.some(function(d){return d.target===a})}),Vf({bufferSize:1,refCount:!0}),Zf(this._destroyed)));return this._elementObservables.get(a)};
w$b.prototype.destroy=function(){this._destroyed.next();this._destroyed.complete();this._resizeSubject.complete();this._elementObservables.clear()};var hz=function(){this._observers=new Map;this._ngZone=r(kh)};hz.prototype.ngOnDestroy=function(){for(var a=k(this._observers),b=a.next();!b.done;b=a.next())b=k(b.value),b.next(),b.next().value.destroy();this._observers.clear();var c;(c=this._cleanupErrorListener)==null||c.call(this)};
hz.prototype.observe=function(a,b){b=(b==null?void 0:b.box)||"content-box";this._observers.has(b)||this._observers.set(b,new w$b(b));return this._observers.get(b).observe(a)};hz.\u0275fac=function(a){return new (a||hz)};hz.\u0275prov=n({token:hz,factory:hz.\u0275fac,providedIn:"root"});var x$b=new zd("FloatingLabelParent"),iz=function(){this._elementRef=r(ef);this._monitorResize=this._floating=!1;this._resizeObserver=r(hz);this._ngZone=r(kh);this._parent=r(x$b);this._resizeSubscription=new je};iz.prototype.ngOnDestroy=function(){this._resizeSubscription.unsubscribe()};
iz.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};iz.prototype._handleResize=function(){var a=this;setTimeout(function(){return a._parent._handleLabelResized()})};
iz.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(iz.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}}});
iz.\u0275fac=function(a){return new (a||iz)};iz.\u0275dir=Df({type:iz,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(a,b){a&2&&sg("mdc-floating-label--float-above",b.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}});var jz=function(){var a=this;this._elementRef=r(ef);this._handleTransitionEnd=function(d){var e=a._elementRef.nativeElement.classList,f=e.contains("mdc-line-ripple--deactivating");d.propertyName==="opacity"&&f&&e.remove("mdc-line-ripple--active","mdc-line-ripple--deactivating")};var b=r(kh),c=r(Iv);b.runOutsideAngular(function(){a._cleanupTransitionEnd=c.listen(a._elementRef.nativeElement,"transitionend",a._handleTransitionEnd)})};
jz.prototype.activate=function(){var a=this._elementRef.nativeElement.classList;a.remove("mdc-line-ripple--deactivating");a.add("mdc-line-ripple--active")};jz.prototype.deactivate=function(){this._elementRef.nativeElement.classList.add("mdc-line-ripple--deactivating")};jz.prototype.ngOnDestroy=function(){this._cleanupTransitionEnd()};jz.\u0275fac=function(a){return new (a||jz)};jz.\u0275dir=Df({type:jz,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]});var y$b=["notch"],kz=function(){this._elementRef=r(ef);this._ngZone=r(kh);this.open=!1};kz.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")};
kz.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)":""};kz.\u0275fac=function(a){return new (a||kz)};
kz.\u0275cmp=C({type:kz,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(a,b){a&1&&Rg(y$b,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&&sg("mdc-notched-outline--notched",b.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},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(),K(0,"div",1),I(1,"div",2,0),Jg(3),J(),K(4,"div",3))},encapsulation:2,changeDetection:0});var z$b=["textField"],A$b=["iconPrefixContainer"],B$b=["textPrefixContainer"],C$b=["iconSuffixContainer"],D$b=["textSuffixContainer"],E$b=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],F$b=new zd("MatFormField"),G$b=new zd("MAT_FORM_FIELD_DEFAULT_OPTIONS"),lz=function(){var a=this;this._elementRef=
r(ef);this._changeDetectorRef=r(Ov);this._dir=r(fx);this._platform=r(tw);this._idGenerator=r(Ww);this._defaults=r(G$b,{optional:!0});this._animationMode=r(Gv,{optional:!0});this._labelChild=oma();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=this._idGenerator.getId("mat-mdc-form-field-label-");this._hintLabelId=this._idGenerator.getId("mat-mdc-hint-");
this._subscriptAnimationState="";this._destroyed=new Uf;this._isFocused=null;this._needsOutlineLabelOffsetUpdate=!1;this._previousControl=null;this._injector=r(Ye);this.getLabelId=wh(function(){return a._hasFloatingLabel()?a._labelId:null});this._hasFloatingLabel=wh(function(){return!!a._labelChild()});var b=this._defaults;b&&(b.appearance&&(this.appearance=b.appearance),this._hideRequiredMarker=!(b==null||!b.hideRequiredMarker),b.color&&(this.color=b.color))};
lz.prototype.ngAfterViewInit=function(){this._updateFocusState();this._subscriptAnimationState="enter";this._changeDetectorRef.detectChanges()};lz.prototype.ngAfterContentInit=function(){this._initializeSubscript();this._initializePrefixAndSuffix();this._initializeOutlineLabelOffsetSubscriptions()};lz.prototype.ngAfterContentChecked=function(){this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._previousControl=this._control)};
lz.prototype.ngOnDestroy=function(){var a;(a=this._stateChanges)==null||a.unsubscribe();var b;(b=this._valueChanges)==null||b.unsubscribe();var c;(c=this._describedByChanges)==null||c.unsubscribe();this._destroyed.next();this._destroyed.complete()};var H$b=function(a){return a._textField||a._elementRef};g=lz.prototype;g._animateAndLockLabel=function(){this._hasFloatingLabel()&&(this.floatLabel="always")};
g._initializeControl=function(a){var b=this,c=this._control;a&&this._elementRef.nativeElement.classList.remove("mat-mdc-form-field-type-"+a.controlType);c.controlType&&this._elementRef.nativeElement.classList.add("mat-mdc-form-field-type-"+c.controlType);var d;(d=this._stateChanges)==null||d.unsubscribe();this._stateChanges=c.stateChanges.subscribe(function(){b._updateFocusState();b._changeDetectorRef.markForCheck()});var e;(e=this._describedByChanges)==null||e.unsubscribe();this._describedByChanges=
c.stateChanges.pipe(Xf([void 0,void 0]),z(function(){return[c.errorState,c.userAriaDescribedBy]}),ika(),Ue(function(h){var l=k(h);var q=k(l.next().value);h=q.next().value;q=q.next().value;var u=k(l.next().value);l=u.next().value;u=u.next().value;return h!==l||q!==u})).subscribe(function(){return b._syncDescribedByIds()});var f;(f=this._valueChanges)==null||f.unsubscribe();c.ngControl&&c.ngControl.valueChanges&&(this._valueChanges=c.ngControl.valueChanges.pipe(Zf(this._destroyed)).subscribe(function(){return b._changeDetectorRef.markForCheck()}))};
g._checkPrefixAndSuffixTypes=function(){this._hasIconPrefix=!!this._prefixChildren.find(function(a){return!a._isText});this._hasTextPrefix=!!this._prefixChildren.find(function(a){return a._isText});this._hasIconSuffix=!!this._suffixChildren.find(function(a){return!a._isText});this._hasTextSuffix=!!this._suffixChildren.find(function(a){return a._isText})};
g._initializePrefixAndSuffix=function(){var a=this;this._checkPrefixAndSuffixTypes();Te(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});Uha(function(){a._needsOutlineLabelOffsetUpdate&&(a._needsOutlineLabelOffsetUpdate=!1,a._updateOutlineLabelOffset())},{injector:this._injector});this._dir.change.pipe(Zf(this._destroyed)).subscribe(function(){return a._needsOutlineLabelOffsetUpdate=!0})};g._shouldAlwaysFloat=function(){return this.floatLabel==="always"};
g._hasOutline=function(){return this.appearance==="outline"};g._forceDisplayInfixLabel=function(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()};g._shouldLabelFloat=function(){return this._hasFloatingLabel()?this._control.shouldLabelFloat||this._shouldAlwaysFloat():!1};g._shouldForward=function(a){var b=this._control?this._control.ngControl:null;return b&&b[a]};
g._getDisplayedMessages=function(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"};g._handleLabelResized=function(){this._refreshOutlineNotchWidth()};g._refreshOutlineNotchWidth=function(){if(this._hasOutline()&&this._floatingLabel&&this._shouldLabelFloat()){var a;(a=this._notchedOutline)==null||a._setNotchWidth(this._floatingLabel.getWidth())}else{var b;(b=this._notchedOutline)==null||b._setNotchWidth(0)}};g._processHints=function(){this._syncDescribedByIds()};
g._validateHints=function(){};
g._syncDescribedByIds=function(){if(this._control){var a=[];this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy==="string"&&a.push.apply(a,t(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,t(this._errorChildren.map(function(d){return d.id})));this._control.setDescribedByIds(a)}};
g._updateOutlineLabelOffset=function(){if(this._hasOutline()&&this._floatingLabel){var a=this._floatingLabel.element;if(this._iconPrefixContainer||this._textPrefixContainer)if(this._isAttachedToDom()){var b,c=(b=this._iconPrefixContainer)==null?void 0:b.nativeElement,d;b=(d=this._textPrefixContainer)==null?void 0:d.nativeElement;var e;d=(e=this._iconSuffixContainer)==null?void 0:e.nativeElement;var f;e=(f=this._textSuffixContainer)==null?void 0:f.nativeElement;var h;c=(h=c==null?void 0:c.getBoundingClientRect().width)!=
null?h:0;var l;h=(l=b==null?void 0:b.getBoundingClientRect().width)!=null?l:0;var q;l=(q=d==null?void 0:d.getBoundingClientRect().width)!=null?q:0;var u;q=(u=e==null?void 0:e.getBoundingClientRect().width)!=null?u:0;a.style.transform="var(\n        --mat-mdc-form-field-label-transform,\n        translateY(-50%) translateX(calc("+((this._dir.value==="rtl"?"-1":"1")+" * ("+(c+h+"px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n    )"));this._elementRef.nativeElement.style.setProperty("--mat-form-field-notch-max-width",
"calc(100% - "+(c+h+l+q)+"px)")}else this._needsOutlineLabelOffsetUpdate=!0;else a.style.transform=""}};g._isAttachedToDom=function(){var a=this._elementRef.nativeElement;if(a.getRootNode){var b=a.getRootNode();return b&&b!==a}return document.documentElement.contains(a)};
da.Object.defineProperties(lz.prototype,{hideRequiredMarker:{configurable:!0,enumerable:!0,get:function(){return this._hideRequiredMarker},set:function(a){this._hideRequiredMarker=di(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}}});lz.\u0275fac=function(a){return new (a||lz)};
lz.\u0275cmp=C({type:lz,selectors:[["mat-form-field"]],contentQueries:function(a,b,c){a&1&&(Wla(b._labelChild,Sg(c,fz,5)),Sg(c,gz,5),Sg(c,s$b,5),Sg(c,t$b,5),Sg(c,r$b,5),Sg(c,ez,5));if(a&2){Nd.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(z$b,5),Rg(A$b,5),Rg(B$b,5),Rg(C$b,5),Rg(D$b,5),Rg(iz,5),Rg(kz,5),Rg(jz,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._iconSuffixContainer=c.first);Vg(c=Wg())&&(b._textSuffixContainer=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&&sg("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"],features:[ch([{provide:F$b,useExisting:lz},{provide:x$b,useExisting:lz}])],ngContentSelectors:"*;mat-label;[matPrefix], [matIconPrefix];[matTextPrefix];[matTextSuffix];[matSuffix], [matIconSuffix];mat-error, [matError];mat-hint:not([align='end']);mat-hint[align='end']".split(";"),decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],["textSuffixContainer",
""],["iconSuffixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper",
"mat-mdc-form-field-bottom-align"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(a,b){if(a&1){var c=v();Ig(E$b);D(0,kqa,1,1,"ng-template",null,0,ih);I(2,"div",6,1);M("click",function(){w(c);return x(b._control.onContainerClick())});D(4,lqa,1,0,"div",
7);I(5,"div",8);D(6,oqa,2,2,"div",9)(7,pqa,3,0,"div",10)(8,qqa,3,0,"div",11);I(9,"div",12);D(10,sqa,1,1,null,13);Jg(11);J();D(12,tqa,3,0,"div",14)(13,uqa,3,0,"div",15);J();D(14,vqa,1,0,"div",16);J();I(15,"div",17);D(16,wqa,2,1,"div",18)(17,yqa,5,2,"div",19);J()}if(a&2){var d;B(2);sg("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);
B(2);G(b._hasOutline()||b._control.disabled?-1:4);B(2);G(b._hasOutline()?6:-1);B();G(b._hasIconPrefix?7:-1);B();G(b._hasTextPrefix?8:-1);B(2);G(!b._hasOutline()||b._forceDisplayInfixLabel()?10:-1);B(2);G(b._hasTextSuffix?12:-1);B();G(b._hasIconSuffix?13:-1);B();G(b._hasOutline()?-1:14);B();sg("mat-mdc-form-field-subscript-dynamic-size",b.subscriptSizing==="dynamic");B();G((d=b._getDisplayedMessages())==="error"?16:d==="hint"?17:-1)}},dependencies:[iz,kz,dw,jz,ez],styles:['.mdc-text-field{display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field__input{width:100%;min-width:0;border:none;border-radius:0;background:none;padding:0;-moz-appearance:none;-webkit-appearance:none;height:28px}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}.mdc-text-field__input::placeholder{opacity:0}.mdc-text-field__input::-moz-placeholder{opacity:0}.mdc-text-field__input::-webkit-input-placeholder{opacity:0}.mdc-text-field__input:-ms-input-placeholder{opacity:0}.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-moz-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-webkit-input-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive:-ms-input-placeholder{opacity:0}.mdc-text-field--outlined .mdc-text-field__input,.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mdc-filled-text-field-caret-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mdc-outlined-text-field-caret-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}}.mdc-text-field--filled{height:56px;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-left-radius:var(--mdc-filled-text-field-container-shape, var(--mat-sys-corner-extra-small));border-top-right-radius:var(--mdc-filled-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color, var(--mat-sys-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 4%, transparent))}.mdc-text-field--outlined{height:56px;overflow:visible;padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)));padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)) + 4px)}[dir=rtl] .mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)) + 4px);padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)))}.mdc-floating-label{position:absolute;left:0;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label{right:0;left:auto;transform-origin:right top;text-align:right}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:auto}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label{left:auto;right:4px}.mdc-text-field--filled .mdc-floating-label{left:16px;right:auto}[dir=rtl] .mdc-text-field--filled .mdc-floating-label{left:auto;right:16px}.mdc-text-field--disabled .mdc-floating-label{cursor:default}@media(forced-colors: active){.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-filled-text-field-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-filled-text-field-hover-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-filled-text-field-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-filled-text-field-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-filled-text-field-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mdc-filled-text-field-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mdc-filled-text-field-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mdc-filled-text-field-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-outlined-text-field-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-hover-label-text-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-outlined-text-field-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-outlined-text-field-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mdc-outlined-text-field-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mdc-outlined-text-field-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mdc-outlined-text-field-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-floating-label--float-above{cursor:auto;transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1);font-size:.75rem}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline{text-align:right}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mat-mdc-notch-piece{box-sizing:border-box;height:100%;pointer-events:none;border-top:1px solid;border-bottom:1px solid}.mdc-text-field--focused .mat-mdc-notch-piece{border-width:2px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-outline-color, var(--mat-sys-outline));border-width:var(--mdc-outlined-text-field-outline-width, 1px)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-hover-outline-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-focus-outline-color, var(--mat-sys-primary))}.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-notched-outline .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-hover-outline-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-focus-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mat-mdc-notch-piece{border-width:var(--mdc-outlined-text-field-focus-outline-width, 2px)}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)))}[dir=rtl] .mdc-notched-outline__leading{border-left:none;border-right:1px solid;border-bottom-left-radius:0;border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__trailing{flex-grow:1;border-left:none;border-right:1px solid;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small))}[dir=rtl] .mdc-notched-outline__trailing{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:min(var(--mat-form-field-notch-max-width, 100%),100% - max(12px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)))*2)}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none;--mat-form-field-notch-max-width: 100%}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1;border-bottom-width:var(--mdc-filled-text-field-active-indicator-height, 1px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color, var(--mat-sys-on-surface))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color, var(--mat-sys-on-error-container))}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height, 2px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color, var(--mat-sys-primary))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color, var(--mat-sys-error))}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-text-field--disabled{pointer-events:none}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height, 56px);padding-top:var(--mat-form-field-filled-with-label-container-padding-top, 24px);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom, 8px)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding, 16px);padding-bottom:var(--mat-form-field-container-vertical-padding, 16px)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height, 56px)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height, 56px) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color, var(--mat-sys-error))}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font, var(--mat-sys-body-small-font));line-height:var(--mat-form-field-subscript-text-line-height, var(--mat-sys-body-small-line-height));font-size:var(--mat-form-field-subscript-text-size, var(--mat-sys-body-small-size));letter-spacing:var(--mat-form-field-subscript-text-tracking, var(--mat-sys-body-small-tracking));font-weight:var(--mat-form-field-subscript-text-weight, var(--mat-sys-body-small-weight))}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color, var(--mat-sys-on-surface))}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity, 0)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color, var(--mat-sys-neutral10))}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color, color-mix(in srgb, var(--mat-sys-neutral10) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color, var(--mat-sys-on-surface-variant))}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}@media(forced-colors: active){.mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}}@media(forced-colors: active){.mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-form-field-container-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-form-field-container-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-form-field-container-text-tracking, var(--mat-sys-body-large-tracking));font-weight:var(--mat-form-field-container-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color, var(--mat-sys-error))}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color, var(--mat-sys-on-error-container))}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color, var(--mat-sys-error))}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field-infix:has(textarea[cols]){width:auto}.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:[v$b]},changeDetection:0});var mz=function(){};mz.\u0275fac=function(a){return new (a||mz)};mz.\u0275mod=Cf({type:mz});mz.\u0275inj=p({imports:[Ox,Ow,lz,Ox]});var I$b=ri("transformPanel",[vi("void => enter-dropdown",si("120ms cubic-bezier(0, 0, 0.2, 1)",{type:5,steps:[ti({opacity:0,transform:"scale(1, 0.8)"}),ti({opacity:1,transform:"scale(1, 1)"})]})),vi("void => enter-dialog",si("150ms cubic-bezier(0, 0, 0.2, 1)",{type:5,steps:[ti({opacity:0,transform:"scale(0.7)"}),ti({transform:"none",opacity:1})]})),vi("* => void",si("100ms linear",ti({opacity:0})))]),J$b=ri("fadeInCalendar",[ui("void",ti({opacity:0})),ui("enter",ti({opacity:1})),vi("void => *",si("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))]);var K$b={provide:new zd("mat-datepicker-scroll-strategy",{providedIn:"root",factory:function(){var a=r(Kx);return function(){return a.scrollStrategies.reposition()}}}),deps:[Kx],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}},nz=function(){this._elementRef=r(ef);this._changeDetectorRef=r(Ov);this._globalModel=r(oy);this._dateAdapter=r(Px);this._rangeSelectionStrategy=r(J9b,{optional:!0});this._subscriptions=new je;this._animationDone=new Uf;this._isAnimating=!1;
this._actionsPortal=null;r(Aw).load(Bw);this._closeButtonText=r(ey).closeCalendarLabel};g=nz.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()};nz.\u0275fac=function(a){return new (a||nz)};
nz.\u0275cmp=C({type:nz,selectors:[["mat-datepicker-content"]],viewQuery:function(a,b){a&1&&Rg(xy,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&&Cla("@transformPanel.start",function(c){return b._handleAnimationEvent(c)})("@transformPanel.done",function(c){return b._handleAnimationEvent(c)});a&2&&(Eg("@transformPanel",b._animationState),tg(b.color?"mat-"+b.color:""),sg("mat-datepicker-content-touch",b.datepicker.touchUi))},
inputs:{color:"color"},exportAs:["matDatepickerContent"],decls:5,vars:27,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"yearSelected","monthSelected","viewChanged","_userSelection","_userDragDrop","id","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",
3,"focus","blur","click","color"]],template:function(a,b){a&1&&(I(0,"div",0)(1,"mat-calendar",1),M("yearSelected",function(d){return b.datepicker._selectYear(d)})("monthSelected",function(d){return b.datepicker._selectMonth(d)})("viewChanged",function(d){return b.datepicker._viewChanged(d)})("_userSelection",function(d){return b._handleUserSelection(d)})("_userDragDrop",function(d){return b._handleUserDragDrop(d)}),J(),D(2,zqa,0,0,"ng-template",2),I(3,"button",3),M("focus",function(){return b._closeButtonFocused=
!0})("blur",function(){return b._closeButtonFocused=!1})("click",function(){return b.datepicker.close()}),Q(4),J()());if(a&2){var c;sg("mat-datepicker-content-container-with-custom-header",b.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",b._actionsPortal);jg("aria-modal",!0)("aria-labelledby",(c=b._dialogLabelId)!==null&&c!==void 0?c:void 0);B();tg(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);B();E("cdkPortalOutlet",b._actionsPortal);B();sg("cdk-visually-hidden",
!b._closeButtonFocused);E("color",b.color||"primary");B();Yg(b._closeButtonText)}},dependencies:[Gw,xy,Ix,jy],styles:[".mat-datepicker-content{display:block;border-radius:4px;background-color:var(--mat-datepicker-calendar-container-background-color, var(--mat-sys-surface-container-high));color:var(--mat-datepicker-calendar-container-text-color, var(--mat-sys-on-surface));box-shadow:var(--mat-datepicker-calendar-container-elevation-shadow, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12));border-radius:var(--mat-datepicker-calendar-container-shape, var(--mat-sys-corner-large))}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar{height:auto}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.ng-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{display:block;max-height:80vh;box-shadow:var(--mat-datepicker-calendar-container-touch-elevation-shadow, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12));border-radius:var(--mat-datepicker-calendar-container-touch-shape, var(--mat-sys-corner-extra-large));position:relative;overflow:visible}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}\n"],
encapsulation:2,data:{animation:[I$b,J$b]},changeDetection:0});var L$b=new zd("MAT_INPUT_VALUE_ACCESSOR");var oz=function(){};oz.\u0275fac=function(a){return new (a||oz)};
oz.\u0275cmp=C({type:oz,selectors:[["ng-component"]],hostAttrs:["cdk-text-field-style-loader",""],decls:0,vars:0,template:function(){},styles:["textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0 !important;box-sizing:content-box !important;height:auto !important;overflow:hidden !important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0 !important;box-sizing:content-box !important;height:0 !important}@keyframes cdk-text-field-autofill-start{/*!*/}@keyframes cdk-text-field-autofill-end{/*!*/}.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms}\n"],encapsulation:2,
changeDetection:0});var M$b=Zh({passive:!0}),pz=function(){this._platform=r(tw);this._ngZone=r(kh);this._styleLoader=r(Aw);this._monitoredElements=new Map};
pz.prototype.monitor=function(a){var b=this;if(!this._platform.isBrowser)return Se;this._styleLoader.load(oz);var c=fi(a);if(a=this._monitoredElements.get(c))return a.subject;var d=new Uf,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,M$b);c.classList.add("cdk-text-field-autofill-monitored")});this._monitoredElements.set(c,{subject:d,unlisten:function(){c.removeEventListener("animationstart",e,M$b)}});return d};
pz.prototype.stopMonitoring=function(a){a=fi(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))};pz.prototype.ngOnDestroy=function(){var a=this;this._monitoredElements.forEach(function(b,c){return a.stopMonitoring(c)})};pz.\u0275fac=function(a){return new (a||pz)};pz.\u0275prov=n({token:pz,factory:pz.\u0275fac,providedIn:"root"});var qz=function(){var a=this;this._elementRef=r(ef);this._platform=r(tw);this._ngZone=r(kh);this._renderer=r(Iv);this._resizeEvents=new Uf;this._destroyed=new Uf;this._enabled=!0;this._previousMinRows=-1;this._document=r(ii,{optional:!0});this._isViewInited=!1;this._handleFocusEvent=function(b){a._hasFocus=b.type==="focus"};r(Aw).load(oz);this._textareaElement=this._elementRef.nativeElement};g=qz.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,N$b(this),this._ngZone.runOutsideAngular(function(){a._listenerCleanups=[a._renderer.listen("window","resize",function(){return a._resizeEvents.next()}),a._renderer.listen(a._textareaElement,"focus",a._handleFocusEvent),a._renderer.listen(a._textareaElement,"blur",a._handleFocusEvent)];a._resizeEvents.pipe(Hf(16)).subscribe(function(){return N$b(a,!0)})}),this._isViewInited=!0,
N$b(this,!0))};g.ngOnDestroy=function(){var a;(a=this._listenerCleanups)==null||a.forEach(function(b){return b()});this._resizeEvents.complete();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&&N$b(this)};
var N$b=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}};qz.prototype.reset=function(){this._initialHeight!==void 0&&(this._textareaElement.style.height=this._initialHeight)};qz.prototype._noopInputHandler=function(){};qz.prototype._scrollToCaretPosition=function(a){var b=a.selectionStart,c=a.selectionEnd;!this._destroyed.isStopped&&this._hasFocus&&a.setSelectionRange(b,c)};
da.Object.defineProperties(qz.prototype,{minRows:{configurable:!0,enumerable:!0,get:function(){return this._minRows},set:function(a){this._minRows=gi(a);this._setMinHeight()}},maxRows:{configurable:!0,enumerable:!0,get:function(){return this._maxRows},set:function(a){this._maxRows=gi(a);this._setMaxHeight()}},enabled:{configurable:!0,enumerable:!0,get:function(){return this._enabled},set:function(a){this._enabled!==a&&((this._enabled=a)?N$b(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()}}});qz.\u0275fac=function(a){return new (a||qz)};
qz.\u0275dir=Df({type:qz,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(a){a&1&&M("input",function(){})},inputs:{minRows:[0,"cdkAutosizeMinRows","minRows"],maxRows:[0,"cdkAutosizeMaxRows","maxRows"],enabled:[2,"cdkTextareaAutosize","enabled",uh],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"],features:[dg]});var rz=function(){};rz.\u0275fac=function(a){return new (a||rz)};rz.\u0275mod=Cf({type:rz});rz.\u0275inj=p({});var O$b="button checkbox file hidden image radio range reset submit".split(" "),P$b=new zd("MAT_INPUT_CONFIG"),sz=function(){var a=this;this._elementRef=r(ef);this._platform=r(tw);this.ngControl=r(Ey,{optional:!0,self:!0});this._autofillMonitor=r(pz);this._ngZone=r(kh);this._formField=r(F$b,{optional:!0});this._renderer=r(Iv);this._uid=r(Ww).getId("mat-input-");this._config=r(P$b,{optional:!0});this.focused=!1;this.stateChanges=new Uf;this.controlType="mat-input";this._disabled=this.autofilled=!1;
this._type="text";this._readonly=!1;this._neverEmptyInputTypes="date datetime datetime-local month time week".split(" ").filter(function(q){return woa().has(q)});this._iOSKeyupListener=function(q){q=q.target;q.value||q.selectionStart!==0||q.selectionEnd!==0||(q.setSelectionRange(1,1),q.setSelectionRange(0,0))};this._webkitBlinkWheelListener=function(){};var b=r(Ly,{optional:!0}),c=r(Ty,{optional:!0}),d=r(Tx),e=r(L$b,{optional:!0,self:!0}),f=this._elementRef.nativeElement,h=f.nodeName.toLowerCase();
e?Gf(e.value)?this._signalBasedValueAccessor=e:this._inputValueAccessor=e:this._inputValueAccessor=f;this._previousNativeValue=this.value;this.id=this.id;this._platform.IOS&&this._ngZone.runOutsideAngular(function(){a._cleanupIosKeyup=a._renderer.listen(f,"keyup",a._iOSKeyupListener)});this._errorStateTracker=new U8b(d,this.ngControl,c,b,this.stateChanges);this._isServer=!this._platform.isBrowser;this._isNativeSelect=h==="select";this._isTextarea=h==="textarea";this._isInFormField=!!this._formField;
var l;this.disabledInteractive=((l=this._config)==null?void 0:l.disabledInteractive)||!1;this._isNativeSelect&&(this.controlType=f.multiple?"mat-native-select-multiple":"mat-native-select");this._signalBasedValueAccessor&&Kma(function(){a._signalBasedValueAccessor.value();a.stateChanges.next()})};g=sz.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);var a;(a=this._cleanupIosKeyup)==null||a.call(this);var b;(b=this._cleanupWebkitWheel)==null||b.call(this)};
g.ngDoCheck=function(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==null&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next()));this._dirtyCheckNativeValue();this._dirtyCheckPlaceholder()};g.focus=function(a){this._elementRef.nativeElement.focus(a)};g.updateErrorState=function(){this._errorStateTracker.updateErrorState()};
g._focusChanged=function(a){if(a!==this.focused){if(!this._isNativeSelect&&a&&this.disabled&&this.disabledInteractive){var b=this._elementRef.nativeElement;b.type==="number"?(b.type="text",b.setSelectionRange(0,0),b.type="number"):b.setSelectionRange(0,0)}this.focused=a;this.stateChanges.next()}};g._onInput=function(){};g._dirtyCheckNativeValue=function(){var a=this._elementRef.nativeElement.value;this._previousNativeValue!==a&&(this._previousNativeValue=a,this.stateChanges.next())};
g._dirtyCheckPlaceholder=function(){var a=this._getPlaceholder();if(a!==this._previousPlaceholder){var b=this._elementRef.nativeElement;(this._previousPlaceholder=a)?b.setAttribute("placeholder",a):b.removeAttribute("placeholder")}};g._getPlaceholder=function(){return this.placeholder||null};g._validateType=function(){O$b.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){var b=this._elementRef.nativeElement,c=b.getAttribute("aria-describedby");if(c){var d=this._formFieldDescribedBy||a;c=a.concat(c.split(" ").filter(function(e){return e&&!d.includes(e)}))}else c=a;this._formFieldDescribedBy=a;c.length?b.setAttribute("aria-describedby",c.join(" ")):b.removeAttribute("aria-describedby")};g.onContainerClick=function(){this.focused||this.focus()};
g._isInlineSelect=function(){var a=this._elementRef.nativeElement;return this._isNativeSelect&&(a.multiple||a.size>1)};g._ensureWheelDefaultBehavior=function(){var a;(a=this._cleanupWebkitWheel)==null||a.call(this);this._type==="number"&&(this._platform.BLINK||this._platform.WEBKIT)&&(this._cleanupWebkitWheel=this._renderer.listen(this._elementRef.nativeElement,"wheel",this._webkitBlinkWheelListener))};
g._getReadonlyAttribute=function(){return this._isNativeSelect?null:this.readonly||this.disabled&&this.disabledInteractive?"true":null};
da.Object.defineProperties(sz.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=di(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:Z9b(b))!=null?d:!1},
set:function(a){this._required=di(a)}},type:{configurable:!0,enumerable:!0,get:function(){return this._type},set:function(a){var b=this._type;this._type=a||"text";this._validateType();!this._isTextarea&&woa().has(this._type)&&(this._elementRef.nativeElement.type=this._type);this._type!==b&&this._ensureWheelDefaultBehavior()}},errorStateMatcher:{configurable:!0,enumerable:!0,get:function(){return this._errorStateTracker.matcher},set:function(a){this._errorStateTracker.matcher=a}},value:{configurable:!0,
enumerable:!0,get:function(){return this._signalBasedValueAccessor?this._signalBasedValueAccessor.value():this._inputValueAccessor.value},set:function(a){a!==this.value&&(this._signalBasedValueAccessor?this._signalBasedValueAccessor.value.set(a):this._inputValueAccessor.value=a,this.stateChanges.next())}},readonly:{configurable:!0,enumerable:!0,get:function(){return this._readonly},set:function(a){this._readonly=di(a)}},errorState:{configurable:!0,enumerable:!0,get:function(){return this._errorStateTracker.errorState},
set:function(a){this._errorStateTracker.errorState=a}},empty:{configurable:!0,enumerable:!0,get:function(){return!this._isNeverEmpty()&&!this._elementRef.nativeElement.value&&!this._isBadInput()&&!this.autofilled}},shouldLabelFloat:{configurable:!0,enumerable:!0,get:function(){if(this._isNativeSelect){var a=this._elementRef.nativeElement,b=a.options[0];return this.focused||a.multiple||!this.empty||!!(a.selectedIndex>-1&&b&&b.label)}return this.focused&&!this.disabled||!this.empty}}});
sz.\u0275fac=function(a){return new (a||sz)};
sz.\u0275dir=Df({type:sz,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:21,hostBindings:function(a,b){a&1&&M("focus",function(){return b._focusChanged(!0)})("blur",function(){return b._focusChanged(!1)})("input",function(){return b._onInput()});a&2&&(Dg("id",b.id)("disabled",b.disabled&&!b.disabledInteractive)("required",b.required),jg("name",
b.name||null)("readonly",b._getReadonlyAttribute())("aria-disabled",b.disabled&&b.disabledInteractive?"true":null)("aria-invalid",b.empty&&b.required?null:b.errorState)("aria-required",b.required)("id",b.id),sg("mat-input-server",b._isServer)("mat-mdc-form-field-textarea-control",b._isInFormField&&b._isTextarea)("mat-mdc-form-field-input-control",b._isInFormField)("mat-mdc-input-disabled-interactive",b.disabledInteractive)("mdc-text-field__input",b._isInFormField)("mat-mdc-native-select-inline",b._isInlineSelect()))},
inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly",disabledInteractive:[2,"disabledInteractive","disabledInteractive",uh]},exportAs:["matInput"],features:[ch([{provide:gz,useExisting:sz}]),dg,rv]});var uz=function(){};uz.\u0275fac=function(a){return new (a||uz)};uz.\u0275mod=Cf({type:uz});uz.\u0275inj=p({imports:[Ox,mz,mz,rz,Ox]});var Q$b=["button"],R$b=[[["","matDatepickerToggleIcon",""]]],S$b=function(){};S$b.\u0275fac=function(a){return new (a||S$b)};S$b.\u0275dir=Df({type:S$b,selectors:[["","matDatepickerToggleIcon",""]]});var vz=function(){this._intl=r(ey);this._changeDetectorRef=r(Ov);this._stateChanges=je.EMPTY;var a=r(new sv("tabindex"),{optional:!0});this.tabIndex=(a=Number(a))||a===0?a:null};g=vz.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:Ae(),c=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:Ae(),d=this.datepicker?Te(this.datepicker.openedStream,this.datepicker.closedStream):Ae();this._stateChanges.unsubscribe();this._stateChanges=Te(this._intl.changes,b,c,d).subscribe(function(){return a._changeDetectorRef.markForCheck()})};
da.Object.defineProperties(vz.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}}});vz.\u0275fac=function(a){return new (a||vz)};
vz.\u0275cmp=C({type:vz,selectors:[["mat-datepicker-toggle"]],contentQueries:function(a,b,c){a&1&&Sg(c,S$b,5);if(a&2){var d;Vg(d=Wg())&&(b._customIcon=d.first)}},viewQuery:function(a,b){a&1&&Rg(Q$b,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&&M("click",function(c){return b._open(c)});a&2&&(jg("tabindex",null)("data-mat-calendar",b.datepicker?b.datepicker.id:null),sg("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",uh],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[dg,rv],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(R$b),I(0,"button",1,0),D(2,Aqa,2,0,":svg:svg",2),Jg(3),J());a&2&&(E("disabled",b.disabled)("disableRipple",b.disableRipple),jg("aria-haspopup",b.datepicker?"dialog":null)("aria-label",
b.ariaLabel||b._intl.openCalendarLabel)("tabindex",b.disabled?-1:b.tabIndex),B(2),G(b._customIcon?-1:2))},dependencies:[ly],styles:[".mat-datepicker-toggle{pointer-events:auto;color:var(--mat-datepicker-toggle-icon-color, var(--mat-sys-on-surface-variant))}.mat-datepicker-toggle-active{color:var(--mat-datepicker-toggle-active-state-icon-color, var(--mat-sys-on-surface-variant))}@media(forced-colors: active){.mat-datepicker-toggle-default-icon{color:CanvasText}}\n"],encapsulation:2,changeDetection:0});var wz=function(){};wz.\u0275fac=function(a){return new (a||wz)};wz.\u0275mod=Cf({type:wz});wz.\u0275inj=p({providers:[ey,K$b],imports:[ny,Nx,Qw,Jx,Ox,nz,vz,yy,rx]});var Bqa=/^[a-z][a-z\d-]*$/i,Cqa="APPLET BASE EMBED IFRAME LINK MATH META OBJECT SCRIPT STYLE SVG TEMPLATE".split(" "),Fqa="AREA BR COL COMMAND HR IMG INPUT KEYGEN PARAM SOURCE TRACK WBR".split(" "),Gqa=["action","formaction","href"];var Iqa=new Map([["zwieback_id:","zwieback"],["android_id:","android"],["anonymous_id:","anonymous"]]);var xz=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(xz,V);xz.prototype.getId=function(){return Kh(this,1)};xz.prototype.setId=function(a){return ak(this,1,a)};xz.prototype.getSourceId=function(){return Fk(this,2,0)};xz.prototype.setSourceId=function(a){return ck(this,2,a)};var tk=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(tk,V);g=tk.prototype;g.getSeconds=function(){return dv(this,1)};g.getSeconds_asLegacyNumberOrString=function(){return Qk(this,1)};g.getSeconds_asString=function(){return Wk(this,1)};g.setSeconds=function(a){return jm(this,1,a)};g.getNanos=function(){return Xj(this,2)};g.setNanos=function(a){return pk(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 T$b=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(T$b,V);g=T$b.prototype;g.getUrl=function(){return Kh(this,1)};g.setUrl=function(a){return ak(this,1,a)};g.getHeight=function(){return Xj(this,2)};g.setHeight=function(a){return pk(this,2,a)};g.getWidth=function(){return Xj(this,3)};g.setWidth=function(a){return pk(this,3,a)};var yz=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(yz,V);yz.prototype.getDuration=function(){return W(this,tk,2)};var U$b=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(U$b,V);var V$b=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(V$b,V);g=V$b.prototype;g.getEmailList=function(){return Tj(this,1,Uj())};g.setEmailList=function(a){return bk(this,1,a)};g.addEmail=function(a){return zc(this,1,Yb,a,void 0,$b)};g.removeEmail=function(a){return zc(this,1,Yb,void 0,a,$b,void 0,1,!1,!0)};g.getEmail=function(a){return gv(this,1,a)};g.setEmail=function(a){return lv(this,1,a)};g.getGroupId=function(a){return gv(this,2,a)};g.setGroupId=function(a){lv(this,2,a)};var W$b=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(W$b,V);var X$b=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(X$b,V);X$b.prototype.getDownloadUrl=function(){return Kh(this,5)};var Y$b=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Y$b,V);var Z$b=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Z$b,V);var $$b=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y($$b,V);$$b.prototype.getPhotoId=function(){return Kh(this,1)};var aac=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(aac,V);var bac=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(bac,V);var cac=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(cac,V);var zz=[2,4,5,6,7];var dac=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(dac,V);var Co=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Co,V);Co.prototype.getTypeName=function(){return Kh(this,1).split("/").pop()};Co.prototype.getValue=function(){var a=Hk(this,2);if(Array.isArray(a)||a instanceof V)throw Error("$a");return Mp(this,2)};Co.prototype.setValue=function(a){if(a==null)a=this;else if(Array.isArray(a))a=Np(this,2,Kda(a));else if(typeof a==="string"||a instanceof jb||$a(a))a=mm(this,2,a);else throw Error("ma`"+a);return a};var Az=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Az,V);g=Az.prototype;g.getId=function(){return W(this,xz,1)};g.setId=function(a){return X(this,xz,1,a)};g.getName=function(){return Kh(this,2)};g.setName=function(a){return ak(this,2,a)};g.getDescription=function(){return Kh(this,3)};g.setDescription=function(a){return ak(this,3,a)};g.getParentId=function(){return Kh(this,4)};g.setParentId=function(a){return ak(this,4,a)};g.getType=function(){return Fk(this,6,0)};
g.setType=function(a){return ck(this,6,a)};g.getMimeType=function(){return Kh(this,7)};g.setMimeType=function(a){ak(this,7,a)};g.getUrl=function(){return Kh(this,8)};g.setUrl=function(a){return ak(this,8,a)};g.getIconUrl=function(){return Kh(this,11)};g.setIconUrl=function(a){return ak(this,11,a)};var Bz=function(a){return lk(a,T$b,10,Uj())};g=Az.prototype;g.getLastModifiedTimestamp=function(){return W(this,rk,12)};g.getVideoMetadata=function(){return W(this,yz,34)};
g.hasVideoMetadata=function(){return Jk(this,yz,34)};g.setOwnedByMe=function(a){return Cm(this,39,a)};g.getOwner=function(){return gv(this,40)};g.setOwner=function(a){return lv(this,40,a)};g.getStarred=function(){return Ak(this,44)};var Cz=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Cz,V);g=Cz.prototype;g.getShared=function(){return Ak(this,1)};g.setShared=function(a){Cm(this,1,a)};g.getVideoMetadata=function(){return W(this,yz,3)};g.hasVideoMetadata=function(){return Jk(this,yz,3)};
g.getDownloadUrl=function(){return Kh(this,10)};var eac=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(eac,V);eac.prototype.getLabel=function(){return Kh(this,2)};eac.prototype.setLabel=function(a){return ak(this,2,a)};var fac=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(fac,V);g=fac.prototype;g.getStatus=function(){return Fk(this,1,0)};g.setStatus=function(a){return ck(this,1,a)};g.getItemList=function(a){return lk(this,Az,2,Uj(a))};g.addItem=function(a,b){return Xu(this,2,Az,a,b)};g.setItem=function(a,b){return Uu(this,2,Az,a,b)};g.removeItem=function(a){return Yu(this,2,Az,a)};g.getItemCount=function(){return m4b(this,Az,2)};g.getErrorCode=function(){return Fk(this,4,0)};
g.getInternalOnlyV1ViewInfo=function(){return W(this,eac,7)};var gac=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(gac,V);g=gac.prototype;g.getSourceId=function(){return Fk(this,1,0)};g.setSourceId=function(a){return ck(this,1,a)};g.getName=function(){return Kh(this,8)};g.setName=function(a){return ak(this,8,a)};g.getInternalOnlyV1ViewInfo=function(){return W(this,eac,18)};var hac=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(hac,V);g=hac.prototype;g.getCommand=function(){return Fk(this,1,0)};g.setCommand=function(a){return ck(this,1,a)};g.getSource=function(){return W(this,gac,2)};g.setSource=function(a){return X(this,gac,2,a)};g.hasSource=function(){return Jk(this,gac,2)};g.setVisible=function(a){return Cm(this,5,a)};g.getItemList=function(a){return lk(this,Az,7,Uj(a))};g.addItem=function(a,b){return Xu(this,7,Az,a,b)};
g.setItem=function(a,b){return Uu(this,7,Az,a,b)};g.removeItem=function(a){return Yu(this,7,Az,a)};g.getItemCount=function(){return m4b(this,Az,7)};g.getQuery=function(){return Kh(this,8)};g.setQuery=function(a){return ak(this,8,a)};g.clearQuery=function(){Np(this,8)};g.getAppId=function(){return Kh(this,9)};g.setAppId=function(a){ak(this,9,a)};var iac=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(iac,V);g=iac.prototype;g.getCommand=function(){return Fk(this,1,0)};g.setCommand=function(a){return ck(this,1,a)};g.getItemList=function(a){return lk(this,Az,4,Uj(a))};g.addItem=function(a,b){return Xu(this,4,Az,a,b)};g.setItem=function(a,b){return Uu(this,4,Az,a,b)};g.removeItem=function(a){return Yu(this,4,Az,a)};g.getItemCount=function(){return m4b(this,Az,4)};var jac=Mh(iac);var kac=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(kac,V);var lac=[0,i7b,l7b,-1];var Dz=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Dz,V);Dz.prototype.setBase=function(a){return X(this,kac,1,a)};var Ez=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Ez,V);var Bo=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Bo,V);Bo.prototype.getValue=function(){return dv(this,1)};Bo.prototype.getValue_asLegacyNumberOrString=function(){return Qk(this,1)};Bo.prototype.setValue=function(a){return jm(this,1,a)};var ok=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(ok,V);g=ok.prototype;g.getYear=function(){return Xj(this,1)};g.setYear=function(a){return pk(this,1,a)};g.getMonth=function(){return Xj(this,2)};g.setMonth=function(a){return pk(this,2,a)};g.getDay=function(){return Xj(this,3)};var $n=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y($n,V);var ao=function(a,b){zc(a,1,Yb,b,void 0,$b)};var vDa=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(vDa,V);vDa.prototype.getValue=function(){return Xj(this,1)};vDa.prototype.setValue=function(a){return pk(this,1,a)};var xDa=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(xDa,V);xDa.prototype.getValue=function(){return Ak(this,1)};xDa.prototype.setValue=function(a){return Cm(this,1,a)};var mp=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(mp,V);g=mp.prototype;g.getHours=function(){return Xj(this,1)};g.setHours=function(a){return pk(this,1,a)};g.getMinutes=function(){return Xj(this,2)};g.setMinutes=function(a){return pk(this,2,a)};g.getSeconds=function(){return Xj(this,3)};g.setSeconds=function(a){return pk(this,3,a)};g.getNanos=function(){return Xj(this,4)};g.setNanos=function(a){return pk(this,4,a)};var wDa=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(wDa,V);wDa.prototype.getValue=function(){return Kh(this,1)};wDa.prototype.setValue=function(a){return ak(this,1,a)};var Fz=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Fz,V);g=Fz.prototype;g.getCode=function(){return Xj(this,1)};g.setCode=function(a){return dl(this,1,a)};g.getCodeOrUndefined=function(){return hv(this,1)};g.getMessage=function(){return Kh(this,3)};g.setMessage=function(a){return fl(this,3,a)};var mac=[0,lac,i7b];var nac=function(a){this.streamzService=a;this.metricName="/client_streamz/buganizer/load_time";a.addNewEventMetric(this.metricName,Ai("action"),Ai("frontend_access_mode"),Ai("environment_type"))};nac.prototype.record=function(a,b,c,d){this.streamzService.record(this.metricName,a,b,c,d)};nac.prototype.getMetric=function(){return this.streamzService.getMetric(this.metricName)};
var oac=function(a){this.streamzService=a;this.metricName="/client_streamz/buganizer/user_action_counts";a.addNewCounter(this.metricName,Ai("action"),Ai("frontend_access_mode"),Ai("environment_type"))};oac.prototype.increment=function(a,b,c){this.streamzService.incrementCounter(this.metricName,a,b,c)};oac.prototype.getMetric=function(){return this.streamzService.getMetric(this.metricName)};
var pac=function(a){this.streamzService=a;this.metricName="/client_streamz/buganizer/user_latency";a.addNewEventMetric(this.metricName,Ai("action"),Ai("frontend_access_mode"),Ai("environment_type"))};pac.prototype.record=function(a,b,c,d){this.streamzService.record(this.metricName,a,b,c,d)};pac.prototype.getMetric=function(){return this.streamzService.getMetric(this.metricName)};var qac=function(a){this.streamzService=a;this.metricName="/client_streamz/one_developer_workflow/events/usage";a.addNewCounter(this.metricName,Ai("name"),Ai("source"),{fieldType:1,fieldName:"state"})};qac.prototype.increment=function(a,b,c){this.streamzService.incrementCounter(this.metricName,a,b,c)};qac.prototype.getMetric=function(){return this.streamzService.getMetric(this.metricName)};
var rac=function(a){this.streamzService=a;this.metricName="/client_streamz/one_developer_workflow/events/performance";a.addNewEventMetric(this.metricName,Ai("source"),Ai("name"))};rac.prototype.record=function(a,b,c){this.streamzService.record(this.metricName,a,b,c)};rac.prototype.getMetric=function(){return this.streamzService.getMetric(this.metricName)};
var sac=function(a){this.streamzService=a;this.metricName="/client_streamz/one_developer_workflow/rpc/request_count";a.addNewCounter(this.metricName,Ai("source"),Ai("method_id"))};sac.prototype.increment=function(a,b){this.streamzService.incrementCounter(this.metricName,a,b)};sac.prototype.getMetric=function(){return this.streamzService.getMetric(this.metricName)};
var tac=function(a){this.streamzService=a;this.metricName="/client_streamz/one_developer_workflow/rpc/error_count";a.addNewCounter(this.metricName,Ai("source"),Ai("method_id"),{fieldType:2,fieldName:"code"})};tac.prototype.increment=function(a,b,c){this.streamzService.incrementCounter(this.metricName,a,b,c)};tac.prototype.getMetric=function(){return this.streamzService.getMetric(this.metricName)};var Gz=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Gz,V);Gz.prototype.getResourcePath=function(){return Kh(this,2)};Gz.prototype.setResourcePath=function(a){return ak(this,2,a)};var cs=function(a,b){this.x=a!==void 0?a:0;this.y=b!==void 0?b:0};cs.prototype.clone=function(){return new cs(this.x,this.y)};cs.prototype.equals=function(a){return a instanceof cs&&(this==a?!0:this&&a?this.x==a.x&&this.y==a.y:!1)};var U$a=function(a,b){return new cs(a.x-b.x,a.y-b.y)};g=cs.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 cs?(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 Hz=function(a,b){this.width=a;this.height=b},X$a=function(a,b){return a==b?!0:a&&b?a.width==b.width&&a.height==b.height:!1};g=Hz.prototype;g.clone=function(){return new Hz(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 wac=function(a,b){this.stringConstValueWithSecurityContract__googStringSecurityPrivate_=a===uac&&b||"";this.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_=vac};wac.prototype.toString=function(){return this.stringConstValueWithSecurityContract__googStringSecurityPrivate_};var vac={},uac={};var Mq=function(a){return a?new Iz(Jz(a)):T2b||(T2b=new Iz)},xac=function(a,b){return typeof b==="string"?a.getElementById(b):b},Kz=function(a,b){return(b||document).getElementsByTagName(String(a))},Lz=function(a,b,c,d){a=d||a;return(b=b&&b!="*"?String(b).toUpperCase():"")||c?a.querySelectorAll(b+(c?"."+c:"")):a.getElementsByTagName("*")},zac=function(a,b){Fc(b,function(c,d){d=="style"?a.style.cssText=c:d=="class"?a.className=c:d=="for"?a.htmlFor=c:yac.hasOwnProperty(d)?a.setAttribute(yac[d],c):d.lastIndexOf("aria-",
0)==0||d.lastIndexOf("data-",0)==0?a.setAttribute(d,c):a[d]=c})},yac={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"},Mz=function(a){a=(a||window).document;a=a.compatMode=="CSS1Compat"?a.documentElement:a.body;return new Hz(a.clientWidth,a.clientHeight)},Bac=function(a){var b=Aac(a);a=a.defaultView;return new cs(a.pageXOffset||
b.scrollLeft,a.pageYOffset||b.scrollTop)},Aac=function(a){return a.scrollingElement?a.scrollingElement:Qu||a.compatMode!="CSS1Compat"?a.body||a.documentElement:a.documentElement},Nz=function(a){return a?a.defaultView:window},Dac=function(a,b,c){return Cac(document,arguments)},Cac=function(a,b){var c=b[1],d=Vq(a,String(b[0]));c&&(typeof c==="string"?d.className=c:Array.isArray(c)?d.className=c.join(" "):zac(d,c));b.length>2&&Eac(a,d,b,2);return d},Eac=function(a,b,c,d){function e(l){l&&b.appendChild(typeof l===
"string"?a.createTextNode(l):l)}for(;d<c.length;d++){var f=c[d];if(!Xa(f)||Ya(f)&&f.nodeType>0)e(f);else{a:{if(f&&typeof f.length=="number"){if(Ya(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}Oa(h?Wa(f):f,e)}}},Vq=function(a,b){b=String(b);a.contentType==="application/xhtml+xml"&&(b=b.toLowerCase());return a.createElement(b)},Fac=function(a,b){Eac(Jz(a),a,arguments,1)},Oz=function(a){for(var b;b=a.firstChild;)a.removeChild(b)},
Pz=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null},Qz=function(a){return Ya(a)&&a.nodeType==1},Ycb=function(a){return a.parentElement||null},I9a=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},Jz=function(a){return a.nodeType==9?a:a.ownerDocument||a.document},Gac=function(a){return a.contentDocument||
a.contentWindow.document},Rz=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 Oz(a),a.appendChild(Jz(a).createTextNode(String(b)))},Hac={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},Iac={IMG:" ",BR:"\n"},Jac=function(a){a=a.tabIndex;return typeof a==="number"&&a>=0&&a<32768},Lac=function(a){var b=[];Kac(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},Kac=function(a,b,c){if(!(a.nodeName in Hac))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 Iac)b.push(Iac[a.nodeName]);else for(a=a.firstChild;a;)Kac(a,b,c),a=a.nextSibling},q$a=function(){var a=Nz();return a.devicePixelRatio!==void 0?a.devicePixelRatio:a.matchMedia?Mac(3)||Mac(2)||Mac(1.5)||
Mac(1)||.75:1},Mac=function(a){return Nz().matchMedia("(min-resolution: "+a+"dppx),(min--moz-device-pixel-ratio: "+a+"),(min-resolution: "+a*96+"dpi)").matches?a:0},Iz=function(a){this.document_=a||ya.document||document};g=Iz.prototype;g.getDomHelper=Mq;g.getElement=function(a){return xac(this.document_,a)};g.$=Iz.prototype.getElement;g.getElementsByTagName=function(a,b){return(b||this.document_).getElementsByTagName(String(a))};
g.getElementsByTagNameAndClass=function(a,b,c){return Lz(this.document_,a,b,c)};g.$$=Iz.prototype.getElementsByTagNameAndClass;g.setProperties=zac;g.getViewportSize=function(a){return Mz(a||this.getWindow())};g.createDom=function(a,b,c){return Cac(this.document_,arguments)};g.createElement=function(a){return Vq(this.document_,a)};g.createTextNode=function(a){return this.document_.createTextNode(String(a))};g.getWindow=function(){return this.document_.defaultView};g.appendChild=function(a,b){a.appendChild(b)};
g.append=Fac;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=Oz;g.removeNode=Pz;
g.getChildren=function(a){return a.children!=void 0?a.children:Array.prototype.filter.call(a.childNodes,function(b){return b.nodeType==1})};g.getParentElement=Ycb;g.contains=I9a;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")||Jac(a)):b=a.hasAttribute("tabindex")&&Jac(a);return b};var Sz=typeof AsyncContext!=="undefined"&&typeof AsyncContext.Snapshot==="function"?function(a){return a&&AsyncContext.Snapshot.wrap(a)}:function(a){return a};var Nac=function(a,b){this.limit_=100;this.create_=a;this.reset_=b;this.occupants_=0;this.head_=null};Nac.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};Nac.prototype.put=function(a){this.reset_(a);this.occupants_<this.limit_&&(this.occupants_++,a.next=this.head_,this.head_=a)};var Oac=[],Pac=[],Qac=!1,Rac=function(a){Oac[Oac.length]=a;if(Qac)for(var b=0;b<Pac.length;b++)a(Lu(Pac[b].wrap,Pac[b]))};Rac(function(){});var Sac=function(){this.workTail_=this.workHead_=null};Sac.prototype.add=function(a,b){var c=Lqa.get();c.set(a,b);this.workTail_?this.workTail_.next=c:this.workHead_=c;this.workTail_=c};Sac.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 Lqa=new Nac(function(){return new Tac},function(a){return a.reset()}),Tac=function(){this.next=this.scope=this.fn=null};
Tac.prototype.set=function(a,b){this.fn=a;this.scope=b;this.next=null};Tac.prototype.reset=function(){this.next=this.scope=this.fn=null};var Uac,Mqa=!1,Kqa=new Sac,Tz=function(a,b){Uac||Vac();Mqa||(Uac(),Mqa=!0);Kqa.add(a,b)},Vac=function(){var a=Promise.resolve(void 0);Uac=function(){a.then(Nqa)}};var Wac=function(a){return function(){return a}},Uz=function(){},Xac=function(a){return a},sQa=function(){var a=rQa;return function(){return!a.apply(this,arguments)}},Yac=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}},Zac=function(a,b){var c=0;return function(d){ya.clearTimeout(c);var e=arguments;c=ya.setTimeout(function(){a.apply(void 0,e)},b)}},$ac=function(a,b){var c=0,d=!1,e=[],f=function(){c=0;d&&(d=!1,h())},h=function(){c=ya.setTimeout(f,b);var l=e;e=[];a.apply(void 0,l)};
return function(l){e=arguments;c?d=!0:h()}},abc=function(a){var b=0,c=function(){b=0};return function(d){b||(b=ya.setTimeout(c,1E3),a.apply(void 0,arguments))}};var bbc=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};var Wz=function(a){this.state_=0;this.result_=void 0;this.callbackEntriesTail_=this.callbackEntries_=this.parent_=null;this.hadUnhandledRejection_=this.executing_=!1;if(a!=Uz)try{var b=this;a.call(void 0,function(c){Vz(b,2,c)},function(c){Vz(b,3,c)})}catch(c){Vz(this,3,c)}},cbc=function(){this.next=this.context=this.onRejected=this.onFulfilled=this.child=null;this.always=!1};cbc.prototype.reset=function(){this.context=this.onRejected=this.onFulfilled=this.child=null;this.always=!1};
var dbc=new Nac(function(){return new cbc},function(a){a.reset()}),ebc=function(a,b,c){var d=dbc.get();d.onFulfilled=a;d.onRejected=b;d.context=c;return d},fbc=function(a){if(a instanceof Wz)return a;var b=new Wz(Uz);Vz(b,2,a);return b},gbc=function(a){return new Wz(function(b,c){c(a)})},ibc=function(a,b,c){hbc(a,b,c,null)||Tz(Mu(b,a))},jbc=function(a){return new Wz(function(b,c){a.length||b(void 0);for(var d,e=0;e<a.length;e++)d=a[e],ibc(d,b,c)})},kbc=function(a){return new Wz(function(b,c){var d=
a.length,e=[];if(d)for(var f=function(u,A){d--;e[u]=A;d==0&&b(e)},h=function(u){c(u)},l,q=0;q<a.length;q++)l=a[q],ibc(l,Mu(f,q),h);else b(e)})},lbc=function(a){return new Wz(function(b,c){var d=a.length,e=[];if(d)for(var f=function(u){b(u)},h=function(u,A){d--;e[u]=A;d==0&&c(e)},l,q=0;q<a.length;q++)l=a[q],ibc(l,f,Mu(h,q));else b(void 0)})},nbc=function(){var a,b,c=new Wz(function(d,e){a=d;b=e});return new mbc(c,a,b)};
Wz.prototype.then=function(a,b,c){return obc(this,Sz(typeof a==="function"?a:null),Sz(typeof b==="function"?b:null),c)};Wz.prototype.$goog_Thenable=!0;var qbc=function(a,b,c,d){pbc(a,ebc(b||Uz,c||null,d))},rbc=function(a,b){b=Sz(b);b=ebc(b,b);b.always=!0;pbc(a,b);return a};Wz.prototype.finally=function(a){var b=this;a=Sz(a);return new Promise(function(c,d){qbc(b,function(e){a();c(e)},function(e){a();d(e)})})};Wz.prototype.thenCatch=function(a,b){return obc(this,null,Sz(a),b)};Wz.prototype.catch=Wz.prototype.thenCatch;
Wz.prototype.cancel=function(a){if(this.state_==0){var b=new Xz(a);Tz(function(){sbc(this,b)},this)}};
var sbc=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?sbc(c,b):(f?(d=f,d.next==c.callbackEntriesTail_&&(c.callbackEntriesTail_=d),d.next=d.next.next):tbc(c),ubc(c,e,3,b)))}a.parent_=null}else Vz(a,3,b)},pbc=function(a,b){a.callbackEntries_||a.state_!=2&&a.state_!=3||vbc(a);a.callbackEntriesTail_?a.callbackEntriesTail_.next=b:a.callbackEntries_=
b;a.callbackEntriesTail_=b},obc=function(a,b,c,d){var e=ebc(null,null,null);e.child=new Wz(function(f,h){e.onFulfilled=b?function(l){try{var q=b.call(d,l);f(q)}catch(u){h(u)}}:f;e.onRejected=c?function(l){try{var q=c.call(d,l);q===void 0&&l instanceof Xz?h(l):f(q)}catch(u){h(u)}}:h});e.child.parent_=a;pbc(a,e);return e.child};Wz.prototype.unblockAndFulfill_=function(a){this.state_=0;Vz(this,2,a)};Wz.prototype.unblockAndReject_=function(a){this.state_=0;Vz(this,3,a)};
var Vz=function(a,b,c){a.state_==0&&(a===c&&(b=3,c=new TypeError("wb")),a.state_=1,hbc(c,a.unblockAndFulfill_,a.unblockAndReject_,a)||(a.result_=c,a.state_=b,a.parent_=null,vbc(a),b!=3||c instanceof Xz||wbc(a,c)))},hbc=function(a,b,c,d){if(a instanceof Wz)return qbc(a,b,c,d),!0;if(bbc(a))return a.then(b,c,d),!0;if(Ya(a))try{var e=a.then;if(typeof e==="function")return xbc(a,e,b,c,d),!0}catch(f){return c.call(d,f),!0}return!1},xbc=function(a,b,c,d,e){var f=!1,h=function(q){f||(f=!0,c.call(e,q))},l=
function(q){f||(f=!0,d.call(e,q))};try{b.call(a,h,l)}catch(q){l(q)}},vbc=function(a){a.executing_||(a.executing_=!0,Tz(a.executeCallbacks_,a))},tbc=function(a){var b=null;a.callbackEntries_&&(b=a.callbackEntries_,a.callbackEntries_=b.next,b.next=null);a.callbackEntries_||(a.callbackEntriesTail_=null);return b};Wz.prototype.executeCallbacks_=function(){for(var a;a=tbc(this);)ubc(this,a,this.state_,this.result_);this.executing_=!1};
var ubc=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,ybc(b,c,d);else try{b.always?b.onFulfilled.call(b.context):ybc(b,c,d)}catch(e){zbc.call(null,e)}dbc.put(b)},ybc=function(a,b,c){b==2?a.onFulfilled.call(a.context,c):a.onRejected&&a.onRejected.call(a.context,c)},wbc=function(a,b){a.hadUnhandledRejection_=!0;Tz(function(){a.hadUnhandledRejection_&&zbc.call(null,b)})},zbc=za,Xz=function(a){wa.call(this,
a);this.reportErrorToServer=!1};Nu(Xz,wa);Xz.prototype.name="cancel";var mbc=function(a,b,c){this.promise=a;this.resolve=b;this.reject=c};var Abc=function(a){this.servicePromise_=a;a.then(Lu(function(){},this),function(){},this)},Bbc=function(a,b,c){return a.servicePromise_.then(function(d){var e=d[b];if(!e)throw Error("xb`"+b);return e.apply(d,c)})},Ebc=function(a,b,c){for(var d=Array(arguments.length-2),e=2;e<arguments.length;e++)d[e-2]=arguments[e];e=Cbc(a,b).then(function(f){return f.apply(null,d)},function(f){f=Error("yb`"+b+"`"+a,{cause:f});delete Dbc[b];return gbc(f)});return new Abc(e)},Dbc={},Cbc=function(a,b){var c=Dbc[b];
if(c)return c;c=(c=Eq(b))?fbc(c):(new Wz(function(d,e){var f=(new Iz(document)).createElement("SCRIPT");f.async=!0;Yc(f,Lc(a instanceof wac&&a.constructor===wac&&a.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_===vac?a.stringConstValueWithSecurityContract__googStringSecurityPrivate_:"type_error:Const"));f.onload=f.onreadystatechange=function(){f.readyState&&f.readyState!="loaded"&&f.readyState!="complete"||d()};f.onerror=function(h){e(Error("zb`"+b+"`"+a,{cause:h}))};(document.head||document.getElementsByTagName("head")[0]).appendChild(f)})).then(function(){var d=
Eq(b);if(!d)throw Error("Ab`"+b+"`"+a);return d});return Dbc[b]=c};var Fbc={GOOGLE:"https://www.google.com",SUPPORT:"https://support.google.com",PLAY:"https://play.google.com"},Hbc=function(){var a=this;this.rsaForList=[];this.rsaForPromises=[];this.initialize=Oqa(function(){return se(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()):y(b,Gbc(a),2);a.rsaForList.length>
0&&document.addEventListener("click",a.requestAccessForHelpPanel);xe(b)})});this.requestAccessForHelpPanel=function(){if(!(a.rsaForPromises.length>0)){for(var b=k(a.rsaForList),c=b.next();!c.done;c=b.next()){c=c.value;try{a.rsaForPromises.push(document.requestStorageAccessFor(c))}catch(d){}}Promise.all(a.rsaForPromises).then(function(){}).catch(function(){}).finally(function(){a.reset()})}}};Hbc.prototype.reset=function(){document.removeEventListener("click",this.requestAccessForHelpPanel)};
var Gbc=function(a){var b,c,d,e;return se(function(f){switch(f.nextAddress){case 1:b=k(Object.values(Fbc)),c=b.next();case 2:if(c.done){f.jumpTo(0);break}d=c.value;te(f,5);return y(f,navigator.permissions.query({name:"top-level-storage-access",requestedOrigin:d}),7);case 7:e=f.yieldResult;e.state!=="granted"&&a.rsaForList.push(d);Hu(f,3);break;case 5:we(f);f.jumpTo(0);break;case 3:c=b.next(),f.jumpTo(2)}})};(new Hbc).initialize();var Ibc=function(a){this.loader_=a};Ibc.prototype.startFeedback=function(a){Bbc(this.loader_,"startFeedback",arguments)};Ibc.prototype.requestSurvey=function(a){Bbc(this.loader_,"requestSurvey",arguments).thenCatch(function(){},this)};Ibc.prototype.presentSurvey=function(a){Bbc(this.loader_,"presentSurvey",arguments).thenCatch(function(){},this)};var Jbc=new wac(uac,"https://www.gstatic.com/feedback/js/help/prod/service/lazy.min.js");Cbc(Jbc,"help.service.Lazy.create").thenCatch(function(){});var su=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(su,V);su.prototype.getRevisionNumber=function(){return Xj(this,4)};su.prototype.setRevisionNumber=function(a){return dl(this,4,a)};var Yz=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Yz,V);Yz.prototype.getRevisionNumber=function(){return Xj(this,2,-1)};Yz.prototype.setRevisionNumber=function(a){return dl(this,2,a)};var Kbc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Kbc,V);g=Kbc.prototype;g.getChangeNumber_asLegacyNumberOrString=function(){return Qk(this,1,-1)};g.setChangeNumber=function(a){return Xk(this,1,a)};g.getWorkspaceId=function(){return W(this,Yz,2)};g.getRevisionNumber=function(){return Xj(this,3,-1)};g.setRevisionNumber=function(a){return dl(this,3,a)};var Lbc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Lbc,V);g=Lbc.prototype;g.getPort=function(){return Kh(this,1)};g.setPort=function(a){return fl(this,1,a)};g.hasPort=function(){return Ck(this,1)};g.getUser=function(){return Kh(this,2)};g.setUser=function(a){return fl(this,2,a)};g.hasUser=function(){return Ck(this,2)};g.getWorkspaceId=function(){return W(this,Yz,3)};var Mbc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Mbc,V);g=Mbc.prototype;g.getKey=function(){return Kh(this,1)};g.getValue=function(){return Kh(this,2)};g.getValue_legacyNullable=function(){return ql(this,2)};g.setValue=function(a){return fl(this,2,a)};g.hasValue=function(){return Ck(this,2)};var Zz=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Zz,V);Zz.prototype.getText=function(){return Kh(this,1)};Zz.prototype.setText=function(a){return fl(this,1,a)};Zz.prototype.getTagsList=function(a){return lk(this,Mbc,2,Uj(a))};var Nbc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Nbc,V);var xOb=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(xOb,V);g=xOb.prototype;g.getReadonlySourceFileId=function(){return Tq(this,su,1)};g.setSourceFileId=function(a){return X(this,su,1,a)};g.getOperation=function(){return Fk(this,2,0)};g.setOperation=function(a){return gl(this,2,a)};g.getType=function(){return W(this,Nbc,3)};g.setType=function(a){return X(this,Nbc,3,a)};g.hasType=function(){return Jk(this,Nbc,3)};g.getSize=function(){return dv(this,5)};
g.setSize=function(a){return Xk(this,5,a)};g.getChangeId=function(){return W(this,Kbc,11)};var wOb=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(wOb,V);wOb.prototype.getContent=function(){return Mp(this,2)};wOb.prototype.setContent=function(a){return Np(this,2,pb(a,!1,!0))};wOb.prototype.hasContent=function(){return pt(this,2)!=null};var Obc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Obc,V);g=Obc.prototype;g.setBase=function(a){return X(this,Lbc,1,a)};g.getDescription=function(){return W(this,Zz,2)};g.setDescription=function(a){return X(this,Zz,2,a)};g.hasDescription=function(){return Jk(this,Zz,2)};g.setMode=function(a){return gl(this,6,a)};var $z=function(a){this.internalArrayDoNotAccessOrElse=m(a,500)};Y($z,V);g=$z.prototype;g.getStatus=function(){return W(this,Fz,1002)};g.setStatus=function(a){return X(this,Fz,1002,a)};g.hasStatus=function(){return Jk(this,Fz,1002)};g.getChangeId=function(){return W(this,Kbc,1)};g.getWorkspaceId=function(){return W(this,Yz,2)};g.getToken=function(){return Kh(this,3)};g.setToken=function(a){return fl(this,3,a)};var Pbc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Pbc,V);Pbc.prototype.setBase=function(a){return X(this,Lbc,1,a)};var rOb=function(){var a=new Pbc;return gl(a,2,0)},qOb=function(a,b){return $m(a,3,b)};var Qbc=function(a){this.internalArrayDoNotAccessOrElse=m(a,500)};Y(Qbc,V);g=Qbc.prototype;g.getStatus=function(){return W(this,Fz,1002)};g.setStatus=function(a){return X(this,Fz,1002,a)};g.hasStatus=function(){return Jk(this,Fz,1002)};g.getReadonlySourceFileId=function(){return Tq(this,su,2)};g.setSourceFileId=function(a){return X(this,su,2,a)};g.getContent=function(){return Mp(this,3)};g.setContent=function(a){return Np(this,3,pb(a,!1,!0))};g.hasContent=function(){return pt(this,3)!=null};new Promise(function(){});var Z=function(){this.destroyed$=new Tf(1);this.subscriptions=new je};Z.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete();this.subscriptions.unsubscribe()};Z.\u0275fac=function(a){return new (a||Z)};Z.\u0275dir=Df({type:Z});var Rqa=new WeakMap;var Fi={},Rbc={logInfo:function(){console.log(Tqa());console.log("\nDuplicate Requests:");console.table(Sqa())},getCounts:function(){return Fi},getDupes:Sqa,getAggregates:Tqa};var Ti=Symbol("Bb"),aA=function(a){this.params=a||{}};aA.prototype.has=function(a){return Object.prototype.hasOwnProperty.call(this.params,a)};aA.prototype.get=function(a){return this.has(a)?(a=this.params[a],Array.isArray(a)?a[0]:a):null};aA.prototype.getAll=function(a){return this.has(a)?(a=this.params[a],Array.isArray(a)?a:[a]):[]};da.Object.defineProperties(aA.prototype,{keys:{configurable:!0,enumerable:!0,get:function(){return Object.keys(this.params)}}});var Xqa={exact:bra,subset:era},Yqa={exact:$qa,subset:cra,ignored:function(){return!0}},Li=function(a,b,c){a=a===void 0?new Ki([],{}):a;b=b===void 0?{}:b;this.root=a;this.queryParams=b;this.fragment=c===void 0?null:c};Li.prototype.toString=function(){return Sbc.serialize(this)};da.Object.defineProperties(Li.prototype,{queryParamMap:{configurable:!0,enumerable:!0,get:function(){this._queryParamMap!=null||(this._queryParamMap=new aA(this.queryParams));return this._queryParamMap}}});
var Ki=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})};Ki.prototype.hasChildren=function(){return this.numberOfChildren>0};Ki.prototype.toString=function(){return jra(this)};da.Object.defineProperties(Ki.prototype,{numberOfChildren:{configurable:!0,enumerable:!0,get:function(){return Object.keys(this.children).length}}});var Pi=function(a,b){this.path=a;this.parameters=b};
Pi.prototype.toString=function(){return hra(this.path)+ira(this.parameters)};var bA=function(){};bA.\u0275fac=function(a){return new (a||bA)};bA.\u0275prov=n({token:bA,factory:function(){return new Tbc},providedIn:"root"});var Tbc=function(){};Tbc.prototype.parse=function(a){a=new Ubc(a);cA(a,"/");var b=a.remaining===""||a.remaining.startsWith("?")||a.remaining.startsWith("#")?new Ki([],{}):new Ki([],Vbc(a));return new Li(b,a.parseQueryParams(),cA(a,"#")?decodeURIComponent(a.remaining):null)};
Tbc.prototype.serialize=function(a){var b="/"+Ji(a.root,!0),c=mra(a.queryParams);a=typeof a.fragment==="string"?"#"+encodeURI(a.fragment):"";return b+c+a};var Sbc=new Tbc,nra=/^[^\/()?;#]+/,Wbc=/^[^\/()?;=#]+/,Xbc=/^[^=?&#]+/,Ybc=/^[^&#]+/,Ubc=function(a){this.remaining=this.url=a};
Ubc.prototype.parseQueryParams=function(){var a={};if(cA(this,"?")){do{var b,c=this.remaining.match(Xbc);if(b=c?c[0]:""){this.capture(b);c="";if(cA(this,"=")){var d;if(d=(d=this.remaining.match(Ybc))?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(cA(this,"&"))}return a};
var Vbc=function(a){if(a.remaining==="")return{};cA(a,"/");var b=[];for(a.remaining.startsWith("(")||b.push(Zbc(a));a.remaining.startsWith("/")&&!a.remaining.startsWith("//")&&!a.remaining.startsWith("/(");)a.capture("/"),b.push(Zbc(a));var c={};a.remaining.startsWith("/(")&&(a.capture("/"),c=$bc(a,!0));var d={};a.remaining.startsWith("(")&&(d=$bc(a,!1));if(b.length>0||Object.keys(c).length>0)d.primary=new Ki(b,c);return d},Zbc=function(a){var b=ora(a.remaining);if(b===""&&a.remaining.startsWith(";"))throw new bd(4009,
!1);a.capture(b);b=decodeURIComponent(b);for(var c={};cA(a,";");){var d,e=a;if(d=(d=e.remaining.match(Wbc))?d[0]:""){e.capture(d);var f="";if(cA(e,"=")){var h=ora(e.remaining);h&&(f=h,e.capture(f))}c[decodeURIComponent(d)]=decodeURIComponent(f)}}return new Pi(b,c)},$bc=function(a,b){var c={};for(a.capture("(");!cA(a,")")&&a.remaining.length>0;){var d=ora(a.remaining),e=a.remaining[d.length];if(e!=="/"&&e!==")"&&e!==";")throw new bd(4010,!1);e=void 0;d.indexOf(":")>-1?(e=d.slice(0,d.indexOf(":")),
a.capture(e),a.capture(":")):b&&(e="primary");d=Vbc(a);c[e]=Object.keys(d).length===1?d.primary:new Ki([],d);cA(a,"//")}return c},cA=function(a,b){return a.remaining.startsWith(b)?(a.remaining=a.remaining.substring(b.length),!0):!1};Ubc.prototype.capture=function(a){if(!cA(this,a))throw new bd(4011,!1);};var zra=function(a,b,c){this.isAbsolute=a;this.numberOfDoubleDots=b;this.commands=c;if(a&&c.length>0&&vra(c[0]))throw new bd(4003,!1);if((a=c.find(Oi))&&a!==(c.length>0?c[c.length-1]:null))throw new bd(4004,!1);},ura=function(a,b,c){this.segmentGroup=a;this.processChildren=b;this.index=c};var dA=function(a,b){this.id=a;this.url=b},jj=function(a,b,c,d){c=c===void 0?"imperative":c;d=d===void 0?null:d;dA.call(this,a,b);this.type=0;this.navigationTrigger=c;this.restoredState=d};Y(jj,dA);jj.prototype.toString=function(){return"NavigationStart(id: "+this.id+", url: '"+this.url+"')"};var dj=function(a,b,c){dA.call(this,a,b);this.urlAfterRedirects=c;this.type=1};Y(dj,dA);
dj.prototype.toString=function(){return"NavigationEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"')"};var ej=function(a,b,c,d){dA.call(this,a,b);this.reason=c;this.code=d;this.type=2};Y(ej,dA);ej.prototype.toString=function(){return"NavigationCancel(id: "+this.id+", url: '"+this.url+"')"};var gj=function(a,b,c,d){dA.call(this,a,b);this.reason=c;this.code=d;this.type=16};Y(gj,dA);
var fj=function(a,b,c,d){dA.call(this,a,b);this.error=c;this.target=d;this.type=3};Y(fj,dA);fj.prototype.toString=function(){return"NavigationError(id: "+this.id+", url: '"+this.url+"', error: "+this.error+")"};var acc=function(a,b,c,d){dA.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.type=4};Y(acc,dA);acc.prototype.toString=function(){return"RoutesRecognized(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"};
var bcc=function(a,b,c,d){dA.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.type=7};Y(bcc,dA);bcc.prototype.toString=function(){return"GuardsCheckStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"};var ccc=function(a,b,c,d,e){dA.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.shouldActivate=e;this.type=8};Y(ccc,dA);
ccc.prototype.toString=function(){return"GuardsCheckEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+", shouldActivate: "+this.shouldActivate+")"};var dcc=function(a,b,c,d){dA.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.type=5};Y(dcc,dA);dcc.prototype.toString=function(){return"ResolveStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"};
var ecc=function(a,b,c,d){dA.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.type=6};Y(ecc,dA);ecc.prototype.toString=function(){return"ResolveEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"};var fcc=function(a){this.route=a;this.type=9};fcc.prototype.toString=function(){return"RouteConfigLoadStart(path: "+this.route.path+")"};var gcc=function(a){this.route=a;this.type=10};
gcc.prototype.toString=function(){return"RouteConfigLoadEnd(path: "+this.route.path+")"};var csa=function(a){this.snapshot=a;this.type=11};csa.prototype.toString=function(){return"ChildActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"};var hcc=function(a){this.snapshot=a;this.type=12};hcc.prototype.toString=function(){return"ChildActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"};
var dsa=function(a){this.snapshot=a;this.type=13};dsa.prototype.toString=function(){return"ActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"};var icc=function(a){this.snapshot=a;this.type=14};icc.prototype.toString=function(){return"ActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"};var jcc=function(a,b){this.position=a;this.anchor=b;this.type=15};
jcc.prototype.toString=function(){return"Scroll(anchor: '"+this.anchor+"', position: '"+(this.position?this.position[0]+", "+this.position[1]:null)+"')"};var kcc=function(){},lcc=function(a,b){this.url=a;this.navigationBehaviorOptions=b};var mcc=function(a){this.rootInjector=a;this.attachRef=this.route=this.outlet=null;this.children=new eA(this.rootInjector)};da.Object.defineProperties(mcc.prototype,{injector:{configurable:!0,enumerable:!0,get:function(){var a,b;return(b=Ri((a=this.route)==null?void 0:a.snapshot))!=null?b:this.rootInjector}}});
var eA=function(a){this.rootInjector=a;this.contexts=new Map},ncc=function(a,b){if(a=a.getContext(b))a.outlet=null,a.attachRef=null},occ=function(a,b){var c=a.getContext(b);c||(c=new mcc(a.rootInjector),a.contexts.set(b,c));return c};eA.prototype.getContext=function(a){return this.contexts.get(a)||null};eA.\u0275fac=function(a){return new (a||eA)(pd(qv))};eA.\u0275prov=n({token:eA,factory:eA.\u0275fac,providedIn:"root"});var fA=function(a){this._root=a};fA.prototype.parent=function(a){a=this.pathFromRoot(a);return a.length>1?a[a.length-2]:null};fA.prototype.children=function(a){return(a=Gra(a,this._root))?a.children.map(function(b){return b.value}):[]};fA.prototype.firstChild=function(a){return(a=Gra(a,this._root))&&a.children.length>0?a.children[0].value:null};fA.prototype.pathFromRoot=function(a){return Hra(a,this._root).map(function(b){return b.value})};
da.Object.defineProperties(fA.prototype,{root:{configurable:!0,enumerable:!0,get:function(){return this._root.value}}});var Vi=function(a,b){this.value=a;this.children=b};Vi.prototype.toString=function(){return"TreeNode("+this.value+")"};var pcc=function(a,b){this._root=a;this.snapshot=b;Jra(this,a)};Y(pcc,fA);pcc.prototype.toString=function(){return this.snapshot.toString()};
var Wi=function(a,b,c,d,e,f,h,l){this.urlSubject=a;this.paramsSubject=b;this.queryParamsSubject=c;this.fragmentSubject=d;this.dataSubject=e;this.outlet=f;this.component=h;this._futureSnapshot=l;var q,u;this.title=(u=(q=this.dataSubject)==null?void 0:q.pipe(z(function(A){return A[Ti]})))!=null?u:Ae(void 0);this.url=a;this.params=b;this.queryParams=c;this.fragment=d;this.data=e};Wi.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"};
da.Object.defineProperties(Wi.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 aA(a)})));return this._paramMap}},queryParamMap:{configurable:!0,enumerable:!0,get:function(){this._queryParamMap!=null||(this._queryParamMap=this.queryParams.pipe(z(function(a){return new aA(a)})));return this._queryParamMap}}});
var gA=function(a,b,c,d,e,f,h,l,q){this.url=a;this.params=b;this.queryParams=c;this.fragment=d;this.data=e;this.outlet=f;this.component=h;this.routeConfig=l;this._resolve=q};gA.prototype.toString=function(){return"Route(url:'"+this.url.map(function(a){return a.toString()}).join("/")+"', path:'"+(this.routeConfig?this.routeConfig.path:"")+"')"};
da.Object.defineProperties(gA.prototype,{title:{configurable:!0,enumerable:!0,get:function(){var a;return(a=this.data)==null?void 0:a[Ti]}},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 aA(this.params));return this._paramMap}},queryParamMap:{configurable:!0,enumerable:!0,get:function(){this._queryParamMap!=null||(this._queryParamMap=new aA(this.queryParams));return this._queryParamMap}}});var qcc=function(a,b){this._root=b;this.url=a;Jra(this,b)};Y(qcc,fA);qcc.prototype.toString=function(){return Kra(this._root)};var rcc=new zd(""),hA=function(){this._activatedRoute=this.activated=null;this.name="primary";this.activateEvents=new Dv;this.deactivateEvents=new Dv;this.attachEvents=new Dv;this.detachEvents=new Dv;this.routerOutletData=nma();this.parentContexts=r(eA);this.location=r(Pg);this.changeDetector=r(Ov);this.inputBinder=r(scc,{optional:!0})};hA.prototype.ngOnChanges=function(a){if(a.name){a=a.name;var b=a.previousValue;a.firstChange||(tcc(this,b)&&(this.deactivate(),ncc(this.parentContexts,b)),ucc(this))}};
hA.prototype.ngOnDestroy=function(){tcc(this,this.name)&&ncc(this.parentContexts,this.name);var a;(a=this.inputBinder)==null||vcc(a,this)};var tcc=function(a,b){var c;return((c=a.parentContexts.getContext(b))==null?void 0:c.outlet)===a};hA.prototype.ngOnInit=function(){ucc(this)};
var ucc=function(a){var b=a.parentContexts,c=a.name,d=occ(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):wcc(a,b.route,b.injector))};hA.prototype.detach=function(){if(!this.activated)throw new bd(4012,!1);this.location.detach();var a=this.activated;this._activatedRoute=this.activated=null;this.detachEvents.emit(a.instance);return a};
hA.prototype.attach=function(a,b){this.activated=a;this._activatedRoute=b;this.location.insert(a.hostView);(b=this.inputBinder)!=null&&(vcc(b,this),xcc(b,this));this.attachEvents.emit(a.instance)};hA.prototype.deactivate=function(){if(this.activated){var a=this.component;this.activated.destroy();this._activatedRoute=this.activated=null;this.deactivateEvents.emit(a)}};
var wcc=function(a,b,c){if(a.isActivated)throw new bd(4013,!1);a._activatedRoute=b;var d=a.location,e=b.snapshot.component,f=occ(a.parentContexts,a.name).children;a.activated=d.createComponent(e,{index:d.length,injector:new ycc(b,f,d.injector,a.routerOutletData),environmentInjector:c});a.changeDetector.markForCheck();(b=a.inputBinder)!=null&&(vcc(b,a),xcc(b,a));a.activateEvents.emit(a.activated.instance)};
da.Object.defineProperties(hA.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 bd(4012,!1);return this.activated.instance}},activatedRoute:{configurable:!0,enumerable:!0,get:function(){if(!this.activated)throw new bd(4012,!1);return this._activatedRoute}}});
hA.\u0275fac=function(a){return new (a||hA)};hA.\u0275dir=Df({type:hA,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[rv]});var ycc=function(a,b,c,d){this.route=a;this.childContexts=b;this.parent=c;this.outletData=d};ycc.prototype.__ngOutletInjector=function(a){return new ycc(this.route,this.childContexts,a,this.outletData)};
ycc.prototype.get=function(a,b){return a===Wi?this.route:a===eA?this.childContexts:a===rcc?this.outletData:this.parent.get(a,b)};
var scc=new zd(""),iA=function(){this.outletDataSubscriptions=new Map},vcc=function(a,b){var c;(c=a.outletDataSubscriptions.get(b))==null||c.unsubscribe();a.outletDataSubscriptions.delete(b)},xcc=function(a,b){var c=b.activatedRoute,d=Ie([c.queryParams,c.params,c.data]).pipe(Yf(function(e,f){var h=k(e);e=h.next().value;var l=h.next().value;h=h.next().value;h=Object.assign({},e,l,h);return f===0?Ae(h):Promise.resolve(h)})).subscribe(function(e){if(b.isActivated&&b.activatedComponentRef&&b.activatedRoute===
c&&c.component!==null){var f=Oma(c.component);if(f){f=k(f.inputs);for(var h=f.next();!h.done;h=f.next())h=h.value.templateName,b.activatedComponentRef.setInput(h,e[h])}else vcc(a,b)}else vcc(a,b)});a.outletDataSubscriptions.set(b,d)};iA.\u0275fac=function(a){return new (a||iA)};iA.\u0275prov=n({token:iA,factory:iA.\u0275fac});var Ui=function(){};Ui.\u0275fac=function(a){return new (a||Ui)};Ui.\u0275cmp=C({type:Ui,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(a){a&1&&K(0,"router-outlet")},dependencies:[hA],encapsulation:2});var Acc=function(a,b,c,d){return z(function(e){(new zcc(b,e.targetRouterState,e.currentRouterState,c,d)).activate(a);return e})},zcc=function(a,b,c,d,e){this.routeReuseStrategy=a;this.futureState=b;this.currState=c;this.forwardEvent=d;this.inputBindingEnabled=e};zcc.prototype.activate=function(a){var b=this.futureState._root,c=this.currState?this.currState._root:null;Bcc(this,b,c,a);Lra(this.futureState.root);Ccc(this,b,c,a)};
var Bcc=function(a,b,c,d){var e=Si(c);b.children.forEach(function(f){var h=f.value.outlet,l=e[h],q=f.value,u=l?l.value:null;q===u?q.component?(q=d.getContext(q.outlet))&&Bcc(a,f,l,q.children):Bcc(a,f,l,d):u&&Dcc(a,l,d);delete e[h]});Object.values(e).forEach(function(f){Dcc(a,f,d)})},Dcc=function(a,b,c){var d=c.getContext(b.value.outlet);c=d&&b.value.component?d.children:c;b=Si(b);b=k(Object.values(b));for(var e=b.next();!e.done;e=b.next())Dcc(a,e.value,c);d&&(d.outlet&&(d.outlet.deactivate(),d.children.contexts=
new Map),d.attachRef=null,d.route=null)},Ccc=function(a,b,c,d){var e=Si(c);b.children.forEach(function(f){var h=e[f.value.outlet],l=f.value,q=h?h.value:null;Lra(l);l===q?l.component?(l=occ(d,l.outlet),Ccc(a,f,h,l.children)):Ccc(a,f,h,d):l.component?(h=occ(d,l.outlet),h.attachRef=null,h.route=l,h.outlet&&wcc(h.outlet,l,h.injector),Ccc(a,f,null,h.children)):Ccc(a,f,null,d);a.forwardEvent(new icc(f.value.snapshot))});b.children.length&&a.forwardEvent(new hcc(b.value.snapshot))};var Ura=Symbol("Db");var Wra=function(a){this.path=a;this.route=this.path[this.path.length-1]},Xra=function(a,b){this.component=a;this.route=b};var jsa=function(a){this.segmentGroup=a||null},Ecc=function(a){var b=Error.call(this);this.message=b.message;"stack"in b&&(this.stack=b.stack);this.urlTree=a};Y(Ecc,Error);
var Fcc=function(a,b){this.urlSerializer=a;this.urlTree=b},Gcc=function(a){var b=[];for(a=a.root;;){b=b.concat(a.segments);if(a.numberOfChildren===0)return Ae(b);if(a.numberOfChildren>1||!a.children.primary)return Be(new bd(4E3,!1));a=a.children.primary}},Icc=function(a,b,c,d,e,f){if(typeof c!=="string"){var h=c,l=e.queryParams,q=e.fragment,u=e.routeConfig,A=e.url,F=e.outlet,H=e.params,N=e.data,O=e.title;c=Cd(f,function(){return h({params:H,data:N,queryParams:l,fragment:q,routeConfig:u,url:A,outlet:F,
title:O})});if(c instanceof Li)throw new Ecc(c);}a=Hcc(a,c,a.urlSerializer.parse(c),b,d);if(c[0]==="/")throw new Ecc(a);return a},Hcc=function(a,b,c,d,e){b=Jcc(a,b,c.root,d,e);return new Li(b,Kcc(c.queryParams,a.urlTree.queryParams),c.fragment)},Kcc=function(a,b){var c={};Object.entries(a).forEach(function(d){var e=k(d);d=e.next().value;e=e.next().value;c[d]=typeof e==="string"&&e[0]===":"?b[e.substring(1)]:e});return c},Jcc=function(a,b,c,d,e){var f=Lcc(c.segments,d,e),h={};Object.entries(c.children).forEach(function(l){var q=
k(l);l=q.next().value;q=q.next().value;h[l]=Jcc(a,b,q,d,e)});return new Ki(f,h)},Lcc=function(a,b,c){return a.map(function(d){if(d.path[0]===":"){if(d=c[d.path.substring(1)],!d)throw new bd(4001,!1);}else a:for(var e=0,f=k(b),h=f.next();!h.done;h=f.next()){h=h.value;if(h.path===d.path){b.splice(e);d=h;break a}e++}return d})};var lsa={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};var Mcc=function(){},usa=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 Fcc(this.urlSerializer,this.urlTree)};
usa.prototype.recognize=function(){var a=this,b=qsa(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(b).pipe(z(function(c){var d=c.children;c=c.rootSnapshot;d=new qcc("",new Vi(c,d));var e=a.urlTree.queryParams,f=a.urlTree.fragment;e=e===void 0?null:e;f=f===void 0?null:f;c=rra(c);c=xra(c,[],e,f);c.queryParams=a.urlTree.queryParams;d.url=a.urlSerializer.serialize(c);return{state:d,tree:c}}))};
usa.prototype.match=function(a){var b=this,c=new gA([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),"primary",this.rootComponentType,null,{});return Ncc(this,this.injector,this.config,a,"primary",c).pipe(z(function(d){return{children:d,rootSnapshot:c}}),If(function(d){if(d instanceof Ecc)return b.urlTree=d.urlTree,b.match(d.urlTree.root);if(d instanceof jsa)throw new bd(4002,"'"+d.segmentGroup+"'");throw d;}))};
var Ncc=function(a,b,c,d,e,f){return d.segments.length===0&&d.hasChildren()?a.processChildren(b,c,d,f):Occ(a,b,c,d,d.segments,e,!0,f).pipe(z(function(h){return h instanceof Vi?[h]:[]}))};
usa.prototype.processChildren=function(a,b,c,d){for(var e=this,f=[],h=k(Object.keys(c.children)),l=h.next();!l.done;l=h.next())l=l.value,l==="primary"?f.unshift(l):f.push(l);return re(f).pipe(Kf(function(q){var u=c.children[q],A=Fra(b,q);return Ncc(e,a,A,u,q,d)}),lka(function(q,u){q.push.apply(q,t(u));return q}),$ja(null),gka(),Ke(function(q){if(q===null)return cj(c);q=tsa(q);rsa(q);return Ae(q)}))};
var Occ=function(a,b,c,d,e,f,h,l){return re(c).pipe(Kf(function(q){var u;return Pcc(a,(u=q._injector)!=null?u:b,c,q,d,e,f,h,l).pipe(If(function(A){if(A instanceof jsa)return Ae(null);throw A;}))}),Rf(function(q){return!!q}),If(function(q){if(Yra(q))return e.length!==0||d.children[f]?cj(d):Ae(new Mcc);throw q;}))},Pcc=function(a,b,c,d,e,f,h,l,q){return Qi(d)===h||h!=="primary"&&psa(e,f,d)?d.redirectTo===void 0?Qcc(a,b,e,d,f,h,q):a.allowRedirects&&l?Rcc(a,b,e,c,d,f,h,q):cj(e):cj(e)},Rcc=function(a,
b,c,d,e,f,h,l){var q=ksa(c,e,f),u=q.parameters,A=q.consumedSegments,F=q.positionalParamSegments,H=q.remainingSegments;if(!q.matched)return cj(c);typeof e.redirectTo==="string"&&e.redirectTo[0]==="/"&&(a.absoluteRedirectCount++,a.absoluteRedirectCount>31&&(a.allowRedirects=!1));var N,O;f=new gA(f,u,Object.freeze(Object.assign({},a.urlTree.queryParams)),a.urlTree.fragment,e.data||{},Qi(e),(O=(N=e.component)!=null?N:e._loadedComponent)!=null?O:null,e,e.resolve||{});N=Ira(f,l,a.paramsInheritanceStrategy);
f.params=Object.freeze(N.params);f.data=Object.freeze(N.data);e=Icc(a.applyRedirects,A,e.redirectTo,F,f,b);return Gcc(e).pipe(Ke(function(T){return Occ(a,b,d,c,T.concat(H),h,!1,l)}))},Qcc=function(a,b,c,d,e,f,h){var l=msa(c,d,e,b);d.path==="**"&&(c.children={});return l.pipe(Yf(function(q){if(!q.matched)return cj(c);var u;b=(u=d._injector)!=null?u:b;return Scc(a,b,d,e).pipe(Yf(function(A){A=A.routes;var F,H=(F=d._loadedInjector)!=null?F:b;F=q.consumedSegments;var N=q.remainingSegments,O,T,ea=new gA(F,
q.parameters,Object.freeze(Object.assign({},a.urlTree.queryParams)),a.urlTree.fragment,d.data||{},Qi(d),(T=(O=d.component)!=null?O:d._loadedComponent)!=null?T:null,d,d.resolve||{});O=Ira(ea,h,a.paramsInheritanceStrategy);ea.params=Object.freeze(O.params);ea.data=Object.freeze(O.data);T=qsa(c,F,N,A);O=T.segmentGroup;T=T.slicedSegments;return T.length===0&&O.hasChildren()?a.processChildren(H,A,O,ea).pipe(z(function(ka){return new Vi(ea,ka)})):A.length===0&&T.length===0?Ae(new Vi(ea,[])):Occ(a,H,A,O,
T,Qi(d)===f?"primary":f,!0,ea).pipe(z(function(ka){return new Vi(ea,ka instanceof Vi?[ka]:[])}))}))}))},Scc=function(a,b,c,d){return c.children?Ae({routes:c.children,injector:b}):c.loadChildren?c._loadedRoutes!==void 0?Ae({routes:c._loadedRoutes,injector:c._loadedInjector}):hsa(b,c,d).pipe(Ke(function(e){return e?a.configLoader.loadChildren(b,c).pipe($f(function(f){c._loadedRoutes=f.routes;c._loadedInjector=f.injector})):Be(Rra(3))})):Ae({routes:[],injector:b})};var Tcc=function(){};Y(Tcc,K7b);var jA=function(){};Y(jA,Tcc);var Ucc=function(a,b,c,d){a.addEventListener(b,c,d);return function(){a.removeEventListener(b,c,d)}};jA.prototype.dispatchEvent=function(a,b){a.dispatchEvent(b)};jA.prototype.remove=function(a){a.remove()};jA.prototype.createElement=function(a,b){b=b||document;return b.createElement(a)};var M7b=function(a,b){return b==="window"?window:b==="document"?a:b==="body"?a.body:null};
jA.prototype.getBaseHref=function(){var a=(Vcc=Vcc||document.querySelector("base"))?Vcc.getAttribute("href"):null;return a==null?null:(new URL(a,document.baseURI)).pathname};var Vcc=null;var Wcc=function(){},q6b=function(a){qf.getAngularTestability=function(b,c){b=a.findTestabilityInTree(b,c===void 0?!0:c);if(b==null)throw new bd(5103,!1);return b};qf.getAllAngularTestabilities=function(){return Array.from(a._applications.values())};qf.getAllAngularRootElements=function(){return Array.from(a._applications.keys())};qf.frameworkStabilizers||(qf.frameworkStabilizers=[]);qf.frameworkStabilizers.push(function(b){var c=qf.getAllAngularTestabilities(),d=c.length,e=function(){d--;d==0&&b()};
c.forEach(function(f){f.whenStable(e)})})};Wcc.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 kA=function(){};kA.prototype.build=function(){return new XMLHttpRequest};kA.\u0275fac=function(a){return new (a||kA)};kA.\u0275prov=n({token:kA,factory:kA.\u0275fac});var Xcc=new zd(""),lA=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()};lA.prototype.addEventListener=function(a,b,c,d){return this._findPluginFor(b).addEventListener(a,b,c,d)};lA.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 bd(5101,!1);this._eventNameToPlugin.set(a,b);return b};
lA.\u0275fac=function(a){return new (a||lA)(pd(Xcc),pd(kh))};lA.\u0275prov=n({token:lA,factory:lA.\u0275fac});var Ycc=function(a){this._doc=a};var mA=function(a,b,c,d){d=d===void 0?{}:d;this.doc=a;this.appId=b;this.nonce=c;this.inline=new Map;this.external=new Map;this.hosts=new Set;this.isServer=d==="server";c=this.inline;d=this.external;var e,f=(e=a.head)==null?void 0:e.querySelectorAll('style[ng-app-id="'+b+'"],link[ng-app-id="'+b+'"]');if(f)for(b=k(f),e=b.next();!e.done;e=b.next())e=e.value,e.removeAttribute("ng-app-id"),e instanceof HTMLLinkElement?d.set(e.href.slice(e.href.lastIndexOf("/")+1),{usage:0,elements:[e]}):e.textContent&&
c.set(e.textContent,{usage:0,elements:[e]});this.hosts.add(a.head)},$cc=function(a,b,c){b=k(b);for(var d=b.next();!d.done;d=b.next())Zcc(a,d.value,a.inline,Dsa);c==null||c.forEach(function(e){return Zcc(a,e,a.external,Esa)})},bdc=function(a,b,c){b=k(b);for(var d=b.next();!d.done;d=b.next())adc(d.value,a.inline);c==null||c.forEach(function(e){return adc(e,a.external)})},Zcc=function(a,b,c,d){var e=c.get(b);e?e.usage++:c.set(b,{usage:1,elements:[].concat(t(a.hosts)).map(function(f){return a.addElement(f,
d(b,a.doc))})})},adc=function(a,b){var c=b.get(a);c&&(c.usage--,c.usage<=0&&(Csa(c.elements),b.delete(a)))};mA.prototype.ngOnDestroy=function(){for(var a=k([].concat(t(this.inline),t(this.external))),b=a.next();!b.done;b=a.next())b=k(b.value),b.next(),b=b.next().value.elements,Csa(b);this.hosts.clear()};mA.prototype.addElement=function(a,b){this.nonce&&b.setAttribute("nonce",this.nonce);this.isServer&&b.setAttribute("ng-app-id",this.appId);return a.appendChild(b)};
mA.\u0275fac=function(a){return new (a||mA)(pd(ii),pd(R5b),pd(S5b,8),pd(Fv))};mA.\u0275prov=n({token:mA,factory:mA.\u0275fac});var cdc={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"},Fsa=/%COMP%/g,ddc=new zd("",{providedIn:"root",factory:function(){return!0}}),oA=function(a,b,c,d,e,f,h,l,q){this.eventManager=a;this.sharedStylesHost=b;this.appId=c;this.removeStylesOnCompDestroy=d;this.doc=e;this.ngZone=h;this.nonce=l===void 0?null:l;this.tracingService=
q===void 0?null:q;this.rendererByCompId=new Map;this.platformIsServer=f==="server";this.defaultRenderer=new nA(a,e,h,this.platformIsServer,this.tracingService)};
oA.prototype.createRenderer=function(a,b){if(!a||!b)return this.defaultRenderer;this.platformIsServer&&b.encapsulation===3&&(b=Object.assign({},b,{encapsulation:0}));a:{var c=this.rendererByCompId,d=c.get(b.id);if(!d){d=this.doc;var e=this.ngZone,f=this.eventManager,h=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,q=this.platformIsServer;switch(b.encapsulation){case 0:d=new edc(f,h,b,this.appId,l,d,e,q,this.tracingService);break;case 3:b=new fdc(f,h,a,b,d,e,this.nonce,q,this.tracingService);
break a;default:d=new pA(f,h,b,l,d,e,q,this.tracingService)}c.set(b.id,d)}b=d}b instanceof edc?($cc(b.sharedStylesHost,b.styles,b.styleUrls),b.setAttribute(a,b.hostAttr,"")):b instanceof pA&&$cc(b.sharedStylesHost,b.styles,b.styleUrls);return b};oA.prototype.ngOnDestroy=function(){this.rendererByCompId.clear()};oA.\u0275fac=function(a){return new (a||oA)(pd(lA),pd(mA),pd(R5b),pd(ddc),pd(ii),pd(Fv),pd(kh),pd(S5b),pd(bf,8))};oA.\u0275prov=n({token:oA,factory:oA.\u0275fac});
var nA=function(a,b,c,d,e){this.eventManager=a;this.doc=b;this.ngZone=c;this.platformIsServer=d;this.tracingService=e;this.data=Object.create(null);this.destroyNode=null};g=nA.prototype;g.destroy=function(){};g.createElement=function(a,b){return b?this.doc.createElementNS(cdc[b]||b,a):this.doc.createElement(a)};g.createComment=function(a){return this.doc.createComment(a)};g.createText=function(a){return this.doc.createTextNode(a)};
g.appendChild=function(a,b){(a.tagName==="TEMPLATE"&&a.content!==void 0?a.content:a).appendChild(b)};g.insertBefore=function(a,b,c){a&&(a.tagName==="TEMPLATE"&&a.content!==void 0?a.content:a).insertBefore(b,c)};g.removeChild=function(a,b){b.remove()};g.selectRootElement=function(a,b){a=typeof a==="string"?this.doc.querySelector(a):a;if(!a)throw new bd(-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=cdc[d])?a.setAttributeNS(d,b,c):a.setAttribute(b,c)):a.setAttribute(b,c)};g.removeAttribute=function(a,b,c){if(c){var d=cdc[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,d){if(typeof a==="string"&&(a=M7b(this.doc,a),!a))throw Error("Eb`"+a+"`"+b);c=gdc(this,c);this.tracingService!==null&&this.tracingService.wrapEventListener&&(c=this.tracingService.wrapEventListener(a,b,c));return this.eventManager.addEventListener(a,b,c,d)};
var gdc=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()}},fdc=function(a,b,c,d,e,f,h,l,q){nA.call(this,a,e,f,l,q);this.sharedStylesHost=b;this.hostEl=c;this.shadowRoot=c.attachShadow({mode:"open"});a=this.sharedStylesHost;b=this.shadowRoot;a.hosts.add(b);c=k(a.inline);for(f=c.next();!f.done;f=c.next())f=k(f.value),l=f.next().value,f.next().value.elements.push(a.addElement(b,Dsa(l,a.doc)));
c=k(a.external);for(f=c.next();!f.done;f=c.next())f=k(f.value),l=f.next().value,f.next().value.elements.push(a.addElement(b,Esa(l,a.doc)));a=Gsa(d.id,d.styles);a=k(a);for(b=a.next();!b.done;b=a.next())b=b.value,c=document.createElement("style"),h&&c.setAttribute("nonce",h),c.textContent=b,this.shadowRoot.appendChild(c);var u;if(a=(u=d.getExternalStyles)==null?void 0:u.call(d))for(d=k(a),u=d.next();!u.done;u=d.next())u=Esa(u.value,e),h&&u.setAttribute("nonce",h),this.shadowRoot.appendChild(u)};
Y(fdc,nA);var hdc=function(a,b){return b===a.hostEl?a.shadowRoot:b};g=fdc.prototype;g.appendChild=function(a,b){return nA.prototype.appendChild.call(this,hdc(this,a),b)};g.insertBefore=function(a,b,c){return nA.prototype.insertBefore.call(this,hdc(this,a),b,c)};g.removeChild=function(a,b){return nA.prototype.removeChild.call(this,null,b)};g.parentNode=function(a){return hdc(this,nA.prototype.parentNode.call(this,hdc(this,a)))};g.destroy=function(){this.sharedStylesHost.hosts.delete(this.shadowRoot)};
var pA=function(a,b,c,d,e,f,h,l,q){nA.call(this,a,e,f,h,l);this.sharedStylesHost=b;this.removeStylesOnCompDestroy=d;this.styles=q?Gsa(q,c.styles):c.styles;var u;this.styleUrls=(u=c.getExternalStyles)==null?void 0:u.call(c,q)};Y(pA,nA);pA.prototype.destroy=function(){this.removeStylesOnCompDestroy&&bdc(this.sharedStylesHost,this.styles,this.styleUrls)};
var edc=function(a,b,c,d,e,f,h,l,q){d=d+"-"+c.id;pA.call(this,a,b,c,e,f,h,l,q,d);this.contentAttr="_ngcontent-%COMP%".replace(Fsa,d);this.hostAttr="_nghost-%COMP%".replace(Fsa,d)};Y(edc,pA);edc.prototype.createElement=function(a,b){a=pA.prototype.createElement.call(this,a,b);pA.prototype.setAttribute.call(this,a,this.contentAttr,"");return a};var qA=function(a){this._doc=a};Y(qA,Ycc);qA.prototype.supports=function(){return!0};qA.prototype.addEventListener=function(a,b,c,d){var e=this;a.addEventListener(b,c,d);return function(){return e.removeEventListener(a,b,c,d)}};qA.prototype.removeEventListener=function(a,b,c,d){return a.removeEventListener(b,c,d)};qA.\u0275fac=function(a){return new (a||qA)(pd(ii))};qA.\u0275prov=n({token:qA,factory:qA.\u0275fac});var idc=["alt","control","meta","shift"],jdc={"\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"},kdc={alt:function(a){return a.altKey},control:function(a){return a.ctrlKey},meta:function(a){return a.metaKey},shift:function(a){return a.shiftKey}},rA=function(a){this._doc=a};Y(rA,Ycc);rA.prototype.supports=function(a){return ldc(a)!=null};
rA.prototype.addEventListener=function(a,b,c,d){var e=ldc(b),f=mdc(e.fullKey,c,this.manager._zone);return this.manager._zone.runOutsideAngular(function(){return Ucc(a,e.domEventName,f,d)})};
var ldc=function(a){var b=a.toLowerCase().split(".");a=b.shift();if(b.length===0||a!=="keydown"&&a!=="keyup")return null;var c=ndc(b.pop()),d="",e=b.indexOf("code");e>-1&&(b.splice(e,1),d="code.");idc.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},odc=function(a,b){var c=jdc[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");idc.forEach(function(e){e!==c&&(0,kdc[e])(a)&&(d+=e+".")});d+=c;return d===b},mdc=function(a,b,c){return function(d){odc(d,a)&&c.runGuarded(function(){return b(d)})}},ndc=function(a){return a==="esc"?"escape":a};rA.\u0275fac=function(a){return new (a||rA)(pd(ii))};rA.\u0275prov=n({token:rA,factory:rA.\u0275fac});var O6b=Ema(W6b,"browser",[{provide:Fv,useValue:"browser"},{provide:Gma,useValue:function(){var a=new jA;J7b!=null||(J7b=a)},multi:!0},{provide:ii,useFactory:function(){return Wha=document},deps:[]}]),pdc=new zd(""),qdc=[{provide:o6b,useClass:Wcc,deps:[]},{provide:n6b,useClass:Lv,deps:[kh,Mv,o6b]},{provide:Lv,useClass:Lv,deps:[kh,Mv,o6b]}],rdc=[{provide:Fma,useValue:"root"},{provide:zf,useFactory:function(){return new zf},deps:[]},{provide:Xcc,useClass:qA,multi:!0,deps:[ii,kh,Fv]},{provide:Xcc,useClass:rA,
multi:!0,deps:[ii]},oA,mA,lA,{provide:Hv,useExisting:oA},{provide:S7b,useClass:kA,deps:[]},[]],sA=function(){};sA.\u0275fac=function(a){return new (a||sA)(pd(pdc,12))};sA.\u0275mod=Cf({type:sA});sA.\u0275inj=p({providers:[].concat(t(rdc),t(qdc)),imports:[mw,Nv]});var tA=function(a){this._doc=a};tA.prototype.getTitle=function(){return this._doc.title};tA.prototype.setTitle=function(a){this._doc.title=a||""};tA.\u0275fac=function(a){return new (a||tA)(pd(ii))};tA.\u0275prov=n({token:tA,factory:tA.\u0275fac,providedIn:"root"});new zd("HammerGestureConfig");new zd("HammerLoader");var sdc=function(){},tdc=function(){};var uA=function(a){var b=this;this.normalizedNames=new Map;this.lazyUpdate=null;a?typeof a==="string"?this.lazyInit=function(){b.headers=new Map;a.split("\n").forEach(function(c){var d=c.indexOf(":");d>0&&udc(b,c.slice(0,d),c.slice(d+1).trim())})}:typeof Headers!=="undefined"&&a instanceof Headers?(this.headers=new Map,a.forEach(function(c,d){udc(b,d,c)})):this.lazyInit=function(){b.headers=new Map;Object.entries(a).forEach(function(c){var d=k(c);c=d.next().value;d=d.next().value;vdc(b,c,d)})}:this.headers=
new Map};g=uA.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 wdc=function(a,b,c){a.normalizedNames.has(c)||a.normalizedNames.set(c,b)};uA.prototype.init=function(){var a=this;this.lazyInit&&(this.lazyInit instanceof uA?xdc(this,this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(b){return ydc(a,b)}),this.lazyUpdate=null))};
var xdc=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))})};uA.prototype.clone=function(a){var b=new uA;b.lazyInit=this.lazyInit&&this.lazyInit instanceof uA?this.lazyInit:this;b.lazyUpdate=(this.lazyUpdate||[]).concat([a]);return b};
var ydc=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;wdc(a,b.name,c);b=(b.op==="a"?a.headers.get(c):void 0)||[];b.push.apply(b,t(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)}},udc=function(a,
b,c){var d=b.toLowerCase();wdc(a,b,d);a.headers.has(d)?a.headers.get(d).push(c):a.headers.set(d,[c])},vdc=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);wdc(a,b,d)};uA.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 zdc=function(){},Isa=/%(\d[a-f0-9])/gi,Jsa={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"},vA=function(a){var b=this;a=a===void 0?{}:a;this.cloneFrom=this.updates=null;this.encoder=a.encoder||new zdc;if(a.fromString){if(a.fromObject)throw Error("Fb");this.map=Hsa(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(Lsa):[""+d];b.map.set(c,d)})):this.map=null};g=vA.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=Ksa(b);return a.map.get(b).map(function(d){return c+"="+Ksa(d)}).join("&")}).filter(function(b){return b!==""}).join("&")};g.clone=function(a){var b=new vA({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 Adc=function(){this.map=new Map};g=Adc.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 Bdc=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 uA);this.context!=null||(this.context=new Adc);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 vA,this.urlWithParams=b)},Cdc=function(a){return a.body===null?null:typeof a.body==="string"||Msa(a.body)||Nsa(a.body)||Osa(a.body)||typeof URLSearchParams!=="undefined"&&a.body instanceof
URLSearchParams?a.body:a.body instanceof vA?a.body.toString():typeof a.body==="object"||typeof a.body==="boolean"||Array.isArray(a.body)?JSON.stringify(a.body):a.body.toString()},Ddc=function(a){return a.body===null||Osa(a.body)?null:Nsa(a.body)?a.body.type||null:Msa(a.body)?null:typeof a.body==="string"?"text/plain":a.body instanceof vA?"application/x-www-form-urlencoded;charset=UTF-8":typeof a.body==="object"||typeof a.body==="number"||typeof a.body==="boolean"?"application/json":null};
Bdc.prototype.clone=function(a){a=a===void 0?{}:a;var b=a.method||this.method,c=a.url||this.url,d=a.responseType||this.responseType,e,f=(e=a.transferCache)!=null?e:this.transferCache;e=a.body!==void 0?a.body:this.body;var h,l=(h=a.withCredentials)!=null?h:this.withCredentials,q;h=(q=a.reportProgress)!=null?q:this.reportProgress;q=a.headers||this.headers;var u=a.params||this.params,A,F=(A=a.context)!=null?A:this.context;a.setHeaders!==void 0&&(q=Object.keys(a.setHeaders).reduce(function(H,N){return H.set(N,
a.setHeaders[N])},q));a.setParams&&(u=Object.keys(a.setParams).reduce(function(H,N){return H.set(N,a.setParams[N])},u));return new Bdc(b,c,e,{params:u,headers:q,context:F,reportProgress:h,responseType:d,withCredentials:l,transferCache:f})};var wA=function(a,b,c){b=b===void 0?200:b;c=c===void 0?"OK":c;this.headers=a.headers||new uA;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},Edc=function(a){a=a===void 0?{}:a;wA.call(this,a);this.type=2};Y(Edc,wA);
Edc.prototype.clone=function(a){a=a===void 0?{}:a;return new Edc({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 xA=function(a){a=a===void 0?{}:a;wA.call(this,a);this.type=4;this.body=a.body!==void 0?a.body:null};Y(xA,wA);
xA.prototype.clone=function(a){a=a===void 0?{}:a;return new xA({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 yA=function(a){wA.call(this,a,0,"Unknown Error");this.name="HttpErrorResponse";this.ok=!1;this.message=this.status>=200&&this.status<300?"Http failure during parsing for "+(a.url||"(unknown url)"):"Http failure response for "+(a.url||"(unknown url)")+": "+a.status+" "+a.statusText;this.error=a.error||null};Y(yA,wA);var zA=function(a){this.handler=a};g=zA.prototype;
g.request=function(a,b,c){var d=this;c=c===void 0?{}:c;if(a instanceof Bdc)b=a;else{var e=void 0;e=c.headers instanceof uA?c.headers:new uA(c.headers);var f=void 0;c.params&&(f=c.params instanceof vA?c.params:new vA({fromObject:c.params}));b=new Bdc(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=Ae(b).pipe(Kf(function(h){return d.handler.handle(h)}));
if(a instanceof Bdc||c.observe==="events")return e;a=e.pipe(Ue(function(h){return h instanceof xA}));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("Gb");return h.body}));case "blob":return a.pipe(z(function(h){if(h.body!==null&&!(h.body instanceof Blob))throw Error("Hb");return h.body}));case "text":return a.pipe(z(function(h){if(h.body!==null&&typeof h.body!=="string")throw Error("Ib");
return h.body}));default:return a.pipe(z(function(h){return h.body}))}case "response":return a;default:throw Error("Jb`"+c.observe);}};g.delete=function(a,b){b=b===void 0?{}:b;return this.request("DELETE",a,b)};g.get=function(a,b){b=b===void 0?{}:b;return this.request("GET",a,b)};g.head=function(a,b){b=b===void 0?{}:b;return this.request("HEAD",a,b)};g.options=function(a,b){b=b===void 0?{}:b;return this.request("OPTIONS",a,b)};
g.patch=function(a,b,c){c=c===void 0?{}:c;return this.request("PATCH",a,Psa(c,b))};g.post=function(a,b,c){c=c===void 0?{}:c;return this.request("POST",a,Psa(c,b))};g.put=function(a,b,c){c=c===void 0?{}:c;return this.request("PUT",a,Psa(c,b))};zA.\u0275fac=function(a){return new (a||zA)(pd(sdc))};zA.\u0275prov=n({token:zA,factory:zA.\u0275fac});var Fdc=/^\)\]\}',?\n/,AA=function(){var a,b;this.fetchImpl=(b=(a=r(Gdc,{optional:!0}))==null?void 0:a.fetch)!=null?b:function(){return globalThis.fetch.apply(globalThis,t(vd.apply(0,arguments)))};this.ngZone=r(kh)};AA.prototype.handle=function(a){var b=this;return new oe(function(c){var d=new AbortController;Hdc(b,a,d.signal,c).then(Rsa,function(e){return c.error(new yA({error:e}))});return function(){return d.abort()}})};
var Hdc=function(a,b,c,d){var e,f,h,l,q,u,A,F,H,N,O,T,ea,ka,oa,La,Ua,Pa,lb,qa,Ga,Ha,Ab;return se(function(vb){switch(vb.nextAddress){case 1:return e=Idc(b),te(vb,2),h=a.ngZone.runOutsideAngular(function(){return a.fetchImpl(b.urlWithParams,Object.assign({},{signal:c},e))}),h.then(Rsa,Rsa),d.next({type:0}),y(vb,h,4);case 4:f=vb.yieldResult;Hu(vb,3);break;case 2:return l=we(vb),d.error(new yA({error:l,status:(q=l.status)!=null?q:0,statusText:l.statusText,url:b.urlWithParams,headers:l.headers})),vb.return();
case 3:u=new uA(f.headers);A=f.statusText;H=(F=Qsa(f))!=null?F:b.urlWithParams;N=f.status;O=null;b.reportProgress&&d.next(new Edc({headers:u,status:N,statusText:A,url:H}));if(!f.body){vb.jumpTo(5);break}T=f.headers.get("content-length");ea=[];ka=f.body.getReader();oa=0;Pa=typeof Zone!=="undefined"&&Zone.current;return y(vb,a.ngZone.runOutsideAngular(function(){var fc,hc,tc,bc,De,mb;return se(function(Fb){if(Fb.nextAddress==1)return y(Fb,ka.read(),5);fc=Fb.yieldResult;hc=fc.done;tc=fc.value;if(hc)return Fb.jumpTo(0);
ea.push(tc);oa+=tc.length;b.reportProgress&&(De=bc=void 0,Ua=b.responseType==="text"?((bc=Ua)!=null?bc:"")+((De=La)!=null?De:La=new TextDecoder).decode(tc,{stream:!0}):void 0,mb=function(){return d.next({type:3,total:T?+T:void 0,loaded:oa,partialText:Ua})},Pa?Pa.run(mb):mb());return Fb.jumpTo(1)})}),6);case 6:lb=Jdc(ea,oa);try{Ga=(qa=f.headers.get("Content-Type"))!=null?qa:"",O=Kdc(b,lb,Ga)}catch(fc){return d.error(new yA({error:fc,headers:new uA(f.headers),status:f.status,statusText:f.statusText,
url:(Ha=Qsa(f))!=null?Ha:b.urlWithParams})),vb.return()}case 5:N===0&&(N=O?200:0),(Ab=N>=200&&N<300)?(d.next(new xA({body:O,headers:u,status:N,statusText:A,url:H})),d.complete()):d.error(new yA({error:O,headers:u,status:N,statusText:A,url:H})),xe(vb)}})},Kdc=function(a,b,c){switch(a.responseType){case "json":return a=(new TextDecoder).decode(b).replace(Fdc,""),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}},
Idc=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=Ddc(a);d!==null&&(b["Content-Type"]=d)}return{body:Cdc(a),method:a.method,headers:b,credentials:c}},Jdc=function(a,b){b=new Uint8Array(b);var c=0;a=k(a);for(var d=a.next();!d.done;d=a.next())d=d.value,b.set(d,c),c+=d.length;return b};
AA.\u0275fac=function(a){return new (a||AA)};AA.\u0275prov=n({token:AA,factory:AA.\u0275fac});var Gdc=function(){};var Ldc=new zd(""),Mdc=new zd(""),Ndc=new zd(""),Odc=new zd("",{providedIn:"root",factory:function(){return!0}}),BA=function(a,b){this.backend=a;this.injector=b;this.chain=null;this.pendingTasks=r(Cv);this.contributeToStability=r(Odc)};Y(BA,sdc);
BA.prototype.handle=function(a){var b=this;this.chain===null&&(this.chain=Array.from(new Set([].concat(t(this.injector.get(Mdc)),t(this.injector.get(Ndc,[]))))).reduceRight(function(d,e){return Usa(d,e,b.injector)},Ssa));if(this.contributeToStability){var c=this.pendingTasks.add();return this.chain(a,function(d){return b.backend.handle(d)}).pipe(Qf(function(){return b.pendingTasks.remove(c)}))}return this.chain(a,function(d){return b.backend.handle(d)})};
BA.\u0275fac=function(a){return new (a||BA)(pd(tdc),pd(qv))};BA.\u0275prov=n({token:BA,factory:BA.\u0275fac});var Pdc=/^\)\]\}',?\n/,CA=function(a){this.xhrFactory=a};
CA.prototype.handle=function(a){if(a.method==="JSONP")throw new bd(-2800,!1);var b=this.xhrFactory;return(b.\u0275loadImpl?re(b.\u0275loadImpl()):Ae(null)).pipe(Yf(function(){return new oe(function(c){var d=b.build();d.open(a.method,a.urlWithParams);a.withCredentials&&(d.withCredentials=!0);a.headers.forEach(function(N,O){return d.setRequestHeader(N,O.join(","))});a.headers.has("Accept")||d.setRequestHeader("Accept","application/json, text/plain, */*");if(!a.headers.has("Content-Type")){var e=Ddc(a);
e!==null&&d.setRequestHeader("Content-Type",e)}a.responseType&&(e=a.responseType.toLowerCase(),d.responseType=e!=="json"?e:"text");var f=Cdc(a),h=null,l=function(){if(h!==null)return h;var N=d.statusText||"OK",O=new uA(d.getAllResponseHeaders()),T=("responseURL"in d&&d.responseURL?d.responseURL:/^X-Request-URL:/m.test(d.getAllResponseHeaders())?d.getResponseHeader("X-Request-URL"):null)||a.url;return h=new Edc({headers:O,status:d.status,statusText:N,url:T})},q=function(){var N=l(),O=N.headers,T=N.status,
ea=N.statusText;N=N.url;var ka=null;T!==204&&(ka=typeof d.response==="undefined"?d.responseText:d.response);T===0&&(T=ka?200:0);var oa=T>=200&&T<300;if(a.responseType==="json"&&typeof ka==="string"){var La=ka;ka=ka.replace(Pdc,"");try{ka=ka!==""?JSON.parse(ka):null}catch(Ua){ka=La,oa&&(oa=!1,ka={error:Ua,text:ka})}}oa?(c.next(new xA({body:ka,headers:O,status:T,statusText:ea,url:N||void 0})),c.complete()):c.error(new yA({error:ka,headers:O,status:T,statusText:ea,url:N||void 0}))},u=function(N){var O=
l().url;N=new yA({error:N,status:d.status||0,statusText:d.statusText||"Unknown Error",url:O||void 0});c.error(N)},A=!1,F=function(N){A||(c.next(l()),A=!0);var O={type:3,loaded:N.loaded};N.lengthComputable&&(O.total=N.total);a.responseType==="text"&&d.responseText&&(O.partialText=d.responseText);c.next(O)},H=function(N){var O={type:1,loaded:N.loaded};N.lengthComputable&&(O.total=N.total);c.next(O)};d.addEventListener("load",q);d.addEventListener("error",u);d.addEventListener("timeout",u);d.addEventListener("abort",
u);a.reportProgress&&(d.addEventListener("progress",F),f!==null&&d.upload&&d.upload.addEventListener("progress",H));d.send(f);c.next({type:0});return function(){d.removeEventListener("error",u);d.removeEventListener("abort",u);d.removeEventListener("load",q);d.removeEventListener("timeout",u);a.reportProgress&&(d.removeEventListener("progress",F),f!==null&&d.upload&&d.upload.removeEventListener("progress",H));d.readyState!==d.DONE&&d.abort()}})}))};CA.\u0275fac=function(a){return new (a||CA)(pd(S7b))};
CA.\u0275prov=n({token:CA,factory:CA.\u0275fac});var Vsa=new zd(""),Qdc=new zd("",{providedIn:"root",factory:function(){return"XSRF-TOKEN"}}),Xsa=new zd("",{providedIn:"root",factory:function(){return"X-XSRF-TOKEN"}}),Wsa=function(){},DA=function(a,b,c){this.doc=a;this.platform=b;this.cookieName=c;this.lastCookieString="";this.lastToken=null};
DA.prototype.getToken=function(){if(this.platform==="server")return null;var a=this.doc.cookie||"";if(a!==this.lastCookieString){a:{var b=this.cookieName;b=encodeURIComponent(b);for(var c=k(a.split(";")),d=c.next();!d.done;d=c.next()){d=d.value;var e=d.indexOf("=");e=k(e==-1?[d,""]:[d.slice(0,e),d.slice(e+1)]);d=e.next().value;e=e.next().value;if(d.trim()===b){b=decodeURIComponent(e);break a}}b=null}this.lastToken=b;this.lastCookieString=a}return this.lastToken};
DA.\u0275fac=function(a){return new (a||DA)(pd(ii),pd(Fv),pd(Qdc))};DA.\u0275prov=n({token:DA,factory:DA.\u0275fac});var Rdc=new zd("");var EA=function(){};EA.\u0275fac=function(a){return new (a||EA)};EA.\u0275mod=Cf({type:EA});
EA.\u0275inj=p({providers:[function(){for(var a=[zA,CA,BA,{provide:sdc,useExisting:BA},{provide:tdc,useFactory:function(){var d;return(d=r(AA,{optional:!0}))!=null?d:r(CA)}},{provide:Mdc,useValue:Ysa,multi:!0},{provide:Vsa,useValue:!0},{provide:Wsa,useClass:DA}],b=k(vd.apply(0,arguments)),c=b.next();!c.done;c=b.next())a.push.apply(a,t(c.value.\u0275providers));return{"\u0275providers":a}}({"\u0275kind":1,"\u0275providers":[{provide:Rdc,useFactory:function(){var a=null;return function(b,c){if(a===
null){var d;a=((d=r(Ldc,{optional:!0}))!=null?d:[]).reduceRight(Tsa,Ssa)}var e=r(Cv);if(r(Odc)){var f=e.add();return a(b,c).pipe(Qf(function(){return e.remove(f)}))}return a(b,c)}}},{provide:Mdc,useExisting:Rdc,multi:!0}]})]});new zd("");new zd("");var FA=function(){};FA.\u0275fac=function(a){return new (a||FA)};FA.\u0275prov=n({token:FA,factory:function(a){var b=null;return b=a?new (a||FA):pd(GA)},providedIn:"root"});var GA=function(a){this._doc=a};Y(GA,FA);
GA.prototype.sanitize=function(a,b){if(b==null)return null;switch(a){case 0:return b;case 1:return pf(b,"HTML")?of(b):Kia(this._doc,String(b)).toString();case 2:return pf(b,"Style")?of(b):b;case 3:if(pf(b,"Script"))return of(b);throw new bd(5200,!1);case 4:return pf(b,"URL")?of(b):wia(String(b));case 5:if(pf(b,"ResourceURL"))return of(b);throw new bd(5201,!1);default:throw new bd(5202,!1);}};GA.prototype.bypassSecurityTrustHtml=function(a){return new W5b(a)};GA.prototype.bypassSecurityTrustUrl=function(a){return new X5b(a)};
GA.prototype.bypassSecurityTrustResourceUrl=function(a){return new Y5b(a)};GA.\u0275fac=function(a){return new (a||GA)(pd(ii))};GA.\u0275prov=n({token:GA,factory:GA.\u0275fac,providedIn:"root"});var HA=function(a){this.decorated=new GA(a)};Y(HA,FA);HA.prototype.sanitize=function(a,b){if(b==null)return null;if(b instanceof Kc||Oc(b)||b instanceof Tc){if(Sdc(b,a))return this.decorated.sanitize(a,Tdc(this,b));throw Error("Kb`"+g6b[a]+"`"+b);}return this.decorated.sanitize(a,b)};HA.prototype.bypassSecurityTrustHtml=function(){throw Error("Lb");};HA.prototype.bypassSecurityTrustUrl=function(){throw Error("Lb");};HA.prototype.bypassSecurityTrustResourceUrl=function(){throw Error("Lb");};
var Tdc=function(a,b){if(b!=null){if(b instanceof Tc)return a.decorated.bypassSecurityTrustHtml(String(b));if(Oc(b))return a.decorated.bypassSecurityTrustUrl(Pc(b));if(b instanceof Kc)return a.decorated.bypassSecurityTrustResourceUrl(String(b))}return null},Sdc=function(a,b){switch(b){case 1:return a instanceof Tc;case 4:return Oc(a)||a instanceof Kc;case 5:return a instanceof Kc;case 3:return!1;default:return!1}};HA.\u0275fac=function(a){return new (a||HA)(pd(ii))};HA.\u0275prov=n({token:HA,factory:HA.\u0275fac});var Udc=[{provide:h6b,useExisting:FA},{provide:FA,useClass:HA}],IA=function(){};IA.\u0275fac=function(a){return new (a||IA)};IA.\u0275mod=Cf({type:IA});IA.\u0275inj=p({providers:Udc,imports:[sA]});var JA=function(){},Vdc=function(a){for(a=a.root;a!==void 0;){var b=void 0;var c=(b=a.data[Ti])!=null?b:c;a=a.children.find(function(d){return d.outlet==="primary"})}return c};JA.\u0275fac=function(a){return new (a||JA)};JA.\u0275prov=n({token:JA,factory:function(){return r(KA)},providedIn:"root"});var KA=function(a){this.title=a};Y(KA,JA);KA.\u0275fac=function(a){return new (a||KA)(pd(tA))};KA.\u0275prov=n({token:KA,factory:KA.\u0275fac,providedIn:"root"});var Wdc=new zd("",{providedIn:"root",factory:function(){return{}}});var bta=new zd(""),LA=function(){this.componentLoaders=new WeakMap;this.childrenLoaders=new WeakMap;r(Tv)};
LA.prototype.loadComponent=function(a){var b=this;if(this.componentLoaders.get(a))return this.componentLoaders.get(a);if(a._loadedComponent)return Ae(a._loadedComponent);if(this.onLoadStartListener)this.onLoadStartListener(a);var c=Hi(a.loadComponent()).pipe(z(Zsa),$f(function(d){if(b.onLoadEndListener)b.onLoadEndListener(a);a._loadedComponent=d}),Qf(function(){b.componentLoaders.delete(a)}));c=(new Sf(c,function(){return new Uf})).pipe(hha());this.componentLoaders.set(a,c);return c};
LA.prototype.loadChildren=function(a,b){var c=this;if(this.childrenLoaders.get(b))return this.childrenLoaders.get(b);if(b._loadedRoutes)return Ae({routes:b._loadedRoutes,injector:b._loadedInjector});if(this.onLoadStartListener)this.onLoadStartListener(b);a=cta(b,a,this.onLoadEndListener).pipe(Qf(function(){c.childrenLoaders.delete(b)}));a=(new Sf(a,function(){return new Uf})).pipe(hha());this.childrenLoaders.set(b,a);return a};LA.\u0275fac=function(a){return new (a||LA)};
LA.\u0275prov=n({token:LA,factory:LA.\u0275fac,providedIn:"root"});var MA=function(){};MA.\u0275fac=function(a){return new (a||MA)};MA.\u0275prov=n({token:MA,factory:function(){return r(NA)},providedIn:"root"});var NA=function(){};NA.prototype.merge=function(a){return a};NA.\u0275fac=function(a){return new (a||NA)};NA.\u0275prov=n({token:NA,factory:NA.\u0275fac,providedIn:"root"});var Xdc=new zd(""),dta=new zd("");var Ydc=new zd(""),OA=function(){var a=this;this.lastSuccessfulNavigation=this.currentTransition=this.currentNavigation=null;this.events=new Uf;this.transitionAbortSubject=new Uf;this.configLoader=r(LA);this.environmentInjector=r(qv);this.urlSerializer=r(bA);this.rootContexts=r(eA);this.location=r(sw);this.inputBindingEnabled=r(scc,{optional:!0})!==null;this.titleStrategy=r(JA);this.options=r(Wdc,{optional:!0})||{};this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";
this.urlHandlingStrategy=r(MA);this.createViewTransition=r(Xdc,{optional:!0});this.navigationErrorHandler=r(Ydc,{optional:!0});this.navigationId=0;this.afterPreactivation=function(){return Ae(void 0)};this.rootComponentType=null;this.configLoader.onLoadEndListener=function(b){return a.events.next(new gcc(b))};this.configLoader.onLoadStartListener=function(b){return a.events.next(new fcc(b))}};OA.prototype.complete=function(){var a;(a=this.transitions)==null||a.complete()};
var Zdc=function(a,b){var c=++a.navigationId,d;(d=a.transitions)==null||d.next(Object.assign({},a.transitions.value,b,{id:c}))},cec=function(a,b,c,d){a.transitions=new Xi({id:0,currentUrlTree:c,currentRawUrl:c,extractedUrl:c,urlAfterRedirects: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(Ue(function(e){return e.id!==0}),z(function(e){return Object.assign({},e,{extractedUrl:e.rawUrl})}),Yf(function(e){var f=!1,h=!1;return Ae(e).pipe(Yf(function(l){if(a.navigationId>e.id)return $dc(a,e,1),Se;a.currentTransition=e;a.currentNavigation={id:l.id,initialUrl:l.rawUrl,extractedUrl:l.extractedUrl,targetBrowserUrl:typeof l.extras.browserUrl==="string"?a.urlSerializer.parse(l.extras.browserUrl):l.extras.browserUrl,trigger:l.source,extras:l.extras,
previousNavigation:a.lastSuccessfulNavigation?Object.assign({},a.lastSuccessfulNavigation,{previousNavigation:null}):null};var q=!b.navigated||aec(a)||bec(a),u,A=(u=l.extras.onSameUrlNavigation)!=null?u:b.onSameUrlNavigation;return q||A==="reload"?Ae(l).pipe(Yf(function(F){var H,N=(H=a.transitions)==null?void 0:H.getValue();a.events.next(new jj(F.id,a.urlSerializer.serialize(F.extractedUrl),F.source,F.restoredState));var O;return N!==((O=a.transitions)==null?void 0:O.getValue())?Se:Promise.resolve(F)}),
vsa(a.environmentInjector,a.configLoader,a.rootComponentType,b.config,a.urlSerializer,a.paramsInheritanceStrategy),$f(function(F){e.targetSnapshot=F.targetSnapshot;e.urlAfterRedirects=F.urlAfterRedirects;a.currentNavigation=Object.assign({},a.currentNavigation,{finalUrl:F.urlAfterRedirects});F=new acc(F.id,a.urlSerializer.serialize(F.extractedUrl),a.urlSerializer.serialize(F.urlAfterRedirects),F.targetSnapshot);a.events.next(F)})):(a.events.next(new gj(l.id,a.urlSerializer.serialize(l.rawUrl),"",
0)),l.resolve(!1),Se)}),$f(function(l){l=new bcc(l.id,a.urlSerializer.serialize(l.extractedUrl),a.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);a.events.next(l)}),z(function(l){var q=Object,u=q.assign;var A=l.currentSnapshot;var F=l.targetSnapshot._root;A=$i(F,A?A._root:null,a.rootContexts,[F.value]);return a.currentTransition=e=u.call(q,{},l,{guards:A})}),asa(a.environmentInjector,function(l){return a.events.next(l)}),$f(function(l){if((e.guardsResult=l.guardsResult)&&typeof l.guardsResult!==
"boolean")throw Sra(l.guardsResult);l=new ccc(l.id,a.urlSerializer.serialize(l.extractedUrl),a.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot,!!l.guardsResult);a.events.next(l)}),Ue(function(l){return l.guardsResult?!0:($dc(a,l,3),!1)}),Bsa(function(l){if(l.guards.canActivateChecks.length)return Ae(l).pipe($f(function(q){q=new dcc(q.id,a.urlSerializer.serialize(q.extractedUrl),a.urlSerializer.serialize(q.urlAfterRedirects),q.targetSnapshot);a.events.next(q)}),Yf(function(q){var u=!1;
return Ae(q).pipe(ysa(a.paramsInheritanceStrategy,a.environmentInjector),$f({next:function(){return u=!0},complete:function(){u||$dc(a,q,2)}}))}),$f(function(q){q=new ecc(q.id,a.urlSerializer.serialize(q.extractedUrl),a.urlSerializer.serialize(q.urlAfterRedirects),q.targetSnapshot);a.events.next(q)}))}),Bsa(function(l){var q=function(u){var A=[],F;((F=u.routeConfig)==null?0:F.loadComponent)&&!u.routeConfig._loadedComponent&&A.push(a.configLoader.loadComponent(u.routeConfig).pipe($f(function(N){u.component=
N}),z(function(){})));F=k(u.children);for(var H=F.next();!H.done;H=F.next())A.push.apply(A,t(q(H.value)));return A};return Ie(q(l.targetSnapshot.root)).pipe($ja(null),Nf())}),Bsa(function(){return a.afterPreactivation()}),Yf(function(){var l=e,q=l.currentSnapshot;l=l.targetSnapshot;var u,A=(u=a.createViewTransition)==null?void 0:u.call(a,a.environmentInjector,q.root,l.root);return A?re(A).pipe(z(function(){return e})):Ae(e)}),z(function(l){var q=l.targetSnapshot;var u=l.currentRouterState;u=Qra(b.routeReuseStrategy,
q._root,u?u._root:void 0);q=new pcc(u,q);a.currentTransition=e=Object.assign({},l,{targetRouterState:q});a.currentNavigation.targetRouterState=q;return e}),$f(function(){a.events.next(new kcc)}),Acc(a.rootContexts,b.routeReuseStrategy,function(l){return a.events.next(l)},a.inputBindingEnabled),Nf(),$f({next:function(l){f=!0;a.lastSuccessfulNavigation=a.currentNavigation;a.events.next(new dj(l.id,a.urlSerializer.serialize(l.extractedUrl),a.urlSerializer.serialize(l.urlAfterRedirects)));var q;if((q=
a.titleStrategy)!=null){var u=Vdc(l.targetRouterState.snapshot);u!==void 0&&q.title.setTitle(u)}l.resolve(!0)},complete:function(){f=!0}}),Zf(a.transitionAbortSubject.pipe($f(function(l){throw l;}))),Qf(function(){f||h||$dc(a,e,1);var l;((l=a.currentTransition)==null?void 0:l.id)===e.id&&(a.currentNavigation=null,a.currentTransition=null)}),If(function(l){h=!0;if(Tra(l))a.events.next(new ej(e.id,a.urlSerializer.serialize(e.extractedUrl),l.message,l.cancellationCode)),Tra(l)&&Mi(l.url)?a.events.next(new lcc(l.url,
l.navigationBehaviorOptions)):e.resolve(!1);else{var q,u=new fj(e.id,a.urlSerializer.serialize(e.extractedUrl),l,(q=e.targetSnapshot)!=null?q:void 0);try{throw Cd(a.environmentInjector,function(){var A;return(A=a.navigationErrorHandler)==null?void 0:A.call(a,u)}),a.events.next(u),l;}catch(A){a.options.resolveNavigationPromiseOnError?e.resolve(!1):e.reject(A)}}return Se}))}))},$dc=function(a,b,c){c=new ej(b.id,a.urlSerializer.serialize(b.extractedUrl),"",c);a.events.next(c);b.resolve(!1)},aec=function(a){var b,
c;return((b=a.currentTransition)==null?void 0:b.extractedUrl.toString())!==((c=a.currentTransition)==null?void 0:c.currentUrlTree.toString())},bec=function(a){var b=a.urlSerializer.parse(a.location.path(!0));var 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(OA.prototype,{hasRequestedNavigation:{configurable:!0,enumerable:!0,get:function(){return this.navigationId!==0}}});OA.\u0275fac=function(a){return new (a||OA)};OA.\u0275prov=n({token:OA,factory:OA.\u0275fac,providedIn:"root"});var PA=function(){};PA.\u0275fac=function(a){return new (a||PA)};PA.\u0275prov=n({token:PA,factory:function(){return r(QA)},providedIn:"root"});var dec=function(){};dec.prototype.store=function(){};dec.prototype.shouldReuseRoute=function(a,b){return a.routeConfig===b.routeConfig};var QA=function(){};Y(QA,dec);QA.\u0275fac=function(){var a;return function(b){return(a||(a=ee(QA)))(b||QA)}}();QA.\u0275prov=n({token:QA,factory:QA.\u0275fac,providedIn:"root"});var RA=function(){};RA.\u0275fac=function(a){return new (a||RA)};RA.\u0275prov=n({token:RA,factory:function(){return r(SA)},providedIn:"root"});
var SA=function(){this.location=r(sw);this.urlSerializer=r(bA);this.options=r(Wdc,{optional:!0})||{};this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";this.urlHandlingStrategy=r(MA);this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";this.rawUrlTree=this.currentUrlTree=new Li;this.currentPageId=0;this.lastSuccessfulId=-1;var a=new qcc("",new Vi(new gA([],{},{},"",{},"primary",null,null,{}),[])),b=new Wi(new Xi([new Pi("",{})]),new Xi({}),new Xi({}),
new Xi(""),new Xi({}),"primary",null,a.root);b.snapshot=a.root;this.routerState=new pcc(new Vi(b,[]),a);this.stateMemento=eec(this)};Y(SA,RA);SA.prototype.restoredState=function(){return this.location.getState()};
var eec=function(a){return{rawUrlTree:a.rawUrlTree,currentUrlTree:a.currentUrlTree,routerState:a.routerState}},fec=function(a,b){return a.location.subscribe(function(c){c.type==="popstate"&&b(c.url,c.state)})},hec=function(a,b,c){b=b instanceof Li?a.urlSerializer.serialize(b):b;var d=a.location;var e=e===void 0?"":e;d.path()==d.normalize(b+Wh(e))||c.extras.replaceUrl?(c=Object.assign({},c.extras.state,gec(a,c.id,a.browserPageId)),a.location.replaceState(b,"",c)):(c=Object.assign({},c.extras.state,
gec(a,c.id,a.browserPageId+1)),a.location.go(b,"",c))},jec=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),iec(a))):a.canceledNavigationResolution==="replace"&&(c&&a.resetState(b),iec(a))};
SA.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 iec=function(a){a.location.replaceState(a.urlSerializer.serialize(a.rawUrlTree),"",gec(a,a.lastSuccessfulId,a.currentPageId))},gec=function(a,b,c){return a.canceledNavigationResolution==="computed"?{navigationId:b,"\u0275routerPageId":c}:{navigationId:b}};
da.Object.defineProperties(SA.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}}});SA.\u0275fac=function(){var a;return function(b){return(a||(a=ee(SA)))(b||SA)}}();SA.\u0275prov=n({token:SA,factory:SA.\u0275fac,providedIn:"root"});var kec={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},lec={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},TA=function(){var a=this;this.disposed=!1;this.console=r(Kv);this.stateManager=r(RA);this.options=r(Wdc,{optional:!0})||{};this.pendingTasks=r(Cv);this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";this.navigationTransitions=r(OA);this.urlSerializer=r(bA);this.location=r(sw);this.urlHandlingStrategy=r(MA);this._events=
new Uf;this.navigated=!1;this.routeReuseStrategy=r(PA);this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";var b,c;this.config=(c=(b=r(bta,{optional:!0}))==null?void 0:b.flat())!=null?c:[];r(scc,{optional:!0});this.eventsSubscription=new je;this.config=this.config.map(Nra);this.navigated=!1;cec(this.navigationTransitions,this,this.currentUrlTree,this.routerState).subscribe({error:function(d){a.console.warn(d)}});mec(this)},mec=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 jj)f.stateMemento=eec(f);else if(c instanceof gj)f.rawUrlTree=e.initialUrl;else if(c instanceof acc){if(f.urlUpdateStrategy==="eager"&&!e.extras.skipLocationChange){var h=f.urlHandlingStrategy.merge(e.finalUrl,e.initialUrl),l;hec(f,(l=e.targetBrowserUrl)!=null?l:h,e)}}else if(c instanceof kcc){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;hec(f,(q=e.targetBrowserUrl)!=null?q:f.rawUrlTree,e)}}else c instanceof ej&&(c.code===3||c.code===2)?jec(f,e):c instanceof fj?jec(f,e,!0):c instanceof dj&&(f.lastSuccessfulId=c.id,f.currentPageId=f.browserPageId);if(c instanceof ej&&c.code!==0&&c.code!==1)a.navigated=!0;else if(c instanceof dj)a.navigated=!0;else if(c instanceof lcc){var u=c.navigationBehaviorOptions,A=a.urlHandlingStrategy.merge(c.url,
d.currentRawUrl),F=Object.assign({},{browserUrl:d.extras.browserUrl,info:d.extras.info,skipLocationChange:d.extras.skipLocationChange,replaceUrl:d.extras.replaceUrl||a.urlUpdateStrategy==="eager"||d.source!=="imperative"},u);nec(a,A,"imperative",null,F,{resolve:d.resolve,reject:d.reject,promise:d.promise})}}c instanceof kcc||c instanceof lcc||a._events.next(c)}catch(H){a.navigationTransitions.transitionAbortSubject.next(H)}});a.eventsSubscription.add(b)};
TA.prototype.initialNavigation=function(){oec(this);this.navigationTransitions.hasRequestedNavigation||pec(this,this.location.path(!0),"imperative",this.stateManager.restoredState())};
var oec=function(a){a.nonRouterCurrentEntryChangeSubscription!=null||(a.nonRouterCurrentEntryChangeSubscription=fec(a.stateManager,function(b,c){setTimeout(function(){pec(a,b,"popstate",c)},0)}))},pec=function(a,b,c,d){var e={replaceUrl:!0},f=(d==null?0:d.navigationId)?d:null;d&&(d=Object.assign({},d),delete d.navigationId,delete d.\u0275routerPageId,Object.keys(d).length!==0&&(e.state=d));b=a.parseUrl(b);nec(a,b,c,f,e)};TA.prototype.ngOnDestroy=function(){this.dispose()};
TA.prototype.dispose=function(){this._events.unsubscribe();this.navigationTransitions.complete();this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0);this.disposed=!0;this.eventsSubscription.unsubscribe()};
var UA=function(a,b,c){var d=c=c===void 0?{}:c;c=d.relativeTo;var e=d.queryParams,f=d.fragment;f=d.preserveFragment?a.currentUrlTree.fragment:f;var h;switch((h=d.queryParamsHandling)!=null?h:a.options.defaultQueryParamsHandling){case "merge":h=Object.assign({},a.currentUrlTree.queryParams,e);break;case "preserve":h=a.currentUrlTree.queryParams;break;default:h=e||null}h!==null&&(h=qec(h));try{var l=rra(c?c.snapshot:a.routerState.snapshot.root)}catch(q){if(typeof b[0]!=="string"||b[0][0]!=="/")b=[];
l=a.currentUrlTree.root}return xra(l,b,h,f!=null?f:null)},Jt=function(a,b,c){c=c===void 0?{skipLocationChange:!1}:c;b=Mi(b)?b:a.parseUrl(b);b=a.urlHandlingStrategy.merge(b,a.rawUrlTree);return nec(a,b,"imperative",null,c)};TA.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 bd(4008,!1);return Jt(this,UA(this,a,b),b)};TA.prototype.parseUrl=function(a){try{return this.urlSerializer.parse(a)}catch(b){return this.urlSerializer.parse("/")}};
TA.prototype.isActive=function(a,b){var c;b===!0?c=Object.assign({},kec):b===!1?c=Object.assign({},lec):c=b;if(Mi(a))return Zqa(this.currentUrlTree,a,c);a=this.parseUrl(a);return Zqa(this.currentUrlTree,a,c)};
var qec=function(a){return Object.entries(a).reduce(function(b,c){var d=k(c);c=d.next().value;d=d.next().value;d!==null&&d!==void 0&&(b[c]=d);return b},{})},nec=function(a,b,c,d,e,f){if(a.disposed)return Promise.resolve(!1);if(f){var h=f.resolve;var l=f.reject;f=f.promise}else f=new Promise(function(u,A){h=u;l=A});var q=a.pendingTasks.add();gta(a,function(){queueMicrotask(function(){return a.pendingTasks.remove(q)})});Zdc(a.navigationTransitions,{source:c,restoredState:d,currentUrlTree:a.currentUrlTree,
currentRawUrl:a.currentUrlTree,rawUrl:b,extras:e,resolve:h,reject:l,promise:f,currentSnapshot:a.routerState.snapshot,currentRouterState:a.routerState});return f.catch(function(u){return Promise.reject(u)})};
da.Object.defineProperties(TA.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}}});TA.\u0275fac=function(a){return new (a||TA)};TA.\u0275prov=n({token:TA,factory:TA.\u0275fac,providedIn:"root"});var VA=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 Uf;this.replaceUrl=this.skipLocationChange=this.preserveFragment=!1;this.routerLinkInput=null;var l;b=(l=e.nativeElement.tagName)==null?void 0:l.toLowerCase();(this.isAnchorElement=b==="a"||b==="area")?this.subscription=a.events.subscribe(function(q){q instanceof dj&&rec(h)}):sec(this,"0")},sec=function(a,b){a.tabIndexAttribute!=
null||a.isAnchorElement||tec(a,"tabindex",b)};VA.prototype.ngOnChanges=function(){this.isAnchorElement&&rec(this);this.onChanges.next(this)};VA.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;Jt(this.router,f,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info});return!this.isAnchorElement};
VA.prototype.ngOnDestroy=function(){var a;(a=this.subscription)==null||a.unsubscribe()};var rec=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"?Ria:vf)(a.href));tec(a,"href",b)},tec=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(VA.prototype,{routerLink:{configurable:!0,enumerable:!0,set:function(a){a==null?(this.routerLinkInput=null,sec(this,null)):(Mi(a)?this.routerLinkInput=a:this.routerLinkInput=Array.isArray(a)?a:[a],sec(this,"0"))}},urlTree:{configurable:!0,enumerable:!0,get:function(){return this.routerLinkInput===null?null:Mi(this.routerLinkInput)?this.routerLinkInput:UA(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})}}});VA.\u0275fac=function(a){return new (a||VA)(hf(TA),hf(Wi),$d("tabindex"),hf(Iv),hf(ef),hf(pw))};
VA.\u0275dir=Df({type:VA,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(a,b){a&1&&M("click",function(c){return b.onClick(c.button,c.ctrlKey,c.shiftKey,c.altKey,c.metaKey)});a&2&&jg("target",b.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",uh],skipLocationChange:[2,"skipLocationChange","skipLocationChange",
uh],replaceUrl:[2,"replaceUrl","replaceUrl",uh],routerLink:"routerLink"},features:[dg,rv]});var WA=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 Dv;this.routerEventsSubscription=a.events.subscribe(function(h){h instanceof dj&&f.update()})};WA.prototype.ngAfterContentInit=function(){var a=this;Ae(this.links.changes,Ae(null)).pipe(Le()).subscribe(function(){a.update();uec(a)})};
var uec=function(a){var b;(b=a.linkInputChangesSubscription)==null||b.unsubscribe();b=[].concat(t(a.links.toArray()),[a.link]).filter(function(c){return!!c}).map(function(c){return c.onChanges});a.linkInputChangesSubscription=re(b).pipe(Le()).subscribe(function(c){a._isActive!==vec(a,a.router)(c)&&a.update()})};WA.prototype.ngOnChanges=function(){this.update()};WA.prototype.ngOnDestroy=function(){this.routerEventsSubscription.unsubscribe();var a;(a=this.linkInputChangesSubscription)==null||a.unsubscribe()};
WA.prototype.update=function(){var a=this;this.links&&this.router.navigated&&queueMicrotask(function(){var b=wec(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 vec=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}},wec=function(a){var b=vec(a,a.router);return a.link&&b(a.link)||a.links.some(b)};
da.Object.defineProperties(WA.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})}}});WA.\u0275fac=function(a){return new (a||WA)(hf(TA),hf(ef),hf(Iv),hf(Ov),hf(VA,8))};
WA.\u0275dir=Df({type:WA,selectors:[["","routerLinkActive",""]],contentQueries:function(a,b,c){a&1&&Sg(c,VA,5);if(a&2){var d;Vg(d=Wg())&&(b.links=d)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[rv]});var xec=function(){},XA=function(a,b,c,d,e){this.router=a;this.injector=c;this.preloadingStrategy=d;this.loader=e},yec=function(a){a.subscription=a.router.events.pipe(Ue(function(b){return b instanceof dj}),Kf(function(){return a.preload()})).subscribe(function(){})};XA.prototype.preload=function(){return zec(this,this.injector,this.router.config)};XA.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()};
var zec=function(a,b,c){var d=[];c=k(c);for(var e=c.next();!e.done;e=c.next()){e=e.value;e.providers&&!e._injector&&(e._injector=Jja(e.providers,b,"Route: "+e.path));var f=void 0,h=(f=e._injector)!=null?f:b,l=void 0;f=(l=e._loadedInjector)!=null?l:h;(e.loadChildren&&!e._loadedRoutes&&e.canLoad===void 0||e.loadComponent&&!e._loadedComponent)&&d.push(Aec(a,h,e));if(e.children||e._loadedRoutes)h=void 0,d.push(zec(a,f,(h=e.children)!=null?h:e._loadedRoutes))}return re(d).pipe(Le())},Aec=function(a,b,
c){return a.preloadingStrategy.preload(c,function(){var d=(c.loadChildren&&c.canLoad===void 0?a.loader.loadChildren(b,c):Ae(null)).pipe(Ke(function(f){if(f===null)return Ae(void 0);c._loadedRoutes=f.routes;c._loadedInjector=f.injector;var h;return zec(a,(h=f.injector)!=null?h:b,f.routes)}));if(c.loadComponent&&!c._loadedComponent){var e=a.loader.loadComponent(c);return re([d,e]).pipe(Le())}return d})};XA.\u0275fac=function(a){return new (a||XA)(pd(TA),pd(Tv),pd(qv),pd(xec),pd(LA))};
XA.\u0275prov=n({token:XA,factory:XA.\u0275fac,providedIn:"root"});var Bec=new zd(""),YA=function(a,b,c,d,e){e=e===void 0?{}:e;this.urlSerializer=a;this.transitions=b;this.viewportScroller=c;this.zone=d;this.options=e;this.lastId=0;this.lastSource="imperative";this.restoredId=0;this.store={};var f;(f=e).scrollPositionRestoration||(f.scrollPositionRestoration="disabled");var h;(h=e).anchorScrolling||(h.anchorScrolling="disabled")};
YA.prototype.init=function(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual");this.routerEventsSubscription=Cec(this);this.scrollEventsSubscription=Dec(this)};
var Cec=function(a){return a.transitions.events.subscribe(function(b){b instanceof jj?(a.store[a.lastId]=a.viewportScroller.getScrollPosition(),a.lastSource=b.navigationTrigger,a.restoredId=b.restoredState?b.restoredState.navigationId:0):b instanceof dj?(a.lastId=b.id,Eec(a,a.urlSerializer.parse(b.urlAfterRedirects).fragment)):b instanceof gj&&b.code===0&&(a.lastSource=void 0,a.restoredId=0,Eec(a,a.urlSerializer.parse(b.url).fragment))})},Dec=function(a){return a.transitions.events.subscribe(function(b){b instanceof
jcc&&(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]))})},Eec=function(a,b){a.zone.runOutsideAngular(function(){setTimeout(function(){a.zone.run(function(){a.transitions.events.next(new jcc(a.lastSource===
"popstate"?a.store[a.restoredId]:null,b))})},0)})};YA.prototype.ngOnDestroy=function(){var a;(a=this.routerEventsSubscription)==null||a.unsubscribe();var b;(b=this.scrollEventsSubscription)==null||b.unsubscribe()};YA.\u0275fac=function(){dia()};YA.\u0275prov=n({token:YA,factory:YA.\u0275fac});new zd("",{providedIn:"root",factory:function(){return!1}});var Fec=new zd("",{factory:function(){return new Uf}}),Gec=new zd("",{providedIn:"root",factory:function(){return 1}}),Hec=new zd("");var Iec=new zd("ROUTER_FORROOT_GUARD"),Jec=[sw,{provide:bA,useClass:Tbc},TA,eA,{provide:Wi,useFactory:function(a){return a.routerState.root},deps:[TA]},LA,[]],ZA=function(){};ZA.\u0275fac=function(a){return new (a||ZA)(pd(Iec,8))};ZA.\u0275mod=Cf({type:ZA});ZA.\u0275inj=p({});var Kec=new zd("");var Lec={attributes:!1,childList:!0,subtree:!0},$A=function(){var a=this;this.ngZone=r(kh);this.router=r(TA);this.activatedRoute=r(Wi);this.dom$=new Uf;this.cdr$=this.ngZone.onStable;this.xhr$=new Uf;this.render$=Te(this.dom$,this.cdr$);this.renderSettled$=this.render$.pipe(Lf(200));this.navigatedTo$=this.router.events.pipe(Ue(ij),z(function(){return hta(a.activatedRoute.snapshot)}));this.navigatedTo$.pipe(Yf(function(b){return a.renderSettled$.pipe(Nf(),z(function(){return b}))}),Vf(1));this.domObserver=
new MutationObserver(function(){return void a.dom$.next()})},Mec=function(a){a.domObserver.disconnect();a.domObserver.observe(document.body,Lec)};$A.prototype.intercept=function(a,b){var c=a.method+" "+a.urlWithParams;Fi[c]=~~Fi[c]+1;this.xhr$.next(c);return b.handle(a)};$A.\u0275fac=function(a){return new (a||$A)};$A.\u0275prov=n({token:$A,factory:$A.\u0275fac,providedIn:"root"});var Nec={provide:Ldc,useExisting:$A,multi:!0};var aB=function(){Dv.apply(this,arguments)};Y(aB,Dv);aB.create=Dv.create;aB.prototype.emit=function(a){Dv.prototype.emit.call(this,a)};var bB=function(){};g=bB.prototype;g.debug=function(){lj.apply(null,t(vd.apply(0,arguments)))};g.error=function(){kta.apply(null,t(vd.apply(0,arguments)))};g.info=function(){mj.apply(null,t(vd.apply(0,arguments)))};g.log=function(){jta.apply(null,t(vd.apply(0,arguments)))};g.warn=function(){nj.apply(null,t(vd.apply(0,arguments)))};bB.\u0275fac=function(a){return new (a||bB)};bB.\u0275prov=n({token:bB,factory:bB.\u0275fac,providedIn:"root"});var cB=function(){this.cdr=r(Ov);this.zone=r(kh);this.destroyed=!1};cB.prototype.ngOnDestroy=function(){this.destroyed=!0};cB.prototype.detectChanges=function(){var a=this;this.destroyed||this.zone.run(function(){a.cdr.detectChanges()})};cB.prototype.markForCheck=function(){var a=this;this.destroyed||this.zone.run(function(){a.cdr.markForCheck()})};cB.\u0275fac=function(a){return new (a||cB)};cB.\u0275prov=n({token:cB,factory:cB.\u0275fac});var dB=function(){Z.apply(this,arguments);var a=this;this.ngZone=r(kh);this.activeSubject$=new Xi(!1);this.active$=this.activeSubject$.pipe(Pf(),Zf(this.destroyed$),lta(this.ngZone));this.onUserEvent=$ac(function(){a.activeSubject$.next(!0);Oec(a)},200);this.onVisibilityChange=function(){document.visibilityState==="hidden"?(a.activeSubject$.next(!1),clearTimeout(a.activeTimeoutId)):(a.activeSubject$.next(!0),Oec(a))}};Y(dB,Z);dB.\u0275dir=Z.\u0275dir;
dB.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)};
dB.prototype.ngOnDestroy=function(){Z.prototype.ngOnDestroy.call(this);clearTimeout(this.activeTimeoutId);window.removeEventListener("click",this.onUserEvent);window.removeEventListener("keydown",this.onUserEvent);window.removeEventListener("mousemove",this.onUserEvent);window.removeEventListener("wheel",this.onUserEvent);window.removeEventListener("touchstart",this.onUserEvent);window.removeEventListener("focus",this.onUserEvent);document.removeEventListener("visibilitychange",this.onVisibilityChange)};
var Oec=function(a){clearTimeout(a.activeTimeoutId);a.activeTimeoutId=setTimeout(function(){a.activeSubject$.next(!1)},1E4)};dB.\u0275fac=function(){var a;return function(b){return(a||(a=ee(dB)))(b||dB)}}();dB.\u0275prov=n({token:dB,factory:dB.\u0275fac,providedIn:"root"});var Pec=new zd("GMAT_BUTTON_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var eB=function(a,b){this.elementRef=a;this.options=b};eB.prototype.ngOnInit=function(){this.elementRef.nativeElement.querySelector(".mat-icon, .material-icons")&&this.elementRef.nativeElement.classList.add("gmat-mdc-button-with-prefix")};eB.\u0275fac=function(a){return new (a||eB)(hf(ef),hf(Pec))};
eB.\u0275dir=Df({type:eB,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&&sg("gmat-mdc-button",!b.options.disableGmatStyle)},standalone:!1});var Qec=new zd("GMAT_PROGRESS_BAR_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var Rec={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"}}},Sec=Rec;Sec=Rec;var Tec={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 Uec={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"},fB=Uec;fB=Uec;var gB=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_=fB.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)};
gB.prototype.applyPattern_=function(a){this.pattern_=a.replace(/ /g,"\u00a0");var b=[0];this.positivePrefix_=Vec(this,a,b);for(var c=b[0],d=-1,e=0,f=0,h=0,l=-1,q=a.length,u=!0;b[0]<q&&u;b[0]++)switch(a.charAt(b[0])){case "#":f>0?h++:e++;l>=0&&d<0&&l++;break;case "0":if(h>0)throw Error("Vb`"+a);f++;l>=0&&d<0&&l++;break;case ",":l>0&&this.groupingArray_.push(l);l=0;break;case ".":if(d>=0)throw Error("Wb`"+a);d=e+f+h;break;case "E":if(this.useExponentialNotation_)throw Error("Xb`"+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("Yb`"+a);u=!1;break;default:b[0]--,u=!1}f==0&&e>0&&d>=0&&(f=d,f==0&&f++,h=e-f,e=f-1,f=1);if(d<0&&h>0||d>=0&&(d<e||d>e+f)||l==0)throw Error("Zb`"+a);h=e+f+h;this.maximumFractionDigits_=d>=0?h-d:0;d>=0&&(this.minimumFractionDigits_=e+f-d,this.minimumFractionDigits_<0&&(this.minimumFractionDigits_=
0));this.minimumIntegerDigits_=(d>=0?d:h)-e;this.useExponentialNotation_&&(this.maximumIntegerDigits_=e+this.minimumIntegerDigits_,this.maximumFractionDigits_==0&&this.minimumIntegerDigits_==0&&(this.minimumIntegerDigits_=1));this.groupingArray_.push(Math.max(0,l));this.decimalSeparatorAlwaysShown_=d==0||d==h;c=b[0]-c;this.positiveSuffix_=Vec(this,a,b);b[0]<a.length&&a.charAt(b[0])==";"?(b[0]++,this.multiplier_!=1&&(this.negativePercentSignExpected_=!0),this.negativePrefix_=Vec(this,a,b),b[0]+=c,
this.negativeSuffix_=Vec(this,a,b)):(this.negativePrefix_+=this.positivePrefix_,this.negativeSuffix_+=this.positiveSuffix_)};
gB.prototype.applyStandardPattern_=function(a){switch(a){case 1:this.applyPattern_(fB.DECIMAL_PATTERN);break;case 2:this.applyPattern_(fB.SCIENTIFIC_PATTERN);break;case 3:this.applyPattern_(fB.PERCENT_PATTERN);break;case 4:a=this.applyPattern_;var b=fB.CURRENCY_PATTERN;var c=["0"],d=Tec[fB.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:Wec(this,1);break;case 6:Wec(this,2);break;default:throw Error("Pb");
}};var Wec=function(a,b){a.compactStyle_=b;a.applyPattern_(fB.DECIMAL_PATTERN);a.minimumFractionDigits_=0;a.maximumFractionDigits_=2;if(a.minimumFractionDigits_>0)throw Error("Nb");a.significantDigits_=2};
gB.prototype.parse=function(a,b){b=b||[0];if(this.compactStyle_!==0)throw Error("Qb");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(fB.INFINITY,b[0])==b[0]){b[0]+=fB.INFINITY.length;var e=Infinity}else{e=
a;var f=!1,h=!1,l=!1,q=-1,u=1,A=fB.DECIMAL_SEP,F=fB.GROUP_SEP,H=fB.EXP_SYMBOL;if(this.compactStyle_!=0)throw Error("Rb");F=F.replace(/\u202f/g,"\u00a0");for(var N="";b[0]<e.length;b[0]++){var O=e.charAt(b[0]),T=Xec(O);if(T>=0&&T<=9)N+=T,l=!0;else if(O==A.charAt(0)){if(f||h)break;N+=".";f=!0}else if(O==F.charAt(0)&&("\u00a0"!=F.charAt(0)||b[0]+1<e.length&&Xec(e.charAt(b[0]+1))>=0)){if(f||h)break}else if(O==H.charAt(0)){if(h)break;N+="E";h=!0;q=b[0]}else if(O=="+"||O=="-"){if(l&&q!=b[0]-1)break;N+=
O}else if(this.multiplier_==1&&O==fB.PERCENT.charAt(0)){if(u!=1)break;u=100;if(l){b[0]++;break}}else if(this.multiplier_==1&&O==fB.PERMILL.charAt(0)){if(u!=1)break;u=1E3;if(l){b[0]++;break}}else break}this.multiplier_!=1&&(u=this.multiplier_);e=parseFloat(N)/u}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};
gB.prototype.format=function(a){if(this.minimumFractionDigits_>this.maximumFractionDigits_)throw Error("Sb");if(isNaN(a))return fB.NAN;var b=[];var c=a;if(this.compactStyle_==0)c=Yec;else{c=Math.abs(c);var d=Zec(this,c<=1?0:$ec(c)).divisorBase;c=Zec(this,d+$ec(afc(this,hB(c,-d)).intValue))}a=hB(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)bfc(this,e,this.minimumIntegerDigits_,b),cfc(this,0,b);else{var f=Math.floor(Math.log(e)/Math.log(10)+2E-15);e=hB(e,-f);var h=this.minimumIntegerDigits_;this.maximumIntegerDigits_>1&&this.maximumIntegerDigits_>this.minimumIntegerDigits_?(h=f%this.maximumIntegerDigits_,h<0&&(h=this.maximumIntegerDigits_+h),e=hB(e,h),f-=h,h=1):this.minimumIntegerDigits_<1?(f++,e=hB(e,-1)):(f-=this.minimumIntegerDigits_-1,e=hB(e,this.minimumIntegerDigits_-
1));bfc(this,e,h,b);cfc(this,f,b)}}else bfc(this,a,this.minimumIntegerDigits_,b);else b.push(fB.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 afc=function(a,b){var c=hB(b,a.maximumFractionDigits_);a.significantDigits_>0&&(c=dfc(c,a.significantDigits_,a.maximumFractionDigits_));c=Math.round(c);if(isFinite(c)){var d=Math.floor(hB(c,-a.maximumFractionDigits_));c=Math.floor(c-hB(d,a.maximumFractionDigits_));if(c<0||c>=hB(1,a.maximumFractionDigits_))d=Math.round(b),c=0}else d=b,c=0;return{intValue:d,fracValue:c}},bfc=function(a,b,c,d){if(a.minimumFractionDigits_>a.maximumFractionDigits_)throw Error("Sb");d||(d=[]);b=afc(a,b);var e=b.intValue,
f=b.fracValue,h=a.minimumFractionDigits_>0||f>0||!1;b=a.minimumFractionDigits_;h&&(b=a.minimumFractionDigits_);for(var l="",q=e;q>1E20;)l="0"+l,q=Math.round(hB(q,-1));l=q+l;var u=fB.DECIMAL_SEP;q=fB.ZERO_DIGIT.codePointAt(0);var A=l.length,F=0;if(e>0||c>0){for(e=A;e<c;e++)d.push(String.fromCodePoint(q));if(a.groupingArray_.length>=2)for(c=1;c<a.groupingArray_.length;c++)F+=a.groupingArray_[c];c=A-F;if(c>0){e=a.groupingArray_;F=A=0;for(var H,N=fB.GROUP_SEP,O=l.length,T=0;T<O;T++)if(d.push(String.fromCodePoint(q+
Number(l.charAt(T)))),O-T>1)if(H=e[F],T<c){var ea=c-T;(H===1||H>0&&ea%H===1)&&d.push(N)}else F<e.length&&(T===c?F+=1:H===T-c-A+1&&(d.push(N),A+=H,F+=1))}else{c=l;l=a.groupingArray_;e=fB.GROUP_SEP;H=c.length;N=[];for(A=l.length-1;A>=0&&H>0;A--){F=l[A];for(O=0;O<F&&H-O-1>=0;O++)N.push(String.fromCodePoint(q+Number(c.charAt(H-O-1))));H-=F;H>0&&N.push(e)}d.push.apply(d,N.reverse())}}else h||d.push(String.fromCodePoint(q));(a.decimalSeparatorAlwaysShown_||h)&&d.push(u);f=String(f);h=f.split("e+");h.length==
2&&(f=String(dfc(parseFloat(h[0]),a.significantDigits_,1)),f=f.replace(".",""),f+=I4b("0",parseInt(h[1],10)-f.length+1));a.maximumFractionDigits_+1>f.length&&(f="1"+I4b("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))))},cfc=function(a,b,c){c.push(fB.EXP_SYMBOL);b<0?(b=-b,c.push(fB.MINUS_SIGN)):a.useSignForPositiveExponent_&&c.push(fB.PLUS_SIGN);b=""+b;for(var d=fB.ZERO_DIGIT,e=b.length;e<a.minExponentDigits_;e++)c.push(d);
a=d.codePointAt(0)-efc;for(d=0;d<b.length;d++)c.push(String.fromCodePoint(a+b.codePointAt(d)))},Xec=function(a){a=a.codePointAt(0);if(48<=a&&a<58)return a-48;var b=fB.ZERO_DIGIT.codePointAt(0);return b<=a&&a<b+10?a-b:-1},efc="0".codePointAt(0),Vec=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+=fB.DEF_CURRENCY_CODE):(h=fB.DEF_CURRENCY_CODE,d+=h in Tec?Tec[h][1]:h);break;case "%":if(!a.negativePercentSignExpected_&&a.multiplier_!=1)throw Error("Tb");if(a.negativePercentSignExpected_&&a.multiplier_!=100)throw Error("Ub");a.multiplier_=100;a.negativePercentSignExpected_=!1;d+=fB.PERCENT;break;case "\u2030":if(!a.negativePercentSignExpected_&&a.multiplier_!=1)throw Error("Tb");if(a.negativePercentSignExpected_&&a.multiplier_!=1E3)throw Error("Ub");a.multiplier_=1E3;a.negativePercentSignExpected_=
!1;d+=fB.PERMILL;break;default:d+=h}}return d},Yec={divisorBase:0,negative_prefix:"",negative_suffix:"",prefix:"",suffix:""},Zec=function(a,b){a=a.compactStyle_==1?Sec.COMPACT_DECIMAL_SHORT_PATTERN:Sec.COMPACT_DECIMAL_LONG_PATTERN;a==null&&(a=Sec.COMPACT_DECIMAL_SHORT_PATTERN);if(b<3)return Yec;b=Math.min(14,b);var c=a[hB(1,b)];for(--b;!c&&b>=3;)c=a[hB(1,b)],b--;if(!c)return Yec;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]}:Yec:Yec},$ec=function(a){if(!isFinite(a))return a>0?a:0;for(var b=0;(a/=10)>=1;)b++;return b},hB=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))},ffc=function(a,b){return a&&isFinite(a)?hB(Math.round(hB(a,b)),-b):a},dfc=function(a,b,c){if(!a)return a;b=b-$ec(a)-1;return b<-c?
ffc(a,-c):ffc(a,b)};var gfc=new gB(3);var hfc=new zd("MAT_PROGRESS_BAR_DEFAULT_OPTIONS");new zd("mat-progress-bar-location",{providedIn:"root",factory:ota});
var iB=function(){var a=this;this._elementRef=r(ef);this._ngZone=r(kh);this._changeDetectorRef=r(Ov);this._renderer=r(Iv);this._animationMode=r(Gv,{optional:!0});this._isNoopAnimation=!1;this._defaultColor="primary";this._bufferValue=this._value=0;this.animationEnd=new Dv;this._mode="determinate";this._transitionendHandler=function(c){a.animationEnd.observers.length!==0&&c.target&&c.target.classList.contains("mdc-linear-progress__primary-bar")&&(a.mode!=="determinate"&&a.mode!=="buffer"||a._ngZone.run(function(){return a.animationEnd.next({value:a.value})}))};
var b=r(hfc,{optional:!0});this._isNoopAnimation=this._animationMode==="NoopAnimations";b&&(b.color&&(this.color=this._defaultColor=b.color),this.mode=b.mode||this.mode)};g=iB.prototype;g.ngAfterViewInit=function(){var a=this;this._ngZone.runOutsideAngular(function(){a._cleanupTransitionEnd=a._renderer.listen(a._elementRef.nativeElement,"transitionend",a._transitionendHandler)})};g.ngOnDestroy=function(){var a;(a=this._cleanupTransitionEnd)==null||a.call(this)};
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(iB.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()}}});iB.\u0275fac=function(a){return new (a||iB)};
iB.\u0275cmp=C({type:iB,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&&(jg("aria-valuenow",b._isIndeterminate()?null:b.value)("mode",b.mode),tg("mat-"+b.color),sg("_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",vh],bufferValue:[2,"bufferValue","bufferValue",vh],mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],features:[dg],decls:7,vars:5,consts:[["aria-hidden","true",1,"mdc-linear-progress__buffer"],[1,"mdc-linear-progress__buffer-bar"],[1,"mdc-linear-progress__buffer-dots"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__primary-bar"],[1,"mdc-linear-progress__bar-inner"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__secondary-bar"]],
template:function(a,b){a&1&&(I(0,"div",0),K(1,"div",1),D(2,nta,1,0,"div",2),J(),I(3,"div",3),K(4,"span",4),J(),I(5,"div",5),K(6,"span",4),J());a&2&&(B(),rg("flex-basis",b._getBufferBarFlexBasis()),B(),G(b.mode==="buffer"?2:-1),B(),rg("transform",b._getPrimaryBarTransform()))},styles:[".mat-mdc-progress-bar{display:block;text-align:start}.mat-mdc-progress-bar[mode=query]{transform:scaleX(-1)}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-dots,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__secondary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__bar-inner.mdc-linear-progress__bar-inner{animation:none}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-bar{transition:transform 1ms}.mdc-linear-progress{position:relative;width:100%;transform:translateZ(0);outline:1px solid rgba(0,0,0,0);overflow-x:hidden;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);height:max(var(--mdc-linear-progress-track-height, 4px),var(--mdc-linear-progress-active-indicator-height, 4px))}@media(forced-colors: active){.mdc-linear-progress{outline-color:CanvasText}}.mdc-linear-progress__bar{position:absolute;top:0;bottom:0;margin:auto 0;width:100%;animation:none;transform-origin:top left;transition:transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);height:var(--mdc-linear-progress-active-indicator-height, 4px)}.mdc-linear-progress--indeterminate .mdc-linear-progress__bar{transition:none}[dir=rtl] .mdc-linear-progress__bar{right:0;transform-origin:center right}.mdc-linear-progress__bar-inner{display:inline-block;position:absolute;width:100%;animation:none;border-top-style:solid;border-color:var(--mdc-linear-progress-active-indicator-color, var(--mat-sys-primary));border-top-width:var(--mdc-linear-progress-active-indicator-height, 4px)}.mdc-linear-progress__buffer{display:flex;position:absolute;top:0;bottom:0;margin:auto 0;width:100%;overflow:hidden;height:var(--mdc-linear-progress-track-height, 4px);border-radius:var(--mdc-linear-progress-track-shape, var(--mat-sys-corner-none))}.mdc-linear-progress__buffer-dots{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E\");background-repeat:repeat-x;flex:auto;transform:rotate(180deg);animation:mdc-linear-progress-buffering 250ms infinite linear;background-color:var(--mdc-linear-progress-track-color, var(--mat-sys-surface-variant))}@media(forced-colors: active){.mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}[dir=rtl] .mdc-linear-progress__buffer-dots{animation:mdc-linear-progress-buffering-reverse 250ms infinite linear;transform:rotate(0)}.mdc-linear-progress__buffer-bar{flex:0 1 100%;transition:flex-basis 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);background-color:var(--mdc-linear-progress-track-color, var(--mat-sys-surface-variant))}.mdc-linear-progress__primary-bar{transform:scaleX(0)}.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{left:-145.166611%}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation:mdc-linear-progress-primary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-primary-indeterminate-scale 2s infinite linear}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation-name:mdc-linear-progress-primary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{right:-145.166611%;left:auto}.mdc-linear-progress__secondary-bar{display:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{left:-54.888891%;display:block}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation:mdc-linear-progress-secondary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-secondary-indeterminate-scale 2s infinite linear}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation-name:mdc-linear-progress-secondary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{right:-54.888891%;left:auto}@keyframes mdc-linear-progress-buffering{from{transform:rotate(180deg) translateX(calc(var(--mdc-linear-progress-track-height, 4px) * -2.5))}}@keyframes mdc-linear-progress-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(83.67142%)}100%{transform:translateX(200.611057%)}}@keyframes mdc-linear-progress-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(84.386165%)}100%{transform:translateX(160.277782%)}}@keyframes mdc-linear-progress-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-primary-indeterminate-translate-reverse{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(-83.67142%)}100%{transform:translateX(-200.611057%)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate-reverse{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(-37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(-84.386165%)}100%{transform:translateX(-160.277782%)}}@keyframes mdc-linear-progress-buffering-reverse{from{transform:translateX(-10px)}}\n"],
encapsulation:2,changeDetection:0});var jB=function(){};jB.\u0275fac=function(a){return new (a||jB)};jB.\u0275mod=Cf({type:jB});jB.\u0275inj=p({imports:[Ox]});var kB=function(a,b){var c=this;this.options=a;this.progressbar=b;this.destroyed=new Uf;this.labelElement=document.createElement("label");this.labelElement.classList.add("cdk-visually-hidden");this.labelElement.classList.add("gmat-mdc-progress-bar-accessible-label");mta(b._elementRef.nativeElement).pipe(Zf(this.destroyed)).subscribe(function(d){c.writeLabelSpan(d[0],d[1])})};kB.prototype.ngOnInit=function(){this.initializeLabelSpan()};
kB.prototype.ngOnDestroy=function(){this.labelElement.remove();this.destroyed.next();this.destroyed.complete()};kB.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())};
kB.prototype.writeLabelSpan=function(a,b){a=b==="indeterminate"?a:a+" "+gfc.format(Number(b)/100);this.labelElement.textContent=a};kB.\u0275fac=function(a){return new (a||kB)(hf(Qec),hf(iB,10))};kB.\u0275dir=Df({type:kB,selectors:[["mat-progress-bar"]],hostAttrs:["aria-hidden","true"],hostVars:3,hostBindings:function(a,b){a&2&&(jg("tabindex",null),sg("gmat-mdc-progress-bar",!b.options.disableGmatStyle))},standalone:!1});var lB=function(){Kx.apply(this,arguments);this.gmatPanelClasses=[]};Y(lB,Kx);var ifc=function(a,b){a.gmatPanelClasses.includes(b)||a.gmatPanelClasses.push(b)};lB.prototype.create=function(a){return Kx.prototype.create.call(this,Object.assign({},a,{panelClass:(a==null?0:a.panelClass)?ci(a.panelClass).concat(this.gmatPanelClasses):this.gmatPanelClasses}))};lB.\u0275fac=function(){var a;return function(b){return(a||(a=ee(lB)))(b||lB)}}();lB.\u0275prov=n({token:lB,factory:lB.\u0275fac});var jfc=new zd("GMAT_TOOLTIP_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var mB=function(a,b){a.disableGmatStyle||ifc(b,"gmat-mdc-tooltip")};mB.\u0275fac=function(a){return new (a||mB)(hf(jfc),hf(Kx))};mB.\u0275dir=Df({type:mB,selectors:[["","matTooltip",""]],features:[ch([{provide:Kx,useClass:lB}])]});var nB=function(a){this.options=a;this.nextRequestId=0;this.destroyed=!1};nB.prototype.call=function(a,b,c){var d=this,e,f,h;return se(function(l){if(d.destroyed)throw Error("ac");f={type:"request",method:a,id:d.nextRequestId++,payload:b,recipientId:(e=d.options)==null?void 0:e.recipientId};return((h=c)==null?0:h.deadlineMillis)?l.return(Promise.race([d.sendMessage(f),pta(c.deadlineMillis)])):l.return(d.sendMessage(f))})};
nB.prototype.sendMessage=function(a){var b=this,c,d,e,f,h;return se(function(l){switch(l.nextAddress){case 1:return((d=b.options)==null?0:d.tabId)?y(l,chrome.tabs.sendMessage(b.options.tabId,a,{frameId:(h=(f=b.options)==null?void 0:f.frameId)!=null?h:0}),5):y(l,chrome.runtime.sendMessage((e=b.options)==null?void 0:e.extensionId,a),4);case 4:c=l.yieldResult;l.jumpTo(3);break;case 5:c=l.yieldResult;case 3:if(c===void 0?0:c.id===a.id&&c.method===a.method){if(c.status==="ok")return l.return(c.payload);
throw Error("bc`"+String(c.method)+"`"+c.error);}throw Error("cc");}})};nB.prototype.destroy=function(){this.destroyed=!0};var qta;var kfc=function(a,b){this.url=a;this.svgText=null;this.options=b},oB=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},lfc=function(a,b){return a._fontCssClassesByAlias.get(b)||b},mfc=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):Be(Error("dc`"+d))};g=oB.prototype;g.ngOnDestroy=function(){this._resolvers=[];this._svgIconConfigs.clear();this._iconSetConfigs.clear();this._cachedIconsByUrl.clear()};g._getSvgFromConfig=function(a){return a.svgText?Ae(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 Ae(d);d=b.filter(function(e){return!e.svgText}).map(function(e){return c._loadSvgIconSetFromConfig(e).pipe(If(function(f){f="Loading icon set URL: "+c._sanitizer.sanitize(5,e.url)+" failed: "+f.message;c._errorHandler.handleError(Error(f));return Ae(null)}))});return Oe(d).pipe(z(function(){var e=c._extractIconWithNameFromAnySet(a,b);if(!e)throw Error("dc`"+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($f(function(c){return a.svgText=c}),z(function(){return b._svgElementFromConfig(a)}))};
g._loadSvgIconSetFromConfig=function(a){return a.svgText?Ae(null):this._fetchIcon(a).pipe($f(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(sta("<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("gc");return a};g._toSvgElement=function(a){for(var b=this._svgElementFromString(sta("<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("ec");if(c==null)throw Error("hc`"+c);var f=this._sanitizer.sanitize(5,c);if(!f)throw Error("fc`"+c);if(c=this._inProgressUrlFetches.get(f))return c;c=this._httpClient.get(f,{responseType:"text",withCredentials:a}).pipe(z(function(h){return sta(h)}),Qf(function(){return b._inProgressUrlFetches.delete(f)}),mka());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 kfc(d.url,d.options):new kfc(d)}};oB.\u0275fac=function(a){return new (a||oB)(pd(zA,8),pd(FA),pd(ii,8),pd(zf))};oB.\u0275prov=n({token:oB,factory:oB.\u0275fac,providedIn:"root"});new tv;new uv;new tv;new tv;var nfc=new zd("MAT_ICON_DEFAULT_OPTIONS"),ofc=new zd("mat-icon-location",{providedIn:"root",factory:tta}),pfc="clip-path color-profile src cursor fill filter marker marker-start marker-mid marker-end mask stroke".split(" "),qfc=pfc.map(function(a){return"["+a+"]"}).join(", "),rfc=/^url\(['"]?#(.*?)['"]?\)$/,pB=function(){this._elementRef=r(ef);this._iconRegistry=r(oB);this._location=r(ofc);this._errorHandler=r(zf);this.inline=!1;this._previousFontSetClass=[];this._currentIconFetch=je.EMPTY;var a=
r(new sv("aria-hidden"),{optional:!0}),b=r(nfc,{optional:!0});b&&(b.color&&(this.color=this._defaultColor=b.color),b.fontSet&&(this.fontSet=b.fontSet));a||this._elementRef.nativeElement.setAttribute("aria-hidden","true")};g=pB.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("ic`"+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?lfc(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(qfc),c=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(a={i$jscomp$632:0};a.i$jscomp$632<b.length;a={i$jscomp$632:a.i$jscomp$632},a.i$jscomp$632++)pfc.forEach(function(d){return function(e){var f=b[d.i$jscomp$632],h=f.getAttribute(e);if(h=h?h.match(rfc):null){var l=c.get(f);l||(l=[],c.set(f,l));l.push({name:e,value:h[1]})}}}(a))};
g._updateSvgIcon=function(a){var b=this;this._svgName=this._svgNamespace=null;this._currentIconFetch.unsubscribe();if(a){a=k(this._splitIconName(a));var c=a.next().value,d=a.next().value;c&&(this._svgNamespace=c);d&&(this._svgName=d);this._currentIconFetch=mfc(this._iconRegistry,d,c).pipe(Nf()).subscribe(function(e){return b._setSvgElement(e)},function(e){b._errorHandler.handleError(Error("jc`"+c+"`"+d+"`"+e.message))})}};
da.Object.defineProperties(pB.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())}}});pB.\u0275fac=function(a){return new (a||pB)};
pB.\u0275cmp=C({type:pB,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(a,b){a&2&&(jg("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),tg(b.color?"mat-"+b.color:""),sg("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",uh],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[dg],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, inherit)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],
encapsulation:2,changeDetection:0});var sfc=["tooltip"],tfc=new zd("mat-tooltip-scroll-strategy",{providedIn:"root",factory:function(){var a=r(Kx);return function(){return a.scrollStrategies.reposition({scrollThrottle:20})}}}),ufc={provide:tfc,deps:[Kx],useFactory:function(a){return function(){return a.scrollStrategies.reposition({scrollThrottle:20})}}},vfc=new zd("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),wfc=Zh({passive:!0}),rB=function(){this._overlay=
r(Kx);this._elementRef=r(ef);this._scrollDispatcher=r(mx);this._viewContainerRef=r(Pg);this._ngZone=r(kh);this._platform=r(tw);this._ariaDescriber=r(Rw);this._focusMonitor=r(ww);this._dir=r(fx);this._injector=r(Ye);this._defaultOptions=r(vfc,{optional:!0});this._position="below";this._disabled=this._positionAtOrigin=!1;this._scrollStrategy=r(tfc);this._pointerExitEventsInitialized=this._viewInitialized=!1;this._tooltipComponent=qB;this._viewportMargin=8;this._cssClassPrefix="mat-mdc";this._dirSubscribed=
!1;this.touchGestures="auto";this._message="";this._passiveListeners=[];this._document=r(ii);this._touchstartTimeout=null;this._destroyed=new Uf;this._isDestroyed=!1;var a=this._defaultOptions;a&&(this._showDelay=a.showDelay,this._hideDelay=a.hideDelay,a.position&&(this.position=a.position),a.positionAtOrigin&&(this.positionAtOrigin=a.positionAtOrigin),a.touchGestures&&(this.touchGestures=a.touchGestures),a.tooltipClass&&(this.tooltipClass=a.tooltipClass));this._viewportMargin=8};g=rB.prototype;
g.ngAfterViewInit=function(){var a=this;this._viewInitialized=!0;this._setupPointerEnterEventsIfNeeded();this._focusMonitor.monitor(this._elementRef).pipe(Zf(this._destroyed)).subscribe(function(b){b?b==="keyboard"&&a._ngZone.run(function(){return a.show()}):a._ngZone.run(function(){return a.hide(0)})})};
g.ngOnDestroy=function(){var a=this._elementRef.nativeElement;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout);this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null);this._passiveListeners.forEach(function(b){var c=k(b);b=c.next().value;c=c.next().value;a.removeEventListener(b,c,wfc)});this._passiveListeners.length=0;this._destroyed.next();this._destroyed.complete();this._isDestroyed=!0;Sw(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 Dx(this._tooltipComponent,this._viewContainerRef),b=this._tooltipInstance=b.attach(this._portal).instance,b._triggerElement=this._elementRef.nativeElement,b._mouseLeaveHideDelay=this._hideDelay,b.afterHidden().pipe(Zf(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 ef)return this._overlayRef;this._detach()}c=A8b(this._scrollDispatcher,this._elementRef);a=J8b(yx(zx(N8b(Bx(this._overlay.position(),this.positionAtOrigin?a||this._elementRef:this._elementRef),"."+this._cssClassPrefix+"-tooltip"),!1),this._viewportMargin),c);a.positionChanges.pipe(Zf(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(Zf(this._destroyed)).subscribe(function(){return b._detach()});this._overlayRef.outsidePointerEvents().pipe(Zf(this._destroyed)).subscribe(function(){var e;
return(e=b._tooltipInstance)==null?void 0:e._handleBodyInteraction()});this._overlayRef.keydownEvents().pipe(Zf(this._destroyed)).subscribe(function(e){b._isTooltipVisible()&&e.keyCode===27&&!Xh(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");this._dirSubscribed||(this._dirSubscribed=!0,this._dir.change.pipe(Zf(this._destroyed)).subscribe(function(){b._overlayRef&&
b._updatePosition(b._overlayRef)}));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();xx(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(),Ze(function(){a._tooltipInstance&&a._overlayRef.updatePosition()},{injector:this._injector}))};g._setTooltipClass=function(a){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=a,this._tooltipInstance._markForCheck())};
g._invertPosition=function(a,b){this.position==="above"||this.position==="below"?b==="top"?b="bottom":b==="bottom"&&(b="top"):a==="end"?a="start":a==="start"&&(a="end");return{x:a,y:b}};
g._updateCurrentPositionClass=function(a){var b=a.overlayY,c=a.originX;a=a.originY;b=b==="center"?this._dir&&this._dir.value==="rtl"?c==="end"?"left":"right":c==="start"?"left":"right":b==="bottom"&&a==="top"?"above":"below";if(b!==this._currentPosition){if(c=this._overlayRef)a=this._cssClassPrefix+"-tooltip-panel-",c.removePanelClass(a+this._currentPosition),c.addPanelClass(a+b);this._currentPosition=b}};
g._setupPointerEnterEventsIfNeeded=function(){var a=this;!this._disabled&&this.message&&this._viewInitialized&&!this._passiveListeners.length&&(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",function(b){a._setupPointerExitEventsIfNeeded();var c=void 0;b.x!==void 0&&b.y!==void 0&&(c=b);a.show(void 0,c)}]):this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",function(b){var c,d=(b=(c=b.targetTouches)==null?void 0:
c[0])?{x:b.clientX,y:b.clientY}:void 0;a._setupPointerExitEventsIfNeeded();a._touchstartTimeout&&clearTimeout(a._touchstartTimeout);var e,f;a._touchstartTimeout=setTimeout(function(){a._touchstartTimeout=null;a.show(void 0,d)},(f=(e=a._defaultOptions)==null?void 0:e.touchLongPressShowDelay)!=null?f:500)}])),this._addListeners(this._passiveListeners))};
g._setupPointerExitEventsIfNeeded=function(){var a=this;if(!this._pointerExitEventsInitialized){this._pointerExitEventsInitialized=!0;var b=[];if(this._platformSupportsMouseEvents())b.push(["mouseleave",function(d){d=d.relatedTarget;var e;d&&((e=a._overlayRef)==null?0:e.overlayElement.contains(d))||a.hide()}],["wheel",function(d){return a._wheelListener(d)}]);else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();var c=function(){a._touchstartTimeout&&clearTimeout(a._touchstartTimeout);
var d;a.hide((d=a._defaultOptions)==null?void 0:d.touchendHideDelay)};b.push(["touchend",c],["touchcancel",c])}this._addListeners(b);this._passiveListeners.push.apply(this._passiveListeners,t(b))}};g._addListeners=function(a){var b=this;a.forEach(function(c){var d=k(c);c=d.next().value;d=d.next().value;b._elementRef.nativeElement.addEventListener(c,d,wfc)})};g._platformSupportsMouseEvents=function(){return!this._platform.IOS&&!this._platform.ANDROID};
g._wheelListener=function(a){if(this._isTooltipVisible()){a=this._document.elementFromPoint(a.clientX,a.clientY);var b=this._elementRef.nativeElement;a===b||b.contains(a)||this.hide()}};
g._disableNativeGesturesIfNecessary=function(){var a=this.touchGestures;if(a!=="off"){var b=this._elementRef.nativeElement,c=b.style;if(a==="on"||b.nodeName!=="INPUT"&&b.nodeName!=="TEXTAREA")c.userSelect=c.msUserSelect=c.webkitUserSelect=c.MozUserSelect="none";a!=="on"&&b.draggable||(c.webkitUserDrag="none");c.touchAction="none";c.webkitTapHighlightColor="transparent"}};
g._syncAriaDescription=function(a){var b=this;this._ariaDescriptionPending||(this._ariaDescriptionPending=!0,Sw(this._ariaDescriber,this._elementRef.nativeElement,a,"tooltip"),this._isDestroyed||Ze({write:function(){b._ariaDescriptionPending=!1;b.message&&!b.disabled&&h8b(b._ariaDescriber,b._elementRef.nativeElement,b.message,"tooltip")}},{injector:this._injector}))};
da.Object.defineProperties(rB.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=di(a);this._detach();this._overlayRef=null}},disabled:{configurable:!0,
enumerable:!0,get:function(){return this._disabled},set:function(a){a=di(a);this._disabled!==a&&((this._disabled=a)?this.hide(0):this._setupPointerEnterEventsIfNeeded(),this._syncAriaDescription(this.message))}},showDelay:{configurable:!0,enumerable:!0,get:function(){return this._showDelay},set:function(a){this._showDelay=gi(a)}},hideDelay:{configurable:!0,enumerable:!0,get:function(){return this._hideDelay},set:function(a){this._hideDelay=gi(a);this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=
this._hideDelay)}},message:{configurable:!0,enumerable:!0,get:function(){return this._message},set:function(a){var b=this._message;this._message=a!=null?String(a).trim():"";!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage());this._syncAriaDescription(b)}},tooltipClass:{configurable:!0,enumerable:!0,get:function(){return this._tooltipClass},set:function(a){this._tooltipClass=a;this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}}});
rB.\u0275fac=function(a){return new (a||rB)};
rB.\u0275dir=Df({type:rB,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(a,b){a&2&&sg("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"]});var qB=function(){this._changeDetectorRef=r(Ov);this._elementRef=r(ef);this._isVisible=this._closeOnInteraction=this._isMultiline=!1;this._onHide=new Uf;this._showAnimation="mat-mdc-tooltip-show";this._hideAnimation="mat-mdc-tooltip-hide";this._animationsDisabled=r(Gv,{optional:!0})==="NoopAnimations"};g=qB.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))};qB.\u0275fac=function(a){return new (a||qB)};
qB.\u0275cmp=C({type:qB,selectors:[["mat-tooltip-component"]],viewQuery:function(a,b){a&1&&Rg(sfc,7);if(a&2){var c;Vg(c=Wg())&&(b._tooltip=c.first)}},hostAttrs:["aria-hidden","true"],hostBindings:function(a,b){a&1&&M("mouseleave",function(c){return b._handleMouseLeave(c)})},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=v();I(0,"div",1,0);M("animationend",
function(d){w(c);return x(b._handleAnimationEnd(d))});I(2,"div",2);Q(3);J()()}a&2&&(sg("mdc-tooltip--multiline",b._isMultiline),E("ngClass",b.tooltipClass),B(3),Yg(b.message))},dependencies:[aw],styles:['.mat-mdc-tooltip{position:relative;transform:scale(0);display:inline-flex}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-surface{word-break:normal;overflow-wrap:anywhere;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center;will-change:transform,opacity;background-color:var(--mdc-plain-tooltip-container-color, var(--mat-sys-inverse-surface));color:var(--mdc-plain-tooltip-supporting-text-color, var(--mat-sys-inverse-on-surface));border-radius:var(--mdc-plain-tooltip-container-shape, var(--mat-sys-corner-extra-small));font-family:var(--mdc-plain-tooltip-supporting-text-font, var(--mat-sys-body-small-font));font-size:var(--mdc-plain-tooltip-supporting-text-size, var(--mat-sys-body-small-size));font-weight:var(--mdc-plain-tooltip-supporting-text-weight, var(--mat-sys-body-small-weight));line-height:var(--mdc-plain-tooltip-supporting-text-line-height, var(--mat-sys-body-small-line-height));letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking, var(--mat-sys-body-small-tracking))}.mat-mdc-tooltip-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:right}.mat-mdc-tooltip-panel{line-height:normal}.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 xfc=["container"],yfc=["inputBox"],zfc=["dropdownTemplate"],xta=function(a){return{$implicit:a}},Afc=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],sB=function(){Z.apply(this,arguments);this.overlay=r(Kx);this.viewContainerRef=r(Pg);this.extensionClient=r(nB);this.suggestedIssueMetadataList=null;this.suggestionSelected=new aB;this.titleChanged=new aB;this.isDropdownOpen=!1;this.selectedSuggestion$=new Xi(void 0)};
Y(sB,Z);sB.\u0275dir=Z.\u0275dir;sB.prototype.ngOnInit=function(){var a=this;Bfc(this);this.selectedSuggestion$.pipe(Zf(this.destroyed$)).subscribe(function(b){var c;a.inputBox.nativeElement.value=(c=b==null?void 0:b.title)!=null?c:"";b&&a.suggestionSelected.emit(b);a.close()},function(){})};sB.prototype.ngOnDestroy=function(){this.close();Z.prototype.ngOnDestroy.call(this)};
var Bfc=function(a){Cfc(a).then(function(b){a.suggestedIssueMetadataList=[];b=k(b);for(var c=b.next();!c.done;c=b.next())c=c.value,a.suggestedIssueMetadataList.push({title:c.suggestedIssue.title,description:c.suggestedIssue.description,assignee:c.suggestedIssue.assignee,ccs:c.suggestedIssue.cc,collaborators:c.suggestedIssue.collaborators,sourceContext:c.sourceContext.sourceExplanation})})},Cfc=function(a){return a.extensionClient.call("GET_IN_PAGE_SUGGESTIONS",{contextType:"BUGANIZER_NEW_ISSUE"},
{deadlineMillis:5E3}).then(function(b){return b.suggestions?[].concat(t(b.suggestions)):[]}).catch(function(b){console.error("Found error calling the extension: ",b);return[]})};sB.prototype.clearTitle=function(){this.selectedSuggestion$.next(void 0);this.inputBox.nativeElement.focus()};sB.prototype.open=function(){this.isDropdownOpen||(this.isDropdownOpen=!0,this.dropdownOverlayRef=this.createOverlay(),this.attach())};
sB.prototype.close=function(){this.isDropdownOpen&&this.dropdownOverlayRef&&(this.isDropdownOpen=!1,this.dropdownOverlayRef.dispose(),this.dropdownOverlayRef=void 0)};var Dfc=function(a){var b,c,d,e;return se(function(f){if(f.nextAddress==1)return y(f,Ci(0),2);b=document.getElementsByClassName("b-title-suggestion-picker-dropdown")[0];d=(c=b)==null?void 0:c.contains(document.activeElement);e=a.inputBox.nativeElement.contains(document.activeElement);d||e||a.close();xe(f)})};
sB.prototype.createOverlay=function(){var a=this.getPositionStrategy(),b=this.getScrollStrategy(),c;return this.overlay.create(new ux({positionStrategy:a,scrollStrategy:b,panelClass:["b-title-suggestion-picker-dropdown","gmat-elevation-z3"],width:(c=this.container.nativeElement)==null?void 0:c.offsetWidth}))};sB.prototype.attach=function(){var a=new Ex(this.dropdownTemplateRef,this.viewContainerRef),b;(b=this.dropdownOverlayRef)==null||b.attach(a);var c;(c=this.dropdownOverlayRef)==null||c.updatePosition()};
sB.prototype.getPositionStrategy=function(){return xx(L8b(zx(Bx(this.overlay.position(),this.container),!1),!1),Afc)};sB.prototype.getScrollStrategy=function(){return this.overlay.scrollStrategies.reposition()};sB.\u0275fac=function(){var a;return function(b){return(a||(a=ee(sB)))(b||sB)}}();
sB.\u0275cmp=C({type:sB,selectors:[["b-title-suggestion-picker"]],viewQuery:function(a,b){a&1&&(Rg(xfc,7),Rg(yfc,7),Rg(zfc,7));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)}},outputs:{suggestionSelected:"suggestionSelected",titleChanged:"titleChanged"},standalone:!1,features:[cg],decls:9,vars:3,consts:[["container",""],["inputBox",""],["dropdownTemplate",""],["suggestionList",""],["dropdown",""],[1,"container","pseudo-input"],
["type","text","role","combobox","autocomplete","off","spellcheck","false","aria-label","Pick a suggestion to fill the title and other fields or type a title manually.","aria-autocomplete","list","required","true",1,"override",3,"ngModelChange","click","blur","ngModel"],[1,"dropdown"],[1,"progress-bar-container"],[1,"suggestion-container"],["mode","indeterminate"],[1,"title"],["svgIcon","auto_fix_normal_24px",1,"icon-s","margin-xs-right","color-text"],"type;button;format;hairline;mat-icon-button;;matTooltip;Clear title;aria-label;Clear title".split(";"),
[4,"ngTemplateOutlet","ngTemplateOutletContext"],["type","button","format","hairline","mat-icon-button","","matTooltip","Clear title","aria-label","Clear title",3,"click"],["svgIcon","clear"],["role","listbox",1,"suggestion-list"],["role","option","tabindex","0",1,"list-option"],["role","option","tabindex","0",1,"list-option",3,"click"],[1,"suggested-title"],[1,"source-context"],[1,"start-draft"],[1,"empty-list"]],template:function(a,b){if(a&1){var c=v();I(0,"div",5,0)(2,"input",6,1);S(4,"async");
M("ngModelChange",function(e){w(c);return x(b.titleChanged.emit(e))})("click",function(){w(c);return x(b.open())})("blur",function(){w(c);return x(Dfc(b))});J()();D(5,zta,4,2,"ng-template",null,2,ih)(7,Eta,2,1,"ng-template",null,3,ih)}if(a&2){var d;B(2);E("ngModel",(d=U(4,1,b.selectedSuggestion$))==null?null:d.title)}},dependencies:[dw,pB,eB,ly,mB,rB,kB,iB,oi,Gy,Yy,Ny,ew],styles:[".container[_ngcontent-%COMP%]{display:flex;flex-wrap:nowrap;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%}.suggestion-container[_ngcontent-%COMP%]{width:100%;max-height:600px;overflow:auto;margin:.8rem 0}.suggestion-container[_ngcontent-%COMP%]   .title[_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;display:flex;align-items:center;margin-bottom:10px;padding:0 16px}.suggestion-container[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin-left:auto}.suggestion-container[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{position:relative;left:5px}.suggestion-container[_ngcontent-%COMP%]   .list-option[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;padding:5px 16px}.suggestion-container[_ngcontent-%COMP%]   .list-option[_ngcontent-%COMP%]   .suggested-title[_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;margin-bottom:6px}.suggestion-container[_ngcontent-%COMP%]   .list-option[_ngcontent-%COMP%]   .source-context[_ngcontent-%COMP%]{font-family:Roboto,Arial,sans-serif;line-height:1rem;font-size:.75rem;letter-spacing:.025em;font-weight:400;font-size:.65rem}.suggestion-container[_ngcontent-%COMP%]   .list-option[_ngcontent-%COMP%]   .start-draft[_ngcontent-%COMP%]{color:#1a73e8;color:var(--text-primary);border:1px solid;border-color:#dadce0;border-color:var(--divider);display:flex;align-items:center;justify-content:center;border-radius:4px;background:rgba(0,0,0,0);height:20px;flex:0 0 100px}.progress-bar-container[_ngcontent-%COMP%]{height:8px;border-radius:4px;overflow:hidden}.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)}.empty-list[_ngcontent-%COMP%]{padding:4px 18px}  .b-title-suggestion-picker-dropdown{border-radius:4px;background-color:#fff;background-color:var(--surface-default)}"],
changeDetection:0});var Efc={ACCESS_LEVEL_UNSPECIFIED:"ACCESS_LEVEL_UNSPECIFIED",INTERNAL:"INTERNAL",EXTERNAL_PARTNER:"EXTERNAL_PARTNER",EXTERNAL_PUBLIC:"EXTERNAL_PUBLIC"},hya={0:"ACCESS_LEVEL_UNSPECIFIED",1:"INTERNAL",2:"EXTERNAL_PARTNER",3:"EXTERNAL_PUBLIC"},Ffc={},jya=(Ffc.ACCESS_LEVEL_UNSPECIFIED=0,Ffc.INTERNAL=1,Ffc.EXTERNAL_PARTNER=2,Ffc.EXTERNAL_PUBLIC=3,Ffc),Gfc={},ECa=(Gfc.ACTION_TYPE_UNSPECIFIED=0,Gfc.ADD=1,Gfc.REMOVE=2,Gfc),CFa={0:"CATEGORY_UNSPECIFIED",1:"OWNER",2:"COLLABORATOR",3:"FOLLOWING"},rwa={0:"CHANGELIST_SIGNAL_UNSPECIFIED",
1:"THREAD_MENTIONS_ME",2:"IDLE_FOR_HOURS",3:"AUTHOR_GOING_OOO",4:"NEEDS_ATTENTION",5:"NUDGED",6:"READY_TO_SUBMIT",7:"CHANGELIST_MANUAL_SIGNAL",8:"CHANGELIST_SNOOZE_EXPIRED"},tB={},mwa=(tB.CHANGELIST_SIGNAL_UNSPECIFIED=0,tB.THREAD_MENTIONS_ME=1,tB.IDLE_FOR_HOURS=2,tB.AUTHOR_GOING_OOO=3,tB.NEEDS_ATTENTION=4,tB.NUDGED=5,tB.READY_TO_SUBMIT=6,tB.CHANGELIST_MANUAL_SIGNAL=7,tB.CHANGELIST_SNOOZE_EXPIRED=8,tB),HFa={0:"CHANGELIST_SIGNAL_UNSPECIFIED",1:"THREAD_MENTIONS_ME",2:"IDLE_FOR_HOURS",3:"AUTHOR_GOING_OOO",
4:"NEEDS_ATTENTION",5:"NUDGED",6:"READY_TO_SUBMIT",7:"CHANGELIST_MANUAL_SIGNAL",8:"CHANGELIST_SNOOZE_EXPIRED"},uB={},VFa=(uB.CHANGELIST_SIGNAL_UNSPECIFIED=0,uB.THREAD_MENTIONS_ME=1,uB.IDLE_FOR_HOURS=2,uB.AUTHOR_GOING_OOO=3,uB.NEEDS_ATTENTION=4,uB.NUDGED=5,uB.READY_TO_SUBMIT=6,uB.CHANGELIST_MANUAL_SIGNAL=7,uB.CHANGELIST_SNOOZE_EXPIRED=8,uB),ava={COMMENT_FORMATTING_MODE_UNSPECIFIED:"COMMENT_FORMATTING_MODE_UNSPECIFIED",PLAIN_FORMATTING_MODE:"PLAIN_FORMATTING_MODE",MARKDOWN_FORMATTING_MODE:"MARKDOWN_FORMATTING_MODE",
LITERAL_FORMATTING_MODE:"LITERAL_FORMATTING_MODE"},Bva={0:"COMMENT_FORMATTING_MODE_UNSPECIFIED",1:"PLAIN_FORMATTING_MODE",2:"MARKDOWN_FORMATTING_MODE",3:"LITERAL_FORMATTING_MODE"},Hfc={},ll=(Hfc.COMMENT_FORMATTING_MODE_UNSPECIFIED=0,Hfc.PLAIN_FORMATTING_MODE=1,Hfc.MARKDOWN_FORMATTING_MODE=2,Hfc.LITERAL_FORMATTING_MODE=3,Hfc),iEa={0:"CONFIDENCE_LEVEL_UNSPECIFIED",1:"VERY_HIGH",2:"HIGH",3:"MEDIUM",4:"LOW"},vB={},Ifc=(vB.CONFIDENCE_LEVEL_UNSPECIFIED=0,vB.VERY_HIGH=1,vB.HIGH=2,vB.MEDIUM=3,vB.LOW=4,vB),
Jfc={DAY_TYPE_UNSPECIFIED:"DAY_TYPE_UNSPECIFIED",CALENDAR:"CALENDAR",BUSINESS:"BUSINESS"},iza={0:"DAY_TYPE_UNSPECIFIED",1:"CALENDAR",2:"BUSINESS"},Kfc={},kza=(Kfc.DAY_TYPE_UNSPECIFIED=0,Kfc.CALENDAR=1,Kfc.BUSINESS=2,Kfc),Iza={0:"DELETION_REASON_UNSPECIFIED",1:"USER_REQUEST",2:"ABUSE",3:"RESTRICTED",4:"RETENTION",5:"ACCOUNT_CAPABILITIES"},wB={},Pza=(wB.DELETION_REASON_UNSPECIFIED=0,wB.USER_REQUEST=1,wB.ABUSE=2,wB.RESTRICTED=3,wB.RETENTION=4,wB.ACCOUNT_CAPABILITIES=5,wB),Lfc={COMFORTABLE:"COMFORTABLE",
COZY:"COZY",COMPACT:"COMPACT"},pva={1:"COMFORTABLE",2:"COZY",3:"COMPACT"},Mfc={},Sva=(Mfc.COMFORTABLE=1,Mfc.COZY=2,Mfc.COMPACT=3,Mfc),iGa={0:"NO_DETAILED_TYPE",1:"UNRESTRICTED_GOOGLER",2:"TVC",3:"EXTERNAL",4:"PUBLIC",5:"ISSUE_CREATION_ONLY"},AFa={0:"DRIVE_FILE_TYPE_UNSPECIFIED",1:"DOCUMENT",2:"SPREADSHEET",3:"PRESENTATION"},pwa={0:"DRIVE_SIGNAL_UNSPECIFIED",1:"TAGGED_IN_COMMENT",2:"REQUIRES_APPROVAL",3:"COMMENTS_REQUIRE_ATTENTION",4:"DRIVE_MANUAL_SIGNAL",5:"DRIVE_SNOOZE_EXPIRED"},xB={},iwa=(xB.DRIVE_SIGNAL_UNSPECIFIED=
0,xB.TAGGED_IN_COMMENT=1,xB.REQUIRES_APPROVAL=2,xB.COMMENTS_REQUIRE_ATTENTION=3,xB.DRIVE_MANUAL_SIGNAL=4,xB.DRIVE_SNOOZE_EXPIRED=5,xB),EFa={0:"DRIVE_SIGNAL_UNSPECIFIED",1:"TAGGED_IN_COMMENT",2:"REQUIRES_APPROVAL",3:"COMMENTS_REQUIRE_ATTENTION",4:"DRIVE_MANUAL_SIGNAL",5:"DRIVE_SNOOZE_EXPIRED"},yB={},TFa=(yB.DRIVE_SIGNAL_UNSPECIFIED=0,yB.TAGGED_IN_COMMENT=1,yB.REQUIRES_APPROVAL=2,yB.COMMENTS_REQUIRE_ATTENTION=3,yB.DRIVE_MANUAL_SIGNAL=4,yB.DRIVE_SNOOZE_EXPIRED=5,yB),Nya={0:"EDIT_SIGNIFICANCE_UNSPECIFIED",
1:"SILENT",2:"MINOR",3:"MAJOR",4:"BULK",5:"CLOSING"},zB={},Rya=(zB.EDIT_SIGNIFICANCE_UNSPECIFIED=0,zB.SILENT=1,zB.MINOR=2,zB.MAJOR=3,zB.BULK=4,zB.CLOSING=5,zB),Ek={0:"UNKNOWN_PRIORITY",4:"CLOSURE_ONLY",1:"MINIMAL",2:"IMPORTANT",3:"ALL"},AB={},hl=(AB.UNKNOWN_PRIORITY=0,AB.CLOSURE_ONLY=4,AB.MINIMAL=1,AB.IMPORTANT=2,AB.ALL=3,AB),Nfc={ENRICHMENT_FEEDBACK_TYPE_UNSPECIFIED:"ENRICHMENT_FEEDBACK_TYPE_UNSPECIFIED",THUMBS_UP:"THUMBS_UP",THUMBS_DOWN:"THUMBS_DOWN",OPEN:"OPEN",CLOSE:"CLOSE",COPY:"COPY",CLOSE_AS_DUPLICATE:"CLOSE_AS_DUPLICATE",
ISSUE_HOVERCARD:"ISSUE_HOVERCARD",GO_TO_ISSUE:"GO_TO_ISSUE"},BB={},tAa=(BB.ENRICHMENT_FEEDBACK_TYPE_UNSPECIFIED=0,BB.THUMBS_UP=1,BB.THUMBS_DOWN=2,BB.OPEN=3,BB.CLOSE=4,BB.COPY=5,BB.CLOSE_AS_DUPLICATE=6,BB.ISSUE_HOVERCARD=7,BB.GO_TO_ISSUE=8,BB),ova={0:"DEFAULT",1:"ASSIGNMENT",2:"RESPONSE",3:"CLOSURE"},Ofc={},Rva=(Ofc.DEFAULT=0,Ofc.ASSIGNMENT=1,Ofc.RESPONSE=2,Ofc.CLOSURE=3,Ofc),Pfc={},VCa=(Pfc.QUERY_UNSPECIFIED=0,Pfc.QUERY_TRIAGE_PHASE=1,Pfc.QUERY_CLUSTER=2,Pfc),Qfc={},YCa=(Qfc.SORT_UNSPECIFIED=0,Qfc.SORT_TRIAGE_PHASE=
1,Qfc),NEb={0:"ISSUE_LABEL_FIELD_UNSPECIFIED",1:"ID",2:"BLOCKING_ID",3:"BLOCKED_BY_ID",4:"CANONICAL_ID",5:"PARENT_ID",6:"INCOMING_DEPENDENCY_ID",7:"LINKED_ID",8:"HOTLIST_ID",9:"SAVED_SEARCH_ID",10:"COMPONENT_ID",11:"TEAM_ID",12:"REPORTER",13:"ASSIGNEE",14:"CC",15:"VERIFIER",16:"MODIFIER",17:"LAST_MODIFIER",18:"COMMENTER",19:"LAST_COMMENTER",20:"PRIORITY",21:"SEVERITY",22:"TYPE",23:"STATUS",24:"DELETION_REASON",25:"TITLE",26:"COMMENT",27:"ATTACHMENT",28:"CL",29:"POSTMORTEM",30:"FOUND_IN",31:"TARGETED_TO",
32:"VERIFIED_IN",33:"CREATED",34:"MODIFIED",35:"RESOLVED",36:"VERIFIED",37:"DELETION_TIME",38:"IN_PROD",39:"STAR",40:"MUTE",41:"IS_DELETED",42:"CUSTOM_FIELD",43:"DUPLICATE_COUNT",44:"VOTE_COUNT",45:"COMMENT_COUNT",46:"CC_COUNT",47:"ARCHIVED",48:"MIN_SLO_TARGET",49:"EFFORT_LABEL",50:"EFFORT_VALUE",51:"MENTION",52:"VOTE",53:"EFFORT_TOTAL_OPEN",54:"EFFORT_TOTAL_COMPLETE",55:"COLLABORATOR",56:"COLLABORATOR_COUNT",57:"TRACKER_ID",58:"ACCESS_LEVEL",59:"DESCENDANT_COUNT",60:"OPEN_DESCENDANT_COUNT",61:"ONE_DAY_VIEW_COUNT",
62:"SEVEN_DAY_VIEW_COUNT",63:"THIRTY_DAY_VIEW_COUNT",64:"STAFFING_USER",65:"STAFFING_USER_COUNT",66:"STAFFING_PLACEHOLDER",67:"STAFFING_PLACEHOLDER_COUNT",68:"ESCALATION_OWNER"},rBa={0:"FIELD_ORDERING_UNSPECIFIED",1:"INHERITED",2:"CUSTOMIZED"},Rfc={},Sfc=(Rfc.FIELD_ORDERING_UNSPECIFIED=0,Rfc.INHERITED=1,Rfc.CUSTOMIZED=2,Rfc),Tfc={FIELD_STATE_UNSPECIFIED:"FIELD_STATE_UNSPECIFIED",INHERIT:"INHERIT",DISABLED:"DISABLED",ENABLED:"ENABLED"},dBa={0:"FIELD_STATE_UNSPECIFIED",1:"INHERIT",2:"DISABLED",3:"ENABLED"},
Ufc={},Vfc=(Ufc.FIELD_STATE_UNSPECIFIED=0,Ufc.INHERIT=1,Ufc.DISABLED=2,Ufc.ENABLED=3,Ufc),Wfc={},Xfc=(Wfc.UNSPECIFIED_FORMATTING_AUDIENCE=0,Wfc.INTERNAL=1,Wfc.EXTERNAL=2,Wfc),nk={UNSPECIFIED_FORMATTING_MODE:"UNSPECIFIED_FORMATTING_MODE",PLAIN:"PLAIN",MARKDOWN:"MARKDOWN",LITERAL:"LITERAL"},zBa={0:"UNSPECIFIED_FORMATTING_MODE",1:"PLAIN",2:"MARKDOWN",3:"LITERAL"},qwa={0:"GERRIT_CHANGE_SIGNAL_UNSPECIFIED",1:"GERRIT_CHANGE_NEEDS_ATTENTION",2:"GERRIT_CHANGE_READY_TO_SUBMIT",3:"GERRIT_MANUAL_SIGNAL",4:"GERRIT_SNOOZE_EXPIRED"},
CB={},kwa=(CB.GERRIT_CHANGE_SIGNAL_UNSPECIFIED=0,CB.GERRIT_CHANGE_NEEDS_ATTENTION=1,CB.GERRIT_CHANGE_READY_TO_SUBMIT=2,CB.GERRIT_MANUAL_SIGNAL=3,CB.GERRIT_SNOOZE_EXPIRED=4,CB),NFa={0:"GERRIT_CHANGE_SIGNAL_UNSPECIFIED",1:"GERRIT_CHANGE_NEEDS_ATTENTION",2:"GERRIT_CHANGE_READY_TO_SUBMIT",3:"GERRIT_MANUAL_SIGNAL",4:"GERRIT_SNOOZE_EXPIRED"},DB={},XFa=(DB.GERRIT_CHANGE_SIGNAL_UNSPECIFIED=0,DB.GERRIT_CHANGE_NEEDS_ATTENTION=1,DB.GERRIT_CHANGE_READY_TO_SUBMIT=2,DB.GERRIT_MANUAL_SIGNAL=3,DB.GERRIT_SNOOZE_EXPIRED=
4,DB),Ava={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",51:"ESCALATION_OWNER",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"},EB={},$va=(EB.ISSUE_ID=1,EB.COMPONENT_PATH=2,EB.TYPE=3,EB.STATUS=4,EB.PRIORITY=5,EB.SEVERITY=
6,EB.REPORTER=7,EB.ASSIGNEE=8,EB.VERIFIER=9,EB.CC=10,EB.COLLABORATOR=43,EB.CHANGELIST=11,EB.POSTMORTEM=32,EB.BLOCKING_ISSUE_ID=12,EB.BLOCKED_BY_ISSUE_ID=13,EB.CREATED_TIME=14,EB.MODIFIED_TIME=15,EB.RESOLVED_TIME=16,EB.VERIFIED_TIME=17,EB.DELETION_TIME=38,EB.TITLE=18,EB.FOUND_IN_VERSION=19,EB.TARGETED_TO_VERSION=20,EB.VERIFIED_IN_VERSION=21,EB.IN_PROD=22,EB.CANONICAL_ISSUE_ID=23,EB.ESCALATION_OWNER=51,EB.CUSTOM_FIELD=24,EB.POSITION=25,EB.VOTE_COUNT=26,EB.DUPLICATE_COUNT=27,EB.CC_COUNT=28,EB.COLLABORATOR_COUNT=
44,EB.MODIFIED_BY=29,EB.LAST_MODIFIER=30,EB.ARCHIVED=31,EB.MIN_SLO=33,EB.ASSIGNMENT_SLO=35,EB.RESPONSE_SLO=36,EB.CLOSURE_SLO=37,EB.TEAM=39,EB.ESTIMATE=40,EB.ESTIMATE_TOTAL_OPEN=41,EB.ESTIMATE_TOTAL_COMPLETE=42,EB.ACCESS_LEVEL=45,EB.DESCENDANT_COUNT=46,EB.OPEN_DESCENDANT_COUNT=47,EB.ONE_DAY_VIEW_COUNT=48,EB.SEVEN_DAY_VIEW_COUNT=49,EB.THIRTY_DAY_VIEW_COUNT=50,EB),Yfc={},FB=(Yfc.ISSUE_RELATIONSHIP_TYPE_UNSPECIFIED=0,Yfc.CHILD=1,Yfc.DEPENDENCY=2,Yfc.LINKED=3,Yfc),owa={0:"ISSUE_SIGNAL_UNSPECIFIED",1:"NEAR_SLO",
2:"COMMENT_MENTIONS_ME",8:"MENTIONED_NEEDS_RESPONSE",3:"BLOCKERS_CLOSED",4:"NEWLY_BLOCKING",5:"NEEDS_REPORTER_INPUT",6:"REPLIED_TO_MENTION",7:"NEWLY_ASSIGNED_TO_ME",9:"ISSUE_MANUALLY_SIGNALED",10:"ISSUE_SNOOZE_EXPIRED"},GB={},gwa=(GB.ISSUE_SIGNAL_UNSPECIFIED=0,GB.NEAR_SLO=1,GB.COMMENT_MENTIONS_ME=2,GB.MENTIONED_NEEDS_RESPONSE=8,GB.BLOCKERS_CLOSED=3,GB.NEWLY_BLOCKING=4,GB.NEEDS_REPORTER_INPUT=5,GB.REPLIED_TO_MENTION=6,GB.NEWLY_ASSIGNED_TO_ME=7,GB.ISSUE_MANUALLY_SIGNALED=9,GB.ISSUE_SNOOZE_EXPIRED=10,
GB),MFa={0:"ISSUE_SIGNAL_UNSPECIFIED",1:"NEAR_SLO",2:"COMMENT_MENTIONS_ME",8:"MENTIONED_NEEDS_RESPONSE",3:"BLOCKERS_CLOSED",4:"NEWLY_BLOCKING",5:"NEEDS_REPORTER_INPUT",6:"REPLIED_TO_MENTION",7:"NEWLY_ASSIGNED_TO_ME",9:"ISSUE_MANUALLY_SIGNALED",10:"ISSUE_SNOOZE_EXPIRED"},HB={},RFa=(HB.ISSUE_SIGNAL_UNSPECIFIED=0,HB.NEAR_SLO=1,HB.COMMENT_MENTIONS_ME=2,HB.MENTIONED_NEEDS_RESPONSE=8,HB.BLOCKERS_CLOSED=3,HB.NEWLY_BLOCKING=4,HB.NEEDS_REPORTER_INPUT=5,HB.REPLIED_TO_MENTION=6,HB.NEWLY_ASSIGNED_TO_ME=7,HB.ISSUE_MANUALLY_SIGNALED=
9,HB.ISSUE_SNOOZE_EXPIRED=10,HB),IB={},Zfc=(IB.ISSUE_SUMMARY_FEEDBACK_TYPE_UNSPECIFIED=0,IB.THUMBS_UP=1,IB.THUMBS_DOWN=2,IB.COPY=3,IB.FEEDBACK=4,IB),tDa={0:"ISSUE_SUMMARY_TYPE_UNSPECIFIED",1:"COMMENTS_SHORT",2:"COMMENTS_LONG"},$fc={},agc=($fc.ISSUE_SUMMARY_TYPE_UNSPECIFIED=0,$fc.COMMENTS_SHORT=1,$fc.COMMENTS_LONG=2,$fc),MEb={0:"NODE_JOIN_TYPE_UNSPECIFIED",1:"AND",2:"OR",3:"ERR",4:"NIL"},bgc={UNKNOWN_SUBSCRIPTION:"UNKNOWN_SUBSCRIPTION",UNSUBSCRIBED:"UNSUBSCRIBED",SUBSCRIBED_CLOSURE_ONLY:"SUBSCRIBED_CLOSURE_ONLY",
SUBSCRIBED_MAJOR_UPDATES:"SUBSCRIBED_MAJOR_UPDATES",SUBSCRIBED_ALL_UPDATES:"SUBSCRIBED_ALL_UPDATES"},Yza={0:"UNKNOWN_SUBSCRIPTION",1:"UNSUBSCRIBED",2:"SUBSCRIBED_CLOSURE_ONLY",3:"SUBSCRIBED_MAJOR_UPDATES",4:"SUBSCRIBED_ALL_UPDATES"},JB={},JCa=(JB.UNKNOWN_SUBSCRIPTION=0,JB.UNSUBSCRIBED=1,JB.SUBSCRIBED_CLOSURE_ONLY=2,JB.SUBSCRIBED_MAJOR_UPDATES=3,JB.SUBSCRIBED_ALL_UPDATES=4,JB),pCa={0:"UNSPECIFIED",1:"ADD",2:"REMOVE"},cgc={},kCa=(cgc.UNSPECIFIED=0,cgc.ADD=1,cgc.REMOVE=2,cgc),OEb={0:"OPERATOR_UNSPECIFIED",
1:"EQ",2:"GT",3:"LT",4:"GE",5:"LE"},WTb={0:"UNKNOWN_PERMISSION",1:"OPEN_TO_JOIN"},hGa={0:"PRINCIPAL_TYPE_UNSPECIFIED",1:"NON_GAIA",2:"USER",3:"GROUP",4:"ALIAS"},dgc={PRIORITY_UNSPECIFIED:"PRIORITY_UNSPECIFIED",P0:"P0",P1:"P1",P2:"P2",P3:"P3",P4:"P4"},dn={0:"PRIORITY_UNSPECIFIED",1:"P0",2:"P1",3:"P2",4:"P3",5:"P4"},KB={},Mza=(KB.PRIORITY_UNSPECIFIED=0,KB.P0=1,KB.P1=2,KB.P2=3,KB.P3=4,KB.P4=5,KB),egc={REACTION_TYPE_UNSPECIFIED:"REACTION_TYPE_UNSPECIFIED",UPVOTE:"UPVOTE"},fgc={},ggc=(fgc.REACTION_TYPE_UNSPECIFIED=
0,fgc.UPVOTE=1,fgc),LB={},hgc=(LB.UNSPECIFIED=0,LB.USER_REQUEST=1,LB.ABUSE=2,LB.RESTRICTED=3,LB.RETENTION=4,LB.ACCOUNT_CAPABILITIES=5,LB),MB={},lEa=(MB.REJECTION_REASON_UNSPECIFIED=0,MB.REVERSED=1,MB.SIMILAR=2,MB.NOT_SIMILAR=3,MB.OTHER=4,MB),igc={},bDa=(igc.UNSPECIFIED_RELATION=0,igc.AND=1,igc.OR=2,igc),jgc={RESTRICTION_SEVERITY_UNSPECIFIED:"RESTRICTION_SEVERITY_UNSPECIFIED",NONE_DETECTED:"NONE_DETECTED",RESTRICTED:"RESTRICTED",RESTRICTED_PLUS:"RESTRICTED_PLUS"},kgc={RETENTION_UNSPECIFIED:"RETENTION_UNSPECIFIED",
COMPONENT_DEFAULT:"COMPONENT_DEFAULT",INDEFINITE:"INDEFINITE"},Jza={0:"RETENTION_UNSPECIFIED",1:"COMPONENT_DEFAULT",2:"INDEFINITE"},lgc={UNSPECIFIED_RETENTION:"UNSPECIFIED_RETENTION",BUGANIZER_DEFAULT:"BUGANIZER_DEFAULT",CUSTOM_PERIOD:"CUSTOM_PERIOD",INDEFINITE_RETENTION:"INDEFINITE_RETENTION"},wya={0:"UNSPECIFIED_RETENTION",1:"BUGANIZER_DEFAULT",2:"CUSTOM_PERIOD",3:"INDEFINITE_RETENTION"},mgc={},yya=(mgc.UNSPECIFIED_RETENTION=0,mgc.BUGANIZER_DEFAULT=1,mgc.CUSTOM_PERIOD=2,mgc.INDEFINITE_RETENTION=
3,mgc),ngc={SEVERITY_UNSPECIFIED:"SEVERITY_UNSPECIFIED",S0:"S0",S1:"S1",S2:"S2",S3:"S3",S4:"S4"},Gza={0:"SEVERITY_UNSPECIFIED",1:"S0",2:"S1",3:"S2",4:"S3",5:"S4"},NB={},Nza=(NB.SEVERITY_UNSPECIFIED=0,NB.S0=1,NB.S1=2,NB.S2=3,NB.S3=4,NB.S4=5,NB),HEb={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"},VTb={0:"UNKNOWN",1:"NORMAL",2:"LARGE",3:"HUGE",4:"ENORMOUS"},
Fza={0:"SLO_SNOOZE_TYPE_UNSPECIFIED",1:"STARTS_ON",2:"ASSIGNMENT_ETA",3:"RESPONSE_ETA",4:"CLOSURE_ETA"},OB={},Qza=(OB.SLO_SNOOZE_TYPE_UNSPECIFIED=0,OB.STARTS_ON=1,OB.ASSIGNMENT_ETA=2,OB.RESPONSE_ETA=3,OB.CLOSURE_ETA=4,OB),qBa={0:"SLO_SOURCE_UNSPECIFIED",1:"USER",2:"BUGSCOPE"},ogc={},mza=(ogc.SLO_SOURCE_UNSPECIFIED=0,ogc.USER=1,ogc.BUGSCOPE=2,ogc),Hya={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"},PB={},Jya=(PB.STANDARD_FIELD_UNSPECIFIED=0,PB.REPORTER=1,PB.ASSIGNEE=2,PB.VERIFIER=3,PB.CC=4,PB.TYPE=5,PB.STATUS=6,PB.PRIORITY=7,PB.SEVERITY=8,PB.CHANGELISTS=9,PB.PENDING_CHANGELISTS=10,PB.POSTMORTEMS=11,PB.FOUND_IN=12,PB.TARGETED_TO=13,PB.VERIFIED_IN=14,PB.IN_PRODUCTION=15,PB.SLO_STATUS=16,PB.TEAM=17,PB.COLLABORATORS=18,PB),Swa={STATE_UNSPECIFIED:"STATE_UNSPECIFIED",PENDING:"PENDING",
MERGED:"MERGED"},Sza={0:"STATE_UNSPECIFIED",1:"PENDING",2:"MERGED"},pgc={},Tza=(pgc.STATE_UNSPECIFIED=0,pgc.PENDING=1,pgc.MERGED=2,pgc),qgc={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",INACTIVE:"INACTIVE"},cn={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",11:"INACTIVE"},QB={},Lza=(QB.STATUS_UNSPECIFIED=0,QB.NEW=1,QB.ASSIGNED=2,QB.ACCEPTED=3,QB.FIXED=4,QB.VERIFIED=5,QB.NOT_REPRODUCIBLE=6,QB.INTENDED_BEHAVIOR=7,QB.OBSOLETE=8,QB.INFEASIBLE=9,QB.DUPLICATE=10,QB.INACTIVE=11,QB),rgc={TASK_RESOURCE_TYPE_UNSPECIFIED:"TASK_RESOURCE_TYPE_UNSPECIFIED",CHANGELIST:"CHANGELIST",DRIVE:"DRIVE",ISSUE:"ISSUE",LAUNCH:"LAUNCH",GERRIT:"GERRIT",GOOGLE_TASKS:"GOOGLE_TASKS",IRM:"IRM"},Gva=
{0:"UNKNOWN_SOURCE",1:"WTDM",2:"NON_WTDM",3:"CRITIQUE",4:"DRIVE",5:"BUGANIZER",6:"ARIANE",7:"GERRIT",8:"GOOGLE_TASKS"},RB={},nwa=(RB.UNKNOWN_SOURCE=0,RB.WTDM=1,RB.NON_WTDM=2,RB.CRITIQUE=3,RB.DRIVE=4,RB.BUGANIZER=5,RB.ARIANE=6,RB.GERRIT=7,RB.GOOGLE_TASKS=8,RB),Wua={0:"THEME_UNSPECIFIED",1:"GOOGLE",2:"OPEN_SOURCE"},sgc={UNSPECIFIED:"UNSPECIFIED",NEW:"NEW",CONFIRMED:"CONFIRMED",IN_PROGRESS:"IN_PROGRESS",FIXED:"FIXED",WONT_FIX:"WONT_FIX"},ZBa={0:"UNSPECIFIED",1:"NEW",2:"CONFIRMED",3:"IN_PROGRESS",4:"FIXED",
5:"WONT_FIX"},SB={},bCa=(SB.UNSPECIFIED=0,SB.NEW=1,SB.CONFIRMED=2,SB.IN_PROGRESS=3,SB.FIXED=4,SB.WONT_FIX=5,SB),tgc={TRIAGE_SUBPHASE_UNSPECIFIED:"TRIAGE_SUBPHASE_UNSPECIFIED",NEEDS_INFO:"NEEDS_INFO",PENDING_TRIAGE:"PENDING_TRIAGE",REPORTER_RESPONDED:"REPORTER_RESPONDED",PENDING_OWNER:"PENDING_OWNER",EXPECTED:"EXPECTED",PLANNED:"PLANNED",COMMITTED:"COMMITTED",REOPENED:"REOPENED"},$Ba={0:"TRIAGE_SUBPHASE_UNSPECIFIED",1:"NEEDS_INFO",2:"PENDING_TRIAGE",3:"REPORTER_RESPONDED",4:"PENDING_OWNER",5:"EXPECTED",
6:"PLANNED",7:"COMMITTED",8:"REOPENED"},TB={},cCa=(TB.TRIAGE_SUBPHASE_UNSPECIFIED=0,TB.NEEDS_INFO=1,TB.PENDING_TRIAGE=2,TB.REPORTER_RESPONDED=3,TB.PENDING_OWNER=4,TB.EXPECTED=5,TB.PLANNED=6,TB.COMMITTED=7,TB.REOPENED=8,TB),SEb={0:"QUERY_BUILDER_RESPONSE_TYPE_UNSPECIFIED",1:"AND",2:"OR"},Mya={0:"TYPE_UNSPECIFIED",1:"TEXT",2:"DATE",3:"ENUM",4:"NUMERIC",5:"REPEATED_TEXT",6:"REPEATED_DATE",7:"REPEATED_ENUM",8:"REPEATED_NUMERIC"},UB={},Qya=(UB.TYPE_UNSPECIFIED=0,UB.TEXT=1,UB.DATE=2,UB.ENUM=3,UB.NUMERIC=
4,UB.REPEATED_TEXT=5,UB.REPEATED_DATE=6,UB.REPEATED_ENUM=7,UB.REPEATED_NUMERIC=8,UB),ugc={TYPE_UNSPECIFIED:"TYPE_UNSPECIFIED",BUG:"BUG",FEATURE_REQUEST:"FEATURE_REQUEST",CUSTOMER_ISSUE:"CUSTOMER_ISSUE",INTERNAL_CLEANUP:"INTERNAL_CLEANUP",PROCESS:"PROCESS",VULNERABILITY:"VULNERABILITY",PRIVACY_ISSUE:"PRIVACY_ISSUE",PORTFOLIO:"PORTFOLIO",PROGRAM:"PROGRAM",PROJECT:"PROJECT",FEATURE:"FEATURE",MILESTONE:"MILESTONE",EPIC:"EPIC",STORY:"STORY",TASK:"TASK"},VB={},tCa=(VB.TYPE_UNSPECIFIED=0,VB.BUG=1,VB.FEATURE_REQUEST=
2,VB.CUSTOMER_ISSUE=3,VB.INTERNAL_CLEANUP=4,VB.PROCESS=5,VB.VULNERABILITY=6,VB.PRIVACY_ISSUE=7,VB.PORTFOLIO=8,VB.PROGRAM=9,VB.PROJECT=10,VB.FEATURE=11,VB.MILESTONE=12,VB.EPIC=13,VB.STORY=14,VB.TASK=15,VB),hEa={0:"TYPE_UNSPECIFIED",1:"ISSUE_DEDUPLICATION",2:"HOTLIST"},vgc={},wgc=(vgc.TYPE_UNSPECIFIED=0,vgc.ISSUE_DEDUPLICATION=1,vgc.HOTLIST=2,vgc),xgc={},kEa=(xgc.TYPE_UNSPECIFIED=0,xgc.VIEWED=1,xgc.ACCEPTED=2,xgc.REJECTED=3,xgc),WB={},ygc=(WB.USER_ACTIVITY_TYPE_UNDEFINED=0,WB.VIEW=1,WB.RELOAD=2,WB.EDIT=
3,WB.MARK_AS_READ_OR_UNREAD=4,WB),Qua={0:"UNSPECIFIED",1:"ACTIVE",2:"DELETED",3:"UNAVAILABLE"},JEb={0:"VALUE_TYPE_UNSPECIFIED",1:"NOT",2:"OR",3:"AND",4:"RANGE",5:"SIMPLE"},zgc={},Agc=(zgc.VIEW_UNSPECIFIED=0,zgc.BASIC=1,zgc.FULL=2,zgc);var wza=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(wza,V);var xza=[1,2];var nm=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(nm,V);nm.prototype.getStatus=function(){return Fk(this,1,0)};nm.prototype.setStatus=function(a){return ck(this,1,a)};nm.prototype.getReason=function(){return Fk(this,2,0)};nm.prototype.setReason=function(a){return ck(this,2,a)};var fn=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(fn,V);var Qm=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Qm,V);g=Qm.prototype;g.getStartTime=function(){return W(this,rk,1)};g.setStartTime=function(a){X(this,rk,1,a)};g.getEndTime=function(){return W(this,rk,2)};g.setEndTime=function(a){X(this,rk,2,a)};g.getObjective=function(){return W(this,tk,4)};g.setObjective=function(a){return X(this,tk,4,a)};g.getBusinessDays=function(){return Xj(this,5)};g.setBusinessDays=function(a){return pk(this,5,a)};g.getDayType=function(){return Fk(this,6,0)};
g.setDayType=function(a){return ck(this,6,a)};var no=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(no,V);var po=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(po,V);po.prototype.getSourceIssueIdsList_asLegacyNumberOrString=function(){return jk(this,1,Uj())};po.prototype.setSourceIssueIdsList=function(a){return pp(this,1,a)};var hn=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(hn,V);var hm=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(hm,V);hm.prototype.getAccessLevel=function(){return Fk(this,1,0)};hm.prototype.setAccessLevel=function(a){return ck(this,1,a)};var Eya=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Eya,V);var lya=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(lya,V);lya.prototype.getSeverity=function(){return Fk(this,1,0)};lya.prototype.setSeverity=function(a){return ck(this,1,a)};var Bgc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Bgc,V);var oo=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(oo,V);oo.prototype.getRetentionPeriod=function(){return W(this,tk,1)};var lm=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(lm,V);g=lm.prototype;g.getAttachmentId_asLegacyNumberOrString=function(){return Qk(this,1)};g.getAttachmentId_asString=function(){return Wk(this,1)};g.setAttachmentId=function(a){return jm(this,1,a)};g.getFilename=function(){return Kh(this,4)};g.setFilename=function(a){ak(this,4,a)};g.getEntityStatus=function(){return W(this,nm,6)};g.setEntityStatus=function(a){return X(this,nm,6,a)};g.getEtag=function(){return Mp(this,7)};
g.setEtag=function(a){mm(this,7,a)};g.getContentVerdict=function(){return W(this,Bgc,10)};g.getRestrictedRetentionState=function(){return W(this,oo,11)};g.getRestrictedRetention=function(){return Fk(this,12,0)};g.setRestrictedRetention=function(a){return ck(this,12,a)};var xm=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(xm,V);xm.prototype.getValuesList=function(a){return lk(this,ok,1,Uj(a))};xm.prototype.setValuesList=function(a){return $m(this,1,a)};xm.prototype.setValues=function(a,b){Uu(this,1,ok,a,b)};var wm=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(wm,V);wm.prototype.getValuesList=function(a){return pc(this,1,Jca,Uj(a))};wm.prototype.setValuesList=function(a){return wc(this,1,a,Ica)};wm.prototype.getValues=function(a){var b=pc(this,1,Jca,3,void 0,!0);sb(b,a);return b[a]};wm.prototype.setValues=function(a,b){Ac(this,1,Ica,a,b,Jca)};var vm=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(vm,V);vm.prototype.getValuesList=function(a){return Tj(this,1,Uj(a))};vm.prototype.setValuesList=function(a){return bk(this,1,a)};vm.prototype.getValues=function(a){return gv(this,1,a)};vm.prototype.setValues=function(a,b){lv(this,1,a,b)};var pl=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(pl,V);var ym=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(ym,V);g=ym.prototype;g.getValueCase=function(){return $l(this,sm)};g.getCustomFieldId_asLegacyNumberOrString=function(){return Qk(this,1)};g.getCustomFieldId_asString=function(){return Wk(this,1)};g.setCustomFieldId=function(a){return jm(this,1,a)};g.getDateValue=function(){return um(this,ok,3,sm)};g.getDisplayString=function(){return Kh(this,10)};var sm=[2,3,4,5,6,7,8,9];var Bm=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Bm,V);g=Bm.prototype;g.getCustomFieldId_asLegacyNumberOrString=function(){return Qk(this,1)};g.getCustomFieldId_asString=function(){return Wk(this,1)};g.setCustomFieldId=function(a){return jm(this,1,a)};g.getComponentId=function(){return dv(this,2)};g.getComponentId_asLegacyNumberOrString=function(){return Qk(this,2)};g.getComponentId_asString=function(){return Wk(this,2)};g.setComponentId=function(a){return jm(this,2,a)};
g.getType=function(){return Fk(this,3,0)};g.setType=function(a){return ck(this,3,a)};g.getName=function(){return Kh(this,5)};g.setName=function(a){return ak(this,5,a)};g.getDescription=function(){return Kh(this,6)};g.setDescription=function(a){return ak(this,6,a)};g.getEnumValues=function(a){return gv(this,8,a)};g.setFieldSignificance=function(a){return ck(this,9,a)};g.getShared=function(){return Ak(this,11)};g.setShared=function(a){Cm(this,11,a)};var qm=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(qm,V);qm.prototype.getCustomFieldId_asLegacyNumberOrString=function(){return Qk(this,om(this,pm,1))};qm.prototype.getCustomFieldId_asString=function(){return Wk(this,om(this,pm,1))};qm.prototype.setCustomFieldId=function(a){return rm(this,1,pm,Qb(a))};qm.prototype.hasCustomFieldId=function(){return Zu(this,om(this,pm,1))!=null};var pm=[1,2];var Zj=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Zj,V);Zj.prototype.getEmailAddress=function(){return Kh(this,1)};Zj.prototype.getUserGaiaStatus=function(){return Fk(this,3,0)};var Pm=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Pm,V);Pm.prototype.getCount=function(){return dv(this,2)};Pm.prototype.setCount=function(a){return jm(this,2,a)};Pm.prototype.getType=function(){return Fk(this,4,0)};Pm.prototype.setType=function(a){return ck(this,4,a)};var Hm=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Hm,V);var Nm=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Nm,V);Nm.prototype.getContent=function(){return W(this,pl,1)};Nm.prototype.setContent=function(a){return X(this,pl,1,a)};Nm.prototype.hasContent=function(){return Jk(this,pl,1)};var Mm=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Mm,V);Mm.prototype.getContent=function(){return W(this,pl,1)};Mm.prototype.setContent=function(a){return X(this,pl,1,a)};Mm.prototype.hasContent=function(){return Jk(this,pl,1)};var Lm=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Lm,V);Lm.prototype.getContent=function(){return W(this,pl,2)};Lm.prototype.setContent=function(a){return X(this,pl,2,a)};Lm.prototype.hasContent=function(){return Jk(this,pl,2)};var bza=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(bza,V);var an=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(an,V);an.prototype.getKindCase=function(){return $l(this,Km)};var Km=[1,2,3];var Cgc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Cgc,V);Cgc.prototype.getState=function(){return Fk(this,2,0)};Cgc.prototype.setState=function(a){return ck(this,2,a)};var co=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(co,V);g=co.prototype;g.getIssueId=function(){return dv(this,6)};g.getIssueId_asLegacyNumberOrString=function(){return Qk(this,6)};g.getIssueId_asString=function(){return Wk(this,6)};g.setIssueId=function(a){return jm(this,6,a)};g.getCommentNumber=function(){return Xj(this,7)};g.setCommentNumber=function(a){return pk(this,7,a)};g.getComment=function(){return Kh(this,1)};g.setComment=function(a){return ak(this,1,a)};
g.getFormattedComment=function(){return W(this,an,16)};g.hasFormattedComment=function(){return Jk(this,an,16)};g.getMentionsList=function(a){return lk(this,Cgc,14,Uj(a))};g.getFormattingMode=function(){return Fk(this,9,0)};g.setFormattingMode=function(a){return ck(this,9,a)};g.getAttachmentsList=function(){return lk(this,lm,2,Uj())};g.setAttachmentsList=function(a){return $m(this,2,a)};g.addAllAttachments=function(a){Xn(this,2,lm,a)};g.getModifiedTime=function(){return W(this,rk,4)};
g.setModifiedTime=function(a){return X(this,rk,4,a)};g.getEntityStatus=function(){return W(this,nm,5)};g.setEntityStatus=function(a){return X(this,nm,5,a)};g.getVersion=function(){return Xj(this,8)};g.setVersion=function(a){return pk(this,8,a)};g.getContentVerdict=function(){return W(this,Bgc,10)};g.getRestrictedRetentionState=function(){return W(this,oo,11)};g.getRestrictedRetention=function(){return Fk(this,12,0)};g.setRestrictedRetention=function(a){return ck(this,12,a)};
g.getEtag=function(){return Mp(this,15)};g.setEtag=function(a){mm(this,15,a)};var gn=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(gn,V);gn.prototype.getChangeNumber_asLegacyNumberOrString=function(){return Qk(this,3)};gn.prototype.setChangeNumber=function(a){return jm(this,3,a)};gn.prototype.getState=function(){return Fk(this,4,0)};gn.prototype.setState=function(a){return ck(this,4,a)};var gm=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(gm,V);gm.prototype.getAccessLevel=function(){return Fk(this,1,0)};gm.prototype.setAccessLevel=function(a){return ck(this,1,a)};var Xm=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Xm,V);Xm.prototype.getRole=function(){return Fk(this,1,0)};Xm.prototype.setRole=function(a){return ck(this,1,a)};Xm.prototype.getCount=function(){return tm(this,2)};Xm.prototype.setCount=function(a){return Wm(this,2,a)};var Vm=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Vm,V);Vm.prototype.getUser=function(){return W(this,Zj,1)};Vm.prototype.setUser=function(a){return X(this,Zj,1,a)};Vm.prototype.hasUser=function(){return Jk(this,Zj,1)};var Um=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Um,V);Um.prototype.getUser=function(){return um(this,Vm,1,Ym)};Um.prototype.setUser=function(a){return zm(this,1,Ym,a)};Um.prototype.hasUser=function(){return Jm(this,Vm,1,Ym)};Um.prototype.getPlaceholder=function(){return um(this,Xm,2,Ym)};var Ym=[1,2];var Zm=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Zm,V);var en=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(en,V);g=en.prototype;g.getComponentId=function(){return dv(this,1)};g.getComponentId_asLegacyNumberOrString=function(){return Qk(this,1)};g.getComponentId_asString=function(){return Wk(this,1)};g.setComponentId=function(a){return jm(this,1,a)};g.getType=function(){return Fk(this,2,0)};g.setType=function(a){return ck(this,2,a)};g.getStatus=function(){return Fk(this,3,0)};g.setStatus=function(a){return ck(this,3,a)};
g.getPriority=function(){return Fk(this,4,0)};g.setPriority=function(a){return ck(this,4,a)};g.getSeverity=function(){return Fk(this,5,0)};g.setSeverity=function(a){return ck(this,5,a)};g.getTitle=function(){return Kh(this,6)};g.setTitle=function(a){return ak(this,6,a)};g.clearTitle=function(){return Np(this,6)};g.getReporter=function(){return W(this,Zj,7)};g.setReporter=function(a){X(this,Zj,7,a)};g.getAssignee=function(){return W(this,Zj,8)};g.setAssignee=function(a){return X(this,Zj,8,a)};
g.clearAssignee=function(){return Np(this,8)};g.getVerifier=function(){return W(this,Zj,9)};g.setVerifier=function(a){X(this,Zj,9,a)};g.clearVerifier=function(){return Np(this,9)};g.getCcsList=function(){return lk(this,Zj,10,Uj())};g.setCcsList=function(a){$m(this,10,a)};g.addAllCcs=function(a){Xn(this,10,Zj,a)};g.setCcs=function(a,b){return Uu(this,10,Zj,a,b)};g.getCollaboratorsList=function(){return lk(this,Zj,31,Uj())};g.setCollaboratorsList=function(a){$m(this,31,a)};
g.addAllCollaborators=function(a){Xn(this,31,Zj,a)};g.setCollaborators=function(a,b){return Uu(this,31,Zj,a,b)};g.getStaffing=function(){return W(this,Zm,36)};g.setStaffing=function(a){X(this,Zm,36,a)};g.getCanonicalIssueId_asLegacyNumberOrString=function(){return Qk(this,11)};g.setCanonicalIssueId=function(a){jm(this,11,a)};g.getBlockedByIssueIdsList_asLegacyNumberOrString=function(){return jk(this,12,Uj())};g.setBlockedByIssueIdsList=function(a){pp(this,12,a)};
g.addAllBlockedByIssueIds=function(a){jv(this,12,a)};g.getBlockingIssueIdsList_asLegacyNumberOrString=function(){return jk(this,13,Uj())};g.setBlockingIssueIdsList=function(a){pp(this,13,a)};g.addAllBlockingIssueIds=function(a){jv(this,13,a)};g.getHotlistIdsList_asLegacyNumberOrString=function(a){return jk(this,14,Uj(a))};g.getHotlistIdsList_asString=function(){return Uk(this,14)};g.setHotlistIdsList=function(a){return pp(this,14,a)};g.addHotlistIds=function(a,b){return zc(this,14,Pb,a,b,Ub)};
g.addAllHotlistIds=function(a){jv(this,14,a)};g.removeHotlistIds=function(a){return t4b(this,14,a)};g.getCustomFieldsList=function(){return lk(this,ym,15,Uj())};g.setCustomFieldsList=function(a){return $m(this,15,a)};g.addCustomFields=function(a){Xu(this,15,ym,a)};g.getCodeChangesList=function(a){return Tj(this,16,Uj(a))};g.setCodeChangesList=function(a){bk(this,16,a)};g.addAllCodeChanges=function(a){Sn(this,16,a)};g.setCodeChanges=function(a,b){return lv(this,16,a,b)};
g.getGerritChangesList=function(){return lk(this,gn,35,Uj())};g.setGerritChangesList=function(a){$m(this,35,a)};g.addAllGerritChanges=function(a){Xn(this,35,gn,a)};g.getInProd=function(){return Ak(this,20)};g.setInProd=function(a){Cm(this,20,a)};g.getIsArchived=function(){return Ak(this,21)};g.setIsArchived=function(a){return Cm(this,21,a)};g.getDuplicateIssueIdsList_asLegacyNumberOrString=function(){return jk(this,22,Uj())};g.setDuplicateIssueIdsList=function(a){pp(this,22,a)};
g.getIsDeleted=function(){return Ak(this,23)};g.setIsDeleted=function(a){Cm(this,23,a)};g.setDeletionReason=function(a){ck(this,24,a)};g.getEntityStatus=function(){return W(this,nm,25)};g.setEntityStatus=function(a){return X(this,nm,25,a)};g.getSloSnoozeUntil=function(){return W(this,rk,26)};g.setSloSnoozeUntil=function(a){X(this,rk,26,a)};g.getSloEndTime=function(){return W(this,rk,34)};g.setSloEndTime=function(a){X(this,rk,34,a)};g.hasSloEndTime=function(){return Jk(this,rk,34)};
g.setSloSnoozeType=function(a){ck(this,30,a)};g.getRetention=function(){return Fk(this,28,0)};g.setRetention=function(a){return ck(this,28,a)};g.getEffort=function(){return W(this,fn,29)};g.setEffort=function(a){X(this,fn,29,a)};g.hasEffort=function(){return Jk(this,fn,29)};g.getAccessLimit=function(){return W(this,gm,32)};g.setAccessLimit=function(a){return X(this,gm,32,a)};var mo=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(mo,V);mo.prototype.setNotificationSubscription=function(a){return ck(this,4,a)};var Wza=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Wza,V);var Vza=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Vza,V);g=Vza.prototype;g.getIssueId=function(){return dv(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Qk(this,1)};g.getIssueId_asString=function(){return Wk(this,1)};g.setIssueId=function(a){return Xk(this,1,a)};g.getCommentNumber=function(){return Xj(this,2)};g.setCommentNumber=function(a){return dl(this,2,a)};var Zza=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Zza,V);var Uza=[1,2];var bn=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(bn,V);g=bn.prototype;g.getIssueId=function(){return dv(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Qk(this,1)};g.getIssueId_asString=function(){return Wk(this,1)};g.setIssueId=function(a){return jm(this,1,a)};g.getFormattingMode=function(){return Fk(this,4,0)};g.setFormattingMode=function(a){return ck(this,4,a)};g.getAuthor=function(){return W(this,Zj,5)};g.setAuthor=function(a){X(this,Zj,5,a)};
g.hasAuthor=function(){return Jk(this,Zj,5)};g.getUpdateTime=function(){return W(this,rk,6)};g.setUpdateTime=function(a){X(this,rk,6,a)};g.hasUpdateTime=function(){return Jk(this,rk,6)};g.getVersion=function(){return Xj(this,7)};g.setVersion=function(a){return pk(this,7,a)};g.getEntityStatus=function(){return W(this,nm,8)};g.setEntityStatus=function(a){return X(this,nm,8,a)};var lo=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(lo,V);g=lo.prototype;g.getIssueId=function(){return dv(this,2)};g.getIssueId_asLegacyNumberOrString=function(){return Qk(this,2)};g.getIssueId_asString=function(){return Wk(this,2)};g.setIssueId=function(a){return jm(this,2,a)};g.getIssueState=function(){return W(this,en,3)};g.setIssueState=function(a){return X(this,en,3,a)};g.getIssueComment=function(){return W(this,co,4)};g.setIssueComment=function(a){X(this,co,4,a)};
g.hasIssueComment=function(){return Jk(this,co,4)};g.getAttachmentsList=function(){return lk(this,lm,18,Uj())};g.setAttachmentsList=function(a){return $m(this,18,a)};g.addAllAttachments=function(a){Xn(this,18,lm,a)};g.getDescription=function(){return W(this,co,44)};g.setDescription=function(a){return X(this,co,44,a)};g.hasDescription=function(){return Jk(this,co,44)};g.getStatusUpdate=function(){return W(this,bn,43)};g.setStatusUpdate=function(a){X(this,bn,43,a)};
g.hasStatusUpdate=function(){return Jk(this,bn,43)};g.getCreatedTime=function(){return W(this,rk,5)};g.setCreatedTime=function(a){return X(this,rk,5,a)};g.getModifiedTime=function(){return W(this,rk,6)};g.setModifiedTime=function(a){return X(this,rk,6,a)};g.getMajorModifiedTime=function(){return W(this,rk,35)};g.setMajorModifiedTime=function(a){return X(this,rk,35,a)};g.getResolvedTime=function(){return W(this,rk,7)};g.setResolvedTime=function(a){return X(this,rk,7,a)};
g.getVerifiedTime=function(){return W(this,rk,8)};g.setVerifiedTime=function(a){return X(this,rk,8,a)};g.getUserData=function(){return W(this,mo,9)};g.setUserData=function(a){X(this,mo,9,a)};g.getParentIssueIdsList_asLegacyNumberOrString=function(){return jk(this,37,Uj())};g.setParentIssueIdsList=function(a){return pp(this,37,a)};g.getAccessLimit=function(){return W(this,hm,11)};g.setAccessLimit=function(a){return X(this,hm,11,a)};g.getVersion=function(){return Xj(this,12)};
g.setVersion=function(a){return pk(this,12,a)};g.getEtag=function(){return Mp(this,13)};g.setEtag=function(a){mm(this,13,a)};g.getCustomFieldsList=function(){return lk(this,Bm,15,Uj())};g.setCustomFieldsList=function(a){return $m(this,15,a)};g.addCustomFields=function(a){Xu(this,15,Bm,a)};g.getSloStatus=function(){return W(this,no,16)};g.setSloStatus=function(a){X(this,no,16,a)};g.hasSloStatus=function(){return Jk(this,no,16)};g.getSloId_asLegacyNumberOrString=function(){return Qk(this,17)};
g.setSloId=function(a){return jm(this,17,a)};g.getTeamId_asLegacyNumberOrString=function(){return Qk(this,33)};g.getTeamId_asString=function(){return Wk(this,33)};g.setTeamId=function(a){return jm(this,33,a)};g.getEscalationOwner=function(){return W(this,Zj,48)};g.setEscalationOwner=function(a){X(this,Zj,48,a)};g.getRetentionState=function(){return W(this,oo,29)};g.setRetentionState=function(a){X(this,oo,29,a)};g.getAncestorsMap=function(){return uc(this,38,po,dda)};
g.getIsArchived=function(){return Ak(this,40)};g.setIsArchived=function(a){return Cm(this,40,a)};g.getTrackerId=function(){return dv(this,42)};g.getTrackerId_asLegacyNumberOrString=function(){return Qk(this,42)};g.getTrackerId_asString=function(){return Wk(this,42)};g.setTrackerId=function(a){jm(this,42,a)};var XB=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(XB,V);XB.prototype.getCode=function(){return Fk(this,1,0)};XB.prototype.setCode=function(a){return gl(this,1,a)};XB.prototype.getCodeOrUndefined=function(){return Bt(this,1)};var gt=function(a){this.internalArrayDoNotAccessOrElse=m(a,1)};Y(gt,V);var YB=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(YB,V);g=YB.prototype;g.getLoggingId=function(){return Kh(this,1,"")};g.setLoggingId=function(a){fl(this,1,a)};g.getValue=function(){return tm(this,2,0)};g.setValue=function(a){return Np(this,2,Eb(a))};g.hasValue=function(){return Vu(this,2)!=null};var Gt=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Gt,V);Gt.prototype.getEncryptionSupport=function(){return Fk(this,1,0)};Gt.prototype.getCertificateStatus=function(){return Fk(this,2,0)};var ZB=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(ZB,V);g=ZB.prototype;g.getDisplayName=function(){return Kh(this,1,"")};g.setDisplayName=function(a){return fl(this,1,a)};g.getGivenName=function(){return Kh(this,2,"")};g.setGivenName=function(a){return fl(this,2,a)};g.hasGivenName=function(){return Ck(this,2)};g.getFamilyName=function(){return Kh(this,3,"")};g.setFamilyName=function(a){return fl(this,3,a)};g.hasFamilyName=function(){return Ck(this,3)};
g.getSourceType=function(){return Fk(this,4,0)};g.setSourceType=function(a){return gl(this,4,a)};var Dgc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Dgc,V);g=Dgc.prototype;g.getUrl=function(){return Kh(this,1,"")};g.setUrl=function(a){return fl(this,1,a)};g.hasUrl=function(){return Ck(this,1)};g.getType=function(){return Fk(this,2,0)};g.setType=function(a){return gl(this,2,a)};g.hasType=function(){return Dk(this,2)};g.getSourceType=function(){return Fk(this,3,0)};g.setSourceType=function(a){return gl(this,3,a)};g.getGlyph=function(){return Kh(this,4,"")};
g.setGlyph=function(a){return fl(this,4,a)};var Ht=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Ht,V);Ht.prototype.getReachabilityStatus=function(){return Fk(this,1,0)};Ht.prototype.getClientData=function(){return Kh(this,2,"")};Ht.prototype.hasClientData=function(){return Ck(this,2)};var $B=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y($B,V);$B.prototype.getAltText=function(){return Kh(this,1,"")};$B.prototype.setAltText=function(a){return fl(this,1,a)};$B.prototype.getIconUrl=function(){return Kh(this,2,"")};$B.prototype.setIconUrl=function(a){return fl(this,2,a)};var aC=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(aC,V);g=aC.prototype;g.getTargetType=function(){return Fk(this,1,18)};g.getValue=function(){return Kh(this,2,"")};g.setValue=function(a){return fl(this,2,a)};g.hasValue=function(){return Ck(this,2)};g.getName=function(){return W(this,ZB,3)};g.setName=function(a){return X(this,ZB,3,a)};g.hasName=function(){return Jk(this,ZB,3)};g.getPhoto=function(){return W(this,Dgc,4)};g.setPhoto=function(a){X(this,Dgc,4,a)};
g.hasPhoto=function(){return Jk(this,Dgc,4)};g.getProfileId=function(){return gv(this,5)};g.setProfileId=function(a){return lv(this,5,a)};g.getContactId=function(){return gv(this,6)};g.setContactId=function(a){return lv(this,6,a)};g.getIsMe=function(){return Ak(this,7,!1)};g.setIsMe=function(a){return cl(this,7,a)};g.getAffinity=function(){return W(this,YB,8)};g.hasAffinity=function(){return Jk(this,YB,8)};g.getEmailSecurityInfo=function(){return W(this,Gt,9)};
g.setEmailSecurityInfo=function(a){X(this,Gt,9,a)};g.getOrgState=function(){return Fk(this,10,0)};g.setOrgState=function(a){gl(this,10,a)};g.getDataSource=function(){return Fk(this,11,0)};g.setDataSource=function(a){return gl(this,11,a)};g.hasDataSource=function(){return Dk(this,11)};g.getDescription=function(){return Kh(this,12,"")};g.setDescription=function(a){return fl(this,12,a)};g.hasDescription=function(){return Ck(this,12)};g.getTagList=function(){return lk(this,$B,14,Uj())};
g.setTagList=function(a){$m(this,14,a)};g.addTag=function(a){Xu(this,14,$B,a)};g.getExtendedData=function(){return W(this,gt,15)};g.setExtendedData=function(a){X(this,gt,15,a)};g.hasExtendedData=function(){return Jk(this,gt,15)};g.getCanonicalValue=function(){return Kh(this,16,"")};g.setCanonicalValue=function(a){return fl(this,16,a)};g.hasCanonicalValue=function(){return Ck(this,16)};g.getReachabilityInfo=function(){return W(this,Ht,17)};g.setReachabilityInfo=function(a){X(this,Ht,17,a)};var Egc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Egc,V);g=Egc.prototype;g.getResultType=function(){return Fk(this,1,7)};g.setResultType=function(a){return gl(this,1,a)};g.getTargetList=function(){return lk(this,aC,2,Uj())};g.setTarget=function(a,b){return Uu(this,2,aC,a,b)};g.getTargetCount=function(){return m4b(this,aC,2)};g.getMemberList=function(){return lk(this,Egc,3,Uj())};g.getTotalMemberCount=function(){return Xj(this,4)};g.getIsBoosted=function(){return Ak(this,5)};
g.setIsBoosted=function(a){cl(this,5,a)};g.getAffinity=function(){return W(this,YB,6)};g.hasAffinity=function(){return Jk(this,YB,6)};g.getExtendedData=function(){return W(this,gt,7)};g.setExtendedData=function(a){X(this,gt,7,a)};g.hasExtendedData=function(){return Jk(this,gt,7)};var Fgc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Fgc,V);var Ggc=function(a,b){$m(a,1,b)};Fgc.prototype.getMetadata=function(){return W(this,XB,2)};Fgc.prototype.getMutableMetadata=function(){return Wu(this,XB,2)};Fgc.prototype.setMetadata=function(a){X(this,XB,2,a)};var Kta=Object.prototype.hasOwnProperty;var Hgc={SINGLE_VALUE:"SINGLE_VALUE",COLLECTION:"COLLECTION",USER_COLLECTION:"USER_COLLECTION",LINKED_COLLECTION:"LINKED_COLLECTION",CUSTOM_FIELD:"CUSTOM_FIELD",STATUS_UPDATE:"STATUS_UPDATE"},bUb=new Set([{alias:"googlers_unrestricted"},{alias:"google_domain"}].map(function(a){return"ALIAS:"+a.alias})),Igc={ASSIGNEE:"assignee",ATTACHMENTS:"attachments",BLOCKED_BY_ISSUE_ID:"blockedByIssueId",BLOCKING_ISSUE_ID:"blockingIssueId",CCS:"ccs",CHANGELISTS:"changelists",COLLABORATORS:"collaborators",COMMENT:"comment",
COMPONENT_ID:"componentId",CUSTOM_FIELD:"customField",DELETION_REASON:"deletionReason",DUPLICATE_OF_ISSUE_ID:"duplicateOfIssueId",EFFORT_ESTIMATE:"effortEstimate",FOUND_IN_VERSION:"foundInVersion",GERRIT_CHANGES:"gerritChanges",HOTLISTS:"hotlists",IN_PROD:"inProd",ISSUE_TYPE:"type",IS_ARCHIVED:"isArchived",IS_DELETED:"isDeleted",PARENT_ID:"parentId",PRIORITY:"priority",READ_STATE:"readState",REPORTER:"reporter",SEVERITY:"severity",SLO_END_TIME:"sloEndTime",SLO_SNOOZE_TYPE:"sloSnoozeType",SLO_START_TIME:"sloStartTime",
STAFFING:"staffing",STATUS:"status",TARGETED_TO_VERSION:"targetedToVersion",TITLE:"title",TYPE:"type",VERIFIED_IN_VERSION:"verifiedInVersion",VERIFIER:"verifier"},Jgc={AGGREGATION_TYPE_UNSPECIFIED:"AGGREGATION_TYPE_UNSPECIFIED",SUM:"SUM",MAX:"MAX"},Kgc={ASSIGNED_TO_ME_AND_OPEN:"ASSIGNED_TO_ME_AND_OPEN",ASSIGNED_TO_ME:"ASSIGNED_TO_ME",OPEN:"OPEN",FIXED:"FIXED",BROAD_IN_PROGRESS:"BROAD_IN_PROGRESS",NEWLY_FILED:"NEWLY_FILED",RECENTLY_ACTIVE:"RECENTLY_ACTIVE",HIGH_PRIORITY:"HIGH_PRIORITY",TRENDING:"TRENDING",
PROGRESS:"PROGRESS"};var bua=RegExp("^[^\\.\\s]{2}\\.{3}@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$","i"),aua=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"),fua=["@twosync.google.com","@twosync-src.google.com","@twosync-loas.google.com"];var Lgc=function(){this.transform=gua};Lgc.\u0275fac=function(a){return new (a||Lgc)};Lgc.\u0275pipe=Ef({name:"toNewEmailPreference",type:Lgc,pure:!0,standalone:!1});var bC=function(){this.transform=hua};bC.\u0275fac=function(a){return new (a||bC)};bC.\u0275pipe=Ef({name:"enumToHuman",type:bC,pure:!0,standalone:!1});var cC=function(){this.transform=iua};cC.\u0275fac=function(a){return new (a||cC)};cC.\u0275pipe=Ef({name:"arrayToHuman",type:cC,pure:!0,standalone:!1});var dC=function(){};
dC.prototype.transform=function(a,b){return Wc(jua(a,b)).toString()};dC.\u0275fac=function(a){return new (a||dC)};dC.\u0275pipe=Ef({name:"boldPrefixMatches",type:dC,pure:!0,standalone:!1});var eC=function(){this.transform=kua};eC.\u0275fac=function(a){return new (a||eC)};eC.\u0275pipe=Ef({name:"yesNo",type:eC,pure:!0,standalone:!1});var Mgc=function(){this.transform=lua};Mgc.\u0275fac=function(a){return new (a||Mgc)};Mgc.\u0275pipe=Ef({name:"teamPath",type:Mgc,pure:!0,standalone:!1});
var Ngc=function(){this.transform=mua};Ngc.\u0275fac=function(a){return new (a||Ngc)};Ngc.\u0275pipe=Ef({name:"humanFileSize",type:Ngc,pure:!0,standalone:!1});var Ogc=function(){this.transform=oua};Ogc.\u0275fac=function(a){return new (a||Ogc)};Ogc.\u0275pipe=Ef({name:"omitObfuscatedEmail",type:Ogc,pure:!0,standalone:!1});var Pgc=function(){this.transform=Dj};Pgc.\u0275fac=function(a){return new (a||Pgc)};Pgc.\u0275pipe=Ef({name:"toString",type:Pgc,pure:!0,standalone:!1});
var Qgc=function(){this.transform=pua};Qgc.\u0275fac=function(a){return new (a||Qgc)};Qgc.\u0275pipe=Ef({name:"csv",type:Qgc,pure:!0,standalone:!1});var Rgc=new Map([["(",")"],[")","("],["{","}"],["}","{"],["[","]"],["]","["],["<",">"],[">","<"]]),fC=function(){};fC.prototype.transform=function(a){if(a!=null)return[].concat(t(a)).reverse().map(function(b){var c;return(c=Rgc.get(b))!=null?c:b}).join("")};fC.\u0275fac=function(a){return new (a||fC)};
fC.\u0275pipe=Ef({name:"reverse",type:fC,pure:!0,standalone:!1});var gC=function(){};gC.prototype.transform=function(a,b,c){a=b.indexOf(a);if(a<0)return!0;c=a+c;return!(c>=0&&c<b.length)};gC.\u0275fac=function(a){return new (a||gC)};gC.\u0275pipe=Ef({name:"isOutOfBounds",type:gC,pure:!0,standalone:!1});var hC=function(){};hC.\u0275fac=function(a){return new (a||hC)};hC.\u0275mod=Cf({type:hC});hC.\u0275inj=p({});var iC=function(){VA.apply(this,arguments)};Y(iC,VA);da.Object.defineProperties(iC.prototype,{routerLinkObj:{configurable:!0,enumerable:!0,set:function(a){this.queryParams=a.queryParams;this.routerLink=a.path;this.fragment=a.fragment}}});iC.\u0275fac=function(){var a;return function(b){return(a||(a=ee(iC)))(b||iC)}}();iC.\u0275dir=Df({type:iC,selectors:[["a","routerLinkObj",""],["area","routerLinkObj",""]],inputs:{routerLinkObj:"routerLinkObj"},standalone:!1,features:[cg]});var jC=function(){};
jC.\u0275fac=function(a){return new (a||jC)};jC.\u0275mod=Cf({type:jC});jC.\u0275inj=p({imports:[ZA]});var kC=function(){};kC.\u0275fac=function(a){return new (a||kC)};kC.\u0275mod=Cf({type:kC});kC.\u0275inj=p({imports:[Ox,Ox]});var lC=function(){};lC.\u0275fac=function(a){return new (a||lC)};lC.\u0275mod=Cf({type:lC});lC.\u0275inj=p({imports:[mw,kC,ZA,jC]});var mC=function(){};mC.\u0275fac=function(a){return new (a||mC)};mC.\u0275mod=Cf({type:mC});mC.\u0275inj=p({providers:[{provide:D9b,useValue:{color:"primary"}}],imports:[ny]});var nC=function(){};nC.\u0275fac=function(a){return new (a||nC)};nC.\u0275mod=Cf({type:nC});nC.\u0275inj=p({imports:[jB]});var oC=function(){};oC.\u0275fac=function(a){return new (a||oC)};oC.\u0275mod=Cf({type:oC});oC.\u0275inj=p({providers:[ufc],imports:[Qw,Nx,Ox,Ox,rx]});var pC=function(){};pC.\u0275fac=function(a){return new (a||pC)};pC.\u0275mod=Cf({type:pC});pC.\u0275inj=p({imports:[oC]});var qC=function(){};qC.\u0275fac=function(a){return new (a||qC)};qC.\u0275mod=Cf({type:qC});qC.\u0275inj=p({providers:[{provide:nB,useFactory:function(){return new nB({extensionId:"mmmcpmgpcndnklhnngbgkobgkioapnke"})}}],imports:[lC,mC,pC,nC,bz,kC,Nx,Jx,Qw,hC]});var Sgc=["NEW","CONFIRMED","IN_PROGRESS","FIXED","WONT_FIX"],rC={},Tgc=(rC.UNSPECIFIED=[],rC.NEW=["PENDING_TRIAGE","REPORTER_RESPONDED","NEEDS_INFO"],rC.CONFIRMED=["PENDING_OWNER"],rC.IN_PROGRESS=["EXPECTED","PLANNED","COMMITTED"],rC.FIXED=["REOPENED"],rC.WONT_FIX=["REOPENED"],rC),sC={},Ugc=(sC.TRIAGE_SUBPHASE_UNSPECIFIED="Unspecified",sC.NEEDS_INFO="Needs more info",sC.PENDING_TRIAGE="Pending triage",sC.PENDING_OWNER="Pending owner",sC.REPORTER_RESPONDED="Reporter responded",sC.EXPECTED="Expected",
sC.PLANNED="Planned",sC.COMMITTED="Committed",sC.REOPENED="Reopened",sC),tC={},Vgc=(tC.TRIAGE_SUBPHASE_UNSPECIFIED="unspecified",tC.NEEDS_INFO="needs-info",tC.PENDING_TRIAGE="pending-triage",tC.PENDING_OWNER="pending-owner",tC.REPORTER_RESPONDED="reporter-responded",tC.EXPECTED="expected",tC.PLANNED="planned",tC.COMMITTED="committed",tC.REOPENED="reopened",tC),Wgc=sua(tua(Vgc)),uC={},Kt=(uC.UNSPECIFIED="unspecified",uC.NEW="new",uC.CONFIRMED="confirmed",uC.IN_PROGRESS="in-progress",uC.FIXED="fixed",
uC.WONT_FIX="wont-fix",uC),Xgc=sua(tua(Kt)),Xq=new Map([["NEW","New"],["CONFIRMED","Confirmed"],["IN_PROGRESS","In progress"],["FIXED","Fixed"],["WONT_FIX","Won't fix"]]),vC={},Ygc=(vC.NEW="status:new modified:7d",vC.CONFIRMED="status:assigned modified:7d",vC.IN_PROGRESS="status:accepted modified:30d",vC.FIXED="status:fixed|verified modified:30d",vC.WONT_FIX="status:infeasible|not_reproducible|obsolete|duplicate modified:30d",vC),Zgc="active-indicator priority title alerts relativeModifiedTime id".split(" "),
wC={},$gc=(wC.UNSPECIFIED=Zgc,wC.NEW="active-indicator triager priority title alerts componentName relativeModifiedTime id".split(" "),wC.CONFIRMED=Zgc,wC.IN_PROGRESS=Zgc,wC.FIXED=Zgc,wC.WONT_FIX=Zgc,wC);var uua=function(){var a=this;this.promise=new Promise(function(b,c){a.resolve=b;a.reject=c})};var ahc=new Set([1049953,209989]);var RDa=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"]]),Io=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,""]]),xC=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,""]]),bhc=new Map([[1,"High"],[2,"Medium"],[3,"Low"],[4,"Zero"],[0,"--"]]),yC=new Map([[1,"SWE"],[2,"SRE"],[3,"PM"],[4,"T/PgM"],[5,"UX"],[0,"--"]]);var chc=new Map([["STATUS_UNSPECIFIED",xC.get(0)],["NEW",xC.get(1)],["ASSIGNED",xC.get(2)],["ACCEPTED",xC.get(3)],["FIXED",xC.get(4)],["VERIFIED",xC.get(5)],["DUPLICATE",xC.get(10)],["INFEASIBLE",xC.get(9)],["INACTIVE",xC.get(11)],["NOT_REPRODUCIBLE",xC.get(6)],["OBSOLETE",xC.get(8)],["INTENDED_BEHAVIOR",xC.get(7)]]),dhc={New:1,Assigned:2,"In Progress (Accepted)":3,Fixed:4,Verified:5},wxa=new Map([["STATUS_UNSPECIFIED",0],["NEW",10],["ASSIGNED",20],["ACCEPTED",30],["FIXED",40],["VERIFIED",50],["DUPLICATE",
60],["INFEASIBLE",70],["INACTIVE",75],["NOT_REPRODUCIBLE",80],["OBSOLETE",90],["INTENDED_BEHAVIOR",100]]),zC={},ehc=(zC.ASSIGNED=!0,zC.ACCEPTED=!0,zC.FIXED=!0,zC.VERIFIED=!0,zC.DUPLICATE=!0,zC.INFEASIBLE=!0,zC.INACTIVE=!0,zC.NOT_REPRODUCIBLE=!0,zC.OBSOLETE=!0,zC.INTENDED_BEHAVIOR=!0,zC),Nj=new Map([["STATUS_UNSPECIFIED",Io.get(0)],["NEW",Io.get(1)],["ASSIGNED",Io.get(2)],["ACCEPTED",Io.get(3)],["FIXED",Io.get(4)],["VERIFIED",Io.get(5)],["DUPLICATE",Io.get(10)],["INFEASIBLE",Io.get(9)],["INACTIVE",
Io.get(11)],["NOT_REPRODUCIBLE",Io.get(6)],["OBSOLETE",Io.get(8)],["INTENDED_BEHAVIOR",Io.get(7)]]),AC={},fhc=(AC.P0="P0",AC.P1="P1",AC.P2="P2",AC.P3="P3",AC.P4="P4",AC.PRIORITY_UNSPECIFIED="--",AC),BC={},Gxa=(BC.P0=0,BC.P1=10,BC.P2=20,BC.P3=30,BC.P4=40,BC.PRIORITY_UNSPECIFIED=99,BC),CC={},ghc=(CC.S0="S0",CC.S1="S1",CC.S2="S2",CC.S3="S3",CC.S4="S4",CC.SEVERITY_UNSPECIFIED="--",CC),hhc=new Map([["STATUS_UNSPECIFIED","issue-status-wont-fix"],["NEW","issue-status-new"],["ASSIGNED","issue-status-assigned"],
["ACCEPTED","issue-status-accepted"],["FIXED","issue-status-fixed"],["VERIFIED","issue-status-verified"],["DUPLICATE","issue-status-duplicate"],["INFEASIBLE","issue-status-wont-fix"],["INACTIVE","issue-status-wont-fix"],["NOT_REPRODUCIBLE","issue-status-wont-fix"],["OBSOLETE","issue-status-wont-fix"],["INTENDED_BEHAVIOR","issue-status-wont-fix"]]),DC={},dxa=(DC.INVOLVEMENT_UNSPECIFIED=bhc.get(0),DC.HIGH=bhc.get(1),DC.MEDIUM=bhc.get(2),DC.LOW=bhc.get(3),DC.ZERO=bhc.get(4),DC),EC={},Ll=(EC.JOB_ROLE_UNSPECIFIED=
yC.get(0),EC.SWE=yC.get(1),EC.SRE=yC.get(2),EC.PM=yC.get(3),EC.TPGM=yC.get(4),EC.UX=yC.get(5),EC);var FC={},Rl=(FC.NEW=Oj("NEW",!0,"FORBIDDEN",10),FC.ASSIGNED=Oj("ASSIGNED",!0,"REQUIRED",20),FC.ACCEPTED=Oj("ACCEPTED",!0,"REQUIRED",30),FC.FIXED=Oj("FIXED",!1,"REQUIRED",40),FC.VERIFIED=Oj("VERIFIED",!1,"REQUIRED",50),FC.DUPLICATE=Oj("DUPLICATE",!1,"ALLOWED",60),FC.INFEASIBLE=Oj("INFEASIBLE",!1,"ALLOWED",70),FC.NOT_REPRODUCIBLE=Oj("NOT_REPRODUCIBLE",!1,"ALLOWED",80),FC.OBSOLETE=Oj("OBSOLETE",!1,"ALLOWED",90),FC.INTENDED_BEHAVIOR=Oj("INTENDED_BEHAVIOR",!1,"ALLOWED",100),FC),ihc=[Rl.NEW,Rl.ASSIGNED,
Rl.ACCEPTED,Rl.FIXED,Rl.VERIFIED,Rl.NOT_REPRODUCIBLE,Rl.INTENDED_BEHAVIOR,Rl.OBSOLETE,Rl.INFEASIBLE,Rl.DUPLICATE],jhc=ihc.map(function(a){return{value:a.status,displayText:a.displayValue}}),khc=new Set(Object.values(Gc(Rl,function(a){return a.assigneeRequirement==="REQUIRED"})));var lhc=function(){},Yj=function(a){if(typeof a=="number"){var b=new lhc;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(":",mv(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=mhc(a);b.tzNames_=[c,c];b.tzNamesExt_={STD_LONG_NAME_GMT:a,STD_GENERIC_LOCATION:a};b.transitions_=[];return b}b=new lhc;
b.timeZoneId_=a.id;b.standardOffset_=-a.std_offset;b.tzNames_=a.names;b.tzNamesExt_=a.names_ext;b.transitions_=a.transitions;return b},mhc=function(a){var b=["GMT"];b.push(a<=0?"+":"-");a=Math.abs(a);b.push(mv(Math.floor(a/60)%100,2),":",mv(a%60,2));return b.join("")},nhc=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]},ohc=function(a,
b){a=a.standardOffset_-nhc(a,b);return a===-1440?0:a};var kk=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(kk,V);kk.prototype.getLogoUrl=function(){return Kh(this,1)};kk.prototype.getTheme=function(){return Fk(this,2,0)};kk.prototype.setTheme=function(a){return ck(this,2,a)};var GC=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(GC,V);g=GC.prototype;g.getTrackerId=function(){return dv(this,1)};g.getTrackerId_asLegacyNumberOrString=function(){return Qk(this,1)};g.getTrackerId_asString=function(){return Wk(this,1)};g.setTrackerId=function(a){jm(this,1,a)};g.getComponentId=function(){return dv(this,2)};g.getComponentId_asLegacyNumberOrString=function(){return Qk(this,2)};g.getComponentId_asString=function(){return Wk(this,2)};
g.setComponentId=function(a){return jm(this,2,a)};g.getName=function(){return Kh(this,3)};g.setName=function(a){return ak(this,3,a)};g.getInternalBaseUrl=function(){return Kh(this,8)};g.getExternalBaseUrl=function(){return Kh(this,9)};g.getEtag=function(){return Mp(this,7)};g.setEtag=function(a){mm(this,7,a)};var Cl=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,Cl.messageId)};Y(Cl,V);Cl.prototype.getIt=function(){return W(this,GC,9)};Cl.prototype.setIt=function(a){return X(this,GC,9,a)};Cl.messageId="b.Tracker";var HC={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:{},commentFormattingPreferences:{},bugScreensaverPreferences:{announcementDismissed:!1,enableBugScreensaver:!1},g3nPreferences:{},teamWarningPreferences:{componentTeamWarnings:[]},dismissalTimestamps:{},showRecentEventsFirst:!1,
commentFilterPreferences:{commentFilter:void 0},showInlineImages:!0,missionControlPreferences:{}};var Nk=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Nk,V);var Rk=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Rk,V);var Mk=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Mk,V);Mk.prototype.getLastPublishMode=function(){return Fk(this,1,0)};Mk.prototype.setLastPublishMode=function(a){gl(this,1,a)};Mk.prototype.getCommentDisplayOverride=function(){return Fk(this,2,0)};Mk.prototype.setCommentDisplayOverride=function(a){gl(this,2,a)};var nl=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(nl,V);g=nl.prototype;g.getType=function(){return Fk(this,1,1)};g.setType=function(a){return gl(this,1,a)};g.hasType=function(){return Dk(this,1)};g.getCustomFieldId_asLegacyNumberOrString=function(){return Qk(this,2)};g.getCustomFieldId_asString=function(){return Wk(this,2)};g.setCustomFieldId=function(a){return Xk(this,2,a)};g.hasCustomFieldId=function(){return Pk(this,2)};var jl=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(jl,V);jl.prototype.getTimeZone=function(){return Kh(this,5)};jl.prototype.setTimeZone=function(a){return fl(this,5,a)};jl.prototype.hasTimeZone=function(){return Ck(this,5)};var ml=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(ml,V);ml.prototype.getColumnList=function(){return lk(this,nl,1,Uj())};ml.prototype.setColumnList=function(a){return $m(this,1,a)};ml.prototype.setColumn=function(a){return Uu(this,1,nl,a)};var Qva=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Qva,V);var nva=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(nva,V);var ol=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(ol,V);ol.prototype.getColumn=function(){return W(this,nl,1)};ol.prototype.setColumn=function(a){return X(this,nl,1,a)};var el=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(el,V);el.prototype.getColumnList=function(){return lk(this,ol,1,Uj())};el.prototype.setColumnList=function(a){return $m(this,1,a)};el.prototype.setColumn=function(a){return Uu(this,1,ol,a)};var Gk=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Gk,V);Gk.prototype.getDensity=function(){return Fk(this,1,1)};Gk.prototype.setDensity=function(a){return gl(this,1,a)};var Ok=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Ok,V);var Tva=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Tva,V);var rva=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(rva,V);var al=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(al,V);al.prototype.getSignal=function(){return Fk(this,1,0)};al.prototype.setSignal=function(a){return gl(this,1,a)};al.prototype.getChecked=function(){return Ak(this,2)};al.prototype.setChecked=function(a){return cl(this,2,a)};var Zk=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Zk,V);Zk.prototype.getSignal=function(){return Fk(this,1,0)};Zk.prototype.setSignal=function(a){return gl(this,1,a)};Zk.prototype.getChecked=function(){return Ak(this,2)};Zk.prototype.setChecked=function(a){return cl(this,2,a)};var $k=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y($k,V);$k.prototype.getSignal=function(){return Fk(this,1,0)};$k.prototype.setSignal=function(a){return gl(this,1,a)};$k.prototype.getChecked=function(){return Ak(this,2)};$k.prototype.setChecked=function(a){return cl(this,2,a)};var Yk=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Yk,V);Yk.prototype.getSignal=function(){return Fk(this,1,0)};Yk.prototype.setSignal=function(a){return gl(this,1,a)};Yk.prototype.getChecked=function(){return Ak(this,2)};Yk.prototype.setChecked=function(a){return cl(this,2,a)};var Sk=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Sk,V);Sk.prototype.getCollapsedMap=function(){return sc(this,2,cc)};var bwa=function(a,b){op(a,7,b)},dwa=function(a,b){op(a,8,b)};Sk.prototype.getMyTasksSources=function(){return q4b(this,8)};var ewa=function(a,b){$m(a,18,b)},hwa=function(a,b){$m(a,19,b)},jwa=function(a,b){$m(a,20,b)},lwa=function(a,b){$m(a,21,b)};var mva=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(mva,V);var Vk=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Vk,V);Vk.prototype.getTeamId_asLegacyNumberOrString=function(){return Qk(this,1)};Vk.prototype.getTeamId_asString=function(){return Wk(this,1)};Vk.prototype.setTeamId=function(a){return Xk(this,1,a)};var Tk=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Tk,V);var Dva=function(a,b){return pp(a,1,b)},Eva=function(a,b){X(a,rk,2,b)},Cva=function(a,b){return $m(a,3,b)};var tva=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(tva,V);g=tva.prototype;g.getComponentId=function(){return dv(this,1)};g.getComponentId_asLegacyNumberOrString=function(){return Qk(this,1)};g.getComponentId_asString=function(){return Wk(this,1)};g.setComponentId=function(a){return Xk(this,1,a)};g.hasComponentId=function(){return Pk(this,1)};var sva=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(sva,V);var awa=function(a,b){$m(a,1,b)};var Kk=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Kk,V);Kk.prototype.getLastPublishMode=function(){return Fk(this,1,0)};Kk.prototype.setLastPublishMode=function(a){gl(this,1,a)};Kk.prototype.getCommentDisplayOverride=function(){return Fk(this,2,0)};Kk.prototype.setCommentDisplayOverride=function(a){gl(this,2,a)};var bl=function(a){this.internalArrayDoNotAccessOrElse=m(a,500)};Y(bl,V);g=bl.prototype;g.getDisplayColumns=function(){return W(this,ml,4)};g.setDisplayColumns=function(a){X(this,ml,4,a)};g.getSortColumns=function(){return W(this,el,6)};g.getLayoutPreferences=function(){return W(this,Qva,10)};g.getDateTimePreferences=function(){return W(this,jl,11)};g.getHomepagePreferences=function(){return W(this,Tva,13)};g.getCollapsedMap=function(){return sc(this,27,cc)};
g.getShowInlineImages=function(){return Ak(this,29)};var tl=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(tl,V);g=tl.prototype;g.getAppName=function(){return Kh(this,2)};g.getDocumentationBaseUrl=function(){return Kh(this,3)};g.getEnvironmentType=function(){return Kh(this,5)};g.getOnePickUrl=function(){return Kh(this,7)};g.getOnePickSecretToken=function(){return Kh(this,12)};g.getCommentNumberLimit=function(){return Xj(this,8)};g.getCreateComponentRedirectDelay=function(){return tm(this,9)};
g.getCreateRestrictedSubresourcesComponentIds=function(){return fv(this,13)};g.getIndefiniteRetentionComponentsAllowlist=function(){return fv(this,20)};g.getHelpMeFixSidebarComponentAllowlist=function(){return fv(this,23)};g.getInternalBaseUrl=function(){return Kh(this,24)};g.getExternalBaseUrl=function(){return Kh(this,25)};var vl=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(vl,V);g=vl.prototype;g.getEmail=function(){return Kh(this,1)};g.setEmail=function(a){return fl(this,1,a)};g.hasEmail=function(){return Ck(this,1)};g.getSessionIdentifier=function(){return Kh(this,3)};g.getUserTypeLabel=function(){return Kh(this,5)};var Al=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,Al.messageId)};Y(Al,V);Al.prototype.getId=function(){return Kh(this,1)};Al.prototype.setId=function(a){return fl(this,1,a)};Al.messageId="b.TimeZoneData";var Bl=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,Bl.messageId)};Y(Bl,V);g=Bl.prototype;g.getMessage=function(){return Kh(this,1)};g.setMessage=function(a){return fl(this,1,a)};g.getMessageId=function(){return Kh(this,2)};g.getTagsList=function(a){return Tj(this,4,Uj(a))};g.getTags=function(a){return gv(this,4,a)};Bl.messageId="b.Announcement";var ul=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(ul,V);ul.prototype.getAnnouncement=function(){return W(this,Bl,2)};var Jwa=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Jwa,V);var uwa=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(uwa,V);g=uwa.prototype;g.getUser=function(){return W(this,vl,1)};g.setUser=function(a){return X(this,vl,1,a)};g.hasUser=function(){return Jk(this,vl,1)};g.getConfig=function(){return W(this,tl,2)};g.setConfig=function(a){X(this,tl,2,a)};g.getXsrfToken=function(){return Kh(this,3)};g.getCspNonce=function(){return Kh(this,8)};g.getFrontendAccessMode=function(){return Kh(this,4)};g.getMustAcknowledgeTerms=function(){return Ak(this,5)};
g.getShowNewFeaturesDialog=function(){return Ak(this,6)};g.getUserPreferences=function(){return W(this,bl,7)};g.getAppBaseHref=function(){return Kh(this,10)};g.getTracker=function(){return W(this,Cl,11)};g.getPassiveLoginIframeUrl=function(){return W(this,Jwa,12)};var vwa=window,sl;var phc={clear:function(){},getItem:function(){return null},removeItem:function(){},setItem:function(){},length:0,key:function(){return null}},wl=phc;try{wl=window.localStorage||phc}catch(a){}
var qhc=function(a){return function(){var b=wl.getItem(a);if(b!=null)return b=Number(b),isNaN(b)?void 0:b}},Awa=function(a){return function(){var b=wl.getItem(a);if(b!=null)return String(b)}},rhc=function(a){return function(b){b==null?wl.removeItem(a):wl.setItem(a,String(b))}},shc=function(a){return function(b){b==null?wl.removeItem(a):wl.setItem(a,b)}},thc=function(a){return function(){var b=xl(a)();yl(a)(!b);return!b}},Bwa=function(a){return function(){var b=wl.getItem(a);if(b!=null)try{return JSON.parse(b)}catch(c){console.warn("JSON.parse("+
a+")"),console.warn(c)}}},zl=function(a){return function(b){b==null?wl.removeItem(a):wl.setItem(a,JSON.stringify(b))}};var Iwa=Ij(function(){var a=Dwa(),b,c=(b=wwa().getConfig())==null?void 0:sc(b,4,cc);if(a&&c){b=k(a.overrides);for(var d=b.next();!d.done;d=b.next())d=d.value,c.set(d.flagName,d.value);console.warn("Active flag overrides:");console.table(a.overrides);zwa()}});var Hwa;var Owa=new RegExp(/^(?:https?:\/\/)?([\w-]+)-review\./.source+/(?:googlesource|git\.corp\.google)\.com/.source+/\/c\/([\w-\/]+)\/\+\/(\d{1,20})/.source+/(?:[^\d].*)?$/.source);var Vwa=new Set(["blockedById","blockingId","duplicateId","parentIssueIds","childIssueIds"]);var Dxa=Dl().user.email,Nxa=new WeakMap,Pxa=new WeakMap;var IC=function(a){a=a===void 0?[]:a;this.internalValue$=new Xi(new Set);this.value$=pu(this.internalValue$).pipe(z(function(b){return new Set(b)}),Pf(oj),Vf({refCount:!0,bufferSize:1}));this.reset(a)};g=IC.prototype;g.reset=function(a){this.value.clear();a=k(a);for(var b=a.next();!b.done;b=a.next())this.value.add(b.value);this.internalValue$.next(this.value)};
g.add=function(){for(var a=k(vd.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 Bq=function(a,b){return a.internalValue$.pipe(z(function(c){return c.has(b)}),Pf())};IC.prototype[Symbol.iterator]=function(){return this.value.values()};
IC.prototype.toString=function(){return"[ReactiveSet](["+[].concat(t(this.value.values())).join(", ")+"])"};IC.prototype.indexOf=function(a){return[].concat(t(this.value.values())).indexOf(a)};
da.Object.defineProperties(IC.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}),Pf())}}});var uhc=new IC,vhc=uhc.value$.pipe(Mf(),Lf(0,vp));var whc={ACTIVE:0,DISMISSED:1,SNOOZED:2,0:"ACTIVE",1:"DISMISSED",2:"SNOOZED"};var xhc=Dl().user.email,yhc={key:"USER_RESPONDED",displayAs:"User responded",emoji:"\u21a9\ufe0f",tooltip:"Reporter responded with more info",check:function(a){return Yl(a)==="REPORTER_RESPONDED"},chipColor:"blue",showCount:!0},zhc={key:"OUT_OF_SLO",displayAs:"Out of SLO",emoji:"\u2757\ufe0f",tooltip:"Out of SLO",check:function(a){return jxa(a.snapshot[0].sloEndTime)&&(!a.snapshot[0].sloStartTime||jxa(a.snapshot[0].sloStartTime))},chipColor:"red",showCount:!0},Ahc={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",showCount:!0},Bhc={key:"PAST_DEADLINE",displayAs:"Past deadline",emoji:"\u231b\ufe0f",check:function(a){var b,c;a=hxa((b=a.snapshot[0].customField)==null?void 0:(c=b.find(function(d){return ahc.has(d.customFieldId)}))==null?void 0:c.dateValue);return!!a&&a<new Date},tooltip:"End date custom field is in the past.",chipColor:"red",showCount:!0},
Chc={key:"REOPENED",displayAs:"Reopened",emoji:"\u26a0\ufe0f",check:function(a){var b,c;return Sl(a)&&(((b=a.experimentalFields)==null?void 0:b.triage.phase)==="FIXED"||((c=a.experimentalFields)==null?void 0:c.triage.phase)==="WONT_FIX")},tooltip:"Issues that were triaged as closed by the team, but someone else reopened.",chipColor:"blue",showCount:!0},Dhc={key:"MY_ISSUES",displayAs:"My issues",emoji:"\ud83c\udf1f",check:function(a){var b;return Sl(a)&&(((b=a.experimentalFields)==null?void 0:b.triage.triagerEmail)===
xhc||nxa(a)===xhc)},tooltip:"Issues for which you are triager, or assigned to you.",showCount:!0},Ehc={key:"TRENDING",displayAs:"Trending",emoji:"\ud83d\udd25",check:function(a){return!!uhc.has(a.issueId)},queryFragment:'(no server query available for "is trending")',tooltip:"Unusually high view activity",chipColor:"purple",showCount:!0},JC={key:"LAST_30_DAYS",displayAs:"Last 30 days",emoji:"\ud83c\udf31",check:function(a){return Date.now()-a.aggregatedData.modifiedTimeMicros/1E3<=2592E6},queryFragment:"modified:30d",
tooltip:"Issues modified in the last 30 days"},Fhc={key:"NEEDS_ATTENTION",displayAs:"Needs attention",emoji:"",check:function(a){var b,c;return(c=(b=Omb.get("NEW"))==null?void 0:b.some(function(d){return Zl(a,d)}))!=null?c:!1},tooltip:"Issues which are actionable and important.",showCount:!0},Ghc={key:"HIGH_PRIORITY",displayAs:"High priority",emoji:"",check:function(a){return a.snapshot[0].priority==="P0"||a.snapshot[0].priority==="P1"},tooltip:"Issues which user marked as p0/p1.",chipColor:"orange",
showCount:!0},Hhc={key:"NOT_ASSIGNED",displayAs:"Not assigned",emoji:"",check:function(a){return nxa(a)==null},tooltip:"Issues which have empty assignee.",chipColor:"green",showCount:!0},Ihc=new Map([["NEW",[Fhc,Dhc,JC]],["CONFIRMED",[Ehc,Ahc,JC]],["IN_PROGRESS",[zhc,Bhc,JC]],["FIXED",[JC]],["WONT_FIX",[JC]]]),Omb=new Map([["NEW",[Ghc,zhc,yhc]],["CONFIRMED",[Ehc,zhc,Ahc,Ghc]],["IN_PROGRESS",[zhc,Bhc,Hhc]],["FIXED",[Chc]],["WONT_FIX",[Chc]]]),Jhc={INACTIVE_1Y:Ahc,INACTIVE_2W:{key:"INACTIVE_2W",displayAs:"Inactive",
emoji:"\ud83d\udc0c",check:function(a){return Date.now()-a.aggregatedData.modifiedTimeMicros/1E3>12096E5},tooltip:"Not modified in 2 weeks",showCount:!0},LAST_30_DAYS:JC,MY_ISSUES:Dhc,NEEDS_ATTENTION:Fhc,NEEDS_MORE_INFO:{key:"NEEDS_MORE_INFO",displayAs:"Needs more info",emoji:"\u2139\ufe0f",check:function(a){return Yl(a)==="NEEDS_INFO"},tooltip:"Waiting for more information from the reporter.",chipColor:"green",showCount:!0},OUT_OF_SLO:zhc,PAST_DEADLINE:Bhc,REOPENED:Chc,TRENDING:Ehc,USER_RESPONDED:yhc,
HIGH_PRIORITY:Ghc,NOT_ASSIGNED:Hhc};var Bu=function(){this.session=Dl()};g=Bu.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 KC=function(a){return a.getFrontendAccessMode()==="PARTNER"},LC=function(a){return a.getFrontendAccessMode()==="PUBLIC"};Bu.prototype.isNonPublicSession=function(){return this.getFrontendAccessMode()!=="PUBLIC"};var Khc=function(a){var b=a.getUserEmail().split("@")[1];return b?a.session.config.trustedEmailDomainsAllowlist.includes("@"+b):!1},Vt=function(a,b){return!!a.session.config.enabledFlags.get(b)};Bu.prototype.isAnonymous=function(){return this.session.user.anonymous};
Bu.prototype.getUserEmail=function(){return this.session.user.email||""};Bu.prototype.getSessionIdentifier=function(){return this.session.user.sessionIdentifier||"0"};Bu.prototype.getTracker=function(){var a;return(a=this.session.tracker)!=null?a:void 0};var Hp=function(a){return!!a.session.tracker};g=Bu.prototype;g.getPassiveLoginIframeUrl=function(){return this.session.passiveLoginIframeUrl};g.getMustAcknowledgeTerms=function(){return this.session.mustAcknowledgeTerms};
g.getShowNewFeaturesDialog=function(){return this.session.showNewFeaturesDialog};g.getEnvironmentType=function(){return this.session.config.environmentType||"QA"};g.getAppBaseUrl=function(a){return(a===void 0?0:a)||!this.isInternalSession()?El(this.session)?"https://issuetracker.google.com/":"https://issuetracker-qa.corp.google.com/":El(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)};Bu.\u0275fac=function(a){return new (a||Bu)};Bu.\u0275prov=n({token:Bu,factory:Bu.\u0275fac,providedIn:"root"});var fo=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(fo,V);g=fo.prototype;g.getIssueId=function(){return dv(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Qk(this,1)};g.getIssueId_asString=function(){return Wk(this,1)};g.setIssueId=function(a){return jm(this,1,a)};g.getIssueAccessLimit=function(){return W(this,gm,2)};g.setIssueAccessLimit=function(a){X(this,gm,2,a)};g.setAddedCollaboratorsList=function(a){$m(this,3,a)};
g.setRemovedCollaboratorsList=function(a){$m(this,4,a)};var dm=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(dm,V);g=dm.prototype;g.getUser=function(){return um(this,Zj,1,am)};g.setUser=function(a){return zm(this,1,am,a)};g.hasUser=function(){return Jm(this,Zj,1,am)};g.getGroup=function(){return um(this,Zj,2,am)};g.setGroup=function(a){zm(this,2,am,a)};var am=[1,2,3];var Lhc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Lhc,V);g=Lhc.prototype;g.getAppendersList=function(){return lk(this,dm,6,Uj())};g.setAppendersList=function(a){return $m(this,6,a)};g.getReadersList=function(){return lk(this,dm,8,Uj())};g.setReadersList=function(a){return $m(this,8,a)};g.setImplicitAccess=function(a){return ck(this,10,a)};var Mhc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Mhc,V);g=Mhc.prototype;g.getIssueId=function(){return dv(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Qk(this,1)};g.getIssueId_asString=function(){return Wk(this,1)};g.setIssueId=function(a){return jm(this,1,a)};g.getIssueAccessLimit=function(){return W(this,gm,2)};g.setIssueAccessLimit=function(a){X(this,gm,2,a)};g.setAddedCollaboratorsList=function(a){$m(this,3,a)};
g.setRemovedCollaboratorsList=function(a){$m(this,4,a)};var im=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(im,V);im.prototype.getResourcePath=function(){return Kh(this,2)};im.prototype.setResourcePath=function(a){return ak(this,2,a)};im.prototype.getRestrictionSeverity=function(){return Fk(this,3,0)};var km=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(km,V);var Fm=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Fm,V);Fm.prototype.getLabel=function(){return Kh(this,1)};Fm.prototype.setLabel=function(a){return ak(this,1,a)};Fm.prototype.getValue=function(){return tm(this,2)};Fm.prototype.setValue=function(a){return Wm(this,2,a)};var Em=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Em,V);var Yya=function(a,b){return $m(a,1,b)};Em.prototype.setOptions=function(a,b){return Uu(this,1,Fm,a,b)};var Wya=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Wya,V);var Vya=function(a,b){return Wm(a,1,b)};var Dm=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Dm,V);g=Dm.prototype;g.getInherit=function(){return Ak(this,1)};g.setInherit=function(a){return Cm(this,1,a)};g.getId=function(){return dv(this,2)};g.getId_asLegacyNumberOrString=function(){return Qk(this,2)};g.getId_asString=function(){return Wk(this,2)};g.setId=function(a){return jm(this,2,a)};g.getName=function(){return Kh(this,3)};g.setName=function(a){return ak(this,3,a)};
var Uya=function(a,b){zm(a,4,Gn,b)},Xya=function(a,b){zm(a,5,Gn,b)};Dm.prototype.getCustomFieldId_asLegacyNumberOrString=function(){return Qk(this,100)};Dm.prototype.getCustomFieldId_asString=function(){return Wk(this,100)};Dm.prototype.setCustomFieldId=function(a){return jm(this,100,a)};var Gn=[4,5];var Rm=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Rm,V);g=Rm.prototype;g.getInherit=function(){return Ak(this,1)};g.setInherit=function(a){return Cm(this,1,a)};g.getSource=function(){return Fk(this,2,0)};g.setSource=function(a){return ck(this,2,a)};g.getId=function(){return dv(this,3)};g.getId_asLegacyNumberOrString=function(){return Qk(this,3)};g.getId_asString=function(){return Wk(this,3)};g.setId=function(a){return jm(this,3,a)};
g.getSourceTeamId_asLegacyNumberOrString=function(){return Qk(this,5)};g.setSourceTeamId=function(a){return jm(this,5,a)};g.getComment=function(){return Kh(this,4)};g.setComment=function(a){return ak(this,4,a)};g.getEscalationOwner=function(){return W(this,Zj,7)};g.setEscalationOwner=function(a){X(this,Zj,7,a)};g.getInheritEscalationOwner=function(){return Ak(this,8)};g.setInheritEscalationOwner=function(a){Cm(this,8,a)};var Tm=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Tm,V);g=Tm.prototype;g.getMetric=function(){return Fk(this,1,0)};g.getMatcher=function(){return Kh(this,2)};g.setMatcher=function(a){return ak(this,2,a)};g.getDayType=function(){return Fk(this,4,0)};g.setDayType=function(a){return ck(this,4,a)};g.getObjective=function(){return W(this,tk,3)};g.setObjective=function(a){return X(this,tk,3,a)};g.getBusinessDays=function(){return Xj(this,5)};g.setBusinessDays=function(a){return pk(this,5,a)};var rp=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(rp,V);g=rp.prototype;g.getSloId_asLegacyNumberOrString=function(){return Qk(this,1)};g.setSloId=function(a){return jm(this,1,a)};g.getParentId=function(){return dv(this,2)};g.setParentId=function(a){return jm(this,2,a)};g.getName=function(){return Kh(this,3)};g.setName=function(a){return ak(this,3,a)};g.getDescription=function(){return Kh(this,4)};g.setDescription=function(a){return ak(this,4,a)};
g.addRules=function(a,b){return Xu(this,5,Tm,a,b)};g.removeRules=function(a){return Yu(this,5,Tm,a)};g.getIsArchived=function(){return Ak(this,7)};g.setIsArchived=function(a){return Cm(this,7,a)};var to=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(to,V);to.prototype.getTemplateId_asLegacyNumberOrString=function(){return Qk(this,2)};to.prototype.setTemplateId=function(a){return jm(this,2,a)};var so=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(so,V);g=so.prototype;g.getIssue=function(){return W(this,lo,1)};g.setIssue=function(a){return X(this,lo,1,a)};g.setSignificanceOverride=function(a){return ck(this,4,a)};g.getContentJudgement=function(){return W(this,im,5)};g.setContentJudgement=function(a){return X(this,im,5,a)};var MC=function(){},NC=function(){};var Nhc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Nhc,V);g=Nhc.prototype;g.getIssueId=function(){return dv(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Qk(this,1)};g.getIssueId_asString=function(){return Wk(this,1)};g.setIssueId=function(a){return jm(this,1,a)};g.setPageSize=function(a){return pk(this,2,a)};g.setPageToken=function(a){return ak(this,3,a)};var OC=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,OC.messageId)};Y(OC,V);OC.prototype.getIt=function(){return W(this,Nhc,4)};OC.prototype.setIt=function(a){return X(this,Nhc,4,a)};OC.messageId="b.AggregateIssueDescendantsRequest";var Ohc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Ohc,V);g=Ohc.prototype;g.getPriority=function(){return Fk(this,1,0)};g.setPriority=function(a){return ck(this,1,a)};g.getIssueIdsList_asLegacyNumberOrString=function(){return jk(this,2,Uj())};g.getIssueIdsList_asString=function(){return Uk(this,2)};g.setIssueIdsList=function(a){return pp(this,2,a)};g.getIssueIds=function(a){return fv(this,2,a)};g.setIssueIds=function(a){kv(this,2,a)};var Phc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Phc,V);g=Phc.prototype;g.getStatus=function(){return Fk(this,1,0)};g.setStatus=function(a){return ck(this,1,a)};g.getIssueIdsList_asLegacyNumberOrString=function(){return jk(this,2,Uj())};g.getIssueIdsList_asString=function(){return Uk(this,2)};g.setIssueIdsList=function(a){return pp(this,2,a)};g.getIssueIds=function(a){return fv(this,2,a)};g.setIssueIds=function(a){kv(this,2,a)};var Qhc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Qhc,V);g=Qhc.prototype;g.getIssueIdsList_asLegacyNumberOrString=function(){return jk(this,3,Uj())};g.getIssueIdsList_asString=function(){return Uk(this,3)};g.setIssueIdsList=function(a){return pp(this,3,a)};g.getIssueIds=function(a){return fv(this,3,a)};g.setIssueIds=function(a){kv(this,3,a)};g.getCollaboratorsList=function(){return lk(this,Zj,8,Uj())};g.setCollaboratorsList=function(a){$m(this,8,a)};
g.addAllCollaborators=function(a){Xn(this,8,Zj,a)};g.setCollaborators=function(a,b){return Uu(this,8,Zj,a,b)};g.getCodeChangesList=function(a){return Tj(this,9,Uj(a))};g.setCodeChangesList=function(a){bk(this,9,a)};g.addAllCodeChanges=function(a){Sn(this,9,a)};g.setCodeChanges=function(a,b){return lv(this,9,a,b)};g.getGerritChangesList=function(){return lk(this,gn,13,Uj())};g.setGerritChangesList=function(a){$m(this,13,a)};g.addAllGerritChanges=function(a){Xn(this,13,gn,a)};
g.getBlockedByIssueIdsList_asLegacyNumberOrString=function(){return jk(this,10,Uj())};g.setBlockedByIssueIdsList=function(a){pp(this,10,a)};g.addAllBlockedByIssueIds=function(a){jv(this,10,a)};g.getBlockingIssueIdsList_asLegacyNumberOrString=function(){return jk(this,11,Uj())};g.setBlockingIssueIdsList=function(a){pp(this,11,a)};g.addAllBlockingIssueIds=function(a){jv(this,11,a)};var Rhc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Rhc,V);Rhc.prototype.getNextPageToken=function(){return Kh(this,4)};var PC=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,PC.messageId)};Y(PC,V);PC.prototype.getIt=function(){return W(this,Rhc,3)};PC.prototype.setIt=function(a){return X(this,Rhc,3,a)};PC.messageId="b.AggregateIssueDescendantsResponse";var QC=function(){this.executor=r(MC)};
QC.prototype.get=function(a){var b=(new OC).setIt((new Nhc).setIssueId(a));return this.executor.post({url:"action/issues/aggregateIssueDescendants",body:b,responseConstructor:PC}).pipe(z(function(c){var d=Xj(c.getIt(),2),e=Xj(c.getIt(),3),f=W(c.getIt(),Qhc,1);if(f){var h,l,q,u,A,F,H,N,O,T;c={_rootId:a,issueIds:f.getIssueIdsList_asLegacyNumberOrString().map(gk).filter(ik),aggregatedStatus:(A=lk(f,Phc,4,Uj()).map(aAa).filter(ik))!=null?A:[],aggregatedPriority:(F=lk(f,Ohc,12,Uj()).map(bAa).filter(ik))!=
null?F:[],reporters:(H=(h=lk(f,Zj,5,Uj()))==null?void 0:h.map(ek))!=null?H:[],assignees:(N=(l=lk(f,Zj,6,Uj()))==null?void 0:l.map(ek))!=null?N:[],verifiers:(O=(q=lk(f,Zj,7,Uj()))==null?void 0:q.map(ek))!=null?O:[],collaborators:(T=(u=f.getCollaboratorsList())==null?void 0:u.map(ek))!=null?T:[],changelists:f.getCodeChangesList(Vj),gerritChanges:f.getGerritChangesList().map(Hza),blockedByIssueIds:f.getBlockedByIssueIdsList_asLegacyNumberOrString().map(gk).filter(ik),blockingIssueIds:f.getBlockingIssueIdsList_asLegacyNumberOrString().map(gk).filter(ik),
descendantCount:d,openDescendantCount:e}}else c=void 0;return c}))};QC.\u0275fac=function(a){return new (a||QC)};QC.\u0275prov=n({token:QC,factory:QC.\u0275fac,providedIn:"root"});var Shc=function(a){this.isEqual=a===void 0?function(){return!1}:a;this.values$=new Tf(1);this.distinctValues$=new Tf(1);this.lastValue=void 0;this.empty=!0};Shc.prototype.next=function(a){this.values$.next(a);!this.empty&&this.isEqual(a,this.lastValue)||this.distinctValues$.next(a);this.lastValue=a;this.empty=!1};var RC=function(a,b){this.data=a;this.cfg=b;this.lastValidated=Date.now()};RC.prototype.isFresh=function(){return Date.now()-this.lastValidated<this.cfg.freshUntil};RC.prototype.isAncient=function(){return Date.now()-this.lastValidated>this.cfg.ancientAfter};RC.prototype.getStatus=function(){return this.isFresh()?"fresh":this.isAncient()?"ancient":"uncertain"};RC.prototype.toString=function(){var a=String(this.data);return Math.ceil((Date.now()-this.lastValidated)/1E3)+"s old -- "+a};
var Thc=function(a){this.cfg=a;this.cache=new Map},Uhc=function(a,b){a=SC(a,b);return a==null?Infinity:a},SC=function(a,b){var c;return(c=a.get(b,!0))==null?void 0:Date.now()-c.lastValidated};Thc.prototype.isFresh=function(a){return Uhc(this,a)<this.cfg.freshUntil};var Vhc=function(a,b){return Uhc(a,b)<=a.cfg.ancientAfter};g=Thc.prototype;g.isAncient=function(){var a=SC(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 RC(b,this.cfg))};g.touch=function(a){var b=this.cache.get(a);b&&this.cache.set(a,new RC(b.data,this.cfg))};
g.validate=function(a,b,c,d){d=d===void 0?!1:d;if(!this.has(a,d))return!1;a=this.getData(a,d);return c(a,b)};g.debug=function(){return Object.assign({},this.cfg,{count:this.cache.size,keys:this.cache.keys()})};g.toString=function(){return Array.from(this.cache,function(a){a=k(a);var b=a.next().value;a=a.next().value;b=String(b).slice(-16);var c=a.toString();return a.getStatus()+"  "+b+": "+c}).join("\n")};var Whc={trustMemory:!0},Xhc=function(){},Ota=["startIndex","totalSize","curPageToken","nextPageToken","prevPageToken"],Yhc=function(a){this.ids=[];Object.assign(this,a)};Y(Yhc,Xhc);Yhc.prototype.toString=function(){return JSON.stringify(Object.assign({},this,{ids:"["+this.ids.join(",")+"]"}))};
var Zhc={freshUntil:1E4,ancientAfter:792E5},TC=function(a){var b=this;a=a===void 0?{}:a;this.error$=new Uf;this.watchOneError=function(c){if(c==null)return Ae();typeof c==="number"&&(c=String(c));return b.error$.pipe(Ue(function(d){return d.idOrKey===c}))};this.memoryWasSet$=new Uf;this.collectiveMemoryWasSet$=new Uf;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("Gc`"+
b.idKey+"`"+c);throw Error("Hc`"+c);};this.valsById=new Map;this.collectionsById=new Map;this.setsByLabel=new Map;this.inFlightGets$=new Xi(Object.freeze({}));this.inFlightSaves$=new Xi(Object.freeze({}));this.getting$=this.inFlightGets$.pipe(z(dAa));this.saving$=this.inFlightSaves$.pipe(z(dAa));this.thinking$=Ie(this.getting$,this.saving$).pipe(z(function(c){var d=k(c);c=d.next().value;d=d.next().value;return c||d}),Pf());this.gotOne=function(c){return function(d,e){e=e===void 0?{}:e;e=e.doNotTrack?
cAa:$hc({label:c,value:SC(b.memory,c)},b.recordType);b.memory.validate(c,d,b.isEqual)?(e("one-isSame"),b.memory.touch(c)):(e("one-isChanged"),b.memoryWasSet$.next(),b.memory.set(c,d));aic(b,c).next(d)}};this.gotSet=function(c){return function(d){for(var e=k(d),f=e.next();!f.done;f=e.next()){f=f.value;var h=b.idForRecord(f);b.gotOne(h)(f,{doNotTrack:!0})}bic(b,c).next(d)}};this.gotAll=function(c){return function(d){for(var e=$hc({label:c,value:SC(b.collectiveMemory,c)},b.recordType),f=k(d.results),
h=f.next();!h.done;h=f.next()){h=h.value;var l=b.idForRecord(h);b.gotOne(l)(h,{doNotTrack:!0})}f=b.normalize(d);b.collectiveMemory.validate(c,f,Nta);b.collectiveMemory.set(c,f);b.collectiveMemoryWasSet$.next();e("all-isChanged");(e=b.collectionsById.get(c))?(d=cic(b,f,d.results),e.next(d)):jta(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&&nj("Fridge<"+
b.recordType+"> Couldn't find a record for id "+d+". (among "+c.length+" records)");return e}};this.debug=function(){return{recordType:b.recordType,isThinking:b.isThinking(),inFlightGets:Object.entries(b.inFlightGets()).map(function(c){var d=k(c);c=d.next().value;d=d.next().value;return c+": "+d}).join(", "),inFlightSaves:Object.entries(b.inFlightSaves()).map(function(c){var d=k(c);c=d.next().value;d=d.next().value;return c+": "+d}).join(", "),records:b.memory.debug(),lists:b.collectiveMemory.debug()}};
this.implementsFn=function(){return function(){try{b.doSave()}catch(d){var c=d;if((c.message===void 0?"":c.message).match("Default no-op for Fridge"))return!1}return!0}};this.canSave=this.implementsFn();this.icons={fetchOne:"\ud83d\udcbf",fetchAll:"\ud83d\udcdc",__doCreate:"\ud83c\udf1f",doSave:"\u270f\ufe0f",no:"\u274c"};this.isThinking=function(c){return b.isSaving(c)||b.isGetting(c)};this.isSaving=function(c){return c==null?dAa(b.inFlightSaves()):!!b.inFlightSaves()[c]};this.isSaving$=function(c){return b.inFlightSaves$.pipe(z(function(d){return!!d[c]}),
Pf())};this.isGetting=function(c){return c==null?dAa(b.inFlightGets()):!!b.inFlightGets()[c]};this.save=function(c){var d=b.idForRecord(c);if(d==null)throw Error("Ic");c=b.doSave(c).pipe(Of(0,vp),jka(),hha());b.setIsSaving(d);b.subscriptions.add(c.subscribe(b.gotOne(d),b.gotErr(d,b.inFlightSaves$),dic(d,b.inFlightSaves$)));return c};this.setIsSaving=function(c){var d={};eAa(b.inFlightSaves$,(d[c]=!0,d))};this.clearIsSaving=function(c){fAa(b.inFlightSaves$,c)};this.setIsGetting=function(c){var d={};
eAa(b.inFlightGets$,(d[c]=!0,d))};this.clearIsGetting=function(c){fAa(b.inFlightGets$,c)};this.peekAllRecords=function(){return Array.from(b.memory.cache.entries()).map(function(c){c=k(c);c.next();return c.next().value.data}).filter(ik)};this.poke.bind(this);this.subscriptions=new je;this.memory=new Thc(Object.assign({},Zhc,a));this.collectiveMemory=new Thc(Object.assign({},Zhc,a))};g=TC.prototype;g.fetchOne=function(){throw Error("Jc");};g.fetchAll=function(){throw Error("Kc");};
g.fetchSet=function(){throw Error("Lc");};g.doSave=function(){throw Error("Mc");};g.copy=function(){throw Error("Nc");};g.isEqual=function(a,b){return Nta(a,b,100)};g.inFlightGets=function(){return this.inFlightGets$.getValue()};g.inFlightSaves=function(){return this.inFlightSaves$.getValue()};
var eic=function(a,b,c){c=c===void 0?{}:c;var d=c.trustMemory;var e=c.trustUncertainMemory;c=$hc({label:b,value:SC(a.memory,b)},a.recordType);d=d&&a.memory.isFresh(b);e=e&&Vhc(a.memory,b);if(d||e)return c("one-trustMemory"),c=a.memory.getData(b),lAa(c);if(a.inFlightGets()[b])return c("one-inFlight"),c=aic(a,b),kAa(c.values$).then(lAa);c("one-fetch");try{var f=a.fetchOne(b).pipe(Nf(),Of(0,vp))}catch(h){f=Be(function(){return h})}a.setIsGetting(b);return new Promise(function(h,l){a.subscriptions.add(f.subscribe(function(q){a.gotOne(b)(q);
h(q)},function(q){a.gotErr(b,a.inFlightGets$)(q);l(q)},dic(b,a.inFlightGets$)))})},hic=function(a,b,c){c=(c===void 0?{}:c).trustMemory;var d="["+[].concat(t(b)).sort().join("-")+"]",e=$hc({label:d},a.recordType);if(c&&fic(a,b))gic(a,b),e("set-trustMemory");else if(a.inFlightGets()[d])e("set-inFlight");else if(b.every(function(l){return a.inFlightGets()[l]}))Promise.all(b.map(function(l){l=aic(a,l);return kAa(l.values$)})).then(function(l){return l.filter(ik)}).then(a.gotSet(b));else{e("set-fetch");
try{var f=a.fetchSet(b).pipe(Nf(),Of(0,vp))}catch(l){f=Be(function(){return l})}c={};c=(c[d]=!0,c);e=k(b);for(var h=e.next();!h.done;h=e.next())c[h.value]=!0;eAa(a.inFlightGets$,c);a.subscriptions.add(f.subscribe(a.gotSet(b),function(l){gAa(a.inFlightGets$,b);a.gotErr(d,a.inFlightGets$)(l)},function(){gAa(a.inFlightGets$,[d].concat(t(b)))}))}},fic=function(a,b){return b.every(function(c){return a.memory.isFresh(c)})},gic=function(a,b){var c=iic(a,b).filter(ik);bic(a,b).next(c)};
TC.prototype.getAll=function(a,b){b=(b===void 0?{}:b).trustMemory;var c=hAa(a),d=$hc({label:c,value:SC(this.collectiveMemory,c)},this.recordType);if(b&&this.collectiveMemory.isFresh(c)){d("all-trustMemory");a=this.collectiveMemory.getData(c);var e=jic(this,a);e.results.length!==a.ids.length&&nj("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=kic(this,a),kAa(a.values$);d("all-fetch");try{e=this.fetchAll(a).pipe(Nf(),Of(0,vp))}catch(f){e=Be(function(){return f})}this.setIsGetting(c);this.subscriptions.add(e.subscribe(this.gotAll(c),this.gotErr(c,this.inFlightGets$),dic(c,this.inFlightGets$)));a=kic(this,a);return kAa(a.values$)};TC.prototype.gotErr=function(a,b){var c=this;return function(d){d=Object.assign({},{idOrKey:a},d);kta(a+" gotErr()",d);fAa(b,a);JSON.stringify(d,null,2);c.error$.next(d)}};
var dic=function(a,b){return function(){fAa(b,a)}};TC.prototype.normalize=function(a){var b=a.results.map(this.idForRecord);return new Yhc(Object.assign({},jAa(a),{ids:b}))};
var cic=function(a,b,c){a=b.ids.map(a.dereferenceOne(c)).filter(Boolean);return Object.assign({},jAa(b),{results:a})},jic=function(a,b){var c=iic(a,b.ids).filter(ik);return cic(a,b,c)},iic=function(a,b){return b.map(function(c){return a.memory.getData(c)})},kic=function(a,b){b=hAa(b);return iAa(a.collectionsById,b,new Shc)},bic=function(a,b){b="["+[].concat(t(b)).sort().join("-")+"]";return iAa(a.setsByLabel,b,new Shc)},aic=function(a,b){var c=new Shc(a.isEqual),d=a.memory.getData(b);d!=null&&c.next(d);
return iAa(a.valsById,b,c)};g=TC.prototype;g.watch=function(a,b){b=b===void 0?Whc:b;typeof b==="number"&&(b=Whc);if(a==null)return Ae();typeof a==="number"&&(a=String(a));var c=aic(this,a);eic(this,a,b).catch(function(){});return pu(c.distinctValues$)};g.watchSet=function(a,b){b=b===void 0?Whc:b;typeof b==="number"&&(b=Whc);if(a.length===0)return Ae([]);a=a.map(function(d){return typeof d==="number"?String(d):d});var c=bic(this,a);hic(this,a,b);return pu(c.values$)};
g.watchMany=function(a,b){b=b===void 0?Whc:b;a=Object.assign({},this.defaultQuery,a);var c=kic(this,a);this.getAll(a,b);return pu(c.values$)};g.peek=function(a){if(a!=null)return this.memory.getData(String(a),!0)};g.poke=function(a,b){return a==null?mAa():eic(this,String(a),b)};var lic=function(a,b){return b==null?Promise.resolve({results:[]}):a.getAll(Object.assign({},a.defaultQuery,b),void 0)},mic=function(a,b){return["string","number"].includes(typeof b)?a.memory.getStatus(String(b)):a.collectiveMemory.getStatus(hAa(b))};
TC.prototype.announce=function(a,b){b=b===void 0?{}:b;if(a!=null){var c=this.idForRecord(a);if(c==null)throw Error("Oc");this.gotOne(c)(a,Object.assign({},{doNotTrack:!0},b))}};TC.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(hAa(a))};
TC.prototype.manualUpdate=function(a,b,c){c=c===void 0?{}:c;if(c.evenWhenInFlight!==void 0&&c.evenWhenInFlight||!this.inFlightGets()[a])if(a=this.copy(this.memory.getData(String(a))))b(a),this.announce(a)};TC.prototype.ngOnDestroy=function(){this.subscriptions.unsubscribe()};
var $hc=function(a,b){for(var c=k(Object.keys(a)),d=c.next();!d.done;d=c.next())d=d.value,a[d]==null&&delete a[d];return function(e){var f=a;f=f===void 0?{}:f;nic&&lj("Fridge<"+b+">::trackEvent('"+e+"')",f)}},UC=function(){TC.apply(this,arguments);this.defaultQuery={}};Y(UC,TC);var nic=!1;var VC=function(){UC.call(this);this.api=r(QC);this.recordType="AggregatedIssueMetadata";this.idKey="_rootId";this.isEqual=oj};Y(VC,UC);VC.prototype.fetchOne=function(a){return this.api.get(a)};VC.\u0275fac=function(a){return new (a||VC)};VC.\u0275prov=n({token:VC,factory:VC.\u0275fac,providedIn:"root"});var kn=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(kn,V);kn.prototype.getContent=function(){return Kh(this,1)};kn.prototype.setContent=function(a){return ak(this,1,a)};kn.prototype.getFormattedContent=function(){return W(this,an,2)};var pAa=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(pAa,V);g=pAa.prototype;g.getIssueIdsList_asLegacyNumberOrString=function(){return jk(this,1,Uj())};g.getIssueIdsList_asString=function(){return Uk(this,1)};g.setIssueIdsList=function(a){return pp(this,1,a)};g.getIssueIds=function(a){return fv(this,1,a)};g.setIssueIds=function(a){kv(this,1,a)};var oic=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(oic,V);oic.prototype.getContent=function(){return Kh(this,1)};oic.prototype.setContent=function(a){return ak(this,1,a)};oic.prototype.getFormattedContent=function(){return W(this,an,2)};var pic=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(pic,V);g=pic.prototype;g.getContentCase=function(){return $l(this,oAa)};g.getIssueId=function(){return dv(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Qk(this,1)};g.getIssueId_asString=function(){return Wk(this,1)};g.setIssueId=function(a){return jm(this,1,a)};g.getCategory=function(){return Kh(this,2)};g.setCategory=function(a){return ak(this,2,a)};g.getSummary=function(){return um(this,oic,5,oAa)};
g.getAuthor=function(){return W(this,Zj,6)};g.setAuthor=function(a){X(this,Zj,6,a)};g.hasAuthor=function(){return Jk(this,Zj,6)};g.getTimestamp=function(){return W(this,rk,7)};g.setTimestamp=function(a){return X(this,rk,7,a)};g.hasTimestamp=function(){return Jk(this,rk,7)};var oAa=[3,4,5];var sAa=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(sAa,V);g=sAa.prototype;g.getIssueId=function(){return dv(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Qk(this,1)};g.getIssueId_asString=function(){return Wk(this,1)};g.setIssueId=function(a){return jm(this,1,a)};g.getCategory=function(){return Kh(this,2)};g.setCategory=function(a){return ak(this,2,a)};g.getAttachmentId_asLegacyNumberOrString=function(){return Qk(this,3)};
g.getAttachmentId_asString=function(){return Wk(this,3)};g.setAttachmentId=function(a){return jm(this,3,a)};g.setFeedbackType=function(a){return ck(this,4,a)};var qic=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(qic,V);qic.prototype.getQuery=function(){return Kh(this,1)};qic.prototype.setQuery=function(a){return ak(this,1,a)};qic.prototype.clearQuery=function(){Np(this,1)};var ric=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(ric,V);ric.prototype.getQuery=function(){return Kh(this,1)};ric.prototype.setQuery=function(a){return ak(this,1,a)};ric.prototype.clearQuery=function(){Np(this,1)};var sic=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(sic,V);sic.prototype.getName=function(){return Kh(this,1)};sic.prototype.setName=function(a){return ak(this,1,a)};var tic=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(tic,V);tic.prototype.setFeedback=function(a){return X(this,sAa,1,a)};var WC=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,WC.messageId)};Y(WC,V);WC.messageId="f.mt";var uic=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(uic,V);g=uic.prototype;g.getName=function(){return Kh(this,1)};g.setName=function(a){return fl(this,1,a)};g.hasName=function(){return Ck(this,1)};g.getNameOrUndefined=function(){return wr(this,1)};g.getDisplayName=function(){return Kh(this,2)};g.setDisplayName=function(a){return fl(this,2,a)};g.getDescription=function(){return Kh(this,3)};g.setDescription=function(a){return fl(this,3,a)};g.hasDescription=function(){return Ck(this,3)};var XC=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,XC.messageId)};Y(XC,V);XC.prototype.getCategory=function(){return W(this,uic,1)};XC.prototype.setCategory=function(a){return X(this,uic,1,a)};XC.messageId="b.GetEnrichmentCategoryResponse";var vic=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(vic,V);g=vic.prototype;g.getIssueId=function(){return dv(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Qk(this,1)};g.getIssueId_asString=function(){return Wk(this,1)};g.setIssueId=function(a){return jm(this,1,a)};g.getAttachmentId_asLegacyNumberOrString=function(){return Qk(this,2)};g.getAttachmentId_asString=function(){return Wk(this,2)};g.setAttachmentId=function(a){return jm(this,2,a)};
g.getCategory=function(){return Kh(this,3)};g.setCategory=function(a){return ak(this,3,a)};g.getContent=function(){return Kh(this,4)};g.setContent=function(a){return ak(this,4,a)};g.getFormattedContent=function(){return W(this,an,5)};g.getAuthor=function(){return W(this,Zj,6)};g.setAuthor=function(a){X(this,Zj,6,a)};g.hasAuthor=function(){return Jk(this,Zj,6)};g.getTimestamp=function(){return W(this,rk,7)};g.setTimestamp=function(a){return X(this,rk,7,a)};
g.hasTimestamp=function(){return Jk(this,rk,7)};var wic=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(wic,V);var YC=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,YC.messageId)};Y(YC,V);YC.prototype.getResponse=function(){return W(this,wic,1)};YC.prototype.getReadonlyResponse=function(){return Tq(this,wic,1)};YC.prototype.getMutableResponse=function(){return Wu(this,wic,1)};YC.prototype.setResponse=function(a){return X(this,wic,1,a)};YC.messageId="b.ListAttachmentEnrichmentsResponse";var xic=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(xic,V);var ZC=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,ZC.messageId)};Y(ZC,V);ZC.prototype.getResponse=function(){return W(this,xic,1)};ZC.prototype.getReadonlyResponse=function(){return Tq(this,xic,1)};ZC.prototype.getMutableResponse=function(){return Wu(this,xic,1)};ZC.prototype.setResponse=function(a){return X(this,xic,1,a)};ZC.messageId="b.ListIssueEnrichmentsResponse";var $C=function(){this.executor=r(MC)},yic=function(a,b){var c=(new sic).setName(b);return a.executor.post({url:"action/enrichment_category/"+b+"/get",body:c,responseConstructor:XC}).pipe(z(function(d){return d.getCategory()}),z(nAa))},zic=function(a,b){var c="issueid:"+b;c=(new ric).setQuery(c);return a.executor.post({url:"action/issues/"+b+"/listIssueEnrichments",body:c,responseConstructor:ZC}).pipe(z(function(d){d=d.getResponse();return lk(d,pic,1,Uj()).map(qAa)}))},Aic=function(a,b){var c="issueid:"+
b;c=(new qic).setQuery(c);return a.executor.post({url:"action/issues/"+b+"/listAttachmentEnrichments",body:c,responseConstructor:YC}).pipe(z(function(d){d=d.getResponse();return lk(d,vic,1,Uj()).map(rAa)}))};$C.prototype.submitEnrichmentFeedback=function(a){var b=(new tic).setFeedback(uAa(a));return this.executor.post({url:"action/issues/"+a.issueId+"/submitEnrichmentFeedback",body:b,responseConstructor:WC}).pipe(z(function(){}))};$C.\u0275fac=function(a){return new (a||$C)};
$C.\u0275prov=n({token:$C,factory:$C.\u0275fac,providedIn:"root"});var aD=function(){UC.call(this);this.api=r($C);this.recordType="AttachmentEnrichmentsForIssue";this.idForRecord=function(a){return a.issueId};this.isEqual=oj};Y(aD,UC);aD.prototype.fetchOne=function(a){return Aic(this.api,a).pipe(z(function(b){return{issueId:a,enrichments:b}}))};aD.\u0275fac=function(a){return new (a||aD)};aD.\u0275prov=n({token:aD,factory:aD.\u0275fac,providedIn:"root"});var bD={},vAa=(bD[1]="issue_id",bD[3]="type",bD[4]="status",bD[5]="priority",bD[6]="severity",bD[18]="title",bD[15]="modified_time",bD[14]="created_time",bD[17]="verified_time",bD[16]="resolved_time",bD[38]="deletion_time",bD[13]="blocked_by_issue_ids",bD[12]="blocking_issue_ids",bD[26]="vote_count",bD[28]="cc_count",bD[44]="collaborators_count",bD[2]="component_path",bD[27]="duplicate_count",bD[10]="ccs",bD[43]="collaborators",bD[11]="code_changes",bD[32]="postmortems",bD[8]="assignee",bD[9]="verifier",
bD[7]="reporter",bD[19]="found_in_versions",bD[20]="targeted_to_versions",bD[21]="verified_in_versions",bD[22]="in_prod",bD[30]="last_modifier",bD[25]="position",bD[24]="custom_field",bD[29]="modified_by",bD[31]="archived",bD[23]="canonical_issue_id",bD[33]="min_slo",bD[35]="assignment_slo",bD[36]="response_slo",bD[37]="closure_slo",bD[39]="team",bD[40]="estimate",bD[41]="estimate_total_open",bD[42]="estimate_total_complete",bD[45]="access_level",bD[46]="descendant_count",bD[47]="open_descendant_count",
bD[48]="one_day_view_count",bD[49]="seven_day_view_count",bD[50]="thirty_day_view_count",bD[51]="escalation_owner",bD),cD={},xAa=(cD.issue_id=1,cD.type=3,cD.status=4,cD.priority=5,cD.severity=6,cD.title=18,cD.modified_time=15,cD.created_time=14,cD.verified_time=17,cD.resolved_time=16,cD.deletion_time=38,cD.blocked_by_issue_ids=13,cD.blocking_issue_ids=12,cD.vote_count=26,cD.cc_count=28,cD.collaborators_count=44,cD.component_path=2,cD.duplicate_count=27,cD.ccs=10,cD.collaborators=43,cD.code_changes=
11,cD.postmortems=32,cD.assignee=8,cD.verifier=9,cD.reporter=7,cD.found_in_versions=19,cD.targeted_to_versions=20,cD.verified_in_versions=21,cD.in_prod=22,cD.last_modifier=30,cD.position=25,cD.custom_field=24,cD.modified_by=29,cD.archived=31,cD.canonical_issue_id=23,cD.min_slo=33,cD.assignment_slo=35,cD.response_slo=36,cD.closure_slo=37,cD.team=39,cD.estimate=40,cD.estimate_total_open=41,cD.estimate_total_complete=42,cD.access_level=45,cD.descendant_count=46,cD.open_descendant_count=47,cD.one_day_view_count=
48,cD.seven_day_view_count=49,cD.thirty_day_view_count=50,cD.escalation_owner=51,cD);var nn=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(nn,V);nn.prototype.getDisplayColumns=function(){return gv(this,1)};nn.prototype.setDisplayColumns=function(a){lv(this,1,a)};var mn=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(mn,V);g=mn.prototype;g.getHotlistId=function(){return dv(this,1)};g.getHotlistId_asLegacyNumberOrString=function(){return Qk(this,1)};g.setHotlistId=function(a){return jm(this,1,a)};g.getName=function(){return Kh(this,2)};g.setName=function(a){return ak(this,2,a)};g.getDescription=function(){return Kh(this,3)};g.setDescription=function(a){return ak(this,3,a)};g.getArchived=function(){return Ak(this,4)};
g.setArchived=function(a){return Cm(this,4,a)};g.getDefaultOrderBy=function(){return Kh(this,5)};g.setDefaultOrderBy=function(a){return ak(this,5,a)};g.getDisplayPreferences=function(){return W(this,nn,6)};g.setDisplayPreferences=function(a){return X(this,nn,6,a)};g.getCreatedTime=function(){return W(this,rk,7)};g.setCreatedTime=function(a){return X(this,rk,7,a)};g.getModifiedTime=function(){return W(this,rk,8)};g.setModifiedTime=function(a){return X(this,rk,8,a)};
g.getOwnersList=function(){return lk(this,Zj,9,Uj())};g.setOwnersList=function(a){return $m(this,9,a)};g.getEtag=function(){return Mp(this,10)};g.setEtag=function(a){mm(this,10,a)};var pn=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(pn,V);g=pn.prototype;g.getSavedSearchId_asLegacyNumberOrString=function(){return Qk(this,1)};g.setSavedSearchId=function(a){return jm(this,1,a)};g.getName=function(){return Kh(this,2)};g.setName=function(a){return ak(this,2,a)};g.getDescription=function(){return Kh(this,3)};g.setDescription=function(a){return ak(this,3,a)};g.getQuery=function(){return Kh(this,4)};g.setQuery=function(a){return ak(this,4,a)};
g.clearQuery=function(){Np(this,4)};g.getDefaultOrderBy=function(){return Kh(this,5)};g.setDefaultOrderBy=function(a){return ak(this,5,a)};g.getDisplayPreferences=function(){return W(this,nn,6)};g.setDisplayPreferences=function(a){return X(this,nn,6,a)};g.getOwnersList=function(){return lk(this,Zj,7,Uj())};g.setOwnersList=function(a){return $m(this,7,a)};var rn=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(rn,V);g=rn.prototype;g.getHotlistId=function(){return dv(this,1)};g.getHotlistId_asLegacyNumberOrString=function(){return Qk(this,1)};g.setHotlistId=function(a){return jm(this,1,a)};g.getHotlist=function(){return W(this,mn,2)};g.setHotlist=function(a){return X(this,mn,2,a)};g.hasHotlist=function(){return Jk(this,mn,2)};var tn=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(tn,V);g=tn.prototype;g.getSavedSearchId_asLegacyNumberOrString=function(){return Qk(this,1)};g.setSavedSearchId=function(a){return jm(this,1,a)};g.getSavedSearch=function(){return W(this,pn,2)};g.setSavedSearch=function(a){return X(this,pn,2,a)};g.hasSavedSearch=function(){return Jk(this,pn,2)};var un=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(un,V);un.prototype.getBookmarkGroupId_asLegacyNumberOrString=function(){return Qk(this,1)};un.prototype.setBookmarkGroupId=function(a){return jm(this,1,a)};un.prototype.getBookmarkGroup=function(){return W(this,vn,2)};un.prototype.setBookmarkGroup=function(a){return X(this,vn,2,a)};var sn=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(sn,V);g=sn.prototype;g.getHotlist=function(){return um(this,rn,1,qn)};
g.setHotlist=function(a){return zm(this,1,qn,a)};g.hasHotlist=function(){return Jm(this,rn,1,qn)};g.getSavedSearch=function(){return um(this,tn,2,qn)};g.setSavedSearch=function(a){return zm(this,2,qn,a)};g.hasSavedSearch=function(){return Jm(this,tn,2,qn)};g.getBookmarkGroup=function(){return um(this,un,3,qn)};g.setBookmarkGroup=function(a){return zm(this,3,qn,a)};var vn=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(vn,V);g=vn.prototype;
g.getBookmarkGroupId_asLegacyNumberOrString=function(){return Qk(this,1)};g.setBookmarkGroupId=function(a){return jm(this,1,a)};g.getName=function(){return Kh(this,2)};g.setName=function(a){return ak(this,2,a)};g.getDescription=function(){return Kh(this,3)};g.setDescription=function(a){return ak(this,3,a)};g.getArchived=function(){return Ak(this,4)};g.setArchived=function(a){return Cm(this,4,a)};g.addItems=function(a,b){return Xu(this,5,sn,a,b)};g.setItems=function(a){Uu(this,5,sn,a)};
g.removeItems=function(a){return Yu(this,5,sn,a)};g.getOwnersList=function(){return lk(this,Zj,6,Uj())};g.setOwnersList=function(a){return $m(this,6,a)};var qn=[1,2,3];var dD=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,dD.messageId)};Y(dD,V);dD.prototype.getIt=function(){return W(this,vn,10)};dD.prototype.setIt=function(a){return X(this,vn,10,a)};dD.messageId="b.BookmarkGroup";var Bic=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,Bic.messageId)};Y(Bic,V);Bic.messageId="b.BookmarkGroupListResponse";var eD=function(){this.executor=r(NC)};eD.prototype.get=function(a){return this.executor.get({url:"action/bookmark_groups/"+a,responseConstructor:dD}).then(QAa)};eD.prototype.query=function(a){return this.executor.get({url:"action/bookmark_groups",options:{params:{q:a}},responseConstructor:Bic}).then(RAa)};eD.prototype.create=function(a){a=(new dD).setIt((new vn).setName(a.name).setDescription(a.description));return this.executor.post({url:"action/bookmark_groups",body:a,responseConstructor:dD}).then(QAa)};
eD.prototype.update=function(a){var b=(new dD).setIt(MAa(a));return this.executor.post({url:"action/bookmark_groups/"+a.bookmarkGroupId,body:b,responseConstructor:dD}).then(QAa)};eD.\u0275fac=function(a){return new (a||eD)};eD.\u0275prov=n({token:eD,factory:eD.\u0275fac,providedIn:"root"});var fD=function(){UC.call(this,{freshUntil:3E5});this.bookmarkGroupApi=r(eD);this.recordType="bookmarkGroup";this.idKey="bookmarkGroupId"};Y(fD,UC);fD.prototype.fetchOne=function(a){var b=this;return Ne(function(){return b.bookmarkGroupApi.get(a)})};fD.prototype.fetchSet=function(a){var b=this;return Ie(a.map(function(c){return b.fetchOne(c)}))};fD.\u0275fac=function(a){return new (a||fD)};fD.\u0275prov=n({token:fD,factory:fD.\u0275fac,providedIn:"root"});var Cic=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,Cic.messageId)};Y(Cic,V);g=Cic.prototype;g.getAuthor=function(){return Kh(this,1)};g.setAuthor=function(a){fl(this,1,a)};g.hasAuthor=function(){return Ck(this,1)};g.getDescription=function(){return Kh(this,2)};g.setDescription=function(a){return fl(this,2,a)};g.hasDescription=function(){return Ck(this,2)};g.getPending=function(){return Ak(this,3)};g.getTimestamp=function(){return dv(this,4)};
g.getTimestamp_asLegacyNumberOrString=function(){return Qk(this,4)};g.setTimestamp=function(a){return Xk(this,4,a)};g.hasTimestamp=function(){return Pk(this,4)};Cic.messageId="b.ChangelistDetailsResponse";var gD=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(gD,V);g=gD.prototype;g.getIssueIdsList_asLegacyNumberOrString=function(){return o4b(this,1)};g.getIssueIdsList_asString=function(){return Uk(this,1)};g.setIssueIdsList=function(a){return wc(this,1,a,Pb)};g.getIssueIds=function(a){return fv(this,1,a)};g.setIssueIds=function(a){Ac(this,1,Pb,a,void 0,Vb)};var Dic=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,Dic.messageId)};Y(Dic,V);g=Dic.prototype;g.getQuery=function(){return W(this,gD,1)};g.setQuery=function(a){return X(this,gD,1,a)};g.clearQuery=function(){Np(this,1)};g.hasQuery=function(){return Jk(this,gD,1)};g.getNextPageToken=function(){return Kh(this,2)};Dic.messageId="b.ListChangelistsRequest";var TAa=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(TAa,V);g=TAa.prototype;g.getAuthor=function(){return Kh(this,1)};g.setAuthor=function(a){fl(this,1,a)};g.hasAuthor=function(){return Ck(this,1)};g.getChangelistNumber=function(){return Xj(this,2)};g.getPending=function(){return Ak(this,3)};g.getTimestamp=function(){return W(this,rk,4)};g.setTimestamp=function(a){return X(this,rk,4,a)};g.hasTimestamp=function(){return Jk(this,rk,4)};
g.getIssueIdsList_asLegacyNumberOrString=function(){return o4b(this,5)};g.getIssueIdsList_asString=function(){return Uk(this,5)};g.setIssueIdsList=function(a){return wc(this,5,a,Pb)};g.getIssueIds=function(a){return fv(this,5,a)};g.setIssueIds=function(a){Ac(this,5,Pb,a,void 0,Vb)};var Eic=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,Eic.messageId)};Y(Eic,V);Eic.prototype.getNextPageToken=function(){return Kh(this,2)};Eic.messageId="b.ListChangelistsResponse";var Fic=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,Fic.messageId)};Y(Fic,V);Fic.messageId="b.PendingChangelistsResponse";var hD=function(){this.executor=r(MC)};hD.prototype.getPendingChangelistsForIssue=function(a){return this.executor.get({url:"action/issues/"+a+"/pending_changelists",responseConstructor:Fic}).pipe(z(SAa))};hD.prototype.getChangelistDetails=function(a){return this.executor.get({url:"/action/changelists/"+a,responseConstructor:Cic}).pipe(z(WAa))};
var Gic=function(a,b){var c=new Dic,d=c.setQuery;b=(new gD).setIssueIdsList(b);b=gl(b,2,2);c=d.call(c,b);return a.executor.post({url:"action/changelists/list",body:c,responseConstructor:Eic}).pipe(z(VAa))};hD.\u0275fac=function(a){return new (a||hD)};hD.\u0275prov=n({token:hD,factory:hD.\u0275fac,providedIn:"root"});var iD=function(){this.changelistResources=r(hD)};iD.prototype.getPendingChangelistsForIssue=function(a){return Fe(this.changelistResources.getPendingChangelistsForIssue(a))};
iD.prototype.getChangelistDetails=function(a){return Fe(this.changelistResources.getChangelistDetails(a))};iD.\u0275fac=function(a){return new (a||iD)};iD.\u0275prov=n({token:iD,factory:iD.\u0275fac,providedIn:"root"});var jD=function(){TC.call(this);this.api=r(hD);this.defaultQuery={};this.recordType="Changelist";this.idKey="changelistNumber"};Y(jD,TC);jD.prototype.fetchAll=function(a){if(a=a.pendingForIssues)return a.length===0?Ae({results:[]}):Gic(this.api,a).pipe(z(function(b){var c;return{results:(c=b.changelists)!=null?c:[]}}));throw Error("Vc");};jD.\u0275fac=function(a){return new (a||jD)};jD.\u0275prov=n({token:jD,factory:jD.\u0275fac,providedIn:"root"});var kD=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,kD.messageId)};Y(kD,V);kD.prototype.getIt=function(){return W(this,hm,2)};kD.prototype.setIt=function(a){return X(this,hm,2,a)};kD.messageId="b.AccessLimit";var lD=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,lD.messageId)};Y(lD,V);lD.prototype.getIt=function(){return W(this,Lhc,13)};lD.prototype.setIt=function(a){return X(this,Lhc,13,a)};lD.messageId="b.AccessPolicy";var Hic={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",TRIAGE_ID:"triageId",SETTINGS_TAB:"settingsTab"},Qq={home:{routeDeclarationPath:"home",makeHref:function(){return"/home"}},viewDashboard:{routeDeclarationPath:"dashboard/:groupId",makeHref:function(a){return"/dashboard/"+a}},triageSettings:{routeDeclarationPath:"triage",makeHref:function(){return"/triage"}},viewTriageDashboard:{routeDeclarationPath:"teams/:teamId/triage/:triageId/dashboard",
makeHref:function(a,b){return"/teams/"+a+"/triage/"+b+"/dashboard"}},viewIssueThemes:{routeDeclarationPath:"teams/:teamId/triage/:triageId/issue-themes",makeHref:function(a,b){return"/teams/"+a+"/triage/"+b+"/issue-themes"}},viewTriage:{routeDeclarationPath:"teams/:teamId/triage/:triageId/:phase/:subphase",makeHref:function(a,b,c,d){return"/teams/"+a+"/triage/"+b+"/"+(c===void 0?"new":c)+"/"+(d===void 0?"all":d)}},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?"+cBa(a)}},listIssuesRecent:{routeDeclarationPath:"recent",makeHref:function(){return"/recent"}},createIssue:{routeDeclarationPath:"issues/new",makeHref:function(a){return a==null?"/issues/new":"/issues/new?"+
cBa(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?"+cBa({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+"?"+cBa({mimeType:c})}}};var Iic=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,Iic.messageId)};Y(Iic,V);Iic.messageId="b.CheckPermissionResponse";var mD=function(){this.executor=r(MC)};g=mD.prototype;g.get=function(a,b){a=wn(zn(a,b));return this.executor.get({url:"action/access_policies/"+a,responseConstructor:lD}).pipe(z(ZAa))};
g.update=function(a,b,c){a=wn(zn(a,b));var d;b=new lD;var e=b.setIt;c=Object.assign({},c,{implicitAccess:(d=c.implicitAccess)!=null?d:null,inheritedAdmins:null,implicitAppenders:null,implicitEditors:null,implicitReaders:null});var f,h,l,q,u,A;d=new Lhc;var F=((f=c.admins)!=null?f:[]).map(fm);f=$m(d,2,F).setAppendersList(((h=c.appenders)!=null?h:[]).map(fm));h=((l=c.editors)!=null?l:[]).map(fm);l=$m(f,4,h).setReadersList(((q=c.readers)!=null?q:[]).map(fm));q=((u=c.restrictedReaders)!=null?u:[]).map(fm);
u=$m(l,11,q);q=((A=c.restrictedPlusReaders)!=null?A:[]).map(fm);A=$m(u,12,q);if(c.implicitAccess){u=A.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("sc");}u.call(A,c)}b=e.call(b,A);return this.executor.post({url:"action/access_policies/"+a,body:b,responseConstructor:lD}).pipe(z(ZAa))};
g.checkPermission=function(a,b,c,d){a=wn(a.join(","));b=wn(b);c=wn(zn(c,d));return this.executor.get({url:"action/check_permission/"+a+"/"+b+"/"+c,responseConstructor:Iic}).pipe(z(YAa))};g.setAccessLimit=function(a,b,c){a=wn(zn(a,b));c=(new kD).setIt(kya(c));return this.executor.post({url:"action/access_limits/"+a,body:c,responseConstructor:kD}).pipe(z(XAa))};g.checkComponentImplicitAccessEnabled=function(a){return this.get("COMPONENT",a).pipe(z(function(b){return b.implicitAccess==="ALLOW"}))};
mD.\u0275fac=function(a){return new (a||mD)};mD.\u0275prov=n({token:mD,factory:mD.\u0275fac,providedIn:"root"});var nD=function(){this.observableApi=r(mD)};g=nD.prototype;g.get=function(a,b){return Fe(this.observableApi.get(a,b))};g.update=function(a,b,c){return Fe(this.observableApi.update(a,b,c))};g.checkPermission=function(a,b,c,d){return Fe(this.observableApi.checkPermission(a,b,c,d))};g.setAccessLimit=function(a,b,c){return Fe(this.observableApi.setAccessLimit(a,b,c))};
g.checkComponentImplicitAccessEnabled=function(a){return Fe(this.observableApi.checkComponentImplicitAccessEnabled(a))};nD.\u0275fac=function(a){return new (a||nD)};nD.\u0275prov=n({token:nD,factory:nD.\u0275fac,providedIn:"root"});var oD=function(){UC.call(this);this.accessPolicyApi=r(mD);this.recordType="componentAccessPolicy";this.isEqual=oj};Y(oD,UC);oD.prototype.fetchOne=function(a){return this.accessPolicyApi.get("COMPONENT",a).pipe(z(function(b){return Object.assign({},{id:a},b)}),If(function(){return Ae(void 0)}))};oD.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)}))};oD.\u0275fac=function(a){return new (a||oD)};
oD.\u0275prov=n({token:oD,factory:oD.\u0275fac,providedIn:"root"});var pD=function(){};pD.prototype.adapt=function(a){var b,c=new Jic(a.call.bind(a),a.split.bind(a),(b=a.bufferTimeMs)!=null?b:500,a.maxBatchSize||100);return c.get.bind(c)};pD.\u0275fac=function(a){return new (a||pD)};pD.\u0275prov=n({token:pD,factory:pD.\u0275fac,providedIn:"root"});
var Jic=function(a,b,c,d){var e=this;this.batchCall=a;this.batchSplit=b;this.bufferTimeMs=c;this.maxBatchSize=d;this.inputSubject=new Uf;this.inputs$=this.inputSubject.pipe(Uja(this.inputSubject.pipe(Hf(this.bufferTimeMs,vp))));this.removeDuplicates=z(function(f){return[].concat(t(new Set(f)))});this.limitInputSize=z(function(f){for(var h=k(f.slice(e.maxBatchSize)),l=h.next();!l.done;l=h.next())e.inputSubject.next(l.value);return new Set(f.slice(0,e.maxBatchSize))});this.makeBatchCalls=ne(Ke(function(f){try{return e.batchCall(f).pipe(Nf(),
z(function(h){return{inputs:f,batchResponse:h,error:void 0}}),If(function(h){return Ae({inputs:f,batchResponse:void 0,error:h})}))}catch(h){return Ae({inputs:f,batchResponse:void 0,error:h})}}),mka());this.batchResults$=this.inputs$.pipe(this.removeDuplicates,this.limitInputSize,this.makeBatchCalls)};
Jic.prototype.get=function(a){var b=this;return new oe(function(c){c=b.batchResults$.pipe(Ue(function(d){return d.inputs.has(a)}),Nf(),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 En=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(En,V);En.prototype.setFieldId=function(a){return X(this,qm,1,a)};var Dn=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Dn,V);g=Dn.prototype;g.getInherit=function(){return Ak(this,1)};g.setInherit=function(a){return Cm(this,1,a)};g.getId=function(){return dv(this,2)};g.getId_asLegacyNumberOrString=function(){return Qk(this,2)};g.getId_asString=function(){return Wk(this,2)};g.setId=function(a){return jm(this,2,a)};var Bn=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Bn,V);g=Bn.prototype;g.getInherit=function(){return Ak(this,1)};g.setInherit=function(a){return Cm(this,1,a)};g.getId=function(){return dv(this,2)};g.getId_asLegacyNumberOrString=function(){return Qk(this,2)};g.getId_asString=function(){return Wk(this,2)};g.setId=function(a){return jm(this,2,a)};g.getSourceTeamId_asLegacyNumberOrString=function(){return Qk(this,4)};g.setSourceTeamId=function(a){return jm(this,4,a)};
g.getComment=function(){return Kh(this,3)};g.setComment=function(a){return ak(this,3,a)};var An=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(An,V);g=An.prototype;g.getVersion=function(){return Xj(this,1)};g.setVersion=function(a){return pk(this,1,a)};g.getSlo=function(){return W(this,Bn,2)};g.setSlo=function(a){return X(this,Bn,2,a)};g.hasSlo=function(){return Jk(this,Bn,2)};g.getEscalationOwner=function(){return W(this,Zj,6)};g.setEscalationOwner=function(a){X(this,Zj,6,a)};g.getInheritEscalationOwner=function(){return Ak(this,8)};
g.setInheritEscalationOwner=function(a){Cm(this,8,a)};var Cn=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Cn,V);Cn.prototype.getUser=function(){return W(this,Zj,1)};Cn.prototype.setUser=function(a){return X(this,Zj,1,a)};Cn.prototype.hasUser=function(){return Jk(this,Zj,1)};var qD=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(qD,V);g=qD.prototype;g.getId=function(){return dv(this,1)};g.getId_asLegacyNumberOrString=function(){return Qk(this,1)};g.getId_asString=function(){return Wk(this,1)};g.setId=function(a){return jm(this,1,a)};g.getPathIdsList_asLegacyNumberOrString=function(){return jk(this,2,Uj())};g.getPathIdsList_asString=function(){return Uk(this,2)};g.setPathIdsList=function(a){return pp(this,2,a)};g.getName=function(){return Kh(this,3)};
g.setName=function(a){return ak(this,3,a)};g.getPathNamesList=function(a){return Tj(this,4,Uj(a))};g.setPathNamesList=function(a){return bk(this,4,a)};g.getMembersList=function(){return lk(this,Cn,6,Uj())};g.setMembersList=function(a){return $m(this,6,a)};g.getDescription=function(){return Kh(this,8)};g.setDescription=function(a){return ak(this,8,a)};g.getDeleted=function(){return Ak(this,9)};var lBa=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(lBa,V);g=lBa.prototype;g.getTeamId_asLegacyNumberOrString=function(){return Qk(this,1)};g.getTeamId_asString=function(){return Wk(this,1)};g.setTeamId=function(a){return jm(this,1,a)};g.getScore=function(){return tm(this,2)};g.setScore=function(a){return Wm(this,2,a)};var Fn=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Fn,V);Fn.prototype.getComponentPathNames=function(a){return gv(this,2,a)};var In=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(In,V);g=In.prototype;g.getComponentId=function(){return dv(this,2)};g.getComponentId_asLegacyNumberOrString=function(){return Qk(this,2)};g.getComponentId_asString=function(){return Wk(this,2)};g.setComponentId=function(a){return jm(this,2,a)};g.getName=function(){return Kh(this,4)};g.setName=function(a){return ak(this,4,a)};g.getDescription=function(){return Kh(this,5)};g.setDescription=function(a){return ak(this,5,a)};
g.getIsArchived=function(){return Ak(this,8)};g.setIsArchived=function(a){return Cm(this,8,a)};g.getAccessLimit=function(){return W(this,hm,9)};g.setAccessLimit=function(a){return X(this,hm,9,a)};g.setCommentEditState=function(a){return ck(this,10,a)};g.getSlo=function(){return W(this,Rm,13)};g.setSlo=function(a){return X(this,Rm,13,a)};g.hasSlo=function(){return Jk(this,Rm,13)};g.getTeam=function(){return W(this,Dn,16)};g.setTeam=function(a){X(this,Dn,16,a)};
g.hasTeam=function(){return Jk(this,Dn,16)};g.getEffortSpec=function(){return W(this,Dm,18)};g.getTeamSuggestionsList=function(){return lk(this,lBa,19,Uj())};g.setTeamSuggestionsList=function(a){$m(this,19,a)};g.getTrackerId=function(){return dv(this,20)};g.getTrackerId_asLegacyNumberOrString=function(){return Qk(this,20)};g.getTrackerId_asString=function(){return Wk(this,20)};g.setTrackerId=function(a){jm(this,20,a)};var Ln=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Ln,V);g=Ln.prototype;g.getComponentId=function(){return dv(this,2)};g.getComponentId_asLegacyNumberOrString=function(){return Qk(this,2)};g.getComponentId_asString=function(){return Wk(this,2)};g.setComponentId=function(a){return jm(this,2,a)};g.getTemplateId_asLegacyNumberOrString=function(){return Qk(this,3)};g.setTemplateId=function(a){return jm(this,3,a)};g.getName=function(){return Kh(this,4)};
g.setName=function(a){return ak(this,4,a)};g.getDescription=function(){return Kh(this,5)};g.setDescription=function(a){return ak(this,5,a)};g.getIssueState=function(){return W(this,en,6)};g.setIssueState=function(a){return X(this,en,6,a)};g.getComment=function(){return Kh(this,7)};g.setComment=function(a){return ak(this,7,a)};g.getFormattingMode=function(){return Fk(this,8,0)};g.setFormattingMode=function(a){return ck(this,8,a)};var Jn=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,Jn.messageId)};Y(Jn,V);Jn.prototype.getIt=function(){return W(this,In,28)};Jn.prototype.setIt=function(a){return X(this,In,28,a)};Jn.messageId="b.Component";var Kn=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Kn,V);Kn.prototype.getIt=function(){return W(this,Ln,7)};Kn.prototype.setIt=function(a){return X(this,Ln,7,a)};var Kic=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,Kic.messageId)};Y(Kic,V);Kic.messageId="b.UpdateComponentSloRequest";var Lic=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,Lic.messageId)};Y(Lic,V);Lic.messageId="b.UpdateComponentTeamRequest";var Mic=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,Mic.messageId)};Y(Mic,V);Mic.prototype.setComponent=function(a){return X(this,Jn,1,a)};Mic.messageId="b.CreateComponentResponse";var Nic=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,Nic.messageId)};Y(Nic,V);Nic.prototype.setComponent=function(a){return Uu(this,1,Jn,a)};Nic.messageId="b.ListComponentsResponse";var EBa=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(EBa,V);EBa.prototype.getComponentPath=function(){return Kh(this,1)};var Oic=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,Oic.messageId)};Y(Oic,V);Oic.messageId="b.SubcomponentsResponse";var rD=function(){this.executor=r(MC);this.activeSession=r(Bu)};g=rD.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:Oic}).pipe(z(FBa))};
g.fetchComponent=function(a){return this.executor.get({url:"action/components/"+a,responseConstructor:Jn}).pipe(z(Hn))};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:Nic}).pipe(z(CBa))};
g.create=function(a){a=wBa(a);return this.executor.post({url:"action/components",body:a,responseConstructor:Mic}).pipe(z(function(b){return Hn(W(b,Jn,1))}))};
g.update=function(a){var b=a.componentId,c=new Jn,d=c.setIt,e=(new In).setComponentId(a.componentId);e=jm(e,3,a.parentComponentId).setName(a.name).setDescription(a.description).setIsArchived(a.archived);if(a.componentPathInfo){var f=a.componentPathInfo,h=new Fn;f.componentPathId&&pp(h,1,f.componentPathId);if(f.componentPathName){var l=f.componentPathName.map(String);bk(h,2,l)}f.allCustomField&&(f=f.allCustomField.map(Sya),$m(h,5,f));X(e,Fn,7,h)}a.accessLimit&&e.setAccessLimit(kya(a.accessLimit));
a.commentEditState&&e.setCommentEditState(a.commentEditState==="ENABLED"?1:2);jm(e,6,String(a.defaultTemplateId));a.slo&&e.setSlo(nza(a.slo));jm(e,14,a.bugscopeSloId);a.retentionSettings&&(h=zya(a.retentionSettings),X(e,km,15,h));a.fieldOrdering&&ck(e,17,Sfc[a.fieldOrdering]);a.effortSpec&&(h=Zya(a.effortSpec),X(e,Dm,18,h));a.team&&e.setTeam(jBa(a.team));var q;e.setTeamSuggestionsList(((q=a.teamSuggestions)!=null?q:[]).map(mBa));a.spamProtection!=="SPAM_PROTECTION_UNSPECIFIED"&&ck(e,21,pBa(a.spamProtection));
a=d.call(c,e);return this.executor.post({url:"action/components/"+b,body:a,responseConstructor:Jn}).pipe(z(Hn))};g.move=function(a,b){return this.executor.post({url:"action/components/"+a+"/move",body:null,options:{params:{parentId:String(b)}},responseConstructor:Jn}).pipe(z(Hn))};g.updateSlo=function(a,b){var c=new Kic;b=nza(b);c=X(c,Rm,2,b);return this.executor.post({url:"action/components/"+a+"/updateSlo",body:c,responseConstructor:Jn}).pipe(z(Hn))};
g.updateTeam=function(a,b){var c=new Lic;b=jBa(Object.assign({},b));c=X(c,Dn,2,b);return this.executor.post({url:"action/components/"+a+"/updateTeam",body:c,responseConstructor:Jn}).pipe(z(Hn))};rD.\u0275fac=function(a){return new (a||rD)};rD.\u0275prov=n({token:rD,factory:rD.\u0275fac,providedIn:"root"});var sD=function(){this.observableApi=r(rD)};g=sD.prototype;g.get=function(a){return Fe(this.observableApi.get(a))};
g.getChildren=function(a,b){return Fe(this.observableApi.getChildren(a,b===void 0?!1:b))};g.getDescendants=function(a){return Fe(this.observableApi.getDescendants(a))};g.fetchComponent=function(a){return Fe(this.observableApi.fetchComponent(a))};g.query=function(a){return Fe(this.observableApi.query(a))};g.create=function(a){return Fe(this.observableApi.create(a))};g.update=function(a){return Fe(this.observableApi.update(a))};g.move=function(a,b){return Fe(this.observableApi.move(a,b))};
g.updateSlo=function(a,b){return Fe(this.observableApi.updateSlo(a,b))};g.updateTeam=function(a,b){return Fe(this.observableApi.updateTeam(a,b))};sD.\u0275fac=function(a){return new (a||sD)};sD.\u0275prov=n({token:sD,factory:sD.\u0275fac,providedIn:"root"});var uD=function(){UC.call(this,{freshUntil:12E4,ancientAfter:6048E5});this.batchedComponentApi=r(tD);this.recordType="component";this.idKey="componentId"};Y(uD,UC);uD.prototype.fetchOne=function(a){return a==="0"?Ae(void 0):this.batchedComponentApi.get(a).pipe(If(function(){return Ae(void 0)}))};uD.prototype.fetchSet=function(a){var b=this;return Ie(a.map(function(c){return b.fetchOne(c)})).pipe(z(function(c){return c.filter(ik)}))};uD.\u0275fac=function(a){return new (a||uD)};
uD.\u0275prov=n({token:uD,factory:uD.\u0275fac,providedIn:"root"});var tD=function(){var a=this;this.observableComponentApi=r(rD);this.batchApiAdapter=r(pD);this.get=this.batchApiAdapter.adapt({bufferTimeMs:0,call:function(b){return a.call(b)},split:function(b,c){return a.splitBatch(b,c)}})};
tD.prototype.call=function(a){return a.size===1?this.observableComponentApi.fetchComponent([].concat(t(a))[0]).pipe(z(function(b){return new Map(b?[[b.componentId,b]]:[])})):this.observableComponentApi.query({id:[].concat(t(a))}).pipe(z(function(b){return new Map(b.map(function(c){return[c.componentId,c]}))}))};tD.prototype.splitBatch=function(a,b){return b.get(Number(a))};tD.\u0275fac=function(a){return new (a||tD)};tD.\u0275prov=n({token:tD,factory:tD.\u0275fac,providedIn:"root"});var Pic=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,Pic.messageId)};Y(Pic,V);Pic.messageId="b.ListTemplatesResponse";var vD=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,vD.messageId)};Y(vD,V);vD.messageId="b.TemplateResponse";var wD=function(){this.executor=r(MC)};g=wD.prototype;g.get=function(a,b){return this.executor.get({url:"action/components/"+a+"/templates/"+b,responseConstructor:vD}).pipe(z(GBa))};g.query=function(a){return this.executor.get({url:"action/components/"+a+"/templates",responseConstructor:Pic}).pipe(z(HBa))};g.create=function(a,b){b=BBa(b);return this.executor.post({url:"action/components/"+a+"/templates",responseConstructor:vD,body:b}).pipe(z(GBa))};
g.update=function(a,b,c){c=BBa(c);return this.executor.post({url:"action/components/"+a+"/templates/"+b,responseConstructor:vD,body:c}).pipe(z(GBa))};g.delete=function(a,b){return this.executor.delete({url:"action/components/"+a+"/templates/"+b,responseConstructor:null})};wD.\u0275fac=function(a){return new (a||wD)};wD.\u0275prov=n({token:wD,factory:wD.\u0275fac,providedIn:"root"});var xD=function(){this.observableApi=r(wD)};g=xD.prototype;g.get=function(a,b){return Fe(this.observableApi.get(a,b))};
g.query=function(a){return Fe(this.observableApi.query(a))};g.create=function(a,b){return Fe(this.observableApi.create(a,b))};g.update=function(a,b,c){return Fe(this.observableApi.update(a,b,c))};g.delete=function(a,b){return Fe(this.observableApi.delete(a,b))};xD.\u0275fac=function(a){return new (a||xD)};xD.\u0275prov=n({token:xD,factory:xD.\u0275fac,providedIn:"root"});var yD=function(){this.bookmarkGroupModified=new Uf;this.commentSubmitted=new Uf;this.commentRendered=new Uf;this.componentModified=new Uf;this.contactChipsRevertChanges=new Uf;this.customFieldsModified=new Uf;this.dashboardPanels={moveDown:new Uf,moveUp:new Uf,moveToTop:new Uf,moveToBottom:new Uf,remove:new Uf};this.favoritesModified=new Uf;this.hotlistCreated=new Uf;this.onClickAppMenuIcon=new Uf;this.openEditField=new Uf;this.sidebarWidthChanged=new Uf;this.hotlistChanged=new Uf;this.savedSearchModified=
new Uf;this.sidebarUpdated=new Uf;this.topBarEvents={browseComponents:new Uf,manageHotlists:new Uf,manageSlos:new Uf,setDensity:new Uf,openSettings:new Uf};this.templateModified=new Uf;this.issueViewed=new Uf;this.issueEdited=new Uf;this.focusCommentBox=new Uf;this.scrollToCommentBox=new Uf;this.recaptchaSubmitted=new Uf;this.missionControlTaskCount=new Xi(void 0);this.openHelpMeFixSidebar=new Uf;this.closeHelpMeFixSidebar=new Uf;this.didShowIssueHovercard=new Uf};
yD.\u0275fac=function(a){return new (a||yD)};yD.\u0275prov=n({token:yD,factory:yD.\u0275fac,providedIn:"root"});var zD=function(){UC.call(this,{freshUntil:3E5,ancientAfter:6048E5});var a=this;this.templatesApi=r(xD);this.appEvents=r(yD);this.recordType="componentTemplates";this.idKey="componentId";this.defaultTemplate$=function(b){return a.watch(b).pipe(Ue(ik),z(function(c){return c.templates}),z(function(c){var d;return(d=c.find(function(e){return e.default}))!=null?d:c[0]}))};this.appEvents.templateModified.pipe(Ue(function(b){return!!b&&b!=="0"})).subscribe(function(b){a.poke(b)})};Y(zD,UC);
zD.prototype.fetchOne=function(a){var b=this;return Ne(function(){return b.templatesApi.query(Number(a)).then(function(c){return{componentId:a,templates:c}})})};zD.\u0275fac=function(a){return new (a||zD)};zD.\u0275prov=n({token:zD,factory:zD.\u0275fac,providedIn:"root"});var Qic=function(a,b){this.childIterator_=a[ya.Symbol.iterator]();this.mapFn_=b};Qic.prototype[Symbol.iterator]=function(){return this};Qic.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 Ric=function(a,b){return new Qic(a,b)};var AD=function(){};AD.prototype.next=function(){return Sic};var Sic={done:!0,value:void 0};AD.prototype.__iterator__=function(){return this};var Tic=function(a){if(a instanceof BD||a instanceof CD||a instanceof DD)return a;if(typeof a.next=="function")return new BD(function(){return a});if(typeof a[Symbol.iterator]=="function")return new BD(function(){return a[Symbol.iterator]()});if(typeof a.__iterator__=="function")return new BD(function(){return a.__iterator__()});throw Error("Yc");},BD=function(a){this.func_=a};BD.prototype.__iterator__=function(){return new CD(this.func_())};BD.prototype[Symbol.iterator]=function(){return new DD(this.func_())};
BD.prototype.toEs6=function(){return new DD(this.func_())};var CD=function(a){this.iter_=a};Y(CD,AD);CD.prototype.next=function(){return this.iter_.next()};CD.prototype[Symbol.iterator]=function(){return new DD(this.iter_)};CD.prototype.toEs6=function(){return new DD(this.iter_)};var DD=function(a){BD.call(this,function(){return a});this.iter_=a};Y(DD,BD);DD.prototype.next=function(){return this.iter_.next()};var ED=function(a,b){this.map_={};this.keys_=[];this.version_=this.size=0;var c=arguments.length;if(c>1){if(c%2)throw Error("pa");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else a&&this.addAll(a)};g=ED.prototype;g.getCount=function(){return this.size};g.getValues=function(){Uic(this);for(var a=[],b=0;b<this.keys_.length;b++)a.push(this.map_[this.keys_[b]]);return a};g.getKeys=function(){Uic(this);return this.keys_.concat()};g.containsKey=function(a){return this.has(a)};
g.has=function(a){return FD(this.map_,a)};g.containsValue=function(a){for(var b=0;b<this.keys_.length;b++){var c=this.keys_[b];if(FD(this.map_,c)&&this.map_[c]==a)return!0}return!1};g.equals=function(a){if(this===a)return!0;if(this.size!=a.getCount())return!1;var b=Vic;Uic(this);for(var c,d=0;c=this.keys_[d];d++)if(!b(this.get(c),a.get(c)))return!1;return!0};var Vic=function(a,b){return a===b};ED.prototype.isEmpty=function(){return this.size==0};
ED.prototype.clear=function(){this.map_={};this.keys_.length=0;this.setSizeInternal_(0);this.version_=0};ED.prototype.remove=function(a){return this.delete(a)};ED.prototype.delete=function(a){return FD(this.map_,a)?(delete this.map_[a],this.setSizeInternal_(this.size-1),this.version_++,this.keys_.length>2*this.size&&Uic(this),!0):!1};
var Uic=function(a){if(a.size!=a.keys_.length){for(var b=0,c=0;b<a.keys_.length;){var d=a.keys_[b];FD(a.map_,d)&&(a.keys_[c++]=d);b++}a.keys_.length=c}if(a.size!=a.keys_.length){b={};for(d=c=0;c<a.keys_.length;){var e=a.keys_[c];FD(b,e)||(a.keys_[d++]=e,b[e]=1);c++}a.keys_.length=d}};g=ED.prototype;g.get=function(a,b){return FD(this.map_,a)?this.map_[a]:b};g.set=function(a,b){FD(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 ED)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 ED(this)};g.keys=function(){return Tic(this.__iterator__(!0)).toEs6()};g.values=function(){return Tic(this.__iterator__(!1)).toEs6()};g.entries=function(){var a=this;return Ric(this.keys(),function(b){return[b,a.get(b)]})};
g.__iterator__=function(a){Uic(this);var b=0,c=this.version_,d=this,e=new AD;e.next=function(){if(c!=d.version_)throw Error("Zc");if(b>=d.keys_.length)return Sic;var f=d.keys_[b++];return{value:a?f:d.map_[f],done:!1}};return e};g.setSizeInternal_=function(a){this.size=a};var FD=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var GD=function(a,b,c){this.maxCount_=a||null;this.cache_=!!b;this.evictionCallback_=c;this.map_=new ED;this.head_=new Wic("");this.head_.next=this.head_.prev=this.head_},Yic=function(a,b){(b=a.map_.get(b))&&a.cache_&&(b.remove(),Xic(a,b));return b};GD.prototype.get=function(a,b){return(a=Yic(this,a))?a.value:b};var Zic=function(a,b){return(a=a.map_.get(b))?a.value:void 0};g=GD.prototype;g.set=function(a,b){var c=Yic(this,a);c?c.value=b:(c=new Wic(a,b),this.map_.set(a,c),Xic(this,c))};g.peek=function(){return this.head_.next.value};
g.shift=function(){return $ic(this,this.head_.next)};g.pop=function(){return $ic(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(){ajc(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 Xic=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&&ajc(a,a.maxCount_)},ajc=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)}},$ic=function(a,b){a.head_!=b&&a.removeNode(b);return b.value},Wic=function(a,b){this.key=a;this.value=b};
Wic.prototype.remove=function(){this.prev.next=this.next;this.next.prev=this.prev;delete this.prev;delete this.next};var HD=function(){this.caches=new Map};HD.prototype.create=function(a,b){if(this.caches.has(a))throw Error("$c`"+a);b=new bjc(b==null?void 0:b.capacity);this.caches.set(a,b);return b};HD.prototype.get=function(a){return this.caches.get(a)};HD.\u0275fac=function(a){return new (a||HD)};HD.\u0275prov=n({token:HD,factory:HD.\u0275fac,providedIn:"root"});var bjc=function(a){this.lruCache=new GD(a,!0)};bjc.prototype.get=function(a){return this.lruCache.get(a)};
bjc.prototype.put=function(a,b){b!==void 0&&this.lruCache.set(a,b);return b};bjc.prototype.remove=function(a){this.lruCache.remove(a)};bjc.prototype.removeAll=function(){this.lruCache.clear()};var Mn=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,Mn.messageId)};Y(Mn,V);Mn.prototype.getIt=function(){return W(this,mn,18)};Mn.prototype.setIt=function(a){return X(this,mn,18,a)};Mn.messageId="b.Hotlist";var cjc=RegExp("action/issues/([0-9]+)/"),djc=new zd("ETAG_URL_TRANSFORMERS"),ejc=["POST","PUT","DELETE"],JD=function(){this.etagStore=r(ID)};JD.prototype.intercept=function(a,b){if(ejc.includes(a.method)){var c=this.etagStore.getEtag(a);c&&a.headers&&(a=a.clone({headers:a.headers.set("If-Match",c)}))}cjc.exec(a.url);return fjc(this,a,b)};var fjc=function(a,b,c){return c.handle(b).pipe($f(function(d){d instanceof xA&&(d=d.headers,d.has("etag")&&a.etagStore.setEtag(b,d.get("etag")))}))};
JD.\u0275fac=function(a){return new (a||JD)};JD.\u0275prov=n({token:JD,factory:JD.\u0275fac,providedIn:"root"});var ID=function(){this.transformers=r(djc,{optional:!0});this.etagStore={}};ID.prototype.setEtag=function(a,b){b!=null&&(a=gjc(this,a.url),this.etagStore[a]=b)};ID.prototype.getEtag=function(a){a=gjc(this,a.url);return this.etagStore[a]};var gjc=function(a,b){var c;a=k((c=a.transformers)!=null?c:[]);for(c=a.next();!c.done;c=a.next())if(c=c.value,(c=c(b))&&c!==b)return c;return b};
ID.\u0275fac=function(a){return new (a||ID)};ID.\u0275prov=n({token:ID,factory:ID.\u0275fac,providedIn:"root"});var hjc={provide:Ldc,useClass:JD,multi:!0};var on=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(on,V);g=on.prototype;g.getIssueId=function(){return dv(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Qk(this,1)};g.getIssueId_asString=function(){return Wk(this,1)};g.setIssueId=function(a){return jm(this,1,a)};g.getPosition=function(){return Xj(this,2)};g.setPosition=function(a){return pk(this,2,a)};g.getIssue=function(){return W(this,lo,3)};g.setIssue=function(a){return X(this,lo,3,a)};var ijc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(ijc,V);g=ijc.prototype;g.getHotlistId=function(){return dv(this,1)};g.getHotlistId_asLegacyNumberOrString=function(){return Qk(this,1)};g.setHotlistId=function(a){return jm(this,1,a)};g.setOrderBy=function(a){return ak(this,2,a)};g.setPageSize=function(a){return pk(this,3,a)};g.setPageToken=function(a){return ak(this,4,a)};g.getFilter=function(){return Kh(this,5)};g.setFilter=function(a){return ak(this,5,a)};
g.setView=function(a){return ck(this,6,a)};g.setIssueDescriptionView=function(a){return ck(this,7,a)};g.getQuery=function(){return Kh(this,8)};g.setQuery=function(a){return ak(this,8,a)};g.clearQuery=function(){Np(this,8)};var jjc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(jjc,V);g=jjc.prototype;g.getHotlistId=function(){return dv(this,1)};g.getHotlistId_asLegacyNumberOrString=function(){return Qk(this,1)};g.setHotlistId=function(a){return jm(this,1,a)};g.getIssueId=function(){return dv(this,2)};g.getIssueId_asLegacyNumberOrString=function(){return Qk(this,2)};g.getIssueId_asString=function(){return Wk(this,2)};g.setIssueId=function(a){return jm(this,2,a)};var KD=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,KD.messageId)};Y(KD,V);KD.prototype.getIt=function(){return W(this,ijc,1)};KD.prototype.setIt=function(a){return X(this,ijc,1,a)};KD.messageId="b.ListHotlistEntriesRequest";var LD=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(LD,V);LD.prototype.getNextPageToken=function(){return Kh(this,2)};LD.prototype.getTotalSize=function(){return Xj(this,3)};LD.prototype.getTotalSizeAccurate=function(){return Ak(this,4)};LD.prototype.getMaySkipResults=function(){return Ak(this,5)};var MD=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,MD.messageId)};Y(MD,V);MD.prototype.getIt=function(){return W(this,LD,1)};MD.prototype.setIt=function(a){return X(this,LD,1,a)};MD.messageId="b.ListHotlistEntriesResponse";var ND=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,ND.messageId)};Y(ND,V);ND.prototype.addHotlists=function(a){Xu(this,1,Mn,a)};ND.prototype.removeHotlists=function(a){return Yu(this,1,Mn,a)};ND.messageId="b.ListHotlistsResponse";var PD=function(){this.hotlistApi=r(OD);var a=r(HD);this.hotlistCache=a.get("hotlists-second-level-cache")||a.create("hotlists-second-level-cache",{capacity:1E3})};g=PD.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)};PD.\u0275fac=function(a){return new (a||PD)};PD.\u0275prov=n({token:PD,factory:PD.\u0275fac,providedIn:"root"});var QD=function(){this.executor=r(MC);this.etagStore=r(ID);this.bufferTimeMs=50};
QD.prototype.call=function(a){a=Array.from(a).map(String);return a.length===0?Ae(new Map):a.length===1?this.executor.get({url:"action/hotlists/"+a[0],responseConstructor:Mn}).pipe(z(Nn),z(function(b){var c=new Map;c.set(String(b.hotlistId),b);return c})):this.executor.get({url:"action/hotlists",responseConstructor:ND,options:{params:{id:a}}}).pipe(z(function(b){var c=new Map;b=k(lk(b,Mn,1,Uj()).map(Nn));for(var d=b.next();!d.done;d=b.next())d=d.value,c.set(String(d.hotlistId),d);return c}))};
QD.prototype.split=function(a,b){if(b=b.get(a)){var c=b.etag;if(c){var d=this.etagStore;c!=null&&(a=gjc(d,"action/hotlists/"+a),d.etagStore[a]=c)}}return b};QD.\u0275fac=function(a){return new (a||QD)};QD.\u0275prov=n({token:QD,factory:QD.\u0275fac,providedIn:"root"});var RD=function(){this.executor=r(MC);this.batchApiConfig=r(QD);this.batchApiAdapter=r(pD);this.adaptedGet=this.batchApiAdapter.adapt(this.batchApiConfig)};g=RD.prototype;
g.get=function(a){var b=this;return this.adaptedGet(String(a)).pipe(Yf(function(c){return c?Ae(c):b.executor.get({url:"action/hotlists/"+a,responseConstructor:Mn}).pipe(z(Nn))}))};g.bulkLoad=function(a){var b=this;return a.length===0?Ae([]):Oe(a.map(function(c){return b.adaptedGet(String(c))})).pipe(z(function(c){return c.filter(ik)}))};
g.repositionHotlistIssue=function(a,b,c){var d=(new jjc).setHotlistId(Number(a)).setIssueId(b);b=(new on).setIssueId(Number(b)).setPosition(c);d=X(d,on,3,b);return this.executor.put({url:"action/hotlists/"+a+"/entry",body:d,responseConstructor:null})};g.createHotlist=function(a,b){a=(new mn).setName(a);b&&a.setDescription(b);return this.executor.post({url:"action/hotlists",body:(new Mn).setIt(a),responseConstructor:Mn}).pipe(z(Nn))};
g.queryHotlists=function(a){return this.executor.get({url:"action/hotlists",responseConstructor:ND,options:{params:{q:a}}}).pipe(z(function(b){var c;return((c=lk(b,Mn,1,Uj()))!=null?c:[]).map(Nn)}))};g.archiveHotlist=function(a,b){return this.executor.post({url:"action/hotlists/"+a+"/archive",body:IBa(b),responseConstructor:Mn}).pipe(z(Nn))};
g.updateMetadata=function(a,b){var c={};b.etag&&(c["If-Match"]=String(b.etag));return this.executor.post({url:"action/hotlists/"+a,body:IBa(b),options:{headers:c},responseConstructor:Mn}).pipe(z(Nn))};
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 ijc).setHotlistId(a).setOrderBy(CAa(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 KD).setIt(b),responseConstructor:MD}).pipe(z(function(h){return HAa(h.getIt())}))};
RD.\u0275fac=function(a){return new (a||RD)};RD.\u0275prov=n({token:RD,factory:RD.\u0275fac,providedIn:"root"});var OD=function(){this.observableApi=r(RD)};g=OD.prototype;g.get=function(a){return Fe(this.observableApi.get(a))};g.bulkLoad=function(a){return Fe(this.observableApi.bulkLoad(a))};g.repositionHotlistIssue=function(a,b,c){return Fe(this.observableApi.repositionHotlistIssue(a,b,c))};g.createHotlist=function(a,b){return Fe(this.observableApi.createHotlist(a,b))};g.queryHotlists=function(a){return Fe(this.observableApi.queryHotlists(a))};
g.archiveHotlist=function(a,b){return Fe(this.observableApi.archiveHotlist(a,b))};g.updateMetadata=function(a,b){return Fe(this.observableApi.updateMetadata(a,b))};g.getPagedHotlistContent=function(a,b,c,d,e){return Fe(this.observableApi.getPagedHotlistContent(a,b,c,d,e))};OD.\u0275fac=function(a){return new (a||OD)};OD.\u0275prov=n({token:OD,factory:OD.\u0275fac,providedIn:"root"});var On=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(On,V);On.prototype.getIt=function(){return W(this,sn,6)};On.prototype.setIt=function(a){return X(this,sn,6,a)};var kjc=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,kjc.messageId)};Y(kjc,V);kjc.messageId="b.Favorite";var ljc=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,ljc.messageId)};Y(ljc,V);ljc.messageId="b.UserRecentComponentResponse";var SD=function(){this.executor=r(MC)};g=SD.prototype;g.getUserBookmarks=function(){return this.executor.post({url:"action/getUserBookmarks",body:null,responseConstructor:dD}).pipe(z(function(a){return PAa(a.getIt())}))};g.getRecentComponents=function(){return this.executor.get({url:"action/current_user/recent_components",responseConstructor:ljc}).pipe(z(xBa))};g.getUserBookmark=function(a,b){return this.executor.get({url:"action/favorites/"+a+"/"+b,responseConstructor:kjc}).pipe(z(JBa))};
g.addUserBookmark=function(a){a=(new On).setIt(OAa(a));return this.executor.post({url:"action/favorites",body:a,responseConstructor:kjc}).pipe(z(JBa))};g.removeUserBookmark=function(a){return this.executor.post({url:"action/removeUserBookmark",body:OAa(a),responseConstructor:null})};
var mjc=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})};SD.\u0275fac=function(a){return new (a||SD)};SD.\u0275prov=n({token:SD,factory:SD.\u0275fac,providedIn:"root"});var TD=function(){this.observableApi=r(SD)};g=TD.prototype;
g.getUserBookmarks=function(){return Fe(this.observableApi.getUserBookmarks())};g.getRecentComponents=function(){return Fe(this.observableApi.getRecentComponents())};g.getUserBookmark=function(a,b){return Fe(this.observableApi.getUserBookmark(a,b))};g.addUserBookmark=function(a){return Fe(this.observableApi.addUserBookmark(a))};g.removeUserBookmark=function(a){return Fe(this.observableApi.removeUserBookmark(a))};TD.\u0275fac=function(a){return new (a||TD)};
TD.\u0275prov=n({token:TD,factory:TD.\u0275fac,providedIn:"root"});var UD=function(){UC.call(this,{freshUntil:3E5});this.observableHotlistResources=r(RD);this.recordType="hotlist";this.idKey="hotlistId"};Y(UD,UC);UD.prototype.fetchOne=function(a){return this.observableHotlistResources.get(a).pipe(If(function(b){return b.status===403?Ae(void 0):Be(function(){return b})}))};UD.prototype.fetchSet=function(a){return this.observableHotlistResources.bulkLoad(a).pipe(z(function(b){return(b!=null?b:[]).filter(ik)}))};
UD.prototype.doSave=function(a){return this.observableHotlistResources.updateMetadata(a.hotlistId,a)};UD.\u0275fac=function(a){return new (a||UD)};UD.\u0275prov=n({token:UD,factory:UD.\u0275fac,providedIn:"root"});var Pn=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Pn,V);Pn.prototype.getIt=function(){return W(this,pn,12)};Pn.prototype.setIt=function(a){return X(this,pn,12,a)};var njc=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,njc.messageId)};Y(njc,V);njc.prototype.setSearch=function(a,b){Uu(this,1,Pn,a,b)};njc.messageId="b.BatchGetSearchesResponse";var VD=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,VD.messageId)};Y(VD,V);VD.prototype.getSearch=function(){return W(this,Pn,1)};VD.prototype.setSearch=function(a){X(this,Pn,1,a)};VD.messageId="b.SearchResponse";var WD=function(){this.jspbExecutor=r(MC)};g=WD.prototype;g.get=function(a){return this.jspbExecutor.get({url:"action/saved_searches/"+a,responseConstructor:VD}).pipe(z(LBa))};g.batchGet=function(a){if(a.length>500)throw Error("ad");return this.jspbExecutor.get({url:"action/saved_searches?"+a.map(function(b){return"id="+b}).join("&"),responseConstructor:njc}).pipe(z(MBa))};
g.create=function(a,b){a=(new Pn).setIt((new pn).setName(a).setQuery(b));return this.jspbExecutor.post({url:"action/saved_searches",body:a,responseConstructor:VD}).pipe(z(LBa))};g.update=function(a,b){b=(new Pn).setIt(JAa(b));return this.jspbExecutor.post({url:"action/saved_searches/"+a,body:b,responseConstructor:VD}).pipe(z(LBa))};g.delete=function(a){return this.jspbExecutor.delete({url:"action/saved_searches/"+a,responseConstructor:null})};WD.\u0275fac=function(a){return new (a||WD)};
WD.\u0275prov=n({token:WD,factory:WD.\u0275fac,providedIn:"root"});var XD=function(){this.observableResources=r(WD)};g=XD.prototype;g.get=function(a){return Fe(this.observableResources.get(a))};g.batchGet=function(a){return Fe(this.observableResources.batchGet(a))};g.create=function(a,b){return Fe(this.observableResources.create(a,b))};g.update=function(a,b){return Fe(this.observableResources.update(a,b))};g.delete=function(a){return Fe(this.observableResources.delete(a))};
XD.\u0275fac=function(a){return new (a||XD)};XD.\u0275prov=n({token:XD,factory:XD.\u0275fac,providedIn:"root"});var YD=function(){UC.call(this);this.savedSearchApi=r(WD);this.recordType="savedSearch";this.idKey="searchId"};Y(YD,UC);YD.prototype.fetchOne=function(a){return this.savedSearchApi.get(a)};YD.prototype.fetchSet=function(a){return this.savedSearchApi.batchGet(a)};YD.\u0275fac=function(a){return new (a||YD)};YD.\u0275prov=n({token:YD,factory:YD.\u0275fac,providedIn:"root"});var ZD=function(){UC.call(this,{freshUntil:3E5});var a=this;this.userApi=r(SD);this.hotlistApi=r(RD);this.bookmarkGroupApi=r(eD);this.appEvents=r(yD);this.hotlistFridge=r(UD);this.savedSearchFridge=r(YD);this.bookmarkGroupFridge=r(fD);this.activeSession=r(Bu);this.recordType="user-bookmark";this.idKey="id";this.isEqual=oj;this.pokeAll=function(){a.poke("current-user-bookmark-id",void 0)};Te(this.appEvents.hotlistChanged,this.appEvents.hotlistCreated,this.appEvents.bookmarkGroupModified,this.appEvents.savedSearchModified,
this.appEvents.favoritesModified).subscribe(function(){a.poke("current-user-bookmark-id")})};Y(ZD,UC);var ojc=function(a){var b=a.activeSession.getUserEmail();return b?a.hotlistApi.queryHotlists("include_archived:true owner:"+b):Ae([])},pjc=function(a){var b=a.activeSession.getUserEmail();return b?Ne(function(){return a.bookmarkGroupApi.query("include_archived:true owner:"+b)}):Ae([])};
ZD.prototype.fetchOne=function(){var a=this;return Oe([this.userApi.getUserBookmarks(),ojc(this),pjc(this)]).pipe($f(function(b){var c=k(b);b=c.next().value;var d=c.next().value;c=c.next().value;c=k(c);for(var e=c.next();!e.done;e=c.next())a.bookmarkGroupFridge.announce(e.value);c=k(b.bookmarkGroups);for(e=c.next();!e.done;e=c.next())a.bookmarkGroupFridge.announce(e.value);d=k(d);for(c=d.next();!c.done;c=d.next())a.hotlistFridge.announce(c.value);d=k(b.hotlists);for(c=d.next();!c.done;c=d.next())a.hotlistFridge.announce(c.value);
b=k(b.savedSearches);for(d=b.next();!d.done;d=b.next())a.savedSearchFridge.announce(d.value)}),z(function(b){var c=k(b);b=c.next().value;var d=c.next().value;c=c.next().value;d=TBa([].concat(t(b.hotlists),t(d)),[].concat(t(b.bookmarkGroups),t(c)),b.savedSearches);return UBa(d,b)}))};
var qjc=function(a){return a.watch("current-user-bookmark-id",void 0).pipe(Ue(ik))},$D=function(a){return qjc(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(ik).filter(function(f){return f.resourceType==="HOTLIST"}))!=null?e:[];return[].concat(t(b),t(d))}),z(function(b){return Jj(b,function(c){return c.id})}),z(function(b){return RBa(b)}),z(function(b){return b.map(function(c){return c.id})}),
Yf(function(b){return a.hotlistFridge.watchSet(b)}))},rjc=function(a){return qjc(a).pipe(z(function(b){var c;return(c=b==null?void 0:b.savedSearches.map(function(d){return fk(d.id)}))!=null?c:[]}),z(function(b){return b.filter(ik)}),Yf(function(b){return a.savedSearchFridge.watchSet(b)}))};ZD.\u0275fac=function(a){return new (a||ZD)};ZD.\u0275prov=n({token:ZD,factory:ZD.\u0275fac,providedIn:"root"});
var RBa=wk(function(a){return a.name},yk,"ASCENDING"),QBa=wk(function(a){return a.name},yk,"ASCENDING"),SBa=wk(function(a){return a.name},yk,"ASCENDING");var WBa=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(WBa,V);WBa.prototype.getIt=function(){return W(this,Bm,14)};WBa.prototype.setIt=function(a){return X(this,Bm,14,a)};var ko=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(ko,V);ko.prototype.getIt=function(){return W(this,ym,13)};ko.prototype.setIt=function(a){return X(this,ym,13,a)};var aE=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,aE.messageId)};Y(aE,V);aE.prototype.getIt=function(){return W(this,Bm,2)};aE.prototype.setIt=function(a){return X(this,Bm,2,a)};aE.messageId="b.CustomFieldResponse";var sjc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(sjc,V);g=sjc.prototype;g.getCustomFieldsList=function(){return lk(this,Bm,1,Uj())};g.setCustomFieldsList=function(a){return $m(this,1,a)};g.addCustomFields=function(a){Xu(this,1,Bm,a)};g.getNextPageToken=function(){return Kh(this,2)};g.getTotalSize=function(){return Xj(this,3)};var bE=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,bE.messageId)};Y(bE,V);bE.prototype.getIt=function(){return W(this,sjc,4)};bE.prototype.setIt=function(a){return X(this,sjc,4,a)};bE.messageId="b.ListCustomFieldsResponse";var cE=function(){this.executor=r(MC)};g=cE.prototype;g.get=function(a){return this.executor.get({url:"action/custom_fields/"+Number(a),responseConstructor:aE}).pipe(z(VBa))};g.getResource=function(a){return this.executor.get({url:"action/custom_fields/"+a,responseConstructor:aE}).pipe(z(VBa))};g.create=function(a,b){b=XBa(b);return this.executor.post({url:"action/custom_fields",options:{params:{componentId:String(a)}},body:b,responseConstructor:aE}).pipe(z(VBa))};
g.update=function(a,b,c){b=Number(b);c=XBa(c);return this.executor.post({url:"action/custom_fields/"+b,options:{params:{componentId:String(a)}},body:c,responseConstructor:aE}).pipe(z(VBa))};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:bE}).pipe(z(YBa))};cE.\u0275fac=function(a){return new (a||cE)};cE.\u0275prov=n({token:cE,factory:cE.\u0275fac,providedIn:"root"});var dE=function(){this.observableApi=r(cE)};g=dE.prototype;g.get=function(a){return Fe(this.observableApi.get(a))};g.getResource=function(a){return Fe(this.observableApi.getResource(a))};
g.create=function(a,b){return Fe(this.observableApi.create(a,b))};g.update=function(a,b,c){return Fe(this.observableApi.update(a,b,c))};g.delete=function(a,b){return Fe(this.observableApi.delete(a,b))};g.query=function(a){return Fe(this.observableApi.query(a))};dE.\u0275fac=function(a){return new (a||dE)};dE.\u0275prov=n({token:dE,factory:dE.\u0275fac,providedIn:"root"});var eE=function(){UC.call(this,{freshUntil:18E5,ancientAfter:2592E6});this.api=r(cE);this.recordType="customFieldResource";this.idKey="customFieldId"};Y(eE,UC);eE.prototype.fetchOne=function(a){return this.api.getResource(a).pipe(If(function(b){console.error("error fetching custom field "+a,b);return Ae(void 0)}))};eE.\u0275fac=function(a){return new (a||eE)};eE.\u0275prov=n({token:eE,factory:eE.\u0275fac,providedIn:"root"});var fE=function(){UC.call(this);this.api=r($C);this.recordType="EnrichmentCategory";this.idForRecord=function(a){return a.name};this.isEqual=oj};Y(fE,UC);fE.prototype.fetchOne=function(a){return yic(this.api,a)};fE.\u0275fac=function(a){return new (a||fE)};fE.\u0275prov=n({token:fE,factory:fE.\u0275fac,providedIn:"root"});var Qn=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Qn,V);var Rn=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,Rn.messageId)};Y(Rn,V);g=Rn.prototype;g.getId=function(){return dv(this,1)};g.getId_asLegacyNumberOrString=function(){return Qk(this,1)};g.getId_asString=function(){return Wk(this,1)};g.setId=function(a){return Xk(this,1,a)};g.setTriage=function(a){return X(this,Qn,2,a)};Rn.messageId="b.IssueExperiments";var oCa=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(oCa,V);g=oCa.prototype;g.getPhasesList=function(){return pc(this,1,Kb,Uj())};g.setPhasesList=function(a){return op(this,1,a)};g.getSubphasesList=function(){return pc(this,2,Kb,Uj())};g.setSubphasesList=function(a){return op(this,2,a)};g.getValue=function(){return W(this,ym,3)};g.setValue=function(a){return X(this,ym,3,a)};g.hasValue=function(){return Jk(this,ym,3)};var Wn=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Wn,V);Wn.prototype.getCustomFieldId_asLegacyNumberOrString=function(){return Qk(this,1)};Wn.prototype.getCustomFieldId_asString=function(){return Wk(this,1)};Wn.prototype.setCustomFieldId=function(a){return Xk(this,1,a)};Wn.prototype.hasCustomFieldId=function(){return Pk(this,1)};var iCa=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(iCa,V);g=iCa.prototype;g.getHotlistIdsList_asLegacyNumberOrString=function(a){return jk(this,1,Uj(a))};g.getHotlistIdsList_asString=function(){return Uk(this,1)};g.setHotlistIdsList=function(a){return pp(this,1,a)};g.addHotlistIds=function(a,b){return zc(this,1,Pb,a,b,Ub)};g.addAllHotlistIds=function(a){jv(this,1,a)};g.removeHotlistIds=function(a){return t4b(this,1,a)};g.getOperation=function(){return Fk(this,2,0)};
g.setOperation=function(a){return gl(this,2,a)};g.getPhasesList=function(){return pc(this,3,Kb,Uj())};g.setPhasesList=function(a){return op(this,3,a)};g.getSubphasesList=function(){return pc(this,4,Kb,Uj())};g.setSubphasesList=function(a){return op(this,4,a)};var Un=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Un,V);var Vn=[1,2];var Tn=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Tn,V);g=Tn.prototype;g.getScope=function(){return Kh(this,1)};g.setScope=function(a){return fl(this,1,a)};g.setConfig=function(a){Uu(this,3,Un,a)};g.getId=function(){return dv(this,4)};g.getId_asLegacyNumberOrString=function(){return Qk(this,4)};g.getId_asString=function(){return Wk(this,4)};g.setId=function(a){return Xk(this,4,a)};g.getDisplayName=function(){return Kh(this,5)};g.setDisplayName=function(a){return fl(this,5,a)};var gE=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,gE.messageId)};Y(gE,V);g=gE.prototype;g.getId=function(){return dv(this,1)};g.getId_asLegacyNumberOrString=function(){return Qk(this,1)};g.getId_asString=function(){return Wk(this,1)};g.setId=function(a){return Xk(this,1,a)};g.setTriage=function(a){return Uu(this,2,Tn,a)};gE.messageId="b.TeamExperiments";var BDa=new Set([].concat(t(Object.values({ACCESS_LIMIT:"access_limit",ASSIGNEE:"assignee",BLOCKED_BY_ISSUE_IDS:"blocked_by_issue_ids",BLOCKING_ISSUE_IDS:"blocking_issue_ids",CANONICAL_ISSUE_ID:"canonical_issue_id",CCS:"ccs",COLLABORATORS:"collaborators",CHILD_ISSUE_IDS:"child_issue_ids",CODE_CHANGES:"code_changes",GERRIT_CHANGES:"gerrit_changes",COMPONENT_ID:"component_id",CUSTOM_FIELDS:"custom_fields",DELETION_REASON:"deletion_reason",DUPLICATE_ISSUE_IDS:"duplicate_issue_ids",EFFORT:"effort",ENTITY_STATUS:"entity_status",
FOUND_IN_VERSIONS:"found_in_versions",HOTLIST_IDS:"hotlist_ids",IN_PROD:"in_prod",IS_ARCHIVED:"is_archived",IS_DELETED:"is_deleted",PARENT_ISSUE_IDS:"parent_issue_ids",STAFFING:"staffing",STAFFING_PLANNED_ALLOCATIONS:"staffing.planned_allocations",POSTMORTEMS:"postmortems",PRIORITY:"priority",RETENTION:"retention",REPORTER:"reporter",SEVERITY:"severity",SLO_SNOOZE_UNTIL:"slo_snooze_until",SLO_END_TIME:"slo_end_time",SLO_SNOOZE_TYPE:"slo_snooze_type",STATUS:"status",TARGETED_TO_VERSIONS:"targeted_to_versions",
TITLE:"title",TYPE:"type",VERIFIER:"verifier",VERIFIED_IN_VERSIONS:"verified_in_versions"}))));var bo=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(bo,V);g=bo.prototype;g.getIssueId=function(){return dv(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Qk(this,1)};g.getIssueId_asString=function(){return Wk(this,1)};g.setIssueId=function(a){return jm(this,1,a)};g.getAddMask=function(){return W(this,$n,2)};g.setAddMask=function(a){return X(this,$n,2,a)};g.getAdd=function(){return W(this,en,3)};g.setAdd=function(a){return X(this,en,3,a)};
g.getRemoveMask=function(){return W(this,$n,4)};g.setRemoveMask=function(a){return X(this,$n,4,a)};g.getRemove=function(){return W(this,en,5)};g.setRemove=function(a){return X(this,en,5,a)};g.getIssueComment=function(){return W(this,co,6)};g.setIssueComment=function(a){X(this,co,6,a)};g.hasIssueComment=function(){return Jk(this,co,6)};g.setSignificanceOverride=function(a){return ck(this,7,a)};var yo=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(yo,V);yo.prototype.getQuery=function(){return Kh(this,1)};yo.prototype.setQuery=function(a){return ak(this,1,a)};yo.prototype.clearQuery=function(){Np(this,1)};var hE=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(hE,V);hE.prototype.getIssueId=function(){return dv(this,1)};hE.prototype.getIssueId_asLegacyNumberOrString=function(){return Qk(this,1)};hE.prototype.getIssueId_asString=function(){return Wk(this,1)};hE.prototype.setIssueId=function(a){return jm(this,1,a)};var jo=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(jo,V);g=jo.prototype;g.getIssueId=function(){return dv(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Qk(this,1)};g.getIssueId_asString=function(){return Wk(this,1)};g.setIssueId=function(a){return jm(this,1,a)};g.getComponentId=function(){return dv(this,2)};g.getComponentId_asLegacyNumberOrString=function(){return Qk(this,2)};g.getComponentId_asString=function(){return Wk(this,2)};
g.setComponentId=function(a){return jm(this,2,a)};var wo=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(wo,V);wo.prototype.getRelation=function(){return Fk(this,1,0)};wo.prototype.setRelation=function(a){return ck(this,1,a)};var aDa=function(a,b){return Cm(a,2,b)};var tjc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(tjc,V);g=tjc.prototype;g.getIssueId=function(){return dv(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Qk(this,1)};g.getIssueId_asString=function(){return Wk(this,1)};g.setIssueId=function(a){return jm(this,1,a)};g.getReason=function(){return Fk(this,2,0)};g.setReason=function(a){return ck(this,2,a)};g.setSignificanceOverride=function(a){return ck(this,3,a)};var uo=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(uo,V);g=uo.prototype;g.getQuery=function(){return Kh(this,1)};g.setQuery=function(a){return ak(this,1,a)};g.clearQuery=function(){Np(this,1)};g.setOrderBy=function(a){return ak(this,2,a)};g.setPageSize=function(a){return pk(this,3,a)};g.setPageToken=function(a){return ak(this,4,a)};g.setView=function(a){return ck(this,5,a)};g.setIssueDescriptionView=function(a){return ck(this,6,a)};var io=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(io,V);g=io.prototype;g.getIssueId=function(){return dv(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Qk(this,1)};g.getIssueId_asString=function(){return Wk(this,1)};g.setIssueId=function(a){return jm(this,1,a)};g.getComponentId=function(){return dv(this,2)};g.getComponentId_asLegacyNumberOrString=function(){return Qk(this,2)};g.getComponentId_asString=function(){return Wk(this,2)};
g.setComponentId=function(a){return jm(this,2,a)};g.setSignificanceOverride=function(a){return ck(this,3,a)};var ho=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(ho,V);ho.prototype.getIssueId=function(){return dv(this,1)};ho.prototype.getIssueId_asLegacyNumberOrString=function(){return Qk(this,1)};ho.prototype.getIssueId_asString=function(){return Wk(this,1)};ho.prototype.setIssueId=function(a){return jm(this,1,a)};var ujc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(ujc,V);g=ujc.prototype;g.getIssueId=function(){return dv(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Qk(this,1)};g.getIssueId_asString=function(){return Wk(this,1)};g.setIssueId=function(a){return jm(this,1,a)};g.setSignificanceOverride=function(a){return ck(this,2,a)};var ro=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(ro,V);g=ro.prototype;g.getIssueId=function(){return dv(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Qk(this,1)};g.getIssueId_asString=function(){return Wk(this,1)};g.setIssueId=function(a){return jm(this,1,a)};g.getRetention=function(){return Fk(this,2,0)};g.setRetention=function(a){return ck(this,2,a)};g.setSignificanceOverride=function(a){return ck(this,3,a)};var iE=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,iE.messageId)};Y(iE,V);iE.prototype.getIt=function(){return W(this,tjc,3)};iE.prototype.setIt=function(a){return X(this,tjc,3,a)};iE.messageId="b.DeleteIssueRequest";var XCa=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(XCa,V);var DCa=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(DCa,V);g=DCa.prototype;g.getFieldName=function(){return Kh(this,1)};g.setFieldName=function(a){fl(this,1,a)};g.getValue=function(){return Kh(this,2)};g.setValue=function(a){return fl(this,2,a)};g.hasValue=function(){return Ck(this,2)};g.getCustomFieldValue=function(){return W(this,ko,5)};g.setCustomFieldValue=function(a){return X(this,ko,5,a)};g.clearCustomFieldValue=function(){return Np(this,5)};var eo=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,eo.messageId)};Y(eo,V);eo.prototype.getIt=function(){return W(this,fo,5)};eo.prototype.setIt=function(a){return X(this,fo,5,a)};eo.messageId="b.GetRetainedAccessPrincipalsRequest";var qo=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,qo.messageId)};Y(qo,V);qo.prototype.getIt=function(){return W(this,on,4)};qo.prototype.setIt=function(a){return X(this,on,4,a)};qo.messageId="b.HotlistIssue";var Ao=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Ao,V);Ao.prototype.getIt=function(){return W(this,lo,23)};Ao.prototype.setIt=function(a){return X(this,lo,23,a)};var PCa=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(PCa,V);PCa.prototype.getIt=function(){return W(this,so,6)};PCa.prototype.setIt=function(a){return X(this,so,6,a)};var GCa=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(GCa,V);GCa.prototype.getIt=function(){return W(this,bo,7)};GCa.prototype.setIt=function(a){return X(this,bo,7,a)};var vo=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(vo,V);vo.prototype.setTrackerIdsList=function(a){return wc(this,6,a,Pb)};vo.prototype.getIt=function(){return W(this,uo,7)};vo.prototype.setIt=function(a){return X(this,uo,7,a)};var UCa=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(UCa,V);var TCa=function(a,b){return X(a,vo,1,b)},WCa=function(a,b){$m(a,3,b)},ZCa=function(a,b){X(a,Rn,4,b)},$Ca=function(a,b){X(a,wo,5,b)};var ACa=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(ACa,V);ACa.prototype.getIt=function(){return W(this,jo,4)};ACa.prototype.setIt=function(a){return X(this,jo,4,a)};var xo=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,xo.messageId)};Y(xo,V);xo.prototype.getIt=function(){return W(this,yo,4)};xo.prototype.setIt=function(a){return X(this,yo,4,a)};xo.messageId="b.ListRecentEventsForIssuesRequest";var jE=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,jE.messageId)};Y(jE,V);jE.prototype.getIt=function(){return W(this,hE,3)};jE.prototype.setIt=function(a){return X(this,hE,3,a)};jE.messageId="b.MarkAsVulnerabilityRequest";var yCa=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(yCa,V);yCa.prototype.getIt=function(){return W(this,io,4)};yCa.prototype.setIt=function(a){return X(this,io,4,a)};var kE=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,kE.messageId)};Y(kE,V);kE.prototype.getIt=function(){return W(this,bn,9)};kE.prototype.setIt=function(a){return X(this,bn,9,a)};kE.messageId="b.StatusUpdate";var go=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,go.messageId)};Y(go,V);go.prototype.getIt=function(){return W(this,ho,3)};go.prototype.setIt=function(a){return X(this,ho,3,a)};go.messageId="b.UnCcUserActionRequest";var lE=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,lE.messageId)};Y(lE,V);lE.prototype.getIt=function(){return W(this,ujc,2)};lE.prototype.setIt=function(a){return X(this,ujc,2,a)};lE.messageId="b.UndeleteIssueRequest";var mE=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,mE.messageId)};Y(mE,V);mE.prototype.getIt=function(){return W(this,Mhc,5)};mE.prototype.setIt=function(a){return X(this,Mhc,5,a)};mE.messageId="b.UpdateIssueAccessLimitRequest";var ICa=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(ICa,V);ICa.prototype.setSignificanceOverride=function(a){return gl(this,4,a)};var NCa=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(NCa,V);NCa.prototype.getIt=function(){return W(this,ro,5)};NCa.prototype.setIt=function(a){return X(this,ro,5,a)};var hDa=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(hDa,V);g=hDa.prototype;g.getIssueIdsList_asLegacyNumberOrString=function(){return o4b(this,2)};g.getIssueIdsList_asString=function(){return Uk(this,2)};g.setIssueIdsList=function(a){return wc(this,2,a,Pb)};g.getIssueIds=function(a){return fv(this,2,a)};g.setIssueIds=function(a){Ac(this,2,Pb,a,void 0,Vb)};var vjc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(vjc,V);vjc.prototype.setSignificanceOverride=function(a){return fl(this,3,a)};var wjc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(wjc,V);g=wjc.prototype;g.getIssueId=function(){return dv(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Qk(this,1)};g.getIssueId_asString=function(){return Wk(this,1)};g.setIssueId=function(a){return jm(this,1,a)};g.getSummaryType=function(){return Fk(this,2,0)};g.setSummaryType=function(a){return ck(this,2,a)};g.getModelVersion=function(){return Xj(this,3)};g.setModelVersion=function(a){return pk(this,3,a)};
g.getIssueVersion=function(){return Xj(this,7)};g.setIssueVersion=function(a){return pk(this,7,a)};g.setFeedbackType=function(a){return ck(this,5,a)};var FDa=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(FDa,V);var DDa=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(DDa,V);var xjc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(xjc,V);xjc.prototype.getField=function(){return Kh(this,1)};xjc.prototype.clearField=function(){return Np(this,1)};var CDa=[3,4];var nE=function(a){this.patternParts_=[];this.dateTimeSymbols_=Zv;typeof a=="number"?this.applyStandardPattern_(a):this.applyPattern_(a)},yjc=[/^'(?:[^']|'')*('|$)/,/^(?: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]+/],zjc=function(a){return a.getHours?a.getHours():0};
nE.prototype.applyPattern_=function(a){for(Ajc&&(a=a.replace(/\u200f/g,""));a;){for(var b=a,c=0;c<yjc.length;++c){var d=a.match(yjc[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("ed`"+a);}};
nE.prototype.format=function(a,b){if(!a)throw Error("fd");var c=b?(a.getTimezoneOffset()-ohc(b,a))*6E4:0,d=c?new Date(a.getTime()+c):a,e=d;b&&d.getTimezoneOffset()!=a.getTimezoneOffset()&&(d=new Date(d.getTime()+(d.getTimezoneOffset()-a.getTimezoneOffset())*6E4),e=new Date(a.getTime()+(c+(c>0?-864E5:864E5))));c=[];for(var f=0;f<this.patternParts_.length;++f){var h=this.patternParts_[f].text;1==this.patternParts_[f].type?c.push(Bjc(this,h,a,d,e,b)):c.push(h)}return c.join("")};
nE.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 oE=function(a,b){return Cjc(b,a.dateTimeSymbols_)},Ajc=!1,Cjc=function(a,b){a=String(a);b=b||Zv;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("")},pE=function(a){if(!(a.getHours&&a.getSeconds&&a.getMinutes))throw Error("gd");},Djc=function(a,b){pE(b);b=zjc(b);return a.dateTimeSymbols_.AMPMS[b>=12&&b<24?1:0]},Bjc=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),oE(a,mv(c,h));case "Y":return c=d.getFullYear(),e=d.getMonth(),c=t7b(c,e,d.getDate(),a.dateTimeSymbols_.FIRSTWEEKCUTOFFDAY,a.dateTimeSymbols_.FIRSTDAYOFWEEK),c=(new Date(c)).getFullYear(),c<0&&(c=-c),h==2&&(c%=100),oE(a,mv(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=oE(a,mv(c+1,h))}return h;case "k":return pE(e),c=zjc(e)||24,oE(a,mv(c,h));case "S":return oE(a,(e.getMilliseconds()/1E3).toFixed(Math.min(3,h)).slice(2)+(h>3?mv(0,h-3):""));case "E":return c=d.getDay(),h>=4?a.dateTimeSymbols_.WEEKDAYS[c]:a.dateTimeSymbols_.SHORTWEEKDAYS[c];case "a":return Djc(a,e);case "b":return Djc(a,e);case "B":return Djc(a,e);case "h":return pE(e),c=zjc(e)%12||12,oE(a,mv(c,h));case "K":return pE(e),c=zjc(e)%
12,oE(a,mv(c,h));case "H":return pE(e),c=zjc(e),oE(a,mv(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=oE(a,mv(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=oE(a,mv(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 oE(a,mv(d.getDate(),h));case "m":return pE(e),oE(a,mv(e.getMinutes?e.getMinutes():0,h));case "s":return pE(e),oE(a,mv(e.getSeconds(),h));case "v":return(f||Yj(c.getTimezoneOffset())).timeZoneId_;case "V":return a=f||Yj(c.getTimezoneOffset()),h<=2?a.timeZoneId_:nhc(a,c)>0?a.tzNamesExt_.DST_GENERIC_LOCATION!==void 0?a.tzNamesExt_.DST_GENERIC_LOCATION:
a.tzNamesExt_.DST_GENERIC_LOCATION:a.tzNamesExt_.STD_GENERIC_LOCATION!==void 0?a.tzNamesExt_.STD_GENERIC_LOCATION:a.tzNamesExt_.STD_GENERIC_LOCATION;case "w":return c=e.getFullYear(),d=e.getMonth(),c=t7b(c,d,e.getDate(),a.dateTimeSymbols_.FIRSTWEEKCUTOFFDAY,a.dateTimeSymbols_.FIRSTDAYOFWEEK),oE(a,mv(Math.floor(Math.round((c-(new Date((new Date(c)).getFullYear(),0,1)).valueOf())/864E5)/7)+1,h));case "z":return a=f||Yj(c.getTimezoneOffset()),h<4?a.tzNames_[nhc(a,c)>0?2:0]:a.tzNames_[nhc(a,c)>0?3:1];
case "Z":return d=f||Yj(c.getTimezoneOffset()),h<4?(h=-ohc(d,c),a=[h<0?"-":"+"],h=Math.abs(h),a.push(mv(Math.floor(h/60)%100,2),mv(h%60,2)),h=a.join("")):h=oE(a,mhc(ohc(d,c))),h;default:return""}};var KDa=new nE("M/d/yyyy");var cEa=function(){this.updates=[];this.hasInitialUpdate=!1;this.summary=[]},dEa=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},TDa=function(a,b){a.summary.push.apply(a.summary,t(b))},$Da=function(a){var b=Ejc(a,a.updates.flatMap(ODa)),c=Fjc(a,b),
d=c.preDiffs,e=c.postDiffs;c=a.updates.flatMap(function(l){return l.attachments});var f;d={attachments:c,preDiffs:d,postDiffs:e,modifiedDate:Ml(a.commentTimestamp||((f=a.updates[0])==null?void 0:f.timestamp)),userPerformingAction:Ho(a.author),userPerformingActionUser:a.author,version:a.firstUpdateVersion,isMajorEvent:!!a.comment||!!c.length||a.hasInitialUpdate||b.some(function(l){return l.important}),statusUpdate:a.statusUpdate,taggedSummary:a.summary,issueId:a.updates[0].issueId,isCommentEvent:!!a.comment};
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(Ml(qk(uk(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},Fjc=function(a,b){if(!a.comment)return{preDiffs:b,postDiffs:[]};var c=b.filter(function(d){return d.timestamp<Ml(a.commentTimestamp)});b=b.filter(function(d){return d.timestamp>=Ml(a.commentTimestamp)});return{preDiffs:c,postDiffs:b}},Ejc=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 XDa=wk(function(a){return a.modifiedDate},xk),bEa=wk(function(a){return a.version},xk);var Gjc=Symbol("hd"),Hjc=Symbol("id"),Ijc=Symbol("jd"),qE=function(){};qE.prototype.schedule=function(a,b){b=b===void 0?0:b;var c=Hj(),d=c.promise;b=setTimeout(function(){try{var e=a()}catch(f){c.reject(f);d[Ijc]=!0;return}c.resolve(e);d[Ijc]=!0},b);d[Gjc]=b;d[Hjc]=c.reject;d[Ijc]=!1;return c.promise};qE.prototype.cancel=function(a){var b=a[Gjc];if(b==null||a[Ijc])return!1;clearTimeout(b);var c;(c=a[Hjc])==null||c.call(a,Error("kd"));return a[Ijc]=!0};qE.\u0275fac=function(a){return new (a||qE)};
qE.\u0275prov=n({token:qE,factory:qE.\u0275fac,providedIn:"root"});var rE=function(){this.timeout=r(qE)};rE.prototype.adapt=function(a){return new Jjc(this.timeout,a)};rE.\u0275fac=function(a){return new (a||rE)};rE.\u0275prov=n({token:rE,factory:rE.\u0275fac,providedIn:"root"});var Jjc=function(a,b){this.timeout=a;this.bulkGet=b;this.batchedInputs=[[]];this.batchedDeferreds=[[]];this.isBatchScheduled=!1};
Jjc.prototype.get=function(a){var b=Hj(),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||Kjc(this);return b.promise};
var Kjc=function(a){a.isBatchScheduled=!0;a.timeout.schedule(function(){for(var b={},c=0;c<a.batchedInputs.length;b={batchedDeferred:void 0},c++){var d=a.batchedInputs[c];b.batchedDeferred=a.batchedDeferreds[c];a.bulkGet(d).then(function(e){return function(f){for(var h=0;h<e.batchedDeferred.length;h++)e.batchedDeferred[h].resolve(f[h])}}(b),function(e){return function(f){for(var h=k(e.batchedDeferred),l=h.next();!l.done;l=h.next())l.value.reject(f)}}(b))}a.batchedInputs=[[]];a.batchedDeferreds=[[]];
a.isBatchScheduled=!1})};var Lo=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,Lo.messageId)};Y(Lo,V);Lo.prototype.getResource=function(){return Kh(this,1)};Lo.prototype.setResource=function(a){return fl(this,1,a)};Lo.prototype.getRelation=function(){return Fk(this,2,0)};Lo.prototype.setRelation=function(a){return gl(this,2,a)};Lo.messageId="b.ResourceRelation";var Ljc=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,Ljc.messageId)};Y(Ljc,V);Ljc.messageId="b.UserAccessBatchResponse";var sE=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+)$")};sE.prototype.validate=function(a){return this.resourceNamePattern.test(a)};sE.\u0275fac=function(a){return new (a||sE)};sE.\u0275prov=n({token:sE,factory:sE.\u0275fac,providedIn:"root"});
var uE=function(){var a=this;this.rawUserAccess=r(tE);this.resourceNameValidator=r(sE);this.bulkApiAdapter=r(rE);this.accesses={};this.accessGetter=this.bulkApiAdapter.adapt(function(b){return Mjc(a,b)})},Mjc=function(a,b){return Njc(a,b).then(function(c){return fEa(b,c)})},vE=function(a,b,c){return a.resourceNameValidator.validate(c)?Ojc(a,b,c):Promise.reject(Error("ld`"+c))},Pjc=function(a,b){return a.resourceNameValidator.validate(b)?Promise.all([Ojc(a,"admin",b),Ojc(a,"writer",b),Ojc(a,"appender",
b),Ojc(a,"reader",b)]).then(function(c){var d=k(c);c=d.next().value;var e=d.next().value;var f=d.next().value;d=d.next().value;return{admin:c,writer:e,appender:f,reader:d}}):Promise.reject(Error("ld`"+b))},Njc=function(a,b){var c=[],d=[];b=k(b);for(var e=b.next();!e.done;e=b.next())e=e.value,c.push(e.relation),d.push(e.resourceName);return Fe(a.rawUserAccess.executor.get({url:"action/user_access",options:{params:{relations:c.join(","),resourceNames:d.join(",")}},responseConstructor:Ljc}).pipe(z(eEa)))},
Ojc=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};uE.\u0275fac=function(a){return new (a||uE)};uE.\u0275prov=n({token:uE,factory:uE.\u0275fac,providedIn:"root"});var tE=function(){this.executor=r(MC)};tE.\u0275fac=function(a){return new (a||tE)};tE.\u0275prov=n({token:tE,factory:tE.\u0275fac,providedIn:"root"});var Qjc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Qjc,V);g=Qjc.prototype;g.getIssueId=function(){return dv(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Qk(this,1)};g.getIssueId_asString=function(){return Wk(this,1)};g.setIssueId=function(a){return jm(this,1,a)};g.getSummaryType=function(){return Fk(this,2,0)};g.setSummaryType=function(a){return ck(this,2,a)};var Rjc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Rjc,V);g=Rjc.prototype;g.getIssueId=function(){return dv(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Qk(this,1)};g.getIssueId_asString=function(){return Wk(this,1)};g.setIssueId=function(a){return jm(this,1,a)};g.getSummaryType=function(){return Fk(this,2,0)};g.setSummaryType=function(a){return ck(this,2,a)};var Sjc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Sjc,V);Sjc.prototype.setFeedback=function(a){return X(this,wjc,1,a)};var wE=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(wE,V);wE.prototype.setMaxResults=function(a){return pk(this,1,a)};wE.prototype.setView=function(a){return ck(this,2,a)};wE.prototype.setIssueDescriptionView=function(a){return ck(this,3,a)};var xE=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(xE,V);g=xE.prototype;g.getIssueIdsList_asLegacyNumberOrString=function(){return jk(this,1,Uj())};g.getIssueIdsList_asString=function(){return Uk(this,1)};g.setIssueIdsList=function(a){return pp(this,1,a)};g.getIssueIds=function(a){return fv(this,1,a)};g.setIssueIds=function(a){kv(this,1,a)};g.setView=function(a){return ck(this,2,a)};g.setIssueDescriptionView=function(a){return ck(this,3,a)};var Tjc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Tjc,V);g=Tjc.prototype;g.getComponentId=function(){return dv(this,5)};g.getComponentId_asLegacyNumberOrString=function(){return Qk(this,5)};g.getComponentId_asString=function(){return Wk(this,5)};g.setComponentId=function(a){return jm(this,5,a)};g.getTitle=function(){return Kh(this,6)};g.setTitle=function(a){return ak(this,6,a)};g.clearTitle=function(){return Np(this,6)};g.getComment=function(){return Kh(this,7)};
g.setComment=function(a){return ak(this,7,a)};g.getAttachmentsList=function(){return lk(this,lm,8,Uj())};g.setAttachmentsList=function(a){return $m(this,8,a)};g.addAllAttachments=function(a){Xn(this,8,lm,a)};g.setSignificanceOverride=function(a){return ck(this,2,a)};g.getTemplateId_asLegacyNumberOrString=function(){return Qk(this,4)};g.setTemplateId=function(a){return jm(this,4,a)};var Ujc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Ujc,V);g=Ujc.prototype;g.getIssueId=function(){return dv(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Qk(this,1)};g.getIssueId_asString=function(){return Wk(this,1)};g.setIssueId=function(a){return jm(this,1,a)};g.setView=function(a){return ck(this,2,a)};g.setIssueDescriptionView=function(a){return ck(this,3,a)};var Vjc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Vjc,V);g=Vjc.prototype;g.getIssueId=function(){return dv(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Qk(this,1)};g.getIssueId_asString=function(){return Wk(this,1)};g.setIssueId=function(a){return jm(this,1,a)};g.setTargetIdsList=function(a){return pp(this,2,a)};g.setSignificanceOverride=function(a){return ck(this,3,a)};var Wjc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Wjc,V);g=Wjc.prototype;g.getIssueId=function(){return dv(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Qk(this,1)};g.getIssueId_asString=function(){return Wk(this,1)};g.setIssueId=function(a){return jm(this,1,a)};g.setTargetIdsList=function(a){return pp(this,2,a)};g.setSignificanceOverride=function(a){return ck(this,3,a)};var Xjc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Xjc,V);g=Xjc.prototype;g.getIssueId=function(){return dv(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Qk(this,1)};g.getIssueId_asString=function(){return Wk(this,1)};g.setIssueId=function(a){return jm(this,1,a)};g.setTargetId=function(a){return jm(this,2,a)};g.setSignificanceOverride=function(a){return ck(this,3,a)};var Yjc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Yjc,V);g=Yjc.prototype;g.getIssueId=function(){return dv(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Qk(this,1)};g.getIssueId_asString=function(){return Wk(this,1)};g.setIssueId=function(a){return jm(this,1,a)};g.setTargetIdsList=function(a){return pp(this,2,a)};g.setSignificanceOverride=function(a){return ck(this,3,a)};var Zjc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Zjc,V);g=Zjc.prototype;g.getIssueId=function(){return dv(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Qk(this,1)};g.getIssueId_asString=function(){return Wk(this,1)};g.setIssueId=function(a){return jm(this,1,a)};g.setTargetIdsList=function(a){return pp(this,2,a)};g.setSignificanceOverride=function(a){return ck(this,3,a)};var $jc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y($jc,V);g=$jc.prototype;g.getIssueId=function(){return dv(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Qk(this,1)};g.getIssueId_asString=function(){return Wk(this,1)};g.setIssueId=function(a){return jm(this,1,a)};g.setTargetId=function(a){return jm(this,2,a)};g.setSignificanceOverride=function(a){return ck(this,3,a)};var yE=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,yE.messageId)};Y(yE,V);yE.prototype.getIt=function(){return W(this,xE,3)};yE.prototype.setIt=function(a){return X(this,xE,3,a)};yE.messageId="b.BatchGetIssuesRequest";var akc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(akc,V);akc.prototype.getIssuesList=function(){return lk(this,lo,1,Uj())};var zE=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,zE.messageId)};Y(zE,V);zE.prototype.getIt=function(){return W(this,akc,2)};zE.prototype.setIt=function(a){return X(this,akc,2,a)};zE.messageId="b.BatchGetIssuesResponse";var kDa=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(kDa,V);g=kDa.prototype;g.getIssueId=function(){return dv(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return bv(this,1)};g.getIssueId_asString=function(){return Ik(this,1)};g.setIssueId=function(a){return kl(this,1,a)};g.getMessage=function(){return Kh(this,2)};g.setMessage=function(a){return fl(this,2,a)};var bkc=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,bkc.messageId)};Y(bkc,V);bkc.prototype.setErrors=function(a,b){Uu(this,2,kDa,a,b)};bkc.messageId="b.BulkEditResponse";var AE=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,AE.messageId)};Y(AE,V);AE.prototype.getIt=function(){return W(this,Qjc,1)};AE.prototype.setIt=function(a){return X(this,Qjc,1,a)};AE.messageId="b.GenerateIssueSummaryRequest";var BE=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(BE,V);g=BE.prototype;g.getIssueId=function(){return dv(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Qk(this,1)};g.getIssueId_asString=function(){return Wk(this,1)};g.setIssueId=function(a){return jm(this,1,a)};g.getSummaryType=function(){return Fk(this,2,0)};g.setSummaryType=function(a){return ck(this,2,a)};g.getModelVersion=function(){return Xj(this,3)};g.setModelVersion=function(a){return pk(this,3,a)};
g.getIssueVersion=function(){return Xj(this,7)};g.setIssueVersion=function(a){return pk(this,7,a)};g.getVersion=function(){return Xj(this,4)};g.setVersion=function(a){return pk(this,4,a)};g.getSummary=function(){return Kh(this,5)};var CE=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,CE.messageId)};Y(CE,V);CE.prototype.getIt=function(){return W(this,BE,1)};CE.prototype.setIt=function(a){return X(this,BE,1,a)};CE.messageId="b.GenerateIssueSummaryResponse";var DE=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,DE.messageId)};Y(DE,V);DE.prototype.getIt=function(){return W(this,BE,4)};DE.prototype.setIt=function(a){return X(this,BE,4,a)};DE.messageId="b.GetIssueSummaryResponse";var EE=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(EE,V);EE.prototype.getReadersList=function(){return lk(this,dm,1,Uj())};EE.prototype.setReadersList=function(a){return $m(this,1,a)};EE.prototype.getAppendersList=function(){return lk(this,dm,2,Uj())};EE.prototype.setAppendersList=function(a){return $m(this,2,a)};var FE=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,FE.messageId)};Y(FE,V);FE.prototype.getIt=function(){return W(this,EE,4)};FE.prototype.setIt=function(a){return X(this,EE,4,a)};FE.messageId="b.GetRetainedAccessPrincipalsResponse";var GE=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,GE.messageId)};Y(GE,V);GE.prototype.getIssueId=function(){return dv(this,1)};GE.prototype.getIssueId_asLegacyNumberOrString=function(){return bv(this,1)};GE.prototype.getIssueId_asString=function(){return Ik(this,1)};GE.prototype.setIssueId=function(a){return kl(this,1,a)};GE.messageId="b.IssueCreateResponse";var Yo=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,Yo.messageId)};Y(Yo,V);Yo.prototype.getIssue=function(){return W(this,Ao,1)};Yo.prototype.setIssue=function(a){return X(this,Ao,1,a)};Yo.messageId="b.IssueFetchResponse";var ckc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(ckc,V);g=ckc.prototype;g.getIssuesList=function(){return lk(this,lo,1,Uj())};g.getNextPageToken=function(){return Kh(this,2)};g.getTotalSize=function(){return Xj(this,3)};g.getTotalSizeAccurate=function(){return Ak(this,4)};g.getMaySkipResults=function(){return Ak(this,5)};var HE=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,HE.messageId)};Y(HE,V);HE.prototype.getIt=function(){return W(this,ckc,6)};HE.prototype.setIt=function(a){return X(this,ckc,6,a)};HE.messageId="b.IssueSearchResponse";var dkc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(dkc,V);g=dkc.prototype;g.getIssueId=function(){return dv(this,10)};g.getIssueId_asLegacyNumberOrString=function(){return Qk(this,10)};g.getIssueId_asString=function(){return Wk(this,10)};g.setIssueId=function(a){return jm(this,10,a)};g.getAuthor=function(){return W(this,Zj,1)};g.setAuthor=function(a){X(this,Zj,1,a)};g.hasAuthor=function(){return Jk(this,Zj,1)};g.getTimestamp=function(){return W(this,rk,2)};
g.setTimestamp=function(a){return X(this,rk,2,a)};g.hasTimestamp=function(){return Jk(this,rk,2)};g.getIssueComment=function(){return W(this,co,3)};g.setIssueComment=function(a){X(this,co,3,a)};g.hasIssueComment=function(){return Jk(this,co,3)};g.getCommentNumber=function(){return Xj(this,4)};g.setCommentNumber=function(a){return pk(this,4,a)};g.getAttachmentsList=function(){return lk(this,lm,8,Uj())};g.setAttachmentsList=function(a){return $m(this,8,a)};
g.addAllAttachments=function(a){Xn(this,8,lm,a)};g.getStatusUpdate=function(){return W(this,bn,9)};g.setStatusUpdate=function(a){X(this,bn,9,a)};g.hasStatusUpdate=function(){return Jk(this,bn,9)};g.getFieldUpdatesList=function(){return lk(this,xjc,6,Uj())};g.getVersion=function(){return Xj(this,7)};g.setVersion=function(a){return pk(this,7,a)};var ekc=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,ekc.messageId)};Y(ekc,V);ekc.messageId="b.ListIssueEventsResponse";var IE=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,IE.messageId)};Y(IE,V);IE.prototype.getIt=function(){return W(this,wE,1)};IE.prototype.setIt=function(a){return X(this,wE,1,a)};IE.messageId="b.ListRecentIssuesRequest";var fkc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(fkc,V);fkc.prototype.getIssuesList=function(){return lk(this,lo,1,Uj())};var JE=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,JE.messageId)};Y(JE,V);JE.prototype.getIt=function(){return W(this,fkc,2)};JE.prototype.setIt=function(a){return X(this,fkc,2,a)};JE.messageId="b.ListRecentIssuesResponse";var LCa=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(LCa,V);g=LCa.prototype;g.getIssueId=function(){return dv(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return bv(this,1)};g.getIssueId_asString=function(){return Ik(this,1)};g.setIssueId=function(a){return kl(this,1,a)};g.getStatus=function(){return Fk(this,2,0)};g.setStatus=function(a){return gl(this,2,a)};g.hasStatus=function(){return Dk(this,2)};g.getTitle=function(){return Kh(this,3)};
g.setTitle=function(a){return fl(this,3,a)};g.clearTitle=function(){return Np(this,3)};g.getVersion=function(){return Xj(this,4)};g.setVersion=function(a){return dl(this,4,a)};g.getVersionOrUndefined=function(){return hv(this,4)};g.getIsArchived=function(){return Ak(this,5)};g.setIsArchived=function(a){return cl(this,5,a)};var gkc=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,gkc.messageId)};Y(gkc,V);gkc.messageId="b.RelatedIssuesResponse";var KE=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,KE.messageId)};Y(KE,V);KE.prototype.getIt=function(){return W(this,Sjc,1)};KE.prototype.setIt=function(a){return X(this,Sjc,1,a)};KE.messageId="b.SubmitIssueSummaryFeedbackRequest";var LE=function(){this.executor=r(MC);this.userAccess=r(uE);this.activeSession=r(Bu)};g=LE.prototype;
g.createIssue=function(a){var b=this;return Ne(function(){return vE(b.userAccess,"writer","components/"+a.snapshot.componentId+"/issueDefaults")}).pipe(Yf(function(c){if(c){var d=QCa(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:GE}).pipe(z(RCa))}else{c=(new Tjc).setComponentId(a.snapshot.componentId).setTitle(a.snapshot.title).setComment(a.snapshot.comment);var f=Om(a.snapshot.formattingMode);
c=ck(c,9,f).setAttachmentsList((e=(d=a.attachments)==null?void 0:d.map(Fya))!=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:GE}).pipe(z(RCa))}return d}))};
g.createIssueWithWizard=function(a){var b=QCa(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:GE}).pipe(z(RCa))};g.getIssueFull=function(a){var b={},c,d=(c=this.activeSession.getTracker())==null?void 0:c.trackerId;d&&(b.currentTrackerId=d);return this.executor.get({url:"action/issues/"+a,options:{params:b},responseConstructor:Yo}).pipe(z(function(e){return zo(e)}))};
g.getIssueBasic=function(a){var b={},c,d=(c=this.activeSession.getTracker())==null?void 0:c.trackerId;d&&(b.currentTrackerId=d);c=(new Ujc).setIssueId(a).setView(1).setIssueDescriptionView(1);return this.executor.post({url:"action/issues/"+a+"/getIssue",options:{params:b},body:c,responseConstructor:Yo}).pipe(z(function(e){return zo(e)}))};
g.batchGetIssuesFull=function(a){a=(new yE).setIt((new xE).setIssueIdsList(a.map(fk).filter(ik)).setView(2).setIssueDescriptionView(2));return this.executor.post({url:"action/issues/batch",body:a,responseConstructor:zE}).pipe(z(function(b){return b.getIt().getIssuesList().map($za)}))};g.batchGetIssues=function(a){a=(new yE).setIt((new xE).setIssueIdsList(a.map(fk).filter(ik)).setView(1).setIssueDescriptionView(1));return this.executor.post({url:"action/issues/batch",body:a,responseConstructor:zE}).pipe(z(function(b){return b.getIt().getIssuesList().map(jn)}))};
g.updateIssue=function(a,b){b=HCa(b);return this.executor.post({url:"action/issues/"+a,body:b,responseConstructor:Yo}).pipe(z(function(c){return zo(c)}))};g.moveIssueExternal=function(a,b){b=BCa(b);return this.executor.post({url:"action/issues/"+a+"/external_move",body:b,responseConstructor:Yo}).pipe(z(function(c){return zo(c)}))};g.moveIssue=function(a,b){b=zCa(b);return this.executor.post({url:"action/issues/"+a+"/move",body:b,responseConstructor:Yo}).pipe(z(function(c){return zo(c)}))};
g.unCcUser=function(a){var b=xCa(a);return this.executor.post({url:"action/issues/"+a+"/unccuser",body:b,responseConstructor:Yo}).pipe(z(function(c){return zo(c)}))};g.updateAccessLimit=function(a,b,c,d){var e=new mE,f=e.setIt,h=(new Mhc).setIssueId(a);b&&(b=fya(b),h.setIssueAccessLimit(b));c&&h.setAddedCollaboratorsList(c.map(dk));d&&h.setRemovedCollaboratorsList(d.map(dk));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=wCa(a,b,c,d);return this.executor.post({url:"action/issues/"+a+"/retainedAccessPrincipals",body:b,responseConstructor:FE}).pipe(z(function(e){e=e.getIt();return{readers:e.getReadersList().map(cm),appenders:e.getAppendersList().map(cm),writers:lk(e,dm,3,Uj()).map(cm)}}))};
g.markAsVulnerability=function(a,b){var c=(new hE).setIssueId(Number(a));b&&(b=b.map(dk),$m(c,2,b));c=(new jE).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 this.markAsDuplicate(a,b.targetIds[0]);if(b.relation===
"DUPLICATE"&&b.actionType==="REMOVE")return hkc(this,a);throw Error("md");};g.addBlocking=function(a,b){b=(new Wjc).setIssueId(Number(a)).setTargetIdsList(b.map(fk).filter(ik));return this.executor.post({url:"action/issues/"+a+"/add_blocking",body:b,responseConstructor:Yo}).pipe(z(function(c){return zo(c)}))};g.removeBlocking=function(a,b){b=(new Zjc).setIssueId(Number(a)).setTargetIdsList(b.map(fk).filter(ik));return this.executor.post({url:"action/issues/"+a+"/remove_blocking",body:b,responseConstructor:Yo}).pipe(z(function(c){return zo(c)}))};
g.addBlockedBy=function(a,b){b=(new Vjc).setIssueId(Number(a)).setTargetIdsList(b.map(fk).filter(ik));return this.executor.post({url:"action/issues/"+a+"/add_blocked_by",body:b,responseConstructor:Yo}).pipe(z(function(c){return zo(c)}))};g.removeBlockedBy=function(a,b){b=(new Yjc).setIssueId(Number(a)).setTargetIdsList(b.map(fk).filter(ik));return this.executor.post({url:"action/issues/"+a+"/remove_blocked_by",body:b,responseConstructor:Yo}).pipe(z(function(c){return zo(c)}))};
g.markAsDuplicate=function(a,b){b=(new Xjc).setIssueId(Number(a)).setTargetId(Number(b));return this.executor.post({url:"action/issues/"+a+"/mark_as_duplicate",body:b,responseConstructor:Yo}).pipe(z(function(c){return zo(c)}))};var hkc=function(a,b){var c=(new $jc).setIssueId(Number(b));return a.executor.post({url:"action/issues/"+b+"/unmark_as_duplicate",body:c,responseConstructor:Yo}).pipe(z(function(d){return zo(d)}))};
LE.prototype.updateIssueHotlists=function(a,b){b=KCa(b);return this.executor.post({url:"action/issues/"+a+"/hotlists",body:b,responseConstructor:Yo}).pipe(z(function(c){return zo(c)}))};LE.prototype.updateIssueRetention=function(a,b){b=OCa(b);return this.executor.post({url:"action/issues/"+a+"/update_retention",body:b,responseConstructor:Yo}).pipe(z(function(c){return zo(c)}))};
LE.prototype.listIssues=function(a,b){b=b===void 0?{}:b;a=SCa(a,b);return this.executor.post({url:"action/issues/list",body:a,responseConstructor:HE}).pipe(z(sDa))};var ikc=function(a,b,c,d){c=c===void 0?{}:c;d=d===void 0?{}:d;b=cDa(b,c,d);return a.executor.post({url:"action/issues/list_with_experiments",body:b,responseConstructor:HE}).pipe(z(sDa))},jkc=function(a,b){var c=new wE;b&&c.setMaxResults(b);b=(new IE).setIt(c);return a.executor.post({url:"action/issues/recent",body:b,responseConstructor:JE}).pipe(z(function(d){return d.getIt().getIssuesList().map(function(e){return jn(e)})}))};
LE.prototype.issueBulkEdit=function(a,b){var c={};b&&(c["G-Recaptcha-Response-Token"]=b);b=new vjc;var d=a.bulkEditOps.map(iDa);$m(b,4,d);a.significanceOverride&&b.setSignificanceOverride(a.significanceOverride);return this.executor.post({url:"action/issues/bulk_edit",body:b,responseConstructor:bkc,options:{headers:c}}).pipe(z(lDa))};
LE.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:gkc}).pipe(z(MCa))};
var lkc=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:ekc}).pipe(z(function(e){return kkc(e,!1)}))},mkc=function(a,b){b=eDa(b);return a.executor.post({url:"action/issues/list/events",body:b,responseConstructor:ekc}).pipe(z(function(c){return kkc(c,!0)}))};
LE.prototype.getIssueSummary=function(a,b){b=(new Rjc).setIssueId(Number(a)).setSummaryType(agc[b]);return this.executor.post({url:"action/issues/"+a+"/getSummary",body:b,responseConstructor:DE}).pipe(z(function(c){return uDa(c.getIt())}))};LE.prototype.generateIssueSummary=function(a,b){b=(new Qjc).setIssueId(a).setSummaryType(agc[b]);b=(new AE).setIt(b);return this.executor.post({url:"action/issues/"+a+"/generateSummary",body:b,responseConstructor:CE}).pipe(z(function(c){return uDa(c.getIt())}))};
var kkc=function(a,b){a=lk(a,dkc,2,Uj()).map(ADa);return b?YDa(a):WDa(a)};LE.\u0275fac=function(a){return new (a||LE)};LE.\u0275prov=n({token:LE,factory:LE.\u0275fac,providedIn:"root"});var ME=function(){this.observableApi=r(LE)};g=ME.prototype;g.createIssue=function(a){return Fe(this.observableApi.createIssue(a))};g.createIssueWithWizard=function(a){return Fe(this.observableApi.createIssueWithWizard(a))};g.getIssueFull=function(a){return Fe(this.observableApi.getIssueFull(a))};g.getIssueBasic=function(a){return Fe(this.observableApi.getIssueBasic(a))};
g.batchGetIssuesFull=function(a){return Fe(this.observableApi.batchGetIssuesFull(a))};g.batchGetIssues=function(a){return Fe(this.observableApi.batchGetIssues(a))};g.updateIssue=function(a,b){return Fe(this.observableApi.updateIssue(a,b))};g.moveIssueExternal=function(a,b){return Fe(this.observableApi.moveIssueExternal(a,b))};g.moveIssue=function(a,b){return Fe(this.observableApi.moveIssue(a,b))};g.unCcUser=function(a){return Fe(this.observableApi.unCcUser(a))};
g.updateAccessLimit=function(a,b,c,d){return Fe(this.observableApi.updateAccessLimit(a,b,c,d))};g.getRetainedAccessPrincipals=function(a,b,c,d){return Fe(this.observableApi.getRetainedAccessPrincipals(a,b,c,d))};g.markAsVulnerability=function(a,b){return Fe(this.observableApi.markAsVulnerability(a,b))};g.relateIssue=function(a,b){return Fe(this.observableApi.relateIssue(a,b))};g.updateIssueHotlists=function(a,b){return Fe(this.observableApi.updateIssueHotlists(a,b))};
g.updateIssueRetention=function(a,b){return Fe(this.observableApi.updateIssueRetention(a,b))};g.listIssues=function(a,b){b=b===void 0?{}:b;return Fe(this.observableApi.listIssues(a,b))};g.issueBulkEdit=function(a,b){return Fe(this.observableApi.issueBulkEdit(a,b))};g.getRelatedIssues=function(a){return Fe(this.observableApi.getRelatedIssues(a))};ME.\u0275fac=function(a){return new (a||ME)};ME.\u0275prov=n({token:ME,factory:ME.\u0275fac,providedIn:"root"});var NE=function(){UC.call(this);this.observableIssueResources=r(LE);this.recordType="eventsForIssue"};Y(NE,UC);NE.prototype.isEqual=function(a,b){return(a==null?void 0:a.id)!==(b==null?void 0:b.id)?!1:rxa(a==null?void 0:a.events,b==null?void 0:b.events)};NE.prototype.copy=function(a){return a&&pj(a)};NE.prototype.fetchOne=function(a){return lkc(this.observableIssueResources,a).pipe(z(function(b){return{id:a,events:b}}))};NE.prototype.fetchSet=function(a){var b=this;return Ie(a.map(function(c){return b.fetchOne(c)})).pipe(z(function(c){return c.filter(ik)}))};
NE.\u0275fac=function(a){return new (a||NE)};NE.\u0275prov=n({token:NE,factory:NE.\u0275fac,providedIn:"root"});var nkc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(nkc,V);g=nkc.prototype;g.getIssueId=function(){return dv(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Qk(this,1)};g.getIssueId_asString=function(){return Wk(this,1)};g.setIssueId=function(a){return jm(this,1,a)};g.getCommentNumbers=function(){return ev(this,2)};g.setView=function(a){return ck(this,3,a)};var OE=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,OE.messageId)};Y(OE,V);OE.prototype.getIt=function(){return W(this,nkc,4)};OE.prototype.setIt=function(a){return X(this,nkc,4,a)};OE.messageId="b.BatchGetIssueCommentsRequest";var okc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(okc,V);okc.prototype.getIssueCommentsList=function(){return lk(this,co,1,Uj())};var PE=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,PE.messageId)};Y(PE,V);PE.prototype.getIt=function(){return W(this,okc,2)};PE.prototype.setIt=function(a){return X(this,okc,2,a)};PE.messageId="b.BatchGetIssueCommentsResponse";var QE=function(){this.jspbExecutor=r(MC);this.activeSession=r(Bu)};QE.prototype.batchGet=function(a,b){var c=new OE,d=c.setIt;a=(new nkc).setIssueId(Number(a));b=wc(a,2,b,Lb);c=d.call(c,b.setView(2));var e;(d=(e=this.activeSession.getTracker())==null?void 0:e.trackerId)&&kl(c,3,d);return this.jspbExecutor.post({url:"action/comments/batch",responseConstructor:PE,body:c}).pipe(z(mDa))};QE.\u0275fac=function(a){return new (a||QE)};QE.\u0275prov=n({token:QE,factory:QE.\u0275fac,providedIn:"root"});var RE=function(){UC.call(this);var a=this;this.issueCommentsBatchApi=r(QE);this.batchApiAdapter=r(pD);this.recordType="formattedCommentsForIssue";this.idForRecord=function(b){return b.id.issueId+"-"+b.id.commentId};this.get=this.batchApiAdapter.adapt({bufferTimeMs:0,maxBatchSize:500,call:function(b){return a.call(b)},split:function(b,c){return a.splitBatch(b,c)}})};Y(RE,UC);
RE.prototype.fetchSet=function(a){var b=this,c=a[0].split("-")[0];return Ie(a.map(function(d){return b.get(d)})).pipe(z(function(d){var e=[];d=k(d);for(var f=d.next();!f.done;f=d.next())if(f=f.value){var h=void 0,l={issueId:c,commentId:(h=f.commentNumber)!=null?h:0};e.push({id:l,formattedComment:f})}return e}))};
RE.prototype.call=function(a){var b="",c=[];a=k(a);for(var d=a.next();!d.done;d=a.next()){var e=k(d.value.split("-"));d=e.next().value;e=e.next().value;b!==""&&b===d?c.push(Number(e)):b===""&&(b=d,c.push(Number(e)))}return this.issueCommentsBatchApi.batchGet(b,c).pipe(z(function(f){var h=b,l=new Map;f=k(f);for(var q=f.next();!q.done;q=f.next()){q=q.value;var u=void 0,A=Number(h)+"-"+((u=q.commentNumber)!=null?u:0);l.set(A,q)}return l}))};RE.prototype.splitBatch=function(a,b){return b.get(a)};
RE.\u0275fac=function(a){return new (a||RE)};RE.\u0275prov=n({token:RE,factory:RE.\u0275fac,providedIn:"root"});var SE=function(){UC.call(this);this.accessPolicyApi=r(mD);this.recordType="hotlistAccessPolicy";this.isEqual=oj};Y(SE,UC);SE.prototype.fetchOne=function(a){return this.accessPolicyApi.get("HOTLIST",a).pipe(z(function(b){return Object.assign({},{id:a},b)}))};SE.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)}))};SE.\u0275fac=function(a){return new (a||SE)};
SE.\u0275prov=n({token:SE,factory:SE.\u0275fac,providedIn:"root"});var nEa=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(nEa,V);g=nEa.prototype;g.getContentCase=function(){return $l(this,gEa)};g.getName=function(){return Kh(this,1)};g.setName=function(a){return ak(this,1,a)};g.getSource=function(){return Kh(this,2)};g.setSource=function(a){return ak(this,2,a)};g.getResource=function(){return Kh(this,3)};g.setResource=function(a){return ak(this,3,a)};g.getType=function(){return Fk(this,4,0)};g.setType=function(a){return ck(this,4,a)};
g.getScore=function(){return tm(this,6)};g.setScore=function(a){return Wm(this,6,a)};g.getConfidence=function(){return Fk(this,7,0)};var gEa=[9,10];var No=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(No,V);No.prototype.getType=function(){return Fk(this,2,0)};No.prototype.setType=function(a){return ck(this,2,a)};var Mo=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Mo,V);Mo.prototype.getParent=function(){return Kh(this,1)};Mo.prototype.setParent=function(a){return ak(this,1,a)};var pkc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(pkc,V);g=pkc.prototype;g.getResource=function(){return Kh(this,1)};g.setResource=function(a){return ak(this,1,a)};g.getType=function(){return Fk(this,2,0)};g.setType=function(a){return ck(this,2,a)};g.setPageSize=function(a){return pk(this,4,a)};g.setPageToken=function(a){return ak(this,5,a)};g.setView=function(a){return ck(this,6,a)};var TE=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,TE.messageId)};Y(TE,V);TE.prototype.getParent=function(){return Kh(this,1)};TE.prototype.setParent=function(a){return ak(this,1,a)};TE.prototype.setRequestsList=function(a){return $m(this,2,a)};TE.prototype.addAndReturnRequests=function(){return Dc(this,2,Mo)};TE.messageId="b.BatchCreateUserEngagementsRequest";var UE=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,UE.messageId)};Y(UE,V);UE.prototype.getNextPageToken=function(){return Kh(this,2)};UE.prototype.getTotalSize=function(){return dv(this,3)};UE.messageId="b.LookupRecommendationsResponse";var VE=function(){this.executor=r(MC)};VE.prototype.lookupRecommendations=function(a){var b=(new pkc).setResource(a.resource).setType(wgc[a.type]).setPageSize(a.pageSize).setPageToken(a.pageToken).setView(Agc[a.view]);a.minConfidence!==void 0&&ck(b,3,Ifc[a.minConfidence]);return this.executor.post({url:"action/recommendations/lookup",body:b,responseConstructor:UE}).pipe(z(oEa))};
VE.prototype.createUserEngagements=function(a){a=(new TE).setRequestsList(a.map(mEa));return this.executor.post({url:"action/recommendations/engagements/batch",body:a,responseConstructor:null})};VE.\u0275fac=function(a){return new (a||VE)};VE.\u0275prov=n({token:VE,factory:VE.\u0275fac,providedIn:"root"});var WE=function(){this.observableApi=r(VE)};WE.prototype.lookupRecommendations=function(a){return Fe(this.observableApi.lookupRecommendations(a))};WE.prototype.createUserEngagements=function(a){return Fe(this.observableApi.createUserEngagements(a))};
WE.\u0275fac=function(a){return new (a||WE)};WE.\u0275prov=n({token:WE,factory:WE.\u0275fac,providedIn:"root"});var XE=function(){UC.call(this);this.api=r(VE);this.activeSession=r(Bu);this.recordType="HotlistRecommendation";this.idKey="issueId";this.isEqual=oj};Y(XE,UC);XE.prototype.fetchOne=function(a){return this.activeSession.isExternalSession()?Ae(void 0):this.api.lookupRecommendations({resource:"issues/"+a,type:"HOTLIST",minConfidence:"MEDIUM",view:"FULL",pageSize:10}).pipe(z(function(b){return{issueId:a,recommendations:b.recommendations}}),If(function(){return Ae(void 0)}))};
XE.\u0275fac=function(a){return new (a||XE)};XE.\u0275prov=n({token:XE,factory:XE.\u0275fac,providedIn:"root"});var YE=function(){UC.call(this);this.api=r($C);this.recordType="IssueEnrichmentsForIssue";this.idForRecord=function(a){return a.issueId};this.isEqual=oj};Y(YE,UC);YE.prototype.fetchOne=function(a){return zic(this.api,a).pipe(z(function(b){return{issueId:a,enrichments:b}}))};YE.\u0275fac=function(a){return new (a||YE)};YE.\u0275prov=n({token:YE,factory:YE.\u0275fac,providedIn:"root"});var qkc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(qkc,V);g=qkc.prototype;g.getIssueIdsList_asLegacyNumberOrString=function(){return jk(this,1,Uj())};g.getIssueIdsList_asString=function(){return Uk(this,1)};g.setIssueIdsList=function(a){return pp(this,1,a)};g.getIssueIds=function(a){return fv(this,1,a)};g.setIssueIds=function(a){kv(this,1,a)};var rkc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(rkc,V);g=rkc.prototype;g.getIssueIdsList_asLegacyNumberOrString=function(){return jk(this,1,Uj())};g.getIssueIdsList_asString=function(){return Uk(this,1)};g.setIssueIdsList=function(a){return pp(this,1,a)};g.getIssueIds=function(a){return fv(this,1,a)};g.setIssueIds=function(a){kv(this,1,a)};var skc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(skc,V);skc.prototype.setExperiments=function(a){return Uu(this,1,Rn,a)};var ZE=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,ZE.messageId)};Y(ZE,V);ZE.prototype.getIt=function(){return W(this,skc,1)};ZE.prototype.setIt=function(a){return X(this,skc,1,a)};ZE.messageId="b.BatchGetIssueExperimentsResponse";var tkc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(tkc,V);g=tkc.prototype;g.getComponentId=function(){return dv(this,1)};g.getComponentId_asLegacyNumberOrString=function(){return Qk(this,1)};g.getComponentId_asString=function(){return Wk(this,1)};g.setComponentId=function(a){return jm(this,1,a)};g.getType=function(){return Fk(this,2,0)};g.setType=function(a){return ck(this,2,a)};g.getPriority=function(){return Fk(this,3,0)};g.setPriority=function(a){return ck(this,3,a)};
g.getSeverity=function(){return Fk(this,4,0)};g.setSeverity=function(a){return ck(this,4,a)};g.getStatus=function(){return Fk(this,5,0)};g.setStatus=function(a){return ck(this,5,a)};g.getReporter=function(){return W(this,Zj,6)};g.setReporter=function(a){X(this,Zj,6,a)};g.getAssignee=function(){return W(this,Zj,7)};g.setAssignee=function(a){return X(this,Zj,7,a)};g.clearAssignee=function(){return Np(this,7)};g.getVerifier=function(){return W(this,Zj,8)};g.setVerifier=function(a){X(this,Zj,8,a)};
g.clearVerifier=function(){return Np(this,8)};g.getCcsList=function(){return lk(this,Zj,9,Uj())};g.setCcsList=function(a){$m(this,9,a)};g.addAllCcs=function(a){Xn(this,9,Zj,a)};g.setCcs=function(a,b){return Uu(this,9,Zj,a,b)};g.getCollaboratorsList=function(){return lk(this,Zj,23,Uj())};g.setCollaboratorsList=function(a){$m(this,23,a)};g.addAllCollaborators=function(a){Xn(this,23,Zj,a)};g.setCollaborators=function(a,b){return Uu(this,23,Zj,a,b)};g.getStaffing=function(){return W(this,Zm,27)};
g.setStaffing=function(a){X(this,Zm,27,a)};g.getHotlistIdsList_asLegacyNumberOrString=function(a){return jk(this,10,Uj(a))};g.getHotlistIdsList_asString=function(){return Uk(this,10)};g.setHotlistIdsList=function(a){return pp(this,10,a)};g.addHotlistIds=function(a,b){return zc(this,10,Pb,a,b,Ub)};g.addAllHotlistIds=function(a){jv(this,10,a)};g.removeHotlistIds=function(a){return t4b(this,10,a)};g.getBlockedByIssueIdsList_asLegacyNumberOrString=function(){return jk(this,11,Uj())};
g.setBlockedByIssueIdsList=function(a){pp(this,11,a)};g.addAllBlockedByIssueIds=function(a){jv(this,11,a)};g.getBlockingIssueIdsList_asLegacyNumberOrString=function(){return jk(this,12,Uj())};g.setBlockingIssueIdsList=function(a){pp(this,12,a)};g.addAllBlockingIssueIds=function(a){jv(this,12,a)};g.getCanonicalIssueId_asLegacyNumberOrString=function(){return Qk(this,13)};g.setCanonicalIssueId=function(a){jm(this,13,a)};
g.getDuplicateIssueIdsList_asLegacyNumberOrString=function(){return jk(this,14,Uj())};g.setDuplicateIssueIdsList=function(a){pp(this,14,a)};g.getInProd=function(){return Ak(this,15)};g.setInProd=function(a){Cm(this,15,a)};g.getSloSnoozeUntil=function(){return W(this,rk,16)};g.setSloSnoozeUntil=function(a){X(this,rk,16,a)};g.getSloEndTime=function(){return W(this,rk,25)};g.setSloEndTime=function(a){X(this,rk,25,a)};g.hasSloEndTime=function(){return Jk(this,rk,25)};
g.getRetention=function(){return Fk(this,17,0)};g.setRetention=function(a){return ck(this,17,a)};g.getEntityStatus=function(){return W(this,nm,18)};g.setEntityStatus=function(a){return X(this,nm,18,a)};g.getIsArchived=function(){return Ak(this,19)};g.setIsArchived=function(a){return Cm(this,19,a)};g.getEffort=function(){return W(this,fn,24)};g.setEffort=function(a){X(this,fn,24,a)};g.hasEffort=function(){return Jk(this,fn,24)};g.getAccessLimit=function(){return W(this,gm,26)};
g.setAccessLimit=function(a){return X(this,gm,26,a)};var ukc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(ukc,V);g=ukc.prototype;g.getIssueId=function(){return dv(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Qk(this,1)};g.getIssueId_asString=function(){return Wk(this,1)};g.setIssueId=function(a){return jm(this,1,a)};g.getIssueState=function(){return W(this,tkc,2)};g.setIssueState=function(a){return X(this,tkc,2,a)};g.getVersion=function(){return Xj(this,3)};g.setVersion=function(a){return pk(this,3,a)};
g.getEtag=function(){return Mp(this,16)};g.setEtag=function(a){mm(this,16,a)};g.getCreatedTime=function(){return W(this,rk,4)};g.setCreatedTime=function(a){return X(this,rk,4,a)};g.getModifiedTime=function(){return W(this,rk,5)};g.setModifiedTime=function(a){return X(this,rk,5,a)};g.getMajorModifiedTime=function(){return W(this,rk,14)};g.setMajorModifiedTime=function(a){return X(this,rk,14,a)};g.getResolvedTime=function(){return W(this,rk,6)};g.setResolvedTime=function(a){return X(this,rk,6,a)};
g.getVerifiedTime=function(){return W(this,rk,7)};g.setVerifiedTime=function(a){return X(this,rk,7,a)};g.getSloId_asLegacyNumberOrString=function(){return Qk(this,9)};g.setSloId=function(a){return jm(this,9,a)};g.getSloStatus=function(){return W(this,no,10)};g.setSloStatus=function(a){X(this,no,10,a)};g.hasSloStatus=function(){return Jk(this,no,10)};g.getTeamId_asLegacyNumberOrString=function(){return Qk(this,13)};g.getTeamId_asString=function(){return Wk(this,13)};
g.setTeamId=function(a){return jm(this,13,a)};g.getRetentionState=function(){return W(this,oo,11)};g.setRetentionState=function(a){X(this,oo,11,a)};g.getAccessLimit=function(){return W(this,hm,12)};g.setAccessLimit=function(a){return X(this,hm,12,a)};g.getParentIssueIdsList_asLegacyNumberOrString=function(){return jk(this,17,Uj())};g.setParentIssueIdsList=function(a){return pp(this,17,a)};g.getAncestorsMap=function(){return uc(this,19,po,dda)};g.getIsArchived=function(){return Ak(this,18)};
g.setIsArchived=function(a){return Cm(this,18,a)};var $E=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,$E.messageId)};Y($E,V);$E.prototype.getIt=function(){return W(this,ukc,14)};$E.prototype.setIt=function(a){return X(this,ukc,14,a)};$E.messageId="b.IssueMetadata";var vkc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(vkc,V);vkc.prototype.getIt=function(){return W(this,rkc,4)};vkc.prototype.setIt=function(a){return X(this,rkc,4,a)};var wkc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(wkc,V);var aF=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,aF.messageId)};Y(aF,V);aF.prototype.getIt=function(){return W(this,wkc,2)};aF.prototype.setIt=function(a){return X(this,wkc,2,a)};aF.messageId="b.UpdateIssueReadTimestampResponse";var bF=function(){this.executor=r(NC)};bF.prototype.delete=function(a,b){b=(new iE).setIt((new tjc).setIssueId(Number(a)).setReason(hgc[uya(b)]));return this.executor.post({url:"action/issues/"+a+"/delete",body:b,responseConstructor:null})};bF.prototype.undelete=function(a){var b=(new lE).setIt((new ujc).setIssueId(Number(a)));return this.executor.post({url:"action/issues/"+a+"/undelete",body:b,responseConstructor:null})};
bF.prototype.getMetadata=function(a){return this.executor.get({url:"action/issues/"+a+"/metadata",responseConstructor:$E}).then(oDa)};bF.prototype.markRead=function(a,b,c){b=b===void 0?!0:b;c=c===void 0?"USER_ACTIVITY_TYPE_UNDEFINED":c;var d=new vkc,e=d.setIt;a=(new rkc).setIssueIdsList(a.map(Number));b=Cm(a,2,b);c=ck(b,3,ygc[c]);d=e.call(d,c);return this.executor.post({url:"action/issues/read_timestamp",body:d,responseConstructor:aF}).then(nDa)};
var xkc=function(a,b){return a.executor.get({url:"action/issues/"+b+"/experiments",responseConstructor:Rn}).then(aCa).then(function(c){return Object.assign({},c,{id:b})})},ykc=function(a,b){var c=(new qkc).setIssueIdsList(b.map(Number));return a.executor.post({url:"action/issues/batch_experiments",body:c,responseConstructor:ZE}).then(function(d){d=d.getIt();return lk(d,Rn,1,Uj()).map(aCa)}).then(function(d){var e=Gj(d,function(f){return f.id});return b.map(function(f){var h;return(h=e.get(f))!=null?
h:Oo(f)})})},zkc=function(a,b){return a.executor.post({url:"action/issues/"+b.id+"/experiments",body:dCa(b),responseConstructor:Rn}).then(aCa)};bF.\u0275fac=function(a){return new (a||bF)};bF.\u0275prov=n({token:bF,factory:bF.\u0275fac,providedIn:"root"});var dF=function(){UC.call(this,{freshUntil:6E4});this.activeSession=r(Bu);this.batchApiAdapter=r(pD);this.batchApiConfig=r(cF);this.issueService=r(bF);this.recordType="issue-experimental-fields";this.idForRecord=function(a){return a.id};this.isEqual=oj;this.batchAdaptedGet=this.batchApiAdapter.adapt(this.batchApiConfig);this.isEnabled=Vt(this.activeSession,"enableIssueExperimentalFields")&&this.activeSession.isInternalSession()};Y(dF,UC);
dF.prototype.fetchOne=function(a){var b=this;return this.isEnabled?Ne(function(){return b.batchAdaptedGet(a)}).pipe(If(function(){return Ae(void 0)})):Ae(void 0)};dF.prototype.fetchSet=function(a){var b=this;return Ie(a.map(function(c){return b.fetchOne(c)})).pipe(z(function(c){return c.filter(ik)}))};dF.prototype.copy=function(a){return a&&pj(a)};
var eF=function(a,b,c){var d,e,f,h;return se(function(l){if(l.nextAddress==1){if(!a.isEnabled)return l.return(Oo(b));a.manualUpdate(b,function(q){c(q!=null?q:Oo(b))});return y(l,Fe(a.batchAdaptedGet(b)),2)}if(l.nextAddress!=3)return d=l.yieldResult,f=(e=a.copy(d))!=null?e:Oo(b),c(f),y(l,zkc(a.issueService,f),3);h=l.yieldResult;a.announce(h);return l.return(h)})};dF.\u0275fac=function(a){return new (a||dF)};dF.\u0275prov=n({token:dF,factory:dF.\u0275fac,providedIn:"root"});
var cF=function(){this.issueService=r(bF);this.maxBatchSize=100;this.bufferTimeMs=0};cF.prototype.call=function(a){var b=this;return Ne(function(){return ykc(b.issueService,[].concat(t(a)))}).pipe(z(function(c){return Gj(c,function(d){return d.id})}))};cF.prototype.split=function(a,b){var c;return(c=b.get(a))!=null?c:Oo(a)};cF.\u0275fac=function(a){return new (a||cF)};cF.\u0275prov=n({token:cF,factory:cF.\u0275fac,providedIn:"root"});var fF=function(){this.refreshRequest=new Uf};fF.prototype.getObservable=function(){return this.refreshRequest};var Akc=function(a,b){return a.getObservable().pipe(Xf(void 0)).pipe(Yf(function(){return b}))};fF.\u0275fac=function(a){return new (a||fF)};fF.\u0275prov=n({token:fF,factory:fF.\u0275fac,providedIn:"root"});var hF=function(){UC.call(this);var a=this;this.batchApiAdapter=r(pD);this.refreshMonitor=r(fF);this.issueBatchConfig=r(gF);this.issueApi=r(LE);this.issueExperimentalFieldsFridge=r(dF);this.recordType="issue-basic";this.idForRecord=function(b){return String(b.issueId)};this.isEqual=oj;this.batchAdaptedGet=this.batchApiAdapter.adapt(this.issueBatchConfig);this.refreshMonitor.getObservable().subscribe(function(){a.invalidate()})};Y(hF,UC);g=hF.prototype;g.fetchOne=function(a){return this.batchAdaptedGet(a)};
g.fetchSet=function(a){var b=this;return Ie(a.map(function(c){return b.fetchOne(c)})).pipe(z(function(c){return c.filter(ik)}))};
g.fetchAll=function(a){var b=a.custom;var c=a.filter;var d=a.pageSize;a={s:a.sort,count:d};if(b==="viewed")return jkc(this.issueApi,d).pipe(z(function(e){return{results:e}}),If(function(e){mj("issueFullFridge -> listRecentIssues() API error",e);return Ae({results:[]})}));if(b==="byExperimentalPhase"&&c)return c=k(c.split("____b-internal____")),b=c.next().value,c=c.next().value,d=Oo("0"),d.triage.phase=c,ikc(this.issueApi,b,a,{queryType:"QUERY_TRIAGE_PHASE",experimentalFields:d,concatenator:{relation:"AND"}}).pipe(z(function(e){return{results:e.issues,
totalSize:e.numTotalResults}}));if(c)return this.issueApi.listIssues(c,a).pipe(z(function(e){return{results:e.issues,totalSize:e.numTotalResults}}));throw Error("nd");};g.copy=function(a){return a&&pj(a)};g.watch=function(a,b){return Ie([UC.prototype.watch.call(this,a,b),this.issueExperimentalFieldsFridge.watch(a)]).pipe(z(function(c){var d=k(c);c=d.next().value;d=d.next().value;return Po([c],[d])[0]}))};
g.watchSet=function(a,b){return Ie([UC.prototype.watchSet.call(this,a,b),this.issueExperimentalFieldsFridge.watchSet(a)]).pipe(z(function(c){var d=k(c);c=d.next().value;d=d.next().value;return Po(c,d)}))};g.watchMany=function(a,b){var c=this;return UC.prototype.watchMany.call(this,a,b).pipe(Yf(function(d){return c.issueExperimentalFieldsFridge.watchSet(d.results.map(c.idForRecord)).pipe(z(function(e){return Po(d.results,e)}),z(function(e){return Object.assign({},d,{results:e})}))}))};
g.peek=function(a){var b=UC.prototype.peek.call(this,a);a=this.issueExperimentalFieldsFridge.peek(a);return Po([b],[a])[0]};g.poke=function(a,b){var c=this,d,e,f,h,l,q;return se(function(u){if(u.nextAddress==1)return d=k,y(u,Promise.all([UC.prototype.poke.call(c,a,b),c.issueExperimentalFieldsFridge.poke(a,b)]),2);e=d(u.yieldResult);f=e.next().value;h=e.next().value;l=f;q=h;return u.return(Po([l],[q])[0])})};hF.\u0275fac=function(a){return new (a||hF)};
hF.\u0275prov=n({token:hF,factory:hF.\u0275fac,providedIn:"root"});var gF=function(){this.issueApi=r(LE);this.maxBatchSize=100;this.bufferTimeMs=0};gF.prototype.call=function(a){var b=this;if(a.size===1){var c=[].concat(t(a))[0];return this.issueApi.getIssueBasic(c).pipe(z(function(d){return new Map([[c,d]])}))}return Ne(function(){return b.issueApi.batchGetIssues([].concat(t(a)))}).pipe(z(function(d){return Gj(d,function(e){return e.issueId})}))};gF.prototype.split=function(a,b){return b.get(a)};
gF.\u0275fac=function(a){return new (a||gF)};gF.\u0275prov=n({token:gF,factory:gF.\u0275fac,providedIn:"root"});var pEa=window,FEa=function(){return{count:0,duration:0,transferSize:0,cacheHits:0,cacheHitRate:0}},Bkc=function(a){if(Qo())try{window.performance.mark(a)}catch(b){console.warn("route_performance",b)}};var HEa=xl("debug-logging")(),Ro=window,Ckc,EEa=!1;var IEa=qhc("last-visit"),JEa=qhc("last-visit-count"),LEa=rhc("last-visit"),KEa=rhc("last-visit-count");Date.now==null&&(Date.now=function(){return(new Date).getTime()});var Dkc=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("od`"+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("pd`"+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 Fkc=function(a,b,c){var d=String(ya.location.href);return d&&a&&b?[b,Ekc(Dkc(d),a,c||null)].join(" "):null},Ekc=function(a,b,c){var d=[],e=[];if((Array.isArray(c)?2:1)==1)return e=[b,a],Oa(d,function(l){e.push(l)}),Gkc(e.join(" "));var f=[],h=[];Oa(c,function(l){h.push(l.key);f.push(l.value)});c=Math.floor((new Date).getTime()/1E3);e=f.length==0?[c,b,a]:[f.join(":"),c,b,a];Oa(d,function(l){e.push(l)});a=Gkc(e.join(" "));a=[c,a];h.length==0||a.push(h.join(""));return a.join("_")},Gkc=function(a){var b=
NEa();b.update(a);return b.digestString().toLowerCase()};var Hkc=function(){this.document_=document||{cookie:""}};g=Hkc.prototype;g.isEnabled=function(){if(!ya.navigator.cookieEnabled)return!1;if(!this.isEmpty())return!0;this.set("TESTCOOKIESENABLED","1",{maxAge:60});if(this.get("TESTCOOKIESENABLED")!=="1")return!1;this.remove("TESTCOOKIESENABLED");return!0};
g.set=function(a,b,c){var d=!1;if(typeof c==="object"){var e=c.sameSite;d=c.secure||!1;var f=c.domain||void 0;var h=c.path||void 0;var l=c.maxAge}if(/[;=\s]/.test(a))throw Error("qd`"+a);if(/[;\r\n]/.test(b))throw Error("rd`"+b);l===void 0&&(l=-1);c=f?";domain="+f:"";h=h?";path="+h:"";d=d?";secure":"";l=l<0?"":l==0?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(Date.now()+l*1E3)).toUTCString();this.document_.cookie=a+"="+b+c+h+l+d+(e!=null?";samesite="+e:"")};
g.get=function(a,b){for(var c=a+"=",d=(this.document_.cookie||"").split(";"),e=0,f;e<d.length;e++){f=yj(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 Ikc(this).keys};g.getValues=function(){return Ikc(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=Ikc(this).values,c=0;c<b.length;c++)if(b[c]==a)return!0;return!1};g.clear=function(){for(var a=Ikc(this).keys,b=a.length-1;b>=0;b--)this.remove(a[b])};
var Ikc=function(a){a=(a.document_.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;f<a.length;f++)e=yj(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 Jkc=function(a,b,c,d){(a=ya[a])||typeof document==="undefined"||(a=(new Hkc).get(b));return a?Fkc(a,c,d):null},OPa=function(a){var b=Dkc(String(ya.location.href)),c=[],d;(d=ya.__SAPISID||ya.__APISID||ya.__3PSAPISID||ya.__1PSAPISID||ya.__OVERRIDE_SID)?d=!0:(typeof document!=="undefined"&&(d=new Hkc,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)?ya.__SAPISID:ya.__APISID,d||typeof document==="undefined"||(d=new Hkc,d=d.get(b?"SAPISID":"APISID")||d.get("__Secure-3PAPISID")),(d=d?Fkc(d,b?"SAPISIDHASH":"APISIDHASH",a):null)&&c.push(d),b&&((b=Jkc("__1PSAPISID","__Secure-1PAPISID","SAPISID1PHASH",a))&&c.push(b),(a=Jkc("__3PSAPISID","__Secure-3PAPISID","SAPISID3PHASH",a))&&c.push(a)));return c.length==0?null:c.join(" ")};var Kkc=function(){},Lkc=function(a){var b,c,d,e;return se(function(f){switch(f.nextAddress){case 1:return b=new CompressionStream("gzip"),c=(new Response(b.readable)).arrayBuffer(),d=b.writable.getWriter(),y(f,d.write((new TextEncoder).encode(a)),2);case 2:return y(f,d.close(),3);case 3:return e=Uint8Array,y(f,c,4);case 4:return f.return(new e(f.yieldResult))}})};Kkc.prototype.isSupported=function(a){return a<1024?!1:typeof CompressionStream!=="undefined"};var iF=function(){this.disposed_=this.disposed_;this.onDisposeCallbacks_=this.onDisposeCallbacks_};iF.prototype.disposed_=!1;iF.prototype.isDisposed=function(){return this.disposed_};iF.prototype.dispose=function(){this.disposed_||(this.disposed_=!0,this.disposeInternal())};iF.prototype[Symbol.dispose]=function(){this.dispose()};var Ur=function(a,b){b=Mu(Wo,b);a.disposed_?b():(a.onDisposeCallbacks_||(a.onDisposeCallbacks_=[]),a.onDisposeCallbacks_.push(b))};iF.prototype.disposeInternal=function(){if(this.onDisposeCallbacks_)for(;this.onDisposeCallbacks_.length;)this.onDisposeCallbacks_.shift()()};var Mkc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Mkc,V);var jF=function(a,b){this.intervalMs=a;this.callback=b;this.enabled=!1;this.nowFn=function(){return Date.now()};this.lastTimeMs=this.nowFn()};jF.prototype.setInterval=function(a){this.intervalMs=a;this.timer&&this.enabled?(this.stop(),this.start()):this.timer&&this.stop()};jF.prototype.start=function(){var a=this;this.enabled=!0;this.timer||(this.timer=setTimeout(function(){a.tick()},this.intervalMs),this.lastTimeMs=this.nowFn())};
jF.prototype.stop=function(){this.enabled=!1;this.timer&&(clearTimeout(this.timer),this.timer=void 0)};jF.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 Nkc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Nkc,V);var Okc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Okc,V);var kF=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(kF,V);g=kF.prototype;g.getTransmissionType=function(){return Fk(this,1,0)};g.setTransmissionType=function(a){gl(this,1,a)};g.setRetryCount=function(a){dl(this,3,a)};g.setPersistedLogRecoveredCount=function(a){dl(this,4,a)};g.setPersistedLogExpiredCount=function(a){dl(this,5,a)};var Xo=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Xo,V);Xo.prototype.getVersion=function(){return Kh(this,2)};Xo.prototype.setVersion=function(a){return fl(this,2,a)};Xo.prototype.getVersionOrUndefined=function(){return wr(this,2)};var lF=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(lF,V);var REa=function(a,b){$m(a,1,b)};lF.prototype.setPlatform=function(a){fl(this,3,a)};lF.prototype.setModel=function(a){return fl(this,6,a)};var mF=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(mF,V);mF.prototype.getLocale=function(){return Kh(this,5)};mF.prototype.setLocale=function(a){return fl(this,5,a)};mF.prototype.setBuildLabel=function(a){fl(this,7,a)};mF.prototype.getMutableFlushInfo=function(){return Wu(this,kF,10)};var PEa=["platform","platformVersion","architecture","model","uaFullVersion"],SEa=new lF,QEa=null;var nF=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(nF,V);nF.prototype.getMutableJsClientInfo=function(){return Wu(this,mF,11)};var Pkc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Pkc,V);g=Pkc.prototype;g.getKey=function(){return Kh(this,1)};g.getValue=function(){return Kh(this,2)};g.getValue_legacyNullable=function(){return ql(this,2)};g.setValue=function(a){return fl(this,2,a)};g.hasValue=function(){return Ck(this,2)};var oF=function(a){this.internalArrayDoNotAccessOrElse=m(a,4)};Y(oF,V);var pF=function(a){this.internalArrayDoNotAccessOrElse=m(a,36)};Y(pF,V);g=pF.prototype;g.getTag=function(){return Kh(this,2)};g.getComponentId=function(){return Kh(this,26)};g.setComponentId=function(a){return fl(this,26,a)};g.hasComponentId=function(){return Ck(this,26)};g.addValue=function(){return Xu(this,3,Pkc)};g.setValue=function(a,b){return Uu(this,3,Pkc,a,b)};var Qkc=function(a,b){return fl(a,8,b)};pF.prototype.getExperimentIds=function(){return W(this,Mkc,16)};
pF.prototype.setExperimentIds=function(a){X(this,Mkc,16,a)};pF.prototype.clearExperimentIds=function(){return Np(this,16)};var Rkc=function(a,b){fl(a,24,b)};pF.prototype.getComplianceData=function(){return W(this,oF,33)};pF.prototype.setComplianceData=function(a){X(this,oF,33,a)};var Skc=function(a){this.internalArrayDoNotAccessOrElse=m(a,19)};Y(Skc,V);g=Skc.prototype;g.getClientInfo=function(){return W(this,nF,1)};g.getMutableClientInfo=function(){return Wu(this,nF,1)};g.setClientInfo=function(a){X(this,nF,1,a)};g.getLogSource=function(){return Fk(this,2,-1)};g.setLogSource=function(a){return gl(this,2,a)};g.getComplianceData=function(){return W(this,oF,18)};g.setComplianceData=function(a){X(this,oF,18,a)};var qF=function(a,b){this.isServiceWorkerScope=b=b===void 0?!1:b;this.uach=this.locale=null;this.logRequest=new Skc;Number.isInteger(a)&&this.logRequest.setLogSource(a);b||(this.locale=document.documentElement.getAttribute("lang"));this.setClientInfo(new nF)};qF.prototype.setLogSource=function(a){this.logRequest.setLogSource(a);return this};
qF.prototype.setClientInfo=function(a){this.logRequest.setClientInfo(a);Fk(a,1,0)||gl(a,1,1);this.isServiceWorkerScope||(a=this.getMutableJsClientInfo(),a.getLocale()||a.setLocale(this.locale));this.uach&&(a=this.getMutableJsClientInfo(),W(a,lF,9)||X(a,lF,9,this.uach))};qF.prototype.setBuildLabel=function(a){this.getMutableJsClientInfo().setBuildLabel(a)};qF.prototype.setTransmissionType=function(a){Jk(this.getMutableClientInfo(),mF,11)&&this.getMutableFlushInfo().setTransmissionType(a)};
var Tkc=function(a,b){Jk(a.getMutableClientInfo(),mF,11)&&(a=a.getMutableFlushInfo(),cl(a,2,b))};qF.prototype.setRetryCount=function(a){Jk(this.getMutableClientInfo(),mF,11)&&this.getMutableFlushInfo().setRetryCount(a)};qF.prototype.setPersistedLogRecoveredCount=function(a){Jk(this.getMutableClientInfo(),mF,11)&&this.getMutableFlushInfo().setPersistedLogRecoveredCount(a)};qF.prototype.setPersistedLogExpiredCount=function(a){Jk(this.getMutableClientInfo(),mF,11)&&this.getMutableFlushInfo().setPersistedLogExpiredCount(a)};
qF.prototype.getMutableClientInfo=function(){return this.logRequest.getClientInfo()};var Ukc=function(a){var b=b===void 0?PEa:b;var c=a.isServiceWorkerScope?void 0:Nz();c?TEa(c,b).then(function(d){a.uach=d;d=a.getMutableJsClientInfo();X(d,lF,9,a.uach);return!0}).catch(function(){return!1}):Promise.resolve(!1)};qF.prototype.getMutableJsClientInfo=function(){var a=this.getMutableClientInfo(),b=W(a,mF,11);b||(b=new mF,X(a,mF,11,b));return b};
qF.prototype.getMutableFlushInfo=function(){var a=this.getMutableJsClientInfo(),b=W(a,kF,10);b||(b=new kF,cl(b,2,!1),X(a,kF,10,b));return b};qF.prototype.getComplianceData=function(a){var b=new Nkc;a=dl(b,13,a);b=new Okc;a=X(b,Nkc,2,a);b=new oF;a=X(b,Okc,1,a);return gl(a,2,9)};
qF.prototype.build=function(a,b,c,d,e,f){b=b===void 0?0:b;d=d===void 0?null:d;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=kl(c,4,e);a=$m(c,3,a.slice());d&&a.setComplianceData(this.getComplianceData(d));b&&Xk(a,14,b);return a};var Vkc=function(){if(!ya.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{var c=function(){};ya.addEventListener("test",c,b);ya.removeEventListener("test",c,b)}catch(d){}return a}();var Wkc=function(a){this.currBaseValue_=this.currValue_=this.initialValue_=a};Wkc.prototype.reset=function(){this.currBaseValue_=this.currValue_=this.initialValue_};Wkc.prototype.getValue=function(){return this.currValue_};var rF=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(rF,V);rF.prototype.getId=function(a){return gv(this,1,a)};rF.prototype.setId=function(a){return lv(this,1,a)};var Xkc=function(a){this.internalArrayDoNotAccessOrElse=m(a,8)};Y(Xkc,V);Xkc.prototype.getExperiments=function(){return W(this,rF,2)};Xkc.prototype.setExperiments=function(a){return X(this,rF,2,a)};Xkc.prototype.hasExperiments=function(){return Jk(this,rF,2)};var Ykc=Mh(Xkc);var Zkc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Zkc,V);var $kc=new Yv(175237375,Zkc);var sF=function(a){iF.call(this);var b=this;this.componentId="";this.pendingEvents=[];this.lastFailedAuth="";this.pageId=null;this.useGetRequestForFinalFlush=this.useSendBeaconForFinalFlush=this.clientSideLogOnlyForDevelopment=!1;this.noFlushUntilMs=this.startWaitingMs=-1;this.useConsistentTimezoneOffset=this.clientSpecifiedFlushInterval=!1;this.compressor=this.experimentIds=null;this.numRetriesSinceLastSuccessfulFlush=this.numLogsDroppedSinceLastFlush=0;this.metalogService=null;this.persistedLogExpiredCount=
this.persistedLogRecoveredCount=0;this.sequencePosition=1;this.timeoutMillis=0;this.sendBeaconApiEnabled=!1;this.logSource=a.logSource;this.getAuthHeaderValue=a.getAuthHeaderValue||function(){};this.logRequestBuilder=new qF(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(alc())).searchParams&&!!(new URL(alc())).searchParams.set;var c=gl(new nF,1,1);this.logRequestBuilder.setClientInfo(c);this.flushBackoff=new Wkc(1E4);a=blc(this,a.backgroundJobDeferrer);this.flushTimer=new jF(this.flushBackoff.getValue(),
a);this.backupTimer=new jF(6E5,a);this.disableAutomaticFlush||this.backupTimer.start();this.isServiceWorkerScope||(document.addEventListener("visibilitychange",function(){document.visibilityState==="hidden"&&b.finalFlush()}),document.addEventListener("pagehide",this.finalFlush.bind(this)))};Y(sF,iF);var blc=function(a,b){return a.isBrowserSupported?b?function(){b().then(function(){a.flush()})}:function(){a.flush()}:function(){}};
sF.prototype.disposeInternal=function(){this.finalFlush();this.flushTimer.stop();this.backupTimer.stop();iF.prototype.disposeInternal.call(this)};sF.prototype.setClearcutUrl=function(a){this.clearcutUrl=a};sF.prototype.setUseConsistentTimezoneOffset=function(a){this.useConsistentTimezoneOffset=a};sF.prototype.getClearcutUrl=function(){this.clearcutUrl||(this.clearcutUrl=alc());try{return(new URL(this.clearcutUrl)).toString()}catch(a){return(new URL(this.clearcutUrl,Nz().location.origin)).toString()}};
var uF=function(a,b){if(b instanceof pF)a.log(b);else try{var c=Qkc(new pF,b.serialize());a.log(c)}catch(d){tF(a,4,1)}};g=sF.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 Mkc);var b=this.experimentIds;a=[].concat(t(a));wc(b,2,a,bea)};
g.setClearExperimentIds=function(a){if(a){this.experimentIds||(this.experimentIds=new Mkc);var b=this.experimentIds;a=a.serialize();fl(b,4,a)}else this.experimentIds&&Np(this.experimentIds,4)};g.setClientSideLogOnlyForDevelopment=function(a){this.clientSideLogOnlyForDevelopment=a};g.setCompressor=function(a){this.compressor=a};g.setBuildLabel=function(a){this.logRequestBuilder.setBuildLabel(a)};g.setFlushIntervalMs=function(a){this.clientSpecifiedFlushInterval=!0;clc(this,a)};
var clc=function(a,b){a.flushBackoff=new Wkc(b<1?1:b);a.flushTimer.setInterval(a.flushBackoff.getValue())},tF=function(a,b,c){a.metalogService&&a.metalogService.increment(b,c)};
sF.prototype.log=function(a){tF(this,2,1);if(this.isBrowserSupported){a=a.clone();var b=this.sequencePosition++;a=Xk(a,21,b);this.componentId&&a.setComponentId(this.componentId);if(Vb(Hk(a,1))==null){var c=Date.now();b=a;c=Number.isFinite(c)?c.toString():"0";kl(b,1,c)}Pk(a,15)||Xk(a,15,(new Date).getTimezoneOffset()*(this.useConsistentTimezoneOffset?-60:60));this.experimentIds&&a.setExperimentIds(this.experimentIds.clone());tF(this,1,1);b=this.pendingEvents.length-this.bufferSize+1;b>0&&(this.pendingEvents.splice(0,
b),this.numLogsDroppedSinceLastFlush+=b,tF(this,3,b));this.pendingEvents.push(a);this.maybeStartFlushTimer()}};sF.prototype.maybeStartFlushTimer=function(){this.disableAutomaticFlush||this.flushTimer.enabled||this.flushTimer.start()};
sF.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),dlc(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.pendingEvents.length,
f=this.logRequestBuilder.build(this.pendingEvents,this.numLogsDroppedSinceLastFlush,this.numRetriesSinceLastSuccessfulFlush,this.productID,this.persistedLogRecoveredCount,this.persistedLogExpiredCount);d={};var h=this.getAuthHeaderValue();h&&(d.Authorization=h);var l=new URL(this.getClearcutUrl());this.sessionIndex&&(d["X-Goog-AuthUser"]=this.sessionIndex,l.searchParams.set("authuser",this.sessionIndex));this.pageId&&(Object.defineProperty(d,"X-Goog-PageId",{value:this.pageId}),l.searchParams.set("pageId",
this.pageId));if(h&&this.lastFailedAuth===h)b&&b("stale-auth-token");else if(this.pendingEvents=[],this.flushTimer.enabled&&this.flushTimer.stop(),this.numLogsDroppedSinceLastFlush=0,this.clientSideLogOnlyForDevelopment)a&&a();else{var q=f.serialize(),u;this.compressor&&this.compressor.isSupported(q.length)&&(u=Lkc(q));var A={url:l.toString(),body:q,bodyType:1,requestHeaders:d,requestType:"POST",withCredentials:this.withCredentials,timeoutMillis:this.timeoutMillis},F=function(O){c.flushBackoff.reset();
c.flushTimer.setInterval(c.flushBackoff.getValue());if(O){var T=null;try{var ea=JSON.stringify(JSON.parse(O.replace(")]}'\n","")));T=Ykc(ea)}catch(ka){}T&&(O=Number(bv(T,1,"-1")),O>0&&(c.startWaitingMs=Date.now(),c.noFlushUntilMs=c.startWaitingMs+O),T=u4b(T,$kc))&&(T=Xj(T,1,-1),T!==-1&&(c.clientSpecifiedFlushInterval||clc(c,T)))}a&&a();c.numRetriesSinceLastSuccessfulFlush=0},H=function(O,T){var ea=lk(f,pF,3,Uj());var ka=bgb(f,14),oa=c.flushBackoff;oa.currBaseValue_=Math.min(3E5,oa.currBaseValue_*
2);oa.currValue_=Math.min(3E5,oa.currBaseValue_+Math.round(.1*(Math.random()-.5)*2*oa.currBaseValue_));c.flushTimer.setInterval(c.flushBackoff.getValue());O===401&&h&&(c.lastFailedAuth=h);ka&&(c.numLogsDroppedSinceLastFlush+=ka);T===void 0&&(T=500<=O&&O<600||O===401||O===0);T&&(c.pendingEvents=ea.concat(c.pendingEvents),c.maybeStartFlushTimer());tF(c,7,1);b&&b("net-send-failed",O);++c.numRetriesSinceLastSuccessfulFlush},N=function(){c.network&&c.network.send(A,F,H)};u?u.then(function(O){tF(c,5,e);
A.requestHeaders["Content-Encoding"]="gzip";A.requestHeaders["Content-Type"]="application/binary";A.body=O;A.bodyType=2;N()},function(){tF(c,6,e);N()}):N()}}}};sF.prototype.finalFlush=function(){this.clientSideLogOnlyForDevelopment||(Tkc(this.logRequestBuilder,!0),this.useSendBeaconForFinalFlush&&(this.logRequestBuilder.setTransmissionType(3),dlc(this)),this.useGetRequestForFinalFlush&&(this.logRequestBuilder.setTransmissionType(2),elc(this)),this.flush(),Tkc(this.logRequestBuilder,!1))};
var dlc=function(a){flc(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})},elc=function(a){flc(a,6,5,function(b,c){b=new URL(b);b.searchParams.set("format","base64json");var d=b.searchParams,e=d.set;c=c.serialize();for(var f=[],h=0,l=0;l<c.length;l++){var q=c.charCodeAt(l);q>255&&(f[h++]=q&255,q>>=8);f[h++]=q}c=Qba(f,3);e.call(d,"p",c);b=b.toString();if(b.length>
15360)return!1;(new Image).src=b;return!0})},flc=function(a,b,c,d){if(a.pendingEvents.length!==0){var e=new URL(a.getClearcutUrl());e.searchParams.delete("format");var f=a.getAuthHeaderValue();f&&e.searchParams.set("auth",f);e.searchParams.set("authuser",a.sessionIndex||"0");for(f=0;f<c&&a.pendingEvents.length;++f){var h=a.pendingEvents.slice(0,b),l=a.logRequestBuilder.build(h,a.numLogsDroppedSinceLastFlush,a.numRetriesSinceLastSuccessfulFlush,a.productID,a.persistedLogRecoveredCount,a.persistedLogExpiredCount);
if(!d(e.toString(),l)){++a.numRetriesSinceLastSuccessfulFlush;break}a.numLogsDroppedSinceLastFlush=0;a.numRetriesSinceLastSuccessfulFlush=0;a.persistedLogRecoveredCount=0;a.persistedLogExpiredCount=0;a.pendingEvents=a.pendingEvents.slice(h.length)}a.flushTimer.enabled&&a.flushTimer.stop()}},alc=function(){return"https://play.google.com/log?format=json&hasfast=true"};var glc=function(){this.abortSupported=typeof AbortController!=="undefined"};
glc.prototype.send=function(a,b,c){var d=this,e,f,h,l,q,u,A,F,H,N;return se(function(O){switch(O.nextAddress){case 1:return f=(e=d.abortSupported?new AbortController:void 0)?setTimeout(function(){e.abort()},a.timeoutMillis):void 0,te(O,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}),y(O,fetch(a.url,h),5);case 5:l=O.yieldResult;if(l.status!==200){(q=
c)==null||q(l.status);O.jumpTo(3);break}if((u=b)==null){O.jumpTo(7);break}return y(O,l.text(),8);case 8:u(O.yieldResult);case 7:case 3:ue(O);clearTimeout(f);ve(O,0);break;case 2:A=we(O);switch((F=A)==null?void 0:F.name){case "AbortError":(H=c)==null||H(408);break;default:(N=c)==null||N(400)}O.jumpTo(3)}})};glc.prototype.getTransmissionType=function(){return 4};var Hq=function(a,b){iF.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.compressor=void 0;this.network=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.metalogService=this.pageId=null};Y(Hq,iF);g=Hq.prototype;g.setBuildLabel=function(a){this.buildLabel=a};g.setCompressor=function(a){this.compressor=a};g.setComponentId=function(a){this.componentId=a;return this};g.setProductID=function(a){this.productID=a};g.setClearExperimentIds=function(a){this.clearExperimentIds=a};g.setOpaqueExperimentIds=function(a){this.opaqueExperimentIds=a};var YPa=function(a,b){a.getAuthHeaderValue=b};g=Hq.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 glc);var a=new sF({logSource:this.logSource,getAuthHeaderValue:this.getAuthHeaderValue?this.getAuthHeaderValue:OPa,sessionIndex:this.sessionIndex,urlOverride:this.destinationUrl,isServiceWorkerScope:this.serviceWorkerScopeEnabled,disableAutomaticFlush:!1,disableWithCredentials:this.withCredentialsDisabled,backgroundJobDeferrer:this.backgroundJobDeferrer,network:this.network});Ur(this,a);this.clearcutClientInfo&&a.setClearcutClientInfo(this.clearcutClientInfo);
this.buildLabel&&a.setBuildLabel(this.buildLabel);this.compressor?a.setCompressor(this.compressor):this.compressor!==null&&Math.random()<.5&&a.setCompressor(new Kkc);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);Ukc(a.logRequestBuilder);this.useConsistentTimezoneOffset&&a.setUseConsistentTimezoneOffset(!0);this.metalogService&&(a.metalogService=this.metalogService);this.network.setLogSource&&this.network.setLogSource(this.logSource);
this.network.setTransportReferenceAndAttemptFlush&&this.network.setTransportReferenceAndAttemptFlush(a);return a};var vF=function(){this.activeSession=r(Bu);this.transport=(new Hq(2523,this.activeSession.getSessionIdentifier())).build()};vF.\u0275fac=function(a){return new (a||vF)};vF.\u0275prov=n({token:vF,factory:vF.\u0275fac,providedIn:"root"});var hlc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(hlc,V);hlc.prototype.getValueCase=function(){return $l(this,ilc)};var ilc=[1,2,3];var jlc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(jlc,V);jlc.prototype.getValueCase=function(){return $l(this,klc)};var klc=[1,2,3];var llc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(llc,V);var mlc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(mlc,V);mlc.prototype.getFieldName=function(){return gv(this,3)};mlc.prototype.setFieldName=function(a){lv(this,3,a)};var nlc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(nlc,V);var wF=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;iF.call(this);this.logSource=a;this.componentId=b;f?c=f:(a=(new Hq(a,"0")).setComponentId(b),Ur(this,a),c!==""&&(a.destinationUrl=c),d&&(a.serviceWorkerScopeEnabled=!0),e&&a.setBuildLabel(e),h&&(a.network=h),c=a.build());this.transport=c};Y(wF,iF);wF.prototype.getLogSource=function(){return this.logSource};wF.prototype.getComponentId=function(){return this.componentId};
wF.prototype.flush=function(a){a=a||[];if(a.length){for(var b=new nlc,c=[],d=0;d<a.length;d++){var e=a[d],f=new mlc;f=fl(f,1,e.metricName);var h=olc(e);f=bk(f,3,h);h=[];var l=[];for(var q=k(e.cellMap.keys()),u=q.next();!u.done;u=q.next())l.push(u.value.split(","));for(q=0;q<l.length;q++){u=l[q];var A=e.cellType;for(var F=e.getCells(u)||[],H=[],N=0;N<F.length;N++){var O=F[N],T=O&&O.cellValue;O=new jlc;switch(A){case 3:T=Number(T);Number.isFinite(T)&&rm(O,1,klc,Qb(T));break;case 2:rm(O,2,klc,Eb(Number(T)))}H.push(O)}A=
H;for(F=0;F<A.length;F++){H=A[F];N=new llc;H=X(N,jlc,2,H);N=u;O=[];T=plc(e);for(var ea=0;ea<T.length;ea++){var ka=T[ea],oa=N[ea],La=new hlc;switch(ka){case 3:em(La,1,ilc,String(oa));break;case 2:ka=Number(oa);Number.isFinite(ka)&&rm(La,2,ilc,ka==null?ka:Lb(ka));break;case 1:rm(La,3,ilc,Hb(oa==="true"))}O.push(La)}$m(H,1,O);h.push(H)}}$m(f,4,h);c.push(f);e.clear()}$m(b,1,c);uF(this.transport,b);this.transport.flush()}};var qlc=function(a){this.cellValue=a};var rlc=function(a,b,c){this.metricName=a;this.cellType=b;this.fields=c||[];this.cellMap=new Map},plc=function(a){return a.fields.map(function(b){return b.fieldType})},olc=function(a){return a.fields.map(function(b){return b.fieldName})};g=rlc.prototype;g.addCell=function(a){var b=vd.apply(1,arguments),c=this.getCells(b);c?c.push(new qlc(a)):this.setCell(a,b)};g.setCell=function(a){var b=this.getKey(vd.apply(1,arguments));this.cellMap.set(b,[new qlc(a)])};
g.getCells=function(){var a=this.getKey(vd.apply(0,arguments));return this.cellMap.has(a)?this.cellMap.get(a):void 0};g.getCell=function(){var a=this.getCells(vd.apply(0,arguments));return a&&a.length?a[0]:void 0};g.clear=function(){this.cellMap.clear()};g.getKey=function(){var a=vd.apply(0,arguments);return a?a.join(","):"key"};var slc=function(a,b){rlc.call(this,a,3,b)};Y(slc,rlc);slc.prototype.incrementCounter=function(){this.incrementCounterBy(1,vd.apply(0,arguments))};slc.prototype.incrementCounterBy=function(a){var b=vd.apply(1,arguments),c=0,d=this.getCell(b);d&&(c=d.cellValue);this.setCell(c+a,b)};var tlc=function(a,b){rlc.call(this,a,2,b)};Y(tlc,rlc);tlc.prototype.record=function(a){this.addCell(a,vd.apply(1,arguments))};var xF=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.propagationStopped_=!1};xF.prototype.stopPropagation=function(){this.propagationStopped_=!0};xF.prototype.preventDefault=function(){this.defaultPrevented=!0};var yF=function(a,b){xF.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)};Nu(yF,xF);
yF.prototype.init=function(a,b){var c=this.type=a.type,d=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.currentTarget=b;b=a.relatedTarget;b||(c=="mouseover"?b=a.fromElement:c=="mouseout"&&(b=a.toElement));this.relatedTarget=b;d?(this.clientX=d.clientX!==void 0?d.clientX:d.pageX,this.clientY=d.clientY!==void 0?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0):(this.offsetX=Qu||a.offsetX!==void 0?a.offsetX:a.layerX,this.offsetY=
Qu||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=ls?a.metaKey:a.ctrlKey;this.pointerId=a.pointerId||0;this.pointerType=
a.pointerType;this.state=a.state;this.timeStamp=a.timeStamp;this.event_=a;a.defaultPrevented&&yF.superClass_.preventDefault.call(this)};yF.prototype.stopPropagation=function(){yF.superClass_.stopPropagation.call(this);this.event_.stopPropagation?this.event_.stopPropagation():this.event_.cancelBubble=!0};yF.prototype.preventDefault=function(){yF.superClass_.preventDefault.call(this);var a=this.event_;a.preventDefault?a.preventDefault():a.returnValue=!1};var ulc="closure_listenable_"+(Math.random()*1E6|0),zF=function(a){return!(!a||!a[ulc])};var vlc=0;var wlc=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=++vlc;this.removed=this.callOnce=!1},xlc=function(a){a.removed=!0;a.listener=null;a.proxy=null;a.src=null;a.handler=null};var AF=function(a){this.src=a;this.listeners={};this.typeCount_=0};AF.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=ylc(a,b,d,e);h>-1?(b=a[h],c||(b.callOnce=!1)):(b=new wlc(b,this.src,f,!!d,e),b.callOnce=c,a.push(b));return b};
AF.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.listeners))return!1;var e=this.listeners[a];b=ylc(e,b,c,d);return b>-1?(xlc(e[b]),Ra(e,b),e.length==0&&(delete this.listeners[a],this.typeCount_--),!0):!1};var zlc=function(a,b){var c=b.type;if(!(c in a.listeners))return!1;var d=Ta(a.listeners[c],b);d&&(xlc(b),a.listeners[c].length==0&&(delete a.listeners[c],a.typeCount_--));return d};
AF.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,xlc(d[e]);delete this.listeners[c];this.typeCount_--}return b};AF.prototype.getListener=function(a,b,c,d){a=this.listeners[a.toString()];var e=-1;a&&(e=ylc(a,b,c,d));return e>-1?a[e]:null};
AF.prototype.hasListener=function(a,b){var c=a!==void 0,d=c?a.toString():"",e=b!==void 0;return hea(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 ylc=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 Alc="closure_lm_"+(Math.random()*1E6|0),Blc={},Clc=0,Kq=function(a,b,c,d,e){if(d&&d.once)return BF(a,b,c,d,e);if(Array.isArray(b)){for(var f=0;f<b.length;f++)Kq(a,b[f],c,d,e);return null}c=Dlc(c);return zF(a)?a.listen(b,c,Ya(d)?!!d.capture:!!d,e):Elc(a,b,c,!1,d,e)},Elc=function(a,b,c,d,e,f){if(!b)throw Error("td");var h=Ya(e)?!!e.capture:!!e,l=Flc(a);l||(a[Alc]=l=new AF(a));c=l.add(b,c,d,h,f);if(c.proxy)return c;d=Glc();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)Vkc||(e=h),e===void 0&&
(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(Hlc(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("ud");Clc++;return c},Glc=function(){var a=Ilc,b=function(c){return a.call(b.src,b.listener,c)};return b},BF=function(a,b,c,d,e){if(Array.isArray(b)){for(var f=0;f<b.length;f++)BF(a,b[f],c,d,e);return null}c=Dlc(c);return zF(a)?a.listenOnce(b,c,Ya(d)?!!d.capture:!!d,e):Elc(a,b,c,!0,d,e)},CF=function(a,b,c,d,e){if(Array.isArray(b))for(var f=
0;f<b.length;f++)CF(a,b[f],c,d,e);else d=Ya(d)?!!d.capture:!!d,c=Dlc(c),zF(a)?a.unlisten(b,c,d,e):a&&(a=Flc(a))&&(b=a.getListener(b,c,d,e))&&DF(b)},DF=function(a){if(typeof a==="number"||!a||a.removed)return!1;var b=a.src;if(zF(b))return b.unlistenByKey(a);var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(Hlc(c),d):b.addListener&&b.removeListener&&b.removeListener(d);Clc--;(c=Flc(b))?(zlc(c,a),c.typeCount_==0&&(c.src=null,b[Alc]=null)):xlc(a);
return!0},Hlc=function(a){return a in Blc?Blc[a]:Blc[a]="on"+a},Ilc=function(a,b){if(a.removed)a=!0;else{b=new yF(b,this);var c=a.listener,d=a.handler||a.src;a.callOnce&&DF(a);a=c.call(d,b)}return a},Flc=function(a){a=a[Alc];return a instanceof AF?a:null},Jlc="__closure_events_fn_"+(Math.random()*1E9>>>0),Dlc=function(a){if(typeof a==="function")return a;a[Jlc]||(a[Jlc]=function(b){return a.handleEvent(b)});return a[Jlc]};Rac(function(a){Ilc=a(Ilc)});var Jq=function(){iF.call(this);this.eventTargetListeners_=new AF(this);this.actualEventTarget_=this;this.parentEventTarget_=null};Nu(Jq,iF);Jq.prototype[ulc]=!0;g=Jq.prototype;g.getParentEventTarget=function(){return this.parentEventTarget_};g.setParentEventTarget=function(a){this.parentEventTarget_=a};g.addEventListener=function(a,b,c,d){Kq(this,a,b,c,d)};g.removeEventListener=function(a,b,c,d){CF(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 xF(a,c);else if(a instanceof xF)a.target=a.target||c;else{var e=a;a=new xF(d,c);qea(a,e)}e=!0;var f;if(b)for(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(){Jq.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 zlc(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,l=f.handler||f.src;f.callOnce&&this.unlistenByKey(f);d=h.call(l,c)!==!1&&d}}return d&&!c.defaultPrevented};g.getListener=function(a,b,c,d){return this.eventTargetListeners_.getListener(String(a),b,c,d)};
g.hasListener=function(a,b){return this.eventTargetListeners_.hasListener(a!==void 0?String(a):void 0,b)};var EF=function(a,b){Jq.call(this);this.interval_=a||1;this.timerObject_=b||ya;this.boundTick_=Lu(this.tick_,this);this.last_=Date.now()};Nu(EF,Jq);g=EF.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(){EF.superClass_.disposeInternal.call(this);this.stop();delete this.timerObject_};
var mr=function(a,b,c){if(typeof a==="function")c&&(a=Lu(a,c));else if(a&&typeof a.handleEvent=="function")a=Lu(a.handleEvent,a);else throw Error("vd");return Number(b)>2147483647?-1:ya.setTimeout(a,b||0)},nr=function(a){ya.clearTimeout(a)},Klc=function(a,b){var c=null;return(new Wz(function(d,e){c=mr(function(){d(b)},a);c==-1&&e(Error("wd"))})).thenCatch(function(d){nr(c);throw d;})};var Llc=function(a){iF.call(this);this.streamzLogger=a;this.invocationCount=0;this.metricMap=new Map;this.disabledMetrics=new Set;this.flushInterval=3E4;this.flushTimer=new EF(this.flushInterval);this.flushTimer.listen("tick",this.snapshotAndFlush,!1,this);Ur(this,this.flushTimer)};Y(Llc,iF);var Mlc=function(a){a.maybeStartFlushTimer();a.invocationCount++;a.invocationCount>=100&&a.snapshotAndFlush()};g=Llc.prototype;
g.snapshotAndFlush=function(){var a=this.metricMap.values();a=[].concat(t(a)).filter(function(b){return b.cellMap.size});a.length&&this.streamzLogger.flush(a,!1);Nlc(a);this.invocationCount=0;this.flushTimer.enabled&&this.flushTimer.stop()};g.addNewCounter=function(a){var b=vd.apply(1,arguments);this.metricMap.has(a)||this.metricMap.set(a,new slc(a,b))};g.addNewEventMetric=function(a){var b=vd.apply(1,arguments);this.metricMap.has(a)||this.metricMap.set(a,new tlc(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,vd.apply(1,arguments))};g.incrementCounterBy=function(a,b){var c=vd.apply(2,arguments),d=this.getMetric(a);d&&d instanceof slc&&(d.incrementCounterBy(b,c),Mlc(this))};g.record=function(a,b){var c=vd.apply(2,arguments),d=this.getMetric(a);d&&d instanceof tlc&&(d.record(b,c),Mlc(this))};g.maybeStartFlushTimer=function(){this.flushTimer.enabled||this.flushTimer.start()};
var Nlc=function(a){for(var b=0;b<a.length;b++)a[b].clear()};var FF=function(){var a=new Hq(852,"0");a.setComponentId("");a.useSendBeaconForFinalFlush();a.useGetRequestForFinalFlush();a.sendBeaconApiEnabled=!0;a=new wF(852,void 0,void 0,void 0,void 0,a.build());a=this.service=new Llc(a);a.flushInterval=3E3;a.flushTimer.setInterval(3E3)};FF.\u0275fac=function(a){return new (a||FF)};FF.\u0275prov=n({token:FF,factory:FF.\u0275fac,providedIn:"root"});var Olc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Olc,V);var Plc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Plc,V);var Qlc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Qlc,V);g=Qlc.prototype;g.setUserAction=function(a){return gl(this,1,a)};g.getIssueId=function(){return dv(this,3)};g.getIssueId_asLegacyNumberOrString=function(){return Qk(this,3)};g.getIssueId_asString=function(){return Wk(this,3)};g.setIssueId=function(a){return Xk(this,3,a)};var Rlc=xl("debug-logging")(),GF=function(){this.activeSession=r(Bu);this.streamz=r(FF);this.clearcutTransport=r(vF);this.pageLoadTime=new nac(this.streamz.service);this.userLatency=new pac(this.streamz.service);this.userActionCounter=new oac(this.streamz.service);this.frontendAccessMode=this.activeSession.getFrontendAccessMode();this.environmentType=this.activeSession.getEnvironmentType()};
GF.prototype.timePageLoad=function(a,b){this.pageLoadTime.record(a,b,this.frontendAccessMode,this.environmentType);Rlc&&console.log("Clearcut stub",{action:b,duration:a})};var HF=function(a,b,c){a.userLatency.record(b,c,a.frontendAccessMode,a.environmentType);Rlc&&console.log("Clearcut stub",{action:c,duration:b})},Slc=function(a,b){a.userActionCounter.increment(b,a.frontendAccessMode,a.environmentType);Rlc&&console.log("Clearcut stub",{action:b})};GF.\u0275fac=function(a){return new (a||GF)};
GF.\u0275prov=n({token:GF,factory:GF.\u0275fac,providedIn:"root"});var Tlc=zl("journey-log"),Ulc=Bwa("journey-log"),IF={},Vlc=(IF.ssue__edit="edit",IF.ssue__addComment="comment",IF["ssue__light-ixn"]="ixn",IF.ssue__copyIssueId="ixn",IF["global-search__.*__.*text"]="ilp-search",IF["global-search__.*__filters"]="ilp-filter",IF),JF={startEvents:["ilp-search"],successEvents:["edit","ixn","comment"],abortEvents:["ilp-filter","idle"],successMarker:"SUCCESS-search",count:["nav"]},KF=function(){this.clearcut=r(GF)},Wlc=function(a,b){var c=c===void 0?Date.now():c;var d,e=
(d=Ulc())!=null?d:[];e.push([b,c]);e.length>100&&(e=e.slice(-100));Tlc(e);if(JF.successEvents.includes(b)){b=e;c=JF.abortEvents;d=JF.successEvents;e=JF.startEvents;for(var f=JF.successMarker,h,l=b.length-1;l>=0;l--){var q=k(b[l]),u=q.next().value;q=q.next().value;if(c.includes(u))break;if(f===u)break;if(d.includes(u)){if(h&&A)break;var A=q}else A&&e.includes(u)&&(h=q)}A=h&&A?[h,A]:void 0;A&&(A=k(A),h=A.next().value,A=A.next().value-h,HF(a.clearcut,A,UEa("journey","global-search-text")),So("journey",
"global-search-text","duration",A),Wlc(a,JF.successMarker))}};KF.\u0275fac=function(a){return new (a||KF)};KF.\u0275prov=n({token:KF,factory:KF.\u0275fac,providedIn:"root"});var LF=function(){var a=this;this.clearcut=r(GF);this.onMeasurement=function(b){b.getEntries().forEach(a.sendToClearcut)};this.sendToClearcut=function(b){var c=b.name;c&&c.startsWith("GTM-")||(b=Math.round(b.duration),c!=null&&(isNaN(b)||a.clearcut.timePageLoad&&a.clearcut.timePageLoad(b,c)))}},Xlc=function(a){Qo()&&(a.observer!=null&&a.observer.disconnect(),a.observer=new pEa.PerformanceObserver(a.onMeasurement),a.observer.observe({entryTypes:["measure"]}))};
LF.\u0275fac=function(a){return new (a||LF)};LF.\u0275prov=n({token:LF,factory:LF.\u0275fac,providedIn:"root"});var Ylc=[dj,fj,ej],NF=function(){Z.call(this);var a=this;this.router=r(TA);this.activatedRoute=r(Wi);this.routeChangeStart=new Uf;this.routeChangeSuccess=new Uf;this.locationChangeStart=new Uf;this.locationChangeSuccess=new Uf;this.routeUpdate=new Uf;this.viewContentLoaded=new Uf;this.navigationEnd$=this.router.events.pipe(Ue(ij));this.navigationOver$=this.router.events.pipe(Ue(function(c){return Ylc.some(function(d){return c instanceof d})}));MF(this,dsa).subscribe(function(c){a.routeChangeStart.next({params:Object.assign({},
c.snapshot.queryParams,c.snapshot.params)})});var b=MF(this,icc);Te(this.navigationOver$.pipe(Mf(Bv)),this.routeChangeStart.pipe(Mf(b))).pipe(Yf(me),Zf(this.destroyed$),Ue(function(c){return c.snapshot.routeConfig.isRootRoute}),z(function(c){return{params:Object.assign({},c.snapshot.queryParams,c.snapshot.params)}})).subscribe(function(c){a.routeChangeSuccess.next(c)});MF(this,jj).pipe(z(function(c){return c.url}),Pf()).subscribe(function(){a.locationChangeStart.next()});MF(this,dj).pipe(z(function(c){return c.url}),
Pf()).subscribe(function(){a.locationChangeSuccess.next()});b=this.activatedRoute.queryParams.pipe(ag(MF(this,acc)));Te(this.routeChangeStart.pipe(Mf(Bv)),this.navigationOver$.pipe(Mf(b))).pipe(Yf(me),Zf(this.destroyed$)).subscribe(function(c){c=k(c);c.next();c=c.next().value;a.routeUpdate.next({params:c.state.root.params})});MF(this,dj).subscribe(function(){a.viewContentLoaded.next()})};Y(NF,Z);NF.\u0275dir=Z.\u0275dir;
var MF=function(a,b){return a.router.events.pipe(Ue(function(c){return c instanceof b}),z(function(c){return c}),Zf(a.destroyed$))};NF.\u0275fac=function(a){return new (a||NF)};NF.\u0275prov=n({token:NF,factory:NF.\u0275fac,providedIn:"root"});var Zlc=xl("onedev-darkmode"),$lc=xl("hasClickedCommentSortBtn"),OF=function(){var a=r(NF),b=r(Bu),c=r(Wi);Z.call(this);var d=this;this.journeyTracker=r(KF);this.preapply=function(){return function(F){return function(H,N){d.trackEvent("editIssue",F,H,N)}}};MEa();Uo("dimension13",b.getUserTypeLabel());var e=b.getUserPreferences();Uo("dimension7",Zlc()?"dark":"default");var f;Uo("dimension3",(f=e.themePreferences)==null?void 0:f.density);Uo("dimension6",Vt(b,"readUnreadOptOut"));Uo("dimension9",$lc());
f=e.showFullHistory?"fh":"comments";var h;if((h=e.commentFilterPreferences)==null?0:h.commentFilter){var l;f=(l=e.commentFilterPreferences)==null?void 0:l.commentFilter}To("dimension2",f);To("dimension5",e.showRecentEventsFirst?"newestFirst":"oldestFirst");var q,u;e=((u=(q=e.missionControlPreferences)==null?void 0:q.workAreaUrls)!=null?u:[]).length;To("dimension12",e>0);var A;Uo("dimension16",(A=b.getTracker())==null?void 0:A.trackerId);Uo("dimension17",Vt(b,"enableMissionControlInTrackers"));this.subscriptions.add(a.viewContentLoaded.pipe(Xf(void 0)).subscribe(function(){var F=
hta(c.snapshot);GEa("page_location",F);BEa("page_view",{page_path:F})}))};Y(OF,Z);OF.\u0275dir=Z.\u0275dir;OF.prototype.trackEvent=function(a,b,c,d){So(a,b,c,typeof d==="boolean"?d?1:0:d);d=this.journeyTracker;a=UEa(a,b,c);b=k(Object.entries(Vlc));for(c=b.next();!c.done;c=b.next()){var e=k(c.value);c=e.next().value;e=e.next().value;if(a.match(new RegExp(c))){Wlc(d,e);break}}};
var amc=function(a,b,c){BEa("timing",Object.assign({},{timing_category:"userAction",timing_var:a,timing_value:b},c!==void 0?{timing_label:c}:{}))},bmc=function(a,b){a.trackEvent("editIssue","updateStatus",b)};OF.\u0275fac=function(a){return new (a||OF)};OF.\u0275prov=n({token:OF,factory:OF.\u0275fac,providedIn:"root"});var WEa=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(WEa,V);var cmc=!1;var QF=function(){UC.call(this);var a=this;this.batchApiAdapter=r(pD);this.issueApi=r(LE);this.userResources=r(SD);this.refreshMonitor=r(fF);this.issueService=r(bF);this.activeSession=r(Bu);this.hotlistFridge=r(UD);this.analytics=r(OF);this.issueExperimentalFieldsFridge=r(dF);this.issueFullBatchConfig=r(PF);this.issueFridge=r(hF);this.recordType="issue-full";this.idForRecord=function(c){return String(c.issueId)};this.isEqual=oj;this.batchAdaptedGet=this.batchApiAdapter.adapt(this.issueFullBatchConfig);
if(cmc)var b=void 0;else cmc=!0,b=YEa();b&&this.announce(b);this.refreshMonitor.getObservable().subscribe(function(){a.invalidate()})};Y(QF,UC);g=QF.prototype;g.announce=function(a,b){UC.prototype.announce.call(this,ZEa(a));this.issueFridge.announce(Rxa(a),b)};
g.fetchOne=function(a){var b=this;this.issueFridge.setIsGetting(a);return this.batchAdaptedGet(a).pipe($f(function(c){b.issueFridge.clearIsGetting(a);b.issueFridge.announce(Rxa(c))}),z(function(c){return ZEa(c)}),If(function(c){b.issueFridge.clearIsGetting(a);return Be(function(){return c})}))};g.fetchSet=function(a){var b=this;return Ie(a.map(function(c){return b.fetchOne(c).pipe(If(function(){return Ae(void 0)}))})).pipe(z(function(c){return c.filter(ik)}))};
g.watch=function(a,b){return Ie([UC.prototype.watch.call(this,a,b),this.issueFridge.watch(a,b)]).pipe(z(function(c){var d=k(c);c=d.next().value;d=d.next().value;return Sxa(d,c)}))};g.watchSet=function(a){return Ie([UC.prototype.watchSet.call(this,a),this.issueFridge.watchSet(a)]).pipe(z(function(b){var c=k(b);b=c.next().value;c=c.next().value;var d=Gj(c,function(e){return e.issueId});return b.map(function(e){return Sxa(d.get(e.issueId),e)})}),z(function(b){return b.filter(ik)}))};
g.peek=function(a){var b=UC.prototype.peek.call(this,a);a=this.issueFridge.peek(a);return Sxa(a,b)};g.poke=function(a,b){var c=this;return se(function(d){return d.nextAddress==1?y(d,Promise.all([UC.prototype.poke.call(c,a,b),c.issueFridge.poke(a,b)]),2):d.return(c.peek(a))})};g.manualUpdate=function(a,b){if(a=(a=this.peek(a))&&pj(a))b(a),this.announce(a)};g.copy=function(a){return a&&pj(a)};
var dmc=function(a,b,c){a.analytics.trackEvent("issue","light-ixn","star");var d={starred:c,voted:null,notificationSubscription:null};LC(a.activeSession)&&(d.voted=c);return mjc(a.userResources,b,d).pipe($f(function(){a.manualUpdate(b,function(e){e.userData&&(e.userData.starred=c,LC(a.activeSession)&&(e.userData.voted=c))})}))},emc=function(a,b,c){a.analytics.trackEvent("issue","light-ixn","vote",c);return mjc(a.userResources,b,{voted:c,starred:null,notificationSubscription:null}).pipe($f(function(){a.manualUpdate(b,
function(d){d.userData&&(d.userData.voted=c)})}))};QF.prototype.setNotificationSubscription=function(a,b){var c=this,d;return se(function(e){if(e.nextAddress==1)return c.analytics.trackEvent("issue","light-ixn","notifs",Number(b)),d={voted:null,starred:null,notificationSubscription:b},y(e,Fe(mjc(c.userResources,a,d)),2);c.manualUpdate(a,function(f){f.userData&&(f.userData.notificationSubscription=b)});xe(e)})};
var fmc=function(a,b,c){a.analytics.trackEvent("issue","edit","title");var d={issueId:b,actions:[{fieldName:"title",value:c}]};a.manualUpdate(b,function(e){e.snapshot[0].title=c});return a.issueApi.updateIssue(b,d).pipe($f(function(e){e&&a.announce(e)}))};QF.prototype.removeHotlists=function(a,b){return this.updateHotlists(a,[],b)};
QF.prototype.updateHotlists=function(a,b,c){var d=this,e,f,h,l,q,u;return se(function(A){if(A.nextAddress==1){d.analytics.trackEvent("issue","edit","hotlists");e={removeHotlistIds:c,addHotlistIds:b,hotlistIssue:{issueId:a}};f=k([].concat(t(b),t(c)));for(h=f.next();!h.done;h=f.next())l=h.value,d.hotlistFridge.setIsSaving(l);te(A,2);return y(A,Fe(d.issueApi.updateIssueHotlists(a,e)).finally(function(){for(var F=k([].concat(t(b),t(c))),H=F.next();!H.done;H=F.next())d.hotlistFridge.clearIsSaving(H.value)}),
4)}if(A.nextAddress!=2)return(q=A.yieldResult)&&d.announce(q),A.return(q);u=we(A);d.poke(a);throw u;})};var gmc=function(a,b,c){return RF(a,"ADD","DUPLICATE",c,[b]).then(function(){c!=null&&bmc(a.analytics,"DUPLICATE");return a.poke(b)})};g=QF.prototype;g.removeDuplicate=function(a,b){var c=this;return RF(this,"REMOVE","DUPLICATE",b,[a]).then(function(){return c.poke(a)})};g.addBlocking=function(a,b){return RF(this,"ADD","BLOCKING",a,b)};
g.removeBlocking=function(a,b){return RF(this,"REMOVE","BLOCKING",a,b)};g.addBlockedBy=function(a,b){return RF(this,"ADD","BLOCKED_BY",a,b)};g.removeBlockedBy=function(a,b){return RF(this,"REMOVE","BLOCKED_BY",a,b)};
var RF=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};hmc(a,b);var f=[d].concat(t(e));e=k(f);for(c=e.next();!c.done;c=e.next())a.setIsSaving(c.value);return Fe(a.issueApi.relateIssue(d,b)).then(function(h){h&&a.announce(h)}).catch(function(h){a.poke(d);throw h;}).finally(function(){for(var h=k(f),l=h.next();!l.done;l=h.next())a.clearIsSaving(l.value)})},SF=function(a,
b,c){c=c===void 0?{}:c;var d=c.markRead===void 0?!0:c.markRead;var e=c.eagerUpdate===void 0?!0:c.eagerUpdate;var f=c.userActivityType===void 0?"USER_ACTIVITY_TYPE_UNDEFINED":c.userActivityType;var h,l,q,u;return se(function(A){if(A.nextAddress==1)return a.activeSession.isAnonymous()?A.return():y(A,a.issueService.markRead(b,d,f),2);h=A.yieldResult;if(e)for(l=k(b),q=l.next();!q.done;q=l.next())u=q.value,a.manualUpdate(String(u),function(F){F.userData&&(F.userData.lastViewedTimeMicros=h.readTimestamp)});
return A.return(h.readTimestamp?Math.round(h.readTimestamp/1E3):void 0)})},hmc=function(a,b){a.manualUpdate(b.issueId,function(c){switch(b.relation){case "BLOCKED_BY":if(b.actionType==="ADD"){var d;c.snapshot[0].blockedByIssueId=[].concat(t((d=c.snapshot[0].blockedByIssueId)!=null?d:[]),t(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:[]}}})};QF.\u0275fac=function(a){return new (a||QF)};QF.\u0275prov=n({token:QF,factory:QF.\u0275fac,providedIn:"root"});var PF=function(){this.issueApi=r(LE);this.maxBatchSize=100;this.bufferTimeMs=0};PF.prototype.call=function(a){var b=this;if(a.size===1){var c=[].concat(t(a))[0];return this.issueApi.getIssueFull(c).pipe(z(function(d){return new Map([[c,d]])}))}return Ne(function(){return b.issueApi.batchGetIssuesFull([].concat(t(a)))}).pipe(z(function(d){return Gj(d,function(e){return e.issueId})}))};
PF.prototype.split=function(a,b){return b.get(a)};PF.\u0275fac=function(a){return new (a||PF)};PF.\u0275prov=n({token:PF,factory:PF.\u0275fac,providedIn:"root"});var imc=function(a){var b=Error.call(this,a);this.message=b.message;"stack"in b&&(this.stack=b.stack);this.data={message:a};Object.setPrototypeOf(this,this.constructor.prototype)};Y(imc,Error);var ap=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(ap,V);var jmc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(jmc,V);g=jmc.prototype;g.getIssueId=function(){return dv(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Qk(this,1)};g.getIssueId_asString=function(){return Wk(this,1)};g.setIssueId=function(a){return jm(this,1,a)};g.setRelationshipType=function(a){return ck(this,2,a)};g.getIssueRelationship=function(){return W(this,ap,3)};g.setIssueRelationship=function(a){return X(this,ap,3,a)};
g.setSignificanceOverride=function(a){return ck(this,4,a)};var kmc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(kmc,V);g=kmc.prototype;g.getIssueId=function(){return dv(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Qk(this,1)};g.getIssueId_asString=function(){return Wk(this,1)};g.setIssueId=function(a){return jm(this,1,a)};g.setRelationshipType=function(a){return ck(this,2,a)};g.setRequestsList=function(a){return $m(this,3,a)};g.addAndReturnRequests=function(){return Dc(this,3,jmc)};
g.setSignificanceOverride=function(a){return ck(this,4,a)};var lmc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(lmc,V);g=lmc.prototype;g.getIssueId=function(){return dv(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Qk(this,1)};g.getIssueId_asString=function(){return Wk(this,1)};g.setIssueId=function(a){return jm(this,1,a)};g.setRelationshipType=function(a){return ck(this,2,a)};g.setSignificanceOverride=function(a){return ck(this,4,a)};var mmc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(mmc,V);g=mmc.prototype;g.setRelationshipType=function(a){return ck(this,1,a)};g.getSourceIssueIdsList_asLegacyNumberOrString=function(){return jk(this,2,Uj())};g.setSourceIssueIdsList=function(a){return pp(this,2,a)};g.getQuery=function(){return Kh(this,3)};g.setQuery=function(a){return ak(this,3,a)};g.clearQuery=function(){Np(this,3)};var TF=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(TF,V);var nmc=function(a,b){return pp(a,1,b)};TF.prototype.setRelationshipType=function(a){return ck(this,2,a)};var omc=function(a,b){return pk(a,3,b)},pmc=function(a,b){return pk(a,4,b)};TF.prototype.getQuery=function(){return Kh(this,5)};TF.prototype.setQuery=function(a){return ak(this,5,a)};TF.prototype.clearQuery=function(){Np(this,5)};var UF=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,UF.messageId)};Y(UF,V);UF.prototype.getIt=function(){return W(this,kmc,5)};UF.prototype.setIt=function(a){return X(this,kmc,5,a)};UF.messageId="b.BatchCreateIssueRelationshipsRequest";var qmc=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,qmc.messageId)};Y(qmc,V);qmc.prototype.getIssueRelationshipsList=function(){return lk(this,ap,1,Uj())};qmc.messageId="b.BatchCreateIssueRelationshipsResponse";var VF=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,VF.messageId)};Y(VF,V);VF.prototype.getIt=function(){return W(this,lmc,5)};VF.prototype.setIt=function(a){return X(this,lmc,5,a)};VF.messageId="b.BatchDeleteIssueRelationshipsRequest";var WF=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,WF.messageId)};Y(WF,V);WF.prototype.getIt=function(){return W(this,mmc,4)};WF.prototype.setIt=function(a){return X(this,mmc,4,a)};WF.messageId="b.BatchGetIssueRelationshipsRequest";var rmc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(rmc,V);rmc.prototype.getIssueRelationshipsList=function(){return lk(this,ap,1,Uj())};rmc.prototype.getTotalSize=function(){return Xj(this,2)};var smc=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,smc.messageId)};Y(smc,V);smc.messageId="b.BatchGetIssueRelationshipsResponse";var XF=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,XF.messageId)};Y(XF,V);XF.prototype.getIssueRelationship=function(){return W(this,ap,1)};XF.prototype.setIssueRelationship=function(a){return X(this,ap,1,a)};XF.messageId="b.CreateIssueRelationshipResponse";var YF=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,YF.messageId)};Y(YF,V);YF.prototype.getIt=function(){return W(this,TF,6)};YF.prototype.setIt=function(a){return X(this,TF,6,a)};YF.messageId="b.GetIssueDescendantsRequest";var tmc=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,tmc.messageId)};Y(tmc,V);tmc.messageId="b.GetIssueDescendantsResponse";var umc=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,umc.messageId)};Y(umc,V);umc.prototype.getIssueRelationshipsList=function(){return lk(this,ap,1,Uj())};umc.messageId="b.ListIssueRelationshipsResponse";var ZF=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,ZF.messageId)};Y(ZF,V);ZF.prototype.getIssueRelationship=function(){return W(this,ap,1)};ZF.prototype.setIssueRelationship=function(a){return X(this,ap,1,a)};ZF.messageId="b.UpdateIssueRelationshipResponse";var $F=function(){this.executor=r(MC)};g=$F.prototype;g.list=function(a,b){return this.executor.get({url:"action/issues/"+a+"/relationships?relationshipType="+FB[b],responseConstructor:umc}).pipe(z(function(c){return c.getIssueRelationshipsList().map(bp)}))};g.create=function(a,b,c){b=FB[b];c=aFa(c);return this.executor.post({url:"action/issues/"+a+"/relationships?relationshipType="+b,body:c,responseConstructor:XF}).pipe(z(function(d){return bp(d.getIssueRelationship())}))};
g.update=function(a,b,c){b=FB[b];var d=aFa(c);return this.executor.put({url:"action/issues/"+a+"/relationships/"+c.targetIssueId+"?relationshipType="+b,body:d,responseConstructor:ZF}).pipe(z(function(e){return bp(e.getIssueRelationship())}))};g.delete=function(a,b,c){return this.executor.delete({url:"action/issues/"+a+"/relationships/"+c+"?relationshipType="+FB[b],responseConstructor:null})};
g.batchGet=function(a,b){b=FB[b];a=(new WF).setIt((new mmc).setSourceIssueIdsList(a).setRelationshipType(b).setQuery(this.getQuery(void 0)));return this.executor.post({url:"action/issues/batch_relationships",body:a,responseConstructor:smc}).pipe(z(function(c){return lk(c,rmc,1,Uj()).map(bFa)}))};
var vmc=function(a,b,c){var d=FB.CHILD;c=c.map(function(e){e=aFa(e);return(new jmc).setIssueRelationship(e)});b=(new UF).setIt((new kmc).setIssueId(b).setRelationshipType(d).setSignificanceOverride(c.length>1?4:0).setRequestsList(c));return a.executor.post({url:"action/issues/relationships_batchCreate",body:b,responseConstructor:qmc}).pipe(z(function(e){return e.getIssueRelationshipsList().map(bp)}))},wmc=function(a,b,c){var d=FB.CHILD,e=new VF,f=e.setIt;b=(new lmc).setIssueId(b).setRelationshipType(d);
c=pp(b,3,c);e=f.call(e,c);return a.executor.post({url:"action/issues/relationships_batchDelete",body:e,responseConstructor:null})};
$F.prototype.getDescendants=function(a){var b=a.issueIds;var c=a.relationshipType;var d=a.includeArchived;var e=a.depthLimit;a=a.prefixSizeLimit;c=FB[c];b=(new YF).setIt(pmc(omc(nmc(new TF,b).setRelationshipType(c).setQuery(this.getQuery(d)),e),a));return this.executor.post({url:"action/issues/descendants",body:b,responseConstructor:tmc}).pipe(z(function(f){var h=new Map;f=k(uc(f,1,rmc,cda).entries());for(var l=f.next();!l.done;l=f.next()){var q=k(l.value);l=q.next().value;q=q.next().value;h.set(String(l),
bFa(q))}return h}))};$F.prototype.getQuery=function(a){return a?"include_archived:true":"include_archived:false"};$F.\u0275fac=function(a){return new (a||$F)};$F.\u0275prov=n({token:$F,factory:$F.\u0275fac,providedIn:"root"});var aG={},xmc=(aG.BUG="BUG",aG.FEATURE_REQUEST="FEATURE_REQUEST",aG.CUSTOMER_ISSUE="CUSTOMER_ISSUE",aG.INTERNAL_CLEANUP="INTERNAL_CLEANUP",aG.PROCESS="PROCESS",aG.VULNERABILITY="VULNERABILITY",aG.PRIVACY_ISSUE="PRIVACY_ISSUE",aG.EPIC="STORY",aG.STORY="TASK",aG.TASK="TASK",aG.PROJECT="TASK",aG.FEATURE="TASK",aG.MILESTONE="TASK",aG.PROGRAM="PROJECT",aG);var bG=function(){TC.call(this,{freshUntil:6E4,ancientAfter:792E5});var a=this;this.issueRelationshipService=r($F);this.issueFullFridge=r(QF);this.refreshMonitor=r(fF);this.recordType="issueRelationships";this.idForRecord=function(b){return b.issueId};this.isEqual=oj;this.activeMoveOperation$=new Xi(new Set);this.defaultQuery={type:"descendants",depth:1};this.assignParentToIssues=wua(function(b,c){return ymc(a,b,c)});this.assignParentToOneIssue=function(b,c){return ymc(a,String(b),[{issueId:c}])};
this.moveChildrenInAPI=vua(function(b){return a.moveChildrenInAPISequentially(b)});this.moveChildrenInAPISequentially=wua(function(b){var c,d,e,f,h,l,q,u,A,F,H,N,O,T,ea,ka,oa,La,Ua,Pa,lb,qa,Ga,Ha,Ab,vb;return se(function(fc){switch(fc.nextAddress){case 1:d=hFa(b);if(d.length===0)return fc.return();e=d.map(function(hc){return hc.issues.map(function(tc){return tc.parentId})}).flat();f=d.map(function(hc){return hc.newParentId});h=Kj([].concat(t(e),t(f)));l=k(h);for(q=l.next();!q.done;q=l.next())u=q.value,
a.setIsSaving(u);te(fc,2);A=k(d);F=A.next();case 4:if(F.done){Hu(fc,3);break}H=F.value;N=k(H.newRelations);O=N.next();T={};case 7:if(O.done){F=A.next();fc.jumpTo(4);break}T.newRelation=O.value;ea=H.issues.find(function(hc){return function(tc){return tc.issueId===hc.newRelation.targetIssueId}}(T)).parentId;return H.newParentId===ea?y(fc,Fe(a.issueRelationshipService.update(H.newParentId,"CHILD",{afterIssueId:T.newRelation.afterIssueId,targetIssueId:T.newRelation.targetIssueId})),8):y(fc,Fe(a.issueRelationshipService.create(H.newParentId,
"CHILD",{afterIssueId:T.newRelation.afterIssueId,targetIssueId:T.newRelation.targetIssueId})).catch(function(hc){var tc,bc;if(!(hc==null?0:(tc=hc.error)==null?0:(bc=tc.details)==null?0:bc.includes("ALREADY_EXISTS")))throw hc;}),12);case 12:return y(fc,Fe(a.issueRelationshipService.delete(ea,"CHILD",T.newRelation.targetIssueId)),8);case 8:T={newRelation:void 0};O=N.next();fc.jumpTo(7);break;case 2:c=ka=we(fc);case 3:oa=a.activeMoveOperation$.value;La=k(b.map(function(hc){return hc.eventTimestamps}).flat());
for(Ua=La.next();!Ua.done;Ua=La.next())Pa=Ua.value,oa.delete(Pa);a.activeMoveOperation$.next(oa);lb=k(h);for(qa=lb.next();!qa.done;qa=lb.next())Ga=qa.value,a.clearIsSaving(Ga);Promise.all(h.map(function(hc){return a.poke(hc)}));Ha=k(d);for(Ab=Ha.next();!Ab.done;Ab=Ha.next())vb=Ab.value,c&&vb.done.reject(c),vb.done.resolve();xe(fc)}})});this.refreshMonitor.getObservable().subscribe(function(){a.invalidate()})};Y(bG,TC);
bG.prototype.fetchOne=function(a){var b=this;return zmc(this,function(){return b.issueRelationshipService.list(a,"CHILD").pipe(z(function(c){return{issueId:a,relatedChildren:c,totalChildCount:c.length}}),If(function(c){return Zo(c)&&c.status===403?Ae(void 0):Be(function(){return c})}))})};
bG.prototype.fetchAll=function(a){var b=this;switch(a.type){case "descendants":var c,d=[].concat(t((c=a.ids)!=null?c:[]));return d.length===0?Ae({results:[]}):zmc(this,function(){return b.issueRelationshipService.getDescendants({issueIds:d,relationshipType:"CHILD",includeArchived:!!a.includeArchived,depthLimit:a.depth,prefixSizeLimit:500}).pipe(z(cFa),z(function(e){return{results:e}}))});default:Db(a.type)}};bG.prototype.copy=function(a){return a&&pj(a)};
var zmc=function(a,b){var c=function(){return a.activeMoveOperation$.pipe(Ue(function(d){return d.size===0}),Yf(function(){return b()}),Yf(function(d){return a.activeMoveOperation$.value.size===0?Ae(d):c()}),Nf())};return c()},Amc=function(a,b){return a.watch(b).pipe(Yf(function(c){return c&&c.totalChildCount===c.relatedChildren.length?Ae(c):a.watch(b,{trustMemory:!1})}))},Bmc=function(a,b,c){return a.watchMany({type:"descendants",ids:new Set([b]),depth:c===void 0?100:c})},Cmc=function(a,b,c){return lic(a,
{type:"descendants",ids:new Set([b]),depth:c===void 0?100:c})};
bG.prototype.unlinkFromParent=function(a,b,c){c=c===void 0?!1:c;var d=this,e;return se(function(f){switch(f.nextAddress){case 1:d.issueFullFridge.manualUpdate(b,function(h){--h.childIssueCount});d.issueFullFridge.manualUpdate(a,function(h){h.parentIssueIds=h.parentIssueIds.filter(function(l){return l!==b})});d.manualUpdate(b,function(h){var l=h.relatedChildren;h.relatedChildren=gFa(l,a);h.totalChildCount-=l.length-h.relatedChildren.length});if(c)return f.return();te(f,2);return y(f,Fe(d.issueRelationshipService.delete(b,
"CHILD",a)),4);case 4:Hu(f,0);break;case 2:return e=we(f),y(f,Promise.all([d.poke(b),d.issueFullFridge.poke(b),d.issueFullFridge.poke(a)]),5);case 5:throw e;}})};
var ymc=function(a,b,c){var d,e,f,h,l,q,u,A,F;return se(function(H){switch(H.nextAddress){case 1:d=[];e=[];f=[];if(c.length===0)return H.return({added:d,notAdded:e});h=Dmc(a,b);l=c.map(function(N,O){var T=N.afterIssueId==="-1"?h:N.afterIssueId;return{targetIssueId:N.issueId,afterIssueId:O?c[O-1].issueId:T}});Emc(a,b,l);q=k(l);u=q.next();case 2:if(u.done){H.jumpTo(4);break}A=u.value;te(H,5);return y(H,Fe(a.issueRelationshipService.create(b,"CHILD",{targetIssueId:A.targetIssueId,afterIssueId:A.afterIssueId})),
7);case 7:d.push(A.targetIssueId);Hu(H,3);break;case 5:F=we(H);if(!Zo(F))throw F;f.push(F);e.push(A.targetIssueId);case 3:u=q.next();H.jumpTo(2);break;case 4:return Promise.all([a.poke(b),a.issueFullFridge.poke(b)]),H.return(Object.assign({},{added:d,notAdded:e},f.length?{errors:f}:{}))}})},Emc=function(a,b,c){var d=0;a.manualUpdate(b,function(e){var f=fFa(e.relatedChildren,c);d=f.length-e.relatedChildren.length;e.relatedChildren=f;e.totalChildCount+=d},{evenWhenInFlight:!0});a.issueFullFridge.manualUpdate(b,
function(e){e.childIssueCount+=d},{evenWhenInFlight:!0})},Fmc=function(a,b,c){var d,e,f,h,l,q,u,A,F,H,N,O;return se(function(T){if(T.nextAddress==1)return d=[],e=[],f=[],c.length===0?T.return({added:d,notAdded:e}):y(T,Promise.allSettled(c.map(function(ea){return Fe(a.issueRelationshipService.create(ea,"CHILD",{targetIssueId:b,afterIssueId:Dmc(a,ea)}))})),2);h=T.yieldResult;l=k(h.entries());for(q=l.next();!q.done;q=l.next())u=q.value,A=k(u),F=A.next().value,H=A.next().value,N=F,O=H,O.status==="fulfilled"&&
d.push(c[N]),O.status==="rejected"&&(e.push(c[N]),f.push(O.reason));Promise.all(c.map(function(ea){return a.poke(ea)}));return T.return({added:d,notAdded:e,errors:f})})},Gmc=function(a,b,c){var d=b.parentId,e=Date.now();a.activeMoveOperation$.next(a.activeMoveOperation$.value.add(e));for(var f=k(c),h=f.next(),l={};!h.done;l={issue$jscomp$76:void 0},h=f.next())l.issue$jscomp$76=h.value,a.manualUpdate(l.issue$jscomp$76.parentId,function(ka){return function(oa){oa.relatedChildren=gFa(oa.relatedChildren,
ka.issue$jscomp$76.issueId);--oa.totalChildCount}}(l));var q=void 0,u;if((u=b.position)==null?0:u.issueId){var A;if(((A=b.position)==null?void 0:A.position)==="after")q=b.position.issueId;else{var F;if(((F=b.position)==null?void 0:F.position)==="before"){var H,N;f=(N=(H=a.memory.getData(d))==null?void 0:H.relatedChildren)!=null?N:[];H=k(f.entries());for(N=H.next();!N.done;N=H.next())if(h=k(N.value),N=h.next().value,h=h.next().value,h.targetIssueId===b.position.issueId){b=void 0;q=(b=f[N-1])==null?
void 0:b.targetIssueId;break}}}}var O=c.map(function(ka,oa){return{targetIssueId:ka.issueId,afterIssueId:oa?c[oa-1].issueId:q}});mic(a,d)!==void 0?a.manualUpdate(d,function(ka){ka.relatedChildren=fFa(ka.relatedChildren,O);ka.totalChildCount+=O.length},{evenWhenInFlight:!0}):a.announce({issueId:d,relatedChildren:fFa([],O),totalChildCount:O.length});b=new uua;var T,ea;a.moveChildrenInAPI({newParentId:d,newRelations:O,issues:c,eventTimestamps:[e],newParentChildrenSnapshot:(ea=(T=a.memory.getData(d))==
null?void 0:T.relatedChildren)!=null?ea:[],done:b});return b.promise},Dmc=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};bG.\u0275fac=function(a){return new (a||bG)};bG.\u0275prov=n({token:bG,factory:bG.\u0275fac,providedIn:"root"});var Hmc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Hmc,V);var cG=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(cG,V);g=cG.prototype;g.getTrackerId=function(){return dv(this,2)};g.getTrackerId_asLegacyNumberOrString=function(){return Qk(this,2)};g.getTrackerId_asString=function(){return Wk(this,2)};g.setTrackerId=function(a){Xk(this,2,a)};g.setFilterSignalsList=function(a){return op(this,3,a)};var FFa=new Set("READY_TO_SUBMIT NEEDS_ATTENTION THREAD_MENTIONS_ME CHANGELIST_MANUAL_SIGNAL CHANGELIST_SNOOZE_EXPIRED TAGGED_IN_COMMENT REQUIRES_APPROVAL DRIVE_MANUAL_SIGNAL DRIVE_SNOOZE_EXPIRED GERRIT_CHANGE_NEEDS_ATTENTION GERRIT_CHANGE_READY_TO_SUBMIT GERRIT_MANUAL_SIGNAL GERRIT_SNOOZE_EXPIRED ISSUE_SIGNAL_UNSPECIFIED NEAR_SLO COMMENT_MENTIONS_ME MENTIONED_NEEDS_RESPONSE BLOCKERS_CLOSED NEWLY_BLOCKING NEEDS_REPORTER_INPUT REPLIED_TO_MENTION NEWLY_ASSIGNED_TO_ME ISSUE_MANUALLY_SIGNALED ISSUE_SNOOZE_EXPIRED".split(" "));var aGa=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(aGa,V);g=aGa.prototype;g.getWorkspaceId=function(){return dv(this,2)};g.getWorkspaceId_asLegacyNumberOrString=function(){return Qk(this,2)};g.getWorkspaceId_asString=function(){return Wk(this,2)};g.getType=function(){return Fk(this,3,0)};g.setType=function(a){return ck(this,3,a)};g.getName=function(){return Kh(this,4)};g.setName=function(a){return ak(this,4,a)};g.getHotlistId=function(){return dv(this,7)};
g.getHotlistId_asLegacyNumberOrString=function(){return Qk(this,7)};g.setHotlistId=function(a){return jm(this,7,a)};g.getStatus=function(){return Fk(this,8,0)};g.setStatus=function(a){return ck(this,8,a)};g.getTagsList=function(a){return pc(this,9,Kb,Uj(a))};g.getTags=function(a){return q4b(this,9,a)};g.setVelocity=function(a){return Wm(this,11,a)};g.getStartTime=function(){return W(this,rk,12)};g.setStartTime=function(a){X(this,rk,12,a)};g.getEndTime=function(){return W(this,rk,13)};
g.setEndTime=function(a){X(this,rk,13,a)};g.getEtag=function(){return Kh(this,18)};g.setEtag=function(a){ak(this,18,a)};var dG=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(dG,V);dG.prototype.getContexts=function(a){return q4b(this,1,a)};var Imc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Imc,V);var Jmc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Jmc,V);var Kmc=function(a){var b=new Jmc;return $m(b,1,a)};var Lmc=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,Lmc.messageId)};Y(Lmc,V);Lmc.prototype.setTaskIdsList=function(a){return bk(this,1,a)};Lmc.messageId="mc.BatchUpdateTasksDismissStateRequest";var Mmc=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,Mmc.messageId)};Y(Mmc,V);Mmc.prototype.setTaskIdsList=function(a){return bk(this,1,a)};Mmc.messageId="mc.BatchUpdateTasksManualSignalStateRequest";var Nmc=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,Nmc.messageId)};Y(Nmc,V);Nmc.prototype.setTaskIdsList=function(a){return bk(this,1,a)};Nmc.messageId="mc.BatchUpdateTaskSnoozeStateRequest";var Omc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Omc,V);Omc.prototype.setFilterSignalsList=function(a){return op(this,1,a)};var Pmc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Pmc,V);Pmc.prototype.setFilterSignalsList=function(a){return op(this,1,a)};var Qmc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Qmc,V);Qmc.prototype.setFilterSignalsList=function(a){return op(this,1,a)};var Rmc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Rmc,V);Rmc.prototype.getCommentId=function(){return Kh(this,2)};Rmc.prototype.setCommentId=function(a){return ak(this,2,a)};var Smc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Smc,V);Smc.prototype.setTaskResourceTypesList=function(a){return op(this,1,a)};Smc.prototype.setMaxTaskAgeDays=function(a){return pk(this,2,a)};Smc.prototype.setIssueFilters=function(a){return X(this,cG,3,a)};var Tmc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Tmc,V);Tmc.prototype.setTaskResourceTypesList=function(a){return op(this,1,a)};Tmc.prototype.setMaxTaskAgeDays=function(a){return pk(this,2,a)};Tmc.prototype.setIssueFilters=function(a){return X(this,cG,4,a)};var eG=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(eG,V);eG.prototype.getCommentId=function(){return Kh(this,1)};eG.prototype.setCommentId=function(a){return ak(this,1,a)};eG.prototype.getContent=function(){return Kh(this,3)};eG.prototype.setContent=function(a){return ak(this,3,a)};var fG=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,fG.messageId)};Y(fG,V);fG.prototype.getResponse=function(){return W(this,eG,1)};fG.prototype.getReadonlyResponse=function(){return Tq(this,eG,1)};fG.prototype.getMutableResponse=function(){return Wu(this,eG,1)};fG.prototype.setResponse=function(a){return X(this,eG,1,a)};fG.messageId="b.LatestDriveMentionResponse";var yFa=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(yFa,V);var BFa=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(BFa,V);g=BFa.prototype;g.getPriority=function(){return Fk(this,1,0)};g.setPriority=function(a){return ck(this,1,a)};g.getAccessLevel=function(){return Fk(this,2,0)};g.setAccessLevel=function(a){return ck(this,2,a)};g.getHotlistIdsList_asLegacyNumberOrString=function(a){return jk(this,3,Uj(a))};g.getHotlistIdsList_asString=function(){return Uk(this,3)};g.setHotlistIdsList=function(a){return pp(this,3,a)};
g.addHotlistIds=function(a,b){return zc(this,3,Pb,a,b,Ub)};g.addAllHotlistIds=function(a){jv(this,3,a)};g.removeHotlistIds=function(a){return t4b(this,3,a)};var wFa=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(wFa,V);wFa.prototype.getCategory=function(){return Fk(this,1,0)};wFa.prototype.setCategory=function(a){return ck(this,1,a)};var cp=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(cp,V);cp.prototype.getTitle=function(){return Kh(this,3)};cp.prototype.setTitle=function(a){return ak(this,3,a)};cp.prototype.clearTitle=function(){return Np(this,3)};cp.prototype.getLastModifiedTimestamp=function(){return W(this,rk,5)};var zFa=[8,9,10,11,12,16,17];var Umc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Umc,V);var Vmc=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,Vmc.messageId)};Y(Vmc,V);Vmc.prototype.getResponsesList=function(){return lk(this,Umc,1,Uj())};Vmc.messageId="b.TasksMyTasksResponse";var Wmc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Wmc,V);Wmc.prototype.getCommentNumber=function(){return ev(this,1)};Wmc.prototype.setCommentNumber=function(a){return s4b(this,1,a)};var gp=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(gp,V);gp.prototype.getDataCase=function(){return $l(this,Xmc)};gp.prototype.getSignal=function(){return Fk(this,1,0)};gp.prototype.setSignal=function(a){return ck(this,1,a)};gp.prototype.getCommentNumbers=function(){return um(this,Wmc,2,Xmc)};var Xmc=[2];var JFa=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(JFa,V);JFa.prototype.getComeBackTimestamp=function(){return W(this,rk,1)};var LFa=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(LFa,V);LFa.prototype.getComeBackTimestamp=function(){return W(this,rk,2)};var IFa=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(IFa,V);IFa.prototype.hasFutureAvailability=function(){return Jm(this,LFa,1,KFa)};var KFa=[1,2];var fp=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(fp,V);fp.prototype.getDataCase=function(){return $l(this,Ymc)};fp.prototype.getSignal=function(){return Fk(this,1,0)};fp.prototype.setSignal=function(a){return ck(this,1,a)};var Ymc=[2,3];var DFa=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(DFa,V);g=DFa.prototype;g.getDataCase=function(){return $l(this,GFa)};g.getSignal=function(){return Fk(this,1,0)};g.setSignal=function(a){return ck(this,1,a)};g.getCommentId=function(){return bm(this,2,GFa)};g.setCommentId=function(a){return em(this,2,GFa,a)};var GFa=[2];var hp=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(hp,V);hp.prototype.getSignal=function(){return Fk(this,1,0)};hp.prototype.setSignal=function(a){return ck(this,1,a)};var sFa=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(sFa,V);g=sFa.prototype;g.getTimestamp=function(){return W(this,rk,1)};g.setTimestamp=function(a){return X(this,rk,1,a)};g.hasTimestamp=function(){return Jk(this,rk,1)};g.getUrl=function(){return W(this,Ez,2)};g.setUrl=function(a){return X(this,Ez,2,a)};g.hasUrl=function(){return Jk(this,Ez,2)};var dp=[3,4,5,6,7,9,10];var oFa=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(oFa,V);oFa.prototype.hasTask=function(){return Jk(this,cp,1)};var Zmc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Zmc,V);var $mc=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,$mc.messageId)};Y($mc,V);$mc.prototype.getResponsesList=function(){return lk(this,Zmc,1,Uj())};$mc.messageId="b.TasksNeedsAttentionResponse";var anc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(anc,V);var gG=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(gG,V);gG.prototype.getValue=function(){return Xj(this,1)};gG.prototype.setValue=function(a){return dl(this,1,a)};gG.prototype.hasValue=function(){return Bk(this,1)};var hG=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(hG,V);hG.prototype.getUrl=function(){return W(this,Ez,2)};hG.prototype.setUrl=function(a){return X(this,Ez,2,a)};hG.prototype.hasUrl=function(){return Jk(this,Ez,2)};var kFa=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(kFa,V);g=kFa.prototype;g.getId=function(){return Kh(this,1)};g.setId=function(a){return fl(this,1,a)};g.getTitle=function(){return Kh(this,2)};g.setTitle=function(a){return fl(this,2,a)};g.clearTitle=function(){return Np(this,2)};g.getUrl=function(){return W(this,Ez,3)};g.setUrl=function(a){return X(this,Ez,3,a)};g.hasUrl=function(){return Jk(this,Ez,3)};g.getDescription=function(){return Kh(this,4)};
g.setDescription=function(a){return fl(this,4,a)};g.hasDescription=function(){return Ck(this,4)};g.getPriority=function(){return W(this,Hmc,5)};g.setPriority=function(a){return X(this,Hmc,5,a)};g.getScore=function(){return W(this,gG,6)};g.setScore=function(a){return X(this,gG,6,a)};g.getConfidence=function(){return W(this,anc,10)};var bnc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(bnc,V);g=bnc.prototype;g.getId=function(){return Kh(this,1)};g.setId=function(a){return fl(this,1,a)};g.getTitle=function(){return Kh(this,2)};g.setTitle=function(a){return fl(this,2,a)};g.clearTitle=function(){return Np(this,2)};g.getUrl=function(){return W(this,Ez,3)};g.setUrl=function(a){return X(this,Ez,3,a)};g.hasUrl=function(){return Jk(this,Ez,3)};g.getDescription=function(){return Kh(this,4)};
g.setDescription=function(a){return fl(this,4,a)};g.hasDescription=function(){return Ck(this,4)};g.getPriority=function(){return W(this,Hmc,5)};g.setPriority=function(a){return X(this,Hmc,5,a)};g.getScore=function(){return W(this,gG,6)};g.setScore=function(a){return X(this,gG,6,a)};var mFa=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(mFa,V);g=mFa.prototype;g.getUri=function(){return W(this,Gz,1)};g.setUri=function(a){return X(this,Gz,1,a)};g.getUrl=function(){return W(this,Ez,2)};g.setUrl=function(a){return X(this,Ez,2,a)};g.hasUrl=function(){return Jk(this,Ez,2)};g.getLabel=function(){return Kh(this,3)};g.setLabel=function(a){return fl(this,3,a)};g.hasLabel=function(){return Ck(this,3)};var iFa=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(iFa,V);g=iFa.prototype;g.getUri=function(){return W(this,Gz,2)};g.setUri=function(a){return X(this,Gz,2,a)};g.getObjective=function(){return W(this,bnc,1)};g.setObjective=function(a){return X(this,bnc,1,a)};g.getTeam=function(){return W(this,hG,3)};g.setTeam=function(a){X(this,hG,3,a)};g.hasTeam=function(){return Jk(this,hG,3)};var cnc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(cnc,V);var iG=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,iG.messageId)};Y(iG,V);iG.prototype.getResponse=function(){return W(this,cnc,1)};iG.prototype.getReadonlyResponse=function(){return Tq(this,cnc,1)};iG.prototype.getMutableResponse=function(){return Wu(this,cnc,1)};iG.prototype.setResponse=function(a){return X(this,cnc,1,a)};iG.messageId="b.TeamObjectivesResponse";var eGa=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(eGa,V);eGa.prototype.getOkrIds=function(a){return gv(this,1,a)};var jp=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(jp,V);jp.prototype.getId=function(){return Kh(this,1)};jp.prototype.setId=function(a){return ak(this,1,a)};var $Fa=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y($Fa,V);var dnc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(dnc,V);dnc.prototype.getEmail=function(){return Kh(this,1)};dnc.prototype.setEmail=function(a){return ak(this,1,a)};var lp=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(lp,V);lp.prototype.getId=function(){return Kh(this,1)};lp.prototype.setId=function(a){return ak(this,1,a)};lp.prototype.getVersion=function(){return Kh(this,2)};lp.prototype.setVersion=function(a){return ak(this,2,a)};var ip=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(ip,V);g=ip.prototype;g.getWorkspaceId=function(){return dv(this,1)};g.getWorkspaceId_asLegacyNumberOrString=function(){return Qk(this,1)};g.getWorkspaceId_asString=function(){return Wk(this,1)};g.getName=function(){return Kh(this,2)};g.setName=function(a){return ak(this,2,a)};g.getTimeZone=function(){return W(this,lp,8)};g.setTimeZone=function(a){return X(this,lp,8,a)};g.hasTimeZone=function(){return Jk(this,lp,8)};
g.getMembersList=function(){return lk(this,dnc,9,Uj())};g.setMembersList=function(a){return $m(this,9,a)};g.getUpdateTime=function(){return W(this,rk,12)};g.setUpdateTime=function(a){X(this,rk,12,a)};g.hasUpdateTime=function(){return Jk(this,rk,12)};g.getBookmarkGroupId_asLegacyNumberOrString=function(){return Qk(this,14)};g.setBookmarkGroupId=function(a){return jm(this,14,a)};g.setTeamId=function(a){return ak(this,20,a)};var enc=Mh(ip);var fnc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(fnc,V);var dGa=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(dGa,V);g=dGa.prototype;g.getData=function(){return W(this,fnc,2)};g.setData=function(a){return X(this,fnc,2,a)};g.clearData=function(){return Np(this,2)};g.getFilter=function(){return W(this,dG,3)};g.setFilter=function(a){return X(this,dG,3,a)};var gnc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(gnc,V);var jG=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,jG.messageId)};Y(jG,V);jG.prototype.getResponse=function(){return W(this,gnc,1)};jG.prototype.getReadonlyResponse=function(){return Tq(this,gnc,1)};jG.prototype.getMutableResponse=function(){return Wu(this,gnc,1)};jG.prototype.setResponse=function(a){return X(this,gnc,1,a)};jG.messageId="b.WorkItemsResponse";var hnc=[1,2],kG=function(){this.executor=r(MC);this.activeSession=r(Bu)},inc=function(a,b,c){c=c===void 0?!0:c;b=(new Lmc).setTaskIdsList(b);c=Cm(b,2,c);return a.executor.post({url:"action/tasks/dismiss",body:c,responseConstructor:null})},jnc=function(a,b,c){c=c===void 0?!0:c;b=(new Mmc).setTaskIdsList(b);c=Cm(b,2,c);return a.executor.post({url:"action/tasks/manual_signal",body:c,responseConstructor:null})},knc=function(a,b,c){b=(new Nmc).setTaskIdsList(b);if(c!==void 0){var d=ck(b,2,2);c=sk(c);
X(d,rk,3,c)}else ck(b,2,0);return a.executor.post({url:"action/tasks/snooze",body:b,responseConstructor:null})},lnc=function(a,b,c,d,e){b=(new Tmc).setTaskResourceTypesList(b.map(OFa));c=ck(b,3,PFa(d)).setMaxTaskAgeDays(c);d=new cG;if(Vt(a.activeSession,"enableMissionControlInTrackers")){var f;b=(f=a.activeSession.getTracker())==null?void 0:f.trackerId;d.setTrackerId(b);c.setIssueFilters(d)}Vt(a.activeSession,"enableSignalFiltering")&&(d.setFilterSignalsList(e.buganizerSignals.map(SFa)),b=(new Pmc).setFilterSignalsList(e.driveSignals.map(UFa)),
f=(new Omc).setFilterSignalsList(e.changelistSignals.map(WFa)),e=(new Qmc).setFilterSignalsList(e.gerritSignals.map(YFa)),d=c.setIssueFilters(d),d=X(d,Pmc,5,b),f=X(d,Omc,6,f),X(f,Qmc,7,e));return a.executor.post({url:"action/tasks/needs_attention",responseConstructor:$mc,body:c}).pipe(z(qFa))},mnc=function(a,b,c,d){var e=new cG;d=ck(e,1,QFa(d));if(Vt(a.activeSession,"enableMissionControlInTrackers")){var f;e=(f=a.activeSession.getTracker())==null?void 0:f.trackerId;d.setTrackerId(e)}b=(new Smc).setTaskResourceTypesList(b.map(OFa)).setMaxTaskAgeDays(c).setIssueFilters(d);
return a.executor.post({url:"action/tasks/my_tasks",responseConstructor:Vmc,body:b}).pipe(z(uFa))},nnc=function(a,b,c){var d=new Rmc;b=ak(d,1,b).setCommentId(c);return a.executor.post({url:"action/tasks/latest_drive_mention",responseConstructor:fG,body:b}).pipe(z(ZFa))},onc=function(a,b){if(!b.length)return Ae([]);var c=new Imc;b=bk(c,1,b);c=new dG;c=op(c,1,hnc);b=X(b,dG,2,c);return a.executor.post({url:"action/work_items/batch_get_work_items",responseConstructor:jG,body:b}).pipe(z(fGa))},pnc=function(a,
b){if(!b.length)return Ae([]);b=b.map(function(c){return(new Gz).setResourcePath(c)});b=Kmc(b);return a.executor.post({url:"action/okrs/batch_get_okrs",body:b,responseConstructor:iG}).pipe(z(nFa))};kG.\u0275fac=function(a){return new (a||kG)};kG.\u0275prov=n({token:kG,factory:kG.\u0275fac,providedIn:"root"});var qnc={sources:["CHANGELIST","DRIVE","ISSUE"],maxTaskAgeDays:30,issueFilter:"ISSUE_TYPE_GROUPS_UNSPECIFIED"},lG=function(){TC.call(this);this.api=r(kG);this.recordType="myTasks";this.idForRecord=function(a){return a.taskId};this.defaultQuery=qnc};Y(lG,TC);lG.prototype.fetchAll=function(a){return a.sources.length===0?Ae({results:[]}):mnc(this.api,a.sources,a.maxTaskAgeDays,a.issueFilter).pipe(z(function(b){b=b===void 0?[]:b;return{results:b}}))};lG.\u0275fac=function(a){return new (a||lG)};
lG.\u0275prov=n({token:lG,factory:lG.\u0275fac,providedIn:"root"});var g6a=["assigned-to-me","recent-stuff-i-follow"],rnc=["BUGANIZER","CRITIQUE","DRIVE"],snc=["NON_WTDM","WTDM","CRITIQUE","DRIVE"],tnc={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:"Work tracking",filterType:"WTDM",tooltipText:"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"},GOOGLE_TASKS:{displayName:"Google Tasks",filterType:"GOOGLE_TASKS",tooltipText:"Google Tasks"}},Lt={buganizerSignals:"NEAR_SLO COMMENT_MENTIONS_ME MENTIONED_NEEDS_RESPONSE BLOCKERS_CLOSED NEWLY_BLOCKING NEEDS_REPORTER_INPUT REPLIED_TO_MENTION NEWLY_ASSIGNED_TO_ME ISSUE_MANUALLY_SIGNALED ISSUE_SNOOZE_EXPIRED".split(" "),
driveSignals:["TAGGED_IN_COMMENT","REQUIRES_APPROVAL","DRIVE_MANUAL_SIGNAL","DRIVE_SNOOZE_EXPIRED"],changelistSignals:["THREAD_MENTIONS_ME","NEEDS_ATTENTION","READY_TO_SUBMIT","CHANGELIST_MANUAL_SIGNAL","CHANGELIST_SNOOZE_EXPIRED"],gerritSignals:["GERRIT_CHANGE_NEEDS_ATTENTION","GERRIT_CHANGE_READY_TO_SUBMIT","GERRIT_MANUAL_SIGNAL","GERRIT_SNOOZE_EXPIRED"]},unc;
unc={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 vnc={sources:["CHANGELIST","DRIVE","ISSUE"],signalFilter:0,maxTaskAgeDays:30,filterSignals:Lt},mG=function(){TC.call(this);this.api=r(kG);this.recordType="needsAttentionTask";this.idForRecord=function(a){return a.task.taskId};this.defaultQuery=vnc};Y(mG,TC);mG.prototype.fetchAll=function(a){return a.sources.length===0?Ae({results:[]}):lnc(this.api,a.sources,a.maxTaskAgeDays,a.signalFilter,a.filterSignals).pipe(z(function(b){b=b===void 0?[]:b;return{results:b}}))};
mG.\u0275fac=function(a){return new (a||mG)};mG.\u0275prov=n({token:mG,factory:mG.\u0275fac,providedIn:"root"});var nG=function(){UC.call(this);this.userAccess=r(uE);this.recordType="permissions"};Y(nG,UC);nG.prototype.fetchOne=function(a){return this.fetchSet([a]).pipe(z(function(b){return k(b).next().value}))};nG.prototype.fetchSet=function(a){var b=this;return Ie(a.map(function(c){return Ne(function(){return Pjc(b.userAccess,c).then(function(d){return Object.assign({},d,{id:c})})})}))};nG.\u0275fac=function(a){return new (a||nG)};nG.\u0275prov=n({token:nG,factory:nG.\u0275fac,providedIn:"root"});var gGa=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(gGa,V);var wnc=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,wnc.messageId)};Y(wnc,V);wnc.messageId="b.PrincipalTypeInfoBatchResponse";var pG=function(){this.principalResources=r(oG);this.bulkApiAdapter=r(rE);this.principalTypeGetter=this.bulkApiAdapter.adapt(xnc(this,!1));this.principalTypeWithDetailGetter=this.bulkApiAdapter.adapt(xnc(this,!0))},xnc=function(a,b){return function(c){return ync(a.principalResources,c,b).then(function(d){return kGa(c,d)})}};pG.prototype.get=function(a){return qG(this,a,!1)};
var qG=function(a,b,c){return(c?a.principalTypeWithDetailGetter.get(b):a.principalTypeGetter.get(b)).then(function(d){return d!=null?d:lGa()})};pG.\u0275fac=function(a){return new (a||pG)};pG.\u0275prov=n({token:pG,factory:pG.\u0275fac,providedIn:"root"});
var oG=function(){this.executor=r(NC)},ync=function(a,b,c){if(b.length===0)return Promise.resolve({});var d={};d.email=Kj(b);c&&(d.includeDetailedUserType="true");return a.executor.get({url:"action/principal_types",options:{params:d},responseConstructor:wnc}).then(jGa).then(function(e){for(var f={},h=k(b),l=h.next();!l.done;l=h.next()){l=l.value;var q=void 0;f[l]=(q=e[l])!=null?q:lGa()}return f})};oG.\u0275fac=function(a){return new (a||oG)};oG.\u0275prov=n({token:oG,factory:oG.\u0275fac,providedIn:"root"});var rG=function(){UC.call(this,{freshUntil:36E5,ancientAfter:864E5});this.principalTypesApi=r(pG);this.recordType="principalTypes";this.idForRecord=function(a){return a.email}};Y(rG,UC);rG.prototype.fetchOne=function(a){var b=this;return Ne(function(){return b.principalTypesApi.get(a)}).pipe(z(function(c){return Object.assign({},{email:a},c)}),If(function(){return Ae(void 0)}))};rG.prototype.fetchSet=function(a){var b=this;return Ie(a.map(function(c){return b.fetchOne(c)})).pipe(z(function(c){return c.filter(ik)}))};
rG.\u0275fac=function(a){return new (a||rG)};rG.\u0275prov=n({token:rG,factory:rG.\u0275fac,providedIn:"root"});var sG=function(){UC.call(this);this.api=r(LE);this.recordType="recentEventsForIssues";this.idForRecord=function(a){return a.id.query+"-"+a.id.pageSize}};Y(sG,UC);sG.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:rxa(a==null?void 0:a.events,b==null?void 0:b.events)};
sG.prototype.fetchOne=function(a){var b=k(a.split("___")),c=b.next().value;b=b.next().value;fk(b)||console.error("RecentEventsForIssuesFridge failed to parse maximumSize from query, using default. input: '"+a+"'");var d,e=(d=fk(b))!=null?d:50;return mkc(this.api,{query:c,maximumSize:e,minimumSignificance:"MAJOR"}).pipe(z(function(f){return{id:{query:c,pageSize:e},events:f}}))};sG.\u0275fac=function(a){return new (a||sG)};sG.\u0275prov=n({token:sG,factory:sG.\u0275fac,providedIn:"root"});var znc=["ASSIGNMENT","RESPONSE","CLOSURE"],Anc=new Map([["ASSIGNMENT","Assignment"],["RESPONSE","Response"],["CLOSURE","Closure"]]),Bnc=new Map([["name","Name"],["description","Description"],["parentId","Parent ID"],["elements","SLO rules"]]),UDb=new Map([["DAY_TYPE_UNSPECIFIED","Calendar"],["CALENDAR","Calendar"],["BUSINESS","Business"]]);var np=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(np,V);g=np.prototype;g.getId=function(){return dv(this,1)};g.getId_asLegacyNumberOrString=function(){return Qk(this,1)};g.getId_asString=function(){return Wk(this,1)};g.setId=function(a){return Xk(this,1,a)};g.getFrequency=function(){return Fk(this,3,0)};g.setFrequency=function(a){return ck(this,3,a)};g.getOrdinal=function(){return Xj(this,4)};g.setOrdinal=function(a){return pk(this,4,a)};g.getTimeZone=function(){return W(this,lp,5)};
g.setTimeZone=function(a){return X(this,lp,5,a)};g.hasTimeZone=function(){return Jk(this,lp,5)};g.getTimeOfDay=function(){return W(this,mp,6)};g.setTimeOfDay=function(a){return X(this,mp,6,a)};g.setDaysRemaining=function(a){return Wm(this,7,a)};var tG=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(tG,V);tG.prototype.getTeamId_asLegacyNumberOrString=function(){return Qk(this,1)};tG.prototype.getTeamId_asString=function(){return Wk(this,1)};tG.prototype.setTeamId=function(a){return jm(this,1,a)};tG.prototype.getEffectiveSloEditPolicy=function(){return Fk(this,3,0)};var qp=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,qp.messageId)};Y(qp,V);qp.prototype.getIt=function(){return W(this,rp,10)};qp.prototype.setIt=function(a){return X(this,rp,10,a)};qp.messageId="b.SloState";var Cnc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Cnc,V);Cnc.prototype.getQuery=function(){return Kh(this,1)};Cnc.prototype.setQuery=function(a){return ak(this,1,a)};Cnc.prototype.clearQuery=function(){Np(this,1)};var tGa=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(tGa,V);g=tGa.prototype;g.getComponentId=function(){return dv(this,1)};g.getComponentId_asLegacyNumberOrString=function(){return Qk(this,1)};g.getComponentId_asString=function(){return Wk(this,1)};g.setComponentId=function(a){return jm(this,1,a)};g.getEffectiveSloEditPolicy=function(){return Fk(this,2,0)};var Dnc=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,Dnc.messageId)};Y(Dnc,V);Dnc.messageId="b.GetComponentSloEditPolicyResponse";var Enc=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,Enc.messageId)};Y(Enc,V);Enc.prototype.getTeamSloEditPolicy=function(){return W(this,tG,1)};Enc.messageId="b.GetTeamSloEditPolicyResponse";var Fnc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Fnc,V);var uG=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,uG.messageId)};Y(uG,V);uG.prototype.getIt=function(){return W(this,Fnc,1)};uG.prototype.setIt=function(a){return X(this,Fnc,1,a)};uG.messageId="b.ListSlosResponse";var Gnc=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,Gnc.messageId)};Y(Gnc,V);Gnc.prototype.getTeamSloEditPolicy=function(){return W(this,tG,1)};Gnc.messageId="b.UpdateTeamSloEditPolicyResponse";var vG=function(){this.activeSession=r(Bu);this.executor=r(MC)};g=vG.prototype;g.get=function(a){return this.executor.get({url:"action/slos/"+a,responseConstructor:qp}).pipe(z(xGa))};g.getOwnedSlos=function(){return this.search("owner:"+this.activeSession.getUserEmail()+" include_archived:true")};g.search=function(a){a=(new Cnc).setQuery(a);return this.executor.post({url:"action/listSlos",body:a,responseConstructor:uG}).pipe(z(function(b){b=b.getIt();b=lk(b,rp,1,Uj());return(b!=null?b:[]).map(oza)}))};
g.create=function(a){a=yGa(a);return this.executor.post({url:"action/slos",body:a,responseConstructor:qp}).pipe(z(xGa))};g.update=function(a){var b=a.sloId;a=yGa(a);return this.executor.post({url:"action/slos/"+b,body:a,responseConstructor:qp}).pipe(z(xGa))};vG.\u0275fac=function(a){return new (a||vG)};vG.\u0275prov=n({token:vG,factory:vG.\u0275fac,providedIn:"root"});
var wG=function(){this.observableSlosService=r(vG);var a=r(HD),b;this.slosCache=(b=a.get("slos-second-level-cache"))!=null?b:a.create("slos-second-level-cache",{capacity:25})};g=wG.prototype;g.get=function(a){var b=this.slosCache.get(a);return b!==void 0?b:this.slosCache.put(String(a),Fe(this.observableSlosService.get(a)))};g.getOwnedSlos=function(){return Fe(this.observableSlosService.getOwnedSlos())};g.search=function(a){return Fe(this.observableSlosService.search(a))};g.create=function(a){return Fe(this.observableSlosService.create(a))};
g.update=function(a){return Fe(this.observableSlosService.update(a))};wG.\u0275fac=function(a){return new (a||wG)};wG.\u0275prov=n({token:wG,factory:wG.\u0275fac,providedIn:"root"});var xG=function(){UC.call(this);this.observableSlosService=r(vG);this.recordType="slo";this.idForRecord=function(a){return a.sloId}};Y(xG,UC);g=xG.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)};
xG.\u0275fac=function(a){return new (a||xG)};xG.\u0275prov=n({token:xG,factory:xG.\u0275fac,providedIn:"root"});var Hnc=function(a,b){this.rawGet=a;this.cacheSize=b;this.lruCache=new GD(this.cacheSize,!0,function(c,d){d.subscription.unsubscribe()})};Hnc.prototype.get=function(a){var b=this;return new oe(function(c){var d=b.lruCache.get(a);d||(d=Inc(b,a));return d.obs$.subscribe(c)})};
var Inc=function(a,b){var c=a.rawGet(b).pipe(Vf({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 Jnc(c,d);a.lruCache.set(b,c);return c},Jnc=function(a,b){this.obs$=a;this.subscription=b};var yG=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,yG.messageId)};Y(yG,V);yG.prototype.getIt=function(){return W(this,qD,14)};yG.prototype.setIt=function(a){return X(this,qD,14,a)};yG.messageId="b.TeamState";var Knc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Knc,V);g=Knc.prototype;g.getPathIdsList_asLegacyNumberOrString=function(){return o4b(this,1)};g.getPathIdsList_asString=function(){return Uk(this,1)};g.setPathIdsList=function(a){return wc(this,1,a,Pb)};g.getPathNamesList=function(a){return Tj(this,2,Uj(a))};g.setPathNamesList=function(a){return bk(this,2,a)};g.getId=function(){return dv(this,3)};g.getId_asLegacyNumberOrString=function(){return bv(this,3)};
g.getId_asString=function(){return Ik(this,3)};g.setId=function(a){return kl(this,3,a)};g.getName=function(){return Kh(this,4)};g.setName=function(a){return fl(this,4,a)};g.hasName=function(){return Ck(this,4)};g.getNameOrUndefined=function(){return wr(this,4)};g.getDescription=function(){return Kh(this,5)};g.setDescription=function(a){return fl(this,5,a)};g.hasDescription=function(){return Ck(this,5)};var Lnc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Lnc,V);g=Lnc.prototype;g.getId=function(){return dv(this,1)};g.getId_asLegacyNumberOrString=function(){return bv(this,1)};g.getId_asString=function(){return Ik(this,1)};g.setId=function(a){return kl(this,1,a)};g.getName=function(){return Kh(this,2)};g.setName=function(a){return fl(this,2,a)};g.hasName=function(){return Ck(this,2)};g.getNameOrUndefined=function(){return wr(this,2)};g.getDescription=function(){return Kh(this,3)};
g.setDescription=function(a){return fl(this,3,a)};g.hasDescription=function(){return Ck(this,3)};var Mnc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Mnc,V);Mnc.prototype.setTeamIdsList=function(a){return pp(this,1,a)};Mnc.prototype.setView=function(a){return ck(this,2,a)};var Nnc=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,Nnc.messageId)};Y(Nnc,V);Nnc.prototype.setTeamIdsList=function(a){return wc(this,1,a,Pb)};Nnc.messageId="b.BatchChildTeamsRequest";var Onc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Onc,V);var Pnc=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,Pnc.messageId)};Y(Pnc,V);Pnc.messageId="b.BatchChildTeamsResponse";var Qnc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Qnc,V);var zG=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,zG.messageId)};Y(zG,V);zG.prototype.getIt=function(){return W(this,Qnc,2)};zG.prototype.setIt=function(a){return X(this,Qnc,2,a)};zG.messageId="b.BatchGetTeamsResponse";var AG=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,AG.messageId)};Y(AG,V);AG.prototype.getTeamSuggestionsList=function(){return lk(this,Knc,1,Uj())};AG.prototype.setTeamSuggestionsList=function(a){$m(this,1,a)};AG.messageId="b.TeamSuggestionResult";var BG=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,BG.messageId)};Y(BG,V);BG.prototype.getIt=function(){return W(this,Bn,3)};BG.prototype.setIt=function(a){return X(this,Bn,3,a)};BG.messageId="b.UpdateTeamSloRequest";var DG=function(){var a=this;this.executor=r(MC);this.teamsBatchApiConfig=r(CG);this.batchApiAdapter=r(pD);this.batchAdaptedGet=this.batchApiAdapter.adapt(this.teamsBatchApiConfig);this.memoizingTeamStateMap=new Hnc(function(b){return a.batchAdaptedGet(b)},100)};DG.prototype.get=function(a){return this.executor.get({url:"action/teams/"+a,responseConstructor:yG}).pipe(z(AGa))};DG.prototype.getTeam=function(a){return this.memoizingTeamStateMap.get(a)};
var EG=function(a,b){return a.getTeam(b).pipe(z(function(c){return c!=null?c:CGa(b)}),If(function(){return Ae(CGa(b))}))},Rnc=function(a,b){b=b.filter(function(c){return c!=="0"}).map(function(c){return a.getTeam(c)});return Oe(b).pipe(z(function(c){var d=new Map;c=k(c);for(var e=c.next();!e.done;e=c.next())(e=e.value)&&d.set(e.teamId,e);return d}))};
DG.prototype.getChildTeams=function(a){a=(new Nnc).setTeamIdsList(a);return this.executor.post({url:"action/child_teams",body:a,responseConstructor:Pnc}).pipe(z(function(b){b=[].concat(t(uc(b,1,Onc,dc).entries()));return new Map(b.map(function(c){var d=k(c);c=d.next().value;d=d.next().value;d=lk(d,Lnc,1,Uj());return[c,d.map(zGa)]}))}))};
var FG=function(a,b){return a.executor.get({url:"action/suggest_teams",options:{params:{query:b}},responseConstructor:AG}).pipe(z(function(c){return c.getTeamSuggestionsList().map(BGa)}))},Snc=function(a,b){return a.executor.get({url:"action/teams/"+b+"/experiments",responseConstructor:gE}).pipe(z(fCa))},Tnc=function(a,b){a=a.executor;var c=a.post,d="action/teams/"+b.id+"/experiments",e=b.triage.map(qCa);b=(new gE).setId(b.id);b=Xn(b,2,Tn,e);return c.call(a,{url:d,body:b,responseConstructor:gE}).pipe(z(fCa))},
Unc=function(a,b,c){return b==="0"?Ae(!1):a.memoizingTeamStateMap.get(b).pipe(z(function(d){return(d==null?void 0:d.members.find(function(e){return e&&Sj(e.user)===c}))!==void 0}))},Vnc=function(a,b){b=(new Mnc).setTeamIdsList([].concat(t(b))).setView(2);return a.executor.post({url:"action/batchGetTeams",responseConstructor:zG,body:b}).pipe(z(function(c){return lk(c.getIt(),qD,1,Uj())}),z(function(c){return new Map(c.map(function(d){var e,f;return[String(d.getId_asLegacyNumberOrString()),(f=(e=W(d,
An,7))==null?void 0:Qk(e,3))!=null?f:0]}))}))};
DG.prototype.updateTeam=function(a){var b=new yG,c=new qD,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(fk).filter(ik));d=bk(f,5,a.collapsedPathNames).setMembersList((e=a.members)==null?void 0:e.map(hBa));Cm(d,9,a.deleted);e=new An;d=a.extra;e.setVersion(a.version).setSlo(iBa(a.slo)).setInheritEscalationOwner(d==null?void 0:d.inheritEscalationOwner);(d==null?0:d.escalationOwner)&&e.setEscalationOwner(dk(d.escalationOwner));
if(d==null?0:d.defaultEscalationOwner)d=dk(d.defaultEscalationOwner),X(e,Zj,7,d);X(c,An,7,e);b.setIt(c);return this.executor.post({url:"action/teams/"+a.teamId,body:b,responseConstructor:yG}).pipe(z(AGa))};DG.\u0275fac=function(a){return new (a||DG)};DG.\u0275prov=n({token:DG,factory:DG.\u0275fac,providedIn:"root"});var CG=function(){this.executor=r(MC)};
CG.prototype.call=function(a){a=(new Mnc).setTeamIdsList([].concat(t(a))).setView(1);return this.executor.post({url:"action/batchGetTeams",responseConstructor:zG,body:a}).pipe(z(function(b){return lk(b.getIt(),qD,1,Uj()).map(gBa)}),z(function(b){return Gj(b,function(c){return c.teamId})}),If(function(){return Ae(new Map)}))};CG.prototype.split=function(a,b){return b.get(a)};CG.\u0275fac=function(a){return new (a||CG)};CG.\u0275prov=n({token:CG,factory:CG.\u0275fac,providedIn:"root"});var GG=function(){TC.call(this);this.teamsApi=r(DG);this.defaultQuery={};this.recordType="TeamDigest";this.idForRecord=function(a){var b;return(b=a.teamId)!=null?b:"NO_ID"}};Y(GG,TC);GG.prototype.fetchAll=function(a){if(a.myTeams)return FG(this.teamsApi,"").pipe(z(function(b){b=b===void 0?[]:b;return{results:b}}));throw Error("Cd");};GG.\u0275fac=function(a){return new (a||GG)};GG.\u0275prov=n({token:GG,factory:GG.\u0275fac,providedIn:"root"});var HG=function(){UC.call(this,{freshUntil:6E4});this.activeSession=r(Bu);this.teamsApi=r(DG);this.recordType="team-experimental-fields";this.idForRecord=function(a){return a.id};this.isEqual=oj};Y(HG,UC);HG.prototype.fetchOne=function(a){var b=this;return Vt(this.activeSession,"enableTeamScope")&&this.activeSession.isInternalSession()?Ne(function(){return Snc(b.teamsApi,a).pipe(z(function(c){return c!=null?c:{id:a,triage:[{id:0}]}}),If(function(){return Ae(void 0)}))}):Ae(void 0)};
HG.prototype.fetchSet=function(a){var b=this;return Ie(a.map(function(c){return b.watch(c)})).pipe(z(function(c){return c.filter(ik)}))};HG.prototype.copy=function(a){return a&&pj(a)};HG.\u0275fac=function(a){return new (a||HG)};HG.\u0275prov=n({token:HG,factory:HG.\u0275fac,providedIn:"root"});var IG=function(){UC.call(this);this.teamsApi=r(DG);this.recordType="team";this.idForRecord=function(a){return a.teamId}};Y(IG,UC);IG.prototype.fetchOne=function(a){return a==="0"?Ae(void 0):this.teamsApi.getTeam(a).pipe(If(function(){return Ae(void 0)}))};IG.prototype.fetchSet=function(a){var b=this;return Ie(a.map(function(c){return b.fetchOne(c)})).pipe(z(function(c){return c.filter(ik)}))};IG.\u0275fac=function(a){return new (a||IG)};IG.\u0275prov=n({token:IG,factory:IG.\u0275fac,providedIn:"root"});var Wnc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Wnc,V);Wnc.prototype.setTrackerIdsList=function(a){return pp(this,1,a)};var Xnc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Xnc,V);Xnc.prototype.getTrackersList=function(){return lk(this,GC,1,Uj())};var JG=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,JG.messageId)};Y(JG,V);JG.prototype.getIt=function(){return W(this,Xnc,9)};JG.prototype.setIt=function(a){return X(this,Xnc,9,a)};JG.messageId="b.BatchGetTrackersResponse";var KG=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(KG,V);KG.prototype.getTrackersList=function(){return lk(this,GC,1,Uj())};KG.prototype.getNextPageToken=function(){return Kh(this,2)};KG.prototype.getTotalSize=function(){return Xj(this,3)};var LG=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,LG.messageId)};Y(LG,V);LG.prototype.getIt=function(){return W(this,KG,4)};LG.prototype.setIt=function(a){return X(this,KG,4,a)};LG.messageId="b.ListTrackersResponse";var MG=function(){this.jspbExecutor=r(MC)};MG.prototype.get=function(a){return this.jspbExecutor.get({url:"action/trackers/"+a,responseConstructor:Cl}).pipe(z(Yua))};MG.prototype.batchGet=function(a){a=(new Wnc).setTrackerIdsList(a);return this.jspbExecutor.post({url:"action/trackers/batch",responseConstructor:JG,body:a}).pipe(z(Zua))};
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($ua))};MG.\u0275fac=function(a){return new (a||MG)};MG.\u0275prov=n({token:MG,factory:MG.\u0275fac,providedIn:"root"});var NG=function(){UC.call(this,{freshUntil:36E5,ancientAfter:2592E5});this.trackerApi=r(MG);this.activeSession=r(Bu);this.recordType="tracker";this.idKey="trackerId";var a=this.activeSession.getTracker();a&&this.announce(a)};Y(NG,UC);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)};NG.\u0275prov=n({token:NG,factory:NG.\u0275fac,providedIn:"root"});var OG=function(){Z.apply(this,arguments);this.teamsService=r(DG);this.activeSession=r(Bu);this.teamMembers=new Map;this.teamChildren=new Map};Y(OG,Z);OG.\u0275dir=Z.\u0275dir;
var $nc=function(a,b,c){return Vt(a.activeSession,"enableTeamScope")&&a.activeSession.isInternalSession()&&b&&c&&Aj(c)?Ync(a,b).pipe(Yf(function(d){return d.has(c)?Ae(!0):Znc(a,b).pipe(Yf(function(e){return e.length===0?Ae(!1):Oe(e.map(function(f){return $nc(a,f,c)})).pipe(z(function(f){return f.some(Boolean)}))}))})):Ae(!1)},Znc=function(a,b){if(a.teamChildren.has(b))return a.teamChildren.get(b);var c=new Tf(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},Ync=function(a,b){if(a.teamMembers.has(b))return a.teamMembers.get(b);var c=new Tf(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 Sj(e==null?void 0:e.user)}).filter(ik)}),z(function(d){return new Set(d)})).subscribe(c));a.teamMembers.set(b,c);return c};
OG.\u0275fac=function(){var a;return function(b){return(a||(a=ee(OG)))(b||OG)}}();OG.\u0275prov=n({token:OG,factory:OG.\u0275fac,providedIn:"root"});var PG=function(){this.issueFridge=r(hF);this.issueExperimentalFieldsFridge=r(dF);this.activeSession=r(Bu);this.teamMembershipService=r(OG)},eoc=function(a,b,c){var d,e,f,h,l,q;se(function(u){switch(u.nextAddress){case 1:return y(u,a.issueFridge.poke(b),2);case 2:d=u.yieldResult;if(!d)return u.return();te(u,3);e=c.some(function(A){return["comment","attachments"].includes(A.fieldName)});if(!e){u.jumpTo(5);break}return y(u,aoc(a,d),5);case 5:f=c.some(function(A){return A.fieldName==="assignee"});if(!f){u.jumpTo(7);
break}return y(u,boc(a,d),7);case 7:h=c.some(function(A){return A.fieldName==="status"});if(!h){u.jumpTo(9);break}return y(u,coc(a,d),9);case 9:l=c.some(function(A){return A.fieldName==="changelists"||A.fieldName==="gerritChanges"});if(!l){u.jumpTo(11);break}return y(u,doc(a,d),11);case 11:Hu(u,0);break;case 3:q=we(u),console.error(q),xe(u)}})},aoc=function(a,b){return se(function(c){return Xl(b)!=="NEW"||Yl(b)!=="NEEDS_INFO"||a.activeSession.getUserEmail()!==Sj(b.snapshot[0].reporterUser)?c.jumpTo(0):
y(c,eF(a.issueExperimentalFieldsFridge,b.issueId,function(d){d.triage.subphase="REPORTER_RESPONDED"}),0)})},boc=function(a,b){var c,d;return se(function(e){switch(e.nextAddress){case 1:if(Xl(b)!=="NEW"||!b.snapshot[0].assigneeUser||a.activeSession.getUserEmail()===Sj(b.snapshot[0].assigneeUser)||Sj(b.snapshot[0].assigneeUser)!==Sj(b.snapshot[0].reporterUser)){e.jumpTo(2);break}return y(e,eF(a.issueExperimentalFieldsFridge,b.issueId,function(f){f.triage.subphase="NEEDS_INFO"}),2);case 2:if(Xl(b)!==
"NEW"||Yl(b)!=="PENDING_TRIAGE"||Sj(b.snapshot[0].assigneeUser)===Sj(b.snapshot[0].reporterUser)||a.activeSession.getUserEmail()===Sj(b.snapshot[0].assigneeUser)||(c=b.aggregatedData)==null||!c.teamId){e.jumpTo(4);break}return y(e,Fe($nc(a.teamMembershipService,String(b.aggregatedData.teamId),a.activeSession.getUserEmail())),5);case 5:d=e.yieldResult;if(!d){e.jumpTo(4);break}return y(e,eF(a.issueExperimentalFieldsFridge,b.issueId,function(f){f.triage.phase="CONFIRMED";f.triage.subphase="TRIAGE_SUBPHASE_UNSPECIFIED"}),
4);case 4:if(Xl(b)!=="NEW"||a.activeSession.getUserEmail()!==Sj(b.snapshot[0].assigneeUser))e.jumpTo(0);else return y(e,eF(a.issueExperimentalFieldsFridge,b.issueId,function(f){f.triage.triagerEmail=a.activeSession.getUserEmail()}),0)}})},coc=function(a,b){return se(function(c){return c.nextAddress==1?b.snapshot[0].status!=="ACCEPTED"?c.jumpTo(2):y(c,eF(a.issueExperimentalFieldsFridge,b.issueId,function(d){d.triage.phase="IN_PROGRESS";d.triage.subphase="TRIAGE_SUBPHASE_UNSPECIFIED"}),2):b.snapshot[0].status!==
"NOT_REPRODUCIBLE"&&b.snapshot[0].status!=="INTENDED_BEHAVIOR"&&b.snapshot[0].status!=="OBSOLETE"&&b.snapshot[0].status!=="INFEASIBLE"?c.jumpTo(0):y(c,eF(a.issueExperimentalFieldsFridge,b.issueId,function(d){d.triage.phase="WONT_FIX";d.triage.subphase="TRIAGE_SUBPHASE_UNSPECIFIED"}),0)})},doc=function(a,b){return se(function(c){return Xl(b)!=="NEW"&&Xl(b)!=="CONFIRMED"?c.jumpTo(0):y(c,eF(a.issueExperimentalFieldsFridge,b.issueId,function(d){d.triage.phase="IN_PROGRESS";d.triage.subphase="TRIAGE_SUBPHASE_UNSPECIFIED"}),
0)})};PG.\u0275fac=function(a){return new (a||PG)};PG.\u0275prov=n({token:PG,factory:PG.\u0275fac,providedIn:"root"});var QG=function(){Z.apply(this,arguments);var a=this;this.issueFridge=r(hF);this.teamFridge=r(IG);this.recentIssues$=Ne(function(){return a.issueFridge.watchMany({filter:"modified:60d (modifier:me | assignee:me)",pageSize:500})});this.recentTeamIds$=this.recentIssues$.pipe(z(function(b){return b.results}),z(function(b){return b.map(function(c){var d;return(d=c.aggregatedData)==null?void 0:d.teamId}).filter(ik).filter(Boolean).map(String)}));this.mostActiveTeamIds$=this.recentTeamIds$.pipe(z(function(b){return Gua(b,
function(c){return c})}),z(function(b){return b.filter(function(c){return c.length>=2})}),z(function(b){return b.sort(function(c,d){return d.length-c.length})}),z(function(b){return b.map(function(c){return c[0]})}));this.mostActiveTeams$=this.mostActiveTeamIds$.pipe(Yf(function(b){return a.teamFridge.watchSet(b).pipe(z(function(c){var d=Gj(c,function(e){return e.teamId});return b.map(function(e){return{teamId:e,team:d.get(e)}})}))}),Vf({refCount:!0,bufferSize:1}))};Y(QG,Z);QG.\u0275dir=Z.\u0275dir;
QG.\u0275fac=function(){var a;return function(b){return(a||(a=ee(QG)))(b||QG)}}();QG.\u0275prov=n({token:QG,factory:QG.\u0275fac,providedIn:"root"});var RG=function(){this.executor=r(MC)},foc=function(a,b){return a.executor.post({url:"action/current_user/preferences",responseConstructor:bl,body:Yva(b)}).pipe(z(function(c){return zva(c)}))};RG.\u0275fac=function(a){return new (a||RG)};RG.\u0275prov=n({token:RG,factory:RG.\u0275fac,providedIn:"root"});var TG=function(){var a=this;this.userPreferencesManagerBase=r(SG);this.activeSession=r(Bu);this.userPreferencesDualWriteOptOut=Vt(this.activeSession,"userPreferencesDualWriteOptOut");this.destroyed$=new Tf(1);this.preferencesSubject$=this.userPreferencesManagerBase.preferences$;this.preferences$=this.preferencesSubject$.pipe(z(pj));this.textDisplayPreferences$=this.preferences$.pipe(z(function(b){return b.textDisplayPreferences||{}}));this.textDisplayPreferencesSubject$=sp(this.textDisplayPreferences$.pipe(Zf(this.destroyed$)),
{});this.commentFormattingPreferences$=this.preferences$.pipe(z(function(b){return b.commentFormattingPreferences||{}}));this.commentFormattingPreferencesSubject$=sp(this.commentFormattingPreferences$.pipe(Zf(this.destroyed$)),{});this.isCfpCommentCreateOverrideSet$=this.commentFormattingPreferences$.pipe(z(function(b){return b.commentCreateOverride==="LITERAL_FORMATTING_MODE"}),Pf());this.cfpLastPublishCommentFormattingMode$=this.commentFormattingPreferences$.pipe(z(function(b){return b.lastPublishMode}),
Pf());this.cfpLastPublishFormattingMode$=this.cfpLastPublishCommentFormattingMode$.pipe(z(mk));this.lastPublishOrUpdatedFormattingModeSubject$=sp(this.cfpLastPublishFormattingMode$.pipe(Zf(this.destroyed$)),"PLAIN");this.currentCommentFormattingMode$=Ie([this.isCfpCommentCreateOverrideSet$,this.lastPublishOrUpdatedFormattingModeSubject$]).pipe(z(function(b){var c=k(b);b=c.next().value;c=c.next().value;return b&&a.activeSession.isInternalSession()?"LITERAL":c}));this.currentCommentFormattingModeSubject$=
sp(this.currentCommentFormattingMode$.pipe(Zf(this.destroyed$)),"UNSPECIFIED_FORMATTING_MODE");this.lastPublishMode$=this.textDisplayPreferences$.pipe(z(function(b){return b.lastPublishMode}),Pf());this.lastPublishModeProto$=this.lastPublishMode$.pipe(z(mk));this.themePreferences$=this.preferences$.pipe(z(function(b){var c;return(c=b.themePreferences)!=null?c:pj(HC.themePreferences)}),up());this.listViewPreferences$=this.preferences$.pipe(z(function(b){var c;return(c=b.listViewPreferences)!=null?
c:pj(HC.listViewPreferences)}),up());this.layoutPreferences$=this.preferences$.pipe(z(function(b){return a.getLayoutPreferences(b)}),up());this.dateTimePreferences$=this.preferences$.pipe(z(function(b){var c;return(c=b.dateTimePreferences)!=null?c:pj(HC.dateTimePreferences)}),up());this.homepagePreferences$=this.preferences$.pipe(z(function(b){return a.getHomepagePreferences(b)}),up());this.keyboardPrefs$=this.preferences$.pipe(z(function(b){var c;return(c=b.keyboardPreferences)!=null?c:pj(HC.keyboardPreferences)}),
up());this.displayColumnsPreferences$=this.preferences$.pipe(z(function(b){var c,d;return(d=(c=b.displayColumns)==null?void 0:c.column)!=null?d:[]}),up());this.sortColumnsPreferences$=this.preferences$.pipe(z(function(b){var c,d;return(d=(c=b.sortColumns)==null?void 0:c.column)!=null?d:[]}),up());this.bugScreensaverPreferences$=this.preferences$.pipe(z(function(b){var c;return(c=b.bugScreensaverPreferences)!=null?c:pj(HC.bugScreensaverPreferences)}),up());this.bugScreensaverSubject$=sp(this.bugScreensaverPreferences$.pipe(Zf(this.destroyed$)),
HC.bugScreensaverPreferences);this.g3nPreferences$=this.preferences$.pipe(z(function(b){var c;return(c=b.g3nPreferences)!=null?c:pj(HC.g3nPreferences)}),up());sp(this.g3nPreferences$.pipe(Zf(this.destroyed$)),HC.g3nPreferences);this.teamWarningPreferences$=this.preferences$.pipe(z(function(b){var c;return(c=b.teamWarningPreferences)!=null?c:pj(HC.teamWarningPreferences)}),up());this.teamWarningPreferencesSubject$=sp(this.teamWarningPreferences$.pipe(Zf(this.destroyed$)),HC.teamWarningPreferences);
this.commentFilterPreferences$=this.preferences$.pipe(z(function(b){var c;return(c=b.commentFilterPreferences)!=null?c:pj(HC.commentFilterPreferences)}),up());sp(this.commentFilterPreferences$.pipe(Zf(this.destroyed$)),HC.commentFilterPreferences);this.codeFont$=this.preferences$.pipe(z(function(b){return!!b.useCodefont}),Pf());this.autoCcOnComment$=this.preferences$.pipe(z(function(b){var c;return(c=b.autoCcOnComment)!=null?c:!1}),Pf());this.showFullHistory$=this.preferences$.pipe(z(function(b){return!!b.showFullHistory}),
Pf());this.resultsPerPage$=this.preferences$.pipe(z(function(b){var c;return(c=b.resultsPerPage)!=null?c:HC.resultsPerPage}),Pf());this.showRecentEventsFirst$=this.preferences$.pipe(z(function(b){return!!b.showRecentEventsFirst}),Pf());this.showInlineImages$=this.preferences$.pipe(z(function(b){var c;return(c=b.showInlineImages)!=null?c:HC.showInlineImages}),Pf())};TG.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete()};TG.prototype.save=function(a){return this.userPreferencesManagerBase.save(a)};
var goc=function(a,b){b=Object.assign({},a.getLayoutPreferences(a.preferencesSubject$.value),b);return a.save({layoutPreferences:b}).pipe(z(a.getLayoutPreferences))},hoc=function(a,b){b=Object.assign({},a.preferencesSubject$.value.textDisplayPreferences||{},b);return a.save({textDisplayPreferences:b}).pipe(z(function(c){return c.textDisplayPreferences||{}}))},joc=function(a,b){if(b!=="LITERAL"&&b!==a.currentCommentFormattingModeSubject$.value){var c=a.userPreferencesDualWriteOptOut?Ae({}):hoc(a,{lastPublishMode:bva(b)});
a=ioc(a,{lastPublishMode:bva(b)});return Ie([c,a]).pipe(z(function(d){var e=k(d);d=e.next().value;e=e.next().value;return{textDisplayPreferences:d||{},commentFormattingPreferences:e||{}}}))}return Ae({textDisplayPreferences:a.textDisplayPreferencesSubject$.value,commentFormattingPreferences:a.commentFormattingPreferencesSubject$.value})},ioc=function(a,b){b=Object.assign({},a.preferencesSubject$.value.commentFormattingPreferences||{},b);return a.save({commentFormattingPreferences:b}).pipe(z(function(c){return c.commentFormattingPreferences||
{}}))},koc=function(a,b){return a.save({homepagePreferences:b}).pipe(z(a.getHomepagePreferences))};TG.prototype.getDateTimePreferences=function(){var a;return(a=(void 0).dateTimePreferences)!=null?a:pj(HC.dateTimePreferences)};var loc=function(a,b){b=Object.assign({},a.preferencesSubject$.value.collapsed,b);return a.save({collapsed:b})},moc=function(a,b){var c;return(c=a.preferencesSubject$.value.collapsed)==null?void 0:c[b]};
TG.prototype.saveResultsPerPage=function(a){return this.save({resultsPerPage:a}).pipe(z(function(b){var c;return(c=b.resultsPerPage)!=null?c:HC.resultsPerPage}))};var noc=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:[]}))};TG.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 ooc=function(a,b){return a.save({teamWarningPreferences:b}).pipe(z(function(c){var d;return(d=c.teamWarningPreferences)!=null?d:pj(HC.teamWarningPreferences)}))};TG.prototype.getLayoutPreferences=function(a){var b;return(b=a.layoutPreferences)!=null?b:pj(HC.layoutPreferences)};TG.prototype.getHomepagePreferences=function(a){var b;return(b=a.homepagePreferences)!=null?b:pj(HC.homepagePreferences)};var UG=function(a){return pj(a.preferencesSubject$.getValue())};
TG.\u0275fac=function(a){return new (a||TG)};TG.\u0275prov=n({token:TG,factory:TG.\u0275fac,providedIn:"root"});var SG=function(){this.activeSession=r(Bu);this.userPreferencesResources=r(RG);this.preferences$=new Xi(pj(HC));var a=this.preferences$.value,b=this.activeSession.getUserPreferences();b&&(a=Object.assign({},a,b),poc(a));this.preferences$.next(a)};
SG.prototype.save=function(a){var b=this;return this.activeSession.isAnonymous()?Ae(qoc(this,a)):foc(this.userPreferencesResources,a).pipe(z(function(){return qoc(b,a)}))};
var qoc=function(a,b){var c=pj(a.preferences$.value);c=Object.assign({},c,b);poc(c);a.preferences$.next(c);return c},poc=function(a){a.dateTimePreferences&&(a.dateTimePreferences.calendarFormat||(a.dateTimePreferences.calendarFormat=HC.dateTimePreferences.calendarFormat),a.dateTimePreferences.timeFormat||(a.dateTimePreferences.timeFormat=HC.dateTimePreferences.timeFormat),a.dateTimePreferences.sloEtaViewAs||(a.dateTimePreferences.sloEtaViewAs=HC.dateTimePreferences.sloEtaViewAs));!a.notificationPreferences||
a.notificationPreferences.collaboratorPriority&&a.notificationPreferences.collaboratorPriority!=="UNKNOWN_PRIORITY"||(a.notificationPreferences.collaboratorPriority=HC.notificationPreferences.collaboratorPriority)};SG.\u0275fac=function(a){return new (a||SG)};SG.\u0275prov=n({token:SG,factory:SG.\u0275fac,providedIn:"root"});var VG=function(){var a=this;this.teamFridge=r(IG);this.userPrefsManager=r(TG);this.teamUserActivity=r(QG);this.activeSession=r(Bu);this.enableTeamScope=Vt(this.activeSession,"enableTeamScope")&&this.activeSession.isInternalSession();this.destroyed$=new Tf(1);this.scopePrefs$=this.userPrefsManager.preferences$.pipe(z(function(b){var c;return(c=b==null?void 0:b.scopePreferences)!=null?c:{starredTeams:[],starredTriageViews:[]}}));this.starredTeamIds$=sp(this.scopePrefs$.pipe(z(function(b){return b.starredTeams}),
Zf(this.destroyed$)),[]);this.starredTeamIds$.pipe(z(function(b){return b.map(function(c){var d=a.teamFridge.watch(c);return{teamId:c,name$:d.pipe(z(function(e){return(e==null?void 0:e.name)||c})),team$:d}})}));this.starredTriageViews$=this.scopePrefs$.pipe(z(function(b){return b.starredTriageViews}));this.starredTriageViewTriages$=sp(this.starredTriageViews$.pipe(z(function(b){return b.map(function(c){return c})}),Zf(this.destroyed$)),[]);roc(this)},roc=function(a){var b,c,d,e;se(function(f){switch(f.nextAddress){case 1:return a.enableTeamScope?
y(f,Fe(a.scopePrefs$),2):f.return();case 2:b=f.yieldResult;if(b.lastAutomaticStarsUpdate)return f.return();if(!b.starredTeams.length){f.jumpTo(3);break}return y(f,a.save({lastAutomaticStarsUpdate:hva()}),4);case 4:return f.return();case 3:return y(f,Fe(a.teamUserActivity.mostActiveTeams$),5);case 5:return c=f.yieldResult,d=c.slice(0,3).map(function(h){return h.teamId}),e=d.map(function(h){return{teamId:h,triageId:"0"}}),y(f,a.save({lastAutomaticStarsUpdate:hva(),starredTeams:d,starredTriageViews:e}),
0)}})};VG.prototype.save=function(a){var b=this,c;return se(function(d){if(d.nextAddress==1)return y(d,Fe(b.scopePrefs$),2);c=d.yieldResult;return y(d,Fe(b.userPrefsManager.save({scopePreferences:Object.assign({},c,a)})),0)})};VG.prototype.toggle=function(a){return this.starredTeamIds.includes(a)?this.save({starredTeams:this.starredTeamIds.filter(function(b){return b!==a})}):this.save({starredTeams:[].concat(t(this.starredTeamIds),[a])})};
VG.prototype.reset=function(){var a=this;return se(function(b){return y(b,a.save({lastAutomaticStarsUpdate:void 0,starredTeams:[]}),0)})};var soc=function(a,b,c){if(a.starredTriageViews.some(function(e){return e.triageId===b&&e.teamId===c})){var d=[].concat(t(a.starredTriageViews)).filter(function(e){return e.triageId!==b||e.teamId!==c});return a.save({starredTriageViews:d})}return a.save({starredTriageViews:[].concat(t(a.starredTriageViews),[{teamId:c,triageId:b}])})};
da.Object.defineProperties(VG.prototype,{starredTeamIds:{configurable:!0,enumerable:!0,get:function(){return this.starredTeamIds$.value}},starredTriageViews:{configurable:!0,enumerable:!0,get:function(){return this.starredTriageViewTriages$.value}}});VG.\u0275fac=function(a){return new (a||VG)};VG.\u0275prov=n({token:VG,factory:VG.\u0275fac,providedIn:"root"});var WG={displayAs:"Open",queryAtom:"status:open",tooltip:'Issues that match "status:open"'};var uoc=function(a,b,c,d,e,f){var h=this;this.teamId=a;this.triageId=b;this.teamFridge=c;this.issueFullFridge=d;this.issueFridge=e;this.teamExperimentalFieldsFridge=f;this.isLoading$=new Xi(!1);this.setLoading=function(){h.isLoading$.next(!0)};this.setNotLoading=function(){h.isLoading$.next(!1)};this.team$=Ne(function(){return Ae(h.teamId)}).pipe($f(this.setLoading),Yf(function(l){return h.teamFridge.watch(l)}),$f(this.setNotLoading),Vf({refCount:!0,bufferSize:1}));this.teamName$=this.team$.pipe(z(function(l){return(l==
null?void 0:l.name)||h.teamId}));this.teamExperiments$=Ne(function(){return Ae(h.teamId)}).pipe($f(this.setLoading),Yf(function(l){return h.teamExperimentalFieldsFridge.watch(l)}),$f(this.setNotLoading),Vf({refCount:!0,bufferSize:1}));this.triageScope$=this.teamExperiments$.pipe(z(function(l){var q,u;return(l==null?void 0:(q=l.triage.find(function(A){return A.id===Number(h.triageId)}))==null?void 0:(u=q.scope)==null?void 0:u.trim())||"teamid:"+h.teamId+"+"}),Vf({refCount:!0,bufferSize:1}));this.teamTriageViewExperiments$=
this.teamExperiments$.pipe(z(function(l){return l==null?void 0:l.triage.find(function(q){return""+q.id===h.triageId})}));this.triageFieldConfigs$=this.teamTriageViewExperiments$.pipe(z(function(l){var q;return(q=l==null?void 0:l.config)!=null?q:[]}));this.byPhase=new Map(Sgc.map(function(l){return[l,toc(h,l)]}));this.allIssues$=Ie([].concat(t(this.byPhase.values())).map(function(l){return l.issues$})).pipe(z(function(l){return l.flat()}),z(function(l){return Jj(l,function(q){return q.issueId})}),
Vf({refCount:!0,bufferSize:1}));this.triageName$=Ie([this.teamName$,this.teamExperiments$]).pipe(z(function(l){var q=k(l);l=q.next().value;q=q.next().value;q=q==null?void 0:q.triage.find(function(u){return u.id===Number(h.triageId)});return wp(l,q)}))};uoc.prototype.phase=function(a){return this.byPhase.get(a)};
var toc=function(a,b){var c=a.triageScope$.pipe(z(function(q){q=yp(q,"modified:365d");q=yp(q,"-status:duplicate");switch(b){case "NEW":case "CONFIRMED":case "IN_PROGRESS":q=yp(q,"status:open")}return[q,b].join("____b-internal____")}),Pf()),d=c.pipe(z(HGa),$f(a.setLoading),Yf(function(q){return a.issueFridge.watchMany(q)}),$f(a.setNotLoading),Vf({refCount:!0,bufferSize:1})),e=d.pipe(z(function(q){return q.results}),z(function(q){return q.map(function(u){return u.issueId})}),Pf(oj)).pipe(Yf(function(q){return q.length?
Ie(q.map(function(u){return a.issueFridge.watch(u)})):Ae([])}));d=d.pipe(z(function(q){var u;return(u=q.totalSize)!=null?u:0}));e=e.pipe(z(function(q){return IGa(q,b)}),Vf({refCount:!0,bufferSize:1}));var f=e.pipe(z(function(q){return Jua(q).length})),h=Ie([e,f,vhc]).pipe(z(function(q){var u=k(q);q=u.next().value;u=u.next().value;return dya(q,Omb.get(b)).length+u}),z(function(q){return q===0?"":q>=250?"250+":""+q}));d=Ie([d,f]).pipe(z(function(q){var u=k(q);q=u.next().value;u=u.next().value;return q+
u}));var l;return{phase:b,displayName:(l=Xq.get(b))!=null?l:"",query$:c,issues$:e,attentionCount$:h,totalCount$:d}};
uoc.prototype.reload=function(){var a=this,b;return se(function(c){if(c.nextAddress==1)return a.setLoading(),y(c,Promise.all(Kj([].concat(t(a.byPhase.values())).map(function(d){return tp(d.query$)}).filter(ik)).map(function(d){return lic(a.issueFridge,HGa(d))})),2);if(c.nextAddress!=3)return b=c.yieldResult,y(c,Promise.all(Kj(b.flatMap(function(d){return d.results}).map(function(d){return d.issueId})).map(function(d){return a.issueFullFridge.poke(d)})),3);a.setNotLoading();xe(c)})};
var voc=function(a,b,c){return a.triageFieldConfigs$.pipe(z(function(d){var e=[];d=k(d);for(var f=d.next();!f.done;f=d.next())if(f=f.value,f.type==="HOTLIST"){f=f.hotlistConfig;var h=void 0;if(!b||(h=f.phases)!=null&&h.includes(b))h=void 0,(!c||(h=f.subphases)!=null&&h.includes(c))&&e.push(f)}return e}))},XG=function(){this.teamFridge=r(IG);this.issueFullFridge=r(QF);this.issueFridge=r(hF);this.teamExperimentalFieldsFridge=r(HG);this.cache=new Map};
XG.prototype.get=function(a,b){var c=a+":"+b,d;this.cache.set(c,(d=this.cache.get(c))!=null?d:this.create(a,b));return this.cache.get(c)};XG.prototype.create=function(a,b){return new uoc(a,b,this.teamFridge,this.issueFullFridge,this.issueFridge,this.teamExperimentalFieldsFridge)};XG.\u0275fac=function(a){return new (a||XG)};XG.\u0275prov=n({token:XG,factory:XG.\u0275fac,providedIn:"root"});var YG=function(){this.triageDataFactory=r(XG);this.isSidebarOpen$=new Xi(!1);this.internalCurrentIssueIds$=new Xi([]);this.currentIssueIds$=this.internalCurrentIssueIds$.pipe(Pf(oj));this.currentIssueId$=this.currentIssueIds$.pipe(z(function(a){return a[0]}),Pf());this.mode=0};YG.prototype.openSidebar=function(){this.isSidebarOpen$.next(!0)};YG.prototype.closeSidebar=function(){this.isSidebarOpen$.next(!1)};YG.prototype.setIssueIds=function(a){this.internalCurrentIssueIds$.next(a)};
YG.prototype.setMode=function(a){this.mode=a};YG.\u0275fac=function(a){return new (a||YG)};YG.\u0275prov=n({token:YG,factory:YG.\u0275fac,providedIn:"root"});var woc={ACTIVATION:0,SELECTION:1,0:"ACTIVATION",1:"SELECTION"};var ZG=new zd("MatSnackBarData"),xoc=function(){this.politeness="assertive";this.announcementMessage="";this.duration=0;this.data=null;this.horizontalPosition="center";this.verticalPosition="bottom"};var yoc=function(){};yoc.\u0275fac=function(a){return new (a||yoc)};yoc.\u0275dir=Df({type:yoc,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]});var zoc=function(){};zoc.\u0275fac=function(a){return new (a||zoc)};zoc.\u0275dir=Df({type:zoc,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]});var Aoc=function(){};Aoc.\u0275fac=function(a){return new (a||Aoc)};
Aoc.\u0275dir=Df({type:Aoc,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]});var $G=function(a,b){var c=this;this._overlayRef=b;this._afterDismissed=new Uf;this._afterOpened=new Uf;this._onAction=new Uf;this._dismissedByAction=!1;this.containerInstance=a;a._onExit.subscribe(function(){return c._finishDismiss()})};g=$G.prototype;g.dismiss=function(){this._afterDismissed.closed||this.containerInstance.exit();clearTimeout(this._durationTimeoutId)};
g.dismissWithAction=function(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss());clearTimeout(this._durationTimeoutId)};g._dismissAfter=function(a){var b=this;this._durationTimeoutId=setTimeout(function(){return b.dismiss()},Math.min(a,2147483647))};g._open=function(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())};
g._finishDismiss=function(){this._overlayRef.dispose();this._onAction.closed||this._onAction.complete();this._afterDismissed.next({dismissedByAction:this._dismissedByAction});this._afterDismissed.complete();this._dismissedByAction=!1};g.afterDismissed=function(){return this._afterDismissed};g.afterOpened=function(){return this.containerInstance._onEnter};g.onAction=function(){return this._onAction};var aH=function(){this.snackBarRef=r($G);this.data=r(ZG)};aH.prototype.action=function(){this.snackBarRef.dismissWithAction()};da.Object.defineProperties(aH.prototype,{hasAction:{configurable:!0,enumerable:!0,get:function(){return!!this.data.action}}});aH.\u0275fac=function(a){return new (a||aH)};
aH.\u0275cmp=C({type:aH,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(a,b){a&1&&(I(0,"div",0),Q(1),J(),D(2,JGa,3,1,"div",1));a&2&&(B(),R(" ",b.data.message,"\n"),B(),G(b.hasAction?2:-1))},dependencies:[jy,yoc,zoc,Aoc],styles:[".mat-mdc-simple-snack-bar{display:flex}\n"],encapsulation:2,changeDetection:0});var Boc=ri("state",[ui("void, hidden",ti({transform:"scale(0.8)",opacity:0})),ui("visible",ti({transform:"scale(1)",opacity:1})),vi("* => visible",si("150ms cubic-bezier(0, 0, 0.2, 1)")),vi("* => void, * => hidden",si("75ms cubic-bezier(0.4, 0.0, 1, 1)",ti({opacity:0})))]);var Coc=["label"],bH=function(){this._isDisposed=!1;this._ngZone=r(kh);this._elementRef=r(ef);this._changeDetectorRef=r(Ov);this._platform=r(tw);this.snackBarConfig=r(xoc);this._document=r(ii);this._trackedModals=new Set;this._announceDelay=150;this._destroyed=!1;this._onAnnounce=new Uf;this._onExit=new Uf;this._onEnter=new Uf;this._animationState="void";this._liveElementId=r(Ww).getId("mat-snack-bar-container-live-");var a=this.snackBarConfig;this._live=a.politeness!=="assertive"||a.announcementMessage?
a.politeness==="off"?"off":"polite":"assertive";this._platform.FIREFOX&&(this._live==="polite"&&(this._role="status"),this._live==="assertive"&&(this._role="alert"))};Y(bH,Fx);g=bH.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)})};bH.\u0275fac=function(a){return new (a||bH)};
bH.\u0275cmp=C({type:bH,selectors:[["mat-snack-bar-container"]],viewQuery:function(a,b){a&1&&(Rg(Ix,7),Rg(Coc,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&&Cla("@state.done",function(c){return b.onAnimationEnd(c)});a&2&&Eg("@state",b._animationState)},features:[cg],decls:6,vars:3,consts:[["label",""],[1,"mdc-snackbar__surface","mat-mdc-snackbar-surface"],
[1,"mat-mdc-snack-bar-label"],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(a,b){a&1&&(I(0,"div",1)(1,"div",2,0)(3,"div",3),D(4,KGa,0,0,"ng-template",4),J(),K(5,"div"),J()());a&2&&(B(5),jg("aria-live",b._live)("role",b._role)("id",b._liveElementId))},dependencies:[Ix],styles:[".mat-mdc-snack-bar-container{display:flex;align-items:center;justify-content:center;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);margin:8px}.mat-mdc-snack-bar-handset .mat-mdc-snack-bar-container{width:100vw}.mat-mdc-snackbar-surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;padding-left:0;padding-right:8px}[dir=rtl] .mat-mdc-snackbar-surface{padding-right:0;padding-left:8px}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{min-width:344px;max-width:672px}.mat-mdc-snack-bar-handset .mat-mdc-snackbar-surface{width:100%;min-width:0}@media(forced-colors: active){.mat-mdc-snackbar-surface{outline:solid 1px}}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{color:var(--mdc-snackbar-supporting-text-color, var(--mat-sys-inverse-on-surface));border-radius:var(--mdc-snackbar-container-shape, var(--mat-sys-corner-extra-small));background-color:var(--mdc-snackbar-container-color, var(--mat-sys-inverse-surface))}.mdc-snackbar__label{width:100%;flex-grow:1;box-sizing:border-box;margin:0;padding:14px 8px 14px 16px}[dir=rtl] .mdc-snackbar__label{padding-left:8px;padding-right:16px}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-family:var(--mdc-snackbar-supporting-text-font, var(--mat-sys-body-medium-font));font-size:var(--mdc-snackbar-supporting-text-size, var(--mat-sys-body-medium-size));font-weight:var(--mdc-snackbar-supporting-text-weight, var(--mat-sys-body-medium-weight));line-height:var(--mdc-snackbar-supporting-text-line-height, var(--mat-sys-body-medium-line-height))}.mat-mdc-snack-bar-actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled).mat-unthemed{color:var(--mat-snack-bar-button-color, var(--mat-sys-inverse-primary))}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){--mat-text-button-state-layer-color:currentColor;--mat-text-button-ripple-color:currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{opacity:.1}\n"],
encapsulation:2,data:{animation:[Boc]}});/*

 Copyright Google LLC All Rights Reserved.

 Use of this source code is governed by an MIT-style license that can be
 found in the LICENSE file at https://angular.dev/license
 @type {{XSmall: string, Small: string, Medium: string, Large: string, XLarge: string, Handset: string, Tablet: string, Web: string, HandsetPortrait: string, TabletPortrait: string, WebPortrait: string, HandsetLandscape: string, TabletLandscape: string, WebLandscape: string}}
*/
var Doc=new zd("mat-snack-bar-default-options",{providedIn:"root",factory:function(){return new xoc}}),cH=function(){this._overlay=r(Kx);this._live=r(Pw);this._injector=r(Ye);this._breakpointObserver=r(Jw);this._parentSnackBar=r(cH,{optional:!0,skipSelf:!0});this._defaultConfig=r(Doc);this._snackBarRefAtThisLevel=null;this.simpleSnackBarComponent=aH;this.snackBarContainerComponent=bH;this.handsetCssClass="mat-mdc-snack-bar-handset"};g=cH.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=th({parent:b&&b.viewContainerRef&&b.viewContainerRef.injector||this._injector,providers:[{provide:xoc,useValue:b}]});a=a.attach(new Dx(this.snackBarContainerComponent,b.viewContainerRef,c));a.instance.snackBarConfig=b;return a.instance};
g._attach=function(a,b){var c=this,d=Object.assign({},new xoc,this._defaultConfig,b),e=this._createOverlay(d);b=this._attachSnackBarContainer(e,d);var f=new $G(b,e);if(a instanceof Og)f.instance=b.attachTemplatePortal(new Ex(a,null,{$implicit:d.data,snackBarRef:f}));else{var h=this._createInjector(d,f);a=b.attachComponentPortal(new Dx(a,void 0,h));f.instance=a.instance}this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait)").pipe(Zf(e._detachments)).subscribe(function(l){e.overlayElement.classList.toggle(c.handsetCssClass,
l.matches)});d.announcementMessage&&b._onAnnounce.subscribe(function(){c._live.announce(d.announcementMessage,d.politeness)});this._animateSnackBar(f,d);return this._openedSnackBarRef=f};
g._animateSnackBar=function(a,b){var c=this;a.afterDismissed().subscribe(function(){c._openedSnackBarRef==a&&(c._openedSnackBarRef=null);b.announcementMessage&&c._live.clear()});this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(function(){a.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):a.containerInstance.enter();b.duration&&b.duration>0&&a.afterOpened().subscribe(function(){return a._dismissAfter(b.duration)})};
g._createOverlay=function(a){var b=new ux;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"):P8b(c);a.verticalPosition==="top"?c.top("0"):c.bottom("0");b.positionStrategy=c;return this._overlay.create(b)};
g._createInjector=function(a,b){return th({parent:a&&a.viewContainerRef&&a.viewContainerRef.injector||this._injector,providers:[{provide:$G,useValue:b},{provide:ZG,useValue:a.data}]})};da.Object.defineProperties(cH.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}}});
cH.\u0275fac=function(a){return new (a||cH)};cH.\u0275prov=n({token:cH,factory:cH.\u0275fac,providedIn:"root"});var dH=function(){};dH.\u0275fac=function(a){return new (a||dH)};dH.\u0275mod=Cf({type:dH});dH.\u0275inj=p({providers:[cH],imports:[Nx,Jx,ny,Ox,aH,Ox]});var eH=function(){this.snackBar=r(cH)};eH.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(Eoc,b)};eH.\u0275fac=function(a){return new (a||eH)};eH.\u0275prov=n({token:eH,factory:eH.\u0275fac,providedIn:"root"});
var Eoc=function(){this.data=r(ZG);this.snackBarRef=r($G)};Eoc.\u0275fac=function(a){return new (a||Eoc)};
Eoc.\u0275cmp=C({type:Eoc,selectors:[["ng-component"]],standalone:!1,decls:7,vars:3,consts:[[1,"snackbar-content"],[1,"message",3,"innerHtml"],[1,"message"],[1,"actions"],["type","button","mat-button",""],"type button mat-icon-button  aria-label Dismiss".split(" "),["type","button","mat-button","",3,"click"],["type","button","mat-icon-button","","aria-label","Dismiss",3,"click"],["svgIcon","close"]],template:function(a,b){a&1&&(I(0,"div",0),D(1,LGa,1,1,"span",1)(2,MGa,2,1,"span",2),I(3,"div",3),D(4,
NGa,2,1,"button",4)(5,OGa,2,1,"button",4)(6,PGa,2,0,"button",5),J()());a&2&&(B(),G(b.data.htmlMessage?1:2),B(3),G(b.data.actionLabel?4:-1),B(),G(b.data.dismissLabel?5:6))},dependencies:[pB,eB,jy,ly],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 fH=function(){this.snackbar=r(eH)};fH.prototype.dismiss=function(){this.lastSnackbar&&this.lastSnackbar.dismiss()};var jq=function(a,b,c){a.open({message:b,duration:c===void 0?1E4:c})},Foc=function(a,b,c){a.open({message:b,duration:c===void 0?1E4:c})};fH.prototype.showWarning=function(a,b){this.open({message:a,duration:b===void 0?0:b,snackbarType:"ERROR"})};fH.prototype.open=function(a){return this.lastSnackbar=a=this.snackbar.open(a)};fH.\u0275fac=function(a){return new (a||fH)};
fH.\u0275prov=n({token:fH,factory:fH.\u0275fac,providedIn:"root"});var Goc=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,Goc.messageId)};Y(Goc,V);Goc.messageId="b.TimeZoneDataList";var gH=function(){var a=this;this.executor=r(MC);this.activeSession=r(Bu);this.memoized=new Hnc(function(b){a:{var c=k(a.activeSession.session.preload.timezones);for(var d=c.next();!d.done;d=c.next())if(d=d.value,b===d.timeZoneId_){c=d;break a}c=void 0}return c?Ae(c):a.executor.get({url:"action/timezone/"+encodeURIComponent(b),responseConstructor:Al}).pipe(z(Sua))},10)};gH.prototype.get=function(a){return this.memoized.get(a)};
var Hoc=function(a){return a.executor.get({url:"action/timezone",responseConstructor:Goc}).pipe(z(function(b){return b==null?void 0:lk(b,Al,1,Uj()).map(function(c){c=Sua(c);var d=mhc(ohc(c,new Date));return{id:c.timeZoneId_,displayName:"("+d+") - "+c.timeZoneId_,gmt:d}})}))};gH.\u0275fac=function(a){return new (a||gH)};gH.\u0275prov=n({token:gH,factory:gH.\u0275fac,providedIn:"root"});var Ioc=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"},Joc=Ioc;Joc=Ioc;var Koc=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"},Loc=Koc;Loc=Koc;var Poc=function(a){this.pattern_=a;this.parsedPattern_=this.literals_=this.initialLiterals_=null;a=fB;var b=Sec;if(Moc!==a||Noc!==b)Moc=a,Noc=b,Ooc=new gB(1);this.numberFormatter_=Ooc},Moc=null,Noc=null,Ooc=null,Qoc=RegExp("'([{}#].*?)'","g"),Roc=RegExp("''","g");Poc.prototype.format=function(a){return this.format_(a,!1)};
Poc.prototype.format_=function(a,b){if(this.pattern_){this.initialLiterals_=[];var c=Soc(this,this.pattern_);this.parsedPattern_=Toc(this,c);this.pattern_=null}if(!this.parsedPattern_||this.parsedPattern_.length==0)return"";this.literals_=Wa(this.initialLiterals_);c=[];Uoc(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 Uoc=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;var l=a,q=e,u=c[h];u===void 0?q.push("Undefined parameter - "+h):(l.literals_.push(u),q.push(l.buildPlaceholder_(l.literals_)));break;case 2:h=b[f].value;l=a;q=c;u=d;var A=e,F=h.argumentIndex;q[F]===void 0?A.push("Undefined parameter - "+F):(F=h[q[F]],F===void 0&&(F=h.other),Uoc(l,F,q,u,A));break;case 0:h=b[f].value;Voc(a,h,c,Loc,d,e);break;case 1:h=b[f].value,Voc(a,h,c,
Joc,d,e)}},Voc=function(a,b,c,d,e,f){var h=b.argumentIndex,l=b.argumentOffset,q=+c[h];isNaN(q)?f.push("Undefined or invalid parameter - "+h):(l=q-l,h=b[c[h]],h===void 0&&(d=d(Math.abs(l)),h=b[d],h===void 0&&(h=b.other)),b=[],Uoc(a,h,c,e,b),c=b.join(""),e?f.push(c):(a=a.numberFormatter_.format(l),f.push(c.replace(/#/g,a))))},Soc=function(a,b){var c=a.initialLiterals_,d=a.buildPlaceholder_.bind(a);b=b.replace(Roc,function(){c.push("'");return d(c)});return b=b.replace(Qoc,function(e,f){c.push(f);return d(c)})},
Woc=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("{"))}a=a.substring(b);a!=""&&d.push({type:0,value:a});return d},Xoc=/^\s*(\w+)\s*,\s*plural\s*,(?:\s*offset:(\d+))?/,Yoc=/^\s*(\w+)\s*,\s*selectordinal\s*,/,Zoc=/^\s*(\w+)\s*,\s*select\s*,/,Toc=function(a,b){var c=[];b=Woc(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(Xoc.test(f)?0:Yoc.test(f)?1:Zoc.test(f)?2:/^\s*\w+\s*/.test(f)?3:5){case 2:e.type=2;e.value=$oc(a,b[d].value);break;case 0:e.type=0;e.value=apc(a,b[d].value);break;case 1:e.type=1;e.value=bpc(a,b[d].value);break;case 3:e.type=3,e.value=b[d].value}}c.push(e)}return c},$oc=function(a,b){var c="";b=b.replace(Zoc,function(l,q){c=q;return""});var d={};d.argumentIndex=c;b=Woc(b);for(var e=0;e<
b.length;){var f=b[e].value;e++;var h=void 0;1==b[e].type&&(h=Toc(a,b[e].value));d[f.replace(/\s/g,"")]=h;e++}return d},apc=function(a,b){var c="",d=0;b=b.replace(Xoc,function(q,u,A){c=u;A&&(d=parseInt(A,10));return""});var e={};e.argumentIndex=c;e.argumentOffset=d;b=Woc(b);for(var f=0;f<b.length;){var h=b[f].value;f++;var l=void 0;1==b[f].type&&(l=Toc(a,b[f].value));e[h.replace(/\s*(?:=)?(\w+)\s*/,"$1")]=l;f++}return e},bpc=function(a,b){var c="";b=b.replace(Yoc,function(l,q){c=q;return""});var d=
{};d.argumentIndex=c;d.argumentOffset=0;b=Woc(b);for(var e=0;e<b.length;){var f=b[e].value;e++;var h=void 0;1==b[e].type&&(h=Toc(a,b[e].value));d[f.replace(/\s*(?:=)?(\w+)\s*/,"$1")]=h;e++}return d};Poc.prototype.buildPlaceholder_=function(a){return"\ufddf_"+(a.length-1).toString(10)+"_"};var dpc=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=Cjc(b),f=Cjc(c),h=Cjc(d);a=b*(c+d)?" ":"";var l=c*d?" ":"";b=cpc("{COUNT, plural, =0 {}=1 {{TEXT} day}other {{TEXT} days}}",b,e);c=cpc("{COUNT, plural, =0 {}=1 {{TEXT} hour}other {{TEXT} hours}}",c,f);d=cpc("{COUNT, plural, =0 {}=1 {{TEXT} minute}other {{TEXT} minutes}}",d,h);return b+a+c+l+d},cpc=function(a,b,c){return(new Poc(a)).format({COUNT:b,TEXT:c})};var hH=function(){var a=this;this.userPreferencesManager=r(TG);this.timeZonesApi=r(gH);this.cachedFormatters=new GD(100,!0);this.userDatePrefs$=this.userPreferencesManager.dateTimePreferences$;this.userCalendarFormat$=this.userDatePrefs$.pipe(z(function(b){return b.calendarFormat||"MMM d, yyyy"}));this.userTimeFormat$=this.userDatePrefs$.pipe(z(function(b){return b.timeFormat||"hh:mma"}));this.userTimeZone$=this.userDatePrefs$.pipe(Yf(function(b){return b.timeZone?a.timeZonesApi.get(b.timeZone):Ae(void 0)}))};
hH.prototype.format=function(a,b,c){var d=this.cachedFormatters.get(a);d===void 0&&(d=new nE(a),this.cachedFormatters.set(a,d));return b?d.format(c,b):d.format(c)};hH.prototype.formatUserCalendar=function(a){var b=this;return Ie([this.userCalendarFormat$,this.userTimeZone$]).pipe(z(function(c){var d=k(c);c=d.next().value;d=d.next().value;return b.format(c,d,a)}))};
hH.prototype.formatUserTime=function(a){var b=this;return Ie([this.userTimeFormat$,this.userTimeZone$]).pipe(z(function(c){var d=k(c);c=d.next().value;d=d.next().value;return b.format(c,d,a)}))};
var epc=function(a,b){return Ie([a.userCalendarFormat$,a.userTimeFormat$,a.userTimeZone$]).pipe(z(function(c){var d=k(c);c=d.next().value;var e=d.next().value;d=d.next().value;return a.format(c+" "+e,d,b)}))},fpc=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)})):Ae(a.format("yyyy-MM-dd HH:mm:ss Z",void 0,b))},s1a=function(a,b){var c=void 0;c=c===void 0?0:c;b=b===void 0?!1:b;var d=new tj;c&&d.setTime(c);c=new tj;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 $v("m",a)),e=Math.floor((c.getTime()-d.getTime())/864E5));d=new $v(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"};hH.\u0275fac=function(a){return new (a||hH)};hH.\u0275prov=n({token:hH,factory:hH.\u0275fac,providedIn:"root"});var QGa=[["year",31536E3],["month",2592E3],["week",604800],["day",86400],["hour",3600],["minute",60],["second",1]],RGa={year:"yr",month:"mo",week:"w",day:"d",hour:"h",minute:"m",second:"s"};var gpc=[{name:"local",id:""},{name:"UTC",id:"UTC"},{name:"MTV",id:"America/Los_Angeles"}],hpc=Symbol("Dd"),ipc=Symbol("Dd"),iH=function(){var a=this;this.dateFormatter=r(hH);this.paddingLeftPx=5;this.timestampMs$=new Tf(1);this.timestampIso$=this.timestampMs$.pipe(z(function(b){return b?(new Date(b)).toISOString():""}));this.timestampDate$=this.timestampMs$.pipe(z(function(b){if(b!==void 0)return new Date(b)}));this[hpc]=this.timestampDate$.pipe(Yf(function(b){if(b===void 0)return Ae("");var c=b.getTime()/
1E3;switch(a.mode){case "date":return a.dateFormatter.formatUserCalendar(b);case "time":return a.dateFormatter.formatUserTime(b);case "datetime":return epc(a.dateFormatter,b);case "relativepast":return b=zp(c),Ae(b);case "relativepastshort":var d;return Ae((d=zp(c,!0))!=null?d:"");case "relativepasttiny":var e;return Ae((e=zp(c,!0,1))!=null?e:"");default:return Db(a.mode)}}));this[ipc]=this.timestampDate$.pipe(Yf(function(b){return b===void 0?Ae(""):Ie(gpc.map(function(c){return fpc(a.dateFormatter,
b,c.id).pipe(z(function(d){return{formatted:d,tzName:c.name}}))})).pipe(jpc)}));this.vars$=Ie([this[hpc],this[ipc]]).pipe(z(function(b){var c=k(b);b=c.next().value;c=c.next().value;return{formatted:b,title:c}}))};iH.prototype.ngOnInit=function(){};
da.Object.defineProperties(iH.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())}}});iH.\u0275fac=function(a){return new (a||iH)};
iH.\u0275cmp=C({type:iH,selectors:[["b-formatted-date-time"]],inputs:{timestamp:"timestamp",date:"date",mode:"mode",paddingLeftPx:"paddingLeftPx"},standalone:!1,decls:2,vars:3,consts:[[3,"title","style"],[3,"title"]],template:function(a,b){a&1&&(D(0,SGa,3,8,"time",0),S(1,"async"));if(a&2){var c;G((c=U(1,1,b.vars$))?0:-1,c)}},dependencies:[ew],encapsulation:2,changeDetection:0});
var jpc=ne(z(function(a){var b=new Map;a=k(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=b.get(c.formatted);d?d.tzNames.push(c.tzName):(d={formatted:c.formatted,tzNames:[c.tzName]},b.set(c.formatted,d))}return Array.from(b.values()).map(function(e){return e.formatted+" ("+e.tzNames.join("/")+")"}).join("\n")}));var Bp=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Bp,V);g=Bp.prototype;g.getIssueId=function(){return dv(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Qk(this,1)};g.getIssueId_asString=function(){return Wk(this,1)};g.setIssueId=function(a){return jm(this,1,a)};g.getScope=function(){return Kh(this,2)};g.setScope=function(a){return ak(this,2,a)};g.setMaxResults=function(a){return pk(this,5,a)};var Ap=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,Ap.messageId)};Y(Ap,V);Ap.prototype.getIt=function(){return W(this,Bp,1)};Ap.prototype.setIt=function(a){return X(this,Bp,1,a)};Ap.messageId="b.LookupSimilarIssuesRequest";var kpc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(kpc,V);g=kpc.prototype;g.getIssueId=function(){return dv(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Qk(this,1)};g.getIssueId_asString=function(){return Wk(this,1)};g.setIssueId=function(a){return jm(this,1,a)};g.getScore=function(){return tm(this,2)};g.setScore=function(a){return Wm(this,2,a)};var lpc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(lpc,V);var jH=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,jH.messageId)};Y(jH,V);jH.prototype.getIt=function(){return W(this,lpc,3)};jH.prototype.setIt=function(a){return X(this,lpc,3,a)};jH.messageId="b.LookupSimilarIssuesResponse";var mpc={},npc=(mpc[WG.queryAtom]=!0,mpc),kH=function(){this.executor=r(MC)},lH=function(a,b){return a.executor.post({url:"action/lookup_similar_issues",body:TGa(b),responseConstructor:jH}).pipe(z(function(c){var d=lk(c.getIt(),lo,1,Uj()).map($za);c=lk(c.getIt(),kpc,2,Uj()).map(function(e){return e.getScore()});return{similarIssues:d,scores:c}}))},opc=function(a,b,c,d){d=d===void 0?new Set:d;d={maxResults:7,scope:yp.apply(null,[b?xp("-id",b):void 0,xp("modified","365d")].concat(t(Array.from(d).map(function(e){return e.queryAtom})))),
scopeSortOrder:"vote_count desc"};c==null?d.issueId=Number(b):d.keyword=c;return lH(a,d)},ppc=function(a,b,c,d){d=d===void 0?new Set:d;return lH(a,{issueId:Number(b),maxResults:7,scope:yp.apply(null,[xp("-id",b),xp("id",c)].concat(t(Array.from(d).map(function(e){return e.queryAtom}).filter(function(e){return npc[e]}))))})};kH.\u0275fac=function(a){return new (a||kH)};kH.\u0275prov=n({token:kH,factory:kH.\u0275fac,providedIn:"root"});var qpc=wk(function(a){var b,c;return(c=a==null?void 0:(b=a.aggregatedData)==null?void 0:b.voteCount)!=null?c:0},xk),rpc=new Set([WG]),mH=function(){this.issueFullFridge=r(QF);this.issueFridge=r(hF);this.similarIssuesApi=r(kH);this.analytics=r(OF);this.recentlyViewedIds$=this.issueFridge.watchMany({custom:"viewed",pageSize:50}).pipe(z(function(a){return a.results.map(function(b){return b.issueId})}));this.componentIdToRecentCanonicals=new Map},spc=function(a,b,c){c=c===void 0?rpc:c;var d=opc(a.similarIssuesApi,
b,void 0,c),e=Ae([]).pipe(Of(5E3));e=Bha(e,a.recentlyViewedIds$).pipe(Yf(function(f){return ppc(a.similarIssuesApi,b,f,c)}));return Ie([d,e]).pipe(z(function(f){var h=k(f);f=h.next().value;h=h.next().value;return UGa(f,h).similarIssues.slice(0,7)}),If(function(f){nj("IssuePickerSearchService::searchSimilarIssuesById() error: ",f);var h,l,q=(l=f==null?void 0:(h=f.error)==null?void 0:h.status)!=null?l:f==null?void 0:f.status;a.analytics.trackEvent("issue-picker-svc","error","by-id",q);return Ae([])}))},
upc=function(a,b,c,d,e){c=c===void 0?rpc:c;return b.trim()?d==="canonical"?opc(a.similarIssuesApi,e==null?void 0:e.id,b,c).pipe(z(function(f){return f.similarIssues}),If(function(f){nj("IssuePickerSearchService::searchSimilarIssues() error: ",f);var h,l,q=(l=f==null?void 0:(h=f.error)==null?void 0:h.status)!=null?l:f==null?void 0:f.status;a.analytics.trackEvent("issue-picker-svc","error","by-text",q);return Ae([])})):tpc(a,b):Ae(void 0)};
mH.prototype.search=function(a,b,c,d){var e=this;if(!a.trim())return Ae(void 0);if(b==="canonical"){b=vpc(this,a,d);d=wpc(this,d).pipe(Yf(function(h){return e.issueFridge.watchMany({filter:yp(a,xp("-id",c==null?void 0:c.id),xp("status","open"),xp("componentid",h)),pageSize:10})}),z(function(h){return h==null?void 0:h.results}));var f=this.issueFridge.watchMany({filter:yp(a,xp("-id",c==null?void 0:c.id)),pageSize:10,sort:"modified_time:desc"}).pipe(z(function(h){return h==null?void 0:h.results}),Xf([]));
return Ie([b,d,f]).pipe(z(function(h){return Jj(h.flat(),function(l){return l.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(Yf(function(d){return d.length===0?Ae([]):a.issueFridge.watchMany({filter:yp(b,xp("id",d),xp("status","open")),pageSize:10}).pipe(z(function(e){return e==null?void 0:e.results}))})):Ae([])},xpc=function(a,b){if(!b)return Ae([]);if(a.componentIdToRecentCanonicals.has(b))return a.componentIdToRecentCanonicals.get(b);var c=a.issueFridge.watchMany({filter:yp(xp("componentid",
b,!0),xp("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 Kj(d.filter(ik))}),Vf({bufferSize:1,refCount:!0}));a.componentIdToRecentCanonicals.set(b,c);return c},wpc=function(a,b){return b?xpc(a,b).pipe(Yf(function(c){return a.issueFullFridge.watchSet(c)}),z(function(c){return c.map(function(d){return d.snapshot[0].componentId})}),
z(function(c){return[b].concat(t(c.filter(ik)))}),z(Kj),Vf({bufferSize:1,refCount:!0})):Ae([])};mH.\u0275fac=function(a){return new (a||mH)};mH.\u0275prov=n({token:mH,factory:mH.\u0275fac,providedIn:"root"});var nH=function(){};nH.\u0275fac=function(a){return new (a||nH)};nH.\u0275cmp=C({type:nH,selectors:[["b-async-data-placeholder"]],inputs:{isReady:"isReady"},standalone:!1,ngContentSelectors:["*"],decls:2,vars:1,consts:[[1,"animated-loading-bar"]],template:function(a,b){a&1&&(Ig(),D(0,VGa,1,0)(1,WGa,1,0,"div",0));a&2&&G(b.isReady?0:1)},encapsulation:2});var oH=function(){this.mode="datetime";this.isDataLoaded=!1};oH.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};oH.\u0275fac=function(a){return new (a||oH)};
oH.\u0275cmp=C({type:oH,selectors:[["b-issue-created-time-cell"]],inputs:{issue:"issue",mode:"mode"},standalone:!1,features:[rv],decls:2,vars:2,consts:[[1,"nowrap",3,"isReady"],[3,"mode","timestamp","paddingLeftPx"]],template:function(a,b){a&1&&(I(0,"b-async-data-placeholder",0),D(1,XGa,1,3,"b-formatted-date-time",1),J());a&2&&(E("isReady",b.isDataLoaded),B(),G(b.createdTime?1:-1))},dependencies:[nH,iH],encapsulation:2,changeDetection:0});/*

 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(O,T,ea){O.addEventListener?O.addEventListener(T,ea,!1):O.attachEvent("on"+T,ea)}function e(O){if("keypress"==O.type){var T=String.fromCharCode(O.which);O.shiftKey||(T=T.toLowerCase());return T}return u[O.which]?u[O.which]:A[O.which]?A[O.which]:String.fromCharCode(O.which).toLowerCase()}function f(O){return"shift"==O||"ctrl"==O||"alt"==O||"meta"==O}function h(O,T){var ea,ka=[];"+"===O?O=["+"]:(O=O.replace(/\+{2}/g,"+plus"),O=O.split("+"));for(ea=0;ea<O.length;++ea){var oa=
O[ea];H[oa]&&(oa=H[oa]);T&&"keypress"!=T&&F[oa]&&(oa=F[oa],ka.push("shift"));f(oa)&&ka.push(oa)}O=oa;ea=T;if(!ea){if(!N){N={};for(var La in u)95<La&&112>La||u.hasOwnProperty(La)&&(N[u[La]]=La)}ea=N[O]?"keydown":"keypress"}"keypress"==ea&&ka.length&&(ea="keydown");return{key:oa,modifiers:ka,action:ea}}function l(O,T){return null===O||O===b?!1:O===T?!0:l(O.parentNode,T)}function q(O){function T(vb){vb=vb||{};var fc=!1,hc;for(hc in lb)vb[hc]?fc=!0:lb[hc]=0;fc||(Ab=!1)}function ea(vb,fc,hc,tc,bc,De){var mb,
Fb,Sa=[],Zb=hc.type;if(!Pa._callbacks[vb])return[];"keyup"==Zb&&f(vb)&&(fc=[vb]);for(mb=0;mb<Pa._callbacks[vb].length;++mb)if(Fb=Pa._callbacks[vb][mb],(tc||!Fb.seq||lb[Fb.seq]==Fb.level)&&Zb==Fb.action){var nc;(nc="keypress"==Zb&&!hc.metaKey&&!hc.ctrlKey)||(nc=Fb.modifiers,nc=fc.sort().join(",")===nc.sort().join(","));nc&&(nc=tc&&Fb.seq==tc&&Fb.level==De,(!tc&&Fb.combo==bc||nc)&&Pa._callbacks[vb].splice(mb,1),Sa.push(Fb))}return Sa}function ka(vb,fc,hc,tc){Pa.stopCallback(fc,fc.target||fc.srcElement,
hc,tc)||!1!==vb(fc,hc)||(fc.preventDefault?fc.preventDefault():fc.returnValue=!1,fc.stopPropagation?fc.stopPropagation():fc.cancelBubble=!0)}function oa(vb){"number"!==typeof vb.which&&(vb.which=vb.keyCode);var fc=e(vb);if(fc)if("keyup"==vb.type&&Ga===fc)Ga=!1;else{var hc=Pa,tc=hc.handleKey,bc=[];vb.shiftKey&&bc.push("shift");vb.altKey&&bc.push("alt");vb.ctrlKey&&bc.push("ctrl");vb.metaKey&&bc.push("meta");tc.call(hc,fc,bc,vb)}}function La(vb,fc,hc,tc){function bc(Sa){return function(){Ab=Sa;++lb[vb];
clearTimeout(qa);qa=setTimeout(T,1E3)}}function De(Sa){ka(hc,Sa,vb);"keyup"!==tc&&(Ga=e(Sa));setTimeout(T,10)}for(var mb=lb[vb]=0;mb<fc.length;++mb){var Fb=mb+1===fc.length?De:bc(tc||h(fc[mb+1]).action);Ua(fc[mb],Fb,tc,vb,mb)}}function Ua(vb,fc,hc,tc,bc){Pa._directMap[vb+":"+hc]=fc;vb=vb.replace(/\s+/g," ");var De=vb.split(" ");1<De.length?La(vb,De,fc,hc):(hc=h(vb,hc),Pa._callbacks[hc.key]=Pa._callbacks[hc.key]||[],ea(hc.key,hc.modifiers,{type:hc.action},tc,vb,bc),Pa._callbacks[hc.key][tc?"unshift":
"push"]({callback:fc,modifiers:hc.modifiers,action:hc.action,seq:tc,level:bc,combo:vb}))}var Pa=this;O=O||b;if(!(Pa instanceof q))return new q(O);Pa.target=O;Pa._callbacks={};Pa._directMap={};var lb={},qa,Ga=!1,Ha=!1,Ab=!1;Pa._handleKey=function(vb,fc,hc){var tc=ea(vb,fc,hc),bc;fc={};var De=0,mb=!1;for(bc=0;bc<tc.length;++bc)tc[bc].seq&&(De=Math.max(De,tc[bc].level));for(bc=0;bc<tc.length;++bc)tc[bc].seq?tc[bc].level==De&&(mb=!0,fc[tc[bc].seq]=1,ka(tc[bc].callback,hc,tc[bc].combo,tc[bc].seq)):mb||
ka(tc[bc].callback,hc,tc[bc].combo);tc="keypress"==hc.type&&Ha;hc.type!=Ab||f(vb)||tc||T(fc);Ha=mb&&"keydown"==hc.type};Pa._bindMultiple=function(vb,fc,hc){for(var tc=0;tc<vb.length;++tc)Ua(vb[tc],fc,hc)};d(O,"keypress",oa);d(O,"keydown",oa);d(O,"keyup",oa)}if(a){var u={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"},
A={106:"*",107:"+",109:"-",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},F={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"},H={option:"alt",command:"meta","return":"enter",escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},N;for(c=1;20>c;++c)u[111+c]="f"+c;for(c=0;9>=c;++c)u[c+96]=c;q.prototype.bind=
function(O,T,ea){O=O instanceof Array?O:[O];this._bindMultiple.call(this,O,T,ea);return this};q.prototype.unbind=function(O,T){return this.bind.call(this,O,function(){},T)};q.prototype.trigger=function(O,T){if(this._directMap[O+":"+T])this._directMap[O+":"+T]({},O);return this};q.prototype.reset=function(){this._callbacks={};this._directMap={};return this};q.prototype.stopCallback=function(O,T){return-1<(" "+T.className+" ").indexOf(" mousetrap ")||l(T,this.target)?!1:"INPUT"==T.tagName||"SELECT"==
T.tagName||"TEXTAREA"==T.tagName||T.isContentEditable};q.prototype.handleKey=function(){return this._handleKey.apply(this,arguments)};q.addKeycodes=function(O){for(var T in O)O.hasOwnProperty(T)&&(u[T]=O[T]);N=null};q.init=function(){var O=q(b),T;for(T in O)"_"!==T.charAt(0)&&(q[T]=function(ea){return function(){return O[ea].apply(O,arguments)}}(T))};q.init();a.Mousetrap=q;"undefined"!==typeof module&&module.exports&&(module.exports=q);"function"===typeof define&&define.amd&&define(function(){return q})}})("undefined"!==
typeof window?window:null,"undefined"!==typeof window?document:null);var Cp=function(a,b){this.char=a;this.modifiers=b};/*

 The MIT License (MIT)

 Copyright (c) 2016 Nick Richardson

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

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

 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 SOFTWARE.
*/
var ypc=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(ypc.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 zpc=new zd("HotkeyOptions");var pH=function(a){this.options=a;this.hotkeys=[];this.pausedHotkeys=[];this.cheatSheetToggle=new Uf;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 ypc(this.options.cheatSheetHotkey||"?",function(){this.cheatSheetToggle.next()}.bind(this),[],this.options.cheatSheetDescription||
"Show / hide this help menu"));this.options.cheatSheetCloseEsc&&this.add(new ypc("esc",function(){this.cheatSheetToggle.next(!1)}.bind(this),["HOTKEYS-CHEATSHEET"],this.options.cheatSheetCloseEscDescription||"Hide this help menu"))};g=pH.prototype;
g.add=function(a,b){var c=this;if(Array.isArray(a)){for(var d=[],e=k(a),f=e.next();!f.done;f=e.next())d.push(this.add(f.value,b));return d}this.remove(a);this.hotkeys.push(a);this.mousetrap.bind(a.combo,function(h,l){var q=!0;if(h){var u=h.target,A=u.nodeName.toUpperCase();(" "+u.className+" ").indexOf(" mousetrap ")>-1?q=!0:c.preventIn.indexOf(A)>-1&&a.allowIn.map(function(F){return F.toUpperCase()}).indexOf(A)===-1&&(q=!1)}if(q)return a.callback.apply(c,[h,l])},b);return a};
g.remove=function(a){var b=[];if(!a){a=k(this.hotkeys);for(var c=a.next();!c.done;c=a.next())b.push(this.remove(c.value));return b}if(Array.isArray(a)){a=k(a);for(c=a.next();!c.done;c=a.next())b.push(this.remove(c.value));return b}b=this.hotkeys.indexOf(a);return b>-1?(this.hotkeys.splice(b,1),this.mousetrap.unbind(a.combo),a):null};
g.get=function(a){if(!a)return this.hotkeys;if(Array.isArray(a)){var b=[];a=k(a);for(var c=a.next();!c.done;c=a.next())b.push(this.get(c.value));return b}for(b=0;b<this.hotkeys.length;b++)if(this.hotkeys[b].combo.indexOf(a)>-1)return this.hotkeys[b];return null};g.pause=function(a){if(!a)return this.pause(this.hotkeys);if(Array.isArray(a)){var b=[];a=k(a.slice());for(var c=a.next();!c.done;c=a.next())b.push(this.pause(c.value));return b}this.remove(a);this.pausedHotkeys.push(a);return a};
g.unpause=function(a){if(!a)return this.unpause(this.pausedHotkeys);if(Array.isArray(a)){var b=[];a=k(a.slice());for(var c=a.next();!c.done;c=a.next())b.push(this.unpause(c.value));return b}b=this.pausedHotkeys.indexOf(a);return b>-1?(this.add(a),this.pausedHotkeys.splice(b,1)):null};g.reset=function(){this.mousetrap.reset()};pH.\u0275fac=function(a){return new (a||pH)(pd(zpc))};pH.\u0275prov=n({token:pH,factory:pH.\u0275fac});var qH=function(){};qH.\u0275fac=function(a){return new (a||qH)};qH.\u0275mod=Cf({type:qH});qH.\u0275inj=p({imports:[mw]});var Apc;var Bpc="combobox grid group listbox menu menubar radiogroup row rowgroup tablist textbox toolbar tree treegrid".split(" "),rH=function(a,b){b?a.setAttribute("role",b):a.removeAttribute("role")},sH=function(a,b,c){Array.isArray(c)&&(c=c.join(" "));var d="aria-"+b;c===""||c==void 0?(Apc||(c={},Apc=(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=Apc,b in c?a.setAttribute(d,c[b]):a.removeAttribute(d)):a.setAttribute(d,c)},Cpc=function(a,b){a=a.getAttribute("aria-"+b);return a==null||a==void 0?"":String(a)},tH=function(a,b){var c="";b&&(c=b.id);sH(a,"activedescendant",c)},Dpc=function(a,b){sH(a,"label",b)};var uH=function(){var a=r(NF),b=r(TG);Z.call(this);var c=this;this.rawHotkeysService=r(pH);this.ngZone=r(kh);this.enabled=!0;this.paused=!1;this.hotkeyGroups=new Map;this.stopCallback=function(d,e){if(!c.enabled||c.paused)e=!0;else if((" "+e.className+" ").indexOf(" mousetrap ")>-1||e.classList.contains("has-hotkey"))e=!1;else{if(d=e.getAttribute)d=e.getAttribute("role")||null,d=Qa(Bpc,d)>=0;e=d||e.contentEditable==="true"||e.tagName==="INPUT"&&e.type==="text"||e.tagName==="SELECT"||e.tagName==="TEXTAREA"||
Epc(e)?!0:!1}return e};b.keyboardPrefs$.pipe(Zf(this.destroyed$)).subscribe(function(d){d&&(c.enabled=!!d.enableAllHotkeys)});a.routeChangeStart.pipe(Zf(this.destroyed$)).subscribe(function(){c.unpause()});this.rawHotkeysService.mousetrap.stopCallback=this.stopCallback;this.destroyed$.subscribe(function(){Fpc(c)})};Y(uH,Z);uH.\u0275dir=Z.\u0275dir;uH.prototype.isEnabled=function(){return this.enabled};uH.prototype.isPaused=function(){return this.paused};
var vH=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(t(b),t(d)));Gpc(a);return function(){var f=new Set(d.map(function(q){return q.onPress})),h,l=((h=a.hotkeyGroups.get(c))!=null?h:[]).filter(function(q){return!f.has(q.onPress)});l.length?a.hotkeyGroups.set(c,l):a.hotkeyGroups.delete(c);Gpc(a)}},Fpc=function(a){var b=[].concat(t(a.rawHotkeysService.hotkeys));b=k(b);for(var c=b.next();!c.done;c=b.next())a.rawHotkeysService.remove(c.value);
a.rawHotkeysService.reset()},Gpc=function(a){Fpc(a);for(var b=k(a.hotkeyGroups.values()),c=b.next();!c.done;c=b.next()){c=Hpc(a,c.value);c=k(c);for(var d=c.next(),e={};!d.done;e={binding$jscomp$1:void 0},d=c.next())e.binding$jscomp$1=d.value,d=new ypc(bHa(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)}},Epc=function(a){return[].concat(t(document.getElementsByClassName("cdk-overlay-pane"))).filter(function(b){return b.style.position===
"static"}).some(function(b){return b.contains(a)})},Hpc=function(a,b){var c=[];b=k(b);for(var d=b.next(),e={};!d.done;e={hotkeySpec:void 0},d=b.next()){e.hotkeySpec=d.value;d=k(e.hotkeySpec.keys.entries());for(var f=d.next(),h={};!f.done;h={index$jscomp$4548:void 0},f=d.next()){var l=k(f.value);f=l.next().value;l=l.next().value;h.index$jscomp$4548=f;c.push(new Ipc(l,function(q,u){return function(){a.ngZone.run(function(){q.hotkeySpec.onPress(u.index$jscomp$4548)})}}(e,h),e.hotkeySpec.allowIn))}}Mba(c,
function(q,u){return q.strokeLength>u.strokeLength?-1:q.strokeLength<u.strokeLength?1:0});return c};uH.prototype.pause=function(){this.paused=!0};uH.prototype.unpause=function(){this.paused=!1};var Jpc=function(a){return[].concat(t(a.hotkeyGroups.entries())).map(function(b){var c=k(b);b=c.next().value;c=c.next().value;return{title:b,hotkeys:Jj(c,cHa)}})};uH.\u0275fac=function(a){return new (a||uH)};uH.\u0275prov=n({token:uH,factory:uH.\u0275fac,providedIn:"root"});
var Ipc=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 wH=function(){Z.apply(this,arguments);this.hotkeys=r(uH);this.tooltip=r(rB,{optional:!0});this.hotkeyEnabled=!0;this.onHotkey=new aB};Y(wH,Z);wH.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+")"}};
wH.prototype.ngOnInit=function(){var a=this;this.hotkey&&this.hotkeyEnabled&&this.subscriptions.add(vH(this.hotkeys,{title:this.hotkey.category,hotkeys:[Object.assign({},this.hotkey,{onPress:function(b){a.onHotkey.next(b)}})]}))};wH.\u0275fac=function(){var a;return function(b){return(a||(a=ee(wH)))(b||wH)}}();
wH.\u0275dir=Df({type:wH,selectors:[["","hotkey",""]],hostVars:2,hostBindings:function(a,b){a&2&&sg("has-hotkey",b.hotkey)},inputs:{hotkey:"hotkey",hotkeyEnabled:"hotkeyEnabled",matTooltip:"matTooltip"},outputs:{onHotkey:"onHotkey"},standalone:!1,features:[cg,rv]});var Kpc={category:"Edit Issue Page",keys:[Dp("r")],displayAs:"Shift+r",description:"Refresh"},Lpc={category:"Issue List",keys:["u",Dp("r")],displayAs:"u / Shift+r",description:"Refresh search results"},Fp={ASSIGN_ISSUE_TO_DEFAULT_ASSIGNEE:{category:"Edit Issue Page",keys:[Dp("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:Kpc,REFRESH_ISSUE_LIST:Lpc,TOGGLE_LEFT_SIDEBAR:{category:"General",keys:["<"],displayAs:"<",description:"Toggle left sidebar"},TOGGLE_MARK_AS_DUPLICATE:{category:"Edit Issue Page",keys:["d"],displayAs:"d",description:"Mark/unmark issue as duplicate"},
TOGGLE_RIGHT_SIDEBAR:{category:"General",keys:[">"],displayAs:">",description:"Toggle right sidebar"},TOGGLE_STAR:{category:"Edit Issue Page",keys:["s"],displayAs:"s",description:"Star/Unstar this issue"}};var xH=function(){};xH.\u0275fac=function(a){return new (a||xH)};xH.\u0275mod=Cf({type:xH});xH.\u0275inj=p({});var yH=function(){this.activeSession=r(Bu)},Mpc=function(a){var b;if((a=(b=a.activeSession.getTracker())==null?void 0:b.trackerId)&&a!=="0")return[a]},Fr=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:Npc(a,b,!0,c.trackerId,d)):a=Npc(a,b,!1,"",d);return a},Npc=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},ou=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}},Opc=function(a,b){return b?a.filter(function(c){return c.trackerId===b}):a};yH.\u0275fac=function(a){return new (a||yH)};
yH.\u0275prov=n({token:yH,factory:yH.\u0275fac,providedIn:"root"});var zH=function(){this.relayOnly=!1;this.keydown$=new Uf};zH.prototype.onKeydown=function(a){this.relayOnly||this.keydown$.next(a)};da.Object.defineProperties(zH.prototype,{tabindex:{configurable:!0,enumerable:!0,get:function(){return this.relayOnly?null:"0"}}});zH.\u0275fac=function(a){return new (a||zH)};
zH.\u0275dir=Df({type:zH,selectors:[["","onedevKeyEventReceiver",""]],hostVars:1,hostBindings:function(a,b){a&1&&M("keydown",function(c){return b.onKeydown(c)});a&2&&jg("tabindex",b.tabindex)},inputs:{relayOnly:"relayOnly"},standalone:!1});var Ppc=0,AH=function(a){this.keyEventReceiver=a;this.id="onedev-popup-panel-"+Ppc;this.closePanel$=new Tf(1);Ppc++};AH.prototype.processKeydown=function(a){this.keyEventReceiver&&this.keyEventReceiver.keydown$.next(a);var b=a.code;(b==="Escape"||a.altKey&&b==="ArrowUp")&&this.closePanel$.next()};AH.\u0275fac=function(a){return new (a||AH)(hf(zH,8))};
AH.\u0275cmp=C({type:AH,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"],standalone:!1,ngContentSelectors:["*"],decls:1,vars:0,consts:[[1,"onedev-popup-panel","gmat-elevation-z2",3,"keydown"]],template:function(a){a&1&&(Ig(),D(0,fHa,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 BH=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 Dv;this.closed=new Dv;this.isOpen=!1;this.destroyed$=new Tf(1);this.closingActionsSubscription=je.EMPTY};BH.prototype.ngOnDestroy=function(){this.close();this.destroyed$.next();this.destroyed$.complete()};
BH.prototype.open=function(){var a=this;this.disabled||this.isOpen||(this.overlayRef=this.createOverlay(),this.templatePortal=new Ex(this.popupPanel.templateRef,this.viewContainerRef),this.overlayRef.attach(this.templatePortal),this.closingActionsSubscription=Qpc(this).pipe(Zf(this.destroyed$)).subscribe(function(){a.close()}),this.trapFocus(),this.isOpen=!0,this.opened.emit())};
BH.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()}};
BH.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 Qpc=function(a){var b=a.overlayRef.backdropClick(),c=a.overlayRef._detachments,d=a.popupPanel.closePanel$;return a.closeOnBackdropClick?Te(b,c,d):Te(c,d)};
BH.prototype.trapFocus=function(){this.overlayRef&&(this.focusTrap=this.focusTrapFactory.create(this.overlayRef.hostElement),this.focusTrap.focusInitialElement())};
BH.prototype.getPositionStrategy=function(){return xx(yx(zx(Bx(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"}])};BH.prototype.getScrollStrategy=function(){return this.overlay.scrollStrategies.reposition()};
da.Object.defineProperties(BH.prototype,{onedevPopupPanelTriggerFor:{configurable:!0,enumerable:!0,get:function(){return this.popupPanel},set:function(a){this.popupPanel=a}}});BH.\u0275fac=function(a){return new (a||BH)(hf(Kx),hf(ef),hf(Pg),hf(Vw),hf(Ov))};
BH.\u0275dir=Df({type:BH,selectors:[["","onedevPopupPanelTrigger",""]],hostAttrs:["aria-haspopup","true"],hostVars:3,hostBindings:function(a,b){a&2&&jg("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"]});var Rpc=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)};Rpc.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};
Rpc.prototype.destroy=function(){var a=this._textarea;a&&(a.remove(),this._textarea=void 0)};var CH=function(){this._document=r(ii)};CH.prototype.copy=function(a){a=new Rpc(a,this._document);var b=a.copy();a.destroy();return b};CH.\u0275fac=function(a){return new (a||CH)};CH.\u0275prov=n({token:CH,factory:CH.\u0275fac,providedIn:"root"});new zd("CDK_COPY_TO_CLIPBOARD_CONFIG");var DH=function(){Z.apply(this,arguments);var a=this;this.activeSession=r(Bu);this.trackerHelpers=r(yH);this.clipboard=r(CH);this.butterBar=r(fH);this.componentId=0;this.issueTitle=this.issueId="";this.disabled=this.isExternalIssue=!1;this.showCopyOptions=this.enableHotkeys=!0;this.isOpen=!1;this.HOTKEYS=Fp;this.copyIssueId=abc(function(){a.clipboard.copy(a.issueId);jq(a.butterBar,"Issue ID copied",2E3)})};Y(DH,Z);DH.\u0275dir=Z.\u0275dir;var Gp=function(a,b){a.clipboard.copy(b.value);a.trigger.close()};
DH.prototype.getIssueUrl=function(){return this.getAppBaseUrl(this.isExternalIssue)};DH.prototype.getAppBaseUrl=function(a){return Fr(this.trackerHelpers,this.issueId,void 0,a===void 0?!1:a)};DH.\u0275fac=function(){var a;return function(b){return(a||(a=ee(DH)))(b||DH)}}();
DH.\u0275cmp=C({type:DH,selectors:[["b-issue-id-picker"]],viewQuery:function(a,b){a&1&&Rg(BH,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"},standalone:!1,features:[cg],decls:4,vars:6,consts:[["trigger","onedevPopupPanelTrigger"],["contentPanel","onedevPopupPanel"],["issueIdField",""],["issueUrlField",
""],["urlAndTitleField",""],["issueShortlinkField",""],["issueEmailField",""],["todoCommentField",""],["type","button","matTooltip","Copy issue ID","matTooltipShowDelay","750","disableRipple","true",1,"unstyled","square-right","issue-id",3,"click","mousedown"],["svgIcon","copy",1,"icon-xs","invisible"],["type","button","matTooltip","Show links for this issue","onedevPopupPanelTrigger","","disableRipple","true",1,"unstyled","square-left",3,"onHotkey","onedevPopupPanelTriggerOpened","onedevPopupPanelTriggerClosed",
"click","onedevPopupPanelTriggerFor","hotkey","hotkeyEnabled"],["svgIcon","arrow-dropdown",1,"icon-xs"],["role","region"],["cdkTrapFocus","",1,"issue-id-picker-popup",3,"cdkTrapFocusAutoCapture"],[1,"id-details-row"],[3,"htmlFor"],["cdkFocusInitial","","type","text","readonly","","id","id-details-issue-id-field",1,"value",3,"onHotkey","focus","hotkey","hotkeyEnabled"],[1,"muted","shortcut"],["type","button","mat-icon-button","","tabindex","-1","aria-label","Copy ID","matTooltip","Copy ID",1,"copy",
3,"onHotkey","click","hotkey","hotkeyEnabled"],["svgIcon","copy",1,"icon-s"],["type","text","readonly","","id","id-details-issue-url-field",1,"value",3,"onHotkey","focus","hotkey","hotkeyEnabled"],["type","button","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"],["type","button","mat-icon-button",
"","tabindex","-1","aria-label","Copy text","matTooltip","Copy text",1,"copy",3,"onHotkey","click","hotkey","hotkeyEnabled"],["type","text","readonly","","id","id-details-issue-shortlink-field",1,"value",3,"onHotkey","focus","hotkey","hotkeyEnabled"],["type","button","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"],["type","button","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"],["type","button","mat-icon-button","","tabindex","-1","aria-label","Copy comment","matTooltip","Copy comment",1,"copy",3,"onHotkey",
"click","hotkey","hotkeyEnabled"]],template:function(a,b){a&1&&(I(0,"button",8),M("click",function(){return b.copyIssueId()})("mousedown",function(){return b.copyIssueId()}),Q(1),D(2,gHa,1,0,"mat-icon",9),J(),D(3,rHa,6,5));a&2&&(sg("square-right",b.showCopyOptions),jg("aria-label","Copy issue number "+b.issueId),B(),R(" ",b.issueId," "),B(),G(b.showCopyOptions?-1:2),B(),G(b.showCopyOptions?3:-1))},dependencies:[Gw,pB,wH,eB,ly,mB,rB,AH,BH],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 EH=function(){};EH.prototype.ngOnInit=function(){};EH.prototype.onClick=function(a){a.stopPropagation()};EH.\u0275fac=function(a){return new (a||EH)};
EH.\u0275cmp=C({type:EH,selectors:[["b-issue-id-cell"]],hostBindings:function(a,b){a&1&&M("click",function(c){return b.onClick(c)})},inputs:{id:"id"},standalone:!1,decls:2,vars:2,consts:[[3,"isReady"],[3,"issueId","showCopyOptions"]],template:function(a,b){a&1&&(I(0,"b-async-data-placeholder",0),D(1,sHa,1,2,"b-issue-id-picker",1),J());a&2&&(E("isReady",!!b.id),B(),G(b.id?1:-1))},dependencies:[nH,DH],encapsulation:2,changeDetection:0});var FH=function(){},Spc=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""}};FH.\u0275fac=function(a){return new (a||FH)};
FH.\u0275cmp=C({type:FH,selectors:[["b-issue-priority-display"]],inputs:{issuePriority:"issuePriority"},standalone:!1,decls:2,vars:2,consts:[[1,"p-chip",3,"ngClass"]],template:function(a,b){a&1&&(I(0,"span",0),Q(1),J());a&2&&(E("ngClass",Spc(b)),B(),a=b.issuePriority,R(" ",a==null?"--":fhc[a]," "))},dependencies:[aw],styles:["/*# sourceMappingURL=issue_priority_display.css.map */"],changeDetection:0});var GH=function(){this.priority=this.issue=null;this.isDataLoaded=!1};GH.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};GH.\u0275fac=function(a){return new (a||GH)};
GH.\u0275cmp=C({type:GH,selectors:[["b-issue-priority-cell"]],inputs:{issue:"issue"},standalone:!1,features:[rv],decls:2,vars:2,consts:[[1,"nowrap",3,"isReady"],[3,"issuePriority"]],template:function(a,b){a&1&&(I(0,"b-async-data-placeholder",0),D(1,tHa,1,1,"b-issue-priority-display",1),J());a&2&&(E("isReady",b.isDataLoaded),B(),G(b.priority?1:-1))},dependencies:[nH,FH],encapsulation:2,changeDetection:0});var HH=function(){this.changelistFridge=r(jD);this.IssueStatus=qgc;this.STATUS_JS_FULL_TEXT=Nj;this.STATUS_JS_TERSE=chc;this.isFixed=uxa;this.issue=null;this.isDataLoaded=!1};HH.prototype.ngOnChanges=function(){if(this.showPendingFix&&this.issue){var a=this.changelistFridge.peekAllRecords(),b;this.pendingFixCl=xHa(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};
HH.\u0275fac=function(a){return new (a||HH)};
HH.\u0275cmp=C({type:HH,selectors:[["b-issue-status-cell"]],inputs:{issue:"issue",showPendingFix:"showPendingFix"},standalone:!1,features:[rv],decls:3,vars:2,consts:[[3,"isReady"],["target","_blank",3,"class","href","matTooltip"],["target","_blank",3,"href","matTooltip"],[3,"class","title"],[3,"title"]],template:function(a,b){a&1&&(I(0,"b-async-data-placeholder",0),D(1,uHa,2,8,"a",1)(2,wHa,1,1),J());a&2&&(E("isReady",b.isDataLoaded),B(),G(b.pendingFixCl&&!b.isFixed(b.issue)?1:2))},dependencies:[nH,
mB,rB],encapsulation:2,changeDetection:0});var IH=function(){this.userPreferencesManager=r(TG);this.codefont$=this.userPreferencesManager.codeFont$};IH.\u0275fac=function(a){return new (a||IH)};IH.\u0275prov=n({token:IH,factory:IH.\u0275fac,providedIn:"root"});var Tpc=new zd("formatting mode",{factory:function(){return"UNSPECIFIED_FORMATTING_MODE"}});var Upc=["child"],JH=function(){this.codefont=r(IH)};JH.prototype.ngOnInit=function(){};JH.prototype.ngOnChanges=function(){Fl(this.child.nativeElement,this.content.content)};JH.\u0275fac=function(a){return new (a||JH)};
JH.\u0275cmp=C({type:JH,selectors:[["b-literal-format-presenter"]],viewQuery:function(a,b){a&1&&Rg(Upc,7);if(a&2){var c;Vg(c=Wg())&&(b.child=c.first)}},inputs:{content:"content"},standalone:!1,features:[ch([{provide:Tpc,useValue:"LITERAL"}]),rv],decls:3,vars:4,consts:[["child",""],[1,"type-m","child"]],template:function(a,b){a&1&&(K(0,"div",1,0),S(2,"async"));a&2&&sg("codefont",U(2,2,b.codefont.codefont$))},dependencies:[ew],styles:[".child[_ngcontent-%COMP%] { white-space: pre-wrap; }"],changeDetection:0});var KH=function(){var a=this;this.elementRef=r(ef);this.eventType="click";this.clickOutside=new aB;this.clickHandler=function(b){var c=b.target instanceof Element?b.target:b.target instanceof Node?b.target.parentElement:null;c&&(c.closest(".cdk-overlay-container")||a.elementRef.nativeElement.contains(c)||a.clickOutside.emit(b))}};KH.prototype.ngOnInit=function(){document.addEventListener(this.eventType,this.clickHandler,!0)};
KH.prototype.ngOnDestroy=function(){document.removeEventListener(this.eventType,this.clickHandler,!0)};KH.\u0275fac=function(a){return new (a||KH)};KH.\u0275dir=Df({type:KH,selectors:[["","clickOutside",""]],inputs:{eventType:[0,"clickOutsideEvent","eventType"]},outputs:{clickOutside:"clickOutside"},standalone:!1});var LH=function(){};LH.\u0275fac=function(a){return new (a||LH)};LH.\u0275mod=Cf({type:LH});LH.\u0275inj=p({});var MH=new zd("buganizerWindow",{factory:function(){return window}});var NH=function(){this.window=r(MH)};NH.prototype.openInNewTab=function(a){a=Rc(a);Xc(this.window,a,"_blank")};var Ip=function(a,b){b=Rc(b);Xc(a.window,b)},OH=function(a,b){a=a.window.location;b=Sc(b);b!==void 0&&(a.href=b)};NH.\u0275fac=function(a){return new (a||NH)};NH.\u0275prov=n({token:NH,factory:NH.\u0275fac,providedIn:"root"});var PH=function(){};PH.\u0275fac=function(a){return new (a||PH)};PH.\u0275cmp=C({type:PH,selectors:[["b-glue"]],standalone:!1,ngContentSelectors:["*"],decls:2,vars:0,consts:[[1,"no-wrapping"]],template:function(a){a&1&&(Ig(),I(0,"span",0),Jg(1),J())},styles:['.no-wrapping[_ngcontent-%COMP%] {\n  white-space: nowrap;\n}\n\n.no-wrapping[_ngcontent-%COMP%]::after {\n  content: "\\002060"\n}'],changeDetection:0});var Vpc=["el"],QH=function(){this.clipboard=r(CH);this.snackBar=r(cH);this.domSafe=r(NH);this.opened=!1};QH.prototype.getNgContentParentEl=function(){return this.el.nativeElement};QH.prototype.hide=function(){this.opened=!1};QH.prototype.copyToClipboard=function(){this.clipboard.copy(this.originalHref);this.snackBar.open("URL copied","",{duration:2E3})};QH.\u0275fac=function(a){return new (a||QH)};
QH.\u0275cmp=C({type:QH,selectors:[["b-broken-link"]],viewQuery:function(a,b){a&1&&Rg(Vpc,7);if(a&2){var c;Vg(c=Wg())&&(b.el=c.first)}},inputs:{originalHref:"originalHref"},standalone:!1,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"],["type","button","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=v();Ig();I(0,"a",2,0);M("click",function(d){w(c);d.preventDefault();d.stopPropagation();b.opened=!b.opened;return x()});I(2,"b-glue");K(3,"mat-icon",3);J();I(4,"span",null,1);Jg(6);J()();D(7,yHa,11,4,"ng-template",
4)}a&2&&(a=L(1),B(7),E("cdkConnectedOverlayPush",!0)("cdkConnectedOverlayOrigin",a)("cdkConnectedOverlayOpen",b.opened))},dependencies:[pB,Mx,Lx,KH,PH,eB,jy,mB,rB],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 Wpc=new zd("GMAT_CHECKBOX_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var RH=function(a){this.options=a};RH.\u0275fac=function(a){return new (a||RH)(hf(Wpc))};RH.\u0275dir=Df({type:RH,selectors:[["mat-checkbox"]],hostVars:2,hostBindings:function(a,b){a&2&&sg("gmat-mdc-checkbox",!b.options.disableGmatStyle)},standalone:!1});var Xpc=new zd("mat-checkbox-default-options",{providedIn:"root",factory:zHa});var Ypc=["input"],Zpc=["label"],$pc={provide:Ay,useExisting:ld(function(){return SH}),multi:!0},aqc=function(){},bqc=zHa(),SH=function(){this._elementRef=r(ef);this._changeDetectorRef=r(Ov);this._ngZone=r(kh);this._animationMode=r(Gv,{optional:!0});this._options=r(Xpc,{optional:!0});this._animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",
indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"};this.ariaLabel="";this.ariaLabelledby=null;this.labelPosition="after";this.name=null;this.change=new Dv;this.indeterminateChange=new Dv;this._onTouched=function(){};this._currentAnimationClass="";this._currentCheckState=0;this._controlValueAccessorChangeFn=function(){};this._validatorChangeFn=function(){};this._indeterminate=this._disabled=this._checked=!1;r(Aw).load(Ux);
var a=r(new sv("tabindex"),{optional:!0});this._options=this._options||bqc;this.color=this._options.color||bqc.color;this.tabIndex=a==null?0:parseInt(a)||0;this.id=this._uniqueId=r(Ww).getId("mat-mdc-checkbox-");var b,c;this.disabledInteractive=(c=(b=this._options)==null?void 0:b.disabledInteractive)!=null?c:!1};g=SH.prototype;g.focus=function(){this._inputElement.nativeElement.focus()};g._createChangeEvent=function(a){var b=new aqc;b.source=this;b.checked=a;return b};
g._getAnimationTargetElement=function(){var a;return(a=this._inputElement)==null?void 0:a.nativeElement};g.ngOnChanges=function(a){a.required&&this._validatorChangeFn()};g.ngAfterViewInit=function(){this._syncIndeterminate(this._indeterminate)};g._isRippleDisabled=function(){return this.disableRipple||this.disabled};g._onLabelTextChange=function(){this._changeDetectorRef.detectChanges()};g.writeValue=function(a){this.checked=!!a};g.registerOnChange=function(a){this._controlValueAccessorChangeFn=a};
g.registerOnTouched=function(a){this._onTouched=a};g.setDisabledState=function(a){this.disabled=a};g.validate=function(a){return this.required&&a.value!==!0?{required:!0}:null};g.registerOnValidatorChange=function(a){this._validatorChangeFn=a};
g._transitionCheckState=function(a){var b=this._currentCheckState,c=this._getAnimationTargetElement();if(b!==a&&c&&(this._currentAnimationClass&&c.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(b,a),this._currentCheckState=a,this._currentAnimationClass.length>0)){c.classList.add(this._currentAnimationClass);var d=this._currentAnimationClass;this._ngZone.runOutsideAngular(function(){setTimeout(function(){c.classList.remove(d)},
1E3)})}};g._emitChangeEvent=function(){this._controlValueAccessorChangeFn(this.checked);this.change.emit(this._createChangeEvent(this.checked));this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)};g.toggle=function(){this.checked=!this.checked;this._controlValueAccessorChangeFn(this.checked)};
g._handleInputClick=function(){var a=this,b,c=(b=this._options)==null?void 0:b.clickAction;if(!this.disabled&&c!=="noop")this.indeterminate&&c!=="check"&&Promise.resolve().then(function(){a._indeterminate=!1;a.indeterminateChange.emit(a._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent();else if(this.disabled&&this.disabledInteractive||!this.disabled&&c==="noop")this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=
this.indeterminate};g._onInteractionEvent=function(a){a.stopPropagation()};g._onBlur=function(){var a=this;Promise.resolve().then(function(){a._onTouched();a._changeDetectorRef.markForCheck()})};
g._getAnimationClassForCheckStateTransition=function(a,b){if(this._animationMode==="NoopAnimations")return"";switch(a){case 0:if(b===1)return this._animationClasses.uncheckedToChecked;if(b==3)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case 2:return b===1?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case 1:return b===2?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;
case 3:return b===1?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""};g._syncIndeterminate=function(a){var b=this._inputElement;b&&(b.nativeElement.indeterminate=a)};g._onInputClick=function(){this._handleInputClick()};g._onTouchTargetClick=function(){this._handleInputClick();this.disabled||this._inputElement.nativeElement.focus()};g._preventBubblingFromLabel=function(a){a.target&&this._labelElement.nativeElement.contains(a.target)&&a.stopPropagation()};
da.Object.defineProperties(SH.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)}}});SH.\u0275fac=function(a){return new (a||SH)};
SH.\u0275cmp=C({type:SH,selectors:[["mat-checkbox"]],viewQuery:function(a,b){a&1&&(Rg(Ypc,5),Rg(Zpc,5));if(a&2){var c;Vg(c=Wg())&&(b._inputElement=c.first);Vg(c=Wg())&&(b._labelElement=c.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:16,hostBindings:function(a,b){a&2&&(Dg("id",b.id),jg("tabindex",null)("aria-label",null)("aria-labelledby",null),tg(b.color?"mat-"+b.color:"mat-accent"),sg("_mat-animation-noopable",b._animationMode==="NoopAnimations")("mdc-checkbox--disabled",b.disabled)("mat-mdc-checkbox-disabled",
b.disabled)("mat-mdc-checkbox-checked",b.checked)("mat-mdc-checkbox-disabled-interactive",b.disabledInteractive))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],ariaExpanded:[2,"aria-expanded","ariaExpanded",uh],ariaControls:[0,"aria-controls","ariaControls"],ariaOwns:[0,"aria-owns","ariaOwns"],id:"id",required:[2,"required","required",uh],labelPosition:"labelPosition",name:"name",value:"value",
disableRipple:[2,"disableRipple","disableRipple",uh],tabIndex:[2,"tabIndex","tabIndex",function(a){return a==null?void 0:vh(a)}],color:"color",disabledInteractive:[2,"disabledInteractive","disabledInteractive",uh],checked:[2,"checked","checked",uh],disabled:[2,"disabled","disabled",uh],indeterminate:[2,"indeterminate","indeterminate",uh]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[ch([$pc,{provide:By,useExisting:SH,multi:!0}]),dg,rv],ngContentSelectors:["*"],
decls:15,vars:23,consts:[["checkbox",""],["input",""],["label",""],["mat-internal-form-field","",3,"click","labelPosition"],[1,"mdc-checkbox"],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"blur","click","change","checked","indeterminate","disabled","id","required","tabIndex"],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d",
"M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"]],template:function(a,b){if(a&1){var c=v();Ig();I(0,"div",3);M("click",function(d){w(c);return x(b._preventBubblingFromLabel(d))});I(1,"div",4,0)(3,"div",5);M("click",function(){w(c);return x(b._onTouchTargetClick())});J();I(4,"input",6,1);M("blur",function(){w(c);
return x(b._onBlur())})("click",function(){w(c);return x(b._onInputClick())})("change",function(d){w(c);return x(b._onInteractionEvent(d))});J();K(6,"div",7);I(7,"div",8);Ud();I(8,"svg",9);K(9,"path",10);J();Vd();K(10,"div",11);J();K(11,"div",12);J();I(12,"label",13,2);Jg(14);J()()}a&2&&(a=L(2),E("labelPosition",b.labelPosition),B(4),sg("mdc-checkbox--selected",b.checked),E("checked",b.checked)("indeterminate",b.indeterminate)("disabled",b.disabled&&!b.disabledInteractive)("id",b.inputId)("required",
b.required)("tabIndex",b.disabled&&!b.disabledInteractive?-1:b.tabIndex),jg("aria-label",b.ariaLabel||null)("aria-labelledby",b.ariaLabelledby)("aria-describedby",b.ariaDescribedby)("aria-checked",b.indeterminate?"mixed":null)("aria-controls",b.ariaControls)("aria-disabled",b.disabled&&b.disabledInteractive?!0:null)("aria-expanded",b.ariaExpanded)("aria-owns",b.ariaOwns)("name",b.name)("value",b.value),B(7),E("matRippleTrigger",a)("matRippleDisabled",b.disableRipple||b.disabled)("matRippleCentered",
!0),B(),E("for",b.inputId))},dependencies:[Xx,Vx],styles:['.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom;padding:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2);margin:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2)}.mdc-checkbox:hover .mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));background-color:var(--mdc-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox:hover .mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));background-color:var(--mdc-checkbox-unselected-focus-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-focus-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox:active .mdc-checkbox__native-control~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:active .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));background-color:var(--mdc-checkbox-selected-hover-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-hover-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));background-color:var(--mdc-checkbox-selected-focus-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-focus-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));background-color:var(--mdc-checkbox-selected-pressed-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-pressed-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control~.mdc-checkbox__ripple{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox .mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;width:var(--mdc-checkbox-state-layer-size, 40px);height:var(--mdc-checkbox-state-layer-size, 40px);top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2)}.mdc-checkbox--disabled{cursor:default;pointer-events:none}@media(forced-colors: active){.mdc-checkbox--disabled{opacity:.5}}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms cubic-bezier(0.4, 0, 0.6, 1);-webkit-print-color-adjust:exact;color-adjust:exact;border-color:var(--mdc-checkbox-unselected-icon-color, var(--mat-sys-on-surface-variant));top:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2)}.mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color, var(--mat-sys-primary));background-color:var(--mdc-checkbox-selected-icon-color, var(--mat-sys-primary))}.mdc-checkbox--disabled .mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-checkbox__native-control:disabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:disabled:indeterminate~.mdc-checkbox__background{background-color:var(--mdc-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:rgba(0,0,0,0)}.mdc-checkbox:hover .mdc-checkbox__native-control:not(:checked)~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color, var(--mat-sys-on-surface));background-color:rgba(0,0,0,0)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mat-sys-primary));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mat-sys-primary))}.mdc-checkbox__native-control:focus:focus:not(:checked)~.mdc-checkbox__background,.mdc-checkbox__native-control:focus:focus:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mat-sys-on-surface))}.mdc-checkbox__native-control:focus:focus:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:focus:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mat-sys-primary));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mat-sys-primary))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox:hover .mdc-checkbox__native-control~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{background-color:var(--mdc-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:rgba(0,0,0,0)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms cubic-bezier(0.4, 0, 0.6, 1);color:var(--mdc-checkbox-selected-checkmark-color, var(--mat-sys-on-primary))}@media(forced-colors: active){.mdc-checkbox__checkmark{color:CanvasText}}.mdc-checkbox--disabled .mdc-checkbox__checkmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface))}@media(forced-colors: active){.mdc-checkbox--disabled .mdc-checkbox__checkmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:CanvasText}}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1);border-color:var(--mdc-checkbox-selected-checkmark-color, var(--mat-sys-on-primary))}@media(forced-colors: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled .mdc-checkbox__mixedmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface))}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{transition:border-color 90ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms cubic-bezier(0, 0, 0.2, 1),transform 180ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox._mat-animation-noopable .mdc-checkbox *,.mat-mdc-checkbox._mat-animation-noopable .mdc-checkbox *::before{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox .mat-internal-form-field{color:var(--mat-checkbox-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-checkbox-label-text-font, var(--mat-sys-body-medium-font));line-height:var(--mat-checkbox-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-checkbox-label-text-size, var(--mat-sys-body-medium-size));letter-spacing:var(--mat-checkbox-label-text-tracking, var(--mat-sys-body-medium-tracking));font-weight:var(--mat-checkbox-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive{pointer-events:auto}.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive input{cursor:default}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default;color:var(--mat-checkbox-disabled-label-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-checkbox label:empty{display:none}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox .mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox .mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-ripple .mat-ripple-element{opacity:.1}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;left:50%;height:48px;width:48px;transform:translate(-50%, -50%);display:var(--mat-checkbox-touch-target-display, block)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-focus-indicator::before{content:""}\n'],
encapsulation:2,changeDetection:0});var cqc=function(){this.checked=!1;this.disabled=!0;this.startPos="";this.checkedChange=new aB};cqc.\u0275fac=function(a){return new (a||cqc)};
cqc.\u0275cmp=C({type:cqc,selectors:[["b-checkbox-widget"]],inputs:{checked:"checked",disabled:"disabled",startPos:"startPos"},outputs:{checkedChange:"checkedChange"},standalone:!1,decls:1,vars:2,consts:[[3,"change","disabled","checked"]],template:function(a,b){a&1&&(I(0,"mat-checkbox",0),M("change",function(c){return b.checkedChange.emit(c.checked)}),J());a&2&&E("disabled",b.disabled)("checked",b.checked)},dependencies:[RH,SH],encapsulation:2,changeDetection:0});var TH=function(){Z.apply(this,arguments);this.router=r(TA);this.activatedRoute=r(Wi);this.params={};this.routeParams$=new Xi({});this.issueId$=this.routeParams$.pipe(z(function(a){return a.issueId}),Pf())};Y(TH,Z);TH.\u0275dir=Z.\u0275dir;
var eqc=function(a){a.activatedRoute.queryParams.pipe(Zf(a.destroyed$)).subscribe(function(b){dqc(a,a.routeParams$.value,b)});a.router.events.pipe(Ue(function(b){return b instanceof dsa}),z(function(b){return b}),Zf(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);dqc(a,c,b.queryParams)})},fqc=function(a,b){return a.routeParams$.pipe(z(function(c){return c[b]}))},dqc=function(a,b,c){for(var d=k(Object.keys(a.params)),
e=d.next();!e.done;e=d.next())delete a.params[AHa(e.value)];a.routeParams$.next(b);c=k(Object.entries(c));for(d=c.next();!d.done;d=c.next())e=k(d.value),d=e.next().value,e=e.next().value,a.params[AHa(d)]=e;b=k(Object.entries(b));for(c=b.next();!c.done;c=b.next())d=k(c.value),c=d.next().value,d=d.next().value,a.params[AHa(c)]=d};TH.\u0275fac=function(){var a;return function(b){return(a||(a=ee(TH)))(b||TH)}}();TH.\u0275prov=n({token:TH,factory:TH.\u0275fac,providedIn:"root"});var UH=function(){var a=r(NF);Z.call(this);var b=this;this.paramsService=r(TH);this.issueFullFridge=r(QF);this.componentIdOverride$=new Xi(null);this.hotlistIdOverride$=new Xi(null);this.issueIdOverride$=new Xi(null);this.routeIssueId$=this.paramsService.issueId$.pipe(z(CHa),Vf({refCount:!0,bufferSize:1}));this.routeComponentId$=fqc(this.paramsService,"componentId").pipe(Pf());this.routeHotlistId$=fqc(this.paramsService,"hotlistId").pipe(Pf());this.issueId$=Ie([this.issueIdOverride$,this.routeIssueId$]).pipe(z(function(c){var d=
k(c);c=d.next().value;d=d.next().value;return c||d}),z(CHa),Pf(),Vf({refCount:!0,bufferSize:1}));this.componentIdFromIssueId$=this.issueId$.pipe(Yf(function(c){return c?b.issueFullFridge.watch(c):Ae(void 0)}),z(function(c){return c==null?void 0:c.snapshot[0].componentId}));this.componentId$=Ie([this.componentIdOverride$,this.routeComponentId$,this.componentIdFromIssueId$]).pipe(z(function(c){var d=k(c);c=d.next().value;var e=d.next().value;d=d.next().value;return c||e||d}),z(BHa),Pf(),Vf({refCount:!0,
bufferSize:1}));this.hotlistId$=Ie([this.hotlistIdOverride$,this.routeHotlistId$]).pipe(z(function(c){var d=k(c);c=d.next().value;d=d.next().value;return c||d}),z(BHa),Pf(),Vf({refCount:!0,bufferSize:1}));this.subscriptions.add(a.routeChangeSuccess.subscribe(function(){b.componentIdOverride$.next(null);b.hotlistIdOverride$.next(null);b.issueIdOverride$.next(null)}));this.subscriptions.add(this.componentId$.subscribe(function(c){To("dimension4",c)}))};Y(UH,Z);UH.\u0275dir=Z.\u0275dir;
UH.prototype.getComponentId=function(){return this.componentId$};UH.prototype.getIssueId=function(){return this.issueId$};UH.prototype.getHotlistId=function(){return this.hotlistId$};UH.\u0275fac=function(a){return new (a||UH)};UH.\u0275prov=n({token:UH,factory:UH.\u0275fac,providedIn:"root"});var gqc=["el"],IHa=function(a,b){return b.label},VH=function(){Z.apply(this,arguments);this.domSafe=r(NH);this.clipboard=r(CH);this.snackBar=r(cH);this.activeSession=r(Bu);this.contextSensitiveRegistry=r(UH);this.formattingMode=r(Tpc);this.analytics=r(OF);this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.urls=[];this.enableNexusLinking=Vt(this.activeSession,"enableNexusLinking")&&this.activeSession.isInternalSession();this.opened=!1};Y(VH,Z);VH.\u0275dir=Z.\u0275dir;
VH.prototype.ngOnInit=function(){this.urls=[{label:this.originalHref,originalHref:this.originalHref,href:this.href}];if(this.enableNexusLinking){var a=tp(this.contextSensitiveRegistry.getIssueId());a:{var b=this.originalHref;try{var c=null,d=(new URL(b)).hostname;switch(d.includes("analog")?"Analog":d.includes("sherlog")?"Sherlog":d.includes("eye3")?"Third Eye":"PRODUCT_UNSPECIFIED"){case "Analog":var e=new URL("https://nexus.corp.google.com/debug/dashboard");var f=new URL(b);if(f.searchParams.has("text_query")){var h=
f.searchParams.get("text_query");var l=f.searchParams.get("time_range");if(l==null)var q=[];else{var u=l.split("/");if(u.length!==2)q=[];else{var A=(new Date(u[1])).getTime()*1E3;q=[Nh("start_time","=",[(new Date(u[0])).getTime()*1E3]),Nh("end_time","=",[A])]}}f=[];var F=f.concat,H=t(q);q=[];for(var N,O=[],T=k(h.matchAll(/NOT\s\(source_location.file = "(?<file>[^)]+)" source_location.line = "(?<line>[0-9]+)"\)/gm)),ea=T.next();!ea.done;ea=T.next()){var ka=ea.value;O.push(ka[1]+":"+ka[2])}(N=O.length>
0?Nh("site_path","!=",O):null)&&q.push(N);T=void 0;for(var oa=k(h.matchAll(/(?<key>[^\s=!~]+)[\s]*(?<operator>=~?|![=~])[\s]*(?<value>"[^"\\]*(?:\\.[^"\\]*)*"|[^\s"]+)/gm)),La=oa.next();!La.done;La=oa.next()){var Ua=La.value,Pa=Ua[1];var lb=Ua[2];var qa=baa()(lb)?lb:void 0;h=qa;var Ga=Ua[3];if(Ga.length>2&&Ga.charAt(0)==='"'&&Ga.charAt(Ga.length-1)==='"')var Ha=Ga.substring(1,Ga.length-1);else if(Ga==="true"||Ga==="false")Ha=Ga==="true";else{var Ab=Number(Ga);Ha=vca(Ab)?Ab:void 0}ea=Ha;if(h)if(Pa!==
"source_location.file"||h!=="="||N){Pa==="source_location.line"&&T&&h==="="&&(T=Nh("site_path","=",[T.values[0]+":"+ea]));var vb=Dna(Pa);vb&&(vb==="borg_job"&&h==="=~"?q.push(Nh(vb,"=",String(ea).split("|"))):q.push(Nh(vb,h,[xna.includes(vb)?Number(ea):ea])))}else T=Nh("site_path",h,[ea])}T&&q.push(T);var fc=F.call(f,H,t(q))}else{if(f.searchParams.get("storage")==="borglocal")throw Error("eb");F=[];O=k(f.searchParams);for(var hc=O.next();!hc.done;hc=O.next()){var tc=k(hc.value),bc=tc.next().value,
De=tc.next().value,mb=Cna(bc,De,f.searchParams);mb&&F.push.apply(F,t(mb))}fc=F}e.searchParams.set("filters",wna(fc));e.searchParams.set("tab","rdl");c=e;break;case "Sherlog":if(b.startsWith("http://sherlog/_")){var Fb=new URL("https://nexus.corp.google.com/trace/"+b.replace("http://sherlog/_",""));Fb.searchParams.set("action","expandsherlog");c=Fb}else{var Sa=new URL(b);if(Sa.pathname.includes("workflow")){var Zb=Sa.searchParams,nc,hd=(nc=Zb.get("dataid"))!=null?nc:"",Bb=new URL("https://nexus.corp.google.com/trace/"+
hd),vc=Jqa(Sa);Bb.searchParams.set("account",vc.account);Bb.searchParams.set("account_type",vc.accountType);var xc;Bb.searchParams.set("version",(xc=Zb.get("version"))!=null?xc:"");var Ld;Bb.searchParams.set("pipeline",(Ld=Zb.get("config"))!=null?Ld:"");Bb.searchParams.set("trace_type","sherlog");c=Bb}else c=null}break;default:var ud="";break a}a=a!=null?a:void 0;c==null?ud="":(c.searchParams.set("origin_type","buganizer"),a&&(a.startsWith("b/")||(a="b/"+a),c.searchParams.set("origin_id",a)),ud=c.toString());
break a}catch(tf){ud="";break a}ud=void 0}ud&&this.urls.push({label:"Open in Nexus",originalHref:ud,href:ud,icon:"nexus-logo"})}};VH.prototype.ngAfterViewInit=function(){var a=this;this.cdkConnectedOverlay.attach.pipe(Zf(this.destroyed$)).subscribe(function(){var b=a.cdkConnectedOverlay.overlayRef.overlayElement;b&&(b=b.querySelector("a"))&&b.focus()})};VH.prototype.getNgContentParentEl=function(){return this.el.nativeElement};
var hqc=function(a){if(a.urls.length>1)return!0;if(a.formattingMode==="PLAIN")return!1;var b=a.getNgContentParentEl(),c,d;if(d=Lwa(b))a=a.originalHref,b=(c=b.textContent)!=null?c:"",d=b===a||a.startsWith("mailto:")&&a.substring(7)===b?!0:!1;return!d};VH.prototype.hide=function(){this.opened=!1};VH.prototype.copyToClipboard=function(a){this.clipboard.copy(a);this.snackBar.open("URL copied","",{duration:2E3})};
var GHa=function(a,b,c){if(c&&(b.preventDefault(),a=a.cdkConnectedOverlay.overlayRef.overlayElement)){var d=a.querySelector("a");d&&setTimeout(function(){d.focus()})}},FHa=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()})}},iqc=function(a){var b="externalLinkPopup";a.urls.find(function(c){return c.label==="Open in Nexus"})&&(b="externalLinkPopupNexus");
a.analytics.trackEvent("issue","click",b)};VH.\u0275fac=function(){var a;return function(b){return(a||(a=ee(VH)))(b||VH)}}();
VH.\u0275cmp=C({type:VH,selectors:[["b-external-hyperlink-widget"]],viewQuery:function(a,b){a&1&&(Rg(gqc,7),Rg(Mx,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"},standalone:!1,features:[cg],ngContentSelectors:["*"],decls:7,vars:8,consts:[["trigger","cdkOverlayOrigin"],["el",""],["cdkOverlayOrigin","",1,"keep-focus-ring",3,"click","href","rel"],["cdkConnectedOverlay","","cdkConnectedOverlayPanelClass","tooltip-panel",
3,"cdkConnectedOverlayPush","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen"],["svgIcon","link",1,"icon-s"],[1,"b-bubble",3,"clickOutside"],[1,"gmat-caption"],["role","img",1,"icon-s",3,"svgIcon"],["target","_blank",1,"keep-focus-ring",3,"click","keydown","href","rel"],["type","button","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=v();Ig();I(0,"a",2,0);M("click",
function(d){w(c);if(!Hl(d))if(d.preventDefault(),d.stopPropagation(),hqc(b))iqc(b),b.opened=!b.opened;else{var e=b.href;Hl(d)||(d.preventDefault(),d.stopPropagation(),Ip(b.domSafe,e))}return x()});D(2,DHa,2,0,"b-glue");I(3,"span",null,1);Jg(5);J()();D(6,JHa,3,0,"ng-template",3)}a&2&&(a=L(1),sg("needs-contextual-popup",hqc(b)),E("href",b.originalHref,vf)("rel",b.EXTERNAL_LINK_REL),B(2),G(hqc(b)?2:-1),B(4),E("cdkConnectedOverlayPush",!0)("cdkConnectedOverlayOrigin",a)("cdkConnectedOverlayOpen",b.opened))},
dependencies:[pB,Mx,Lx,KH,PH,eB,jy,mB,rB],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 WH=function(){this.session=r(Bu);this.userPreferencesManager=r(TG);this.textDisplayPreferences$=this.userPreferencesManager.preferences$.pipe(z(function(a){return a.textDisplayPreferences?a.textDisplayPreferences:{}}),Pf());this.textDisplayPreferences$.pipe(z(function(a){return a.lastPublishMode==="MARKDOWN_FORMATTING_MODE"}),Pf());this.commentDisplayOverride$=this.textDisplayPreferences$.pipe(z(function(a){return a.commentDisplayOverride}),Pf())};WH.\u0275fac=function(a){return new (a||WH)};
WH.\u0275prov=n({token:WH,factory:WH.\u0275fac,providedIn:"root"});var jqc=new zd("IssueCard");var XH=function(){};XH.prototype.visit=function(){};XH.\u0275fac=function(a){return new (a||XH)};XH.\u0275prov=n({token:XH,factory:XH.\u0275fac,providedIn:"root"});var KHa;var YH=function(a){var b=this;this.elementRef=a;this.eventType="click";this.clickOutside=new Dv;this.clickHandler=function(c){if(c instanceof MouseEvent){var d=c.target;d&&(b.elementRef.nativeElement.contains(d)||b.clickOutside.emit(c))}}};YH.prototype.ngOnInit=function(){this.getRoot().addEventListener(this.eventType,this.clickHandler,!0)};YH.prototype.ngOnDestroy=function(){this.getRoot().removeEventListener(this.eventType,this.clickHandler,!0)};
YH.prototype.getRoot=function(){var a;return(a=LHa(this.elementRef.nativeElement))!=null?a:document};YH.\u0275fac=function(a){return new (a||YH)(hf(ef))};YH.\u0275dir=Df({type:YH,selectors:[["","clickOutside",""]],inputs:{eventType:[0,"clickOutsideEvent","eventType"]},outputs:{clickOutside:"clickOutside"},standalone:!1});var ZH=function(){};ZH.\u0275fac=function(a){return new (a||ZH)};ZH.\u0275mod=Cf({type:ZH});ZH.\u0275inj=p({});var kqc=Symbol("Ed"),lqc=Symbol("Fd"),$H=function(a){this.viewContainerRef=a;this.className="onedev-hovercard";this.onHide=new Dv;this[kqc]=new Tf(1);this.wasTriggeredByKeyboard=!1;this.isOnHover$=new Xi(!1);this.closeHovercard$=new Uf};$H.prototype.ngOnInit=function(){};var mqc=function(a){var b=a[lqc];return b?(b.loaded||(b.viewContainerRef.createEmbeddedView(b.templateRef),b.cdr.detectChanges(),b.loaded=!0),a[kqc].pipe(Of(0))):Ae(void 0)};$H.\u0275fac=function(a){return new (a||$H)(hf(Pg))};
$H.\u0275cmp=C({type:$H,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"],standalone:!1,ngContentSelectors:["*"],decls:1,vars:0,consts:[["cdkTrapFocus","",3,"clickOutside","mouseenter","mouseleave","cdkTrapFocusAutoCapture"]],template:function(a){a&1&&(Ig(),D(0,MHa,2,3,"ng-template"))},dependencies:[Gw,YH],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 aI=function(a,b,c,d){this.templateRef=a;this.viewContainerRef=b;this.cdr=c;this.loaded=!1;d[lqc]=this};aI.\u0275fac=function(a){return new (a||aI)(hf(Og),hf(Pg),hf(Ov),hf($H))};aI.\u0275dir=Df({type:aI,selectors:[["","onedevHovercardLazyBody",""]],standalone:!1});var bI=function(a){this.hovercard=a;this.destroyed$=new Tf(1)};bI.prototype.ngOnDestroy=function(){this.destroyed$.next()};bI.prototype.ngOnInit=function(){this.isHovercardReady$.pipe(Zf(this.destroyed$)).subscribe(this.hovercard[kqc])};
bI.\u0275fac=function(a){return new (a||bI)(hf($H))};bI.\u0275dir=Df({type:bI,selectors:[["","onedevIsHovercardReady",""]],inputs:{isHovercardReady$:[0,"onedevIsHovercardReady","isHovercardReady$"]},standalone:!1});var nqc={originX:"center",originY:"bottom",overlayX:"center",overlayY:"top",offsetY:10},oqc={originX:"start",originY:"center",overlayX:"end",overlayY:"center",offsetX:-10},pqc={originX:"center",originY:"top",overlayX:"center",overlayY:"bottom",offsetY:-10},qqc=[{originX:"end",originY:"center",overlayX:"start",overlayY:"center",offsetX:10},nqc,pqc,{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 cI=function(){this.showDelay=600;this.hideDelay=400;this.position=qqc;this.triggerKey=[]},dI=function(a,b){var c=this;this.overlay=a;this.origin=b;this.waitFor$=void 0;this.enabled=!0;this.config=new cI;this.active=!1;this.hovercardShown$=new Tf(1);this.hide$=new Uf;this.hovercard$=new Xi(null);this.isHovered$=new Xi(!1);this.isKeyboardActivated$=new Xi(!1);this.destroyed$=new Tf(1);this.onDocumentKeyDown=function(e){e.key==="Escape"&&(rqc(c),e.stopPropagation(),e.preventDefault())};sqc(this);
this.handleClose();var d;(d=this.waitFor$)==null||d.pipe(Zf(this.destroyed$)).subscribe()},sqc=function(a){tqc(a).pipe(Zf(a.destroyed$)).subscribe(function(b){(a.active=b)?a.show():a.hide()})};dI.prototype.handleClose=function(){var a=this;this.hovercard$.pipe(Yf(function(b){return(b==null?void 0:b.closeHovercard$)||Bv}),Zf(this.destroyed$)).subscribe(function(){rqc(a)})};dI.prototype.dispose=function(){uqc(this);var a;(a=this.overlayRef)==null||a.dispose();this.destroyed$.next();this.destroyed$.complete()};
dI.prototype.isExpanded=function(){return this.hovercard$.getValue()?this.active:void 0};dI.prototype.toggle=function(a){this.isHovered$.next(a)};var rqc=function(a){a.isKeyboardActivated$.next(!1);a.isHovered$.next(!1);var b;(b=a.hovercard$.getValue())==null||b.isOnHover$.next(!1)};
dI.prototype.show=function(){var a=this;this.enabled&&this.overlayRef&&!this.overlayRef.hasAttached()&&this.hovercard$.getValue()&&(this.hovercard$.getValue().wasTriggeredByKeyboard=this.isKeyboardActivated$.value,mqc(this.hovercard$.getValue()).pipe(Nf(),Zf(this.destroyed$)).subscribe(function(){a.overlayRef&&a.templatePortal&&a.overlayRef.attach(a.templatePortal);document.addEventListener("keydown",a.onDocumentKeyDown);a.hovercardShown$.next()}))};dI.prototype.hide=function(){uqc(this);this.hide$.next()};
var uqc=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()}};dI.prototype.getPositionStrategy=function(){return xx(yx(zx(Bx(this.overlay.position(),this.origin)),8),this.config.position)};
var tqc=function(a){return Ie([vqc(a).pipe(Xf(!1)),a.isKeyboardActivated$]).pipe(Wf(1),z(function(b){var c=k(b);b=c.next().value;c=c.next().value;return b||c}),Yf(function(b){var c;return((c=a.waitFor$)==null?void 0:c.pipe(Mf(b)))||Ae(b)}))},vqc=function(a){return a.hovercard$.pipe(Yf(function(b){return Ie([a.isHovered$,(b==null?void 0:b.isOnHover$)||Ae(!1)]).pipe(z(function(c){var d=k(c);c=d.next().value;d=d.next().value;return c||d}),Zja(function(c){return c?Re(a.config.showDelay):Re(a.config.hideDelay)}),
Zf(a.destroyed$))}))};var wqc={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 zqc=function(a){a=xqc(a);for(var b=2654435769,c=2654435769,d=314159265,e=a.length,f=e,h=0,l=function(){b-=c;b-=d;b^=d>>>13;c-=d;c-=b;c^=b<<8;d-=b;d-=c;d^=c>>>13;b-=c;b-=d;b^=d>>>12;c-=d;c-=b;c^=b<<16;d-=b;d-=c;d^=c>>>5;b-=c;b-=d;b^=d>>>3;c-=d;c-=b;c^=b<<10;d-=b;d-=c;d^=c>>>15};f>=12;f-=12,h+=12)b+=yqc(a,h),c+=yqc(a,h+4),d+=yqc(a,h+8),l();d+=e;switch(f){case 11:d+=a[h+10]<<24;case 10:d+=a[h+9]<<16;case 9:d+=a[h+8]<<8;case 8:c+=a[h+7]<<24;case 7:c+=a[h+6]<<16;case 6:c+=a[h+5]<<8;case 5:c+=a[h+4];
case 4:b+=a[h+3]<<24;case 3:b+=a[h+2]<<16;case 2:b+=a[h+1]<<8;case 1:b+=a[h]}l();return wqc.toString(d)},Aqc=function(a){return a},xqc=function(a){for(var b=[],c=0;c<a.length;c++)b.push(a.charCodeAt(c));return b},yqc=function(a,b){return a[b]+(a[b+1]<<8)+(a[b+2]<<16)+(a[b+3]<<24)};var Bqc=new zd("PRODUCTION_ALLOWLIST",{factory:function(){return"l2YMRd lfR6bb iQyyte LhFyIb aVezrf i1iYkd dVgi5c kMzkoe pglXEd AbcbBc Yc0Dnb cvLsDf UAiaPe NdZs2d elAd5d q7HsZb kbrYBc qX517e KmD3Se w0tcsb qrMtRe".split(" ")}}),Cqc=new zd("STREAMZ_PRODUCT_IDENTIFIER"),Dqc=new zd("STREAMZ_ALLOWLIST_IDENTIFIER"),Eqc=new zd("one_developer_workflow.streamz_service",{providedIn:"root",factory:function(){return r(kh).runOutsideAngular(function(){var a=new wF(1503);a=new Llc(a);a.flushInterval=1E4;a.flushTimer.setInterval(1E4);
return a})}}),eI=function(a,b,c,d,e){this.streamzService=a;this.zone=b;this.oneDeveloperWorkflowUsageMetrics=new qac(this.streamzService);new rac(this.streamzService);new sac(this.streamzService);new tac(this.streamzService);this.productIdentifier=d||window.location.hostname;this.productionAllowlist=c.map(Aqc);this.allowlistIdentifier=zqc(e!=null?e:this.productIdentifier)},Gqc=function(a,b,c){a.zone.runOutsideAngular(function(){Fqc(a)&&a.oneDeveloperWorkflowUsageMetrics.increment(b,a.productIdentifier,
c)})},Fqc=function(a){return a.productionAllowlist.some(function(b){return a.allowlistIdentifier===b})};eI.\u0275fac=function(a){return new (a||eI)(pd(Eqc),pd(kh),pd(Bqc),pd(Cqc,8),pd(Dqc,8))};eI.\u0275prov=n({token:eI,factory:eI.\u0275fac,providedIn:"root"});var Hqc=new zd("onedevHovercardLoggingOn"),fI=function(a,b,c,d,e){var f=this;this.viewContainerRef=c;this.injector=e;this.config=new cI;this.onHovercardShown=new Dv;this.destroyed$=new Tf(1);this.triggerControl=new dI(a,b);this.triggerControl.hovercardShown$.pipe(ag(d||Ae(!1)),Zf(this.destroyed$)).subscribe(function(h){h=k(h);h.next();h=h.next().value;f.onHovercardShown.emit();h&&(f.clientStreamzService||(f.clientStreamzService=f.injector.get(eI)),Gqc(f.clientStreamzService,"hovercardShown",!0))})};
g=fI.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 Ex(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(fI.prototype,{enabled:{configurable:!0,enumerable:!0,set:function(a){this.triggerControl.enabled=a}}});
fI.\u0275fac=function(a){return new (a||fI)(hf(Kx),hf(ef),hf(Pg),hf(Hqc,8),hf(Ye))};
fI.\u0275dir=Df({type:fI,selectors:[["","onedevHovercardTrigger",""]],hostVars:2,hostBindings:function(a,b){a&1&&M("mouseenter",function(){return b.toggle(!0)})("mouseleave",function(){return b.toggle(!1)})("keydown.alt.arrowRight",function(c){var d=b.triggerControl;c.stopPropagation();c.preventDefault();d.isKeyboardActivated$.next(!0)})("keydown",function(c){return b.onKeyDown(c)});a&2&&jg("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"],standalone:!1,features:[rv]});var Iqc=["el"],gI=function(){this.viewContainerRef=r(Pg)};gI.\u0275fac=function(a){return new (a||gI)};gI.\u0275dir=Df({type:gI,selectors:[["","issueCardHost",""]],standalone:!1});var hI=function(){Z.apply(this,arguments);this.issueReferenceResolver=r(XH);this.issueCard=r(jqc,{optional:!0});this.hovercardReady=new Tf(1)};Y(hI,Z);hI.\u0275dir=Z.\u0275dir;hI.prototype.ngOnInit=function(){};
hI.prototype.ngAfterViewInit=function(){var a=this;this.issueCardHost.changes.pipe(Zf(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(Nf(),Zf(a.destroyed$)).subscribe(a.hovercardReady),b.changeDetectorRef.detectChanges())})};
hI.prototype.visit=function(a){if(!Hl(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})}};hI.\u0275fac=function(){var a;return function(b){return(a||(a=ee(hI)))(b||hI)}}();
hI.\u0275cmp=C({type:hI,selectors:[["b-issue-reference-widget"]],viewQuery:function(a,b){a&1&&(Rg(Iqc,7),Rg(gI,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"},standalone:!1,features:[cg],ngContentSelectors:["*"],decls:6,vars:3,consts:[["issueHovercard","onedevHovercard"],["el",""],[3,"onedevIsHovercardReady",4,"onedevHovercardLazyBody"],[1,"keep-focus-ring",3,"click","onedevHovercardTrigger","onedevHovercardActive",
"href"],[3,"onedevIsHovercardReady"],["issueCardHost",""]],template:function(a,b){if(a&1){var c=v();Ig();I(0,"onedev-hovercard",null,0);D(2,NHa,2,1,"div",2);J();I(3,"a",3,1);M("click",function(d){w(c);return x(b.visit(d))});Jg(5);J()}a&2&&(a=L(1),B(3),E("onedevHovercardTrigger",a)("onedevHovercardActive",!!b.issueCard)("href",b.href,vf))},dependencies:[$H,aI,fI,bI,gI],encapsulation:2,changeDetection:0});var Jqc=function(){this.issueId="";this.customFieldMap={};this.currentUserEmail="";this.user=this.originalIssue=null;this.componentId=0;this.type=null;this.status="NEW";this.severity=this.priority=null;this.title="";this.verifierUser=this.verifier=this.assigneeUser=this.assignee=this.reporterUser=this.reporter=null;this.cc=[];this.ccUsers=[];this.collaborators=[];this.collaboratorsUsers=[];this.hotlistId=this.verifiedInVersion=this.targetedToVersion=this.foundInVersion=this.postmortems=this.gerritChanges=
this.changelist=this.blockingIssueId=this.blockedByIssueId=this.duplicateOfIssueId=this.staffing=null;this.customField=[];this.duplicateIssueId=this.deletionReason=this.isDeleted=null;this.isArchived=this.inProd=!1;this.effortEstimate=this.sloSnoozeType=this.sloEndTime=this.sloStartTime=null};
Jqc.prototype.setData=function(a){a=Kqc(a);this.originalIssue=pj(a);var b=pj(this.originalIssue.snapshot[0]);this.issueId=a.issueId;this.assignee=Pj(b.assigneeUser);this.assigneeUser=b.assigneeUser;this.blockedByIssueId=b.blockedByIssueId;this.blockingIssueId=b.blockingIssueId;this.cc=Rj(b.ccUsers)||[];this.ccUsers=b.ccUsers||[];this.collaborators=Rj(b.collaboratorsUsers)||[];this.collaboratorsUsers=b.collaboratorsUsers||[];this.staffing=b.staffing;this.changelist=b.changelist;this.gerritChanges=
b.gerritChanges;this.componentId=b.componentId||0;this.deletionReason=b.deletionReason;this.duplicateIssueId=b.duplicateIssueId;this.duplicateOfIssueId=b.duplicateOfIssueId;this.foundInVersion=b.foundInVersion;this.hotlistId=b.hotlistId;this.inProd=b.inProd;this.isArchived=b.isArchived;this.isDeleted=b.isDeleted;this.postmortems=b.postmortems;this.priority=b.priority;this.reporter=Pj(b.reporterUser);this.reporterUser=b.reporterUser;this.severity=b.severity;this.status=b.status||"NEW";this.targetedToVersion=
b.targetedToVersion;this.title=b.title;this.type=b.type;this.verifiedInVersion=b.verifiedInVersion;this.verifier=Pj(b.verifierUser);this.verifierUser=b.verifierUser;this.sloStartTime=b.sloStartTime;this.sloEndTime=b.sloEndTime;this.sloSnoozeType=b.sloSnoozeType;var c,d;this.effortEstimate=(d=(c=b.effort)==null?void 0:c.estimate)!=null?d:null;this.escalationOwner=a.escalationOwner;this.customField=[];b&&(this.customField=(b.customField||[]).filter(function(e){return e}).map(function(e){return new Lqc(e)}));
c=k(a.customFields);a=c.next();for(d={};!a.done;d={fieldResource:void 0},a=c.next())d.fieldResource=a.value,a=d.fieldResource.allowedValue?d.fieldResource.allowedValue.map(function(e){return{value:e,displayText:e}}):null,(b=this.customField.find(function(e){return function(f){return f.customFieldId===e.fieldResource.customFieldId}}(d)))?(b.type=d.fieldResource.type,b.customFieldName=d.fieldResource.name,b.choices=a,this.customFieldMap[String(d.fieldResource.customFieldId)]=b):(b=new Lqc({customFieldId:d.fieldResource.customFieldId}),
b.type=d.fieldResource.type,b.customFieldName=d.fieldResource.name,b.choices=a,this.customFieldMap[String(d.fieldResource.customFieldId)]=b)};
var Kqc=function(a){a=pj(a);var b=a.snapshot[0];b.status=b.status||"NEW";b.blockingIssueId=b.blockingIssueId||[];b.componentId=b.componentId||0;b.changelist=b.changelist||[];b.gerritChanges=b.gerritChanges||[];b.postmortems=b.postmortems||[];b.blockedByIssueId=b.blockedByIssueId||[];b.foundInVersion=b.foundInVersion||[];b.hotlistId=b.hotlistId||[];b.targetedToVersion=b.targetedToVersion||[];b.verifiedInVersion=b.verifiedInVersion||[];b.customField=b.customField||[];b.deletionReason=b.deletionReason||
null;b.duplicateOfIssueId=b.duplicateOfIssueId||null;b.isDeleted=b.isDeleted||!1;return a},Pqc=function(a){for(var b=[],c=k(Object.values(a.customFieldMap)),d=c.next();!d.done;d=c.next()){d=d.value;var e=Mqc(a,d.customFieldId);if(!oj(e?Fo(e):null,Fo(d))){if(e=Go(d))d.textValue="";b.push({fieldName:"customField",customFieldValue:d,actionType:e?"REMOVE":"ADD"})}}if(a.originalIssue){c=a.originalIssue.snapshot[0];iI(Pj(c.assigneeUser),a.assignee,"assignee",b);iI(c.componentId,a.componentId,"componentId",
b,!0);iI(c.deletionReason,a.deletionReason,"deletionReason",b);iI(c.duplicateOfIssueId,a.duplicateOfIssueId,"duplicateOfIssueId",b);iI(c.inProd,a.inProd,"inProd",b);iI(c.isArchived,a.isArchived,"isArchived",b);iI(c.isDeleted,a.isDeleted,"isDeleted",b);iI(c.priority,a.priority,"priority",b);iI(Pj(c.reporterUser),a.reporter,"reporter",b);iI(c.severity,a.severity,"severity",b);iI(c.status,a.status,"status",b);iI(c.title,a.title,"title",b);iI(c.type,a.type,"type",b);iI(Pj(c.verifierUser),a.verifier,"verifier",
b);var f,h,l,q;iI((l=(f=c.sloStartTime)==null?void 0:f.seconds)!=null?l:null,(q=(h=a.sloStartTime)==null?void 0:h.seconds)!=null?q:null,"sloStartTime",b);var u,A,F,H;iI((F=(u=c.sloEndTime)==null?void 0:u.seconds)!=null?F:null,(H=(A=a.sloEndTime)==null?void 0:A.seconds)!=null?H:null,"sloEndTime",b);iI(c.sloSnoozeType,a.sloSnoozeType,"sloSnoozeType",b);var N,O;iI((O=(N=c.effort)==null?void 0:N.estimate)!=null?O:null,a.effortEstimate,"effortEstimate",b);jI(Rj(c.ccUsers),a.cc,"ccs",b);jI(Rj(c.collaboratorsUsers),
a.collaborators,"collaborators",b);Nqc(c.staffing,a.staffing,b);jI(c.changelist,a.changelist,"changelists",b);Oqc(c.gerritChanges,a.gerritChanges,b);jI(c.blockedByIssueId,a.blockedByIssueId,"blockedByIssueId",b);jI(c.blockingIssueId,a.blockingIssueId,"blockingIssueId",b);jI(c.foundInVersion,a.foundInVersion,"foundInVersion",b);jI(c.targetedToVersion,a.targetedToVersion,"targetedToVersion",b);jI(c.verifiedInVersion,a.verifiedInVersion,"verifiedInVersion",b);jI(c.hotlistId,a.hotlistId,"hotlists",b)}return b.length?
{issueId:a.issueId,actions:b}:null},iI=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))},jI=function(a,b,c,d){var e=Vta(b||[],new Set(a));a=Vta(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"})},Oqc=function(a,b,c){var d=Rwa(b!=null?b:[],a!=null?a:[]);a=Rwa(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"})},Nqc=function(a,b,c){var d,e=OHa((d=b==null?void 0:b.plannedAllocations)!=null?d:[]),f,h=OHa((f=a==null?void 0:a.plannedAllocations)!=null?f:[]);a=[].concat(t(e.entries())).filter(function(l){var q=k(l);l=q.next().value;q=q.next().value;return!h.has(l)||!oj(h.get(l),q)}).map(function(l){l=k(l);l.next();return l.next().value});b=a.map(function(l){if(l.user){var q,
u=(q=l.user.user)==null?void 0:q.emailAddress,A;l=(A=l.allocation)==null?void 0:A.involvement;return""+u+(l?" ("+dxa[l]+")":"")}return l.placeholder?"Placeholder: "+l.placeholder.count+" "+l.placeholder.role:""}).join(", ");d=[].concat(t(h.entries())).filter(function(l){l=k(l).next().value;return!e.has(l)}).map(function(l){l=k(l);l.next();return l.next().value});f=d.map(function(l){if(l.user){var q;return(q=l.user.user)==null?void 0:q.emailAddress}return l.placeholder?"Placeholder: "+l.placeholder.role:
""}).join(", ");a.length&&c.push({fieldName:"staffing",staffingValue:{plannedAllocations:a},actionType:"ADD",value:b});d.length&&c.push({fieldName:"staffing",staffingValue:{plannedAllocations:d},actionType:"REMOVE",value:f})};g=Jqc.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:Db(c,"Unexpected custom field type: "+c)}}};
g.setCustomFieldValue=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.textValue||"";break;case "DATE":this.customFieldMap[a].dateValue=b.dateValue||void 0;break;case "ENUM":this.customFieldMap[a].enumValue=b.enumValue||"";break;case "NUMERIC":this.customFieldMap[a].numericValue=b.numericValue;break;case "REPEATED_TEXT":this.customFieldMap[a].repeatedTextValue=b.repeatedTextValue;
break;case "REPEATED_DATE":this.customFieldMap[a].repeatedDateValue=b.repeatedDateValue;break;case "REPEATED_ENUM":this.customFieldMap[a].repeatedEnumValue=b.repeatedEnumValue;break;case "REPEATED_NUMERIC":this.customFieldMap[a].repeatedNumericValue=b.repeatedNumericValue;break;default:Db(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=Rl[this.status];!this.assignee&&this.originalIssue&&(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.originalIssue&&Pj(this.originalIssue.snapshot[0].verifierUser)&&this.originalIssue.snapshot[0].status==="VERIFIED"&&(this.status="FIXED")};
g.setStatus=function(a){this.status=a;a=Rl[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.setStaffing=function(a){this.staffing=a};
g.setSloEndTime=function(a){this.sloEndTime=a};g.setSloSnoozeType=function(a){this.sloSnoozeType=a};g.setCodeChanges=function(a){var b=[],c=[];a=k(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=Il(d);e?b.push(e):c.push(d)}this.changelist=c!=null?c:[];this.gerritChanges=b!=null?b:[]};
var Mqc=function(a,b){return a.originalIssue?(a=(a.originalIssue.snapshot[0].customField||[]).find(function(c){return c.customFieldId===b}))?a:null:null},$Za=function(a,b){var c=[];b!==void 0&&!b&&a.changelist&&c.push.apply(c,t(a.changelist));a.gerritChanges&&c.push.apply(c,t(a.gerritChanges.filter(function(d){return d.state==="MERGED"}).map(function(d){return Nwa(d)})));return c},Qqc=function(a){return a.gerritChanges?a.gerritChanges.filter(function(b){return b.state==="PENDING"}).map(function(b){return Nwa(b)}):
[]},Lqc=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};
Lqc.prototype.isRepeated=function(){return this.type==null?!1:["REPEATED_TEXT","REPEATED_DATE","REPEATED_ENUM","REPEATED_NUMERIC"].includes(this.type)};var Rqc=new Map([["assignee",function(a,b){a.assigneeUser=Wj(b.assignee)}],["ccs",function(a,b){a.ccUsers=b.cc.map(Wj).filter(ik)}],["changelists",function(a,b){a.changelist=b.changelist}],["hotlists",function(a,b){a.hotlistId=b.hotlistId}],["reporter",function(a,b){a.reporterUser=Wj(b.reporter)}],["verifier",function(a,b){a.verifierUser=Wj(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 kI=function(){this.$window=r(MH)};kI.\u0275fac=function(a){return new (a||kI)};kI.\u0275prov=n({token:kI,factory:kI.\u0275fac,providedIn:"root"});var lI=function(){this.session=r(Bu);this.baseDocumentationUrl=this.session.getDocumentationBaseUrl()},Aq=function(a){return a.session.isInternalSession()?"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/access-control":a.baseDocumentationUrl+"/concepts/access-control"},Sqc=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"};
lI.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 Tqc=function(a){return a.session.isInternalSession()?"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/automation-access":Aq(a)},vMa=function(a){if(!a.session.isExternalSession())return"http://go/buganizer-external-access"},Uqc=function(a){if(!a.session.isExternalSession())return"http://go/buganizer-public-access"},Vqc=function(a){if(a=Uqc(a))return a+"#recommended-access-settings"},Wqc=function(a){if(a=Uqc(a))return a+"#fully-public-component"},Xqc=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"},RKb=function(){return"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/guides/manage-component#enabling-comment-editing"},yu=function(){return"http://go/buganizer-retention"};lI.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 UVb=function(){return"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/custom-fields"};lI.prototype.getDisablingFieldsHelpLink=function(){return UVb()+"#hiding-inherited-fields"};var Yqc=function(a){return a.session.isInternalSession()?"http://go/delete-comments-attachments":""};lI.\u0275fac=function(a){return new (a||lI)};lI.\u0275prov=n({token:lI,factory:lI.\u0275fac,providedIn:"root"});var mI=function(a,b,c){var d=this;this._ref=a;this._containerInstance=c;this._afterOpened=new Uf;this._beforeClosed=new Uf;this._state=0;this.disableClose=b.disableClose;this.id=a.id;a.addPanelClass("mat-mdc-dialog-panel");c._animationStateChanged.pipe(Ue(function(e){return e.state==="opened"}),Nf()).subscribe(function(){d._afterOpened.next();d._afterOpened.complete()});c._animationStateChanged.pipe(Ue(function(e){return e.state==="closed"}),Nf()).subscribe(function(){clearTimeout(d._closeFallbackTimeout);
d._finishDialogClose()});a.overlayRef._detachments.subscribe(function(){d._beforeClosed.next(d._result);d._beforeClosed.complete();d._finishDialogClose()});Te(this.backdropClick(),this.keydownEvents().pipe(Ue(function(e){return e.keyCode===27&&!d.disableClose&&!Xh(e)}))).subscribe(function(e){d.disableClose||(e.preventDefault(),d._closeInteractionType=e.type==="keydown"?"keyboard":"mouse",d.close(void 0))})};
mI.prototype.close=function(a){var b=this;this._result=a;this._containerInstance._animationStateChanged.pipe(Ue(function(c){return c.state==="closing"}),Nf()).subscribe(function(c){b._beforeClosed.next(a);b._beforeClosed.complete();E8b(b._ref.overlayRef);b._closeFallbackTimeout=setTimeout(function(){return b._finishDialogClose()},c.totalTime+100)});this._state=1;this._containerInstance._startExitAnimation()};mI.prototype.afterOpened=function(){return this._afterOpened};var nI=function(a){return a._ref.closed};
g=mI.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):P8b(b);a&&(a.top||a.bottom)?a.top?b.top(a.top):b.bottom(a.bottom):Q8b(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 Zqc=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 oI=function(){this._isDisposed=!1;this._elementRef=r(ef);this._focusTrapFactory=r(Fw);this._interactivityChecker=r(zw);this._ngZone=r(kh);this._overlayRef=r(vx);this._focusMonitor=r(ww);this._renderer=r(Iv);this._platform=r(tw);this._document=r(ii,{optional:!0});this._closeInteractionType=this._elementFocusedBeforeDialogWasOpened=this._focusTrap=null;this._ariaLabelledByQueue=[];this._changeDetectorRef=r(Ov);this._injector=r(Ye);this._isDestroyed=!1;this._config=r(Zqc,{optional:!0})||new Zqc;
this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)};Y(oI,Fx);g=oI.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){var c=this;this._interactivityChecker.isFocusable(a)||(a.tabIndex=-1,this._ngZone.runOutsideAngular(function(){var d=function(){e();f();a.removeAttribute("tabindex")},e=c._renderer.listen(a,"blur",d),f=c._renderer.listen(a,"mousedown",d)}));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||Ze(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=ai();var c=this._elementRef.nativeElement;if(!a||a===this._document.body||a===c||c.contains(a))this._focusMonitor?(xw(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=ai();return a===b||a.contains(b)};g._initializeFocusTrap=function(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=ai()))};
g._handleBackdropClicks=function(){var a=this;this._overlayRef.backdropClick().subscribe(function(){a._config.disableClose&&a._recaptureFocus()})};oI.\u0275fac=function(a){return new (a||oI)};
oI.\u0275cmp=C({type:oI,selectors:[["cdk-dialog-container"]],viewQuery:function(a,b){a&1&&Rg(Ix,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&&jg("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)},features:[cg],
decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(a){a&1&&D(0,PHa,0,0,"ng-template",0)},dependencies:[Ix],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}\n"],encapsulation:2});var $qc=new zd("DialogScrollStrategy",{providedIn:"root",factory:function(){var a=r(Kx);return function(){return a.scrollStrategies.block()}}}),arc=new zd("DialogData"),brc=new zd("DefaultDialogConfig");var crc=function(a,b){var c=this;this.overlayRef=a;this.config=b;this.closed=new Uf;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||Xh(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=crc.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 pI=function(){this._overlay=r(Kx);this._injector=r(Ye);this._defaultOptions=r(brc,{optional:!0});this._parentDialog=r(pI,{optional:!0,skipSelf:!0});this._overlayContainer=r(lx);this._idGenerator=r(Ww);this._openDialogsAtThisLevel=[];this._afterAllClosedAtThisLevel=new Uf;this._afterOpenedAtThisLevel=new Uf;this._ariaHiddenElements=new Map;this._scrollStrategy=r($qc)};g=pI.prototype;
g.open=function(a,b){var c=this;b=Object.assign({},this._defaultOptions||new Zqc,b);b.id=b.id||this._idGenerator.getId("cdk-dialog-");b.id&&this.getDialogById(b.id);var d=this._getOverlayConfig(b);d=this._overlay.create(d);var e=new crc(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(){QHa(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;QHa(this._openDialogsAtThisLevel,function(b){b.config.closeOnDestroy===!1&&a._removeOpenDialog(b,!1)});QHa(this._openDialogsAtThisLevel,function(b){return b.close()});this._afterAllClosedAtThisLevel.complete();this._afterOpenedAtThisLevel.complete();this._openDialogsAtThisLevel=[]};
g._getOverlayConfig=function(a){var b=new ux({positionStrategy:a.positionStrategy||Q8b(P8b(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:Zqc,useValue:c},{provide:crc,useValue:b},{provide:vx,useValue:a}];c.container?typeof c.container==="function"?d=c.container:(d=c.container.type,b.push.apply(b,t(c.container.providers(c)))):d=oI;c=new Dx(d,c.viewContainerRef,th({parent:e||this._injector,providers:b}));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 Ex(a,null,b,e))}else e=this._createInjector(d,b,c,this._injector),a=c.attachComponentPortal(new Dx(a,d.viewContainerRef,e)),b.componentRef=a,b.componentInstance=a.instance};
g._createInjector=function(a,b,c,d){var e,f=a.injector||((e=a.viewContainerRef)==null?void 0:e.injector);e=[{provide:arc,useValue:a.data},{provide:crc,useValue:b}];a.providers&&(typeof a.providers==="function"?e.push.apply(e,t(a.providers(b,a,c))):e.push.apply(e,t(a.providers)));!a.direction||f&&f.get(fx,null,{optional:!0})||e.push({provide:fx,useValue:{value:a.direction,change:Ae()}});return th({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=u8b(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(pI.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}}});pI.\u0275fac=function(a){return new (a||pI)};pI.\u0275prov=n({token:pI,factory:pI.\u0275fac,providedIn:"root"});var qI=function(){};qI.\u0275fac=function(a){return new (a||qI)};qI.\u0275mod=Cf({type:qI});qI.\u0275inj=p({providers:[pI],imports:[Nx,Jx,Qw,Jx]});var drc=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 rI=function(){oI.apply(this,arguments);var a=this;this._animationMode=r(Gv,{optional:!0});this._animationStateChanged=new Dv;this._animationsEnabled=this._animationMode!=="NoopAnimations";this._actionSectionCount=0;this._hostElement=this._elementRef.nativeElement;var b;this._enterAnimationDuration=this._animationsEnabled?(b=SHa(this._config.enterAnimationDuration))!=null?b:150:0;var c;this._exitAnimationDuration=this._animationsEnabled?(c=SHa(this._config.exitAnimationDuration))!=null?c:75:0;
this._animationTimer=null;this._finishDialogOpen=function(){a._clearAnimationClasses();a._openAnimationDone(a._enterAnimationDuration)};this._finishDialogClose=function(){a._clearAnimationClasses();a._animationStateChanged.emit({state:"closed",totalTime:a._exitAnimationDuration})}};Y(rI,oI);g=rI.prototype;g._contentAttached=function(){oI.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(){oI.prototype.ngOnDestroy.call(this);this._animationTimer!==null&&clearTimeout(this._animationTimer)};
g.attachComponentPortal=function(a){a=oI.prototype.attachComponentPortal.call(this,a);a.location.nativeElement.classList.add("mat-mdc-dialog-component-host");return a};rI.\u0275fac=function(){var a;return function(b){return(a||(a=ee(rI)))(b||rI)}}();
rI.\u0275cmp=C({type:rI,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(a,b){a&2&&(Dg("id",b._config.id),jg("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),sg("_mat-animation-noopable",!b._animationsEnabled)("mat-mdc-dialog-container-with-actions",
b._actionSectionCount>0))},features:[cg],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(a){a&1&&(I(0,"div",0)(1,"div",1),D(2,RHa,0,0,"ng-template",2),J()())},dependencies:[Ix],styles:['.mat-mdc-dialog-container{width:100%;height:100%;display:block;box-sizing:border-box;max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;outline:0}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 560px);min-width:var(--mat-dialog-container-min-width, 280px)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, calc(100vw - 32px))}}.mat-mdc-dialog-inner-container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;transition:opacity linear var(--mat-dialog-transition-duration, 0ms);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mdc-dialog--closing .mat-mdc-dialog-inner-container{transition:opacity 75ms linear;transform:none}.mdc-dialog--open .mat-mdc-dialog-inner-container{opacity:1}._mat-animation-noopable .mat-mdc-dialog-inner-container{transition:none}.mat-mdc-dialog-surface{display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;width:100%;height:100%;position:relative;overflow-y:auto;outline:0;transform:scale(0.8);transition:transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;box-shadow:var(--mat-dialog-container-elevation-shadow, none);border-radius:var(--mdc-dialog-container-shape, var(--mat-sys-corner-extra-large, 4px));background-color:var(--mdc-dialog-container-color, var(--mat-sys-surface, white))}[dir=rtl] .mat-mdc-dialog-surface{text-align:right}.mdc-dialog--open .mat-mdc-dialog-surface,.mdc-dialog--closing .mat-mdc-dialog-surface{transform:none}._mat-animation-noopable .mat-mdc-dialog-surface{transition:none}.mat-mdc-dialog-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-dialog-title{display:block;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:var(--mat-dialog-headline-padding, 6px 24px 13px)}.mat-mdc-dialog-title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mat-mdc-dialog-title{text-align:right}.mat-mdc-dialog-container .mat-mdc-dialog-title{color:var(--mdc-dialog-subhead-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mdc-dialog-subhead-font, var(--mat-sys-headline-small-font, inherit));line-height:var(--mdc-dialog-subhead-line-height, var(--mat-sys-headline-small-line-height, 1.5rem));font-size:var(--mdc-dialog-subhead-size, var(--mat-sys-headline-small-size, 1rem));font-weight:var(--mdc-dialog-subhead-weight, var(--mat-sys-headline-small-weight, 400));letter-spacing:var(--mdc-dialog-subhead-tracking, var(--mat-sys-headline-small-tracking, 0.03125em))}.mat-mdc-dialog-content{display:block;flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;max-height:65vh}.mat-mdc-dialog-content>:first-child{margin-top:0}.mat-mdc-dialog-content>:last-child{margin-bottom:0}.mat-mdc-dialog-container .mat-mdc-dialog-content{color:var(--mdc-dialog-supporting-text-color, var(--mat-sys-on-surface-variant, rgba(0, 0, 0, 0.6)));font-family:var(--mdc-dialog-supporting-text-font, var(--mat-sys-body-medium-font, inherit));line-height:var(--mdc-dialog-supporting-text-line-height, var(--mat-sys-body-medium-line-height, 1.5rem));font-size:var(--mdc-dialog-supporting-text-size, var(--mat-sys-body-medium-size, 1rem));font-weight:var(--mdc-dialog-supporting-text-weight, var(--mat-sys-body-medium-weight, 400));letter-spacing:var(--mdc-dialog-supporting-text-tracking, var(--mat-sys-body-medium-tracking, 0.03125em))}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px 0)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0);padding:var(--mat-dialog-actions-padding, 16px 24px);justify-content:var(--mat-dialog-actions-alignment, flex-end)}@media(forced-colors: active){.mat-mdc-dialog-actions{border-top-color:CanvasText}}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}.mat-mdc-dialog-component-host{display:contents}\n'],
encapsulation:2});var sI=new zd("MatMdcDialogData"),erc=new zd("mat-mdc-dialog-default-options"),frc=new zd("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:function(){var a=r(Kx);return function(){return a.scrollStrategies.block()}}}),tI=function(){this._overlay=r(Kx);this._defaultOptions=r(erc,{optional:!0});this._scrollStrategy=r(frc);this._parentDialog=r(tI,{optional:!0,skipSelf:!0});this._idGenerator=r(Ww);this._dialog=r(pI);this._openDialogsAtThisLevel=[];this._afterAllClosedAtThisLevel=new Uf;this._afterOpenedAtThisLevel=
new Uf;this.dialogConfigClass=drc;this._dialogRefConstructor=mI;this._dialogContainerType=rI;this._dialogDataToken=sI};g=tI.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 drc,b);b.id=b.id||this._idGenerator.getId("mat-mdc-dialog-");b.scrollStrategy=b.scrollStrategy||this._scrollStrategy();a=this._dialog.open(a,Object.assign({},b,{positionStrategy:Q8b(P8b(this._overlay.position().global())),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:function(){return[{provide:c.dialogConfigClass,useValue:b},{provide:Zqc,useValue:b}]}},
templateContext:function(){return{dialogRef:d}},providers:function(e,f,h){d=new c._dialogRefConstructor(e,b,h);var l;d.updatePosition((l=b)==null?void 0:l.position);return[{provide:c._dialogContainerType,useValue:h},{provide:c._dialogDataToken,useValue:f.data},{provide:c._dialogRefConstructor,useValue:d}]}}));d.componentRef=a.componentRef;d.componentInstance=a.componentInstance;this.openDialogs.push(d);this.afterOpened.next(d);nI(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(tI.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}}});tI.\u0275fac=function(a){return new (a||tI)};tI.\u0275prov=n({token:tI,factory:tI.\u0275fac,providedIn:"root"});var uI=function(){this.dialogRef=r(mI,{optional:!0});this._elementRef=r(ef);this._dialog=r(tI);this.type="button"};uI.prototype.ngOnInit=function(){this.dialogRef||(this.dialogRef=THa(this._elementRef,this._dialog.openDialogs))};uI.prototype.ngOnChanges=function(a){if(a=a._matDialogClose||a._matDialogCloseResult)this.dialogResult=a.currentValue};
uI.prototype._onButtonClick=function(a){var b=this.dialogRef,c=this.dialogResult;b._closeInteractionType=a.screenX===0&&a.screenY===0?"keyboard":"mouse";b.close(c)};uI.\u0275fac=function(a){return new (a||uI)};
uI.\u0275dir=Df({type:uI,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(a,b){a&1&&M("click",function(c){return b._onButtonClick(c)});a&2&&jg("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"],features:[rv]});
var vI=function(){this._dialogRef=r(mI,{optional:!0});this._elementRef=r(ef);this._dialog=r(tI)};vI.prototype.ngOnInit=function(){var a=this;this._dialogRef||(this._dialogRef=THa(this._elementRef,this._dialog.openDialogs));this._dialogRef&&Promise.resolve().then(function(){a._onAdd()})};vI.prototype.ngOnDestroy=function(){var a=this,b;((b=this._dialogRef)==null?0:b._containerInstance)&&Promise.resolve().then(function(){a._onRemove()})};vI.\u0275fac=function(a){return new (a||vI)};vI.\u0275dir=Df({type:vI});
var wI=function(){vI.apply(this,arguments);this.id=r(Ww).getId("mat-mdc-dialog-title-")};Y(wI,vI);wI.prototype._onAdd=function(){var a,b;(a=this._dialogRef._containerInstance)==null||(b=a._addAriaLabelledBy)==null||b.call(a,this.id)};wI.prototype._onRemove=function(){var a,b,c;(a=this._dialogRef)==null||(b=a._containerInstance)==null||(c=b._removeAriaLabelledBy)==null||c.call(b,this.id)};wI.\u0275fac=function(){var a;return function(b){return(a||(a=ee(wI)))(b||wI)}}();
wI.\u0275dir=Df({type:wI,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(a,b){a&2&&Dg("id",b.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],features:[cg]});var xI=function(){};xI.\u0275fac=function(a){return new (a||xI)};
xI.\u0275dir=Df({type:xI,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],features:[function(a){var b=function(c){var d=Array.isArray(a);c.hostDirectives===null?(c.findHostDirectiveDefs=Gka,c.hostDirectives=d?a.map(Fka):[a]):d?c.hostDirectives.unshift.apply(c.hostDirectives,t(a.map(Fka))):c.hostDirectives.unshift(a)};b.ngInherit=!0;return b}([nx])]});var yI=function(){vI.apply(this,arguments)};
Y(yI,vI);yI.prototype._onAdd=function(){var a,b;(a=this._dialogRef._containerInstance)==null||(b=a._updateActionSectionCount)==null||b.call(a,1)};yI.prototype._onRemove=function(){var a,b;(a=this._dialogRef._containerInstance)==null||(b=a._updateActionSectionCount)==null||b.call(a,-1)};yI.\u0275fac=function(){var a;return function(b){return(a||(a=ee(yI)))(b||yI)}}();
yI.\u0275dir=Df({type:yI,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&&sg("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"},features:[cg]});var zI=function(){};zI.\u0275fac=function(a){return new (a||zI)};zI.\u0275mod=Cf({type:zI});zI.\u0275inj=p({providers:[tI],imports:[qI,Nx,Jx,Ox,Ox]});var grc=function(){this.dialogRef=r(mI);this.data=r(sI);this.confirmButtonTheme=this.data.isDestructive?"warn":"primary";var a;this.cancelButtonText=(a=this.data.cancelButtonText)!=null?a:"Cancel";var b;this.confirmButtonText=(b=this.data.confirmButtonText)!=null?b:"Confirm";var c;this.showCancelButton=(c=this.data.showCancelButton)!=null?c:!0};grc.\u0275fac=function(a){return new (a||grc)};
grc.\u0275cmp=C({type:grc,selectors:[["b-confirmation-dialog"]],standalone:!1,decls:7,vars:5,consts:[["mat-dialog-title",""],["mat-dialog-content","",3,"innerHTML"],["mat-dialog-actions",""],["type","button","mat-button","",1,"medium"],["type","button","mat-flat-button","","cdkFocusInitial","",1,"medium",3,"click","color"],["type","button","mat-button","",1,"medium",3,"click"]],template:function(a,b){a&1&&(I(0,"h1",0),Q(1),J(),K(2,"div",1),I(3,"div",2),D(4,UHa,2,1,"button",3),I(5,"button",4),M("click",
function(){return b.dialogRef.close(!0)}),Q(6),J()());a&2&&(B(),Yg(b.data.title),B(),E("innerHTML",b.data.content,uf),B(2),G(b.showCancelButton?4:-1),B(),E("color",b.confirmButtonTheme),B(),R(" ",b.confirmButtonText," "))},dependencies:[eB,jy,wI,yI,xI],encapsulation:2});var AI=function(){this.dialog=r(tI)},hrc=function(a,b){return new Promise(function(c){a.open(Object.assign({},b,{onConfirm:function(){c(!0)},onDismiss:function(){c(!1)}}))})};
AI.prototype.open=function(a){var b=a.title;var c=a.content;var d=a.onConfirm;var e=a.onDismiss;nI(this.dialog.open(grc,{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()})};AI.\u0275fac=function(a){return new (a||AI)};AI.\u0275prov=n({token:AI,factory:AI.\u0275fac,providedIn:"root"});var BI=function(){this.activeSession=r(Bu);this.documentationLinks=r(lI);this.confirmationDialogService=r(AI)},jrc=function(a,b){return new Promise(function(c){irc(a,b,function(){c(!0)},function(){c(!1)})})},irc=function(a,b,c,d){if(a.activeSession.isExternalSession())c&&c();else{var e="",f=wi("");if(b==="VULNERABILITY")e="Set the issue type to \u201cVulnerability\u201d?",b={},f=xi([wi('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}),yi("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=xi([wi('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}),yi("a",(b.href="http://goto.google.com/pib-slo",b.target=
"_blank",b),"Learn more"),wi(".\n\nDO NOT use this type to file ",{preserveNewlines:!0}),yi("a",(f.href="http://goto.google.com/incident-response-policy",f.target="_blank",f),"privacy incidents"),wi(". Incidents should be filed at ",{preserveNewlines:!0}),yi("a",(h.href="http://goto.google.com/privacy-incidents",h.target="_blank",h),"go/privacy-incidents"),wi(".\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(){}})}};BI.\u0275fac=function(a){return new (a||BI)};BI.\u0275prov=n({token:BI,factory:BI.\u0275fac,providedIn:"root"});var CI=function(){this.butterBar=r(fH);this.activeSession=r(Bu);this.$log=r(bB);this.timeout=r(qE)};
CI.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.":$o(b)?$o(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 DI=function(a,b){a.$log.warn(b);a.butterBar.showWarning(b)},EI=function(a,b){if(Zo(b))a.errorHandler(null,b);else throw b;};CI.\u0275fac=function(a){return new (a||CI)};CI.\u0275prov=n({token:CI,factory:CI.\u0275fac,providedIn:"root"});var krc=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"]]),lrc=["P0","P1","P2","P3","P4"],mrc="NEW ASSIGNED ACCEPTED FIXED VERIFIED NOT_REPRODUCIBLE INTENDED_BEHAVIOR OBSOLETE INFEASIBLE DUPLICATE".split(" "),nrc="BUG FEATURE_REQUEST CUSTOMER_ISSUE INTERNAL_CLEANUP PROCESS VULNERABILITY PRIVACY_ISSUE PROGRAM PROJECT FEATURE MILESTONE EPIC STORY TASK".split(" "),orc=["HIGH","MEDIUM","LOW","ZERO"],prc=["SWE","SRE","PM","TPGM","UX"],qrc=["S0","S1","S2",
"S3","S4"],rrc=new Map([["PRIORITY_UNSPECIFIED","(Unspecified Priority)"],["P0","P0"],["P1","P1"],["P2","P2"],["P3","P3"],["P4","P4"]]),src=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"]]),trc=new Set("PROGRAM PROJECT FEATURE MILESTONE EPIC STORY TASK".split(" ")),urc=nrc.map(function(a){return{value:a,displayText:Mj(a),altText:krc.get(a)}}),FI=function(){this.priorities=lrc;this.severities=qrc;this.editIssueTypes=nrc;this.editIssueTypeChoices=urc;this.issueTypesDisplayNames=src;this.issueTypesShortDescriptions=krc;this.issuePrioritiesDisplayNames=rrc;this.supportedTimeZones=[{name:"Local time",id:""},{name:"UTC",id:"UTC"},{name:"America/Los_Angeles",
id:"America/Los_Angeles"}]};FI.\u0275fac=function(a){return new (a||FI)};FI.\u0275prov=n({token:FI,factory:FI.\u0275fac,providedIn:"root"});var GI=function(){var a=r(TG),b=r(gH),c=r(FI);Z.call(this);var d=this;this.errorHandler=r(CI);this.cachedFormatters=new Map;this.userPrefs=HC.dateTimePreferences;this.formatPrefChange$=new Uf;this.userTimeZone=null;this.timeZones={};Promise.all(c.supportedTimeZones.map(function(e){if(e.id==="")return Promise.resolve({name:"",timeZone:null});var f=b.get(e.id).pipe(Zf(d.destroyed$));return Fe(f).then(function(h){return{name:e.name,timeZone:h}})})).then(function(e){e=k(e);for(var f=e.next();!f.done;f=
e.next())f=f.value,d.timeZones[f.name]=f.timeZone;a.preferences$.pipe(Zf(d.destroyed$)).subscribe(function(h){h.dateTimePreferences&&(h=h.dateTimePreferences,d.userPrefs=h,d.userTimeZone=d.timeZones[h.timeZone],d.formatPrefChange$.next())})}).catch(function(e){d.errorHandler.errorHandler(null,e)})};Y(GI,Z);GI.\u0275dir=Z.\u0275dir;GI.prototype.format=function(a,b,c){var d=this.cachedFormatters.get(a);d||(d=new nE(a),this.cachedFormatters.set(a,d));return b?d.format(c,b):d.format(c)};
var vrc=function(a,b){return a.formatPrefChange$.subscribe(b)};GI.prototype.formatUserCalendar=function(a){return this.format(this.userPrefs.calendarFormat,this.userTimeZone,a)};GI.prototype.formatUserTime=function(a){return this.format(this.userPrefs.timeFormat,this.userTimeZone,a)};GI.\u0275fac=function(a){return new (a||GI)};GI.\u0275prov=n({token:GI,factory:GI.\u0275fac,providedIn:"root"});var HI=function(){this.dateFormatter=r(GI)};
HI.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(Do(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(Do(c))}).join(", ");if(a.repeatedEnumValue)return a.repeatedEnumValue.values.join(", ");
if(a.repeatedNumericValue)return a.repeatedNumericValue.values.join(", ")}return""};HI.\u0275fac=function(a){return new (a||HI)};HI.\u0275prov=n({token:HI,factory:HI.\u0275fac,providedIn:"root"});var II=function(){this.customFieldFormatter=r(HI);this.hotlistFridge=r(UD);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"]},yrc=function(a,b,c,d){c=c===void 0?null:c;d=d===void 0?"":d;var e;b.bulkEditOps&&(e=WHa(b.bulkEditOps));var f=b.actions||[];!f.length&&b.bulkEditOps&&(f=VHa(b.bulkEditOps));b=wrc(f).map(function(h){return xrc(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+"."},wrc=function(a){var b=[],c=[];a=k(a);for(var d=a.next();!d.done;d=a.next())d=d.value,d.fieldName==="status"?c.push(d):b.push(d);return b.concat(c)},xrc=function(a,b,c,d){c=c===void 0?null:c;d=d===void 0?"":d;var e=a.FIELD_TEXT_MAP[b.fieldName]||b.fieldName,f=b.value||"<none>";b.customFieldValue?(d=b.customFieldValue,e=c[d.customFieldId].name||c[d.customFieldId].customFieldName,f=a.customFieldFormatter.format(d)||"<none>"):b.fieldName==="effortEstimate"&&d?e=d:e=a.FIELD_TEXT_MAP[b.fieldName]||
b.fieldName;b.fieldName==="hotlists"?f=b.value.split(",").map(function(h){var l,q;return(l=(q=tp(a.hotlistFridge.watch(String(h),{trustUncertainMemory:!0})))==null?void 0:q.name)?"'"+l+"'":h}).join(","):a.ENUM_FIELDS.includes(b.fieldName)&&(f=f?zj(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 "'+Rl[b.value].displayValue+'"'};II.\u0275fac=function(a){return new (a||II)};II.\u0275prov=n({token:II,factory:II.\u0275fac,providedIn:"root"});var Op=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,Op.messageId)};Y(Op,V);Op.prototype.getIt=function(){return W(this,im,6)};Op.prototype.setIt=function(a){return X(this,im,6,a)};Op.messageId="b.ContentJudgement";var aIa=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(aIa,V);aIa.prototype.getContentJudgement=function(){return W(this,Op,2)};aIa.prototype.setContentJudgement=function(a){return X(this,Op,2,a)};var JI=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(JI,V);JI.prototype.getIssueId=function(){return dv(this,1)};JI.prototype.getIssueId_asLegacyNumberOrString=function(){return bv(this,1)};JI.prototype.getIssueId_asString=function(){return Ik(this,1)};JI.prototype.setIssueId=function(a){return kl(this,1,a)};var zrc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(zrc,V);g=zrc.prototype;g.getFilename=function(){return Kh(this,1)};g.setFilename=function(a){fl(this,1,a)};g.getMimeType=function(){return Kh(this,2)};g.setMimeType=function(a){fl(this,2,a)};g.getSize=function(){return dv(this,5)};g.setSize=function(a){return Xk(this,5,a)};var KI=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,KI.messageId)};Y(KI,V);KI.prototype.getIt=function(){return W(this,lm,14)};KI.prototype.setIt=function(a){return X(this,lm,14,a)};KI.messageId="b.Attachment";var LI=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,LI.messageId)};Y(LI,V);LI.prototype.getAttachmentsList=function(){return lk(this,KI,1,Uj())};LI.prototype.setAttachmentsList=function(a){return $m(this,1,a)};LI.prototype.addAllAttachments=function(a){Xn(this,1,KI,a)};LI.messageId="b.CreateAttachmentsResponse";var MI=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,MI.messageId)};Y(MI,V);MI.prototype.getErrorMessage=function(){return Kh(this,2)};MI.prototype.setErrorMessage=function(a){fl(this,2,a)};MI.messageId="b.EncryptedMediaResponse";var NI=function(){this.executor=r(NC);this.httpClient=r(zA);this.activeSession=r(Bu);this.trackerHelpers=r(yH)},Arc=function(a,b){var c=new zrc;c.setFilename(b.filename);c.setMimeType(b.mimeType);b.encryptedBlobId!=null&&fl(c,3,b.encryptedBlobId);fl(c,4,b.docId);b.size!=null&&c.setSize(b.size);return a.executor.post({url:"action/issues/drive_attachment",body:c,responseConstructor:MI}).then($Ha)},Crc=function(a,b,c){var d=Brc(a)+("/download/attachment/"+b+"/"+c);return Ne(function(){return fetch(d,
{credentials:"include",mode:"no-cors"})}).pipe(Yf(function(){return a.httpClient.get(d,{observe:"events",responseType:"arraybuffer",withCredentials:!0}).pipe(z(function(e){if(e instanceof xA&&e.body)return e.body}))}))},Brc=function(a){var b=/g-issues\.(.*)\.(.*)\/$/,c=/[^-]issues\.(.*)\.(.*)\/$/,d=Fr(a.trackerHelpers,"");return b.test(d)?(a=b.exec(d),"https://usercontent.g-issues."+a[1]+"."+a[2]):c.test(d)?(a=c.exec(d),"https://usercontent.issues."+a[1]+"."+a[2]):a.activeSession.isInternalSession()?
El(a.activeSession.session)?"https://buganizer.usercontent.corp.google.com":"https://buganizer-qa.usercontent.corp.google.com":"https://issuetracker.usercontent.google.com"};NI.\u0275fac=function(a){return new (a||NI)};NI.\u0275prov=n({token:NI,factory:NI.\u0275fac,providedIn:"root"});var OI=function(){this.executor=r(NC)};OI.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})};OI.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:KI}).then(cIa)};
OI.\u0275fac=function(a){return new (a||OI)};OI.\u0275prov=n({token:OI,factory:OI.\u0275fac,providedIn:"root"});var Drc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Drc,V);g=Drc.prototype;g.getIssueId=function(){return dv(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Qk(this,1)};g.getIssueId_asString=function(){return Wk(this,1)};g.setIssueId=function(a){return jm(this,1,a)};g.getComment=function(){return W(this,co,2)};g.setComment=function(a){return X(this,co,2,a)};g.setSignificanceOverride=function(a){return ck(this,3,a)};g.getContentJudgement=function(){return W(this,im,4)};
g.setContentJudgement=function(a){return X(this,im,4,a)};var Erc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Erc,V);g=Erc.prototype;g.getIssueId=function(){return dv(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Qk(this,1)};g.getIssueId_asString=function(){return Wk(this,1)};g.setIssueId=function(a){return jm(this,1,a)};g.getCommentNumber=function(){return Xj(this,2)};g.setCommentNumber=function(a){return pk(this,2,a)};var Frc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Frc,V);g=Frc.prototype;g.getIssueId=function(){return dv(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Qk(this,1)};g.getIssueId_asString=function(){return Wk(this,1)};g.setIssueId=function(a){return jm(this,1,a)};g.getCommentNumber=function(){return Xj(this,2)};g.setCommentNumber=function(a){return pk(this,2,a)};g.getComment=function(){return W(this,co,3)};g.setComment=function(a){return X(this,co,3,a)};var Grc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Grc,V);g=Grc.prototype;g.getIssueId=function(){return dv(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Qk(this,1)};g.getIssueId_asString=function(){return Wk(this,1)};g.setIssueId=function(a){return jm(this,1,a)};g.getCommentNumber=function(){return Xj(this,2)};g.setCommentNumber=function(a){return pk(this,2,a)};g.getRestrictedRetention=function(){return Fk(this,3,0)};
g.setRestrictedRetention=function(a){return ck(this,3,a)};var PI=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,PI.messageId)};Y(PI,V);PI.prototype.getIt=function(){return W(this,Hm,2)};PI.prototype.setIt=function(a){return X(this,Hm,2,a)};PI.messageId="b.CommentReaction";var Hrc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Hrc,V);Hrc.prototype.getIt=function(){return W(this,Drc,5)};Hrc.prototype.setIt=function(a){return X(this,Drc,5,a)};var QI=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,QI.messageId)};Y(QI,V);QI.prototype.getIt=function(){return W(this,co,19)};QI.prototype.setIt=function(a){return X(this,co,19,a)};QI.messageId="b.IssueComment";var Irc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Irc,V);Irc.prototype.getIssueCommentsList=function(){return lk(this,co,1,Uj())};var RI=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,RI.messageId)};Y(RI,V);RI.prototype.getIt=function(){return W(this,Irc,2)};RI.prototype.setIt=function(a){return X(this,Irc,2,a)};RI.messageId="b.ListIssueCommentHistoryResponse";var Jrc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Jrc,V);Jrc.prototype.getIt=function(){return W(this,Frc,5)};Jrc.prototype.setIt=function(a){return X(this,Frc,5,a)};var Krc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Krc,V);Krc.prototype.getIt=function(){return W(this,Grc,4)};Krc.prototype.setIt=function(a){return X(this,Grc,4,a)};var SI=function(){this.executor=r(MC)};g=SI.prototype;g.get=function(a,b,c){var d={};c&&(d["X-Restricted-Content-Limit"]=String(XHa(c)));return this.executor.get({url:"action/issues/"+a+"/comment/"+b,options:{headers:d},responseConstructor:QI}).pipe(z(pDa))};
g.create=function(a,b,c,d,e){var f={};e&&(f["G-Recaptcha-Response-Token"]=e);b=(new Drc).setIssueId(a).setComment((new co).setComment(b).setFormattingMode(Om(c)));d&&b.setContentJudgement(rya(d));d=(new Hrc).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 Jrc).setIt((new Frc).setIssueId(a).setCommentNumber(b).setComment((new co).setComment(c).setFormattingMode(Om(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:QI}).pipe(z(pDa))};g.listHistory=function(a,b){var c=(new Erc).setIssueId(a).setCommentNumber(b);return this.executor.post({url:"action/issues/"+a+"/comment/"+b+"/listIssueCommentHistory",body:c,responseConstructor:RI}).pipe(z(qDa))};
g.updateCommentReaction=function(a){var b=a.issueId;var c=a.commentId;var d=a.reactionType;var e=a.hasReacted;var f;a=new PI;var h=a.setIt,l=new Hm;d=(new Pm).setType((f=ggc[d])!=null?f:0);f=Cm(d,1,e);f=Xu(l,2,Pm,f);a=h.call(a,f);return this.executor.post({url:"action/issues/"+b+"/comment/"+c+"/updateReaction",body:a,responseConstructor:PI}).pipe(z(rDa))};
g.updateRetention=function(a,b,c){c=(new Krc).setIt((new Grc).setIssueId(a).setCommentNumber(b).setRestrictedRetention(Bya(c)));return this.executor.post({url:"action/issues/"+a+"/comment/"+b+"/update_retention",body:c,responseConstructor:QI}).pipe(z(pDa))};SI.\u0275fac=function(a){return new (a||SI)};SI.\u0275prov=n({token:SI,factory:SI.\u0275fac,providedIn:"root"});var TI=function(){this.observableApi=r(SI)};g=TI.prototype;g.get=function(a,b,c){return Fe(this.observableApi.get(a,b,c))};
g.create=function(a,b,c,d,e){return Fe(this.observableApi.create(a,b,c,d,e))};g.update=function(a,b,c,d,e){return Fe(this.observableApi.update(a,b,c,d,e))};g.delete=function(a,b,c,d){return Fe(this.observableApi.delete(a,b,c,d))};g.undelete=function(a,b,c){return Fe(this.observableApi.undelete(a,b,c))};g.listHistory=function(a,b){return Fe(this.observableApi.listHistory(a,b))};g.updateCommentReaction=function(a){return Fe(this.observableApi.updateCommentReaction(a))};
g.updateRetention=function(a,b,c){return Fe(this.observableApi.updateRetention(a,b,c))};TI.\u0275fac=function(a){return new (a||TI)};TI.\u0275prov=n({token:TI,factory:TI.\u0275fac,providedIn:"root"});var UI=function(){this.dialogRef=r(mI);this.data=r(sI);this.documentationLinks=r(lI);this.userEmails=this.data.userEmails;this.readMoreLink=this.documentationLinks.baseDocumentationUrl+"/concepts/access-control#explicit_access_warnings"};UI.prototype.close=function(a){this.dialogRef.close(a)};UI.\u0275fac=function(a){return new (a||UI)};
UI.\u0275cmp=C({type:UI,selectors:[["confirm-no-access-dialog"]],standalone:!1,decls:19,vars:1,consts:[[1,"dialog-container"],["mat-dialog-title",""],["mat-dialog-content",""],["mat-dialog-actions",""],[1,"help-label"],["target","_blank",3,"href"],["type","button","mat-button","","color","primary",3,"click"],["type","button","mat-button","","color","primary","cdkFocusInitial","",3,"click"]],template:function(a,b){a&1&&(I(0,"div",0)(1,"h1",1),Q(2,"User may not have access"),J(),I(3,"section",2)(4,
"p"),Q(5," The following user(s) may not be able to edit, interact with, or get notifications about this issue: "),J(),I(6,"ul"),yg(7,eIa,2,1,"li",null,xg),J(),I(9,"section"),Q(10,"Continue anyway?"),J()(),I(11,"footer",3)(12,"div",4)(13,"a",5),Q(14,"Learn more"),J()(),I(15,"button",6),M("click",function(){return b.close(!0)}),Q(16,"Continue"),J(),I(17,"button",7),M("click",function(){return b.close(!1)}),Q(18,"Cancel"),J()()());a&2&&(B(7),zg(b.userEmails),B(6),E("href",b.readMoreLink,vf))},dependencies:[eB,
jy,wI,yI,xI],styles:["ul[_ngcontent-%COMP%]{list-style:disc;margin-bottom:10px}"]});var VI=function(){this.matDialogService=r(tI);this.analytics=r(OF);this.butterBar=r(fH);this.logger=r(bB);this.accessPolicy=r(nD)},Mrc=function(a,b){var c=b.componentId;var d=b.userEmails;var e=b.relation;var f=b.analyticsEventLabel;var h,l,q;return se(function(u){switch(u.nextAddress){case 1:if(d.every(function(A){return A.length===0}))return u.return(!0);te(u,2);return y(u,Lrc(a,c,d,e),4);case 4:h=u.yieldResult;if(h.length===0)return u.return(!0);a.analytics.trackEvent("addUserWithoutAccess","warn",
f);return y(u,a.confirm(h,e),5);case 5:l=u.yieldResult;if(!l)return jq(a.butterBar,"Save cancelled.",4E3),a.analytics.trackEvent("addUserWithoutAccess","cancel",f),u.return(!1);a.analytics.trackEvent("addUserWithoutAccess","proceed",f);return u.return(!0);case 2:return q=we(u),a.logger.error(q),u.return(!1)}})},Lrc=function(a,b,c,d){var e;return se(function(f){if(f.nextAddress==1)return y(f,a.accessPolicy.checkPermission(c,d,"ISSUE_DEFAULTS",b),2);e=f.yieldResult;return f.return([].concat(t(e.noAccessEmails||
[]),t(e.unknownEmails||[])))})};VI.prototype.confirm=function(a,b){var c=this,d,e,f;return se(function(h){if(h.nextAddress==1)return d={userEmails:a,relation:b},e=c.matDialogService.open(UI,{width:"400px",data:d}),y(h,Fe(nI(e)),2);f=h.yieldResult;return h.return(!!f)})};VI.\u0275fac=function(a){return new (a||VI)};VI.\u0275prov=n({token:VI,factory:VI.\u0275fac,providedIn:"root"});var Nrc=new zd("GMAT_DIALOG_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var WI=function(a,b,c,d,e,f,h,l){l.disableGmatStyle||ifc(a,"gmat-mdc-dialog");tI.call(this,a,b,c,d,e,f,h)};Y(WI,tI);WI.\u0275fac=function(a){return new (a||WI)(pd(Kx),pd(Ye),pd(sw,8),pd(erc,8),pd(frc),pd(tI,12),pd(lx),pd(Nrc))};WI.\u0275prov=n({token:WI,factory:WI.\u0275fac});var XI=function(){};XI.\u0275fac=function(a){return new (a||XI)};XI.\u0275mod=Cf({type:XI});XI.\u0275inj=p({providers:[{provide:tI,useClass:WI},{provide:Kx,useClass:lB}],imports:[zI]});var Orc=function(a,b){this.size=a;this.name=b;this.transferredBytes=0;this.errorMessage="";this.blobRef=null;this.state=1};Orc.prototype.cancel=function(){this.state=4};var Prc={UPLOADING:1,COMPLETE:2,ERROR:3,CANCELLED:4,1:"UPLOADING",2:"COMPLETE",3:"ERROR",4:"CANCELLED"};var qu=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};qu.prototype.reset=function(){this.value="";Qrc(this)};var Qrc=function(a){for(var b=k(a.uploads),c=b.next();!c.done;c=b.next())c.value.cancel();a.uploads=[]},Rrc=function(a){return a.fromTemplate&&a.initialComment===a.value};
qu.prototype.getAttachments=function(){for(var a=[],b=k(this.uploads),c=b.next();!c.done;c=b.next())c=c.value,c.state===2&&c.blobRef&&a.push(pj(c.blobRef));return a};qu.prototype.hasContent=function(){return!(!this.value&&!this.uploads.length)};var Src=function(a){return!a.isEmpty()&&!ALb(a)};qu.prototype.isEmpty=function(){return!this.value&&!Trc(this)};
var ALb=function(a){return a.uploads.some(function(b){return b.state===1||b.state===3})},Trc=function(a){return a.uploads.some(function(b){return b.state===2})};var YI=new zd("routeParams",{factory:function(){return r(TH).params}});var ZI=function(){this.routeParams=r(YI);this.issueComments=r(TI);this.draftStore=r(kI);this.errorHandler=r(CI);this.activeSession=r(Bu);this.enableExternalMentionsFe=Vt(this.activeSession,"enableExternalMentionsFe")};
ZI.prototype.get=function(a){var b=this;if(this.routeParams.comment)return Ae(this.routeParams.comment);var c=this.routeParams.template_issue;if(c){var d=uj(this.routeParams.template_comment)||1;return Ne(function(){return Urc(b,c,d,b.routeParams.do_attribution)})}return a?Ae(this.draftStore.$window.sessionStorage.getItem(Kp(a))||""):Ae("")};
var Urc=function(a,b,c,d){var e,f,h,l,q,u,A;return se(function(F){if(F.nextAddress==1)return te(F,2),y(F,a.issueComments.get(b,c),4);if(F.nextAddress!=2)return e=F.yieldResult,f=e.unlinkifiedComment,h=e.formattedComment,l="",f?l=f:h&&a.enableExternalMentionsFe&&(l=Mwa(h)),q=(new Date(Number(e.lastModified)/1E3)).toLocaleDateString(),d?(u="> From issue "+b+" on "+q+":",F.return(u+"\n\n"+l)):F.return(l);A=we(F);EI(a.errorHandler,A);return F.return("")})};ZI.\u0275fac=function(a){return new (a||ZI)};
ZI.\u0275prov=n({token:ZI,factory:ZI.\u0275fac,providedIn:"root"});var Vrc=function(a,b,c,d,e){var f=this;this.issueId=a;this.defaultCommentSource=b;this.issueFullFridge=c;this.activeSession=d;this.userPreferencesManager=e;this.comment=function(){return tp(f.comment$)};this.judgementForNewContent=function(){return tp(f.judgementForNewContent$)};this.issue$=this.issueFullFridge.watch(this.issueId);this.componentId$=this.issue$.pipe(z(function(l){return l==null?void 0:l.snapshot[0].componentId}),Pf());var h=Vt(this.activeSession,"enableLiteralModeRevisions");this.comment$=
this.defaultCommentSource.get(this.issueId).pipe(Xf(""),Pf(),ag(this.userPreferencesManager.lastPublishModeProto$,this.userPreferencesManager.currentCommentFormattingMode$),z(function(l){var q=k(l);var u=q.next().value;l=q.next().value;q=q.next().value;u=new qu(u);u.formattingMode=h?q:l;return u}),Vf({bufferSize:1,refCount:!0}));this.createRestrictedResourcesComponentIds=this.activeSession.getCreateRestrictedSubresourcesComponentIds();this.componentJudgementForNewContent$=this.componentId$.pipe(z(function(l){if(l&&
f.createRestrictedResourcesComponentIds.includes(l))return{severity:"RESTRICTED",judgementReason:"None Specified"}}),Vf({bufferSize:1,refCount:!0}));this.userDefinedJudgementForNewContent$=new Xi(void 0);this.judgementForNewContent$=Ie([this.componentJudgementForNewContent$.pipe(Xf(void 0)),this.userDefinedJudgementForNewContent$]).pipe(z(function(l){var q=k(l);l=q.next().value;q=q.next().value;return q!=null?q:l}),Vf({bufferSize:1,refCount:!1}))};Vrc.prototype.setJudgementForNewContent=function(a){this.userDefinedJudgementForNewContent$.next(a)};
var Wrc=function(a){var b=a.comment(),c,d=((c=a.judgementForNewContent())==null?void 0:c.severity)==="NONE_DETECTED"?void 0:a.judgementForNewContent();a=b.value;c=b.formattingMode;var e=[];b=k(b.uploads);for(var f=b.next();!f.done;f=b.next())f=f.value,f.state===2&&f.blobRef&&(f=pj({attachment:f.blobRef}),d&&(f.contentJudgement={severity:d.severity,judgementReason:d.judgementReason}),e.push(f));return{judgementForNewContent:d,commentText:a,formattingMode:c,attachmentsWithJudgements:e}},Xrc=function(a){var b=
Wrc(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},$I=function(){this.defaultCommentSource=r(ZI);this.issueFullFridge=r(QF);this.activeSession=r(Bu);this.userPreferencesManager=r(TG)};$I.prototype.create=function(a){return new Vrc(a,this.defaultCommentSource,this.issueFullFridge,this.activeSession,this.userPreferencesManager)};
$I.\u0275fac=function(a){return new (a||$I)};$I.\u0275prov=n({token:$I,factory:$I.\u0275fac,providedIn:"root"});var aJ=function(){};aJ.prototype.isSloStartTimeApplied=function(a){return!!a&&a.seconds>Date.now()/1E3};
var bJ=function(a){return!!a&&!!a.targetTime&&a.targetTime.seconds!==0},Yrc=function(a){return bJ(a.assignmentBounds)||bJ(a.responseBounds)||bJ(a.closureBounds)},Zrc=function(a,b){switch(b){case "ASSIGNMENT":return bJ(a.assignmentBounds);case "RESPONSE":return bJ(a.responseBounds);case "CLOSURE":return bJ(a.closureBounds);default:return Yrc(a)}},$rc=function(a){if(!a)return null;var b=[],c=[];a.assignmentBounds&&fIa(b,c,a.assignmentBounds,"ASSIGNMENT");a.responseBounds&&fIa(b,c,a.responseBounds,"RESPONSE");
a.closureBounds&&fIa(b,c,a.closureBounds,"CLOSURE");return b.length>0?(b.sort(gIa),b[0]):c.length>0?(c.sort(gIa),{sloBounds:c[0].sloBounds,sloMetric:""}):null};aJ.\u0275fac=function(a){return new (a||aJ)};aJ.\u0275prov=n({token:aJ,factory:aJ.\u0275fac,providedIn:"root"});var asc=function(a,b,c,d,e){var f=this;this.issueId=a;this.issueFullFridge=b;this.constants=c;this.activeSession=d;this.sloStatusHelpersService=e;this.enableNonWtdmFieldPerTypeVisibility=Vt(this.activeSession,"enableNonWtdmFieldPerTypeVisibility")||!1;this.showSloStatus=this.activeSession.isInternalSession();this.showChangelists=!this.activeSession.isExternalSession();this.issue$=this.issueFullFridge.watch(this.issueId);this.issueSnapshot$=this.issue$.pipe(z(function(h){return h==null?void 0:h.snapshot[0]}));
this.hasSloDefined$=this.issue$.pipe(z(function(h){var l;return h==null?void 0:(l=h.aggregatedData)==null?void 0:l.sloStatus}),z(function(h){return!!h&&Yrc(h)}));this.isWtdmType$=this.issueSnapshot$.pipe(z(function(h){return(h==null?void 0:h.type)!=null&&trc.has(h.type)}));this.isForgottenFourPrimary$=this.isWtdmType$.pipe(z(function(h){return!h&&!f.enableNonWtdmFieldPerTypeVisibility}));this.isSloStatusPrimary$=Ie([this.hasSloDefined$,this.isWtdmType$]).pipe(z(function(h){var l=k(h);h=l.next().value;
l=l.next().value;return h||!l}));this.isSeverityPrimary$=this.isWtdmType$.pipe(z(function(h){return!h}));this.isChangelistPrimary$=Ie([this.isWtdmType$,this.issueSnapshot$]).pipe(z(function(h){var l=k(h);h=l.next().value;l=l.next().value;return!h||(l==null?void 0:l.type)==="STORY"||(l==null?void 0:l.type)==="TASK"}));this.customFields$=this.issue$.pipe(z(function(h){var l;return(l=h==null?void 0:h.customFields)!=null?l:[]}));this.visibleFields$=this.issue$.pipe(z(function(h){var l;return(l=h==null?
void 0:h.visibleFields)!=null?l:[]}));this.visibleFieldIds$=this.visibleFields$.pipe(z(function(h){return h.map(function(l){return l.customFieldId}).filter(ik)}),z(function(h){return new Set(h)}),Vf({refCount:!0,bufferSize:1}));this.visibleCustomFields$=Ie([this.visibleFieldIds$,this.customFields$]).pipe(z(function(h){h=k(h);var l=h.next().value;return h.next().value.filter(function(q){return l.has(q.customFieldId)})}),Vf({refCount:!0,bufferSize:1}));this.hiddenCustomFields$=Ie([this.visibleFieldIds$,
this.customFields$]).pipe(z(function(h){h=k(h);var l=h.next().value;return h.next().value.filter(function(q){return!l.has(q.customFieldId)})}),Vf({refCount:!0,bufferSize:1}));this.hiddenFieldCount$=Ie([this.isForgottenFourPrimary$,this.isSeverityPrimary$,this.isSloStatusPrimary$,this.isChangelistPrimary$,this.hiddenCustomFields$]).pipe(z(function(h){var l=k(h);h=l.next().value;var q=l.next().value;var u=l.next().value;var A=l.next().value;l=l.next().value;return(h?0:4)+(q?0:1)+(!f.showSloStatus||
u?0:1)+(!f.showChangelists||A?0:2)+l.length}),Vf({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"}))},cJ=function(){this.issueFullFridge=r(QF);this.constants=r(FI);this.activeSession=r(Bu);this.sloStatusHelpersService=r(aJ)};
cJ.prototype.create=function(a){return new asc(a,this.issueFullFridge,this.constants,this.activeSession,this.sloStatusHelpersService)};cJ.\u0275fac=function(a){return new (a||cJ)};cJ.\u0275prov=n({token:cJ,factory:cJ.\u0275fac,providedIn:"root"});var dJ=function(){Z.apply(this,arguments);this.analytics=r(OF);this.clearcut=r(GF);this.userActivity=r(dB);this.stopActivityTracking$=new Uf;this.issueToTrackingState=new Map;this.getState=Ej(this.issueToTrackingState,hIa);this.trackFirstAction=this.analytics.preapply()("first-action");this.trackEdit=this.analytics.preapply()("edit");this.trackNavigation=this.analytics.preapply()("navigate");this.trackDestroy=this.analytics.preapply()("destroyed");this.onUserActiveStatusUpdate.bind(this)};Y(dJ,Z);
dJ.\u0275dir=Z.\u0275dir;var bsc=function(a,b){a.getState(b);a.userActivity.active$.pipe(Pf(),Zf(a.stopActivityTracking$)).subscribe(function(c){return void a.onUserActiveStatusUpdate(b,c)})},lq=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),csc(a,c,"idp-time-to-action",b.variations),d.firstActionSeen=!0)};
dJ.prototype.onUserActiveStatusUpdate=function(a,b){var c=this.getState(a),d=Date.now()-c.sessionStartTime;if(b)c.sessionStartTime=Date.now();else if(!(d<1E3)){HF(this.clearcut,d,"idp-session-time");b=this.clearcut;var e=c.sessionStartTime;d=Date.now();a=(new Qlc).setIssueId(a).setUserAction(1);var f=new Plc,h=new Olc;e=Np(h,1,Xb(e));d=Np(e,2,Xb(d));d=X(f,Olc,1,d);a=X(a,Plc,2,d);uF(b.clearcutTransport.transport,a);c.sessionStartTime=Date.now()}};
var uu=function(a,b,c){a.getState(b).variations.add(c)},csc=function(a,b,c,d){HF(a.clearcut,b,c);d=k(d);for(var e=d.next();!e.done;e=d.next())HF(a.clearcut,b,c+"-"+e.value)};dJ.prototype.resetState=function(a){this.issueToTrackingState.delete(a)};dJ.\u0275fac=function(){var a;return function(b){return(a||(a=ee(dJ)))(b||dJ)}}();dJ.\u0275prov=n({token:dJ,factory:dJ.\u0275fac,providedIn:"root"});var eJ=function(){var a=this;this.issueFullFridge=r(QF);this.teamFridge=r(IG);this.componentFridge=r(uD);this.eventsForIssue=r(NE);this.activatedRoute=r(Wi);this.contextSensitiveRegistry=r(UH);this.id$=this.contextSensitiveRegistry.getIssueId().pipe(z(function(b){return b||void 0}));this.urlComment$=this.activatedRoute.fragment.pipe(z(XIa),Vf({refCount:!0,bufferSize:1}));this.issueJs$=this.id$.pipe(Yf(function(b){return b?a.issueFullFridge.watch(b):Ae(void 0)}),Vf({refCount:!0,bufferSize:1}));this.eventsJs$=
this.id$.pipe(Yf(function(b){return a.eventsForIssue.watch(b)}),z(function(b){var c;return(c=b==null?void 0:b.events)!=null?c:[]}));this.starred$=this.issueJs$.pipe(z(mIa));this.lastViewedTimeMicros$=this.issueJs$.pipe(z(nIa));this.lastViewedTimeMicros$.pipe(z(function(b){return!b}));this.title$=this.issueJs$.pipe(z(oIa));this.issueJs$.pipe(z(GIa));this.accessLimitLevel$=this.issueJs$.pipe(z(wIa));this.voted$=this.issueJs$.pipe(z(HIa));this.status$=this.issueJs$.pipe(z(pIa));this.priority$=this.issueJs$.pipe(z(qIa));
this.assignee$=this.issueJs$.pipe(z(rIa));this.issueJs$.pipe(z(sIa));this.teamId$=this.issueJs$.pipe(z(tIa));this.team$=this.teamId$.pipe(Yf(function(b){return a.teamFridge.watch(b)}),Vf({refCount:!0,bufferSize:1}));this.ccUsers$=this.issueJs$.pipe(z(vIa));this.collaboratorsUsers$=this.issueJs$.pipe(z(xIa));this.issueJs$.pipe(z(function(b){var c,d;return(d=(c=Ql(b))==null?void 0:c.severity)!=null?d:void 0}));this.type$=this.issueJs$.pipe(z(yIa));this.issueJs$.pipe(z(zIa));this.issueJs$.pipe(z(AIa));
this.issueJs$.pipe(z(BIa));this.postmortems$=this.issueJs$.pipe(z(CIa));this.postmortems$.pipe(z(function(b){return b.length>0}));this.issueJs$.pipe(z(DIa));this.effort$=this.issueJs$.pipe(z(EIa));this.staffing$=this.issueJs$.pipe(z(FIa));this.isDeleted$=this.issueJs$.pipe(z(JIa));this.accessLevel$=this.issueJs$.pipe(z(LIa));this.modifiedTime$=this.issueJs$.pipe(z(MIa));this.retention$=this.issueJs$.pipe(z(OIa));this.retention=function(){return tp(a.retention$)};this.retentionState$=this.issueJs$.pipe(z(RIa));
this.retentionState=function(){return tp(a.retentionState$)};this.canonicalIssueId$=this.issueJs$.pipe(z(PIa));this.canonicalIssueId$.pipe(Yf(function(b){return a.issueFullFridge.watch(b)}));this.sloStatus$=this.issueJs$.pipe(z(function(b){var c;return b==null?void 0:(c=b.aggregatedData)==null?void 0:c.sloStatus}));this.sloId$=this.issueJs$.pipe(z(SIa));this.createdTimeMicros$=this.issueJs$.pipe(z(TIa));this.componentId$=this.issueJs$.pipe(z(uIa));this.component$=this.componentId$.pipe(Yf(function(b){return a.componentFridge.watch(b)}));
this.teamSuggestions$=this.component$.pipe(z(function(b){var c;return(c=b==null?void 0:b.teamSuggestions)!=null?c:[]}));this.effortSpec$=this.component$.pipe(z(UIa));this.isEffortEnabled$=this.component$.pipe(z(VIa));this.component$.pipe(z(WIa))};eJ.\u0275fac=function(a){return new (a||eJ)};eJ.\u0275prov=n({token:eJ,factory:eJ.\u0275fac,providedIn:"root"});var dsc={admin:!1,writer:!0,appender:!0,reader:!0},gJ=function(){var a=this;this.issueDetailsBrain=r(eJ);this.permissionsFridge=r(nG);this.activeSession=r(Bu);this.accessPolicyApi=r(nD);this.errorHandler=r(CI);this.userAccess=r(uE);this.currentUserEmail=this.activeSession.getUserEmail();this.currentUserEmailPattern=new RegExp("^"+Bj(this.currentUserEmail).replace("@","(\\+.*)?@")+"$");this.issueId$=this.issueDetailsBrain.id$;this.issuePermissions$=this.issueId$.pipe(Yf(function(b){return b?a.permissionsFridge.watch("issues/"+
b):Ae(void 0)}),z(function(b){return b!=null?b:dsc}),Xf(dsc),Vf({bufferSize:1,refCount:!1}));this.hasAclToView$=this.issuePermissions$.pipe(z(function(b){return!!b.reader}));this.hasAclToEdit$=this.issuePermissions$.pipe(z(function(b){return!!b.writer}));this.hasAclToEdit=function(){return!!tp(a.hasAclToEdit$)};this.hasAclToComment$=this.issuePermissions$.pipe(z(function(b){return!!b.appender}));this.hasAclToComment=function(){return!!tp(a.hasAclToComment$)};this.hasAclToAdmin$=this.issuePermissions$.pipe(z(function(b){return!!b.admin}));
this.hasAclToAdmin=function(){return!!tp(a.hasAclToAdmin$)};this.isCurrentUserCCd$=this.issueDetailsBrain.ccUsers$.pipe(z(function(b){return b.some(function(c){return fJ(a,c.emailAddress)})}));this.isCurrentUserCCd=function(){return!!tp(a.isCurrentUserCCd$)};this.isCurrentUserCollaborator$=this.issueDetailsBrain.collaboratorsUsers$.pipe(z(function(b){return b.some(function(c){return fJ(a,c.emailAddress)})}));this.isCurrentUserCollaborator=function(){return!!tp(a.isCurrentUserCollaborator$)};this.isAllowedToEditCC$=
this.hasAclToEdit$;Ie([this.hasAclToEdit$,this.isCurrentUserCCd$]).pipe(z(function(b){var c=k(b);b=c.next().value;c=c.next().value;return b?c?"Un-CC yourself in order to change this setting.":"":"Edit issue permission is required to modify the CC list."}));this.isImplicitAccessEnabled$=this.issueDetailsBrain.componentId$.pipe(Pf(),Yf(function(b){return b?a.accessPolicyApi.checkComponentImplicitAccessEnabled(Number(b)):Ae(!1)}),If(function(b){if(b.status===403)return Ae(!0);a.errorHandler.errorHandler(null,
b);return Ae(!1)}),Vf({bufferSize:1,refCount:!1}));this.isImplicitAccessEnabled=function(){return!!tp(a.isImplicitAccessEnabled$)};this.canDeleteIssue$=this.hasAclToAdmin$;this.canUndeleteIssue$=Ie([this.issueDetailsBrain.isDeleted$,this.canDeleteIssue$]).pipe(z(function(b){var c=k(b);b=c.next().value;c=c.next().value;return b&&c}));this.userIsComponentAdmin$=this.issueDetailsBrain.componentId$.pipe(Pf(),Yf(function(b){return b?vE(a.userAccess,"admin","components/"+b):Ae(!1)}),If(function(b){a.errorHandler.errorHandler(null,
b);return Ae(!1)}),Vf({bufferSize:1,refCount:!1}));this.accessLevel$=this.issueDetailsBrain.accessLevel$;this.accessLevel=function(){return tp(a.accessLevel$)};this.accessLimitLevel$=this.issueDetailsBrain.accessLimitLevel$;this.isWithinExternalComponent$=this.accessLevel$.pipe(z(function(b){return!(!b||b==="INTERNAL")}));this.audience$=this.isWithinExternalComponent$.pipe(z(function(b){return b?"EXTERNAL":"INTERNAL"}));this.audience=function(){return tp(a.audience$)};this.canChangeCommentRetention$=
this.hasAclToEdit$;this.canChangeCommentRetention=function(){return tp(a.canChangeCommentRetention$)}},fJ=function(a,b){return(b==null?void 0:b.search(a.currentUserEmailPattern))===0},esc=function(a,b){return Ol(b)&&b.commentDeletionStatus==="DELETED"?a.hasAclToAdmin()||Pj(b.lastCommentEditorUser)===a.activeSession.getUserEmail()&&a.hasAclToComment()?!0:!1:!1},fsc=function(a,b){return Ol(b)&&b.commentDeletionStatus==="ACTIVE"?Sj(b.userPerformingActionUser)===a.activeSession.getUserEmail()?!0:a.hasAclToAdmin():
!1};gJ.prototype.canEditComment$=function(a){var b=this;return Ie([this.issueDetailsBrain.component$,this.hasAclToEdit$,this.hasAclToComment$]).pipe(z(function(c){var d=k(c);c=d.next().value;var e=d.next().value;d=d.next().value;return c!==void 0&&c.commentEditState==="ENABLED"&&a.commentDeletionStatus!=="DELETED"&&a.commentDeletionStatus!=="PURGED"&&a.commentNumber?a.commentNumber===1?e:d&&Sj(a.userPerformingActionUser)===b.activeSession.getUserEmail():!1}))};
gJ.prototype.canDeleteAttachment$=function(a,b){return a?(a=a.entityStatus)&&"ACTIVE"===a.status?fJ(this,b)?Ae(!0):this.hasAclToAdmin$:Ae(!1):Ae(!1)};gJ.prototype.canUndeleteAttachment$=function(a,b){return a?(a=a.entityStatus)&&"DELETED"===a.status?fJ(this,b)?Ae(!0):this.hasAclToAdmin$:Ae(!1):Ae(!1)};gJ.\u0275fac=function(a){return new (a||gJ)};gJ.\u0275prov=n({token:gJ,factory:gJ.\u0275fac,providedIn:"root"});var gsc={type:"TAKE",displayText:"Assign to me",description:"Assign issue to yourself"},hsc={type:"DEFAULT_ASSIGNEE",displayText:"Assign to default",description:"Use the component's default assignee"},isc={type:"START",displayText:"Start work",description:"Change issue status to '"+Nj.get("ACCEPTED")+"'"},jsc={type:"FIX",displayText:"Mark fixed",description:"Change issue status to '"+Nj.get("FIXED")+"'"},ksc={type:"VERIFY",displayText:"Verify",description:"Change issue status to '"+Nj.get("VERIFIED")+
"'"},lsc={type:"REOPEN",displayText:"Re-open",description:"Change issue status back to '"+Nj.get("ASSIGNED")+"'"};var nsc=function(a,b,c,d){var e=this;this.issueId=a;this.activeSession=b;this.issueFullFridge=c;this.componentTemplatesFridge=d;this.defaultAssigneeForComponent=function(){return tp(e.defaultAssigneeForComponent$)};this.defaultAssigneeQuickActionEnabled=this.activeSession.isInternalSession();this.issue$=this.issueFullFridge.watch(this.issueId).pipe(Vf({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)&&Sj(f.assigneeUser)}),z(gk));this.defaultAssigneeForComponent$=this.issueSnapshot$.pipe(z(function(f){return f==null?void 0:f.componentId}),Pf(),Yf(function(f){return f?e.componentTemplatesFridge.defaultTemplate$(String(f)):Ae(void 0)}),z(function(f){return f&&Sj(f.snapshot.assigneeUser)}),Vf({bufferSize:1,refCount:!0}));this.issueAssigneeQuickAction$=Ie([this.currentAssignee$,this.defaultAssigneeForComponent$]).pipe(z(function(f){var h=k(f);f=h.next().value;h=h.next().value;
return e.defaultAssigneeQuickActionEnabled&&h&&f!==h?hsc:void 0}));this.issueStatusQuickAction$=this.issueSnapshot$.pipe(z(function(f){return f&&msc(e,f)}))},msc=function(a,b){var c=a.activeSession.getUserEmail();a=Sj(b.assigneeUser)===c;c=Sj(b.verifierUser)===c;b=b.status;if(c&&b==="FIXED")return ksc;if(a)switch(b){case "ASSIGNED":return isc;case "ACCEPTED":return jsc;default:return lsc}switch(b){case "NEW":return gsc;case "ASSIGNED":return gsc;case "ACCEPTED":return gsc;default:return lsc}},hJ=
function(){this.activeSession=r(Bu);this.issueFullFridge=r(QF);this.componentTemplatesFridge=r(zD)};hJ.prototype.create=function(a){return new nsc(a,this.activeSession,this.issueFullFridge,this.componentTemplatesFridge)};hJ.\u0275fac=function(a){return new (a||hJ)};hJ.\u0275prov=n({token:hJ,factory:hJ.\u0275fac,providedIn:"root"});var osc=new Map;var psc={COMMENT_EDIT:"commentEdit",RETENTION:"retention",SUBSCRIBE:"subscribe",UNDELETE_ATTACHMENT:"undeleteAttachment",DELETE_ATTACHMENT:"deleteAttachment",COMMENT_UNDELETE:"commentUndelete",COMMENT_DELETE:"commentDelete"},qsc=function(){this.fields=new IC};qsc.prototype.get=function(a){return this.fields.has(Rp(a))};
var kq=function(a,b){a.fields.add(Rp(b))},iJ=function(a,b){a.fields.delete(Rp(b))},rsc=function(a){var b=[],c=[],d=[];a=k(a.fields);for(var e=a.next();!e.done;e=a.next())if(e=e.value,typeof e==="string"&&e.startsWith("customField:"))b.push(e.split(":")[1]);else{var f=void 0,h=psc,l=(f=osc.get(h))!=null?f:new Set(Object.values(h));osc.set(h,l);l.has(e)?d.push(e):c.push(e)}return{fields:c,extraFields:d,customFields:b}};var YIa={QA:{157:[{emailAddress:"security@chromium.org"}]},PROD:{157:[{emailAddress:"security@chromium.org"}]}};var jJ=function(){};jJ.prototype.transform=function(a){return Sp(a)};jJ.\u0275fac=function(a){return new (a||jJ)};jJ.\u0275pipe=Ef({name:"appendDomain",type:jJ,pure:!0,standalone:!1});var cJa={"\u2705":"good","\u26a0\ufe0f":"warn","\u26a0":"warn","\u26d4":"bad","\u274c":"bad","\ud83d\uded1":"bad","\ud83d\udeab":"bad"};var kJ=function(){var a=this;this.activeSession=r(Bu);this.butterBar=r(fH);this.issueInteractionsTracking=r(dJ);this.issueApi=r(ME);this.componentFridge=r(uD);this.permissionsFridge=r(nG);this.eventsForIssueFridge=r(NE);this.statusMessages=r(II);this.errorHandler=r(CI);this.confirmationDialogService=r(AI);this.principalTypes=r(pG);this.issuePermissionService=r(gJ);this.accessPolicy=r(nD);this.issueTypeDialog=r(BI);this.logger=r(bB);this.issueFullFridge=r(QF);this.confirmNoAccessService=r(VI);this.issueService=
r(bF);this.attachmentsMember=r(OI);this.userPreferencesManager=r(TG);this.issueComments=r(TI);this.draftStore=r(kI);this.attachmentApi=r(NI);this.issueFieldsFactory=r(cJ);this.issueQuickActionsFactory=r(hJ);this.issueCommentDraftFactory=r($I);this.implicitTriageService=r(PG);this.isSavingMap=new Map;this.savingState=Ej(this.isSavingMap,function(){return new qsc});this.issueFieldsMap=new Map;this.issueFields=Ej(this.issueFieldsMap,function(b){return a.issueFieldsFactory.create(b)});this.issueQuickActionsMap=
new Map;this.issueQuickActions=Ej(this.issueQuickActionsMap,function(b){return a.issueQuickActionsFactory.create(b)});this.editableIssueMap=new Map;this.editableIssue$=Ej(this.editableIssueMap,function(b){return ssc(a,b)});this.editableIssue=function(b){return a.editableIssue$(b).value};this.subscriptions=new Map;this.getSubscription=Ej(this.subscriptions,function(){return new je});this.issueCommentDraftMap=new Map;this.issueCommentDraft=Ej(this.issueCommentDraftMap,function(b){return a.issueCommentDraftFactory.create(b)});
this.FOR_ISSUE_COMMENT_DIALOGS_SERVICE_ONLY={saveCommentDraft:this.saveCommentDraft.bind(this)}};kJ.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()};
kJ.prototype.updateComponent=function(a,b,c,d){var e=this,f,h,l,q,u,A;return se(function(F){if(F.nextAddress==1)return f=e.editableIssue(a),f.componentId=b,(h=tsc(e,f))&&h.actions&&h.actions.length?y(F,e.getRetentionState(a),2):F.return();l=F.yieldResult;usc(e,h);q={issueId:a,componentId:b};u=Object.assign({},q,{setLimitViewTrusted:d});A=c?e.issueApi.moveIssueExternal(a,u):e.issueApi.moveIssue(a,q);return F.return(vsc(e,A,h,{originalRetentionState:l}))})};
var nxb=function(a,b,c){var d,e;return se(function(f){if(!c)return a.butterBar.showWarning("Reporter can't be empty."),f.return();d=a.editableIssue(b);d.setReporter(c);return f.return((e=lJ(a,d))!=null?e:Promise.resolve())})},wsc=function(a,b,c,d){var e,f,h,l,q,u;return se(function(A){switch(A.nextAddress){case 1:e=Kua(c);if(!e)return a.logger.warn("unknown issue type: "+c),A.return();f=a.editableIssue(b);if(e!=="VULNERABILITY"&&e!=="PRIVACY_ISSUE"){A.jumpTo(2);break}return y(A,jrc(a.issueTypeDialog,
e),3);case 3:if(h=A.yieldResult,!h)return A.return();case 2:if(!d||e!=="VULNERABILITY"){A.jumpTo(4);break}l=ZIa(a.activeSession.getEnvironmentType(),d);if(l===void 0){A.jumpTo(4);break}te(A,6);return y(A,a.issueApi.markAsVulnerability(b,l),8);case 8:a.permissionsFridge.poke("issues/"+b);a.issueFullFridge.poke(b);Hu(A,7);break;case 6:q=we(A),EI(a.errorHandler,q);case 7:return A.return(Promise.resolve());case 4:return f.setType(e),A.return((u=lJ(a,f))!=null?u:Promise.resolve())}})},pxb=function(a,b,
c){var d,e,f;return se(function(h){d=Lj(c);if(!d)return a.logger.warn("unknown priority: "+c),h.return();e=a.editableIssue(b);e.setPriority(d);return h.return((f=lJ(a,e))!=null?f:Promise.resolve())})},ysc=function(a,b,c){var d,e,f;return se(function(h){d=a.editableIssue(b);d.duplicateOfIssueId=c;d.status="DUPLICATE";e=tsc(a,d);return e?(f=e.actions.find(function(l){return l.fieldName==="duplicateOfIssueId"&&!St(l.value||"")}))&&f.value?h.return(xsc(a,b,{actionIssueId:f.value,implicitAppenders:d.cc,
implicitEditors:[],isDeduping:!0,isRemovingSelfFromCc:!1,requestData:e})):h.return():h.return()})},zsc=function(a,b,c){var d,e;return se(function(f){d=a.editableIssue(b);d.setStatus(c);return f.return((e=lJ(a,d))!=null?e:Promise.resolve())})},Asc=function(a,b,c){var d,e,f;return se(function(h){if(!c)return h.return();d=a.editableIssue(b);var l=e=a.issueQuickActions(b),q=d;switch(c.type){case "TAKE":q.status==="NEW"&&(q.status="ASSIGNED");q.assignee=l.activeSession.getUserEmail();break;case "DEFAULT_ASSIGNEE":if(l=
l.defaultAssigneeForComponent())q.status==="NEW"&&(q.status="ASSIGNED"),q.assignee=l;break;case "START":q.status="ACCEPTED";break;case "FIX":q.status="FIXED";break;case "VERIFY":q.status="VERIFIED";break;case "REOPEN":q.status=q.assignee?"ASSIGNED":"NEW";break;default:Db(c.type)}return h.return((f=lJ(a,d))!=null?f:Promise.resolve())})},pwb=function(a,b,c){var d,e;return se(function(f){d=a.editableIssue(b);var h;d.effortEstimate=(h=c==null?void 0:c.estimate)!=null?h:null;return f.return((e=lJ(a,d))!=
null?e:Promise.resolve())})},Ywb=function(a,b,c){var d,e,f;return se(function(h){d=a.editableIssue(b);e=Xta(c,!1);d.foundInVersion=e;return h.return((f=lJ(a,d))!=null?f:Promise.resolve())})},bxb=function(a,b,c){var d,e,f;return se(function(h){d=a.editableIssue(b);e=Xta(c,!1);d.verifiedInVersion=e;return h.return((f=lJ(a,d))!=null?f:Promise.resolve())})},$wb=function(a,b,c){var d,e,f;return se(function(h){d=a.editableIssue(b);e=Xta(c,!1);d.targetedToVersion=e;return h.return((f=lJ(a,d))!=null?f:Promise.resolve())})},
dxb=function(a,b,c){var d,e;return se(function(f){d=a.editableIssue(b);d.setInProd(c);return f.return((e=lJ(a,d))!=null?e:Promise.resolve())})},Swb=function(a,b,c){var d,e,f;return se(function(h){d=Lua(c);if(!d)return a.logger.warn("unknown severity: "+c),h.return();e=a.editableIssue(b);e.setSeverity(d);return h.return((f=lJ(a,e))!=null?f:Promise.resolve())})};
kJ.prototype.updateSloStartTime=function(a,b){var c=this,d,e;return se(function(f){d=c.editableIssue(a);d.sloStartTime=b;return f.return((e=lJ(c,d))!=null?e:Promise.resolve())})};kJ.prototype.updateSloEndTime=function(a,b){var c=this,d,e;return se(function(f){d=c.editableIssue(a);d.setSloEndTime(b);return f.return((e=lJ(c,d))!=null?e:Promise.resolve())})};
var Vwb=function(a,b,c){var d,e,f;se(function(h){d=a.editableIssue(b);d.changelist=(e=c)!=null?e:[];return h.return((f=lJ(a,d))!=null?f:Promise.resolve())})},Wwb=function(a,b,c){var d,e,f;se(function(h){d=a.editableIssue(b);d.gerritChanges=(e=c)!=null?e:[];return h.return((f=lJ(a,d))!=null?f:Promise.resolve())})};kJ.prototype.updateCustomField=function(a,b,c){var d=this,e,f;return se(function(h){e=d.editableIssue(a);e.setCustomField(b,c);return h.return((f=lJ(d,e))!=null?f:Promise.resolve())})};
var txb=function(a,b,c){var d,e,f,h;return se(function(l){switch(l.nextAddress){case 1:return d=a.editableIssue(b),a.issuePermissionService.isImplicitAccessEnabled()?y(l,Bsc(a,b,"verifier",[c]),5):y(l,Mrc(a.confirmNoAccessService,{componentId:String(d.componentId),userEmails:[c],relation:"writer",analyticsEventLabel:"verifier"}),4);case 4:e=l.yieldResult;if(!e)return l.return();l.jumpTo(3);break;case 5:if(f=l.yieldResult,!f)return l.return();case 3:return d.setVerifier(c),l.return((h=lJ(a,d))!=null?
h:Promise.resolve())}})},rxb=function(a,b,c){var d,e,f,h;return se(function(l){switch(l.nextAddress){case 1:return d=a.editableIssue(b),a.issuePermissionService.isImplicitAccessEnabled()?y(l,Bsc(a,b,"assignee",[c]),5):y(l,Mrc(a.confirmNoAccessService,{componentId:String(d.componentId),userEmails:[c],relation:"writer",analyticsEventLabel:"assignee"}),4);case 4:e=l.yieldResult;if(!e)return l.return();l.jumpTo(3);break;case 5:if(f=l.yieldResult,!f)return l.return();case 3:return d.setAssignee(c),l.return((h=
lJ(a,d))!=null?h:Promise.resolve())}})},Csc=function(a,b,c){var d,e,f,h,l,q;return se(function(u){switch(u.nextAddress){case 1:d=a.editableIssue(b);if(a.issuePermissionService.isImplicitAccessEnabled())return y(u,Bsc(a,b,"CC",c),5);e=Fua(d.cc,c);f=e.added;return y(u,Mrc(a.confirmNoAccessService,{componentId:String(d.componentId),userEmails:f,relation:"reader",analyticsEventLabel:"cc"}),4);case 4:h=u.yieldResult;if(!h)return u.return();u.jumpTo(3);break;case 5:if(l=u.yieldResult,!l)return u.return();
case 3:return d.cc=c,u.return((q=lJ(a,d))!=null?q:Promise.resolve())}})},Dsc=function(a,b,c){var d,e,f,h,l,q;return se(function(u){switch(u.nextAddress){case 1:d=a.editableIssue(b);if(a.issuePermissionService.isImplicitAccessEnabled())return y(u,Bsc(a,b,"collaborators",c),5);e=Fua(d.collaborators,c);f=e.added;return y(u,Mrc(a.confirmNoAccessService,{componentId:String(d.componentId),userEmails:f,relation:"reader",analyticsEventLabel:"collaborators"}),4);case 4:h=u.yieldResult;if(!h)return u.return();
u.jumpTo(3);break;case 5:if(l=u.yieldResult,!l)return u.return();case 3:return d.setCollaborators(c),u.return((q=lJ(a,d))!=null?q:Promise.resolve())}})},Esc=function(a,b,c){var d;return se(function(e){d=a.editableIssue(b);d.setStaffing(c);return e.return(lJ(a,d))})};kJ.prototype.unarchive=function(a){var b=this,c,d;return se(function(e){c=b.editableIssue(a);c.setIsArchived(!1);return e.return((d=lJ(b,c))!=null?d:Promise.resolve())})};
kJ.prototype.updateIssueRetention=function(a,b){var c=this,d,e,f;return se(function(h){switch(h.nextAddress){case 1:return d={issueId:a,retention:b},e=c.savingState(a),kq(e,"retention"),te(h,2,3),y(h,c.issueApi.updateIssueRetention(a,d),5);case 5:return y(h,c.issueFullFridge.poke(a),6);case 6:jq(c.butterBar,"Issue retention updated to "+b+".",4E3);case 3:ue(h);iJ(e,"retention");ve(h,0);break;case 2:f=we(h),EI(c.errorHandler,f),h.jumpTo(3)}})};
var Fsc=function(a,b){var c,d,e;return se(function(f){c=a.editableIssue(b);c.setIsDeleted(!0);c.setDeletionReason("ABUSE");d=tsc(a,c);if(!d||!d.actions)return f.jumpTo(0);usc(a,d);e=a.issueService.delete(b,"ABUSE");return y(f,vsc(a,e,d),0)})},$Qb=function(a,b){var c,d,e;return se(function(f){c=a.editableIssue(b);c.setIsDeleted(!1);c.setDeletionReason(null);d=tsc(a,c);if(!d||!d.actions)return f.jumpTo(0);usc(a,d);e=a.issueService.undelete(b);return y(f,vsc(a,e,d),0)})};
kJ.prototype.updateSubscription=function(a,b){var c=this,d,e,f,h,l;return se(function(q){switch(q.nextAddress){case 1:return d=c.savingState(a),y(q,Fe(c.issueFullFridge.watch(a,{trustUncertainMemory:!0})),2);case 2:e=q.yieldResult;h=(f=e)==null?void 0:f.userData;if(h==null||d.get("subscribe"))return q.return();te(q,3,4);kq(d,"subscribe");return y(q,c.issueFullFridge.setNotificationSubscription(a,b),4);case 4:ue(q);iJ(d,"subscribe");ve(q,0);break;case 3:l=we(q),EI(c.errorHandler,l),q.jumpTo(4)}})};
var Gsc=function(a,b,c){var d,e;se(function(f){switch(f.nextAddress){case 1:d=a.savingState(b);if(!c.attachmentId||d.get("undeleteAttachment"))return f.return();te(f,2,3);jq(a.butterBar,"Restoring attachment...");kq(d,"undeleteAttachment");return y(f,a.attachmentsMember.undelete(b.toString(),c),5);case 5:jq(a.butterBar,"Attachment restored."),a.issueFullFridge.poke(b),a.eventsForIssueFridge.poke(b);case 3:ue(f);iJ(d,"undeleteAttachment");ve(f,0);break;case 2:e=we(f),EI(a.errorHandler,e),f.jumpTo(3)}})},
Hsc=function(a,b,c,d){var e,f;return se(function(h){switch(h.nextAddress){case 1:e=a.savingState(b);if(!c.attachmentId||e.get("deleteAttachment"))return h.return();te(h,2,3);jq(a.butterBar,"Deleting attachment...");kq(e,"deleteAttachment");return y(h,a.attachmentsMember.delete(b,c,d),5);case 5:jq(a.butterBar,"Attachment deleted."),a.issueFullFridge.poke(b),a.eventsForIssueFridge.poke(b);case 3:ue(h);iJ(e,"deleteAttachment");ve(h,0);break;case 2:f=we(h),EI(a.errorHandler,f),h.jumpTo(3)}})};
kJ.prototype.saveCommentDraft=function(a,b){var c=this,d=this.issueCommentDraft(a),e=d.comment(),f=Wrc(d);if(!f.commentText&&!f.attachmentsWithJudgements.length)return Promise.resolve();var h=Xrc(d);usc(this,h);return vsc(this,function(){return se(function(l){switch(l.nextAddress){case 1:return y(l,Isc(c,a),2);case 2:if(!f.commentText){l.jumpTo(3);break}return y(l,c.issueComments.create(String(a),f.commentText,f.formattingMode,f.judgementForNewContent,b),4);case 4:e.reset(),c.draftStore.$window.sessionStorage.removeItem(Kp(a));
case 3:if(!f.attachmentsWithJudgements.length){l.jumpTo(5);break}var q=c.attachmentApi;var u=f.attachmentsWithJudgements,A=new JI;A.setIssueId(String(a));u!==void 0&&(u=u.map(bIa),$m(A,3,u));q=q.executor.post({url:"action/issues/"+a+"/attachments",body:A,responseConstructor:LI}).then(dIa);return y(l,q,6);case 6:e.reset();case 5:return d.setJudgementForNewContent(),l.return(c.issueFullFridge.poke(a))}})}(),h)};
var Isc=function(a,b){var c,d;return se(function(e){if(!UG(a.userPreferencesManager).autoCcOnComment||!a.issuePermissionService.hasAclToEdit()||a.issuePermissionService.isCurrentUserCCd())return e.return();var f=c=a.editableIssue(b),h=[].concat(t(c.cc),[a.activeSession.getUserEmail()]);f.cc=h;d={issueId:b,actions:[{fieldName:"ccs",value:a.activeSession.getUserEmail(),actionType:"ADD"}]};return y(e,a.issueApi.updateIssue(b,d),0)})},ssc=function(a,b){var c=a.issueFullFridge.watch(b).pipe(z(function(e){var f=
new Jqc;e&&(e=Jsc(a,e),f.currentUserEmail=a.activeSession.getUserEmail(),f.setData(e));return f})),d=new Xi(new Jqc);a.getSubscription(b).add(c.subscribe(d));return d},lJ=function(a,b){var c=b.issueId,d=tsc(a,b);if(!d)return null;for(var e=!1,f=[],h=[],l=c,q=k(d.actions),u=q.next();!u.done;u=q.next()){u=u.value;var A=u.value||"";if(u.actionType!=="REMOVE")switch(u.fieldName){case "ccs":f=A.split(",").filter(Boolean);break;case "verifier":case "assignee":case "collaborators":h=A.split(",").filter(Boolean);
break;case "duplicateOfIssueId":St(A)||(f=b.cc,l=String(A),e=!0)}}return xsc(a,c,{actionIssueId:l,implicitAppenders:f,implicitEditors:h,isDeduping:e,isRemovingSelfFromCc:d.actions.length===1&&d.actions[0].fieldName==="ccs"&&d.actions[0].actionType==="REMOVE"&&a.activeSession.getUserEmail()===d.actions[0].value,requestData:d})},xsc=function(a,b,c){var d=c.actionIssueId;var e=c.implicitAppenders;var f=c.implicitEditors;var h=c.isDeduping;var l=c.isRemovingSelfFromCc;var q=c.requestData;var u,A,F,H,
N,O,T,ea,ka,oa,La,Ua,Pa,lb;return se(function(qa){switch(qa.nextAddress){case 1:return y(qa,Promise.all([Ksc(a,e,"appender",d),Ksc(a,f,"writer",d)]),2);case 2:u=qa.yieldResult;A=k(u);F=A.next().value;H=A.next().value;N=F;O=H;T=N.noAccessEmails||[];ea=O.noAccessEmails||[];ka=[].concat(t(T),t(ea));if(ka.length===0)return qa.return(Lsc(a,q,h,l));te(qa,3);return y(qa,Promise.all(ka.map(function(Ga){return Msc(a,Ga)})),5);case 5:return oa=qa.yieldResult,La=bya({userPrincipals:oa,newEditors:ea,newImplicitUsers:ka,
isExternalSession:a.activeSession.isExternalSession(),issueId:b,actionIssueId:d}),Ua=La.title,Pa=La.content,y(qa,hrc(a.confirmationDialogService,{title:Ua,content:wi(Pa),confirmButtonText:"Allow"}),6);case 6:if(lb=qa.yieldResult)return qa.return(Lsc(a,q,h,l));a.permissionsFridge.poke("issues/"+b);a.issueFullFridge.poke(b);Hu(qa,0);break;case 3:we(qa),a.butterBar.showWarning("Could not determine email type."),xe(qa)}})},Lsc=function(a,b,c,d){usc(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 vsc(a,e,b)},Ksc=function(a,b,c,d,e,f){e=e===void 0?!1:e;f=f===void 0?null:f;if(e&&!f)throw Error("Gd");var h=e?"ISSUE_DEFAULTS":"ISSUE";d=e?f:d;e={noAccessEmails:[]};return b.length!==0&&a.issuePermissionService.isImplicitAccessEnabled()?a.accessPolicy.checkPermission(b.map(Sp),c,h,d):Promise.resolve(e)},Jsc=function(a,
b){var c=b.issueId,d=a.isSavingMap.get(c);a=(a=a.editableIssueMap.get(c))&&tp(a);if(!a||!d)return b;b=pj(b);c=Na(b.snapshot);var e=rsc(d);d=e.customFields;e=k(e.fields);for(var f=e.next();!f.done;f=e.next()){var h=void 0;(h=Rqc.get(f.value))==null||h(c,a)}d=k(d);f=d.next();for(e={};!f.done;e={customFieldId$jscomp$16:void 0},f=d.next())f=f.value,e.customFieldId$jscomp$16=uj(f),e=(c.customField||[]).find(function(l){return function(q){return q.customFieldId===l.customFieldId$jscomp$16}}(e)),f=a.customFieldMap[f],
e&&f&&(e.textValue=f.textValue,e.dateValue=f.dateValue,e.enumValue=f.enumValue,e.numericValue=f.numericValue);return b},tsc=function(a,b){var c=Pqc(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(gJa(e)))});return c.actions.length?c:null},usc=function(a,b){var c=String(b.issueId);jq(a.butterBar,"Saving...",0);var d=b.actions.map(function(e){return e.fieldName}).join(",");lq(a.issueInteractionsTracking,c,{label:d});a=a.savingState(c);
b=k(b.actions);for(c=b.next();!c.done;c=b.next())kq(a,gJa(c.value))},vsc=function(a,b,c,d){var e,f;return se(function(h){switch(h.nextAddress){case 1:return te(h,2),y(h,b,4);case 4:return e=h.yieldResult,SF(a.issueFullFridge,[c.issueId],{eagerUpdate:!1,userActivityType:"EDIT"}).finally(function(){var l=String(c.issueId);a.issueFullFridge.poke(l);a.eventsForIssueFridge.poke(l)}),y(h,Nsc(a,c,e,d),5);case 5:Hu(h,0);break;case 2:f=we(h),Osc(a,c,f),xe(h)}})},Nsc=function(a,b,c,d){var e=(d===void 0?{}:
d).originalRetentionState;var f,h,l,q;return se(function(u){f=a.savingState(String(b.issueId));h=k(b.actions);for(l=h.next();!l.done;l=h.next())q=l.value,iJ(f,gJa(q));eoc(a.implicitTriageService,b.issueId,b.actions);return c?y(u,Psc(a,b,e),0):u.jumpTo(0)})},Osc=function(a,b,c){var d=String(b.issueId),e=a.savingState(d);b=k(b.actions);for(var f=b.next();!f.done;f=b.next())iJ(e,gJa(f.value));a.permissionsFridge.poke("issues/"+d);a.issueFullFridge.poke(d);Zo(c)&&c.status===403&&$o(c)?DI(a.errorHandler,
$o(c)):EI(a.errorHandler,c)},Psc=function(a,b,c){var d,e,f,h,l,q,u,A,F,H,N;return se(function(O){switch(O.nextAddress){case 1:return y(O,a.getEffortSpec(String(b.issueId)),2);case 2:d=O.yieldResult;e=a.editableIssue(String(b.issueId));l=yrc(a.statusMessages,b,e.customFieldMap,(h=(f=d)==null?void 0:f.name)!=null?h:"");if(!c){O.jumpTo(3);break}return y(O,Promise.all([a.getRetentionState(String(b.issueId)),a.getRetention(String(b.issueId))]),4);case 4:q=O.yieldResult;u=k(q);A=u.next().value;F=u.next().value;
H=A;N=F;if(N!=="INDEFINITE"&&c&&H){var T=c.retentionPeriod?Nl(Math.floor(c.retentionPeriod.seconds*1E3/864E5)):"indefinite";var ea=H.retentionPeriod?Nl(Math.floor(H.retentionPeriod.seconds*1E3/864E5)):"indefinite";T=T===ea?"":" Issue retention period changed from "+T+" to "+ea+"."}else T="";l+=T;case 3:jq(a.butterBar,l),xe(O)}})},Bsc=function(a,b,c,d){return se(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(t(f.values())).flat())).has(h)?(f.set(c,d),h=!(new Set([].concat(t(f.values())).flat())).has(h)):h=!1;e=h?y(e,Qsc(a,b,a.editableIssue(b).componentId,c),2):e.return(!0)}else e=e.return(e.yieldResult);return e})},Qsc=function(a,b,c,d){var e;return se(function(f){if(f.nextAddress==1)return y(f,Ksc(a,[a.activeSession.getUserEmail()],"reader",b,!0,c),2);e=f.yieldResult;return e.noAccessEmails&&e.noAccessEmails.length!==
0?f.return(hrc(a.confirmationDialogService,{title:"Removing yourself from "+d+" may revoke your access to the issue",content:wi("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)})};kJ.prototype.getRetentionState=function(a){return Fe(this.issueFullFridge.watch(a).pipe(z(RIa)))};
kJ.prototype.getRetention=function(a){return Fe(this.issueFullFridge.watch(a).pipe(z(OIa)))};kJ.prototype.getEffortSpec=function(a){var b=this;return Fe(this.issueFullFridge.watch(a).pipe(z(uIa),Yf(function(c){return b.componentFridge.watch(c)}),z(UIa)))};var Msc=function(a,b){return se(function(c){return a.activeSession.isExternalSession()?c.return({principalType:"NON_GAIA",detailedUserType:"NO_DETAILED_TYPE"}):c.return(qG(a.principalTypes,b,!0))})};
kJ.prototype.ngOnDestroy=function(){this.isSavingMap.clear();this.issueFieldsMap.clear();this.issueQuickActionsMap.clear();this.editableIssueMap.clear();for(var a=k(this.subscriptions.values()),b=a.next();!b.done;b=a.next())b.value.unsubscribe();this.subscriptions.clear()};kJ.\u0275fac=function(a){return new (a||kJ)};kJ.\u0275prov=n({token:kJ,factory:kJ.\u0275fac,providedIn:"root"});var mJ=function(){Z.apply(this,arguments);this.issueDetailsBrain=r(eJ);this.issuePermissionService=r(gJ);this.editIssueService=r(kJ);this.assigneeInProgress$=new Tf(1);this.ccInProgress$=new Tf(1);this.id$=this.issueDetailsBrain.id$;this.assigneeUpdate$=this.issueDetailsBrain.issueJs$.pipe(z(function(a){return nxa(a)||""}));this.ccUpdate$=this.issueDetailsBrain.issueJs$.pipe(z(function(a){var b;return Qj((b=Ql(a))==null?void 0:b.ccUsers)||[]}));this.assignee$=this.assigneeUpdate$.pipe(Vf({refCount:!0,
bufferSize:1}));this.cc$=this.ccUpdate$.pipe(Vf({refCount:!0,bufferSize:1}));this.assigneeUpdating$=this.assigneeInProgress$;this.ccUpdating$=this.ccInProgress$;this.editAccess$=this.issuePermissionService.hasAclToEdit$};Y(mJ,Z);mJ.\u0275dir=Z.\u0275dir;
var Rsc=function(a,b){var c,d,e;return se(function(f){switch(f.nextAddress){case 1:c=tp(a.id$);if(!c)return f.return();a.assigneeInProgress$.next(!0);d=b.action==="remove_user"?"":b.email;te(f,2,3);return y(f,rxb(a.editIssueService,c,d),5);case 5:return y(f,Fe(a.assigneeUpdate$.pipe(Ue(function(h){h=b.email===h;return b.action==="set_user"?h:!h}),Ve(6E4))),3);case 3:ue(f);a.assigneeInProgress$.next(!1);ve(f,0);break;case 2:throw e=we(f),e;}})},Ssc=function(a,b){var c,d,e,f,h;return se(function(l){switch(l.nextAddress){case 1:c=
tp(a.id$);if(!c)return l.return();d=a.editIssueService.editableIssue(c);e=d.cc.includes(b.email);f=void 0;b.action!=="set_user"||e?b.action==="remove_user"&&e&&(f=Csc(a.editIssueService,c,d.cc.filter(function(q){return q!==b.email}))):f=Csc(a.editIssueService,c,[].concat(t(d.cc),[b.email]));if(!f)return l.return();te(l,2,3);a.ccInProgress$.next(!0);return y(l,f,5);case 5:return y(l,Fe(a.ccUpdate$.pipe(Ue(function(q){q=q.includes(b.email);return b.action==="set_user"?q:!q}),Ve(6E4))),3);case 3:ue(l);
a.ccInProgress$.next(!1);ve(l,0);break;case 2:throw h=we(l),h;}})};mJ.\u0275fac=function(){var a;return function(b){return(a||(a=ee(mJ)))(b||mJ)}}();mJ.\u0275prov=n({token:mJ,factory:mJ.\u0275fac});var Tsc=function(a){return["chip","gmat-caption",a]},nJ=function(){this.variant="grey";this.isTall=!1};nJ.\u0275fac=function(a){return new (a||nJ)};
nJ.\u0275cmp=C({type:nJ,selectors:[["onedev-chip"]],hostVars:2,hostBindings:function(a,b){a&2&&sg("tall",b.isTall)},inputs:{variant:"variant",isTall:"isTall"},standalone:!1,ngContentSelectors:["*"],decls:3,vars:3,consts:[[3,"ngClass"],[1,"centering"]],template:function(a,b){a&1&&(Ig(),I(0,"div",0)(1,"div",1),Jg(2),J()());a&2&&E("ngClass",eh(1,Tsc,b.variant))},dependencies:[aw],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 Usc=function(a){this.chip=a};Usc.\u0275fac=function(a){return new (a||Usc)(hf(nJ))};Usc.\u0275dir=Df({type:Usc,selectors:[["","onedevChipIcon",""]],hostVars:10,hostBindings:function(a,b){a&2&&rg("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")},standalone:!1});var oJ=function(){};oJ.\u0275fac=function(a){return new (a||oJ)};oJ.\u0275mod=Cf({type:oJ});oJ.\u0275inj=p({imports:[mw]});var Vsc=function(){};Vsc.\u0275fac=function(a){return new (a||Vsc)};Vsc.\u0275cmp=C({type:Vsc,selectors:[["","onedevDot",""]],hostVars:1,hostBindings:function(a){a&2&&jg("aria-hidden",!0)},standalone:!1,attrs:["onedevDot",""],decls:1,vars:0,template:function(a){a&1&&Q(0,"\u00a0\u00b7\u00a0")},encapsulation:2});var pJ=function(){};pJ.\u0275fac=function(a){return new (a||pJ)};pJ.\u0275mod=Cf({type:pJ});pJ.\u0275inj=p({});var Wsc=[[["","onedev-additional-content",""]],[["onedev-hovercard-action"]]],Xsc=function(a){return{"with-avatar":a}},qJ=function(){};qJ.prototype.ngOnInit=function(){};qJ.\u0275fac=function(a){return new (a||qJ)};
qJ.\u0275cmp=C({type:qJ,selectors:[["onedev-person-hovercard-body"]],inputs:{person:"person",outOfOfficeDescription:"outOfOfficeDescription"},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(Wsc),I(0,"div",0)(1,"div",1)(2,"div",2),D(3,hJa,1,2,"img",3),I(4,"div",4),Q(5),J(),D(6,iJa,2,1,"div",5),J(),D(7,jJa,4,1,"div",6),I(8,"div",7),D(9,nJa,7,3,"ng-container",8)(10,oJa,4,1,"ng-container",8)(11,pJa,19,4,"ng-container",8),Jg(12),J()(),Jg(13,1),J());a&2&&(B(2),E("ngClass",eh(8,Xsc,b.person.imageUrl)),B(),E("ngIf",b.person.imageUrl),B(2),Yg(b.person.name||b.person.email),B(),E("ngIf",b.person.name),B(),E("ngIf",b.outOfOfficeDescription),B(2),E("ngIf",b.person.title||b.person.department),
B(),E("ngIf",b.person.location),B(),E("ngIf",b.person.ldap))},dependencies:[oJ,nJ,Usc,mw,aw,cw,pJ,Vsc,kC,pB],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 Ysc=function(){};var Zsc=function(a){if(a.getCount&&typeof a.getCount=="function")a=a.getCount();else if(Xa(a)||typeof a==="string")a=a.length;else{var b=0,c;for(c in a)b++;a=b}return a},rJ=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(Xa(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return iea(a)},$sc=
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(Xa(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}}},atc=function(a,b,c){if(a.forEach&&typeof a.forEach=="function")a.forEach(b,c);else if(Xa(a)||typeof a==="string")Array.prototype.forEach.call(a,
b,c);else for(var d=$sc(a),e=rJ(a),f=e.length,h=0;h<f;h++)b.call(c,e[h],d&&d[h],a)},btc=function(a,b,c){if(typeof a.every=="function")return a.every(b,c);if(Xa(a)||typeof a==="string")return Array.prototype.every.call(a,b,c);for(var d=$sc(a),e=rJ(a),f=e.length,h=0;h<f;h++)if(!b.call(c,e[h],d&&d[h],a))return!1;return!0};var ctc=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$"),dtc=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," ")):"")}}},etc=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]},ftc=function(a,b,c){if(Array.isArray(b))for(var d=0;d<b.length;d++)ftc(a,String(b[d]),c);else b!=null&&c.push(a+(b===""?"":"="+encodeURIComponent(String(b))))},gtc=function(a,b){var c=[];for(b=b||0;b<a.length;b+=2)ftc(a[b],a[b+1],c);return c.join("&")},htc=function(a){var b=[],c;for(c in a)ftc(c,a[c],b);return b.join("&")},gRa=function(a,b){var c=arguments.length==2?gtc(arguments[1],0):gtc(arguments,
1);return etc(a,c)},iRa=function(a,b){b=htc(b);return etc(a,b)},itc=function(a,b,c){c=c!=null?"="+encodeURIComponent(String(c)):"";return etc(a,b+c)},jtc=/#|$/,ktc=function(a,b){var c=a.search(jtc);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 Oq=function(a,b){this.domain_=this.userInfo_=this.scheme_="";this.port_=null;this.fragment_=this.path_="";this.ignoreCase_=!1;var c;a instanceof Oq?(this.ignoreCase_=b!==void 0?b:a.ignoreCase_,sJ(this,a.scheme_),this.setUserInfo(a.getUserInfo()),tJ(this,a.getDomain()),this.setPort(a.getPort()),this.setPath(a.getPath()),ltc(this,a.queryData_.clone()),mtc(this,a.fragment_)):a&&(c=String(a).match(ctc))?(this.ignoreCase_=!!b,sJ(this,c[1]||"",!0),this.setUserInfo(c[2]||"",!0),tJ(this,c[3]||"",!0),
this.setPort(c[4]),this.setPath(c[5]||"",!0),ltc(this,c[6]||"",!0),mtc(this,c[7]||"",!0)):(this.ignoreCase_=!!b,this.queryData_=new uJ(null,this.ignoreCase_))};
Oq.prototype.toString=function(){var a=[],b=this.scheme_;b&&a.push(ntc(b,otc,!0),":");var c=this.getDomain();if(c||b=="file")a.push("//"),(b=this.getUserInfo())&&a.push(ntc(b,otc,!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(ntc(c,c.charAt(0)=="/"?ptc:qtc,!0));(c=this.queryData_.toString())&&a.push("?",c);(c=this.fragment_)&&a.push("#",ntc(c,
rtc));return a.join("")};
Oq.prototype.resolve=function(a){var b=this.clone(),c=!!a.scheme_;c?sJ(b,a.scheme_):c=a.hasUserInfo();c?b.setUserInfo(a.getUserInfo()):c=!!a.domain_;c?tJ(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(Da(e,"./")||Da(e,"/.")){d=e.lastIndexOf("/",0)==0;e=e.split("/");for(var f=
[],h=0;h<e.length;){var l=e[h++];l=="."?d&&h==e.length&&f.push(""):l==".."?((f.length>1||f.length==1&&f[0]!="")&&f.pop(),d&&h==e.length&&f.push("")):(f.push(l),d=!0)}d=f.join("/")}else d=e}c?b.setPath(d):c=a.hasQuery();c?ltc(b,a.queryData_.clone()):c=!!a.fragment_;c&&mtc(b,a.fragment_);return b};Oq.prototype.clone=function(){return new Oq(this)};var sJ=function(a,b,c){a.scheme_=c?vJ(b,!0):b;a.scheme_&&(a.scheme_=a.scheme_.replace(/:$/,""));return a};Oq.prototype.getUserInfo=function(){return this.userInfo_};
Oq.prototype.setUserInfo=function(a,b){this.userInfo_=b?vJ(a):a;return this};Oq.prototype.hasUserInfo=function(){return!!this.userInfo_};Oq.prototype.getDomain=function(){return this.domain_};var tJ=function(a,b,c){a.domain_=c?vJ(b,!0):b;return a};g=Oq.prototype;g.getPort=function(){return this.port_};g.setPort=function(a){if(a){a=Number(a);if(isNaN(a)||a<0)throw Error("Hd`"+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?vJ(a,!0):a;return this};g.hasPath=function(){return!!this.path_};g.hasQuery=function(){return this.queryData_.toString()!==""};var ltc=function(a,b,c){b instanceof uJ?(a.queryData_=b,a.queryData_.setIgnoreCase(a.ignoreCase_)):(c||(b=ntc(b,stc)),a.queryData_=new uJ(b,a.ignoreCase_));return a};Oq.prototype.setQuery=function(a){return ltc(this,a)};Oq.prototype.getQuery=function(){return this.queryData_.toString()};
var wJ=function(a,b,c){a.queryData_.set(b,c);return a},xJ=function(a,b){return a.queryData_.get(b)},mtc=function(a,b,c){a.fragment_=c?vJ(b):b;return a},ttc=function(a){wJ(a,"zx",J4b());return a};Oq.prototype.removeParameter=function(a){this.queryData_.remove(a);return this};Oq.prototype.isReadOnly=function(){return!1};Oq.prototype.setIgnoreCase=function(a){this.ignoreCase_=a;this.queryData_&&this.queryData_.setIgnoreCase(a)};
var yJ=function(a,b){return a instanceof Oq?a.clone():new Oq(a,b)},utc=function(a,b,c,d,e){var f=new Oq(null);a&&sJ(f,a);b&&f.setUserInfo(b);c&&tJ(f,c);d&&f.setPort(d);e&&f.setPath(e);return f},vJ=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},ntc=function(a,b,c){return typeof a==="string"?(a=encodeURI(a).replace(b,vtc),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},vtc=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},
otc=/[#\/\?@]/g,qtc=/[#\?:]/g,ptc=/[#\?]/g,stc=/[#\?@]/g,rtc=/#/g,uJ=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_&&dtc(a.encodedQuery_,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};g=uJ.prototype;g.getCount=function(){zJ(this);return this.count_};
g.add=function(a,b){zJ(this);this.encodedQuery_=null;a=AJ(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=AJ(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=AJ(this,a);return this.keyMap_.has(a)};
g.containsValue=function(a){var b=this.getValues();return Qa(b,a)>=0};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(AJ(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=AJ(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(AJ(this,a),Wa(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 uJ;a.encodedQuery_=this.encodedQuery_;this.keyMap_&&(a.keyMap_=new Map(this.keyMap_),a.count_=this.count_);return a};var AJ=function(a,b){b=String(b);a.ignoreCase_&&(b=b.toLowerCase());return b};uJ.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};
uJ.prototype.extend=function(a){for(var b=0;b<arguments.length;b++)atc(arguments[b],function(c,d){this.add(d,c)},this)};var wtc=function(a){var b="";Fc(a,function(c,d){b+=d;b+=":";b+=c;b+="\r\n"});return b},xtc=function(a,b,c){if(Hc(c))return a;c=wtc(c);if(typeof a==="string")return itc(a,encodeURIComponent(String(b)),c);wJ(a,b,c);return a};var Up=function(){this.Serializable$values={}},Tp=function(a,b){return a.Serializable$values.hasOwnProperty(b)?a.Serializable$values[b]:null},BJ=function(a,b){return a.Serializable$values[b]!=null};var ytc=function(){};var ztc=function(a,b){this.requestService=a;this.hookFactory=b===void 0?null:b};Y(ztc,ytc);
var Atc=function(a,b,c){var d=qJa(a.hookFactory,b);return d==null?c:Se.pipe($f({complete:function(){d.onBeforeSend()}}),Xja(c.pipe($f(function(e){d.onSuccess(e)},function(e){d.onError(e)}))))},Btc=function(a,b){var c=b.responseCtor||void 0,d=a.requestService,e=d.send,f=b.body instanceof Up?xJa(b.body,uJa,vJa,wJa):b.body;return Atc(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 Ctc=function(){};Ctc.prototype.send=function(a,b){rJa(a);return this.makeRequest(a).pipe(z(function(c){return b?BJa(b,c):c}))};var Dtc=new zd("API_VERSION"),Etc=new zd("REQUEST_SERVICE for people-pa_api_client"),Ftc={$Xgafv:"$.xgafv",abuseCheckParamsRfaChecks:"abuseCheckParams.rfaChecks",access_token:"access_token",affinityType:"affinityType",alt:"alt",authDelegationContextContactsEncryptedOwnerId:"authDelegationContext.contacts.encryptedOwnerId",authDelegationContextDelegationType:"authDelegationContext.delegationType",authDelegationContextGriffinObfuscatedOwnerId:"authDelegationContext.griffin.obfuscatedOwnerId",authDelegationContextMadisonMadisonGaiaId:"authDelegationContext.madison.madisonGaiaId",
authDelegationContextMadisonObfuscatedMadisonId:"authDelegationContext.madison.obfuscatedMadisonId",authDelegationContextObfuscatedOwnerId:"authDelegationContext.obfuscatedOwnerId",authDelegationContextUnicornObfuscatedOwnerId:"authDelegationContext.unicorn.obfuscatedOwnerId",blockDirection:"blockDirection",callback:"callback",canonicalPhone:"canonicalPhone",client:"client",clientId:"client.id",clientVersionClientAgent:"clientVersion.clientAgent",clientVersionClientType:"clientVersion.clientType",
clientVersionClientVersion:"clientVersion.clientVersion",clientVersionGmsCoreContextAppManagementContext:"clientVersion.gmsCoreContext.appManagementContext",clientVersionGmsCoreContextIsFirstParty:"clientVersion.gmsCoreContext.isFirstParty",clientVersionGmsCoreContextPackageName:"clientVersion.gmsCoreContext.packageName",clientVersionGmsCoreContextPackageSignature:"clientVersion.gmsCoreContext.packageSignature",consentOptionsStrategy:"consentOptions.strategy",consistencyOptionsConsistentReadOverrideType:"consistencyOptions.consistentReadOverrideType",
consistencyOptionsDirectoryConsistencyOptionsDirectoryVersionToken:"consistencyOptions.directoryConsistencyOptions.directoryVersionToken",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",
contextConsistencyOptionsDirectoryConsistencyOptionsDirectoryVersionToken:"context.consistencyOptions.directoryConsistencyOptions.directoryVersionToken",contextConsistencyOptionsLevel:"context.consistencyOptions.level",contextConsistencyOptionsLevelOptionsBoundedConsistencyMaxAllowedStaleness:"context.consistencyOptions.levelOptions.boundedConsistency.maxAllowedStaleness",contextConsistencyOptionsLevelOptionsExactTimestamp:"context.consistencyOptions.levelOptions.exactTimestamp",contextConsistencyOptionsLevelOptionsStaleConsistencyConsistencyRequirement:"context.consistencyOptions.levelOptions.staleConsistency.consistencyRequirement",
contextMigrationOptionsUseClusterBased:"context.migrationOptions.useClusterBased",contextMigrationOptionsUseLegacyRequestMaskBehavior:"context.migrationOptions.useLegacyRequestMaskBehavior",contextMigrationOptionsUseNewRequestMaskBehavior:"context.migrationOptions.useNewRequestMaskBehavior",contextRequestGroupLoggingId:"context.requestGroupLoggingId",contextRightOfPublicityContext:"context.rightOfPublicityContext",coreIdParamsCheckIdentityAcl:"coreIdParams.checkIdentityAcl",coreIdParamsEnablePrivateAccountEmails:"coreIdParams.enablePrivateAccountEmails",
coreIdParamsEnablePrivateNames:"coreIdParams.enablePrivateNames",coreIdParamsEnforceEdsConditionEnforceEdsType:"coreIdParams.enforceEdsCondition.enforceEdsType",coreIdParamsIdentityAclOptionsContextConfigName:"coreIdParams.identityAclOptions.context.configName",coreIdParamsIdentityAclOptionsContextObjectId:"coreIdParams.identityAclOptions.context.objectId",coreIdParamsIdentityAclOptionsContextObjectPart:"coreIdParams.identityAclOptions.context.objectPart",coreIdParamsIdentityAclOptionsContextZookie:"coreIdParams.identityAclOptions.context.zookie",
coreIdParamsIdentityAclOptionsGroupServiceContextGroupName:"coreIdParams.identityAclOptions.groupServiceContext.groupName",coreIdParamsIdentityAclOptionsGroupServiceContextOwnerGaiaId:"coreIdParams.identityAclOptions.groupServiceContext.ownerGaiaId",coreIdParamsIdentityAclOptionsGroupServiceContextZookie:"coreIdParams.identityAclOptions.groupServiceContext.zookie",coreIdParamsIdentityAclOptionsMode:"coreIdParams.identityAclOptions.mode",coreIdParamsIgnoreAclConditionIgnoreAclConditionType:"coreIdParams.ignoreAclCondition.ignoreAclConditionType",
coreIdParamsProfileAccessTokensInteractionTokens:"coreIdParams.profileAccessTokens.interactionTokens",coreIdParamsUseRealtimeNotificationExpandedAcls:"coreIdParams.useRealtimeNotificationExpandedAcls",coreNameCoreProfileFirstName:"coreName.coreProfileFirstName",coreNameCoreProfileLastName:"coreName.coreProfileLastName",customLookupType:"customLookupType",dataFormatsAffinityFormatsScoreFormat:"dataFormats.affinityFormats.scoreFormat",dataFormatsProfilePhotoOptionsCorpHeaderPreference:"dataFormats.profilePhotoOptions.corpHeaderPreference",
dataFormatsProfilePhotoOptionsPrivateUrlFormat:"dataFormats.profilePhotoOptions.privateUrlFormat",dataJoinParamsPhoneStalenessSpec:"dataJoinParams.phoneStalenessSpec",dataJoinParamsProfileJoinType:"dataJoinParams.profileJoinType",dedupeOption:"dedupeOption",delayFullSync:"delayFullSync",delegatedGroupIdDelegatedGroupId:"delegatedGroupId.delegatedGroupId",deleteContacts:"deleteContacts",deleteTrashedContacts:"deleteTrashedContacts",deletionContextMutationContextAndroidDeviceInfoId:"deletionContext.mutationContext.androidDeviceInfo.id",
deletionContextMutationContextHostAppInfoHostAppName:"deletionContext.mutationContext.hostAppInfo.hostAppName",deletionContextMutationContextSource:"deletionContext.mutationContext.source",deletionContextMutationContextThirdPartyInfoClientName:"deletionContext.mutationContext.thirdPartyInfo.clientName",deletionContextMutationContextThirdPartyInfoProjectNumber:"deletionContext.mutationContext.thirdPartyInfo.projectNumber",deletionContextMutationContextTimestamp:"deletionContext.mutationContext.timestamp",
deviceId:"deviceId",deviceIdentifierClientInstanceId:"deviceIdentifier.clientInstanceId",deviceIdentityDeviceId:"deviceIdentity.deviceId",dryRunOptionsDryRunMode:"dryRunOptions.dryRunMode",extensionSetExtendedRequestDataPeopleBackendExtensionApplication:"extensionSet.extendedRequestData.peopleBackendExtension.application",extensionSetExtensionNames:"extensionSet.extensionNames",fieldFilterField:"fieldFilter.field",fieldMask:"fieldMask",fieldValueFilterAdminAssistants:"fieldValueFilter.adminAssistants",
fieldValueFilterDottedLineManagers:"fieldValueFilter.dottedLineManagers",fieldValueFilterExecAssistants:"fieldValueFilter.execAssistants",fieldValueFilterIndirectManagers:"fieldValueFilter.indirectManagers",fieldValueFilterIndirectManagersWithMaxNumHops:"fieldValueFilter.indirectManagersWithMaxNumHops",fieldValueFilterManagers:"fieldValueFilter.managers",fieldValueFilterProfileExternalIdCustomTag:"fieldValueFilter.profileExternalId.customTag",fieldValueFilterProfileExternalIdStandardTag:"fieldValueFilter.profileExternalId.standardTag",
fieldValueFilterProfileExternalIdValue:"fieldValueFilter.profileExternalId.value",fields:"fields",getPeopleRequestAbuseCheckParamsRfaChecks:"getPeopleRequest.abuseCheckParams.rfaChecks",getPeopleRequestContextAllowedRequesterState:"getPeopleRequest.context.allowedRequesterState",getPeopleRequestContextAuthDelegationContextContactsEncryptedOwnerId:"getPeopleRequest.context.authDelegationContext.contacts.encryptedOwnerId",getPeopleRequestContextAuthDelegationContextDelegationType:"getPeopleRequest.context.authDelegationContext.delegationType",
getPeopleRequestContextAuthDelegationContextGriffinObfuscatedOwnerId:"getPeopleRequest.context.authDelegationContext.griffin.obfuscatedOwnerId",getPeopleRequestContextAuthDelegationContextMadisonMadisonGaiaId:"getPeopleRequest.context.authDelegationContext.madison.madisonGaiaId",getPeopleRequestContextAuthDelegationContextMadisonObfuscatedMadisonId:"getPeopleRequest.context.authDelegationContext.madison.obfuscatedMadisonId",getPeopleRequestContextAuthDelegationContextObfuscatedOwnerId:"getPeopleRequest.context.authDelegationContext.obfuscatedOwnerId",
getPeopleRequestContextAuthDelegationContextUnicornObfuscatedOwnerId:"getPeopleRequest.context.authDelegationContext.unicorn.obfuscatedOwnerId",getPeopleRequestContextClientType:"getPeopleRequest.context.clientType",getPeopleRequestContextClientVersionClientAgent:"getPeopleRequest.context.clientVersion.clientAgent",getPeopleRequestContextClientVersionClientType:"getPeopleRequest.context.clientVersion.clientType",getPeopleRequestContextClientVersionClientVersion:"getPeopleRequest.context.clientVersion.clientVersion",
getPeopleRequestContextClientVersionGmsCoreContextAppManagementContext:"getPeopleRequest.context.clientVersion.gmsCoreContext.appManagementContext",getPeopleRequestContextClientVersionGmsCoreContextIsFirstParty:"getPeopleRequest.context.clientVersion.gmsCoreContext.isFirstParty",getPeopleRequestContextClientVersionGmsCoreContextPackageName:"getPeopleRequest.context.clientVersion.gmsCoreContext.packageName",getPeopleRequestContextClientVersionGmsCoreContextPackageSignature:"getPeopleRequest.context.clientVersion.gmsCoreContext.packageSignature",
getPeopleRequestContextConsistencyContextDirectoryVersionToken:"getPeopleRequest.context.consistencyContext.directoryVersionToken",getPeopleRequestContextConsistencyOptionsConsistentReadOverrideType:"getPeopleRequest.context.consistencyOptions.consistentReadOverrideType",getPeopleRequestContextConsistencyOptionsDirectoryConsistencyOptionsDirectoryVersionToken:"getPeopleRequest.context.consistencyOptions.directoryConsistencyOptions.directoryVersionToken",getPeopleRequestContextConsistencyOptionsLevel:"getPeopleRequest.context.consistencyOptions.level",
getPeopleRequestContextConsistencyOptionsLevelOptionsBoundedConsistencyMaxAllowedStaleness:"getPeopleRequest.context.consistencyOptions.levelOptions.boundedConsistency.maxAllowedStaleness",getPeopleRequestContextConsistencyOptionsLevelOptionsExactTimestamp:"getPeopleRequest.context.consistencyOptions.levelOptions.exactTimestamp",getPeopleRequestContextConsistencyOptionsLevelOptionsStaleConsistencyConsistencyRequirement:"getPeopleRequest.context.consistencyOptions.levelOptions.staleConsistency.consistencyRequirement",
getPeopleRequestContextMigrationOptionsUseClusterBased:"getPeopleRequest.context.migrationOptions.useClusterBased",getPeopleRequestContextMigrationOptionsUseLegacyRequestMaskBehavior:"getPeopleRequest.context.migrationOptions.useLegacyRequestMaskBehavior",getPeopleRequestContextMigrationOptionsUseNewRequestMaskBehavior:"getPeopleRequest.context.migrationOptions.useNewRequestMaskBehavior",getPeopleRequestContextRequestGroupLoggingId:"getPeopleRequest.context.requestGroupLoggingId",getPeopleRequestContextRightOfPublicityContext:"getPeopleRequest.context.rightOfPublicityContext",
getPeopleRequestCoreIdParamsCheckIdentityAcl:"getPeopleRequest.coreIdParams.checkIdentityAcl",getPeopleRequestCoreIdParamsEnablePrivateAccountEmails:"getPeopleRequest.coreIdParams.enablePrivateAccountEmails",getPeopleRequestCoreIdParamsEnablePrivateNames:"getPeopleRequest.coreIdParams.enablePrivateNames",getPeopleRequestCoreIdParamsEnforceEdsConditionEnforceEdsType:"getPeopleRequest.coreIdParams.enforceEdsCondition.enforceEdsType",getPeopleRequestCoreIdParamsIdentityAclOptionsContextConfigName:"getPeopleRequest.coreIdParams.identityAclOptions.context.configName",
getPeopleRequestCoreIdParamsIdentityAclOptionsContextObjectId:"getPeopleRequest.coreIdParams.identityAclOptions.context.objectId",getPeopleRequestCoreIdParamsIdentityAclOptionsContextObjectPart:"getPeopleRequest.coreIdParams.identityAclOptions.context.objectPart",getPeopleRequestCoreIdParamsIdentityAclOptionsContextZookie:"getPeopleRequest.coreIdParams.identityAclOptions.context.zookie",getPeopleRequestCoreIdParamsIdentityAclOptionsGroupServiceContextGroupName:"getPeopleRequest.coreIdParams.identityAclOptions.groupServiceContext.groupName",
getPeopleRequestCoreIdParamsIdentityAclOptionsGroupServiceContextOwnerGaiaId:"getPeopleRequest.coreIdParams.identityAclOptions.groupServiceContext.ownerGaiaId",getPeopleRequestCoreIdParamsIdentityAclOptionsGroupServiceContextZookie:"getPeopleRequest.coreIdParams.identityAclOptions.groupServiceContext.zookie",getPeopleRequestCoreIdParamsIdentityAclOptionsMode:"getPeopleRequest.coreIdParams.identityAclOptions.mode",getPeopleRequestCoreIdParamsIgnoreAclConditionIgnoreAclConditionType:"getPeopleRequest.coreIdParams.ignoreAclCondition.ignoreAclConditionType",
getPeopleRequestCoreIdParamsProfileAccessTokensInteractionTokens:"getPeopleRequest.coreIdParams.profileAccessTokens.interactionTokens",getPeopleRequestCoreIdParamsUseRealtimeNotificationExpandedAcls:"getPeopleRequest.coreIdParams.useRealtimeNotificationExpandedAcls",getPeopleRequestDataFormatsAffinityFormatsScoreFormat:"getPeopleRequest.dataFormats.affinityFormats.scoreFormat",getPeopleRequestDataFormatsProfilePhotoOptionsCorpHeaderPreference:"getPeopleRequest.dataFormats.profilePhotoOptions.corpHeaderPreference",
getPeopleRequestDataFormatsProfilePhotoOptionsPrivateUrlFormat:"getPeopleRequest.dataFormats.profilePhotoOptions.privateUrlFormat",getPeopleRequestDedupeOption:"getPeopleRequest.dedupeOption",getPeopleRequestExtensionSetExtendedRequestDataPeopleBackendExtensionApplication:"getPeopleRequest.extensionSet.extendedRequestData.peopleBackendExtension.application",getPeopleRequestExtensionSetExtensionNames:"getPeopleRequest.extensionSet.extensionNames",getPeopleRequestIncludeFieldAcl:"getPeopleRequest.includeFieldAcl",
getPeopleRequestIncludedProfileStates:"getPeopleRequest.includedProfileStates",getPeopleRequestMergedPersonSourceOptionsCertificateParamsRequestCertificates:"getPeopleRequest.mergedPersonSourceOptions.certificateParams.requestCertificates",getPeopleRequestMergedPersonSourceOptionsDataJoinParamsPhoneStalenessSpec:"getPeopleRequest.mergedPersonSourceOptions.dataJoinParams.phoneStalenessSpec",getPeopleRequestMergedPersonSourceOptionsDataJoinParamsProfileJoinType:"getPeopleRequest.mergedPersonSourceOptions.dataJoinParams.profileJoinType",
getPeopleRequestMergedPersonSourceOptionsDeviceContactFilterDeviceIdentifierClientInstanceId:"getPeopleRequest.mergedPersonSourceOptions.deviceContactFilter.deviceIdentifier.clientInstanceId",getPeopleRequestMergedPersonSourceOptionsDeviceContactFilterFilterType:"getPeopleRequest.mergedPersonSourceOptions.deviceContactFilter.filterType",getPeopleRequestMergedPersonSourceOptionsIncludeAccountLocale:"getPeopleRequest.mergedPersonSourceOptions.includeAccountLocale",getPeopleRequestMergedPersonSourceOptionsIncludeAffinity:"getPeopleRequest.mergedPersonSourceOptions.includeAffinity",
getPeopleRequestMergedPersonSourceOptionsIncludedContactDeletionStates:"getPeopleRequest.mergedPersonSourceOptions.includedContactDeletionStates",getPeopleRequestMergedPersonSourceOptionsIncludedProfileStates:"getPeopleRequest.mergedPersonSourceOptions.includedProfileStates",getPeopleRequestMergedPersonSourceOptionsPersonModelParamsPersonModel:"getPeopleRequest.mergedPersonSourceOptions.personModelParams.personModel",getPeopleRequestMergedPersonSourceOptionsPlaceParamsRequestPhotoTypes:"getPeopleRequest.mergedPersonSourceOptions.placeParams.requestPhotoTypes",
getPeopleRequestMergedPersonSourceOptionsPlaceParamsRequestPlaces:"getPeopleRequest.mergedPersonSourceOptions.placeParams.requestPlaces",getPeopleRequestMergedPersonSourceOptionsReplaceIantWithGiant:"getPeopleRequest.mergedPersonSourceOptions.replaceIantWithGiant",getPeopleRequestPersonId:"getPeopleRequest.personId",getPeopleRequestRequestConfigContextConfigKey:"getPeopleRequest.requestConfigContext.configKey",getPeopleRequestRequestConfigContextVersion:"getPeopleRequest.requestConfigContext.version",
getPeopleRequestRequestMaskCustomRequestMask:"getPeopleRequest.requestMask.customRequestMask",getPeopleRequestRequestMaskImageUrlType:"getPeopleRequest.requestMask.imageUrlType",getPeopleRequestRequestMaskIncludeContainer:"getPeopleRequest.requestMask.includeContainer",getPeopleRequestRequestMaskIncludeField:"getPeopleRequest.requestMask.includeField",getPeopleRequestRequestMaskIncludePeopleInCommon:"getPeopleRequest.requestMask.includePeopleInCommon",getPeopleRequestRequestMaskPersonAttribute:"getPeopleRequest.requestMask.personAttribute",
getPeopleRequestRequestMaskPhotoOptionsPrivateUrlFormat:"getPeopleRequest.requestMask.photoOptions.privateUrlFormat",getPeopleRequestRequestMaskProductContactGroup:"getPeopleRequest.requestMask.productContactGroup",graphRestricts:"graphRestricts",groupExtensionSetExtensionNames:"groupExtensionSet.extensionNames",groupId:"groupId",id:"id",includeAllAvailableSources:"includeAllAvailableSources",includeAllReachablePeople:"includeAllReachablePeople",includeBlocks:"includeBlocks",includeContent:"includeContent",
includeFieldAcl:"includeFieldAcl",includeLinkedPeople:"includeLinkedPeople",includeOthers:"includeOthers",includedProfileStates:"includedProfileStates",invalidatePriorTokens:"invalidatePriorTokens",key:"key",listFilterParamsContainer:"listFilterParams.container",listFilterParamsExcludeUnreachablePeople:"listFilterParams.excludeUnreachablePeople",matchType:"matchType",maxContacts:"maxContacts",mergedPersonSourceOptionsCertificateParamsRequestCertificates:"mergedPersonSourceOptions.certificateParams.requestCertificates",
mergedPersonSourceOptionsDataJoinParamsPhoneStalenessSpec:"mergedPersonSourceOptions.dataJoinParams.phoneStalenessSpec",mergedPersonSourceOptionsDataJoinParamsProfileJoinType:"mergedPersonSourceOptions.dataJoinParams.profileJoinType",mergedPersonSourceOptionsDeviceContactFilterDeviceIdentifierClientInstanceId:"mergedPersonSourceOptions.deviceContactFilter.deviceIdentifier.clientInstanceId",mergedPersonSourceOptionsDeviceContactFilterFilterType:"mergedPersonSourceOptions.deviceContactFilter.filterType",
mergedPersonSourceOptionsIncludeAccountLocale:"mergedPersonSourceOptions.includeAccountLocale",mergedPersonSourceOptionsIncludeAffinity:"mergedPersonSourceOptions.includeAffinity",mergedPersonSourceOptionsIncludedContactDeletionStates:"mergedPersonSourceOptions.includedContactDeletionStates",mergedPersonSourceOptionsIncludedProfileStates:"mergedPersonSourceOptions.includedProfileStates",mergedPersonSourceOptionsPersonModelParamsPersonModel:"mergedPersonSourceOptions.personModelParams.personModel",
mergedPersonSourceOptionsPlaceParamsRequestPhotoTypes:"mergedPersonSourceOptions.placeParams.requestPhotoTypes",mergedPersonSourceOptionsPlaceParamsRequestPlaces:"mergedPersonSourceOptions.placeParams.requestPlaces",mergedPersonSourceOptionsReplaceIantWithGiant:"mergedPersonSourceOptions.replaceIantWithGiant",oauth_token:"oauth_token",objectTypesRestricts:"objectTypesRestricts",options:"options",orderBy:"orderBy",pageSize:"pageSize",pageToken:"pageToken",pagingOptionsPageSize:"pagingOptions.pageSize",
pagingOptionsPageToken:"pagingOptions.pageToken",peopleType:"peopleType",personAttribute:"personAttribute",personExpansion:"personExpansion",personId:"personId",phoneBasedAclParamsReaderPhone:"phoneBasedAclParams.readerPhone",phoneLookupQuotaOptionsQuotaBypassTokenOptions:"phoneLookupQuotaOptions.quotaBypassTokenOptions",phoneLookupQuotaOptionsQuotaBypassTokens:"phoneLookupQuotaOptions.quotaBypassTokens",phoneLookupQuotaOptionsQuotaLimitBehavior:"phoneLookupQuotaOptions.quotaLimitBehavior",phones:"phones",
photoOptionsMaxHeight:"photoOptions.maxHeight",photoOptionsMaxWidth:"photoOptions.maxWidth",placeParamsRequestPlaces:"placeParams.requestPlaces",postPhotoMutateReadOption:"postPhotoMutateReadOption",prefixQuery:"prefixQuery",prettyPrint:"prettyPrint",profileId:"profileId",profileLookupOptionsEmailLookupOption:"profileLookupOptions.emailLookupOption",profileLookupOptionsExcludeGaiaAccountTypes:"profileLookupOptions.excludeGaiaAccountTypes",profileLookupOptionsUseTrustedClientPhoneLookupQuota:"profileLookupOptions.useTrustedClientPhoneLookupQuota",
query:"query",quotaFilterType:"quotaFilterType",quotaUser:"quotaUser",requestConfigContextConfigKey:"requestConfigContext.configKey",requestConfigContextVersion:"requestConfigContext.version",requestMask:"requestMask",requestMaskCustomRequestMask:"requestMask.customRequestMask",requestMaskImageUrlType:"requestMask.imageUrlType",requestMaskIncludeContainer:"requestMask.includeContainer",requestMaskIncludeField:"requestMask.includeField",requestMaskIncludePeopleInCommon:"requestMask.includePeopleInCommon",
requestMaskPersonAttribute:"requestMask.personAttribute",requestMaskPhotoOptionsPrivateUrlFormat:"requestMask.photoOptions.privateUrlFormat",requestMaskProductContactGroup:"requestMask.productContactGroup",requestOptionsProfilePhotoOptionsCorpHeaderPreference:"requestOptions.profilePhotoOptions.corpHeaderPreference",requestOptionsProfilePhotoOptionsPrivateUrlFormat:"requestOptions.profilePhotoOptions.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"},CJ=function(a,b,c){this.gapiVersion=a;this.gapiVersion=a==null?"v2":a;this.$apiClient=new ztc(b,c)};
CJ.prototype.list=function(a,b){a=a===void 0?{}:a;b=b===void 0?{}:b;return Btc(this.$apiClient,{body:null,httpMethod:"GET",methodId:"people_pa.people.lookup.list",path:"/"+this.gapiVersion+"/people/lookup",queryParams:sJa(a,Ftc,b)})};CJ.\u0275fac=function(a){return new (a||CJ)(pd(Dtc,8),pd(Etc),pd(Ysc,8))};CJ.\u0275prov=n({token:CJ,factory:CJ.\u0275fac,providedIn:"root"});var Gtc=function(){};Gtc.\u0275fac=function(a){return new (a||Gtc)};
Gtc.\u0275prov=n({token:Gtc,factory:function(a){return CJ.\u0275fac(a)},providedIn:"root"});var DJ=function(a,b,c){this.gapiVersion=a;this.gapiVersion=a==null?"v2":a;this.$apiClient=new ztc(b,c)};DJ.\u0275fac=function(a){return new (a||DJ)(pd(Dtc,8),pd(Etc),pd(Ysc,8))};DJ.\u0275prov=n({token:DJ,factory:DJ.\u0275fac,providedIn:"root"});var Htc=function(){};Htc.\u0275fac=function(a){return new (a||Htc)};Htc.\u0275prov=n({token:Htc,factory:function(a){return DJ.\u0275fac(a)},providedIn:"root"});var FJa=/.*@google.com/,Itc=new zd("onedevPeopleServiceConfig"),Jtc={},EJ=function(){},Ltc=function(a,b){return Ktc(a,[b]).pipe(z(function(c){return c[0]}))};EJ.\u0275fac=function(a){return new (a||EJ)};EJ.\u0275prov=n({token:EJ,factory:EJ.\u0275fac});
var FJ=function(a,b,c){var d=this;this.lookupApiClient=a;this.destroy$=new Uf;this.config=Jtc;c&&c.pipe($f(function(e){window.gapi&&e.accessToken&&window.gapi.auth.setToken({access_token:e.accessToken})}),Zf(this.destroy$)).subscribe({next:function(e){d.config=e}})};Y(FJ,EJ);
var Ktc=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 JJa(b,c)}))};FJ.prototype.ngOnDestroy=function(){this.destroy$.next()};FJ.\u0275fac=function(a){return new (a||FJ)(pd(Gtc),pd(Htc),pd(Itc,8))};
FJ.\u0275prov=n({token:FJ,factory:FJ.\u0275fac});var GJ=function(){};GJ.\u0275fac=function(a){return new (a||GJ)};GJ.\u0275mod=Cf({type:GJ});GJ.\u0275inj=p({providers:[FJ,{provide:EJ,useExisting:FJ}]});var Mtc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.dayOfWeek=a.dayOfWeek==null?null:a.dayOfWeek;this.Serializable$values.periodStartMinutes=a.periodStartMinutes==null?null:a.periodStartMinutes;this.Serializable$values.periodEndMinutes=a.periodEndMinutes==null?null:a.periodEndMinutes};Y(Mtc,Up);Mtc.prototype.getPartialClassMetadata=function(){return{keys:["dayOfWeek","periodEndMinutes","periodStartMinutes"]}};
da.Object.defineProperties(Mtc.prototype,{dayOfWeek:{configurable:!0,enumerable:!0,get:function(){return BJ(this,"dayOfWeek")?Tp(this,"dayOfWeek"):0},set:function(a){this.Serializable$values.dayOfWeek=a}},periodEndMinutes:{configurable:!0,enumerable:!0,get:function(){return BJ(this,"periodEndMinutes")?Tp(this,"periodEndMinutes"):0},set:function(a){this.Serializable$values.periodEndMinutes=a}},periodStartMinutes:{configurable:!0,enumerable:!0,get:function(){return BJ(this,"periodStartMinutes")?Tp(this,
"periodStartMinutes"):0},set:function(a){this.Serializable$values.periodStartMinutes=a}}});var Ntc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.userIds=a.userIds==null?null:a.userIds;this.Serializable$values.debugOptions=a.debugOptions==null?null:a.debugOptions};Y(Ntc,Up);Ntc.prototype.getPartialClassMetadata=function(){return{arrays:{userIds:HJ},keys:["debugOptions","userIds"],objects:{debugOptions:Otc}}};
da.Object.defineProperties(Ntc.prototype,{debugOptions:{configurable:!0,enumerable:!0,get:function(){return BJ(this,"debugOptions")?Tp(this,"debugOptions"):this.debugOptions=new Otc},set:function(a){this.Serializable$values.debugOptions=a}},userIds:{configurable:!0,enumerable:!0,get:function(){return BJ(this,"userIds")?Tp(this,"userIds"):this.userIds=[]},set:function(a){this.Serializable$values.userIds=a}}});
var Ptc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.results=a.results==null?null:a.results};Y(Ptc,Up);Ptc.prototype.getPartialClassMetadata=function(){return{arrays:{results:Qtc},keys:["results"]}};
da.Object.defineProperties(Ptc.prototype,{hasResults:{configurable:!0,enumerable:!0,get:function(){return Tp(this,"results")!==null}},results:{configurable:!0,enumerable:!0,get:function(){return BJ(this,"results")?Tp(this,"results"):this.results=[]},set:function(a){this.Serializable$values.results=a}}});
var Rtc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.eventSummary=a.eventSummary==null?null:a.eventSummary;this.Serializable$values.occupiedUntil=a.occupiedUntil==null?null:a.occupiedUntil;this.Serializable$values.nextAvailable=a.nextAvailable==null?null:a.nextAvailable;this.Serializable$values.committedUntil=a.committedUntil==null?null:a.committedUntil};Y(Rtc,Up);
Rtc.prototype.getPartialClassMetadata=function(){return{keys:["committedUntil","eventSummary","nextAvailable","occupiedUntil"]}};
da.Object.defineProperties(Rtc.prototype,{committedUntil:{configurable:!0,enumerable:!0,get:function(){return BJ(this,"committedUntil")?Tp(this,"committedUntil"):""},set:function(a){this.Serializable$values.committedUntil=a}},eventSummary:{configurable:!0,enumerable:!0,get:function(){return BJ(this,"eventSummary")?Tp(this,"eventSummary"):""},set:function(a){this.Serializable$values.eventSummary=a}},nextAvailable:{configurable:!0,enumerable:!0,get:function(){return BJ(this,"nextAvailable")?Tp(this,
"nextAvailable"):""},set:function(a){this.Serializable$values.nextAvailable=a}},occupiedUntil:{configurable:!0,enumerable:!0,get:function(){return BJ(this,"occupiedUntil")?Tp(this,"occupiedUntil"):""},set:function(a){this.Serializable$values.occupiedUntil=a}}});
var Stc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.location=a.location==null?null:a.location;this.Serializable$values.geoCoordinates=a.geoCoordinates==null?null:a.geoCoordinates;this.Serializable$values.label=a.label==null?null:a.label};Y(Stc,Up);Stc.prototype.getPartialClassMetadata=function(){return{keys:["geoCoordinates","label","location"],objects:{geoCoordinates:Ttc}}};
da.Object.defineProperties(Stc.prototype,{geoCoordinates:{configurable:!0,enumerable:!0,get:function(){return BJ(this,"geoCoordinates")?Tp(this,"geoCoordinates"):this.geoCoordinates=new Ttc},set:function(a){this.Serializable$values.geoCoordinates=a}},label:{configurable:!0,enumerable:!0,get:function(){return BJ(this,"label")?Tp(this,"label"):""},set:function(a){this.Serializable$values.label=a}},location:{configurable:!0,enumerable:!0,get:function(){return BJ(this,"location")?Tp(this,"location"):
""},set:function(a){this.Serializable$values.location=a}}});var Utc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.occupiedUntil=a.occupiedUntil==null?null:a.occupiedUntil;this.Serializable$values.committedUntil=a.committedUntil==null?null:a.committedUntil;this.Serializable$values.nextAvailable=a.nextAvailable==null?null:a.nextAvailable};Y(Utc,Up);Utc.prototype.getPartialClassMetadata=function(){return{keys:["committedUntil","nextAvailable","occupiedUntil"]}};
da.Object.defineProperties(Utc.prototype,{committedUntil:{configurable:!0,enumerable:!0,get:function(){return BJ(this,"committedUntil")?Tp(this,"committedUntil"):""},set:function(a){this.Serializable$values.committedUntil=a}},nextAvailable:{configurable:!0,enumerable:!0,get:function(){return BJ(this,"nextAvailable")?Tp(this,"nextAvailable"):""},set:function(a){this.Serializable$values.nextAvailable=a}},occupiedUntil:{configurable:!0,enumerable:!0,get:function(){return BJ(this,"occupiedUntil")?Tp(this,
"occupiedUntil"):""},set:function(a){this.Serializable$values.occupiedUntil=a}}});var Vtc=function(){this.Serializable$values={}};Y(Vtc,Up);Vtc.prototype.getPartialClassMetadata=function(){return{keys:[]}};
var Wtc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.eventSummary=a.eventSummary==null?null:a.eventSummary;this.Serializable$values.inMeetingsUntil=a.inMeetingsUntil==null?null:a.inMeetingsUntil;this.Serializable$values.occupiedUntil=a.occupiedUntil==null?null:a.occupiedUntil;this.Serializable$values.committedUntil=a.committedUntil==null?null:a.committedUntil;this.Serializable$values.nextAvailable=a.nextAvailable==null?null:a.nextAvailable};Y(Wtc,Up);
Wtc.prototype.getPartialClassMetadata=function(){return{keys:["committedUntil","eventSummary","inMeetingsUntil","nextAvailable","occupiedUntil"]}};
da.Object.defineProperties(Wtc.prototype,{committedUntil:{configurable:!0,enumerable:!0,get:function(){return BJ(this,"committedUntil")?Tp(this,"committedUntil"):""},set:function(a){this.Serializable$values.committedUntil=a}},eventSummary:{configurable:!0,enumerable:!0,get:function(){return BJ(this,"eventSummary")?Tp(this,"eventSummary"):""},set:function(a){this.Serializable$values.eventSummary=a}},inMeetingsUntil:{configurable:!0,enumerable:!0,get:function(){return BJ(this,"inMeetingsUntil")?Tp(this,
"inMeetingsUntil"):""},set:function(a){this.Serializable$values.inMeetingsUntil=a}},nextAvailable:{configurable:!0,enumerable:!0,get:function(){return BJ(this,"nextAvailable")?Tp(this,"nextAvailable"):""},set:function(a){this.Serializable$values.nextAvailable=a}},occupiedUntil:{configurable:!0,enumerable:!0,get:function(){return BJ(this,"occupiedUntil")?Tp(this,"occupiedUntil"):""},set:function(a){this.Serializable$values.occupiedUntil=a}}});var Xtc=function(){this.Serializable$values={}};Y(Xtc,Up);
Xtc.prototype.getPartialClassMetadata=function(){return{keys:[]}};var Ttc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.latitude=a.latitude==null?null:a.latitude;this.Serializable$values.longitude=a.longitude==null?null:a.longitude};Y(Ttc,Up);Ttc.prototype.getPartialClassMetadata=function(){return{keys:["latitude","longitude"]}};
da.Object.defineProperties(Ttc.prototype,{latitude:{configurable:!0,enumerable:!0,get:function(){return BJ(this,"latitude")?Tp(this,"latitude"):0},set:function(a){this.Serializable$values.latitude=a}},longitude:{configurable:!0,enumerable:!0,get:function(){return BJ(this,"longitude")?Tp(this,"longitude"):0},set:function(a){this.Serializable$values.longitude=a}}});var Ytc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.timeZone=a.timeZone==null?null:a.timeZone};
Y(Ytc,Up);Ytc.prototype.getPartialClassMetadata=function(){return{keys:["timeZone"]}};da.Object.defineProperties(Ytc.prototype,{timeZone:{configurable:!0,enumerable:!0,get:function(){return BJ(this,"timeZone")?Tp(this,"timeZone"):""},set:function(a){this.Serializable$values.timeZone=a}}});
var Ztc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.experimentalBuildingId=a.experimentalBuildingId==null?null:a.experimentalBuildingId;this.Serializable$values.experimentalDeskId=a.experimentalDeskId==null?null:a.experimentalDeskId;this.Serializable$values.experimentalFloorId=a.experimentalFloorId==null?null:a.experimentalFloorId;this.Serializable$values.label=a.label==null?null:a.label};Y(Ztc,Up);
Ztc.prototype.getPartialClassMetadata=function(){return{keys:["experimentalBuildingId","experimentalDeskId","experimentalFloorId","label"]}};
da.Object.defineProperties(Ztc.prototype,{experimentalBuildingId:{configurable:!0,enumerable:!0,get:function(){return BJ(this,"experimentalBuildingId")?Tp(this,"experimentalBuildingId"):""},set:function(a){this.Serializable$values.experimentalBuildingId=a}},experimentalDeskId:{configurable:!0,enumerable:!0,get:function(){return BJ(this,"experimentalDeskId")?Tp(this,"experimentalDeskId"):""},set:function(a){this.Serializable$values.experimentalDeskId=a}},experimentalFloorId:{configurable:!0,enumerable:!0,
get:function(){return BJ(this,"experimentalFloorId")?Tp(this,"experimentalFloorId"):""},set:function(a){this.Serializable$values.experimentalFloorId=a}},label:{configurable:!0,enumerable:!0,get:function(){return BJ(this,"label")?Tp(this,"label"):""},set:function(a){this.Serializable$values.label=a}}});
var $tc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.comeBackTime=a.comeBackTime==null?null:a.comeBackTime;this.Serializable$values.eventSummary=a.eventSummary==null?null:a.eventSummary;this.Serializable$values.committedUntil=a.committedUntil==null?null:a.committedUntil};Y($tc,Up);$tc.prototype.getPartialClassMetadata=function(){return{keys:["comeBackTime","committedUntil","eventSummary"]}};
da.Object.defineProperties($tc.prototype,{comeBackTime:{configurable:!0,enumerable:!0,get:function(){return BJ(this,"comeBackTime")?Tp(this,"comeBackTime"):""},set:function(a){this.Serializable$values.comeBackTime=a}},committedUntil:{configurable:!0,enumerable:!0,get:function(){return BJ(this,"committedUntil")?Tp(this,"committedUntil"):""},set:function(a){this.Serializable$values.committedUntil=a}},eventSummary:{configurable:!0,enumerable:!0,get:function(){return BJ(this,"eventSummary")?Tp(this,"eventSummary"):
""},set:function(a){this.Serializable$values.eventSummary=a}}});var auc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.comeBackTime=a.comeBackTime==null?null:a.comeBackTime};Y(auc,Up);auc.prototype.getPartialClassMetadata=function(){return{keys:["comeBackTime"]}};
da.Object.defineProperties(auc.prototype,{comeBackTime:{configurable:!0,enumerable:!0,get:function(){return BJ(this,"comeBackTime")?Tp(this,"comeBackTime"):""},set:function(a){this.Serializable$values.comeBackTime=a}}});var buc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.code=a.code==null?null:a.code;this.Serializable$values.message=a.message==null?null:a.message;this.Serializable$values.details=a.details==null?null:a.details};Y(buc,Up);
buc.prototype.getPartialClassMetadata=function(){return{keys:["code","details","message"],objectMaps:{details:{ctor:null,isPropertyArray:!0,isSerializable:!1,isValueArray:!1}}}};
da.Object.defineProperties(buc.prototype,{code:{configurable:!0,enumerable:!0,get:function(){return BJ(this,"code")?Tp(this,"code"):0},set:function(a){this.Serializable$values.code=a}},details:{configurable:!0,enumerable:!0,get:function(){return BJ(this,"details")?Tp(this,"details"):this.details=[]},set:function(a){this.Serializable$values.details=a}},message:{configurable:!0,enumerable:!0,get:function(){return BJ(this,"message")?Tp(this,"message"):""},set:function(a){this.Serializable$values.message=
a}}});var IJ=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.startTime=a.startTime==null?null:a.startTime;this.Serializable$values.endTime=a.endTime==null?null:a.endTime};Y(IJ,Up);IJ.prototype.getPartialClassMetadata=function(){return{keys:["endTime","startTime"]}};
da.Object.defineProperties(IJ.prototype,{endTime:{configurable:!0,enumerable:!0,get:function(){return BJ(this,"endTime")?Tp(this,"endTime"):""},set:function(a){this.Serializable$values.endTime=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return BJ(this,"startTime")?Tp(this,"startTime"):""},set:function(a){this.Serializable$values.startTime=a}}});
var cuc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.overrideCurrentTime=a.overrideCurrentTime==null?null:a.overrideCurrentTime;this.Serializable$values.computationDuration=a.computationDuration==null?null:a.computationDuration};Y(cuc,Up);cuc.prototype.getPartialClassMetadata=function(){return{keys:["computationDuration","overrideCurrentTime"]}};
da.Object.defineProperties(cuc.prototype,{computationDuration:{configurable:!0,enumerable:!0,get:function(){return BJ(this,"computationDuration")?Tp(this,"computationDuration"):""},set:function(a){this.Serializable$values.computationDuration=a}},overrideCurrentTime:{configurable:!0,enumerable:!0,get:function(){return BJ(this,"overrideCurrentTime")?Tp(this,"overrideCurrentTime"):""},set:function(a){this.Serializable$values.overrideCurrentTime=a}}});
var duc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.nextCommitmentTime=a.nextCommitmentTime==null?null:a.nextCommitmentTime;this.Serializable$values.nextCommitmentStatus=a.nextCommitmentStatus==null?null:a.nextCommitmentStatus};Y(duc,Up);duc.prototype.getPartialClassMetadata=function(){return{keys:["nextCommitmentStatus","nextCommitmentTime"],objects:{nextCommitmentStatus:JJ}}};
da.Object.defineProperties(duc.prototype,{nextCommitmentStatus:{configurable:!0,enumerable:!0,get:function(){return BJ(this,"nextCommitmentStatus")?Tp(this,"nextCommitmentStatus"):this.nextCommitmentStatus=new JJ},set:function(a){this.Serializable$values.nextCommitmentStatus=a}},nextCommitmentTime:{configurable:!0,enumerable:!0,get:function(){return BJ(this,"nextCommitmentTime")?Tp(this,"nextCommitmentTime"):""},set:function(a){this.Serializable$values.nextCommitmentTime=a}}});
var euc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.timeRange=a.timeRange==null?null:a.timeRange};Y(euc,Up);euc.prototype.getPartialClassMetadata=function(){return{keys:["timeRange"],objects:{timeRange:IJ}}};da.Object.defineProperties(euc.prototype,{timeRange:{configurable:!0,enumerable:!0,get:function(){return BJ(this,"timeRange")?Tp(this,"timeRange"):this.timeRange=new IJ},set:function(a){this.Serializable$values.timeRange=a}}});
var fuc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.availabilities=a.availabilities==null?null:a.availabilities;this.Serializable$values.workingHours=a.workingHours==null?null:a.workingHours;this.Serializable$values.nextPollTime=a.nextPollTime==null?null:a.nextPollTime};Y(fuc,Up);fuc.prototype.getPartialClassMetadata=function(){return{arrays:{availabilities:guc},keys:["availabilities","nextPollTime","workingHours"],objects:{workingHours:huc}}};
da.Object.defineProperties(fuc.prototype,{availabilities:{configurable:!0,enumerable:!0,get:function(){return BJ(this,"availabilities")?Tp(this,"availabilities"):this.availabilities=[]},set:function(a){this.Serializable$values.availabilities=a}},nextPollTime:{configurable:!0,enumerable:!0,get:function(){return BJ(this,"nextPollTime")?Tp(this,"nextPollTime"):""},set:function(a){this.Serializable$values.nextPollTime=a}},workingHours:{configurable:!0,enumerable:!0,get:function(){return BJ(this,"workingHours")?
Tp(this,"workingHours"):this.workingHours=new huc},set:function(a){this.Serializable$values.workingHours=a}}});var Otc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.forceEnableUserStatusCache=a.forceEnableUserStatusCache==null?null:a.forceEnableUserStatusCache;this.Serializable$values.timeSettings=a.timeSettings==null?null:a.timeSettings};Y(Otc,Up);Otc.prototype.getPartialClassMetadata=function(){return{keys:["forceEnableUserStatusCache","timeSettings"],objects:{timeSettings:cuc}}};
da.Object.defineProperties(Otc.prototype,{forceEnableUserStatusCache:{configurable:!0,enumerable:!0,get:function(){return BJ(this,"forceEnableUserStatusCache")?Tp(this,"forceEnableUserStatusCache"):!1},set:function(a){this.Serializable$values.forceEnableUserStatusCache=a}},timeSettings:{configurable:!0,enumerable:!0,get:function(){return BJ(this,"timeSettings")?Tp(this,"timeSettings"):this.timeSettings=new cuc},set:function(a){this.Serializable$values.timeSettings=a}}});
var Qtc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.userId=a.userId==null?null:a.userId;this.Serializable$values.status=a.status==null?null:a.status;this.Serializable$values.userAvailabilities=a.userAvailabilities==null?null:a.userAvailabilities};Y(Qtc,Up);Qtc.prototype.getPartialClassMetadata=function(){return{keys:["status","userAvailabilities","userId"],objects:{status:buc,userAvailabilities:fuc,userId:HJ}}};
da.Object.defineProperties(Qtc.prototype,{hasStatus:{configurable:!0,enumerable:!0,get:function(){return Tp(this,"status")!==null}},status:{configurable:!0,enumerable:!0,get:function(){return BJ(this,"status")?Tp(this,"status"):this.status=new buc},set:function(a){this.Serializable$values.status=a}},hasUserAvailabilities:{configurable:!0,enumerable:!0,get:function(){return Tp(this,"userAvailabilities")!==null}},userAvailabilities:{configurable:!0,enumerable:!0,get:function(){return BJ(this,"userAvailabilities")?
Tp(this,"userAvailabilities"):this.userAvailabilities=new fuc},set:function(a){this.Serializable$values.userAvailabilities=a}},hasUserId:{configurable:!0,enumerable:!0,get:function(){return Tp(this,"userId")!==null}},userId:{configurable:!0,enumerable:!0,get:function(){return BJ(this,"userId")?Tp(this,"userId"):this.userId=new HJ},set:function(a){this.Serializable$values.userId=a}}});
var guc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.timeRange=a.timeRange==null?null:a.timeRange;this.Serializable$values.status=a.status==null?null:a.status;this.Serializable$values.contexts=a.contexts==null?null:a.contexts};Y(guc,Up);guc.prototype.getPartialClassMetadata=function(){return{keys:["contexts","status","timeRange"],objects:{contexts:iuc,status:JJ,timeRange:IJ}}};
da.Object.defineProperties(guc.prototype,{hasContexts:{configurable:!0,enumerable:!0,get:function(){return Tp(this,"contexts")!==null}},contexts:{configurable:!0,enumerable:!0,get:function(){return BJ(this,"contexts")?Tp(this,"contexts"):this.contexts=new iuc},set:function(a){this.Serializable$values.contexts=a}},hasStatus:{configurable:!0,enumerable:!0,get:function(){return Tp(this,"status")!==null}},status:{configurable:!0,enumerable:!0,get:function(){return BJ(this,"status")?Tp(this,"status"):
this.status=new JJ},set:function(a){this.Serializable$values.status=a}},timeRange:{configurable:!0,enumerable:!0,get:function(){return BJ(this,"timeRange")?Tp(this,"timeRange"):this.timeRange=new IJ},set:function(a){this.Serializable$values.timeRange=a}}});
var iuc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.workingElsewhere=a.workingElsewhere==null?null:a.workingElsewhere;this.Serializable$values.upcomingOoo=a.upcomingOoo==null?null:a.upcomingOoo;this.Serializable$values.localTime=a.localTime==null?null:a.localTime;this.Serializable$values.upcomingCommitmentContext=a.upcomingCommitmentContext==null?null:a.upcomingCommitmentContext};Y(iuc,Up);
iuc.prototype.getPartialClassMetadata=function(){return{keys:["localTime","upcomingCommitmentContext","upcomingOoo","workingElsewhere"],objects:{localTime:Ytc,upcomingCommitmentContext:duc,upcomingOoo:euc,workingElsewhere:juc}}};
da.Object.defineProperties(iuc.prototype,{hasLocalTime:{configurable:!0,enumerable:!0,get:function(){return Tp(this,"localTime")!==null}},localTime:{configurable:!0,enumerable:!0,get:function(){return BJ(this,"localTime")?Tp(this,"localTime"):this.localTime=new Ytc},set:function(a){this.Serializable$values.localTime=a}},upcomingCommitmentContext:{configurable:!0,enumerable:!0,get:function(){return BJ(this,"upcomingCommitmentContext")?Tp(this,"upcomingCommitmentContext"):this.upcomingCommitmentContext=
new duc},set:function(a){this.Serializable$values.upcomingCommitmentContext=a}},upcomingOoo:{configurable:!0,enumerable:!0,get:function(){return BJ(this,"upcomingOoo")?Tp(this,"upcomingOoo"):this.upcomingOoo=new euc},set:function(a){this.Serializable$values.upcomingOoo=a}},workingElsewhere:{configurable:!0,enumerable:!0,get:function(){return BJ(this,"workingElsewhere")?Tp(this,"workingElsewhere"):this.workingElsewhere=new juc},set:function(a){this.Serializable$values.workingElsewhere=a}}});
var HJ=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.obfuscatedGaiaId=a.obfuscatedGaiaId==null?null:a.obfuscatedGaiaId;this.Serializable$values.email=a.email==null?null:a.email};Y(HJ,Up);HJ.prototype.getPartialClassMetadata=function(){return{keys:["email","obfuscatedGaiaId"]}};
da.Object.defineProperties(HJ.prototype,{email:{configurable:!0,enumerable:!0,get:function(){return BJ(this,"email")?Tp(this,"email"):""},set:function(a){this.Serializable$values.email=a}},obfuscatedGaiaId:{configurable:!0,enumerable:!0,get:function(){return BJ(this,"obfuscatedGaiaId")?Tp(this,"obfuscatedGaiaId"):""},set:function(a){this.Serializable$values.obfuscatedGaiaId=a}}});
var kuc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.homeLocation=a.homeLocation==null?null:a.homeLocation;this.Serializable$values.customLocation=a.customLocation==null?null:a.customLocation;this.Serializable$values.officeLocation=a.officeLocation==null?null:a.officeLocation};Y(kuc,Up);kuc.prototype.getPartialClassMetadata=function(){return{keys:["customLocation","homeLocation","officeLocation"],objects:{customLocation:Stc,homeLocation:Vtc,officeLocation:Ztc}}};
da.Object.defineProperties(kuc.prototype,{customLocation:{configurable:!0,enumerable:!0,get:function(){return BJ(this,"customLocation")?Tp(this,"customLocation"):this.customLocation=new Stc},set:function(a){this.Serializable$values.customLocation=a}},homeLocation:{configurable:!0,enumerable:!0,get:function(){return BJ(this,"homeLocation")?Tp(this,"homeLocation"):this.homeLocation=new Vtc},set:function(a){this.Serializable$values.homeLocation=a}},officeLocation:{configurable:!0,enumerable:!0,get:function(){return BJ(this,
"officeLocation")?Tp(this,"officeLocation"):this.officeLocation=new Ztc},set:function(a){this.Serializable$values.officeLocation=a}}});
var JJ=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.inactive=a.inactive==null?null:a.inactive;this.Serializable$values.doNotDisturb=a.doNotDisturb==null?null:a.doNotDisturb;this.Serializable$values.outsideWorkingHours=a.outsideWorkingHours==null?null:a.outsideWorkingHours;this.Serializable$values.outOfOffice=a.outOfOffice==null?null:a.outOfOffice;this.Serializable$values.inMeeting=a.inMeeting==null?null:a.inMeeting;this.Serializable$values.calendarBusy=a.calendarBusy==
null?null:a.calendarBusy};Y(JJ,Up);JJ.prototype.getPartialClassMetadata=function(){return{keys:"calendarBusy doNotDisturb inMeeting inactive outOfOffice outsideWorkingHours".split(" "),objects:{calendarBusy:Rtc,doNotDisturb:Utc,inMeeting:Wtc,inactive:Xtc,outOfOffice:$tc,outsideWorkingHours:auc}}};
da.Object.defineProperties(JJ.prototype,{calendarBusy:{configurable:!0,enumerable:!0,get:function(){return BJ(this,"calendarBusy")?Tp(this,"calendarBusy"):this.calendarBusy=new Rtc},set:function(a){this.Serializable$values.calendarBusy=a}},doNotDisturb:{configurable:!0,enumerable:!0,get:function(){return BJ(this,"doNotDisturb")?Tp(this,"doNotDisturb"):this.doNotDisturb=new Utc},set:function(a){this.Serializable$values.doNotDisturb=a}},inMeeting:{configurable:!0,enumerable:!0,get:function(){return BJ(this,
"inMeeting")?Tp(this,"inMeeting"):this.inMeeting=new Wtc},set:function(a){this.Serializable$values.inMeeting=a}},inactive:{configurable:!0,enumerable:!0,get:function(){return BJ(this,"inactive")?Tp(this,"inactive"):this.inactive=new Xtc},set:function(a){this.Serializable$values.inactive=a}},hasOutOfOffice:{configurable:!0,enumerable:!0,get:function(){return Tp(this,"outOfOffice")!==null}},outOfOffice:{configurable:!0,enumerable:!0,get:function(){return BJ(this,"outOfOffice")?Tp(this,"outOfOffice"):
this.outOfOffice=new $tc},set:function(a){this.Serializable$values.outOfOffice=a}},outsideWorkingHours:{configurable:!0,enumerable:!0,get:function(){return BJ(this,"outsideWorkingHours")?Tp(this,"outsideWorkingHours"):this.outsideWorkingHours=new auc},set:function(a){this.Serializable$values.outsideWorkingHours=a}}});var juc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.location=a.location==null?null:a.location};Y(juc,Up);
juc.prototype.getPartialClassMetadata=function(){return{keys:["location"],objects:{location:kuc}}};da.Object.defineProperties(juc.prototype,{location:{configurable:!0,enumerable:!0,get:function(){return BJ(this,"location")?Tp(this,"location"):this.location=new kuc},set:function(a){this.Serializable$values.location=a}}});var huc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.availableTime=a.availableTime==null?null:a.availableTime};Y(huc,Up);
huc.prototype.getPartialClassMetadata=function(){return{arrays:{availableTime:Mtc},keys:["availableTime"]}};da.Object.defineProperties(huc.prototype,{availableTime:{configurable:!0,enumerable:!0,get:function(){return BJ(this,"availableTime")?Tp(this,"availableTime"):this.availableTime=[]},set:function(a){this.Serializable$values.availableTime=a}}});var luc=new zd("API_VERSION"),muc=new zd("REQUEST_SERVICE for waldo_service_api"),KJ=function(){};KJ.\u0275fac=function(a){return new (a||KJ)};
KJ.\u0275mod=Cf({type:KJ});KJ.\u0275inj=p({});var nuc={$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"},LJ=function(a,b,c){this.gapiVersion=a;this.gapiVersion=a==null?"v1alpha":a;this.$apiClient=new ztc(b,c)};LJ.\u0275fac=function(a){return new (a||LJ)(pd(luc,8),pd(muc),pd(Ysc,8))};LJ.\u0275prov=n({token:LJ,factory:LJ.\u0275fac});
var ouc=function(){};ouc.\u0275fac=function(a){return new (a||ouc)};ouc.\u0275prov=n({token:ouc,factory:function(a){return LJ.\u0275fac(a)},providedIn:KJ});/*

 Copyright 2005, 2007 Bob Ippolito. All Rights Reserved.
 Copyright The Closure Library Authors.
 SPDX-License-Identifier: MIT
*/
var MJ=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};
MJ.prototype.cancel=function(a){if(this.fired_)this.result_ instanceof MJ&&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 puc(this),quc(this),NJ(this,!1,a))}};MJ.prototype.continue_=function(a,b){this.blocked_=!1;NJ(this,a,b)};
var NJ=function(a,b,c){a.fired_=!0;a.result_=c;a.hadError_=!b;ruc(a)},quc=function(a){if(a.fired_){if(!a.silentlyCanceled_)throw new suc(a);a.silentlyCanceled_=!1}};MJ.prototype.callback=function(a){quc(this);NJ(this,!0,a)};MJ.prototype.addCallback=function(a,b){return tuc(this,a,null,b)};MJ.prototype.finally=function(a){var b=this;return new Promise(function(c,d){tuc(b,function(e){a();c(e)},function(e){a();d(e)})})};
var tuc=function(a,b,c,d){var e=a.fired_;e||(b===c?b=c=Sz(b):(b=Sz(b),c=Sz(c)));a.sequence_.push([b,c,d]);e&&ruc(a);return a};MJ.prototype.then=function(a,b,c){var d,e,f=new Wz(function(h,l){e=h;d=l});tuc(this,e,function(h){h instanceof puc?f.cancel():d(h);return uuc},this);return f.then(a,b,c)};MJ.prototype.$goog_Thenable=!0;MJ.prototype.isError=function(a){return a instanceof Error};
var vuc=function(a){return k3b(a.sequence_,function(b){return typeof b[1]==="function"})},uuc={},ruc=function(a){if(a.unhandledErrorId_&&a.fired_&&vuc(a)){var b=a.unhandledErrorId_,c=wuc[b];c&&(ya.clearTimeout(c.id_),delete wuc[b]);a.unhandledErrorId_=0}a.parent_&&(a.parent_.branches_--,delete a.parent_);b=a.result_;for(var d=c=!1;a.sequence_.length&&!a.blocked_;){var e=a.sequence_.shift(),f=e[0],h=e[1];e=e[2];if(f=a.hadError_?h:f)try{var l=f.call(e||a.defaultScope_,b);l===uuc&&(l=void 0);l!==void 0&&
(a.hadError_=a.hadError_&&(l==b||a.isError(l)),a.result_=b=l);if(bbc(b)||typeof ya.Promise==="function"&&b instanceof ya.Promise)d=!0,a.blocked_=!0}catch(q){b=q,a.hadError_=!0,vuc(a)||(c=!0)}}a.result_=b;d&&(l=Lu(a.continue_,a,!0),d=Lu(a.continue_,a,!1),b instanceof MJ?(tuc(b,l,d),b.blocking_=!0):b.then(l,d));c&&(b=new xuc(b),wuc[b.id_]=b,a.unhandledErrorId_=b.id_)},suc=function(){wa.call(this)};Nu(suc,wa);suc.prototype.message="Deferred has already fired";suc.prototype.name="AlreadyCalledError";
var puc=function(){wa.call(this)};Nu(puc,wa);puc.prototype.message="Deferred was canceled";puc.prototype.name="CanceledError";var xuc=function(a){this.id_=ya.setTimeout(Lu(this.throwError,this),0);this.error_=a};xuc.prototype.throwError=function(){delete wuc[this.id_];throw this.error_;};var wuc={};var OJa=function(a,b){var c=b||{};b=c.document||document;var d=Mc(a).toString(),e=(new Iz(b)).createElement("SCRIPT"),f={script_:e,timeout_:void 0},h=new MJ(yuc,f),l=null,q=c.timeout!=null?c.timeout:5E3;q>0&&(l=window.setTimeout(function(){zuc(e,!0);var u=new Auc(1,"Timeout reached for loading script "+d);quc(h);NJ(h,!1,u)},q),f.timeout_=l);e.onload=e.onreadystatechange=function(){e.readyState&&e.readyState!="loaded"&&e.readyState!="complete"||(zuc(e,c.cleanupWhenDone||!1,l),h.callback(null))};e.onerror=
function(){zuc(e,!0,l);var u=new Auc(0,"Error while loading script "+d);quc(h);NJ(h,!1,u)};f=c.attributes||{};qea(f,{type:"text/javascript",charset:"UTF-8"});zac(e,f);Yc(e,a);Buc(b).appendChild(e);return h},Buc=function(a){var b=Kz("HEAD",a);return b&&b.length!==0?b[0]:a.documentElement},yuc=function(){if(this&&this.script_){var a=this.script_;a&&a.tagName=="SCRIPT"&&zuc(a,!0,this.timeout_)}},zuc=function(a,b,c){c!=null&&ya.clearTimeout(c);a.onload=function(){};a.onerror=function(){};a.onreadystatechange=
function(){};b&&window.setTimeout(function(){Pz(a)},0)},Auc=function(a,b){var c="Jsloader error (code #"+a+")";b&&(c+=": "+b);wa.call(this,c);this.code=a};Nu(Auc,wa);var PJa=Eu(["https://apis.google.com/js/api.js"]),KJa=null,RJa=new WeakMap;var OJ=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=Ne(function(){return MJa().then(function(f){f=f||window.gapi;e.setGapiConfig(f);return TJa(f,{apiKey:e.gapiKey,clientId:e.gapiAuthParams.clientId,scope:e.gapiAuthParams.scope}).then(function(){return f})})})};Y(OJ,Ctc);
OJ.prototype.makeRequest=function(a){var b=this;return this.gapi.pipe(Ke(function(c){var d=Ae(void 0);b.gapiAuthParams.minAuthTokenTimeRemaining!==void 0&&(d=re(SJa(c,b.gapiAuthParams.minAuthTokenTimeRemaining)));return d.pipe(Ke(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}))}))}))};
OJ.prototype.parseResponse=function(a){return new oe(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)})})};OJ.prototype.setGapiConfig=function(a){for(var b in this.gapiConfigUpdates)this.gapiConfigUpdates.hasOwnProperty(b)&&QJa(a,b,this.gapiConfigUpdates[b])};var Cuc=function(a,b,c,d,e){d=d===void 0?{}:d;e=e===void 0?{}:e;OJ.call(this,a,c,d,e);this.waldoApiKey=b};Y(Cuc,OJ);Cuc.prototype.makeRequest=function(a){var b=OJ.prototype.makeRequest,c=b.call;(a.queryParams||(a.queryParams={})).key=this.waldoApiKey;return c.call(b,this,a)};var PJ=function(a){var b=this;this.apiStub=a;this.result=new Uf;this.destroyed=new Tf(1);this.trigger=new Uf;this.batchedTrigger=this.trigger.pipe(Uja(this.trigger.pipe(Hf(200))));this.responseHandler=function(c){if(c.hasResults){c=k(c.results);for(var d=c.next();!d.done;d=c.next()){var e=d.value;d="";e.hasUserId&&e.userId.email&&(d=e.userId.email);if(d)if(e.hasUserAvailabilities){e=e.userAvailabilities.availabilities[0];if(e.hasStatus&&e.status.hasOutOfOffice){var f=e.status.outOfOffice;if(f.comeBackTime){var h=
f=new Date(f.comeBackTime),l=new Date;f=l.getFullYear()===h.getFullYear()&&l.getMonth()===h.getMonth()&&l.getDate()===h.getDate()?"at "+f.toLocaleString("en-Us",{hour:"numeric",minute:"2-digit",hour12:!0}):"on "+(f.getFullYear()!==(new Date).getFullYear()?f.toLocaleString("en-Us",{weekday:"short",month:"short",day:"numeric",year:"numeric"}):f.toLocaleString("en-Us",{weekday:"short",month:"short",day:"numeric"}));f=" - back "+f}else f="";f="Out of Office"+f}else f="";b.result.next({emailAddress:d,
availability:f,timezone:e.hasContexts&&e.contexts.hasLocalTime?e.contexts.localTime.timeZone:""})}else b.result.next({emailAddress:d,availability:"",timezone:""})}}};this.batchedTrigger.pipe(Zf(this.destroyed)).subscribe(function(c){c=[].concat(t(new Set(c)));Duc(b,c.slice(0,100));c=k(c.slice(100));for(var d=c.next();!d.done;d=c.next())b.trigger.next(d.value)})},Duc=function(a,b){var c,d;se(function(e){for(var f=new Ntc,h=[],l=k(b),q=l.next();!q.done;q=l.next()){q=q.value;var u=new HJ;u.email=q;h.push(u)}f.userIds=
h;c=f;f=a.apiStub;var A=A===void 0?{}:A;var F=F===void 0?{}:F;d=Btc(f.$apiClient,{body:c,httpMethod:"POST",methodId:"waldo_service_api_from_stubby_sandbox.useravailabilities.batchget",path:"/"+f.gapiVersion+"/useravailabilities:batchget",queryParams:sJa(A,nuc,F),responseCtor:Ptc});d.pipe(Zf(a.destroyed)).subscribe(a.responseHandler);xe(e)})},Euc=function(a,b){if(!b)return Ae({emailAddress:b,availability:"",timezone:""});a.trigger.next(b);return a.result.pipe(Ue(function(c){return c.emailAddress===
b}))},Fuc=function(a,b){return Euc(a,b).pipe(z(function(c){return c.availability}))};PJ.prototype.ngOnDestroy=function(){this.destroyed.next()};PJ.\u0275fac=function(a){return new (a||PJ)(pd(ouc))};PJ.\u0275prov=n({token:PJ,factory:PJ.\u0275fac});var QJ=function(a){var b=this;this.waldoAvailabilityService=a;this.user="";this.userSubject=new Tf(1);this.availability=this.userSubject.pipe(Yf(function(c){return Fuc(b.waldoAvailabilityService,c)}))};QJ.prototype.ngOnChanges=function(){this.userSubject.next(this.user)};QJ.\u0275fac=function(a){return new (a||QJ)(hf(PJ))};
QJ.\u0275cmp=C({type:QJ,selectors:[["waldo-availability-chip"]],inputs:{user:"user"},standalone:!1,features:[rv],decls:2,vars:3,consts:[["class","chip__container",4,"ngIf"],[1,"chip__container"],["preserveAspectRatio","xMidYMid meet","width","100%","height","100%","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink","viewBox","0 0 24 24","aria-hidden","true",1,"chip__icon"],["d","M9.31 17l2.44-2.44L14.19 17l1.06-1.06-2.44-2.44 2.44-2.44L14.19 10l-2.44 2.44L9.31 10l-1.06 1.06 2.44 2.44-2.44 2.44L9.31 17zM19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11z"],
["aria-hidden","true",1,"chip__text"]],template:function(a,b){a&1&&(D(0,UJa,6,3,"div",0),S(1,"async"));a&2&&E("ngIf",U(1,1,b.availability))},dependencies:[cw,ew],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 Guc=function(a){this.proxiedService=a};Y(Guc,Ctc);Guc.prototype.makeRequest=function(a){var b=this;return Ne(function(){return b.proxiedService.makeRequest(a)})};var Huc=new zd("environment"),Iuc={"client/cors":!0,"googleapis.config/auth/useFirstPartyAuth":!0,"googleapis.config/auth/useFirstPartyAuthV2":!0},RJ=function(){};RJ.\u0275fac=function(a){return new (a||RJ)};RJ.\u0275mod=Cf({type:RJ});RJ.\u0275inj=p({imports:[mw,KJ]});var Juc=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"),Kuc=/^(https?:)?\/\/sp[1-4]\.((ggpht)|(googleusercontent))\.com\//i,Luc=/^(https?:)?\/\/(qa(-red|-blue)?|dev2?|image-dev)(-|\.)lighthouse(-auth)?\.sandbox\.google\.com\//i,Muc=/^(https?:)?\/\/lighthouse-(qa(-red|-blue)?|dev2)\.corp\.google\.com\//i,Nuc=function(a){return Juc.test(a)||Kuc.test(a)||Luc.test(a)||Muc.test(a)};var Ouc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Ouc,V);g=Ouc.prototype;g.getSize=function(){return av(this,1)};g.setSize=function(a){return dl(this,1,a)};g.getWidth=function(){return av(this,12)};g.setWidth=function(a){return dl(this,12,a)};g.getHeight=function(){return av(this,13)};g.setHeight=function(a){return dl(this,13,a)};g.setStretch=function(a){return cl(this,33,a)};g.setCrop=function(a){return cl(this,2,a)};g.setCircleCrop=function(a){return cl(this,51,a)};
g.setImageCrop=function(a){return cl(this,32,a)};g.setSmartCrop=function(a){return cl(this,19,a)};g.setSmartCropNoClip=function(a){return cl(this,52,a)};g.setSmartCropUseFace=function(a){return cl(this,67,a)};g.setDetectFaces=function(a){cl(this,80,a)};g.setCenterCrop=function(a){return cl(this,20,a)};g.setPad=function(a){return cl(this,60,a)};g.setDownload=function(a){cl(this,3,a)};g.setHtml=function(a){cl(this,4,a)};g.setObjectId=function(a){Np(this,7,Xb(a))};
g.setLooseFaceCrop=function(a){return cl(this,65,a)};g.setFaceCropVersion=function(a){dl(this,94,a)};g.setFrameId=function(a){Np(this,29,Xb(a))};g.setTileX=function(a){dl(this,9,a)};g.setTileY=function(a){dl(this,10,a)};g.setTileZoom=function(a){dl(this,11,a)};g.setTileGeneration=function(a){cl(this,14,a)};g.setForceTileGeneration=function(a){cl(this,34,a)};g.setTilePyramidAsProto=function(a){cl(this,72,a)};g.setExpirationTime=function(a){dl(this,15,a)};
g.setExpirationTimeInMinutes=function(a){dl(this,107,a)};g.setImageFilter=function(a){return fl(this,16,a)};g.setKillAnimation=function(a){return cl(this,17,a)};g.setUnfiltered=function(a){cl(this,18,a)};g.setUnfilteredWithTransforms=function(a){cl(this,45,a)};g.setIncludeMetadata=function(a){cl(this,22,a)};g.setIncludePublicMetadata=function(a){cl(this,54,a)};g.setStripGoogleData=function(a){cl(this,82,a)};g.setPreserveGoogleData=function(a){cl(this,83,a)};
g.setStripMetadata=function(a){cl(this,93,a)};g.setStripGeoinfo=function(a){cl(this,95,a)};g.setEsPortraitApprovedOnly=function(a){return cl(this,21,a)};g.setBypassTakedown=function(a){cl(this,23,a)};g.getToken=function(){return ql(this,24)};g.setToken=function(a){return fl(this,24,a)};g.setVersionedToken=function(a){fl(this,36,a)};g.setSkipRefererCheck=function(a){cl(this,6,a)};g.setRotate=function(a){return dl(this,26,a)};g.setHorizontalFlip=function(a){cl(this,30,a)};
g.setVerticalFlip=function(a){cl(this,31,a)};g.getOverlay=function(){return ft(this,27)};g.setOverlay=function(a){return cl(this,27,a)};g.setQueryString=function(a){fl(this,28,a)};g.setRequestJpeg=function(a){return cl(this,57,a)};g.setRequestPng=function(a){return cl(this,58,a)};g.setRequestGif=function(a){cl(this,59,a)};g.setRequestAvif=function(a){cl(this,103,a)};g.setRequestWebp=function(a){return cl(this,35,a)};g.setRequestWebpUnlessMaybeTransparent=function(a){cl(this,41,a)};
g.setRequestAnimatedWebp=function(a){cl(this,64,a)};g.setNoWebp=function(a){cl(this,48,a)};g.setRequestH264=function(a){return cl(this,49,a)};g.setLossy=function(a){cl(this,97,a)};g.setNoOverlay=function(a){return cl(this,37,a)};g.setBorderSize=function(a){dl(this,38,a)};g.setBorderRadius=function(a){dl(this,86,a)};g.setBorderColor=function(a){dl(this,39,a)};g.getBackgroundColor=function(){return av(this,87)};g.setBackgroundColor=function(a){dl(this,87,a)};g.setPadColor=function(a){dl(this,88,a)};
g.setSubstitutionColor=function(a){dl(this,89,a)};g.setNoSilhouette=function(a){cl(this,40,a)};g.setFocusBlur=function(a){dl(this,42,a)};g.setFocalPlane=function(a){dl(this,43,a)};g.setQualityLevel=function(a){return dl(this,44,a)};g.setQualityBucket=function(a){return dl(this,62,a)};g.setNoUpscale=function(a){cl(this,46,a)};g.setPreserveAspectRatio=function(a){cl(this,61,a)};g.setForceTransformation=function(a){cl(this,50,a)};g.setNoDefaultImage=function(a){cl(this,53,a)};
g.setNoCorrectExifOrientation=function(a){cl(this,55,a)};g.setSelectFrameNumber=function(a){dl(this,56,a)};g.setVideoFormat=function(a){dl(this,63,a)};g.setVideoMultiFormat=function(a){fl(this,81,a)};g.setVideoManifest=function(a){cl(this,98,a)};g.setDownloadVideo=function(a){cl(this,90,a)};g.setVideoBegin=function(a){Xk(this,68,a)};g.setVideoLength=function(a){Xk(this,69,a)};g.setMatchVersion=function(a){cl(this,66,a)};g.setImageDigest=function(a){cl(this,70,a)};
g.setInternalClient=function(a){dl(this,71,a)};g.setMonogram=function(a){cl(this,73,a)};g.setForceMonogram=function(a){return cl(this,84,a)};g.setMonogramDogfood=function(a){cl(this,91,a)};g.setIgnoreLowResProfilePhoto=function(a){cl(this,96,a)};g.setAutoloop=function(a){cl(this,74,a)};g.getImageVersion=function(){return Wb(Hk(this,75))};g.setImageVersion=function(a){Xk(this,75,a)};g.setPitchDegrees=function(a){Np(this,76,Eb(a))};g.setYawDegrees=function(a){Np(this,77,Eb(a))};
g.setRollDegrees=function(a){Np(this,78,Eb(a))};g.setFovDegrees=function(a){Np(this,79,Eb(a))};g.setBadge=function(a){dl(this,85,a)};g.setColorProfile=function(a){dl(this,92,a)};g.setToneMap=function(a){cl(this,113,a)};g.setNoToneMap=function(a){cl(this,114,a)};g.setDeepCrop=function(a){fl(this,99,a)};g.setRequestVideoFast=function(a){cl(this,100,a)};g.setVideoFormatFilters=function(a){fl(this,102,a)};g.setDummyCacheKeyModifier=function(a){cl(this,104,a)};g.setGainMap=function(a){cl(this,105,a)};
g.setNoGainMap=function(a){cl(this,106,a)};g.setForceCookieRedirect=function(a){cl(this,108,a)};g.setStoryboardLevel=function(a){dl(this,109,a)};g.setStoryboardMosaic=function(a){dl(this,110,a)};g.setPregenTimestamps=function(a){fl(this,111,a)};g.setClientExperimentLabel=function(a){fl(this,112,a)};var SJ=function(a){this.value_=void 0;this.childNodes_={};a&&this.setAll(a)};SJ.prototype.set=function(a,b){Puc(this,a,b,!1)};SJ.prototype.setValue=function(a){this.value_=a};SJ.prototype.add=function(a,b){Puc(this,a,b,!0)};var Puc=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 SJ);a=a.childNodes_[f]}if(d&&a.value_!==void 0)throw Error("Nd`"+b);a.value_=c};
SJ.prototype.setAll=function(a){var b=$sc(a);a=rJ(a);for(var c=0;c<b.length;c++)this.set(b[c],a[c])};var Quc=function(a,b){for(var c=0;c<b.length;c++)if(a=a.childNodes_[b.charAt(c)],!a)return;return a};SJ.prototype.get=function(a){return(a=Quc(this,a))?a.value_:void 0};SJ.prototype.getValues=function(){var a=[];Ruc(this,a);return a};var Ruc=function(a,b){a.value_!==void 0&&b.push(a.value_);for(var c in a.childNodes_)Ruc(a.childNodes_[c],b)};
SJ.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]}Suc(c,a,b)}else Suc(this,"",b);return b};var Suc=function(a,b,c){a.value_!==void 0&&c.push(b);for(var d in a.childNodes_)Suc(a.childNodes_[d],b+d,c)};g=SJ.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("Od`"+a);c.push([b,e]);b=b.childNodes_[e]}a=b.value_;for(delete b.value_;c.length>0;)if(d=c.pop(),b=d[0],d=d[1],b.childNodes_[d].isEmpty())delete b.childNodes_[d];else break;return a};
g.clone=function(){return new SJ(this)};g.getCount=function(){return Zsc(this.getValues())};g.isEmpty=function(){return this.value_===void 0&&Hc(this.childNodes_)};var Vuc=function(){if(!Tuc){var a=Tuc=new SJ,b;for(b in Uuc)a.add(b,Uuc[b])}},Tuc,TJ=function(a,b){this.types=a;this.setters=b},Uuc={a:new TJ([3,0],[function(a,b){a.setEsPortraitApprovedOnly(b)},function(a,b){a.setSelectFrameNumber(b)}]),al:new TJ([3],[function(a,b){a.setAutoloop(b)}]),b:new TJ([3,0],[function(a,b){a.setBypassTakedown(b)},function(a,b){a.setBorderSize(b)}]),ba:new TJ([0],[function(a,b){a.setBadge(b)}]),bc:new TJ([0],[function(a,b){a.setBackgroundColor(b)}]),br:new TJ([0],[function(a,
b){a.setBorderRadius(b)}]),c:new TJ([3,0],[function(a,b){a.setCrop(b)},function(a,b){a.setBorderColor(b)}]),cc:new TJ([3],[function(a,b){a.setCircleCrop(b)}]),ci:new TJ([3],[function(a,b){a.setImageCrop(b)}]),ckm:new TJ([3],[function(a,b){a.setDummyCacheKeyModifier(b)}]),cp:new TJ([0],[function(a,b){a.setColorProfile(b)}]),cr:new TJ([3],[function(a,b){a.setForceCookieRedirect(b)}]),cv:new TJ([0],[function(a,b){a.setFaceCropVersion(b)}]),d:new TJ([3],[function(a,b){a.setDownload(b)}]),dc:new TJ([5],
[function(a,b){a.setDeepCrop(b)}]),df:new TJ([3],[function(a,b){a.setDetectFaces(b)}]),dv:new TJ([3],[function(a,b){a.setDownloadVideo(b)}]),e:new TJ([0],[function(a,b){a.setExpirationTime(b)}]),em:new TJ([0],[function(a,b){a.setExpirationTimeInMinutes(b)}]),f:new TJ([4],[function(a,b){a.setImageFilter(b)}]),fg:new TJ([3],[function(a,b){a.setForceTileGeneration(b)}]),fh:new TJ([3],[function(a,b){a.setHorizontalFlip(b)}]),fm:new TJ([3],[function(a,b){a.setForceMonogram(b)}]),fo:new TJ([2],[function(a,
b){a.setFovDegrees(b)}]),ft:new TJ([3],[function(a,b){a.setForceTransformation(b)}]),fv:new TJ([3],[function(a,b){a.setVerticalFlip(b)}]),g:new TJ([3],[function(a,b){a.setTileGeneration(b)}]),gce:new TJ([4],[function(a,b){a.setClientExperimentLabel(b)}]),gd:new TJ([3],[function(a,b){a.setPreserveGoogleData(b)}]),gm:new TJ([3],[function(a,b){a.setGainMap(b)}]),h:new TJ([3,0],[function(a,b){a.setHtml(b)},function(a,b){a.setHeight(b)}]),i:new TJ([3],[function(a,b){a.setIncludeMetadata(b)}]),ic:new TJ([0],
[function(a,b){a.setInternalClient(b)}]),id:new TJ([3],[function(a,b){a.setImageDigest(b)}]),il:new TJ([3],[function(a,b){a.setIgnoreLowResProfilePhoto(b)}]),ip:new TJ([3],[function(a,b){a.setIncludePublicMetadata(b)}]),iv:new TJ([0],[function(a,b){a.setImageVersion(b)}]),j:new TJ([1],[function(a,b){a.setFrameId(b)}]),k:new TJ([3,0],[function(a,b){a.setKillAnimation(b)},function(a,b){a.setFocusBlur(b)}]),l:new TJ([0],[function(a,b){a.setQualityLevel(b)}]),lf:new TJ([3],[function(a,b){a.setLooseFaceCrop(b)}]),
lo:new TJ([3],[function(a,b){a.setLossy(b)}]),m:new TJ([0],[function(a,b){a.setVideoFormat(b)}]),md:new TJ([3],[function(a,b){a.setMonogramDogfood(b)}]),mm:new TJ([4],[function(a,b){a.setVideoMultiFormat(b)}]),mo:new TJ([3],[function(a,b){a.setMonogram(b)}]),mv:new TJ([3],[function(a,b){a.setMatchVersion(b)}]),n:new TJ([3],[function(a,b){a.setCenterCrop(b)}]),nc:new TJ([3],[function(a,b){a.setNoCorrectExifOrientation(b)}]),nd:new TJ([3],[function(a,b){a.setNoDefaultImage(b)}]),ng:new TJ([3],[function(a,
b){a.setStripGeoinfo(b)}]),ngm:new TJ([3],[function(a,b){a.setNoGainMap(b)}]),no:new TJ([3],[function(a,b){a.setNoOverlay(b)}]),ns:new TJ([3],[function(a,b){a.setNoSilhouette(b)}]),nt0:new TJ([4],[function(a,b){a.setVersionedToken(b)}]),ntm:new TJ([3],[function(a,b){a.setNoToneMap(b)}]),nu:new TJ([3],[function(a,b){a.setNoUpscale(b)}]),nw:new TJ([3],[function(a,b){a.setNoWebp(b)}]),o:new TJ([1,3],[function(a,b){a.setObjectId(b)},function(a,b){a.setOverlay(b)}]),p:new TJ([3,0],[function(a,b){a.setSmartCrop(b)},
function(a,b){a.setFocalPlane(b)}]),pa:new TJ([3],[function(a,b){a.setPreserveAspectRatio(b)}]),pc:new TJ([0],[function(a,b){a.setPadColor(b)}]),pd:new TJ([3],[function(a,b){a.setPad(b)}]),pf:new TJ([3],[function(a,b){a.setSmartCropUseFace(b)}]),pg:new TJ([3],[function(a,b){a.setTilePyramidAsProto(b)}]),pi:new TJ([2],[function(a,b){a.setPitchDegrees(b)}]),pp:new TJ([3],[function(a,b){a.setSmartCropNoClip(b)}]),pt:new TJ([4],[function(a,b){a.setPregenTimestamps(b)}]),q:new TJ([4],[function(a,b){a.setQueryString(b)}]),
r:new TJ([3,0],[function(a,b){a.setSkipRefererCheck(b)},function(a,b){a.setRotate(b)}]),ra:new TJ([3],[function(a,b){a.setRequestAvif(b)}]),rf:new TJ([3],[function(a,b){a.setRequestVideoFast(b)}]),rg:new TJ([3],[function(a,b){a.setRequestGif(b)}]),rh:new TJ([3],[function(a,b){a.setRequestH264(b)}]),rj:new TJ([3],[function(a,b){a.setRequestJpeg(b)}]),ro:new TJ([2],[function(a,b){a.setRollDegrees(b)}]),rp:new TJ([3],[function(a,b){a.setRequestPng(b)}]),rw:new TJ([3],[function(a,b){a.setRequestWebp(b)}]),
rwa:new TJ([3],[function(a,b){a.setRequestAnimatedWebp(b)}]),rwu:new TJ([3],[function(a,b){a.setRequestWebpUnlessMaybeTransparent(b)}]),s:new TJ([3,0],[function(a,b){a.setStretch(b)},function(a,b){a.setSize(b)}]),sb:new TJ([0],[function(a,b){a.setStoryboardMosaic(b)}]),sc:new TJ([0],[function(a,b){a.setSubstitutionColor(b)}]),sg:new TJ([3],[function(a,b){a.setStripGoogleData(b)}]),sl:new TJ([0],[function(a,b){a.setStoryboardLevel(b)}]),sm:new TJ([3],[function(a,b){a.setStripMetadata(b)}]),t:new TJ([4],
[function(a,b){a.setToken(b)}]),tm:new TJ([3],[function(a,b){a.setToneMap(b)}]),u:new TJ([3],[function(a,b){a.setUnfiltered(b)}]),ut:new TJ([3],[function(a,b){a.setUnfilteredWithTransforms(b)}]),v:new TJ([0],[function(a,b){a.setQualityBucket(b)}]),vb:new TJ([0],[function(a,b){a.setVideoBegin(b)}]),vf:new TJ([4],[function(a,b){a.setVideoFormatFilters(b)}]),vl:new TJ([0],[function(a,b){a.setVideoLength(b)}]),vm:new TJ([3],[function(a,b){a.setVideoManifest(b)}]),w:new TJ([0],[function(a,b){a.setWidth(b)}]),
x:new TJ([0],[function(a,b){a.setTileX(b)}]),y:new TJ([0],[function(a,b){a.setTileY(b)}]),ya:new TJ([2],[function(a,b){a.setYawDegrees(b)}]),z:new TJ([0],[function(a,b){a.setTileZoom(b)}])};
Vuc.prototype.parse=function(a){var b=new Ouc,c=new Ouc;if(a=="")a=!0;else{a=a.split("-");for(var d=!0,e=0;e<a.length;e++){var f=a[e];if(f.length==0)d=!1;else{var h=f,l=!1;var q=h;var u=h.charAt(0);u!=u.toLowerCase()&&(l=!0,q=h.charAt(0).toLowerCase()+h.substring(1));var A=Tuc;for(u=1;u<=q.length;++u){var F=A,H=q.substring(0,u);if(H.length==0?F.isEmpty():!Quc(F,H))break}q=u==1?null:(q=A.get(q.substring(0,u-1)))?{option:h.substring(0,u-1),value:h.substring(u-1),signed:l,attributes:q}:null;if(q){h=
[];l=[];u=!1;for(A=0;A<q.attributes.types.length;A++){F=q.attributes.types[A];var N=q.value;H=e;if(q.signed&&F==1)for(var O=N.length;O<12&&H<a.length-1;)N+="-"+a[H+1],O=N.length,++H;else if(F==2)for(;H<a.length-1&&a[H+1].match(/^[\d\.]/);)N+="-"+a[H+1],++H;O=q.attributes.setters[A];N=Wuc(this,F)(q.option,N,b,c,O);if(N===null){u=!0;e=H;break}else h.push(F),l.push(N)}if(!u)for(q=0;q<l.length;q++)A=h[q],N=l[q],Xuc(this,A)(f,N);d=d&&u}else d=!1}}a=d}return new Yuc(b,c,a)};
var Zuc=function(a,b,c,d,e,f){e(c,b);a=a.charAt(0);f=f(a==a.toUpperCase());e(d,f)};g=Vuc.prototype;g.parseAndSetIntOption_=function(a,b,c,d,e){if(b=="")return 0;b=uj(b);if(isNaN(b))return 1;Zuc(a,b,c,d,e,Number);return null};g.logIntParseError_=function(){};g.parseAndSetFloatOption_=function(a,b,c,d,e){if(b=="")return 0;b=Sm(b);if(isNaN(b))return 1;Zuc(a,b,c,d,e,Number);return null};g.logFloatParseError_=function(){};
g.parseAndSetBoolOption_=function(a,b,c,d,e){if(b!="")return 2;Zuc(a,!0,c,d,e,Boolean);return null};g.logBoolParseError_=function(){};g.parseAndSetStringOption_=function(a,b,c,d,e){if(b=="")return 0;Zuc(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;Zuc(a,b,c,d,e,function(f){return f?1:0});return null};
var Wuc=function(a,b){switch(b){case 0:return Lu(a.parseAndSetIntOption_,a);case 2:return Lu(a.parseAndSetFloatOption_,a);case 3:return Lu(a.parseAndSetBoolOption_,a);case 4:return Lu(a.parseAndSetStringOption_,a);case 1:return Lu(a.parseAndSetUint64Base64Option_,a);default:return function(){}}},Xuc=function(a,b){switch(b){case 0:return Lu(a.logIntParseError_,a);case 2:return Lu(a.logFloatParseError_,a);case 3:return Lu(a.logBoolParseError_,a);case 4:case 1:return Lu(a.logStringParseError_,a);default:return function(){}}},
Yuc=function(a,b,c){this.valueProto_=a;this.signatureFlagProto_=b;this.valid_=c};Yuc.prototype.isValid=function(){return this.valid_};var $uc=function(a,b){a!=null&&this.append.apply(this,arguments)};g=$uc.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 bvc=function(a){this.parser_=null;this.components_=[];this.parsedOptions_=null;avc(this,a)};bvc.prototype.getParsedOptions=function(){return this.parsedOptions_};var cvc=function(a){a.parser_==null&&(a.parser_=new Vuc);return a.parser_},avc=function(a,b){a.parsedOptions_=b?typeof b==="string"?cvc(a).parse(b):b:cvc(a).parse("")},UJ=function(a,b){return a==b?!1:!0};g=bvc.prototype;
g.setEsPortraitApprovedOnly=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,ft(c,21),ft(b.signatureFlagProto_,21))&&c.setEsPortraitApprovedOnly(a);return this};g.setSelectFrameNumber=function(a){var b=this.parsedOptions_,c=b.valueProto_;UJ(a,av(c,56),av(b.signatureFlagProto_,56))&&c.setSelectFrameNumber(a)};g.setAutoloop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,ft(c,74),ft(b.signatureFlagProto_,74))&&c.setAutoloop(a)};
g.setBypassTakedown=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,Ak(c,23,!1),Ak(b.signatureFlagProto_,23,!1))&&c.setBypassTakedown(a)};g.setBorderSize=function(a){var b=this.parsedOptions_,c=b.valueProto_;UJ(a,av(c,38),av(b.signatureFlagProto_,38))&&c.setBorderSize(a)};g.setBadge=function(a){var b=this.parsedOptions_,c=b.valueProto_;UJ(a,av(c,85),av(b.signatureFlagProto_,85))&&c.setBadge(a)};
g.setBackgroundColor=function(a){var b=this.parsedOptions_,c=b.valueProto_;UJ(a,c.getBackgroundColor(),b.signatureFlagProto_.getBackgroundColor())&&c.setBackgroundColor(a)};g.setBorderRadius=function(a){var b=this.parsedOptions_,c=b.valueProto_;UJ(a,av(c,86),av(b.signatureFlagProto_,86))&&c.setBorderRadius(a)};g.setCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,Ak(c,2,!1),Ak(b.signatureFlagProto_,2,!1))&&c.setCrop(a);return this};
g.setBorderColor=function(a){var b=this.parsedOptions_,c=b.valueProto_;UJ(a,av(c,39),av(b.signatureFlagProto_,39))&&c.setBorderColor(a)};g.setCircleCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,ft(c,51),ft(b.signatureFlagProto_,51))&&c.setCircleCrop(a);return this};g.setImageCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,ft(c,32),ft(b.signatureFlagProto_,32))&&c.setImageCrop(a);return this};
g.setDummyCacheKeyModifier=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,ft(c,104),ft(b.signatureFlagProto_,104))&&c.setDummyCacheKeyModifier(a)};g.setColorProfile=function(a){var b=this.parsedOptions_,c=b.valueProto_;UJ(a,av(c,92),av(b.signatureFlagProto_,92))&&c.setColorProfile(a)};g.setForceCookieRedirect=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,ft(c,108),ft(b.signatureFlagProto_,108))&&c.setForceCookieRedirect(a)};
g.setFaceCropVersion=function(a){var b=this.parsedOptions_,c=b.valueProto_;UJ(a,av(c,94),av(b.signatureFlagProto_,94))&&c.setFaceCropVersion(a)};g.setDownload=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,Ak(c,3,!1),Ak(b.signatureFlagProto_,3,!1))&&c.setDownload(a)};g.setDeepCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,ql(c,99),ql(b.signatureFlagProto_,99))&&c.setDeepCrop(a)};
g.setDetectFaces=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,ft(c,80),ft(b.signatureFlagProto_,80))&&c.setDetectFaces(a)};g.setDownloadVideo=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,ft(c,90),ft(b.signatureFlagProto_,90))&&c.setDownloadVideo(a)};g.setExpirationTime=function(a){var b=this.parsedOptions_,c=b.valueProto_;UJ(a,av(c,15),av(b.signatureFlagProto_,15))&&c.setExpirationTime(a)};
g.setExpirationTimeInMinutes=function(a){var b=this.parsedOptions_,c=b.valueProto_;UJ(a,av(c,107),av(b.signatureFlagProto_,107))&&c.setExpirationTimeInMinutes(a)};g.setImageFilter=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,ql(c,16),ql(b.signatureFlagProto_,16))&&c.setImageFilter(a);return this};g.setForceTileGeneration=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,Ak(c,34,!1),Ak(b.signatureFlagProto_,34,!1))&&c.setForceTileGeneration(a)};
g.setHorizontalFlip=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,ft(c,30),ft(b.signatureFlagProto_,30))&&c.setHorizontalFlip(a)};g.setForceMonogram=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,ft(c,84),ft(b.signatureFlagProto_,84))&&c.setForceMonogram(a);return this};g.setFovDegrees=function(a){var b=this.parsedOptions_,c=b.valueProto_;UJ(a,Vu(c,79),Vu(b.signatureFlagProto_,79))&&c.setFovDegrees(a)};
g.setForceTransformation=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,ft(c,50),ft(b.signatureFlagProto_,50))&&c.setForceTransformation(a)};g.setVerticalFlip=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,ft(c,31),ft(b.signatureFlagProto_,31))&&c.setVerticalFlip(a)};g.setTileGeneration=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,Ak(c,14,!1),Ak(b.signatureFlagProto_,14,!1))&&c.setTileGeneration(a)};
g.setClientExperimentLabel=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,ql(c,112),ql(b.signatureFlagProto_,112))&&c.setClientExperimentLabel(a)};g.setPreserveGoogleData=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,ft(c,83),ft(b.signatureFlagProto_,83))&&c.setPreserveGoogleData(a)};g.setGainMap=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,ft(c,105),ft(b.signatureFlagProto_,105))&&c.setGainMap(a)};
g.setHtml=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,Ak(c,4,!1),Ak(b.signatureFlagProto_,4,!1))&&c.setHtml(a)};g.setHeight=function(a){var b=this.parsedOptions_,c=b.valueProto_;UJ(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_;UJ(a,ft(c,22),ft(b.signatureFlagProto_,22))&&c.setIncludeMetadata(a)};
g.setInternalClient=function(a){var b=this.parsedOptions_,c=b.valueProto_;UJ(a,av(c,71),av(b.signatureFlagProto_,71))&&c.setInternalClient(a)};g.setImageDigest=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,ft(c,70),ft(b.signatureFlagProto_,70))&&c.setImageDigest(a)};g.setIgnoreLowResProfilePhoto=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,ft(c,96),ft(b.signatureFlagProto_,96))&&c.setIgnoreLowResProfilePhoto(a)};
g.setIncludePublicMetadata=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,ft(c,54),ft(b.signatureFlagProto_,54))&&c.setIncludePublicMetadata(a)};g.setImageVersion=function(a){var b=this.parsedOptions_,c=b.valueProto_;UJ(a,Zu(c,75),Zu(b.signatureFlagProto_,75))&&c.setImageVersion(a)};g.setFrameId=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,$u(c,29),$u(b.signatureFlagProto_,29))&&c.setFrameId(a)};
g.setKillAnimation=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,ft(c,17),ft(b.signatureFlagProto_,17))&&c.setKillAnimation(a);return this};g.setFocusBlur=function(a){var b=this.parsedOptions_,c=b.valueProto_;UJ(a,av(c,42),av(b.signatureFlagProto_,42))&&c.setFocusBlur(a)};g.setQualityLevel=function(a){var b=this.parsedOptions_,c=b.valueProto_;UJ(a,av(c,44),av(b.signatureFlagProto_,44))&&c.setQualityLevel(a);return this};
g.setLooseFaceCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,ft(c,65),ft(b.signatureFlagProto_,65))&&c.setLooseFaceCrop(a);return this};g.setLossy=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,ft(c,97),ft(b.signatureFlagProto_,97))&&c.setLossy(a)};g.setVideoFormat=function(a){var b=this.parsedOptions_,c=b.valueProto_;UJ(a,av(c,63),av(b.signatureFlagProto_,63))&&c.setVideoFormat(a)};
g.setMonogramDogfood=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,ft(c,91),ft(b.signatureFlagProto_,91))&&c.setMonogramDogfood(a)};g.setVideoMultiFormat=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,ql(c,81),ql(b.signatureFlagProto_,81))&&c.setVideoMultiFormat(a)};g.setMonogram=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,ft(c,73),ft(b.signatureFlagProto_,73))&&c.setMonogram(a)};
g.setMatchVersion=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,ft(c,66),ft(b.signatureFlagProto_,66))&&c.setMatchVersion(a)};g.setCenterCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,Ak(c,20,!1),Ak(b.signatureFlagProto_,20,!1))&&c.setCenterCrop(a);return this};g.setNoCorrectExifOrientation=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,ft(c,55),ft(b.signatureFlagProto_,55))&&c.setNoCorrectExifOrientation(a)};
g.setNoDefaultImage=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,ft(c,53),ft(b.signatureFlagProto_,53))&&c.setNoDefaultImage(a)};g.setStripGeoinfo=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,ft(c,95),ft(b.signatureFlagProto_,95))&&c.setStripGeoinfo(a)};g.setNoGainMap=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,ft(c,106),ft(b.signatureFlagProto_,106))&&c.setNoGainMap(a)};
g.setNoOverlay=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,Ak(c,37,!1),Ak(b.signatureFlagProto_,37,!1))&&c.setNoOverlay(a);return this};g.setNoSilhouette=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,ft(c,40),ft(b.signatureFlagProto_,40))&&c.setNoSilhouette(a)};g.setVersionedToken=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,ql(c,36),ql(b.signatureFlagProto_,36))&&c.setVersionedToken(a)};
g.setNoToneMap=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,ft(c,114),ft(b.signatureFlagProto_,114))&&c.setNoToneMap(a)};g.setNoUpscale=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,ft(c,46),ft(b.signatureFlagProto_,46))&&c.setNoUpscale(a)};g.setNoWebp=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,Ak(c,48,!1),Ak(b.signatureFlagProto_,48,!1))&&c.setNoWebp(a)};
g.setObjectId=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,$u(c,7),$u(b.signatureFlagProto_,7))&&c.setObjectId(a)};g.setOverlay=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(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_;UJ(a,Ak(c,19,!1),Ak(b.signatureFlagProto_,19,!1))&&c.setSmartCrop(a);return this};
g.setFocalPlane=function(a){var b=this.parsedOptions_,c=b.valueProto_;UJ(a,av(c,43),av(b.signatureFlagProto_,43))&&c.setFocalPlane(a)};g.setPreserveAspectRatio=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,ft(c,61),ft(b.signatureFlagProto_,61))&&c.setPreserveAspectRatio(a)};g.setPadColor=function(a){var b=this.parsedOptions_,c=b.valueProto_;UJ(a,av(c,88),av(b.signatureFlagProto_,88))&&c.setPadColor(a)};
g.setPad=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,ft(c,60),ft(b.signatureFlagProto_,60))&&c.setPad(a);return this};g.setSmartCropUseFace=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,Ak(c,67,!1),Ak(b.signatureFlagProto_,67,!1))&&c.setSmartCropUseFace(a);return this};g.setTilePyramidAsProto=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,Ak(c,72,!1),Ak(b.signatureFlagProto_,72,!1))&&c.setTilePyramidAsProto(a)};
g.setPitchDegrees=function(a){var b=this.parsedOptions_,c=b.valueProto_;UJ(a,Vu(c,76),Vu(b.signatureFlagProto_,76))&&c.setPitchDegrees(a)};g.setSmartCropNoClip=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,Ak(c,52,!1),Ak(b.signatureFlagProto_,52,!1))&&c.setSmartCropNoClip(a);return this};g.setPregenTimestamps=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,ql(c,111),ql(b.signatureFlagProto_,111))&&c.setPregenTimestamps(a)};
g.setQueryString=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,ql(c,28),ql(b.signatureFlagProto_,28))&&c.setQueryString(a)};g.setSkipRefererCheck=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,Ak(c,6,!1),Ak(b.signatureFlagProto_,6,!1))&&c.setSkipRefererCheck(a)};g.setRotate=function(a){var b=this.parsedOptions_,c=b.valueProto_;UJ(a,av(c,26),av(b.signatureFlagProto_,26))&&c.setRotate(a);return this};
g.setRequestAvif=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,Ak(c,103,!1),Ak(b.signatureFlagProto_,103,!1))&&c.setRequestAvif(a)};g.setRequestVideoFast=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,ft(c,100),ft(b.signatureFlagProto_,100))&&c.setRequestVideoFast(a)};g.setRequestGif=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,ft(c,59),ft(b.signatureFlagProto_,59))&&c.setRequestGif(a)};
g.setRequestH264=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,Ak(c,49,!1),Ak(b.signatureFlagProto_,49,!1))&&c.setRequestH264(a);return this};g.setRequestJpeg=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,ft(c,57),ft(b.signatureFlagProto_,57))&&c.setRequestJpeg(a);return this};g.setRollDegrees=function(a){var b=this.parsedOptions_,c=b.valueProto_;UJ(a,Vu(c,78),Vu(b.signatureFlagProto_,78))&&c.setRollDegrees(a)};
g.setRequestPng=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,ft(c,58),ft(b.signatureFlagProto_,58))&&c.setRequestPng(a);return this};g.setRequestWebp=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,Ak(c,35,!1),Ak(b.signatureFlagProto_,35,!1))&&c.setRequestWebp(a);return this};g.setRequestAnimatedWebp=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,Ak(c,64,!1),Ak(b.signatureFlagProto_,64,!1))&&c.setRequestAnimatedWebp(a)};
g.setRequestWebpUnlessMaybeTransparent=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,Ak(c,41,!1),Ak(b.signatureFlagProto_,41,!1))&&c.setRequestWebpUnlessMaybeTransparent(a)};g.setStretch=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,ft(c,33),ft(b.signatureFlagProto_,33))&&c.setStretch(a);return this};g.setSize=function(a){var b=this.parsedOptions_,c=b.valueProto_;UJ(a,c.getSize(),b.signatureFlagProto_.getSize())&&c.setSize(a);return this};
g.setStoryboardMosaic=function(a){var b=this.parsedOptions_,c=b.valueProto_;UJ(a,av(c,110),av(b.signatureFlagProto_,110))&&c.setStoryboardMosaic(a)};g.setSubstitutionColor=function(a){var b=this.parsedOptions_,c=b.valueProto_;UJ(a,av(c,89),av(b.signatureFlagProto_,89))&&c.setSubstitutionColor(a)};g.setStripGoogleData=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,ft(c,82),ft(b.signatureFlagProto_,82))&&c.setStripGoogleData(a)};
g.setStoryboardLevel=function(a){var b=this.parsedOptions_,c=b.valueProto_;UJ(a,av(c,109),av(b.signatureFlagProto_,109))&&c.setStoryboardLevel(a)};g.setStripMetadata=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,ft(c,93),ft(b.signatureFlagProto_,93))&&c.setStripMetadata(a)};g.setToken=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,c.getToken(),b.signatureFlagProto_.getToken())&&c.setToken(a);return this};
g.setToneMap=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,ft(c,113),ft(b.signatureFlagProto_,113))&&c.setToneMap(a)};g.setUnfiltered=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,ft(c,18),ft(b.signatureFlagProto_,18))&&c.setUnfiltered(a)};g.setUnfilteredWithTransforms=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,ft(c,45),ft(b.signatureFlagProto_,45))&&c.setUnfilteredWithTransforms(a)};
g.setQualityBucket=function(a){var b=this.parsedOptions_,c=b.valueProto_;UJ(a,av(c,62),av(b.signatureFlagProto_,62))&&c.setQualityBucket(a);return this};g.setVideoBegin=function(a){var b=this.parsedOptions_,c=b.valueProto_;UJ(a,Zu(c,68),Zu(b.signatureFlagProto_,68))&&c.setVideoBegin(a)};g.setVideoFormatFilters=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,ql(c,102),ql(b.signatureFlagProto_,102))&&c.setVideoFormatFilters(a)};
g.setVideoLength=function(a){var b=this.parsedOptions_,c=b.valueProto_;UJ(a,Zu(c,69),Zu(b.signatureFlagProto_,69))&&c.setVideoLength(a)};g.setVideoManifest=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UJ(a,ft(c,98),ft(b.signatureFlagProto_,98))&&c.setVideoManifest(a)};g.setWidth=function(a){var b=this.parsedOptions_,c=b.valueProto_;UJ(a,c.getWidth(),b.signatureFlagProto_.getWidth())&&c.setWidth(a);return this};
g.setTileX=function(a){var b=this.parsedOptions_,c=b.valueProto_;UJ(a,av(c,9),av(b.signatureFlagProto_,9))&&c.setTileX(a)};g.setTileY=function(a){var b=this.parsedOptions_,c=b.valueProto_;UJ(a,av(c,10),av(b.signatureFlagProto_,10))&&c.setTileY(a)};g.setYawDegrees=function(a){var b=this.parsedOptions_,c=b.valueProto_;UJ(a,Vu(c,77),Vu(b.signatureFlagProto_,77))&&c.setYawDegrees(a)};g.setTileZoom=function(a){var b=this.parsedOptions_,c=b.valueProto_;UJ(a,av(c,11),av(b.signatureFlagProto_,11))&&c.setTileZoom(a)};
g.setOptions=function(a){avc(this,a);return this};
g.build=function(){this.components_.length=0;var a=this.parsedOptions_,b=a.valueProto_;a=a.signatureFlagProto_;VJ(this,"s",b.getSize(),a.getSize());VJ(this,"w",b.getWidth(),a.getWidth());WJ(this,"c",Ak(b,2,!1),Ak(a,2,!1));WJ(this,"d",Ak(b,3,!1),Ak(a,3,!1));VJ(this,"h",b.getHeight(),a.getHeight());WJ(this,"s",ft(b,33),ft(a,33));WJ(this,"h",Ak(b,4,!1),Ak(a,4,!1));WJ(this,"p",Ak(b,19,!1),Ak(a,19,!1));WJ(this,"pp",Ak(b,52,!1),Ak(a,52,!1));WJ(this,"pf",Ak(b,67,!1),Ak(a,67,!1));WJ(this,"n",Ak(b,20,!1),
Ak(a,20,!1));VJ(this,"r",av(b,26),av(a,26));WJ(this,"r",Ak(b,6,!1),Ak(a,6,!1));WJ(this,"o",b.getOverlay(),a.getOverlay());var c=$u(b,7);XJ(this,"o",c,$u(a,7));c=$u(b,29);XJ(this,"j",c,$u(a,29));VJ(this,"x",av(b,9),av(a,9));VJ(this,"y",av(b,10),av(a,10));VJ(this,"z",av(b,11),av(a,11));WJ(this,"g",Ak(b,14,!1),Ak(a,14,!1));VJ(this,"e",av(b,15),av(a,15));XJ(this,"f",ql(b,16),ql(a,16));WJ(this,"k",ft(b,17),ft(a,17));WJ(this,"u",ft(b,18),!0);WJ(this,"ut",ft(b,45),!0);WJ(this,"i",ft(b,22),!0);WJ(this,"a",
ft(b,21),ft(a,21));WJ(this,"b",Ak(b,23,!1),Ak(a,23,!1));VJ(this,"b",av(b,38),av(a,38));VJ(this,"c",av(b,39),av(a,39),16,8);XJ(this,"q",ql(b,28),ql(a,28));WJ(this,"fh",ft(b,30),ft(a,30));WJ(this,"fv",ft(b,31),ft(a,31));WJ(this,"fg",Ak(b,34,!1),Ak(a,34,!1));WJ(this,"ci",ft(b,32),ft(a,32));XJ(this,"t",b.getToken(),a.getToken());XJ(this,"nt0",ql(b,36),ql(a,36));WJ(this,"rw",Ak(b,35,!1),Ak(a,35,!1));WJ(this,"rwu",Ak(b,41,!1),Ak(a,41,!1));WJ(this,"rwa",Ak(b,64,!1),Ak(a,64,!1));WJ(this,"nw",Ak(b,48,!1),
Ak(a,48,!1));WJ(this,"rh",Ak(b,49,!1),Ak(a,49,!1));WJ(this,"no",Ak(b,37,!1),Ak(a,37,!1));WJ(this,"ns",ft(b,40),ft(a,40));VJ(this,"k",av(b,42),av(a,42));VJ(this,"p",av(b,43),av(a,43));VJ(this,"l",av(b,44),av(a,44));VJ(this,"v",av(b,62),av(a,62));WJ(this,"nu",ft(b,46),ft(a,46));WJ(this,"ft",ft(b,50),ft(a,50));WJ(this,"cc",ft(b,51),ft(a,51));WJ(this,"nd",ft(b,53),ft(a,53));WJ(this,"ip",ft(b,54),ft(a,54));WJ(this,"nc",ft(b,55),ft(a,55));VJ(this,"a",av(b,56),av(a,56));WJ(this,"rj",ft(b,57),ft(a,57));WJ(this,
"rp",ft(b,58),ft(a,58));WJ(this,"rg",ft(b,59),ft(a,59));WJ(this,"pd",ft(b,60),ft(a,60));WJ(this,"pa",ft(b,61),ft(a,61));VJ(this,"m",av(b,63),av(a,63));VJ(this,"vb",Zu(b,68),Zu(a,68));VJ(this,"vl",Zu(b,69),Zu(a,69));WJ(this,"lf",ft(b,65),ft(a,65));WJ(this,"mv",ft(b,66),ft(a,66));WJ(this,"id",ft(b,70),ft(a,70));VJ(this,"ic",av(b,71),!0);WJ(this,"pg",Ak(b,72,!1),Ak(a,72,!1));WJ(this,"mo",ft(b,73),ft(a,73));WJ(this,"al",ft(b,74),ft(a,74));VJ(this,"iv",Zu(b,75),Zu(a,75));VJ(this,"pi",Vu(b,76),Vu(a,76));
VJ(this,"ya",Vu(b,77),Vu(a,77));VJ(this,"ro",Vu(b,78),Vu(a,78));VJ(this,"fo",Vu(b,79),Vu(a,79));WJ(this,"df",ft(b,80),ft(a,80));XJ(this,"mm",ql(b,81),ql(a,81));WJ(this,"sg",ft(b,82),ft(a,82));WJ(this,"gd",ft(b,83),ft(a,83));WJ(this,"fm",ft(b,84),ft(a,84));VJ(this,"ba",av(b,85),av(a,85));VJ(this,"br",av(b,86),av(a,86));VJ(this,"bc",b.getBackgroundColor(),a.getBackgroundColor(),16,8);VJ(this,"pc",av(b,88),av(a,88),16,8);VJ(this,"sc",av(b,89),av(a,89),16,8);WJ(this,"dv",ft(b,90),ft(a,90));WJ(this,"md",
ft(b,91),ft(a,91));VJ(this,"cp",av(b,92),av(a,92));WJ(this,"sm",ft(b,93),ft(a,93));VJ(this,"cv",av(b,94),av(a,94));WJ(this,"ng",ft(b,95),ft(a,95));WJ(this,"il",ft(b,96),ft(a,96));WJ(this,"lo",ft(b,97),ft(a,97));WJ(this,"vm",ft(b,98),ft(a,98));XJ(this,"dc",ql(b,99),ql(a,99));WJ(this,"rf",ft(b,100),ft(a,100));XJ(this,"vf",ql(b,102),ql(a,102));WJ(this,"ra",Ak(b,103,!1),Ak(a,103,!1));WJ(this,"ckm",ft(b,104),ft(a,104));WJ(this,"gm",ft(b,105),ft(a,105));WJ(this,"ngm",ft(b,106),ft(a,106));VJ(this,"em",av(b,
107),av(a,107));WJ(this,"cr",ft(b,108),ft(a,108));VJ(this,"sl",av(b,109),av(a,109));VJ(this,"sb",av(b,110),av(a,110));XJ(this,"pt",ql(b,111),ql(a,111));XJ(this,"gce",ql(b,112),ql(a,112));WJ(this,"tm",ft(b,113),ft(a,113));WJ(this,"ntm",ft(b,114),ft(a,114));return this.components_.join("-")};
var VJ=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 $uc;e.append(h==16?"0x":"");h=e.append;f==void 0?f="":(f-=c.length,f=f<=0?"":I4b("0",f));h.call(e,f);e.append(c);dvc(a,b,e.toString(),!!d)}},WJ=function(a,b,c,d){c&&dvc(a,b,"",!!d)},XJ=function(a,b,c,d){c&&dvc(a,b,c,!!d)},dvc=function(a,b,c,d){d&&(b=b.charAt(0).toUpperCase()+b.substring(1));a.components_.push(b+c)};var YJ=function(a){bvc.call(this,a)};Nu(YJ,bvc);g=YJ.prototype;g.setCrop=function(a){a&&ZJ(this);return YJ.superClass_.setCrop.call(this,a)};g.setHeight=function(a){a=a==null||a<0?void 0:a;a!=null&&this.setSize();return YJ.superClass_.setHeight.call(this,a)};g.setStretch=function(a){a&&ZJ(this);return YJ.superClass_.setStretch.call(this,a)};g.setQualityLevel=function(a){return YJ.superClass_.setQualityLevel.call(this,a)};
g.setImageFilter=function(a){a&&(a=a.replace(";",":"));return YJ.superClass_.setImageFilter.call(this,a)};g.setImageCrop=function(a){a&&ZJ(this);return YJ.superClass_.setImageCrop.call(this,a)};g.setCircleCrop=function(a){a&&ZJ(this);return YJ.superClass_.setCircleCrop.call(this,a)};g.setSize=function(a){Ya(a)&&(a=Math.max(a.width,a.height));a=a==null||a<0?void 0:a;a!=null&&(this.setWidth(),this.setHeight());return YJ.superClass_.setSize.call(this,a)};
g.setSmartCrop=function(a){a&&ZJ(this);return YJ.superClass_.setSmartCrop.call(this,a)};g.setSmartCropNoClip=function(a){a&&ZJ(this);return YJ.superClass_.setSmartCropNoClip.call(this,a)};g.setSmartCropUseFace=function(a){a&&ZJ(this);return YJ.superClass_.setSmartCropUseFace.call(this,a)};g.setCenterCrop=function(a){a&&ZJ(this);return YJ.superClass_.setCenterCrop.call(this,a)};g.setPad=function(a){a&&ZJ(this);return YJ.superClass_.setPad.call(this,a)};
g.setWidth=function(a){a=a==null||a<0?void 0:a;a!=null&&this.setSize();return YJ.superClass_.setWidth.call(this,a)};var ZJ=function(a){a.setCenterCrop();a.setCircleCrop();a.setCrop();a.setImageCrop();a.setPad();a.setSmartCrop();a.setSmartCropNoClip();a.setSmartCropUseFace()};
YJ.prototype.build=function(){var a=this.getParsedOptions().valueProto_;ft(a,18)||ft(a,45)?a.getSize()||this.setSize(0):(a=this.getParsedOptions().valueProto_,a.getSize()||a.getWidth()||a.getHeight()||(this.setSize(),this.setHeight(),this.setWidth(),ZJ(this)));return YJ.superClass_.build.call(this)};var evc=/^[^\/]*\/\//,$J=function(a,b){b=b===void 0?!1:b;this.original_=a;this.originalPrefix_="";(a=this.original_.match(evc))&&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},fvc=function(a,b){a.pathPrefix_=a.pathPrefix_?a.pathPrefix_+("/"+b):b},aK=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"&&(fvc(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)fvc(a,
a.components_[0]);else if(a.components_[0]=="image")fvc(a,a.components_[0]);else if(b==7||b==3)return a.valid_=!1,a.components_;if(b<=3){a.obfuscated_=!0;b==3&&(fvc(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_};$J.prototype.isValid=function(){aK(this);return this.valid_};var gvc=function(a){aK(a);return a.obfuscated_},hvc=function(a){aK(a);return a.isFreeformUrl_};
$J.prototype.getDomain=function(){var a=this.uri_.getPort();return this.uri_.getDomain()+(a?":"+a:"")};$J.prototype.getQuery=function(){return this.uri_.queryData_.toString()};var bK=function(a){aK(a);a.pathPrefix_==void 0&&(a.pathPrefix_=null);return a.pathPrefix_};$J.prototype.hasOptions=function(){switch(aK(this).length){case 7:return!0;case 6:return bK(this)==null;case 5:return!1;case 3:return!0;case 2:return bK(this)==null;case 1:return!1;default:return!1}};
var cK=function(a,b){if(hvc(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=aK(a)[b]}else if(gvc(a))a:{var c=bK(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=aK(a)[b]}else a:{c=bK(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=aK(a)[b]}return a};g=$J.prototype;g.getObfuscatedGaiaId=function(){this.obfuscatedGaiaId_==void 0&&(this.obfuscatedGaiaId_=cK(this,0));return this.obfuscatedGaiaId_};g.getPhotoId=function(){this.photoId_==void 0&&(this.photoId_=cK(this,1));return this.photoId_};g.getImageVersion=function(){this.imageVersion_==void 0&&(this.imageVersion_=cK(this,2));return this.imageVersion_};g.getOptions=function(){this.options_==void 0&&(this.options_=cK(this,4));return this.options_};
g.getFilename=function(){this.filename_==void 0&&(this.filename_=cK(this,5));return this.filename_};var ivc=function(){};ivc.prototype.parse=function(a,b){return new jvc(a,b===void 0?!1:b)};var jvc=function(a,b){$J.call(this,a,b===void 0?!1:b)};Y(jvc,$J);jvc.prototype.getParsedOptions=function(){if(this.parsedOptions_==void 0){var a=this.getOptions();a||(a="");this.parsedOptions_=(new Vuc).parse(a)}return this.parsedOptions_};var dK=function(a,b){b=b===void 0?!1:b;this.parsedImageUrl_=null;a instanceof jvc||(kvc==void 0&&(kvc=new ivc),a=kvc.parse(a.toString(),b));this.parsedImageUrl_=a;a=this.parsedImageUrl_.getParsedOptions();bvc.call(this,a);this.protocolPrefix_=this.parsedImageUrl_.originalPrefix_;this.domain_=this.parsedImageUrl_.getDomain();this.query_=this.parsedImageUrl_.getQuery()},kvc;Nu(dK,YJ);dK.prototype.isValid=function(){return this.parsedImageUrl_.isValid()};
dK.prototype.build=function(){if(!this.parsedImageUrl_.isValid())return this.parsedImageUrl_.original_;var a=dK.superClass_.build.call(this),b=[];bK(this.parsedImageUrl_)!=null&&b.push(bK(this.parsedImageUrl_));var c=hvc(this.parsedImageUrl_);if(gvc(this.parsedImageUrl_)){var d=this.parsedImageUrl_;d.obfuscatedData_==void 0&&(d.obfuscatedData_=cK(d,6));b.push(d.obfuscatedData_+(a?"="+a:""))}else if(c){d=b.push;var e=this.parsedImageUrl_;e.freeformUrlPath_===void 0&&(e.freeformUrlPath_=cK(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_=cK(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 lvc=/\/\/lh[3-6]\./,mvc=function(a,b,c,d){if(!a||!Nuc(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(lvc,"//lh3.");return(new dK(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 nvc=[[["onedev-hovercard-action"]],[["","onedev-additional-content",""]]],eK=function(a,b){var c=this;this.peopleService=a;this.waldoService=b;this.enableWaldo=!1;this.providedEmail$=new Tf(1);this.person$=this.providedEmail$.pipe(Yf(function(d){return Ltc(c.peopleService,d)}),z(function(d){if(d){var e=Object,f=e.assign;if(d.imageUrl){var h=d.imageUrl;if(Nuc(h)){var l=new dK(h);l.setSize(48).setCrop(!0);h=l.build()||h}}else h=d.imageUrl;d=f.call(e,{},d,{imageUrl:h})}return d}),Vf(1));this.outOfOfficeDescription$=
new Tf;this.init=new Tf(1);this.destroyed$=new Tf(1)};eK.prototype.ngOnInit=function(){var a=this;this.person$.pipe(Nf(),Zf(this.destroyed$)).subscribe(function(){a.init.next()});this.enableWaldo&&ovc(this)};var ovc=function(a){a.waldoService&&a.person$.pipe(Yf(function(b){return b?Fuc(a.waldoService,b.email):Ae("")}),Zf(a.destroyed$)).subscribe(function(b){a.outOfOfficeDescription$.next(b)})};
da.Object.defineProperties(eK.prototype,{email:{configurable:!0,enumerable:!0,get:function(){return this.emailInternal},set:function(a){this.emailInternal=a;this.providedEmail$.next(a)}}});eK.\u0275fac=function(a){return new (a||eK)(hf(EJ),hf(PJ,8))};
eK.\u0275cmp=C({type:eK,selectors:[["onedev-person-hovercard"]],inputs:{email:"email",enableWaldo:"enableWaldo"},outputs:{init:"init"},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(nvc),D(0,VJa,4,4,"onedev-person-hovercard-body",0),S(1,"async"));a&2&&E("ngIf",U(1,1,b.person$))},dependencies:[mw,cw,ew,GJ,qJ,RJ],encapsulation:2,changeDetection:0});var pvc=[[["onedev-hovercard-action"],["",8,"actions"]]],fK=function(){};fK.prototype.ngOnInit=function(){};fK.\u0275fac=function(a){return new (a||fK)};
fK.\u0275cmp=C({type:fK,selectors:[["b-person-card"]],inputs:{email:"email"},standalone:!1,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(pvc),D(0,WJa,3,3,"onedev-person-hovercard",1))},dependencies:[eK,aI,bI],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 gK=function(){this.isNonObfuscatedEmail=Aj};gK.\u0275fac=function(a){return new (a||gK)};
gK.\u0275cmp=C({type:gK,selectors:[["b-person-hovercard"]],inputs:{email:"email"},standalone:!1,ngContentSelectors:["*"],decls:4,vars:1,consts:[["content",""],["card",""],["role","button","tabindex","0",1,"keep-focus-ring",3,"onedevHovercardTrigger","onedevHovercardActive"],[4,"ngTemplateOutlet"],[3,"email"]],template:function(a,b){a&1&&(Ig(),D(0,YJa,5,4)(1,$Ja,1,1,"ng-container")(2,aKa,1,0,"ng-template",null,0,ih));a&2&&G(b.email&&b.isNonObfuscatedEmail(b.email)?0:1)},dependencies:[dw,$H,fI,fK],
encapsulation:2,changeDetection:0});var qvc=function(){};var iKa=RegExp("{{\\s*(.+?)\\s*}}","g"),jKa=/-+([a-z0-9])/g;var rvc=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(" ")),svc=function(){};Y(svc,qvc);
var nKa=function(a,b,c){var d="",e=b.toString().trim();rvc.has(a)&&b!==0&&b!=="0"&&(typeof b==="number"?d="px":(a=b.match(/^[+-]?[\d\.]+([a-z]*)$/))&&a[1].length==0&&c.push(new bd(3005,!1)));return e+d};var tKa=typeof document==="undefined"?null:document.documentElement;var tvc=function(){};var zKa=new Set(["true","1"]),AKa=new Set(["false","0"]);var BKa=RegExp("s*:selfs*,?","g"),uvc=function(a){this._driver=a};g=uvc.prototype;g.build=function(a,b){b=new vvc(b);this._resetContextStyleTimingState(b);return $p(this,Yp(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 bd(3006,!1));a.definitions.forEach(function(l){c._resetContextStyleTimingState(b);if(l.type==0){var q=l.name;q.toString().split(/\s*,\s*/).forEach(function(u){l.name=u;f.push(c.visitState(l,b))});l.name=q}else l.type==1?(q=c.visitTransition(l,b),d+=q.queryCount,e+=q.depCount,h.push(q)):b.errors.push(new bd(3007,!1))});return{type:7,name:a.name,states:f,transitions:h,queryCount:d,
depCount:e,options:null}};g.visitState=function(a,b){var c=this.visitStyle(a.styles,b),d=a.options&&a.options.params||null;if(c.containsDynamicStyles){var e=new Set,f=d||{};c.styles.forEach(function(h){h instanceof Map&&h.forEach(function(l){gKa(l).forEach(function(q){f.hasOwnProperty(q)||e.add(q)})})});e.size&&b.errors.push(bKa([].concat(t(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=$p(this,Yp(a.animation),b);return{type:1,matchers:yKa(a.expr,b.errors),animation:c,queryCount:b.queryCount,depCount:b.depCount,options:dq(a.options)}};g.visitSequence=function(a,b){var c=this;return{type:2,steps:a.steps.map(function(d){return $p(c,d,b)}),options:dq(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=$p(c,h,b);e=Math.max(e,b.currentTime);return h});b.currentTime=e;return{type:3,steps:f,options:dq(a.options)}};
g.visitAnimate=function(a,b){var c=EKa(a.timings,b.errors);b.currentAnimateTimings=c;var d=a.styles?a.styles:ti({});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=ti(d));b.currentTime+=c.duration+c.delay;var e=this.visitStyle(d,b);e.isEmptyStep=a;a=e}b.currentAnimateTimings=null;return{type:4,timings:c,style:a,options:null}};g.visitStyle=function(a,b){a=this._makeStyleAst(a,b);this._validateStyleAst(a,b);return a};
g._makeStyleAst=function(a,b){for(var c=[],d=k(Array.isArray(a.styles)?a.styles:[a.styles]),e=d.next();!e.done;e=d.next())e=e.value,typeof e==="string"?e==="*"?c.push(e):b.errors.push(new bd(3002,!1)):c.push(new Map(Object.entries(e)));var f=!1,h=null;c.forEach(function(l){if(l instanceof Map&&(l.has("easing")&&(h=l.get("easing"),l.delete("easing")),!f)){l=k(l.values());for(var q=l.next();!q.done;q=l.next())if(q.value.toString().indexOf("{{")>=0){f=!0;break}}});return{type:6,styles:c,easing:h,offset:a.offset,
containsDynamicStyles:f,options:null}};g._validateStyleAst=function(a,b){var c=b.currentAnimateTimings,d=b.currentTime,e=b.currentTime;c&&e>0&&(e-=c.duration+c.delay);a.styles.forEach(function(f){typeof f!=="string"&&f.forEach(function(h,l){var q=b.collectedStyles.get(b.currentQuerySelector),u=q.get(l),A=!0;u&&(e!=d&&e>=u.startTime&&d<=u.endTime&&(b.errors.push(new bd(3010,!1)),A=!1),e=u.startTime);A&&q.set(l,{startTime:e,endTime:d});b.options&&hKa(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 bd(3011,!1)),d;var e=0,f=[],h=!1,l=!1,q=0,u=a.steps.map(function(T){T=c._makeStyleAst(T,b);var ea=T.offset!=null?T.offset:DKa(T.styles),ka=0;ea!=null&&(e++,ka=T.offset=ea);l=l||ka<0||ka>1;h=h||ka<q;q=ka;f.push(ka);return T});l&&b.errors.push(new bd(3012,!1));h&&b.errors.push(new bd(3200,!1));a=a.steps.length;var A=0;e>0&&e<a?b.errors.push(new bd(3202,!1)):e==0&&(A=1/(a-
1));var F=a-1,H=b.currentTime,N=b.currentAnimateTimings,O=N.duration;u.forEach(function(T,ea){ea=A>0?ea==F?1:A*ea:f[ea];var ka=ea*O;b.currentTime=H+N.delay+ka;N.duration=ka;c._validateStyleAst(T,b);T.offset=ea;d.styles.push(T)});return d};g.visitReference=function(a,b){return{type:8,animation:$p(this,Yp(a.animation),b),options:dq(a.options)}};g.visitAnimateChild=function(a,b){b.depCount++;return{type:9,options:dq(a.options)}};
g.visitAnimateRef=function(a,b){return{type:10,animation:this.visitReference(a.animation,b),options:dq(a.options)}};
g.visitQuery=function(a,b){var c=b.currentQuerySelector,d=a.options||{};b.queryCount++;b.currentQuery=a;var e=k(CKa(a.selector)),f=e.next().value;e=e.next().value;b.currentQuerySelector=c.length?c+" "+f:f;cq(b.collectedStyles,b.currentQuerySelector,new Map);var h=$p(this,Yp(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:dq(a.options)}};
g.visitStagger=function(a,b){b.currentQuery||b.errors.push(new bd(3013,!1));var c=a.timings==="full"?{duration:0,delay:0,easing:"full"}:dKa(a.timings,b.errors,!0);return{type:12,animation:$p(this,Yp(a.animation),b),timings:c,options:null}};var vvc=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 hK=function(){this._map=new Map};hK.prototype.get=function(a){return this._map.get(a)||[]};hK.prototype.append=function(a,b){var c=this._map.get(a);c||this._map.set(a,c=[]);c.push.apply(c,t(b))};hK.prototype.has=function(a){return this._map.has(a)};hK.prototype.clear=function(){this._map.clear()};var wvc=RegExp(":enter","g"),xvc=RegExp(":leave","g"),GKa=function(){};g=GKa.prototype;
g.buildKeyframes=function(a,b,c,d,e,f,h,l,q,u){u=u===void 0?[]:u;q=q||new hK;a=new yvc(a,b,q,d,e,u,[]);a.options=l;d=l.delay?Vp(l.delay):0;a.currentTimeline.delayNextStep(d);zvc(a.currentTimeline,[f],null,a.errors,l);$p(this,c,a);c=a.timelines.filter(function(F){return F.containsAnimation()});if(c.length&&h.size){for(f=c.length-1;f>=0;f--)if(e=c[f],e.element===b){var A=e;break}A&&A._currentEmptyStepKeyframe===A._currentKeyframe&&zvc(A,[h],null,a.errors,l)}return c.length?c.map(function(F){return F.buildKeyframes()}):
[FKa(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=iK(b,a.options),e=b.currentTimeline.currentTime;c=this._visitSubInstructions(c,d,d.options);e!=c&&jK(b,c)}b.previousNode=a};
g.visitAnimateRef=function(a,b){var c=iK(b,a.options);jK(c);this._applyAnimationRefDelays([a.options,a.animation.options],b,c);this.visitReference(a.animation,c);jK(b,c.currentTimeline.currentTime);b.previousNode=a};g._applyAnimationRefDelays=function(a,b,c){a=k(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=void 0,f=(e=d)==null?void 0:e.delay;if(f){var h=e=void 0;d=typeof f==="number"?f:Vp(Zp(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?Vp(c.duration):null,f=c.delay!=null?Vp(c.delay):null;e!==0&&a.forEach(function(h){var l={duration:e!=null?e:h.duration,delay:b.currentTimeline.currentTime+(f!=null?f:0)+h.delay,easing:""};h=new Avc(b._driver,h.element,h.keyframes,h.preStyleProps,h.postStyleProps,l,h.stretchStartingKeyframe);b.timelines.push(h);d=Math.max(d,l.duration+l.delay)});return d};
g.visitReference=function(a,b){Bvc(b,a.options,!0);$p(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=iK(b,f),jK(e),f.delay!=null&&(e.previousNode.type==6&&(Cvc(e.currentTimeline),e.previousNode=Dvc),e.delayNextStep(Vp(f.delay))));a.steps.length&&(a.steps.forEach(function(h){return $p(c,h,e)}),kK(e.currentTimeline),e.subContextCount>d&&jK(e));b.previousNode=a};
g.visitGroup=function(a,b){var c=this,d=[],e=b.currentTimeline.currentTime,f=a.options&&a.options.delay?Vp(a.options.delay):0;a.steps.forEach(function(h){var l=iK(b,a.options);f&&l.delayNextStep(f);$p(c,h,l);e=Math.max(e,l.currentTimeline.currentTime);d.push(l.currentTimeline)});d.forEach(function(h){return Evc(b.currentTimeline,h)});jK(b,e);b.previousNode=a};
g._visitTiming=function(a,b){return a.dynamic?(a=a.strValue,a=b.params?Zp(a,b.params,b.errors):a,dKa(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&&(Fvc(b.currentTimeline,b.currentTimeline.duration+c.delay),Cvc(d));var e=a.style;e.type==5?this.visitKeyframes(e,b):(Fvc(b.currentTimeline,b.currentTimeline.duration+c.duration),this.visitStyle(e,b),kK(d));b.currentAnimateTimings=null;b.previousNode=a};
g.visitStyle=function(a,b){var c=b.currentTimeline,d=b.currentAnimateTimings;!d&&c._currentKeyframe.size>0&&(c.duration+=1,c._loadKeyframe());d=d&&d.easing||a.easing;if(a.isEmptyStep){d&&c._previousKeyframe.set("easing",d);d=k(c._globalTimelineStyles);for(var e=d.next();!e.done;e=d.next()){var f=k(e.value);e=f.next().value;f=f.next().value;c._backFill.set(e,f||"*");c._currentKeyframe.set(e,"*")}c._currentEmptyStepKeyframe=c._currentKeyframe}else zvc(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=iK(b).currentTimeline;f.easing=c.easing;a.styles.forEach(function(h){Fvc(f,(h.offset||0)*e);zvc(f,h.styles,h.easing,b.errors,b.options);kK(f)});Evc(b.currentTimeline,f);jK(b,d+e);b.previousNode=a};
g.visitQuery=function(a,b){var c=this,d=b.currentTimeline.currentTime,e=a.options||{},f=e.delay?Vp(e.delay):0;f&&(b.previousNode.type===6||d==0&&b.currentTimeline._currentKeyframe.size>0)&&(Cvc(b.currentTimeline),b.previousNode=Dvc);var h=d;d=Gvc(b,a.selector,a.limit,a.includeSelf,e.optional?!0:!1,b.errors);b.currentQueryTotal=d.length;var l=null;d.forEach(function(q,u){b.currentQueryIndex=u;u=iK(b,a.options,q);f&&u.delayNextStep(f);q===b.element&&(l=u.currentTimeline);$p(c,a.animation,u);kK(u.currentTimeline);
h=Math.max(h,u.currentTimeline.currentTime)});b.currentQueryIndex=0;b.currentQueryTotal=0;jK(b,h);l&&(Evc(b.currentTimeline,l),Cvc(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;$p(this,a.animation,b);b.previousNode=a;c.currentStaggerTime=d.currentTime-e+(d.startTime-c.currentTimeline.startTime)};
var Dvc={},yvc=function(a,b,c,d,e,f,h,l){this._driver=a;this.element=b;this.subInstructions=c;this._enterClassName=d;this._leaveClassName=e;this.errors=f;this.timelines=h;this.currentAnimateTimings=this.parentContext=null;this.previousNode=Dvc;this.subContextCount=0;this.options={};this.currentStaggerTime=this.currentQueryTotal=this.currentQueryIndex=0;this.currentTimeline=l||new lK(this._driver,b,0);h.push(this.currentTimeline)},Bvc=function(a,b,c){if(b){var d=a.options;b.duration!=null&&(d.duration=
Vp(b.duration));b.delay!=null&&(d.delay=Vp(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]=Zp(e[h],f,a.errors))})}}};yvc.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 iK=function(a,b,c){b=b===void 0?null:b;c=c||a.element;c=new yvc(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();Bvc(c,b);c.currentQueryIndex=a.currentQueryIndex;c.currentQueryTotal=a.currentQueryTotal;c.parentContext=a;a.subContextCount++;return c},jK=function(a,b){a.previousNode=Dvc;a.currentTimeline=a.currentTimeline.fork(a.element,
b);a.timelines.push(a.currentTimeline)};yvc.prototype.delayNextStep=function(a){a>0&&this.currentTimeline.delayNextStep(a)};var Gvc=function(a,b,c,d,e,f){var h=[];d&&h.push(a.element);b.length>0&&(b=b.replace(wvc,"."+a._enterClassName),b=b.replace(xvc,"."+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,t(a)));e||h.length!=0||f.push(new bd(3014,!1));return h};
da.Object.defineProperties(yvc.prototype,{params:{configurable:!0,enumerable:!0,get:function(){return this.options.params}}});
var lK=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()};lK.prototype.containsAnimation=function(){switch(this._keyframes.size){case 0:return!1;case 1:return this._currentKeyframe.size>0;default:return!0}};lK.prototype.delayNextStep=function(a){var b=this._keyframes.size===1&&this._pendingStyles.size;this.duration||b?(Fvc(this,this.currentTime+a),b&&Cvc(this)):this.startTime+=a};
lK.prototype.fork=function(a,b){kK(this);return new lK(this._driver,a,b||this.currentTime,this._elementTimelineStylesLookup)};lK.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 Fvc=function(a,b){kK(a);a.duration=b;a._loadKeyframe()};
lK.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 zvc=function(a,b,c,d,e){c&&a._previousKeyframe.set("easing",c);c=e&&e.params||{};b=IKa(b,a._globalTimelineStyles);b=k(b);for(e=b.next();!e.done;e=b.next()){var f=k(e.value);e=f.next().value;f=f.next().value;f=Zp(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)}},kK=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)}))},Cvc=function(a){for(var b=k(a._localTimelineStyles),c=b.next();!c.done;c=b.next()){var d=k(c.value);c=d.next().value;d=d.next().value;a._pendingStyles.set(c,d);a._updateStyle(c,d)}},Evc=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)})};
lK.prototype.buildKeyframes=function(){var a=this;kK(this);var b=new Set,c=new Set,d=this._keyframes.size===1&&this.duration===0,e=[];this._keyframes.forEach(function(u,A){u=new Map([].concat(t(a._backFill),t(u)));u.forEach(function(F,H){F==="!"?b.add(H):F==="*"&&c.add(H)});d||u.set("offset",A/a.duration);e.push(u)});var f=[].concat(t(b.values())),h=[].concat(t(c.values()));if(d){var l=e[0],q=new Map(l);l.set("offset",0);q.set("offset",1);e=[l,q]}return FKa(this.element,e,f,h,this.duration,this.startTime,
this.easing,!1)};da.Object.defineProperties(lK.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 Avc=function(a,b,c,d,e,f,h){h=h===void 0?!1:h;lK.call(this,a,b,f.delay);this.keyframes=c;this.preStyleProps=d;this.postStyleProps=e;this._stretchStartingKeyframe=h;this.timings={duration:f.duration,delay:f.delay,easing:f.easing}};
Y(Avc,lK);Avc.prototype.containsAnimation=function(){return this.keyframes.length>1};
Avc.prototype.buildKeyframes=function(){var a=this.keyframes,b=this.timings,c=b.delay,d=b.duration,e=b.easing;if(this._stretchStartingKeyframe&&c){b=[];e=d+c;var f=c/e,h=new Map(a[0]);h.set("offset",0);b.push(h);h=new Map(a[0]);h.set("offset",Math.round(f*100)/100);b.push(h);f=a.length-1;for(h=1;h<=f;h++){var l=new Map(a[h]),q=l.get("offset");l.set("offset",Math.round((c+q*d)/e*100)/100);b.push(l)}d=e;c=0;e="";a=b}return FKa(this.element,a,this.preStyleProps,this.postStyleProps,d,c,e,!0)};var Hvc={},eq=function(a,b,c){this._triggerName=a;this.ast=b;this._stateStyles=c};eq.prototype.match=function(a,b,c,d){return KKa(this.ast.matchers,a,b,c,d)};eq.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};
eq.prototype.build=function(a,b,c,d,e,f,h,l,q,u){var A=[],F=this.ast.options&&this.ast.options.params||Hvc;h=this.buildStyles(c,h&&h.params||Hvc,A);var H=l&&l.params||Hvc;l=this.buildStyles(d,H,A);var N=new Set,O=new Map,T=new Map,ea=d==="void",ka;F={params:LKa(H,F),delay:(ka=this.ast.options)==null?void 0:ka.delay};a=u?[]:HKa(a,b,this.ast.animation,e,f,h,l,F,q,A);var oa=0;a.forEach(function(La){oa=Math.max(La.duration+La.delay,oa)});if(A.length)return JKa(b,this._triggerName,c,d,ea,h,l,[],[],O,T,
oa,A);a.forEach(function(La){var Ua=La.element,Pa=cq(O,Ua,new Set);La.preStyleProps.forEach(function(qa){return Pa.add(qa)});var lb=cq(T,Ua,new Set);La.postStyleProps.forEach(function(qa){return lb.add(qa)});Ua!==b&&N.add(Ua)});return JKa(b,this._triggerName,c,d,ea,h,l,a,[].concat(t(N.values())),O,T,oa)};var Ivc=function(a,b){this.styles=a;this.defaultParams=b};
Ivc.prototype.buildStyles=function(a,b){var c=new Map,d=LKa(a,this.defaultParams);this.styles.styles.forEach(function(e){typeof e!=="string"&&e.forEach(function(f,h){f&&(f=Zp(f,d,b));var l=fKa(h);f=nKa(l,f,b);c.set(h,f)})});return c};var Jvc=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 Ivc(e.style,e.options&&e.options.params||{}))});NKa(this.states,"true","1");NKa(this.states,"false","0");b.transitions.forEach(function(e){d.transitionFactories.push(new eq(a,e,d.states))});this.fallbackTransition=MKa(a,this.states)},Kvc=function(a,b,c,d,e){return a.transitionFactories.find(function(f){return f.match(b,c,
d,e)})||null};var Lvc=new hK,Mvc=function(a,b,c){this.bodyNode=a;this._driver=b;this._normalizer=c;this._animations=new Map;this._playersById=new Map;this.players=[]};g=Mvc.prototype;g.register=function(a,b){var c=[];b=(new uvc(this._driver)).build(b,c,[]);if(c.length)throw new bd(3503,!1);this._animations.set(a,b)};g._buildPlayer=function(a,b,c){var d=a.element;b=oKa(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=HKa(this._driver,b,f,"ng-enter","ng-leave",new Map,new Map,c,Lvc,e),b.forEach(function(l){var q=cq(h,l.element,new Map);l.postStyleProps.forEach(function(u){return q.set(u,null)})})):(e.push(new bd(3300,!1)),b=[]);if(e.length)throw new bd(3504,!1);h.forEach(function(l,q){l.forEach(function(u,A){l.set(A,kKa(q,A))})});e=b.map(function(l){var q=h.get(l.element);return d._buildPlayer(l,new Map,q)});
e=bq(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 bd(3301,!1);return a};g.listen=function(a,b,c,d){b=rKa(b,"","","");qKa(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 Nvc=[],Ovc={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},QKa={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Pvc=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={})},Qvc=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(Pvc.prototype,{params:{configurable:!0,enumerable:!0,get:function(){return this.options.params}}});var Rvc=new Pvc("void"),mK=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;fq(b,this._hostClassName)};g=mK.prototype;
g.listen=function(a,b,c,d){var e=this;if(!this._triggers.has(b))throw new bd(3302,!1);if(c==null||c.length==0)throw new bd(3303,!1);if(c!="start"&&c!="done")throw new bd(3400,!1);var f=cq(this._elementListeners,a,[]),h={name:b,phase:c,callback:d};f.push(h);var l=cq(this._engine.statesByElement,a,new Map);l.has(b)||(fq(a,"ng-trigger"),fq(a,"ng-trigger-"+b),l.set(b,Rvc));return function(){Svc(e._engine,function(){var q=f.indexOf(h);q>=0&&f.splice(q,1);e._triggers.has(b)||l.delete(b)})}};
g.register=function(a,b){if(this._triggers.has(a))return!1;this._triggers.set(a,b);return!0};g._getTrigger=function(a){a=this._triggers.get(a);if(!a)throw new bd(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 Tvc(this.id,b,a),l=this._engine.statesByElement.get(a);l||(fq(a,"ng-trigger"),fq(a,"ng-trigger-"+b),this._engine.statesByElement.set(a,l=new Map));var q=l.get(b),u=new Pvc(c,this.id);c&&c.hasOwnProperty("value")||!q||Qvc(u,q.options);l.set(b,u);q||(q=Rvc);if(u.value!=="void"&&q.value===u.value){if(!WKa(q.params,u.params)){d=[];var A=f.fallbackTransition.buildStyles(q.value,q.params,d),F=f.fallbackTransition.buildStyles(u.value,
u.params,d);d.length?this._engine.reportError(d):Svc(this._engine,function(){Xp(a,A);Wp(a,F)})}}else{c=cq(this._engine.playersByElement,a,[]);c.forEach(function(N){N.namespaceId==e.id&&N.triggerName==b&&N.queued&&N.destroy()});l=Kvc(f,q.value,u.value,a,u.params);var H=!1;if(!l){if(!d)return;l=f.fallbackTransition;H=!0}this._engine.totalQueuedPlayers++;this._queue.push({element:a,triggerName:b,transition:l,fromState:q,toState:u,player:h,isFallbackTransition:H});H||(fq(a,"ng-animate-queued"),h.onStart(function(){gq(a,
"ng-animate-queued")}));h.onDone(function(){var N=e.players.indexOf(h);N>=0&&e.players.splice(N,1);if(N=e._engine.playersByElement.get(a)){var O=N.indexOf(h);O>=0&&N.splice(O,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 Uvc=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))};
mK.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=Vvc(c._engine,e);f.size?f.forEach(function(h){return Wvc(h,e,b,!1,!0)}):Uvc(c,e)}});this._engine.afterFlushAnimationsDone(function(){return d.forEach(function(e){return Uvc(c,e)})})};
var Wvc=function(a,b,c,d,e){var f=a._engine.statesByElement.get(b),h=new Map;if(f){var l=[];f.forEach(function(q,u){h.set(u,q.value);a._triggers.has(u)&&(q=a.trigger(b,u,"void",e))&&l.push(q)});if(l.length){Xvc(a._engine,a.id,b,!0,c,h);if(d)bq(l).onDone(function(){return hq(a._engine,b)});return!0}}return!1},Yvc=function(a,b){var c=a._elementListeners.get(b),d=a._engine.statesByElement.get(b);if(c&&d){var e=new Set;c.forEach(function(f){f=f.name;if(!e.has(f)){e.add(f);var h=a._triggers.get(f).fallbackTransition,
l=d.get(f)||Rvc,q=new Pvc("void"),u=new Tvc(a.id,f,b);a._engine.totalQueuedPlayers++;a._queue.push({element:b,triggerName:f,transition:h,fromState:l,toState:q,player:u,isFallbackTransition:!0})}})}};
mK.prototype.removeNode=function(a,b){var c=this,d=this._engine;a.childElementCount&&this._signalRemovalForInnerTriggers(a,b);if(!Wvc(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}}Yvc(this,a);e?Xvc(d,this.id,a,!1,b):(e=a.__ng_removed,e&&e!==Ovc||(Svc(d,function(){return Uvc(c,a)}),Zvc(d,a),d._onRemovalComplete(a,b)))}};
mK.prototype.insertNode=function(a){fq(a,this._hostClassName)};
var $vc=function(a,b){var c=[];a._queue.forEach(function(d){var e=d.player;if(!e.destroyed){var f=d.element,h=a._elementListeners.get(f);h&&h.forEach(function(l){if(l.name==d.triggerName){var q=rKa(f,d.triggerName,d.fromState.value,d.toState.value);q._data=b;qKa(d.player,l.phase,q,l.callback)}});e.markedForDestroy?Svc(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:vKa(d.element,
e.element)?1:-1})};mK.prototype.destroy=function(a){this.players.forEach(function(b){return b.destroy()});this._signalRemovalForInnerTriggers(this.hostElement,a)};
var nK=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=nK.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 mK(a,b,this),this.bodyNode&&vKa(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&&(Svc(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 Vvc=function(a,b){var c=new Set;if(b=a.statesByElement.get(b)){b=k(b.values());for(var d=b.next();!d.done;d=b.next())d=d.value,d.namespaceId&&(d=a._fetchNamespace(d.namespaceId))&&c.add(d)}return c};nK.prototype.trigger=function(a,b,c,d){return OKa(b)&&(a=this._fetchNamespace(a))?(a.trigger(b,c,d),!0):!1};
nK.prototype.insertNode=function(a,b,c,d){if(OKa(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 awc=function(a,b,c){c?a.disabledNodes.has(b)||(a.disabledNodes.add(b),fq(b,"ng-animate-disabled")):a.disabledNodes.has(b)&&(a.disabledNodes.delete(b),gq(b,"ng-animate-disabled"))};
nK.prototype.removeNode=function(a,b,c){if(OKa(b)){var d=a?this._fetchNamespace(a):null;d?d.removeNode(b,c):Xvc(this,a,b,!1,c);(d=this.namespacesByHostElement.get(b))&&d.id!==a&&d.removeNode(b,c)}else this._onRemovalComplete(b,c)};var Xvc=function(a,b,c,d,e,f){a.collectedLeaveElements.push(c);c.__ng_removed={namespaceId:b,setForRemoval:e,hasAnimation:d,removedBeforeQueried:!1,previousTriggersValues:f}};nK.prototype.listen=function(a,b,c,d,e){return OKa(b)?this._fetchNamespace(a).listen(b,c,d,e):function(){}};
nK.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 Zvc=function(a,b){var c=a.driver.query(b,".ng-trigger",!0);c.forEach(function(d){return bwc(a,d)});a.playersByQueriedElement.size!=0&&(c=a.driver.query(b,".ng-animating",!0),c.forEach(function(d){return cwc(a,d)}))},bwc=function(a,b){(a=a.playersByElement.get(b))&&a.forEach(function(c){c.queued?c.markedForDestroy=!0:c.destroy()})},cwc=function(a,b){(a=a.playersByQueriedElement.get(b))&&a.forEach(function(c){return c.finish()})},hq=function(a,b){var c=b.__ng_removed;if(c&&c.setForRemoval){b.__ng_removed=
Ovc;if(c.namespaceId){Zvc(a,b);var d=a._fetchNamespace(c.namespaceId);d&&Uvc(d,b)}a._onRemovalComplete(b,c.setForRemoval)}var e;((e=b.classList)==null?0:e.contains("ng-animate-disabled"))&&awc(a,b,!1);a.driver.query(b,".ng-animate-disabled",!0).forEach(function(f){awc(a,f,!1)})};
nK.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++)fq(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++)hq(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)bq(c).onDone(function(){e.forEach(function(f){return f()})});else e.forEach(function(f){return f()})}};
nK.prototype.reportError=function(){throw new bd(3402,!1);};
nK.prototype._flushAnimations=function(a,b){var c=this,d=new hK,e=[],f=new Map,h=[],l=new Map,q=new Map,u=new Map,A=new Set;this.disabledNodes.forEach(function(Sa){A.add(Sa);Sa=c.driver.query(Sa,".ng-animate-queued",!0);for(var Zb=0;Zb<Sa.length;Zb++)A.add(Sa[Zb])});var F=this.bodyNode,H=Array.from(this.statesByElement.keys()),N=SKa(H,this.collectedEnterElements),O=new Map,T=0;N.forEach(function(Sa,Zb){var nc="ng-enter"+T++;O.set(Zb,nc);Sa.forEach(function(hd){return fq(hd,nc)})});for(var ea=[],ka=
new Set,oa=new Set,La=0;La<this.collectedLeaveElements.length;La++){var Ua=this.collectedLeaveElements[La],Pa=Ua.__ng_removed;Pa&&Pa.setForRemoval&&(ea.push(Ua),ka.add(Ua),Pa.hasAnimation?this.driver.query(Ua,".ng-star-inserted",!0).forEach(function(Sa){return ka.add(Sa)}):oa.add(Ua))}var lb=new Map,qa=SKa(H,Array.from(ka));qa.forEach(function(Sa,Zb){var nc="ng-leave"+T++;lb.set(Zb,nc);Sa.forEach(function(hd){return fq(hd,nc)})});a.push(function(){N.forEach(function(Sa,Zb){var nc=O.get(Zb);Sa.forEach(function(hd){return gq(hd,
nc)})});qa.forEach(function(Sa,Zb){var nc=lb.get(Zb);Sa.forEach(function(hd){return gq(hd,nc)})});ea.forEach(function(Sa){hq(c,Sa)})});var Ga=[],Ha=[];for(a=this._namespaceList.length-1;a>=0;a--)$vc(this._namespaceList[a],b).forEach(function(Sa){var Zb=Sa.player,nc=Sa.element;Ga.push(Zb);if(c.collectedEnterElements.length){var hd=nc.__ng_removed;if(hd&&hd.setForMove){if(hd.previousTriggersValues&&hd.previousTriggersValues.has(Sa.triggerName)){hd=hd.previousTriggersValues.get(Sa.triggerName);var Bb=
c.statesByElement.get(Sa.element);if(Bb&&Bb.has(Sa.triggerName)){var vc=Bb.get(Sa.triggerName);vc.value=hd;Bb.set(Sa.triggerName,vc)}}Zb.destroy();return}}hd=!F||!vKa(F,nc);Bb=lb.get(nc);vc=O.get(nc);var xc=c._buildInstruction(Sa,d,vc,Bb,hd);if(xc.errors&&xc.errors.length)Ha.push(xc);else if(hd)Zb.onStart(function(){return Xp(nc,xc.fromStyles)}),Zb.onDestroy(function(){return Wp(nc,xc.toStyles)}),e.push(Zb);else if(Sa.isFallbackTransition)Zb.onStart(function(){return Xp(nc,xc.fromStyles)}),Zb.onDestroy(function(){return Wp(nc,
xc.toStyles)}),e.push(Zb);else{var Ld=[];xc.timelines.forEach(function(ud){ud.stretchStartingKeyframe=!0;c.disabledNodes.has(ud.element)||Ld.push(ud)});xc.timelines=Ld;d.append(nc,xc.timelines);h.push({instruction:xc,player:Zb,element:nc});xc.queriedElements.forEach(function(ud){return cq(l,ud,[]).push(Zb)});xc.preStyleProps.forEach(function(ud,tf){if(ud.size){var Ih=q.get(tf);Ih||q.set(tf,Ih=new Set);ud.forEach(function(sh,sq){return Ih.add(sq)})}});xc.postStyleProps.forEach(function(ud,tf){var Ih=
u.get(tf);Ih||u.set(tf,Ih=new Set);ud.forEach(function(sh,sq){return Ih.add(sq)})})}});if(Ha.length){var Ab=[];Ha.forEach(function(){Ab.push(new bd(3505,!1))});Ga.forEach(function(Sa){return Sa.destroy()});this.reportError(Ab)}var vb=new Map,fc=new Map;h.forEach(function(Sa){var Zb=Sa.element;d.has(Zb)&&(fc.set(Zb,Zb),c._beforeAnimationBuild(Sa.player.namespaceId,Sa.instruction,vb))});e.forEach(function(Sa){var Zb=Sa.element;c._getPreviousPlayers(Zb,!1,Sa.namespaceId,Sa.triggerName,null).forEach(function(nc){cq(vb,
Zb,[]).push(nc);nc.destroy()})});var hc=ea.filter(function(Sa){return XKa(Sa,q,u)}),tc=new Map;RKa(tc,oa,u).forEach(function(Sa){XKa(Sa,q,u)&&hc.push(Sa)});var bc=new Map;N.forEach(function(Sa){RKa(bc,new Set(Sa),q)});hc.forEach(function(Sa){var Zb=tc.get(Sa),nc=bc.get(Sa),hd,Bb;tc.set(Sa,new Map([].concat(t((hd=Zb==null?void 0:Zb.entries())!=null?hd:[]),t((Bb=nc==null?void 0:nc.entries())!=null?Bb:[]))))});var De=[],mb=[],Fb={};h.forEach(function(Sa){var Zb=Sa.element,nc=Sa.player,hd=Sa.instruction;
if(d.has(Zb))if(A.has(Zb))nc.onDestroy(function(){return Wp(Zb,hd.toStyles)}),nc.disabled=!0,nc.totalTime=hd.totalTime,e.push(nc);else{var Bb=Fb;if(fc.size>1){Sa=Zb;for(var vc=[];Sa=Sa.parentNode;){var xc=fc.get(Sa);if(xc){Bb=xc;break}vc.push(Sa)}vc.forEach(function(Ld){return fc.set(Ld,Bb)})}Sa=c._buildAnimation(nc.namespaceId,hd,vb,f,bc,tc);dwc(nc,Sa);Bb===Fb?De.push(nc):((Sa=c.playersByElement.get(Bb))&&Sa.length&&(nc.parentPlayer=bq(Sa)),e.push(nc))}else Xp(Zb,hd.fromStyles),nc.onDestroy(function(){return Wp(Zb,
hd.toStyles)}),mb.push(nc),A.has(Zb)&&e.push(nc)});mb.forEach(function(Sa){var Zb=f.get(Sa.element);Zb&&Zb.length&&(Zb=bq(Zb),dwc(Sa,Zb))});e.forEach(function(Sa){Sa.parentPlayer?ewc(Sa,Sa.parentPlayer):Sa.destroy()});for(b=0;b<ea.length;b++)if(oa=ea[b],a=oa.__ng_removed,gq(oa,"ng-leave"),!a||!a.hasAnimation){a=[];if(l.size)for((H=l.get(oa))&&H.length&&a.push.apply(a,t(H)),H=this.driver.query(oa,".ng-animating",!0),La=0;La<H.length;La++)(Ua=l.get(H[La]))&&Ua.length&&a.push.apply(a,t(Ua));a=a.filter(function(Sa){return!Sa.destroyed});
a.length?TKa(this,oa,a):hq(this,oa)}ea.length=0;De.forEach(function(Sa){c.players.push(Sa);Sa.onDone(function(){Sa.destroy();var Zb=c.players.indexOf(Sa);c.players.splice(Zb,1)});Sa.play()});return De};var Svc=function(a,b){a._flushFns.push(b)};g=nK.prototype;g.afterFlushAnimationsDone=function(a){this._whenQuietFns.push(a)};
g._getPreviousPlayers=function(a,b,c,d,e){var f=[];if(b)(e=this.playersByQueriedElement.get(a))&&(f=e);else if(a=this.playersByElement.get(a)){var h=!e||e=="void";a.forEach(function(l){l.queued||(h||l.triggerName==d)&&f.push(l)})}if(c||d)f=f.filter(function(l){return c&&c!=l.namespaceId||d&&d!=l.triggerName?!1:!0});return f};
g._beforeAnimationBuild=function(a,b,c){var d=b.triggerName,e=b.element;a=b.isRemovalTransition?void 0:a;d=b.isRemovalTransition?void 0:d;for(var f=k(b.timelines),h=f.next(),l={};!h.done;l={players$jscomp$10:void 0},h=f.next()){h=h.value.element;var q=h!==e;l.players$jscomp$10=cq(c,h,[]);this._getPreviousPlayers(h,q,a,d,b.toState).forEach(function(u){return function(A){var F=A._player;F.beforeDestroy&&F.beforeDestroy();A.destroy();u.players$jscomp$10.push(A)}}(l))}Xp(e,b.fromStyles)};
g._buildAnimation=function(a,b,c,d,e,f){var h=this,l=b.triggerName,q=b.element,u=[],A=new Set,F=new Set,H=b.timelines.map(function(O){var T=O.element;A.add(T);var ea=T.__ng_removed;if(ea&&ea.removedBeforeQueried)return new aq(O.duration,O.delay);ea=T!==q;var ka=VKa((c.get(T)||Nvc).map(function(Ua){return Ua._player})).filter(function(Ua){return Ua.element?Ua.element===T:!1}),oa=e.get(T),La=f.get(T);oa=oKa(O.keyframes,oa,La);ka=h._buildPlayer(O,oa,ka);O.subTimeline&&d&&F.add(T);ea&&(O=new Tvc(a,l,
T),dwc(O,ka),u.push(O));return ka});u.forEach(function(O){cq(h.playersByQueriedElement,O.element,[]).push(O);O.onDone(function(){var T=h.playersByQueriedElement,ea=O.element,ka=T.get(ea);if(ka){if(ka.length){var oa=ka.indexOf(O);ka.splice(oa,1)}ka.length==0&&T.delete(ea)}return ka})});A.forEach(function(O){return fq(O,"ng-animating")});var N=bq(H);N.onDestroy(function(){A.forEach(function(O){return gq(O,"ng-animating")});Wp(q,b.toStyles)});F.forEach(function(O){cq(d,O,[]).push(N)});return N};
g._buildPlayer=function(a,b,c){return b.length>0?this.driver.animate(a.element,b,a.duration,a.delay,a.easing,c):new aq(a.duration,a.delay)};
var Tvc=function(a,b,c){this.namespaceId=a;this.triggerName=b;this.element=c;this._player=new aq;this._containsRealPlayer=!1;this._queuedCallbacks=new Map;this.destroyed=!1;this.parentPlayer=null;this.disabled=this.markedForDestroy=!1;this.queued=!0;this.totalTime=0},dwc=function(a,b){a._containsRealPlayer||(a._player=b,a._queuedCallbacks.forEach(function(c,d){c.forEach(function(e){return qKa(b,d,void 0,e)})}),a._queuedCallbacks.clear(),a._containsRealPlayer=!0,a.totalTime=b.totalTime,a.queued=!1)},
ewc=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=Tvc.prototype;g._queueEvent=function(a,b){cq(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 oK=function(a,b,c){var d=this;this._driver=b;this._normalizer=c;this._triggerCache={};this.onRemovalComplete=function(){};this._transitionEngine=new nK(a.body,b,c);this._timelineEngine=new Mvc(a.body,b,c);this._transitionEngine.onRemovalComplete=function(e,f){return d.onRemovalComplete(e,f)}};g=oK.prototype;
g.registerTrigger=function(a,b,c,d,e){a=a+"-"+d;c=this._triggerCache[a];if(!c){c=[];e=(new uvc(this._driver)).build(e,c,[]);if(c.length)throw new bd(3404,!1);c=new Jvc(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){awc(this._transitionEngine,a,b)};
g.process=function(a,b,c,d){c.charAt(0)=="@"?(c=k(sKa(c)),a=c.next().value,c=c.next().value,this._timelineEngine.command(a,b,c,d)):this._transitionEngine.trigger(a,b,c,d)};g.listen=function(a,b,c,d,e){return c.charAt(0)=="@"?(c=k(sKa(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(oK.prototype,{players:{configurable:!0,enumerable:!0,get:function(){return[].concat(t(this._transitionEngine.players),t(this._timelineEngine.players))}}});var ZKa=function(a,b,c){this._element=a;this._startStyles=b;this._endStyles=c;this._state=0;var d=fwc.get(a);d||fwc.set(a,d=new Map);this._initialStyles=d};ZKa.prototype.start=function(){this._state<1&&(this._startStyles&&Wp(this._element,this._startStyles,this._initialStyles),this._state=1)};ZKa.prototype.finish=function(){this.start();this._state<2&&(Wp(this._element,this._initialStyles),this._endStyles&&(Wp(this._element,this._endStyles),this._endStyles=null),this._state=1)};
ZKa.prototype.destroy=function(){this.finish();this._state<3&&(fwc.delete(this._element),this._startStyles&&(Xp(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Xp(this._element,this._endStyles),this._endStyles=null),Wp(this._element,this._initialStyles),this._state=3)};var fwc=new WeakMap;var gwc=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=gwc.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:kKa(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(gwc.prototype,{totalTime:{configurable:!0,enumerable:!0,get:function(){return this._delay+this._duration}}});var hwc=function(){};hwc.prototype.getParentElement=function(a){return uKa(a)};hwc.prototype.query=function(a,b,c){a=c?Array.from(a.querySelectorAll(b)):(a=a.querySelector(b))?[a]:[];return a};
hwc.prototype.animate=function(a,b,c,d,e,f){f=f===void 0?[]:f;var h={duration:c,delay:d,fill:d==0?"both":"forwards"};e&&(h.easing=e);var l=new Map;e=f.filter(function(u){return u instanceof gwc});c!==0&&d!==0||e.forEach(function(u){u.currentSnapshot.forEach(function(A,F){return l.set(F,A)})});var q=eKa(b).map(function(u){return new Map(u)});q=lKa(a,q,l);b=$Ka(a,q);return new gwc(a,q,h,b)};var iwc=function(a,b,c,d){this.namespaceId=a;this.delegate=b;this.engine=c;this._onDestroy=d};g=iwc.prototype;g.destroyNode=function(a){var b,c;(c=(b=this.delegate).destroyNode)==null||c.call(b,a)};g.destroy=function(){var a=this;this.engine.destroy(this.namespaceId,this.delegate);this.engine.afterFlushAnimationsDone(function(){queueMicrotask(function(){a.delegate.destroy()})});var b;(b=this._onDestroy)==null||b.call(this)};g.createElement=function(a,b){return this.delegate.createElement(a,b)};
g.createComment=function(a){return this.delegate.createComment(a)};g.createText=function(a){return this.delegate.createText(a)};g.appendChild=function(a,b){this.delegate.appendChild(a,b);this.engine._transitionEngine.insertNode(this.namespaceId,b,a,!1)};g.insertBefore=function(a,b,c,d){d=d===void 0?!0:d;this.delegate.insertBefore(a,b,c);this.engine._transitionEngine.insertNode(this.namespaceId,b,a,d)};
g.removeChild=function(a,b){this.parentNode(b)&&this.engine._transitionEngine.removeNode(this.namespaceId,b,this.delegate)};g.selectRootElement=function(a,b){return this.delegate.selectRootElement(a,b)};g.parentNode=function(a){return this.delegate.parentNode(a)};g.nextSibling=function(a){return this.delegate.nextSibling(a)};g.setAttribute=function(a,b,c,d){this.delegate.setAttribute(a,b,c,d)};g.removeAttribute=function(a,b,c){this.delegate.removeAttribute(a,b,c)};
g.addClass=function(a,b){this.delegate.addClass(a,b)};g.removeClass=function(a,b){this.delegate.removeClass(a,b)};g.setStyle=function(a,b,c,d){this.delegate.setStyle(a,b,c,d)};g.removeStyle=function(a,b,c){this.delegate.removeStyle(a,b,c)};g.setProperty=function(a,b,c){b.charAt(0)=="@"&&b=="@.disabled"?this.disableAnimations(a,!!c):this.delegate.setProperty(a,b,c)};g.setValue=function(a,b){this.delegate.setValue(a,b)};g.listen=function(a,b,c,d){return this.delegate.listen(a,b,c,d)};
g.disableAnimations=function(a,b){this.engine.disableAnimations(a,b)};da.Object.defineProperties(iwc.prototype,{data:{configurable:!0,enumerable:!0,get:function(){return this.delegate.data}}});var jwc=function(a,b,c,d,e){iwc.call(this,b,c,d,e);this.factory=a;this.namespaceId=b};Y(jwc,iwc);
jwc.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)};
jwc.prototype.listen=function(a,b,c,d){var e=this;return b.charAt(0)=="@"?(a=aLa(a),b=b.slice(1),d="",b.charAt(0)!="@"&&(d=k(bLa(b)),b=d.next().value,d=d.next().value),this.engine.listen(this.namespaceId,a,b,d,function(f){kwc(e.factory,f._data||-1,c,f)})):this.delegate.listen(a,b,c,d)};var lwc=function(a,b,c){this.delegate=a;this.engine=b;this._zone=c;this._currentId=0;this._microtaskId=1;this._animationCallbacksBuffer=[];this._rendererCache=new Map;this._cdRecurDepth=0;b.onRemovalComplete=function(d,e){e==null||e.removeChild(null,d)}};
lwc.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 iwc("",d,this.engine,function(){return f.delete(d)}),f.set(d,b));return b}var h=b.id,l=b.id+"-"+this._currentId;this._currentId++;this.engine.register(l,a);var q=function(u){Array.isArray(u)?u.forEach(q):c.engine.registerTrigger(h,l,a,u.name,u)};b.data.animation.forEach(q);return new jwc(this,l,d,this.engine)};
lwc.prototype.begin=function(){this._cdRecurDepth++;this.delegate.begin&&this.delegate.begin()};lwc.prototype._scheduleCountTask=function(){var a=this;queueMicrotask(function(){a._microtaskId++})};
var kwc=function(a,b,c,d){if(b>=0&&b<a._microtaskId)a._zone.run(function(){return c(d)});else{var e=a._animationCallbacksBuffer;e.length==0&&queueMicrotask(function(){a._zone.run(function(){e.forEach(function(f){var h=k(f);f=h.next().value;h=h.next().value;f(h)});a._animationCallbacksBuffer=[]})});e.push([c,d])}};
lwc.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 pK=function(a,b,c){oK.call(this,a,b,c)};Y(pK,oK);pK.prototype.ngOnDestroy=function(){this.flush()};pK.\u0275fac=function(a){return new (a||pK)(pd(ii),pd(tvc),pd(qvc))};pK.\u0275prov=n({token:pK,factory:pK.\u0275fac});var mwc=[{provide:qvc,useFactory:function(){return new svc}},{provide:oK,useClass:pK},{provide:Hv,useFactory:function(a,b,c){return new lwc(a,b,c)},deps:[oA,oK,kh]}],nwc=[{provide:tvc,useFactory:function(){return new hwc}},{provide:Gv,useValue:"BrowserAnimations"}].concat(t(mwc));
t(mwc);var qK=function(){};qK.\u0275fac=function(a){return new (a||qK)};qK.\u0275mod=Cf({type:qK});qK.\u0275inj=p({providers:nwc,imports:[IA]});eLa(function(){});Zh({passive:!0,capture:!0});Zh({passive:!0,capture:!0});var owc="mat-button mat-flat-button mat-icon-button mat-raised-button mat-stroked-button mat-mini-fab mat-fab".split(" "),pwc=cLa(eLa(dLa(function(a){this._elementRef=a}))),rK=function(a,b,c){var d=pwc.call(this,a)||this;d._focusMonitor=b;d._animationMode=c;d.isRoundButton=d._hasHostAttributes("mat-fab","mat-mini-fab");d.isIconButton=d._hasHostAttributes("mat-icon-button");for(var e=k(owc),f=e.next();!f.done;f=e.next())f=f.value,d._hasHostAttributes(f)&&d._getHostElement().classList.add(f);a.nativeElement.classList.add("mat-button-base");
d.isRoundButton&&(d.color="accent");return d};Y(rK,pwc);g=rK.prototype;g.ngAfterViewInit=function(){this._focusMonitor.monitor(this._elementRef,!0)};g.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef)};g.focus=function(a,b){a?xw(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 vd.apply(0,arguments).some(function(b){return a._getHostElement().hasAttribute(b)})};rK.\u0275fac=function(a){return new (a||rK)(hf(ef),hf(ww),hf(Gv,8))};
rK.\u0275cmp=C({type:rK,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(Xx,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&&(jg("disabled",b.disabled||null)("mat-id-collision",null),sg("_mat-animation-noopable",b._animationMode===
"NoopAnimations")("mat-button-disabled",b.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],standalone:!1,features:[cg],attrs:["mat-button",""],ngContentSelectors:["*"],decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(a,b){a&1&&(Ig(),I(0,"span",0),Jg(1),J(),K(2,"span",1)(3,"span",2));a&2&&(B(2),
sg("mat-button-ripple-round",b.isRoundButton||b.isIconButton),E("matRippleDisabled",b._isRippleDisabled())("matRippleCentered",b.isIconButton)("matRippleTrigger",b._getHostElement()))},dependencies:[Xx],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}.mat-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.mat-flat-button::before,.mat-raised-button::before,.mat-fab::before,.mat-mini-fab::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-stroked-button::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}@media(forced-colors: active){.mat-button,.mat-flat-button,.mat-raised-button,.mat-icon-button,.mat-fab,.mat-mini-fab{outline:solid 1px}}.mat-datepicker-toggle .mat-mdc-button-base{width:40px;height:40px;padding:8px 0}.mat-datepicker-actions .mat-button-base+.mat-button-base{margin-left:8px}[dir=rtl] .mat-datepicker-actions .mat-button-base+.mat-button-base{margin-left:0;margin-right:8px}\n"],
encapsulation:2,changeDetection:0});var sK=function(){this.onAction=new Dv;this.disabled=!1};sK.prototype.handleClick=function(){this.onAction.emit()};sK.\u0275fac=function(a){return new (a||sK)};
sK.\u0275cmp=C({type:sK,selectors:[["onedev-hovercard-action"]],inputs:{disabled:"disabled"},outputs:{onAction:"onAction"},standalone:!1,ngContentSelectors:["*"],decls:2,vars:1,consts:[["mat-button","","color","primary",1,"onedev-hovercard-action",3,"click","disabled"]],template:function(a,b){a&1&&(Ig(),I(0,"button",0),M("click",function(){return b.handleClick()}),Jg(1),J());a&2&&E("disabled",b.disabled)},dependencies:[rK],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 tK=function(){Z.apply(this,arguments);this.domSafe=r(NH);this.cdr=r(cB,{self:!0});this.actionService=r(mJ,{optional:!0});this.currentAssignee="";this.currentCc=[];this.ccActionDisabled=this.assigneeActionDisabled=!1};Y(tK,Z);tK.\u0275dir=Z.\u0275dir;
tK.prototype.ngOnInit=function(){var a=this;if(this.actionService){var b;(b=this.actionService)==null||b.assignee$.pipe(Zf(this.destroyed$)).subscribe(function(d){a.currentAssignee=d;a.cdr.detectChanges()});var c;(c=this.actionService)==null||c.cc$.pipe(Zf(this.destroyed$)).subscribe(function(d){a.currentCc=d;a.cdr.detectChanges()})}};
var fLa=function(a){if(a.actionService&&!a.assigneeActionDisabled){a.assigneeActionDisabled=!0;var b=a.email===a.currentAssignee?"remove_user":"set_user";So("personCard","assigneeAction",b);Rsc(a.actionService,{email:a.email,action:b}).finally(function(){a.assigneeActionDisabled=!1})}},gLa=function(a){if(a.actionService&&!a.ccActionDisabled){a.ccActionDisabled=!0;var b=a.currentCc.includes(a.email)?"remove_user":"set_user";So("personCard","ccAction",b);Ssc(a.actionService,{email:a.email,action:b}).finally(function(){a.ccActionDisabled=
!1})}};tK.\u0275fac=function(){var a;return function(b){return(a||(a=ee(tK)))(b||tK)}}();
tK.\u0275cmp=C({type:tK,selectors:[["b-issue-person-card"]],inputs:{email:"email"},standalone:!1,features:[ch([cB]),cg],decls:6,vars:4,consts:[[3,"email"],[1,"actions"],[3,"click"],[3,"onAction","disabled"]],template:function(a,b){a&1&&(I(0,"b-person-card",0),D(1,hLa,9,8,"ng-container",1),S(2,"async"),I(3,"onedev-hovercard-action",2),M("click",function(c){So("personCard","showAssignedIssuesAction");var d=Qq.listIssues.makeHref({q:"assignee:"+b.email+" status:open"});c.ctrlKey||c.metaKey?b.domSafe.openInNewTab(d):
OH(b.domSafe,d)}),I(4,"span"),Q(5,"Show assigned issues"),J()()());a&2&&(E("email",b.email),B(),G(b.actionService&&U(2,2,b.actionService.editAccess$)?1:-1))},dependencies:[sK,fK,ew],encapsulation:2,changeDetection:0});var uK=function(){this.isMentioningMe=!1};uK.prototype.ngOnInit=function(){this.username=this.email.replace(/@google.com$/,"")};uK.\u0275fac=function(a){return new (a||uK)};
uK.\u0275cmp=C({type:uK,selectors:[["b-mention-chip-widget"]],inputs:{email:"email",isMentioningMe:"isMentioningMe"},standalone:!1,decls:6,vars:5,consts:[["el",""],["card",""],[1,"mention",3,"onedevHovercardTrigger"],[3,"email"]],template:function(a,b){a&1&&(I(0,"span",2,0),Q(2),J(),I(3,"onedev-hovercard",null,1),K(5,"b-issue-person-card",3),J());a&2&&(a=L(4),sg("me",b.isMentioningMe),E("onedevHovercardTrigger",a),B(2),R("@",b.username,""),B(3),E("email",b.email))},dependencies:[tK,$H,fI],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 iLa=RegExp("^https?:\\/\\/((?:screenshot.googleplex.com|screenshot.corp.google.com|3p-screenshot.corp.google.com|screen.corp.google.com|screenshot|screen)\\/([\\w-]+)(?:\\.png)?$)"),lLa=RegExp("^(https?:\\/\\/)(www\\.)?(go|goto|goto\\.google\\.com)\\/([A-Za-z0-9-]+$)");var vK=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,vK.messageId)};Y(vK,V);vK.prototype.getUrl=function(){return Kh(this,1)};vK.prototype.setUrl=function(a){return fl(this,1,a)};vK.prototype.hasUrl=function(){return Ck(this,1)};vK.messageId="b.ImageRedirectRequest";var wK=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,wK.messageId)};Y(wK,V);wK.prototype.getUrl=function(){return Kh(this,1)};wK.prototype.setUrl=function(a){return fl(this,1,a)};wK.prototype.hasUrl=function(){return Ck(this,1)};wK.messageId="b.ImageRedirectResponse";var xK=function(){this.executor=r(MC)},qwc=function(a,b){var c=new vK;c.setUrl(b);return a.executor.post({url:"action/imageRedirect",body:c,responseConstructor:wK}).pipe(z(function(d){return d.getUrl()}))};xK.\u0275fac=function(a){return new (a||xK)};xK.\u0275prov=n({token:xK,factory:xK.\u0275fac,providedIn:"root"});var yK=function(){var a=this;this.imageRedirector=r(xK);this.src$=new Xi("");this.showImage$=new Xi(!1);this.error$=new Xi(!1);this.srcTruncated$=this.src$.pipe(z(function(b){var c=b;c=c===void 0?"":c;var d=d===void 0?48:d;b=[].concat(t(c));if(b.length<=d)d=c;else{var e=Math.floor(d/2);c=b.slice(0,e-1).join("");d=b.slice(-(e-(d%2!==0?1:2))).join("");String.prototype.trimEnd!=null&&String.prototype.trimStart!=null&&(c=c.trimEnd(),d=d.trimStart());d=c+"..."+d}return d}));this.srcRedirected$=Ie([this.src$,
this.showImage$]).pipe(Ue(function(b){b=k(b);b.next();return b.next().value}),Yf(function(b){var c=k(b).next().value;return(b=nLa(c,!0))?Ae(b):qwc(a.imageRedirector,c).pipe(If(function(){a.error$.next(!0);return c}))}))};yK.prototype.trigger=function(a){a.preventDefault();a.stopPropagation();this.showImage$.next(!0)};
da.Object.defineProperties(yK.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}}});yK.\u0275fac=function(a){return new (a||yK)};
yK.\u0275cmp=C({type:yK,selectors:[["b-secure-image-widget"]],inputs:{showByDefault:"showByDefault",src:"src",alt:"alt"},standalone:!1,decls:3,vars:3,consts:[["svgIcon","broken-image",1,"icon-l",3,"matTooltip"],[3,"src"],["tabindex","0",1,"normal-link",3,"href","title"],["tabindex","0",1,"normal-link",3,"click","keydown.enter","href","title"],["svgIcon","image",1,"icon-s"]],template:function(a,b){a&1&&(D(0,sLa,3,3),S(1,"async"),D(2,tLa,2,4,"mat-icon",0));a&2&&G(U(1,1,b.error$)===!1?0:2)},dependencies:[pB,
mB,rB,PH,ew],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 rwc={HIDE:"HIDE",COLLAPSE:"COLLAPSE",SHOW:"SHOW"},zK=function(){var a=this;this.activeSession=r(Bu);this.userPreferencesManager=r(TG);this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.DisplayMode=rwc;this.src$=new Xi("");this.isMarkdownImage$=new Xi(!1);this.displayMode$=Ie([this.src$,this.userPreferencesManager.showInlineImages$,this.isMarkdownImage$]).pipe(z(function(b){var c=k(b);b=c.next().value;var d=c.next().value;c=c.next().value;return b&&a.activeSession.isInternalSession()?
!d&&c?"COLLAPSE":d?"SHOW":"HIDE":"HIDE"}),Xf("HIDE"))};da.Object.defineProperties(zK.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}}});zK.\u0275fac=function(a){return new (a||zK)};
zK.\u0275cmp=C({type:zK,selectors:[["b-snipit-image"]],inputs:{src:"src",isMarkdownImage:"isMarkdownImage",alt:"alt"},standalone:!1,decls:2,vars:3,consts:[[3,"src","alt","showByDefault"],["target","_blank",3,"href","rel"],[1,"thumbnail",3,"src","alt","showByDefault"]],template:function(a,b){a&1&&(D(0,wLa,3,3),S(1,"async"));if(a&2){var c;G((c=U(1,1,b.src$))?0:-1,c)}},dependencies:[yK,ew],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 AK=function(){this.content=wu;this.canEditComment=!1;this.checkboxChange=new aB;this.appRef=r(ph);this.flags=r(WH);this.session=r(Bu);this.viewContainerRef=r(Pg);this.elementRef=r(ef);this.destroyRef=r(cf);this.allComponentRefs=[]};
AK.prototype.ngOnChanges=function(){swc(this);Fl(this.elementRef.nativeElement,this.content);for(var a=this.elementRef.nativeElement,b=this.viewContainerRef,c=a.querySelectorAll("*"),d=0;d<c.length;d++){var e=c[d],f=e.dataset.bId;f&&(e.id=f)}c=k(a.querySelectorAll("a"));for(d=c.next();!d.done;d=c.next())if(d=d.value,(f=d.getAttribute("href"))&&jLa(f)&&d&&Lwa(d)&&f===d.textContent&&(e=d.nextSibling,twc(this,d,f,void 0,b),f=void 0,(f=e)!=null&&f.textContent&&(f=e.textContent.match(/(^[^\w]+)/))))f=
f[1],e.textContent=e.textContent.substring(f.length),e=document.createElement("span"),e.textContent=f,d.insertAdjacentElement("afterend",e);c=a.querySelectorAll("*[data-b-widget]");for(d=0;d<c.length;d++)switch(e=c[d],e.dataset.bWidget){case "image":f=e;e=b;var h=f.dataset.bImgSrc,l=f.dataset.bImgRedirectedSrc;xLa(f);if(h){var q=f.dataset.bImgAlt;if(jLa(h))twc(this,f,h,q,e,!0);else if(Vt(this.flags.session,"enableMarkdownInlineImages"))e=this.createComponent(yK,f,e).instance,e.src=h,q&&(e.alt=q);
else{var u=document.createElement("a");q?u.appendChild(document.createTextNode(q)):u.appendChild(document.createTextNode(h));f.appendChild(u);uwc(this,u,h,l||h,e)}}break;case "checkbox":f=b;q=e.dataset.bCheckboxChecked!=null;xLa(e);vwc(this,e,q,f);break;case "url":f=b;q=e.dataset.bOriginalHref;h=e.dataset.bRedirectedHref;q&&h&&(e.removeAttribute("href"),uwc(this,e,q,h,f));break;case "broken-url":if(q=e.dataset.bOriginalHref)for(f=e,e=Array.from(f.childNodes),f=this.createComponent(QH,f,b).instance,
f.originalHref=q,f=f.getNgContentParentEl(),e=k(e),q=e.next();!q.done;q=e.next())f.appendChild(q.value);break;case "mention":this.session.isInternalSession()&&(f=void 0,q=e,h=b,e="",((f=q.textContent)==null?void 0:f[0])==="@"&&(e=q.textContent.slice(1)),xLa(q),f=this.createComponent(uK,q,h).instance,f.email=e,f.isMentioningMe=this.session.getUserEmail()===e);break;case "issue-reference":if(q=e.href,h=e.dataset.bIssueId,l=e.dataset.bCommentNumber,q&&h){f=void 0;u=Number(l);l=Array.from(e.childNodes);
var A=document.createElement("span");(f=e.parentNode)==null||f.insertBefore(A,e);f=this.createComponent(hI,A,b).instance;f.href=q;f.issueId=h;f.commentNumber=u;f=f.el.nativeElement;q=k(l);for(h=q.next();!h.done;h=q.next())f.appendChild(h.value);e.remove()}}b=a.querySelectorAll("a");for(c=0;c<b.length;c++)d=b[c],d.getAttribute("target")||d.setAttribute("target","_self");b=a.querySelectorAll("table");for(c=0;c<b.length;c++)d=b[c],d.parentNode&&(e=document.createElement("div"),e.classList.add("table-overflow"),
e.tabIndex=-1,d.parentNode.insertBefore(e,d),e.appendChild(d));a=k(a.querySelectorAll("pre"));for(b=a.next();!b.done;b=a.next())b.value.tabIndex=-1};AK.prototype.ngOnDestroy=function(){swc(this)};
var twc=function(a,b,c,d,e,f){f=f===void 0?!1:f;var h=b;b instanceof HTMLAnchorElement&&(h=document.createElement("span"),b.insertAdjacentElement("afterend",h));a=a.createComponent(zK,h,e).instance;a.src=c;a.alt=d;a.isMarkdownImage=f},vwc=function(a,b,c,d){var e,f=(e=b.dataset.bCheckboxStartpos)!=null?e:"";b=a.createComponent(cqc,b,d).instance;b.checked=c;b.disabled=a.session.userRequiresCaptcha()||!a.canEditComment||!Vt(a.session,"enableInteractiveMarkdownCheckboxes");b.startPos=f;b.checkedChange.pipe(Bh(a.destroyRef)).subscribe(function(h){a.checkboxChange.emit({checked:h,
startPos:f})})},uwc=function(a,b,c,d,e){var f=Array.from(b.childNodes);a=a.createComponent(VH,b,e).instance;a.originalHref=c;a.href=d;c=a.getNgContentParentEl();f=k(f);for(d=f.next();!d.done;d=f.next())c.appendChild(d.value)};AK.prototype.createComponent=function(a,b,c){a=Nma(a,{environmentInjector:this.appRef.injector,elementInjector:c.injector});b.appendChild(a.location.nativeElement);u6b(this.appRef,a.hostView);this.allComponentRefs.push(a);return a};
var swc=function(a){for(var b=k(a.allComponentRefs),c=b.next();!c.done;c=b.next())c.value.destroy();a.allComponentRefs=[]};AK.\u0275fac=function(a){return new (a||AK)};AK.\u0275dir=Df({type:AK,selectors:[["","applyDynamicComponents",""]],inputs:{content:[0,"applyDynamicComponents","content"],canEditComment:"canEditComment"},outputs:{checkboxChange:"checkboxChange"},features:[rv]});var BK=function(){this.codefont=r(IH);this.canEditComment=!1;this.checkboxChange=new aB};BK.prototype.ngOnInit=function(){};BK.\u0275fac=function(a){return new (a||BK)};
BK.\u0275cmp=C({type:BK,selectors:[["b-markdown-format-presenter"]],inputs:{content:"content",canEditComment:"canEditComment"},outputs:{checkboxChange:"checkboxChange"},standalone:!1,features:[ch([{provide:Tpc,useValue:"MARKDOWN"}])],decls:3,vars:6,consts:[["child",""],[1,"type-m","markdown-display",3,"checkboxChange","applyDynamicComponents","canEditComment"]],template:function(a,b){if(a&1){var c=v();I(0,"div",1,0);S(2,"async");M("checkboxChange",function(d){w(c);return x(b.checkboxChange.emit(d))});
J()}a&2&&(sg("codefont",U(2,4,b.codefont.codefont$)),E("applyDynamicComponents",b.content.content)("canEditComment",b.canEditComment))},dependencies:[AK,ew],styles:[':root{--blue-50: #e8f0fe;--blue-100: #d2e3fc;--blue-200: #aecbfa;--blue-300: #8ab4f8;--blue-400: #669df6;--blue-500: #4285f4;--blue-600: #1a73e8;--blue-700: #1967d2;--blue-800: #185abc;--blue-900: #174ea6;--blue: var(--blue-600);--red-50: #fce8e6;--red-100: #fad2cf;--red-200: #f6aea9;--red-300: #f28b82;--red-400: #ee675c;--red-500: #ea4335;--red-600: #d93025;--red-700: #c5221f;--red-800: #b31412;--red-900: #a50e0e;--red: var(--red-600);--yellow-50: #fef7e0;--yellow-100: #feefc3;--yellow-200: #fde293;--yellow-300: #fdd663;--yellow-400: #fcc934;--yellow-500: #fbbc04;--yellow-600: #f9ab00;--yellow-700: #f29900;--yellow-800: #ea8600;--yellow-900: #e37400;--yellow: var(--yellow-600);--green-50: #e6f4ea;--green-100: #ceead6;--green-200: #a8dab5;--green-300: #81c995;--green-400: #5bb974;--green-500: #34a853;--green-600: #1e8e3e;--green-700: #188038;--green-800: #137333;--green-900: #0d652d;--green: var(--green-600);--white: #fff;--grey-50: #f8f9fa;--grey-100: #f1f3f4;--grey-200: #e8eaed;--grey-300: #dadce0;--grey-400: #bdc1c6;--grey-500: #9aa0a6;--grey-600: #80868b;--grey-700: #5f6368;--grey-800: #3c4043;--grey-900: #202124;--black: var(--grey-900);--orange-50: #feefe3;--orange-100: #fedfc8;--orange-200: #fdc69c;--orange-300: #fcad70;--orange-400: #fa903e;--orange-500: #fa7b17;--orange-600: #e8710a;--orange-700: #d56e0c;--orange-800: #c26401;--orange-900: #b06000;--pink-50: #fde7f3;--pink-100: #fdcfe8;--pink-200: #fba9d6;--pink-300: #ff8bcb;--pink-400: #ff63b8;--pink-500: #f439a0;--pink-600: #e52592;--pink-700: #c92786;--pink-800: #b80672;--pink-900: #9c166b;--purple-50: #f3e8fd;--purple-100: #e9d2fd;--purple-200: #d7aefb;--purple-300: #c58af9;--purple-400: #af5cf7;--purple-500: #a142f4;--purple-600: #9334e6;--purple-700: #8430ce;--purple-800: #7627bb;--purple-900: #681da8;--cyan-50: #e4f7fb;--cyan-100: #cbf0f8;--cyan-200: #a1e4f2;--cyan-300: #78d9ec;--cyan-400: #4ecde6;--cyan-500: #24c1e0;--cyan-600: #12b5cb;--cyan-700: #129eaf;--cyan-800: #098591;--cyan-900: #007b83}.markdown-display{word-break:break-word;overflow-wrap:break-word}.markdown-display p{word-break:break-word}.markdown-display hr{height:0;border:0;border-top:1px solid var(--hairline)}.markdown-display h1,.markdown-display h2,.markdown-display h3,.markdown-display h4,.markdown-display h5{font-weight:500}.markdown-display h1{font-size:160%;font-weight:700}.markdown-display h2{font-size:160%}.markdown-display h3{font-size:140%}.markdown-display h4{font-size:120%}.markdown-display h5{font-size:100%}.markdown-display h1,.markdown-display h2,.markdown-display h3,.markdown-display h4,.markdown-display h5{margin:0;margin-block-start:.8em;margin-block-end:.8em}.markdown-display p,.markdown-display blockquote,.markdown-display hr,.markdown-display ul,.markdown-display ol{margin:0;margin-block-start:.8em;margin-block-end:.8em}.markdown-display>*:first-child{margin-block-start:0}.markdown-display ul,.markdown-display ol{padding-inline-start:2rem}.markdown-display blockquote{background-color:var(--markdown-blockquote-background);border-left:4px solid var(--markdown-blockquote-border);color:var(--text-secondary);overflow:hidden;padding-left:8px}.markdown-display ul{list-style:initial}.markdown-display ul ul{list-style:circle}.markdown-display ul ul ul{list-style:square}.markdown-display ul ul,.markdown-display ol ol,.markdown-display ul ol,.markdown-display ol ul{margin:0}.markdown-display li{margin-block-end:.2em}.markdown-display code,.markdown-display pre{background-color:var(--surface-secondary);border-radius:2px;font-family:WorkAroundWebKitAndMozilla,monospace}.markdown-display pre{border:1px solid var(--hairline);overflow-x:auto}.markdown-display code{color:var(--markdown-code);padding:0 2px}.markdown-display pre code{color:var(--text-high-contrast);padding:0}.markdown-display pre{padding:8px 16px}.markdown-display pre,.markdown-display pre code{line-height:1.5}.markdown-display img{max-width:100%}.markdown-display a,.markdown-display a code{color:var(--primary-default);text-decoration:none}.markdown-display a:visited,.markdown-display a code:visited{color:var(--markdown-link-visited)}.markdown-display pre code a{color:inherit;text-decoration:underline}.markdown-display a:hover{text-decoration:underline}.markdown-display a:focus{outline:-webkit-focus-ring-color auto 1px}.markdown-display table{border-collapse:collapse;margin:1em 0}.markdown-display td,.markdown-display th{background-color:var(--surface-default);border:1px solid var(--hairline);padding:4px 8px;vertical-align:top}.markdown-display th{text-align:left;vertical-align:bottom;word-break:keep-all}.markdown-display div.table-overflow{overflow-x:auto}.markdown-display input[type=checkbox]{vertical-align:middle}.markdown-display section.footnotes{font-family:Roboto,Arial,sans-serif;line-height:1rem;font-size:.75rem;letter-spacing:.025em;font-weight:400;margin-top:2.5em;border-top:1px solid #dadce0}.markdown-display sup.footnote-ref::before{content:"["}.markdown-display sup.footnote-ref::after{content:"]"}.markdown-display .footnote-backref{text-decoration:none}.markdown-display .footnote-backref>a{text-decoration:none}.markdown-display .align-left{text-align:left}.markdown-display .align-right{text-align:right}.markdown-display .align-center{text-align:center}.markdown-display .align-justify{text-align:justify}.markdown-display .g3mark-callout{position:relative}.markdown-display .g3mark-callout .g3mark-callout__icon{display:none}.markdown-display summary{cursor:pointer}.markdown-display code{white-space:break-spaces}.markdown-display pre code{white-space:pre}body:not(.dark-mode) .markdown-display .stx-plain{color:inherit}body:not(.dark-mode) .markdown-display .stx-keyword{color:#708}body:not(.dark-mode) .markdown-display .stx-keyword-strong{color:inherit}body:not(.dark-mode) .markdown-display .stx-string{color:#080}body:not(.dark-mode) .markdown-display .stx-comment{color:#800}body:not(.dark-mode) .markdown-display .stx-number{color:#164}body:not(.dark-mode) .markdown-display .stx-macro{color:#555}body:not(.dark-mode) .markdown-display .stx-class{color:inherit}body:not(.dark-mode) .markdown-display .stx-const{color:inherit}body:not(.dark-mode) .markdown-display .stx-escape-sequence{color:inherit}body:not(.dark-mode) .markdown-display .stx-deprecated{text-decoration:inherit}body:not(.dark-mode) .markdown-display .stx-doc-tag{text-decoration:inherit}body:not(.dark-mode) .markdown-display .stx-task-tag{font-weight:inherit}body:not(.dark-mode) .markdown-display .stx-atom{color:#219}body:not(.dark-mode) .markdown-display .stx-definition{color:blue}body:not(.dark-mode) .markdown-display .stx-type-id{color:#085}body:not(.dark-mode) .markdown-display .stx-qualifier{color:#555}body:not(.dark-mode) .markdown-display .stx-local-ref{color:#05a}body:not(.dark-mode) .markdown-display .stx-md-entity{color:#708}body:not(.dark-mode) .markdown-display .stx-md-bold{font-weight:bold}body:not(.dark-mode) .markdown-display .stx-md-italic{font-style:italic}body:not(.dark-mode) .markdown-display .stx-md-link{color:#080}body:not(.dark-mode) .markdown-display .stx-md-code{color:#555}body:not(.dark-mode) .markdown-display .stx-comment .stx-md-link,body:not(.dark-mode) .markdown-display .stx-comment .stx-md-code{color:#800}body:not(.dark-mode) .markdown-display pre .chl{border:1px solid #ffca28;background-color:#fff59d;padding:1px 0;margin:0 -1px}body:not(.dark-mode) .markdown-display .g3mark-callout{margin:1rem 0;padding:.5rem .5rem .5rem 2rem}body:not(.dark-mode) .markdown-display .g3mark-callout p:first-of-type{margin-top:0}body:not(.dark-mode) .markdown-display .g3mark-callout p:last-child{margin-bottom:0}body:not(.dark-mode) .markdown-display .g3mark-callout blockquote{font-family:inherit;font-weight:inherit;font-size:inherit;letter-spacing:inherit;line-height:inherit;padding-left:initial;border-left:initial;margin:0}body:not(.dark-mode) .markdown-display .g3mark-callout__keyword{font-weight:bold}body:not(.dark-mode) .markdown-display .g3mark-callout__icon::before{position:absolute;font-size:1.25rem;font-family:"Material Icons","Google Material Icons";margin-left:-1.5rem}body:not(.dark-mode) .markdown-display .g3mark-callout-tldr .g3mark-callout__icon::before,body:not(.dark-mode) .markdown-display .g3mark-callout-summary .g3mark-callout__icon::before{color:#174ea6;content:"sms"}body:not(.dark-mode) .markdown-display .g3mark-callout-todo .g3mark-callout__icon::before,body:not(.dark-mode) .markdown-display .g3mark-callout-fixme .g3mark-callout__icon::before{color:#202124;content:"error_outline"}body:not(.dark-mode) .markdown-display .g3mark-callout-tip .g3mark-callout__icon::before{color:#0d652d;content:"grade"}body:not(.dark-mode) .markdown-display .g3mark-callout-best_practice .g3mark-callout__icon::before{color:#0d652d;content:"check_circle"}body:not(.dark-mode) .markdown-display .g3mark-callout-note .g3mark-callout__icon::before{color:#202124;content:"bookmark"}body:not(.dark-mode) .markdown-display .g3mark-callout-warning .g3mark-callout__icon::before{color:#a50e0e;content:"warning"}body:not(.dark-mode) .markdown-display .g3mark-callout-important .g3mark-callout__icon::before{color:#b06000;content:"priority_high"}body:not(.dark-mode) .markdown-display .g3mark-callout-question .g3mark-callout__icon::before{color:#174ea6;content:"help"}body:not(.dark-mode) .markdown-display .g3mark-callout-tldr,body:not(.dark-mode) .markdown-display .g3mark-callout-summary{border-color:#669df6;background:#e8f0fe;color:#202124}body:not(.dark-mode) .markdown-display .g3mark-callout-todo,body:not(.dark-mode) .markdown-display .g3mark-callout-fixme{border-color:#bdc1c6;background:#f8f9fa;color:#202124}body:not(.dark-mode) .markdown-display .g3mark-callout-tip,body:not(.dark-mode) .markdown-display .g3mark-callout-best_practice{border-color:#5bb974;background:#e6f4ea;color:#202124}body:not(.dark-mode) .markdown-display .g3mark-callout-note{border-color:#bdc1c6;background:#f8f9fa;color:#202124;background:#f1f3f4}body:not(.dark-mode) .markdown-display .g3mark-callout-warning{border-color:#ee675c;background:#fce8e6;color:#202124}body:not(.dark-mode) .markdown-display .g3mark-callout-important{border-color:#fa903e;background:#feefe3;color:#202124}body:not(.dark-mode) .markdown-display .g3mark-callout-question{border-color:#669df6;background:#e8f0fe;color:#202124}body.dark-mode .markdown-display .stx-plain{color:inherit}body.dark-mode .markdown-display .stx-keyword{color:#d8884b}body.dark-mode .markdown-display .stx-keyword-strong{color:inherit}body.dark-mode .markdown-display .stx-string{color:#97c67b}body.dark-mode .markdown-display .stx-comment{color:#8c9292}body.dark-mode .markdown-display .stx-number{color:#79a9c4}body.dark-mode .markdown-display .stx-macro{color:#9dbed9}body.dark-mode .markdown-display .stx-class{color:inherit}body.dark-mode .markdown-display .stx-const{color:inherit}body.dark-mode .markdown-display .stx-escape-sequence{color:inherit}body.dark-mode .markdown-display .stx-deprecated{text-decoration:inherit}body.dark-mode .markdown-display .stx-doc-tag{text-decoration:inherit}body.dark-mode .markdown-display .stx-task-tag{font-weight:inherit}body.dark-mode .markdown-display .stx-atom{color:#cf7ea9}body.dark-mode .markdown-display .stx-definition{color:#75b3db}body.dark-mode .markdown-display .stx-type-id{color:#eede7b}body.dark-mode .markdown-display .stx-qualifier{color:#97c67b}body.dark-mode .markdown-display .stx-local-ref{color:#aac6e3}body.dark-mode .markdown-display .stx-md-entity{color:#d8884b}body.dark-mode .markdown-display .stx-md-bold{font-weight:bold}body.dark-mode .markdown-display .stx-md-italic{font-style:italic}body.dark-mode .markdown-display .stx-md-link{color:#d8884b}body.dark-mode .markdown-display .stx-md-code{color:#d8884b}body.dark-mode .markdown-display .stx-comment .stx-md-link,body.dark-mode .markdown-display .stx-comment .stx-md-code{color:#89b2cd}body.dark-mode .markdown-display pre .chl{border:1px solid #ffca28;background-color:#6a5619;padding:1px 0;margin:0 -1px}body.dark-mode .markdown-display .g3mark-callout{margin:1rem 0;padding:.5rem .5rem .5rem 2rem}body.dark-mode .markdown-display .g3mark-callout p:first-of-type{margin-top:0}body.dark-mode .markdown-display .g3mark-callout p:last-child{margin-bottom:0}body.dark-mode .markdown-display .g3mark-callout blockquote{font-family:inherit;font-weight:inherit;font-size:inherit;letter-spacing:inherit;line-height:inherit;padding-left:initial;border-left:initial;margin:0}body.dark-mode .markdown-display .g3mark-callout__keyword{font-weight:bold}body.dark-mode .markdown-display .g3mark-callout__icon::before{position:absolute;font-size:1.25rem;font-family:"Material Icons","Google Material Icons";margin-left:-1.5rem}body.dark-mode .markdown-display .g3mark-callout-tldr .g3mark-callout__icon::before,body.dark-mode .markdown-display .g3mark-callout-summary .g3mark-callout__icon::before{color:#174ea6;content:"sms"}body.dark-mode .markdown-display .g3mark-callout-todo .g3mark-callout__icon::before,body.dark-mode .markdown-display .g3mark-callout-fixme .g3mark-callout__icon::before{color:#202124;content:"error_outline"}body.dark-mode .markdown-display .g3mark-callout-tip .g3mark-callout__icon::before{color:#0d652d;content:"grade"}body.dark-mode .markdown-display .g3mark-callout-best_practice .g3mark-callout__icon::before{color:#0d652d;content:"check_circle"}body.dark-mode .markdown-display .g3mark-callout-note .g3mark-callout__icon::before{color:#202124;content:"bookmark"}body.dark-mode .markdown-display .g3mark-callout-warning .g3mark-callout__icon::before{color:#a50e0e;content:"warning"}body.dark-mode .markdown-display .g3mark-callout-important .g3mark-callout__icon::before{color:#b06000;content:"priority_high"}body.dark-mode .markdown-display .g3mark-callout-question .g3mark-callout__icon::before{color:#174ea6;content:"help"}body.dark-mode .markdown-display .g3mark-callout-todo,body.dark-mode .markdown-display .g3mark-callout-fixme,body.dark-mode .markdown-display .g3mark-callout-tldr,body.dark-mode .markdown-display .g3mark-callout-tip,body.dark-mode .markdown-display .g3mark-callout-note,body.dark-mode .markdown-display .g3mark-callout-warning,body.dark-mode .markdown-display .g3mark-callout-important,body.dark-mode .markdown-display .g3mark-callout-best_practice,body.dark-mode .markdown-display .g3mark-callout-summary,body.dark-mode .markdown-display .g3mark-callout-question{border-color:#fff;background:#3c4043;color:#fff}/*# sourceMappingURL=markdown_format_presenter.css.map */\n'],
encapsulation:2,changeDetection:0});var wwc=["child"],xwc=function(){return"[_nghost-%COMP%]     a:visited{color:#7627bb;color:var(--link-visited)}"},CK=function(){this.codefont=r(IH)};CK.prototype.ngOnInit=function(){};CK.\u0275fac=function(a){return new (a||CK)};
CK.\u0275cmp=C({type:CK,selectors:[["b-plain-format-presenter"]],inputs:{content:"content"},standalone:!1,features:[ch([{provide:Tpc,useValue:"PLAIN"}])],decls:4,vars:4,consts:[[1,"type-m"],[3,"section"]],template:function(a,b){a&1&&(I(0,"div",0),S(1,"async"),yg(2,yLa,1,1,"b-plain-format-section",1,xg),J());a&2&&(sg("codefont",U(1,2,b.codefont.codefont$)),B(2),zg(b.content.plainSection))},dependencies:function(){return[DK,ew]},styles:[xwc()],changeDetection:0});var DK=function(){};
DK.prototype.ngOnInit=function(){};DK.\u0275fac=function(a){return new (a||DK)};DK.\u0275cmp=C({type:DK,selectors:[["b-plain-format-section"]],inputs:{section:"section"},standalone:!1,decls:3,vars:1,consts:[[3,"section"]],template:function(a,b){a&1&&(Ag(0),D(1,zLa,1,1,"b-plain-format-quoted-section",0)(2,ALa,1,1,"b-plain-format-unquoted-section",0),Bg());a&2&&(B(),G(b.section.isQuoted?1:2))},dependencies:function(){return[EK,FK]},encapsulation:2,changeDetection:0});
var EK=function(){this.showQuote=!1;this.childId="plainFormatQuotedSection"+ ++ywc};EK.prototype.ngOnInit=function(){};EK.prototype.ngOnChanges=function(){BLa(this)};var BLa=function(a){var b=a.child.nativeElement;if(a.showQuote)Fl(b,a.section.content);else for(;b.lastChild;)b.lastChild.remove()};EK.\u0275fac=function(a){return new (a||EK)};
EK.\u0275cmp=C({type:EK,selectors:[["b-plain-format-quoted-section"]],viewQuery:function(a,b){a&1&&Rg(wwc,7);if(a&2){var c;Vg(c=Wg())&&(b.child=c.first)}},inputs:{section:"section"},standalone:!1,features:[rv],decls:5,vars:2,consts:[["child",""],["tabindex","0","role","button","aria-expanded","true",1,"showhide","muted"],["tabindex","0","role","button","aria-expanded","false",1,"showhide","muted"],[1,"child",3,"id"],["tabindex","0","role","button","aria-expanded","true",1,"showhide","muted",3,"click"],
["tabindex","0","role","button","aria-expanded","false",1,"showhide","muted",3,"click"]],template:function(a,b){a&1&&(I(0,"div"),D(1,CLa,2,1,"a",1)(2,DLa,2,1,"a",2),K(3,"div",3,0),J());a&2&&(B(),G(b.showQuote?1:2),B(2),E("id",b.childId))},styles:[xwc()],changeDetection:0});var ywc=0,FK=function(){};FK.prototype.ngOnInit=function(){};FK.\u0275fac=function(a){return new (a||FK)};
FK.\u0275cmp=C({type:FK,selectors:[["b-plain-format-unquoted-section"]],inputs:{section:"section"},standalone:!1,decls:1,vars:1,consts:[[1,"child",3,"applyDynamicComponents"]],template:function(a,b){a&1&&K(0,"div",0);a&2&&E("applyDynamicComponents",b.section.content)},dependencies:[AK],encapsulation:2,changeDetection:0});var GK=function(){this.canEditComment=!1;this.checkboxChange=new aB};GK.prototype.ngOnInit=function(){};GK.\u0275fac=function(a){return new (a||GK)};
GK.\u0275cmp=C({type:GK,selectors:[["b-formatted-comment-presenter"]],inputs:{formattedComment:"formattedComment",canEditComment:"canEditComment"},outputs:{checkboxChange:"checkboxChange"},standalone:!1,decls:3,vars:3,consts:[[3,"content"],[3,"content","canEditComment"],[3,"checkboxChange","content","canEditComment"]],template:function(a,b){a&1&&D(0,ELa,1,1,"b-literal-format-presenter",0)(1,FLa,1,2,"b-markdown-format-presenter",1)(2,GLa,1,1,"b-plain-format-presenter",0);if(a&2){var c,d,e;G((c=b.formattedComment.literalFormat)?
0:-1,c);B();G((d=b.formattedComment.markdownFormat)?1:-1,d);B();G((e=b.formattedComment.plainFormat)?2:-1,e)}},dependencies:[JH,BK,CK],encapsulation:2,changeDetection:0});var zwc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(zwc,V);g=zwc.prototype;g.getFormattingMode=function(){return Fk(this,1,0)};g.setFormattingMode=function(a){return ck(this,1,a)};g.getSource=function(){return Kh(this,2)};g.setSource=function(a){return ak(this,2,a)};g.getIssueId=function(){return dv(this,3)};g.getIssueId_asLegacyNumberOrString=function(){return Qk(this,3)};g.getIssueId_asString=function(){return Wk(this,3)};g.setIssueId=function(a){return jm(this,3,a)};
g.getIdPrefix=function(){return Kh(this,4)};g.setIdPrefix=function(a){return ak(this,4,a)};var HK=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,HK.messageId)};Y(HK,V);HK.prototype.getIt=function(){return W(this,zwc,8)};HK.prototype.setIt=function(a){return X(this,zwc,8,a)};HK.messageId="b.FormatCommentRequest";var IK=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(IK,V);IK.prototype.getFormattedComment=function(){return W(this,an,1)};IK.prototype.hasFormattedComment=function(){return Jk(this,an,1)};IK.prototype.getMentionsList=function(a){return lk(this,Cgc,2,Uj(a))};var JK=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,JK.messageId)};Y(JK,V);JK.prototype.getIt=function(){return W(this,IK,3)};JK.prototype.setIt=function(a){return X(this,IK,3,a)};JK.messageId="b.FormatCommentResponse";var KK=function(){this.executor=r(MC);this.activeSession=r(Bu)};KK.prototype.format=function(a){return a.formattingMode==="LITERAL"||a.comment.trim()===""?JLa(a):Awc(this,a).pipe(z(ILa))};
var Awc=function(a,b){var c,d=(new zwc).setFormattingMode(Om(b.formattingMode)).setSource(b.comment).setIssueId((c=fk(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=ak(d,5,c);b=ck(d,6,Xfc[b.audience]);return a.executor.post({url:"action/formatComment",body:(new HK).setIt(b),responseConstructor:JK})};
KK.\u0275fac=function(a){return new (a||KK)};KK.\u0275prov=n({token:KK,factory:KK.\u0275fac,providedIn:"root"});var LK=function(){Z.apply(this,arguments);var a=this;this.formatter=r(KK);this.issueIdInternal="";this.audience="EXTERNAL";this.formattingMode="LITERAL";this.params$=new Tf(1);this.formattedResult$=this.params$.pipe(Lf(200),Yf(function(b){return a.formatter.format(b).pipe(Bwc,If(function(){var c={literalFormat:{content:wi(b.comment)}};return Ae({formattedComment:c,isFallback:!0})}))}))};Y(LK,Z);LK.\u0275dir=Z.\u0275dir;
LK.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()})}))};LK.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()})};
LK.prototype.getIdPrefix=function(){return this.idPrefix||"b"+this.issueIdInternal+"-draft"};da.Object.defineProperties(LK.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueIdInternal=a||""}}});LK.\u0275fac=function(){var a;return function(b){return(a||(a=ee(LK)))(b||LK)}}();
LK.\u0275cmp=C({type:LK,selectors:[["b-live-preview"]],inputs:{comment:"comment",comment$:"comment$",issueId:"issueId",audience:"audience",formattingMode:"formattingMode",idPrefix:"idPrefix"},standalone:!1,features:[cg,rv],decls:2,vars:3,consts:[[1,"md-preview",3,"invisible","error"],[1,"md-preview"],[3,"formattedComment"]],template:function(a,b){a&1&&(D(0,KLa,2,5,"div",0),S(1,"async"));if(a&2){var c;G((c=U(1,1,b.formattedResult$))?0:-1,c)}},dependencies:[GK,ew],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:rgb(253.5,243.5,242.5);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 Bwc=z(function(a){return{formattedComment:a,isFallback:!1}});var MK=function(){var a=this;this.errorHandler=r(CI);this.eventsForIssueFridge=r(NE);this.issueFullFridge=r(QF);this.issueCommentsService=r(TI);this.issueInteractionsTracking=r(dJ);this.butterBar=r(fH);this.editIssueService=r(kJ);this.formattedCommentsForIssueFridge=r(RE);this.rawComment$=new Uf;this.issueId="";this.commentNumber=0;this.rawComment="";var b=0;this.rawComment$.pipe(z(function(c){return{comment:c,id:b+=1}}),Lf(800),Ke(function(c){return a.doSave(c.comment,c.id)}),Ue(function(c){return c===
b})).subscribe(function(){Cwc(a)})};MK.prototype.ngOnDestroy=function(){this.rawComment$.complete()};MK.prototype.initialize=function(a,b){this.issueId=a;this.commentNumber=b};MK.prototype.pending=function(){var a,b;return(b=(a=this.savingState)==null?void 0:a.get("commentEdit"))!=null?b:!1};
MK.prototype.doSave=function(a,b){var c=this,d,e,f;return se(function(h){switch(h.nextAddress){case 1:return te(h,2),y(h,c.issueCommentsService.update(c.issueId,(d=c.commentNumber)!=null?d:0,a,"MARKDOWN",""),4);case 4:Hu(h,3);break;case 2:e=we(h),EI(c.errorHandler,e),(f=c.savingState)==null||iJ(f,"commentEdit");case 3:return h.return(b)}})};
var Cwc=function(a){jq(a.butterBar,"Comment edit successful.",4E3);a.eventsForIssueFridge.manualUpdate(a.issueId,function(c){c.events=mxa(c.events,a.commentNumber,{formattedComment:void 0,unlinkifiedComment:a.rawComment,formattingMode:"MARKDOWN"})});a.issueFullFridge.poke(a.issueId);a.formattedCommentsForIssueFridge.invalidate(a.issueId+"-"+a.commentNumber);a.eventsForIssueFridge.poke(a.issueId);var b;(b=a.savingState)==null||iJ(b,"commentEdit")};MK.\u0275fac=function(a){return new (a||MK)};
MK.\u0275prov=n({token:MK,factory:MK.\u0275fac});var NK=function(){var a=r(TG);Z.call(this);var b=this;this.activeSession=r(Bu);this.appEvents=r(yD);this.markdownCheckboxService=r(MK);this.init=new aB;this.canEditComment=!1;this.formattedComment=null;this.FormattingMode=nk;(this.enableLiteralModeRevisions=Vt(this.activeSession,"enableLiteralModeRevisions"))&&this.activeSession.isInternalSession()?a.commentFormattingPreferencesSubject$.pipe(Zf(this.destroyed$)).subscribe(function(c){switch(c.commentDisplayOverride){case "LITERAL_FORMATTING_MODE":b.formattingModeOverride=
"LITERAL";break;case "MARKDOWN_FORMATTING_MODE":b.formattingModeOverride="MARKDOWN";break;case "PLAIN_FORMATTING_MODE":b.formattingModeOverride="PLAIN";break;case "COMMENT_FORMATTING_MODE_UNSPECIFIED":case void 0:b.formattingModeOverride=void 0;break;default:Db(c.commentDisplayOverride)}}):a.textDisplayPreferencesSubject$.pipe(Zf(this.destroyed$)).subscribe(function(c){switch(c.commentDisplayOverride){case "LITERAL_FORMATTING_MODE":b.formattingModeOverride="LITERAL";break;case "MARKDOWN_FORMATTING_MODE":b.formattingModeOverride=
"MARKDOWN";break;case "PLAIN_FORMATTING_MODE":b.formattingModeOverride="PLAIN";break;case "COMMENT_FORMATTING_MODE_UNSPECIFIED":case void 0:b.formattingModeOverride=void 0;break;default:Db(c.commentDisplayOverride)}})};Y(NK,Z);NK.\u0275dir=Z.\u0275dir;NK.prototype.ngOnInit=function(){var a;this.markdownCheckboxService.initialize(this.issueId,(a=this.note.commentNumber)!=null?a:0)};
NK.prototype.ngOnChanges=function(a){if(a.note&&!this.markdownCheckboxService.pending()){this.rawComment=this.note.unlinkifiedComment||"";this.markdownCheckboxService.rawComment=this.rawComment;var b;this.formattedComment=(b=this.note.formattedComment)!=null?b:null}this.audience=this.issueAccessLevel&&this.issueAccessLevel==="INTERNAL"?"INTERNAL":"EXTERNAL";this.note.commentNumber&&(this.idPrefix="b"+this.issueId+"-c"+this.note.commentNumber)};
NK.prototype.ngAfterViewInit=function(){this.appEvents.commentRendered.next([this.issueId,this.note.commentNumber]);this.init.next(this)};NK.\u0275fac=function(a){return new (a||NK)};
NK.\u0275cmp=C({type:NK,selectors:[["b-note-container"]],inputs:{note:"note",issueAccessLevel:"issueAccessLevel",formattingMode:"formattingMode",issueId:"issueId",canEditComment:"canEditComment"},outputs:{init:"init"},standalone:!1,features:[ch([MK]),cg,rv],decls:4,vars:1,consts:[[1,"bv2-note-container","bv2-event-note"],[1,"bv2-note-container-note"],[3,"formattedComment","canEditComment"],[3,"comment","issueId","audience","formattingMode","idPrefix"],[3,"checkboxChange","formattedComment","canEditComment"]],
template:function(a,b){a&1&&(I(0,"div",0)(1,"div",1),D(2,LLa,1,2,"b-formatted-comment-presenter",2)(3,MLa,1,5,"b-live-preview",3),J()());if(a&2){B(2);if(a=b.formattedComment)a=b.formattedComment,a=!a||b.formattingModeOverride?!1:a.literalFormat&&b.formattingMode==="LITERAL"||a.plainFormat&&b.formattingMode==="PLAIN"||a.markdownFormat&&b.formattingMode==="MARKDOWN"?!0:!1;G(a?2:3)}},dependencies:[GK,LK],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 OK=function(){this.activeSession=r(Bu);this.issueApi=r(ME);this.analytics=r(OF);this.errorHandler=r(CI);this.onCc=new aB};OK.prototype.ngOnInit=function(){};
OK.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)}))};OK.\u0275fac=function(a){return new (a||OK)};OK.\u0275cmp=C({type:OK,selectors:[["b-cc-button"]],inputs:{issueId:"issueId",ccState:"ccState"},outputs:{onCc:"onCc"},standalone:!1,decls:3,vars:1,consts:[["type","button","mat-button","",1,"medium",3,"click"]],template:function(a,b){a&1&&(I(0,"button",0),M("click",function(){return b.toggle()}),D(1,NLa,2,0,"ng-container")(2,OLa,2,0,"ng-container"),J());a&2&&(B(),G(b.ccState?1:2))},dependencies:[eB,jy],encapsulation:2});var xQa=new RegExp("ALIAS:("+Object.values({GOOGLERS_UNRESTRICTED:"googlers_unrestricted",GOOGLE_DOMAIN:"google_domain",PUBLIC_NON_GOOGLE:"public_non_google",PUBLIC:"public"}).join("|")+")");var Ts=function(a,b){this.name_=b||"";this.address=a||""},Dwc=/"/g,Ewc=/\\"/g,Fwc=/\\/g,Gwc=/\\\\/g,Hwc=RegExp("^[+a-zA-Z0-9_.!#$%&'*\\/=?^`{|}~-]+@([a-zA-Z0-9-]+\\.)+[a-zA-Z0-9]{2,63}$"),Iwc=new RegExp("["+iea({LRE:"\u202a",RLE:"\u202b",PDF:"\u202c",LRM:"\u200e",RLM:"\u200f"}).join("")+"]","g");Ts.prototype.getName=function(){return this.name_};Ts.prototype.getAddress=function(){return this.address};Ts.prototype.setName=function(a){this.name_=a};Ts.prototype.toString=function(){return Jwc(this,'()<>@:\\".[],;')};
var Jwc=function(a,b){var c=a.getName();c=c.replace(Dwc,"");a:{for(var d=c,e=0;e<b.length;e++)if(Da(d,b[e])){b=!0;break a}b=!1}b&&(c='"'+c.replace(Fwc,"\\\\")+'"');return c==""?a.address:a.address==""?c:c+" <"+a.address+">"};Ts.prototype.isValid=function(){return Hwc.test(this.address)};
var Ns=function(a){var b=Kwc;a=a.replace(Iwc,"");for(var c="",d="",e=0;e<a.length;){var f=a;var h=e,l=f.charAt(h),q='"<(['.indexOf(l);if(q==-1||Lwc(f,h))f=l;else{q='">)]'.charAt(q);for(var u=f.indexOf(q,h+1);u>=0&&Lwc(f,u);)u=f.indexOf(q,u+1);f=u>=0?f.substring(h,u+1):l}f.charAt(0)=="<"&&f.indexOf(">")!=-1?(d=f.indexOf(">"),d=f.substring(1,d)):d==""&&(c+=f);e+=f.length}d==""&&c.indexOf("@")!=-1&&(d=c,c="");c=G4b(c);c=H4b(c,"'");c=H4b(c,'"');c=c.replace(Ewc,'"');c=c.replace(Gwc,"\\");d=G4b(d);return new b(d,
c)},Lwc=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 Kwc=function(a,b){Ts.call(this,a,b)};Nu(Kwc,Ts);var Mwc=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}$");Kwc.prototype.isValid=function(){return Nwc(this.address)};var Nwc=function(a){return a==null?!1:Mwc.test(a)};Kwc.prototype.toString=function(){return Jwc(this,'()<>@:\\".[],;\u055d\u060c\u1363\u1802\u1808\u2e41\u3001\uff0c\u061b\u1364\uff1b\uff64\u104a')};var Owc=/[^a-z0-9]+/ig,Pwc=[9,11,10,12,13,14,19],Qwc=[9,19,11],Rwc=[1,6],Swc=[2,7],Twc=[3,8],Uwc=[1,2,6,7,8,9,11,10,12,13,14,18,19],Agb=[3,4,5,17,20],bt=function(a,b,c){this.type_=a;this.normalizedValue_=wq(b);this.originalValue_=wq(c===void 0?b:c)};bt.prototype.getType=function(){return this.type_};bt.prototype.getValue=function(){return this.normalizedValue_};bt.prototype.getOriginalValue=function(){return this.originalValue_};
var Ys=function(a){return Pwc.includes(a.getType())},Vwc=function(a){return Qwc.includes(a.getType())},ygb=function(a,b){switch(a){case 1:return $s(b);case 6:return new bt(6,wq(b).toLowerCase(),b);case 2:return veb(b);case 7:return xeb(b);case 3:return Aeb(b);case 8:return new bt(8,wq(b).toLowerCase(),b);case 5:return new bt(5,wq(b).toLowerCase(),b);case 4:return Beb(b);case 9:return Wwc(b);case 12:return new bt(12,wq(b),b);case 13:return new bt(13,wq(b),b);case 14:return new bt(14,wq(b),b);case 10:return new bt(10,
wq(b),b);case 11:return new bt(11,wq(b),b);case 18:return zgb(b);case 19:return new bt(19,wq(b),b);case 20:return new bt(20,wq(b),b);case 17:return Xwc;default:return new bt(0,b)}},$s=function(a){return new bt(1,wq(a).toLowerCase(),a)},veb=function(a){var b=wq(a).toLowerCase().replace(Owc,"");return new bt(2,b,a)},Aeb=function(a){var b=wq(a).toLowerCase();return b==="me"?Xwc:new bt(3,b,a)},Beb=function(a){return new bt(4,wq(a).toLowerCase(),a)},xeb=function(a){var b=wq(a).toLowerCase().replace(Owc,
"");return new bt(7,b,a)},Wwc=function(a){return new bt(9,wq(a).toLowerCase(),a)},zgb=function(a){return new bt(18,wq(a),a)},Ss=function(a){var b=a.indexOf(":");return ygb(b>0?parseInt(a.substring(0,b),10):0,a.substring(b+1))};bt.prototype.toString=function(){return this.type_+":"+this.normalizedValue_};bt.prototype.serialize=function(){return this.type_+":"+this.originalValue_};bt.prototype.equals=function(a){return a?this===a?!0:this.type_===a.type_&&this.normalizedValue_===a.normalizedValue_:!1};
var Ywc=function(a){switch(a.getType()){case 1:case 6:return Nwc(a.originalValue_);case 2:case 7:return a=a.originalValue_.replace(Owc,""),a.length>=3&&a[0]>="0"&&a[0]<="9";case 3:case 8:return!!wq(a.originalValue_);default:return!0}},dt=ygb(0,""),Xwc=new bt(17,"me");var Is=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=Is.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 Is;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 At=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(At,V);At.prototype.getEntryPoint=function(){return Fk(this,5,0)};At.prototype.setEntryPoint=function(a){return gl(this,5,a)};var Ct=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Ct,V);Ct.prototype.getEntryPoint=function(){return Fk(this,1,0)};Ct.prototype.setEntryPoint=function(a){return gl(this,1,a)};var PK=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(PK,V);PK.prototype.getQuery=function(){return Kh(this,1,"")};PK.prototype.setQuery=function(a){return fl(this,1,a)};PK.prototype.clearQuery=function(){Np(this,1)};PK.prototype.hasQuery=function(){return Ck(this,1)};var Zwc=function(a,b){Xk(a,3,b)};PK.prototype.getAffinityVersion=function(){return Xj(this,7)};PK.prototype.setAffinityVersion=function(a){dl(this,7,a)};PK.prototype.getAffinityVersionOrUndefined=function(){return hv(this,7)};
var axc=function(a){var b=$wc();Np(a,8,Eb(b))};g=PK.prototype;g.getSources=function(){return W(this,At,10)};g.getInstanceId=function(){return Kh(this,11,"")};g.setInstanceId=function(a){return fl(this,11,a)};g.clearInstanceId=function(){Np(this,11)};g.hasInstanceId=function(){return Ck(this,11)};g.getInstanceIdOrUndefined=function(){return wr(this,11)};var vt=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(vt,V);g=vt.prototype;g.getPersonLoggingId=function(){return Kh(this,1)};g.setPersonLoggingId=function(a){fl(this,1,a)};g.getFieldLoggingId=function(){return Kh(this,2)};g.setFieldLoggingId=function(a){fl(this,2,a)};g.setFieldValue=function(a){return fl(this,3,a)};g.clearFieldValue=function(){return Np(this,3)};g.getName=function(){return Kh(this,4)};g.setName=function(a){return fl(this,4,a)};g.hasName=function(){return Ck(this,4)};
g.getNameOrUndefined=function(){return wr(this,4)};g.getContactId=function(){return Kh(this,5)};g.setContactId=function(a){return fl(this,5,a)};g.getProfileId=function(){return Kh(this,6)};g.getProfileId_legacyNullable=function(){return ql(this,6)};g.setProfileId=function(a){return fl(this,6,a)};g.hasProfileId=function(){return Ck(this,6)};g.getFieldType=function(){return Fk(this,7,0)};g.getIsPlaceholder=function(){return Ak(this,10,!1)};g.setIsPlaceholder=function(a){cl(this,10,a)};
g.getGroupId=function(){return Kh(this,11)};g.setGroupId=function(a){fl(this,11,a)};g.hasGroupId=function(){return Ck(this,11)};g.getIsBoosted=function(){return Ak(this,12,!1)};g.setIsBoosted=function(a){cl(this,12,a)};var ut=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(ut,V);g=ut.prototype;g.getProvenance=function(){return Fk(this,3,0)};g.setProvenance=function(a){return gl(this,3,a)};g.getContext=function(){return Fk(this,5,0)};g.getExistingSelectionsCount=function(){return Xj(this,6,0)};g.setExistingSelectionsCount=function(a){dl(this,6,a)};var tt=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(tt,V);tt.prototype.getInfo=function(){return W(this,vt,1)};var Cs=function(a){return W(a,ut,2)};tt.prototype.getSessionState=function(){return W(this,PK,3)};tt.prototype.setSessionState=function(a){return X(this,PK,3,a)};tt.prototype.hasSessionState=function(){return Jk(this,PK,3)};var rt=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(rt,V);g=rt.prototype;g.getType=function(){return Fk(this,1,0)};g.setType=function(a){return gl(this,1,a)};g.hasType=function(){return Dk(this,1)};g.getValue=function(){return Kh(this,2,"")};g.setValue=function(a){return fl(this,2,a)};g.hasValue=function(){return Ck(this,2)};var bxc=function(a){this.delegate_=a};g=bxc.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 dfb=function(){this.familyName_=this.givenName_=this.displayName_="";this.sourceType_=0};g=dfb.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 cxc=function(a,b){this.delegate_=a;this.name_=b};Y(cxc,bxc);cxc.prototype.getName=function(){return this.name_};var QK=function(a){this.delegate_=a};g=QK.prototype;g.getDelegate=function(){return this.delegate_};g.getResultType=function(){return this.delegate_.getResultType()};g.getTargetList=function(){return this.delegate_.getTargetList()};g.getMemberList=function(){return this.delegate_.getMemberList()};g.getTotalMemberCount=function(){return this.delegate_.getTotalMemberCount()};g.getPrimaryTarget=function(){return this.delegate_.getPrimaryTarget()};g.getDisplayName=function(){return this.delegate_.getDisplayName()};
g.getDisplayValue=function(){return this.delegate_.getDisplayValue()};g.getDescription=function(){return this.delegate_.getDescription()};g.getPhotoUrl=function(){return this.delegate_.getPhotoUrl()};g.getIsBoosted=function(){return this.delegate_.getIsBoosted()};g.getMatchInfo=function(){return this.delegate_.getMatchInfo()};g.getExtendedData=function(){return this.delegate_.getExtendedData()};var xq=function(a){this.delegate_=a};Y(xq,QK);g=xq.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 PLa=function(a,b){this.delegate_=a;this.targets_=b};Y(PLa,QK);PLa.prototype.getTargetList=function(){return this.targets_};var dxc=function(){};dxc.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 xq(new PLa(a,c))};dxc.prototype.reset=function(){};var RLa=function(a){this.types_=a};Y(RLa,dxc);RLa.prototype.shouldRemove=function(a){return!this.types_.includes(a.getTargetType())};RLa.prototype.reset=function(){};var SLa=function(a){this.sourceIds_=a.filter(function(b){return Agb.includes(b.getType())}).map(String);this.targetIds_=a.filter(function(b){return Uwc.includes(b.getType())}).map(String)};Y(SLa,dxc);SLa.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 ULa=function(a){this.filters_=a};ULa.prototype.filterResult=function(a){for(var b=k(this.filters_),c=b.next();!c.done;c=b.next())if(a=c.value.filterResult(a),!a)return null;return a};ULa.prototype.reset=function(a){for(var b=k(this.filters_),c=b.next();!c.done;c=b.next())c.value.reset(a)};var WLa=function(a){this.filters_=a};WLa.prototype.filterResult=function(a){for(var b=k(this.filters_),c=b.next();!c.done;c=b.next())if(c=c.value.filterResult(a))return c;return null};
WLa.prototype.reset=function(a){for(var b=k(this.filters_),c=b.next();!c.done;c=b.next())c.value.reset(a)};var exc=VLa();var fxc=new zd("PeoplekitClientConfig"),gxc=function(a){this.matcher=a};gxc.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};gxc.prototype.reset=function(){};var hxc=function(a,b){this.apiEnv_=a;this.experimentsConfig_=b};var ixc=function(a){this.profileId_=a};ixc.prototype.getProfileId=function(){return this.profileId_};var jxc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(jxc,V);g=jxc.prototype;g.setMaxResults=function(a){return dl(this,1,a)};g.getQuery=function(){return Kh(this,2,"")};g.setQuery=function(a){return fl(this,2,a)};g.clearQuery=function(){Np(this,2)};g.hasQuery=function(){return Ck(this,2)};var kxc=function(){this.dynamicDataProviders_=[];this.staticDataProviders_=[]};var lxc=Object.freeze({preferOauth:!1}),RK=Object.freeze({userProfileId:"",apiEnv:4,userEmail:"",clearcut:lxc});var mxc=function(a){this.internalArrayDoNotAccessOrElse=m(a,1)};Y(mxc,V);var nxc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(nxc,V);g=nxc.prototype;g.getExperimentIdsList=function(a){return pc(this,1,Mb,Uj(a))};g.setExperimentIdsList=function(a){return wc(this,1,a,Lb)};g.getExperimentIds=function(){return ev(this,1)};g.setExperimentIds=function(a){s4b(this,1,a)};g.getProfileId=function(){return Kh(this,2)};g.getProfileId_legacyNullable=function(){return ql(this,2)};g.setProfileId=function(a){return fl(this,2,a)};g.hasProfileId=function(){return Ck(this,2)};var oxc=function(){},pxc=function(){return!1},qxc=function(){this.experiments_=(new nxc).setProfileId(RK.userProfileId);this.peopleApiEnv_=RK.apiEnv;this.delegatorId_=this.userEmail_="";this.userKeys_=new Set;this.onAuthError_=oxc;this.offlineStorage_=null;this.apiKey_=this.clearcutUrl_="";this.isOffline_=pxc;this.customDataConfig_=null;this.requestCorpHeaders_=this.isOrgStateEnabled_=!1;var a=RK.userEmail;this.userEmail_=a||"";a&&this.userKeys_.add(String($s(a)))};g=qxc.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||oxc};
g.getApiKey=function(){return this.apiKey_};g.setApiKey=function(a){this.apiKey_=a;return this};var SK=function(a,b){b!=null||(b=r(kh));var c=new qxc;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 kxc;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 hxc(c.getPeopleApiEnv(),new ixc(""))}});this.peopleStore=b.peopleStore;this.environmentConfig=b.environmentConfig};SK.\u0275fac=function(a){return new (a||SK)(pd(fxc),pd(kh))};SK.\u0275prov=n({token:SK,factory:SK.\u0275fac});var txc=function(a,b,c,d,e,f){if(ls&&e)return rxc(a);if(e&&!d)return!1;if(!Pu){typeof b==="number"&&(b=sxc(b));var h=b==17||b==18||ls&&b==91;if((!c||ls)&&h||ls&&b==16&&(d||f))return!1}if(Qu&&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 Pu?f||e?!1:!(c&&d):!0;case 27:return!Qu&&!Pu}return Pu&&(d||e||f)?!1:rxc(a)},rxc=function(a){if(a>=48&&a<=57||a>=96&&a<=106||a>=65&&a<=90||Qu&&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 Pu;default:return!1}},sxc=function(a){if(Pu)a=uxc(a);else if(ls&&Qu)switch(a){case 93:a=91}return a},uxc=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 vxc=["multiUserInput"],wxc=function(a){this.component=a;this.name="Buganizer ACL Autocomplete Entries"};wxc.prototype.getPosition=function(){return 2};wxc.prototype.warmUpCache=function(){var a=new Fgc;Ggc(a,this.component.additionalContactsFn().map(function(b){var c=(new Egc).setResultType(7);b=gl((new aC).setValue(b.id),1,18).setName((new ZB).setDisplayName(b.text));Xu(c,2,aC,b);return c}));return Promise.resolve(a)};wxc.prototype.needsWarmUp=function(){return!1};
var TK=function(){Z.apply(this,arguments);var a=this;this.element=r(ef);this.principalTypes=r(pG);this.activeSession=r(Bu);this.documentationLinks=r(lI);this.appEvents=r(yD);this.cdr=r(cB,{self:!0});this.hotkeys=r(uH);this.usersChange=new aB(!0);this.includeViewAliases=this.includeAliases=!1;this.maxUserAllowed=-1;this.customValidators={};this.detailedUserValidators={};this.placeholderText=this.ariaLabel="";this.isValid=new aB;this.enablePeoplekitAc=Vt(this.activeSession,"enablePeoplekitUserAc");
this.BASE_AUTOCOMPLETE_CONFIG={showSuggestions:!1,moveAutocompleteAboveAnchorIfOffscreen:!0,density:2};this.SESSION_OPTIONS=(new Is).setFilter(XLa(yq(1),yq(18)));this.typedText="";this.items=[];this.chipifyFn=function(){xxc(a)};this.additionalContactsFn=function(){return yxc(a)};this.isFocused=!1;this.selectedChipIndex=-1;this.$element=this.element.nativeElement;this.validators={};this.violations=new Set};Y(TK,Z);TK.\u0275dir=Z.\u0275dir;
TK.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.appEvents.contactChipsRevertChanges.subscribe(function(){a.typedText=""}));this.subscriptions.add(vH(this.hotkeys,{title:"Manage Component Page",hotkeys:[{keys:[],displayAs:"Right Arrow (>)",description:"Move the Cursor to Input Field",onPress:function(){}}]}));this.validators=Object.assign({},{validateGaia:function(b,c){return zxc(c)},validateInternalAccessLevel:function(b,c){return Axc(a,c)},validateExternalAccessLevel:function(b,
c){return Bxc(a,c)}},this.customValidators)};TK.prototype.ngOnChanges=function(a){if(a.users||a.containerChips)this.items=Cxc(this,this.users),UK(this)};var UK=function(a){var b=[].concat(t(a.items)),c=Dxc(b),d=Exc(b);b=a.validate(c,d,b);a.isValid.emit(b);a.users&&oj(a.users,c)||(a.users=c,b&&a.usersChange.emit(c))};
TK.prototype.validate=function(a,b,c){for(var d=new Set,e=k(Object.entries(this.validators)),f=e.next();!f.done;f=e.next()){var h=k(f.value);f=h.next().value;h=h.next().value;h(a,c)||d.add(f)}a=k(Object.entries(this.detailedUserValidators));for(c=a.next();!c.done;c=a.next())e=k(c.value),c=e.next().value,e=e.next().value,e(b)||d.add(c);this.violations=d;return this.violations.size===0};
var $La=function(a){!a.isWidgetDisabled()&&Fxc(a)&&(a.isFocused=!0,a.textInputElement.nativeElement.focus())},YLa=function(a){zq(a,a.selectedChipIndex)&&(a.items[a.selectedChipIndex].isSelected=!1);a.selectedChipIndex=-1};TK.prototype.isWidgetDisabled=function(){return this.$element.classList.contains("disabled")||!!this.$element.hasAttribute("disabled")};var Fxc=function(a){var b,c;return a.maxUserAllowed<0||((c=(b=a.users)==null?void 0:b.length)!=null?c:0)<a.maxUserAllowed};
TK.prototype.removeItem=function(a){this.isWidgetDisabled()||!zq(this,a)||this.items[a].isReadonly||(YLa(this),this.items.splice(a,1),UK(this))};TK.prototype.setAccessLevel=function(a){this.accessLevel=a};
var yxc=function(a){return Gxc(a).map(function(b){return{text:$ta(b),id:mq({alias:b})}})},Gxc=function(a){if(!a.includeAliases||LC(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},xxc=function(a){setTimeout(function(){a.typedText&&Da(a.typedText,",")&&Hxc(a,a.typedText.split(",")[0].trim())})},aMa=function(a){Hxc(a,a.typedText.split(",")[0].trim())},Hxc=
function(a,b){b&&(b=xQa.test(b)?Ixc(a,b):Jxc(a,b),a.items.push(b));a.typedText="";UK(a)},zq=function(a,b){return b>=0&&b<a.items.length},Ixc=function(a,b){var c=c===void 0?!1:c;var d=oq(b);if(d.alias===void 0)throw Error("Rd`"+b);b=d.alias;d=$ta(b);return new VK("ALIAS",b,d,null,c,a)},Kxc=function(a,b){b=Sp(b);var c=new VK("GROUP",b,b,null,!1,a);qG(a.principalTypes,b,!0).then(function(d){c.detailedUserType=d.detailedUserType;UK(a)});return c},Lxc=function(a,b){var c=c===void 0?!1:c;b=Sp(b);var d=
new VK("USER",b,b,null,c,a);qG(a.principalTypes,b,!0).then(function(e){d.detailedUserType=e.detailedUserType;UK(a)});return d},Jxc=function(a,b){var c=c===void 0?!1:c;b=Sp(b);var d=new VK("PRINCIPAL_TYPE_UNSPECIFIED",b,b,null,c,a);qG(a.principalTypes,b,!0).then(function(e){d.principalType=e.principalType;d.detailedUserType=e.detailedUserType;UK(a)});return d},Mxc=function(a,b,c){return new VK("PRINCIPAL_TYPE_UNSPECIFIED","",b,c,!0,a)};TK.prototype.getAccessLevel=function(){return this.accessLevel};
TK.prototype.getAppName=function(){return this.activeSession.getAppName()};TK.prototype.onKeyDown=function(a){a.keyCode===8?zq(this,this.selectedChipIndex)?(zq(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?zq(this,this.selectedChipIndex)&&zq(this,this.selectedChipIndex)&&this.removeItem(this.selectedChipIndex):a.keyCode===39&&$La(this)};
var Cxc=function(a,b){b=(b||[]).map(function(d){return Nxc(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 Mxc(a,d.displayText,d.values.map(function(e){return Nxc(a,e)}))});return[].concat(t(c),t(b))}return b},Nxc=function(a,b){var c=b.split(":");if(c.length!==2)throw Error("Sd`"+b);var d=c[0];if(d!=="USER"&&d!=="GROUP"&&d!=="ALIAS")throw Error("Sd`"+b);return d==="ALIAS"?Ixc(a,b):d===
"USER"?Lxc(a,c[1]):Kxc(a,c[1])},Dxc=function(a){return(a||[]).filter(function(b){return b.principalType!=="PRINCIPAL_TYPE_UNSPECIFIED"}).map(function(b){return b.principalType+":"+b.value})},Exc=function(a){return(a||[]).filter(function(b){return b.detailedUserType!=="NO_DETAILED_TYPE"}).map(function(b){return b.detailedUserType+":"+b.value})},zxc=function(a){return!a.some(function(b){return b.isNonGaiaChip()})},Axc=function(a,b){return a.accessLevel!=="INTERNAL"?!0:!b.some(function(c){return c.isInternalAccessViolated()})},
Bxc=function(a,b){return a.accessLevel!=="EXTERNAL_PARTNER"?!0:!b.some(function(c){return c.isExternalPartnerAccessViolated()})};TK.prototype.selectAutocomplete=function(a){a.length>0&&(this.typedText=a[0].result().getPrimaryTarget().getValue(),aMa(this),this.isFocused=!1,this.cdr.detectChanges())};TK.\u0275fac=function(){var a;return function(b){return(a||(a=ee(TK)))(b||TK)}}();
TK.\u0275cmp=C({type:TK,selectors:[["b-multi-user-input"]],viewQuery:function(a,b){a&1&&Rg(vxc,5);if(a&2){var c;Vg(c=Wg())&&(b.textInputElement=c.first)}},hostBindings:function(a,b){a&1&&M("keydown",function(c){return b.onKeyDown(c)})},inputs:{users:"users",containerChips:"containerChips",accessLevel:"accessLevel",includeAliases:"includeAliases",idForInputBox:"idForInputBox",includeViewAliases:"includeViewAliases",maxUserAllowed:"maxUserAllowed",customValidators:"customValidators",detailedUserValidators:"detailedUserValidators",
ariaLabel:"ariaLabel",placeholderText:"placeholderText"},outputs:{usersChange:"usersChange",isValid:"isValid"},standalone:!1,features:[ch([cB,SK,{provide:fxc,useFactory:function(){var a=r(TK),b=r(fxc,{skipSelf:!0}),c;return Object.assign({},b,{staticDataProviders:[].concat(t((c=b.staticDataProviders)!=null?c:[]),[new wxc(a)])})}}]),cg,rv],decls:17,vars:14,consts:[["multiUserInput",""],["tabindex","0","role","listbox",1,"bv2-multi-user-input","keep-focus-ring",3,"click"],["id","input-description",
"hidden","",1,"screen-reader-only"],["role","listitem",1,"bv2-user-chip"],["role","alert",1,"bv2-multi-user-errors"],[3,"chipSelection","chipClear","chipRemove","isReadonly","isSelected","isWidgetDisabled","principalType","detailedUserType","nestedChips","value","displayText","accessLevel"],["b-adaptive-width-input","","tabindex","0",1,"bv2-multi-user-embedded-input",3,"bContactAutocomplete","additionalContactsCallback","ngModel","disabled","placeholder"],["b-adaptive-width-input","","tabindex","0",
"peoplekitAutocomplete","",1,"bv2-multi-user-embedded-input",3,"peoplekitAutocompleteConfig","peoplekitSearchSessionOptions","ngModel","disabled","placeholder"],["b-adaptive-width-input","","tabindex","0",1,"bv2-multi-user-embedded-input",3,"autocompleteActive","ngModelChange","focus","blur","bContactAutocomplete","additionalContactsCallback","ngModel","disabled","placeholder"],["b-adaptive-width-input","","tabindex","0","peoplekitAutocomplete","",1,"bv2-multi-user-embedded-input",3,"peoplekitAutocompleteSelectionChange",
"ngModelChange","focus","blur","peoplekitAutocompleteConfig","peoplekitSearchSessionOptions","ngModel","disabled","placeholder"],["target","_blank"]],template:function(a,b){a&1&&(I(0,"div",1),M("click",function(){return $La(b)}),I(1,"div",2),Q(2," Press tab to navigate through users and right arrow to go to input section "),J(),I(3,"div"),yg(4,ZLa,2,9,"div",3,xg),D(6,dMa,2,1),J()(),I(7,"div",4),D(8,eMa,4,1,"span")(9,fMa,2,0,"span")(10,gMa,2,0,"span")(11,hMa,2,0,"span")(12,iMa,2,0,"span")(13,jMa,2,
0,"span")(14,kMa,2,0,"span")(15,lMa,2,0,"span")(16,mMa,2,0,"span"),J());if(a&2){var c;sg("focused",b.isFocused);jg("aria-label",(c=b.idForInputBox)!==null&&c!==void 0?c:0);B(4);zg(b.items);B(2);G(Fxc(b)?6:-1);B();jg("aria-hidden",b.violations.size===0);B();G(b.violations.has("noRestrictedPlusGroups")?8:-1);B();G(b.violations.has("validateGaia")?9:-1);B();G(b.violations.has("validateInternalAccessLevel")?10:-1);B();G(b.violations.has("validateExternalAccessLevel")?11:-1);B();G(b.violations.has("escalationOwnerNotUser")?
12:-1);B();G(b.violations.has("escalationOwnerNotGoogler")?13:-1);B();G(b.violations.has("userNotInGoogleDomain")?14:-1);B();G(b.violations.has("userAlreadySelected")?15:-1);B();G(b.violations.has("isNotUserType")?16:-1)}},styles:[".bv2-multi-user-embedded-input[_ngcontent-%COMP%]{background-color:rgba(0,0,0,0);color:#202124;color:var(--text-high-contrast)}.bv2-multi-user-input[_ngcontent-%COMP%]{border:1px solid;border-color:#dadce0;border-color:var(--divider);border-radius:1px;cursor:text;min-height:27px;padding:6px;width:600px}.bv2-multi-user-input[_ngcontent-%COMP%]:hover{box-shadow:inset 0px 1px 2px rgba(0,0,0,.1)}.bv2-multi-user-input.focused[_ngcontent-%COMP%]{box-shadow:inset 0px 1px 2px rgba(0,0,0,.3);border-color:#1a73e8;border-color:var(--primary)}.bv2-multi-user-input[_ngcontent-%COMP%]   input.bv2-multi-user-embedded-input[_ngcontent-%COMP%]{border:0;display:inline-block;height:24px;min-width:100px;max-width:500px;width:100%;outline:none;padding-left:5px}.bv2-multi-user-input[_ngcontent-%COMP%]   .bv2-user-chip[_ngcontent-%COMP%]{cursor:default;display:inline-block;font-size:.8125rem;padding:3px;padding-top:2px;vertical-align:top}.ng-invalid[_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%]{border-color:#c5221f;border-color:var(--bad-high-contrast)}[disabled][_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%], .disabled[_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%]{border-color:#dadce0;border-color:var(--divider);color:#5f6368;color:var(--text-muted);cursor:initial}[disabled][_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%]   input.bv2-multi-user-embedded-input[disabled][_ngcontent-%COMP%], .disabled[_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%]   input.bv2-multi-user-embedded-input[disabled][_ngcontent-%COMP%]{background-color:#fff;background-color:var(--surface-default);display:none}[disabled][_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%]   .bv2-user-chip[_ngcontent-%COMP%]   span.bv2-user-chip-item[_ngcontent-%COMP%]   .user-chip-x[_ngcontent-%COMP%], .disabled[_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%]   .bv2-user-chip[_ngcontent-%COMP%]   span.bv2-user-chip-item[_ngcontent-%COMP%]   .user-chip-x[_ngcontent-%COMP%]{display:none}.disabled[_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%]:hover, [disabled][_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%]:hover{border-color:#dadce0;border-color:var(--divider);box-shadow:none}.bv2-multi-user-errors[_ngcontent-%COMP%]{color:#ea4335;color:var(--bad);font-size:.8125rem;line-height:18px;margin:0 0 1em;padding:9px 0}/*# sourceMappingURL=multi_user_input.css.map */"]});
var VK=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=VK.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("Td`"+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 WK={type:"no_indicator",displayText:""},Oxc={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."},qMa={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."},Pxc={type:"visible_to_partners",
displayText:"Visible to partners",displayTextCompact:"Partners",explanation:"This issue is visible to partner users."},nMa={type:"visible_to_public",displayText:"Visible to public",displayTextCompact:"Public",explanation:"This issue is visible to the public."},XK=function(){this.issueFullFridge=r(QF);this.componentAccessPolicyFridge=r(oD);this.activeSession=r(Bu)},Sxc=function(a,b,c){var d=a.issueFullFridge.watch(b);b=Ne(function(){return c?Ae(c):d.pipe(z(function(e){return e==null?void 0:e.snapshot[0].componentId}))}).pipe(Yf(function(e){return a.componentAccessPolicyFridge.watch(e)}));
return Ie([d,b]).pipe(z(function(e){var f=k(e);e=f.next().value;f=f.next().value;var h,l;var q=(l=e==null?void 0:e.snapshot[0].issueAccessLimitLevel)!=null?l:void 0;l=e==null?void 0:(h=e.accessLimit)==null?void 0:h.accessLevel;if(LC(a.activeSession))h=WK;else if(KC(a.activeSession))h=Qxc(q,l,f);else if(a.activeSession.isInternalSession())h=Rxc(q,l,f);else throw Error("Ud");return h}))},Qxc=function(a,b,c){switch(b){case "INTERNAL":return WK;case "EXTERNAL_PARTNER":return WK;case "EXTERNAL_PUBLIC":return rMa(a,
c);case "ACCESS_LEVEL_UNSPECIFIED":return WK;default:return WK}},Rxc=function(a,b,c){switch(b){case "INTERNAL":return WK;case "EXTERNAL_PARTNER":return a&&pMa(a)?Oxc:Pxc;case "EXTERNAL_PUBLIC":return rMa(a,c);case "ACCESS_LEVEL_UNSPECIFIED":return WK;default:return WK}};XK.\u0275fac=function(a){return new (a||XK)};XK.\u0275prov=n({token:XK,factory:XK.\u0275fac,providedIn:"root"});var YK=function(){Z.apply(this,arguments);var a=this;this.accessIndicatorService=r(XK);this.documentationLinks=r(lI);this.issueFullFridge=r(QF);this.issueApi=r(LE);this.compactMode=!1;this.issueId$=new Tf;this.accessIndicator$=this.issueId$.pipe(Yf(function(b){return Sxc(a.accessIndicatorService,b)}));this.chipClass$=this.accessIndicator$.pipe(z(function(b){return b.type}));this.chipText$=this.accessIndicator$.pipe(z(function(b){return a.compactMode?b.displayTextCompact||b.displayText:b.displayText}));
this.bubbleText$=this.accessIndicator$.pipe(z(function(b){return b.explanation}));this.shouldShowIndicator$=this.accessIndicator$.pipe(z(function(b){return b.type!=="no_indicator"}));this.issue$=this.issueId$.pipe(Yf(function(b){return a.issueFullFridge.watch(b)}));this.viewers$=Ie([this.issue$,this.accessIndicator$]).pipe(Lf(0,vp),Yf(function(b){var c=k(b);b=c.next().value;c=c.next().value;if(!b||!xMa(c.type))return Ae([]);var d,e;return a.issueApi.getRetainedAccessPrincipals(b==null?void 0:b.issueId,
(e=b==null?void 0:(d=b.snapshot[0])==null?void 0:d.issueAccessLimitLevel)!=null?e:"LIMIT_NONE",[],[]).pipe(z(function(f){f=[].concat(t(qq(f.writers)),t(qq(f.appenders)),t(qq(f.readers)));return[].concat(t(new Set(f)))}))}),Vf({refCount:!0,bufferSize:1}));this.showHovercard$=this.viewers$.pipe(z(function(b){return!!b.length}),Ue(Boolean),z(function(){}));this.loadTooltip$=new Tf(1);this.tooltipText$=this.loadTooltip$.pipe(Yf(function(){return a.viewers$}),z(function(b){return b.length?"Press Alt + Right arrow for more details":
""}));this.loadTooltipOnce=Ij(function(){a.loadTooltip$.next()})};Y(YK,Z);YK.\u0275dir=Z.\u0275dir;YK.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(YK.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)}}});YK.\u0275fac=function(){var a;return function(b){return(a||(a=ee(YK)))(b||YK)}}();
YK.\u0275cmp=C({type:YK,selectors:[["b-issue-visibility-chip"]],viewQuery:function(a,b){a&1&&Rg(rB,5);if(a&2){var c;Vg(c=Wg())&&(b.matTooltip=c.first)}},inputs:{issueId:"issueId",compactMode:"compactMode"},standalone:!1,features:[cg],decls:2,vars:3,consts:[["tooltip","matTooltip"],["card","onedevHovercard"],["tabindex","0",1,"chippy","rounded","nowrap","keep-focus-ring",3,"focus","blur","onedevHovercardTrigger","matTooltipDisabled","matTooltip","ngClass"],[1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],
[1,"issue-visibility-chip-bubble"],["target","_blank",3,"href"],[3,"onedevIsHovercardReady",4,"onedevHovercardLazyBody"],[3,"onedevIsHovercardReady"],["idForInputBox","Users who can view",3,"users"]],template:function(a,b){a&1&&(D(0,wMa,15,17),S(1,"async"));a&2&&G(U(1,1,b.shouldShowIndicator$)?0:-1)},dependencies:[aw,TK,$H,aI,fI,bI,mB,rB,ew],styles:[".chippy[_ngcontent-%COMP%]{margin-right:8px}.chippy[_ngcontent-%COMP%]:hover, .chippy[_ngcontent-%COMP%]:focus, .chippy[_ngcontent-%COMP%]:focus-visible, .chippy[_ngcontent-%COMP%]:focus-within{outline:1px solid;outline-color:#1967d2;outline-color:var(--primary-c700);outline-color:-webkit-focus-ring-color;outline-offset:2px}.chippy.visible_to_partners[_ngcontent-%COMP%]{background-color:#ffdeb5;background-color:var(--partner-bg);color:#202124;color:var(--partner-text);box-shadow:inset 0 0 0 2px var(--partner-outline)}.chippy.visible_to_listed_partners[_ngcontent-%COMP%]{background-color:rgba(0,0,0,0);background-color:var(--partner-listed-bg);color:#202124;color:var(--partner-text);box-shadow:inset 0 0 0 2px var(--partner-listed-outline)}.chippy.visible_to_public[_ngcontent-%COMP%]{background-color:#fbe983;background-color:var(--public-bg);color:#202124;color:var(--public-text);box-shadow:inset 0 0 0 2px var(--public-outline)}.chippy.visible_to_listed_public_users[_ngcontent-%COMP%]{background-color:rgba(0,0,0,0);background-color:var(--public-listed-bg);color:#202124;color:var(--public-text);box-shadow:inset 0 0 0 2px var(--public-listed-outline)}  .issue-visibility-chip-bubble a{color:#1a73e8;color:var(--link)}  .issue-visibility-chip-bubble a:visited{color:#7627bb;color:var(--link-visited)}  .issue-visibility-chip-bubble div.bv2-multi-user-input{width:auto}"],
changeDetection:0});var Txc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Txc,V);Txc.prototype.getDisplayName=function(){return Kh(this,1)};Txc.prototype.setDisplayName=function(a){return fl(this,1,a)};Txc.prototype.getPhotoUrl=function(){return Kh(this,2)};var Uxc=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,Uxc.messageId)};Y(Uxc,V);Uxc.messageId="b.UserProfileBatchResponse";var $K=function(){var a=this;this.userProfilesBatchApiConfig=r(ZK);this.batchApiAdapter=r(pD);this.batchAdaptedGet=this.batchApiAdapter.adapt(this.userProfilesBatchApiConfig);this.memoizingUserProfileMap=new Hnc(function(b){return a.batchAdaptedGet(b)},100)};$K.prototype.get=function(a){return this.memoizingUserProfileMap.get(a)};$K.\u0275fac=function(a){return new (a||$K)};$K.\u0275prov=n({token:$K,factory:$K.\u0275fac,providedIn:"root"});var ZK=function(){this.executor=r(MC)};
ZK.prototype.call=function(a){return this.executor.get({url:"action/user_profiles",options:{params:{usernames:[].concat(t(a)).join(",")}},responseConstructor:Uxc}).pipe(If(function(){return Ae(new Uxc)}))};ZK.prototype.split=function(a,b){return(a=uc(b,1,Txc,dc).get(a))?{photoUrl:a.getPhotoUrl(),highResolutionPhotoUrl:Kh(a,3),displayName:a.getDisplayName()}:void 0};ZK.\u0275fac=function(a){return new (a||ZK)};ZK.\u0275prov=n({token:ZK,factory:ZK.\u0275fac,providedIn:"root"});var ROa={"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","dx-workflow-gitwatcher@prod.google.com":"https://gstatic.com/buganizer/img/v2/gerrit_logo.svg","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"},Vxc={"apphosting-stubby-api--s-7egoogle-2ecom-3agitwatcher@prod.google.com":"GitWatcher","dx-workflow-gitwatcher@prod.google.com":"GitWatcher","pixel-modem-tools-bug-traffic-control@prod.google.com":"Riemann Bug Traffic Control\ud83d\udea6"};var aL=function(){Z.call(this);this.templateRef=r(Og);this.viewContainer=r(Pg);this.cdr=r(Ov);this.viewContainer.createEmbeddedView(this.templateRef)};Y(aL,Z);da.Object.defineProperties(aL.prototype,{refreshable:{configurable:!0,enumerable:!0,set:function(a){var b=this;a.pipe(Zf(this.destroyed$)).subscribe(function(){b.viewContainer.clear();b.viewContainer.createEmbeddedView(b.templateRef);b.cdr.detectChanges()})}}});aL.\u0275fac=function(a){return new (a||aL)};
aL.\u0275dir=Df({type:aL,selectors:[["","refreshable",""]],inputs:{refreshable:"refreshable"},standalone:!1,features:[cg]});var bL=function(){this.refreshMonitor=r(fF);this.user="";this.coinonly=null};bL.\u0275fac=function(a){return new (a||bL)};bL.\u0275cmp=C({type:bL,selectors:[["b-availability-chip"]],inputs:{user:"user",coinonly:"coinonly"},standalone:!1,decls:1,vars:1,consts:[[3,"refreshable"],[3,"user"]],template:function(a,b){a&1&&D(0,yMa,1,2,"ng-template",0);a&2&&E("refreshable",b.refreshMonitor.getObservable())},dependencies:[QJ,aL],styles:["waldo-availability-chip[_ngcontent-%COMP%] { margin-left: 5px; }"],changeDetection:0});var cL=function(){var a=this;this.session=r(Bu);this.userProfiles=r($K);this.hovercardEnabled=this.availabilityChipEnabled=!0;this.hovercardFocusEnabled=!1;this.email$=new Tf(1);this.showEmail$=new Xi(!1);this.isNonObfuscatedEmail=Aj;this.userProfile$=this.email$.pipe(Yf(function(b){return a.userProfiles.get(b)})).pipe(Xf(void 0));this.content$=Ie([this.email$,this.userProfile$,this.showEmail$]).pipe(z(function(b){var c=k(b);b=c.next().value;var d=c.next().value;c=c.next().value;d=d==null?void 0:
d.displayName;var e=Vxc[b];e&&(d=e);return d?c?b+" ("+d+")":d:b}));this.vars$=Ie([this.email$,this.content$]).pipe(z(function(b){var c=k(b);b=c.next().value;c=c.next().value;return{email:b,content:c}}));this.enableWaldoAvailability=Vt(this.session,"enableWaldoAvailability")&&this.session.isInternalSession()};da.Object.defineProperties(cL.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)}}});
cL.\u0275fac=function(a){return new (a||cL)};
cL.\u0275cmp=C({type:cL,selectors:[["b-user-display-name"]],inputs:{availabilityChipEnabled:"availabilityChipEnabled",hovercardEnabled:"hovercardEnabled",hovercardFocusEnabled:"hovercardFocusEnabled",email:"email",showEmail:"showEmail"},standalone:!1,decls:2,vars:3,consts:[["displayName",""],["card",""],["coinonly","",3,"user"],["role","button",1,"keep-focus-ring",3,"onedevHovercardTrigger"],[4,"ngTemplateOutlet"],[3,"email"]],template:function(a,b){a&1&&(D(0,FMa,4,1),S(1,"async"));if(a&2){var c;
G((c=U(1,1,b.vars$))?0:-1,c)}},dependencies:[dw,bL,tK,$H,fI,ew],encapsulation:2,changeDetection:0});var dL=function(){this.model={};this.hovercardEnabled=this.availabilityChipEnabled=!0;this.hovercardFocusEnabled=!1};dL.prototype.getDisplayString=function(){return Pj(this.model)};var Wxc=function(a){var b=a.model;return(b&&b.getUserGaiaStatus?Mua(Oua(b)):Mua(b))&&!!a.getEmailAddress()};dL.prototype.getEmailAddress=function(){return Sj(this.model)||""};dL.\u0275fac=function(a){return new (a||dL)};
dL.\u0275cmp=C({type:dL,selectors:[["b-user-display"]],inputs:{model:"model",availabilityChipEnabled:"availabilityChipEnabled",hovercardEnabled:"hovercardEnabled",hovercardFocusEnabled:"hovercardFocusEnabled"},standalone:!1,decls:3,vars:2,consts:[[3,"email","hovercardEnabled","availabilityChipEnabled","hovercardFocusEnabled"]],template:function(a,b){a&1&&(Ag(0),D(1,GMa,1,4,"b-user-display-name",0)(2,HMa,2,1,"span"),Bg());a&2&&(B(),G(Wxc(b)?1:-1),B(),G(Wxc(b)?-1:2))},dependencies:[cL],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 eL=function(){Z.apply(this,arguments);this.errorHandler=r(CI);this.issueFullFridge=r(QF);this.upvoted=!1;this.voteCount=0;this.onVote=new aB;this.tooltip="Indicate that you are affected by this issue";this.isSaving=!1};Y(eL,Z);eL.\u0275dir=Z.\u0275dir;
eL.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;emc(this.issueFullFridge,String(this.issueId),this.upvoted).pipe(Nf(),Zf(this.destroyed$)).subscribe(function(){a.isSaving=!1},function(c){a.isSaving=!1;a.errorHandler.errorHandler(null,c);a.upvoted=!a.upvoted;a.voteCount-=b})}};eL.\u0275fac=function(){var a;return function(b){return(a||(a=ee(eL)))(b||eL)}}();
eL.\u0275cmp=C({type:eL,selectors:[["b-app-vote-button"]],hostVars:2,hostBindings:function(a,b){a&2&&sg("no-votes",b.voteCount<=0)},inputs:{issueId:"issueId",upvoted:"upvoted",voteCount:"voteCount"},outputs:{onVote:"onVote"},standalone:!1,features:[cg],decls:4,vars:6,consts:[["type","button","mat-button","",1,"small",3,"click","matTooltip"],["svgIcon","exposure_plus_1_24px",1,"icon-m"],[3,"title"]],template:function(a,b){a&1&&(I(0,"button",0),M("click",function(){return b.onClick()}),K(1,"mat-icon",
1),I(2,"output",2),Q(3),J()());a&2&&(E("matTooltip",b.upvoted?"Remove vote: I am not impacted":"Vote: I am impacted"),jg("aria-pressed",b.upvoted)("aria-label","Vote count "+b.voteCount),B(2),Kg("title","",b.voteCount," votes on this issue"),B(),R(" ",b.voteCount>99999?"99999+":b.voteCount," "))},dependencies:[pB,eB,jy,mB,rB],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 VMa=function(){return[]},fL=function(){Z.apply(this,arguments);var a=this;this.cdr=r(cB,{self:!0});this.activeSession=r(Bu);this.analytics=r(OF);this.relationshipService=r($F);this.issueFullFridge=r(QF);this.butterBar=r(fH);this.STATUS_JS_FULL_TEXT=Nj;this.ISSUE_PRIORITY_TEXT_JS=fhc;this.ISSUE_PRIORITY_ENUM=dgc;this.ROUTES=Qq;this.providedIssueId$=new Tf(1);this.issue$=this.providedIssueId$.pipe(Yf(function(b){return a.issueFullFridge.watch(b)}),Ue(ik));this.FormattingMode=nk;this.init=new Tf(1)};
Y(fL,Z);fL.\u0275dir=Z.\u0275dir;fL.prototype.ngOnInit=function(){var a=this;this.providedIssueId$.next(this.issueId);this.issue$.pipe(Zf(this.destroyed$)).subscribe(function(b){a.issue=b;a.firstEvent=b.description&&gDa(b.description,b);a.cdr.markForCheck();a.init.next()})};fL.prototype.priorityClass=function(a){switch(a){case "P0":return"high p0";case "P1":return"high";default:return"low"}};
var UMa=function(a,b){return Qj(b).includes(a.activeSession.getUserEmail())},PMa=function(a,b){var c;return se(function(d){if(d.nextAddress==1)return c=a.issueId,a.issueFullFridge.manualUpdate(b,function(e){var f=e.parentIssueIds.indexOf(c);f<0||(e.parentIssueIds.splice(f,1),Object.assign({},e))}),te(d,2,3),y(d,Fe(a.relationshipService.delete(c,"CHILD",b)),3);if(d.nextAddress!=2)return ue(d),a.issueFullFridge.poke(b),ve(d,0);we(d);a.butterBar.showWarning("Error removing the parent issue.");return d.jumpTo(3)})};
fL.\u0275fac=function(){var a;return function(b){return(a||(a=ee(fL)))(b||fL)}}();
fL.\u0275cmp=C({type:fL,selectors:[["b-issue-card"]],inputs:{issueId:"issueId",location:"location",childContextId:"childContextId"},outputs:{init:"init"},standalone:!1,features:[ch([cB]),cg],decls:2,vars:1,consts:[["role","dialog","aria-label","Issue Hovercard",1,"onedev-hovercard-content"],[1,"bv2-hovercard-wide"],[3,"href"],[1,"bv2-issue-card-title"],[1,"issue-card-id-snippets"],[3,"issueId"],[1,"priority-status"],[1,"bv2-priority",3,"ngClass"],[1,"issue-card-buttons","margin-y"],[3,"onCc","issueId",
"ccState"],["type","button","mat-button","","matTooltip","Remove the parent/child relationship with this issue",1,"medium"],[1,"bv2-issue-card-comment"],[3,"model","hovercardEnabled"],[3,"issueId","voteCount","upvoted"],["type","button","mat-button","","matTooltip","Remove the parent/child relationship with this issue",1,"medium",3,"click"],["mode","date",1,"float-right",3,"timestamp"],[3,"issueId","issueAccessLevel","formattingMode","note"]],template:function(a,b){a&1&&(I(0,"div",0),D(1,WMa,22,16,
"div",1),J());if(a&2){var c;B();G((c=b.issue&&b.issue.snapshot[0])?1:-1,c)}},dependencies:[aw,eB,jy,mB,rB,dL,iH,NK,eL,YK,OK],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 Xxc=Eu(["https://www.gstatic.com/buganizer/gfx/","/",""]),iL=Eu(["https://www.gstatic.com/buganizer/img/v2/",""]),Yxc=zi(Xxc,"2024-12-02-e7c9a275","all-icons.svg"),Zxc=zi(iL,"empty_blocker_light.png"),$xc=zi(iL,"empty_blocker_dark.png"),ayc=zi(iL,"empty_child_light.png"),byc=zi(iL,"empty_child_dark.png"),cyc=zi(iL,"robot_sleeping.png"),dyc=zi(iL,"tea_light.png"),eyc=zi(iL,"tea_dark.png"),fyc=zi(iL,"space_empty_state.png"),gyc=zi(iL,"eg_work_area.png"),hyc=zi(iL,"empty_triage.png");zi(iL,"gerrit_logo.svg");var jL=function(){this.ICON_URL=Yxc;this.LOGO_LIGHT="https://www.gstatic.com/buganizer/img/v3/logo_light.svg";this.EMPTY_BLOCKER_LIGHT=Zxc;this.EMPTY_BLOCKER_DARK=$xc;this.EMPTY_CHILD_LIGHT=ayc;this.EMPTY_CHILD_DARK=byc;this.ROBOT_SLEEPING=cyc;this.TEA_LIGHT=dyc;this.TEA_DARK=eyc;this.SPACE_EMPTY_STATE=fyc;this.WORK_AREA_EXAMPLE_ILLUSTRATION=gyc;this.EMPTY_TRIAGE=hyc};jL.\u0275fac=function(a){return new (a||jL)};jL.\u0275prov=n({token:jL,factory:jL.\u0275fac,providedIn:"root"});var kL=function(){this.activeSession=r(Bu);this.documentationLinks=r(lI);this.trackerHelpers=r(yH);this.imageUrls=r(jL);this.compactMode=!1;this.showHovercard=!0;this.isGlobalBuganizer=!1;this.logoDark=this.logoLight=this.extendedName=this.name=this.redirectUrl=""};
kL.prototype.ngOnChanges=function(a){if(a.tracker||a.isGlobalBuganizer){this.redirectUrl=this.isGlobalBuganizer?Npc(this.trackerHelpers,""):Fr(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}};kL.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:""};kL.\u0275fac=function(a){return new (a||kL)};
kL.\u0275cmp=C({type:kL,selectors:[["b-tracker-chip"]],inputs:{tracker:"tracker",compactMode:"compactMode",showHovercard:"showHovercard",isGlobalBuganizer:"isGlobalBuganizer"},standalone:!1,features:[rv],decls:1,vars:1,consts:[["card","onedevHovercard"],["type","button",1,"chippy","rounded",3,"onedevHovercardTrigger","onedevHovercardActive"],["alt","",1,"logo","light-only",3,"src"],["alt","",1,"logo","dark-only",3,"src"],[1,"name"],[1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"hovertext"],
[1,"flex-kids-y","padded-s-top","actions"],["mat-button","","target","_blank",1,"primary",3,"href"]],template:function(a,b){a&1&&D(0,$Ma,15,12);a&2&&G(b.tracker||b.isGlobalBuganizer?0:-1)},dependencies:[$H,fI,eB,ky],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 lL=function(){var a=this;this.activeSession=r(Bu);this.trackerFridge=r(NG);this.compactMode=!1;this.showHovercard=!0;this.trackerId$=new Xi(void 0);this.tracker$=this.trackerId$.pipe(Yf(function(b){return b?a.trackerFridge.watch(b).pipe(If(function(){return Ae(void 0)})):Ae(void 0)}));this.isCurrentTracker$=this.trackerId$.pipe(z(function(b){var c,d=(c=a.activeSession.getTracker())==null?void 0:c.trackerId;return d?d===b:!b}))};lL.prototype.ngOnChanges=function(a){a.trackerId&&this.trackerId$.next(this.trackerId)};
da.Object.defineProperties(lL.prototype,{isGlobalBuganizer:{configurable:!0,enumerable:!0,get:function(){return!this.trackerId$.value}}});lL.\u0275fac=function(a){return new (a||lL)};
lL.\u0275cmp=C({type:lL,selectors:[["b-tracker-chip-smart"]],inputs:{trackerId:"trackerId",compactMode:"compactMode",showHovercard:"showHovercard"},standalone:!1,features:[rv],decls:2,vars:3,consts:[[3,"tracker","compactMode","showHovercard","isGlobalBuganizer"]],template:function(a,b){a&1&&(D(0,aNa,2,6,"b-tracker-chip",0),S(1,"async"));a&2&&G(U(1,1,b.isCurrentTracker$)===!1?0:-1)},dependencies:[kL,ew],encapsulation:2,changeDetection:0});var mL=function(){this.appEvents=r(yD);this.issue=null;this.enableHovercard=this.useButtonToNavigate=!1;this.title="";this.isDataLoaded=!1;this.link=""};mL.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:"")};mL.prototype.getIssueUrl=function(a){return this.issueUrlFactory?this.issueUrlFactory(a):Qq.viewIssue.makeHref(a)};
var bNa=function(a){var b,c=(b=a.issue)==null?void 0:b.issueId;c!=null&&a.appEvents.didShowIssueHovercard.next(c)};mL.\u0275fac=function(a){return new (a||mL)};
mL.\u0275cmp=C({type:mL,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"},standalone:!1,features:[rv],decls:8,vars:6,consts:[["issueHovercard","onedevHovercard"],[1,"title","title-location",3,"isReady"],[3,"trackerId","compactMode"],[1,"hover-link","line-clamp-3","break-word",3,"routerLink",
"target","onedevHovercardTrigger","onedevHovercardActive"],[1,"b-chip","s","margin-s-left",3,"class","matTooltip"],[3,"issueId"],[1,"line-clamp-3",3,"onedevHovercardTrigger","onedevHovercardActive"],[1,"line-clamp-3"],["mat-icon-button","","tabindex","0","matTooltip","Open issue in a new tab","aria-label","Open issue",1,"small","visible-on-row-active","hover-link","pop-out-link",3,"keydown","click","routerLink","target","matTooltipShowDelay"],["svgIcon","pop-out",1,"icon-s"],[1,"line-clamp-3",3,"onedevHovercardShown",
"onedevHovercardTrigger","onedevHovercardActive"],[1,"hover-link","line-clamp-3","break-word",3,"keydown","click","onedevHovercardShown","routerLink","target","onedevHovercardTrigger","onedevHovercardActive"],[1,"b-chip","s","margin-s-left",3,"matTooltip"]],template:function(a,b){a&1&&(I(0,"b-async-data-placeholder",1),K(1,"b-tracker-chip-smart",2),D(2,eNa,4,4)(3,fNa,2,5,"a",3)(4,gNa,2,7,"span",4),J(),I(5,"onedev-hovercard",null,0),D(7,hNa,1,1,"b-issue-card",5),J());if(a&2){var c;E("isReady",b.isDataLoaded);
B();E("trackerId",b.issue==null?null:b.issue.trackerId)("compactMode",!0);B();G(b.useButtonToNavigate?2:3);B(2);G((c=b.trailingChip)?4:-1,c);B(3);G(b.enableHovercard&&b.issue?7:-1)}},dependencies:[nH,pB,VA,eB,my,mB,rB,$H,fI,fL,lL],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 iyc=function(a,b){return[a,b]},jyc=[[["b-callout-body"]],[["b-callout-actions"]]],nL=function(){this.messageType="info";this.format="default"};nL.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"}};nL.\u0275fac=function(a){return new (a||nL)};
nL.\u0275cmp=C({type:nL,selectors:[["b-callout"]],hostVars:5,hostBindings:function(a,b){a&2&&tg(fh(2,iyc,b.messageType,b.format).join(" "))},inputs:{messageType:"messageType",format:"format",iconOverride:"iconOverride"},standalone:!1,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(jyc),I(0,"div",0)(1,"div",1),K(2,"mat-icon",2),Jg(3),J(),I(4,"div",3),Jg(5,1),J()());
a&2&&(B(2),E("svgIcon",b.getIconName()))},dependencies:[pB],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:rgb(253.5,243.5,242.5);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 oL=function(){};oL.\u0275fac=function(a){return new (a||oL)};oL.\u0275dir=Df({type:oL,selectors:[["b-callout-body"],["b-callout-actions"]],standalone:!1});var kyc=function(){this.text="..."};kyc.\u0275fac=function(a){return new (a||kyc)};
kyc.\u0275cmp=C({type:kyc,selectors:[["ai-spinner"]],hostVars:2,hostBindings:function(a,b){a&2&&sg("large",b.large)},inputs:{large:"large",text:"text"},standalone:!1,decls:2,vars:1,template:function(a,b){a&1&&(I(0,"label"),Q(1),J());a&2&&(B(),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 lyc=new zd("GMAT_PROGRESS_SPINNER_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var myc=["determinateSpinner"],nyc=new zd("mat-progress-spinner-default-options",{providedIn:"root",factory:jNa}),pL=function(){this._elementRef=r(ef);this._defaultColor="primary";this._value=0;this._diameter=100;var a=r(Gv,{optional:!0}),b=r(nyc);this._noopAnimations=a==="NoopAnimations"&&!!b&&!b._forceAnimations;this.mode=this._elementRef.nativeElement.nodeName.toLowerCase()==="mat-spinner"?"indeterminate":"determinate";b&&(b.color&&(this.color=this._defaultColor=b.color),b.diameter&&(this.diameter=
b.diameter),b.strokeWidth&&(this.strokeWidth=b.strokeWidth))};g=pL.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(pL.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}}});pL.\u0275fac=function(a){return new (a||pL)};
pL.\u0275cmp=C({type:pL,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(a,b){a&1&&Rg(myc,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&&(jg("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow",b.mode==="determinate"?b.value:null)("mode",b.mode),tg("mat-"+b.color),rg("width",b.diameter,"px")("height",b.diameter,"px")("--mdc-circular-progress-size",
b.diameter+"px")("--mdc-circular-progress-active-indicator-width",b.diameter+"px"),sg("_mat-animation-noopable",b._noopAnimations)("mdc-circular-progress--indeterminate",b.mode==="indeterminate"))},inputs:{color:"color",mode:"mode",value:[2,"value","value",vh],diameter:[2,"diameter","diameter",vh],strokeWidth:[2,"strokeWidth","strokeWidth",vh]},exportAs:["matProgressSpinner"],features:[dg],decls:14,vars:11,consts:[["circle",""],["determinateSpinner",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],
["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],
["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(a,b){a&1&&(D(0,iNa,2,8,"ng-template",null,0,ih),I(2,"div",2,1),Ud(),I(4,"svg",3),K(5,"circle",4),J()(),Vd(),I(6,"div",5)(7,"div",6)(8,"div",7),Cg(9,8),J(),I(10,"div",9),Cg(11,8),J(),I(12,"div",10),Cg(13,8),J()()());a&2&&(a=L(1),B(4),jg("viewBox",b._viewBox()),B(),rg("stroke-dasharray",b._strokeCircumference(),"px")("stroke-dashoffset",b._strokeDashOffset(),
"px")("stroke-width",b._circleStrokeWidth(),"%"),jg("r",b._circleRadius()),B(4),E("ngTemplateOutlet",a),B(2),E("ngTemplateOutlet",a),B(2),E("ngTemplateOutlet",a))},dependencies:[dw],styles:[".mat-mdc-progress-spinner{display:block;overflow:hidden;line-height:0;position:relative;direction:ltr;transition:opacity 250ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-progress-spinner circle{stroke-width:var(--mdc-circular-progress-active-indicator-width, 4px)}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none !important}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none !important}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}@media(forced-colors: active){.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1;animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mdc-circular-progress-active-indicator-color, var(--mat-sys-primary))}@media(forced-colors: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}\n"],
encapsulation:2,changeDetection:0});var qL=function(){};qL.\u0275fac=function(a){return new (a||qL)};qL.\u0275mod=Cf({type:qL});qL.\u0275inj=p({imports:[Ox]});var rL=function(a,b){var c=this;this.options=a;this.progressSpinner=b;this.destroyed=new Uf;this.labelElement=document.createElement("label");this.labelElement.classList.add("cdk-visually-hidden");this.labelElement.classList.add("gmat-mdc-progress-spinner-accessible-label");mta(b._elementRef.nativeElement).pipe(Zf(this.destroyed)).subscribe(function(d){c.writeLabelSpan(d[0],d[1])})};rL.prototype.ngOnInit=function(){this.initializeLabelSpan()};
rL.prototype.ngOnDestroy=function(){this.labelElement.remove();this.destroyed.next();this.destroyed.complete()};rL.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())};
rL.prototype.writeLabelSpan=function(a,b){a=b==="indeterminate"?a:a+" "+gfc.format(Number(b)/100);this.labelElement.textContent=a};rL.\u0275fac=function(a){return new (a||rL)(hf(lyc),hf(pL,10))};rL.\u0275dir=Df({type:rL,selectors:[["mat-progress-spinner"],["mat-spinner"]],hostAttrs:["aria-hidden","true"],hostVars:3,hostBindings:function(a,b){a&2&&(jg("tabindex",null),sg("gmat-mdc-progress-spinner",!b.options.disableGmatStyle))},standalone:!1});var sL=function(){this.ariaLabel="loading";this.SIZE_SMALL=16;this.SIZE_LARGE=36;this.DIAMETER_SMALL=2};sL.\u0275fac=function(a){return new (a||sL)};sL.\u0275cmp=C({type:sL,selectors:[["b-spinner"]],inputs:{large:"large",ariaLabel:"ariaLabel"},standalone:!1,decls:2,vars:2,consts:[[1,"large",3,"diameter"],[1,"small",3,"diameter","strokeWidth"]],template:function(a,b){a&1&&D(0,kNa,1,2,"mat-spinner",0)(1,lNa,1,3,"mat-spinner",1);a&2&&(G(b.large?0:-1),B(),G(b.large?-1:1))},dependencies:[rL,pL],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 tL=function(a,b){this.checker=a;this.document=b};tL.prototype.focusFirstFocusableElement=function(a){(a=oyc(this,a,!0))&&a.focus()};var oyc=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?oyc(a,b[c]):null;if(d)return d}return null};tL.\u0275fac=function(a){return new (a||tL)(pd(zw),pd(ii))};tL.\u0275prov=n({token:tL,factory:tL.\u0275fac,providedIn:"root"});var uL=function(){this.elementRef=r(ef);this.interactivityHelper=r(tL)};uL.prototype.ngOnInit=function(){};uL.prototype.focus=function(){this.element.contains(document.activeElement)||this.interactivityHelper.focusFirstFocusableElement(this.element)};da.Object.defineProperties(uL.prototype,{element:{configurable:!0,enumerable:!0,get:function(){return this.elementRef.nativeElement}}});uL.\u0275fac=function(a){return new (a||uL)};
uL.\u0275dir=Df({type:uL,selectors:[["tr","row",""]],inputs:{row:"row"},exportAs:["tableRowDirective"],standalone:!1});var vL=function(){};vL.\u0275fac=function(a){return new (a||vL)};vL.\u0275mod=Cf({type:vL});vL.\u0275inj=p({});var pyc=function(a,b){dx.call(this,a);this.directives=a;this.isEqual=b};Y(pyc,dx);var Cq=function(a,b){var c;return se(function(d){if(d.nextAddress==1)return y(d,Fe(a.directives.changes.pipe(Xf(a.directives.toArray()),z(function(e){return e.find(function(f){return a.isEqual(f.row,b)})}),Ue(Boolean),Ve(3E3))),2);c=d.yieldResult;a.setActiveItem(c);xe(d)})};var qyc=new zd("GMAT_CHIPS_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var wL=function(a){this.options=a};wL.\u0275fac=function(a){return new (a||wL)(hf(qyc))};
wL.\u0275dir=Df({type:wL,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&&sg("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"},standalone:!1});var ryc=new zd("GMAT_MENU_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var xL=function(a,b){this.options=a;a.disableGmatStyle||ifc(b,"gmat-mdc-menu")};xL.\u0275fac=function(a){return new (a||xL)(hf(ryc),hf(Kx))};xL.\u0275dir=Df({type:xL,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],standalone:!1,features:[ch([{provide:Kx,useClass:lB}])]});var syc=new zd("GMAT_SELECT_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var yL=function(a){this.options=a};yL.\u0275fac=function(a){return new (a||yL)(hf(syc))};yL.\u0275dir=Df({type:yL,selectors:[["mat-select"]],hostVars:2,hostBindings:function(a,b){a&2&&sg("gmat-mdc-select",!b.options.disableGmatStyle)},standalone:!1});var tyc=new zd("GMAT_TABLE_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var zL=function(a){this.options=a};zL.\u0275fac=function(a){return new (a||zL)(hf(tyc))};zL.\u0275dir=Df({type:zL,selectors:[["table","mat-table",""],["mat-table"]],hostVars:2,hostBindings:function(a,b){a&2&&sg("gmat-mdc-table",!b.options.disableGmatStyle)},standalone:!1});var uyc=new zd("mat-chips-default-options",{providedIn:"root",factory:function(){return{separatorKeyCodes:[13]}}}),vyc=new zd("MatChipAvatar"),wyc=new zd("MatChipTrailingIcon"),xyc=new zd("MatChipRemove"),yyc=new zd("MatChip");var AL=function(){this._elementRef=r(ef);this._parentChip=r(yyc);this._isPrimary=this.isInteractive=!0;this._disabled=!1;this.tabIndex=-1;this._allowFocusWhenDisabled=!1;r(Aw).load(Ux);this._elementRef.nativeElement.nodeName==="BUTTON"&&this._elementRef.nativeElement.setAttribute("type","button")};g=AL.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(AL.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){var a;return this._disabled||((a=this._parentChip)==null?void 0:a.disabled)||!1},set:function(a){this._disabled=a}}});AL.\u0275fac=function(a){return new (a||AL)};
AL.\u0275dir=Df({type:AL,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(a,b){a&1&&M("click",function(c){return b._handleClick(c)})("keydown",function(c){return b._handleKeydown(c)});a&2&&(jg("tabindex",b._getTabindex())("disabled",b._getDisabledAttribute())("aria-disabled",b.disabled),sg("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",uh],tabIndex:[2,"tabIndex","tabIndex",function(a){return a==null?-1:vh(a)}],_allowFocusWhenDisabled:"_allowFocusWhenDisabled"},features:[dg]});var BL=function(){AL.apply(this,arguments);this._isPrimary=this.isInteractive=!1};Y(BL,AL);BL.\u0275fac=function(){var a;return function(b){return(a||(a=ee(BL)))(b||BL)}}();BL.\u0275dir=Df({type:BL,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"],features:[ch([{provide:wyc,useExisting:BL}]),cg]});var zyc=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],CL=function(){this._changeDetectorRef=r(Ov);this._elementRef=r(ef);this._ngZone=r(kh);this._focusMonitor=r(ww);this._globalRippleOptions=r(Wx,{optional:!0});this._document=r(ii);this._onFocus=new Uf;this._onBlur=new Uf;this.role=null;this._hasFocusInternal=!1;this.id=r(Ww).getId("mat-mdc-chip-");this.ariaDescription=this.ariaLabel=null;this._ariaDescriptionId=
this.id+"-aria-description";this._chipListDisabled=!1;this.removable=!0;this._disabled=this.disableRipple=this.highlighted=!1;this.removed=new Dv;this.destroyed=new Dv;this.basicChipAttrName="mat-basic-chip";this._rippleLoader=r(dy);this._injector=r(Ye);r(Aw).load(Ux);r(Aw).load(Bw);this._animationsDisabled=r(Gv,{optional:!0})==="NoopAnimations";this._monitorFocus();var a;(a=this._rippleLoader)==null||r9b(a,this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()})};
g=CL.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=Te(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||q9b(a,this._elementRef.nativeElement);var b;(b=this._actionChanges)==null||b.unsubscribe();this.destroyed.emit({chip:this});this.destroyed.complete()};g.remove=function(){this.removable&&this.removed.emit({chip:this})};g._isRippleDisabled=function(){var a;return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!((a=this._globalRippleOptions)==null||!a.disabled)};
g._hasTrailingIcon=function(){return!(!this.trailingIcon&&!this.removeIcon)};g._handleKeydown=function(a){if(a.keyCode===8&&!a.repeat||a.keyCode===46)a.preventDefault(),this.remove()};g.focus=function(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)};g._getSourceAction=function(a){return this._getActions().find(function(b){b=b._elementRef.nativeElement;return b===a||b.contains(a)})};
g._getActions=function(){var a=[];this.primaryAction&&a.push(this.primaryAction);this.removeIcon&&a.push(this.removeIcon);this.trailingIcon&&a.push(this.trailingIcon);return a};g._handlePrimaryActionInteraction=function(){};g._monitorFocus=function(){var a=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(b){b=b!==null;b!==a._hasFocusInternal&&((a._hasFocusInternal=b)?a._onFocus.next({chip:a}):Ze(function(){return a._ngZone.run(function(){return a._onBlur.next({chip:a})})},{injector:a._injector}))})};
da.Object.defineProperties(CL.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this._value!==void 0?this._value:this._textElement.textContent.trim()},set:function(a){this._value=a}},disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled||this._chipListDisabled},set:function(a){this._disabled=a}}});CL.\u0275fac=function(a){return new (a||CL)};
CL.\u0275cmp=C({type:CL,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(a,b,c){a&1&&(Sg(c,vyc,5),Sg(c,wyc,5),Sg(c,xyc,5),Sg(c,vyc,5),Sg(c,wyc,5),Sg(c,xyc,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(AL,5);if(a&2){var c;
Vg(c=Wg())&&(b.primaryAction=c.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:31,hostBindings:function(a,b){a&1&&M("keydown",function(c){return b._handleKeydown(c)});a&2&&(Dg("id",b.id),jg("role",b.role)("aria-label",b.ariaLabel),tg("mat-"+(b.color||"primary")),sg("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",uh],highlighted:[2,"highlighted","highlighted",uh],disableRipple:[2,"disableRipple","disableRipple",uh],disabled:[2,"disabled","disabled",uh]},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[ch([{provide:yyc,useExisting:CL}]),dg],ngContentSelectors:["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"],decls:8,vars:3,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell",
"mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-focus-indicator"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(a,b){a&1&&(Ig(zyc),K(0,"span",0),I(1,"span",1)(2,"span",2),D(3,mNa,2,0,"span",3),I(4,"span",4),Jg(5),K(6,"span",5),J()()(),D(7,nNa,2,0,"span",6));a&2&&
(B(2),E("isInteractive",!1),B(),G(b.leadingIcon?3:-1),B(4),G(b._hasTrailingIcon()?7:-1))},dependencies:[AL],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{flex-basis:100%;overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit;overflow-x:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-outline-width, 1px);border-radius:var(--mdc-chip-container-shape-radius, 8px);box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1;border-style:solid}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-outline-color, var(--mat-sys-outline))}.mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus::before{border-color:var(--mdc-chip-focus-outline-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip__text-label{-webkit-user-select:none;user-select:none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mdc-chip-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mdc-chip-label-text-size, var(--mat-sys-label-large-size));font-weight:var(--mdc-chip-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mdc-chip-label-text-tracking, var(--mat-sys-label-large-tracking))}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-selected-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label,.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{width:var(--mdc-chip-with-avatar-avatar-size, 24px);height:var(--mdc-chip-with-avatar-avatar-size, 24px);font-size:var(--mdc-chip-with-avatar-avatar-size, 24px)}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%;height:20px;width:20px}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@media(forced-colors: active){.mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove{opacity:calc(var(--mat-chip-trailing-action-opacity, 1)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus{opacity:calc(var(--mat-chip-trailing-action-focus-opacity, 1)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius, 8px);height:var(--mdc-chip-container-height, 32px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-sys-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-flat-disabled-selected-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}@media(forced-colors: active){.mat-mdc-standard-chip{outline:solid 1px}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius, 24px);width:var(--mdc-chip-with-icon-icon-size, 18px);height:var(--mdc-chip-with-icon-icon-size, 18px);font-size:var(--mdc-chip-with-icon-icon-size, 18px)}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-highlighted{--mdc-chip-with-icon-icon-color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container));--mdc-chip-elevated-container-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-sys-secondary-container));--mdc-chip-label-text-color:var(--mdc-chip-selected-label-text-color, var(--mat-sys-on-secondary-container));--mdc-chip-outline-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-hover-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mdc-chip-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover,.mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-hover-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mdc-chip-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mdc-chip-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mdc-chip-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar{opacity:var(--mdc-chip-with-avatar-disabled-avatar-opacity, 0.38)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{opacity:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38)}.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{opacity:var(--mdc-chip-with-icon-disabled-icon-opacity, 0.38)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:var(--mat-chip-disabled-container-opacity, 1)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-trailing-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-remove{opacity:var(--mat-chip-trailing-action-opacity, 1)}.mat-mdc-chip-remove:focus{opacity:var(--mat-chip-trailing-action-focus-opacity, 1)}.mat-mdc-chip-remove::after{background-color:var(--mat-chip-trailing-action-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-remove:hover::after{opacity:var(--mat-chip-trailing-action-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-remove:focus::after{opacity:var(--mat-chip-trailing-action-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected .mat-mdc-chip-remove::after,.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after{background-color:var(--mat-chip-selected-trailing-action-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-remove::before{margin:calc(var(--mat-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-remove::after{content:"";display:block;opacity:0;position:absolute;top:-3px;bottom:-3px;left:5px;right:5px;border-radius:50%;box-sizing:border-box;padding:12px;margin:-12px;background-clip:content-box}.mat-mdc-chip-remove .mat-icon{width:18px;height:18px;font-size:18px;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}@media(forced-colors: active){.mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}}.mat-mdc-chip-action:focus .mat-focus-indicator::before{content:""}\n'],
encapsulation:2,changeDetection:0});var Ayc=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],DL=function(){CL.apply(this,arguments);this._defaultOptions=r(uyc,{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 Dv};Y(DL,CL);g=DL.prototype;g.ngOnInit=function(){CL.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(DL.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}}});
DL.\u0275fac=function(){var a;return function(b){return(a||(a=ee(DL)))(b||DL)}}();
DL.\u0275cmp=C({type:DL,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&&(Dg("id",b.id),jg("tabindex",null)("aria-label",null)("aria-description",null)("role",b.role),sg("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",uh],selected:[2,"selected","selected",uh]},outputs:{selectionChange:"selectionChange"},features:[ch([{provide:CL,useExisting:DL},{provide:yyc,useExisting:DL}]),dg,cg],ngContentSelectors:["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"],decls:10,vars:8,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],
["matChipAction","","role","option",3,"_allowFocusWhenDisabled"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-focus-indicator"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"],[1,"cdk-visually-hidden",3,"id"],[1,"mdc-evolution-chip__checkmark"],["viewBox","-2 -3 30 30","focusable","false","aria-hidden","true",1,"mdc-evolution-chip__checkmark-svg"],["fill",
"none","stroke","currentColor","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-evolution-chip__checkmark-path"]],template:function(a,b){a&1&&(Ig(Ayc),K(0,"span",0),I(1,"span",1)(2,"button",2),D(3,oNa,5,0,"span",3),I(4,"span",4),Jg(5),K(6,"span",5),J()()(),D(7,pNa,2,0,"span",6),I(8,"span",7),Q(9),J());a&2&&(B(2),E("_allowFocusWhenDisabled",!0),jg("aria-selected",b.ariaSelected)("aria-label",b.ariaLabel)("aria-describedby",b._ariaDescriptionId),B(),G(b._hasLeadingGraphic()?3:-1),B(4),G(b._hasTrailingIcon()?
7:-1),B(),E("id",b._ariaDescriptionId),B(),Yg(b.ariaDescription))},dependencies:[AL],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{flex-basis:100%;overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit;overflow-x:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-outline-width, 1px);border-radius:var(--mdc-chip-container-shape-radius, 8px);box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1;border-style:solid}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-outline-color, var(--mat-sys-outline))}.mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus::before{border-color:var(--mdc-chip-focus-outline-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip__text-label{-webkit-user-select:none;user-select:none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mdc-chip-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mdc-chip-label-text-size, var(--mat-sys-label-large-size));font-weight:var(--mdc-chip-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mdc-chip-label-text-tracking, var(--mat-sys-label-large-tracking))}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-selected-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label,.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{width:var(--mdc-chip-with-avatar-avatar-size, 24px);height:var(--mdc-chip-with-avatar-avatar-size, 24px);font-size:var(--mdc-chip-with-avatar-avatar-size, 24px)}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%;height:20px;width:20px}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@media(forced-colors: active){.mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove{opacity:calc(var(--mat-chip-trailing-action-opacity, 1)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus{opacity:calc(var(--mat-chip-trailing-action-focus-opacity, 1)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius, 8px);height:var(--mdc-chip-container-height, 32px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-sys-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-flat-disabled-selected-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}@media(forced-colors: active){.mat-mdc-standard-chip{outline:solid 1px}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius, 24px);width:var(--mdc-chip-with-icon-icon-size, 18px);height:var(--mdc-chip-with-icon-icon-size, 18px);font-size:var(--mdc-chip-with-icon-icon-size, 18px)}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-highlighted{--mdc-chip-with-icon-icon-color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container));--mdc-chip-elevated-container-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-sys-secondary-container));--mdc-chip-label-text-color:var(--mdc-chip-selected-label-text-color, var(--mat-sys-on-secondary-container));--mdc-chip-outline-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-hover-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mdc-chip-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover,.mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-hover-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mdc-chip-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mdc-chip-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mdc-chip-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar{opacity:var(--mdc-chip-with-avatar-disabled-avatar-opacity, 0.38)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{opacity:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38)}.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{opacity:var(--mdc-chip-with-icon-disabled-icon-opacity, 0.38)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:var(--mat-chip-disabled-container-opacity, 1)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-trailing-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-remove{opacity:var(--mat-chip-trailing-action-opacity, 1)}.mat-mdc-chip-remove:focus{opacity:var(--mat-chip-trailing-action-focus-opacity, 1)}.mat-mdc-chip-remove::after{background-color:var(--mat-chip-trailing-action-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-remove:hover::after{opacity:var(--mat-chip-trailing-action-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-remove:focus::after{opacity:var(--mat-chip-trailing-action-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected .mat-mdc-chip-remove::after,.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after{background-color:var(--mat-chip-selected-trailing-action-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-remove::before{margin:calc(var(--mat-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-remove::after{content:"";display:block;opacity:0;position:absolute;top:-3px;bottom:-3px;left:5px;right:5px;border-radius:50%;box-sizing:border-box;padding:12px;margin:-12px;background-clip:content-box}.mat-mdc-chip-remove .mat-icon{width:18px;height:18px;font-size:18px;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}@media(forced-colors: active){.mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}}.mat-mdc-chip-action:focus .mat-focus-indicator::before{content:""}\n'],
encapsulation:2,changeDetection:0});var EL=function(){this._elementRef=r(ef);this._changeDetectorRef=r(Ov);this._dir=r(fx,{optional:!0});this._lastDestroyedFocusedChipIndex=null;this._destroyed=new Uf;this._defaultRole="presentation";this._disabled=!1;this.tabIndex=0;this._explicitRole=null;this._chipActions=new Qg};g=EL.prototype;g.ngAfterViewInit=function(){this._setUpFocusManagement();this._trackChipSetChanges();this._trackDestroyedFocusedChip()};
g.ngOnDestroy=function(){var a;(a=this._keyManager)==null||a.destroy();this._chipActions.destroy();this._destroyed.next();this._destroyed.complete()};g._hasFocusedChip=function(){return this._chips&&this._chips.some(function(a){return a._hasFocus()})};g._syncChipsState=function(){var a=this,b;(b=this._chips)==null||b.forEach(function(c){c._chipListDisabled=a._disabled;c._changeDetectorRef.markForCheck()})};g.focus=function(){};g._handleKeydown=function(a){if(this._originatesFromChip(a))this._keyManager.onKeydown(a)};
g._isValidIndex=function(a){return a>=0&&a<this._chips.length};g._allowFocusEscape=function(){var a=this,b=this._elementRef.nativeElement.tabIndex;b!==-1&&(this._elementRef.nativeElement.tabIndex=-1,setTimeout(function(){return a._elementRef.nativeElement.tabIndex=b}))};g._getChipStream=function(a){var b=this;return this._chips.changes.pipe(Xf(null),Yf(function(){return Te.apply(null,t(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(Xf(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=ax($w(Zw(new dx(this._chipActions)),this._dir?this._dir.value:"ltr")).skipPredicate(function(c){return a._skipPredicate(c)});this.chipFocusChanges.pipe(Zf(this._destroyed)).subscribe(function(c){(c=c.chip._getSourceAction(document.activeElement))&&
bx(a._keyManager,c)});var b;(b=this._dir)==null||b.change.pipe(Zf(this._destroyed)).subscribe(function(c){return $w(a._keyManager,c)})};g._skipPredicate=function(a){return!a.isInteractive||a.disabled};g._trackChipSetChanges=function(){var a=this;this._chips.changes.pipe(Xf(null),Zf(this._destroyed)).subscribe(function(){a.disabled&&Promise.resolve().then(function(){return a._syncChipsState()});a._redirectDestroyedChipFocus()})};
g._trackDestroyedFocusedChip=function(){var a=this;this.chipDestroyedChanges.pipe(Zf(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(EL.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()}}});EL.\u0275fac=function(a){return new (a||EL)};
EL.\u0275cmp=C({type:EL,selectors:[["mat-chip-set"]],contentQueries:function(a,b,c){a&1&&Sg(c,CL,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&&M("keydown",function(c){return b._handleKeydown(c)});a&2&&jg("role",b.role)},inputs:{disabled:[2,"disabled","disabled",uh],role:"role",tabIndex:[2,"tabIndex","tabIndex",function(a){return a==null?0:vh(a)}]},features:[dg],ngContentSelectors:["*"],decls:2,vars:0,
consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(a){a&1&&(Ig(),I(0,"div",0),Jg(1),J())},styles:[".mat-mdc-chip-set{display:flex}.mat-mdc-chip-set:focus{outline:none}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%;margin-left:-8px;margin-right:0}.mat-mdc-chip-set .mdc-evolution-chip{margin:4px 0 4px 8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip-set__chips{margin-left:0;margin-right:-8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip{margin-left:0;margin-right:8px}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}\n"],
encapsulation:2,changeDetection:0});var Byc=function(a,b){this.source=a;this.value=b},Cyc={provide:Ay,useExisting:ld(function(){return FL}),multi:!0},FL=function(){EL.apply(this,arguments);this._onTouched=function(){};this._onChange=function(){};this._defaultRole="listbox";this._defaultOptions=r(uyc,{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 Dv;this._chips=void 0};Y(FL,EL);g=FL.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(Xf(null),Zf(this._destroyed)).subscribe(function(){a._syncListboxProperties()});this.chipBlurChanges.pipe(Zf(this._destroyed)).subscribe(function(){return a._blur()});this.chipSelectionChanges.pipe(Zf(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&&EL.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 Byc(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(FL.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}}});FL.\u0275fac=function(){var a;return function(b){return(a||(a=ee(FL)))(b||FL)}}();
FL.\u0275cmp=C({type:FL,selectors:[["mat-chip-listbox"]],contentQueries:function(a,b,c){a&1&&Sg(c,DL,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&&M("focus",function(){return b.focus()})("blur",function(){return b._blur()})("keydown",function(c){return b._keydown(c)});a&2&&(Dg("tabIndex",b.disabled||b.empty?-1:b.tabIndex),jg("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),sg("mat-mdc-chip-list-disabled",b.disabled)("mat-mdc-chip-list-required",b.required))},inputs:{multiple:[2,"multiple","multiple",uh],ariaOrientation:[0,"aria-orientation","ariaOrientation"],selectable:[2,"selectable","selectable",uh],compareWith:"compareWith",required:[2,"required","required",uh],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",
uh],value:"value"},outputs:{change:"change"},features:[ch([Cyc]),dg,cg],ngContentSelectors:["*"],decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(a){a&1&&(Ig(),I(0,"div",0),Jg(1),J())},styles:[".mat-mdc-chip-set{display:flex}.mat-mdc-chip-set:focus{outline:none}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%;margin-left:-8px;margin-right:0}.mat-mdc-chip-set .mdc-evolution-chip{margin:4px 0 4px 8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip-set__chips{margin-left:0;margin-right:-8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip{margin-left:0;margin-right:8px}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}\n"],
encapsulation:2,changeDetection:0});var Dyc=new zd("MAT_MENU_PANEL");var Eyc=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],GL=function(){this._elementRef=r(ef);this._document=r(ii);this._focusMonitor=r(ww);this._parentMenu=r(Dyc,{optional:!0});this._changeDetectorRef=r(Ov);this.role="menuitem";this.disableRipple=this.disabled=!1;this._hovered=new Uf;this._focused=new Uf;this._triggersSubmenu=this._highlighted=!1;r(Aw).load(Ux);var a,b;(a=this._parentMenu)==null||(b=a.addItem)==null||b.call(a,this)};g=GL.prototype;
g.focus=function(a,b){this._focusMonitor&&a?xw(this._focusMonitor,this._getHostElement(),a,b):this._getHostElement().focus(b);this._focused.next(this)};g.ngAfterViewInit=function(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)};g.ngOnDestroy=function(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef);this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this);this._hovered.complete();this._focused.complete()};
g._getTabIndex=function(){return this.disabled?"-1":"0"};g._getHostElement=function(){return this._elementRef.nativeElement};g._checkDisabled=function(a){this.disabled&&(a.preventDefault(),a.stopPropagation())};g._handleMouseEnter=function(){this._hovered.next(this)};g.getLabel=function(){for(var a=this._elementRef.nativeElement.cloneNode(!0),b=a.querySelectorAll("mat-icon, .material-icons"),c=0;c<b.length;c++)b[c].remove();var d;return((d=a.textContent)==null?void 0:d.trim())||""};
g._setHighlighted=function(a){this._highlighted=a;this._changeDetectorRef.markForCheck()};g._setTriggersSubmenu=function(a){this._triggersSubmenu=a;this._changeDetectorRef.markForCheck()};g._hasFocus=function(){return this._document&&this._document.activeElement===this._getHostElement()};GL.\u0275fac=function(a){return new (a||GL)};
GL.\u0275cmp=C({type:GL,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-mdc-menu-item","mat-focus-indicator"],hostVars:8,hostBindings:function(a,b){a&1&&M("click",function(c){return b._checkDisabled(c)})("mouseenter",function(){return b._handleMouseEnter()});a&2&&(jg("role",b.role)("tabindex",b._getTabIndex())("aria-disabled",b.disabled)("disabled",b.disabled||null),sg("mat-mdc-menu-item-highlighted",b._highlighted)("mat-mdc-menu-item-submenu-trigger",b._triggersSubmenu))},inputs:{role:"role",
disabled:[2,"disabled","disabled",uh],disableRipple:[2,"disableRipple","disableRipple",uh]},exportAs:["matMenuItem"],features:[dg],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(Eyc),
Jg(0),I(1,"span",0),Jg(2,1),J(),K(3,"div",1),D(4,qNa,2,0,":svg:svg",2));a&2&&(B(3),E("matRippleDisabled",b.disableRipple||b.disabled)("matRippleTrigger",b._getHostElement()),B(),G(b._triggersSubmenu?4:-1))},dependencies:[Xx],encapsulation:2,changeDetection:0});var Fyc=new zd("MatMenuContent"),HL=function(){this._template=r(Og);this._appRef=r(ph);this._injector=r(Ye);this._viewContainerRef=r(Pg);this._document=r(ii);this._changeDetectorRef=r(Ov);this._attached=new Uf};
HL.prototype.attach=function(a){a=a===void 0?{}:a;this._portal||(this._portal=new Ex(this._template,this._viewContainerRef));this.detach();this._outlet||(this._outlet=new Gx(this._document.createElement("div"),null,this._appRef,this._injector));var b=this._template.elementRef.nativeElement;b.parentNode.insertBefore(this._outlet.outletElement,b);this._changeDetectorRef.markForCheck();this._portal.attach(this._outlet,a);this._attached.next()};
HL.prototype.detach=function(){var a;((a=this._portal)==null?0:a.isAttached)&&this._portal.detach()};HL.prototype.ngOnDestroy=function(){this.detach();var a;(a=this._outlet)==null||a.dispose()};HL.\u0275fac=function(a){return new (a||HL)};HL.\u0275dir=Df({type:HL,selectors:[["ng-template","matMenuContent",""]],features:[ch([{provide:Fyc,useExisting:HL}])]});var Gyc=new zd("mat-menu-default-options",{providedIn:"root",factory:sNa}),IL=function(){this._elementRef=r(ef);this._changeDetectorRef=r(Ov);this._injector=r(Ye);this._directDescendantItems=new Qg;this._classList={};this._panelAnimationState="void";this._animationDone=new Uf;this._isAnimating=!1;this.close=this.closed=new Dv;this.panelId=r(Ww).getId("mat-menu-panel-");var a=r(Gyc);this.overlayPanelClass=a.overlayPanelClass||"";this._xPosition=a.xPosition;this._yPosition=a.yPosition;this.backdropClass=
a.backdropClass;this.overlapTrigger=a.overlapTrigger;this.hasBackdrop=a.hasBackdrop;this._animationsDisabled=r(Gv,{optional:!0})==="NoopAnimations"};g=IL.prototype;g.ngOnInit=function(){this.setPositionClasses()};
g.ngAfterContentInit=function(){var a=this;this._updateDirectDescendants();this._keyManager=ax(n8b(Yw(new dx(this._directDescendantItems))));this._keyManager.tabOut.subscribe(function(){return a.closed.emit("tab")});this._directDescendantItems.changes.pipe(Xf(this._directDescendantItems),Yf(function(b){return Te.apply(null,t(b.map(function(c){return c._focused})))})).subscribe(function(b){return bx(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();clearTimeout(this._exitFallbackTimeout)};
g._hovered=function(){return this._directDescendantItems.changes.pipe(Xf(this._directDescendantItems),Yf(function(a){return Te.apply(null,t(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:Xh(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||q8b(c,"keyboard"),c.onKeydown(a)}};
var Hyc=function(a,b){b=b===void 0?"program":b;var c;(c=a._firstItemFocusRef)==null||c.destroy();a._firstItemFocusRef=Ze(function(){var d=a._resolvePanel();if(!d||!d.contains(document.activeElement)){var e=a._keyManager;q8b(e,b)._setActiveItemByIndex(0,1);!e.activeItem&&d&&d.focus()}},{injector:a._injector})};g=IL.prototype;
g.setPositionClasses=function(a,b){a=a===void 0?this.xPosition:a;b=b===void 0?this.yPosition:b;var c={};this._classList=Object.assign({},this._classList,(c["mat-menu-before"]=a==="before",c["mat-menu-after"]=a==="after",c["mat-menu-above"]=b==="above",c["mat-menu-below"]=b==="below",c));this._changeDetectorRef.markForCheck()};
g._onAnimationDone=function(a){var b=a==="_mat-menu-exit";if(b||a==="_mat-menu-enter")b&&(clearTimeout(this._exitFallbackTimeout),this._exitFallbackTimeout=void 0),this._animationDone.next(b?"void":"enter"),this._isAnimating=!1};g._onAnimationStart=function(a){if(a==="_mat-menu-enter"||a==="_mat-menu-exit")this._isAnimating=!0};
g._setIsOpen=function(a){var b=this;this._panelAnimationState=a?"enter":"void";if(a){if(this._keyManager.activeItemIndex===0){var c=this._resolvePanel();c&&(c.scrollTop=0)}}else this._animationsDisabled||(this._exitFallbackTimeout=setTimeout(function(){return b._onAnimationDone("_mat-menu-exit")},200));this._animationsDisabled&&setTimeout(function(){b._onAnimationDone(a?"_mat-menu-enter":"_mat-menu-exit")});this._changeDetectorRef.markForCheck()};
g._updateDirectDescendants=function(){var a=this;this._allItems.changes.pipe(Xf(this._allItems)).subscribe(function(b){a._directDescendantItems.reset(b.filter(function(c){return c._parentMenu===a}));Ug(a._directDescendantItems)})};g._resolvePanel=function(){var a=null;this._directDescendantItems.length&&(a=this._directDescendantItems.first._getHostElement().closest('[role="menu"]'));return a};
da.Object.defineProperties(IL.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}}});IL.\u0275fac=function(a){return new (a||IL)};
IL.\u0275cmp=C({type:IL,selectors:[["mat-menu"]],contentQueries:function(a,b,c){a&1&&(Sg(c,Fyc,5),Sg(c,GL,5),Sg(c,GL,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&&jg("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",uh],hasBackdrop:[2,"hasBackdrop","hasBackdrop",function(a){return a==null?null:uh(a)}],panelClass:[0,"class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],features:[ch([{provide:Dyc,useExisting:IL}]),dg],ngContentSelectors:["*"],decls:1,vars:0,
consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel",3,"click","animationstart","animationend","animationcancel","id"],[1,"mat-mdc-menu-content"]],template:function(a){a&1&&(Ig(),D(0,rNa,3,12,"ng-template"))},styles:['mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;outline:0}.mat-mdc-menu-content,.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;flex:1;white-space:normal;font-family:var(--mat-menu-item-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-menu-item-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-menu-item-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-menu-item-label-text-tracking, var(--mat-sys-label-large-tracking));font-weight:var(--mat-menu-item-label-text-weight, var(--mat-sys-label-large-weight))}@keyframes _mat-menu-enter{from{opacity:0;transform:scale(0.8)}to{opacity:1;transform:none}}@keyframes _mat-menu-exit{from{opacity:1}to{opacity:0}}.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;box-sizing:border-box;outline:0;animation:_mat-menu-enter 120ms cubic-bezier(0, 0, 0.2, 1);border-radius:var(--mat-menu-container-shape, var(--mat-sys-corner-extra-small));background-color:var(--mat-menu-container-color, var(--mat-sys-surface-container));box-shadow:var(--mat-menu-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12));will-change:transform,opacity}.mat-mdc-menu-panel.mat-menu-panel-exit-animation{animation:_mat-menu-exit 100ms 25ms linear forwards}.mat-mdc-menu-panel.mat-menu-panel-animations-disabled{animation:none}.mat-mdc-menu-panel.mat-menu-panel-animating{pointer-events:none}.mat-mdc-menu-panel.mat-menu-panel-animating:has(.mat-mdc-menu-content:empty){display:none}@media(forced-colors: active){.mat-mdc-menu-panel{outline:solid 1px}}.mat-mdc-menu-panel .mat-divider{color:var(--mat-menu-divider-color, var(--mat-sys-surface-variant));margin-bottom:var(--mat-menu-divider-bottom-spacing, 8px);margin-top:var(--mat-menu-divider-top-spacing, 8px)}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;min-height:48px;padding-left:var(--mat-menu-item-leading-spacing, 12px);padding-right:var(--mat-menu-item-trailing-spacing, 12px);-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-menu-item::-moz-focus-inner{border:0}[dir=rtl] .mat-mdc-menu-item{padding-left:var(--mat-menu-item-trailing-spacing, 12px);padding-right:var(--mat-menu-item-leading-spacing, 12px)}.mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-leading-spacing, 12px);padding-right:var(--mat-menu-item-with-icon-trailing-spacing, 12px)}[dir=rtl] .mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-trailing-spacing, 12px);padding-right:var(--mat-menu-item-with-icon-leading-spacing, 12px)}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item:focus{outline:0}.mat-mdc-menu-item .mat-icon{flex-shrink:0;margin-right:var(--mat-menu-item-spacing, 12px);height:var(--mat-menu-item-icon-size, 24px);width:var(--mat-menu-item-icon-size, 24px)}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:var(--mat-menu-item-spacing, 12px)}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}.mat-mdc-menu-item:not([disabled]).cdk-program-focused,.mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused,.mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted{background-color:var(--mat-menu-item-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent))}@media(forced-colors: active){.mat-mdc-menu-item{margin-top:1px}}.mat-mdc-menu-submenu-icon{width:var(--mat-menu-item-icon-size, 24px);height:10px;fill:currentColor;padding-left:var(--mat-menu-item-spacing, 12px)}[dir=rtl] .mat-mdc-menu-submenu-icon{padding-right:var(--mat-menu-item-spacing, 12px);padding-left:0}[dir=rtl] .mat-mdc-menu-submenu-icon polygon{transform:scaleX(-1);transform-origin:center}@media(forced-colors: active){.mat-mdc-menu-submenu-icon{fill:CanvasText}}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n'],
encapsulation:2,changeDetection:0});var Iyc=new zd("mat-menu-scroll-strategy",{providedIn:"root",factory:function(){var a=r(Kx);return function(){return a.scrollStrategies.reposition()}}}),Jyc={provide:Iyc,deps:[Kx],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}},Kyc=Zh({passive:!0}),Lyc=new WeakMap,JL=function(){var a=this;this._overlay=r(Kx);this._element=r(ef);this._viewContainerRef=r(Pg);this._menuItemInstance=r(GL,{optional:!0,self:!0});this._dir=r(fx,{optional:!0});this._focusMonitor=r(ww);this._ngZone=
r(kh);this._scrollStrategy=r(Iyc);this._changeDetectorRef=r(Ov);this._overlayRef=null;this._menuOpen=!1;this._menuCloseSubscription=this._hoverSubscription=this._closingActionsSubscription=je.EMPTY;this._handleTouchStart=function(c){qoa(c)||(a._openedBy="touch")};this._openedBy=void 0;this.restoreFocus=!0;this.onMenuOpen=this.menuOpened=new Dv;this.onMenuClose=this.menuClosed=new Dv;var b=r(Dyc,{optional:!0});this._parentMaterialMenu=b instanceof IL?b:void 0;this._element.nativeElement.addEventListener("touchstart",
this._handleTouchStart,Kyc)};JL.prototype.ngAfterContentInit=function(){this._handleHover()};
JL.prototype.ngOnDestroy=function(){this.menu&&this._ownsMenu(this.menu)&&Lyc.delete(this.menu);this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,Kyc);var a;(a=this._pendingRemoval)==null||a.unsubscribe();this._menuCloseSubscription.unsubscribe();this._closingActionsSubscription.unsubscribe();this._hoverSubscription.unsubscribe();this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null)};
var KL=function(a){return!!(a._menuItemInstance&&a._parentMaterialMenu&&a.menu)};g=JL.prototype;
g.openMenu=function(){var a=this,b=this.menu;if(!this._menuOpen&&b){var c;(c=this._pendingRemoval)==null||c.unsubscribe();c=Lyc.get(b);Lyc.set(b,this);c&&c!==this&&c.closeMenu();c=this._createOverlay(b);var d=c.getConfig(),e=d.positionStrategy;this._setPosition(b,e);d.hasBackdrop=b.hasBackdrop==null?!KL(this):b.hasBackdrop;if(!c.hasAttached()){c.attach(this._getPortal(b));var f;(f=b.lazyContent)==null||f.attach(this.menuData)}this._closingActionsSubscription=this._menuClosingActions().subscribe(function(){return a.closeMenu()});
b.parentMenu=KL(this)?this._parentMaterialMenu:void 0;b.direction=this.dir;Hyc(b,this._openedBy||"program");this._setIsMenuOpen(!0);b instanceof IL&&(b._setIsOpen(!0),b._directDescendantItems.changes.pipe(Zf(b.close)).subscribe(function(){I8b(M8b(e,!1));M8b(e,!0)}))}};g.closeMenu=function(){var a;(a=this.menu)==null||a.close.emit()};g.focus=function(a,b){this._focusMonitor&&a?xw(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._overlayRef,c=this._menu;if(b&&this.menuOpen){this._closingActionsSubscription.unsubscribe();var d;(d=this._pendingRemoval)==null||d.unsubscribe();c instanceof IL&&this._ownsMenu(c)?(this._pendingRemoval=c._animationDone.pipe(Nf()).subscribe(function(){return b.detach()}),c._setIsOpen(!1)):b.detach();c&&this._ownsMenu(c)&&Lyc.delete(c);!this.restoreFocus||a!=="keydown"&&this._openedBy&&KL(this)||this.focus(this._openedBy);this._openedBy=void 0;this._setIsMenuOpen(!1)}};
g._setIsMenuOpen=function(a){a!==this._menuOpen&&((this._menuOpen=a)?this.menuOpened.emit():this.menuClosed.emit(),KL(this)&&this._menuItemInstance._setHighlighted(a),this._changeDetectorRef.markForCheck())};g._createOverlay=function(a){var b=this;if(!this._overlayRef){var c=this._getOverlayConfig(a);this._subscribeToPositions(a,c.positionStrategy);this._overlayRef=this._overlay.create(c);this._overlayRef.keydownEvents().subscribe(function(d){b.menu instanceof IL&&b.menu._handleKeydown(d)})}return this._overlayRef};
g._getOverlayConfig=function(a){return new ux({positionStrategy:N8b(K8b(M8b(Bx(this._overlay.position(),this._element))),".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:a.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:a.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir||"ltr"})};
g._subscribeToPositions=function(a,b){var c=this;a.setPositionClasses&&b.positionChanges.subscribe(function(d){c._ngZone.run(function(){a.setPositionClasses(d.connectionPair.overlayX==="start"?"after":"before",d.connectionPair.overlayY==="top"?"below":"above")})})};
g._setPosition=function(a,b){var c=k(a.xPosition==="before"?["end","start"]:["start","end"]),d=c.next().value;c=c.next().value;var e=k(a.yPosition==="above"?["bottom","top"]:["top","bottom"]),f=e.next().value;e=e.next().value;var h=k([f,e]),l=h.next().value;h=h.next().value;var q=k([d,c]),u=q.next().value;q=q.next().value;var A=0;KL(this)?(q=d=a.xPosition==="before"?"start":"end",c=u=d==="end"?"start":"end",this._parentMaterialMenu&&(this._parentInnerPadding==null&&(this._parentInnerPadding=(a=this._parentMaterialMenu.items.first)?
a._getHostElement().offsetTop:0),A=f==="bottom"?this._parentInnerPadding:-this._parentInnerPadding)):a.overlapTrigger||(l=f==="top"?"bottom":"top",h=e==="top"?"bottom":"top");xx(b,[{originX:d,originY:l,overlayX:u,overlayY:f,offsetY:A},{originX:c,originY:l,overlayX:q,overlayY:f,offsetY:A},{originX:d,originY:h,overlayX:u,overlayY:e,offsetY:-A},{originX:c,originY:h,overlayX:q,overlayY:e,offsetY:-A}])};
g._menuClosingActions=function(){var a=this,b=this._overlayRef.backdropClick(),c=this._overlayRef._detachments,d=this._parentMaterialMenu?this._parentMaterialMenu.closed:Ae(),e=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(Ue(function(f){return a._menuOpen&&f!==a._menuItemInstance})):Ae();return Te(b,d,e,c)};g._handleMousedown=function(a){poa(a)||(this._openedBy=a.button===0?"mouse":void 0,KL(this)&&a.preventDefault())};
g._handleKeydown=function(a){a=a.keyCode;if(a===13||a===32)this._openedBy="keyboard";KL(this)&&(a===39&&this.dir==="ltr"||a===37&&this.dir==="rtl")&&(this._openedBy="keyboard",this.openMenu())};g._handleClick=function(a){KL(this)?(a.stopPropagation(),this.openMenu()):this._menuOpen?this.closeMenu():this.openMenu()};
g._handleHover=function(){var a=this;KL(this)&&this._parentMaterialMenu&&(this._hoverSubscription=this._parentMaterialMenu._hovered().subscribe(function(b){b!==a._menuItemInstance||b.disabled||(a._openedBy="mouse",a.openMenu())}))};g._getPortal=function(a){this._portal&&this._portal.templateRef===a.templateRef||(this._portal=new Ex(a.templateRef,this._viewContainerRef));return this._portal};g._ownsMenu=function(a){return Lyc.get(a)===this};
da.Object.defineProperties(JL.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(KL(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"}}});JL.\u0275fac=function(a){return new (a||JL)};
JL.\u0275dir=Df({type:JL,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(a,b){a&1&&M("click",function(c){return b._handleClick(c)})("mousedown",function(c){return b._handleMousedown(c)})("keydown",function(c){return b._handleKeydown(c)});a&2&&jg("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"]});var Myc=["input"],Nyc=["formField"],Oyc=function(a,b){this.source=a;this.value=b},Pyc={provide:Ay,useExisting:ld(function(){return LL}),multi:!0},Qyc=new zd("MatRadioGroup"),Ryc=new zd("mat-radio-default-options",{providedIn:"root",factory:tNa}),LL=function(){this._changeDetector=r(Ov);this._value=null;this._name=r(Ww).getId("mat-radio-group-");this._selected=null;this._isInitialized=!1;this._labelPosition="after";this._required=this._disabled=!1;this._controlValueAccessorChangeFn=function(){};this.onTouched=
function(){};this.change=new Dv;this._disabledInteractive=!1};g=LL.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 Oyc(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(LL.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return this._name},set:function(a){this._name=a;this._updateRadioButtonNames()}},labelPosition:{configurable:!0,enumerable:!0,get:function(){return this._labelPosition},set:function(a){this._labelPosition=a==="before"?"before":"after";this._markRadiosForCheck()}},value:{configurable:!0,enumerable:!0,get:function(){return this._value},set:function(a){this._value!==a&&(this._value=a,this._updateSelectedRadioFromValue(),
this._checkSelectedRadioButton())}},selected:{configurable:!0,enumerable:!0,get:function(){return this._selected},set:function(a){this.value=(this._selected=a)?a.value:null;this._checkSelectedRadioButton()}},disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=a;this._markRadiosForCheck()}},required:{configurable:!0,enumerable:!0,get:function(){return this._required},set:function(a){this._required=a;this._markRadiosForCheck()}},disabledInteractive:{configurable:!0,
enumerable:!0,get:function(){return this._disabledInteractive},set:function(a){this._disabledInteractive=a;this._markRadiosForCheck()}}});LL.\u0275fac=function(a){return new (a||LL)};
LL.\u0275dir=Df({type:LL,selectors:[["mat-radio-group"]],contentQueries:function(a,b,c){a&1&&Sg(c,ML,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",uh],required:[2,"required","required",uh],disabledInteractive:[2,"disabledInteractive","disabledInteractive",uh]},outputs:{change:"change"},exportAs:["matRadioGroup"],
features:[ch([Pyc,{provide:Qyc,useExisting:LL}]),dg]});
var ML=function(){var a=this;this._elementRef=r(ef);this._changeDetector=r(Ov);this._focusMonitor=r(ww);this._radioDispatcher=r(px);this._defaultOptions=r(Ryc,{optional:!0});this._ngZone=r(kh);this._renderer=r(Iv);this.id=this._uniqueId=r(Ww).getId("mat-radio-");this.disableRipple=!1;this.tabIndex=0;this.change=new Dv;this._checked=!1;this._value=null;this._removeUniqueSelectionListener=function(){};this._injector=r(Ye);this._onInputClick=function(h){a.disabled&&a.disabledInteractive&&h.preventDefault()};
r(Aw).load(Ux);var b=r(Qyc,{optional:!0}),c=r(Gv,{optional:!0}),d=r(new sv("tabindex"),{optional:!0});this.radioGroup=b;this._noopAnimations=c==="NoopAnimations";var e,f;this._disabledInteractive=(f=(e=this._defaultOptions)==null?void 0:e.disabledInteractive)!=null?f:!1;d&&(this.tabIndex=vh(d,0))};g=ML.prototype;g.focus=function(a,b){b?xw(this._focusMonitor,this._inputElement,b,a):this._inputElement.nativeElement.focus(a)};g._markForCheck=function(){this._changeDetector.markForCheck()};
g.ngOnInit=function(){var a=this;if(this.radioGroup){if(this.checked=this.radioGroup.value===this._value)this.radioGroup.selected=this;this.name=this.radioGroup.name}this._removeUniqueSelectionListener=this._radioDispatcher.listen(function(b,c){b!==a.id&&c===a.name&&(a.checked=!1)})};g.ngDoCheck=function(){this._updateTabIndex()};
g.ngAfterViewInit=function(){var a=this;this._updateTabIndex();this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(b){!b&&a.radioGroup&&a.radioGroup._touch()});this._ngZone.runOutsideAngular(function(){a._cleanupClick=a._renderer.listen(a._inputElement.nativeElement,"click",a._onInputClick)})};g.ngOnDestroy=function(){var a;(a=this._cleanupClick)==null||a.call(this);this._focusMonitor.stopMonitoring(this._elementRef);this._removeUniqueSelectionListener()};
g._emitChangeEvent=function(){this.change.emit(new Oyc(this,this._value))};g._isRippleDisabled=function(){return this.disableRipple||this.disabled};g._onInputInteraction=function(a){a.stopPropagation();this.checked||this.disabled||(a=this.radioGroup&&this.value!==this.radioGroup.value,this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),a&&this.radioGroup._emitChangeEvent()))};
g._onTouchTargetClick=function(a){this._onInputInteraction(a);if(!this.disabled||this.disabledInteractive){var b;(b=this._inputElement)==null||b.nativeElement.focus()}};g._setDisabled=function(a){this._disabled!==a&&(this._disabled=a,this._changeDetector.markForCheck())};
g._updateTabIndex=function(){var a=this,b=this.radioGroup;var c=b&&b.selected&&!this.disabled?b.selected===this?this.tabIndex:-1:this.tabIndex;if(c!==this._previousTabIndex){var d,e=(d=this._inputElement)==null?void 0:d.nativeElement;e&&(e.setAttribute("tabindex",c+""),this._previousTabIndex=c,Ze(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(ML.prototype,{checked:{configurable:!0,enumerable:!0,get:function(){return this._checked},set:function(a){this._checked!==a&&((this._checked=a)&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!a&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),a&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}},value:{configurable:!0,enumerable:!0,get:function(){return this._value},set:function(a){this._value!==
a&&(this._value=a,this.radioGroup!==null&&(this.checked||(this.checked=this.radioGroup.value===a),this.checked&&(this.radioGroup.selected=this)))}},labelPosition:{configurable:!0,enumerable:!0,get:function(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"},set:function(a){this._labelPosition=a}},disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled||this.radioGroup!==null&&this.radioGroup.disabled},set:function(a){this._setDisabled(a)}},required:{configurable:!0,
enumerable:!0,get:function(){return this._required||this.radioGroup&&this.radioGroup.required},set:function(a){this._required=a}},color:{configurable:!0,enumerable:!0,get:function(){return this._color||this.radioGroup&&this.radioGroup.color||this._defaultOptions&&this._defaultOptions.color||"accent"},set:function(a){this._color=a}},disabledInteractive:{configurable:!0,enumerable:!0,get:function(){return this._disabledInteractive||this.radioGroup!==null&&this.radioGroup.disabledInteractive},set:function(a){this._disabledInteractive=
a}},inputId:{configurable:!0,enumerable:!0,get:function(){return(this.id||this._uniqueId)+"-input"}}});ML.\u0275fac=function(a){return new (a||ML)};
ML.\u0275cmp=C({type:ML,selectors:[["mat-radio-button"]],viewQuery:function(a,b){a&1&&(Rg(Myc,5),Rg(Nyc,7,ef));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:19,hostBindings:function(a,b){a&1&&M("focus",function(){return b._inputElement.nativeElement.focus()});a&2&&(jg("id",b.id)("tabindex",null)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),sg("mat-primary",b.color==="primary")("mat-accent",
b.color==="accent")("mat-warn",b.color==="warn")("mat-mdc-radio-checked",b.checked)("mat-mdc-radio-disabled",b.disabled)("mat-mdc-radio-disabled-interactive",b.disabledInteractive)("_mat-animation-noopable",b._noopAnimations))},inputs:{id:"id",name:"name",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],disableRipple:[2,"disableRipple","disableRipple",uh],tabIndex:[2,"tabIndex","tabIndex",function(a){return a==
null?0:vh(a)}],checked:[2,"checked","checked",uh],value:"value",labelPosition:"labelPosition",disabled:[2,"disabled","disabled",uh],required:[2,"required","required",uh],color:"color",disabledInteractive:[2,"disabledInteractive","disabledInteractive",uh]},outputs:{change:"change"},exportAs:["matRadioButton"],features:[dg],ngContentSelectors:["*"],decls:13,vars:17,consts:[["formField",""],["input",""],["mat-internal-form-field","",3,"labelPosition"],[1,"mdc-radio"],[1,"mat-mdc-radio-touch-target",
3,"click"],["type","radio",1,"mdc-radio__native-control",3,"change","id","checked","disabled","required"],[1,"mdc-radio__background"],[1,"mdc-radio__outer-circle"],[1,"mdc-radio__inner-circle"],["mat-ripple","",1,"mat-radio-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mdc-label",3,"for"]],template:function(a,b){if(a&1){var c=v();Ig();I(0,"div",2,0)(2,"div",3)(3,"div",4);M("click",function(d){w(c);
return x(b._onTouchTargetClick(d))});J();I(4,"input",5,1);M("change",function(d){w(c);return x(b._onInputInteraction(d))});J();I(6,"div",6);K(7,"div",7)(8,"div",8);J();I(9,"div",9);K(10,"div",10);J()();I(11,"label",11);Jg(12);J()()}a&2&&(E("labelPosition",b.labelPosition),B(2),sg("mdc-radio--disabled",b.disabled),B(2),E("id",b.inputId)("checked",b.checked)("disabled",b.disabled&&!b.disabledInteractive)("required",b.required),jg("name",b.name)("value",b.value)("aria-label",b.ariaLabel)("aria-labelledby",
b.ariaLabelledby)("aria-describedby",b.ariaDescribedby)("aria-disabled",b.disabled&&b.disabledInteractive?"true":null),B(5),E("matRippleTrigger",b._rippleTrigger.nativeElement)("matRippleDisabled",b._isRippleDisabled())("matRippleCentered",!0),B(2),E("for",b.inputId))},dependencies:[Xx,Vx],styles:['.mat-mdc-radio-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-radio-button .mdc-radio{display:inline-block;position:relative;flex:0 0 auto;box-sizing:content-box;width:20px;height:20px;cursor:pointer;will-change:opacity,transform,border-color,color;padding:calc((var(--mdc-radio-state-layer-size, 40px) - 20px)/2)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:not([disabled]):not(:focus)~.mdc-radio__background::before{opacity:.04;transform:scale(1)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:not([disabled])~.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-hover-icon-color, var(--mat-sys-on-surface))}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-hover-icon-color, var(--mat-sys-primary))}.mat-mdc-radio-button .mdc-radio:active .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-pressed-icon-color, var(--mat-sys-on-surface))}.mat-mdc-radio-button .mdc-radio:active .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio:active .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-pressed-icon-color, var(--mat-sys-primary))}.mat-mdc-radio-button .mdc-radio__background{display:inline-block;position:relative;box-sizing:border-box;width:20px;height:20px}.mat-mdc-radio-button .mdc-radio__background::before{position:absolute;transform:scale(0, 0);border-radius:50%;opacity:0;pointer-events:none;content:"";transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1);width:var(--mdc-radio-state-layer-size, 40px);height:var(--mdc-radio-state-layer-size, 40px);top:calc(-1*(var(--mdc-radio-state-layer-size, 40px) - 20px)/2);left:calc(-1*(var(--mdc-radio-state-layer-size, 40px) - 20px)/2)}.mat-mdc-radio-button .mdc-radio__outer-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;border-width:2px;border-style:solid;border-radius:50%;transition:border-color 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-radio-button .mdc-radio__inner-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;transform:scale(0, 0);border-width:10px;border-style:solid;border-radius:50%;transition:transform 90ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-radio-button .mdc-radio__native-control{position:absolute;margin:0;padding:0;opacity:0;top:0;right:0;left:0;cursor:inherit;z-index:1;width:var(--mdc-radio-state-layer-size, 40px);height:var(--mdc-radio-state-layer-size, 40px)}.mat-mdc-radio-button .mdc-radio__native-control:checked+.mdc-radio__background,.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background{transition:opacity 90ms cubic-bezier(0, 0, 0.2, 1),transform 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__outer-circle{transition:border-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{transition:transform 90ms cubic-bezier(0, 0, 0.2, 1),border-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button .mdc-radio__native-control:focus+.mdc-radio__background::before{transform:scale(1);opacity:.12;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 1),transform 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-unselected-icon-color, var(--mat-sys-on-surface));opacity:var(--mdc-radio-disabled-unselected-icon-opacity, 0.38)}.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background{cursor:default}.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-selected-icon-color, var(--mat-sys-on-surface));opacity:var(--mdc-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-radio-button .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-radio-button .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-icon-color, var(--mat-sys-primary))}.mat-mdc-radio-button .mdc-radio__native-control:enabled:focus:checked+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio__native-control:enabled:focus:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-focus-icon-color, var(--mat-sys-primary))}.mat-mdc-radio-button .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle{transform:scale(0.5);transition:transform 90ms cubic-bezier(0, 0, 0.2, 1),border-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled{pointer-events:auto}.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-unselected-icon-color, var(--mat-sys-on-surface));opacity:var(--mdc-radio-disabled-unselected-icon-opacity, 0.38)}.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled:hover .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled:hover .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control:checked:focus+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control:checked:focus+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-selected-icon-color, var(--mat-sys-on-surface));opacity:var(--mdc-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__background::before,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__outer-circle,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__inner-circle{transition:none !important}.mat-mdc-radio-button .mdc-radio__background::before{background-color:var(--mat-radio-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-radio-button.mat-mdc-radio-checked .mat-ripple-element,.mat-mdc-radio-button.mat-mdc-radio-checked .mdc-radio__background::before{background-color:var(--mat-radio-checked-ripple-color, var(--mat-sys-primary))}.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mat-ripple-element,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__background::before{background-color:var(--mat-radio-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-radio-button .mat-internal-form-field{color:var(--mat-radio-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-radio-label-text-font, var(--mat-sys-body-medium-font));line-height:var(--mat-radio-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-radio-label-text-size, var(--mat-sys-body-medium-size));letter-spacing:var(--mat-radio-label-text-tracking, var(--mat-sys-body-medium-tracking));font-weight:var(--mat-radio-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-radio-button .mdc-radio--disabled+label{color:var(--mat-radio-disabled-label-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-radio-button .mat-radio-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:50%}.mat-mdc-radio-button .mat-radio-ripple .mat-ripple-element{opacity:.14}.mat-mdc-radio-button .mat-radio-ripple::before{border-radius:50%}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:focus:enabled:not(:checked)~.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-focus-icon-color, var(--mat-sys-on-surface))}.mat-mdc-radio-button.cdk-focused .mat-focus-indicator::before{content:""}.mat-mdc-radio-disabled{cursor:default;pointer-events:none}.mat-mdc-radio-disabled.mat-mdc-radio-disabled-interactive{pointer-events:auto}.mat-mdc-radio-touch-target{position:absolute;top:50%;left:50%;height:48px;width:48px;transform:translate(-50%, -50%);display:var(--mat-radio-touch-target-display, block)}[dir=rtl] .mat-mdc-radio-touch-target{left:auto;right:50%;transform:translate(50%, -50%)}\n'],
encapsulation:2,changeDetection:0});var Syc=ri("transformPanel",[ui("void",ti({opacity:0,transform:"scale(1, 0.8)"})),vi("void => showing",si("120ms cubic-bezier(0, 0, 0.2, 1)",ti({opacity:1,transform:"scale(1, 1)"}))),vi("* => void",si("100ms linear",ti({opacity:0})))]);var Tyc=["trigger"],Uyc=["panel"],Vyc=[[["mat-select-trigger"]],"*"],Wyc=new zd("mat-select-scroll-strategy",{providedIn:"root",factory:function(){var a=r(Kx);return function(){return a.scrollStrategies.reposition()}}}),Xyc=new zd("MAT_SELECT_CONFIG"),Yyc={provide:Wyc,deps:[Kx],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}},Zyc=new zd("MatSelectTrigger"),$yc=function(a,b){this.source=a;this.value=b},NL=function(){var a=this;this._viewportRuler=r(qx);this._changeDetectorRef=
r(Ov);this._elementRef=r(ef);this._dir=r(fx,{optional:!0});this._idGenerator=r(Ww);this._parentFormField=r(F$b,{optional:!0});this.ngControl=r(Ey,{self:!0,optional:!0});this._liveAnnouncer=r(Pw);this._defaultOptions=r(Xyc,{optional:!0});this._initialized=new Uf;this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},
{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}];this._scrollStrategyFactory=r(Wyc);this._panelOpen=!1;this._compareWith=function(u,A){return u===A};this._uid=this._idGenerator.getId("mat-select-");this._triggerAriaLabelledBy=null;this._destroy=new Uf;this.stateChanges=new Uf;this.disableAutomaticLabeling=!0;this._onChange=function(){};this._onTouched=function(){};this._valueId=this._idGenerator.getId("mat-select-value-");this._panelDoneAnimatingStream=
new Uf;var b;this._overlayPanelClass=((b=this._defaultOptions)==null?void 0:b.overlayPanelClass)||"";this._focused=!1;this.controlType="mat-select";this.disableRipple=this.disabled=!1;this.tabIndex=0;var c,d;this._hideSingleSelectionIndicator=(d=(c=this._defaultOptions)==null?void 0:c.hideSingleSelectionIndicator)!=null?d:!1;this._multiple=!1;var e,f;this.disableOptionCentering=(f=(e=this._defaultOptions)==null?void 0:e.disableOptionCentering)!=null?f:!1;this.ariaLabel="";this.panelWidth=this._defaultOptions&&
typeof this._defaultOptions.panelWidth!=="undefined"?this._defaultOptions.panelWidth:"auto";var h,l;this.canSelectNullableOptions=(l=(h=this._defaultOptions)==null?void 0:h.canSelectNullableOptions)!=null?l:!1;this.optionSelectionChanges=Ne(function(){var u=a.options;return u?u.changes.pipe(Xf(u),Yf(function(){return Te.apply(null,t(u.map(function(A){return A.onSelectionChange})))})):a._initialized.pipe(Yf(function(){return a.optionSelectionChanges}))});this.openedChange=new Dv;this._openedStream=
this.openedChange.pipe(Ue(function(u){return u}),z(function(){}));this._closedStream=this.openedChange.pipe(Ue(function(u){return!u}),z(function(){}));this.selectionChange=new Dv;this.valueChange=new Dv;this._trackedModal=null;this._skipPredicate=function(u){return a.panelOpen?!1:u.disabled};b=r(Tx);c=r(Ly,{optional:!0});d=r(Ty,{optional:!0});e=r(new sv("tabindex"),{optional:!0});this.ngControl&&(this.ngControl.valueAccessor=this);var q;((q=this._defaultOptions)==null?void 0:q.typeaheadDebounceInterval)!=
null&&(this.typeaheadDebounceInterval=this._defaultOptions.typeaheadDebounceInterval);this._errorStateTracker=new U8b(b,this.ngControl,d,c,this.stateChanges);this._scrollStrategy=this._scrollStrategyFactory();this.tabIndex=e==null?0:parseInt(e)||0;this.id=this.id};g=NL.prototype;
g._scrollOptionIntoView=function(a){var b=this.options.toArray()[a];if(b){var c=this.panel.nativeElement,d=cpa(a,this.options,this.optionGroups);b=b._getHostElement();c.scrollTop=a===0&&d===1?0:dpa(b.offsetTop,b.offsetHeight,c.scrollTop,c.offsetHeight)}};g._positioningSettled=function(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)};g._getChangeEvent=function(a){return new $yc(this,a)};
g.ngOnInit=function(){var a=this;this._selectionModel=new ox(this.multiple);this.stateChanges.next();this._panelDoneAnimatingStream.pipe(Pf(),Zf(this._destroy)).subscribe(function(){return a._panelDoneAnimating(a.panelOpen)});this._viewportRuler.change().pipe(Zf(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(Zf(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(Xf(null),Zf(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&&n8b(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=H$b(this._parentFormField)),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,$w(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&&hi(this._trackedModal,"aria-owns",b);Loa(a,"aria-owns",b);this._trackedModal=a}};g._clearFromModal=function(){this._trackedModal&&(hi(this._trackedModal,"aria-owns",this.id+"-panel"),this._trackedModal=null)};
g.close=function(){this._panelOpen&&(this._panelOpen=!1,$w(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||Xh(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||Xh(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(Nf()).subscribe(function(){a._changeDetectorRef.detectChanges();a._positioningSettled()})};g._getPanelTheme=function(){return this._parentFormField?"mat-"+this._parentFormField.color:""};g._initializeSelection=function(){var a=this;Promise.resolve().then(function(){a.ngControl&&(a._value=a.ngControl.value);a._setSelectionByValue(a._value);a.stateChanges.next()})};
g._setSelectionByValue=function(a){var b=this;this.options.forEach(function(c){return c.setInactiveStyles()});this._selectionModel.clear();this.multiple&&a?(a.forEach(function(c){return b._selectOptionByValue(c)}),this._sortValues()):(a=this._selectOptionByValue(a))?bx(this._keyManager,a):this.panelOpen||bx(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.canSelectNullableOptions)&&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 Lx?a.elementRef:a||this._elementRef).nativeElement.getBoundingClientRect().width:this.panelWidth===null?"":this.panelWidth};g._syncParentProperties=function(){if(this.options)for(var a=k(this.options),b=a.next();!b.done;b=a.next())b.value._changeDetectorRef.markForCheck()};
g._initKeyManager=function(){var a=this;this._keyManager=m8b(o8b(ax($w(Zw(n8b(new cx(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=Te(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Zf(b)).subscribe(function(c){a._onSelect(c.source,c.isUserInput);c.isUserInput&&!a.multiple&&a._panelOpen&&(a.close(),a.focus())});Te.apply(null,t(this.options.map(function(c){return c._stateChanges}))).pipe(Zf(b)).subscribe(function(){a._changeDetectorRef.detectChanges();a.stateChanges.next()})};
g._onSelect=function(a,b){var c=this._selectionModel.isSelected(a);this.canSelectNullableOptions||a.value!=null||this._multiple?(c!==a.selected&&(a.selected?this._selectionModel.select(a):this._selectionModel.deselect(a)),b&&this._keyManager.setActiveItem(a),this.multiple&&(this._sortValues(),b&&this.focus())):(a.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(a.value));c!==this._selectionModel.isSelected(a)&&this._propagateChanges();this.stateChanges.next()};
g._sortValues=function(){var a=this;if(this.multiple){var b=this.options.toArray();this._selectionModel.sort(function(c,d){return a.sortComparator?a.sortComparator(c,d,b):b.indexOf(c)-b.indexOf(d)});this.stateChanges.next()}};g._propagateChanges=function(a){var b;this.multiple?b=this.selected.map(function(c){return c.value}):b=this.selected?this.selected.value:a;this._value=b;this.valueChange.emit(b);this._onChange(b);this.selectionChange.emit(this._getChangeEvent(b));this._changeDetectorRef.markForCheck()};
g._highlightCorrectOption=function(){if(this._keyManager)if(this.empty){for(var a=-1,b=0;b<this.options.length;b++)if(!this.options.get(b).disabled){a=b;break}this._keyManager.setActiveItem(a)}else this._keyManager.setActiveItem(this._selectionModel.selected[0])};g._canOpen=function(){var a;return!this._panelOpen&&!this.disabled&&((a=this.options)==null?void 0:a.length)>0};g.focus=function(a){this._elementRef.nativeElement.focus(a)};
g._getPanelAriaLabelledby=function(){if(this.ariaLabel)return null;var a,b=((a=this._parentFormField)==null?void 0:a.getLabelId())||null;return this.ariaLabelledby?(b?b+" ":"")+this.ariaLabelledby:b};g._getAriaActiveDescendant=function(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null};
g._getTriggerAriaLabelledby=function(){if(this.ariaLabel)return null;var a,b=(a=this._parentFormField)==null?void 0:a.getLabelId();a=(b?b+" ":"")+this._valueId;this.ariaLabelledby&&(a+=" "+this.ariaLabelledby);return a};g._panelDoneAnimating=function(a){this.openedChange.emit(a)};g.setDescribedByIds=function(a){a.length?this._elementRef.nativeElement.setAttribute("aria-describedby",a.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")};
g.onContainerClick=function(){this.focus();this.open()};
da.Object.defineProperties(NL.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:Z9b(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}}});NL.\u0275fac=function(a){return new (a||NL)};
NL.\u0275cmp=C({type:NL,selectors:[["mat-select"]],contentQueries:function(a,b,c){a&1&&(Sg(c,Zyc,5),Sg(c,Zx,5),Sg(c,Y8b,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(Tyc,5),Rg(Uyc,5),Rg(Mx,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-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(a,
b){a&1&&M("keydown",function(c){return b._handleKeydown(c)})("focus",function(){return b._onFocus()})("blur",function(){return b._onBlur()});a&2&&(jg("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()),sg("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",uh],disableRipple:[2,"disableRipple","disableRipple",uh],tabIndex:[2,"tabIndex","tabIndex",function(a){return a==null?0:vh(a)}],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",uh],placeholder:"placeholder",
required:[2,"required","required",uh],multiple:[2,"multiple","multiple",uh],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",uh],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",vh],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth",canSelectNullableOptions:[2,
"canSelectNullableOptions","canSelectNullableOptions",uh]},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[ch([{provide:gz,useExisting:NL},{provide:X8b,useExisting:NL}]),dg,rv],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=v();Ig(Vyc);I(0,"div",2,0);M("click",function(){w(c);return x(b.open())});I(3,"div",3);D(4,uNa,2,1,"span",4)(5,xNa,3,1,"span",5);J();I(6,"div",6)(7,"div",7);Ud();I(8,"svg",8);K(9,"path",9);J()()()();
D(10,yNa,3,9,"ng-template",10);M("backdropClick",function(){w(c);return x(b.close())})("attach",function(){w(c);return x(b._onAttached())})("detach",function(){w(c);return x(b.close())})}a&2&&(a=L(1),B(3),jg("id",b._valueId),B(),G(b.empty?4:5),B(6),E("cdkConnectedOverlayPanelClass",b._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",b._scrollStrategy)("cdkConnectedOverlayOrigin",b._preferredOverlayOrigin||a)("cdkConnectedOverlayOpen",b.panelOpen)("cdkConnectedOverlayPositions",b._positions)("cdkConnectedOverlayWidth",
b._overlayWidth))},dependencies:[Lx,Mx,aw],styles:['.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color, var(--mat-sys-on-surface));font-family:var(--mat-select-trigger-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-select-trigger-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-select-trigger-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-select-trigger-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-select-trigger-text-tracking, var(--mat-sys-body-large-tracking))}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color, var(--mat-sys-error))}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color, var(--mat-sys-on-surface-variant))}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}@media(forced-colors: active){.mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .mat-mdc-select-arrow svg{fill:GrayText}}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-select-panel-background-color, var(--mat-sys-surface-container))}@media(forced-colors: active){div.mat-mdc-select-panel{outline:solid 1px}}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}div.mat-mdc-select-panel .mat-mdc-option{--mdc-list-list-item-container-color: var(--mat-select-panel-background-color)}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color, var(--mat-sys-on-surface-variant))}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform, translateY(-8px))}\n'],
encapsulation:2,data:{animation:[Syc]},changeDetection:0});var OL=function(){};OL.\u0275fac=function(a){return new (a||OL)};OL.\u0275dir=Df({type:OL,selectors:[["mat-select-trigger"]],features:[ch([{provide:Zyc,useExisting:OL}])]});var PL=new zd("CDK_TABLE");new zd("text-column-options");var QL=function(){this.template=r(Og)};QL.\u0275fac=function(a){return new (a||QL)};QL.\u0275dir=Df({type:QL,selectors:[["","cdkCellDef",""]]});var RL=function(){this.template=r(Og)};RL.\u0275fac=function(a){return new (a||RL)};RL.\u0275dir=Df({type:RL,selectors:[["","cdkHeaderCellDef",""]]});var SL=function(){this.template=r(Og)};SL.\u0275fac=function(a){return new (a||SL)};SL.\u0275dir=Df({type:SL,selectors:[["","cdkFooterCellDef",""]]});
var TL=function(){this._table=r(PL,{optional:!0});this._stickyEnd=this._sticky=this._hasStickyChanged=!1};TL.prototype.hasStickyChanged=function(){var a=this._hasStickyChanged;this.resetStickyChanged();return a};TL.prototype.resetStickyChanged=function(){this._hasStickyChanged=!1};TL.prototype._updateColumnCssClassName=function(){this._columnCssClassName=["cdk-column-"+this.cssClassFriendlyName]};
TL.prototype._setNameInput=function(a){a&&(this._name=a,this.cssClassFriendlyName=a.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())};
da.Object.defineProperties(TL.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)}}});
TL.\u0275fac=function(a){return new (a||TL)};TL.\u0275dir=Df({type:TL,selectors:[["","cdkColumnDef",""]],contentQueries:function(a,b,c){a&1&&(Sg(c,QL,5),Sg(c,RL,5),Sg(c,SL,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",uh],stickyEnd:[2,"stickyEnd","stickyEnd",uh]},features:[ch([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:TL}]),dg]});
var UL=function(a,b){b.nativeElement.classList.add.apply(b.nativeElement.classList,t(a._columnCssClassName))},VL=function(){UL.call(this,r(TL),r(ef))};Y(VL,UL);VL.\u0275fac=function(a){return new (a||VL)};VL.\u0275dir=Df({type:VL,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[cg]});
var WL=function(){var a=r(TL),b=r(ef);UL.call(this,a,b);var c;(a=(c=a._table)==null?void 0:c._getCellRole())&&b.nativeElement.setAttribute("role",a)};Y(WL,UL);WL.\u0275fac=function(a){return new (a||WL)};WL.\u0275dir=Df({type:WL,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:[1,"cdk-footer-cell"],features:[cg]});var XL=function(){var a=r(TL),b=r(ef);UL.call(this,a,b);var c;(a=(c=a._table)==null?void 0:c._getCellRole())&&b.nativeElement.setAttribute("role",a)};Y(XL,UL);
XL.\u0275fac=function(a){return new (a||XL)};XL.\u0275dir=Df({type:XL,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[cg]});var azc=function(){this.tasks=[];this.endTasks=[]},bzc=new zd("_COALESCED_STYLE_SCHEDULER"),YL=function(){this._currentSchedule=null;this._ngZone=r(kh)};YL.prototype.schedule=function(a){this._createScheduleIfNeeded();this._currentSchedule.tasks.push(a)};
YL.prototype._createScheduleIfNeeded=function(){var a=this;this._currentSchedule||(this._currentSchedule=new azc,this._ngZone.runOutsideAngular(function(){return queueMicrotask(function(){for(;a._currentSchedule.tasks.length||a._currentSchedule.endTasks.length;){var b=a._currentSchedule;a._currentSchedule=new azc;for(var c=k(b.tasks),d=c.next();!d.done;d=c.next())d=d.value,d();b=k(b.endTasks);for(c=b.next();!c.done;c=b.next())c=c.value,c()}a._currentSchedule=null})}))};
YL.\u0275fac=function(a){return new (a||YL)};YL.\u0275prov=n({token:YL,factory:YL.\u0275fac});var ZL=function(){this.template=r(Og);this._differs=r(Qv)};ZL.prototype.ngOnChanges=function(a){this._columnsDiffer||(a=a.columns&&a.columns.currentValue||[],this._columnsDiffer=this._differs.find(a).create(),this._columnsDiffer.diff(a))};ZL.\u0275fac=function(a){return new (a||ZL)};ZL.\u0275dir=Df({type:ZL,features:[rv]});var $L=function(){ZL.call(this,r(Og),r(Qv));this._table=r(PL,{optional:!0});this._sticky=this._hasStickyChanged=!1};Y($L,ZL);
$L.prototype.ngOnChanges=function(a){ZL.prototype.ngOnChanges.call(this,a)};$L.prototype.hasStickyChanged=function(){var a=this._hasStickyChanged;this.resetStickyChanged();return a};$L.prototype.resetStickyChanged=function(){this._hasStickyChanged=!1};da.Object.defineProperties($L.prototype,{sticky:{configurable:!0,enumerable:!0,get:function(){return this._sticky},set:function(a){a!==this._sticky&&(this._sticky=a,this._hasStickyChanged=!0)}}});$L.\u0275fac=function(a){return new (a||$L)};
$L.\u0275dir=Df({type:$L,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[0,"cdkHeaderRowDef","columns"],sticky:[2,"cdkHeaderRowDefSticky","sticky",uh]},features:[dg,cg,rv]});var aM=function(){ZL.call(this,r(Og),r(Qv));this._table=r(PL,{optional:!0});this._sticky=this._hasStickyChanged=!1};Y(aM,ZL);aM.prototype.ngOnChanges=function(a){ZL.prototype.ngOnChanges.call(this,a)};aM.prototype.hasStickyChanged=function(){var a=this._hasStickyChanged;this.resetStickyChanged();return a};
aM.prototype.resetStickyChanged=function(){this._hasStickyChanged=!1};da.Object.defineProperties(aM.prototype,{sticky:{configurable:!0,enumerable:!0,get:function(){return this._sticky},set:function(a){a!==this._sticky&&(this._sticky=a,this._hasStickyChanged=!0)}}});aM.\u0275fac=function(a){return new (a||aM)};aM.\u0275dir=Df({type:aM,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[0,"cdkFooterRowDef","columns"],sticky:[2,"cdkFooterRowDefSticky","sticky",uh]},features:[dg,cg,rv]});
var bM=function(){ZL.call(this,r(Og),r(Qv));this._table=r(PL,{optional:!0})};Y(bM,ZL);bM.\u0275fac=function(a){return new (a||bM)};bM.\u0275dir=Df({type:bM,selectors:[["","cdkRowDef",""]],inputs:{columns:[0,"cdkRowDefColumns","columns"],when:[0,"cdkRowDefWhen","when"]},features:[cg]});var cM=function(){this._viewContainer=r(Pg);czc=this};cM.prototype.ngOnDestroy=function(){czc===this&&(czc=null)};var czc=null;cM.\u0275fac=function(a){return new (a||cM)};
cM.\u0275dir=Df({type:cM,selectors:[["","cdkCellOutlet",""]]});var dM=function(){};dM.\u0275fac=function(a){return new (a||dM)};dM.\u0275cmp=C({type:dM,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&Cg(0,0)},dependencies:[cM],encapsulation:2});var eM=function(){};eM.\u0275fac=function(a){return new (a||eM)};
eM.\u0275cmp=C({type:eM,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&Cg(0,0)},dependencies:[cM],encapsulation:2});var fM=function(){};fM.\u0275fac=function(a){return new (a||fM)};
fM.\u0275cmp=C({type:fM,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&Cg(0,0)},dependencies:[cM],encapsulation:2});var gM=function(){this.templateRef=r(Og);this._contentClassName="cdk-no-data-row"};gM.\u0275fac=function(a){return new (a||gM)};gM.\u0275dir=Df({type:gM,selectors:[["ng-template","cdkNoDataRow",""]]});var dzc=new zd("CDK_SPL");var ezc=["top","bottom","left","right"],fzc=function(a,b,c,d,e,f,h,l){var q=this;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._tableInjector=l;this._elemSizeCache=new WeakMap;var u;this._resizeObserver=((u=globalThis)==null?0:u.ResizeObserver)?new globalThis.ResizeObserver(function(A){return q._updateCachedSizes(A)}):null;this._updatedStickyColumnsParamsToReplay=
[];this._stickyColumnsReplayTimeout=null;this._cachedCellWidths=[];this._destroyed=!1;this._borderCellCss={top:b+"-border-elem-top",bottom:b+"-border-elem-bottom",left:b+"-border-elem-left",right:b+"-border-elem-right"}},gzc=function(a,b,c){(c.includes("left")||c.includes("right"))&&a._removeFromStickyColumnReplayQueue(b);var d=[];b=k(b);for(var e=b.next();!e.done;e=b.next())e=e.value,e.nodeType===e.ELEMENT_NODE&&d.push.apply(d,[e].concat(t(Array.from(e.children))));a._afterNextRender({write:function(){for(var f=
k(d),h=f.next();!h.done;h=f.next())a._removeStickyStyle(h.value,c)}})},hzc=function(a,b,c,d,e,f){e=e===void 0?!0:e;(f===void 0||f)&&a._updateStickyColumnReplayQueue({rows:[].concat(t(b)),stickyStartStates:[].concat(t(c)),stickyEndStates:[].concat(t(d))});if(b.length&&a._isBrowser&&(c.some(function(T){return T})||d.some(function(T){return T}))){var h=b[0],l=h.children.length,q=(f=a.direction==="rtl")?"right":"left",u=f?"left":"right",A=c.lastIndexOf(!0),F=d.indexOf(!0),H,N,O;a._afterNextRender({earlyRead:function(){H=
a._getCellWidths(h,e);N=a._getStickyStartColumnPositions(H,c);O=a._getStickyEndColumnPositions(H,d)},write:function(){for(var T=k(b),ea=T.next();!ea.done;ea=T.next()){ea=ea.value;for(var ka=0;ka<l;ka++){var oa=ea.children[ka];c[ka]&&a._addStickyStyle(oa,q,N[ka],ka===A);d[ka]&&a._addStickyStyle(oa,u,O[ka],ka===F)}}a._positionListener&&(a._positionListener.stickyColumnsUpdated({sizes:A===-1?[]:H.slice(0,A+1).map(function(La,Ua){return c[Ua]?La:null})}),a._positionListener.stickyEndColumnsUpdated({sizes:F===
-1?[]:H.slice(F).map(function(La,Ua){return d[Ua+F]?La:null}).reverse()}))}})}else a._positionListener&&(a._positionListener.stickyColumnsUpdated({sizes:[]}),a._positionListener.stickyEndColumnsUpdated({sizes:[]}))},izc=function(a,b,c,d){if(a._isBrowser){var e=d==="bottom"?b.slice().reverse():b,f=d==="bottom"?c.slice().reverse():c,h=[],l=[],q=[];a._afterNextRender({earlyRead:function(){for(var u=0,A=0;u<e.length;u++)if(f[u]){h[u]=A;var F=e[u];q[u]=a._isNativeHtmlTable?Array.from(F.children):[F];F=
a._retrieveElementSize(F).height;A+=F;l[u]=F}},write:function(){for(var u=f.lastIndexOf(!0),A=0;A<e.length;A++)if(f[A])for(var F=h[A],H=A===u,N=k(q[A]),O=N.next();!O.done;O=N.next())a._addStickyStyle(O.value,d,F,H);if(d==="top"){var T;(T=a._positionListener)==null||T.stickyHeaderRowsUpdated({sizes:l,offsets:h,elements:q})}else{var ea;(ea=a._positionListener)==null||ea.stickyFooterRowsUpdated({sizes:l,offsets:h,elements:q})}}})}},jzc=function(a,b,c){a._isNativeHtmlTable&&a._afterNextRender({write:function(){var d=
b.querySelector("tfoot");d&&(c.some(function(e){return!e})?a._removeStickyStyle(d,["bottom"]):a._addStickyStyle(d,"bottom",0,!1))}})};g=fzc.prototype;g.destroy=function(){this._stickyColumnsReplayTimeout&&clearTimeout(this._stickyColumnsReplayTimeout);this._destroyed=!0};
g._removeStickyStyle=function(a,b){for(var c=k(b),d=c.next();!d.done;d=c.next())d=d.value,a.style[d]="",a.classList.remove(this._borderCellCss[d]);ezc.some(function(e){return b.indexOf(e)===-1&&a.style[e]})?a.style.zIndex=this._getCalculatedZIndex(a):(a.style.zIndex="",this._needsPositionStickyOnElement&&(a.style.position=""),a.classList.remove(this._stickCellCss))};
g._addStickyStyle=function(a,b,c,d){a.classList.add(this._stickCellCss);d&&a.classList.add(this._borderCellCss[b]);a.style[b]=c+"px";a.style.zIndex=this._getCalculatedZIndex(a);this._needsPositionStickyOnElement&&(a.style.cssText+="position: -webkit-sticky; position: sticky; ")};g._getCalculatedZIndex=function(a){for(var b={top:100,bottom:10,left:1,right:1},c=0,d=k(ezc),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(this._retrieveElementSize(a[c]).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};
g._retrieveElementSize=function(a){var b=this._elemSizeCache.get(a);if(b)return b;b=a.getBoundingClientRect();b={width:b.width,height:b.height};if(!this._resizeObserver)return b;this._elemSizeCache.set(a,b);this._resizeObserver.observe(a,{box:"border-box"});return b};g._updateStickyColumnReplayQueue=function(a){this._removeFromStickyColumnReplayQueue(a.rows);this._stickyColumnsReplayTimeout||this._updatedStickyColumnsParamsToReplay.push(a)};
g._removeFromStickyColumnReplayQueue=function(a){var b=new Set(a);a=k(this._updatedStickyColumnsParamsToReplay);for(var c=a.next();!c.done;c=a.next())c=c.value,c.rows=c.rows.filter(function(d){return!b.has(d)});this._updatedStickyColumnsParamsToReplay=this._updatedStickyColumnsParamsToReplay.filter(function(d){return!!d.rows.length})};
g._updateCachedSizes=function(a){var b=this,c=!1;a=k(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=void 0,f=((e=d.borderBoxSize)==null?0:e.length)?{width:d.borderBoxSize[0].inlineSize,height:d.borderBoxSize[0].blockSize}:{width:d.contentRect.width,height:d.contentRect.height};e=void 0;f.width!==((e=this._elemSizeCache.get(d.target))==null?void 0:e.width)&&zNa(d.target)&&(c=!0);this._elemSizeCache.set(d.target,f)}c&&this._updatedStickyColumnsParamsToReplay.length&&(this._stickyColumnsReplayTimeout&&
clearTimeout(this._stickyColumnsReplayTimeout),this._stickyColumnsReplayTimeout=setTimeout(function(){if(!b._destroyed){for(var h=k(b._updatedStickyColumnsParamsToReplay),l=h.next();!l.done;l=h.next())l=l.value,hzc(b,l.rows,l.stickyStartStates,l.stickyEndStates,!0,!1);b._updatedStickyColumnsParamsToReplay=[];b._stickyColumnsReplayTimeout=null}},0))};
g._afterNextRender=function(a){this._tableInjector?Ze(a,{injector:this._tableInjector}):this._coalescedStyleScheduler.schedule(function(){var b;(b=a.earlyRead)==null||b.call(a);a.write()})};var kzc=[[["caption"]],[["colgroup"],["col"]],"*"],hM=function(){this.viewContainer=r(Pg);this.elementRef=r(ef);var a=r(PL);a._rowOutlet=this;a._outletAssigned()};hM.\u0275fac=function(a){return new (a||hM)};hM.\u0275dir=Df({type:hM,selectors:[["","rowOutlet",""]]});var iM=function(){this.viewContainer=r(Pg);this.elementRef=r(ef);var a=r(PL);a._headerRowOutlet=this;a._outletAssigned()};iM.\u0275fac=function(a){return new (a||iM)};iM.\u0275dir=Df({type:iM,selectors:[["","headerRowOutlet",""]]});
var jM=function(){this.viewContainer=r(Pg);this.elementRef=r(ef);var a=r(PL);a._footerRowOutlet=this;a._outletAssigned()};jM.\u0275fac=function(a){return new (a||jM)};jM.\u0275dir=Df({type:jM,selectors:[["","footerRowOutlet",""]]});var kM=function(){this.viewContainer=r(Pg);this.elementRef=r(ef);var a=r(PL);a._noDataRowOutlet=this;a._outletAssigned()};kM.\u0275fac=function(a){return new (a||kM)};kM.\u0275dir=Df({type:kM,selectors:[["","noDataRowOutlet",""]]});
var lM=function(){this._differs=r(Qv);this._changeDetectorRef=r(Ov);this._elementRef=r(ef);this._dir=r(fx,{optional:!0});this._platform=r(tw);this._viewRepeater=r(B8b);this._coalescedStyleScheduler=r(bzc);this._viewportRuler=r(qx);this._stickyPositioningListener=r(dzc,{optional:!0,skipSelf:!0});this._document=r(ii);this._onDestroy=new Uf;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 Dv;this._injector=r(Ye);r(new sv("role"),{optional:!0})||this._elementRef.nativeElement.setAttribute("role","table");this._isServer=
!this._platform.isBrowser;this._isNativeHtmlTable=this._elementRef.nativeElement.nodeName==="TABLE"};g=lM.prototype;g._getCellRole=function(){var a=this._elementRef.nativeElement.getAttribute("role");return a==="grid"||a==="treegrid"?"gridcell":"cell"};
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(Zf(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;(a=this._stickyStyler)==null||a.destroy();var b,c,d;[(b=this._rowOutlet)==null?void 0:b.viewContainer,(c=this._headerRowOutlet)==null?void 0:c.viewContainer,(d=this._footerRowOutlet)==null?void 0:d.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(function(e){e==null||e.clear()});this._headerRowDefs=[];this._footerRowDefs=[];this._defaultRowDef=null;this._onDestroy.next();
this._onDestroy.complete();Uoa(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();H6b(b,function(d){c.get(d.currentIndex).context.$implicit=d.item.data});this._updateNoDataRow();
this.contentChanged.next();lzc(this)}else this._updateNoDataRow(),this.contentChanged.next()};
var mzc=function(a){var b=a._getRenderedRows(a._headerRowOutlet);if(a._isNativeHtmlTable){var c=ENa(a._headerRowOutlet,"thead");c&&(c.style.display=b.length?"":"none")}c=a._headerRowDefs.map(function(d){return d.sticky});gzc(a._stickyStyler,b,["top"]);izc(a._stickyStyler,b,c,"top");a._headerRowDefs.forEach(function(d){return d.resetStickyChanged()})},nzc=function(a){var b=a._getRenderedRows(a._footerRowOutlet);if(a._isNativeHtmlTable){var c=ENa(a._footerRowOutlet,"tfoot");c&&(c.style.display=b.length?
"":"none")}c=a._footerRowDefs.map(function(d){return d.sticky});gzc(a._stickyStyler,b,["bottom"]);izc(a._stickyStyler,b,c,"bottom");jzc(a._stickyStyler,a._elementRef.nativeElement,c);a._footerRowDefs.forEach(function(d){return d.resetStickyChanged()})},lzc=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)gzc(a._stickyStyler,[].concat(t(b),t(c),
t(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=lM.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&&lzc(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();DNa(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=DNa(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs);this._footerRowDefs=DNa(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs);this._rowDefs=DNa(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){e=!!e._columnsDiffer.diff(e.columns);return d||e},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=[];Uoa(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;Uoa(this.dataSource)?b=this.dataSource.connect(this):Gha(this.dataSource)?b=this.dataSource:Array.isArray(this.dataSource)&&(b=Ae(this.dataSource));this._renderChangeSubscription=b.pipe(Zf(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)});mzc(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)});nzc(this)};
g._addStickyColumnStyles=function(a,b){var c=this,d=Array.from((b==null?void 0: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});hzc(this._stickyStyler,a,b,d,!this._fixedLayout||this._forceRecalculateCellWidths)};g._getRenderedRows=function(a){for(var b=[],c=0;c<a.viewContainer.length;c++){var d=a.viewContainer.get(c);b.push(d.rootNodes[0])}return b};
g._getRowDefs=function(a,b){if(this._rowDefs.length==1)return[this._rowDefs[0]];var c=[];if(this.multiTemplateDataRows)c=this._rowDefs.filter(function(e){return!e.when||e.when(b,a)});else{var d=this._rowDefs.find(function(e){return e.when&&e.when(b,a)})||this._defaultRowDef;d&&c.push(d)}return c};g._getEmbeddedViewArgs=function(a,b){return{templateRef:a.rowDef.template,context:{$implicit:a.data},index:b}};
g._renderRow=function(a,b,c,d){d=d===void 0?{}:d;a=a.viewContainer.createEmbeddedView(b.template,d,c);this._renderCellTemplateForItem(b,d);return a};g._renderCellTemplateForItem=function(a,b){a=k(this._getCellTemplates(a));for(var c=a.next();!c.done;c=a.next())c=c.value,czc&&czc._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 $L?c.headerCell.template:a instanceof aM?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)&&mzc(this);this._footerRowDefs.reduce(a,!1)&&nzc(this);Array.from(this._columnDefsByName.values()).reduce(a,!1)&&(this._stickyColumnStylesNeedReset=!0,lzc(this))};
g._setupStickyStyler=function(){var a=this;this._stickyStyler=new fzc(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener,this._injector);(this._dir?this._dir.change:Ae()).pipe(Zf(this._onDestroy)).subscribe(function(b){a._stickyStyler.direction=b;lzc(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(lM.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(),lzc(this))}},fixedLayout:{configurable:!0,enumerable:!0,get:function(){return this._fixedLayout},set:function(a){this._fixedLayout=a;this._stickyColumnStylesNeedReset=this._forceRecalculateCellWidths=!0}}});lM.\u0275fac=function(a){return new (a||lM)};
lM.\u0275cmp=C({type:lM,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(a,b,c){a&1&&(Sg(c,gM,5),Sg(c,TL,5),Sg(c,bM,5),Sg(c,$L,5),Sg(c,aM,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&&sg("cdk-table-fixed-layout",b.fixedLayout)},inputs:{trackBy:"trackBy",
dataSource:"dataSource",multiTemplateDataRows:[2,"multiTemplateDataRows","multiTemplateDataRows",uh],fixedLayout:[2,"fixedLayout","fixedLayout",uh]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[ch([{provide:PL,useExisting:lM},{provide:B8b,useClass:C8b},{provide:bzc,useClass:YL},{provide:dzc,useValue:null}]),dg],ngContentSelectors:["caption","colgroup, col","*"],decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",
""]],template:function(a,b){a&1&&(Ig(kzc),Jg(0),Jg(1,1),D(2,ANa,1,0)(3,BNa,7,0)(4,CNa,4,0));a&2&&(B(2),G(b._isServer?2:-1),B(),G(b._isNativeHtmlTable?3:4))},dependencies:[iM,hM,kM,jM],styles:[".cdk-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2});var mM=function(){};mM.\u0275fac=function(a){return new (a||mM)};mM.\u0275mod=Cf({type:mM});mM.\u0275inj=p({imports:[sx]});var nM=function(){QL.apply(this,arguments)};Y(nM,QL);nM.\u0275fac=function(){var a;return function(b){return(a||(a=ee(nM)))(b||nM)}}();nM.\u0275dir=Df({type:nM,selectors:[["","matCellDef",""]],features:[ch([{provide:QL,useExisting:nM}]),cg]});var oM=function(){RL.apply(this,arguments)};Y(oM,RL);oM.\u0275fac=function(){var a;return function(b){return(a||(a=ee(oM)))(b||oM)}}();oM.\u0275dir=Df({type:oM,selectors:[["","matHeaderCellDef",""]],features:[ch([{provide:RL,useExisting:oM}]),cg]});
var pM=function(){SL.apply(this,arguments)};Y(pM,SL);pM.\u0275fac=function(){var a;return function(b){return(a||(a=ee(pM)))(b||pM)}}();pM.\u0275dir=Df({type:pM,selectors:[["","matFooterCellDef",""]],features:[ch([{provide:SL,useExisting:pM}]),cg]});var qM=function(){TL.apply(this,arguments)};Y(qM,TL);qM.prototype._updateColumnCssClassName=function(){TL.prototype._updateColumnCssClassName.call(this);this._columnCssClassName.push("mat-column-"+this.cssClassFriendlyName)};
da.Object.defineProperties(qM.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return this._name},set:function(a){this._setNameInput(a)}}});qM.\u0275fac=function(){var a;return function(b){return(a||(a=ee(qM)))(b||qM)}}();qM.\u0275dir=Df({type:qM,selectors:[["","matColumnDef",""]],inputs:{name:[0,"matColumnDef","name"]},features:[ch([{provide:TL,useExisting:qM},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:qM}]),cg]});var rM=function(){VL.apply(this,arguments)};Y(rM,VL);
rM.\u0275fac=function(){var a;return function(b){return(a||(a=ee(rM)))(b||rM)}}();rM.\u0275dir=Df({type:rM,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[cg]});var sM=function(){WL.apply(this,arguments)};Y(sM,WL);sM.\u0275fac=function(){var a;return function(b){return(a||(a=ee(sM)))(b||sM)}}();
sM.\u0275dir=Df({type:sM,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:[1,"mat-mdc-footer-cell","mdc-data-table__cell"],features:[cg]});var tM=function(){XL.apply(this,arguments)};Y(tM,XL);tM.\u0275fac=function(){var a;return function(b){return(a||(a=ee(tM)))(b||tM)}}();tM.\u0275dir=Df({type:tM,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[cg]});var uM=function(){$L.apply(this,arguments)};Y(uM,$L);uM.\u0275fac=function(){var a;return function(b){return(a||(a=ee(uM)))(b||uM)}}();uM.\u0275dir=Df({type:uM,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[0,"matHeaderRowDef","columns"],sticky:[2,"matHeaderRowDefSticky","sticky",uh]},features:[ch([{provide:$L,useExisting:uM}]),dg,cg]});var vM=function(){aM.apply(this,arguments)};Y(vM,aM);vM.\u0275fac=function(){var a;return function(b){return(a||(a=ee(vM)))(b||vM)}}();
vM.\u0275dir=Df({type:vM,selectors:[["","matFooterRowDef",""]],inputs:{columns:[0,"matFooterRowDef","columns"],sticky:[2,"matFooterRowDefSticky","sticky",uh]},features:[ch([{provide:aM,useExisting:vM}]),dg,cg]});var wM=function(){bM.apply(this,arguments)};Y(wM,bM);wM.\u0275fac=function(){var a;return function(b){return(a||(a=ee(wM)))(b||wM)}}();
wM.\u0275dir=Df({type:wM,selectors:[["","matRowDef",""]],inputs:{columns:[0,"matRowDefColumns","columns"],when:[0,"matRowDefWhen","when"]},features:[ch([{provide:bM,useExisting:wM}]),cg]});var xM=function(){};Y(xM,dM);xM.\u0275fac=function(){var a;return function(b){return(a||(a=ee(xM)))(b||xM)}}();
xM.\u0275cmp=C({type:xM,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],features:[ch([{provide:dM,useExisting:xM}]),cg],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&Cg(0,0)},dependencies:[cM],encapsulation:2});var yM=function(){};Y(yM,eM);yM.\u0275fac=function(){var a;return function(b){return(a||(a=ee(yM)))(b||yM)}}();
yM.\u0275cmp=C({type:yM,selectors:[["mat-footer-row"],["tr","mat-footer-row",""]],hostAttrs:["role","row",1,"mat-mdc-footer-row","mdc-data-table__row"],exportAs:["matFooterRow"],features:[ch([{provide:eM,useExisting:yM}]),cg],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&Cg(0,0)},dependencies:[cM],encapsulation:2});var zM=function(){};Y(zM,fM);zM.\u0275fac=function(){var a;return function(b){return(a||(a=ee(zM)))(b||zM)}}();
zM.\u0275cmp=C({type:zM,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[ch([{provide:fM,useExisting:zM}]),cg],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&Cg(0,0)},dependencies:[cM],encapsulation:2});var AM=function(){gM.apply(this,arguments);this._contentClassName="mat-mdc-no-data-row"};Y(AM,gM);AM.\u0275fac=function(){var a;return function(b){return(a||(a=ee(AM)))(b||AM)}}();
AM.\u0275dir=Df({type:AM,selectors:[["ng-template","matNoDataRow",""]],features:[ch([{provide:gM,useExisting:AM}]),cg]});var ozc=[[["caption"]],[["colgroup"],["col"]],"*"],pzc=function(){};pzc.\u0275fac=function(a){return new (a||pzc)};pzc.\u0275dir=Df({type:pzc,selectors:[["mat-table","recycleRows",""],["table","mat-table","","recycleRows",""]],features:[ch([{provide:B8b,useClass:D8b}])]});var BM=function(){lM.apply(this,arguments);this.stickyCssClass="mat-mdc-table-sticky";this.needsPositionStickyOnElement=!1};Y(BM,lM);BM.\u0275fac=function(){var a;return function(b){return(a||(a=ee(BM)))(b||BM)}}();
BM.\u0275cmp=C({type:BM,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(a,b){a&2&&sg("mdc-table-fixed-layout",b.fixedLayout)},exportAs:["matTable"],features:[ch([{provide:lM,useExisting:BM},{provide:PL,useExisting:BM},{provide:bzc,useClass:YL},{provide:B8b,useClass:C8b},{provide:dzc,useValue:null}]),cg],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(ozc),Jg(0),Jg(1,1),D(2,FNa,1,0)(3,GNa,7,0)(4,HNa,4,0));a&2&&(B(2),G(b._isServer?2:-1),B(),G(b._isNativeHtmlTable?3:4))},dependencies:[iM,hM,kM,jM],styles:[".mat-mdc-table-sticky{position:sticky !important}mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table{min-width:100%;border:0;border-spacing:0;table-layout:auto;white-space:normal;background-color:var(--mat-table-background-color, var(--mat-sys-surface))}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell{text-align:right}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px}.mat-mdc-header-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-header-container-height, 56px);color:var(--mat-table-header-headline-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-table-header-headline-font, var(--mat-sys-title-small-font, Roboto, sans-serif));line-height:var(--mat-table-header-headline-line-height, var(--mat-sys-title-small-line-height));font-size:var(--mat-table-header-headline-size, var(--mat-sys-title-small-size, 14px));font-weight:var(--mat-table-header-headline-weight, var(--mat-sys-title-small-weight, 500))}.mat-mdc-row{height:var(--mat-table-row-item-container-height, 52px);color:var(--mat-table-row-item-label-text-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)))}.mat-mdc-row,.mdc-data-table__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-table-row-item-label-text-font, var(--mat-sys-body-medium-font, Roboto, sans-serif));line-height:var(--mat-table-row-item-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-table-row-item-label-text-size, var(--mat-sys-body-medium-size, 14px));font-weight:var(--mat-table-row-item-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-footer-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-footer-container-height, 52px);color:var(--mat-table-row-item-label-text-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-table-footer-supporting-text-font, var(--mat-sys-body-medium-font, Roboto, sans-serif));line-height:var(--mat-table-footer-supporting-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-table-footer-supporting-text-size, var(--mat-sys-body-medium-size, 14px));font-weight:var(--mat-table-footer-supporting-text-weight, var(--mat-sys-body-medium-weight));letter-spacing:var(--mat-table-footer-supporting-text-tracking, var(--mat-sys-body-medium-tracking))}.mat-mdc-header-cell{border-bottom-color:var(--mat-table-row-item-outline-color, var(--mat-sys-outline, rgba(0, 0, 0, 0.12)));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-header-headline-tracking, var(--mat-sys-title-small-tracking));font-weight:inherit;line-height:inherit;box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mat-mdc-header-cell{text-align:right}.mdc-data-table__row:last-child>.mat-mdc-header-cell{border-bottom:none}.mat-mdc-cell{border-bottom-color:var(--mat-table-row-item-outline-color, var(--mat-sys-outline, rgba(0, 0, 0, 0.12)));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-row-item-label-text-tracking, var(--mat-sys-body-medium-tracking));line-height:inherit}.mdc-data-table__row:last-child .mat-mdc-cell{border-bottom:none}.mat-mdc-footer-cell{letter-spacing:var(--mat-table-row-item-label-text-tracking, var(--mat-sys-body-medium-tracking))}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}\n"],
encapsulation:2});var qzc=["searchInput"],rzc={title:"Select an issue.",defaultChoices:[],allowMultipleIds:!1},szc={SIMILAR_ISSUES:"Similar issues",SEARCH_RESULTS:"Search results",SEMANTIC_SEARCH_RESULTS:"Semantic search results",ISSUE_IDS:"Issue IDs"},tzc={},uzc=(tzc["Similar issues"]="similar",tzc["Search results"]="exact",tzc["Semantic search results"]="semantic",tzc["Issue IDs"]="id",tzc),vzc={SEMANTIC_SEARCH:"Smart search",EXACT_MATCH:"Exact match"},CM=function(){Z.apply(this,arguments);var a=this;this.dialogRef=
r(mI);this.initialData=r(sI);this.issueFullFridge=r(QF);this.issuePickerSearchService=r(mH);this.analytics=r(OF);this.activeSession=r(Bu);this.componentFridge=r(uD);this.teamFridge=r(IG);this.domSafe=r(NH);this.trackerHelpers=r(yH);this.elRef=r(ef);this.focusTrapFactory=r(Vw);this.isInternalSession=this.activeSession.isInternalSession();this.data=Object.assign({},rzc,this.initialData);var b;this.currentComponentId=(b=this.data.componentId)!=null?b:void 0;this.currentIssueId$=Ne(function(){var c;return((c=
a.data.currentResource)==null?void 0:c.type)==="issue"?Ae(a.data.currentResource.id):Bv});this.currentIssue$=this.currentIssueId$.pipe(Yf(function(c){return a.issueFullFridge.watch(c)}),Vf({bufferSize:1,refCount:!0}));this.team$=this.currentIssue$.pipe(Ue(function(c){return!!(c&&c.aggregatedData&&c.aggregatedData.teamId)}),Yf(function(c){return a.teamFridge.watch(c.aggregatedData.teamId)}),Vf({bufferSize:1,refCount:!0}));this.component$=this.componentFridge.watch(this.currentComponentId);this.selectedIssues=
new IC;this.tableColumns="single-selection title id priority status duplicateCount votes createdTime".split(" ");this.issueUrlFactory=Qq.viewIssue.makeHref;this.trackByIssueId=function(c,d){return d.issueId};this.searchText$=new Xi("");this.searchTextTrimmed$=this.searchText$.pipe(z(function(c){return c.trim()}),Pf());this.idsInSearchText$=this.searchTextTrimmed$.pipe(z(eJa),z(Kj),z(function(c){return c.filter(function(d){return d.length>=4})}),Pf(oj));this.issuesWithIdMatches$=this.idsInSearchText$.pipe(Yf(function(c){return a.issueFullFridge.watchSet(c)}),
$f(function(){a.isLoading=!1}),Vf({bufferSize:1,refCount:!0}));this.openFilter=WG;this.teamFilter=this.componentFilter=void 0;this.includeDescendants=!1;this.selectedFilters$=new IC([this.openFilter]);this.similarIssues$=Ie([this.currentIssueId$,this.selectedFilters$.value$,this.searchTextTrimmed$]).pipe(Lf(0,vp),Ue(function(c){c=k(c);c.next();c.next();return c.next().value===""}),$f(function(){a.isLoading=!0}),Yf(function(c){var d=k(c);c=d.next().value;d=d.next().value;return spc(a.issuePickerSearchService,
c,d)}),$f(function(){a.isLoading=!1}),Vf({bufferSize:1,refCount:!0}));this.SearchSource=vzc;this.selectedSearchSource$=new Xi("Smart search");this.searchResults$=Ie([this.searchTextTrimmed$.pipe($f(function(){a.isLoading=!0}),Lf(200)),this.selectedFilters$.value$.pipe($f(function(){a.isLoading=!0})),this.selectedSearchSource$]).pipe(Yf(function(c){var d=k(c);c=d.next().value;var e=d.next().value;return d.next().value==="Smart search"?(a.analytics.trackEvent("assistive-issue-picker","semantic-search-"+
a.data.edgeType),upc(a.issuePickerSearchService,c,e,a.data.edgeType,a.data.currentResource)):a.issuePickerSearchService.search(c,a.data.edgeType,a.data.currentResource,a.currentComponentId)}),$f(function(){a.isLoading=!1}),Vf({bufferSize:1,refCount:!0}));this.idsToAutoSelect$=this.issuesWithIdMatches$.pipe(z(function(c){return c.length!==1?[]:[c[0].issueId]}),Pf(oj),$f(function(c){c.length===0&&(a.isPasteResultInSuggestion=!1);var d,e=(d=tp(a.similarIssues$))!=null?d:[];a.isPasteResultInSuggestion=
e.map(function(f){return f.issueId}).includes(c[0])}),Vf({bufferSize:1,refCount:!0}));this.TableDataSource=szc;this.tableDataSource="Search results";this.issues$=Ie([this.searchTextTrimmed$,this.issuesWithIdMatches$,this.similarIssues$.pipe(Xf([])),this.selectedSearchSource$]).pipe(Yf(function(c){var d=k(c);c=d.next().value;var e=d.next().value;var f=d.next().value;d=d.next().value;return e.length===1?(a.tableDataSource="Issue IDs",a.issuesWithIdMatches$):c?(a.tableDataSource=d==="Smart search"?"Semantic search results":
"Search results",a.searchResults$):f?(f.length>0&&(a.tableDataSource="Similar issues"),a.similarIssues$):Ae(void 0)}),Pf());this.correctedDisplayedRows=new Qg;this.isPasteResultInSuggestion=this.isLoading=!1};Y(CM,Z);CM.\u0275dir=Z.\u0275dir;
CM.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.idsToAutoSelect$.subscribe(function(b){a.selectedIssues.reset(b)}));this.subscriptions.add(this.component$.pipe(Nf()).subscribe(function(b){b&&(a.componentFilter=GGa(b,!1),a.selectedScopeFilter=a.componentFilter,a.selectedFilters$.add(a.componentFilter))}));this.subscriptions.add(this.team$.pipe(Nf()).subscribe(function(b){b&&(a.teamFilter=FGa(b,!1))}));this.data.edgeType==="canonical"&&this.subscriptions.add(xpc(this.issuePickerSearchService,
this.currentComponentId).subscribe())};CM.prototype.ngAfterViewInit=function(){this.focusManager=ax(new pyc(this.correctedDisplayedRows,function(a,b){return a.issueId===b.issueId}));this.trapFocus()};CM.prototype.ngOnDestroy=function(){Z.prototype.ngOnDestroy.call(this);var a;(a=this.focusTrap)==null||a.destroy()};CM.prototype.openFilterChanged=function(a){a?this.selectedFilters$.add(WG):this.selectedFilters$.delete(WG)};
var NNa=function(a,b){if(a.componentFilter&&a.teamFilter&&a.selectedScopeFilter!==b){a.selectedScopeFilter=b;var c=new Set(tp(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)}},qOa=function(a,b){var c,d;return se(function(e){if(e.nextAddress==1)return y(e,Ci(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(ik);
a.correctedDisplayedRows.reset(d);Ug(a.correctedDisplayedRows);xe(e)})};CM.prototype.onPressConfirm=function(){var a=this,b,c;return se(function(d){if(!a.selectedIssues.size)return d.return();b=[].concat(t(a.selectedIssues));c={selectedIssueIds:b};a.dialogRef.close(c);wzc(a,b[0]);return y(d,xzc(a,b[0]),0)})};CM.prototype.onPressCancel=function(){this.dialogRef.close()};CM.prototype.selectIssue=function(a){this.selectedIssues.reset([a])};
CM.prototype.onRowKeydown=function(a,b,c){if(a===0&&c.key==="ArrowUp")this.inputEl.nativeElement.focus(),c.preventDefault();else this.focusManager.onKeydown(c)};var xzc=function(a,b){var c,d;return se(function(e){if(e.nextAddress==1)return y(e,yzc(a,b),2);c=e.yieldResult;d=uzc[a.tableDataSource];a.analytics.trackEvent("assistive-issue-picker","picked-c-"+a.data.edgeType,c?d+"-hit":d+"-miss",c?1:0);xe(e)})};
CM.prototype.trapFocus=function(){this.focusTrap=this.focusTrapFactory.create(this.elRef.nativeElement);a8b(this.focusTrap)};
var wzc=function(a,b){var c,d=(c=tp(a.similarIssues$))!=null?c:[],e=d.map(function(f){return f.issueId});c=uzc[a.tableDataSource];b=e.includes(b);d.length===0?a.analytics.trackEvent("assistive-issue-picker","empty-hit-rate-"+a.data.edgeType,c+"-empty"):(a.analytics.trackEvent("assistive-issue-picker","hit-rate-"+a.data.edgeType,b?c+"-hit":c+"-miss",b?1:0),d=tp(a.component$),d=ou(a.trackerHelpers,d==null?void 0:d.componentPathInfo),e="",d&&d.componentPathName&&(e=d.componentPathName[0].toString().trim()),
a.analytics.trackEvent("assistive-issue-picker","hit-rate-by-component-"+a.data.edgeType,b?c+"-hit,"+e:c+"-miss,"+e,b?1:0))},yzc=function(a,b){var c,d;return se(function(e){if(e.nextAddress==1){if(a.data.edgeType!=="canonical")return e.return(!1);c=Set;return y(e,Fe(xpc(a.issuePickerSearchService,a.currentComponentId)),2)}d=new c(e.yieldResult);return e.return(d.has(b))})};CM.prototype.openLearnMore=function(){this.domSafe.openInNewTab("http://go/b-mark-as-duplicate")};
CM.\u0275fac=function(){var a;return function(b){return(a||(a=ee(CM)))(b||CM)}}();
CM.\u0275cmp=C({type:CM,selectors:[["assistive-issue-picker-dialog"]],viewQuery:function(a,b){a&1&&(Rg(qzc,5),Rg(uL,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&&M("keydown.control.enter",function(){return b.onPressConfirm()})("keydown.meta.enter",function(){return b.onPressConfirm()})},standalone:!1,features:[cg],decls:29,vars:23,consts:[["searchInput",""],["teamComponentMenu","matMenu"],["menuTrigger","matMenuTrigger"],["mat-dialog-title",
""],[1,"heading","flex-kids-y","gap-s","border-bottom","padded-bottom","margin-s-bottom"],[1,"heading","flex-kids-x","gap-xxs","align-items-center","padded-s-y","heading-m"],["svgIcon","merge_type_24px",1,"rotate-180","green"],[1,"search-field","margin-s-bottom","flex-kids-x","align-items-center","heading-xs"],["cdkFocusInitial","","placeholder","Search by title, contents, or id",3,"keydown.arrowdown","input","keydown.enter"],[1,"padded-s",3,"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,"center-text","padded","margined","pos-rel"],["mat-dialog-content",""],["mat-dialog-actions",""],["type","button","mat-button","",1,"medium","cancel",3,"click"],["type","button","mat-flat-button","","color","primary",1,"medium","confirm",3,"click","disabled"],[1,"type-xs"],
[1,"heading-s","line-clamp-3"],["svgIcon","search_spark_24px",1,"icon-m"],["svgIcon","search",1,"icon-m"],[1,"flex-kids-x","align-items-center","margin-s-bottom","gap-s"],["aria-label","Filter open issues",3,"change"],["appearance","hairline-filter",3,"selected","value"],[3,"matTooltip"],["aria-label","Scope search to component or team",3,"selectable"],["xPosition","before"],["type","button","mat-menu-item","","matTooltipPosition","right","matTooltipShowDelay","500",3,"matTooltip"],["aria-label",
"Include subcomponents or subteams",3,"change"],["appearance","hairline-filter",1,"include-descendants-chip"],["matTooltip","Include subcomponents or subteams"],"type;button;mat-icon-button;;matTooltip;Learn more;aria-label;help".split(";"),["appearance","hairline-filter","aria-label","Select search scope","selected","","color","primary","role","button",1,"team-component-filters",3,"keydown.enter","keyup.space","matMenuTriggerFor"],["matChipTrailingIcon","","svgIcon","arrow-dropdown"],["type","button",
"mat-menu-item","","matTooltipPosition","right","matTooltipShowDelay","500",3,"click","matTooltip"],["svgIcon","done"],["type","button","mat-icon-button","","matTooltip","Learn more","aria-label","help",3,"click"],["svgIcon","help-outline"],["text","Finding similar issues...",3,"large"],["text","Searching..."],["ariaLabel","Loading results",1,"margined","inline-block"],["messageType","info","iconOverride","lightbulb_24px"],[1,"heading-xs"],["mat-table","",1,"full-width",3,"dataSource","trackBy"],
[1,"center-text","padded"],["href","http://go/b-mark-as-duplicate","target","\u201d_blank\u201d"],["svgIcon","spark_24px","color","primary",1,"valign-middle"],["mat-table","",1,"full-width",3,"contentChanged","dataSource","trackBy"],["matColumnDef","single-selection"],["mat-header-cell","",4,"matHeaderCellDef"],["aria-label","Select issue",3,"change"],["mat-cell","",4,"matCellDef"],["matColumnDef","title"],["matColumnDef","id"],["matColumnDef","priority"],["matColumnDef","status"],["mat-header-cell",
"","mat-sort-header","status",4,"matHeaderCellDef"],["matColumnDef","duplicateCount"],["mat-cell","","class","center-text",4,"matCellDef"],["matColumnDef","votes"],["mat-header-cell","","matTooltip","Votes",4,"matHeaderCellDef"],["matColumnDef","createdTime"],["mat-header-cell","","mat-sort-header","createdTime",4,"matHeaderCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","class","clickable",3,"row","keydown","keydown.enter","focusin","click",4,"matRowDef","matRowDefColumns"],["mat-header-cell",
""],[1,"a11y-only"],["mat-cell",""],["tabindex","0",3,"checked","aria-label","value"],["anchorTarget","_blank",3,"issue","issueUrlFactory","useButtonToNavigate","enableHovercard"],[3,"id"],[3,"issue"],["mat-header-cell","","mat-sort-header","status"],["mat-cell","",1,"center-text"],["mat-header-cell","","matTooltip","Votes"],["svgIcon","exposure_plus_1_24px",1,"icon-xs"],["mat-header-cell","","mat-sort-header","createdTime"],["mode","relativepastshort",3,"issue"],["mat-header-row",""],["mat-row",
"",1,"clickable",3,"keydown","keydown.enter","focusin","click","row"],[1,"margined","inline-block"]],template:function(a,b){if(a&1){var c=v();I(0,"div",3);D(1,INa,5,1,"div",4);S(2,"async");I(3,"div",5);K(4,"mat-icon",6);I(5,"span");Q(6,"Close as duplicate of:");J()();I(7,"header",7);D(8,LNa,2,1);S(9,"async");I(10,"input",8,0);M("keydown.arrowdown",function(){w(c);return x(b.focusManager.setActiveItem(0))})("input",function(){w(c);var l=L(11);return x(b.searchText$.next(l.value))})("keydown.enter",
function(){w(c);return x(b.onPressConfirm())});J();I(12,"mat-select",9);S(13,"async");M("selectionChange",function(l){w(c);b.selectedSearchSource$.next(l.value);return x()});I(14,"mat-option",10);Q(15);J();I(16,"mat-option",11);Q(17);J()()();D(18,SNa,1,1);S(19,"async");J();D(20,WNa,5,3,"div",12)(21,tOa,5,4,"div",13);S(22,"async");I(23,"div",14)(24,"button",15);M("click",function(){w(c);return x(b.onPressCancel())});Q(25," Cancel ");J();I(26,"button",16);S(27,"async");M("click",function(){w(c);return x(b.onPressConfirm())});
Q(28," Close as duplicate ");J()()}if(a&2){var d,e,f,h;B();G((d=U(2,11,b.currentIssue$))?1:-1,d);B(7);G((e=U(9,13,b.selectedSearchSource$))?8:-1,e);B(4);E("value",U(13,15,b.selectedSearchSource$));B(2);E("value",b.SearchSource.SEMANTIC_SEARCH);B();R(" ",b.SearchSource.SEMANTIC_SEARCH," ");B();E("value",b.SearchSource.EXACT_MATCH);B();R(" ",b.SearchSource.EXACT_MATCH," ");B();G((f=U(19,17,b.selectedSearchSource$))?18:-1,f);B(2);G(b.isLoading?20:-1);B();G((h=U(22,19,b.issues$))?21:-1,h);B(5);E("disabled",
!U(27,21,b.selectedIssues.size$))}},dependencies:[pB,wL,FL,DL,BL,oH,EH,GH,HH,mL,eB,jy,ly,wI,yI,xI,xL,IL,GL,JL,LL,ML,yL,NL,Zx,zL,BM,oM,uM,qM,nM,wM,rM,tM,xM,zM,mB,rB,kyc,sL,uL,nL,oL,ew],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;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 zzc=function(a,b){return[a,b]},DM=function(){this.size=this.name=""};DM.prototype.ngOnInit=function(){};DM.\u0275fac=function(a){return new (a||DM)};
DM.\u0275cmp=C({type:DM,selectors:[["b-icon"]],inputs:{name:"name",size:"size"},standalone:!1,decls:1,vars:5,consts:[[3,"svgIcon","ngClass"]],template:function(a,b){a&1&&K(0,"mat-icon",0);a&2&&E("svgIcon",b.name)("ngClass",fh(2,zzc,b.name,b.size))},dependencies:[aw,pB],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 EM=function(){this.expandable=this.issue=null;this.expanded=!1;this.level=0;this.expansionChange=new aB;this.title=""};EM.prototype.ngOnChanges=function(){var a,b;this.title=((a=this.issue)==null?void 0:(b=a.snapshot[0])==null?void 0:b.title)||""};EM.\u0275fac=function(a){return new (a||EM)};
EM.\u0275cmp=C({type:EM,selectors:[["b-expandable-issue-title-cell"]],inputs:{issue:"issue",expandable:"expandable",expanded:"expanded",level:"level"},outputs:{expansionChange:"expansionChange"},standalone:!1,features:[rv],decls:4,vars:4,consts:[[1,"flex-kids-x","align-items-center"],["type","button","mat-icon-button","",1,"medium","expander",3,"collapsed"],[1,"leaf"],[3,"issue"],["type","button","mat-icon-button","",1,"medium","expander",3,"click"],["name","arrow-dropdown","size","small"]],template:function(a,
b){a&1&&(I(0,"div",0),D(1,uOa,2,3,"button",1)(2,vOa,1,0,"div",2),K(3,"b-issue-title-cell",3),J());a&2&&(rg("margin-left",b.level*24,"px"),B(),G(b.expandable?1:2),B(2),E("issue",b.issue))},dependencies:[eB,ly,DM,mL],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 FM=function(){this.tooltip=this.displayText=this.chipColor=""};FM.\u0275fac=function(a){return new (a||FM)};
FM.\u0275cmp=C({type:FM,selectors:[["b-signal-chip"]],inputs:{chipColor:"chipColor",icon:"icon",displayText:"displayText",tooltip:"tooltip"},decls:3,vars:6,consts:[["role","button","tabindex","0",3,"matTooltip"],[1,"vertical-centered","icon-s",3,"svgIcon"]],template:function(a,b){a&1&&(I(0,"div",0),D(1,wOa,1,1,"mat-icon",1),Q(2),J());a&2&&(tg("signal-chip type-button "+b.chipColor),E("matTooltip",b.tooltip),jg("aria-label",b.tooltip),B(),G(b.icon?1:-1),B(),R(" ",b.displayText,"\n"))},dependencies:[mB,
rB,pB],styles:[".signal-chip[_ngcontent-%COMP%]{border:1px solid;border-color:#dadce0;border-color:var(--divider);padding:2px 12px;border-radius:32px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;text-align:center;white-space:nowrap}.signal-chip.blue[_ngcontent-%COMP%]{background-color:#f2f6ff;background-color:var(--blue-bg);border:1px solid;border-color:#185abc;border-color:var(--blue-text);color:#185abc;color:var(--blue-text)}.signal-chip.green[_ngcontent-%COMP%]{background-color:#edfbf1;background-color:var(--green-bg);border:1px solid;border-color:#137333;border-color:var(--green-text);color:#137333;color:var(--green-text)}.signal-chip.orange[_ngcontent-%COMP%]{background-color:#fff3e9;background-color:var(--orange-bg);border:1px solid;border-color:#bd4800;border-color:var(--orange-text);color:#bd4800;color:var(--orange-text)}.signal-chip.pink[_ngcontent-%COMP%]{background-color:#fff2f9;background-color:var(--pink-bg);border:1px solid;border-color:#d01884;border-color:var(--pink-text);color:#d01884;color:var(--pink-text)}.signal-chip.purple[_ngcontent-%COMP%]{background-color:#f9f3ff;background-color:var(--purple-bg);border:1px solid;border-color:#9334e6;border-color:var(--purple-text);color:#9334e6;color:var(--purple-text)}.signal-chip.red[_ngcontent-%COMP%]{background-color:#fff2f1;background-color:var(--red-bg);border:1px solid;border-color:#d42521;border-color:var(--red-text);color:#d42521;color:var(--red-text)}"],
changeDetection:0});var Azc=[[["xap-dialog-layout-title"]],[["xap-dialog-layout-subtitle"]],[["xap-dialog-layout-content"]],[["xap-dialog-layout-actions"]]],Bzc=function(){};Bzc.\u0275fac=function(a){return new (a||Bzc)};Bzc.\u0275dir=Df({type:Bzc,selectors:[["xap-dialog-layout-subtitle"]]});var GM=function(a,b,c){this.el=a;this.cdRef=b;this.ngZone=c;this.destroyed=new Tf;this.internalScrollable=!1;this.internalScrollPosition="bottom"};
GM.prototype.ngOnInit=function(){var a=this;this.internalScrollPosition=this.getScrollPosition(this.el.nativeElement);this.ngZone.runOutsideAngular(function(){Czc(a).subscribe(function(b){a.ngZone.run(function(){a.internalScrollable=b;a.cdRef.markForCheck();a.cdRef.detectChanges()})});Dzc(a).subscribe(function(b){a.ngZone.run(function(){a.internalScrollPosition=b;a.cdRef.markForCheck();a.cdRef.detectChanges()})})})};GM.prototype.ngOnDestroy=function(){this.destroyed.next();this.destroyed.complete()};
var Czc=function(a){if(!window.ResizeObserver)return Ae(Ezc(a.el.nativeElement));var b;return xha(function(c){b=new ResizeObserver(function(){c(Ezc(a.el.nativeElement))});b.observe(a.el.nativeElement)},function(){b.disconnect()}).pipe(Pf(),Zf(a.destroyed))},Dzc=function(a){return Pe(a.el.nativeElement,"scroll").pipe(xOa(),z(function(){return a.getScrollPosition(a.el.nativeElement)}),Pf(),Zf(a.destroyed))},Ezc=function(a){return a.offsetHeight+a.scrollTop<=a.scrollHeight};
GM.prototype.getScrollPosition=function(a){return a.scrollTop===0?"top":a.offsetHeight+a.scrollTop>=a.scrollHeight?"bottom":"center"};da.Object.defineProperties(GM.prototype,{scrollable:{configurable:!0,enumerable:!0,get:function(){return this.internalScrollable}},scrollPosition:{configurable:!0,enumerable:!0,get:function(){return this.internalScrollPosition}}});GM.\u0275fac=function(a){return new (a||GM)(hf(ef),hf(Ov),hf(kh))};
GM.\u0275dir=Df({type:GM,selectors:[["xap-dialog-layout-content"]],hostAttrs:[1,"xap-dialog-layout-content"],hostVars:6,hostBindings:function(a,b){a&2&&sg("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")}});var HM=function(){};HM.\u0275fac=function(a){return new (a||HM)};
HM.\u0275cmp=C({type:HM,selectors:[["xap-dialog-layout"]],contentQueries:function(a,b,c){a&1&&Sg(c,Bzc,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&&sg("xap-dialog-layout-bordered-header",b.subtitle)},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(Azc),
I(0,"header",0),Jg(1),Jg(2,1),J(),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 Fzc=ti({opacity:0}),Gzc=ti({opacity:1}),Hzc=ri("dialogContainer",[ui("void, hidden",Fzc),ui("visible",Gzc),vi("void => *, * => visible",si("200ms cubic-bezier(0.0,0.0,0.2,1)",Gzc)),vi("* => void, * => hidden",si("200ms cubic-bezier(0.4,0.0,0.2,1)",Fzc))]);var Izc=new zd("XAP_IDCO"),IM=function(){Fx.apply(this,arguments);this.animationState="hidden";this.options=r(Izc);this.changeDetector=r(Ov)};Y(IM,Fx);IM.prototype.ngAfterViewInit=function(){};IM.prototype.attachComponentPortal=function(a){return this.portalOutlet.attachComponentPortal(a)};IM.prototype.attachTemplatePortal=function(a){return this.portalOutlet.attachTemplatePortal(a)};var Jzc=function(a,b){a.animationState=b?"visible":"hidden";a.changeDetector.markForCheck()};
IM.\u0275fac=function(){var a;return function(b){return(a||(a=ee(IM)))(b||IM)}}();
IM.\u0275cmp=C({type:IM,selectors:[["xap-inline-dialog-container"]],viewQuery:function(a,b){a&1&&Rg(Ix,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&&(Eg("@dialogContainer",b.animationState),jg("aria-label",b.options.dialogLabel)("tabindex",b.options.dialogTabIndex))},features:[cg],decls:2,vars:0,consts:[["cdkPortalOutlet",""],["cdkFocusInitial","","tabindex","0"]],template:function(a){a&
1&&(I(0,"div"),D(1,yOa,1,0,"ng-template",0),J())},dependencies:[Qw,Jx,Ix],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:[Hzc]},changeDetection:0});var Kzc=[{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}],Lzc={minWidth:220,maxWidth:420,minHeight:64,maxHeight:420},JM=function(){var a=this;this.disabledInternal=!1;this.dialogLabel=null;this.dialogTabIndex=-1;this.overlayDimensions=Lzc;this.triggerDescription=
"Press space for more information.";this.forceTrapFocus=this.disableAutoFocusInternal=!1;this.scrollStrategy="close";this.stackLocation=0;this.beforeOpened=new Dv;this.opened=new Dv;this.closed=new Dv;this.destroyed=new Tf;this.openStatusChange=new Xi(!1);this.openings=this.openStatusChange.pipe(Ue(function(b){return b&&!a.disabled}));this.elementFocusedBeforeDialogWasOpened=void 0;this.ngZone=r(kh);this.overlay=r(Kx);this.elementRef=r(ef);this.viewContainerRef=r(Pg);this.document=r(ii);this.focusTrapFactory=
r(Vw);this.ariaDescriber=r(Rw);this.injector=r(Ye);Mzc(this,this.elementRef.nativeElement);this.attachKeyboardCloseEventListeners(this.elementRef.nativeElement);Nzc(this,this.elementRef.nativeElement)};JM.prototype.ngOnInit=function(){var a=this.elementRef.nativeElement;a.hasAttribute("aria-haspopup")||a.setAttribute("aria-haspopup","dialog");a.hasAttribute("aria-describedby")||h8b(this.ariaDescriber,a,this.triggerDescription)};
JM.prototype.ngOnDestroy=function(){this.closeDialog();this.openStatusChange.complete();this.destroyed.next();this.destroyed.complete();this.overlayRef&&this.overlayRef.dispose()};
var Mzc=function(a,b){a.ngZone.runOutsideAngular(function(){Pe(b,"keydown").pipe(Zf(a.destroyed)).subscribe(function(c){switch(c.keyCode){case 13:a.openDialog();c.preventDefault();break;case 32:c.preventDefault()}});Pe(b,"keyup").pipe(Zf(a.destroyed)).subscribe(function(c){switch(c.keyCode){case 32:a.openDialog()}})})},Nzc=function(a,b){a.ngZone.runOutsideAngular(function(){Pe(b,"focus").pipe(Ue(function(){return a.beforeOpened.observers.length>0}),Zf(a.destroyed)).subscribe(function(){a.ngZone.run(function(){a.beforeOpened.emit()})})})};
g=JM.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=Ozc(a);a.dialogContainerRef.instance.attach(c);var d=a.dialogContainerRef.location.nativeElement;a.attachMouseEventListeners(d);a.attachKeyboardCloseEventListeners(d);a.trapFocus(d);Jzc(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)||(Jzc(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),Dw(this.focusTrap),this.disableAutoFocus||this.focusInitialElement()};g.focusInitialElement=function(){this.focusTrap&&a8b(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 xx(Bx(this.overlay.position(),(b=this.attachedTo)!=null?b:this.elementRef),a).setOrigin((c=this.attachedTo)!=null?c:this.elementRef)};
var Pzc=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()}},Ozc=function(a){var b=th({parent:a.injector,providers:[{provide:Izc,useValue:{dialogLabel:a.dialogLabel,dialogTabIndex:a.dialogTabIndex}}]});b=new Dx(IM,null,b);a.overlayRef==null&&(a.overlayRef=a.overlay.create(a.createOverlayConfig(Kzc)));a.overlaySize&&a.overlayRef.updateSize(a.overlaySize);a.overlayPositions&&
a.overlayPositions.length>0&&F8b(a.overlayRef,a.createPositionStrategy(a.overlayPositions));return a.overlayRef.attach(b)};
da.Object.defineProperties(JM.prototype,{dialog:{configurable:!0,enumerable:!0,set:function(a){a&&(this.portal=a instanceof Og?new Ex(a,this.viewContainerRef):new Dx(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=di(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}}}});JM.\u0275fac=function(a){return new (a||JM)};
JM.\u0275dir=Df({type:JM,hostVars:1,hostBindings:function(a,b){a&2&&jg("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"}});var KM=function(){JM.call(this);this.hoverDelayMs=500;this.activity=new Uf;this.attachMouseEventListeners(this.elementRef.nativeElement)};Y(KM,JM);g=KM.prototype;g.ngOnInit=function(){JM.prototype.ngOnInit.call(this);this.listenForOpenEvents(this.hoverDelayMs)};
g.listenForOpenEvents=function(a){var b=this,c=this.openStatusChange.pipe(Tja(function(){return b.activity.pipe(Lf(a))}));c.pipe(Zf(this.destroyed)).subscribe(function(d){d?b.openDialog():b.closeDialog()});this.openings.pipe(Ue(function(d){return d&&b.beforeOpened.observers.length>0}),rka(function(){return c.pipe(Ue(function(d){return!d}))}),Zf(this.destroyed)).subscribe(function(){b.ngZone.run(function(){b.beforeOpened.emit()})})};
g.attachMouseEventListeners=function(a){var b=this;this.stackManager&&this.stackManager.unregisterEvent().pipe(Lf(this.hoverDelayMs),Zf(this.destroyed)).subscribe(function(){a.matches(":hover")||b.viewContainerRef.element.nativeElement.matches(":hover")?b.openingDialog():b.closingDialog()});this.ngZone.runOutsideAngular(function(){Pe(a,"mouseenter").pipe(Zf(b.destroyed)).subscribe(function(){b.openingDialog()});Pe(a,"click").pipe(Zf(b.destroyed)).subscribe(function(c){c.target.closest("[xapInlineDialogClose]")?
b.closingDialog():(b.openingDialog(),b.openDialog())});Pe(a,"mouseleave").pipe(Zf(b.destroyed)).subscribe(function(){b.closingDialog()});Pe(a,"mousemove").pipe(Zf(b.destroyed)).subscribe(function(){b.activity.next()})})};g.attachKeyboardCloseEventListeners=function(a){var b=this;this.ngZone.runOutsideAngular(function(){Pe(a,"keydown").pipe(Zf(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 ux(Object.assign({},this.overlayDimensions,{positionStrategy:JM.prototype.createPositionStrategy.call(this,a),scrollStrategy:Pzc(this),panelClass:this.panelClassInternal}))};KM.\u0275fac=function(a){return new (a||KM)};
KM.\u0275dir=Df({type:KM,selectors:[["","xapInlineDialog",""]],hostAttrs:[1,"xap-inline-dialog"],inputs:{dialog:[0,"xapInlineDialog","dialog"],disabled:[0,"xapInlineDialogDisabled","disabled"],hoverDelayMs:"hoverDelayMs"},exportAs:["xapInlineDialog"],features:[cg]});var LM=function(){this.issueService=r(bF);this.issueExperimentalFieldsFridge=r(dF);this.isDataLoaded=!1;this.alerts=[]};LM.prototype.ngOnInit=function(){};var AOa=function(a){return a.alerts.filter(function(b){return Zl(a.issue,b)})};
LM.prototype.dismissAlert=function(){var a=this,b;return se(function(c){if(c.nextAddress==1)return a.issue.issueId?y(c,Fe(a.issueExperimentalFieldsFridge.watch(a.issue.issueId)),2):c.return();b=c.yieldResult;if(!b)return c.return();b.triage.dismissed={seconds:Date.now()/1E3,nanos:0};return y(c,zkc(a.issueService,b),0)})};LM.\u0275fac=function(a){return new (a||LM)};
LM.\u0275cmp=C({type:LM,selectors:[["b-issue-alerts-cell"]],inputs:{issue:"issue",alerts:"alerts"},standalone:!1,decls:6,vars:3,consts:[["tooltipTemplate",""],[1,"chip-container","flex-kids-x","gap-xs","align-items-center"],[1,"truncated-alerts-chip",3,"xapInlineDialog"],[3,"chipColor","displayText","tooltip"],["type","button","mat-icon-button","","ariaLabel","Dismiss","matTooltip","Dismiss this alert",1,"xs",3,"click","mousedown"],["svgIcon","issue-status-wont-fix","color","primary",1,"dismiss-icon"],
[1,"tooltip-chip-container","flex-kids-x"],["svgIcon","issue-status-wont-fix","color","primary",1,"tooltip-dismiss-icon"]],template:function(a,b){a&1&&(I(0,"div",1),Gg(1),D(2,zOa,3,3)(3,BOa,2,2,"div",2),J(),D(4,DOa,4,0,"ng-template",null,0,ih));a&2&&(B(),a=Ala(AOa(b)[0]),B(),G(a?2:-1),B(),G(AOa(b).slice(1).length?3:-1))},dependencies:[pB,eB,ly,mB,rB,FM,HM,GM,KM],styles:["b-signal-chip[_ngcontent-%COMP%]:not(:last-of-type){margin-right:8px}.dismiss-icon[_ngcontent-%COMP%]{opacity:0;margin-bottom:1px}.dismiss-btn.cdk-keyboard-focused[_ngcontent-%COMP%]   .dismiss-icon[_ngcontent-%COMP%]{opacity:1;color:#1a73e8;color:var(--primary);background-color:unset}.truncated-alerts-chip[_ngcontent-%COMP%]{border:1px solid;border-color:#dadce0;border-color:var(--divider);padding:2px 12px;border-radius:32px;width:fit-content;text-align:center;white-space:nowrap}.tooltip-chip-container[_ngcontent-%COMP%]{margin-right:8px;margin-bottom:8px}.tooltip-chip-container[_ngcontent-%COMP%]   b-signal-chip[_ngcontent-%COMP%]{margin-right:8px}.tooltip-dismiss-icon[_ngcontent-%COMP%]{color:#1a73e8;color:var(--primary)}"],
changeDetection:0});var MM=function(){this.issue=null;this.isDataLoaded=!1};MM.prototype.ngOnChanges=function(){var a;this.assignee=oua(Sj((a=this.issue)==null?void 0:a.snapshot[0].assigneeUser)||void 0);this.isDataLoaded=this.issue!==null};MM.\u0275fac=function(a){return new (a||MM)};
MM.\u0275cmp=C({type:MM,selectors:[["b-issue-assignee-cell"]],inputs:{issue:"issue"},standalone:!1,features:[rv],decls:2,vars:2,consts:[[3,"isReady"],[3,"email"]],template:function(a,b){a&1&&(I(0,"b-async-data-placeholder",0),D(1,EOa,2,2,"b-person-hovercard",1),J());a&2&&(E("isReady",b.isDataLoaded),B(),G(b.assignee?1:-1))},dependencies:[nH,gK],encapsulation:2,changeDetection:0});var Qzc=0,NM=function(){Z.call(this);var a=this;this.teamsService=r(DG);this.ROUTES=Qq;this.anchorLinkEnabled=!0;this.teamNotAssignedMessage="No team assigned";this.linkFocused=new aB;this.linkBlurred=new aB;this.teamName=this.teamId;this.teamLogoUrl=this.teamDescription="";this.providedTeamId$=new Tf(1);this.teamLinkId="b-team-link-content-"+Qzc;this.fetchedTeam$=this.providedTeamId$.pipe(Pf(),Ue(function(b){return b!=="0"}),Yf(function(b){return EG(a.teamsService,b)}));this.isTeamFetched$=this.fetchedTeam$.pipe(z(function(){return!0}),
Xf(!1));this.fetchedTeam$.pipe(Zf(this.destroyed$)).subscribe(function(b){a.teamName=b.name;a.teamDescription=b.description;a.teamLogoUrl="https://moma-teams-photos.corp.google.com/logo/"+b.teamId});Qzc++};Y(NM,Z);NM.\u0275dir=Z.\u0275dir;NM.prototype.ngOnInit=function(){};NM.prototype.ngOnChanges=function(a){a.teamId&&this.providedTeamId$.next(this.teamId)};NM.prototype.trackClick=function(a){So("teamCard","click",a,1)};
NM.prototype.linkAriaLabelledBy=function(){if(this.labelledById)return this.labelledById+" "+this.teamLinkId};NM.\u0275fac=function(a){return new (a||NM)};
NM.\u0275cmp=C({type:NM,selectors:[["b-team-card"]],inputs:{teamId:"teamId",componentId:"componentId",anchorLinkEnabled:"anchorLinkEnabled",teamNotAssignedMessage:"teamNotAssignedMessage",labelledById:"labelledById"},outputs:{linkFocused:"linkFocused",linkBlurred:"linkBlurred"},standalone:!1,features:[cg,rv],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"],["type","button","mat-button","",1,"primary","hovercard-action"],["target","_blank","aria-label","View team in Moma",3,"click","href"],["type","button","mat-button","",1,"gmat-button","primary","hovercard-action"],["svgIcon","pop-out",1,"icon-xxs"],["aria-label",
"View team association on component",3,"href"],["aria-label","View team association on component",3,"click","href"]],template:function(a,b){a&1&&(I(0,"div",0)(1,"div",1)(2,"div",2),K(3,"img",3),I(4,"div",4)(5,"div",5),K(6,"mat-icon",6),Q(7),J(),I(8,"div",7),Q(9),J()()(),I(10,"p",8),Q(11),J(),I(12,"div",9)(13,"a",10),M("click",function(){return b.trackClick("viewTeamSettingsPage")}),I(14,"button",11),Q(15,"View team settings"),J()(),I(16,"a",12),M("click",function(){return b.trackClick("viewTeamInMoma")}),
I(17,"button",13),Q(18,"View team in Moma "),K(19,"mat-icon",14),J()(),D(20,FOa,3,1,"a",15),J()()());a&2&&(B(3),jg("src",b.teamLogoUrl,vf),B(4),R(" Team: ",b.teamName," "),B(2),R("Team ID: ",b.teamId,""),B(2),Yg(b.teamDescription),B(2),Kg("routerLink","/teams/",b.teamId,"/edit"),B(3),Kg("href","https://moma.corp.google.com/team/",b.teamId,"",vf),B(4),G(b.componentId?20:-1))},dependencies:[pB,VA,eB,jy],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 Rzc=0,OM=function(){Z.call(this);var a=this;this.teamsService=r(DG);this.anchorLinkEnabled=!0;this.teamNotAssignedMessage="No team assigned";this.providedTeamId$=new Tf(1);this.teamLinkId="b-team-link-content-"+Rzc++;this.teamName=this.teamId;this.fetchedTeam$=this.providedTeamId$.pipe(Pf(),Ue(function(b){return b!=="0"}),Yf(function(b){return EG(a.teamsService,b)}));this.isTeamFetched$=this.fetchedTeam$.pipe(z(function(){return!0}),Xf(!1));this.fetchedTeam$.pipe(Zf(this.destroyed$)).subscribe(function(b){a.teamName=
b.name})};Y(OM,Z);OM.\u0275dir=Z.\u0275dir;OM.prototype.ngOnInit=function(){};OM.prototype.ngOnChanges=function(a){a.teamId&&this.providedTeamId$.next(this.teamId)};OM.prototype.trackClick=function(a){So("teamCard","click",a,1)};OM.prototype.linkAriaLabelledBy=function(){if(this.labelledById)return this.labelledById+" "+this.teamLinkId};OM.\u0275fac=function(a){return new (a||OM)};
OM.\u0275cmp=C({type:OM,selectors:[["b-team-display"]],inputs:{teamId:"teamId",componentId:"componentId",anchorLinkEnabled:"anchorLinkEnabled",teamNotAssignedMessage:"teamNotAssignedMessage",labelledById:"labelledById"},standalone:!1,features:[cg,rv],decls:7,vars:5,consts:[["card","onedevHovercard"],[3,"componentId","teamId"],["target","_blank",1,"card-anchor","keep-focus-ring",3,"href","onedevHovercardTrigger"],[3,"onedevHovercardTrigger"],["target","_blank",1,"card-anchor","keep-focus-ring",3,"click",
"href","onedevHovercardTrigger"],["svgIcon","pop-out",1,"icon-xs"],[1,"animated-loading-bar"]],template:function(a,b){a&1&&(D(0,IOa,2,2),S(1,"async"),D(2,LOa,2,2),I(3,"onedev-hovercard",null,0),Ag(5),K(6,"b-team-card",1),Bg(),J());a&2&&(G(b.teamId!="0"&&U(1,3,b.isTeamFetched$)?0:2),B(6),E("componentId",b.componentId==null?null:b.componentId.toString())("teamId",b.teamId.toString()))},dependencies:[pB,$H,fI,NM,ew],encapsulation:2});var PM=function(){this.issue=null;this.componentId=this.teamId="";this.isDataLoaded=!1};PM.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};PM.\u0275fac=function(a){return new (a||PM)};
PM.\u0275cmp=C({type:PM,selectors:[["b-issue-team-cell"]],inputs:{issue:"issue"},standalone:!1,features:[rv],decls:2,vars:2,consts:[[3,"isReady"],["teamNotAssignedMessage","--",3,"teamId","componentId","anchorLinkEnabled"]],template:function(a,b){a&1&&(I(0,"b-async-data-placeholder",0),D(1,MOa,1,3,"b-team-display",1),J());a&2&&(E("isReady",b.isDataLoaded),B(),G(b.teamId?1:-1))},dependencies:[nH,OM],encapsulation:2,changeDetection:0});var QM=function(){var a=this;this.userProfiles=r($K);this.activeSession=r(Bu);this.teamMembershipService=r(OG);this.email$=new Tf(1);this.isNonObfuscatedEmail=Aj;this.teamId$=new Tf(1);this.userProfile$=this.email$.pipe(Yf(function(b){return b?a.userProfiles.get(b).pipe(Xf(void 0)):Ae(void 0)}));this.vars$=Ie([this.email$,this.userProfile$]).pipe(z(function(b){var c=k(b);b=c.next().value;c=c.next().value;if(!c)return{email:b,showImage:!1,src:void 0,srcset:void 0};var d=!c.photoUrl,e=d?void 0:c.photoUrl,
f;d?f=void 0:f=c.highResolutionPhotoUrl?c.highResolutionPhotoUrl+" 2x":c.photoUrl+" 1x";return{email:b,showImage:!d,src:e,srcset:f}}));this.isTeamMember$=Ie([this.teamId$,this.email$]).pipe(Yf(function(b){var c=k(b);b=c.next().value;c=c.next().value;return $nc(a.teamMembershipService,b,c)}),Xf(!1),If(function(){return Ae(!1)}))},VOa=function(a,b){return!b||a.activeSession.isExternalSession()?!1:ROa[b]!==void 0};
da.Object.defineProperties(QM.prototype,{email:{configurable:!0,enumerable:!0,set:function(a){Aj(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!!tp(this.teamId$)}}});QM.\u0275fac=function(a){return new (a||QM)};
QM.\u0275cmp=C({type:QM,selectors:[["b-user-image"]],hostVars:8,hostBindings:function(a,b){a&2&&sg("tiny",b.tiny)("small",b.small)("medium",b.medium)("hasTeam",b.hasTeam)},inputs:{email:"email",size:"size",teamId:"teamId"},standalone:!1,decls:2,vars:3,consts:[["imageDisplay",""],["card",""],["role","img","aria-label","user avatar",3,"onedevHovercardTrigger"],[4,"ngTemplateOutlet"],[3,"email"],["alt","",1,"user-avatar","material","robo-avatar",3,"src"],[1,"user-avatar","material",3,"team-member","anonymous"],
[1,"user-avatar","material"],["alt","",3,"src","srcset"]],template:function(a,b){a&1&&(D(0,XOa,4,1),S(1,"async"));if(a&2){var c;G((c=U(1,1,b.vars$))?0:-1,c)}},dependencies:[dw,tK,$H,fI,ew],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 RM=function(){this.activeSession=r(Bu);this.issueExperimentalFieldsFridge=r(dF);this.analytics=r(OF)};RM.prototype.ngOnInit=function(){};RM.prototype.claim=function(){var a=this;eF(this.issueExperimentalFieldsFridge,this.issue.issueId,function(b){b.triage.triagerEmail=a.activeSession.getUserEmail()});this.analytics.trackEvent("triageIssue","claim")};RM.\u0275fac=function(a){return new (a||RM)};
RM.\u0275cmp=C({type:RM,selectors:[["b-issue-triager-cell"]],inputs:{issue:"issue"},standalone:!1,decls:2,vars:1,consts:[["size","medium",1,"align-with-btn",3,"email"],["type","button","mat-button","",1,"gmat-button","small","align-with-hr"],["type","button","mat-button","",1,"gmat-button","small","align-with-hr",3,"click","mousedown"]],template:function(a,b){a&1&&D(0,YOa,1,1,"b-user-image",0)(1,ZOa,2,0,"button",1);if(a&2){var c;G((c=b.issue.experimentalFields==null?null:b.issue.experimentalFields.triage==
null?null:b.issue.experimentalFields.triage.triagerEmail)?0:1,c)}},dependencies:[eB,jy,QM],styles:[".align-with-hr[_ngcontent-%COMP%] {\n      margin-left: -8px;\n    }\n    .align-with-btn[_ngcontent-%COMP%] {\n      padding-left: 8px;\n    }"],changeDetection:0});var SM=function(){this.type=this.issue=null;this.isDataLoaded=!1};SM.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};SM.\u0275fac=function(a){return new (a||SM)};
SM.\u0275cmp=C({type:SM,selectors:[["b-issue-type-cell"]],inputs:{issue:"issue"},standalone:!1,features:[rv],decls:2,vars:2,consts:[[1,"nowrap",3,"isReady"]],template:function(a,b){a&1&&(I(0,"b-async-data-placeholder",0),D(1,$Oa,3,3,"ng-container"),J());a&2&&(E("isReady",b.isDataLoaded),B(),G(b.type?1:-1))},dependencies:[nH,bC],encapsulation:2,changeDetection:0});var TM=function(){};TM.\u0275fac=function(a){return new (a||TM)};TM.\u0275mod=Cf({type:TM});TM.\u0275inj=p({imports:[lC]});var UM=function(){Z.call(this);var a=this;this.activeSession=r(Bu);this.prefs=r(TG);this.flags=r(WH);this.links=r(lI);this.change=new aB;this.checkedSubject=new Xi(!1);this.disabledSubject=new Xi(!1);this.mdHelpLink=this.links.session.isInternalSession()?"http://go/buganizer-markdown-quickstart":"https://commonmark.org/help/";this.enableLiteralModeRevisions=Vt(this.activeSession,"enableLiteralModeRevisions");this.userPreferencesDualWriteOptOut=Vt(this.activeSession,"userPreferencesDualWriteOptOut");
this.flags.textDisplayPreferences$.pipe(Zf(this.destroyed$)).subscribe(function(b){a.currentTextDisplayPreferences=b});this.flags.commentDisplayOverride$.pipe(Zf(this.destroyed$)).subscribe(function(b){a.currentCommentDisplayOverride=b})};Y(UM,Z);UM.\u0275dir=Z.\u0275dir;UM.prototype.ngOnInit=function(){this.checkedSubject.next(this.initialValue==="MARKDOWN");this.enableLiteralModeRevisions&&this.disabledSubject.next(this.initialValue==="LITERAL")};
UM.prototype.ngOnChanges=function(){this.initialValue!=null&&(this.checkedSubject.next(this.initialValue==="MARKDOWN"),this.enableLiteralModeRevisions&&this.disabledSubject.next(this.initialValue==="LITERAL"))};UM.prototype.save=function(a){this.userPreferencesDualWriteOptOut||a==="LITERAL_FORMATTING_MODE"||ioc(this.prefs,{lastPublishMode:a}).pipe(Zf(this.destroyed$)).subscribe();a=Object.assign({},this.currentTextDisplayPreferences,{lastPublishMode:a});this.prefs.save({textDisplayPreferences:a}).pipe(Zf(this.destroyed$)).subscribe()};
UM.\u0275fac=function(a){return new (a||UM)};
UM.\u0275cmp=C({type:UM,selectors:[["b-markdown-toggle"]],inputs:{initialValue:"initialValue"},outputs:{change:"change"},standalone:!1,features:[cg,rv],decls:5,vars:7,consts:[["aria-label","Use markdown for this comment","matTooltip","Use Markdown for this comment",3,"change","checked","disabled"],["mat-icon-button","","matTooltip","Markdown Help","aria-label","Markdown Help","target","_blank",1,"help","small",3,"href","disableRipple"],["svgIcon","help-outline",1,"icon-xs"]],template:function(a,b){a&
1&&(I(0,"mat-checkbox",0),S(1,"async"),S(2,"async"),M("change",function(e){if(b.enableLiteralModeRevisions)b.prefs.lastPublishOrUpdatedFormattingModeSubject$.next(e.checked?"MARKDOWN":"PLAIN"),b.change.emit(b.prefs.currentCommentFormattingModeSubject$.value);else{var f=b.currentCommentDisplayOverride;e=e.checked?"MARKDOWN_FORMATTING_MODE":f?f:"PLAIN_FORMATTING_MODE";b.save(e);b.change.emit(mk(e))}}),Q(3," Markdown\n"),J(),D(4,aPa,2,2,"a",1));if(a&2){var c,d;E("checked",(c=U(1,3,b.checkedSubject))!==
null&&c!==void 0?c:!1)("disabled",(d=U(2,5,b.disabledSubject))!==null&&d!==void 0?d:!1);B(4);G(b.mdHelpLink?4:-1)}},dependencies:[RH,SH,pB,eB,my,mB,rB,ew],encapsulation:2,changeDetection:0});var VM=function(){};VM.\u0275fac=function(a){return new (a||VM)};VM.\u0275mod=Cf({type:VM});VM.\u0275inj=p({imports:[ay,Ox,Ox]});var WM=function(){};WM.\u0275fac=function(a){return new (a||WM)};WM.\u0275mod=Cf({type:WM});WM.\u0275inj=p({imports:[Qw,ZH,mw,VM,Nx]});var XM=function(){};XM.\u0275fac=function(a){return new (a||XM)};XM.\u0275mod=Cf({type:XM});XM.\u0275inj=p({imports:[lC,eK,WM]});var YM=function(){};YM.\u0275fac=function(a){return new (a||YM)};YM.\u0275mod=Cf({type:YM});YM.\u0275inj=p({imports:[lC,WM,XM]});var ZM=function(){this.segments=[];this.clickMain=new aB;this.clickSegment=new aB};ZM.prototype.ngOnInit=function(){};da.Object.defineProperties(ZM.prototype,{showMoreButton:{configurable:!0,enumerable:!0,get:function(){return this.segments.length>0}}});ZM.\u0275fac=function(a){return new (a||ZM)};
ZM.\u0275cmp=C({type:ZM,selectors:[["b-fab-segmented"]],inputs:{label:"label",icon:"icon",segments:"segments",href:"href"},outputs:{clickMain:"clickMain",clickSegment:"clickSegment"},standalone:!1,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"],["type","button","mat-button","","aria-label","More options",1,"more","button-xl","square-left",3,"matMenuTriggerFor"],["svgIcon","arrow-dropdown"],
["mat-menu-item","",3,"href"],["mat-menu-item","",3,"click","href"]],template:function(a,b){a&1&&(I(0,"span",1)(1,"a",2),M("click",function(){return b.clickMain.emit(b.label)}),K(2,"mat-icon",3),Q(3),J(),D(4,cPa,6,1),J());a&2&&(B(),sg("square-right",b.showMoreButton),jg("href",b.href||void 0,vf),B(),E("svgIcon",b.icon),B(),R(" ",b.label," "),B(),G(b.showMoreButton?4:-1))},dependencies:[pB,eB,ky,jy,xL,IL,GL,JL],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 Szc=function(a,b){return b.value},$M=function(){this.choices=[];this.value="";this.valueChange=new aB};$M.prototype.onClickButton=function(a){this.value=a;this.valueChange.next(a)};$M.\u0275fac=function(a){return new (a||$M)};
$M.\u0275cmp=C({type:$M,selectors:[["button-toggle"]],inputs:{choices:"choices",value:"value"},outputs:{valueChange:"valueChange"},standalone:!1,decls:2,vars:0,consts:[["type","button","mat-button","","color","primary","role","radio",1,"medium",3,"disableRipple","matTooltip"],["type","button","mat-button","","color","primary","role","radio",1,"medium",3,"click","disableRipple","matTooltip"],[1,"icon-s",3,"svgIcon"]],template:function(a,b){a&1&&yg(0,ePa,3,5,"button",0,Szc);a&2&&zg(b.choices)},dependencies:[pB,
eB,jy,mB,rB],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 aN=function(){};aN.\u0275fac=function(a){return new (a||aN)};aN.\u0275mod=Cf({type:aN});aN.\u0275inj=p({providers:[Jyc],imports:[ay,Ox,Nx,rx,Ox]});var bN=function(){};bN.\u0275fac=function(a){return new (a||bN)};bN.\u0275mod=Cf({type:bN});bN.\u0275inj=p({providers:[{provide:Kx,useClass:lB}],imports:[aN]});var Tzc=[ZM,$M],cN=function(){};cN.\u0275fac=function(a){return new (a||cN)};cN.\u0275mod=Cf({type:cN});cN.\u0275inj=p({imports:[lC,mC,bN,pC]});var dN=function(){};dN.prototype.onPressBack=function(){var a;(a=window.history)==null||a.back()};dN.\u0275fac=function(a){return new (a||dN)};
dN.\u0275cmp=C({type:dN,selectors:[["empty-toolbar"]],standalone:!1,decls:3,vars:0,consts:[[1,"button-bar","flex-kids-x","align-items-center","border-bottom","padded-s"],["type","button","mat-icon-button","","color","primary","matTooltip","Go back","aria-label","Go back",3,"click"],["svgIcon","arrow-backward"]],template:function(a,b){a&1&&(I(0,"section",0)(1,"button",1),M("click",function(){return b.onPressBack()}),K(2,"mat-icon",2),J()())},dependencies:[pB,eB,ly,mB,rB],styles:[".button-bar[_ngcontent-%COMP%] {\n      height: 46px;\n      box-sizing: border-box;\n    }"]});var eN=function(){var a=this;this.cdr=r(cB,{self:!0});this.events=r(yD);this.ngZone=r(kh);this.HOTKEYS=Fp;this.lastOpenPosition=this.width=220;this.direction="ltr";this.maxWidth=700;this.widthChanged=new aB;this.widthAtDragStart=this.width;this.startDragging=function(b){a.dragStart=b;a.widthAtDragStart=a.width};this.minSnapWidth=185;this.onMousemove=function(b){a.isDragging&&(a.setWidth(a.widthAtDragStart+(b.pageX-(a.dragStart||0))*(a.isLTR?1:-1)),a.cdr.detectChanges())};this.onMouseup=function(){a.dragStart=
void 0;a.cdr.detectChanges()};this.broadcastWidthChange=Zac(function(b){a.widthChanged.emit(b);a.events.sidebarWidthChanged.next(b)},400);this.trackKeyboardResizing=Zac(function(){So("sidebar","resizeKeyboard")},2E3)};eN.prototype.ngOnInit=function(){var a=this;this.ngZone.runOutsideAngular(function(){document.addEventListener("mousemove",a.onMousemove)});document.addEventListener("mouseup",this.onMouseup,!0)};
eN.prototype.ngOnDestroy=function(){document.removeEventListener("mousemove",this.onMousemove);document.removeEventListener("mouseup",this.onMouseup,!0)};var Uzc=function(a,b){var c=a.width+b;c<a.minSnapWidth&&(c=b<0?0:a.minSnapWidth);a.setWidth(c);a.trackKeyboardResizing()};eN.prototype.toggle=function(){this.setWidth(this.isClosed?this.lastOpenPosition:0)};
eN.prototype.setWidth=function(a){var b=this.minSnapWidth,c=this.maxWidth;a=a<90?8:a<b?b:Math.min(a,c===void 0?700:c);a>=this.minSnapWidth&&(this.lastOpenPosition=a);this.width=a;this.broadcastWidthChange(a);this.cdr.detectChanges()};
da.Object.defineProperties(eN.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}},isDragging:{configurable:!0,enumerable:!0,get:function(){return this.dragStart!=null}}});eN.\u0275fac=function(a){return new (a||eN)};
eN.\u0275cmp=C({type:eN,selectors:[["b-resizable-sidebar"]],hostVars:2,hostBindings:function(a,b){a&2&&tg(b.direction)},inputs:{minWidth:"minWidth",direction:"direction",size:"size",maxWidth:"maxWidth"},outputs:{widthChanged:"widthChanged"},standalone:!1,features:[ch([cB])],ngContentSelectors:["*"],decls:4,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,"onHotkey","mousedown","keyup.arrowleft","keyup.arrowright","keyup.space","keyup.enter","dblclick","hotkey"]],template:function(a,b){a&1&&(Ig(),I(0,"div",0)(1,"div",1),Jg(2),J(),I(3,"div",2),M("onHotkey",function(){return b.toggle()})("mousedown",function(c){return b.startDragging(c.pageX)})("keyup.arrowleft",function(){return Uzc(b,-10)})("keyup.arrowright",function(){return Uzc(b,10)})("keyup.space",function(){return b.toggle()})("keyup.enter",function(){return b.toggle()})("dblclick",function(){return b.toggle()}),
J()());a&2&&(rg("width",b.width+"px"),sg("isDragging",b.isDragging)("isClosed",b.isClosed),E("ngClass",b.direction),B(),rg("width",b.lastOpenPosition+"px"),B(2),E("hotkey",b.direction==="rtl"?b.HOTKEYS.TOGGLE_RIGHT_SIDEBAR:b.HOTKEYS.TOGGLE_LEFT_SIDEBAR),jg("aria-valuenow",b.width)("aria-valuetext",b.width+" pixels"))},dependencies:[aw,wH,nx],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}.resizeHandle[_ngcontent-%COMP%]:hover, .resizeHandle[_ngcontent-%COMP%]:focus, .isClosed[_ngcontent-%COMP%]   .resizeHandle[_ngcontent-%COMP%]{background:url("https://www.gstatic.com/buganizer/img/v0/grippy_large.png") no-repeat 1px 50%}.resizeHandle[_ngcontent-%COMP%]:hover, .resizeHandle[_ngcontent-%COMP%]:focus{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}/*# sourceMappingURL=resizable_sidebar.css.map */'],
changeDetection:0});var Vzc=new zd("intersectionObserverFactory",{factory:function(){return function(a,b){return new IntersectionObserver(a,b)}}}),Wzc=new zd("isScrolledOnScreen",{factory:function(){return{fully:fPa,partially:gPa}}}),fN=function(){this.intersectionObserverBuilder=r(Vzc);this.isScrolledOnScreen=r(Wzc)};fN.prototype.getObservable=function(a,b){b=b===void 0?!1:b;return window.IntersectionObserver!=null?hPa(a,this.intersectionObserverBuilder,this.isScrolledOnScreen,b):iPa(a,this.isScrolledOnScreen,b)};
fN.\u0275fac=function(a){return new (a||fN)};fN.\u0275prov=n({token:fN,factory:fN.\u0275fac,providedIn:"root"});var gN=function(){};gN.prototype.onClick=function(a,b){Xzc(b)&&a.preventDefault()};var Xzc=function(a){if(window.getSelection){var b=window.getSelection();if(b&&!b.isCollapsed&&a.contains(b.focusNode))return!0}return!1};gN.\u0275fac=function(a){return new (a||gN)};gN.\u0275dir=Df({type:gN,selectors:[["","selectionPreventsClick",""]],hostBindings:function(a,b){a&1&&M("click",function(c){return b.onClick(c,c.target)})},standalone:!1});t(Tzc);var hN=function(){};hN.\u0275fac=function(a){return new (a||hN)};hN.\u0275mod=Cf({type:hN});hN.\u0275inj=p({imports:[lC,xH,mC,pC,rx,cN]});var iN=function(){};iN.\u0275fac=function(a){return new (a||iN)};iN.\u0275mod=Cf({type:iN});iN.\u0275inj=p({imports:[SH,Ox,Ox]});var jN=function(){};jN.\u0275fac=function(a){return new (a||jN)};jN.\u0275mod=Cf({type:jN});jN.\u0275inj=p({providers:[{provide:Xpc,useValue:{color:"primary"}}],imports:[iN]});var Yzc=new zd("GMAT_FORM_FIELD_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var kN=function(a){this.options=a};kN.\u0275fac=function(a){return new (a||kN)(hf(Yzc))};kN.\u0275dir=Df({type:kN,selectors:[["mat-form-field"]],hostVars:2,hostBindings:function(a,b){a&2&&sg("gmat-mdc-form-field",!b.options.disableGmatStyle)},standalone:!1});var lN=function(){};lN.\u0275fac=function(a){return new (a||lN)};lN.\u0275mod=Cf({type:lN});lN.\u0275inj=p({imports:[mz]});var mN=function(){};mN.\u0275fac=function(a){return new (a||mN)};mN.\u0275mod=Cf({type:mN});mN.\u0275inj=p({providers:[Yyc],imports:[Nx,cy,Ox,rx,mz,cy,Ox]});var Zzc={provide:Xyc,deps:[[new tv,new uv,new i5b(Xyc)],[new tv,new i5b(syc)]],useFactory:function(a,b){return!b||b.disableGmatStyle?a||{}:a?Object.assign({},a,{overlayPanelClass:ci(a.overlayPanelClass).concat("gmat-mdc-select")}):{overlayPanelClass:"gmat-mdc-select"}}},nN=function(){};nN.\u0275fac=function(a){return new (a||nN)};nN.\u0275mod=Cf({type:nN});nN.\u0275inj=p({providers:[Zzc],imports:[mN,lN]});var $zc=new zd("GMAT_SNACK_BAR_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var oN=function(a,b,c,d,e,f,h){h.disableGmatStyle||ifc(a,"gmat-mdc-snack-bar");cH.call(this,a,b,c,d,e,f)};Y(oN,cH);oN.\u0275fac=function(a){return new (a||oN)(pd(Kx),pd(Pw),pd(Ye),pd(Jw),pd(cH,12),pd(Doc),pd($zc))};oN.\u0275prov=n({token:oN,factory:oN.\u0275fac});var pN=function(){};pN.\u0275fac=function(a){return new (a||pN)};pN.\u0275mod=Cf({type:pN});pN.\u0275inj=p({providers:[{provide:cH,useClass:oN},{provide:Kx,useClass:lB}],imports:[dH]});var aAc=new zd("GMAT_TABS_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1,appearance:"primary"}}});var bAc=function(a){this._items=a};bAc.prototype.hide=function(){this._items.forEach(function(a){return cAc(a)});this._currentItem=void 0};
var eAc=function(a,b){var c=a._items.find(function(h){return h.elementRef.nativeElement===b}),d=a._currentItem;if(c!==d&&(d==null||cAc(d),c)){var e,f;d=d==null?void 0:(f=(e=d.elementRef.nativeElement).getBoundingClientRect)==null?void 0:f.call(e);dAc(c,d);a._currentItem=c}},qN=function(){this._elementRef=r(ef);this._fitToContent=!1},dAc=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")},cAc=function(a){a._elementRef.nativeElement.classList.remove("mdc-tab-indicator--active")};qN.prototype.ngOnInit=function(){this._createInkBarElement()};
qN.prototype.ngOnDestroy=function(){var a;(a=this._inkBarElement)==null||a.remove();this._inkBarElement=this._inkBarContentElement=null};qN.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()};
qN.prototype._appendInkBarElement=function(){(this._fitToContent?this._elementRef.nativeElement.querySelector(".mdc-tab__content"):this._elementRef.nativeElement).appendChild(this._inkBarElement)};da.Object.defineProperties(qN.prototype,{fitInkBarToContent:{configurable:!0,enumerable:!0,get:function(){return this._fitToContent},set:function(a){this._fitToContent!==a&&(this._fitToContent=a,this._inkBarElement&&this._appendInkBarElement())}}});qN.\u0275fac=function(a){return new (a||qN)};
qN.\u0275dir=Df({type:qN,inputs:{fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",uh]},features:[dg]});new zd("MatInkBarPositioner",{providedIn:"root",factory:function(){return function(a){return{left:a?(a.offsetLeft||0)+"px":"0",width:a?(a.offsetWidth||0)+"px":"0"}}}});var fAc=new zd("MatTabContent"),rN=function(){this.template=r(Og)};rN.\u0275fac=function(a){return new (a||rN)};rN.\u0275dir=Df({type:rN,selectors:[["","matTabContent",""]],features:[ch([{provide:fAc,useExisting:rN}])]});var gAc=ri("translateTab",[ui("center, void, left-origin-center, right-origin-center",ti({transform:"none",visibility:"visible"})),ui("left",ti({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),ui("right",ti({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),vi("* => left, * => right, left => center, right => center",si("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),vi("void => left-origin-center",[ti({transform:"translate3d(-100%, 0, 0)",
visibility:"hidden"}),si("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),vi("void => right-origin-center",[ti({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),si("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])]);var hAc=function(a){return{animationDuration:a}},iAc=function(a,b){return{value:a,params:b}},tN=function(){Ix.call(this);this._host=r(sN);this._leavingSub=this._centeringSub=je.EMPTY};Y(tN,Ix);
tN.prototype.ngOnInit=function(){var a=this;Ix.prototype.ngOnInit.call(this);this._centeringSub=this._host._beforeCentering.pipe(Xf(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()})};tN.prototype.ngOnDestroy=function(){Ix.prototype.ngOnDestroy.call(this);this._centeringSub.unsubscribe();this._leavingSub.unsubscribe()};
tN.\u0275fac=function(a){return new (a||tN)};tN.\u0275dir=Df({type:tN,selectors:[["","matTabBodyHost",""]],features:[cg]});
var sN=function(){var a=this;this._elementRef=r(ef);this._dir=r(fx,{optional:!0});this._dirChangeSubscription=je.EMPTY;this._translateTabComplete=new Uf;this._onCentering=new Dv;this._beforeCentering=new Dv;this._afterLeavingCenter=new Dv;this._onCentered=new Dv(!0);this.animationDuration="500ms";this.preserveContent=!1;if(this._dir){var b=r(Ov);this._dirChangeSubscription=this._dir.change.subscribe(function(c){a._computePositionAnimationState(c);b.markForCheck()})}this._translateTabComplete.subscribe(function(c){a._isCenterPosition(c.toState)&&
a._isCenterPosition(a._position)&&a._onCentered.emit();a._isCenterPosition(c.fromState)&&!a._isCenterPosition(a._position)&&a._afterLeavingCenter.emit()})};g=sN.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(sN.prototype,{position:{configurable:!0,enumerable:!0,set:function(a){this._positionIndex=a;this._computePositionAnimationState()}}});
sN.\u0275fac=function(a){return new (a||sN)};
sN.\u0275cmp=C({type:sN,selectors:[["mat-tab-body"]],viewQuery:function(a,b){a&1&&Rg(Ix,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"},decls:3,vars:6,consts:[["content",
""],["cdkScrollable","",1,"mat-mdc-tab-body-content"],["matTabBodyHost",""]],template:function(a,b){if(a&1){var c=v();I(0,"div",1,0);M("@translateTab.start",function(d){w(c);return x(b._onTranslateTabStarted(d))})("@translateTab.done",function(d){w(c);return x(b._translateTabComplete.next(d))});D(2,jPa,0,0,"ng-template",2);J()}a&2&&E("@translateTab",fh(3,iAc,b._position,eh(1,hAc,b.animationDuration)))},dependencies:[tN,nx],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:[gAc]}});var jAc=new zd("MAT_TABS_CONFIG");var roa={passive:!0},uN=function(){var a=this;this._elementRef=r(ef);this._changeDetectorRef=r(Ov);this._viewportRuler=r(qx);this._dir=r(fx,{optional:!0});this._ngZone=r(kh);this._platform=r(tw);this._sharedResizeObserver=r(hz);this._injector=r(Ye);this._renderer=r(Iv);this._animationMode=r(Gv,{optional:!0});this._scrollDistance=0;this._selectedIndexChanged=!1;this._destroyed=new Uf;this._showPaginationControls=!1;this._disableScrollBefore=this._disableScrollAfter=!0;this._stopScrolling=new Uf;this.disablePagination=
!1;this._selectedIndex=0;this.selectFocusedIndex=new Dv;this.indexFocused=new Dv;this._eventCleanups=this._ngZone.runOutsideAngular(function(){return[a._renderer.listen(a._elementRef.nativeElement,"mouseleave",function(){return a._stopInterval()})]})};g=uN.prototype;g.ngAfterViewInit=function(){var a=this;this._eventCleanups.push(toa(this._renderer,this._previousPaginator.nativeElement,function(){return a._handlePaginatorPress("before")}),toa(this._renderer,this._nextPaginator.nativeElement,function(){return a._handlePaginatorPress("after")}))};
g.ngAfterContentInit=function(){var a=this,b=this._dir?this._dir.change:Ae("ltr"),c=this._sharedResizeObserver.observe(this._elementRef.nativeElement).pipe(Lf(32),Zf(this._destroyed)),d=this._viewportRuler.change(150).pipe(Zf(this._destroyed)),e=function(){a.updatePagination();a._alignInkBarToSelectedTab()};this._keyManager=Yw(ax($w(new dx(this._items),this._getLayoutDirection()))).skipPredicate(function(){return!1});bx(this._keyManager,this._selectedIndex);Ze(e,{injector:this._injector});Te(b,d,
c,this._items.changes,this._itemsResized()).pipe(Zf(this._destroyed)).subscribe(function(){a._ngZone.run(function(){Promise.resolve().then(function(){a._scrollDistance=Math.max(0,Math.min(a._getMaxScrollDistance(),a._scrollDistance));e()})});$w(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"?Se:this._items.changes.pipe(Xf(this._items),Yf(function(b){return new oe(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()}})})}),Wf(1),Ue(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(){this._eventCleanups.forEach(function(b){return b()});var a;(a=this._keyManager)==null||a.destroy();this._destroyed.next();this._destroyed.complete();this._stopScrolling.complete()};g._handleKeydown=function(a){if(!Xh(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)?eAc(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(),Re(650,100).pipe(Zf(Te(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(uN.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&&bx(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)}}});uN.\u0275fac=function(a){return new (a||uN)};uN.\u0275dir=Df({type:uN,inputs:{disablePagination:[2,"disablePagination","disablePagination",uh],selectedIndex:[2,"selectedIndex","selectedIndex",vh]},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[dg]});var vN=function(){qN.apply(this,arguments);this.elementRef=r(ef);this.disabled=!1};Y(vN,qN);vN.prototype.focus=function(){this.elementRef.nativeElement.focus()};vN.\u0275fac=function(){var a;return function(b){return(a||(a=ee(vN)))(b||vN)}}();vN.\u0275dir=Df({type:vN,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(a,b){a&2&&(jg("aria-disabled",!!b.disabled),sg("mat-mdc-tab-disabled",b.disabled))},inputs:{disabled:[2,"disabled","disabled",uh]},features:[dg,cg]});var kAc=["tabListContainer"],lAc=["tabList"],mAc=["tabListInner"],nAc=["nextPaginator"],oAc=["previousPaginator"],wN=function(){uN.apply(this,arguments);this.disableRipple=!1};Y(wN,uN);wN.\u0275dir=uN.\u0275dir;wN.prototype.ngAfterContentInit=function(){this._inkBar=new bAc(this._items);uN.prototype.ngAfterContentInit.call(this)};wN.prototype._itemSelected=function(a){a.preventDefault()};wN.\u0275fac=function(){var a;return function(b){return(a||(a=ee(wN)))(b||wN)}}();
wN.\u0275cmp=C({type:wN,selectors:[["mat-tab-header"]],contentQueries:function(a,b,c){a&1&&Sg(c,vN,4);if(a&2){var d;Vg(d=Wg())&&(b._items=d)}},viewQuery:function(a,b){a&1&&(Rg(kAc,7),Rg(lAc,7),Rg(mAc,7),Rg(nAc,5),Rg(oAc,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&&sg("mat-mdc-tab-header-pagination-controls-enabled",b._showPaginationControls)("mat-mdc-tab-header-rtl",b._getLayoutDirection()=="rtl")},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],disableRipple:[2,"disableRipple","disableRipple",uh]},features:[dg,cg],ngContentSelectors:["*"],decls:13,vars:10,consts:[["previousPaginator",""],["tabListContainer",""],["tabList",""],["tabListInner",""],["nextPaginator",""],["mat-ripple","",1,"mat-mdc-tab-header-pagination",
"mat-mdc-tab-header-pagination-before",3,"click","mousedown","touchend","matRippleDisabled"],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],[1,"mat-mdc-tab-labels"],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"mousedown","click","touchend","matRippleDisabled"]],template:function(a,b){if(a&1){var c=v();Ig();I(0,"div",5,0);M("click",function(){w(c);
return x(b._handlePaginatorClick("before"))})("mousedown",function(d){w(c);return x(b._handlePaginatorPress("before",d))})("touchend",function(){w(c);return x(b._stopInterval())});K(2,"div",6);J();I(3,"div",7,1);M("keydown",function(d){w(c);return x(b._handleKeydown(d))});I(5,"div",8,2);M("cdkObserveContent",function(){w(c);return x(b._onContentChanges())});I(7,"div",9,3);Jg(9);J()()();I(10,"div",10,4);M("mousedown",function(d){w(c);return x(b._handlePaginatorPress("after",d))})("click",function(){w(c);
return x(b._handlePaginatorClick("after"))})("touchend",function(){w(c);return x(b._stopInterval())});K(12,"div",6);J()}a&2&&(sg("mat-mdc-tab-header-pagination-disabled",b._disableScrollBefore),E("matRippleDisabled",b._disableScrollBefore||b.disableRipple),B(3),sg("_mat-animation-noopable",b._animationMode==="NoopAnimations"),B(2),jg("aria-label",b.ariaLabel||null)("aria-labelledby",b.ariaLabelledby||null),B(5),sg("mat-mdc-tab-header-pagination-disabled",b._disableScrollAfter),E("matRippleDisabled",
b._disableScrollAfter||b.disableRipple))},dependencies:[Xx,Nw],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;outline:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color, var(--mat-sys-on-surface))}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1;border-bottom-style:solid;border-bottom-width:var(--mat-tab-header-divider-height, 1px);border-bottom-color:var(--mat-tab-header-divider-color, var(--mat-sys-surface-variant))}.mat-mdc-tab-group-inverted-header .mat-mdc-tab-label-container{border-bottom:none;border-top-style:solid;border-top-width:var(--mat-tab-header-divider-height, 1px);border-top-color:var(--mat-tab-header-divider-color, var(--mat-sys-surface-variant))}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.cdk-drop-list .mat-mdc-tab-labels,.mat-mdc-tab-labels.cdk-drop-list{min-height:var(--mdc-secondary-navigation-tab-container-height, 48px)}.mat-mdc-tab::before{margin:5px}@media(forced-colors: active){.mat-mdc-tab[aria-disabled=true]{color:GrayText}}\n"],
encapsulation:2});var pAc=new zd("MatTabLabel"),qAc=new zd("MAT_TAB"),xN=function(){Hx.apply(this,arguments);this._closestTab=r(qAc,{optional:!0})};Y(xN,Hx);xN.\u0275fac=function(){var a;return function(b){return(a||(a=ee(xN)))(b||xN)}}();xN.\u0275dir=Df({type:xN,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[ch([{provide:pAc,useExisting:xN}]),cg]});var rAc=new zd("MAT_TAB_GROUP"),yN=function(){this._viewContainerRef=r(Pg);this._closestTabGroup=r(rAc,{optional:!0});this.disabled=!1;this._explicitContent=void 0;this.textLabel="";this._contentPortal=null;this._stateChanges=new Uf;this.origin=this.position=null;this.isActive=!1;r(Aw).load(Ux)};yN.prototype.ngOnChanges=function(a){(a.hasOwnProperty("textLabel")||a.hasOwnProperty("disabled"))&&this._stateChanges.next()};yN.prototype.ngOnDestroy=function(){this._stateChanges.complete()};
yN.prototype.ngOnInit=function(){this._contentPortal=new Ex(this._explicitContent||this._implicitContent,this._viewContainerRef)};yN.prototype._setTemplateLabelInput=function(a){a&&a._closestTab===this&&(this._templateLabel=a)};da.Object.defineProperties(yN.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}}});
yN.\u0275fac=function(a){return new (a||yN)};
yN.\u0275cmp=C({type:yN,selectors:[["mat-tab"]],contentQueries:function(a,b,c){a&1&&(Sg(c,xN,5),Sg(c,rN,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",uh],textLabel:[0,"label","textLabel"],ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],labelClass:"labelClass",
bodyClass:"bodyClass"},exportAs:["matTab"],features:[ch([{provide:qAc,useExisting:yN}]),dg,rv],ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(Ig(),D(0,kPa,1,0,"ng-template"))},encapsulation:2});var sAc=["tabBodyWrapper"],tAc=["tabHeader"],zN=function(){this._elementRef=r(ef);this._changeDetectorRef=r(Ov);this._animationMode=r(Gv,{optional:!0});this._tabs=new Qg;this._indexToSelect=0;this._lastFocusedTabIndex=null;this._tabBodyWrapperHeight=0;this._tabLabelSubscription=this._tabsSubscription=je.EMPTY;this._fitInkBarToContent=!1;this.stretchTabs=!0;this.alignTabs=null;this.dynamicHeight=!1;this._selectedIndex=null;this.headerPosition="above";this.preserveContent=this.disableRipple=this.disablePagination=
!1;this.selectedIndexChange=new Dv;this.focusChange=new Dv;this.animationDone=new Dv;this.selectedTabChange=new Dv(!0);this._isServer=!r(tw).isBrowser;var a=r(jAc,{optional:!0});this._groupId=r(Ww).getId("mat-tab-group-");this.animationDuration=a&&a.animationDuration?a.animationDuration:"500ms";this.disablePagination=a&&a.disablePagination!=null?a.disablePagination:!1;this.dynamicHeight=a&&a.dynamicHeight!=null?a.dynamicHeight:!1;(a==null?void 0:a.contentTabIndex)!=null&&(this.contentTabIndex=a.contentTabIndex);
this.preserveContent=!(a==null||!a.preserveContent);this.fitInkBarToContent=a&&a.fitInkBarToContent!=null?a.fitInkBarToContent:!1;this.stretchTabs=a&&a.stretchTabs!=null?a.stretchTabs:!0;this.alignTabs=a&&a.alignTabs!=null?a.alignTabs:null};g=zN.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(Xf(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 uAc;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=Te.apply(null,t(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 this._groupId+"-label-"+a};g._getTabContentId=function(a){return this._groupId+"-content-"+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(zN.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}}});
zN.\u0275fac=function(a){return new (a||zN)};
zN.\u0275cmp=C({type:zN,selectors:[["mat-tab-group"]],contentQueries:function(a,b,c){a&1&&Sg(c,yN,5);if(a&2){var d;Vg(d=Wg())&&(b._allTabs=d)}},viewQuery:function(a,b){a&1&&(Rg(sAc,5),Rg(tAc,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:11,hostBindings:function(a,b){a&2&&(jg("mat-align-tabs",b.alignTabs),tg("mat-"+(b.color||"primary")),rg("--mat-tab-animation-duration",b.animationDuration),sg("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",uh],stretchTabs:[2,"mat-stretch-tabs","stretchTabs",uh],alignTabs:[0,"mat-align-tabs","alignTabs"],dynamicHeight:[2,"dynamicHeight","dynamicHeight",uh],selectedIndex:[2,"selectedIndex","selectedIndex",vh],headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:[2,
"contentTabIndex","contentTabIndex",vh],disablePagination:[2,"disablePagination","disablePagination",uh],disableRipple:[2,"disableRipple","disableRipple",uh],preserveContent:[2,"preserveContent","preserveContent",uh],backgroundColor:"backgroundColor",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"]},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},exportAs:["matTabGroup"],
features:[ch([{provide:rAc,useExisting:zN}]),dg],ngContentSelectors:["*"],decls:9,vars:8,consts:[["tabHeader",""],["tabBodyWrapper",""],["tabNode",""],[3,"indexFocused","selectFocusedIndex","selectedIndex","disableRipple","disablePagination","aria-label","aria-labelledby"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-focus-indicator",3,"id","mdc-tab--active","class","disabled","fitInkBarToContent"],[1,"mat-mdc-tab-body-wrapper"],["role","tabpanel",
3,"id","mat-mdc-tab-body-active","class","content","position","origin","animationDuration","preserveContent"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-focus-indicator",3,"click","cdkFocusChange","id","disabled","fitInkBarToContent"],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"_onCentered","_onCentering",
"id","content","position","origin","animationDuration","preserveContent"]],template:function(a,b){if(a&1){var c=v();Ig();I(0,"mat-tab-header",3,0);M("indexFocused",function(d){w(c);return x(b._focusChanged(d))})("selectFocusedIndex",function(d){w(c);return x(b.selectedIndex=d)});yg(2,oPa,8,17,"div",4,xg);J();D(4,pPa,1,0);I(5,"div",5,1);yg(7,qPa,1,13,"mat-tab-body",6,xg);J()}a&2&&(E("selectedIndex",b.selectedIndex||0)("disableRipple",b.disableRipple)("disablePagination",b.disablePagination)("aria-label",
b.ariaLabel)("aria-labelledby",b.ariaLabelledby),B(2),zg(b._tabs),B(2),G(b._isServer?4:-1),B(),sg("_mat-animation-noopable",b._animationMode==="NoopAnimations"),B(2),zg(b._tabs))},dependencies:[wN,vN,yw,Xx,Ix,sN],styles:['.mdc-tab{min-width:90px;padding:0 24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;z-index:1}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab--active .mdc-tab__text-label{transition-delay:100ms}._mat-animation-noopable .mdc-tab__text-label{transition:none}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transition:var(--mat-tab-animation-duration, 250ms) transform cubic-bezier(0.4, 0, 0.2, 1);transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}._mat-animation-noopable .mdc-tab-indicator__content,.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mat-mdc-tab-ripple.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;height:var(--mdc-secondary-navigation-tab-container-height, 48px);font-family:var(--mat-tab-header-label-text-font, var(--mat-sys-title-small-font));font-size:var(--mat-tab-header-label-text-size, var(--mat-sys-title-small-size));letter-spacing:var(--mat-tab-header-label-text-tracking, var(--mat-sys-title-small-tracking));line-height:var(--mat-tab-header-label-text-line-height, var(--mat-sys-title-small-line-height));font-weight:var(--mat-tab-header-label-text-weight, var(--mat-sys-title-small-weight))}.mat-mdc-tab.mdc-tab{flex-grow:0}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color, var(--mat-sys-primary));border-top-width:var(--mdc-tab-indicator-active-indicator-height, 2px);border-radius:var(--mdc-tab-indicator-active-indicator-shape, 0)}.mat-mdc-tab:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color, var(--mat-sys-primary))}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color, var(--mat-sys-primary))}.mat-mdc-tab.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color, var(--mat-sys-on-surface));display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-focus-indicator::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}\n'],
encapsulation:2});var uAc=function(){};var vAc=["tabListContainer"],wAc=["tabList"],xAc=["tabListInner"],yAc=["nextPaginator"],zAc=["previousPaginator"],AAc=["*"],AN=function(){var a=r(ef),b=r(fx,{optional:!0}),c=r(kh),d=r(Ov),e=r(qx),f=r(tw),h=r(Gv,{optional:!0}),l=r(jAc,{optional:!0});uN.call(this,a,d,e,b,c,f,h);this._fitInkBarToContent=new Xi(!1);this.stretchTabs=!0;this.disableRipple=!1;this.color="primary";this.disablePagination=l&&l.disablePagination!=null?l.disablePagination:!1;this.fitInkBarToContent=l&&l.fitInkBarToContent!=null?
l.fitInkBarToContent:!1;this.stretchTabs=l&&l.stretchTabs!=null?l.stretchTabs:!0};Y(AN,uN);AN.\u0275dir=uN.\u0275dir;AN.prototype._itemSelected=function(){};AN.prototype.ngAfterContentInit=function(){var a=this;this._inkBar=new bAc(this._items);this._items.changes.pipe(Xf(null),Zf(this._destroyed)).subscribe(function(){BAc(a)});uN.prototype.ngAfterContentInit.call(this)};AN.prototype.ngAfterViewInit=function(){uN.prototype.ngAfterViewInit.call(this)};
var BAc=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()}};AN.prototype._getRole=function(){return this.tabPanel?"tablist":this._elementRef.nativeElement.getAttribute("role")};
da.Object.defineProperties(AN.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}}});AN.\u0275fac=function(a){return new (a||AN)};
AN.\u0275cmp=C({type:AN,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(a,b,c){a&1&&Sg(c,BN,5);if(a&2){var d;Vg(d=Wg())&&(b._items=d)}},viewQuery:function(a,b){a&1&&(Rg(vAc,7),Rg(wAc,7),Rg(xAc,7),Rg(yAc,5),Rg(zAc,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&&(jg("role",b._getRole()),rg("--mat-tab-animation-duration",b.animationDuration),sg("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",uh],stretchTabs:[2,"mat-stretch-tabs","stretchTabs",uh],animationDuration:"animationDuration",backgroundColor:"backgroundColor",disableRipple:[2,"disableRipple","disableRipple",uh],color:"color",tabPanel:"tabPanel"},exportAs:["matTabNavBar","matTabNav"],features:[dg,cg],attrs:["mat-tab-nav-bar",""],ngContentSelectors:AAc,decls:13,vars:6,consts:[["previousPaginator",""],["tabListContainer",""],["tabList",""],["tabListInner",""],["nextPaginator",""],["mat-ripple",
"",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"click","mousedown","touchend","matRippleDisabled"],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-link-container",3,"keydown"],[1,"mat-mdc-tab-list",3,"cdkObserveContent"],[1,"mat-mdc-tab-links"],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"mousedown","click","touchend","matRippleDisabled"]],template:function(a,b){if(a&1){var c=v();Ig();I(0,"div",5,0);M("click",
function(){w(c);return x(b._handlePaginatorClick("before"))})("mousedown",function(d){w(c);return x(b._handlePaginatorPress("before",d))})("touchend",function(){w(c);return x(b._stopInterval())});K(2,"div",6);J();I(3,"div",7,1);M("keydown",function(d){w(c);return x(b._handleKeydown(d))});I(5,"div",8,2);M("cdkObserveContent",function(){w(c);return x(b._onContentChanges())});I(7,"div",9,3);Jg(9);J()()();I(10,"div",10,4);M("mousedown",function(d){w(c);return x(b._handlePaginatorPress("after",d))})("click",
function(){w(c);return x(b._handlePaginatorClick("after"))})("touchend",function(){w(c);return x(b._stopInterval())});K(12,"div",6);J()}a&2&&(sg("mat-mdc-tab-header-pagination-disabled",b._disableScrollBefore),E("matRippleDisabled",b._disableScrollBefore||b.disableRipple),B(10),sg("mat-mdc-tab-header-pagination-disabled",b._disableScrollAfter),E("matRippleDisabled",b._disableScrollAfter||b.disableRipple))},dependencies:[Xx,Nw],styles:[".mdc-tab{min-width:90px;padding:0 24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;z-index:1}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab--active .mdc-tab__text-label{transition-delay:100ms}._mat-animation-noopable .mdc-tab__text-label{transition:none}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transition:var(--mat-tab-animation-duration, 250ms) transform cubic-bezier(0.4, 0, 0.2, 1);transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}._mat-animation-noopable .mdc-tab-indicator__content,.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mat-mdc-tab-ripple.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;outline:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color, var(--mat-sys-on-surface))}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}.mat-mdc-tab-links{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:flex-end}.cdk-drop-list .mat-mdc-tab-links,.mat-mdc-tab-links.cdk-drop-list{min-height:var(--mdc-secondary-navigation-tab-container-height, 48px)}.mat-mdc-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1;border-bottom-style:solid;border-bottom-width:var(--mat-tab-header-divider-height, 1px);border-bottom-color:var(--mat-tab-header-divider-color, var(--mat-sys-surface-variant))}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-focus-indicator::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mdc-tab__ripple::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}\n"],
encapsulation:2});
var BN=function(){qN.call(this);var a=this;this._tabNavBar=r(AN);this.elementRef=r(ef);this._focusMonitor=r(ww);this._destroyed=new Uf;this.disableRipple=this.disabled=this._isActive=!1;this.tabIndex=0;this.id=r(Ww).getId("mat-tab-link-");r(Aw).load(Ux);var b=r(Wx,{optional:!0}),c=r(new sv("tabindex"),{optional:!0}),d=r(Gv,{optional:!0});this.rippleConfig=b||{};this.tabIndex=c==null?0:parseInt(c)||0;d==="NoopAnimations"&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0});this._tabNavBar._fitInkBarToContent.pipe(Zf(this._destroyed)).subscribe(function(e){a.fitInkBarToContent=
e})};Y(BN,qN);BN.\u0275dir=qN.\u0275dir;g=BN.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();qN.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(BN.prototype,{active:{configurable:!0,enumerable:!0,get:function(){return this._isActive},set:function(a){a!==this._isActive&&(this._isActive=a,BAc(this._tabNavBar))}},rippleDisabled:{configurable:!0,enumerable:!0,get:function(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}}});BN.\u0275fac=function(a){return new (a||BN)};
BN.\u0275cmp=C({type:BN,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mdc-tab","mat-mdc-tab-link","mat-focus-indicator"],hostVars:11,hostBindings:function(a,b){a&1&&M("focus",function(){return b._handleFocus()})("keydown",function(c){return b._handleKeydown(c)});a&2&&(jg("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()),sg("mat-mdc-tab-disabled",
b.disabled)("mdc-tab--active",b.active))},inputs:{active:[2,"active","active",uh],disabled:[2,"disabled","disabled",uh],disableRipple:[2,"disableRipple","disableRipple",uh],tabIndex:[2,"tabIndex","tabIndex",function(a){return a==null?0:vh(a)}],id:"id"},exportAs:["matTabLink"],features:[dg,cg],attrs:["mat-tab-link",""],ngContentSelectors:AAc,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(),K(0,"span",0)(1,"div",1),I(2,"span",2)(3,"span",3),Jg(4),J()());a&2&&(B(),E("matRippleTrigger",b.elementRef.nativeElement)("matRippleDisabled",b.rippleDisabled))},dependencies:[Xx],styles:['.mat-mdc-tab-link{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;height:var(--mdc-secondary-navigation-tab-container-height, 48px);font-family:var(--mat-tab-header-label-text-font, var(--mat-sys-title-small-font));font-size:var(--mat-tab-header-label-text-size, var(--mat-sys-title-small-size));letter-spacing:var(--mat-tab-header-label-text-tracking, var(--mat-sys-title-small-tracking));line-height:var(--mat-tab-header-label-text-line-height, var(--mat-sys-title-small-line-height));font-weight:var(--mat-tab-header-label-text-weight, var(--mat-sys-title-small-weight))}.mat-mdc-tab-link.mdc-tab{flex-grow:0}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color, var(--mat-sys-primary));border-top-width:var(--mdc-tab-indicator-active-indicator-height, 2px);border-radius:var(--mdc-tab-indicator-active-indicator-shape, 0)}.mat-mdc-tab-link:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab-link:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab-link.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color, var(--mat-sys-primary))}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color, var(--mat-sys-primary))}.mat-mdc-tab-link.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab-link.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab-link .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color, var(--mat-sys-on-surface));display:inline-flex;align-items:center}.mat-mdc-tab-link .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab-link:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab-link.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab-link.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab-link .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab-header.mat-mdc-tab-nav-bar-stretch-tabs .mat-mdc-tab-link{flex-grow:1}.mat-mdc-tab-link::before{margin:5px}@media(max-width: 599px){.mat-mdc-tab-link{min-width:72px}}\n'],
encapsulation:2,changeDetection:0});var CAc=function(){this.id=r(Ww).getId("mat-tab-nav-panel-")};CAc.\u0275fac=function(a){return new (a||CAc)};CAc.\u0275cmp=C({type:CAc,selectors:[["mat-tab-nav-panel"]],hostAttrs:["role","tabpanel",1,"mat-mdc-tab-nav-panel"],hostVars:2,hostBindings:function(a,b){a&2&&jg("aria-labelledby",b._activeTabId)("id",b.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],ngContentSelectors:AAc,decls:1,vars:0,template:function(a){a&1&&(Ig(),Jg(0))},encapsulation:2,changeDetection:0});var CN=function(){};CN.\u0275fac=function(a){return new (a||CN)};CN.\u0275mod=Cf({type:CN});CN.\u0275inj=p({imports:[Ox,Ox]});var DN=function(a,b,c){this.options=a;this.changeDetectorRef=b;this.tabGroup=c;this.appearance=this.options.appearance};da.Object.defineProperties(DN.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())}}});DN.\u0275fac=function(a){return new (a||DN)(hf(aAc),hf(Ov),hf(zN))};
DN.\u0275dir=Df({type:DN,selectors:[["mat-tab-group"]],hostVars:4,hostBindings:function(a,b){a&2&&sg("gmat-mdc-tabs-primary",!b.options.disableGmatStyle&&b.appearance==="primary")("gmat-mdc-tabs-secondary",!b.options.disableGmatStyle&&b.appearance==="secondary")},inputs:{appearance:"appearance"},standalone:!1});var EN=function(a,b,c){this.options=a;this.changeDetectorRef=b;this.tabNav=c;this.appearance=this.options.appearance};
da.Object.defineProperties(EN.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())}}});EN.\u0275fac=function(a){return new (a||EN)(hf(aAc),hf(Ov),hf(AN))};
EN.\u0275dir=Df({type:EN,selectors:[["","mat-tab-nav-bar",""]],hostVars:4,hostBindings:function(a,b){a&2&&sg("gmat-mdc-tabs-primary",!b.options.disableGmatStyle&&b.appearance==="primary")("gmat-mdc-tabs-secondary",!b.options.disableGmatStyle&&b.appearance==="secondary")},inputs:{appearance:"appearance"},standalone:!1});var FN=function(){};FN.\u0275fac=function(a){return new (a||FN)};FN.\u0275mod=Cf({type:FN});FN.\u0275inj=p({imports:[CN]});var GN=function(){};GN.\u0275fac=function(a){return new (a||GN)};GN.\u0275mod=Cf({type:GN});GN.\u0275inj=p({imports:[jN,pN,lC,Nx,LH,hN,nN,FN,mC,pC,XM,YM,WM]});var DAc=ti({opacity:"0"}),EAc=Ue(function(a){return a}),FAc=ne(Pf(),EAc,Mf()),GAc=new zd("xap-bubble UX style"),HN=function(a){var b=this;this.activity=new Uf;this.openedSubject=new Xi(!1);this.destroy=new Tf;this.overlayPositions=[];this.overlayPanelClass="";this.hoverDelayMs=50;this.beforeShow=this.beforeOpened=new Dv;this.onOpened=new Dv;this.bubbleStyle=a||"xap-bubble-md1";this.opened=this.openedSubject.pipe(Tja(function(){return b.activity.pipe(Lf(b.hoverDelayMs))}));a=Zf(this.destroy);this.opened.pipe(FAc,
a).subscribe(this.onOpened);this.openedSubject.pipe(EAc,rka(function(){return b.opened.pipe(Ue(function(c){return!c}))}),a).subscribe(function(){b.beforeOpened.emit()})};HN.prototype.ngOnDestroy=function(){this.destroy.next();this.destroy.complete()};HN.prototype.toggle=function(a){this.openedSubject.next(a);this.activity.next()};HN.\u0275fac=function(a){return new (a||HN)(hf(GAc,8))};
HN.\u0275cmp=C({type:HN,selectors:[["xap-bubble"]],inputs:{panelTemplate:"panelTemplate",overlayPositions:"overlayPositions",overlayPanelClass:"overlayPanelClass",hoverDelayMs:"hoverDelayMs"},outputs:{beforeOpened:"beforeOpened",beforeShow:"beforeShow",onOpened:"opened"},standalone:!1,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=v();Ig();I(0,"span",1,0);M("mouseenter",function(){w(c);return x(b.toggle(!0))})("mouseleave",function(){w(c);return x(b.toggle(!1))})("mousemove",function(){w(c);b.activity.next();return x()});Jg(2);J();D(3,sPa,2,3,"ng-template",2);S(4,"async")}a&
2&&(a=L(1),E("ngClass",b.bubbleStyle),B(3),E("cdkConnectedOverlayPanelClass",b.overlayPanelClass)("cdkConnectedOverlayPositions",b.overlayPositions)("cdkConnectedOverlayOrigin",a)("cdkConnectedOverlayOpen",U(4,5,b.opened)))},dependencies:[aw,dw,Mx,Lx,ew],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:[ri("fade",[vi(":enter",[DAc,si("225ms")]),vi(":leave",[si("195ms",DAc)])])]}});var IN=function(){this.activeSession=r(Bu);this.documentationLinks=r(lI);this.labelOnlyMode=this.compactMode=!1;this.chipText=this.bubbleText=this.chipClass=""};
IN.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=""}};IN.\u0275fac=function(a){return new (a||IN)};
IN.\u0275cmp=C({type:IN,selectors:[["b-component-access-level-indicator"]],inputs:{accessLevel:"accessLevel",compactMode:"compactMode",labelOnlyMode:"labelOnlyMode"},standalone:!1,features:[rv],decls:1,vars:1,consts:[["popup",""],[1,"chippy","rounded",3,"ngClass","xs"],[3,"panelTemplate"],[1,"chippy","rounded",3,"ngClass"],[1,"chippy","rounded","nowrap",3,"ngClass"],[1,"bubble"],["target","_blank",3,"href"]],template:function(a,b){a&1&&D(0,wPa,2,1);if(a&2){if(a=b.accessLevel)a=b.activeSession.isInternalSession()?
b.accessLevel==="EXTERNAL_PARTNER"||b.accessLevel==="EXTERNAL_PUBLIC":KC(b.activeSession)?b.accessLevel==="EXTERNAL_PUBLIC":!1;G(a?0:-1)}},dependencies:[aw,HN],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 HAc={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"},JN=function(){};JN.prototype.transform=function(a){return HAc[a]};JN.\u0275fac=function(a){return new (a||JN)};JN.\u0275pipe=Ef({name:"toCustomFieldTypeDisplayValue",type:JN,pure:!0,standalone:!1});var KN=function(){};KN.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+"@"};KN.\u0275fac=function(a){return new (a||KN)};KN.\u0275pipe=Ef({name:"shortenEmail",type:KN,pure:!0,standalone:!1});var LN=function(){};LN.prototype.transform=function(a){if(!a||!a.length)return"";var b=a.filter(function(c){return!!c.user}).length;b=b>0?"Users: "+b:"";a=a.filter(function(c){return!!c.placeholder}).map(function(c){var d=c.placeholder.role;return c.placeholder.count+" "+(d&&d!=="JOB_ROLE_UNSPECIFIED"?Ll[d]:"Other")});a=a.length>0?"Placeholders: "+a.join(", "):"";return b+(b&&a?", ":"")+a};LN.\u0275fac=function(a){return new (a||LN)};LN.\u0275pipe=Ef({name:"staffingSummary",type:LN,pure:!0,standalone:!1});var MN=function(){};MN.\u0275fac=function(a){return new (a||MN)};MN.\u0275mod=Cf({type:MN});MN.\u0275inj=p({imports:[lC]});var NN=function(){};NN.\u0275fac=function(a){return new (a||NN)};NN.\u0275mod=Cf({type:NN});NN.\u0275inj=p({imports:[mw,Nx]});var ON=function(){};ON.\u0275fac=function(a){return new (a||ON)};ON.\u0275mod=Cf({type:ON});ON.\u0275inj=p({imports:[lC,MN,NN]});var PN=function(){this.el=r(ef);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)};PN.prototype.onInput=function(){this.resize(this.el.nativeElement.value)};
PN.prototype.ngOnDestroy=function(){document.body.removeChild(this.shadowInput)};PN.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"};PN.\u0275fac=function(a){return new (a||PN)};
PN.\u0275dir=Df({type:PN,selectors:[["","b-adaptive-width-input",""]],hostBindings:function(a,b){a&1&&M("input",function(){return b.onInput()})},inputs:{minWidth:"minWidth",maxWidth:"maxWidth"},standalone:!1});var QN=function(){};QN.\u0275fac=function(a){return new (a||QN)};QN.\u0275mod=Cf({type:QN});QN.\u0275inj=p({});var RN=function(){this.activeSession=r(Bu);this.sessionIsExternal=this.activeSession.isExternalSession()};RN.prototype.shouldShowLinks=function(){return!this.sessionIsExternal&&!!Aj(this.email)};RN.prototype.getName=function(){return this.email===void 0?"":this.email.split("@")[0]};RN.\u0275fac=function(a){return new (a||RN)};
RN.\u0275cmp=C({type:RN,selectors:[["b-group-email-card"]],inputs:{email:"email"},standalone:!1,ngContentSelectors:["*"],decls:4,vars:1,consts:[["content",""],["card",""],["role","button","tabindex","0",1,"keep-focus-ring",3,"onedevHovercardTrigger"],[4,"ngTemplateOutlet"],["role","dialog","aria-label","Group email hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"bv2-hovercard-narrow","bv2-group-email-card"],[1,"bv2-group-email-card-content"],[1,"bv2-group-email-card-name"],
[1,"bv2-group-email-card-email"],["svgIcon","group"],[1,"bv2-group-email-card-links-container"],["target","_blank",1,"bv2-group-email-card-link",3,"href"]],template:function(a,b){a&1&&(Ig(),D(0,CPa,16,5)(1,EPa,1,1,"ng-container")(2,FPa,1,0,"ng-template",null,0,ih));a&2&&G(Aj(b.email)?0:1)},dependencies:[dw,pB,$H,fI],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 SN=function(){};SN.\u0275fac=function(a){return new (a||SN)};SN.\u0275mod=Cf({type:SN});SN.\u0275inj=p({imports:[lC,WM]});var IAc=["*"],JAc=function(){return".xap-icon-trigger,.xap-text-trigger{pointer-events:auto}.xap-text-trigger{-webkit-text-decoration-line:underline;-moz-text-decoration-line:underline;text-decoration-line:underline;-webkit-text-decoration-style:dashed;-moz-text-decoration-style:dashed;text-decoration-style:dashed;-webkit-text-decoration-color:var(--xap-color-outline,#80868b);-moz-text-decoration-color:var(--xap-color-outline,#80868b);text-decoration-color:var(--xap-color-outline,#80868b);text-underline-position:under;text-underline-offset:1px}"},
TN=function(){this.disabled=!1};TN.\u0275fac=function(a){return new (a||TN)};TN.\u0275cmp=C({type:TN,selectors:[["xap-text-trigger"]],hostAttrs:["role","button"],hostVars:4,hostBindings:function(a,b){a&2&&(jg("tabindex",b.disabled?-1:0)("aria-disabled",b.disabled?!0:!1),sg("xap-text-trigger",!b.disabled))},inputs:{disabled:[0,"xapInlineDialogDisabled","disabled"]},ngContentSelectors:IAc,decls:1,vars:0,template:function(a){a&1&&(Ig(),Jg(0))},styles:[JAc()],encapsulation:2,changeDetection:0});
var UN=function(){this.disabled=!1};UN.\u0275fac=function(a){return new (a||UN)};UN.\u0275cmp=C({type:UN,selectors:[["xap-icon-trigger"]],hostAttrs:["role","button","tabindex","0",1,"xap-icon-trigger"],inputs:{disabled:[0,"xapInlineDialogDisabled","disabled"]},ngContentSelectors:IAc,decls:1,vars:0,template:function(a){a&1&&(Ig(),Jg(0))},styles:[JAc()],encapsulation:2,changeDetection:0});var KAc=function(){this.dialogTabIndex=0;this.displayText="";this.overlaySizeConfig={maxHeight:"unset",maxWidth:600}};KAc.\u0275fac=function(a){return new (a||KAc)};
KAc.\u0275cmp=C({type:KAc,selectors:[["b-text-with-tooltip"]],inputs:{dialogTabIndex:"dialogTabIndex",displayText:"displayText"},standalone:!1,ngContentSelectors:["*"],decls:4,vars:5,consts:[["tooltipTemplate",""],[3,"dialogLabel","dialogTabIndex","overlaySize","xapInlineDialog"]],template:function(a,b){a&1&&(Ig(),I(0,"xap-text-trigger",1),Q(1),J(),D(2,GPa,3,0,"ng-template",null,0,ih));a&2&&(a=L(3),E("dialogLabel",b.displayText)("dialogTabIndex",0)("overlaySize",b.overlaySizeConfig)("xapInlineDialog",
a),B(),R(" ",b.displayText,"\n"))},dependencies:[HM,GM,KM,TN],styles:["/*# sourceMappingURL=text_with_tooltip.css.map */"],changeDetection:0});var VN=function(){};VN.\u0275fac=function(a){return new (a||VN)};VN.\u0275mod=Cf({type:VN});VN.\u0275inj=p({imports:[HM,TN]});var LAc=function(a){this.allowExecution=a;this.queue=[]};LAc.prototype.addTask=function(a){this.queue.push(a);MAc(this)};var MAc=function(a){if(a.queue.length!==0)if(a.allowExecution()){var b=k(a.queue),c=b.next().value;a.queue=ln(b);c();MAc(a)}else setTimeout(function(){MAc(a)},0)};var WN=function(){var a=this;this.location=r(sw);this.platformLocation=r(nw);this.activatedRoute=r(Wi);this.router=r(TA);this.scheduler=new LAc(function(){return!a.router.navigationTransitions.currentNavigation})};WN.prototype.hash=function(a,b){typeof a!=="undefined"&&NAc(this,a!=null?a:"",b);var c;return(c=this.activatedRoute.snapshot.fragment)!=null?c:""};var NAc=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})})};
WN.prototype.path=function(a,b){typeof a!=="undefined"&&this.setPath(a,b);return this.getPath()};var OAc=function(a,b){a.path(b,!0)};g=WN.prototype;g.getPath=function(){var a=k(this.location.path().split("?")).next().value;return k(a.split("#")).next().value};g.setPath=function(a,b){var c=this;a=a===void 0?"":a;b=b===void 0?!1:b;this.addTask(function(){c.router.navigate([a],{replaceUrl:b,queryParamsHandling:"preserve"})});return this};
g.search=function(a,b,c){typeof a!=="undefined"&&this.setSearch(a,b,c);return this.getSearch()};g.getSearch=function(){return HPa(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(){Jt(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)};WN.\u0275fac=function(a){return new (a||WN)};WN.\u0275prov=n({token:WN,factory:WN.\u0275fac,providedIn:"root"});var XN=function(){this.activeSession=r(Bu);this.createIframe=Yac(function(){var a=document.createElement("iframe");a.id="first_party_auth_helper";a.setAttribute("aria-hidden","true");a.setAttribute("style","width:1px;height:1px;position:absolute;top:-100px;display:none;");document.body.appendChild(a);return a})},PAc=function(a){var b,c;se(function(d){if(d.nextAddress==1){if(a.activeSession.isAnonymous()||!a.activeSession.getPassiveLoginIframeUrl())return d.return();te(d,2);b=a.createIframe();return y(d,
new Promise(function(e,f){var h=function(){try{var q,u,A;if((q=b.contentWindow)==null?0:(u=q.location)==null?0:(A=u.href)==null?0:A.includes("/action/yes"))b.removeEventListener("load",h),clearTimeout(l),e()}catch(F){}},l=setTimeout(function(){b.removeEventListener("load",h);f(Error("Vd"))},5E3);b.addEventListener("load",h);Dea(b,a.activeSession.getPassiveLoginIframeUrl())}),4)}if(d.nextAddress!=2)return Hu(d,0);c=we(d);console.log("first party auth passive login "+c);xe(d)})};
XN.\u0275fac=function(a){return new (a||XN)};XN.\u0275prov=n({token:XN,factory:XN.\u0275fac,providedIn:"root"});var YN=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(YN,V);YN.prototype.getSocialApplication=function(){return Fk(this,3,0)};YN.prototype.getSocialApplicationOrUndefined=function(){return Bt(this,3)};YN.prototype.getAffinityType=function(){return Kh(this,12,"CONTACT_STORE_DEFAULT_AFFINITY")};YN.prototype.setAffinityType=function(a){return fl(this,12,a)};var ZN=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(ZN,V);ZN.prototype.getExperimentIdsList=function(a){return pc(this,4,Mb,Uj(a))};ZN.prototype.setExperimentIdsList=function(a){return wc(this,4,a,Lb)};ZN.prototype.getExperimentIds=function(){return ev(this,4)};ZN.prototype.setExperimentIds=function(a){s4b(this,4,a)};var QAc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(QAc,V);g=QAc.prototype;g.getClientInfo=function(){return W(this,YN,1)};g.getMutableClientInfo=function(){return Wu(this,YN,1)};g.setClientInfo=function(a){X(this,YN,1,a)};g.getExperiments=function(){return W(this,ZN,2)};g.setExperiments=function(a){return X(this,ZN,2,a)};g.hasExperiments=function(){return Jk(this,ZN,2)};var RAc=qna(QAc);var SAc;var TAc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(TAc,V);g=TAc.prototype;g.getDelegatorId=function(){return Kh(this,2)};g.getEnvType=function(){return Fk(this,5,0)};g.getEnvType_legacyNullable=function(){return nt(this,5)};g.setEnvType=function(a){gl(this,5,a)};g.getCacheSize=function(){return Xj(this,7)};g.setCacheSize=function(a){dl(this,7,a)};g.hasCacheSize=function(){return Bk(this,7)};var LPa=/^https?:\/\/(?:\w|[\-\.])+\.google\.(?:\w|[\-:\.])+(?:\/[^\?#]*)?\/u\/(\d)\//,JPa=/([#].*?&|[#])authuser=([^&#]*)\b/,KPa=/([?][^#]*?&|[?])authuser=([^&#]*)\b/;var $N=function(){this.config_=ec(SAc||(SAc=RAc('[["AIzaSyBuUpn1wi2-0JpM3S-tq2csYx0z2_m_pqc","ANVavNLWozk6oXyP9qguyx4QAuef5j_qQw4Y3Rw",740,"MINIMAL_DOMAIN","BUGANIZER",null,null,null,null,true,true],[]]')));this.userInfo_=new TAc;this.onAuthError_=this.gapiClientThenable_=null};$N.prototype.getClientInfo=function(){return this.config_.getClientInfo()};$N.prototype.getExperiments=function(){return this.config_.getExperiments()};$N.prototype.getUserInfo=function(){return this.userInfo_};
var UAc=function(a){a.gapiClientThenable_||(a.gapiClientThenable_=RPa(10,5E3).then(function(b){return b.client}));return a.gapiClientThenable_};$N.prototype.getAuthErrorHandler=function(){return this.onAuthError_};$N.prototype.setAuthErrorHandler=function(a){this.onAuthError_=a};var VAc=function(){};var WAc=[];WAc.push=function(){throw Error("Xd");};var aO={cancel:function(){},isPending:function(){return!1}};var XAc=function(a){this.response_=a||function(){};this.timer_=mr(this.onTimer_,0,this);this.addressBookId_=""};g=XAc.prototype;g.setResponse=function(a){this.response_=a};g.setAddressBookId=function(a){this.addressBookId_=a};g.getAddressBookId=function(){return this.addressBookId_};g.cancel=function(){nr(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 YAc=new Map([["personal",2],["domain",4],["pcab",3]]);var Fq=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Fq,V);g=Fq.prototype;g.getEventType=function(){return Fk(this,1,0)};g.setEventType=function(a){return gl(this,1,a)};g.getApiType=function(){return Fk(this,2,0)};g.setApiType=function(a){return gl(this,2,a)};g.getCacheStatus=function(){return Fk(this,3,0)};g.setCacheStatus=function(a){return gl(this,3,a)};g.getAddressBook=function(){return Fk(this,4,0)};g.setAddressBook=function(a){return gl(this,4,a)};
g.getRpcType=function(){return Fk(this,5,0)};g.setRpcType=function(a){return gl(this,5,a)};g.getLookupType=function(){return Fk(this,6,0)};g.setLookupType=function(a){return gl(this,6,a)};g.getToken=function(){return Kh(this,7,"")};g.setToken=function(a){return fl(this,7,a)};var bO=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(bO,V);g=bO.prototype;g.setDevice=function(a){return gl(this,1,a)};g.getApplication=function(){return Fk(this,2,0)};g.setApplication=function(a){return gl(this,2,a)};g.getApplicationOrUndefined=function(){return Bt(this,2)};g.setPlatform=function(a){gl(this,3,a)};var cO=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(cO,V);g=cO.prototype;g.setEventSource=function(a){gl(this,2,a)};g.getEventSourceOrUndefined=function(){return Bt(this,2)};g.setEventSourceId=function(a){dl(this,15,a)};g.getEventSourceIdOrUndefined=function(){return hv(this,15)};g.getSocialClient=function(){return W(this,bO,3)};g.setSocialClient=function(a){return X(this,bO,3,a)};g.setVersionName=function(a){return fl(this,5,a)};g.getBaselineCl=function(){return Wb(Hk(this,7))};
g.setBaselineCl=function(a){return Xk(this,7,a)};g.hasBaselineCl=function(){return Pk(this,7)};g.getBaselineClOrUndefined=function(){return iv(this,7)};g.setClientAgent=function(a){return gl(this,9,a)};g.getClientAgentOrUndefined=function(){return Bt(this,9)};g.getPeoplekitEntryPoint=function(){return nt(this,11)};g.setPeoplekitEntryPoint=function(a){return gl(this,11,a)};g.getPeoplekitEntryPointOrUndefined=function(){return Bt(this,11)};g.setEnvironment=function(a){return gl(this,13,a)};
g.getEnvironmentOrUndefined=function(){return Bt(this,13)};g.setSharekitEntryPoint=function(a){gl(this,14,a)};g.getSharekitEntryPointOrUndefined=function(){return Bt(this,14)};var ZAc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(ZAc,V);g=ZAc.prototype;g.getApiType=function(){return Fk(this,1,0)};g.setApiType=function(a){return gl(this,1,a)};g.getItemCount=function(){return Xj(this,2)};g.setItemCount=function(a){return dl(this,2,a)};g.hasItemCount=function(){return Bk(this,2)};var $Ac=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y($Ac,V);g=$Ac.prototype;g.getApiType=function(){return Fk(this,1,0)};g.setApiType=function(a){return gl(this,1,a)};g.getItemCount=function(){return Xj(this,2)};g.setItemCount=function(a){return dl(this,2,a)};g.hasItemCount=function(){return Bk(this,2)};g.getStatus=function(){return Fk(this,4,2)};g.setStatus=function(a){return gl(this,4,a)};g.hasStatus=function(){return Dk(this,4)};g.setTotalUsec=function(a){return Xk(this,5,a)};
g.setBlockedUsec=function(a){return Xk(this,6,a)};g.setNetworkUsec=function(a){Xk(this,7,a)};g.getCacheStatus=function(){return Fk(this,8,0)};g.setCacheStatus=function(a){return gl(this,8,a)};g.getAddressBook=function(){return Fk(this,9,0)};g.setAddressBook=function(a){return gl(this,9,a)};var dO=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(dO,V);dO.prototype.getStatus=function(){return Fk(this,1,2)};dO.prototype.setStatus=function(a){return gl(this,1,a)};dO.prototype.hasStatus=function(){return Dk(this,1)};dO.prototype.setTotalUsec=function(a){return Xk(this,2,a)};var eO=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(eO,V);eO.prototype.getRpcType=function(){return Fk(this,1,0)};eO.prototype.setRpcType=function(a){return gl(this,1,a)};eO.prototype.getLookupType=function(){return Fk(this,2,0)};eO.prototype.setLookupType=function(a){return gl(this,2,a)};var aBc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(aBc,V);g=aBc.prototype;g.getRpcType=function(){return Fk(this,1,0)};g.setRpcType=function(a){return gl(this,1,a)};g.getLookupType=function(){return Fk(this,2,0)};g.setLookupType=function(a){return gl(this,2,a)};g.getStatus=function(){return Fk(this,3,2)};g.setStatus=function(a){return gl(this,3,a)};g.hasStatus=function(){return Dk(this,3)};g.setTotalUsec=function(a){return Xk(this,4,a)};g.setBlockedUsec=function(a){return Xk(this,5,a)};
g.setNetworkUsec=function(a){Xk(this,6,a)};var fO=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(fO,V);g=fO.prototype;g.getEnvType=function(){return Fk(this,1,0)};g.getEnvType_legacyNullable=function(){return nt(this,1)};g.setEnvType=function(a){gl(this,1,a)};g.getCacheSize=function(){return Xj(this,2)};g.setCacheSize=function(a){dl(this,2,a)};g.hasCacheSize=function(){return Bk(this,2)};var gO=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(gO,V);g=gO.prototype;g.getClientInterface=function(){return W(this,cO,1)};g.setClientInterface=function(a){return X(this,cO,1,a)};g.getSource=function(){return Fk(this,2,0)};g.setSource=function(a){return gl(this,2,a)};g.hasSource=function(){return Dk(this,2)};g.getSourceOrUndefined=function(){return Bt(this,2)};g.getEventType=function(){return Fk(this,3,0)};g.getEventType_legacyNullable=function(){return nt(this,3)};
g.setEventType=function(a){return gl(this,3,a)};g.setRpcRequest=function(a){return zm(this,5,bBc,a)};g.setRpcResponse=function(a){return zm(this,6,bBc,a)};g.setApiCall=function(a){return zm(this,7,bBc,a)};g.setApiResult=function(a){return zm(this,8,bBc,a)};g.getUserInfo=function(){return W(this,fO,9)};g.setUserInfo=function(a){return X(this,fO,9,a)};g.hasUserInfo=function(){return Jk(this,fO,9)};var bBc=[4,5,6,7,8];var cBc=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]]),dBc=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]]),eBc=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]]),fBc=function(a){return dBc.has(a)?dBc.get(a):1},gBc=function(a){return eBc.has(a)?eBc.get(a):2};var hBc=function(a){this.request_=a;this.errorCode_=0},iBc=function(a,b){b=new hBc(b);b.errorCode_=a;b.errorMessage_="A server error has occurred.";return b};g=hBc.prototype;g.hasChanges=function(){return this.mutateResponse_&&this.mutateResponse_.getOperation()?this.mutateResponse_.getOperation().hasChanges():!1};g.getError=function(){return this.errorCode_};g.getErrorCode=function(){return this.errorCode_};g.getQuery=function(){return this.request_.getQuery()};g.getConfiguration=function(){return this.queryResponse_.getConfiguration()};
g.getUserData=function(){return this.queryResponse_?this.queryResponse_.getUserData():null};var hO=function(a){this.map_=new ED;this.size=0;a&&this.addAll(a)},jBc=function(a){var b=typeof a;return b=="object"&&a||b=="function"?"o"+Za(a):b.charAt(0)+a};g=hO.prototype;g.getCount=function(){return this.map_.size};g.add=function(a){this.map_.set(jBc(a),a);this.setSizeInternal_(this.map_.size)};g.addAll=function(a){a=rJ(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=rJ(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(jBc(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(jBc(a))};g.contains=function(a){return this.map_.containsKey(jBc(a))};g.intersection=function(a){var b=new hO;a=rJ(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 hO(this)};g.equals=function(a){return this.getCount()==Zsc(a)&&kBc(this,a)};
var kBc=function(a,b){var c=Zsc(b);if(a.getCount()>c)return!1;!(b instanceof hO)&&c>5&&(b=new hO(b));return btc(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(Xa(e)||typeof e==="string")d=Qa(e,d)>=0;else a:{for(var f in e)if(e[f]==d){d=!0;break a}d=!1}return d})};hO.prototype.__iterator__=function(){return this.map_.__iterator__(!1)};hO.prototype[Symbol.iterator]=function(){return this.values()};
hO.prototype.setSizeInternal_=function(a){this.size=a};var iO=function(a,b,c){this.fields_=a;this.name_=b;this.contains_=new hO(c);this.extraFields_=[]};iO.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 lBc=function(a){a.fieldSet_||(a.fieldSet_=new hO(a.fields_));return a.fieldSet_};
iO.prototype.contains=function(a){if(this.contains_.contains(a))return!0;this.doesntContain_||(this.doesntContain_=new hO);if(this.doesntContain_.has(a))return!1;var b=lBc(this),c=lBc(a);if(btc(c,b.contains,b))return this.contains_.add(a),!0;this.doesntContain_.add(a);return!1};var mBc=new iO(["6","12"],"1"),nBc=new iO("2 1f 1c 12 16 13 14 1d 22 1b 20".split(" "),"4",[mBc]);new iO("6 12 16 17 18 1a".split(" "),"3",[mBc]);
new iO("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",[mBc,nBc]);new iO([]);var oBc=function(a){try{return ya.JSON.parse(a)}catch(b){}a=String(a);if(/^\s*$/.test(a)?0:/^[\],:{}\s\u2028\u2029]*$/.test(a.replace(/\\["\\\/bfnrtu]/g,"@").replace(/(?:"[^"\\\n\r\u2028\u2029\x00-\x08\x0a-\x1f]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?)[\s\u2028\u2029]*(?=:|,|]|}|$)/g,"]").replace(/(?:^|:|,)(?:[\s\u2028\u2029]*\[)+/g,"")))try{return eval("("+a+")")}catch(b){}throw Error("Yd`"+a);},pBc=function(){this.replacer_=void 0};
pBc.prototype.serialize=function(a){var b=[];qBc(this,a,b);return b.join("")};
var qBc=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],qBc(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),rBc(d,c),c.push(":"),qBc(a,a.replacer_?a.replacer_.call(b,
d,e):e,c),f=","));c.push("}");return}}switch(typeof b){case "string":rBc(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("Zd`"+typeof b);}}},sBc={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\u000b"},tBc=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g,rBc=function(a,b){b.push('"',a.replace(tBc,
function(c){var d=sBc[c];d||(d="\\u"+(c.charCodeAt(0)|65536).toString(16).slice(1),sBc[c]=d);return d}),'"')};var uBc={token:"",addressBookId:"personal",matchType:1,includeContacts:!0,includeGroups:!0,isAutoCompleteMode:!0,delayMillis:5E3,maxMatches:-1,maxTries:10,name:"Load All Contacts"};var vBc=function(a,b,c){iF.call(this);this.scheduler=a;this.runFunction_=b;this.group=c||a.createGroup()};Y(vBc,iF);g=vBc.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 wBc=function(a){iF.call(this);this.scheduler=a;this.maxNumRetries_=0;this.reset()};Y(wBc,iF);g=wBc.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(){iF.prototype.disposeInternal.call(this);this.scheduler=null};var xBc=function(){iF.call(this);this.states={};this.currentGroup=1};Y(xBc,iF);xBc.prototype.schedule=function(a,b,c,d){b=b||0;var e=Date.now()+b,f=this.states[a.getGroup()];f||(f=new wBc(this),this.states[a.getGroup()]=f);f.setMaxNumRetries(Math.max(c||1,f.getMaxNumRetries()));switch(f.runState){case 1:case 5:f.reset();yBc(a,b,e);break;case 6:yBc(a,b,e);break;case 4:d&&(f.reset(),yBc(a,b,e));break;case 2:e<f.runTime?(this.cancel(f),f.reset(),yBc(a,b,e)):f.numTriesLeft=f.maxNumRetries_}};
var yBc=function(a,b,c){b==0?(a.setRunState(3),a.run()):(a.setRunState(2),a.setRunTime(c),a.setRunTimerId(mr(a.run,b,a)))};g=xBc.prototype;g.getState=function(a){return this.states[a]};g.createGroup=function(){return""+this.currentGroup++};g.disposeInternal=function(){iF.prototype.disposeInternal.call(this);for(var a in this.states){var b=this.states[a];this.cancel(b);Wo(b)}this.states={}};g.cancel=function(a){a.runState==2&&nr(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 zBc={SOMETHING_CHANGED:"a",ERROR:"b"},ABc=function(a,b){xF.call(this,a&&a[0].getError()?"b":"a");this.responses_=a;this.source_=b||"d"};Y(ABc,xF);ABc.prototype.getChanges=function(){if(!this.changes_){if(!this.responses_)return null;var a=[];Oa(this.responses_,function(b){b=b.getOperation().getChanges();a&&b?a=a.concat(b):a=null});this.changes_=a}return this.changes_};ABc.prototype.getSource=function(){return this.source_};var jO=function(a){this.serviceId_=a};jO.prototype.toString=function(){return this.serviceId_};new jO("z72MOc");new jO("IW8Usd");new jO("jbDgG");new jO("hdXIif");new jO("DFElXb");new jO("ZtVrH");new jO("rJmJrc");new jO("fJuxOc");new jO("JccZRe");new jO("vk3Wc");new jO("IykvEf");new jO("NGntwf");new jO("FENZqe");new jO("ofuapc");new jO("BWETze");new jO("ZmXAm");new jO("n73qwf");new jO("zZa4xc");new jO("WwG67d");new jO("pVbxBc");new jO("yu4DA");new jO("Bgf0ib");new jO("MpJwZc");new jO("UUJqVe");new jO("ABma3e");new jO("GHAeAc");new jO("Wt6vjf");new jO("AzG0ke");new jO("WSziFf");new jO("byfTOb");new jO("d0RAGb");new jO("TuDsZ");new jO("o1bZcd");new jO("b8xKu");new jO("LEikZe");new jO("lsjVmc");new jO("klpyYe");new jO("OPbIxb");new jO("pg9hFd");new jO("IaqD3e");new jO("Xpw1of");new jO("v5BQle");new jO("tdUkaf");new jO("UBSgGf");new jO("amY3Td");new jO("gSshPb");new jO("J5K1Ad");new jO("tLnxq");var BBc=function(){iF.call(this);this.eventTarget_=new Jq;this.updateCacheEventTarget_=new Jq;this.mutationIdMap_=new GD};Y(BBc,iF);BBc.prototype.dispatchEvent=function(a){this.updateCacheEventTarget_.dispatchEvent(a);this.eventTarget_.dispatchEvent(a)};BBc.prototype.getEventTarget=function(){return this.eventTarget_};
BBc.prototype.disposeInternal=function(){iF.prototype.disposeInternal.call(this);this.eventTarget_.dispose();this.eventTarget_=null;this.updateCacheEventTarget_.dispose();this.updateCacheEventTarget_=null};var $r=function(a){iF.call(this);this.handler_=a;this.keys_={}};Nu($r,iF);var CBc=[];$r.prototype.listen=function(a,b,c,d){Array.isArray(b)||(b&&(CBc[0]=b.toString()),b=CBc);for(var e=0;e<b.length;e++){var f=Kq(a,b[e],c||this.handleEvent,d||!1,this.handler_||this);if(!f)break;this.keys_[f.key]=f}return this};$r.prototype.listenOnce=function(a,b,c,d){return DBc(this,a,b,c,d)};
var DBc=function(a,b,c,d,e,f){if(Array.isArray(c))for(var h=0;h<c.length;h++)DBc(a,b,c[h],d,e,f);else{b=BF(b,c,d||a.handleEvent,e,f||a.handler_||a);if(!b)return a;a.keys_[b.key]=b}return a};
$r.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=Ya(d)?!!d.capture:!!d,e=e||this.handler_||this,c=Dlc(c),d=!!d,b=zF(a)?a.getListener(b,c,d,e):a?(a=Flc(a))?a.getListener(b,c,d,e):null:null,b&&(DF(b),delete this.keys_[b.key]);return this};$r.prototype.removeAll=function(){Fc(this.keys_,function(a,b){this.keys_.hasOwnProperty(b)&&DF(a)},this);this.keys_={}};
$r.prototype.disposeInternal=function(){$r.superClass_.disposeInternal.call(this);this.removeAll()};$r.prototype.handleEvent=function(){throw Error("ae");};var zt=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(zt,V);var yt=function(a,b){return fl(a,1,b)};g=zt.prototype;g.getLogSource=function(){return Fk(this,2,-1)};g.setLogSource=function(a){return gl(this,2,a)};g.getApplication=function(){return Fk(this,3,0)};g.setApplication=function(a){return gl(this,3,a)};g.getApplicationOrUndefined=function(){return Bt(this,3)};g.getVersion=function(){return Kh(this,4)};g.setVersion=function(a){return fl(this,4,a)};
g.getVersionOrUndefined=function(){return wr(this,4)};g.getBaselineCl=function(){return Xj(this,5)};g.setBaselineCl=function(a){return dl(this,5,a)};g.hasBaselineCl=function(){return Bk(this,5)};g.getBaselineClOrUndefined=function(){return hv(this,5)};g.getEnableClearcut=function(){return Ak(this,6)};g.setEnableClearcut=function(a){return cl(this,6,a)};var igb=function(a,b){return wc(a,7,b,Lb)};g=zt.prototype;g.setClientAgent=function(a){return gl(this,8,a)};
g.getClientAgentOrUndefined=function(){return Bt(this,8)};g.setEventSource=function(a){gl(this,9,a)};g.getEventSourceOrUndefined=function(){return Bt(this,9)};g.setEventSourceId=function(a){dl(this,14,a)};g.getEventSourceIdOrUndefined=function(){return hv(this,14)};g.getClearcutUrl=function(){return Kh(this,10)};g.setClearcutUrl=function(a){fl(this,10,a)};g.setEnvironment=function(a){return gl(this,11,a)};g.getEnvironmentOrUndefined=function(){return Bt(this,11)};
g.getPeoplekitEntryPoint=function(){return Fk(this,12,0)};g.setPeoplekitEntryPoint=function(a){return gl(this,12,a)};g.getPeoplekitEntryPointOrUndefined=function(){return Bt(this,12)};g.setSharekitEntryPoint=function(a){gl(this,13,a)};g.getSharekitEntryPointOrUndefined=function(){return Bt(this,13)};var EBc,FBc=(EBc=window)==null?void 0:EBc.performance,GBc,HBc=FBc==null?void 0:(GBc=FBc.timing)==null?void 0:GBc.navigationStart,$wc=HBc&&FBc?function(){var a;return HBc+((a=FBc==null?void 0:FBc.now())!=null?a:0)}:function(){return Date.now()};var IBc=function(a){this.start_=a;this.end_=NaN};IBc.prototype.duration=function(){return this.end_-this.start_};IBc.prototype.stop=function(a){this.end_=a;return this.duration()};var kO=function(a){var b=b===void 0?$wc:b;this.source_=a;this.nowFn_=b;this.durations_=new Map;this.lastLabel_="_"};kO.prototype.source=function(){return this.source_};var JBc=function(a,b){b&&(a.lastLabel_=b);return a.lastLabel_};
kO.prototype.duration=function(a){a=JBc(this,a===void 0?"":a);return this.durations_.has(a)?this.durations_.get(a).duration():NaN};var lO=function(a,b){return VPa(a.duration(b===void 0?"":b))};kO.prototype.toString=function(a,b){b=b===void 0?1:b;return this.duration(a===void 0?"":a).toFixed(b)};kO.prototype.start=function(a){a=a===void 0?"":a;var b=this.nowFn_();a=JBc(this,a);this.durations_.set(a,new IBc(b));return this};
kO.prototype.stop=function(a){a=a===void 0?"":a;var b=this.nowFn_();a=JBc(this,a);this.durations_.has(a)&&this.durations_.get(a).stop(b);return this};kO.prototype.clear=function(){this.durations_.clear();return this};var KBc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(KBc,V);var agb=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(agb,V);g=agb.prototype;g.getQueryId=function(){return Wb(Hk(this,1))};g.setQueryId=function(a){return Xk(this,1,a)};g.setSelectionId=function(a){return Xk(this,2,a)};g.getInstanceId=function(){return ql(this,4)};g.setInstanceId=function(a){return fl(this,4,a)};g.clearInstanceId=function(){Np(this,4)};g.hasInstanceId=function(){return Ck(this,4)};g.getInstanceIdOrUndefined=function(){return wr(this,4)};
g.getAffinityVersion=function(){return av(this,5)};g.setAffinityVersion=function(a){dl(this,5,a)};g.getAffinityVersionOrUndefined=function(){return hv(this,5)};var LBc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(LBc,V);g=LBc.prototype;g.getQueryLength=function(){return av(this,1)};g.setQueryLength=function(a){return dl(this,1,a)};g.hasQueryLength=function(){return Bk(this,1)};g.getQuery=function(){return ql(this,2)};g.setQuery=function(a){return fl(this,2,a)};g.clearQuery=function(){Np(this,2)};g.hasQuery=function(){return Ck(this,2)};var MBc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(MBc,V);MBc.prototype.setLatencyUsec=function(a){dl(this,1,a)};var mO=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(mO,V);g=mO.prototype;g.getColumn=function(){return av(this,2)};g.setColumn=function(a){return dl(this,2,a)};g.getType=function(){return nt(this,3)};g.setType=function(a){return gl(this,3,a)};g.hasType=function(){return Dk(this,3)};var nO=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(nO,V);nO.prototype.getExistingSelectionsCount=function(){return av(this,1)};nO.prototype.setExistingSelectionsCount=function(a){dl(this,1,a)};nO.prototype.getPosition=function(){return W(this,mO,2)};nO.prototype.setPosition=function(a){return X(this,mO,2,a)};var oO=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(oO,V);g=oO.prototype;g.getType=function(){return nt(this,5)};g.setType=function(a){return gl(this,5,a)};g.hasType=function(){return Dk(this,5)};g.getEmail=function(){return ql(this,1)};g.getEmail_legacyNullable=function(){return ql(this,1)};g.setEmail=function(a){return fl(this,1,a)};g.hasEmail=function(){return Ck(this,1)};g.getPhone=function(){return ql(this,2)};g.getPhone_legacyNullable=function(){return ql(this,2)};
g.setPhone=function(a){return fl(this,2,a)};g.hasPhone=function(){return Ck(this,2)};g.getObfuscatedGaiaId=function(){return ql(this,3)};g.getObfuscatedGaiaId_legacyNullable=function(){return ql(this,3)};g.setObfuscatedGaiaId=function(a){return fl(this,3,a)};g.getContactId=function(){return Wb(Hk(this,4))};g.setContactId=function(a){return Xk(this,4,a)};g.getGroupId=function(){return ql(this,6)};g.setGroupId=function(a){fl(this,6,a)};g.hasGroupId=function(){return Ck(this,6)};var pO=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(pO,V);pO.prototype.getName=function(){return ql(this,1)};pO.prototype.setName=function(a){return fl(this,1,a)};pO.prototype.hasName=function(){return Ck(this,1)};pO.prototype.getNameOrUndefined=function(){return wr(this,1)};var qO=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(qO,V);g=qO.prototype;g.getPosition=function(){return W(this,mO,1)};g.setPosition=function(a){return X(this,mO,1,a)};g.getProvenance=function(){return q4b(this,3)};g.setProvenance=function(a){return Ac(this,3,Jb,a,void 0,Kb)};g.getIsBoosted=function(){return ft(this,6)};g.setIsBoosted=function(a){cl(this,6,a)};g.getIsPlaceholder=function(){return ft(this,7)};g.setIsPlaceholder=function(a){cl(this,7,a)};
g.getIsSelf=function(){return ft(this,11)};g.getQueryId=function(){return Wb(Hk(this,15))};g.setQueryId=function(a){return Xk(this,15,a)};g.setSelectionId=function(a){return Xk(this,16,a)};var NBc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(NBc,V);g=NBc.prototype;g.getLoggingId=function(){return ql(this,1)};g.setLoggingId=function(a){fl(this,1,a)};g.getMetadata=function(){return W(this,qO,3)};g.getMutableMetadata=function(){return Wu(this,qO,3)};g.setMetadata=function(a){X(this,qO,3,a)};var rO=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(rO,V);rO.prototype.getAffinityVersion=function(){return av(this,2)};rO.prototype.setAffinityVersion=function(a){dl(this,2,a)};rO.prototype.getAffinityVersionOrUndefined=function(){return hv(this,2)};var OBc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(OBc,V);g=OBc.prototype;g.getEventType=function(){return nt(this,1)};g.getEventType_legacyNullable=function(){return nt(this,1)};g.setEventType=function(a){return gl(this,1,a)};g.getMetadata=function(){return W(this,rO,4)};g.getMutableMetadata=function(){return Wu(this,rO,4)};g.setMetadata=function(a){X(this,rO,4,a)};g.getClientInterface=function(){return W(this,cO,5)};g.setClientInterface=function(a){return X(this,cO,5,a)};var PBc=new Map([[1,4],[2,2],[3,1],[4,7]]),QBc=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=Ak(a.getExperiments(),1,!0);break;case 2:b="ppl.store.ppl.store.ozcontactstore";c=Ak(a.getExperiments(),2,!0);break;default:b="ppl.store",c=!1}var d=PBc.get(a.getUserInfo().getEnvType_legacyNullable())||0;b=yt(new zt,b).setLogSource(932).setApplication(a.getClientInfo().getSocialApplicationOrUndefined()).setEnvironment(d).setVersion("1013").setBaselineCl(336195648).setClientAgent(3).setEnableClearcut(c);
a=a.getExperiments().getExperimentIdsList();a=zc(b,7,Lb,a,void 0,Mb,void 0,void 0,!0);this.logContext_=zc(a,7,Lb,20090307,void 0,Mb)};g=QBc.prototype;g.getLogContext=function(){return this.logContext_};
g.createCountMetric=function(a,b){b=b.source();var c=RBc(this);switch(b.getEventType()){case 2:case 3:return(new gO).setClientInterface(a).setUserInfo(c).setSource(2).setEventType(2).setRpcRequest((new eO).setRpcType(b.getRpcType()).setLookupType(b.getLookupType()));case 4:case 5:return(new gO).setClientInterface(a).setUserInfo(c).setEventType(4).setApiCall((new ZAc).setApiType(b.getApiType()));default:return null}};
g.createStatusMetric=function(a,b,c){var d=b.source(),e=RBc(this);switch(d.getEventType()){case 1:d=(new gO).setClientInterface(a).setUserInfo(e).setSource(1).setEventType(1);a=this.transportType_;e=(new dO).setStatus(c);if(c==0||c==4)c=e.setTotalUsec(lO(b,"total")),b=lO(b,"blocked"),b=Xk(c,3,b),gl(b,5,a);return zm(d,4,bBc,e);case 2:case 3:return a=(new gO).setClientInterface(a).setUserInfo(e).setSource(2).setEventType(3),e=a.setRpcResponse,d=(new aBc).setRpcType(d.getRpcType()).setLookupType(d.getLookupType()).setStatus(c),
c!=0&&c!=4||d.setTotalUsec(lO(b,"total")).setBlockedUsec(lO(b,"blocked")).setNetworkUsec(lO(b,"network")),e.call(a,d);case 4:case 5:a=(new gO).setClientInterface(a).setUserInfo(e).setEventType(5);e=a.setApiResult;var f=new $Ac;f.setApiType(d.getApiType()).setCacheStatus(d.getCacheStatus()).setAddressBook(d.getAddressBook()).setStatus(c);c!==0&&c!==4||f.setTotalUsec(lO(b,"total"));return e.call(a,f);default:return null}};g.createErrorMetric=function(){return null};g.createLatencyMetric=function(){return null};
var RBc=function(a){a=a.clientConfig_.getUserInfo();var b=new fO;var c=!!a.getDelegatorId();b=cl(b,4,c);a.hasCacheSize()&&b.setCacheSize(a.getCacheSize());b.setEnvType(Fk(a,6,0)||0);return b};var ZPa=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(ZPa,V);var SBc=function(){return Ba&&Ca?!Ca.mobile&&(Ea("iPad")||Ea("Android")||Ea("Silk")):Ea("iPad")||Ea("Android")&&!Ea("Mobile")||Ea("Silk")};var XPa=new WeakMap,WPa=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 TBc=function(a,b){this.clearcut_=a;this.logContextFactory_=b;this.device_=yba()||Ea("iPod")?4:Ea("iPad")?5:xba()?SBc()?3:2:(Ba&&Ca?Ca.mobile:!SBc()&&(Ea("iPod")||Ea("iPhone")||Ea("Android")||Ea("IEMobile")))||SBc()?0:1},VBc=function(a){var b=a.getLogContext(),c=null;if(b.getEnableClearcut()){var d,e;c=b.getLogSource();var f=MPa();var h=pc(b,7,Mb,Uj(Vj));c=UBc(c,f,h,(e=(d=RK.clearcut)==null?void 0:d.preferOauth)!=null?e:!1,b.getClearcutUrl())}return new TBc(c,a)},WBc=function(a){var b=a.logContextFactory_.getLogContext(),
c=new bO;c.setApplication(b.getApplicationOrUndefined());c.setDevice(a.device_);a=new cO;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},XBc=function(a,b){var c=new pF;Qkc(c,b.serialize());a.clearcut_&&uF(a.clearcut_,c)},UBc=Gq($Pa);var YBc=function(a,b){this.clearcut_=a;this.logEventFactory_=b};YBc.prototype.logError=function(a){var b=WBc(this.clearcut_);(a=this.logEventFactory_.createErrorMetric(b,a))&&XBc(this.clearcut_,a)};var ZBc=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 $Bc=function(){this.logContext_=yt(new zt,"ppl.store")};g=$Bc.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 aCc=function(a){this.clearcut_=a},Fs=function(a){a=new YBc(VBc(a),a);return new aCc(a)};g=aCc.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=WBc(c.clearcut_);(a=c.logEventFactory_.createCountMetric(d,a,b))&&XBc(c.clearcut_,a);return this};g.status=function(a,b){var c=this.clearcut_,d=WBc(c.clearcut_);(a=c.logEventFactory_.createStatusMetric(d,a,b))&&XBc(c.clearcut_,a);return this};g.latency=function(a){var b=this.clearcut_,c=WBc(b.clearcut_);(a=b.logEventFactory_.createLatencyMetric(c,a))&&XBc(b.clearcut_,a);return this};g.error=function(a){this.clearcut_.logError(a);return this};
g.logError=function(){};g.logInfo=function(){return this};var sO=function(a,b){this.addressBookMap_={};this.addressBooks=[];this.ownedAddressBooks_=[];this.scheduler_=new xBc;this.eventHandler_=new $r(this);this.ownsContactNotificationService_=!a;this.queryFilters_=[];this.contactNotificationService_=a||new BBc;(a=b)||(a=Fs(new $Bc));this.metrics=a;this.queryFilters_.push(this.contactNotificationService_)};Nu(sO,iF);g=sO.prototype;
g.addAddressBook=function(a,b){this.addressBooks.push(a);b&&this.ownedAddressBooks_.push(a);this.addressBookMap_[a.getId()]=a;this.eventHandler_.listen(a,iea(zBc),Lu(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 ABc(null,"c"))};
g.loadContactRows=function(a,b){var c=this,d=(new Fq).setEventType(4).setApiType(2),e=new kO(d);this.metrics.count(e);this.metrics.start(e,"total");return bCc(this,a,function(f){return f.loadContactRows},function(f,h,l,q,u){cCc(function(A,F,H,N){var O=F===aO||F instanceof XAc?2:1;e.source().setCacheStatus(O);e.source().setAddressBook(H?YAc.get(H)||1:1);c.metrics.stop(e,"total");c.metrics.status(e,gBc(u||0));b&&b(A,F,H,N,u)},f,h,l,q)})};
var bCc=function(a,b,c,d){var e=new dCc(d,a.metrics),f;if(b.addressBookId){var h=a.addressBookMap_[b.addressBookId];b.delayMillis>0||b.maxTries>1?f=eCc(a,h,c(h),b,d):f=c(h).call(h,b,d);f&&e.add(f)}else for(var l=0;l<a.addressBooks.length;l++)h=a.addressBooks[l],b.delayMillis>0||b.maxTries>1?f=eCc(a,h,c(h),b,d):f=c(h).call(h,b,d),f&&e.add(f);return e};
sO.prototype.execute=function(a){var b=this,c=(new Fq).setEventType(4).setApiType(1),d=new kO(c);this.metrics.count(d);this.metrics.start(d,"total");fCc(this,a);a.addSuccessOrFailureCallback(function(e){var f=e?gBc(e.getErrorCode()):2;e=(e=e?e.request_:null)?e.getAddressBookId():"";d.source().setCacheStatus(e?1:2);d.source().setAddressBook(e?e?YAc.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 gCc(b,e,d)}))?
c:gCc(this,a,d)};
var fCc=function(a,b){Oa(a.queryFilters_,function(){});b.isMutate()&&(b=b.getOperation())&&(b=b.getQueryAfterMutate())&&fCc(a,b)},gCc=function(a,b,c){if(b.isMutate()){var d=b.getOperation();d&&(d=d.getMutationId())&&a.contactNotificationService_.mutationIdMap_.set(d,Date.now())}if(d=b.getAddressBookId())if(d=a.addressBookMap_[d])return d.execute(b);c=new dCc(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},eCc=function(a,
b,c,d,e){var f=a.scheduler_;b=Lu(a.runScheduledQuery_,a,b,c,d,e);f=new vBc(f,b,d.name);a.scheduler_.schedule(f,d.delayMillis,d.maxTries,d.force);return new hCc(f)};sO.prototype.runScheduledQuery_=function(a,b,c,d,e){e.request=b.call(a,c,function(f,h,l,q,u){e.isDone(!u)&&d&&d(f,h,l,q,u)})};
var cCc=function(a,b,c,d,e){a&&(b&&(e.filter&&(b=e.filter(b,e.token)),iCc(b)),a(b||[],c,d,e))},iCc=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)}};
sO.prototype.disposeInternal=function(){sO.superClass_.disposeInternal.call(this);Wo(this.scheduler_);this.scheduler_=null;Oa(this.ownedAddressBooks_,Wo);this.ownedAddressBooks_=this.addressBookMap_=this.addressBooks=null;Wo(this.eventHandler_);this.eventHandler_=null;Oa(this.queryFilters_,function(a){a!=this.contactNotificationService_&&Wo(a)},this);this.queryFilters_=null;this.ownsContactNotificationService_&&(Wo(this.contactNotificationService_),this.contactNotificationService_=null)};
var jCc=function(a){var b=new QBc(a,0);yt(b.getLogContext(),"ppl.store");b.getLogContext().setEnableClearcut(Ak(a.getExperiments(),3,!0));return Fs(b)},dCc=function(a,b,c){this.requests_=[];this.handler=a;this.metrics_=b;this.state_=c;this.addressBookId_=""};g=dCc.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 hCc=function(a){this.op=a;this.request=null};hCc.prototype.cancel=function(){this.op.cancel();this.request&&this.request.cancel()};
hCc.prototype.isPending=function(){return this.op.isPending()||this.op.request&&this.op.request.isPending()};var kCc=function(a,b){this.text=a;this.specialRowHandler=b};Nu(kCc,VAc);g=kCc.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 lCc=function(a,b){sO.call(this,a,b)};Y(lCc,sO);lCc.prototype.addAddressBook=function(a,b){this.addressBooks.length==1&&(this.combiner_=new mCc(this.metrics),this.combiner_.addAddressBook(this.addressBooks[0]));sO.prototype.addAddressBook.call(this,a,b);this.combiner_&&this.combiner_.addAddressBook(a)};lCc.prototype.loadContactRows=function(a,b){return this.combiner_&&a.isAutoCompleteMode&&!a.addressBookId?this.combiner_.loadContactRows(a,b):sO.prototype.loadContactRows.call(this,a,b)};
var mCc=function(a){this.addrBooks_=[];this.rowSets_=null;this.metrics_=a};mCc.prototype.addAddressBook=function(a){this.addrBooks_.push(new nCc(this,this.addrBooks_.length,a))};mCc.prototype.loadContactRows=function(a,b){a=new oCc(a,this.metrics_,b);pCc(this,a);return a};
var pCc=function(a,b,c,d){a.rowSets_=[];for(var e=0;e<a.addrBooks_.length&&!(e==c?a.rowSets_[e]=d:a.addrBooks_[e].loadContactRows(b),e==0&&a.rowSets_[e]&&a.rowSets_[e].length>=b.query.maxMatches);e++);c=b.query;d=a.rowSets_;var f=[];e=!1;for(var h,l=0;l<d.length&&f.length<c.maxMatches;l++)if(d[l]){h=f.length;e=!0;var q=d[l],u=c.maxMatches,A=f.length;if(A==0)f=q.length>u?q.slice(0,u):q;else for(var F=0;F<q.length;F++){var H=null,N;for(N=0;N<A&&!(H=qCc(f[N],q[F]));N++);if(H)H===q[F]&&(f[N]=H);else if(f.length==
A?f=f.concat(q[F]):f.push(q[F]),f.length==u)break}h>0&&f.length>h&&(f[h].flags|=1)}e?(iCc(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},qCc=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},rCc=function(a,b,c,d){a.rowSets_?a.rowSets_[c]=d:pCc(a,b,c,d)};
mCc.prototype.handleSpecialRow=function(){};var nCc=function(a,b,c){this.combiner_=a;this.id_=b;this.addrBook_=c;this.lastAsyncLatency_=0;this.isSynchronous_=!1};
nCc.prototype.loadContactRows=function(a){var b=this,c=a.storedResults_[this.id_];if(!c){this.isSynchronous_=!0;this.madeCallback_=!1;var d=Date.now(),e=this.addrBook_.loadContactRows(a.query,function(f,h,l,q,u){b.matchListener_(a,d,f,u)});a.addRequest(this.id_,e);this.isSynchronous_=!1;this.madeCallback_||a.query.isAutoCompleteMode&&this.lastAsyncLatency_>300&&(c=[sCc(this)])}c&&rCc(this.combiner_,a,this.id_,c)};
var sCc=function(a){var b=a.addrBook_.title_;return new kCc(b?"Searching for matches from "+b:"Searching for more matches.",a.combiner_.handleSpecialRow)};
nCc.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;rCc(this.combiner_,a,this.id_,c)};nCc.prototype.dispose=function(){this.combiner_=this.matcher_=null};
var oCc=function(a,b,c){var d=this;this.query=a;this.activeRequests_={};this.storedResults_={};this.addressBooksToReport_=[];this.storedErrorCodes_=[];var e=new kO((new Fq).setEventType(4).setApiType(2));b.count(e);b.start(e,"total");this.handler=function(f,h,l,q){d.addressBooksToReport_.forEach(function(u,A){var F=d.activeRequests_[A];F=F===aO||F instanceof XAc?2:1;e.source().setCacheStatus(F);e.source().setAddressBook(u?YAc.get(u)||1:1);b.stop(e,"total");b.status(e,gBc(d.storedErrorCodes_[A]))});
d.addressBooksToReport_=[];c&&c(f,h,l,q)}};oCc.prototype.cancel=function(){for(var a in this.activeRequests_)this.activeRequests_[a].cancel();this.activeRequests_={}};oCc.prototype.isPending=function(){for(var a in this.activeRequests_)if(this.activeRequests_[a].isPending())return!0;return!1};oCc.prototype.addRequest=function(a,b){this.activeRequests_[a]=b};var aQa={198:"AE",230:"ae",306:"IJ",307:"ij",338:"AE",339:"ae"};var tO=function(a,b,c,d,e,f){Jq.call(this);this.cacheMaxSize_=e||0;this.rowMatchingFunction_=f||tCc;this.cache_=new GD(this.cacheMaxSize_,!0);this.cacheSize_=a||0;this.cacheMinExpiryAge_=b||0;this.cacheMaxExpiryAge_=c||0;this.cacheByType_=!!d};Nu(tO,Jq);tO.prototype.disposeInternal=function(){tO.superClass_.disposeInternal.call(this);this.cache_=null};tO.prototype.clear=function(){this.cache_.clear()};
var tCc=function(a){var b=Bj(Iq(a.token));return function(c){var d=new RegExp("(^|\\W+)"+b,"i");(d=Iq(String(c[1])).match(d)!=null)||(d=c[0],d=c[2].match(new RegExp("^"+b,"i"))!=null&&String(d)!="cl");return d}},uCc=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},vCc=function(a,b,c){a.cache_.set(uCc(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_)}},wCc=function(a,b,c){c=c?a.cache_.get(b):Zic(a.cache_,b);return a.isStale(c)?(a.cache_.remove(b),null):c},xCc=function(a,b,c){c=b.length-c.length;for(var d=b.length;d>=c;d--){var e=wCc(a,b,!1);if(e)return e;b=b.substr(0,d-1)}return null},yCc=function(a,b){if(b.isContactAutoComplete)return null;var c=uCc(b,a.cacheByType_),
d=xCc(a,c,b.token);return d?d:a.cacheByType_&&c.lastIndexOf("^",0)!=0?(c=uCc(b,!1),xCc(a,c,b.token)):null};tO.prototype.isStale=function(a){return!!a&&!!this.cacheMaxExpiryAge_&&a.created+this.cacheMaxExpiryAge_<Date.now()};tO.prototype.invalidateCache=function(a){for(var b=this.cache_.getKeys(),c=0;c<b.length;c++){var d=b[c],e={token:Zic(this.cache_,d).token};this.rowMatchingFunction_(e)(a)&&this.cache_.remove(d)}};
var zCc=function(a,b,c){this.token=a;this.matches_=b;this.partialResult_=!!c;this.count=1;this.created=Date.now()};zCc.prototype.getMatches=function(a){a&&this.count++;return this.matches_};zCc.prototype.isComplete=function(a){return!this.partialResult_||a>=0&&a<=this.matches_.length};Nu(Lq,Jq);g=Lq.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(St(a.token)&&!c.allowEmptyQueries_)var d=WAc;else{d=a.maxMatches;var e=wCc(c,uCc(a,c.cacheByType_),!0);(d=e&&d&&!e.isComplete(d)?null:e)?d=d.getMatches():(d=yCc(c,a))&&d.getMatches().length==0?(vCc(c,a,new zCc(a.token,WAc)),d=WAc):d&&!d.partialResult_&&c.clientFilteringOk_?(d=d.getMatches(),d=i3b(d,c.rowMatchingFunction_(a),c),vCc(c,a,new zCc(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,aO,this.getId(),a),aO):this.transport_.loadContactRows(a,this.getId(),Lu(this.cacheContactRowsAndInvokeHandler_,this,b))}b&&b(WAc,aO,this.getId(),a,4);return aO};g.cacheContactRowsAndInvokeHandler_=function(a,b,c,d,e,f){f||vCc(this.cache_,e,new zCc(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.getAuthToken=function(){return this.transport_.getAuthToken()};
g.disposeInternal=function(){Lq.superClass_.disposeInternal.call(this);this.cache_.dispose();this.cache_=null;ACc(this.transport_,this.id_);this.transport_=null};var CCc=function(a,b,c){tO.call(this,100,18E5,432E5,!0,0,c||BCc);this.clientFilteringOk_=a;this.allowEmptyQueries_=b};Y(CCc,tO);var BCc=function(a){return function(b){var c=b.getType(),d;if(d=DCc(a,c)){d=new RegExp("(^|\\W+)"+Bj(Iq(a.token)),"i");var e=Iq(b.getName()||"");(d=d.test(e))||(d=a.token,d=((b=b.getEmail())?(new RegExp("^"+Bj(Iq(d)),"i")).test(b):!1)&&c!="cl")}return d}},DCc=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 FCc=function(a,b,c){this.includeDomainGroups_=!!c;b=b||new CCc(!0,!1,ECc);Lq.call(this,a,b,"domain")};Nu(FCc,Lq);FCc.prototype.loadContactRows=function(a,b){a.includeGroups&&!this.includeDomainGroups_&&(a=Jc(a),a.includeGroups=!1);return FCc.superClass_.loadContactRows.call(this,a,b)};
var ECc=function(a){for(var b=G4b(a.token).toLowerCase().split(/\s+/),c=[],d=[],e=0;e<b.length;e++){var f=Bj(b[e]),h=new RegExp("^"+f,"i");c.push(new RegExp("(^|\\W+)"+f,"i"));d.push(h)}return function(l){if(DCc(a,l.getType())){for(var q=0;q<c.length;q++)if(!l.getName().match(c[q])&&!l.getEmail().match(d[q]))return!1;return!0}return!1}};FCc.prototype.execute=function(a){a=this.transport_.execute(a);a.setAddressBookId(this.getId());return a};var GCc=function(a,b){this.personId=a;this.contactId=b.CONTACT||"";this.syntheticId=b.DOMAIN_CONTACT||"";this.profileId=b.PROFILE||b.DOMAIN_PROFILE||"";this.loggingId=""},ICc=function(a){if(!a)return HCc;var b=cQa(Eq("metadata.identityInfo.sourceIds",a)),c=Eq("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 GCc(a.personId||"",b)},HCc=new GCc("",{});var JCc=function(a,b){this.isLocal_=a;this.edgeIndex_=b};JCc.prototype.toString=function(){return""};var uO=function(a,b){this.metadata_=a||{};this.edgeCollection_=b};uO.prototype.toString=function(){return""};var LCc=function(a){return KCc(a).some(function(b){return!b.isLocal_})};uO.prototype.getSource=function(a){return KCc(this)[a]};uO.prototype.hasSource=function(){return void 0<KCc(this).length};var KCc=function(a){return a.edgeCollection_?a.edgeCollection_.getSources(a.metadata_.encodedContainerId,a.metadata_.containerType):[]};uO.prototype.getCause=function(a){return MCc(this)[a]};
var MCc=function(a){return a.edgeCollection_?NCc(a.edgeCollection_,a.metadata_.edgeKeyInfo):[]};uO.prototype.getContainerType=function(){return this.metadata_.containerType};var OCc=new uO({},null);var PCc=function(a,b){this.email_=a;this.edgeCollection_=b;this.metadata_=null};g=PCc.prototype;g.toString=function(){return""};g.getMetaData=function(){this.metadata_||(this.metadata_=this.hasMetaData()?new uO(this.email_.metadata,this.edgeCollection_):OCc);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 QCc=new PCc({},null);var RCc=function(a,b){this.emails_=[];a=k(a);for(var c=a.next();!c.done;c=a.next())this.emails_.push(new PCc(c.value,b))};g=RCc.prototype;g.toString=function(){return""};g.getMetaData=function(){return null};g.hasMetaData=function(){return!!this.getMetaData()};g.getField=function(a){return this.emails_[a]||QCc};g.getFieldLength=function(){return this.emails_.length};var SCc=new RCc([],null);var TCc=function(a,b){this.name_=a||{};this.edgeCollection_=b;this.metadata_=null};g=TCc.prototype;g.toString=function(){return""};g.getMetaData=function(){this.metadata_||(this.metadata_=new uO(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 UCc=new TCc({},null);var VCc=function(a){this.field_=a};g=VCc.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 WCc=new VCc(UCc);var XCc=["CONTACT","PROFILE","DOMAIN_PROFILE"],YCc=function(a,b){this.names_=[];a=k(a);for(var c=a.next();!c.done;c=a.next())this.names_.push(new TCc(c.value,b))};g=YCc.prototype;g.toString=function(){return""};g.getMetaData=function(){return null};g.hasMetaData=function(){return!!this.getMetaData()};g.getField=function(a){return this.names_[a]||UCc};g.getFieldLength=function(){return this.names_.length};var ZCc=new YCc([],null);var $Cc=function(a,b){this.phone_=a;this.edgeCollection_=b;this.metadata_=null};g=$Cc.prototype;g.toString=function(){return""};g.getMetaData=function(){this.metadata_||(this.metadata_=this.hasMetaData()?new uO(this.phone_.metadata,this.edgeCollection_):OCc);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 aDc=new $Cc({},null);var bDc=function(a,b){this.phones_=[];a=k(a);for(var c=a.next();!c.done;c=a.next())this.phones_.push(new $Cc(c.value,b))};g=bDc.prototype;g.toString=function(){return""};g.getMetaData=function(){return null};g.hasMetaData=function(){return!!this.getMetaData()};g.getField=function(a){return this.phones_[a]||aDc};g.getFieldLength=function(){return this.phones_.length};var cDc=new bDc([],null);var dDc=function(a,b){this.photo_=a;this.edgeCollection_=b;this.metadata_=null};g=dDc.prototype;g.toString=function(){return""};g.getMetaData=function(){this.metadata_||(this.metadata_=this.hasMetaData()?new uO(this.photo_.metadata,this.edgeCollection_):OCc);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 eDc=new dDc({},null);var fDc=function(a,b){this.photos_=[];a=k(a);for(var c=a.next();!c.done;c=a.next())c=c.value,c.isMonogram||c.isDefault||this.photos_.push(new dDc(c,b))};g=fDc.prototype;g.toString=function(){return""};g.getMetaData=function(){return null};g.hasMetaData=function(){return!!this.getMetaData()};g.getField=function(a){return this.photos_[a]||eDc};g.getFieldLength=function(){return this.photos_.length};var gDc=new fDc([],null);var vO=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};
vO.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_?dQa(this.getName().getValue(),this.getEmail().getField(this.emailIndex_).getValue()):"";this.text_=a}return this.text_};vO.prototype.hasName=function(){return!!this.getName()};
vO.prototype.getName=function(){if(!this.name_){a:{var a=iQa(this);if(a.names_.length){for(var b=k(XCc),c=b.next();!c.done;c=b.next()){c=c.value;for(var d=k(a.names_),e=d.next();!e.done;e=d.next())if(e=e.value,e.getMetaData().getContainerType()===c){a=new VCc(e);break a}}a=new VCc(a.names_[0])}else a=WCc}this.name_=a}return this.name_};
var iQa=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 YCc(b,a.edgeCollection_):ZCc}return a.nameRepeated_};g=vO.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:eQa(this.contactLabel_)}]);this.email_=a?new RCc(a,this.edgeCollection_):SCc}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 bDc(a,this.edgeCollection_):cDc}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 fDc(a,this.edgeCollection_):gDc}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};
g.getProfileType=function(){return null};var dQa=function(a,b){return a?b&&a!=b?'"'+a.replace(/[\\"]/g,"\\$&")+'" <'+b+">":a:b||""},hDc=new vO(null,null,null,null);var iDc=function(){this.keyToIndex_=new Map},jDc=function(a,b,c){return c.map(function(d){return a.get(b,d)}).filter(function(d){return d!=null})};iDc.prototype.get=function(a,b){b==="DOMAIN_PROFILE"&&(b="PROFILE");return this.contains(a,b)?this.keyToIndex_.get(a+"="+b):null};iDc.prototype.set=function(a,b,c){b==="DOMAIN_PROFILE"&&(b="PROFILE");this.keyToIndex_.set(a+"="+b,c)};iDc.prototype.contains=function(a,b){b==="DOMAIN_PROFILE"&&(b="PROFILE");return this.keyToIndex_.has(a+"="+b)};var gQa=function(a){this.evergreenProfile_=a?new vO(a,null,null,null):hDc};gQa.prototype.toString=function(){return""};var kDc=new gQa(null);var lDc=new JCc(!0,null),wO=function(a){this.edgeIndexResolver_=new iDc;this.sourcesCache_=new Map;this.encodedContainerIds_=[];this.readonlyOutgoingEdges_=hQa(a,this.edgeIndexResolver_,this.encodedContainerIds_)};wO.prototype.get=function(a){return this.readonlyOutgoingEdges_[a]||kDc};wO.prototype.getContainerId=function(){return this.encodedContainerIds_[void 0]||""};
var NCc=function(a,b){return b?b.map(function(c){return a.edgeIndexResolver_.get(c.containerId,c.containerType)}).filter(function(c){return c!=null}):[]};wO.prototype.getSize=function(){return this.readonlyOutgoingEdges_.length};wO.prototype.getSources=function(a,b){if(!a||!b)return[];if(b==="CONTACT")return[lDc];var c=a+"="+b;this.sourcesCache_.has(c)||this.sourcesCache_.set(c,jDc(this.edgeIndexResolver_,a,[b]).map(function(d){return new JCc(!1,d)}));return this.sourcesCache_.get(c)};var mDc=new wO(null);var nDc=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 wO(this.person_);this.emailIndex_=b;this.profile_=new vO(this.person_,this.googleGroup_,this.contactLabel_,this.edgeCollection_,this.emailIndex_);this.photoUrl_=this.phone_=this.name_=this.allIds_=null;this.text=c?this.getName()||"":this.profile_.toString()};Y(nDc,VAc);g=nDc.prototype;
g.toString=function(){return this.getType()==="cl"?this.getEmail()||"":this.text};g.getAllIds_=function(){if(!this.allIds_){if(this.person_)var a=ICc(this.person_);else if(this.googleGroup_)if(a=this.googleGroup_){var b=cQa(a.sourceIds);a=new GCc(a.personId||"",b)}else a=HCc;else this.contactLabel_?(a=this.contactLabel_)?(b={},b.CONTACT=Eq("id.id",a)||"",a=new GCc("",b)):a=HCc:a=HCc;this.allIds_=a}return this.allIds_};g.getId=function(){return this.getAllIds_().contactId};
g.getName=function(){this.name_===null&&(this.name_=jQa(this.profile_,function(a){return!!a&&!LCc(a)}),this.name_===null&&(this.name_=oDc(this,jQa)));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_=kQa(this.profile_,function(a){return!!a&&!LCc(a)}),this.photoUrl_===null&&(this.photoUrl_=oDc(this,kQa)));return this.photoUrl_};g.getEncryptionSupport=function(){var a=1,b=pDc(this);if(b){(b=b.extendedData)&&b.smtpServerSupportsTls&&(a=2);b=0;var c=pDc(this);if(c&&(c=c.certificate)){c=k(c);for(var d=c.next();!d.done;d=c.next())if(d=Eq("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 pDc=function(a){var b=Eq("email",a.person_)||Eq("emails",a.googleGroup_);return b?b[a.emailIndex_]||null:null},oDc=function(a,b){for(var c=a.profile_.getEmail().getField(a.emailIndex_).getMetaData(),d=0;d<MCc(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<KCc(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""},qDc=function(a,
b,c){c=c===void 0?!1:c;if(b===void 0?0:b)return a.map(function(q){return new nDc(q,void 0,!0)});b=new Set;var d=[];a=k(a);for(var e=a.next();!e.done;e=a.next()){e=e.value;var f=Eq("person.email",e)||Eq("googleGroup.emails",e)||[];if(c||f&&f.length)for(var h=0;h<f.length;h++){var l=(Eq("value",f[h])||"").trim().toLowerCase();if(c){if(b.has(l))continue;b.add(l)}d.push(new nDc(e,h))}else d.push(new nDc(e))}return d};var rDc=function(a,b,c,d,e,f,h,l,q,u,A,F,H,N,O,T){O=O===void 0?new ZN:O;T=T===void 0?!1:T;this.metrics=a;this.peopleRoot=b;this.gapiApiKey=c;this.clientId=d;this.clientName=e;this.clientVersion=f||"contact_store_336195648";this.affinityType=h;this.delegatorId=l;this.timeoutMs=q;this.onAuthError=u?u:function(){};this.autocompletePageSize=A;this.rankedTargetsPageSize=F;this.peopleContainerMask=H.split(/[\s,]+/).filter(function(ea){return!!ea});this.peopleFieldMask=N;this.experiments=O;this.includeOnlyNames=
T};rDc.prototype.setTimeout=function(a){var b=this.timeoutMs;a>0&&(this.timeoutMs=a);return b};var sDc=function(a,b){b=Error.call(this,b===void 0?"":b);this.message=b.message;"stack"in b&&(this.stack=b.stack);this.code=a};Y(sDc,Error);var xO=function(a,b,c){this.config=a;this.onAuthError_=a.onAuthError;this.timeoutMs_=a.timeoutMs;this.metrics_=a.metrics;this.metric_=new kO(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=xO.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_=gbc(new Xz),tDc(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&&!NPa()&&(c.params=c.params||{},c.params.key=d);c.headers=PPa(d);c.root=this.config.peopleRoot;c.authType="auto";a=a.request(c)}else a=Promise.resolve({result:{}});return this.promise_=rbc(jbc([a,Klc(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{tDc(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 Xz)c=1,d=11;else if(a instanceof sDc)c=a.code,d=fBc(c);else if(a&&typeof a==="object"){var e=Eq("result.error.code",a)||a.status,f=e;f=Number(f);c=cBc.has(f)?cBc.get(f):f>=200&&f<300?0:f>=400&&f<500?9:f>=500&&f<600?13:2;d=fBc(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),tDc(this,null,d,b)}};
var tDc=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 uDc=function(a,b,c){var d=(new Fq).setEventType(2).setRpcType(1).setToken(b);xO.call(this,a,d,c);this.clientId_=a.clientId;this.clientName_=a.clientName;this.clientVersion_=a.clientVersion;this.delegatorId_=a.delegatorId;this.token_=b;this.pageSize_=a.autocompletePageSize};Y(uDc,xO);
uDc.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}};
uDc.prototype.processResponse=function(a){var b=a.status;if(b){if(b.personalResultsNotReady)throw new sDc(14,"PersonalResultsNotReady");if(b.requestThrottled)throw new sDc(8,"RequestThrottled");if(b.containsPartialResults)throw new sDc(8,"ContainsPartialResults");}return qDc(a.results||[],this.config.includeOnlyNames)};var vDc=function(a,b){this.person_=a;this.allIds_=null;this.edgeCollection_=b;this.profile_=this.person_?new vO(this.person_,null,null,this.edgeCollection_):hDc};g=vDc.prototype;g.toString=function(){return""};g.getAllIds_=function(){this.allIds_||(this.allIds_=ICc(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 wDc=new vDc(null,mDc);var xDc=function(a){a=a===void 0?null:a;this.edgeCollection_=new wO(a);this.contact_=a?new vDc(a,this.edgeCollection_):wDc};g=xDc.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 yDc=function(a,b,c){xO.call(this,a,(new Fq).setEventType(2).setRpcType(3).setLookupType(4),c);this.clientName_=a.clientName;this.clientVersion_=a.clientVersion;this.delegatorId_=a.delegatorId;this.personIds_=b.filter(function(d){return!!d});this.peopleContainerMask_=a.peopleContainerMask;this.peopleFieldMask_=a.peopleFieldMask};Y(yDc,xO);
yDc.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}};yDc.prototype.processResponse=function(a){return(a.personResponse||[]).filter(function(b){return b.status=="SUCCESS"}).map(function(b){return new xDc(b.person)})};var yO=function(a,b,c,d){xO.call(this,a,UPa(b),d);this.clientName_=a.clientName;this.clientVersion_=a.clientVersion;this.delegatorId_=a.delegatorId;this.lookupType_=zDc(b);this.knownIds_=c.filter(function(e){return!!e});this.peopleContainerMask_=a.peopleContainerMask;this.peopleFieldMask_=a.peopleFieldMask};Y(yO,xO);
yO.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}};
yO.prototype.processResponse=function(a){var b=a.matches,c=a.people,d=[];b&&c&&b.forEach(function(e){e=k(e.personId);for(var f=e.next();!f.done;f=e.next())(f=c[f.value])&&d.push(new xDc(f))});return d};var zDc=function(a){switch(a){case 1:return"EMAIL";case 2:return"PHONE";case 3:return"CONTACT";case 5:return"SYNTHETIC";default:return""}};var ADc=function(a,b){xO.call(this,a,(new Fq).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_=[];Ak(a.experiments,6,!0)&&this.peopleExtensionNames_.push("FILTER_TO_PRIMARY")};Y(ADc,xO);
ADc.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}};ADc.prototype.processResponse=function(a){return qDc(a.rankedTarget||[],this.config.includeOnlyNames,!0)};g=lQa.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 BDc=new Map([[1,4],[2,2],[3,1],[4,7]]),zO=function(a,b){iF.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 kO((new Fq).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?CDc(c,d):DDc(c,5)},function(d){c.metrics_.logError("gapi.client failed to load: "+d,d);DDc(c,5)})};
Y(zO,iF);var CDc=function(a,b){b&&b.request?(TPa(),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 EDc(a,d,e)})})):DDc(a,9)};zO.prototype.disposeInternal=function(){for(var a=k(this.queuedRequests_.keys()),b=a.next();!b.done;b=a.next())ACc(this,b.value)};
var DDc=function(a,b){a.metrics_.status(a.gapiMetric_,b);a.gapiFailed_=!0;a.disposeInternal()},ACc=function(a,b){b=b||"";a.queuedRequests_.has(b)&&(FDc(a.queuedRequests_.get(b)),a.queuedRequests_.delete(b))},GDc=function(a,b,c){a.gapiFailed_?c.cancel():(bQa(a,b).push(c),EDc(a,b,c))},EDc=function(a,b,c){a.gapiClient_&&rbc(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)}})},bQa=function(a,b){b=b||"";if(a.queuedRequests_.has(b))return a.queuedRequests_.get(b);
var c=[];a.queuedRequests_.set(b,c);return c},FDc=function(a){a&&a.length&&(a.forEach(function(b){return b.cancel()}),a.length=0)};zO.prototype.getAuthToken=function(){return""};zO.prototype.loadContactRows=function(a,b,c){var d=a&&a.token||"",e=function(h,l){return c(h,f,b,a,l)},f=d?new uDc(this.config_,d,e):new ADc(this.config_,e);GDc(this,b,f);return f};
zO.prototype.execute=function(a){if(a.isMutate())return this.metrics_.status(new kO((new Fq).setEventType(2).setRpcType(4)),12),HDc(a);var b=a.getQueryParameters&&a.getQueryParameters()||{},c=b.addressBookId,d=function(A,F){if(F)a.setResponse(iBc(F,h));else{A=a.setResponse;F=new lQa(b);var H=new hBc(h);H.queryResponse_=F;H.errorCode_=F.getError();A.call(a,H)}},e=this.config_.setTimeout(IDc(a));try{var f=b.emailAddresses||[];if(f.length)var h=new yO(this.config_,1,f,d);else{var l=b.contactIds||[];
if(l.length)h=new yO(this.config_,3,l,d);else{var q=b.profileIds||[];if(q.length)h=new yDc(this.config_,q,d);else{var u=b.syntheticIds||[];if(u.length)h=new yO(this.config_,5,u,d);else return this.metrics_.status(new kO((new Fq).setEventType(2)),12),HDc(a)}}}}finally{this.config_.setTimeout(e)}h.setQuery(a);GDc(this,c,h);return h};var HDc=function(a){var b=new XAc(function(){return a.setResponse(iBc(5,b))});b.setQuery(a);return b};var JDc=function(a,b,c,d){Lq.call(this,a,b,c,d)};Y(JDc,Lq);JDc.prototype.execute=function(a){a.isMutate()&&a.addSuccessCallback(Lu(this.handleExecuteResponse_,this,a));a=this.transport_.execute(a);a.setAddressBookId(this.getId());return a};JDc.prototype.handleExecuteResponse_=function(a,b){if(b.hasChanges()){var c=b.mutateResponse_;if(a.getNotifyOnChange()||c&&c.getError())a=new ABc([b.mutateResponse_],"c"),this.dispatchEvent(a)}};var KDc=function(a,b,c){b=b||new CCc(!0,!0);Lq.call(this,a,b,"personal",c)};Y(KDc,JDc);KDc.prototype.configure=function(a,b){JDc.prototype.configure.call(this,a,b)};var LDc=function(){throw Error("be");};var MDc={},NDc={},ODc={},PDc={},QDc={},AO=function(){throw Error("de");};AO.prototype.contentDir=null;AO.prototype.getContent=function(){return this.content};AO.prototype.toString=function(){return this.content};AO.prototype.toSafeHtml=function(){if(this.contentKind!==MDc)throw Error("ee");return Uc(this.toString())};var RDc=function(){AO.call(this)};Nu(RDc,AO);RDc.prototype.contentKind=MDc;var SDc=function(){AO.call(this)};Nu(SDc,AO);SDc.prototype.contentKind=NDc;SDc.prototype.contentDir=1;var TDc=function(a){if(a!=null)switch(a.contentDir){case 1:return 1;case -1:return-1;case 0:return 0}return null},Os=function(a){return BO(a,MDc)?a:a instanceof Tc?qs(Wc(a).toString()):qs(String(String(a)).replace(UDc,VDc),TDc(a))},qs=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}}(RDc),WDc=function(a){function b(c){this.content=c}b.prototype=a.prototype;return function(c){return new b(String(c))}}(SDc),
CO=function(a){return a instanceof AO?!!a.getContent():!!a},DO=function(a){return BO(a,MDc)?a:qs(XDc(a,YDc),TDc(a))},ZDc=RegExp("^<(?:area|base|br|col|command|embed|hr|img|input|keygen|link|meta|param|source|track|wbr)\\b"),XDc=function(a,b){if(!b)return oQa(String(a),function(){return""}).replace($Dc,"&lt;");a=String(a).replace(/\[/g,"&#91;");var c=[],d=[];a=oQa(a,function(f,h){if(h&&(h=h.toLowerCase(),b.hasOwnProperty(h)&&b[h])){var l=c.length,q="</",u="";if(f.charAt(1)!=="/"){q="<";for(var A;A=
aEc.exec(f);)if(A[1]&&A[1].toLowerCase()==="dir"){if(f=A[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")u=' dir="'+f+'"'}break}aEc.lastIndex=0}c[l]=q+h+">";d[l]=u;return"["+l+"]"}return""});a=String(a).replace(bEc,VDc);var e=cEc(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},mQa=RegExp.prototype.hasOwnProperty("sticky"),nQa=new RegExp((mQa?"":"^")+"(?:!|/?([a-zA-Z][a-zA-Z0-9:-]*))",
mQa?"gy":"g"),dEc=function(a,b){a=a.replace(/<\//g,"<\\/").replace(/\]\]>/g,"]]\\>");return b?a.replace(/{/g," \\{").replace(/}/g," \\}").replace(/\/\*/g,"/ *").replace(/\\$/,"\\ "):a},cEc=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]="":ZDc.test(e)||b.push("</"+e.substring(1))}return b.reverse().join("")},ts=function(a){return BO(a,
MDc)?String(XDc(a.getContent())).replace(bEc,VDc):String(a).replace(UDc,VDc)},eEc=function(a){BO(a,PDc)&&(a=a.getContent());return(a&&!a.startsWith(" ")?" ":"")+a},Ps=function(a){BO(a,NDc)||BO(a,ODc)?a=EO(a):Oc(a)?a=EO(Pc(a)):a instanceof Kc?a=EO(Mc(a).toString()):(a=String(a),a=fEc.test(a)?a.replace(gEc,hEc):"about:invalid#zSoyz");return a},jEc=function(a){BO(a,NDc)||BO(a,ODc)?a=EO(a):Oc(a)?a=EO(Pc(a)):a instanceof Kc?a=EO(Mc(a).toString()):(a=String(a),a=iEc.test(a)?a.replace(gEc,hEc):"about:invalid#zSoyz");
return a},FO=function(a){return BO(a,QDc)?dEc(a.getContent(),!1):a==null?"":dEc(String(a),!0)},BO=function(a,b){return a!=null&&a.contentKind===b},kEc={"\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;"},VDc=function(a){return kEc[a]},lEc={"\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"},hEc=function(a){return lEc[a]},
UDc=/[\x00\x22\x26\x27\x3c\x3e]/g,bEc=/[\x00\x22\x27\x3c\x3e]/g,gEc=/[\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,fEc=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i,iEc=/^[^&:\/?#]*(?:[\/?#]|$)|^https?:|^ftp:|^data:image\/[a-z0-9+-]+;base64,[a-z0-9+\/]+=*$|^blob:/i,mEc=/^(?!on|src|(?:action|archive|background|cite|classid|codebase|content|data|dsync|href|http-equiv|longdesc|style|usemap)\s*$)(?:[a-z0-9_$:-]*)$/i,
EO=function(a){return String(a).replace(gEc,hEc)},nEc=function(a){a=String(a);return mEc.test(a)?a:"zSoyz"},$Dc=/</g,YDc={b:!0,br:!0,em:!0,i:!0,s:!0,strong:!0,sub:!0,sup:!0,u:!0},aEc=/([a-zA-Z][a-zA-Z0-9:\-]*)[\t\n\r\u0020]*=[\t\n\r\u0020]*("[^"]*"|'[^']*')/g;var pQa={};var GO=function(a,b,c){Jq.call(this);this.matcher_=a;this.selectionHandler_=c;this.renderer_=b;Kq(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_={}};Nu(GO,Jq);g=GO.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_[oEc(this,a)];c=!!d&&b.isRowDisabled&&b.isRowDisabled(d);d&&!c&&this.hiliteId_!=a&&this.hiliteId(a)}c||this.selectHilited();break;case "canceldismiss":pEc(this);break;case "dismiss":qEc(this)}};
g.setToken=function(a){this.token_!=a&&(this.token_=a,this.matcher_.requestMatchingRows(this.token_,this.maxMatches_,Lu(this.matchListener_,this)),pEc(this))};g.getTarget=function(){return this.target_};g.setTarget=function(a){this.target_=a};g.isOpen=function(){return this.renderer_.isVisible()};var rEc=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}};
GO.prototype.hiliteId=function(a){var b=oEc(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)};
GO.prototype.selectHilited=function(){var a=oEc(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=sEc(c,c.getValue(),c.getCursorPosition()),f=tEc(c,c.getValue());c.separatorCheck_&&!c.separatorCheck_.test(d)&&(d=d.replace(/[\s\xa0]+$/,"")+c.defaultSeparator_);e==0||St(f[e-1])||(d=" "+d);e==f.length-1&&(d+=" ");if(d!=f[e]){f[e]=d;d=c.activeElement_;d.value=f.join("");for(var h=0,l=0;l<=e;l++)h+=f[l].length;d.focus();
c.setCursorPosition(h)}}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};GO.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 qEc=function(a){a.dismissTimer_||(a.dismissTimer_=window.setTimeout(Lu(a.dismiss,a),100))};GO.prototype.immediatelyCancelDelayedDismiss_=function(){return this.dismissTimer_?(window.clearTimeout(this.dismissTimer_),this.dismissTimer_=null,!0):!1};var pEc=function(a){a.immediatelyCancelDelayedDismiss_()||window.setTimeout(Lu(a.immediatelyCancelDelayedDismiss_,a),10)};
GO.prototype.disposeInternal=function(){GO.superClass_.disposeInternal.call(this);delete this.inputToAnchorMap_;this.renderer_.dispose();this.selectionHandler_.dispose();this.matcher_=null};GO.prototype.matchListener_=function(a,b,c){this.token_==a&&this.renderRows(b,c)};
GO.prototype.renderRows=function(a,b){var c=Gb(b)=="object"&&b;b=(c?c.getPreserveHilited():b)?oEc(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_[Za(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):rEc(this));this.dispatchEvent("suggestionsupdate")};var oEc=function(a,b){b-=a.firstRowId_;return b<0||b>=a.rows_.length?-1:b};GO.prototype.attachInputs=function(a){var b=this.selectionHandler_;b.attachInputs.apply(b,arguments)};GO.prototype.detachInputs=function(a){var b=this.selectionHandler_;b.detachInputs.apply(b,arguments);Array.prototype.forEach.call(arguments,function(c){Ic(this.inputToAnchorMap_,Za(c))},this)};GO.prototype.update=function(a){this.selectionHandler_.update(a)};var vEc=function(a,b){var c=0,d=0;uEc(a)&&(c=a.selectionStart,d=b?-1:a.selectionEnd);return[c,d]},uEc=function(a){try{return typeof a.selectionStart=="number"}catch(b){return!1}};var wEc=function(a,b,c,d){yF.call(this,d);this.type="key";this.keyCode=a;this.charCode=b;this.repeat=c};Nu(wEc,yF);var xEc=function(a,b){Jq.call(this);a&&this.attach(a,b)};Nu(xEc,Jq);g=xEc.prototype;g.element_=null;g.keyPressKey_=null;g.keyDownKey_=null;g.keyUpKey_=null;g.lastKey_=-1;g.keyCode_=-1;g.altKey_=!1;
var yEc={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},zEc={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},AEc=ls&&Pu;g=xEc.prototype;
g.handleKeyDown_=function(a){Qu&&(this.lastKey_==17&&!a.ctrlKey||this.lastKey_==18&&!a.altKey||ls&&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));txc(a.keyCode,this.lastKey_,a.shiftKey,a.ctrlKey,a.altKey,a.metaKey)?(this.keyCode_=sxc(a.keyCode),AEc&&(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(Qu&&a.type=="keypress"){var d=this.keyCode_;var e=b.charCode>=0&&b.charCode<63232&&rxc(d)?b.charCode:0}else a.type=="keypress"?(AEc&&(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),ls&&e==63&&d==224&&(d=191);var f=d=sxc(d);d?d>=63232&&d in yEc?f=yEc[d]:d==25&&a.shiftKey&&(f=9):b.keyIdentifier&&b.keyIdentifier in
zEc&&(f=zEc[b.keyIdentifier]);if(!Pu||a.type!="keypress"||txc(f,this.lastKey_,a.shiftKey,a.ctrlKey,c,a.metaKey))a=f==this.lastKey_,this.lastKey_=f,b=new wEc(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_=Kq(this.element_,"keypress",this,b);this.keyDownKey_=Kq(this.element_,"keydown",this.handleKeyDown_,b,this);this.keyUpKey_=Kq(this.element_,"keyup",this.handleKeyup_,b,this)};g.detach=function(){this.keyPressKey_&&(DF(this.keyPressKey_),DF(this.keyDownKey_),DF(this.keyUpKey_),this.keyUpKey_=this.keyDownKey_=this.keyPressKey_=null);this.element_=null;this.keyCode_=this.lastKey_=-1};
g.disposeInternal=function(){xEc.superClass_.disposeInternal.call(this);this.detach()};var HO=function(a,b,c,d){iF.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 EF(d):null;this.eh_=new $r(this);this.activateHandler_=new $r(this);this.keyHandler_=new xEc;this.lastKeyCode_=-1};
Nu(HO,iF);g=HO.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 vEc(this.activeElement_,!0)[0]};g.setCursorPosition=function(a){var b=this.activeElement_;uEc(b)&&(b.selectionStart=a);b=this.activeElement_;uEc(b)&&(b.selectionEnd=a)};
g.attachInputs=function(a){for(var b=0;b<arguments.length;b++){var c=arguments[b];Qz(c)&&(rH(c,"combobox"),sH(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_),Qz(c))){var d=Jz(c);try{var e=d&&d.activeElement;var f=e&&e.nodeName?e:null}catch(h){f=null}f==c&&BEc(this,c)}}};
g.detachInputs=function(a){for(var b=0;b<arguments.length;b++){var c=arguments[b];Qz(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(){HO.superClass_.disposeInternal.call(this);this.eh_.dispose();delete this.eh_;this.activateHandler_.dispose();this.keyHandler_.dispose();Wo(this.timer_)};
var CEc=function(a,b){switch(b.keyCode){case 40:if(a.ac_.isOpen()){rEc(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()};
HO.prototype.handleKeyUp=function(){return!1};HO.prototype.handleFocus=function(a){BEc(this,a.target||null)};var BEc=function(a,b){a.activateHandler_.removeAll();a.ac_&&pEc(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=HO.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_&&DEc(this),this.activeElement_=null,this.timer_&&(this.timer_.stop(),this.eh_.unlisten(this.timer_,"tick",this.onTick_)),this.ac_&&qEc(this.ac_))};g.onTick_=function(){this.update()};g.onKeyDownOnInactiveElement_=function(a){this.handleFocus(a)};
g.onKey_=function(a){this.lastKeyCode_=a.keyCode;this.ac_&&CEc(this,a)};g.onKeyPress_=function(){this.waitingForIme_&&this.lastKeyCode_!=229&&DEc(this)};g.onKeyUp_=function(a){this.waitingForIme_&&(a.keyCode==13||a.keyCode==77&&a.ctrlKey)&&DEc(this)};g.onMouseDown_=function(){};var DEc=function(a){a.waitingForIme_&&(a.waitingForIme_=!1,a.eh_.unlisten(a.activeElement_,"keypress",a.onKeyPress_),a.eh_.unlisten(a.activeElement_,"keyup",a.onKeyUp_))};
HO.prototype.update=function(a){if(this.activeElement_&&(a||this.getValue()!=this.lastValue_)){if(a||!this.rowJustSelected_){a=this.getCursorPosition();var b=this.getValue();a=tEc(this,b)[sEc(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 sEc=function(a,b,c){a=tEc(a,b);if(c==b.length)return a.length-1;for(var d=b=0,e=0;e<a.length&&d<=c;e++)d+=a[e].length,b=e;return b},tEc=function(a,b){if(!a.multi_)return[b];b=String(b).split("");for(var c=[],d=[],e=!1,f=0;f<b.length;f++)a.literals_&&a.literals_.indexOf(b[f])!=-1?(e||(c.push(d.join("")),d.length=0),d.push(b[f]),e=!e):e||a.separators_.indexOf(b[f])==-1?d.push(b[f]):(d.push(b[f]),c.push(d.join("")),d.length=0);c.push(d.join(""));return c};var EEc=function(a){return typeof a.className=="string"?a.className:a.getAttribute&&a.getAttribute("class")||""},FEc=function(a){return a.classList?a.classList:EEc(a).match(/\S+/g)||[]},GEc=function(a,b){typeof a.className=="string"?a.className=b:a.setAttribute&&a.setAttribute("class",b)},HEc=function(a,b){a.classList?b=a.classList.contains(b):(a=FEc(a),b=Qa(a,b)>=0);return b},IEc=function(a,b){if(a.classList)a.classList.add(b);else if(!HEc(a,b)){var c=EEc(a);GEc(a,c+(c.length>0?" "+b:b))}},IO=function(a,
b){if(a.classList)Array.prototype.forEach.call(b,function(e){IEc(a,e)});else{var c={};Array.prototype.forEach.call(FEc(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;GEc(a,b)}},JEc=function(a,b){a.classList?a.classList.remove(b):HEc(a,b)&&GEc(a,Array.prototype.filter.call(FEc(a),function(c){return c!=b}).join(" "))},KEc=function(a,b){a.classList?Array.prototype.forEach.call(b,function(c){JEc(a,c)}):GEc(a,Array.prototype.filter.call(FEc(a),
function(c){return!(Qa(b,c)>=0)}).join(" "))};var Qdb=function(){return Qu?"Webkit":Pu?"Moz":null},LEc=function(a,b){if(b&&a in b)return a;var c=Qdb();return c?(c=c.toLowerCase(),a=c+zj(a),b===void 0||a in b?a:null):null};var JO=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};g=JO.prototype;g.getWidth=function(){return this.right-this.left};g.getHeight=function(){return this.bottom-this.top};g.clone=function(){return new JO(this.top,this.right,this.bottom,this.left)};g.contains=function(a){return this&&a?a instanceof JO?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){Ya(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 cs?(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 KO=function(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d};KO.prototype.clone=function(){return new KO(this.left,this.top,this.width,this.height)};var R$a=function(a){return new KO(a.left,a.top,a.right-a.left,a.bottom-a.top)};
KO.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 MEc=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 KO(c,e,d-c,a-e)}return null};
g=KO.prototype;g.contains=function(a){return a instanceof cs?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 Hz(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 cs?(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 Odb={},LO=function(a,b){var c=Jz(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""},Vr=function(a,b){return LO(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.style&&a.style[b]},es=function(a,b,c){if(b instanceof cs){var d=b.x;b=b.y}else d=b,b=c;a.style.left=MO(d,!1);a.style.top=MO(b,!1)},NEc=function(a){try{return a.getBoundingClientRect()}catch(b){return{left:0,top:0,right:0,bottom:0}}},qbb=function(a){var b=
Jz(a),c=Vr(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=Vr(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},Q$a=function(a){for(var b=new JO(0,Infinity,Infinity,0),c=Mq(a),d=c.document_.body,e=c.document_.documentElement,f=Aac(c.document_);a=qbb(a);)if((!Qu||a.clientHeight!=0||
a!=d)&&a!=d&&a!=e&&Vr(a,"overflow")!="visible"){var h=NO(a),l=new cs(a.clientLeft,a.clientTop);h.x+=l.x;h.y+=l.y;b.top=Math.max(b.top,h.y);b.right=Math.min(b.right,h.x+a.clientWidth);b.bottom=Math.min(b.bottom,h.y+a.clientHeight);b.left=Math.max(b.left,h.x)}d=f.scrollLeft;f=f.scrollTop;b.left=Math.max(b.left,d);b.top=Math.max(b.top,f);c=c.getViewportSize();b.right=Math.min(b.right,d+c.width);b.bottom=Math.min(b.bottom,f+c.height);return b.top>=0&&b.left>=0&&b.bottom>b.top&&b.right>b.left?b:null},
rbb=function(a,b){b=b||Aac(document);var c=b||Aac(document);var d=NO(a),e=NO(c),f=LO(c,"borderLeftWidth");var h=LO(c,"borderRightWidth");var l=LO(c,"borderTopWidth"),q=LO(c,"borderBottomWidth");h=new JO(parseFloat(l),parseFloat(h),parseFloat(q),parseFloat(f));c==Aac(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=OEc(a);e=c.clientHeight-a.height;h=c.scrollLeft;l=c.scrollTop;h+=Math.min(f,Math.max(f-(c.clientWidth-a.width),0));l+=Math.min(d,Math.max(d-e,0));c=
new cs(h,l);b.scrollLeft=c.x;b.scrollTop=c.y},NO=function(a){var b=Jz(a),c=new cs(0,0);if(a==(b?Jz(b):document).documentElement)return c;a=NEc(a);b=Bac(Mq(b).document_);c.x=a.left+b.x;c.y=a.top+b.y;return c},S$a=function(a,b,c){if(b.document_!=c.document_){b=b.document_.body;c=c.getWindow();var d=new cs(0,0),e=Nz(Jz(b));if(m3b(e,"parent")){var f=b;do{if(e==c)var h=NO(f);else h=NEc(f),h=new cs(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=U$a(d,NO(b));
a.left+=b.x;a.top+=b.y}},PEc=function(a,b,c){if(b instanceof Hz)c=b.height,b=b.width;else if(c==void 0)throw Error("he");a.style.width=MO(b,!0);a.style.height=MO(c,!0)},MO=function(a,b){typeof a=="number"&&(a=(b?Math.round(a):a)+"px");return a},ds=function(a){var b=OEc;if(Vr(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},OEc=function(a){var b=
a.offsetWidth,c=a.offsetHeight,d=Qu&&!b&&!c;return(b===void 0||d)&&a.getBoundingClientRect?(a=NEc(a),new Hz(a.right-a.left,a.bottom-a.top)):new Hz(b,c)},P$a=function(a){var b=NO(a);a=ds(a);return new KO(b.x,b.y,a.width,a.height)},QEc=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+")")},OO=function(a,b){a.style.display=b?"":"none"},Vs=function(a){return"rtl"==Vr(a,"direction")},REc=Pu?"MozUserSelect":
Qu||o3b?"WebkitUserSelect":null,SEc=function(a){var b=a.getElementsByTagName("*");if(REc&&(a.style&&(a.style[REc]="none"),b))for(var c=0;a=b[c];c++)a.style&&(a.style[REc]="none")},Y$a=function(a,b){a=a.style;Pu?a.MozBoxSizing="border-box":Qu?a.WebkitBoxSizing="border-box":a.boxSizing="border-box";a.width=Math.max(b.width,0)+"px";a.height=Math.max(b.height,0)+"px"},TEc=function(a){var b=LO(a,"marginLeft"),c=LO(a,"marginRight"),d=LO(a,"marginTop");a=LO(a,"marginBottom");return new JO(parseFloat(d),
parseFloat(c),parseFloat(a),parseFloat(b))};var UEc=function(){if(q3b){var a=/Windows NT ([0-9.]+)/;return(a=a.exec(Aa()))?a[1]:"0"}return ls?(a=/1[0|1][_.][0-9_.]+/,(a=a.exec(Aa()))?a[0].replace(/_/g,"."):"10"):s3b?(a=/Android\s+([^\);]+)(\)|;)/,(a=a.exec(Aa()))?a[1]:""):t3b||u3b||v3b?(a=/(?:iPhone|CPU)\s+OS\s+(\S+)/,(a=a.exec(Aa()))?a[1].replace(/_/g,"."):""):""}();var PO=function(a){return(a=a.exec(Aa()))?a[1]:""},VEc=function(){if(D3b)return PO(/Firefox\/([0-9.]+)/);if(ws||o3b||n3b)return C3b;if(H3b){if(Ka()||zba()){var a=PO(/CriOS\/([0-9.]+)/);if(a)return a}return PO(/Chrome\/([0-9.]+)/)}if(I3b&&!Ka())return PO(/Version\/([0-9.]+)/);if(E3b||F3b){if(a=/Version\/(\S+).*Mobile\/(\S+)/.exec(Aa()))return a[1]+"."+a[2]}else if(G3b)return(a=PO(/Android\s+([0-9.]+)/))?a:PO(/Version\/([0-9.]+)/);return""}();var O$a=function(a){if(a=a.offsetParent){var b=a.tagName=="HTML"||a.tagName=="BODY";if(!b||Vr(a,"position")!="static"){var c=NO(a);if(!b){b=Vs(a);var d;if(d=b){d=I3b&&c3b(VEc,10)>=0;var e;if(e=w3b)e=c3b(UEc,10)>=0;var f=H3b&&c3b(VEc,85)>=0;d=Pu||d||e||f}b=d?-a.scrollLeft:b&&Vr(a,"overflowX")!="visible"?a.scrollWidth-a.clientWidth-a.scrollLeft:a.scrollLeft;c=U$a(c,new cs(b,a.scrollTop))}}}return c||new cs},V$a=function(a,b,c,d,e,f){a=a.clone();b=b.clone();var h=0;if(d||c!=0)c&4?a.x-=b.width+(d?d.right:
0):c&2?a.x-=b.width/2:d&&(a.x+=d.left),c&1?a.y-=b.height+(d?d.bottom:0):d&&(a.y+=d.top);if(f){if(e){h=a;c=b;d=0;(f&65)==65&&(h.x<e.left||h.x>=e.right)&&(f&=-2);(f&132)==132&&(h.y<e.top||h.y>=e.bottom)&&(f&=-5);h.x<e.left&&f&1&&(h.x=e.left,d|=1);if(f&16){var l=h.x;h.x<e.left&&(h.x=e.left,d|=4);h.x+c.width>e.right&&(c.width=Math.min(e.right-h.x,l+c.width-e.left),c.width=Math.max(c.width,0),d|=4)}h.x+c.width>e.right&&f&1&&(h.x=Math.max(e.right-c.width,e.left),d|=1);f&2&&(d|=(h.x<e.left?16:0)|(h.x+c.width>
e.right?32:0));h.y<e.top&&f&4&&(h.y=e.top,d|=2);f&32&&(l=h.y,h.y<e.top&&(h.y=e.top,d|=8),h.y+c.height>e.bottom&&(c.height=Math.min(e.bottom-h.y,l+c.height-e.top),c.height=Math.max(c.height,0),d|=8));h.y+c.height>e.bottom&&f&4&&(h.y=Math.max(e.bottom-c.height,e.top),d|=2);f&8&&(d|=(h.y<e.top?64:0)|(h.y+c.height>e.bottom?128:0));e=d}else e=256;h=e}e=new KO(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}},T$a=function(a,b){return(b&8&&Vs(a)?b^4:b)&-9};var ms=function(){};ms.instance_=void 0;ms.getInstance=function(){return ms.instance_?ms.instance_:ms.instance_=new ms};ms.prototype.nextId_=0;ms.prototype.idPrefix_="";ms.prototype.setIdPrefix=function(a){this.idPrefix_=a};var Zr=function(a){return a.idPrefix_+":"+(a.nextId_++).toString(36)};var QO=function(a,b,c,d){Jq.call(this);this.parent_=a||document.body;this.dom_=Mq(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};Nu(QO,Jq);g=QO.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_=[];WEc(this)};g.dismiss=function(){this.visible_&&(this.visible_=!1,XEc(this,!1),OO(this.element_,!1))};g.show=function(){this.visible_||(this.visible_=!0,XEc(this,!0),OO(this.element_,!0))};
var XEc=function(a,b){a.target_&&(sH(a.target_,"haspopup",b),sH(a.element_,"expanded",b),sH(a.target_,"expanded",b),b?sH(a.target_,"owns",a.element_.id):(a.target_.removeAttribute("aria-owns"),tH(a.target_,null)))};QO.prototype.isVisible=function(){return this.visible_};
var YEc=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&&KEc(a.rowDivs_[a.hilitedRow_],["ac-active","active"]),a.hilitedRow_=b,d&&(IO(d,["ac-active","active"]),a.target_&&tH(a.target_,d),rbb(d,a.element_)))};QO.prototype.hiliteId=function(a){if(a==-1)YEc(this,-1);else for(var b=0;b<this.rows_.length;b++)if(this.rows_[b].id==a){YEc(this,b);break}};
var ZEc=function(a){if(!a.element_){var b=a.dom_.createDom("DIV",{style:"display:none"});a.element_=b;IO(b,yj(a.className).split(" "));rH(b,"listbox");b.id=Zr(ms.getInstance());a.dom_.appendChild(a.parent_,b);Kq(b,"click",a.handleClick_,!1,a);Kq(b,"mousedown",a.handleMouseDown_,!1,a);Kq(b,"mouseover",a.handleMouseOver_,!1,a)}},WEc=function(a){ZEc(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:Zr(ms.getInstance())});rH(d,"option");this.customRenderer_&&this.customRenderer_.renderRow?this.customRenderer_.renderRow(b,c,d):Rz(d,b.data.toString());c&&this.useStandardHighlighting_&&(this.wasHighlightedAtLeastOnce_=!1,$Ec(this,d,c));IEc(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(),SEc(a.element_))};
QO.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=O$a(c),f=P$a(a),h=Q$a(a);h&&f.intersection(R$a(h));S$a(f,Mq(a),Mq(c));a=T$a(a,b);b=f.left;a&4?b+=f.width:a&2&&(b+=f.width/2);a=new cs(b,f.top+(a&1?f.height:0));a=U$a(a,e);if(f=Q$a(c))f.top-=e.y,f.right-=e.x,f.bottom-=e.y,f.left-=e.x;e=a.clone();a=T$a(c,d);d=ds(c);b=d.clone();e=V$a(e,b,a,null,f,65);e.status&496||(f=e.rect,es(c,new cs(f.left,
f.top)),b=e.rect.getSize(),X$a(d,b)||Y$a(c,b))}};QO.prototype.getTarget=function(){return this.target_||null};QO.prototype.disposeInternal=function(){this.element_&&(CF(this.element_,"click",this.handleClick_,!1,this),CF(this.element_,"mousedown",this.handleMouseDown_,!1,this),CF(this.element_,"mouseover",this.handleMouseOver_,!1,this),this.dom_.removeNode(this.element_),this.element_=null,this.visible_=!1);Wo(this.animation_);this.parent_=null;QO.superClass_.disposeInternal.call(this)};
var $Ec=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=aFc(a,c);if(c.length!=0){var e=b.nodeValue,f=new RegExp("\\b(?:"+c+")","gi");c=[];for(var h=0,l=f.exec(e),q=0;l;)q++,c.push(e.substring(h,l.index)),c.push(e.substring(l.index,f.lastIndex)),h=f.lastIndex,l=f.exec(e);c.push(e.substring(h));if(c.length>1){d=a.highlightAllTokens_?q:1;for(e=0;e<d;e++)f=2*e,b.nodeValue=c[f],h=
a.dom_.createElement("B"),h.className=a.highlightedClassName,a.dom_.appendChild(h,a.dom_.createTextNode(c[f+1])),h=b.parentNode.insertBefore(h,b.nextSibling),b.parentNode.insertBefore(a.dom_.createTextNode(""),h.nextSibling),b=h.nextSibling;b.nodeValue=c.slice(d*2).join("");a.wasHighlightedAtLeastOnce_=!0}else d&&$Ec(a,b,d)}}else for(b=b.firstChild;b;)d=b.nextSibling,$Ec(a,b,c),b=d},aFc=function(a,b){var c="";if(!b)return c;Array.isArray(b)&&(b=b.filter(function(d){return!St(Rt(d))}));a.highlightAllTokens_?
Array.isArray(b)?c=b.map(Bj).join("|"):(c=G4b(b),c=Bj(c),c=c.replace(/ /g,"|")):Array.isArray(b)?c=b.length>0?Bj(b[0]):"":/^\W/.test(b)||(c=Bj(b));return c},bFc=function(a,b){for(;b&&b!=a.element_&&!HEc(b,"ac-row");)b=b.parentNode;return b?a.rowDivs_.indexOf(b):-1};QO.prototype.handleClick_=function(a){var b=bFc(this,a.target);b>=0&&this.dispatchEvent({type:"select",row:this.rows_[b].id});a.stopPropagation()};QO.prototype.handleMouseDown_=function(a){a.stopPropagation();a.preventDefault()};
QO.prototype.handleMouseOver_=function(a){a=bFc(this,a.target);a>=0&&!(Date.now()-this.startRenderingRows_<300)&&this.dispatchEvent({type:"hilite",row:this.rows_[a].id})};var RO=function(a,b,c,d,e,f,h,l,q,u){f=f||new HO(",;",'"');h=new QO(h||null,q||this,u);h.reposition_=!0;h.className=b;h.highlightAllTokens_=!0;GO.call(this,this,h,f);this.inputHandler_=this.selectionHandler_;this.inputHandler_.ac_=this;this.contactStore_=a;this.addressBookId_=c;this.filter_=d||null;this.maxMatches_=e||15;this.ownsContactStore_=!!l};Nu(RO,GO);
var dFc=function(a,b,c,d,e,f,h){b=new RO(null,b,void 0,f,c,d,e,void 0,void 0,h);yJ(a);Lu(cFc,null,b,!0);throw Error("ce");},eFc=function(a,b,c,d,e,f,h){b=new RO(null,b,void 0,f,c,d,e,void 0,void 0,h);c=cFc;e=a.getClientInfo();d=(f=Ak(e,10)||Ak(a.getExperiments(),5,!0))?new lCc(void 0,jCc(a)):new sO(void 0,jCc(a));h=Fs(new QBc(a,1));var l=a.getUserInfo().getEnvType()||1;var q=BDc.get(l)||4;q=QPa("people-pa",q===void 0?0:q);l=l===4?Kh(a.getClientInfo(),2)||"":Kh(a.getClientInfo(),1)||"";var u=Kh(a.getClientInfo(),
4),A=Kh(a.getClientInfo(),5),F=Kh(a.getClientInfo(),6)||"",H=a.getClientInfo().getAffinityType()||"",N=ql(a.getUserInfo(),2),O=a.getAuthErrorHandler(),T=Xj(a.getClientInfo(),8,3E4),ea=Ak(a.getClientInfo(),17,!1);h=new rDc(h,q,l,u,A,F,H,N,T,O,Xj(a.getClientInfo(),13,15),Xj(a.getClientInfo(),14,500),Kh(a.getClientInfo(),15,"CONTACT,PROFILE,DOMAIN_CONTACT,DOMAIN_PROFILE,AFFINITY"),Kh(a.getClientInfo(),16,"person.name,person.photo,person.email,person.phone,person.email.certificate,person.metadata"),a.getExperiments(),
ea);a=new zO(h,UAc(a));h=new KDc(a);h.configure(null,"Personal Contacts");d.addAddressBook(h,!0);f&&(a=new FCc(a,null,!!Ak(e,11)),a.configure(null,"Domain Contacts"),d.addAddressBook(a,!0));c(b,!0,d);return b},cFc=function(a,b,c){b&&c.loadContactRows(uBc,function(){});fFc(a,c)};RO.prototype.disposeInternal=function(){this.inputHandler_.dispose();this.contactStore_&&this.ownsContactStore_&&Wo(this.contactStore_);RO.superClass_.disposeInternal.call(this)};
var fFc=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=RO.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:mBc,addressBookId:this.addressBookId_,filter:this.filter_,isAutoCompleteMode:!0,isContactAutoComplete:!!this.returnFullContacts,includeEvergreenData:!1};c=Lu(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 XAc;var d=[];this.filter_&&(d=this.filter_(d,a.token));b.setResponse(Mu(c,d,b,null,a))}};g.handleAutoCompleteContacts_=function(a,b,c,d,e){a(e.token,b)};g.renderRows=function(a,b){RO.superClass_.renderRows.call(this,a,b)};g.dismiss=function(){RO.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=qs('<div class="'+ts("goog-contacts-ui-autocomplete-name-nochat")+(CO(b)?" "+ts("goog-contacts-ui-autocomplete-new-section"):"")+'">'+Os(a)+"</div>"))&&a.renderElement&&c?a.renderElement(c):(a=qQa(a),c.innerHTML=Wc(a))};g.selectHilited=function(){var a=oEc(this,this.hiliteId_);return a!=-1&&(a=this.rows_[a],a.specialRowHandler)?(a.specialRowHandler(),!0):RO.superClass_.selectHilited.call(this)};
g.fireSelectionEvent=function(a){this.dispatchEvent(new gFc(a))};var gFc=function(a){xF.call(this,"g");this.row=a};Nu(gFc,xF);O2b("createAutoComplete",function(a,b,c,d,e,f,h,l,q,u){d&&(b=b+d+"/");b=LDc(yJ(b));f&&b.loadContactRows(uBc,function(){});c=new RO(b,c,void 0,q,e,l,u,!0);c.attachInputs(xac(document,a));return c});var SO=function(){this.eventHandler_=new $r(this);SO.prototype.addInput=SO.prototype.addInput;SO.prototype.removeInput=SO.prototype.removeInput;SO.prototype.setTarget=SO.prototype.setTarget},hFc=function(a,b){var c=new SO;c.create(a,b);return c};g=SO.prototype;
g.create=function(a,b){a=xac(document,a);this.acWidget_=b.contactStoreConfig?eFc(b.contactStoreConfig,b.acCssName||"ac-renderer",b.maxMatches||15,b.inputHandler,a.ownerDocument.body,b.filter,b.rightAlign):dFc(b.serverBase,b.acCssName||"ac-renderer",b.maxMatches||15,b.inputHandler,a.ownerDocument.body,b.filter,b.rightAlign);"groups"in b&&(this.acWidget_.includeGroups_=b.groups);var c=b.onComplete;typeof c==="function"&&this.eventHandler_.listen(this.acWidget_,"update",function(d){d.row&&c.call(ya,
d.target.getTarget())});this.addInput(a)};g.dispose=function(){OEa(this.acWidget_,this.eventHandler_)};g.setTarget=function(a){this.acWidget_.setTarget(a)};g.addInput=function(a){if(Array.isArray(a))for(var b=0;b<a.length;b++)this.acWidget_.inputHandler_.attachInputs(a[b]);else this.acWidget_.inputHandler_.attachInputs(a)};g.removeInput=function(a){if(Array.isArray(a))for(var b=0;b<a.length;b++)this.acWidget_.inputHandler_.detachInputs(a[b]);else this.acWidget_.inputHandler_.detachInputs(a)};
g.acWidget_=null;ya._EmailAc_create=hFc;var iFc=function(a,b){return new Pq("/",a,void 0,void 0,void 0,void 0,b)};Pq.prototype.setLocale=function(){};var jFc=function(a){this.params=a;this.pendingInputs=new Set;this.emailac=null};jFc.prototype.setTarget=function(a){this.emailac&&this.emailac.setTarget(a)};
Pq.prototype.initAutocomplete=function(a){if(this.emailAcInitialized_)throw Error("je");this.emailAcInitialized_=!0;this.commonAcParams_=a||{};for(var b in this.acWrappers_)kFc(this,this.acWrappers_[b]);this.focusedElement_&&(a=Za(this.focusedElement_),(a=this.inputToAcWrapper_[a])&&a.setTarget(this.focusedElement_));for(var c in this.acWrappers_)for(a=[].concat(t(this.acWrappers_[c].pendingInputs.values())),b=1;b<a.length;b++)CF(a[b],"focus",this.onTargetFocus_,!1,this)};
var kFc=function(a,b){var c=b.params;c.serverBase=a.serverBase_;c.onComplete=Lu(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(t(b.pendingInputs.values()));b.emailac=hFc(a[0],c);for(c=1;c<a.length;c++)b.emailac.addInput(a[c]);b.pendingInputs.clear()};g=Pq.prototype;
g.attachAutocomplete=function(a,b,c){a=xac(document,a);var d=b||{};b=Za(a);this.onAcCompleteListeners_[b]=c;c="";for(var e in d)c+=e+"="+d[e]+";";e=this.acWrappers_[c];e||(e=new jFc(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_?kFc(this,e):Kq(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_[Za(a)];b&&b(a)};g.detachAutocomplete=function(a){a=xac(document,a);CF(a,"focus",this.onTargetFocus_,!1,this);var b=Za(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)};O2b("goog.NewContactTools",Pq);
O2b("goog.NewContactTools.create",iFc);Pq.prototype.setLocale=Pq.prototype.setLocale;Pq.prototype.attachAutocompleteTo=Pq.prototype.attachAutocompleteTo;Pq.prototype.initAutocomplete=Pq.prototype.initAutocomplete;Pq.prototype.attachAutocomplete=Pq.prototype.attachAutocomplete;Pq.prototype.detachAutocomplete=Pq.prototype.detachAutocomplete;var uQa=function(a){this.rows_=a||[]};uQa.prototype.requestMatchingRows=function(a,b,c){var d=this.rows_;var e=[];if(a!="")for(var f=new RegExp("(^|\\W+)"+Bj(a),"i"),h=0;h<d.length&&e.length<b;h++){var l=d[h];String(l).match(f)&&e.push(l)}e.length==0&&(e=lFc(a,b,d));c(a,e)};
var tQa=function(a,b,c){return lFc(b,c,a.rows_)},lFc=function(a,b,c){for(var d=[],e=0;e<c.length;e++){var f=c[e],h=a.toLowerCase(),l=String(f).toLowerCase(),q=0;if(l.indexOf(h)!=-1)q=parseInt((l.indexOf(h)/4).toString(),10);else for(var u=h.split(""),A=-1,F=10,H=void 0,N=0;H=u[N];N++)H=l.indexOf(H),H>A?(A=H-A-1,A>F-5&&(A=F-5),q+=A,A=H):(q+=F,F+=5);q<h.length*6&&d.push({str:f,score:q,index:e})}d.sort(function(O,T){var ea=O.score-T.score;return ea!=0?ea:O.index-T.index});a=[];for(c=0;c<b&&c<d.length;c++)a.push(d[c].str);
return a};var UO=function(){var a=this;this.activeSession=r(Bu);this.firstPartyAuthHelper=r(XN);this.acReadyDeferred=Hj();this.contactTools=null;this.subscription=new je;var b=r(WN),c=r(TO);window.gapi&&IPa().then(function(d){d.config.update("googleapis.config/auth/useFirstPartyAuth",!0);d.config.update("googleapis.config/auth/useFirstPartyAuthV2",!0);var e=a.activeSession.getEnvironmentType()==="QA";e&&d.config.update("googleapis.config/root-1p","https://content-googleapis-test.sandbox.google.com");var f=
"0",h=/\/u\/(\d+)\//.exec(b.platformLocation.href);h&&(f=h[1]);d.config.update("googleapis.config/sessionIndex",f);a.acReadyDeferred.resolve(void 0);a.contactTools=c.create(e,function(){PAc(a.firstPartyAuthHelper)});a.contactTools.initAutocomplete()})};UO.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()};
UO.prototype.attach=function(a,b,c){var d=this,e=function(h,l){return vQa(h,l,c)},f=new je;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};UO.\u0275fac=function(a){return new (a||UO)};UO.\u0275prov=n({token:UO,factory:UO.\u0275fac,providedIn:"root"});var TO=function(){};
TO.prototype.create=function(a,b){var c=new $N,d=c.getUserInfo();gl(d,6,a?5:1);a=c.getExperiments();a=cl(a,5,!0);a=cl(a,1,!0);a=cl(a,3,!0);cl(a,2,!0);c.setAuthErrorHandler(b);return iFc("xapi",c)};TO.\u0275fac=function(a){return new (a||TO)};TO.\u0275prov=n({token:TO,factory:TO.\u0275fac,providedIn:"root"});var VO=function(){Z.apply(this,arguments);this.element=r(ef);this.focusContacts=r(UO);this.activeSession=r(Bu);this.autocompleteActive=new aB;this.additionalContactsCallback=function(){return[]};this.$element=this.element.nativeElement};Y(VO,Z);
VO.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-"+J4b());if(!this.activeSession.isAnonymous()){if(this.fieldType==="SINGLE")var b=function(){a.$element.value=wQa(yQa(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(){a.$element.value=zQa(a.$element.value);a.autocompleteActive.emit(!1);a.$element.dispatchEvent(new Event("change"));a.$element.dispatchEvent(new Event("input"))};else throw Error("ke`"+this.fieldType);var c=this.additionalContactsCallback();c=mFc(c);this.subscriptions.add(this.focusContacts.attach(this.$element,b,c))}};
var nFc=function(a){Re(150).pipe(Zf(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)})},mFc=function(a){return a.map(function(b){return{text:b.text,getEmail:function(){return b.text},toString:function(){return b.id},getPriority:function(){}}})};VO.\u0275fac=function(){var a;return function(b){return(a||(a=ee(VO)))(b||VO)}}();
VO.\u0275dir=Df({type:VO,selectors:[["","bContactAutocomplete",""]],hostBindings:function(a,b){a&1&&M("keydown",function(){return nFc(b)},!1,gf)("mousedown",function(){return nFc(b)})},inputs:{fieldType:[0,"bContactAutocomplete","fieldType"],additionalContactsCallback:"additionalContactsCallback"},outputs:{autocompleteActive:"autocompleteActive"},standalone:!1,features:[cg]});var WO=function(){};WO.\u0275fac=function(a){return new (a||WO)};WO.\u0275mod=Cf({type:WO});WO.\u0275inj=p({imports:[lC]});var gma=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}},XO=function(){Z.apply(this,arguments);this.activeSession=r(Bu);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 aB;this.chipClear=new aB;this.chipRemove=new aB};Y(XO,Z);
XO.\u0275dir=Z.\u0275dir;g=XO.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 this.displayText;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("Td`"+this.value);}};
var oFc=function(a){if(a.isGroupChip())return"group";if(a.isDomainChip())return"acl-alias-domain";if(a.isPublicChip())return"public"};XO.\u0275fac=function(){var a;return function(b){return(a||(a=ee(XO)))(b||XO)}}();
XO.\u0275cmp=C({type:XO,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"},standalone:!1,features:[cg],decls:8,vars:13,consts:[[1,"bv2-user-chip-item",3,"focus","blur","ngClass"],[1,"alias-icon"],
[3,"svgIcon"],[1,"user-chip-name"],[3,"email"],[3,"dialogTabIndex","displayText"],["role","button","tabindex","0",1,"user-chip-x","keep-focus-ring",3,"matTooltip"],[1,"bv2-user-chip-nested-content-container","flex-kids-x","flex-wrap"],[1,"bv2-user-chip"],[3,"value","detailedUserType","principalType","accessLevel","displayText"],["role","button","tabindex","0",1,"user-chip-x","keep-focus-ring",3,"click","keydown.enter","matTooltip"],["svgIcon","close"]],template:function(a,b){a&1&&(I(0,"span",0),M("focus",
function(){return b.chipSelection.emit()})("blur",function(){return b.chipClear.emit()}),I(1,"span",1),D(2,AQa,1,1,"mat-icon",2),J(),I(3,"div",3),D(4,BQa,2,2,"b-person-hovercard",4)(5,CQa,2,2,"b-group-email-card",4)(6,GQa,3,3,"b-text-with-tooltip",5),J(),D(7,HQa,2,3,"div",6),J());if(a&2){var c;E("ngClass",hma(b.isExternalChip(),b.isNonGaiaChip(),b.isInternalAccessViolated()||b.isExternalPartnerAccessViolated(),b.isContainerChip(),b.isSelected,b.isReadonly));B(2);G((c=oFc(b))?2:-1,c);B(2);G(b.isUserChip()?
4:-1);B();G(b.isGroupChip()?5:-1);B();G(b.isUserChip()||b.isGroupChip()?-1:6);B();G(b.isReadonly||b.isWidgetDisabled?-1:7)}},dependencies:[aw,pB,mB,rB,gK,RN,KAc,XO],styles:["span.bv2-user-chip-item[_ngcontent-%COMP%]{background-color:#f8f9fa;background-color:var(--button-bg);border:1px solid;border-color:#dadce0;border-color:var(--divider);border-radius:3px;display:block;height:20px;white-space:nowrap}span.bv2-user-chip-item[_ngcontent-%COMP%]   .alias-icon[_ngcontent-%COMP%] > mat-icon[_ngcontent-%COMP%]{width:18px;height:20px;margin-left:3px;margin-right:-3px;opacity:.6}span.bv2-user-chip-item[_ngcontent-%COMP%]   .user-chip-name[_ngcontent-%COMP%]{display:inline-block;line-height:16px;margin:2px 5px;max-width:550px;overflow:hidden;text-overflow:ellipsis}span.bv2-user-chip-item[_ngcontent-%COMP%]   .user-chip-x[_ngcontent-%COMP%]{cursor:pointer;display:inline-block}span.bv2-user-chip-item[_ngcontent-%COMP%]   .user-chip-x[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{width:16px;height:20px;opacity:.6;margin-left:-3px;margin-right:2px}span.bv2-user-chip-item.selected[_ngcontent-%COMP%]   .bv2-user-chip-nested-content[_ngcontent-%COMP%], span.bv2-user-chip-item[_ngcontent-%COMP%]:hover:not(.selected)   .bv2-user-chip-nested-content[_ngcontent-%COMP%], span.bv2-user-chip-item.selected[_ngcontent-%COMP%]:not(:hover)   .bv2-user-chip-nested-content[_ngcontent-%COMP%]{display:block}span.bv2-user-chip-item[_ngcontent-%COMP%]:not(.selected)   .bv2-user-chip-nested-content[_ngcontent-%COMP%], span.bv2-user-chip-item[_ngcontent-%COMP%]:not(:hover)   .bv2-user-chip-nested-content[_ngcontent-%COMP%]{display:none}span.bv2-user-chip-item[_ngcontent-%COMP%]:active, span.bv2-user-chip-item.selected[_ngcontent-%COMP%], span.bv2-user-chip-item.selected[_ngcontent-%COMP%]:hover, span.bv2-user-chip-item.selected[_ngcontent-%COMP%]:active, span.bv2-user-chip-item.readonly[_ngcontent-%COMP%]:active, span.bv2-user-chip-item.readonly.selected[_ngcontent-%COMP%], span.bv2-user-chip-item.readonly.selected[_ngcontent-%COMP%]:hover, span.bv2-user-chip-item.readonly.selected[_ngcontent-%COMP%]:active{border-color:#1a73e8;border-color:var(--primary)}span.bv2-user-chip-item.readonly[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted)}span.bv2-user-chip-item.readonly[_ngcontent-%COMP%]   .user-chip-x[_ngcontent-%COMP%]{display:none}span.bv2-user-chip-item.bv2-user-chip-external[_ngcontent-%COMP%]{background-color:#fbe983;background-color:var(--public-bg)}span.bv2-user-chip-item.bv2-user-chip-non-gaia[_ngcontent-%COMP%]{border:1px dashed;border-color:#ea4335;border-color:var(--bad)}span.bv2-user-chip-item.bv2-user-chip-not-accessible[_ngcontent-%COMP%]{border:1px solid;border-color:#ea4335;border-color:var(--bad)}span.bv2-user-chip-item.bv2-user-chip-container[_ngcontent-%COMP%]{cursor:pointer}span.bv2-user-chip-item.bv2-user-chip-container[_ngcontent-%COMP%] > .user-chip-name[_ngcontent-%COMP%]{border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider);border-style:dashed;height:14px}.bv2-user-chip-nested-content-container[_ngcontent-%COMP%]   .bv2-user-chip[_ngcontent-%COMP%]{padding:4px}/*# sourceMappingURL=contact_chip.css.map */"]});var YO=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 Dv;this.sessionOptions=(new Is).setFilter(pFc);this.inputSearchDelay=200;this.destroyed$=new Tf(1);this.inputChanged$=new Tf(1)};YO.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete();this.autocomplete.dispose()};
YO.prototype.ngOnInit=function(){var a=this,b=this.clientConfig.autocompleteFactory.createConfig(this.peopleKitService.environmentConfig);IQa(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=LHa(a.inputEl.nativeElement))!=null?
f:a.document.body).append(e)}c=d.call(c,a.peopleKitService.autocompleteAnchor,a.inputEl.nativeElement,a.peopleKitService.peopleStore,b,a.sessionOptions)}a.autocomplete=c});this.autocomplete.subscribeToSelectionChanged(function(c){a.selectionChange.emit(c);a.autocomplete.report(4)});this.inputChanged$.pipe(Lf(this.inputSearchDelay)).subscribe(function(){a.search()})};
YO.prototype.search=function(){var a=this;this.zone.runOutsideAngular(function(){a.autocomplete.search(a.inputEl.nativeElement.value,a.inputEl.nativeElement)})};YO.prototype.cancel=function(){var a=this;this.zone.runOutsideAngular(function(){a.autocomplete.cancel()})};YO.\u0275fac=function(a){return new (a||YO)(hf(fxc),hf(ii),hf(SK),hf(ef),hf(kh),hf(Iv))};
YO.\u0275dir=Df({type:YO,selectors:[["input","peoplekitAutocomplete",""]],hostBindings:function(a,b){a&1&&M("input",function(){return b.inputChanged$.next()})("focus",function(){return b.search()})("blur",function(){return b.cancel()})},inputs:{config:[0,"peoplekitAutocompleteConfig","config"],sessionOptions:[0,"peoplekitSearchSessionOptions","sessionOptions"],inputSearchDelay:[0,"peoplekitAutocompleteInputSearchDelay","inputSearchDelay"]},outputs:{selectionChange:"peoplekitAutocompleteSelectionChange"},
exportAs:["peoplekitAutocomplete"],standalone:!1});var pFc=yq(1);var ZO=function(){};ZO.\u0275fac=function(a){return new (a||ZO)};ZO.\u0275mod=Cf({type:ZO});ZO.\u0275inj=p({imports:[mw]});var $O=function(){};$O.\u0275fac=function(a){return new (a||$O)};$O.\u0275mod=Cf({type:$O});$O.\u0275inj=p({imports:[lC,bz,pC,XM,SN,hC,WO,QN,ZO,VN]});kma(TK,[oi,Gy,Ny,VO,PN,YO,XO],[]);var aP=function(){};aP.\u0275fac=function(a){return new (a||aP)};aP.\u0275mod=Cf({type:aP});aP.\u0275inj=p({imports:[lC,MN,$O,WM,pC]});var bP=function(){};bP.\u0275fac=function(a){return new (a||bP)};bP.\u0275mod=Cf({type:bP});bP.\u0275inj=p({imports:[RJ,lC,hN]});var cP=function(){};cP.prototype.transform=function(a){if(Aj(a))return a};cP.\u0275fac=function(a){return new (a||cP)};cP.\u0275pipe=Ef({name:"omitObfuscatedEmail",type:cP,pure:!0,standalone:!1});var dP=function(){this.session=r(Bu);this.isNonObfuscatedEmail=Aj;this.email="";this.withProfile=!0;this.enableWaldoAvailability=Vt(this.session,"enableWaldoAvailability")&&this.session.isInternalSession()};dP.\u0275fac=function(a){return new (a||dP)};
dP.\u0275cmp=C({type:dP,selectors:[["b-user-email"]],inputs:{email:"email",withProfile:"withProfile",ldapOnly:"ldapOnly"},standalone:!1,decls:7,vars:3,consts:[["emailDisplay",""],["card",""],[1,"bv2-email-with-profile-container"],[1,"bv2-email-with-profile-avatar",3,"email"],[1,"bv2-email-with-profile-waldo"],["role","button",3,"onedevHovercardTrigger"],[4,"ngTemplateOutlet"],[3,"email"],["coinonly","",3,"user"]],template:function(a,b){a&1&&(I(0,"span",2),D(1,JQa,1,1,"b-user-image",3)(2,LQa,5,3)(3,
NQa,1,1,"ng-container")(4,OQa,2,1,"ng-template",null,0,ih)(6,PQa,2,1,"span",4),J());a&2&&(B(),G(b.withProfile?1:-1),B(),G(b.isNonObfuscatedEmail(b.email)?2:3),B(4),G(b.enableWaldoAvailability?6:-1))},dependencies:[dw,bL,tK,$H,fI,QM],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 eP=function(){Z.apply(this,arguments);var a=this;this.teamsService=r(DG);this.session=r(Bu);this.principalTypesFridge=r(rG);this.teamId="";this.enableGroupIcon=this.enableSmallChip=!1;this.providedTeamId$=new Tf(1);this.providedUser$=new Tf(1);this.providedEmail$=new Tf(1);this.isNonObfuscatedEmail=Aj;this.isGroup$=this.providedEmail$.pipe(Yf(function(b){return a.principalTypesFridge.watch(b)}),Ue(ik),z(function(b){return b.principalType==="GROUP"}));this.fetchedTeam$=this.providedTeamId$.pipe(Yf(function(b){return EG(a.teamsService,
b)}));this.detailedUserType$=this.providedUser$.pipe(z(function(b){b=b?b&&b.getUserGaiaStatus?Tj(b,4,Uj(Vj)):b.aliases||[]:[];return b.includes("googlers_unrestricted")?"UNRESTRICTED_GOOGLER":b.includes("google_domain")?"TVC":b.includes("issue_creation_only_accounts")?"ISSUE_CREATION_ONLY":b.includes("external_partners")?"EXTERNAL":b.includes("public_non_google")?"PUBLIC":"NO_DETAILED_TYPE"}),Xf("NO_DETAILED_TYPE"));this.isTeamMember$=Ie([this.providedTeamId$,this.providedEmail$]).pipe(Yf(function(b){var c=
k(b);b=c.next().value;c=c.next().value;return Unc(a.teamsService,b,c)}),Xf(!1),If(function(){return Ae(!1)}));this.teamUser$=this.fetchedTeam$.pipe(z(function(b){return"Member of "+b.name}));this.groupMembershipType$=Ie([this.detailedUserType$,this.isTeamMember$]).pipe(z(function(b){var c=k(b);b=c.next().value;c=c.next().value;return b==="PUBLIC"?"PUBLIC_USER":b==="EXTERNAL"?"PARTNER_USER":c?"INTERNAL_TEAM_MEMBER":"INTERNAL_NON_TEAM_MEMBER"}));this.enableWaldoAvailability=Vt(this.session,"enableWaldoAvailability")&&
this.session.isInternalSession();this.userTypeClass$=this.groupMembershipType$.pipe(z(function(b){return a.enableSmallChip?"user-chip-small":b&&b!=="INTERNAL_NON_TEAM_MEMBER"?"user-chip":"user-chip-without-icon"}));this.userChipType$=this.groupMembershipType$.pipe(z(function(b){if(b&&b!=="INTERNAL_NON_TEAM_MEMBER"){if(b==="INTERNAL_TEAM_MEMBER")return"team-member-chip";if(b==="PARTNER_USER")return"partner-chip";if(b==="PUBLIC_USER")return"public-chip"}else return"internal-non-team-member-chip";return""}));
this.shouldShowIcon$=this.groupMembershipType$.pipe(z(function(b){return b&&b!=="INTERNAL_NON_TEAM_MEMBER"}));this.iconName$=this.groupMembershipType$.pipe(z(function(b){if(b&&b!=="INTERNAL_NON_TEAM_MEMBER"){if(b==="INTERNAL_TEAM_MEMBER")return"people-outline";if(b==="PARTNER_USER")return"enterprise";if(b==="PUBLIC_USER")return"public"}return""}));this.iconToolTip$=this.groupMembershipType$.pipe(ag(this.teamUser$),z(function(b){var c=k(b);b=c.next().value;c=c.next().value;if(b&&b!=="INTERNAL_NON_TEAM_MEMBER"){if(b===
"INTERNAL_TEAM_MEMBER")return c;if(b==="PARTNER_USER")return"Partner user";if(b==="PUBLIC_USER")return"Public user"}return""}))};Y(eP,Z);eP.\u0275dir=Z.\u0275dir;eP.prototype.ngOnInit=function(){};eP.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)};eP.\u0275fac=function(){var a;return function(b){return(a||(a=ee(eP)))(b||eP)}}();
eP.\u0275cmp=C({type:eP,selectors:[["b-user-membership-chip"]],inputs:{user:"user",email:"email",teamId:"teamId",enableSmallChip:"enableSmallChip",enableGroupIcon:"enableGroupIcon"},standalone:!1,features:[cg,rv],decls:10,vars:12,consts:[["emailDisplay",""],["card",""],[3,"ngClass"],[3,"email","hovercardFocusEnabled","availabilityChipEnabled"],[3,"svgIcon","matTooltip"],["coinonly","",3,"user"],["name","group_24px","size","small"],["size","tiny",3,"email"],["tabindex","0","role","button",1,"keep-focus-ring",
3,"onedevHovercardTrigger"],[4,"ngTemplateOutlet"],[3,"email"],[1,"user-chip-name"]],template:function(a,b){a&1&&(I(0,"span",2),S(1,"async"),I(2,"span",2),S(3,"async"),D(4,SQa,3,3)(5,TQa,1,3,"b-user-display-name",3)(6,ZQa,4,1)(7,$Qa,3,6,"mat-icon",4),S(8,"async"),J()(),D(9,aRa,1,1,"b-availability-chip",5));if(a&2){var c,d;E("ngClass",(c=U(1,6,b.userTypeClass$))!==null&&c!==void 0?c:"");B(2);E("ngClass",(d=U(3,8,b.userChipType$))!==null&&d!==void 0?d:"");B(2);G(b.enableSmallChip?4:-1);B();G(b.enableSmallChip?
6:5);B(2);G(U(8,10,b.shouldShowIcon$)?7:-1);B(2);G(b.enableWaldoAvailability&&!b.enableSmallChip?9:-1)}},dependencies:[aw,dw,pB,bL,DM,mB,rB,tK,$H,fI,QM,cL,ew],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 fP=function(){};fP.\u0275fac=function(a){return new (a||fP)};fP.\u0275mod=Cf({type:fP});fP.\u0275inj=p({imports:[lC]});var gP=function(){};gP.\u0275fac=function(a){return new (a||gP)};gP.\u0275mod=Cf({type:gP});gP.\u0275inj=p({imports:[lC,bP,fP,pC,XM,YM,WM]});var hP=function(){};hP.\u0275fac=function(a){return new (a||hP)};hP.\u0275mod=Cf({type:hP});hP.\u0275inj=p({imports:[lC,mC,pC]});var iP=function(){};iP.\u0275fac=function(a){return new (a||iP)};iP.\u0275mod=Cf({type:iP});iP.\u0275inj=p({providers:[{provide:jqc,useValue:fL}],imports:[lC,ON,mC,pC,gP,TM,GN,hP,aP]});var jP=function(){};jP.\u0275fac=function(a){return new (a||jP)};jP.\u0275mod=Cf({type:jP});jP.\u0275inj=p({imports:[lC]});var qFc={provide:tfc,deps:[Kx],useFactory:function(a){return function(){return a.scrollStrategies.reposition({scrollThrottle:20})}}},rFc=Zh({passive:!0}),kP=function(a,b,c,d,e,f,h,l,q,u,A,F){var H=this;this._overlay=a;this._elementRef=b;this._scrollDispatcher=c;this._viewContainerRef=d;this._ngZone=e;this._platform=f;this._ariaDescriber=h;this._focusMonitor=l;this._dir=u;this._defaultOptions=A;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 Uf;this._scrollStrategy=q;this._document=F;A&&(this._showDelay=A.showDelay,this._hideDelay=A.hideDelay,A.position&&(this.position=A.position),A.positionAtOrigin&&(this.positionAtOrigin=A.positionAtOrigin),A.touchGestures&&(this.touchGestures=A.touchGestures));u.change.pipe(Zf(this._destroyed)).subscribe(function(){H._overlayRef&&H._updatePosition(H._overlayRef)})};
g=kP.prototype;g.ngAfterViewInit=function(){var a=this;this._viewInitialized=!0;this._setupPointerEnterEventsIfNeeded();this._focusMonitor.monitor(this._elementRef).pipe(Zf(this._destroyed)).subscribe(function(b){b?b==="keyboard"&&a._ngZone.run(function(){return a.show()}):a._ngZone.run(function(){return a.hide(0)})})};
g.ngOnDestroy=function(){var a=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout);this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null);this._passiveListeners.forEach(function(b){var c=k(b);b=c.next().value;c=c.next().value;a.removeEventListener(b,c,rFc)});this._passiveListeners.length=0;this._destroyed.next();this._destroyed.complete();Sw(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 Dx(this._tooltipComponent,this._viewContainerRef),b=this._tooltipInstance=b.attach(this._portal).instance,b._triggerElement=this._elementRef.nativeElement,b._mouseLeaveHideDelay=this._hideDelay,b.afterHidden().pipe(Zf(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 ef)return this._overlayRef;this._detach()}c=A8b(this._scrollDispatcher,this._elementRef);a=J8b(yx(zx(N8b(Bx(this._overlay.position(),this.positionAtOrigin?a||this._elementRef:this._elementRef),"."+this._cssClassPrefix+"-tooltip"),!1),this._viewportMargin),c);a.positionChanges.pipe(Zf(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(Zf(this._destroyed)).subscribe(function(){return b._detach()});this._overlayRef.outsidePointerEvents().pipe(Zf(this._destroyed)).subscribe(function(){var e;
return(e=b._tooltipInstance)==null?void 0:e._handleBodyInteraction()});this._overlayRef.keydownEvents().pipe(Zf(this._destroyed)).subscribe(function(e){b._isTooltipVisible()&&e.keyCode===27&&!Xh(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();xx(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(Nf(),Zf(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,t(b))}};g._addListeners=function(a){var b=this;a.forEach(function(c){var d=k(c);c=d.next().value;d=d.next().value;b._elementRef.nativeElement.addEventListener(c,d,rFc)})};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(kP.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=di(a);this._detach();this._overlayRef=null}},disabled:{configurable:!0,
enumerable:!0,get:function(){return this._disabled},set:function(a){(this._disabled=di(a))?this.hide(0):this._setupPointerEnterEventsIfNeeded()}},showDelay:{configurable:!0,enumerable:!0,get:function(){return this._showDelay},set:function(a){this._showDelay=gi(a)}},hideDelay:{configurable:!0,enumerable:!0,get:function(){return this._hideDelay},set:function(a){this._hideDelay=gi(a);this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}},message:{configurable:!0,enumerable:!0,
get:function(){return this._message},set:function(a){var b=this;Sw(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(){h8b(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)}}});kP.\u0275fac=function(){dia()};
kP.\u0275dir=Df({type:kP,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"]},standalone:!1});
var lP=function(a,b){this._changeDetectorRef=a;this._isVisible=this._closeOnInteraction=!1;this._onHide=new Uf;this._animationsDisabled=b==="NoopAnimations"};g=lP.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))};
lP.\u0275fac=function(a){return new (a||lP)(hf(Ov),hf(Gv,8))};lP.\u0275dir=Df({type:lP,standalone:!1});var sFc=["tooltip"],nP=function(a,b,c,d,e,f,h,l,q,u,A,F){kP.call(this,a,b,c,d,e,f,h,l,q,u,A,F);this._tooltipComponent=mP};Y(nP,kP);nP.\u0275fac=function(a){return new (a||nP)(hf(Kx),hf(ef),hf(mx),hf(Pg),hf(kh),hf(tw),hf(Rw),hf(ww),hf(tfc),hf(fx,8),hf(vfc,8),hf(ii))};nP.\u0275dir=Df({type:nP,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],hostVars:2,hostBindings:function(a,b){a&2&&sg("mat-tooltip-disabled",b.disabled)},exportAs:["matTooltip"],standalone:!1,features:[cg]});
var mP=function(a,b,c){lP.call(this,a,c);this._showAnimation="mat-tooltip-show";this._hideAnimation="mat-tooltip-hide";this._isHandset=b.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)")};Y(mP,lP);mP.\u0275dir=lP.\u0275dir;mP.\u0275fac=function(a){return new (a||mP)(hf(Ov),hf(Jw),hf(Gv,8))};
mP.\u0275cmp=C({type:mP,selectors:[["mat-tooltip-component"]],viewQuery:function(a,b){a&1&&Rg(sFc,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&&M("mouseleave",function(c){return b._handleMouseLeave(c)});a&2&&(jg("mat-id-collision",null),rg("zoom",b.isVisible()?1:null))},standalone:!1,features:[cg],decls:4,vars:6,consts:[["tooltip",""],[1,"mat-tooltip",3,"animationend","ngClass"]],template:function(a,b){if(a&1){var c=
v();I(0,"div",1,0);S(2,"async");M("animationend",function(e){w(c);return x(b._handleAnimationEnd(e))});Q(3);J()}if(a&2){var d;sg("mat-tooltip-handset",(d=U(2,4,b._isHandset))==null?null:d.matches);E("ngClass",b.tooltipClass);B(3);Yg(b.message)}},dependencies:[aw,ew],styles:[".mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis;-webkit-transform:scale(0);transform:scale(0)}.mat-tooltip._mat-animation-noopable{-webkit-animation:none;animation:none;-webkit-transform:scale(1);transform:scale(1)}@media (forced-colors:active){.mat-tooltip{outline:1px solid}}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}.mat-tooltip-panel-non-interactive{pointer-events:none}@-webkit-keyframes mat-tooltip-show{0%{opacity:0;-webkit-transform:scale(0);transform:scale(0)}50%{opacity:.5;-webkit-transform:scale(.99);transform:scale(.99)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes mat-tooltip-show{0%{opacity:0;-webkit-transform:scale(0);transform:scale(0)}50%{opacity:.5;-webkit-transform:scale(.99);transform:scale(.99)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes mat-tooltip-hide{0%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}to{opacity:0;-webkit-transform:scale(1);transform:scale(1)}}@keyframes mat-tooltip-hide{0%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}to{opacity:0;-webkit-transform:scale(1);transform:scale(1)}}.mat-tooltip-show{-webkit-animation:mat-tooltip-show .2s cubic-bezier(0,0,.2,1) forwards;animation:mat-tooltip-show .2s cubic-bezier(0,0,.2,1) forwards}.mat-tooltip-hide{-webkit-animation:mat-tooltip-hide .1s cubic-bezier(0,0,.2,1) forwards;animation:mat-tooltip-hide .1s cubic-bezier(0,0,.2,1) forwards}"],
encapsulation:2,changeDetection:0});var oP=function(){};oP.\u0275fac=function(a){return new (a||oP)};oP.\u0275mod=Cf({type:oP});oP.\u0275inj=p({providers:[qFc],imports:[Qw,mw,Nx,Ox,Ox,rx]});var pP=function(){};pP.\u0275fac=function(a){return new (a||pP)};pP.\u0275mod=Cf({type:pP});pP.\u0275inj=p({imports:[mw,Nx,Jx,VM,oP,Qw,ZH]});var qP=function(){};qP.\u0275fac=function(a){return new (a||qP)};qP.\u0275mod=Cf({type:qP});qP.\u0275inj=p({imports:[Qw,lC,xH,mC,pC,pP]});var rP=function(){var a=this;this.componentFridge=r(uD);this.trackerHelpers=r(yH);this.issue$=new Tf(1);this.isLoaded$=this.issue$.pipe(z(function(b){return b!==null}));this.componentId$=this.issue$.pipe(z(function(b){var c;return(c=b==null?void 0:b.snapshot[0].componentId)!=null?c:void 0}));this.component$=this.componentId$.pipe(Yf(function(b){return a.componentFridge.watch(b)}));this.componentName$=Ie([this.componentId$,this.component$]).pipe(z(function(b){var c=k(b);b=c.next().value;c=c.next().value;
return c?(b=ou(a.trackerHelpers,c.componentPathInfo))&&b.componentPathName?b.componentPathName[b.componentPathName.length-1].toString():"":(b==null?void 0:b.toString())||""}))};da.Object.defineProperties(rP.prototype,{issue:{configurable:!0,enumerable:!0,set:function(a){this.issue$.next(a)}}});rP.\u0275fac=function(a){return new (a||rP)};
rP.\u0275cmp=C({type:rP,selectors:[["b-issue-component-name-cell"]],inputs:{issue:"issue"},standalone:!1,decls:4,vars:6,consts:[[3,"isReady"],[1,"nowrap","overflow-ellipsis",3,"matTooltip"]],template:function(a,b){a&1&&(I(0,"b-async-data-placeholder",0),S(1,"async"),D(2,bRa,2,2,"span",1),S(3,"async"),J());if(a&2){var c;E("isReady",U(1,2,b.isLoaded$));B(2);G((c=U(3,4,b.componentName$))?2:-1,c)}},dependencies:[nH,mB,rB,ew],encapsulation:2,changeDetection:0});var sP=function(){this.issue=null;this.isDataLoaded=!1};sP.prototype.ngOnChanges=function(){var a;this.reporter=oua(Sj((a=this.issue)==null?void 0:a.snapshot[0].reporterUser)||void 0);this.isDataLoaded=this.issue!==null};sP.\u0275fac=function(a){return new (a||sP)};
sP.\u0275cmp=C({type:sP,selectors:[["b-issue-reporter-cell"]],inputs:{issue:"issue"},standalone:!1,features:[rv],decls:2,vars:2,consts:[[3,"isReady"],[3,"email"]],template:function(a,b){a&1&&(I(0,"b-async-data-placeholder",0),D(1,cRa,2,2,"b-person-hovercard",1),J());a&2&&(E("isReady",b.isDataLoaded),B(),G(b.reporter?1:-1))},dependencies:[nH,gK],encapsulation:2,changeDetection:0});var tFc=["theInput"],tP=function(){this.placeholder=this.value="";this.readonly=!1;this.autoFocus=!0;this.valueChange=new aB;this.commit=new aB};tP.prototype.ngAfterViewInit=function(){this.autoFocus&&this.input.nativeElement.focus()};tP.\u0275fac=function(a){return new (a||tP)};
tP.\u0275cmp=C({type:tP,selectors:[["b-text-input-cell"]],viewQuery:function(a,b){a&1&&Rg(tFc,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"},standalone:!1,decls:2,vars:7,consts:[["theInput",""],["type","text",3,"keydown.enter","ngModelChange","placeholder","disabled","ngModel"]],template:function(a,b){if(a&1){var c=v();I(0,"input",1,0);M("keydown.enter",
function(d){w(c);b.readonly||b.commit.emit(d);return x()})("ngModelChange",function(d){w(c);return x(b.valueChange.emit(d))});J()}a&2&&(sg("readonly",b.readonly)("override",b.readonly),E("placeholder",b.placeholder)("disabled",b.readonly)("ngModel",b.value))},dependencies:[oi,Gy,Ny],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 uP=function(){};uP.\u0275fac=function(a){return new (a||uP)};uP.\u0275mod=Cf({type:uP});uP.\u0275inj=p({imports:[lC,mC]});var vP=function(){};vP.\u0275fac=function(a){return new (a||vP)};vP.\u0275mod=Cf({type:vP});vP.\u0275inj=p({imports:[lC,WM,uP]});var wP=function(){};wP.\u0275fac=function(a){return new (a||wP)};wP.\u0275mod=Cf({type:wP});wP.\u0275inj=p({imports:[lC,WM,mC]});var xP=function(){};xP.\u0275fac=function(a){return new (a||xP)};xP.\u0275mod=Cf({type:xP});xP.\u0275inj=p({imports:[lC]});var yP=function(){};yP.\u0275fac=function(a){return new (a||yP)};yP.\u0275mod=Cf({type:yP});yP.\u0275inj=p({imports:[xP,hC,lC,TM,bz,mC,pC,WM,fP,iP,qP,jP,XM,vP,wP,FM,gP,HM]});var zP=function(){};zP.\u0275fac=function(a){return new (a||zP)};zP.\u0275mod=Cf({type:zP});zP.\u0275inj=p({imports:[lC]});var AP=function(){};AP.\u0275fac=function(a){return new (a||AP)};AP.\u0275mod=Cf({type:AP});AP.\u0275inj=p({imports:[qL]});var BP=function(){};BP.\u0275fac=function(a){return new (a||BP)};BP.\u0275mod=Cf({type:BP});BP.\u0275inj=p({imports:[lC,AP]});var CP=function(){};CP.\u0275fac=function(a){return new (a||CP)};CP.\u0275mod=Cf({type:CP});CP.\u0275inj=p({providers:[Tx,{provide:uyc,useValue:{separatorKeyCodes:[13]}}],imports:[Ox,ay,Ox]});var DP=function(){};DP.\u0275fac=function(a){return new (a||DP)};DP.\u0275mod=Cf({type:DP});DP.\u0275inj=p({imports:[CP]});var EP=function(){};EP.\u0275fac=function(a){return new (a||EP)};EP.\u0275mod=Cf({type:EP});EP.\u0275inj=p({imports:[Ox,mM,Ox]});var FP=function(){};FP.\u0275fac=function(a){return new (a||FP)};FP.\u0275mod=Cf({type:FP});FP.\u0275inj=p({imports:[EP]});var GP=function(){};GP.\u0275fac=function(a){return new (a||GP)};GP.\u0275mod=Cf({type:GP});GP.\u0275inj=p({imports:[Ox,ay,ML,Ox]});var HP=function(){};HP.\u0275fac=function(a){return new (a||HP)};HP.\u0275mod=Cf({type:HP});HP.\u0275inj=p({imports:[lC,DP,FN,yP,mC,XI,bN,GP,nN,FP,pC,BP,vL,zP]});var IP=function(){this.bLocation=r(WN);this.listIssues=Qq.listIssues.makeHref;this.createIssue=Qq.createIssue.makeHref};IP.prototype.viewSavedSearch=function(a,b){return dRa(Qq.viewSavedSearch.routeDeclarationPath,{id:a,params:b})};var uFc=function(a,b){b=b.charAt(0)!=="/"?"/"+b:b;a=a.bLocation.getUrl();a=new Oq(a);b=new Oq(b);return a.getPath()===b.getPath()&&vJ(a.queryData_.toString())===vJ(b.queryData_.toString())};g=IP.prototype;g.createBookmarkGroup=function(){return Qq.createBookmarkGroup.routeDeclarationPath};
g.viewBookmarkGroup=function(a){return dRa(Qq.viewBookmarkGroup.routeDeclarationPath,{id:a})};g.editBookmarkGroup=function(a){return Sq(Qq.editBookmarkGroup.routeDeclarationPath,{id:a})};g.editSavedSearch=function(a){return Sq(Qq.editSavedSearch.routeDeclarationPath,{id:a})};g.getBaseUrl=function(){var a=this.bLocation.platformLocation.href;a=a.slice(0,a.length-this.bLocation.getUrl().length);a.charAt(a.length-1)==="/"&&(a=a.slice(0,a.length-1));return a};
g.settings=function(a){return a?Sq(Qq.settingsTab.routeDeclarationPath,{id:a,token:":settingsTab?"}):Sq(Qq.settings.routeDeclarationPath)};g.home=function(){return Sq(Qq.home.routeDeclarationPath,{params:void 0})};IP.\u0275fac=function(a){return new (a||IP)};IP.\u0275prov=n({token:IP,factory:IP.\u0275fac,providedIn:"root"});var JP=function(){this.issuesApi=r(ME)};JP.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})};JP.\u0275fac=function(a){return new (a||JP)};JP.\u0275prov=n({token:JP,factory:JP.\u0275fac,providedIn:"root"});var vFc=new zd("GMAT_AUTOCOMPLETE_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var KP=function(a,b){a.disableGmatStyle||ifc(b,"gmat-mdc-autocomplete")};KP.\u0275fac=function(a){return new (a||KP)(hf(vFc),hf(Kx))};KP.\u0275dir=Df({type:KP,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],standalone:!1,features:[ch([{provide:Kx,useClass:lB}])]});var wFc=ri("panelAnimation",[ui("void, hidden",ti({opacity:0,transform:"scaleY(0.8)"})),vi(":enter, hidden => visible",[gqa([si("0.03s linear",ti({opacity:1})),si("0.12s cubic-bezier(0, 0, 0.2, 1)",ti({transform:"scaleY(1)"}))])]),vi(":leave, visible => hidden",[si("0.075s linear",ti({opacity:0}))])]);var xFc=["panel"],yFc=function(a,b){this.source=a;this.option=b},zFc=new zd("mat-autocomplete-default-options",{providedIn:"root",factory:kRa}),LP=function(){this._changeDetectorRef=r(Ov);this._elementRef=r(ef);this._defaults=r(zFc);this._activeOptionChanges=je.EMPTY;this._animationDone=new Dv;this._isOpen=this.showPanel=!1;this.displayWith=null;this.optionSelected=new Dv;this.opened=new Dv;this.closed=new Dv;this.optionActivated=new Dv;this.id=r(Ww).getId("mat-autocomplete-");r(tw);this.autoActiveFirstOption=
!!this._defaults.autoActiveFirstOption;this.autoSelectActiveOption=!!this._defaults.autoSelectActiveOption;this.requireSelection=!!this._defaults.requireSelection;var a;this._hideSingleSelectionIndicator=(a=this._defaults.hideSingleSelectionIndicator)!=null?a:!1};g=LP.prototype;g._setColor=function(a){this._color=a;this._changeDetectorRef.markForCheck()};g._syncParentProperties=function(){if(this.options)for(var a=k(this.options),b=a.next();!b.done;b=a.next())b.value._changeDetectorRef.markForCheck()};
g.ngAfterContentInit=function(){var a=this;this._keyManager=Yw(new cx(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 yFc(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(LP.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()}}});LP.\u0275fac=function(a){return new (a||LP)};
LP.\u0275cmp=C({type:LP,selectors:[["mat-autocomplete"]],contentQueries:function(a,b,c){a&1&&(Sg(c,Zx,5),Sg(c,Y8b,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(xFc,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",uh],autoSelectActiveOption:[2,"autoSelectActiveOption","autoSelectActiveOption",uh],requireSelection:[2,"requireSelection","requireSelection",uh],panelWidth:"panelWidth",disableRipple:[2,"disableRipple","disableRipple",uh],classList:[0,"class","classList"],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",uh]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},
exportAs:["matAutocomplete"],features:[ch([{provide:X8b,useExisting:LP}]),dg],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(),D(0,jRa,3,16,"ng-template"))},styles:["div.mat-mdc-autocomplete-panel{width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;box-sizing:border-box;position:static;border-radius:var(--mat-autocomplete-container-shape, var(--mat-sys-corner-extra-small));box-shadow:var(--mat-autocomplete-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12));background-color:var(--mat-autocomplete-background-color, var(--mat-sys-surface-container))}@media(forced-colors: active){div.mat-mdc-autocomplete-panel{outline:solid 1px}}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden;pointer-events:none}mat-autocomplete{display:none}\n"],
encapsulation:2,data:{animation:[wFc]},changeDetection:0});var AFc={provide:Ay,useExisting:ld(function(){return MP}),multi:!0},BFc=new zd("mat-autocomplete-scroll-strategy",{providedIn:"root",factory:function(){var a=r(Kx);return function(){return a.scrollStrategies.reposition()}}}),CFc={provide:BFc,deps:[Kx],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}},MP=function(){var a=this;this._injector=r(Ye);this._element=r(ef);this._overlay=r(Kx);this._viewContainerRef=r(Pg);this._zone=r(kh);this._changeDetectorRef=r(Ov);this._dir=
r(fx,{optional:!0});this._formField=r(F$b,{optional:!0,host:!0});this._document=r(ii);this._viewportRuler=r(qx);this._scrollStrategy=r(BFc);this._renderer=r(Iv);this._defaults=r(zFc,{optional:!0});this._componentDestroyed=!1;this._initialized=new Uf;this._manuallyFloatingLabel=!1;this._viewportSubscription=je.EMPTY;this._breakpointObserver=r(Jw);this._handsetLandscapeSubscription=je.EMPTY;this._canOpenOnNextFocus=!0;this._closeKeyEventStream=new Uf;this._windowBlurHandler=function(){a._canOpenOnNextFocus=
a._document.activeElement!==a._element.nativeElement||a.panelOpen};this._onChange=function(){};this._onTouched=function(){};this.position="auto";this.autocompleteAttribute="off";this._aboveClass="mat-mdc-autocomplete-panel-above";this._overlayAttached=!1;this.optionSelections=Ne(function(){var b=a.autocomplete?a.autocomplete.options:null;return b?b.changes.pipe(Xf(b),Yf(function(){return Te.apply(null,t(b.map(function(c){return c.onSelectionChange})))})):a._initialized.pipe(Yf(function(){return a.optionSelections}))});
this._handlePanelKeydown=function(b){if(b.keyCode===27&&!Xh(b)||b.keyCode===38&&Xh(b,"altKey")){if(a._pendingAutoselectedOption){var c;a._updateNativeInputValue((c=a._valueBeforeAutoSelection)!=null?c:"");a._pendingAutoselectedOption=null}a._closeKeyEventStream.next();a._resetActiveItem();b.stopPropagation();b.preventDefault()}};this._trackedModal=null};
MP.prototype.ngAfterViewInit=function(){this._initialized.next();this._initialized.complete();this._cleanupWindowBlur=this._renderer.listen("window","blur",this._windowBlurHandler)};MP.prototype.ngOnChanges=function(a){a.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())};
MP.prototype.ngOnDestroy=function(){var a;(a=this._cleanupWindowBlur)==null||a.call(this);this._handsetLandscapeSubscription.unsubscribe();this._viewportSubscription.unsubscribe();this._componentDestroyed=!0;this._destroyPanel();this._closeKeyEventStream.complete();this._clearFromModal()};
var Rmb=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&&
hi(a._trackedModal,"aria-owns",a.autocomplete.id))};g=MP.prototype;g.updatePosition=function(){this._overlayAttached&&this._overlayRef.updatePosition()};
g._getOutsideClickStream=function(){var a=this;return new oe(function(b){var c=function(e){var f=bi(e),h=a._formField?H$b(a._formField).nativeElement:null,l=a.connectedTo?a.connectedTo.elementRef.nativeElement:null;!a._overlayAttached||f===a._element.nativeElement||a._document.activeElement===a._element.nativeElement||h&&h.contains(f)||l&&l.contains(f)||!a._overlayRef||a._overlayRef.overlayElement.contains(f)||b.next(e)},d=[a._renderer.listen("document","click",c),a._renderer.listen("document","auxclick",
c),a._renderer.listen("document","touchend",c)];return function(){d.forEach(function(e){return e()})}})};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=Xh(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 oe(function(d){Ze(function(){d.next()},{injector:a._injector})}),c=this.autocomplete.options.changes.pipe($f(function(){return I8b(a._positionStrategy)}),Of(0));return Te(b,c).pipe(Yf(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})}),
Nf()).subscribe(function(d){return a._setValueAndClose(d)})};g._emitOpened=function(){this.autocomplete.opened.emit()};g._destroyPanel=function(){this._overlayRef&&(Rmb(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(Nf()).subscribe(function(){return b._onChange(null)}):
this._onChange(null));Rmb(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&&Loa(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 Ex(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?yx(K8b(zx(b._positionStrategy,!0),!0),8):yx(K8b(zx(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 ux({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=L8b(zx(Bx(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(t(b),t(c));xx(a,b)};
g._getConnectedElement=function(){return this.connectedTo?this.connectedTo.elementRef:this._formField?H$b(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._scrollToOption=function(a){var b=this.autocomplete,c=cpa(a,b.options,b.optionGroups);a===0&&c===1?b._setScrollTop(0):b.panel&&(a=b.options.toArray()[a])&&(a=a._getHostElement(),b._setScrollTop(dpa(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&&hi(this._trackedModal,"aria-owns",b);Loa(a,"aria-owns",b);this._trackedModal=a}};g._clearFromModal=function(){this._trackedModal&&(hi(this._trackedModal,"aria-owns",this.autocomplete.id),this._trackedModal=null)};
da.Object.defineProperties(MP.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 Te(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(Ue(function(){return a._overlayAttached})),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef._detachments.pipe(Ue(function(){return a._overlayAttached})):
Ae()).pipe(z(function(b){return b instanceof n9b?b:null}))}},activeOption:{configurable:!0,enumerable:!0,get:function(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}}});MP.\u0275fac=function(a){return new (a||MP)};
MP.\u0275dir=Df({type:MP,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(a,b){a&1&&M("focusin",function(){return b._handleFocus()})("blur",function(){return b._onTouched()})("input",function(c){return b._handleInput(c)})("keydown",function(c){return b._handleKeydown(c)})("click",function(){return b._handleClick()});a&2&&jg("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",uh]},exportAs:["matAutocompleteTrigger"],features:[ch([AFc]),dg,rv]});var NP=function(){};NP.\u0275fac=function(a){return new (a||NP)};NP.\u0275mod=Cf({type:NP});NP.\u0275inj=p({providers:[CFc],imports:[Nx,cy,Ox,rx,cy,Ox]});var OP=function(){Z.apply(this,arguments);var a=this;this.cdr=r(cB,{self:!0});this.paths=r(IP);this.issueFullFridge=r(QF);this.relatedIssues=r(JP);this.errorHandler=r(CI);this.domSafe=r(NH);this.activeSession=r(Bu);this.STATUS_ICON=hhc;this.entrySelect=new aB;this.selectedIssues=[];this.asyncChoices=[];this.choices=[];this.currentQuery="";this.hasLoadedResults=!0;this.searchingForSelf=!1;this.queryInternal="";this.queryChange=new aB;this.getTextToPutInInputOnSelect=function(){return a.query}};
Y(OP,Z);OP.\u0275dir=Z.\u0275dir;OP.prototype.ngOnInit=function(){var a=this;this.queryChange.pipe(Lf(250),Zf(this.destroyed$)).subscribe(function(b){a.doSearch(b)})};OP.prototype.ngOnChanges=function(a){a.defaultChoices&&(this.choices=[].concat(t(this.defaultChoices),t(this.asyncChoices)))};OP.prototype.selectIssue=function(a){DFc(this,[a])};
var FFc=function(a){var b=a.split(",").map(function(c){return c.trim()}).filter(function(c){return!!c});if(EFc(b))return b;b=a;a.startsWith("b/")?b=a.substring(2):a.startsWith("http://b/")&&(b=a.substring(9));return iib(b)?[b]:[]},EFc=function(a){return!a.some(function(b){return!iib(b)})};OP.prototype.search=function(a){typeof a==="string"&&(this.query=a)};
OP.prototype.doSearch=function(a){this.currentQuery=a;this.searchingForSelf=!1;if(a==="")GFc(this);else{var b=FFc(a);b.length===1||b.length>1&&this.allowMultipleIds?(this.lastSearchType="id",HFc(this,b,a)):(this.lastSearchType="query",IFc(this,a))}};
var GFc=function(a){a.choices=a.defaultChoices;a.asyncChoices=[];a.hasLoadedResults=!0;DFc(a,[])},DFc=function(a,b){a.selectedIssues=b;a.entrySelect.emit(a.selectedIssues);var c;(c=a.autocomplete)==null||Rmb(c)},HFc=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,GFc(a)):(a.choices=JFc(a,b),a.hasLoadedResults=!1,a.issueFullFridge.watchSet(b).pipe(Nf(),Zf(a.destroyed$)).subscribe(function(e){if(a.currentQuery===
c){var f=e.reduce(function(h,l){var q=Na(l.snapshot);return h.set(l.issueId,{resourceId:l.issueId,displayText:q.title,status:q.status,relations:[]})},new Map);Jba(b);e=b.map(function(h){return f.get(h)});e.includes(void 0)?a.asyncChoices=[]:a.asyncChoices=e;a.choices=[].concat(t(a.choices),t(a.asyncChoices));DFc(a,a.asyncChoices);a.hasLoadedResults=!0;a.cdr.detectChanges()}},function(){a.asyncChoices=[];a.hasLoadedResults=!0;a.cdr.detectChanges()}))},IFc=function(a,b){a.choices=KFc(a,b);a.hasLoadedResults=
!1;if(St(b))a.hasLoadedResults=!0;else{var c=LFc(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:fk((f=a.currentResource)==null?void 0:f.id),nonParallelRequest:!0}).then(function(h){a.currentQuery===b&&(h=h.issueDigests.map(function(l){return{resourceId:l.issueId,displayText:l.title,status:l.status,relations:[]}}),a.choices=[].concat(t(a.choices),t(h)),a.cdr.detectChanges())},
function(h){a.errorHandler.errorHandler(null,h)}).finally(function(){a.hasLoadedResults=!0})}},JFc=function(a,b){return a.defaultChoices.filter(function(c){return c.resourceId.toString().startsWith(b[0])})},KFc=function(a,b){return St(b)?a.defaultChoices:a.defaultChoices.filter(function(c){return c.displayText.toLowerCase().startsWith(b.toLowerCase())})};OP.prototype.getIssueLink=function(a){return Rq(a.resourceId)};
var qRa=function(a){return a.relations.map(function(b){return MFc.get(b)}).filter(function(b){return!!b}).join("/")},LFc=function(a,b){if(b.length===0)return a;b=b.map(function(c){return c.resourceId}).join("|");return a+" -id:("+b+")"};OP.prototype.onEnter=function(a){var b;((b=this.autocomplete)==null?0:b.panelOpen)&&a.stopPropagation()};da.Object.defineProperties(OP.prototype,{query:{configurable:!0,enumerable:!0,get:function(){return this.queryInternal},set:function(a){this.queryInternal=a;this.queryChange.emit(a)}}});
OP.\u0275fac=function(){var a;return function(b){return(a||(a=ee(OP)))(b||OP)}}();
OP.\u0275cmp=C({type:OP,selectors:[["b-simple-issue-picker"]],viewQuery:function(a,b){a&1&&Rg(MP,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"},standalone:!1,features:[ch([JP,cB]),cg,rv],decls:10,vars:7,consts:[["auto","matAutocomplete"],["issueHovercard","onedevHovercard"],["cardBody",""],[1,"bv2-issue-picker"],[1,"bv2-resource-picker",
"bv2-picker"],["type","text","placeholder","Type issue ID or search query...","autocomplete","off","spellcheck","false","aria-autocomplete","list","role","combobox","autofocus","autofocus","cdkFocusInitial","",1,"bv2-resource-picker-input",3,"ngModelChange","keydown.enter","keydown.alt.arrowright","ngModel","matAutocomplete"],[1,"issue-picker","base-resource-picker",3,"optionActivated","optionSelected","displayWith"],["disabled",""],["disabled","",1,"bv2-resource-picker-message"],[1,"bv2-resource-picker-item",
"bv2-issue-picker-item",3,"value"],[1,"bv2-issue-picker-message"],[1,"spinner-container"],[3,"large"],["role","region","tabindex","0"],[1,"icon-s","margin-none",3,"svgIcon"],[1,"bv2-issue-picker-issue-id",3,"title"],[3,"onedevIsHovercardReady","issueId",4,"onedevHovercardLazyBody"],["mat-icon-button","","aria-label","Go to issue page.","data-stable","issue-pop-out","target","_blank",1,"small","bv2-issue-picker-pop-out",3,"click","onedevHovercardTrigger","href"],["svgIcon","pop-out",1,"icon-s"],[1,
"bv2-issue-picker-relations"],[1,"bv2-issue-picker-description",3,"title","innerHTML"],[3,"onedevIsHovercardReady","issueId"]],template:function(a,b){if(a&1){var c=v();I(0,"div",3);D(1,lRa,3,0,"div");I(2,"div",4)(3,"input",5);M("ngModelChange",function(d){w(c);return x(b.search(d))})("keydown.enter",function(d){w(c);return x(b.onEnter(d))})("keydown.alt.arrowright",function(){w(c);b.activeChoice&&b.domSafe.openInNewTab(b.getIssueLink(b.activeChoice));return x()});J();I(4,"mat-autocomplete",6,0);M("optionActivated",
function(d){w(c);b.activeChoice=d.option==null?null:d.option.value;return x()})("optionSelected",function(d){w(c);return x(b.selectIssue(d.option.value))});D(6,mRa,3,1,"mat-option",7)(7,nRa,2,0,"mat-option",8);yg(8,rRa,14,13,"mat-option",9,xg);J()()()}a&2&&(a=L(5),B(),G(b.searchingForSelf?1:-1),B(2),E("ngModel",b.query)("matAutocomplete",a),jg("aria-label",b.selectedIssues.length>0?"issue "+b.selectedIssues[0].resourceId+" selected. Change.":"Choose issue"),B(),E("displayWith",b.getTextToPutInInputOnSelect),
B(2),G(b.query===""||b.hasLoadedResults?-1:6),B(),G(b.query!==""&&b.hasLoadedResults&&b.choices.length===0?7:-1),B(),zg(b.choices))},dependencies:[pB,oi,Gy,Ny,$H,aI,fI,bI,fL,KP,LP,Zx,MP,eB,my,sL,dC],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 MFc=new Map([["BLOCKED_BY","blocked"],["BLOCKING","blocking"],["DUPLICATE","duplicate"]]);var PP=function(){this.dialogRef=r(mI);this.params=r(TH);this.DEFAULTS={title:"Select an issue.",defaultChoices:[],allowMultipleIds:!1};this.originalData=r(sI);this.data=Object.assign({},this.DEFAULTS,this.originalData);this.queryRestriction=this.data.componentId?"componentid:"+this.data.componentId+"+":"";this.isQueryRestricted=!1;this.selectedIssues=[]},vRa=function(a){if(a.queryRestriction!==""&&a.issuePicker!=null){var b=a.issuePicker.query;a.issuePicker.query=a.isQueryRestricted?b.replace(new RegExp(Bj(a.queryRestriction)+
" ?"),""):a.queryRestriction+" "+b}};g=PP.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()};PP.\u0275fac=function(a){return new (a||PP)};
PP.\u0275cmp=C({type:PP,selectors:[["ng-component"]],viewQuery:function(a,b){a&1&&Rg(OP,5);if(a&2){var c;Vg(c=Wg())&&(b.issuePicker=c.first)}},hostBindings:function(a,b){a&1&&M("keydown.escape",function(){return b.onEscape()})},standalone:!1,decls:15,vars:10,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"bv2-rel-issue-text"],[1,"bv2-rel-issue-preview-link"],[1,"bv2-rel-issue-search"],[1,"bv2-rel-issue-bubble-issue-picker"],[1,"bv2-rel-issue-narrow-to-component"],[1,"bv2-rel-issue-issue-picker",
3,"keydown.enter","entrySelect","queryChange","defaultChoices","currentResource","allowMultipleIds"],["mat-dialog-actions",""],["type","button","mat-button","",1,"medium","cancel",3,"click"],["type","button","mat-flat-button","","color","primary",1,"medium","confirm",3,"click","disabled"],["target","_blank",1,"bv2-rel-issue-id-link",3,"href"],["target","_blank",1,"keep-underline","bv2-rel-issue-title-link",3,"href"],[1,"bv2-rel-issue-title-link-txt"],["svgIcon","pop-out",1,"icon-xs"],["role","checkbox",
"tabindex","0","aria-label","Include subcomponents",1,"bv2-narrow-search-comp-btn","keep-focus-ring",3,"click","keyup.space","matTooltip"]],template:function(a,b){a&1&&(I(0,"h2",0),Q(1),J(),I(2,"div",1)(3,"div",2),D(4,tRa,3,0,"div",3)(5,uRa,6,3,"div",3),J(),I(6,"div",4)(7,"div",5),D(8,wRa,2,2,"div",6),I(9,"b-simple-issue-picker",7),M("keydown.enter",function(){return b.onEnter()})("entrySelect",function(c){b.selectedIssues=c})("queryChange",function(c){return b.onQueryChange(c)}),J()()()(),I(10,"div",
8)(11,"button",9),M("click",function(){return b.onPressCancel()}),Q(12," Cancel "),J(),I(13,"button",10),M("click",function(){return b.onPressConfirm()}),Q(14," Confirm "),J()());a&2&&(B(),R(" ",b.data.title,"\n"),B(3),G(b.selectedIssues.length>1?4:-1),B(),G(b.selectedIssues.length===1?5:-1),B(3),G(b.queryRestriction?8:-1),B(),sg("bv2-rel-issue-issue-picker-full-width",!!b.queryRestriction),E("defaultChoices",b.data.defaultChoices)("currentResource",b.data.currentResource)("allowMultipleIds",b.data.allowMultipleIds),
B(4),E("disabled",!b.selectedIssues.length))},dependencies:[pB,eB,jy,wI,yI,xI,mB,rB,OP],encapsulation:2});var QP=function(){};QP.\u0275fac=function(a){return new (a||QP)};QP.\u0275mod=Cf({type:QP});QP.\u0275inj=p({imports:[NP]});var RP=function(){};RP.\u0275fac=function(a){return new (a||RP)};RP.\u0275mod=Cf({type:RP});RP.\u0275inj=p({imports:[hC,lC,bz,WM,iP,QP,mC,XI,pC,BP]});var NFc=new zd("XapHatsSurveyApiKey"),OFc=new zd("XapHatsSurveyLocale"),PFc=new zd("XapHatsSurveyWindow"),QFc=new zd("XapHatsSurveyListnrProductId");var RFc=new Map([[0,1],[1,2]]),SFc={anchor:1,verticalMargin:0,horizontalMargin:0},SP=function(a,b,c,d,e){var f=function(){var h={apiKey:a,locale:c!=null?c:"en-US",window:d};h=Ebc(Jbc,"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 Ibc(h)};this.helpService=e?e.runOutsideAngular(f):f()},TFc=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 oe(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(Yf(function(f){return new oe(function(h){var l;a.helpService.presentSurvey({surveyData:f,colorScheme:d.theme?RFc.get(d.theme):1,authuser:e,customZIndex:(l=d.zIndex)!=null?l:1E4,customLogoUrl:d.customLogoUrl,productData:c,listener:{surveyClosed:function(){h.complete()},surveyPositioning:function(){return Object.assign({},
SFc,d.placement)}}});h.next(f.surveyMetadata)})}))};SP.\u0275fac=function(a){return new (a||SP)(pd(NFc),pd(QFc),pd(OFc,8),pd(PFc,8),pd(kh,8))};SP.\u0275prov=n({token:SP,factory:SP.\u0275fac,providedIn:"root"});var TP=function(){this.dialog=r(tI);this.analytics=r(OF);this.hatsService=r(SP);this.activeSession=r(Bu)};
TP.prototype.open=function(a,b){var c=this,d=UFc(a),e=d.dialog,f=d.config;return new Promise(function(h){nI(c.dialog.open(e,f)).subscribe(function(l){var q,u=(q=l==null?void 0:l.selectedIssueIds)!=null?q:[],A;l=(A=l==null?void 0:l.lastSearchType)!=null?A:"";A=[a.originIsBulk?"bulk":void 0,u.length>1?"search-multi":"search",a.edgeType].filter(Boolean).join("-");c.analytics.trackEvent("issuePicker",A,l);b==null||b(u);h(u);c.activeSession.isInternalSession()&&l==="id"&&TFc(c.hatsService,"etC5mMepi0g6pPHSLo10TaNs15gn").pipe(Nf()).subscribe()})})};
var UFc=function(a){var b={panelClass:"no-jitter",data:a};return a.edgeType==="canonical"?(b.width="60vw",b.minWidth="800px",{dialog:CM,config:b}):{dialog:PP,config:b}};TP.\u0275fac=function(a){return new (a||TP)};TP.\u0275prov=n({token:TP,factory:TP.\u0275fac,providedIn:"root"});var UP=function(){};UP.\u0275fac=function(a){return new (a||UP)};UP.\u0275mod=Cf({type:UP});UP.\u0275inj=p({imports:[RP,HP]});var VP=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(VP,V);VP.prototype.getDataCase=function(){return $l(this,VFc)};VP.prototype.getText=function(){return bm(this,2,VFc)};VP.prototype.setText=function(a){return em(this,2,VFc,a)};var VFc=[2,3,4,5,6,7,9,10];var WP=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(WP,V);WP.prototype.getPartsList=function(){return lk(this,VP,1,Uj())};WP.prototype.addParts=function(a){return Xu(this,1,VP,a)};WP.prototype.getRole=function(){return Kh(this,2)};WP.prototype.setRole=function(a){return ak(this,2,a)};var WFc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(WFc,V);WFc.prototype.setModel=function(a){return ak(this,1,a)};var xRa=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(xRa,V);g=xRa.prototype;g.getIndex=function(){return Xj(this,3)};g.setIndex=function(a){dl(this,3,a)};g.getContent=function(){return W(this,WP,1)};g.setContent=function(a){return X(this,WP,1,a)};g.hasContent=function(){return Jk(this,WP,1)};var Uq=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Uq,V);Uq.prototype.setCandidates=function(a,b){return Uu(this,1,xRa,a,b)};Uq.prototype.getModelVersion=function(){return Kh(this,4)};Uq.prototype.setModelVersion=function(a){return ak(this,4,a)};var XFc=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,XFc.messageId)};Y(XFc,V);XFc.messageId="b.GenerateContentResponse";var XP=function(){this.executor=r(NC)};XP.prototype.generate=function(a){var b;var c=(new WFc).setModel((b=a.model)!=null?b:"models/gemini-1.5-flash");a=(new WP).addParts((new VP).setText(a.prompt));c=Xu(c,2,WP,a);return this.executor.post({url:"/action/gemini/generate",body:c,responseConstructor:XFc}).then(yRa)};XP.\u0275fac=function(a){return new (a||XP)};XP.\u0275prov=n({token:XP,factory:XP.\u0275fac,providedIn:"root"});var YP=function(){var a=this;this.geminiApi=r(XP);this.issueFridge=r(hF);this.issueFullFridge=r(QF);this.getLlmResponse=xua(function(b){var c,d;return se(function(e){if(e.nextAddress==1)return c={prompt:b},y(e,a.geminiApi.generate(c),2);d=e.yieldResult;return e.return(d.output)})})},YFc=function(a,b){return b.length<3?Ae("Unknown (cluster is too small)"):Ne(function(){return a.issueFridge.watchSet(b)}).pipe(Yf(function(c){c="Analyze the following list of topics and summarize them into one common theme.Please respond in 2 to 3 words, plain text no markdown. Here's the list of topics: "+
c.map(function(d){return d.snapshot[0].title}).join("\n");return a.getLlmResponse(c)}))},$Fc=function(a,b,c){return Ne(function(){return Ie(b.map(function(d){return a.issueFridge.watchSet(d)})).pipe(Yf(function(d){d=d.map(function(e){return e.map(function(f){return f.snapshot[0].title})});return ZFc(a,d,c)}))})},ZFc=function(a,b,c){var d="";b=k(b);for(var e=b.next();!e.done;e=b.next())e=e.value,d+=c?"{team name: "+c+", titles:["+e.join(",")+"]}\n":"titles:["+e.join(",")+"]\n";var f='You are a software engineer at Google. Your task is to summarize a cluster of bugs ,tasks,\n        alerts and feature requests into a theme so that the reader can decide if they need to investigate them deeper.\n        All the bugs, tasks, alerts and feature requests come from the same team.\n        Theme names follows these rules:\n        1. In two to three words\n        2. Title Case: Every word starts with a capital letter (e.g., "Foo Bar"). Acronyms are allowed, e.g. "SRE Frontend".\n        3. Do not include the team name in the result.\n        Example Input:\n        {team name: Buganizer, titles: [dark mode needs more contrast, it is very hard to read text in dark mode, Please increase the contract of dark mode}\n        Example output:  Dark mode readability\n\n        Please follow the above rules and output the theme names in a list, split by \',\'. Make sure the output is in the same order as the input.\n        '+
d;return Ne(function(){return a.getLlmResponse(f)}).pipe(z(function(h){return h.split(",")}))},aGc=function(a,b){return b.length<3?Ae("Unknown (cluster is too small)"):Ne(function(){return a.issueFullFridge.watchSet(b)}).pipe(Yf(function(c){var d,e,f,h,l,q,u;return se(function(A){if(A.nextAddress==1)return d="<START>",e="<END>",f=c.map(function(F){var H;return"Task b/"+F.issueId+' has title "'+F.snapshot[0].title+'" and has description "'+((H=F.description)==null?void 0:H.unlinkifiedComment.substring(0,
100))+'"'}).join("\n"),h="\nYou are a world-class technical lead and manager in software engineering, tasked with summarizing a set of issues using data from a issue tracking tool. You will receive a list of issues including titles and descriptions.\n\nGeneral Information:\n\nIssues: Issues are stored in a system called Buganizer and are usually referred as b/<id>. All b/<id> are references to the same issue. http://b/<id> can be used to refer to a issue in summary.\n\nSteps to Follow:\n\n1. Understand Issue Context: Use the issue title and description to understand the nature of the issue. DO NOT include the titles or specific names of issues in the summary.\n2. Generate Summary:\n  - Start with a high-level overview of the issues, in one small sentence, focusing on the key accomplishments and outcomes. Summarize the issues and their impact, using concise and informative language. Don't include introductory phrases and additional formatting. Skip this if you don't find a common theme. Don't hallucinate.\n  - Use the format "+
d+" and "+e+" tags for the summary without additional headers.\n  - If you need to reference issues in the summary, you may do so by their IDs as http://b/<id>\n\nImportant: Ensure the summary is concise, informative, and does not include any issue titles or names.\n\nIssues, title and description:\n\n"+f+"\n\nOutput:\n",y(A,a.getLlmResponse(h),2);l=A.yieldResult;q=l.indexOf(d);u=l.indexOf(e);return A.return(l.substring(q+d.length,u).trim())})}))};YP.\u0275fac=function(a){return new (a||YP)};
YP.\u0275prov=n({token:YP,factory:YP.\u0275fac,providedIn:"root"});var ZP=function(a){var b=this;this.injector=a;this.clientDarkmode$=this.clientDarkmodeSubject=new Xi(!1);this.localDarkmode=!1;this.clientStreamzService=null;this.loadLocalDarkmode=function(){b.localDarkmode=window.localStorage.getItem("onedev-darkmode")!=null;bGc(b,b.localDarkmode);b.clientStreamzService&&Gqc(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")}},It=function(a){return a.clientDarkmodeSubject.getValue()};ZP.prototype.enableUsageTracking=function(){this.clientStreamzService=this.injector.get(eI)};var bGc=function(a,b){a.clientDarkmodeSubject.next(b);document.body.classList.toggle("dark-mode",b)};ZP.\u0275fac=function(a){return new (a||ZP)(pd(Ye))};ZP.\u0275prov=n({token:ZP,factory:ZP.\u0275fac});var cGc=Eu(["https://g3doc.corp.google.com/company/teams/buganizer/feedback-dialog/homepage-feedback-dark-mode.md"]),dGc=Eu(["https://g3doc.corp.google.com/company/teams/buganizer/feedback-dialog/homepage-feedback.md"]),eGc=Eu(["https://g3doc.corp.google.com/company/teams/buganizer/feedback-dialog/feedback-dark-mode.md"]),fGc=Eu(["https://g3doc.corp.google.com/company/teams/buganizer/feedback-dialog/feedback.md"]),$P=function(){var a=this;this.dialogRef=r(mI);this.darkmodeService=r(ZP);this.data=
r(sI);this.contentLoaded=!1;this.docUrl$=this.darkmodeService.clientDarkmode$.pipe(z(function(b){switch(a.data.type){case "HOMEPAGE":return b?zi(cGc):zi(dGc);default:return b?zi(eGc):zi(fGc)}}))};$P.\u0275fac=function(a){return new (a||$P)};
$P.\u0275cmp=C({type:$P,selectors:[["b-feedback-dialog"]],standalone:!1,decls:9,vars:4,consts:[["mat-dialog-content",""],["frameborder","0","allowtransparency","true",3,"loading","src"],["diameter","60"],["mat-dialog-actions",""],["type","button","mat-button","",1,"medium",3,"click"],["type","button","mat-flat-button","","color","primary",1,"medium","dialog-primary-action",3,"click"],["frameborder","0","allowtransparency","true",3,"load","src"]],template:function(a,b){a&1&&(I(0,"div",0),D(1,zRa,1,
3,"iframe",1),S(2,"async"),D(3,ARa,1,0,"mat-spinner",2),J(),I(4,"div",3)(5,"button",4),M("click",function(){return b.dialogRef.close(!1)}),Q(6," Cancel "),J(),I(7,"button",5),M("click",function(){return b.dialogRef.close(!0)}),Q(8," File a new issue "),J()());if(a&2){var c;B();G((c=U(2,2,b.docUrl$))?1:-1,c);B(2);G(b.contentLoaded?-1:3)}},dependencies:[yI,xI,eB,jy,rL,pL,ew],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 Wq=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Wq,V);g=Wq.prototype;g.getEnableSsEngine=function(){return Ak(this,2)};g.getEnableAwr=function(){return Ak(this,3)};g.getAlohaAutoGaRollout=function(){return Ak(this,5)};g.getEnableConfigurator=function(){return Ak(this,6)};g.getEnableMweb=function(){return Ak(this,7)};var hGc=function(){var a=gGc();return Cm(a,7,!0)};Wq.prototype.getEnableCtlConsentCheckbox=function(){return Ak(this,8)};
Wq.prototype.getEnableIframe=function(){return Ak(this,9)};var gGc=function(){var a=new Wq;a=Cm(a,5,!0);a=Cm(a,2,!0);a=Cm(a,4,!1);a=Cm(a,8,!0);return Cm(a,9,!0)};Wq.prototype.getEnableScreenshotNudge=function(){return Ak(this,10)};var iGc=function(){var a=hGc();return Cm(a,10,!0)};Wq.prototype.getEnableWebStartupConfigEndpoint=function(){return Ak(this,11)};Wq.prototype.getEnableJunkNudge=function(){return Ak(this,12)};var RRa=function(){var a=iGc();return Cm(a,12,!0)};g=Wq.prototype;
g.getEnableConfiguratorLocale=function(){return Ak(this,13)};g.getEnableTinyNoPointer=function(){return Ak(this,14)};g.getEnableSupportSessionLogging=function(){return Ak(this,15)};g.getEnableFileUploadForScreenshot=function(){return Ak(this,16)};g.getEnableDirectDeflectionForSingleCategory=function(){return Ak(this,17)};g.getEnableImageSanitization=function(){return Ak(this,18)};g.getEnableAlohaBinarySplit=function(){return Ak(this,19)};g.getEnableDbFeedbackIntents=function(){return Ak(this,20)};
g.getEnableMarkMandatoryFieldsWithRequired=function(){return Ak(this,21)};g.getEnableFeedbackCategoryCustomUi=function(){return Ak(this,22)};g.getEnableRealtimeCtl=function(){return Ak(this,23)};var QRa=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(QRa,V);var BRa=[/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 DRa="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 ERa=Eu(["https://www.gstatic.com/uservoice/feedback/client/web/","/main_light_binary.js"]),FRa=Eu(["https://www.gstatic.com/uservoice/feedback/client/web/","/main_binary__",".js"]);var HRa,JRa;var jGc=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 kGc=function(){};var lGc,mGc=function(){};Nu(mGc,kGc);mGc.prototype.createInstance=function(){return new XMLHttpRequest};lGc=new mGc;var lr=function(a){Jq.call(this);this.headers=new Map;this.xmlHttpFactory_=a||null;this.active_=!1;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};Nu(lr,Jq);
var nGc=/^https?$/i,oGc=["POST","PUT"],pGc=[],PRa=function(a,b,c,d,e,f,h){var l=new lr;pGc.push(l);b&&l.listen("complete",b);l.listenOnce("ready",l.cleanupSend_);f&&(l.timeoutInterval_=Math.max(0,f));h&&(l.withCredentials_=h);l.send(a,c,d,e);return l};g=lr.prototype;g.cleanupSend_=function(){this.dispose();Ta(pGc,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("me`"+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.xhr_.onreadystatechange=Sz(Lu(this.onReadyStateChange_,this));try{this.inOpen_=!0,this.xhr_.open(b,String(a),!0),this.inOpen_=!1}catch(h){this.error_(5,h);return}a=c||"";c=new Map(this.headers);if(d)if(Object.getPrototypeOf(d)===Object.prototype)for(var e in d)c.set(e,
d[e]);else if(typeof d.keys==="function"&&typeof d.get==="function"){e=k(d.keys());for(var f=e.next();!f.done;f=e.next())f=f.value,c.set(f,d.get(f))}else throw Error("ne`"+String(d));d=Array.from(c.keys()).find(function(h){return"content-type"==h.toLowerCase()});e=ya.FormData&&a instanceof ya.FormData;!(Qa(oGc,b)>=0)||d||e||c.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");b=k(c);for(d=b.next();!d.done;d=b.next())c=k(d.value),d=c.next().value,c=c.next().value,this.xhr_.setRequestHeader(d,
c);this.responseType_&&(this.xhr_.responseType=this.responseType_);"withCredentials"in this.xhr_&&this.xhr_.withCredentials!==this.withCredentials_&&(this.xhr_.withCredentials=this.withCredentials_);if("setTrustToken"in this.xhr_&&this.trustToken_)try{this.xhr_.setTrustToken(this.trustToken_)}catch(h){}if("setAttributionReporting"in this.xhr_&&this.attributionReportingOptions_)try{this.xhr_.setAttributionReporting(this.attributionReportingOptions_)}catch(h){}try{this.timeoutId_&&(clearTimeout(this.timeoutId_),
this.timeoutId_=null),this.timeoutInterval_>0&&(this.timeoutId_=setTimeout(this.timeout_.bind(this),this.timeoutInterval_)),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():lGc.createInstance()};g.timeout_=function(){typeof H2b!="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;qGc(this);rGc(this)};var qGc=function(a){a.errorDispatched_||(a.errorDispatched_=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};lr.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"),rGc(this))};
lr.prototype.disposeInternal=function(){this.xhr_&&(this.active_&&(this.active_=!1,this.inAbort_=!0,this.xhr_.abort(),this.inAbort_=!1),rGc(this,!0));lr.superClass_.disposeInternal.call(this)};lr.prototype.onReadyStateChange_=function(){if(!this.isDisposed())if(this.inOpen_||this.inSend_||this.inAbort_)sGc(this);else this.onReadyStateChangeEntryPoint_()};lr.prototype.onReadyStateChangeEntryPoint_=function(){sGc(this)};
var sGc=function(a){if(a.active_&&typeof H2b!="undefined")if(a.inSend_&&a.getReadyState()==4)setTimeout(a.onReadyStateChange_.bind(a),0);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()+"]";qGc(a)}}finally{rGc(a)}}},rGc=function(a,b){if(a.xhr_){a.timeoutId_&&(clearTimeout(a.timeoutId_),
a.timeoutId_=null);var c=a.xhr_;a.xhr_=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=null}catch(d){}}};g=lr.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(ctc)[1]||null,!a&&ya.self&&ya.self.location&&(a=ya.self.location.protocol.slice(0,-1)),a=!nGc.test(a?a.toLowerCase():"");b=a}return b};g.getReadyState=function(){return this.xhr_?this.xhr_.readyState:0};g.getStatus=function(){try{return this.getReadyState()>2?this.xhr_.status:-1}catch(a){return-1}};
g.getLastUri=function(){return String(this.lastUri_)};g.getResponseText=function(){try{return this.xhr_?this.xhr_.responseText:""}catch(a){return""}};g.getResponseJson=function(a){if(this.xhr_){var b=this.xhr_.responseText;a&&b.indexOf(a)==0&&(b=b.substring(a.length));a:{a=b;if(ya.JSON)try{var c=ya.JSON.parse(a);break a}catch(d){}c=oBc(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(!St(b[c])){var d=L4b(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 gea(a,function(h){return h.join(", ")})};var Gr=function(a,b){return a.xhr_?a.xhr_.getResponseHeader(b):null};lr.prototype.getLastErrorCode=function(){return this.lastErrorCode_};
lr.prototype.getLastError=function(){return typeof this.lastError_==="string"?this.lastError_:String(this.lastError_)};Rac(function(a){lr.prototype.onReadyStateChangeEntryPoint_=a(lr.prototype.onReadyStateChangeEntryPoint_)});var tGc=function(a,b,c){a.timeOfStartCall=(new Date).getTime();var d=c||ya,e=d.document,f=a.nonce||Eea(d.document);f&&!a.nonce&&(a.nonce=f);if(a.flow=="help"){var h=Eq("document.location.href",d);!a.helpCenterContext&&h&&(a.helpCenterContext=h.substring(0,1200));h=!0;if(b&&JSON&&JSON.stringify){var l=JSON.stringify(b);(h=l.length<=1200)&&(a.psdJson=l)}h||(b={invalidPsd:!0})}b=[a,b,c];d.GOOGLE_FEEDBACK_START_ARGUMENTS=b;c=a.feedbackServerUri||"//www.google.com/tools/feedback";if(h=d.GOOGLE_FEEDBACK_START)h.apply(d,
b);else{d=c+"/load.js?";for(var q in a)b=a[q],b==null||Ya(b)||(d+=encodeURIComponent(q)+"="+encodeURIComponent(b)+"&");a=Mq(e).createElement("SCRIPT");f&&a.setAttribute("nonce",f);Yc(a,Lc(d));e.body.appendChild(a)}},uGc=function(a,b,c,d){var e,f;se(function(h){e=c||ya;var l=a.serverEnvironment==="DEV",q=c||ya;q=a.nonce||Eea(q.document);l={integrationKeys:{productId:a.productId,feedbackBucket:a.bucket,triggerId:a.triggerId},callbacks:{onClose:a.callback,onLoad:a.onLoadCallback},formContent:{locale:a.locale,
disableScreenshot:a.disableScreenshotting,productDisplayName:void 0,announcement:void 0,issueCategories:void 0,includeSeveritySelection:void 0,customImageSrc:void 0,thankYouMessage:void 0,userEmail:void 0,defaultFormInputValues:void 0,defaultFormInputValuesString:void 0,abuseLink:a.abuseLink,additionalDataConsent:a.additionalDataConsent},initializationData:{isLocalServer:l,nonce:q,useNightlyRelease:l,feedbackJsUrl:void 0,feedbackCssUrl:void 0,feedbackJsUrlSerialized:void 0,feedbackCssUrlSerialized:void 0,
submissionServerUri:a.feedbackServerUri,colorScheme:a.colorScheme},extraData:{productVersion:a.productVersion,authUser:a.authuser,configuratorId:a.configuratorId,customZIndex:a.customZIndex,tinyNoPointer:a.tinyNoPointer,allowNonLoggedInFeedback:a.allowNonLoggedInFeedback,enableAnonymousFeedback:a.enableAnonymousFeedback}};b&&(q=new Map(Object.entries(b)),l.extraData.productSpecificData=q);f=l;return y(h,NRa(f,d,e),0)})},vGc=function(a,b,c){try{if(a.flow==="help"){var d=a.helpCenterPath.replace(/^\//,
"");Xc(c||window,"https://support.google.com/"+d)}else a.flow==="submit"?tGc(a,b,c):SRa(a.productId,a.feedbackServerUri).then(function(e){e=W(e,Wq,1);var f=!p3b||(e==null?void 0:e.getEnableMweb()),h=!a.tinyNoPointer||(e==null?void 0:e.getEnableTinyNoPointer());!e||e.getAlohaAutoGaRollout()&&f&&h?uGc(a,b,c,e):tGc(a,b,c)},function(e){e&&e.name!=="DuplicateFormError"&&tGc(a,b,c)})}catch(e){uGc(a,b,c,null)}};O2b("userfeedback.api.startFeedback",vGc);var wGc={width:"500px",maxHeight:"80vh",autoFocus:!1},xGc=new Date,aQ=function(){this.activeSession=r(Bu);this.matDialog=r(tI);this.reportStartTime=new Date};aQ.prototype.startFeedback=function(){var a=this;this.reportStartTime=new Date;this.activeSession.isInternalSession()?nI(this.matDialog.open($P,Object.assign({},wGc,{height:"640px",data:{type:"DEFAULT"}}))).subscribe(function(b){b&&yGc(a)}):yGc(this)};
var zGc=function(a){a.reportStartTime=new Date;a.activeSession.isInternalSession()?nI(a.matDialog.open($P,Object.assign({},wGc,{height:"400px",data:{type:"HOMEPAGE"}}))).subscribe(function(b){b&&yGc(a)}):yGc(a)},yGc=function(a){var b={productId:92912,nonce:a.activeSession.getCspNonce(),productVersion:"buganizer.frontend_20250108.09_p1"};b.bucket=Hp(a.activeSession)?"buganizer-trackers-feedback":"buganizer3-feedback";for(var c=[],d=c.concat,e=t([]),f=[],h=k(a.activeSession.session.config.enabledFlags),
l=h.next();!l.done;l=h.next()){var q=k(l.value);l=q.next().value;(q=q.next().value)&&f.push(l)}c=d.call(c,e,t(f)).join(", ");c={userType:a.activeSession.getUserTypeLabel(),flags:c};if(Hp(a.activeSession)){var u,A;c.trackerId=(A=(u=a.activeSession.getTracker())==null?void 0:u.trackerId)!=null?A:""}c.initialLoadTime=TRa(xGc);c.reportStartTime=TRa(a.reportStartTime);vGc(b,c)};aQ.\u0275fac=function(a){return new (a||aQ)};aQ.\u0275prov=n({token:aQ,factory:aQ.\u0275fac,providedIn:"root"});var AGc=["actionsMenuIconButton"],bQ=function(){this.buttonLabel="";this.buttonIcon="more-settings-vertical";this.menuClass="actions-menu"};bQ.prototype.onAction=function(a,b){return se(function(c){if(a.type==="mouseup"&&a instanceof MouseEvent&&a.button!==1)return c.return();b.type!=="action"&&b.type!=="select"||b.action(a);xe(c)})};bQ.prototype.ngOnInit=function(){};bQ.\u0275fac=function(a){return new (a||bQ)};
bQ.\u0275cmp=C({type:bQ,selectors:[["b-actions-menu"]],viewQuery:function(a,b){a&1&&Rg(AGc,5);if(a&2){var c;Vg(c=Wg())&&(b.actionsMenuIconButton=c.first)}},inputs:{menuItems:"menuItems",buttonLabel:"buttonLabel",buttonIcon:"buttonIcon",header:"header",menuClass:"menuClass"},standalone:!1,decls:7,vars:5,consts:[["menu","matMenu"],["actionsMenuIconButton",""],["submenu","matMenu"],["type","button","mat-icon-button","","aria-haspopup","true",1,"medium",3,"matTooltip","matMenuTriggerFor"],[1,"b-actions-menu-panel"],
[1,"bv2-menu-header"],[1,"icon-s",3,"svgIcon"],["type","button","mat-menu-item","",3,"matMenuTriggerFor"],[1,"hint"],["type","button","mat-menu-item","",3,"disabled","ngClass"],["type","button","mat-menu-item","","role","menuitemcheckbox",3,"b-menu-item-checked","disabled","ngClass"],["type","button","mat-menu-item","",3,"click","mouseup","disabled","ngClass"],["type","button","mat-menu-item","","role","menuitemcheckbox",3,"click","mouseup","disabled","ngClass"],[1,"b-menu-item-check-mark"],["svgIcon",
"done",1,"icon-s"]],template:function(a,b){a&1&&(D(0,URa,3,4,"button",3),I(1,"mat-menu",null,0)(3,"div",4),D(4,VRa,2,1,"div",5),yg(5,iSa,2,2,null,null,wg),J()());a&2&&(G(b.menuItems.length>0?0:-1),B(),vg("",b.menuClass,"-menu"),B(3),G(b.header?4:-1),B(),zg(b.menuItems))},dependencies:[xL,IL,GL,JL,aw,pB,eB,ly,mB,rB],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 BGc={type:"action",label:"Report illegal content"},CGc={type:"submenu",label:"View as"},DGc={type:"action",label:"Restriction settings..."},EGc={type:"action",label:"Show editing history"};var FGc=function(a){return{"has-reacted-icon":a}},cQ=function(){Z.apply(this,arguments);var a=this;this.triageService=r(YG);this.llmService=r(YP);this.issueFridge=r(hF);this.issuePermissionService=r(gJ);this.issuePicker=r(TP);this.issueApi=r(ME);this.errorHandler=r(CI);this.butterBar=r(fH);this.domSafe=r(NH);this.analytics=r(OF);this.userFeedback=r(aQ);this.isClosed=sxa;this.thumbsDownClicked=this.thumbsUpClicked=this.hasReacted=!1;this.trackBy=function(b,c){return c.id};this.issueIds$=this.triageService.currentIssueIds$;
this.hasAclToEdit$=this.issuePermissionService.hasAclToEdit$;this.title$=this.issueIds$.pipe(Yf(function(b){return YFc(a.llmService,b)}));this.clusterDescription$=this.issueIds$.pipe(Yf(function(b){return aGc(a.llmService,b)}));this.rows$=this.issueIds$.pipe(z(function(b){return b.map(function(c){return{id:c,issue$:a.issueFridge.watch(c)}})}));this.searchUrl$=this.issueIds$.pipe(z(function(b){return{path:"/issues",params:{q:"id:("+b.join("|")+")"}}}));this.refreshTable=new aB;this.checkedIssueIds=
new IC;this.areAllChecked$=Ie([this.issueIds$,this.checkedIssueIds.value$]).pipe(z(function(b){var c=k(b);b=c.next().value;var d=c.next().value;return b.every(function(e){return d.has(e)})}));this.tableColumns=["checkbox","title","phase","relativeModifiedTime","menu"]};Y(cQ,Z);cQ.\u0275dir=Z.\u0275dir;g=cQ.prototype;g.ngOnInit=function(){var a=this,b;return se(function(c){if(c.nextAddress==1)return y(c,Fe(a.issueIds$),2);b=c.yieldResult;a.checkedIssueIds.reset(b);xe(c)})};
g.toggleAll=function(a){var b=this,c;return se(function(d){if(d.nextAddress==1)return y(d,Fe(b.issueIds$),2);c=d.yieldResult;a.checked?b.checkedIssueIds.reset(c):b.checkedIssueIds.reset([]);xe(d)})};
g.openDupeDialog=function(){var a=this,b,c,d,e,f,h,l;return se(function(q){if(q.nextAddress==1)return b=[].concat(t(a.checkedIssueIds)),c=Txa,y(q,Fe(a.issueFridge.watchSet(b)),2);if(q.nextAddress!=3)return d=c(q.yieldResult),e=k,y(q,a.issuePicker.open({componentId:d||null,allowMultipleIds:!1,edgeType:"canonical",originIsBulk:!0}),3);f=e(q.yieldResult);return(l=h=f.next().value)?y(q,a.markAsDuplicate(l,b),0):q.return()})};
g.getMenuItems=function(a){var b=this;return[{type:"action",label:"Go to issue",action:function(){b.domSafe.openInNewTab(Qq.viewIssue.makeHref(a.id))},title:"Go to issue",icon:"arrow-forward"},{type:"action",label:"Mark selected issues as duplicate of this one",action:function(){var c=[].concat(t(b.checkedIssueIds));b.markAsDuplicate(a.id,c.filter(function(d){return d!==a.id}))},title:"Mark selected issues as duplicate of this one",icon:"issue-status-duplicate"}]};
g.markAsDuplicate=function(a,b){var c=this,d,e;return se(function(f){switch(f.nextAddress){case 1:return d={bulkEditOps:[{actions:[{fieldName:"duplicateOfIssueId",value:a}],issueIds:b}]},te(f,2,3),jq(c.butterBar,"Saving..."),y(f,c.issueApi.issueBulkEdit(d),5);case 5:jq(c.butterBar,"Marked "+b.length+" issues as duplicate.");case 3:return ue(f),y(f,Promise.all([].concat(t(b.map(function(h){return c.issueFridge.poke(h)})),[c.issueFridge.poke(a)])),6);case 6:ve(f,0);break;case 2:e=we(f),EI(c.errorHandler,
e),f.jumpTo(3)}})};g.trackThumbsUp=function(){this.thumbsUpClicked=this.hasReacted=!0;this.analytics.trackEvent("issueCluster","accept","trendingThemes")};g.trackThumbsDown=function(){this.thumbsDownClicked=this.hasReacted=!0;this.analytics.trackEvent("issueCluster","reject","trendingThemes")};cQ.\u0275fac=function(){var a;return function(b){return(a||(a=ee(cQ)))(b||cQ)}}();
cQ.\u0275cmp=C({type:cQ,selectors:[["cluster-triage-sidebar"]],outputs:{refreshTable:"refreshTable"},standalone:!1,features:[cg],decls:52,vars:32,consts:[[1,"container","bg-secondary","flex-kids-y"],[1,"flex-kids-x","space-between","border-bottom","bg-main","align-items-center"],["chipColor","purple","displayText","Trending themes","icon","issue-status-new","tooltip","Trending theme identified by AI",1,"margin-s-left"],["type","button","mat-icon-button","","matTooltip","Close sidebar","aria-label",
"Close sidebar",1,"gmat-button","margin-left-auto",3,"click"],["svgIcon","close"],[1,"content","flex-kids-y","margin-s"],[1,"flex-kids-x","space-between","full-width"],[1,"heading-m"],[1,"type-s"],[1,"flex-kids-x","gap-s"],["type","button","mat-icon-button","","matTooltip","Send feedback for the trending themes","aria-label","send feedback for the trending themes",1,"feedback-button",3,"click"],["svgIcon","feedback-outline",1,"icon-s"],["type","button","mat-icon-button","","matTooltip","Trending themes are helpful",
"aria-label","thumb up",1,"feedback-button",3,"click","disabled"],["svgIcon","thumb_up_24px",1,"icon-s",3,"ngClass"],["type","button","mat-icon-button","","matTooltip","Trending themes are not helpful","aria-label","thumb down",1,"feedback-button",3,"click","disabled"],["svgIcon","thumb_down_24px",1,"icon-s",3,"ngClass"],[1,"bg-main","rounded","bordered","flex-kids-y","margin-s-y","gap-xs"],[1,"description","border-bottom","padded"],[1,"padded"],[1,"muted"],["mat-table","",1,"full-width",3,"dataSource",
"trackBy"],["matColumnDef","checkbox"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","title"],["matColumnDef","phase"],["matColumnDef","relativeModifiedTime"],["mat-header-cell","","mat-sort-header","relativeModifiedTime","start","desc","class","nowrap",4,"matHeaderCellDef"],["mat-cell","","class","nowrap",4,"matCellDef"],["matColumnDef","menu"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",3,"closed",4,"matRowDef","matRowDefColumns"],["mat-button",
"","color","primary",1,"small","width-fit-content","margin-s-top",3,"routerLink","queryParams"],[1,"bg-main","carded","flex-kids-x","align-items-center","margin-s"],["type","button","mat-button","","matTooltip","Mark selected issues as duplicate",1,"gmat-button",3,"click","disabled"],[1,"muted","uppercase"],[1,"margin-s-top"],["mat-header-cell",""],["gmat-checkbox","",3,"change","checked","indeterminate"],["mat-cell",""],["gmat-checkbox","",3,"change","checked"],["anchorTarget","_blank",3,"issue",
"enableHovercard"],[1,"chippy"],["mat-header-cell","","mat-sort-header","relativeModifiedTime","start","desc",1,"nowrap"],["mat-cell","",1,"nowrap"],[3,"timestamp","mode","paddingLeftPx"],["buttonLabel","More options","buttonIcon","more-settings-vertical","menuClass","issue-cluster-options",3,"click","menuItems"],["mat-header-row",""],["mat-row",""]],template:function(a,b){if(a&1){var c=v();I(0,"div",0)(1,"div",1);K(2,"b-signal-chip",2);I(3,"button",3);M("click",function(){w(c);return x(b.triageService.closeSidebar())});
K(4,"mat-icon",4);J()();I(5,"div",5)(6,"div",6)(7,"h3",7);Q(8);S(9,"async");S(10,"async");J();K(11,"span",8);I(12,"div",9)(13,"button",10);M("click",function(){w(c);yGc(b.userFeedback);return x()});K(14,"mat-icon",11);J();I(15,"button",12);M("click",function(){w(c);return x(b.trackThumbsUp())});K(16,"mat-icon",13);J();I(17,"button",14);M("click",function(){w(c);return x(b.trackThumbsDown())});K(18,"mat-icon",15);J()()();I(19,"div",16);D(20,lSa,5,1,"div",17);S(21,"async");I(22,"div",18)(23,"span",
19);Q(24,"Select issues to take action");J();I(25,"table",20);Ag(26,21);D(27,mSa,4,6,"th",22)(28,nSa,3,3,"td",23);Bg();Ag(29,24);D(30,oSa,2,0,"th",22)(31,pSa,3,4,"td",23);Bg();Ag(32,25);D(33,qSa,2,0,"th",22)(34,wSa,3,3,"td",23);Bg();Ag(35,26);D(36,xSa,2,0,"th",27)(37,ASa,3,3,"td",28);Bg();Ag(38,29);D(39,BSa,1,0,"th",22)(40,CSa,2,1,"td",23);Bg();D(41,DSa,1,0,"tr",30)(42,ESa,2,4,"tr",31);J();D(43,FSa,2,2,"a",32);S(44,"async");J()()();I(45,"div",33)(46,"button",34);S(47,"async");S(48,"async");M("click",
function(){w(c);return x(b.openDupeDialog())});Gg(49);S(50,"async");Q(51);J()()()}if(a&2){var d,e,f;B(8);Zg("",U(9,14,b.title$)," (",(d=U(10,16,b.issueIds$))==null?null:d.length," issues)");B(7);E("disabled",b.hasReacted);B();E("ngClass",eh(28,FGc,b.thumbsUpClicked));B();E("disabled",b.hasReacted);B();E("ngClass",eh(30,FGc,b.thumbsDownClicked));B(2);G((e=U(21,18,b.clusterDescription$))?20:-1,e);B(5);E("dataSource",b.rows$)("trackBy",b.trackBy);B(16);E("matHeaderRowDef",b.tableColumns);B();E("matRowDefColumns",
b.tableColumns);B();G((f=U(44,20,b.searchUrl$))?43:-1,f);B(3);E("disabled",!U(47,22,b.hasAclToEdit$)||!U(48,24,b.checkedIssueIds.size$));a=U(50,26,b.checkedIssueIds.size$)||0;B(5);R(" Mark ",a===1?"1 issue":a>1?a+" issues":""," as duplicate ")}},dependencies:[bQ,aw,pB,VA,iH,eB,ky,jy,ly,RH,SH,zL,BM,oM,uM,qM,nM,wM,rM,tM,xM,zM,mB,rB,mL,FM,ew],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)}.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}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%]:focus, tr.closed[_ngcontent-%COMP%]   td.mat-mdc-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, tr.closed[_ngcontent-%COMP%]   td.mat-mdc-footer-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus, tr.closed[_ngcontent-%COMP%]   td.mat-mdc-footer-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{color:#1a73e8;color:var(--link)}  div.mat-mdc-menu-panel.issue-cluster-options-menu{max-width:350px}  div.mat-mdc-menu-panel.issue-cluster-options-menu .mat-mdc-menu-content button.mat-mdc-menu-item{width:350px}.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)}"]});var GGc=["button"],dQ=function(){this.color="primary";this.format="hairline";this.disabled=!1;this.size="medium";this.onAction=new aB};dQ.prototype.onClick=function(a){this.onAction.emit(a)};dQ.prototype.focus=function(){this.nativeButton.focus()};dQ.\u0275fac=function(a){return new (a||dQ)};
dQ.\u0275cmp=C({type:dQ,selectors:[["b-button"]],viewQuery:function(a,b){a&1&&Rg(GGc,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"},standalone:!1,ngContentSelectors:["*"],decls:7,vars:1,consts:[["buttonContent",""],["button",""],["type","button","mat-stroked-button","",3,"color","disabled","ngClass","matTooltip"],["type",
"button","mat-button","",3,"color","disabled","ngClass","matTooltip"],["type","button","mat-flat-button","",3,"color","disabled","ngClass","matTooltip"],["type","button","mat-icon-button","",3,"color","disabled","ngClass","matTooltip"],["type","button","mat-stroked-button","",3,"click","color","disabled","ngClass","matTooltip"],[4,"ngTemplateOutlet"],["type","button","mat-button","",3,"click","color","disabled","ngClass","matTooltip"],["type","button","mat-flat-button","",3,"click","color","disabled",
"ngClass","matTooltip"],["type","button","mat-icon-button","",3,"click","color","disabled","ngClass","matTooltip"]],template:function(a,b){a&1&&(Ig(),D(0,GSa,1,0,"ng-template",null,0,ih)(2,ISa,3,7,"button",2)(3,KSa,3,7,"button",3)(4,MSa,3,7,"button",4)(5,OSa,3,7,"button",5)(6,QSa,3,7,"button",2));if(a&2){var c;B(2);G((c=b.format)==="hairline"?2:c==="flat"?3:c==="fill"?4:c==="icon"?5:6)}},dependencies:[eB,jy,ly,mB,rB,aw,dw],encapsulation:2,changeDetection:0});var eQ=function(){};eQ.\u0275fac=function(a){return new (a||eQ)};eQ.\u0275mod=Cf({type:eQ});eQ.\u0275inj=p({imports:[mC,pC,lC]});var HGc=new zd("GMAT_SLIDE_TOGGLE_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var fQ=function(a){this.options=a};fQ.\u0275fac=function(a){return new (a||fQ)(hf(HGc))};fQ.\u0275dir=Df({type:fQ,selectors:[["mat-slide-toggle"]],hostVars:2,hostBindings:function(a,b){a&2&&sg("gmat-mdc-slide-toggle",!b.options.disableGmatStyle)},standalone:!1});var IGc=new zd("mat-slide-toggle-default-options",{providedIn:"root",factory:function(){return{disableToggleValue:!1,hideIcon:!1,disabledInteractive:!1}}});var JGc=["switch"],KGc={provide:Ay,useExisting:ld(function(){return gQ}),multi:!0},LGc=function(a,b){this.source=a;this.checked=b},gQ=function(){this._elementRef=r(ef);this._focusMonitor=r(ww);this._changeDetectorRef=r(Ov);this.defaults=r(IGc);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 Dv;this.toggleChange=new Dv;r(Aw).load(Ux);var a=r(new sv("tabindex"),{optional:!0}),b=this.defaults,c=r(Gv,{optional:!0});this.tabIndex=a==null?0:parseInt(a)||0;this.color=b.color||"accent";this._noopAnimations=c==="NoopAnimations";this.id=this._uniqueId=r(Ww).getId("mat-mdc-slide-toggle-");var d;this.hideIcon=(d=b.hideIcon)!=null?d:!1;var e;this.disabledInteractive=(e=b.disabledInteractive)!=null?e:!1;this._labelId=this._uniqueId+"-label"};g=gQ.prototype;
g._createChangeEvent=function(a){return new LGc(this,a)};g.focus=function(){this._switchElement.nativeElement.focus()};g.ngAfterContentInit=function(){var a=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(b){b==="keyboard"||b==="program"?(a._focused=!0,a._changeDetectorRef.markForCheck()):b||Promise.resolve().then(function(){a._focused=!1;a._onTouched();a._changeDetectorRef.markForCheck()})})};g.ngOnChanges=function(a){a.required&&this._validatorOnChange()};g.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef)};
g.writeValue=function(a){this.checked=!!a};g.registerOnChange=function(a){this._onChange=a};g.registerOnTouched=function(a){this._onTouched=a};g.validate=function(a){return this.required&&a.value!==!0?{required:!0}:null};g.registerOnValidatorChange=function(a){this._validatorOnChange=a};g.setDisabledState=function(a){this.disabled=a;this._changeDetectorRef.markForCheck()};g.toggle=function(){this.checked=!this.checked;this._onChange(this.checked)};
g._emitChangeEvent=function(){this._onChange(this.checked);this.change.emit(this._createChangeEvent(this.checked))};g._handleClick=function(){this.disabled||(this.toggleChange.emit(),this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new LGc(this,this.checked))))};g._getAriaLabelledBy=function(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId};
da.Object.defineProperties(gQ.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"}}});gQ.\u0275fac=function(a){return new (a||gQ)};
gQ.\u0275cmp=C({type:gQ,selectors:[["mat-slide-toggle"]],viewQuery:function(a,b){a&1&&Rg(JGc,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&&(Dg("id",b.id),jg("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),tg(b.color?"mat-"+b.color:""),sg("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",uh],color:"color",disabled:[2,"disabled","disabled",uh],disableRipple:[2,"disableRipple","disableRipple",uh],tabIndex:[2,"tabIndex","tabIndex",function(a){return a==null?0:vh(a)}],checked:[2,"checked","checked",uh],hideIcon:[2,"hideIcon","hideIcon",uh],disabledInteractive:[2,"disabledInteractive",
"disabledInteractive",uh]},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],features:[ch([KGc,{provide:By,useExisting:gQ,multi:!0}]),dg,rv],ngContentSelectors:["*"],decls:13,vars:27,consts:[["switch",""],["mat-internal-form-field","",3,"labelPosition"],["role","switch","type","button",1,"mdc-switch",3,"click","tabIndex","disabled"],[1,"mdc-switch__track"],[1,"mdc-switch__handle-track"],[1,"mdc-switch__handle"],[1,"mdc-switch__shadow"],[1,"mdc-elevation-overlay"],[1,
"mdc-switch__ripple"],["mat-ripple","",1,"mat-mdc-slide-toggle-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-switch__icons"],[1,"mdc-label",3,"click","for"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--on"],["d","M19.69,5.23L8.96,15.96l-4.23-4.23L2.96,13.5l6,6L21.46,7L19.69,5.23z"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--off"],["d","M20 13H4v-2h16v2z"]],template:function(a,
b){if(a&1){var c=v();Ig();I(0,"div",1)(1,"button",2,0);M("click",function(){w(c);return x(b._handleClick())});K(3,"span",3);I(4,"span",4)(5,"span",5)(6,"span",6);K(7,"span",7);J();I(8,"span",8);K(9,"span",9);J();D(10,RSa,5,0,"span",10);J()()();I(11,"label",11);M("click",function(d){w(c);return x(d.stopPropagation())});Jg(12);J()()}a&2&&(a=L(2),E("labelPosition",b.labelPosition),B(),sg("mdc-switch--selected",b.checked)("mdc-switch--unselected",!b.checked)("mdc-switch--checked",b.checked)("mdc-switch--disabled",
b.disabled)("mat-mdc-slide-toggle-disabled-interactive",b.disabledInteractive),E("tabIndex",b.disabled&&!b.disabledInteractive?-1:b.tabIndex)("disabled",b.disabled&&!b.disabledInteractive),jg("id",b.buttonId)("name",b.name)("aria-label",b.ariaLabel)("aria-labelledby",b._getAriaLabelledBy())("aria-describedby",b.ariaDescribedby)("aria-required",b.required||null)("aria-checked",b.checked)("aria-disabled",b.disabled&&b.disabledInteractive?"true":null),B(8),E("matRippleTrigger",a)("matRippleDisabled",
b.disableRipple||b.disabled)("matRippleCentered",!0),B(),G(b.hideIcon?-1:10),B(),E("for",b.buttonId),jg("id",b._labelId))},dependencies:[Xx,Vx],styles:['.mdc-switch{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;margin:0;outline:none;overflow:visible;padding:0;position:relative;width:var(--mdc-switch-track-width, 52px)}.mdc-switch.mdc-switch--disabled{cursor:default;pointer-events:none}.mdc-switch.mat-mdc-slide-toggle-disabled-interactive{pointer-events:auto}.mdc-switch__track{overflow:hidden;position:relative;width:100%;height:var(--mdc-switch-track-height, 32px);border-radius:var(--mdc-switch-track-shape, var(--mat-sys-corner-full))}.mdc-switch--disabled.mdc-switch .mdc-switch__track{opacity:var(--mdc-switch-disabled-track-opacity, 0.12)}.mdc-switch__track::before,.mdc-switch__track::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";height:100%;left:0;position:absolute;width:100%;border-width:var(--mat-switch-track-outline-width, 2px);border-color:var(--mat-switch-track-outline-color, var(--mat-sys-outline))}.mdc-switch--selected .mdc-switch__track::before,.mdc-switch--selected .mdc-switch__track::after{border-width:var(--mat-switch-selected-track-outline-width, 2px);border-color:var(--mat-switch-selected-track-outline-color, transparent)}.mdc-switch--disabled .mdc-switch__track::before,.mdc-switch--disabled .mdc-switch__track::after{border-width:var(--mat-switch-disabled-unselected-track-outline-width, 2px);border-color:var(--mat-switch-disabled-unselected-track-outline-color, var(--mat-sys-on-surface))}@media(forced-colors: active){.mdc-switch__track{border-color:currentColor}}.mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0);background:var(--mdc-switch-unselected-track-color, var(--mat-sys-surface-variant))}.mdc-switch--selected .mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch--selected .mdc-switch__track::before{transform:translateX(-100%)}.mdc-switch--selected .mdc-switch__track::before{opacity:var(--mat-switch-hidden-track-opacity, 0);transition:var(--mat-switch-hidden-track-transition, opacity 75ms)}.mdc-switch--unselected .mdc-switch__track::before{opacity:var(--mat-switch-visible-track-opacity, 1);transition:var(--mat-switch-visible-track-transition, opacity 75ms)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-hover-track-color, var(--mat-sys-surface-variant))}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-focus-track-color, var(--mat-sys-surface-variant))}.mdc-switch:enabled:active .mdc-switch__track::before{background:var(--mdc-switch-unselected-pressed-track-color, var(--mat-sys-surface-variant))}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__track::before,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__track::before,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__track::before,.mdc-switch.mdc-switch--disabled .mdc-switch__track::before{background:var(--mdc-switch-disabled-unselected-track-color, var(--mat-sys-surface-variant))}.mdc-switch__track::after{transform:translateX(-100%);background:var(--mdc-switch-selected-track-color, var(--mat-sys-primary))}[dir=rtl] .mdc-switch__track::after{transform:translateX(100%)}.mdc-switch--selected .mdc-switch__track::after{transform:translateX(0)}.mdc-switch--selected .mdc-switch__track::after{opacity:var(--mat-switch-visible-track-opacity, 1);transition:var(--mat-switch-visible-track-transition, opacity 75ms)}.mdc-switch--unselected .mdc-switch__track::after{opacity:var(--mat-switch-hidden-track-opacity, 0);transition:var(--mat-switch-hidden-track-transition, opacity 75ms)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-hover-track-color, var(--mat-sys-primary))}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-focus-track-color, var(--mat-sys-primary))}.mdc-switch:enabled:active .mdc-switch__track::after{background:var(--mdc-switch-selected-pressed-track-color, var(--mat-sys-primary))}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__track::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__track::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__track::after,.mdc-switch.mdc-switch--disabled .mdc-switch__track::after{background:var(--mdc-switch-disabled-selected-track-color, var(--mat-sys-on-surface))}.mdc-switch__handle-track{height:100%;pointer-events:none;position:absolute;top:0;transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);left:0;right:auto;transform:translateX(0);width:calc(100% - var(--mdc-switch-handle-width))}[dir=rtl] .mdc-switch__handle-track{left:auto;right:0}.mdc-switch--selected .mdc-switch__handle-track{transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track{transform:translateX(-100%)}.mdc-switch__handle{display:flex;pointer-events:auto;position:absolute;top:50%;transform:translateY(-50%);left:0;right:auto;transition:width 75ms cubic-bezier(0.4, 0, 0.2, 1),height 75ms cubic-bezier(0.4, 0, 0.2, 1),margin 75ms cubic-bezier(0.4, 0, 0.2, 1);width:var(--mdc-switch-handle-width);height:var(--mdc-switch-handle-height);border-radius:var(--mdc-switch-handle-shape, var(--mat-sys-corner-full))}[dir=rtl] .mdc-switch__handle{left:auto;right:0}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle{width:var(--mat-switch-unselected-handle-size, 16px);height:var(--mat-switch-unselected-handle-size, 16px);margin:var(--mat-switch-unselected-handle-horizontal-margin, 0 8px)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-switch-unselected-with-icon-handle-horizontal-margin, 0 4px)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle{width:var(--mat-switch-selected-handle-size, 24px);height:var(--mat-switch-selected-handle-size, 24px);margin:var(--mat-switch-selected-handle-horizontal-margin, 0 24px)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-switch-selected-with-icon-handle-horizontal-margin, 0 24px)}.mat-mdc-slide-toggle .mdc-switch__handle:has(.mdc-switch__icons){width:var(--mat-switch-with-icon-handle-size, 24px);height:var(--mat-switch-with-icon-handle-size, 24px)}.mat-mdc-slide-toggle .mdc-switch:active:not(.mdc-switch--disabled) .mdc-switch__handle{width:var(--mat-switch-pressed-handle-size, 28px);height:var(--mat-switch-pressed-handle-size, 28px)}.mat-mdc-slide-toggle .mdc-switch--selected:active:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-switch-selected-pressed-handle-horizontal-margin, 0 22px)}.mat-mdc-slide-toggle .mdc-switch--unselected:active:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-switch-unselected-pressed-handle-horizontal-margin, 0 2px)}.mdc-switch--disabled.mdc-switch--selected .mdc-switch__handle::after{opacity:var(--mat-switch-disabled-selected-handle-opacity, 1)}.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__handle::after{opacity:var(--mat-switch-disabled-unselected-handle-opacity, 0.38)}.mdc-switch__handle::before,.mdc-switch__handle::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";width:100%;height:100%;left:0;position:absolute;top:0;transition:background-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1),border-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);z-index:-1}@media(forced-colors: active){.mdc-switch__handle::before,.mdc-switch__handle::after{border-color:currentColor}}.mdc-switch--selected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-selected-handle-color, var(--mat-sys-on-primary))}.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-hover-handle-color, var(--mat-sys-primary-container))}.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-focus-handle-color, var(--mat-sys-primary-container))}.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-selected-pressed-handle-color, var(--mat-sys-primary-container))}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:hover:not(:focus):not(:active) .mdc-switch__handle::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:focus:not(:active) .mdc-switch__handle::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:active .mdc-switch__handle::after,.mdc-switch--selected.mdc-switch--disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-selected-handle-color, var(--mat-sys-surface))}.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-unselected-handle-color, var(--mat-sys-outline))}.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-hover-handle-color, var(--mat-sys-on-surface-variant))}.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-focus-handle-color, var(--mat-sys-on-surface-variant))}.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-unselected-pressed-handle-color, var(--mat-sys-on-surface-variant))}.mdc-switch--unselected.mdc-switch--disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-unselected-handle-color, var(--mat-sys-on-surface))}.mdc-switch__handle::before{background:var(--mdc-switch-handle-surface-color)}.mdc-switch__shadow{border-radius:inherit;bottom:0;left:0;position:absolute;right:0;top:0}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation-shadow)}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__shadow,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__shadow,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__shadow,.mdc-switch.mdc-switch--disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation-shadow)}.mdc-switch__ripple{left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);z-index:-1;width:var(--mdc-switch-state-layer-size, 40px);height:var(--mdc-switch-state-layer-size, 40px)}.mdc-switch__ripple::after{content:"";opacity:0}.mdc-switch--disabled .mdc-switch__ripple::after{display:none}.mat-mdc-slide-toggle-disabled-interactive .mdc-switch__ripple::after{display:block}.mdc-switch:hover .mdc-switch__ripple::after{opacity:.04;transition:75ms opacity cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mdc-switch .mdc-switch__ripple::after{opacity:.12}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:focus .mdc-switch__ripple::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:active .mdc-switch__ripple::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:hover:not(:focus) .mdc-switch__ripple::after,.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background:var(--mdc-switch-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after{background:var(--mdc-switch-unselected-focus-state-layer-color, var(--mat-sys-on-surface))}.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after{background:var(--mdc-switch-unselected-pressed-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));transition:opacity 75ms linear}.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background:var(--mdc-switch-selected-hover-state-layer-color, var(--mat-sys-primary))}.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after{background:var(--mdc-switch-selected-focus-state-layer-color, var(--mat-sys-primary))}.mdc-switch--selected:enabled:active .mdc-switch__ripple::after{background:var(--mdc-switch-selected-pressed-state-layer-color, var(--mat-sys-primary));opacity:var(--mdc-switch-selected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));transition:opacity 75ms linear}.mdc-switch__icons{position:relative;height:100%;width:100%;z-index:1}.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__icons{opacity:var(--mdc-switch-disabled-unselected-icon-opacity, 0.38)}.mdc-switch--disabled.mdc-switch--selected .mdc-switch__icons{opacity:var(--mdc-switch-disabled-selected-icon-opacity, 0.38)}.mdc-switch__icon{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;opacity:0;transition:opacity 30ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-switch--unselected .mdc-switch__icon{width:var(--mdc-switch-unselected-icon-size, 16px);height:var(--mdc-switch-unselected-icon-size, 16px);fill:var(--mdc-switch-unselected-icon-color, var(--mat-sys-surface-variant))}.mdc-switch--unselected.mdc-switch--disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-unselected-icon-color, var(--mat-sys-surface-variant))}.mdc-switch--selected .mdc-switch__icon{width:var(--mdc-switch-selected-icon-size, 16px);height:var(--mdc-switch-selected-icon-size, 16px);fill:var(--mdc-switch-selected-icon-color, var(--mat-sys-on-primary-container))}.mdc-switch--selected.mdc-switch--disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-selected-icon-color, var(--mat-sys-on-surface))}.mdc-switch--selected .mdc-switch__icon--on,.mdc-switch--unselected .mdc-switch__icon--off{opacity:1;transition:opacity 45ms 30ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle{-webkit-user-select:none;user-select:none;display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple,.mat-mdc-slide-toggle .mdc-switch__ripple::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple:not(:empty),.mat-mdc-slide-toggle .mdc-switch__ripple::after:not(:empty){transform:translateZ(0)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mat-focus-indicator::before{content:""}.mat-mdc-slide-toggle .mat-internal-form-field{color:var(--mat-switch-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-switch-label-text-font, var(--mat-sys-body-medium-font));line-height:var(--mat-switch-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-switch-label-text-size, var(--mat-sys-body-medium-size));letter-spacing:var(--mat-switch-label-text-tracking, var(--mat-sys-body-medium-tracking));font-weight:var(--mat-switch-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-slide-toggle .mat-ripple-element{opacity:.12}.mat-mdc-slide-toggle .mat-focus-indicator::before{border-radius:50%}.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle-track,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__icon,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::after,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::after{transition:none}.mat-mdc-slide-toggle .mdc-switch:enabled+.mdc-label{cursor:pointer}.mat-mdc-slide-toggle .mdc-switch--disabled+label{color:var(--mdc-switch-disabled-label-text-color)}\n'],
encapsulation:2,changeDetection:0});var hQ=function(){};hQ.\u0275fac=function(a){return new (a||hQ)};hQ.\u0275mod=Cf({type:hQ});hQ.\u0275inj=p({imports:[gQ,Ox,Ox]});var iQ=function(){};iQ.\u0275fac=function(a){return new (a||iQ)};iQ.\u0275mod=Cf({type:iQ});iQ.\u0275inj=p({providers:[{provide:IGc,useValue:{color:"primary"}}],imports:[hQ]});var MGc=0,jQ=function(){this.id="b-slide-toggle-"+ ++MGc;this.ariaLabel=this.label="";this.labelPosition="before";this.model=!1;this.tooltip=void 0;this.disabled=!1;this.modelChange=new aB};jQ.\u0275fac=function(a){return new (a||jQ)};
jQ.\u0275cmp=C({type:jQ,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"},standalone:!1,decls:2,vars:7,consts:[[3,"change","id","disabled","checked","aria-label","matTooltip","labelPosition"]],template:function(a,b){a&1&&(I(0,"mat-slide-toggle",0),M("change",function(d){b.model=d.checked;b.modelChange.emit(d.checked)}),
Q(1),J());if(a&2){var c;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");B();Yg(b.label)}},dependencies:[fQ,gQ,mB,rB],styles:["mat-slide-toggle[_ngcontent-%COMP%] { vertical-align: middle; }"],changeDetection:0});var kQ=function(){};kQ.\u0275fac=function(a){return new (a||kQ)};kQ.\u0275mod=Cf({type:kQ});kQ.\u0275inj=p({imports:[iQ,pC]});var NGc=["spanElement"],lQ=function(){this.modelValue="";this.maxWidth=0;this.disabled=!1;this.displayString=""};lQ.prototype.ngOnChanges=function(a){if(a.modelValue||a.disabled)this.displayString=this.modelValue||""};lQ.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)+"...")};
lQ.prototype.getTooltip=function(){return this.displayString!==this.modelValue?this.modelValue:""};lQ.\u0275fac=function(a){return new (a||lQ)};
lQ.\u0275cmp=C({type:lQ,selectors:[["b-truncated-span"]],viewQuery:function(a,b){a&1&&Rg(NGc,5);if(a&2){var c;Vg(c=Wg())&&(b.spanElement=c.first)}},inputs:{modelValue:"modelValue",maxWidth:"maxWidth",disabled:"disabled"},standalone:!1,features:[rv],decls:2,vars:2,consts:[["spanElement",""],[3,"matTooltip","innerHtml"]],template:function(a,b){a&1&&K(0,"span",1,0);a&2&&E("matTooltip",b.getTooltip())("innerHtml",b.displayString,uf)},dependencies:[mB,rB],encapsulation:2});var mQ=function(){};mQ.\u0275fac=function(a){return new (a||mQ)};mQ.\u0275mod=Cf({type:mQ});mQ.\u0275inj=p({imports:[lC,pC]});var OGc=function(a,b,c,d){Ew.call(this,a,b,c,d,!0);var e=this;this.escapeSubject$=new Uf;this.startAnchorListener=function(){e.escapeSubject$.next(0);return!0};this.endAnchorListener=function(){e.escapeSubject$.next(1);return!0};Dw(this)};Y(OGc,Ew);var nQ=function(){this.checker=r(zw);this.ngZone=r(kh);this.document=r(ii)};nQ.prototype.create=function(a){return new OGc(a,this.checker,this.ngZone,this.document)};nQ.\u0275fac=function(a){return new (a||nQ)};
nQ.\u0275prov=n({token:nQ,factory:nQ.\u0275fac,providedIn:"root"});var oQ=function(){this._inset=this._vertical=!1};da.Object.defineProperties(oQ.prototype,{vertical:{configurable:!0,enumerable:!0,get:function(){return this._vertical},set:function(a){this._vertical=di(a)}},inset:{configurable:!0,enumerable:!0,get:function(){return this._inset},set:function(a){this._inset=di(a)}}});oQ.\u0275fac=function(a){return new (a||oQ)};
oQ.\u0275cmp=C({type:oQ,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(a,b){a&2&&(jg("aria-orientation",b.vertical?"vertical":"horizontal"),sg("mat-divider-vertical",b.vertical)("mat-divider-horizontal",!b.vertical)("mat-divider-inset",b.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(){},styles:[".mat-divider{display:block;margin:0;border-top-style:solid;border-top-color:var(--mat-divider-color, var(--mat-sys-outline));border-top-width:var(--mat-divider-width, 1px)}.mat-divider.mat-divider-vertical{border-top:0;border-right-style:solid;border-right-color:var(--mat-divider-color, var(--mat-sys-outline));border-right-width:var(--mat-divider-width, 1px)}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}\n"],
encapsulation:2,changeDetection:0});var PGc=["content"],pQ=function(){Z.apply(this,arguments);this.focusEscapeNotifierFactory=r(nQ);this.trapFocus=this.required=!1;this.renderPanel=this.noneButtonEnabled=this.todayButtonEnabled=!0;this.includeTimePicker=!1;this.dateChange=new aB;this.dateTimeChange=new aB;this.cancelClicked=new aB;this.saveClicked=new aB;this.dateSelectionChange=new aB;this.focusEscaped=new aB;this.timeFormControl=new My("",Cy)};Y(pQ,Z);pQ.\u0275dir=Z.\u0275dir;
pQ.prototype.ngAfterViewInit=function(){var a=this;setTimeout(function(){WSa(a,a.date);a.calendar._getCurrentViewComponent()._focusActiveCell(!1)});this.focusEscapeNotifier=this.focusEscapeNotifierFactory.create(this.content.nativeElement);this.focusEscapeNotifier.escapeSubject$.pipe(Zf(this.destroyed$)).subscribe(function(b){if(a.trapFocus)if(b===0){var c;(c=a.focusEscapeNotifier)==null||$7b(c)}else{var d;(d=a.focusEscapeNotifier)==null||Cw(d)}else a.focusEscaped.emit(b)});XSa(this,this.dateTime)};
var VSa=function(a,b){a.date=b;a.dateTime=HDa(b,a.timeFormControl.value);a.dateSelectionChange.emit(b)};pQ.prototype.saveChanges=function(){this.includeTimePicker&&(this.dateTime=HDa(this.dateTime,this.timeFormControl.value),this.dateTimeChange.emit(this.dateTime));this.dateChange.emit(this.date)};var WSa=function(a,b){if(b=b instanceof Cj?b:gxa(b))a.calendar.activeDate=b};pQ.prototype.showPicker=function(a){a instanceof HTMLInputElement&&a.showPicker()};
var XSa=function(a,b){var c=new nE("HH:mm");a.timeFormControl.setValue(a.includeTimePicker&&b?c.format(b):"")};pQ.\u0275fac=function(){var a;return function(b){return(a||(a=ee(pQ)))(b||pQ)}}();
pQ.\u0275cmp=C({type:pQ,selectors:[["b-date-time-picker-content"]],viewQuery:function(a,b){a&1&&(Rg(xy,7),Rg(PGc,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",dateTime:"dateTime",trapFocus:"trapFocus",todayButtonEnabled:"todayButtonEnabled",noneButtonEnabled:"noneButtonEnabled",renderPanel:"renderPanel",includeTimePicker:"includeTimePicker",calendarButtonRow:"calendarButtonRow"},outputs:{dateChange:"dateChange",dateTimeChange:"dateTimeChange",
cancelClicked:"cancelClicked",saveClicked:"saveClicked",dateSelectionChange:"dateSelectionChange",focusEscaped:"focusEscaped"},standalone:!1,features:[cg],decls:15,vars:11,consts:[["content",""],[1,"b-optional-calendar-button-row"],[3,"selectedChange","selected","startAt"],["appearance","outline"],[1,"actions"],[1,"b-calendar-button-row"],["type","button","mat-button","",1,"cancel",3,"click"],["type","button","mat-button","",1,"save",3,"click"],[4,"ngTemplateOutlet"],["type","time","matInput","",
"aria-label","Time Picker","required","",1,"time-input",3,"focus","formControl"],["type","button","mat-button","",1,"today"],["type","button","mat-button","",1,"none"],["type","button","mat-button","",1,"today",3,"click"],["type","button","mat-button","",1,"none",3,"click"]],template:function(a,b){if(a&1){var c=v();I(0,"div",null,0)(2,"div",1);D(3,TSa,1,1,"ng-container");J();I(4,"mat-calendar",2);S(5,"toDateTime");S(6,"toDateTime");M("selectedChange",function(d){w(c);return x(VSa(b,d))});J();D(7,
USa,2,1,"mat-form-field",3);I(8,"div",4);D(9,$Sa,4,2,"div",1);I(10,"div",5)(11,"button",6);M("click",function(){w(c);return x(b.cancelClicked.emit())});Q(12,"Cancel");J();I(13,"button",7);M("click",function(){w(c);b.saveChanges();return x(b.saveClicked.emit())});Q(14,"Save");J()()()()}a&2&&(sg("container",b.renderPanel),B(3),G(b.calendarButtonRow?3:-1),B(),E("selected",U(5,7,b.date))("startAt",U(6,9,b.date)),B(3),G(b.includeTimePicker?7:-1),B(2),G(b.todayButtonEnabled||b.noneButtonEnabled?9:-1))},
dependencies:function(){return[dw,eB,jy,xy,oQ,oi,Gy,Yy,Sy,lz,sz,qQ]},styles:[".b-optional-calendar-button-row[_ngcontent-%COMP%]{margin:0 1rem}.actions[_ngcontent-%COMP%]{text-align:end}.actions[_ngcontent-%COMP%]   div.b-optional-calendar-button-row[_ngcontent-%COMP%]{width:fit-content;margin:auto;align-content:center}.container[_ngcontent-%COMP%]{box-shadow:0px 1px 2px 0px rgba(0, 0, 0, 0.3), 0px 2px 6px 2px rgba(0, 0, 0, 0.15);padding:4px;border-radius:8px;background-color:#fff;background-color:var(--surface-default)}mat-calendar[_ngcontent-%COMP%]{width:288px;height:342px}mat-form-field[_ngcontent-%COMP%]{--mat-form-field-container-height: 20px;width:100px;margin:18px}.dark-mode   [_nghost-%COMP%]   input[type=time][_ngcontent-%COMP%]{color-scheme:dark}input[type=time][_ngcontent-%COMP%]::-webkit-calendar-picker-indicator{background-color:#fff;background-color:var(--surface-default)}/*# sourceMappingURL=date_time_picker_content.css.map */"]});
var qQ=function(){};qQ.prototype.transform=function(a){var b;return(b=gxa(a))!=null?b:void 0};qQ.\u0275fac=function(a){return new (a||qQ)};qQ.\u0275pipe=Ef({name:"toDateTime",type:qQ,pure:!0,standalone:!1});var QGc=[{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"}],rQ=function(){Z.call(this);var a=this;this.overlay=r(Kx);this.element=r(ef);this.hostEl=r(ef);this.openOnEnter=this.openOnClick=!0;this.includeTimePicker=this.required=this.focusTrapHost=!1;this.selectedChange=new aB;this.selectedDateTimeChange=
new aB;this.dateSelectionChange=new aB;this.includeTimePickerChange=new aB;this.onClose=new aB;this.opened=!1;this.destroyed$.subscribe(function(){var b;(b=a.overlayRef)==null||b.dispose()})};Y(rQ,Z);g=rQ.prototype;g.onHostEnter=function(a){this.openOnEnter&&this.open();a.preventDefault();a.stopPropagation()};g.onClickHost=function(a){this.openOnClick&&this.open();a.preventDefault();a.stopPropagation()};
g.open=function(){this.opened||(this.overlayRef=this.createOverlay(),this.attach(),this.opened=!0)};g.close=function(a){a=a===void 0?!1:a;if(this.opened){var b;(b=this.overlayRef)==null||b.dispose();this.overlayRef=void 0;this.opened=!1;a||this.hostEl.nativeElement.focus();this.onClose.emit()}};g.onHostTab=function(a){this.focusTrapHost&&this.pickerContent&&this.pickerContent.focusEscapeNotifier&&(Cw(this.pickerContent.focusEscapeNotifier),a.preventDefault())};
g.onHostShiftTab=function(a){this.focusTrapHost&&this.pickerContent&&this.pickerContent.focusEscapeNotifier&&($7b(this.pickerContent.focusEscapeNotifier),a.preventDefault())};g.createOverlay=function(){var a=this.getPositionStrategy(),b=this.getScrollStrategy();a=this.overlay.create({positionStrategy:a,scrollStrategy:b,hasBackdrop:!0,backdropClass:"b-date-time-picker-backdrop",panelClass:"b-date-time-picker-popup"});a.overlayElement.setAttribute("role","dialog");return a};
g.attach=function(){var a=this,b=new Dx(pQ),c;this.pickerContent=(c=this.overlayRef)==null?void 0:c.attach(b).instance;var d;(d=this.overlayRef)==null||d.updatePosition();setTimeout(function(){a.connectValues()})};g.getPositionStrategy=function(){return xx(yx(zx(Bx(this.overlay.position(),this.element)),8),QGc)};g.getScrollStrategy=function(){return this.overlay.scrollStrategies.reposition()};
g.connectValues=function(){var a=this;if(this.pickerContent&&this.overlayRef){var b=Te(this.overlayRef._detachments,this.destroyed$);this.pickerContent.date=this.selected;this.pickerContent.dateTime=this.selectedDateTime;this.pickerContent.required=this.required;this.pickerContent.trapFocus=!this.focusTrapHost;(this.pickerContent.includeTimePicker=this.includeTimePicker)&&XSa(this.pickerContent,this.selectedDateTime);this.focusTrapHost&&this.pickerContent.focusEscaped.pipe(Zf(b)).subscribe(function(){setTimeout(function(){return a.element.nativeElement.focus()})});
this.pickerContent.dateChange.pipe(Zf(b)).subscribe(function(c){a.selectedChange.emit(c)});this.pickerContent.dateTimeChange.pipe(Zf(b)).subscribe(function(c){a.selectedDateTimeChange.emit(c)});this.pickerContent.dateSelectionChange.pipe(Zf(b)).subscribe(function(c){a.dateSelectionChange.emit(c)});Te(this.pickerContent.saveClicked,this.pickerContent.cancelClicked,this.overlayRef.backdropClick(),this.overlayRef.keydownEvents().pipe(Ue(function(c){return c.code==="Escape"}))).pipe(Zf(b)).subscribe(function(){a.close()})}};
rQ.\u0275fac=function(a){return new (a||rQ)};
rQ.\u0275dir=Df({type:rQ,selectors:[["","bDateTimePickerToggle",""]],hostAttrs:["aria-haspopup","true"],hostVars:1,hostBindings:function(a,b){a&1&&M("click",function(c){return b.onClickHost(c)})("keydown.enter",function(c){return b.onHostEnter(c)})("keydown.tab",function(c){return b.onHostTab(c)})("keydown.shift.tab",function(c){return b.onHostShiftTab(c)});a&2&&jg("aria-expanded",b.opened||void 0)},inputs:{openOnClick:"openOnClick",openOnEnter:"openOnEnter",focusTrapHost:[0,"bDateTimePickerToggleFocusTrapHost",
"focusTrapHost"],required:[0,"bDateTimePickerToggleRequired","required"],selected:[0,"bDateTimePickerToggleSelected","selected"],selectedDateTime:[0,"bDateTimePickerToggleSelectedDateTime","selectedDateTime"],includeTimePicker:[0,"bDateTimePickerToggleIncludeTimePicker","includeTimePicker"]},outputs:{selectedChange:"bDateTimePickerToggleSelectedChange",selectedDateTimeChange:"bDateTimePickerToggleSelectedDateTimeChange",dateSelectionChange:"bDateTimePickerToggleDateSelectionChange",includeTimePickerChange:"bDateTimePickerToggleIncludeTimePickerChange",
onClose:"bDateTimePickerToggleOnClose"},exportAs:["bDateTimePickerToggle"],standalone:!1,features:[cg]});var RGc=/^[ \t\xA0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000]/,SGc=/^[\s\xA0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000]+/,TGc=function(a){this.patternParts_=[];this.dateTimeSymbols_=Zv;typeof a=="number"?this.applyStandardPattern_(a):this.applyPattern_(a)};
TGc.prototype.applyPattern_=function(a){for(var b=!1,c="",d=0;d<a.length;d++){var e=a.charAt(d);if(RGc.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};TGc.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)};
TGc.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("oe`"+f.text.charAt(0));}f=new UGc;c=[0];f.dayPeriodIndex=-1;for(var h=0;h<this.patternParts_.length&&!(d&&c[0]>=a.length);h++){if(this.patternParts_[h].count==0){a:{var l=a;var q=c,u=this.patternParts_[h],A=d;if(u.text.match(RGc)!=null){if(u=q[0],
VGc(l,q),q[0]>u){l=!0;break a}}else{if(l.indexOf(u.text,q[0])==q[0]){q[0]+=u.text.length;l=!0;break a}if(A&&u.text.indexOf(l.substring(q[0]))==0){q[0]+=l.length-q[0];l=!0;break a}}l=!1}if(l)continue;return 0}if(this.patternParts_[h].abutStart){a:{q=a;u=c;A=h;var F=u[0],H=0;for(l=A;l<this.patternParts_.length;l++){var N=this.patternParts_[l],O=N.count;if(O===0)break;if(l==A&&(O-=H,H++,O==0)){l=0;break a}var T=l>A&&N.numeric,ea=u[0];if(!WGc(this,q,u,N,O,f,!1)||T&&u[0]-ea<O)l=A-1,u[0]=F}l-=A}if(l<=0)return 0;
h+=l-1}else if(!WGc(this,a,c,this.patternParts_[h],0,f,d))return 0}a:{a=e;if(b==null)throw Error("pe");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=s7b(b.getFullYear(),b.getMonth()),b.setDate(d>e?e:d));typeof b.setHours==="function"&&(f.hours==void 0&&(f.hours=b.getHours()),f.hours<12&&(f.ampm!=void 0&&f.ampm>0?f.hours+=12:f.dayPeriodName!==
void 0&&("isPm noon afternoon1 afternoon2 evening1 evening2".split(" ").includes(f.dayPeriodName)||["night1","night2"].includes(f.dayPeriodName)&&f.hours>=6)&&(f.hours+=12)),b.setHours(f.hours));typeof b.setMinutes==="function"&&f.minutes!=void 0&&b.setMinutes(f.minutes);typeof b.setSeconds==="function"&&f.seconds!=void 0&&b.setSeconds(f.seconds);typeof b.setMilliseconds==="function"&&f.milliseconds!=void 0&&b.setMilliseconds(f.milliseconds);if(a&&(f.year&&f.year!=b.getFullYear()||f.month&&f.month!=
b.getMonth()||f.day&&f.day!=b.getDate()||f.hours&&f.hours>=24||f.minutes&&f.minutes>=60||f.seconds&&f.seconds>=60||f.milliseconds&&f.milliseconds>=1E3))b=!1;else{f.tzOffset!=void 0&&b.setTime(b.getTime()+(f.tzOffset-b.getTimezoneOffset())*60*1E3);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 WGc=function(a,b,c,d,e,f,h){VGc(b,c);if(d.numeric&&e>0&&c[0]+e>b.length)return!1;switch(d.text.charAt(0)){case "G":return sQ(b,c,[a.dateTimeSymbols_.ERAS],function(l){return f.era=l}),!0;case "M":case "L":return XGc(a,b,c,e,d,f);case "E":return sQ(b,c,[a.dateTimeSymbols_.WEEKDAYS,a.dateTimeSymbols_.SHORTWEEKDAYS],function(l){return f.dayOfWeek=l});case "B":case "b":return e=[],a=[[].concat(a.dateTimeSymbols_.AMPMS)],e.push("isAm"),e.push("isPm"),b=sQ(b,c,a,function(l){return f.dayPeriodIndex=
l},h),f.dayPeriodName=e[f.dayPeriodIndex],h?b:!0;case "a":return b=sQ(b,c,[a.dateTimeSymbols_.AMPMS],function(l){return f.ampm=l},h),h?b:!0;case "y":return YGc(a,b,c,d,e,f);case "Q":return sQ(b,c,[a.dateTimeSymbols_.QUARTERS,a.dateTimeSymbols_.SHORTQUARTERS],function(l){f.month=l*3;f.day=1});case "d":return ZGc(a,b,c,d,e,function(l){f.day=l}),!0;case "S":return $Gc(a,b,c,e,f);case "h":case "K":case "H":case "k":return b=ZGc(a,b,c,d,e,function(l){f.hours=d.text.charAt(0)==="h"&&l===12?0:l},h),h?b:
!0;case "m":return b=ZGc(a,b,c,d,e,function(l){f.minutes=l},h),h?b:!0;case "s":return ZGc(a,b,c,d,e,function(l){f.seconds=l}),!0;case "z":case "Z":case "v":return aHc(a,b,c,f);default:return!1}},YGc=function(a,b,c,d,e,f){var h=c[0];e=tQ(a,b,c,e);e===null&&(e=tQ(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},XGc=function(a,b,c,d,e,f){return e.numeric&&ZGc(a,
b,c,e,d,function(h){f.month=h-1})?!0:sQ(b,c,[a.dateTimeSymbols_.MONTHS,a.dateTimeSymbols_.STANDALONEMONTHS,a.dateTimeSymbols_.SHORTMONTHS,a.dateTimeSymbols_.STANDALONESHORTMONTHS],function(h){f.month=h})},$Gc=function(a,b,c,d,e){var f=c[0];a=tQ(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},aHc=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=tQ(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=tQ(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},ZGc=function(a,b,c,d,e,f,h){h=h||!1;var l=c[0];a=tQ(a,b,c,e);if(a===null)return!1;if(h&&c[0]-l<d.count){if(c[0]<b.length)return!1;a*=Math.pow(10,d.count-(c[0]-l))}f(a);return!0},sQ=function(a,b,c,d,e){e=e||!1;for(var f,h=0;h<c.length;h++){f=b;for(var l=c[h],q=e,u=0,A=null,F=a.substring(f[0]).toLowerCase(),H=0;H<l.length;H++){var N=
l[H].toLowerCase();if(q&&N.indexOf(F)==0){u=F.length;A=H;break}l[H].length>u&&F.indexOf(N)==0&&(u=l[H].length,A=H)}A!==null&&(f[0]+=u);f=A;if(f!==null)return d(f),!0}return!1},VGc=function(a,b){(a=a.substring(b[0]).match(SGc))&&(b[0]+=a[0].length)},tQ=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)},UGc=function(){};UGc.prototype.ambiguousYear=!1;var N9b=Array(31).fill(0).map(function(a,b){return""+(b+1)}),uQ=function(){var a=Px.apply(this,arguments)||this;a.locale=Zv;return a};Y(uQ,Px);uQ.prototype.setLocale=function(){throw Error("qe");};uQ.prototype.getYear=function(a){return a.getYear()};uQ.prototype.getMonth=function(a){return a.getMonth()};uQ.prototype.getDate=function(a){return a.getDate()};var M9b=function(a,b){switch(b){case "long":return a.locale.WEEKDAYS;case "narrow":return a.locale.NARROWWEEKDAYS;default:return a.locale.SHORTWEEKDAYS}};
uQ.prototype.getFirstDayOfWeek=function(){return(this.locale.FIRSTDAYOFWEEK+1)%7};uQ.prototype.clone=function(a){return a.clone()};var uy=function(a,b,c){return new Cj(a,b,c)};uQ.prototype.parse=function(a,b){if(a==="")return null;b=new TGc(a.match(/\d{3,}/)?b:b.replace("yyyy","yy"));var c=new Cj(new Date(a));b.parse(a,c);return c};uQ.prototype.format=function(a,b){if(!this.isValid(a))throw Error("re");return(new nE(b)).format(a)};
var sy=function(a,b){a=a.clone();a.add(new $v(b));return a},ty=function(a,b){a=a.clone();a.add(new $v(0,b));return a},ry=function(a,b){a=a.clone();a.add(new $v(0,0,b));return a};g=uQ.prototype;g.isValid=function(a){return!isNaN(a.getTime())};g.invalid=function(){return new Cj(NaN)};g.sameDate=function(a,b){return a&&b?(new tj(a)).equals(b):!1};g.getHours=function(a){return a.getHours()};g.getMinutes=function(a){return a.getMinutes()};g.getSeconds=function(a){return a.getSeconds()};
g.setTime=function(a,b,c,d){a=this.clone(a);a.setHours(b);a.setMinutes(c);a.setSeconds(d);a.setMilliseconds(0);return a};uQ.\u0275fac=function(){var a;return function(b){return(a||(a=ee(uQ)))(b||uQ)}}();uQ.\u0275prov=n({token:uQ,factory:uQ.\u0275fac});var bHc={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"},vQ=bHc;vQ=bHc;var wQ=Zv.DATEFORMATS[3];wQ=wQ.replace(/yyyy/,"yy").replace(/yy/,"yyyy");wQ==="M/d/yyyy"&&(wQ="MM/dd/yyyy");var cHc=Zv.TIMEFORMATS.at(-1),dHc={parse:{dateInput:wQ,timeInput:cHc},display:{dateInput:wQ,monthYearLabel:vQ.YEAR_MONTH_ABBR,dateA11yLabel:vQ.MONTH_DAY_YEAR_MEDIUM,monthYearA11yLabel:vQ.YEAR_MONTH_FULL,timeInput:cHc,timeOptionLabel:cHc}};var xQ=function(){};xQ.\u0275fac=function(a){return new (a||xQ)};xQ.\u0275mod=Cf({type:xQ});xQ.\u0275inj=p({imports:[Ox,Ox]});var yQ=function(){};yQ.\u0275fac=function(a){return new (a||yQ)};yQ.\u0275mod=Cf({type:yQ});yQ.\u0275inj=p({providers:[{provide:Px,useClass:uQ},{provide:W8b,useValue:dHc}],imports:[lC,mC,wz,xQ,Qw,bz,cz,mz,uz]});var eHc=["popupField"],fHc=["fieldContent"],gHc=["popupOverlay"],hHc=["overlayContent"],eTa=function(a){return{q:a}},oTa=function(a,b){return{"bv2-disabled":a,"bv2-readonly":b}},iHc=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"}],zQ=function(){Z.apply(this,arguments);this.cdr=r(cB,{self:!0});this.element=r(ef);this.overlay=r(Kx);this.viewContainerRef=r(Pg);this.dateFormatter=r(GI);this.activeSession=r(Bu);this.constants=r(FI);this.appEvents=r(yD);this.googDateValue=null;this.autocompleteActive=
!1;this.readonlyTooltip=this.displayValue=null;this.textBuffer="";this.enableTeamAnnotations=this.activeSession.isInternalSession();this.isActive=this.multiline=this.enableWaldoAvailability=!1;this.title=this.name="";this.displayValueOverride=this.value=null;this.isUser=!1;this.teamId="";this.clearable=!1;this.choices=[];this.customFieldId=0;this.showEnumTitle=!1;this.valueChange=new aB;this.disabled=this.readonly=!1;this.tooltip="";this.showAvailability=this.showHotkeyHint=this.truncate=!1};
Y(zQ,Z);zQ.\u0275dir=Z.\u0275dir;g=zQ.prototype;g.ngOnInit=function(){var a=this;this.enableWaldoAvailability=Vt(this.activeSession,"enableWaldoAvailability")&&this.activeSession.isInternalSession()&&this.showAvailability;this.subscriptions.add(this.appEvents.openEditField.subscribe(function(b){b!==a&&a.isActive&&(a.isActive=!1,jHc(a),a.cdr.detectChanges())}));this.subscriptions.add(vrc(this.dateFormatter,function(){kHc(a);a.cdr.detectChanges()}));this.destroyed$.subscribe(function(){jHc(a)})};
g.ngOnDestroy=function(){Z.prototype.ngOnDestroy.call(this);this.overlayRef&&this.overlayRef.dispose()};g.ngOnChanges=function(a){["value","type","displayValueOverride","choices"].some(function(b){return b in a})&&kHc(this)};g.ngAfterViewInit=function(){this.popupField&&(this.overlayRef=this.overlay.create({positionStrategy:this.getPositionStrategy(),scrollStrategy:this.overlay.scrollStrategies.reposition()}))};
g.getPositionStrategy=function(){return xx(yx(zx(Bx(this.overlay.position(),this.fieldContent).setOrigin(this.fieldContent),!1),5),iHc)};
var jHc=function(a){var b;((b=a.overlayRef)==null?0:b.hasAttached())&&a.overlayRef.detach()},PTa=function(a,b){if(!a.autocompleteActive)switch(b.keyCode){case 13:b.stopPropagation();VTa(a);break;case 27:b.stopPropagation(),Yq(a,b,!1,!0)}},NTa=function(a,b){if(!a.autocompleteActive)switch(b.keyCode){case 13:if(b.ctrlKey||b.metaKey)b.stopPropagation(),VTa(a);break;case 27:b.stopPropagation(),Yq(a,b,!1,!0)}},lTa=function(a,b){switch(b.keyCode){case 13:case 32:b.stopPropagation();b.preventDefault();Yq(a,
b,!0,!1);break;case 27:b.stopPropagation(),Yq(a,b,!1,!0)}},Yq=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,jHc(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?Do(c):null),a.type===
"ENUM"&&a.enumMenuTrigger.openMenu(),a.type!=="ENUM"){lHc(a);var f=a.element.nativeElement;Pe(document,"click").pipe(Ue(function(h){return!f.contains(h.target)}),Nf(),Zf(a.overlayRef._detachments),Zf(a.destroyed$)).subscribe(function(){Yq(a,null,!1,!1)})}b==null||b.stopPropagation();a.cdr.detectChanges()}};zQ.prototype.schedule=function(a){var b=Qe.schedule(a);this.destroyed$.subscribe(function(){b.unsubscribe()})};zQ.prototype.getDisplayValue=function(a){return this.displayValue===null?a:this.displayValue};
var kHc=function(a){var b=a.value;switch(a.type){case "ENUM":if(a.displayValueOverride){a.displayValue=a.displayValueOverride;a.readonlyTooltip=null;break}if(a.title==="Type"&&b&&trc.has(b)){a.displayValue=Mj(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(Do(b)):
a.displayValue=null;a.readonlyTooltip=null;break;default:a.displayValueOverride?a.displayValue=a.displayValueOverride:a.displayValue=b?String(b):null,a.readonlyTooltip=null}};zQ.prototype.setFieldValue=function(a){this.disabled||this.readonly||(this.type==="DATE"&&a&&(a=Eo(a)),this.type==="NUMERIC"&&a===""&&(a=null),oj(this.value,a)?this.type==="ENUM"&&Yq(this,null,!1,!0):(Yq(this,null,!1,!0),this.value=a,this.valueChange.emit(this.value)))};
var VTa=function(a){if(a.type===void 0)throw Error("se");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("te");default:Db(a.type,"FieldType")}};
zQ.prototype.clearFieldValue=function(){this.value=null;this.valueChange.emit(this.value);Yq(this,null,!1,!0)};var lHc=function(a){jHc(a);var b=a.overlayRef.attach(new Ex(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()})};
zQ.prototype.getTooltip=function(){return this.readonly?this.readonlyTooltip||"":this.tooltip?this.tooltip:this.title?"Set "+this.title:""};zQ.prototype.getPriority=function(a){return typeof a==="string"?a.toLowerCase():""};zQ.\u0275fac=function(){var a;return function(b){return(a||(a=ee(zQ)))(b||zQ)}}();
zQ.\u0275cmp=C({type:zQ,selectors:[["b-edit-field"]],viewQuery:function(a,b){a&1&&(Rg(JL,5),Rg(eHc,5),Rg(fHc,5),Rg(gHc,5),Rg(hHc,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"},standalone:!1,features:[ch([cB]),cg,rv],decls:13,vars:5,consts:[["enumMenu","matMenu"],["renderFieldContent",""],["popupOverlay",""],["popupField","","tooltip","matTooltip"],["fieldContent",""],["overlayContent",""],[1,
"bv2-issue-metadata-field"],["role","button","tabindex","0",1,"keep-focus-ring",3,"class","bv2-disabled","bv2-readonly","matTooltip"],[3,"class","ngClass","matTooltip"],[1,"bv2-issue-metadata-footer"],[1,"keep-focus-ring"],["matMenuContent",""],["role","button","tabindex","0",1,"keep-focus-ring",3,"click","keydown","keydown.escape","matTooltip"],[3,"class"],[1,"bv2-editable-value"],[1,"bv2-editable-value",3,"matMenuTriggerFor"],[1,"overflow-ellipsis"],[1,"bv2-editable-value",3,"menuClosed","matMenuTriggerFor"],
[4,"ngTemplateOutlet"],["routerLink","/issues",1,"subtle-link",3,"queryParams"],["type","button","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"],[3,"ngClass","matTooltip"],[1,"keep-focus-ring",3,"modelChange","disabled","aria-label","model"],[3,"click"],[3,"user"],["type","button","mat-menu-item","","role","menuitemcheckbox","aria-label","Clear",3,"b-menu-item-checked",
"disabled"],["type","button","mat-menu-item","","role","menuitemcheckbox",3,"b-menu-item-checked","disabled","hotkey"],["type","button","mat-menu-item","","role","menuitemcheckbox","aria-label","Clear",3,"click","disabled"],[1,"b-menu-item-check-mark"],["svgIcon","done",1,"icon-s"],["type","button","mat-menu-item","","role","menuitemcheckbox",3,"click","onHotkey","disabled","hotkey"],[1,"flex-kids-x","align-items-center","gap"],[1,"muted","plain-monospace","margin-left-auto"],[1,"bv2-editable-value",
3,"keydown","click"],[1,"issue-metadata-field-dropdown-icon"],[1,"issue-metadata-field-edit-icon"],[1,"flex-kids-x","flex-cross-axis-centered"],[3,"user","email","teamId","enableSmallChip"],[1,"bv2-editfield-avatar",3,"email"],[1,"bv2-metadata-field-value"],[3,"email"],[1,"bv2-metadata-field-value",3,"ngClass","maxWidth","modelValue","disabled"],[1,"bv2-metadata-field-value",3,"class","maxWidth","modelValue","disabled"],[1,"chippy",3,"maxWidth","modelValue","disabled"],[1,"bv2-metadata-field-value",
3,"maxWidth","modelValue","disabled"],[1,"bv2-edit-button"],["svgIcon","arrow-dropdown"],["svgIcon","edit-outline"],["role","dialog"],[1,"bv2-text-field-edit"],[3,"dateSelectionChange","saveClicked","cancelClicked","required","date"],[1,"bv2-text-field-edit",3,"click"],[1,"bv2-text-edit-dialog-buttons"],["type","button","mat-flat-button","","color","primary",1,"medium","field-popup-button",3,"click","disabled","matTooltip"],["svgIcon","done"],["type","button","mat-stroked-button","","color","primary",
1,"medium","field-popup-button",3,"click","matTooltip"],["svgIcon","close"],["spellcheck","false",3,"ngModel"],["step","any","spellcheck","false",3,"ngModel"],["spellcheck","false",3,"ngModelChange","keydown","ngModel"],["step","any","spellcheck","false",3,"ngModelChange","keydown","ngModel"],["spellcheck","false",3,"ngModel","bContactAutocomplete"],["step","any","spellcheck","false",3,"ngModel","bContactAutocomplete"],["spellcheck","false",3,"ngModelChange","keydown","autocompleteActive","ngModel",
"bContactAutocomplete"],["step","any","spellcheck","false",3,"ngModelChange","keydown","autocompleteActive","ngModel","bContactAutocomplete"]],template:function(a,b){a&1&&(I(0,"div")(1,"div",6),D(2,mTa,6,14,"div",7)(3,pTa,3,13,"div",8)(4,rTa,1,1),K(5,"div",9),J(),I(6,"mat-menu",10,0),D(8,vTa,3,1,"ng-template",11),J()(),D(9,JTa,6,6,"ng-template",null,1,ih)(11,XTa,6,4,"ng-template",null,2,ih));a&2&&(B(),sg("active",b.isActive&&!b.readonly&&!b.disabled),B(),G(b.type!=="BOOL"?2:-1),B(),G(b.type==="BOOL"?
3:-1),B(),G(b.isUser?4:-1))},dependencies:[bL,aw,dw,pB,VA,VO,pQ,oi,Gy,Ny,wH,eB,jy,xL,IL,GL,HL,JL,mB,rB,jQ,gK,lQ,QM,eP,fw],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 AQ={ENUM:"ENUM",BOOL:"BOOL",DATE:"DATE",TEXT:"TEXT",NUMERIC:"NUMERIC"},BQ=function(){};BQ.\u0275fac=function(a){return new (a||BQ)};BQ.\u0275mod=Cf({type:BQ});BQ.\u0275inj=p({imports:[bP,eQ,lC,WO,yQ,bz,xH,mC,bN,pC,kQ,XM,hC,mQ,gP]});var CQ=function(){Z.apply(this,arguments);var a=this;this.changelistApi=r(hD);this.providedChangelistId$=new Tf(1);this.changelist$=this.providedChangelistId$.pipe(Yf(function(b){return a.changelistApi.getChangelistDetails(b)}),Vf({refCount:!0,bufferSize:1}));this.init=new Tf(1)};Y(CQ,Z);CQ.\u0275dir=Z.\u0275dir;CQ.prototype.ngOnInit=function(){var a=this;this.changelist$.pipe(Nf(),Zf(this.destroyed$)).subscribe(function(){a.init.next()})};CQ.prototype.ngOnChanges=function(a){a.changelistId&&this.providedChangelistId$.next(this.changelistId)};
CQ.\u0275fac=function(){var a;return function(b){return(a||(a=ee(CQ)))(b||CQ)}}();
CQ.\u0275cmp=C({type:CQ,selectors:[["b-changelist-card"]],inputs:{changelistId:"changelistId"},outputs:{init:"init"},standalone:!1,features:[cg,rv],decls:4,vars:3,consts:[["role","dialog","aria-label","Changelist hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"card"],[3,"href"],[1,"author"],[1,"description"],[3,"innerHTML"],[3,"email","hovercardEnabled"],["mode","datetime",1,"float-right",3,"timestamp"]],template:function(a,b){a&1&&(I(0,"div",0)(1,"div",1),D(2,bUa,16,5,"div",
2),S(3,"async"),J()());if(a&2){var c;B(2);G((c=U(3,1,b.changelist$))?2:-1,c)}},dependencies:[cL,iH,ew],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 DQ=function(){this.analytics=r(OF);this.config=Object.assign({},new cI,{showDelay:400,hideDelay:400,position:[{originX:"start",originY:"center",overlayX:"end",overlayY:"center",offsetX:-20}]})};DQ.prototype.ngOnInit=function(){};DQ.prototype.trackClick=function(){this.analytics.trackEvent("editIssue","click","changelistChip")};DQ.\u0275fac=function(a){return new (a||DQ)};
DQ.\u0275cmp=C({type:DQ,selectors:[["b-changelist-chip"]],inputs:{changelistId:"changelistId"},standalone:!1,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=v();I(0,"a",2);M("click",function(){w(c);return x(b.trackClick())});
Q(1);I(2,"span",3);Q(3,"CL");J()();I(4,"onedev-hovercard",null,0);D(6,cUa,2,2,"b-changelist-card",4);J()}a&2&&(a=L(5),E("href","http://critique.corp.google.com/"+b.changelistId,vf)("onedevHovercardTrigger",a)("onedevHovercardConfig",b.config),jg("aria-label","Changelist "+b.changelistId),B(),R(" ",b.changelistId," "))},dependencies:[$H,aI,fI,bI,CQ],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 EQ=function(){this.activeSession=r(Bu);this.analytics=r(OF);this.gerritUrl="";this.isInternal=this.activeSession.getFrontendAccessMode()==="INTERNAL"};EQ.prototype.ngOnInit=function(){};EQ.prototype.ngOnChanges=function(a){a.change&&(this.gerritUrl=Nwa(this.change,this.isInternal))};EQ.prototype.trackClick=function(){this.analytics.trackEvent("editIssue","click","gerritChangesChip")};EQ.\u0275fac=function(a){return new (a||EQ)};
EQ.\u0275cmp=C({type:EQ,selectors:[["b-gerrit-change-chip"]],inputs:{change:[0,"gerritChange","change"]},standalone:!1,features:[rv],decls:5,vars:8,consts:[["target","_blank",1,"bv2-metadata-link",3,"click","href"],[1,"suffix"]],template:function(a,b){a&1&&(I(0,"a",0),M("click",function(){return b.trackClick()}),Q(1),I(2,"span",1),Q(3),S(4,"titlecase"),J()());a&2&&(mg("aria-label","",b.change.host," ",b.change.changeNumber,""),E("href",b.gerritUrl,vf),B(),R(" ",b.change.changeNumber," "),B(2),Yg(U(4,
6,b.change.host)))},dependencies:[gw],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 FQ=function(){this.activeSession=r(Bu);this.gerritChange=this.changelist=void 0;this.enableGerritChanges=Vt(this.activeSession,"enableGerritChanges")};FQ.prototype.ngOnInit=function(){};FQ.prototype.ngOnChanges=function(a){a.codeChange&&((a=Il(this.codeChange))?(this.changelist=void 0,this.gerritChange=a):(this.gerritChange=void 0,this.changelist=Number(this.codeChange)))};FQ.\u0275fac=function(a){return new (a||FQ)};
FQ.\u0275cmp=C({type:FQ,selectors:[["b-code-change-chip"]],inputs:{codeChange:"codeChange"},standalone:!1,features:[rv],decls:2,vars:1,consts:[[3,"changelistId"],[3,"gerritChange"]],template:function(a,b){a&1&&D(0,dUa,1,1,"b-changelist-chip",0)(1,eUa,1,1,"b-gerrit-change-chip",1);a&2&&G(b.changelist?0:b.enableGerritChanges&&b.gerritChange?1:-1)},dependencies:[DQ,EQ],encapsulation:2});var mHc=function(){this.id=0};mHc.\u0275fac=function(a){return new (a||mHc)};
mHc.\u0275cmp=C({type:mHc,selectors:[["changelist-link-plain"]],inputs:{id:"id"},standalone:!1,decls:5,vars:3,consts:[["card","onedevHovercard"],["cardBody",""],["target","_blank",1,"cl-link",3,"href","onedevHovercardTrigger"],[3,"onedevIsHovercardReady","changelistId",4,"onedevHovercardLazyBody"],[3,"onedevIsHovercardReady","changelistId"]],template:function(a,b){a&1&&(I(0,"a",2),Q(1),J(),I(2,"onedev-hovercard",null,0),D(4,fUa,2,2,"b-changelist-card",3),J());a&2&&(a=L(3),E("href","http://critique.corp.google.com/"+
b.id,vf)("onedevHovercardTrigger",a),B(),R(" cl/",b.id,"\n"))},dependencies:[$H,aI,fI,bI,CQ],encapsulation:2});var GQ=function(){};GQ.\u0275fac=function(a){return new (a||GQ)};GQ.\u0275mod=Cf({type:GQ});GQ.\u0275inj=p({imports:[lC,gP,WM,TM]});var HQ=function(){};HQ.\u0275fac=function(a){return new (a||HQ)};HQ.\u0275mod=Cf({type:HQ});HQ.\u0275inj=p({imports:[lC,WM,GQ]});var nHc=new zd("GMAT_LIST_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var IQ=function(a){this.options=a};IQ.\u0275fac=function(a){return new (a||IQ)(hf(nHc))};IQ.\u0275dir=Df({type:IQ,selectors:[["mat-list"],["mat-action-list"],["mat-nav-list"],["mat-selection-list"]],hostVars:2,hostBindings:function(a,b){a&2&&sg("gmat-mdc-list",!b.options.disableGmatStyle)},standalone:!1});var oHc=new zd("ListOption");var pHc=function(){this._elementRef=r(ef)};pHc.\u0275fac=function(a){return new (a||pHc)};pHc.\u0275dir=Df({type:pHc,selectors:[["","matListItemTitle",""]],hostAttrs:[1,"mat-mdc-list-item-title","mdc-list-item__primary-text"]});var qHc=function(){this._elementRef=r(ef)};qHc.\u0275fac=function(a){return new (a||qHc)};qHc.\u0275dir=Df({type:qHc,selectors:[["","matListItemLine",""]],hostAttrs:[1,"mat-mdc-list-item-line","mdc-list-item__secondary-text"]});var JQ=function(){this._listOption=r(oHc,{optional:!0})};
JQ.prototype._isAlignedAtStart=function(){var a;return!this._listOption||((a=this._listOption)==null?void 0:a._getTogglePosition())==="after"};JQ.\u0275fac=function(a){return new (a||JQ)};JQ.\u0275dir=Df({type:JQ,hostVars:4,hostBindings:function(a,b){a&2&&sg("mdc-list-item__start",b._isAlignedAtStart())("mdc-list-item__end",!b._isAlignedAtStart())}});var KQ=function(){JQ.apply(this,arguments)};Y(KQ,JQ);KQ.\u0275fac=function(){var a;return function(b){return(a||(a=ee(KQ)))(b||KQ)}}();
KQ.\u0275dir=Df({type:KQ,selectors:[["","matListItemAvatar",""]],hostAttrs:[1,"mat-mdc-list-item-avatar"],features:[cg]});var LQ=function(){JQ.apply(this,arguments)};Y(LQ,JQ);LQ.\u0275fac=function(){var a;return function(b){return(a||(a=ee(LQ)))(b||LQ)}}();LQ.\u0275dir=Df({type:LQ,selectors:[["","matListItemIcon",""]],hostAttrs:[1,"mat-mdc-list-item-icon"],features:[cg]});var rHc=new zd("MAT_LIST_CONFIG");var MQ=function(){this._isNonInteractive=!0;this._disabled=this._disableRipple=!1;this._defaultOptions=r(rHc,{optional:!0})};da.Object.defineProperties(MQ.prototype,{disableRipple:{configurable:!0,enumerable:!0,get:function(){return this._disableRipple},set:function(a){this._disableRipple=di(a)}},disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=di(a)}}});MQ.\u0275fac=function(a){return new (a||MQ)};
MQ.\u0275dir=Df({type:MQ,hostVars:1,hostBindings:function(a,b){a&2&&jg("aria-disabled",b.disabled)},inputs:{disableRipple:"disableRipple",disabled:"disabled"}});
var NQ=function(){this._elementRef=r(ef);this._ngZone=r(kh);this._listBase=r(MQ,{optional:!0});this._platform=r(tw);this._explicitLines=null;this._disabled=this._disableRipple=!1;this._subscriptions=new je;this._rippleRenderer=null;this._hasUnscopedTextContent=!1;r(Aw).load(Ux);var a=r(Wx,{optional:!0}),b=r(Gv,{optional:!0});this.rippleConfig=a||{};this._hostElement=this._elementRef.nativeElement;this._isButtonElement=this._hostElement.nodeName.toLowerCase()==="button";this._noopAnimations=b==="NoopAnimations";
this._listBase&&!this._listBase._isNonInteractive&&this._initInteractiveListItem();this._isButtonElement&&!this._hostElement.hasAttribute("type")&&this._hostElement.setAttribute("type","button")};g=NQ.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 h9b(this,this._ngZone,this._hostElement,this._platform,r(Ye));k9b(this._rippleRenderer,this._hostElement)};g._monitorProjectedLinesAndTitle=function(){var a=this;this._ngZone.runOutsideAngular(function(){a._subscriptions.add(Te(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(NQ.prototype,{lines:{configurable:!0,enumerable:!0,set:function(a){this._explicitLines=gi(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=di(a)}},disabled:{configurable:!0,enumerable:!0,get:function(){var a;return this._disabled||!((a=this._listBase)==null||!a.disabled)},
set:function(a){this._disabled=di(a)}},rippleDisabled:{configurable:!0,enumerable:!0,get:function(){return this.disableRipple||!!this.rippleConfig.disabled}}});NQ.\u0275fac=function(a){return new (a||NQ)};
NQ.\u0275dir=Df({type:NQ,contentQueries:function(a,b,c){a&1&&(Sg(c,KQ,4),Sg(c,LQ,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&&(jg("aria-disabled",b.disabled)("disabled",b._isButtonElement&&b.disabled||null),sg("mdc-list-item--disabled",b.disabled))},inputs:{lines:"lines",disableRipple:"disableRipple",disabled:"disabled"}});var sHc=["unscopedContent"],tHc=[[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["mat-divider"]],[["","matListItemAvatar",""],["","matListItemIcon",""]]],uHc=new zd("SelectionList"),OQ=function(){NQ.apply(this,arguments);this._selectionList=r(uHc);this._changeDetectorRef=r(Ov);this.selectedChange=new Dv;this.togglePosition="after";this._inputsInitialized=this._selected=!1};Y(OQ,NQ);OQ.\u0275dir=NQ.\u0275dir;g=OQ.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;NQ.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(OQ.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=di(a);a!==this._selected&&(this._setSelected(a),(a||this._selectionList.multiple)&&this._selectionList._reportValueChange())}}});OQ.\u0275fac=function(){var a;return function(b){return(a||(a=ee(OQ)))(b||OQ)}}();
OQ.\u0275cmp=C({type:OQ,selectors:[["mat-list-option"]],contentQueries:function(a,b,c){a&1&&(Sg(c,qHc,5),Sg(c,pHc,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(sHc,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&&M("blur",function(){return b._handleBlur()})("click",function(){return b._toggleOnInteraction()});
a&2&&(jg("aria-selected",b.selected),sg("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"],features:[ch([{provide:NQ,useExisting:OQ},{provide:oHc,useExisting:OQ}]),cg],ngContentSelectors:["[matListItemTitle]","[matListItemLine]","*","mat-divider","[matListItemAvatar],[matListItemIcon]"],decls:20,vars:4,consts:[["icons",""],["checkbox",""],["radio",""],["unscopedContent",""],[1,"mdc-list-item__start","mat-mdc-list-option-checkbox-before"],[1,"mdc-list-item__start","mat-mdc-list-option-radio-before"],[3,"ngTemplateOutlet"],[1,"mdc-list-item__content"],[1,"mat-mdc-list-item-unscoped-content",
3,"cdkObserveContent"],[1,"mdc-list-item__end"],[1,"mat-focus-indicator"],[1,"mdc-checkbox"],["type","checkbox",1,"mdc-checkbox__native-control",3,"checked","disabled"],[1,"mdc-checkbox__background"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],[1,"mdc-radio"],["type","radio",1,"mdc-radio__native-control",3,"checked","disabled"],[1,"mdc-radio__background"],
[1,"mdc-radio__outer-circle"],[1,"mdc-radio__inner-circle"]],template:function(a,b){if(a&1){var c=v();Ig(tHc);D(0,gUa,1,0,"ng-template",null,0,ih)(2,hUa,6,4,"ng-template",null,1,ih)(4,iUa,5,4,"ng-template",null,2,ih)(6,kUa,2,1,"span",4)(7,mUa,2,1,"span",5)(8,oUa,1,1,null,6);I(9,"span",7);Jg(10);Jg(11,1);I(12,"span",8,3);M("cdkObserveContent",function(){w(c);return x(b._updateItemLines(!0))});Jg(14,2);J()();D(15,qUa,2,1,"span",9)(16,sUa,2,1,"span",9)(17,uUa,1,1,null,6);Jg(18,3);K(19,"div",10)}a&2&&
(B(6),G(b._hasCheckboxAt("before")?6:b._hasRadioAt("before")?7:-1),B(2),G(b._hasIconsOrAvatarsAt("before")?8:-1),B(7),G(b._hasCheckboxAt("after")?15:b._hasRadioAt("after")?16:-1),B(2),G(b._hasIconsOrAvatarsAt("after")?17:-1))},dependencies:[dw,Nw],styles:['.mat-mdc-list-option-with-trailing-avatar.mdc-list-item,[dir=rtl] .mat-mdc-list-option-with-trailing-avatar.mdc-list-item{padding-left:0;padding-right:0}.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end{margin-left:16px;margin-right:16px;width:40px;height:40px}.mat-mdc-list-option-with-trailing-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mat-mdc-list-option-with-trailing-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mat-mdc-list-option-with-trailing-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end{border-radius:50%}.mat-mdc-list-option .mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom;padding:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2);margin:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;width:var(--mdc-checkbox-state-layer-size, 40px);height:var(--mdc-checkbox-state-layer-size, 40px);top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2)}.mat-mdc-list-option .mdc-checkbox--disabled{cursor:default;pointer-events:none}@media(forced-colors: active){.mat-mdc-list-option .mdc-checkbox--disabled{opacity:.5}}.mat-mdc-list-option .mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms cubic-bezier(0.4, 0, 0.6, 1);-webkit-print-color-adjust:exact;color-adjust:exact;border-color:var(--mdc-checkbox-unselected-icon-color, var(--mat-sys-on-surface-variant));top:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2)}.mat-mdc-list-option .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color, var(--mat-sys-primary));background-color:var(--mdc-checkbox-selected-icon-color, var(--mat-sys-primary))}.mat-mdc-list-option .mdc-checkbox--disabled .mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-list-option .mdc-checkbox__native-control:disabled:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox__native-control:disabled:indeterminate~.mdc-checkbox__background{background-color:var(--mdc-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:rgba(0,0,0,0)}.mat-mdc-list-option .mdc-checkbox:hover .mdc-checkbox__native-control:not(:checked)~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:hover .mdc-checkbox__native-control:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color, var(--mat-sys-on-surface));background-color:rgba(0,0,0,0)}.mat-mdc-list-option .mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:hover .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mat-sys-primary));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mat-sys-primary))}.mat-mdc-list-option .mdc-checkbox__native-control:focus:focus:not(:checked)~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox__native-control:focus:focus:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mat-sys-on-surface))}.mat-mdc-list-option .mdc-checkbox__native-control:focus:focus:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox__native-control:focus:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mat-sys-primary));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mat-sys-primary))}.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox:hover .mdc-checkbox__native-control~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{background-color:var(--mdc-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:rgba(0,0,0,0)}.mat-mdc-list-option .mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms cubic-bezier(0.4, 0, 0.6, 1);color:var(--mdc-checkbox-selected-checkmark-color, var(--mat-sys-on-primary))}@media(forced-colors: active){.mat-mdc-list-option .mdc-checkbox__checkmark{color:CanvasText}}.mat-mdc-list-option .mdc-checkbox--disabled .mdc-checkbox__checkmark,.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface))}@media(forced-colors: active){.mat-mdc-list-option .mdc-checkbox--disabled .mdc-checkbox__checkmark,.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:CanvasText}}.mat-mdc-list-option .mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mat-mdc-list-option .mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1);border-color:var(--mdc-checkbox-selected-checkmark-color, var(--mat-sys-on-primary))}@media(forced-colors: active){.mat-mdc-list-option .mdc-checkbox__mixedmark{margin:0 1px}}.mat-mdc-list-option .mdc-checkbox--disabled .mdc-checkbox__mixedmark,.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface))}.mat-mdc-list-option .mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mat-mdc-list-option .mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear;transition:none}.mat-mdc-list-option .mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear;transition:none}.mat-mdc-list-option .mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear;transition:none}.mat-mdc-list-option .mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear;transition:none}.mat-mdc-list-option .mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear;transition:none}.mat-mdc-list-option .mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear;transition:none}.mat-mdc-list-option .mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear;transition:none}.mat-mdc-list-option .mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear;transition:none}.mat-mdc-list-option .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{transition:border-color 90ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option .mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mat-mdc-list-option .mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms cubic-bezier(0, 0, 0.2, 1),transform 180ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mat-mdc-list-option .mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mat-mdc-list-option._mat-animation-noopable .mdc-checkbox *,.mat-mdc-list-option._mat-animation-noopable .mdc-checkbox *::before{transition:none !important;animation:none !important}.mat-mdc-list-option .mdc-radio{display:inline-block;position:relative;flex:0 0 auto;box-sizing:content-box;width:20px;height:20px;cursor:pointer;will-change:opacity,transform,border-color,color;padding:calc((var(--mdc-radio-state-layer-size, 40px) - 20px)/2)}.mat-mdc-list-option .mdc-radio__background{display:inline-block;position:relative;box-sizing:border-box;width:20px;height:20px}.mat-mdc-list-option .mdc-radio__background::before{position:absolute;transform:scale(0, 0);border-radius:50%;opacity:0;pointer-events:none;content:"";transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1);width:var(--mdc-radio-state-layer-size, 40px);height:var(--mdc-radio-state-layer-size, 40px);top:calc(-1*(var(--mdc-radio-state-layer-size, 40px) - 20px)/2);left:calc(-1*(var(--mdc-radio-state-layer-size, 40px) - 20px)/2)}.mat-mdc-list-option .mdc-radio__outer-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;border-width:2px;border-style:solid;border-radius:50%;transition:border-color 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option .mdc-radio__inner-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;transform:scale(0, 0);border-width:10px;border-style:solid;border-radius:50%;transition:transform 90ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option .mdc-radio__native-control{position:absolute;margin:0;padding:0;opacity:0;top:0;right:0;left:0;cursor:inherit;z-index:1;width:var(--mdc-radio-state-layer-size, 40px);height:var(--mdc-radio-state-layer-size, 40px)}.mat-mdc-list-option .mdc-radio__native-control:checked+.mdc-radio__background,.mat-mdc-list-option .mdc-radio__native-control:disabled+.mdc-radio__background{transition:opacity 90ms cubic-bezier(0, 0, 0.2, 1),transform 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__outer-circle{transition:border-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-list-option .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{transition:transform 90ms cubic-bezier(0, 0, 0.2, 1),border-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-unselected-icon-color, var(--mat-sys-on-surface));opacity:var(--mdc-radio-disabled-unselected-icon-opacity, 0.38)}.mat-mdc-list-option .mdc-radio__native-control:disabled+.mdc-radio__background{cursor:default}.mat-mdc-list-option .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-list-option .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-selected-icon-color, var(--mat-sys-on-surface));opacity:var(--mdc-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-list-option .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-list-option .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-icon-color, var(--mat-sys-primary))}.mat-mdc-list-option .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle{transform:scale(0.5);transition:transform 90ms cubic-bezier(0, 0, 0.2, 1),border-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option._mat-animation-noopable .mdc-radio__background::before,.mat-mdc-list-option._mat-animation-noopable .mdc-radio__outer-circle,.mat-mdc-list-option._mat-animation-noopable .mdc-radio__inner-circle{transition:none !important}.mat-mdc-list-option .mdc-checkbox__native-control,.mat-mdc-list-option .mdc-radio__native-control{display:none}@media(forced-colors: active){.mat-mdc-list-option.mdc-list-item--selected::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.mat-mdc-list-option.mdc-list-item--selected [dir=rtl]::after{right:auto;left:16px}}\n'],
encapsulation:2,changeDetection:0});var vHc={provide:Ay,useExisting:ld(function(){return PQ}),multi:!0},wHc=function(a,b){this.source=a;this.options=b},PQ=function(){MQ.call(this);var a=this;this._element=r(ef);this._ngZone=r(kh);this._renderer=r(Iv);this._initialized=!1;this._destroyed=new Uf;this._onChange=function(){};this.selectionChange=new Dv;this.color="accent";this.compareWith=function(d,e){return d===e};this._multiple=!0;var b,c;this._hideSingleSelectionIndicator=(c=(b=this._defaultOptions)==null?void 0:b.hideSingleSelectionIndicator)!=
null?c:!1;this.selectedOptions=new ox(this._multiple);this._onTouched=function(){};this._changeDetectorRef=r(Ov);this._selectionListDisabled=!1;this._handleFocusout=function(){setTimeout(function(){a._containsFocus()||a._resetActiveOption()})};this._handleFocusin=function(d){if(!a.disabled){var e=a._items.toArray().findIndex(function(f){return f._elementRef.nativeElement.contains(d.target)});e>-1?a._setActiveOption(e):a._resetActiveOption()}};this._isNonInteractive=!1};Y(PQ,MQ);PQ.\u0275dir=MQ.\u0275dir;
g=PQ.prototype;g.ngAfterViewInit=function(){var a=this;this._initialized=!0;this._setupRovingTabindex();this._ngZone.runOutsideAngular(function(){a._listenerCleanups=[a._renderer.listen(a._element.nativeElement,"focusin",a._handleFocusin),a._renderer.listen(a._element.nativeElement,"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();var b;(b=this._listenerCleanups)==null||b.forEach(function(c){return c()});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 wHc(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(Zf(this._destroyed)).subscribe(function(b){for(var c=k(b.added),d=c.next();!d.done;d=c.next())d.value.selected=!0;b=k(b.removed);for(c=b.next();!c.done;c=b.next())c.value.selected=!1;a._containsFocus()||a._resetActiveOption()})};
g._setOptionsFromValues=function(a){var b=this;this.options.forEach(function(c){return c._setSelected(!1)});a.forEach(function(c){var d=b.options.find(function(e){return e.selected?!1:b.compareWith(e.value,c)});d&&d._setSelected(!0)})};g._getSelectedOptionValues=function(){return this.options.filter(function(a){return a.selected}).map(function(a){return a.value})};g._markOptionsForCheck=function(){this.options&&this.options.forEach(function(a){return a._markForCheck()})};
g._setAllOptionsSelected=function(a,b){var c=[];this.options.forEach(function(d){b&&d.disabled||!d._setSelected(a)||c.push(d)});c.length&&this._reportValueChange();return c};
g._handleKeydown=function(a){var b=this._keyManager.activeItem;if(a.keyCode!==13&&a.keyCode!==32||this._keyManager.isTyping()||!b||b.disabled)if(a.keyCode===65&&this.multiple&&!this._keyManager.isTyping()&&Xh(a,"ctrlKey","metaKey"))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=Yw(n8b(ax(new dx(this._items)))).skipPredicate(function(){return a.disabled});this._resetActiveOption();this._keyManager.change.subscribe(function(b){return a._setActiveOption(b)});this._items.changes.pipe(Zf(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)});bx(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=ai();return a&&this._element.nativeElement.contains(a)};
da.Object.defineProperties(PQ.prototype,{multiple:{configurable:!0,enumerable:!0,get:function(){return this._multiple},set:function(a){a=di(a);a!==this._multiple&&(this._multiple=a,this.selectedOptions=new ox(this._multiple,this.selectedOptions.selected))}},hideSingleSelectionIndicator:{configurable:!0,enumerable:!0,get:function(){return this._hideSingleSelectionIndicator},set:function(a){this._hideSingleSelectionIndicator=di(a)}},disabled:{configurable:!0,enumerable:!0,get:function(){return this._selectionListDisabled},
set:function(a){if(this._selectionListDisabled=di(a)){var b;(b=this._keyManager)==null||b.setActiveItem(-1)}}},options:{configurable:!0,enumerable:!0,get:function(){return this._items}}});PQ.\u0275fac=function(a){return new (a||PQ)};
PQ.\u0275cmp=C({type:PQ,selectors:[["mat-selection-list"]],contentQueries:function(a,b,c){a&1&&Sg(c,OQ,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&&M("keydown",function(c){return b._handleKeydown(c)});a&2&&jg("aria-multiselectable",b.multiple)},inputs:{color:"color",compareWith:"compareWith",multiple:"multiple",hideSingleSelectionIndicator:"hideSingleSelectionIndicator",
disabled:"disabled"},outputs:{selectionChange:"selectionChange"},exportAs:["matSelectionList"],features:[ch([vHc,{provide:MQ,useExisting:PQ},{provide:uHc,useExisting:PQ}]),cg,rv],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, transparent);border-radius:var(--mdc-list-list-item-container-shape, var(--mat-sys-corner-none))}.mdc-list-item.mdc-list-item--selected{background-color:var(--mdc-list-list-item-selected-container-color)}.mdc-list-item:focus{outline:0}.mdc-list-item.mdc-list-item--disabled{cursor:auto}.mdc-list-item.mdc-list-item--with-one-line{height:var(--mdc-list-list-item-one-line-container-height, 48px)}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__start{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines{height:var(--mdc-list-list-item-two-line-container-height, 64px)}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-three-lines{height:var(--mdc-list-list-item-three-line-container-height, 88px)}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--selected::before,.mdc-list-item.mdc-list-item--selected:focus::before,.mdc-list-item:not(.mdc-list-item--selected):focus::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;content:"";pointer-events:none}a.mdc-list-item{color:inherit;text-decoration:none}.mdc-list-item__start{fill:currentColor;flex-shrink:0;pointer-events:none}.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-leading-icon-color, var(--mat-sys-on-surface-variant));width:var(--mdc-list-list-item-leading-icon-size, 24px);height:var(--mdc-list-list-item-leading-icon-size, 24px);margin-left:16px;margin-right:32px}[dir=rtl] .mdc-list-item--with-leading-icon .mdc-list-item__start{margin-left:32px;margin-right:16px}.mdc-list-item--with-leading-icon:hover .mdc-list-item__start{color:var(--mdc-list-list-item-hover-leading-icon-color)}.mdc-list-item--with-leading-avatar .mdc-list-item__start{width:var(--mdc-list-list-item-leading-avatar-size, 40px);height:var(--mdc-list-list-item-leading-avatar-size, 40px);margin-left:16px;margin-right:16px;border-radius:50%}.mdc-list-item--with-leading-avatar .mdc-list-item__start,[dir=rtl] .mdc-list-item--with-leading-avatar .mdc-list-item__start{margin-left:16px;margin-right:16px;border-radius:50%}.mdc-list-item__end{flex-shrink:0;pointer-events:none}.mdc-list-item--with-trailing-meta .mdc-list-item__end{font-family:var(--mdc-list-list-item-trailing-supporting-text-font, var(--mat-sys-label-small-font));line-height:var(--mdc-list-list-item-trailing-supporting-text-line-height, var(--mat-sys-label-small-line-height));font-size:var(--mdc-list-list-item-trailing-supporting-text-size, var(--mat-sys-label-small-size));font-weight:var(--mdc-list-list-item-trailing-supporting-text-weight, var(--mat-sys-label-small-weight));letter-spacing:var(--mdc-list-list-item-trailing-supporting-text-tracking, var(--mat-sys-label-small-tracking))}.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-icon-color, var(--mat-sys-on-surface-variant));width:var(--mdc-list-list-item-trailing-icon-size, 24px);height:var(--mdc-list-list-item-trailing-icon-size, 24px)}.mdc-list-item--with-trailing-icon:hover .mdc-list-item__end{color:var(--mdc-list-list-item-hover-trailing-icon-color)}.mdc-list-item.mdc-list-item--with-trailing-meta .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-supporting-text-color, var(--mat-sys-on-surface-variant))}.mdc-list-item--selected.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-selected-trailing-icon-color, var(--mat-sys-primary))}.mdc-list-item__content{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;align-self:center;flex:1;pointer-events:none}.mdc-list-item--with-two-lines .mdc-list-item__content,.mdc-list-item--with-three-lines .mdc-list-item__content{align-self:stretch}.mdc-list-item__primary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;color:var(--mdc-list-list-item-label-text-color, var(--mat-sys-on-surface));font-family:var(--mdc-list-list-item-label-text-font, var(--mat-sys-body-large-font));line-height:var(--mdc-list-list-item-label-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mdc-list-list-item-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mdc-list-list-item-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mdc-list-list-item-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-list-item:hover .mdc-list-item__primary-text{color:var(--mdc-list-list-item-hover-label-text-color, var(--mat-sys-on-surface))}.mdc-list-item:focus .mdc-list-item__primary-text{color:var(--mdc-list-list-item-focus-label-text-color, var(--mat-sys-on-surface))}.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item__secondary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;color:var(--mdc-list-list-item-supporting-text-color, var(--mat-sys-on-surface-variant));font-family:var(--mdc-list-list-item-supporting-text-font, var(--mat-sys-body-medium-font));line-height:var(--mdc-list-list-item-supporting-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mdc-list-list-item-supporting-text-size, var(--mat-sys-body-medium-size));font-weight:var(--mdc-list-list-item-supporting-text-weight, var(--mat-sys-body-medium-weight));letter-spacing:var(--mdc-list-list-item-supporting-text-tracking, var(--mat-sys-body-medium-tracking))}.mdc-list-item__secondary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__secondary-text{white-space:normal;line-height:20px}.mdc-list-item--with-overline .mdc-list-item__secondary-text{white-space:nowrap;line-height:auto}.mdc-list-item--with-leading-radio.mdc-list-item,.mdc-list-item--with-leading-checkbox.mdc-list-item,.mdc-list-item--with-leading-icon.mdc-list-item,.mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:0;padding-right:16px}[dir=rtl] .mdc-list-item--with-leading-radio.mdc-list-item,[dir=rtl] .mdc-list-item--with-leading-checkbox.mdc-list-item,[dir=rtl] .mdc-list-item--with-leading-icon.mdc-list-item,[dir=rtl] .mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:16px;padding-right:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-trailing-icon.mdc-list-item,[dir=rtl] .mdc-list-item--with-trailing-icon.mdc-list-item{padding-left:0;padding-right:0}.mdc-list-item--with-trailing-icon .mdc-list-item__end{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:16px;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:0;padding-right:16px}.mdc-list-item--with-trailing-meta .mdc-list-item__end{-webkit-user-select:none;user-select:none;margin-left:28px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-meta .mdc-list-item__end{margin-left:16px;margin-right:28px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end,.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{display:block;line-height:normal;align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end::before,.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio .mdc-list-item__start,.mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-radio .mdc-list-item__start,[dir=rtl] .mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__start,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-radio.mdc-list-item,.mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:16px;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item,[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:0;padding-right:16px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-icon,.mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-avatar,.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-icon,.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-avatar{padding-left:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-icon,[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-avatar,[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-icon,[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-avatar{padding-right:0}.mdc-list-item--with-trailing-radio .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-radio .mdc-list-item__end,[dir=rtl] .mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-three-lines .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-group__subheader{margin:.75rem 16px}.mdc-list-item--disabled .mdc-list-item__start,.mdc-list-item--disabled .mdc-list-item__content,.mdc-list-item--disabled .mdc-list-item__end{opacity:1}.mdc-list-item--disabled .mdc-list-item__primary-text,.mdc-list-item--disabled .mdc-list-item__secondary-text{opacity:var(--mdc-list-list-item-disabled-label-text-opacity, 0.3)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-disabled-leading-icon-color, var(--mat-sys-on-surface));opacity:var(--mdc-list-list-item-disabled-leading-icon-opacity, 0.38)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-disabled-trailing-icon-color, var(--mat-sys-on-surface));opacity:var(--mdc-list-list-item-disabled-trailing-icon-opacity, 0.38)}.mat-mdc-list-item.mat-mdc-list-item-both-leading-and-trailing,[dir=rtl] .mat-mdc-list-item.mat-mdc-list-item-both-leading-and-trailing{padding-left:0;padding-right:0}.mdc-list-item.mdc-list-item--disabled .mdc-list-item__primary-text{color:var(--mdc-list-list-item-disabled-label-text-color, var(--mat-sys-on-surface))}.mdc-list-item:hover::before{background-color:var(--mdc-list-list-item-hover-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mdc-list-list-item-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mdc-list-item.mdc-list-item--disabled::before{background-color:var(--mdc-list-list-item-disabled-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mdc-list-list-item-disabled-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-list-item:focus::before{background-color:var(--mdc-list-list-item-focus-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mdc-list-list-item-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-list-item--disabled .mdc-radio,.mdc-list-item--disabled .mdc-checkbox{opacity:var(--mdc-list-list-item-disabled-label-text-opacity, 0.3)}.mdc-list-item--with-leading-avatar .mat-mdc-list-item-avatar{border-radius:var(--mdc-list-list-item-leading-avatar-shape, var(--mat-sys-corner-full));background-color:var(--mdc-list-list-item-leading-avatar-color, var(--mat-sys-primary-container))}.mat-mdc-list-item-icon{font-size:var(--mdc-list-list-item-leading-icon-size, 24px)}@media(forced-colors: active){a.mdc-list-item--activated::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}a.mdc-list-item--activated [dir=rtl]::after{right:auto;left:16px}}.mat-mdc-list-base{display:block}.mat-mdc-list-base .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item__end,.mat-mdc-list-base .mdc-list-item__content{pointer-events:auto}.mat-mdc-list-item,.mat-mdc-list-option{width:100%;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-list-item:not(.mat-mdc-list-item-interactive),.mat-mdc-list-option:not(.mat-mdc-list-item-interactive){cursor:default}.mat-mdc-list-item .mat-divider-inset,.mat-mdc-list-option .mat-divider-inset{position:absolute;left:0;right:0;bottom:0}.mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,.mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-left:72px}[dir=rtl] .mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,[dir=rtl] .mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-right:72px}.mat-mdc-list-item-interactive::before{top:0;left:0;right:0;bottom:0;position:absolute;content:"";opacity:0;pointer-events:none;border-radius:inherit}.mat-mdc-list-item>.mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-list-item:focus>.mat-focus-indicator::before{content:""}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-line.mdc-list-item__secondary-text{white-space:nowrap;line-height:normal}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-unscoped-content.mdc-list-item__secondary-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:start}mat-action-list button::-moz-focus-inner{border:0}.mdc-list-item--with-leading-icon .mdc-list-item__start{margin-inline-start:var(--mat-list-list-item-leading-icon-start-space, 16px);margin-inline-end:var(--mat-list-list-item-leading-icon-end-space, 16px)}.mat-mdc-nav-list .mat-mdc-list-item{border-radius:var(--mat-list-active-indicator-shape, var(--mat-sys-corner-full));--mat-focus-indicator-border-radius:var(--mat-list-active-indicator-shape, var(--mat-sys-corner-full))}.mat-mdc-nav-list .mat-mdc-list-item.mdc-list-item--activated{background-color:var(--mat-list-active-indicator-color, var(--mat-sys-secondary-container))}\n'],
encapsulation:2,changeDetection:0});var QQ=function(){Z.apply(this,arguments);var a=this;this.dialogRef=r(mI);this.data=r(sI);this.searchQuery$=new Uf;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(Lf(300),Pf(),z(function(b){if(b.trim()!==""){var c=
b.toLowerCase();return a.data.allowedValues.filter(function(d){return Da(d.toLowerCase(),c)})}return xHc(a)}))};Y(QQ,Z);QQ.\u0275dir=Z.\u0275dir;var xHc=function(a){var b=a.data.allowedValues.filter(function(c){return!a.originalSelectedValues.has(c)});return[].concat(t(a.originalSelectedValues),t(b))};
QQ.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=Hta(this.originalSelectedValues,this.selectedValues);this.hasPendingChanges=!!a;var c=k(wUa(a));a=c.next().value;c=c.next().value;this.saveBtnLabel=a;this.saveBtnTooltip=c};var yHc=function(a){a.dialogRef.close(a.usePreviousSelectedValues?a.previousSelectedValues:a.selectedValues)};
QQ.prototype.closeDialog=function(){this.dialogRef.close()};QQ.\u0275fac=function(){var a;return function(b){return(a||(a=ee(QQ)))(b||QQ)}}();
QQ.\u0275cmp=C({type:QQ,selectors:[["b-custom-repeated-enum-dialog"]],hostBindings:function(a,b){a&1&&M("keydown.meta.enter",function(){return yHc(b)})("keydown.shift.enter",function(){return yHc(b)})("keydown.control.enter",function(){return yHc(b)})},standalone:!1,features:[cg],decls:18,vars:10,consts:[["customRepeatedEnumSearchBox",""],["content",""],["mat-dialog-title",""],[1,"search-container"],["svgIcon","search"],["type","search",1,"search-box",3,"click","input","placeholder"],["mat-dialog-content",
"",1,"search-results"],[3,"selectionChange","keydown.meta.enter","keydown.shift.enter","keydown.control.enter"],["checkboxPosition","before",3,"selected","value","height"],["type","button","mat-button","","mat-dialog-close","","tooltip","Close dialog","aria-label","Close dialog","role","button",3,"click"],["type","button","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=
v();I(0,"header",2)(1,"h2");Q(2);J();I(3,"div",3);K(4,"mat-icon",4);I(5,"input",5,0);M("click",function(){w(c);var e=L(6);b.searchQuery$.next(e.value);return x()})("input",function(){w(c);var e=L(6);b.searchQuery$.next(e.value);return x()});J()()();I(7,"section",6,1)(9,"mat-selection-list",7);M("selectionChange",function(e){w(c);return x(b.changeSelection(e))})("keydown.meta.enter",function(){w(c);return x(b.usePreviousSelectedValues=!0)})("keydown.shift.enter",function(){w(c);return x(b.usePreviousSelectedValues=
!0)})("keydown.control.enter",function(){w(c);return x(b.usePreviousSelectedValues=!0)});yg(10,vUa,2,5,"mat-list-option",8,xg);S(12,"async");J()();I(13,"mat-dialog-actions")(14,"button",9);M("click",function(){w(c);return x(b.closeDialog())});Q(15," Cancel ");J();I(16,"button",10);M("click",function(){w(c);return x(yHc(b))});Q(17);J()()}if(a&2){var d;B(2);R("Search for ",b.data.customFieldTitle,"");B(3);E("placeholder","Type to filter "+b.data.customFieldTitle+" values");jg("aria-label","Filter "+
b.data.customFieldTitle+" values");B(5);zg((d=U(12,8,b.matchedValues$))!==null&&d!==void 0?d:xHc(b));B(6);E("mat-dialog-close",!0)("matTooltip",b.saveBtnTooltip)("disabled",!b.hasPendingChanges);jg("aria-label",b.saveBtnTooltip);B();R(" ",b.saveBtnLabel," ")}},dependencies:[pB,eB,jy,uI,wI,yI,xI,IQ,PQ,OQ,mB,rB,ew],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 RQ=function(){this.dialog=r(tI);this.dialogRef=null};RQ.prototype.open=function(a){var b=this,c,d;return se(function(e){if(e.nextAddress==1)return c={panelClass:"no-jitter",data:a,ariaLabel:"Custom repeated enum dialog"},b.dialogRef=b.dialog.open(QQ,c),y(e,Fe(nI(b.dialogRef)),2);d=e.yieldResult;return e.return(Promise.resolve(d))})};RQ.prototype.isOpen=function(){return this.dialogRef?this.dialogRef.getState()===0:!1};RQ.\u0275fac=function(a){return new (a||RQ)};
RQ.\u0275prov=n({token:RQ,factory:RQ.\u0275fac,providedIn:"root"});new zd("MatList");new zd("MatNavList");var SQ=function(){};SQ.\u0275fac=function(a){return new (a||SQ)};SQ.\u0275mod=Cf({type:SQ});SQ.\u0275inj=p({imports:[Ow,Ox,ay,by,xQ]});var TQ=function(){};TQ.\u0275fac=function(a){return new (a||TQ)};TQ.\u0275mod=Cf({type:TQ});TQ.\u0275inj=p({imports:[SQ]});var UQ=function(){};UQ.\u0275fac=function(a){return new (a||UQ)};UQ.\u0275mod=Cf({type:UQ});UQ.\u0275inj=p({imports:[lC,bz,mC,XI,TQ,pC]});var VQ=function(){var a=this;this.showPlaceholder=!1;this.customFieldTitle="";this.allowMultiSelect=!1;this.selectedValues=[];this.allowedValues=[];this.disabled=!1;this.onValueChange=new aB;this.onApplyChanges=new aB;this.onCancelChanges=new aB;this.searchQuery$=new Uf;this.hasPendingChanges=!1;this.selectedValuesMap={};this.oldSelectedValuesMap={};this.suggestedValues$=this.searchQuery$.pipe(Lf(300),Pf(),z(function(b){var c=b.toLowerCase();return a.allowedValues.filter(function(d){return Da(d.toLowerCase(),
c)})}))};g=VQ.prototype;g.ngOnInit=function(){mea(this.selectedValuesMap);for(var a=k(this.allowedValues),b=a.next();!b.done;b=a.next())b=b.value,this.selectedValuesMap[b]=this.selectedValues.includes(b);this.oldSelectedValuesMap=Object.assign({},this.selectedValuesMap);this.hasPendingChanges=!1};g.ngAfterViewInit=function(){};g.getPlaceholder=function(){return this.showPlaceholder?"Select "+this.customFieldTitle:""};
g.onSpace=function(a){var b;this.allowMultiSelect&&((b=this.autocompleteTrigger)==null?0:b.activeOption)&&(this.toggleSelection(this.autocompleteTrigger.activeOption.value),a.preventDefault(),a.stopPropagation())};g.search=function(a){this.searchQuery$.next(a)};g.handleSelectionChange=function(){this.hasPendingChanges=!oj(this.oldSelectedValuesMap,this.selectedValuesMap)};g.toggleSelection=function(a){this.selectedValuesMap[a]=!this.selectedValuesMap[a];this.handleSelectionChange()};
var AUa=function(a,b){a.allowMultiSelect?(b=Object.keys(Gc(a.selectedValuesMap,function(c){return c})),a.onApplyChanges.emit(b)):a.onValueChange.emit(b==null?void 0:b.option.value)};VQ.prototype.cancel=function(){this.onCancelChanges.emit()};VQ.\u0275fac=function(a){return new (a||VQ)};
VQ.\u0275cmp=C({type:VQ,selectors:[["b-custom-repeated-enum-picker"]],viewQuery:function(a,b){a&1&&Rg(MP,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"},
standalone:!1,decls:8,vars:9,consts:[["customRepeatedEnumPicker",""],["auto","matAutocomplete"],["id","custom-repeated-enum-picker","type","text","autocomplete","off","aria-label","Custom repeated enum field selection",3,"click","input","keydown.space","placeholder","ngModel","disabled","matAutocomplete"],[3,"optionSelected","hideSingleSelectionIndicator"],[1,"custom-repeated-enum-search-result",3,"value"],[1,"action-buttons"],[3,"checked"],[1,"custom-repeated-enum-suggestion"],[3,"click","change",
"checked"],["mat-flat-button","","type","submit",1,"small","action-button",3,"click","keydown.enter","disabled"],["svgIcon","done",1,"icon-s"],["mat-stroked-button","","type","button",1,"small","action-button",3,"click","keydown.esc"],["svgIcon","close",1,"icon-s"]],template:function(a,b){if(a&1){var c=v();I(0,"input",2,0);M("click",function(){w(c);var e=L(1);return x(b.search(e.value))})("input",function(){w(c);var e=L(1);return x(b.search(e.value))})("keydown.space",function(e){w(c);return x(b.onSpace(e))});
J();I(2,"mat-autocomplete",3,1);M("optionSelected",function(e){w(c);return x(AUa(b,e))});yg(4,zUa,3,2,"mat-option",4,xg);S(6,"async");J();D(7,BUa,5,5,"div",5)}if(a&2){var d;a=L(3);E("placeholder",b.getPlaceholder())("ngModel",b.currentInputValue)("disabled",b.disabled)("matAutocomplete",a);jg("aria-disabled",b.disabled);B(2);E("hideSingleSelectionIndicator",!0);B(2);zg((d=U(6,7,b.suggestedValues$))!==null&&d!==void 0?d:b.currentInputValue?[]:b.allowedValues);B(3);G(b.allowMultiSelect?7:-1)}},dependencies:[pB,
KP,LP,Zx,MP,oi,Gy,Ny,eB,jy,RH,SH,ew],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 WQ=function(){};WQ.\u0275fac=function(a){return new (a||WQ)};WQ.\u0275mod=Cf({type:WQ});WQ.\u0275inj=p({imports:[lC,QP,bz,mC,jN]});var zHc=0,XQ=function(){this.elementRef=r(ef);this.titleWhenExpanded=this.titleWhenCollapsed="";this.isExpanded=!1;this.iconName="";this.hasCompactTitleBar=!1;this.counter=zHc++;this.headerId="b-collapsible-panel-header-"+this.counter;this.id="b-collapsible-panel-"+this.counter};XQ.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(XQ.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"}}});XQ.\u0275fac=function(a){return new (a||XQ)};
XQ.\u0275cmp=C({type:XQ,selectors:[["collapsible-panel"],["b-collapsible-panel"]],inputs:{titleWhenCollapsed:"titleWhenCollapsed",titleWhenExpanded:"titleWhenExpanded",isExpanded:"isExpanded",iconName:"iconName",hasCompactTitleBar:"hasCompactTitleBar",title:"title"},standalone:!1,ngContentSelectors:["*"],decls:8,vars:12,consts:[[1,"collapsible-panel"],["type","button","aria-label","collapsible panel",1,"title-bar","unstyled-button",3,"click","mouseup"],["size","small",1,"icon",3,"name"],[1,"title"],
[1,"horizontal-line"],["svgIcon","arrow-down",1,"icon-s"],["role","region",1,"content"]],template:function(a,b){a&1&&(Ig(),I(0,"div",0)(1,"button",1),M("click",function(){return b.toggleExpansion()})("mouseup",function(){b.elementRef.nativeElement.querySelector(".title-bar").blur()}),D(2,CUa,1,1,"b-icon",2)(3,DUa,2,1,"span",3)(4,EUa,2,0,"div",4),K(5,"mat-icon",5),J(),I(6,"div",6),Jg(7),J()());a&2&&(B(),sg("compact",b.hasCompactTitleBar),jg("id",b.headerId)("aria-expanded",b.isExpanded)("aria-controls",
b.id),B(),G(b.iconName?2:-1),B(),G(b.hasCompactTitleBar&&b.isExpanded?-1:3),B(),G(b.hasCompactTitleBar?4:-1),B(),E("@expandCollapseIcon",b.expandedState),B(),E("@expandCollapseContent",b.expandedState),jg("id",b.id)("aria-labelledby",b.headerId))},dependencies:[pB,DM],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:[ri("expandCollapseContent",[ui("expanded",ti({height:"*",visibility:"visible"})),ui("collapsed",ti({height:"0",visibility:"hidden"})),vi("expanded <=> collapsed",[si("200ms")])]),ri("expandCollapseIcon",[ui("expanded",ti({transform:"rotate(-180deg)"})),ui("collapsed",ti({transform:"*"})),vi("expanded <=> collapsed",[si("200ms")])])]}});var YQ=function(){};YQ.\u0275fac=function(a){return new (a||YQ)};YQ.\u0275mod=Cf({type:YQ});YQ.\u0275inj=p({imports:[lC,fP]});var ZQ=function(){JM.call(this);this.attachMouseEventListeners(this.elementRef.nativeElement)};Y(ZQ,JM);g=ZQ.prototype;g.ngOnInit=function(){JM.prototype.ngOnInit.call(this);this.listenForOpenEvents()};g.listenForOpenEvents=function(){var a=this;this.openStatusChange.pipe(Zf(this.destroyed)).subscribe(function(b){b?a.openDialog():a.closeDialog()});this.openings.pipe(Ue(function(b){return b&&a.beforeOpened.observers.length>0}),rka(function(){return a.openStatusChange.pipe(Ue(function(b){return!b}))}))};
g.attachMouseEventListeners=function(a){var b=this;this.ngZone.runOutsideAngular(function(){Pe(a,"mouseenter").pipe(Zf(b.destroyed)).subscribe(function(){b.ngZone.run(function(){b.beforeOpened.emit()})});Pe(a,"click").pipe(Zf(b.destroyed)).subscribe(function(d){d.target.closest("[xapInlineDialogClose]")?b.closingDialog():b.openingDialog()});var c;(c=b.overlayRef)==null||c.backdropClick().pipe(Zf(b.destroyed)).subscribe(function(){b.closingDialog()})})};
g.attachKeyboardCloseEventListeners=function(a){var b=this;this.ngZone.runOutsideAngular(function(){Pe(a,"keyup").pipe(Zf(b.destroyed)).subscribe(function(c){var d=c.target;switch(c.keyCode){case 27:b.closingDialog();break;case 32:d.closest("[xapInlineDialogClose]")&&b.closingDialog()}});Pe(a,"keydown").pipe(Zf(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 ux(Object.assign({},this.overlayDimensions,{positionStrategy:JM.prototype.createPositionStrategy.call(this,a),scrollStrategy:Pzc(this),hasBackdrop:!0,backdropClass:"cdk-overlay-transparent-backdrop",panelClass:this.panelClassInternal}))};ZQ.\u0275fac=function(a){return new (a||ZQ)};
ZQ.\u0275dir=Df({type:ZQ,selectors:[["","xapInlineDialogClick",""]],hostAttrs:[1,"xap-inline-dialog-click"],inputs:{dialog:[0,"xapInlineDialogClick","dialog"],disabled:[0,"xapInlineDialogDisabled","disabled"]},exportAs:["xapInlineDialogClick"],features:[cg]});var $Q=function(){};$Q.\u0275fac=function(a){return new (a||$Q)};$Q.\u0275mod=Cf({type:$Q});$Q.\u0275inj=p({});var AHc=new zd("GMAT_INPUT_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var aR=function(a){this.options=a};aR.\u0275fac=function(a){return new (a||aR)(hf(AHc))};aR.\u0275dir=Df({type:aR,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostVars:2,hostBindings:function(a,b){a&2&&sg("gmat-mdc-input",!b.options.disableGmatStyle)},standalone:!1});var bR=function(){};bR.\u0275fac=function(a){return new (a||bR)};bR.\u0275mod=Cf({type:bR});bR.\u0275inj=p({imports:[uz,lN]});var cR=function(){};cR.\u0275fac=function(a){return new (a||cR)};cR.\u0275mod=Cf({type:cR});cR.\u0275inj=p({});var BHc=new zd("CDK_DRAG_CONFIG");var CHc=Zh({passive:!1,capture:!0}),DHc=function(){};DHc.\u0275fac=function(a){return new (a||DHc)};DHc.\u0275cmp=C({type:DHc,selectors:[["ng-component"]],hostAttrs:["cdk-drag-resets-container",""],decls:0,vars:0,template:function(){},styles:["@layer cdk-resets{.cdk-drag-preview{background:none;border:none;padding:0;color:inherit;inset:auto}}.cdk-drag-placeholder *,.cdk-drag-preview *{pointer-events:none !important}\n"],encapsulation:2,changeDetection:0});
var dR=function(){var a=this;this._ngZone=r(kh);this._document=r(ii);this._styleLoader=r(Aw);this._dropInstances=new Set;this._dragInstances=new Set;this._activeDragInstances=Xg([]);this._globalListeners=new Map;this._draggingPredicate=function(b){return b.isDragging()};this._domNodesToDirectives=null;this.pointerMove=new Uf;this.pointerUp=new Uf;this.scroll=new Uf;this._preventDefaultWhileDragging=function(b){a._activeDragInstances().length>0&&b.preventDefault()};this._persistentTouchmoveListener=
function(b){a._activeDragInstances().length>0&&(a._activeDragInstances().some(a._draggingPredicate)&&b.preventDefault(),a.pointerMove.next(b))}},EHc=function(a,b){a._dropInstances.has(b)||a._dropInstances.add(b)},FHc=function(a,b){a._dragInstances.add(b);a._dragInstances.size===1&&a._ngZone.runOutsideAngular(function(){a._document.addEventListener("touchmove",a._persistentTouchmoveListener,CHc)})},HHc=function(a,b){a._dragInstances.delete(b);GHc(a,b);a._dragInstances.size===0&&a._document.removeEventListener("touchmove",
a._persistentTouchmoveListener,CHc)};
dR.prototype.startDragging=function(a,b){var c=this;if(!(this._activeDragInstances().indexOf(a)>-1)&&(this._styleLoader.load(DHc),this._activeDragInstances.update(function(e){return[].concat(t(e),[a])}),this._activeDragInstances().length===1)){b=b.type.startsWith("touch");var d={handler:function(e){return c.pointerUp.next(e)},options:!0};b?(this._globalListeners.set("touchend",d),this._globalListeners.set("touchcancel",d)):this._globalListeners.set("mouseup",d);this._globalListeners.set("scroll",
{handler:function(e){return c.scroll.next(e)},options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:CHc});b||this._globalListeners.set("mousemove",{handler:function(e){return c.pointerMove.next(e)},options:CHc});this._ngZone.runOutsideAngular(function(){c._globalListeners.forEach(function(e,f){c._document.addEventListener(f,e.handler,e.options)})})}};
var GHc=function(a,b){a._activeDragInstances.update(function(c){var d=c.indexOf(b);return d>-1?(c.splice(d,1),[].concat(t(c))):c});a._activeDragInstances().length===0&&a._clearGlobalListeners()};dR.prototype.isDragging=function(a){return this._activeDragInstances().indexOf(a)>-1};
dR.prototype.scrolled=function(a){var b=this,c=[this.scroll];a&&a!==this._document&&c.push(new oe(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 Te.apply(null,t(c))};
var IHc=function(a,b,c){a._domNodesToDirectives!=null||(a._domNodesToDirectives=new WeakMap);a._domNodesToDirectives.set(b,c)},JHc=function(a,b){var c;(c=a._domNodesToDirectives)==null||c.delete(b)},KHc=function(a,b){var c;return((c=a._domNodesToDirectives)==null?void 0:c.get(b))||null};
dR.prototype.ngOnDestroy=function(){var a=this;this._dragInstances.forEach(function(b){return HHc(a,b)});this._dropInstances.forEach(function(b){a._dropInstances.delete(b)});this._domNodesToDirectives=null;this._clearGlobalListeners();this.pointerMove.complete();this.pointerUp.complete()};dR.prototype._clearGlobalListeners=function(){var a=this;this._globalListeners.forEach(function(b,c){a._document.removeEventListener(c,b.handler,b.options)});this._globalListeners.clear()};
dR.\u0275fac=function(a){return new (a||dR)};dR.\u0275prov=n({token:dR,factory:dR.\u0275fac,providedIn:"root"});var LHc=new zd("CDK_DRAG_PARENT");var MHc=new zd("CdkDragHandle"),eR=function(){this.element=r(ef);this._parentDrag=r(LHc,{optional:!0,skipSelf:!0});this._dragDropRegistry=r(dR);this._stateChanges=new Uf;this._disabled=!1;var a;(a=this._parentDrag)==null||a._addHandle(this)};eR.prototype.ngAfterViewInit=function(){if(!this._parentDrag)for(var a=this.element.nativeElement.parentElement;a;){var b=KHc(this._dragDropRegistry,a);if(b){this._parentDrag=b;b._addHandle(this);break}a=a.parentElement}};
eR.prototype.ngOnDestroy=function(){var a;(a=this._parentDrag)==null||a._removeHandle(this);this._stateChanges.complete()};da.Object.defineProperties(eR.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=a;this._stateChanges.next(this)}}});eR.\u0275fac=function(a){return new (a||eR)};
eR.\u0275dir=Df({type:eR,selectors:[["","cdkDragHandle",""]],hostAttrs:[1,"cdk-drag-handle"],inputs:{disabled:[2,"cdkDragHandleDisabled","disabled",uh]},features:[ch([{provide:MHc,useExisting:eR}]),dg]});var JUa=0;var NHc=function(a){this._document=a;this.positions=new Map};NHc.prototype.clear=function(){this.positions.clear()};NHc.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:KUa(c)})})};
var OHc=function(a,b){var c=bi(b);b=a.positions.get(c);if(!b)return null;b=b.scrollPosition;if(c===a._document){var d=a.getViewportScrollPosition();var e=d.top;d=d.left}else e=c.scrollTop,d=c.scrollLeft;var f=b.top-e,h=b.left-d;a.positions.forEach(function(l,q){l.clientRect&&c!==q&&c.contains(q)&&Zq(l.clientRect,f,h)});b.top=e;b.left=d;return{top:f,left:h}};NHc.prototype.getViewportScrollPosition=function(){return{top:window.scrollY,left:window.scrollX}};var PHc=new Set(["position"]),QHc=function(a,b,c,d,e,f,h,l,q,u){this._document=a;this._rootElement=b;this._direction=c;this._initialDomRect=d;this._previewTemplate=e;this._previewClass=f;this._pickupPositionOnPage=h;this._initialTransform=l;this._zIndex=q;this._renderer=u};g=QHc.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){return this._renderer.listen(this._preview,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=NUa(c,this._document);this._previewEmbeddedView=c;a.matchSize?TUa(e,d):e.style.transform=SUa(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else e=IUa(this._rootElement),TUa(e,this._initialDomRect),this._initialTransform&&(e.style.transform=this._initialTransform);
OUa(e.style,{"pointer-events":"none",margin:"showPopover"in e?"0 auto 0 0":"0",position:"fixed",top:"0",left:"0","z-index":this._zIndex+""},PHc);$q(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(QHc.prototype,{element:{configurable:!0,enumerable:!0,get:function(){return this._preview}}});var RHc=Zh({passive:!0}),SHc=Zh({passive:!1}),THc=Zh({passive:!1,capture:!0}),PUa=new Set(["position"]),WHc=function(a,b,c,d,e,f,h){var l=this;this._config=b;this._document=c;this._ngZone=d;this._viewportRuler=e;this._dragDropRegistry=f;this._renderer=h;this._passiveTransform={x:0,y:0};this._activeTransform={x:0,y:0};this._hasStartedDragging=Xg(!1);this._moveEvents=new Uf;this._resizeSubscription=this._scrollSubscription=this._pointerUpSubscription=this._pointerMoveSubscription=je.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 Uf;this.started=new Uf;this.released=new Uf;this.ended=new Uf;this.entered=new Uf;this.exited=new Uf;this.dropped=new Uf;this.moved=this._moveEvents;this._pointerDown=function(q){l.beforeStarted.next();if(l._handles.length){var u=l._getTargetHandle(q);!u||l._disabledHandles.has(u)||l.disabled||l._initializeDragSequence(u,
q)}else l.disabled||l._initializeDragSequence(l._rootElement,q)};this._pointerMove=function(q){var u=l._getPointerPositionOnPage(q);if(l._hasStartedDragging()){q.cancelable&&q.preventDefault();var A=l._getConstrainedPointerPosition(u);l._hasMoved=!0;l._lastKnownPointerPosition=u;l._updatePointerDirectionDelta(A);if(l._dropContainer)l._updateActiveDropContainer(A,u);else{u=l.constrainPosition?l._initialDomRect:l._pickupPositionOnPage;var F=l._activeTransform;F.x=A.x-u.x+l._passiveTransform.x;F.y=A.y-
u.y+l._passiveTransform.y;l._applyRootElementTransform(F.x,F.y)}l._moveEvents.observers.length&&l._ngZone.run(function(){l._moveEvents.next({source:l,pointerPosition:A,event:q,distance:l._getDragDistance(A),delta:l._pointerDirectionDelta})})}else Math.abs(u.x-l._pickupPositionOnPage.x)+Math.abs(u.y-l._pickupPositionOnPage.y)>=l._config.dragStartThreshold&&((u=Date.now()>=l._dragStartTime+l._getDragStartDelay(q),F=l._dropContainer,u)?F&&(F.isDragging()||F._activeSiblings.size>0)||(q.cancelable&&q.preventDefault(),
l._hasStartedDragging.set(!0),l._ngZone.run(function(){return l._startDragSequence(q)})):l._endDragSequence(q))};this._pointerUp=function(q){l._endDragSequence(q)};this._nativeDragStart=function(q){if(l._handles.length){var u=l._getTargetHandle(q);!u||l._disabledHandles.has(u)||l.disabled||q.preventDefault()}else l.disabled||q.preventDefault()};UHc(VHc(this,a),b.parentDragRef||null);this._parentPositions=new NHc(c);FHc(f,this)};WHc.prototype.getPlaceholderElement=function(){return this._placeholder};
WHc.prototype.getRootElement=function(){return this._rootElement};
var XHc=function(a){return a.isDragging()?a.getPlaceholderElement():a.getRootElement()},YHc=function(a,b){a._handles=b.map(function(d){return fi(d)});a._handles.forEach(function(d){return $q(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},VHc=function(a,b){var c=fi(b);c!==a._rootElement&&(a._rootElement&&a._removeRootElementListeners(a._rootElement),a._ngZone.runOutsideAngular(function(){c.addEventListener("mousedown",
a._pointerDown,SHc);c.addEventListener("touchstart",a._pointerDown,RHc);c.addEventListener("dragstart",a._nativeDragStart,SHc)}),a._initialTransform=void 0,a._rootElement=c);typeof SVGElement!=="undefined"&&a._rootElement instanceof SVGElement&&(a._ownerSVGElement=a._rootElement.ownerSVGElement);return a},ZHc=function(a,b){a._boundaryElement=b?fi(b):null;a._resizeSubscription.unsubscribe();b&&(a._resizeSubscription=a._viewportRuler.change(10).subscribe(function(){return a._containInsideBoundaryOnResize()}));
return a},UHc=function(a,b){a._parentDragRef=b};g=WHc.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();HHc(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",XUa,THc)};
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(),GHc(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();
GHc(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();GHc(this._dragDropRegistry,this)}};
g._startDragSequence=function(a){ar(a)&&(this._lastTouchEventTime=Date.now());this._toggleNativeDragInteractions();var b=this._getShadowRoot(),c=this._dropContainer;b&&this._ngZone.runOutsideAngular(function(){b.addEventListener("selectstart",XUa,THc)});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 QHc(this._document,
this._rootElement,this._direction,this._initialDomRect,this._previewTemplate||null,this.previewClass||null,this._pickupPositionOnPage,this._initialTransform,this._config.zIndex||1E3,this._renderer);this._preview.attach(this._getPreviewInsertionPoint(e,b));QUa(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=ar(b),f=!e&&b.button!==0,h=this._rootElement,l=bi(b),q=!e&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now();e=e?qoa(b):poa(b);l&&l.draggable&&b.type==="mousedown"&&b.preventDefault();d||f||q||e||(this._handles.length&&(d=h.style,this._rootElementTapHighlight=d.webkitTapHighlightColor||"",d.webkitTapHighlightColor="transparent"),this._hasMoved=!1,this._hasStartedDragging.set(this._hasMoved),
this._removeListeners(),this._initialDomRect=this._rootElement.getBoundingClientRect(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(function(u){return c._updateOnScroll(u)}),this._boundaryElement&&(this._boundaryRect=KUa(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;QUa(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=WUa(this._preview._preview);return c===0?Promise.resolve():this._ngZone.runOutsideAngular(function(){return new Promise(function(d){var e=function(l){if(!l||a._preview&&bi(l)===a._preview.element&&l.propertyName==="transform")h(),d(),clearTimeout(f)},f=setTimeout(e,
c*1.5),h=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=NUa(this._placeholderRef,this._document)):a=IUa(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=ar(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=ar(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,$q(this._rootElement,a))}};g._removeRootElementListeners=function(a){a.removeEventListener("mousedown",this._pointerDown,SHc);a.removeEventListener("touchstart",this._pointerDown,RHc);a.removeEventListener("dragstart",this._nativeDragStart,SHc)};
g._applyRootElementTransform=function(a,b){var c=1/this.scale;a=SUa(a*c,b*c);b=this._rootElement.style;this._initialTransform==null&&(this._initialTransform=b.transform&&b.transform!="none"?b.transform:"");b.transform=RUa(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(RUa(SUa(a,b),d))};
g._getDragDistance=function(a){var b=this._pickupPositionOnPage;return b?{x:a.x-b.x,y:a.y-b.y}:{x:0,y:0}};g._cleanupCachedDimensions=function(){this._boundaryRect=this._previewRect=void 0;this._parentPositions.clear()};
g._containInsideBoundaryOnResize=function(){var a=this._passiveTransform,b=a.x;a=a.y;if(!(b===0&&a===0||this.isDragging())&&this._boundaryElement){var c=this._rootElement.getBoundingClientRect(),d=this._boundaryElement.getBoundingClientRect();if(!(d.width===0&&d.height===0||c.width===0&&c.height===0)){var e=d.left-c.left,f=c.right-d.right,h=d.top-c.top,l=c.bottom-d.bottom;d.width>c.width?(e>0&&(b+=e),f>0&&(b-=f)):b=0;d.height>c.height?(h>0&&(a+=h),l>0&&(a-=l)):a=0;b===this._passiveTransform.x&&a===
this._passiveTransform.y||this.setFreeDragPosition({y:a,x:b})}}};g._getDragStartDelay=function(a){var b=this.dragStartDelay;return typeof b==="number"?b:ar(a)?b.touch:b?b.mouse:0};
g._updateOnScroll=function(a){var b=OHc(this._parentPositions,a);b&&(a=bi(a),this._boundaryRect&&a!==this._boundaryElement&&a.contains(this._boundaryElement)&&Zq(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=Coa(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):fi(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(WHc.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 $q(b,a)}))}}});var $Hc=function(a,b){this._document=a;this._dragDropRegistry=b;this._previousSwap={drag:null,deltaX:0,deltaY:0,overlaps:!1};this._relatedNodes=[]};g=$Hc.prototype;g.start=function(a){var b=this._element.childNodes;this._relatedNodes=[];for(var c=0;c<b.length;c++){var d=b[c];this._relatedNodes.push([d,d.nextSibling])}this.withItems(a)};
g.sort=function(a,b,c,d){var e=this._getItemIndexFromPointerPosition(a,b,c),f=this._previousSwap;if(e===-1||this._activeItems[e]===a)return null;var h=this._activeItems[e];if(f.drag===h&&f.overlaps&&f.deltaX===d.x&&f.deltaY===d.y)return null;var l=this.getItemIndex(a),q=a.getPlaceholderElement();a=h.getRootElement();e>l?a.after(q):a.before(q);br(this._activeItems,l,e);b=this._getRootNode().elementFromPoint(b,c);f.deltaX=d.x;f.deltaY=d.y;f.drag=h;f.overlaps=a===b||a.contains(b);return{previousIndex:l,
currentIndex:e}};g.enter=function(a,b,c,d){d=d==null||d<0?this._getItemIndexFromPointerPosition(a,b,c):d;d===-1&&(d=this._getClosestItemIndexToPointer(a,b,c));b=this._activeItems[d];c=this._activeItems.indexOf(a);c>-1&&this._activeItems.splice(c,1);b&&!this._dragDropRegistry.isDragging(b)?(this._activeItems.splice(d,0,a),b.getRootElement().before(a.getPlaceholderElement())):(this._activeItems.push(a),this._element.appendChild(a.getPlaceholderElement()))};
g.withItems=function(a){this._activeItems=a.slice()};g.withSortPredicate=function(a){this._sortPredicate=a};g.reset=function(){for(var a=this._element,b=this._previousSwap,c=this._relatedNodes.length-1;c>-1;c--){var d=k(this._relatedNodes[c]),e=d.next().value;d=d.next().value;e.parentNode===a&&e.nextSibling!==d&&(d===null?a.appendChild(e):d.parentNode===a&&a.insertBefore(e,d))}this._relatedNodes=[];this._activeItems=[];b.drag=null;b.deltaX=b.deltaY=0;b.overlaps=!1};g.getActiveItemsSnapshot=function(){return this._activeItems};
g.getItemIndex=function(a){return this._activeItems.indexOf(a)};g.updateOnScroll=function(){var a=this;this._activeItems.forEach(function(b){a._dragDropRegistry.isDragging(b)&&b._sortFromLastPointerPosition()})};g.withElementContainer=function(a){a!==this._element&&(this._element=a,this._rootNode=void 0)};
g._getItemIndexFromPointerPosition=function(a,b,c){var d=this._getRootNode().elementFromPoint(Math.floor(b),Math.floor(c));b=d?this._activeItems.findIndex(function(e){e=e.getRootElement();return d===e||e.contains(d)}):-1;return b!==-1&&this._sortPredicate(b,a)?b:-1};g._getRootNode=function(){this._rootNode||(this._rootNode=Coa(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 aIc=function(a){this._dragDropRegistry=a;this._itemPositions=[];this.orientation="vertical";this._previousSwap={drag:null,delta:0,overlaps:!1}};g=aIc.prototype;g.start=function(a){this.withItems(a)};
g.sort=function(a,b,c,d){var e=this._itemPositions,f=this._getItemIndexFromPointerPosition(a,b,c,d);if(f===-1&&e.length>0)return null;var h=this.orientation==="horizontal",l=e.findIndex(function(O){return O.drag===a}),q=e[f],u=q.clientRect,A=l>f?1:-1,F=this._getItemOffsetPx(e[l].clientRect,u,A),H=this._getSiblingOffsetPx(l,e,A),N=e.slice();br(e,l,f);e.forEach(function(O,T){if(N[T]!==O){var ea=O.drag===a;T=ea?F:H;ea=ea?a.getPlaceholderElement():O.drag.getRootElement();O.offset+=T;var ka=Math.round(1/
O.drag.scale*O.offset);h?(ea.style.transform=RUa("translate3d("+ka+"px, 0, 0)",O.initialTransform),Zq(O.clientRect,0,T)):(ea.style.transform=RUa("translate3d(0, "+ka+"px, 0)",O.initialTransform),Zq(O.clientRect,T,0))}});this._previousSwap.overlaps=LUa(u,b,c);this._previousSwap.drag=q.drag;this._previousSwap.delta=h?d.x:d.y;return{previousIndex:l,currentIndex:f}};
g.enter=function(a,b,c,d){d=d==null||d<0?this._getItemIndexFromPointerPosition(a,b,c):d;var e=this._activeDraggables,f=e.indexOf(a),h=a.getPlaceholderElement(),l=e[d];l===a&&(l=e[d+1]);!l&&(d==null||d===-1||d<e.length-1)&&this._shouldEnterAsFirstChild(b,c)&&(l=e[0]);f>-1&&e.splice(f,1);l&&!this._dragDropRegistry.isDragging(l)?(b=l.getRootElement(),b.parentElement.insertBefore(h,b),e.splice(d,0,a)):(this._element.appendChild(h),e.push(a));h.style.transform="";this._cacheItemPositions()};
g.withItems=function(a){this._activeDraggables=a.slice();this._cacheItemPositions()};g.withSortPredicate=function(a){this._sortPredicate=a};
g.reset=function(){var a=this,b;(b=this._activeDraggables)==null||b.forEach(function(c){var d=c.getRootElement();if(d){var e,f=(e=a._itemPositions.find(function(h){return h.drag===c}))==null?void 0:e.initialTransform;d.style.transform=f||""}});this._itemPositions=[];this._activeDraggables=[];this._previousSwap.drag=null;this._previousSwap.delta=0;this._previousSwap.overlaps=!1};g.getActiveItemsSnapshot=function(){return this._activeDraggables};
g.getItemIndex=function(a){return(this.orientation==="horizontal"&&this.direction==="rtl"?this._itemPositions.slice().reverse():this._itemPositions).findIndex(function(b){return b.drag===a})};g.updateOnScroll=function(a,b){var c=this;this._itemPositions.forEach(function(d){Zq(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=XHc(b);return{drag:b,offset:0,initialTransform:c.style.transform||"",clientRect:KUa(c)}}).sort(function(b,c){return a?b.clientRect.left-c.clientRect.left:b.clientRect.top-c.clientRect.top})};g._getItemOffsetPx=function(a,b,c){var d=this.orientation==="horizontal",e=d?b.left-a.left:b.top-a.top;c===-1&&(e+=d?b.width-a.width:b.height-a.height);return e};
g._getSiblingOffsetPx=function(a,b,c){var d=this.orientation==="horizontal",e=b[a].clientRect;a=b[a+c*-1];b=e[d?"width":"height"]*c;if(a){var f=d?"left":"top";d=d?"right":"bottom";b=c===-1?b-(a.clientRect[f]-e[d]):b+(e[f]-a.clientRect[d])}return b};
g._shouldEnterAsFirstChild=function(a,b){if(!this._activeDraggables.length)return!1;var c=this._itemPositions,d=this.orientation==="horizontal";if(c[0].drag!==this._activeDraggables[0])return c=c[c.length-1].clientRect,d?a>=c.right:b>=c.bottom;c=c[0].clientRect;return d?a<=c.left:b<=c.top};
g._getItemIndexFromPointerPosition=function(a,b,c,d){var e=this,f=this.orientation==="horizontal",h=this._itemPositions.findIndex(function(l){var q=l.drag;l=l.clientRect;if(q===a)return!1;if(d){var u=f?d.x:d.y;if(q===e._previousSwap.drag&&e._previousSwap.overlaps&&u===e._previousSwap.delta)return!1}return f?b>=Math.floor(l.left)&&b<Math.floor(l.right):c>=Math.floor(l.top)&&c<Math.floor(l.bottom)});return h!==-1&&this._sortPredicate(h,a)?h:-1};var cIc=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 Uf;this.entered=new Uf;this.exited=new Uf;this.dropped=new Uf;this.sorted=new Uf;this.receivingStarted=new Uf;this.receivingStopped=new Uf;this._isDragging=!1;this._draggables=[];this._siblings=[];this._activeSiblings=
new Set;this._viewportScrollSubscription=je.EMPTY;this._horizontalScrollDirection=this._verticalScrollDirection=0;this._stopScrollTimers=new Uf;this._cachedShadowRoot=null;this._scrollableElements=[];this._direction="ltr";this._startScrollInterval=function(){f._stopScrolling();yha(0,B5b).pipe(Zf(f._stopScrollTimers)).subscribe(function(){var h=f._scrollNode,l=f.autoScrollStep;f._verticalScrollDirection===1?h.scrollBy(0,-l):f._verticalScrollDirection===2&&h.scrollBy(0,l);f._horizontalScrollDirection===
1?h.scrollBy(-l,0):f._horizontalScrollDirection===2&&h.scrollBy(l,0)})};a=this.element=fi(a);this._document=c;bIc(this,"vertical").withElementContainer(a);EHc(b,this);this._parentPositions=new NHc(c)};g=cIc.prototype;
g.dispose=function(){this._stopScrolling();this._stopScrollTimers.complete();this._viewportScrollSubscription.unsubscribe();this.beforeStarted.complete();this.entered.complete();this.exited.complete();this.dropped.complete();this.sorted.complete();this.receivingStarted.complete();this.receivingStopped.complete();this._activeSiblings.clear();this._scrollNode=null;this._parentPositions.clear();this._dragDropRegistry._dropInstances.delete(this)};g.isDragging=function(){return this._isDragging};
g.start=function(){this._draggingStarted();this._notifyReceivingSiblings()};g.enter=function(a,b,c,d){this._draggingStarted();d==null&&this.sortingDisabled&&(d=this._draggables.indexOf(a));this._sortStrategy.enter(a,b,c,d);this._cacheParentPositions();this._notifyReceivingSiblings();this.entered.next({item:a,container:this,currentIndex:this.getItemIndex(a)})};g.exit=function(a){this._reset();this.exited.next({item:a,container:this})};
g.drop=function(a,b,c,d,e,f,h,l){l=l===void 0?{}:l;this._reset();this.dropped.next({item:a,currentIndex:b,previousIndex:c,container:this,previousContainer:d,isPointerOverContainer:e,distance:f,dropPoint:h,event:l})};g.withItems=function(a){var b=this,c=this._draggables;this._draggables=a;a.forEach(function(d){return d._withDropContainer(b)});this.isDragging()&&(c.filter(function(d){return d.isDragging()}).every(function(d){return a.indexOf(d)===-1})?this._reset():this._sortStrategy.withItems(this._draggables))};
g.withDirection=function(a){this._direction=a;this._sortStrategy instanceof aIc&&(this._sortStrategy.direction=a);return this};g.connectedTo=function(a){this._siblings=a.slice();return this};
var bIc=function(a,b){if(b==="mixed")a._sortStrategy=new $Hc(a._document,a._dragDropRegistry);else{var c=new aIc(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},dIc=function(a,b){var c=a._container;a._scrollableElements=b.indexOf(c)===-1?[c].concat(t(b)):b.slice()};g=cIc.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&&MUa(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,u){if(u!==c._document&&q.clientRect&&!l&&MUa(q.clientRect,a,b)){var A=q.clientRect;q=YUa(A,b);A=ZUa(A,a);var F=0,H=0;if(q){var N=u.scrollTop;q===1?N>0&&(F=1):u.scrollHeight-N>u.clientHeight&&(F=2)}A&&(q=u.scrollLeft,c._direction==="rtl"?A===2?q<0&&(H=2):u.scrollWidth+q>u.clientWidth&&(H=1):A===1?q>0&&(H=1):u.scrollWidth-q>u.clientWidth&&(H=2));q=k([F,H]);
d=q.next().value;e=q.next().value;if(d||e)l=u}});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=YUa(h,b);e=ZUa(h,a);var l=window}!l||d===this._verticalScrollDirection&&e===this._horizontalScrollDirection&&l===this._scrollNode||(this._verticalScrollDirection=d,this._horizontalScrollDirection=e,this._scrollNode=l,(d||e)&&l?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}};
g._stopScrolling=function(){this._stopScrollTimers.next()};g._draggingStarted=function(){var a=this._container.style;this.beforeStarted.next();this._isDragging=!0;this._initialScrollSnap=a.msScrollSnapType||a.scrollSnapType||"";a.scrollSnapType=a.msScrollSnapType="none";this._sortStrategy.start(this._draggables);this._cacheParentPositions();this._viewportScrollSubscription.unsubscribe();this._listenToScrollEvents()};
g._cacheParentPositions=function(){this._parentPositions.cache(this._scrollableElements);this._domRect=this._parentPositions.positions.get(this._container).clientRect};g._reset=function(){var a=this;this._isDragging=!1;var b=this._container.style;b.scrollSnapType=b.msScrollSnapType=this._initialScrollSnap;this._siblings.forEach(function(c){return c._stopReceiving(a)});this._sortStrategy.reset();this._stopScrolling();this._viewportScrollSubscription.unsubscribe();this._parentPositions.clear()};
g._isOverContainer=function(a,b){return this._domRect!=null&&LUa(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&&LUa(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=OHc(a._parentPositions,b))&&a._sortStrategy.updateOnScroll(b.top,b.left):a._activeSiblings.size>0&&a._cacheParentPositions()})};g._getShadowRoot=function(){this._cachedShadowRoot||(this._cachedShadowRoot=Coa(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 eIc={dragStartThreshold:5,pointerDirectionChangeThreshold:5},fR=function(){this._document=r(ii);this._ngZone=r(kh);this._viewportRuler=r(qx);this._dragDropRegistry=r(dR);this._renderer=r(Hv).createRenderer(null,null)};fR.prototype.createDrag=function(a,b){b=b===void 0?eIc:b;return new WHc(a,b,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry,this._renderer)};fR.\u0275fac=function(a){return new (a||fR)};fR.\u0275prov=n({token:fR,factory:fR.\u0275fac,providedIn:"root"});var fIc=new zd("CdkDropList"),gR=function(){var a=this;this.element=r(ef);this.dropContainer=r(fIc,{optional:!0,skipSelf:!0});this._ngZone=r(kh);this._viewContainerRef=r(Pg);this._dir=r(fx,{optional:!0});this._changeDetectorRef=r(Ov);this._selfHandle=r(MHc,{optional:!0,self:!0});this._parentDrag=r(LHc,{optional:!0,skipSelf:!0});this._dragDropRegistry=r(dR);this._destroyed=new Uf;this._handles=new Xi([]);this.scale=1;this.started=new Dv;this.released=new Dv;this.ended=new Dv;this.entered=new Dv;this.exited=
new Dv;this.dropped=new Dv;this.moved=new oe(function(d){var e=a._dragRef.moved.pipe(z(function(f){return{source:a,pointerPosition:f.pointerPosition,event:f.event,delta:f.delta,distance:f.distance}})).subscribe(d);return function(){e.unsubscribe()}});this._injector=r(Ye);var b=this.dropContainer,c=r(BHc,{optional:!0});this._dragRef=r(fR).createDrag(this.element,{dragStartThreshold:c&&c.dragStartThreshold!=null?c.dragStartThreshold:5,pointerDirectionChangeThreshold:c&&c.pointerDirectionChangeThreshold!=
null?c.pointerDirectionChangeThreshold:5,zIndex:c==null?void 0:c.zIndex});this._dragRef.data=this;IHc(this._dragDropRegistry,this.element.nativeElement,this);c&&this._assignDefaults(c);b&&(this._dragRef._withDropContainer(b._dropListRef),b.addItem(this),b._dropListRef.beforeStarted.pipe(Zf(this._destroyed)).subscribe(function(){a._dragRef.scale=a.scale}));this._syncInputs(this._dragRef);this._handleEvents(this._dragRef)};g=gR.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;Ze(function(){a._updateRootElement();a._setupHandlesListener();a._dragRef.scale=a.scale;a.freeDragPosition&&a._dragRef.setFreeDragPosition(a.freeDragPosition)},{injector:this._injector})};
g.ngOnChanges=function(a){var b=a.rootElementSelector;a=a.freeDragPosition;b&&!b.firstChange&&this._updateRootElement();this._dragRef.scale=this.scale;a&&!a.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)};
g.ngOnDestroy=function(){var a=this;this.dropContainer&&this.dropContainer.removeItem(this);JHc(this._dragDropRegistry,this.element.nativeElement);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)}VHc(this._dragRef,b||a)};g._getBoundaryElement=function(){var a=this.boundaryElement;return a?typeof a==="string"?this.element.nativeElement.closest(a):fi(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:gi(d);a.constrainPosition=b.constrainPosition;a.previewClass=b.previewClass;d=ZHc(a,b._getBoundaryElement());d._placeholderTemplate=e;d._previewTemplate=f;d._previewContainer=b.previewContainer||"global";c&&a.withDirection(c.value)}});a.beforeStarted.pipe(Nf()).subscribe(function(){if(b._parentDrag)a._parentDragRef=b._parentDrag._dragRef;else for(var c=b.element.nativeElement.parentElement;c;){var d=KHc(b._dragDropRegistry,c);if(d){a._parentDragRef=d._dragRef;
break}c=c.parentElement}})};
g._handleEvents=function(a){var b=this;a.started.subscribe(function(c){b.started.emit({source:b,event:c.event});b._changeDetectorRef.markForCheck()});a.released.subscribe(function(c){b.released.emit({source:b,event:c.event})});a.ended.subscribe(function(c){b.ended.emit({source:b,distance:c.distance,dropPoint:c.dropPoint,event:c.event});b._changeDetectorRef.markForCheck()});a.entered.subscribe(function(c){b.entered.emit({container:c.container.data,item:b,currentIndex:c.currentIndex})});a.exited.subscribe(function(c){b.exited.emit({container:c.container.data,
item:b})});a.dropped.subscribe(function(c){b.dropped.emit({previousIndex:c.previousIndex,currentIndex:c.currentIndex,previousContainer:c.previousContainer.data,container:c.container.data,isPointerOverContainer:c.isPointerOverContainer,item:b,distance:c.distance,dropPoint:c.dropPoint,event:c.event})})};
g._assignDefaults=function(a){var b=a.lockAxis,c=a.dragStartDelay,d=a.constrainPosition,e=a.previewClass,f=a.boundaryElement,h=a.draggingDisabled,l=a.rootElementSelector;a=a.previewContainer;this.disabled=h==null?!1:h;this.dragStartDelay=c||0;b&&(this.lockAxis=b);d&&(this.constrainPosition=d);e&&(this.previewClass=e);f&&(this.boundaryElement=f);l&&(this.rootElementSelector=l);a&&(this.previewContainer=a)};
g._setupHandlesListener=function(){var a=this;this._handles.pipe($f(function(b){b=b.map(function(c){return c.element});a._selfHandle&&a.rootElementSelector&&b.push(a.element);YHc(a._dragRef,b)}),Yf(function(b){return Te.apply(null,t(b.map(function(c){return c._stateChanges.pipe(Xf(c))})))}),Zf(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),$q(d,!0)):c._disabledHandles.has(d)&&
(c._disabledHandles.delete(d),$q(d,c.disabled))})};da.Object.defineProperties(gR.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}}});gR.\u0275fac=function(a){return new (a||gR)};
gR.\u0275dir=Df({type:gR,selectors:[["","cdkDrag",""]],hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(a,b){a&2&&sg("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",uh],constrainPosition:[0,"cdkDragConstrainPosition","constrainPosition"],previewClass:[0,"cdkDragPreviewClass","previewClass"],previewContainer:[0,"cdkDragPreviewContainer","previewContainer"],scale:[2,"cdkDragScale","scale",vh]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],features:[ch([{provide:LHc,
useExisting:gR}]),dg,rv]});var gIc=new zd("CdkDropListGroup");var hR=function(){var a=this;this.element=r(ef);this._changeDetectorRef=r(Ov);this._scrollDispatcher=r(mx);this._dir=r(fx,{optional:!0});this._group=r(gIc,{optional:!0,skipSelf:!0});this._destroyed=new Uf;this.connectedTo=[];this.id=r(Ww).getId("cdk-drop-list-");this.enterPredicate=function(){return!0};this.sortPredicate=function(){return!0};this.dropped=new Dv;this.entered=new Dv;this.exited=new Dv;this.sorted=new Dv;this._unsortedItems=new Set;var b=r(fR),c=r(BHc,{optional:!0});this._dropListRef=
new cIc(this.element,b._dragDropRegistry,b._document,b._ngZone,b._viewportRuler);this._dropListRef.data=this;c&&this._assignDefaults(c);this._dropListRef.enterPredicate=function(d,e){return a.enterPredicate(d.data,e.data)};this._dropListRef.sortPredicate=function(d,e,f){return a.sortPredicate(d,e.data,f.data)};this._setupInputSyncSubscription(this._dropListRef);this._handleEvents(this._dropListRef);hIc.push(this);this._group&&this._group._items.add(this)};
hR.prototype.addItem=function(a){this._unsortedItems.add(a);this._dropListRef.isDragging()&&this._syncItemsWithRef()};hR.prototype.removeItem=function(a){this._unsortedItems.delete(a);this._dropListRef.isDragging()&&this._syncItemsWithRef()};var iIc=function(a){return Array.from(a._unsortedItems).sort(function(b,c){return XHc(b._dragRef).compareDocumentPosition(XHc(c._dragRef))&Node.DOCUMENT_POSITION_FOLLOWING?-1:1})};g=hR.prototype;
g.ngOnDestroy=function(){var a=hIc.indexOf(this);a>-1&&hIc.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(Xf(this._dir.value),Zf(this._destroyed)).subscribe(function(c){return a.withDirection(c)});a.beforeStarted.subscribe(function(){var c=ci(b.connectedTo).map(function(e){return typeof e==="string"?hIc.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=A8b(b._scrollDispatcher,b.element).map(function(e){return e.elementRef.nativeElement});
dIc(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=gi(b.autoScrollStep,2);bIc(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()});Te(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(iIc(this).map(function(a){return a._dragRef}))};
da.Object.defineProperties(hR.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 hIc=[];hR.\u0275fac=function(a){return new (a||hR)};
hR.\u0275dir=Df({type:hR,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(a,b){a&2&&(jg("id",b.id),sg("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",uh],sortingDisabled:[2,"cdkDropListSortingDisabled","sortingDisabled",uh],enterPredicate:[0,"cdkDropListEnterPredicate","enterPredicate"],sortPredicate:[0,"cdkDropListSortPredicate","sortPredicate"],autoScrollDisabled:[2,"cdkDropListAutoScrollDisabled","autoScrollDisabled",uh],autoScrollStep:[0,"cdkDropListAutoScrollStep","autoScrollStep"],elementContainerSelector:[0,"cdkDropListElementContainer","elementContainerSelector"]},outputs:{dropped:"cdkDropListDropped",
entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],features:[ch([{provide:gIc,useValue:void 0},{provide:fIc,useExisting:hR}]),dg]});new zd("CdkDragPlaceholder");new zd("CdkDragPreview");var iR=function(){};iR.\u0275fac=function(a){return new (a||iR)};iR.\u0275mod=Cf({type:iR});iR.\u0275inj=p({providers:[fR],imports:[rx]});var jIc=["addLink"],kIc=["showFewer"],lIc=["showMore"],mIc=["editButton"],nIc=["removeButton"],oIc=[[["",8,"title-action"]],[["",8,"value-action"]]],pIc=function(a,b,c){return{"bv2-issue-metadata-list-field":a,"bv2-issue-metadata-field":b,"internal-only":c}},bVa=function(a,b){return{item:a,$index:b}},wVa=function(a){return{q:a}},qIc=[Object.assign({},er("start","bottom"),fr("start","top"),{offsetY:8}),Object.assign({},er("center","bottom"),fr("center","top"),{offsetY:8}),Object.assign({},er("end",
"bottom"),fr("end","top"),{offsetY:8}),Object.assign({},er("start","top"),fr("start","bottom"),{offsetY:-8}),Object.assign({},er("end","top"),fr("end","bottom"),{offsetY:-8})],jR=function(){Z.apply(this,arguments);var a=this;this.cdr=r(cB,{self:!0});this.dateFormatter=r(GI);this.analytics=r(OF);this.liveAnnouncer=r(Pw);this.principalTypesFridge=r(rG);this.issuePermissionService=r(gJ);this.activeSession=r(Bu);this.customRepeatedEnumDialogService=r(RQ);this.OVERLAY_POSITION_LIST=qIc;this.defaultLineCount=
Number.POSITIVE_INFINITY;this.isDefaultOrAllowedValues=this.preventDuplicates=this.readonly=!1;this.values=null;this.providedValues$=new Tf(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 aB;this.showingAll=this.listFieldDisabled=!1;this.tooltip=this.title="";this.isExpanded=this.isCollapsible=this.truncate=!1;this.collapsiblePanelTitle=this.iconName="";this.customFieldId=
0;this.isRequired=!1;this.inputValidator=null;this.checkAccessLimits=!1;this.toggleAccessLimits=new aB;this.enableTeamAnnotations=this.activeSession.isInternalSession();this.environmentType=this.activeSession.getEnvironmentType();this.teamId=this.invalidMessage="";this.isString=qj;this.enableNewCustomRepeatedEnumUi=Vt(this.activeSession,"enableNewCustomRepeatedEnumUi");this.enableGerritChanges=Vt(this.activeSession,"enableGerritChanges");this.groups$=this.providedValues$.pipe(Yf(function(b){return a.extractGroups(b)}),
Xf(new Set));this.hasAclToAdmin$=this.issuePermissionService.hasAclToAdmin$;this.focusOnTitle=!1};Y(jR,Z);jR.\u0275dir=Z.\u0275dir;jR.prototype.ngOnChanges=function(a){if(a.values){var b;this.providedValues$.next((b=this.values)!=null?b:[])}a.showInternalOnlyFieldBadge&&(this.showInternalOnlyFieldBadge=a.showInternalOnlyFieldBadge.currentValue)};jR.prototype.ngOnInit=function(){iVa(this)};
var iVa=function(a){a.sortedEnumChoices=[].concat(t(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})},jVa=function(a){var b=a.values||[],c=[].concat(t(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})},mVa=function(a){var b;return se(function(c){if(c.nextAddress==
1)return a.customRepeatedEnumDialogService.isOpen()?c.return():y(c,a.customRepeatedEnumDialogService.open({customFieldTitle:a.title,allowedValues:NVa(a),selectedValues:a.values}),2);(b=c.yieldResult)&&MVa(a,Array.from(b));xe(c)})},cr=function(a){return a.type==="REPEATED_ENUM"&&a.sortedEnumChoices.length>1E3};jR.prototype.showCodeChanges=function(a){a=!!Il(a);return this.type==="CODE_CHANGES"&&(!a||this.enableGerritChanges)};
var NVa=function(a){return a.sortedEnumChoices.map(function(b){return b.displayText})},MVa=function(a,b){var c,d=(c=a.values)!=null?c:[];c=b.filter(function(f){return!d.includes(f)});var e=d.filter(function(f){return!b.includes(f)});if(c.length||e.length)a.values=b,a.valuesChange.emit({values:a.values,added:c,removed:e});a.closeAddPopup(!0);EVa(a)&&dr(a,!0)};g=jR.prototype;g.isCustomField=function(){return["REPEATED_TEXT","REPEATED_DATE","REPEATED_ENUM","REPEATED_NUMERIC"].includes(this.type)};
g.removeItem=function(a){var b=this;if(!this.listFieldDisabled){var c=this.values.splice(a,1);this.valuesChange.emit({values:this.values,removed:c})}this.schedule(function(){var d;if((d=b.values)==null?0:d.length){d=Math.min(a,b.values.length-1);var e,f,h;(e=b.removeButtons)==null||(f=e.get(d))==null||(h=f.nativeElement)==null||h.focus()}else{var l,q;(l=b.addLinkEl)==null||(q=l.nativeElement)==null||q.focus()}})};
g.addItems=function(a){var b=[];this.values=this.values||[];if(a)if(this.type==="REPEATED_DATE"){var c=Eo(a);this.preventDuplicates&&this.values.find(function(h){return oj(h,c)})||b.push(c)}else if(this.type==="REPEATED_NUMERIC"&&Rta(this.values)&&Rta(b))a=Number(a),this.preventDuplicates&&this.values.includes(a)||b.push(a);else if(rj(this.values)&&rj(b))if(this.isCustomField())this.preventDuplicates&&this.values.includes(a)||b.push(a);else if(!this.isCustomField()){a=k(a.split(/[,; ]/));for(var d=
a.next();!d.done;d=a.next()){var e=d=d.value;if(this.type==="CODE_CHANGES"){var f=!!Il(d);this.enableGerritChanges&&f?e=d:e=Twa(d)}e&&!this.values.includes(e)&&b.push(e)}}this.isDefaultOrAllowedValues&&this.type!=="REPEATED_DATE"||this.closeAddPopup(!0);b.length!==0&&(this.values=[].concat(t(this.values),t(b)),this.valuesChange.emit({values:this.values,added:b}))};g.onDrop=function(a){br(this.values,a.previousIndex,a.currentIndex);this.valuesChange.emit({values:this.values})};
g.closeAddPopup=function(a){var b,c=k((b=this.menuTriggers)!=null?b:[]);for(b=c.next();!b.done;b=c.next())b.value.closeMenu();var d;c=k((d=this.popupTriggers)!=null?d:[]);for(d=c.next();!d.done;d=c.next())this.closeInlineDialog(d.value);a&&this.addLinkEl&&this.addLinkEl.nativeElement.focus()};g.closeInlineDialog=function(a){a.disabled||(a.disabled=!0,a.disabled=!1)};
var dr=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()})},EVa=function(a){return!!a.values&&a.values.length>a.defaultLineCount+1},dVa=function(a){return a.values&&a.type==="REPEATED_DATE"?a.values.map(function(b){return a.dateFormatter.formatUserCalendar(Do(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 qj(b)?b:Qta(b)?""+b:a.dateFormatter.formatUserCalendar(Do(b))})};g=jR.prototype;
g.textPopupSubmit=function(a,b){var c=this,d,e,f;return se(function(h){if(h.nextAddress==1)return c.inputValidator?y(h,c.inputValidator(a.value.input),3):h.jumpTo(2);h.nextAddress!=2&&(c.invalidMessage=h.yieldResult,c.cdr.detectChanges());if(!a.valid||c.invalidMessage)return h.return();d=a.value.input;(e=a)==null||e.reset();(f=b.querySelector("input"))==null||f.focus();c.addItems(d);xe(h)})};g.trackClick=function(a){this.analytics.trackEvent("linkField","click",a)};g.getUser=function(a){return this.userMap.get(a)};
g.schedule=function(a){this.subscriptions.add(Qe.schedule(a))};g.getAriaLabel=function(){if(!this.values||this.values.length===0)return this.title+" is empty";var a=this.title+" has "+this.values.length+" ";switch(this.type){case "REPEATED_DATE":a+="date";break;default:a+="item"}this.values.length>1&&(a+="s");return a};var GVa=function(a,b){return b.displayText+", "+(a.enumPendingValues.has(b.value)?"selected":"not selected")};
jR.prototype.extractGroups=function(a){if(!this.isUser)return Ae(new Set([]));var b=function(c){return c.principalType==="GROUP"};return this.principalTypesFridge.watchSet(a).pipe(z(function(c){return new Set(c.filter(b).map(function(d){return d.email}))}))};jR.\u0275fac=function(){var a;return function(b){return(a||(a=ee(jR)))(b||jR)}}();
jR.\u0275cmp=C({type:jR,selectors:[["b-list-field"]],viewQuery:function(a,b){a&1&&(Rg(jIc,5),Rg(kIc,5),Rg(lIc,5),Rg(mIc,5,ef),Rg(nIc,5),Rg(JL,5),Rg(ZQ,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",showInternalOnlyFieldBadge:"showInternalOnlyFieldBadge",displayValuesOverride:"displayValuesOverride",enumChoices:"enumChoices",isUser:"isUser",listFieldDisabled:"listFieldDisabled",showingAll:"showingAll",title:"title",type:"type",tooltip:"tooltip",truncate:"truncate",isCollapsible:"isCollapsible",isExpanded:"isExpanded",iconName:"iconName",collapsiblePanelTitle:"collapsiblePanelTitle",customFieldId:"customFieldId",isRequired:"isRequired",
inputValidator:"inputValidator",checkAccessLimits:"checkAccessLimits",teamId:"teamId"},outputs:{valuesChange:"valuesChange",toggleAccessLimits:"toggleAccessLimits"},standalone:!1,features:[ch([cB]),cg,rv],ngContentSelectors:[".title-action",".value-action"],decls:26,vars:27,consts:[["addLink",""],["itemRenderer",""],["metadataTools",""],["enumPopup","matMenu"],["textPopup",""],["datePopup",""],["customFieldPopup",""],["editButton",""],["removeButton",""],["showFewer",""],["showMore",""],["textPopupForm",
"ngForm","formEl",""],[3,"ngClass"],["tabindex","0",1,"bv2-issue-metadata-field-inner",3,"matTooltip","matTooltipPosition","matTooltipDisabled"],[1,"bv2-editable-title",3,"focusin","focusout","matTooltip","matTooltipPosition","matTooltipDisabled"],["svgIcon","shield_person_24px","matTooltip","Visible to internal only","aria-label","Visible to internal only",1,"icon-xs","internal-only-badge"],["cdkDropList","",1,"list-field-content",3,"cdkDropListDropped","cdkDropListDisabled"],[3,"isExpanded","iconName",
"hasCompactTitleBar","title"],[1,"bv2-field-user-action-footer"],["matMenuContent",""],["cdkDrag",""],[3,"ngTemplateOutlet"],[3,"ngTemplateOutletContext","ngTemplateOutlet"],[1,"no-value"],["type","button","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"],["type","button","mat-button","","panelClass","bv2-add-item-bubble","tabindex",
"0",1,"mat-primary","bv2-metadata-tool","bv2-metadata-link","tiny",3,"xapInlineDialogClick","dialogLabel","overlayPositions","matTooltip"],["type","button","mat-button","","aria-haspopup","true","matTooltip","Select items in the list","tabindex","0",1,"mat-primary","bv2-metadata-tool","bv2-metadata-link","tiny",3,"matMenuTriggerFor"],["type","button","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"],["type","button","mat-button","","matTooltip","Select items in the list","tabindex","0",1,"mat-primary","bv2-metadata-tool","bv2-metadata-link","tiny"],["type","button","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"],["type","button","mat-button",
"","matTooltip","Select items in the list","tabindex","0",1,"mat-primary","bv2-metadata-tool","bv2-metadata-link","tiny",3,"click"],["type","button","mat-button","","panelClass","bv2-add-item-bubble","tabindex","0",1,"mat-primary","bv2-metadata-tool","bv2-metadata-link","tiny",3,"beforeOpened","xapInlineDialogClick","dialogLabel","overlayPositions","matTooltip"],[1,"flex-kids-x","flex-cross-axis-centered","flex-wrappable"],[1,"bv2-issue-metadata-list-item"],[1,"overflow-ellipsis",3,"matTooltip"],
["type","button",1,"bv2-remove-icon","bv2-remove-item","keep-focus-ring",3,"disabled","matTooltip"],[1,"float-clear"],[3,"codeChange"],["target","_blank",1,"bv2-metadata-link",3,"href"],[3,"teamId","componentId"],["target","_blank",1,"bv2-metadata-link",3,"click","href"],["routerLink","/issues",1,"subtle-link",3,"click","queryParams"],[3,"maxWidth","modelValue","disabled"],["type","button",1,"bv2-remove-icon","bv2-remove-item","keep-focus-ring",3,"click","disabled","matTooltip"],["tabindex","0","role",
"button",1,"bv2-metadata-tool","bv2-metadata-link",3,"matTooltip"],["tabindex","0","role","button",1,"bv2-metadata-tool","bv2-metadata-link",3,"click","keydown.enter","keydown.space","matTooltip"],[1,"bv2-metadata-tool"],["tabindex","0","role","button",1,"bv2-metadata-link",3,"click","keydown.enter","keydown.space","matTooltip"],["mat-menu-item","","type","button","role","menuitemcheckbox",3,"disabled","b-menu-item-checked"],["mat-menu-item","","type","button","role","menuitemcheckbox",3,"click",
"disabled"],[1,"b-menu-item-check-mark"],["svgIcon","done",1,"icon-s"],[3,"ngSubmit"],["name","input","ngModel","","required","","step","any","aria-expanded","true","autofocus","",3,"type"],[1,"bv2-list-field-addition-dialog-buttons"],["mat-flat-button","","type","submit",1,"medium","field-popup-button",3,"disabled"],["svgIcon","done"],["mat-stroked-button","","type","button",1,"medium","field-popup-button",3,"click"],["svgIcon","close"],[3,"dateChange","cancelClicked","required","renderPanel"],[3,
"onApplyChanges","onCancelChanges","allowMultiSelect","customFieldTitle","allowedValues","selectedValues"]],template:function(a,b){if(a&1){var c=v();Ig(oIc);I(0,"div",12)(1,"div",13)(2,"div",14);M("focusin",function(){w(c);return x(b.focusOnTitle=!0)})("focusout",function(){w(c);return x(b.focusOnTitle=!1)});D(3,$Ua,2,1,"label")(4,aVa,1,0,"mat-icon",15);Jg(5);J();I(6,"div",16);M("cdkDropListDropped",function(d){w(c);return x(b.onDrop(d))});D(7,eVa,4,5,"collapsible-panel",17)(8,hVa,4,2);I(9,"div",
18,0);D(11,rVa,3,1);Jg(12,1);J()()();D(13,BVa,1,1,"ng-template",null,1,ih)(15,FVa,2,2,"ng-template",null,2,ih);I(17,"mat-menu",null,3);D(19,IVa,2,0,"ng-template",19);J();D(20,KVa,12,9,"ng-template",null,4,ih)(22,LVa,1,2,"ng-template",null,5,ih)(24,OVa,3,4,"ng-template",null,6,ih);J()}a&2&&(sg("empty-list-field-indication",b.isRequired&&!(b.values==null?0:b.values.length))("active",b.isActive&&!b.listFieldDisabled&&!b.readonly),E("ngClass",gh(23,pIc,!b.showInternalOnlyFieldBadge,!b.showInternalOnlyFieldBadge,
b.showInternalOnlyFieldBadge)),B(),sg("bv2-disabled",b.listFieldDisabled)("bv2-readonly",b.readonly),E("matTooltip",b.tooltip)("matTooltipPosition","left")("matTooltipDisabled",cr(b)),jg("aria-label",b.getAriaLabel()),B(),E("matTooltip",b.tooltip)("matTooltipPosition","left")("matTooltipDisabled",!cr(b)),B(),G(b.title?3:-1),B(),G(b.showInternalOnlyFieldBadge?4:-1),B(2),sg("draggable",(b.values==null?null:b.values.length)&&b.isDefaultOrAllowedValues),E("cdkDropListDisabled",!b.isDefaultOrAllowedValues),
B(),G(b.isCollapsible||b.enableNewCustomRepeatedEnumUi&&cr(b)?7:8),B(4),G(b.readonly?-1:11))},dependencies:[aw,dw,pB,VA,dz,pQ,Oy,oi,Gy,Hy,Yy,Ny,Ly,eB,jy,mB,rB,lQ,hR,gR,HM,GM,ZQ,xL,IL,GL,HL,JL,XQ,OM,VQ,FQ],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 rIc={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"},kR=function(){};kR.\u0275fac=function(a){return new (a||kR)};kR.\u0275mod=Cf({type:kR});kR.\u0275inj=p({imports:[lC,fP,bR,GQ,yQ,bz,mC,pC,XM,uP,mQ,gP,iR,$Q,cR,bN,WO,YQ,cR,vP,WQ,HQ,UQ]});var sIc=Qq.listIssues.makeHref,tIc=Qq.createIssue.makeHref,lR=function(){Z.apply(this,arguments);var a=this;this.componentFridge=r(uD);this.activeSession=r(Bu);this.providedComponentId$=new Tf(1);this.component$=this.providedComponentId$.pipe(Yf(function(b){return a.componentFridge.watch(b)}),Vf({refCount:!0,bufferSize:1}));this.init=new Tf(1);this.isAnonymous=this.activeSession.isAnonymous()};Y(lR,Z);lR.\u0275dir=Z.\u0275dir;
lR.prototype.ngOnInit=function(){var a=this;this.providedComponentId$.next(this.componentId);this.recentIssuesUrl=sIc({q:"status:open componentid:"+this.componentId,s:"created_time:desc"});this.createIssueUrl=tIc()+"?component="+this.componentId;this.viewComponentUrl=Qq.editComponent.makeHref(this.componentId);this.component$.pipe(Nf(),Zf(this.destroyed$)).subscribe(function(){a.init.next()})};lR.\u0275fac=function(){var a;return function(b){return(a||(a=ee(lR)))(b||lR)}}();
lR.\u0275cmp=C({type:lR,selectors:[["b-component-card"]],inputs:{componentId:"componentId"},outputs:{init:"init"},standalone:!1,features:[cg],decls:4,vars:3,consts:[["role","dialog","aria-label","Component Hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[3,"accessLevel","labelOnlyMode"],["tabindex","0",1,"keep-focus-ring",3,"href"]],template:function(a,b){a&1&&(I(0,"div",0)(1,"div",1),D(2,RVa,15,8),S(3,"async"),J()());if(a&2){var c;B(2);G((c=U(3,1,b.component$))?2:-1,c)}},dependencies:[IN,
ew],styles:["[_nghost-%COMP%]{max-width:400px}ul[_ngcontent-%COMP%]{list-style-type:none;padding:0}"]});var mR=function(){this.trackerHelpers=r(yH);this.componentPath=[];this.isArchived=!1;this.label="Component";this.openTab=""};da.Object.defineProperties(mR.prototype,{componentPathInfo:{configurable:!0,enumerable:!0,set:function(a){a=ou(this.trackerHelpers,a);this.componentPath=this.componentPathsLinkTo==="settings"?gr(a,jIa):gr(a)}}});mR.\u0275fac=function(a){return new (a||mR)};
mR.\u0275cmp=C({type:mR,selectors:[["b-component-breadcrumb"]],inputs:{componentPathsLinkTo:"componentPathsLinkTo",componentPathInfo:"componentPathInfo",isArchived:"isArchived",label:"label",openTab:"openTab"},standalone:!1,decls:7,vars:2,consts:[["card","onedevHovercard"],["role","navigation","aria-labelledby","breadcrumb-label",1,"breadcrumb"],["id","breadcrumb-label"],[1,"breadcrumb-items"],[1,"breadcrumb-item"],[1,"breadcrumb-archived-indicator"],[1,"keep-focus-ring",3,"onedevHovercardTrigger",
"routerLinkObj"],[3,"componentId"]],template:function(a,b){a&1&&(I(0,"div",1)(1,"p",2),Q(2),J(),I(3,"span",3),yg(4,SVa,6,4,"span",4,xg),D(6,TVa,2,0,"span",5),J()());a&2&&(B(2),R("",b.label,":"),B(2),zg(b.componentPath),B(2),G(b.isArchived?6:-1))},dependencies:[iC,$H,fI,lR],encapsulation:2});var nR=function(){Z.apply(this,arguments);var a=this;this.componentFridge=r(uD);this.trackerHelpers=r(yH);this.recentIssuesInComponent=Qp;this.componentId$=new Tf(1);this.hidePath=!1;this.error$=this.componentFridge.error$.pipe(Ue(function(b){return String(b.idOrKey)===a.componentIdInternal}));this.rawComponent$=this.componentId$.pipe(Ue(ik),Yf(function(b){return a.componentFridge.watch(b)}),Ue(ik));this.component$=Te(this.error$,this.rawComponent$).pipe(z(function(b){return b.componentId&&b.name?
b:{componentId:Number(b.idOrKey),name:"(unknown)"}}));this.isArchived$=this.component$.pipe(z(function(b){return b.archived}));this.componentPath$=this.component$.pipe(z(function(b){b=ou(a.trackerHelpers,b.componentPathInfo);return gr(b)}));this.init=new Tf(1);this.routes$=this.componentId$.pipe(z(function(b){return{createIssue:iIa(b),componentSettings:jIa(b),recentIssues:Qp(b)}}))};Y(nR,Z);nR.\u0275dir=Z.\u0275dir;nR.prototype.ngOnInit=function(){var a=this;this.component$.pipe(Nf(),Zf(this.destroyed$)).subscribe(function(){a.init.next()})};
da.Object.defineProperties(nR.prototype,{componentId:{configurable:!0,enumerable:!0,set:function(a){this.componentIdInternal=a=String(a);this.componentId$.next(a)}}});nR.\u0275fac=function(){var a;return function(b){return(a||(a=ee(nR)))(b||nR)}}();
nR.\u0275cmp=C({type:nR,selectors:[["b-component-path-card"]],inputs:{componentId:"componentId",hidePath:"hidePath"},outputs:{init:"init"},standalone:!1,features:[cg],decls:7,vars:7,consts:[["role","dialog","aria-label","Component Hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"component-path","squared","b-chip","s","margin-s-bottom"],[1,"flex-kids-y","padded-s-top","actions"],[3,"routerLinkObj"],[1,"flex-kids-x"],["svgIcon","folder",1,"icon-xs"],[1,"type-s"],[1,"id-text",
"flex-kids-x","gap-s","align-items-center"],[3,"accessLevel","labelOnlyMode"],["aria-label","View recent open issues","mat-button","",1,"primary",3,"routerLinkObj"],["aria-label","View component settings","mat-button","",1,"primary",3,"routerLinkObj"],["aria-label","Create issue in this component","mat-button","",1,"primary",3,"routerLinkObj"]],template:function(a,b){a&1&&(I(0,"div",0)(1,"div",1),D(2,XVa,6,5,"div",2)(3,YVa,10,5),S(4,"async"),D(5,ZVa,7,3,"div",3),S(6,"async"),J()());if(a&2){var c,
d;B(2);G(b.hidePath?-1:2);B();G((c=U(4,3,b.component$))?3:-1,c);B(2);G((d=U(6,5,b.routes$))?5:-1,d)}},dependencies:[pB,iC,eB,ky,IN,ew],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 uIc={QA:124156,NIGHTLY:190923,PROD:190923};var oR=function(){var a=r(HD),b=r(rE),c=r(uD);Z.call(this);var d=this;this.componentApi=r(sD);this.appEvents=r(yD);this.activeSession=r(Bu);this.components=a.get("components-second-level-cache")||a.create("components-second-level-cache",{capacity:25});this.subscriptions.add(this.appEvents.componentModified.subscribe(function(e){d.components.removeAll();c.invalidate(e)}));this.componentGetter=b.adapt(function(e){var f=Wa(e);Jba(f);return d.componentApi.query({id:f}).then(function(h){var l={};h=k(h);
for(var q=h.next();!q.done;q=h.next())(q=q.value)&&(l[q.componentId]=q);return e.map(function(u){return l[u]||null})})})};Y(oR,Z);oR.\u0275dir=Z.\u0275dir;g=oR.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 imc("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 vIc(this,a,this.componentApi.query(c))};
var vIc=function(a,b,c){if(b.match(/^\s*android\s*$/i)){var d=uIc[a.activeSession.getEnvironmentType()];if(d)return Bi({publicComponent:a.get(d),rest:c}).then(function(e){var f=[e.publicComponent];e=k(e.rest);for(var h=e.next();!h.done;h=e.next())h=h.value,h.componentId!==d&&f.push(h);return f})}return c};
oR.prototype.bulkLoad=function(a){var b=this,c=a.filter(function(f){return!b.components.get(String(f))});Jba(c);if(c.length){a=this.componentApi.query({id:c}).then(function(f){var h={};f=k(f);for(var l=f.next();!l.done;l=f.next())(l=l.value)&&(h[l.componentId]=l);return h});c=k(c);for(var d=c.next(),e={};!d.done;e={id$jscomp$383:void 0},d=c.next())e.id$jscomp$383=d.value,this.components.put(String(e.id$jscomp$383),a.then(function(f){return function(h){return h[f.id$jscomp$383]?h[f.id$jscomp$383]:
Promise.reject(new imc("Could not load details for component "+f.id$jscomp$383))}}(e)))}};oR.\u0275fac=function(a){return new (a||oR)};oR.\u0275prov=n({token:oR,factory:oR.\u0275fac,providedIn:"root"});var pR=function(){this.showFolderSpecialIcon=!1;this.mode="default";this.query="";this.selectComponentId=new aB;this.expandComponent=new aB;this.goBack=new aB};pR.prototype.ngOnInit=function(){};pR.prototype.expand=function(a,b){b.preventDefault();b.stopPropagation();this.expandComponent.emit(a)};pR.prototype.back=function(a){a.preventDefault();a.stopPropagation();this.goBack.emit()};pR.\u0275fac=function(a){return new (a||pR)};
pR.\u0275cmp=C({type:pR,selectors:[["component-row"]],inputs:{showFolderSpecialIcon:"showFolderSpecialIcon",componentOption:"componentOption",mode:"mode",query:"query"},outputs:{selectComponentId:"selectComponentId",expandComponent:"expandComponent",goBack:"goBack"},standalone:!1,decls:11,vars:7,consts:[[1,"container"],["svgIcon","history"],"type;button;mat-icon-button;;aria-label;Return to search results;matTooltip;Return to search results".split(";"),["type","button","mat-icon-button","",1,"expand-button",
3,"matTooltip"],[1,"content"],[1,"margin-s-right"],[1,"archived-indicator"],[3,"accessLevel","labelOnlyMode"],[3,"trackerId","showHovercard"],["type","button","mat-icon-button","","aria-label","Return to search results","matTooltip","Return to search results",3,"mousedown"],["svgIcon","back"],["type","button","mat-icon-button","",1,"expand-button",3,"mousedown","matTooltip"],[3,"svgIcon"],[1,"subtle-link",3,"innerHtml"],[1,"subtle-link",3,"mousedown","innerHtml"],[1,"subtle-link"],[1,"subtle-link",
3,"mousedown"]],template:function(a,b){a&1&&(I(0,"div",0),D(1,$Va,1,0,"mat-icon",1)(2,aWa,2,0,"button",2)(3,bWa,2,3,"button",3),I(4,"div",4)(5,"span",5),D(6,gWa,2,0)(7,iWa,1,1)(8,jWa,2,0,"span",6),J(),K(9,"b-component-access-level-indicator",7)(10,"b-tracker-chip-smart",8),J()());if(a&2){var c;B();G((c=b.mode)==="recent"?1:c==="tree"?2:3);B(5);G(b.mode!=="leaf"?6:7);B(2);G(b.componentOption.archived?8:-1);B();E("accessLevel",b.componentOption.accessLimit==null?null:b.componentOption.accessLimit.accessLevel)("labelOnlyMode",
!0);B();E("trackerId",b.componentOption.trackerId)("showHovercard",!1)}},dependencies:[pB,eB,ly,mB,rB,lL,IN,dC,Pgc],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 qR=function(a,b,c,d,e,f,h,l){var q=this;this.userApi=a;this.componentActions=b;this.teamsService=c;this.analytics=d;this.destroyed$=e;this.config=f;this.trackerHelpers=h;this.activeSession=l;this.includeArchived=!1;this.searchQuery$=new Xi("");this.debouncedSearchQuery$=this.searchQuery$.pipe(Lf(250));this.state$=new Xi("default");this.listUpdated$=new Uf;this.componentsLoading=this.teamsLoading=!1;this.teamScope$=new Xi(void 0);this.componentOptions=[];this.childTeamsMap=new Map;this.componentCountMap=
new Map;this.recentComponents=[];this.myTeams$=new Xi([]);this.showAllTeams$=new Xi(!1);this.showAllTeamsDistinct$=this.showAllTeams$.pipe(Pf());this.teamOptions$=new Xi([]);this.filteredTeamOptions$=Ie([this.teamOptions$,this.showAllTeamsDistinct$]).pipe(z(function(u){var A=k(u);u=A.next().value;return A.next().value?u:u.slice(0,5)}));this.hasHiddenTeams$=Ie([this.teamOptions$,this.showAllTeamsDistinct$]).pipe(z(function(u){var A=k(u);u=A.next().value;A=A.next().value;return u.length>5&&!A}));this.newChildTeams$=
new Xi([]);this.teamsDisplayed$=Te(this.myTeams$,this.teamOptions$,this.newChildTeams$,this.teamScope$.pipe(z(function(u){return u?[u]:[]}))).pipe(z(function(u){return u.map(function(A){return A.id})}));this.unseenTeamChildTeamsMap$=this.teamsDisplayed$.pipe(z(function(u){return u.filter(function(A){return!q.childTeamsMap.has(A)})}),Ue(function(u){return u.length>0}),Yf(function(u){return q.teamsService.getChildTeams(u)}),z(nWa));this.unseenTeamComponentCountMap$=this.teamsDisplayed$.pipe(z(function(u){return u.filter(function(A){return!q.componentCountMap.has(A)})}),
Ue(function(u){return u.length>0}),Yf(function(u){return Vnc(q.teamsService,u)}));this.componentIdSelected$=new Tf(1);this.lastProcessedIndex=-1;this.requestIndex=0};
qR.prototype.init=function(a){var b=this;a=a===void 0?!1:a;wIc(this);Ie([this.debouncedSearchQuery$.pipe(Wf(a?1:0)),this.state$]).pipe(Zf(this.destroyed$)).subscribe(function(c){var d=k(c);c=d.next().value;d=d.next().value;b.showAllTeams$.next(!1);d==="default"?c?b.state$.next("global"):(b.componentOptions=[],b.teamOptions$.next([]),b.listUpdated$.next()):d==="global"?c?(b.includeTeamData()&&xIc(b,c),yIc(b,c)):b.state$.next("default"):d==="team_scope"?b.teamScope$.value&&(b.teamOptions$.next([]),
yIc(b,"teamid:"+b.teamScope$.value.id+" "+c)):d==="component_scope"&&b.componentScope&&zIc(b,b.componentScope.id)});this.debouncedSearchQuery$.pipe(ag(this.state$),Zf(this.destroyed$)).subscribe(function(c){var d=k(c);c=d.next().value;d.next().value==="component_scope"&&b.state$.next(c?"global":"default")});this.unseenTeamChildTeamsMap$.pipe(Zf(this.destroyed$)).subscribe(function(c){c=k(c.entries());for(var d=c.next();!d.done;d=c.next()){var e=k(d.value);d=e.next().value;e=e.next().value;b.childTeamsMap.set(d,
e)}});this.unseenTeamComponentCountMap$.pipe(Zf(this.destroyed$)).subscribe(function(c){c=k(c.entries());for(var d=c.next();!d.done;d=c.next()){var e=k(d.value);d=e.next().value;e=e.next().value;b.componentCountMap.set(d,e)}})};qR.prototype.includeTeamData=function(){return this.config.includeTeamData&&!Hp(this.activeSession)};
var wIc=function(a){a.componentsLoading=!0;a.userApi.getRecentComponents().then(function(b){b=b.filter(function(c){return a.filterTrackerComponents(c)});b=AIc(a,b);a.recentComponents=b;a.listUpdated$.next()}).finally(function(){a.componentsLoading=!1});a.includeTeamData()&&(a.teamsLoading=!0,FG(a.teamsService,"").pipe(Zf(a.destroyed$)).subscribe(function(b){a.myTeams$.next(b.map(kWa));a.listUpdated$.next();a.teamsLoading=!1},function(){a.teamsLoading=!1}))};
qR.prototype.filterTrackerComponents=function(a){var b;return!Hp(this.activeSession)||a.trackerId===((b=this.activeSession.getTracker())==null?void 0:b.trackerId)};qR.prototype.selectOption=function(a){a.type==="component"?CXa(this,a.id):a.type==="team"?HWa(this,a):console.warn("invalid option selected")};
var CXa=function(a,b){var c=BIc(a);a.analytics.trackEvent("componentPicker","autocomplete-select",c);a:{for(c=0;c<a.recentComponents.length;c++){var d=void 0;if(b===((d=a.recentComponents[c])==null?void 0:d.id)){c+=1;break a}}c=null}a.analytics.trackEvent("componentPicker","suggestionSuccess",c!=null?"success":"failure");c!=null&&(c===1&&a.analytics.trackEvent("componentPicker","suggestionSuccess","n1"),c<=5&&a.analytics.trackEvent("componentPicker","suggestionSuccess","n5"),c<=10&&a.analytics.trackEvent("componentPicker",
"suggestionSuccess","n10"));a.componentIdSelected$.next(b);a.state$.next("global")},BIc=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""};
qR.prototype.expandComponent=function(a){this.componentScope=a;this.state$.next("component_scope")};
var oXa=function(a,b){a.componentActions.get(b).then(function(c){var d=ou(a.trackerHelpers,c.componentPathInfo);a.componentScope=mWa(c,d);a.state$.next("component_scope")})},nXa=function(a){a.componentScope=void 0;a.searchQuery$.value?a.state$.next("global"):a.state$.next("default")},HWa=function(a,b){a.teamScope$.next(Object.assign({},b,{expanded:!1}));a.state$.next("team_scope");a.searchQuery$.next("");b.pathNames||ir(a,b.id)},ir=function(a,b){a.teamsLoading=!0;FG(a.teamsService,b).pipe(Zf(a.destroyed$)).subscribe(function(c){c=
c.map(kWa);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})},CIc=function(a){if(a.teamScope$.value&&a.teamScope$.value.pathIds&&!(a.teamScope$.value.pathIds.length<2)){var b=a.teamScope$.value.pathIds;ir(a,b[b.length-2])}};qR.prototype.getChildTeams=function(a){var b;return(b=this.childTeamsMap.get(a))!=null?b:[]};
qR.prototype.hasNoComponent=function(a){return this.componentCountMap.has(a)?this.componentCountMap.get(a)===0:!1};
var dXa=function(a,b){b.expanded=!1;a.listUpdated$.next()},eXa=function(a,b){b.expanded=!0;a.listUpdated$.next();a.newChildTeams$.next(a.getChildTeams(b.id))},hXa=function(a){a.teamScope$.next(void 0);a.searchQuery$.next("");a.state$.next("default")},xIc=function(a,b){b.length>1&&(a.teamsLoading=!0,FG(a.teamsService,b).pipe(Zf(a.destroyed$)).subscribe(function(c){a.teamOptions$.next(c.map(kWa));a.teamsLoading=!1;a.listUpdated$.next()},function(){a.teamsLoading=!1}))},yIc=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=AIc(a,d));a.listUpdated$.next()}).finally(function(){a.componentsLoading=!1})}},zIc=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=AIc(a,d),a.listUpdated$.next())}).finally(function(){a.componentsLoading=
!1})},AIc=function(a,b){return b.map(function(c){var d=ou(a.trackerHelpers,c.componentPathInfo);return mWa(c,d)})};var DIc=0,rR=function(){this.changeDetectorRef=r(Ov);this.elementRef=r(ef);this.active=!1;this.id="b-component-picker-option-"+DIc++};rR.prototype.setActiveStyles=function(){this.active=!0;this.changeDetectorRef.markForCheck()};rR.prototype.setInactiveStyles=function(){this.active=!1;this.changeDetectorRef.markForCheck()};rR.\u0275fac=function(a){return new (a||rR)};
rR.\u0275dir=Df({type:rR,selectors:[["","listOption",""]],hostVars:3,hostBindings:function(a,b){a&2&&(Dg("id",b.id),sg("active",b.active))},inputs:{data:"data",listOrder:"listOrder"},standalone:!1});var sR=function(){this.query="";this.hasNoComponent=this.compact=this.allowSegmentSelection=!1;this.selectTeamId=new aB};sR.prototype.getLogoUrl=function(){return"https://moma-teams-photos.corp.google.com/logo/"+this.teamOption.id};sR.prototype.ngOnInit=function(){};sR.\u0275fac=function(a){return new (a||sR)};
sR.\u0275cmp=C({type:sR,selectors:[["team-row"]],inputs:{teamOption:"teamOption",query:"query",allowSegmentSelection:"allowSegmentSelection",compact:"compact",hasNoComponent:"hasNoComponent"},outputs:{selectTeamId:"selectTeamId"},standalone:!1,decls:5,vars:7,consts:[[1,"container"],["alt",""],[1,"content"],[1,"name-row"],[1,"path"],[1,"team-name",3,"innerHtml"],[1,"no-component-label"],[1,"subtle-link"],[1,"subtle-link",3,"mousedown"],[1,"team-name"]],template:function(a,b){a&1&&(I(0,"div",0),D(1,
oWa,1,1,"img",1),I(2,"div",2),D(3,qWa,4,5,"div",3)(4,yWa,3,0,"div",4),J()());a&2&&(sg("no-component",b.hasNoComponent)("compact",b.compact),B(),G(b.compact?-1:1),B(2),G(b.compact?-1:3),B(),G(b.teamOption.pathNames&&b.teamOption.pathNames.length?4:-1))},dependencies:[dC],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 EIc=["container"],FIc=["inputBox"],GIc=["dropdownTemplate"],HIc=["dropdown"],MWa=function(a){return{mode:"recent",$implicit:a}},YWa=function(a){return{mode:"default",$implicit:a}},SWa=function(a){return[a]},RWa=function(a,b){return{team:a,level:0,order:b}},lXa=function(a,b){return{mode:"default",$implicit:a,teamScope:b}},iXa=function(){return[0]},aXa=function(a){return[0,a]},rXa=function(a){return{mode:"leaf",$implicit:a}},wXa=function(a,b,c){return{team:a,level:b,order:c}},IIc=[{originX:"start",
originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],JIc=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"}],tR=function(){Z.apply(this,arguments);this.overlay=r(Kx);this.viewContainerRef=r(Pg);this.userApi=r(TD);this.componentActions=r(oR);this.teamsService=r(DG);this.userAccess=r(uE);this.analytics=r(OF);this.activeSession=r(Bu);this.trackerHelpers=r(yH);this.cdr=
r(Ov);this.placeholder="";this.isRequired=!1;this.ariaLabel="";this.checkAdminAccess=this.showOverlayAbove=!1;this.accessCheckComplete=new aB;this.shouldFocus=!1;this.touched=new aB;this.selectedComponentChange=new aB;this.dropdownClosed=new aB;this.checkingAccess=this.hasAccess=!1;this.isExternal=this.activeSession.isExternalSession();this.searchState=new qR(this.userApi,this.componentActions,this.teamsService,this.analytics,this.destroyed$,{includeTeamData:!this.isExternal},this.trackerHelpers,
this.activeSession);this.componentLoading=this.isDropdownOpen=!1};Y(tR,Z);tR.\u0275dir=Z.\u0275dir;
tR.prototype.ngOnInit=function(){var a=this;this.searchState.init(!!this.selectedComponent);this.searchState.componentIdSelected$.pipe(Zf(this.destroyed$)).subscribe(function(b){a.componentLoading=!0;a.componentActions.get(b).then(function(c){a.selectedComponent=c;KIc(a);a.componentLoading=!1;a.close(!0);a.selectedComponentChange.emit(c)})},function(){a.componentLoading=!1});Te(this.searchState.debouncedSearchQuery$,this.searchState.state$).pipe(Zf(this.destroyed$)).subscribe(function(){a.clearActiveItem()})};
tR.prototype.isLoading=function(){return this.componentLoading||this.searchState.componentsLoading||this.searchState.teamsLoading};
var KIc=function(a){if(a.selectedComponent){var b=ou(a.trackerHelpers,a.selectedComponent.componentPathInfo);b=mWa(a.selectedComponent,b);a.searchState.searchQuery$.next(b.componentPath.length?b.componentPath[b.componentPath.length-1].pathText:"")}else a.searchState.searchQuery$.next("")},LIc=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=tR.prototype;g.ngOnChanges=function(a){a.selectedComponent&&(KIc(this),this.checkAdminAccess&&this.selectedComponent&&MIc(this,this.selectedComponent))};g.ngOnDestroy=function(){this.close();Z.prototype.ngOnDestroy.call(this)};
g.ngAfterViewInit=function(){var a=this;this.keyManager=Yw(Zw(new cx(this.listOptions)));this.searchState.listUpdated$.pipe(Zf(this.destroyed$)).subscribe(function(){a.cdr.markForCheck()});this.listOptions.changes.pipe(Zf(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(MXa);b=[].concat(t(c),t(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"&&hXa(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 NIc=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};
tR.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),LIc(this)):(this.open(),setTimeout(function(){var d;(d=b.keyManager)==null||p8b(d);LIc(b)}));break;case "ArrowDown":this.isDropdownOpen?(this.keyManager.onKeydown(a),LIc(this)):(this.open(),setTimeout(function(){var d;(d=b.keyManager)!=null&&d._setActiveItemByIndex(0,1);LIc(b)}));break;case "Enter":this.keyManager.activeItem&&
(this.searchState.teamScope$.value===this.keyManager.activeItem.data?hXa(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(),eXa(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?dXa(this.searchState,this.keyManager.activeItem.data):CIc(this.searchState));this.searchState.state$.value==="component_scope"&&(a.preventDefault(),nXa(this.searchState));break;case "Backspace":case "Delete":this.keyManager.activeItem&&this.searchState.teamScope$.value===this.keyManager.activeItem.data&&(hXa(this.searchState),a.preventDefault());break;default:this.touched.emit(),
this.isDropdownOpen||this.open()}};var hr=function(a){a.preventDefault();a.stopPropagation()},MIc=function(a,b){a.checkingAccess=!0;a.hasAccess=!1;vE(a.userAccess,"admin","components/"+b.componentId).then(function(c){a.checkingAccess=!1;a.accessCheckComplete.emit(c);a.hasAccess=c})};g=tR.prototype;
g.createOverlay=function(){var a=this.getPositionStrategy(),b=this.getScrollStrategy(),c;return this.overlay.create(new ux({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 Ex(this.dropdownTemplateRef,this.viewContainerRef),b;(b=this.dropdownOverlayRef)==null||b.attach(a);var c;(c=this.dropdownOverlayRef)==null||c.updatePosition()};
g.getPositionStrategy=function(){var a=this.showOverlayAbove?JIc:IIc;return xx(L8b(zx(Bx(this.overlay.position(),this.container),!1),!1),a)};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(tR.prototype,{includeArchived:{configurable:!0,enumerable:!0,set:function(a){this.searchState.includeArchived=a}}});tR.\u0275fac=function(){var a;return function(b){return(a||(a=ee(tR)))(b||tR)}}();
tR.\u0275cmp=C({type:tR,selectors:[["b-team-component-picker"]],viewQuery:function(a,b){a&1&&(Rg(EIc,7),Rg(FIc,7),Rg(GIc,7),Rg(HIc,5),Rg(rR,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",showOverlayAbove:"showOverlayAbove",selectedComponent:"selectedComponent",checkAdminAccess:"checkAdminAccess",
shouldFocus:"shouldFocus",includeArchived:"includeArchived"},outputs:{accessCheckComplete:"accessCheckComplete",touched:"touched",selectedComponentChange:"selectedComponentChange",dropdownClosed:"dropdownClosed"},standalone:!1,features:[cg,rv],decls:13,vars:10,consts:[["container",""],["inputBox",""],["dropdownTemplate",""],["teamTreeItem",""],["componentList",""],["dropdown",""],[1,"container","pseudo-input"],["type","text","role","combobox","autocomplete","off","spellcheck","false","aria-autocomplete",
"list",1,"override",3,"ngModelChange","keydown","click","focus","blur","ngModel","placeholder","required"],"type;button;mat-icon-button;;tabindex;-1;matTooltip;Clear component;aria-label;Clear component".split(";"),["type","button","mat-icon-button","","tabindex","-1","matTooltip","Clear component","aria-label","Clear component",3,"mousedown"],["svgIcon","clear"],[1,"bv2-picker-checking"],[1,"bv2-picker-error"],["target","_blank",3,"href"],[1,"dropdown",3,"mousedown"],[1,"progress-bar-container"],
["mode","indeterminate"],[1,"dropdown-content"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["role","tree"],[1,"section-header"],["role","treeitem","listOption","",1,"list-option",3,"data"],["role","treeitem","listOption","",1,"list-option",3,"mousedown","data"],[3,"selectTeamId","teamOption","query","hasNoComponent"],["type","button","tabindex","-1",1,"unstyled","expand-team-line-button"],["type","button","tabindex","-1",1,"unstyled","expand-team-line-button",3,"mousedown"],["svgIcon","arrow-down"],
[1,"team-scope-container"],["listOption","",1,"team-scope",3,"data","listOrder"],[3,"selectTeamId","teamOption","query","compact","allowSegmentSelection"],["type","button","tabindex","-1","mat-icon-button","","matTooltip","Clear team filter",1,"small","clear-filter",3,"mousedown"],["svgIcon","close"],[1,"team-scope-child-teams"],[1,"component-scope-container"],[1,"title"],["mode","tree",3,"goBack","selectComponentId","componentOption"],["role","treeitem","listOption","",1,"list-option",3,"mousedown",
"listOrder","data"],[1,"team-row-container"],["type","button","mat-icon-button","","aria-label","Show child teams",1,"arrow-button"],["type","button","mat-icon-button","","aria-label","Show child teams",1,"arrow-button",3,"mousedown"],["svgIcon","arrow-dropdown"],["role","listbox"],["role","option","listOption","",1,"list-option",3,"data"],["role","option","listOption","",1,"list-option",3,"mousedown","data"],[3,"selectComponentId","expandComponent","showFolderSpecialIcon","componentOption","query",
"mode"],[1,"empty-list","muted"],["svgIcon","close",1,"icon-xs","valign-middle"],["href","http://go/buganizer:component-mapping#associate","target","_blank"],["svgIcon","pop-out",1,"icon-xs"]],template:function(a,b){if(a&1){var c=v();I(0,"div",6,0)(2,"input",7,1);S(4,"async");M("ngModelChange",function(d){w(c);return x(b.searchState.searchQuery$.next(d))})("keydown",function(d){w(c);return x(b.handleKeydown(d))})("click",function(){w(c);b.open();return x(b.touched.emit())})("focus",function(){w(c);
return x(b.open())})("blur",function(){w(c);return x(b.close())});J();D(5,zWa,2,0,"button",8);J();D(6,DWa,3,1,"div")(7,tXa,10,4,"ng-template",null,2,ih)(9,zXa,5,11,"ng-template",null,3,ih)(11,LXa,2,1,"ng-template",null,4,ih)}a&2&&(a=L(3),B(2),E("ngModel",U(4,8,b.searchState.searchQuery$))("placeholder",b.placeholder)("required",b.isRequired),jg("aria-label",b.ariaLabel+(b.selectedComponent?" Component selected. Change.":" Choose component"))("aria-expanded",b.isDropdownOpen)("aria-activedescendant",
NIc(b)),B(3),G(a.value?5:-1),B(),G(b.checkAdminAccess?6:-1))},dependencies:[dw,pB,oi,Gy,Yy,Ny,eB,ly,oQ,mB,rB,kB,iB,sR,pR,rR,ew],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 uR=function(){this.warningChunks=[]};uR.prototype.ngOnInit=function(){var a=this.warningText,b=RXa(a,"EXTERNAL_PUBLIC")||RXa(a,"EXTERNAL_PARTNER");this.warningChunks=b?[{text:a.substring(0,b.startOfMatch)},{accessLevel:b.accessLevel},{text:a.substring(b.endOfMatch)}]:[{text:a}]};uR.\u0275fac=function(a){return new (a||uR)};
uR.\u0275cmp=C({type:uR,selectors:[["b-component-move-warning-content"]],inputs:{warningText:"warningText"},standalone:!1,decls:3,vars:0,consts:[[3,"accessLevel"]],template:function(a,b){a&1&&(I(0,"div"),yg(1,PXa,3,1,"span",null,xg),J());a&2&&(B(),zg(b.warningChunks))},dependencies:[IN],encapsulation:2});var QXa=new Map([["EXTERNAL_PUBLIC","visible to public users"],["EXTERNAL_PARTNER","visible to external partners"]]);var vR=function(){this.data=r(sI);this.documentationLinks=r(lI);this.dialogRef=r(mI);var a=this.documentationLinks;this.learnMore=a.session.isExternalSession()?a.baseDocumentationUrl+"/concepts/access-control":"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/access-dos-donts#moving-issues-to-a-new-component";this.acknowledged=!0;this.header=this.data.response.warningHeader;this.warning=this.data.response.warning;this.isExternalMove=this.data.response.isExternalMove;this.isLimitNoneIssueTrackerMove=
this.data.isLimitNoneIssueTrackerMove;this.setLimitViewTrusted=this.isExternalMove&&this.isLimitNoneIssueTrackerMove;this.isAllowed=this.data.response.isAllowed;this.callbacks=this.data.callbacks;this.isExternalMove&&!this.isLimitNoneIssueTrackerMove&&(this.acknowledged=!1)};vR.prototype.allow=function(){var a;(a=this.dialogRef)==null||a.close();this.isAllowed&&this.acknowledged&&this.callbacks.allow(this.setLimitViewTrusted)};
vR.prototype.cancel=function(){var a;(a=this.dialogRef)==null||a.close();this.callbacks.cancel()};vR.\u0275fac=function(a){return new (a||vR)};
vR.\u0275cmp=C({type:vR,selectors:[["b-component-move-warning"]],standalone:!1,decls:13,vars:5,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"component-move-warning-text"],[3,"warningText"],["target","_blank"],["type","button","mat-button","","mat-dialog-close","",1,"medium",3,"click"],["type","button","mat-flat-button","","cdkFocusInitial","",3,"disabled"],["aria-labelledby","issue-access-limit-radio-label",3,"ngModelChange","ngModel"],[1,"margin-s-bottom",3,"value"],[3,"value"],[3,
"ngModelChange","ngModel"],["type","button","mat-flat-button","","cdkFocusInitial","",3,"click","disabled"]],template:function(a,b){a&1&&(I(0,"h1",0),Q(1),J(),I(2,"div",1)(3,"div",2),K(4,"b-component-move-warning-content",3),J(),K(5,"br"),I(6,"a",4),Q(7,"Learn more"),J(),D(8,UXa,3,1,"div"),J(),I(9,"mat-dialog-actions")(10,"button",5),M("click",function(){return b.cancel()}),Q(11," Cancel "),J(),D(12,VXa,2,1,"button",6),J());a&2&&(B(),Yg(b.header),B(3),E("warningText",b.warning),B(2),jg("href",b.learnMore,
vf),B(2),G(b.isExternalMove&&b.isAllowed?8:-1),B(4),G(b.isAllowed?12:-1))},dependencies:[Gy,Ny,eB,jy,LL,ML,RH,SH,uI,wI,yI,xI,uR],styles:["mat-checkbox[_ngcontent-%COMP%] {\n      margin-right: 8px;\n    }"],changeDetection:0});var OIc=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,OIc.messageId)};Y(OIc,V);OIc.messageId="b.CompareComponentAccessResponse";var wR=function(){this.executor=r(NC)};wR.prototype.check=function(a,b,c){return this.executor.get({url:"action/compare_component_access/"+a+"/"+b,options:{params:{issueId:c}},responseConstructor:OIc}).then(yBa)};wR.\u0275fac=function(a){return new (a||wR)};wR.\u0275prov=n({token:wR,factory:wR.\u0275fac,providedIn:"root"});var xR=function(){this.issueInteractionsTracking=r(dJ);this.issueFullFridge=r(QF);this.componentFridge=r(uD);this.butterBar=r(fH);this.compareComponentAccess=r(wR);this.matDialogService=r(tI);this.editIssueService=r(kJ);this.activeSession=r(Bu)};
xR.prototype.updateComponent=function(a,b){var c=this,d,e,f,h,l,q,u,A,F,H,N,O;return se(function(T){switch(T.nextAddress){case 1:a=String(a);lq(c.issueInteractionsTracking,a,{label:"changeComponent"});if(!b)return T.return(!1);d=k;return y(T,Promise.all([Fe(c.issueFullFridge.watch(a)),Fe(c.componentFridge.watch(b))]),2);case 2:e=d(T.yieldResult);f=e.next().value;h=e.next().value;l=f;q=h;if(!l)return c.butterBar.showWarning("Could not load issue "+a),T.return(!1);if(!q)return c.butterBar.showWarning("Could not load component "+
b),T.return(!1);u=l.snapshot[0].componentId;return u===b?T.return(!1):y(T,c.compareComponentAccess.check(String(u),String(b),a),3);case 3:A=T.yieldResult;F=!!q.trackerId;H=l.snapshot[0].issueAccessLimitLevel==="LIMIT_NONE";N=Vt(c.activeSession,"enableTrackerBoundaryImprovements")&&F&&H;O={allow:!1,setLimitViewTrusted:!1};if(!A.warning){T.jumpTo(4);break}return y(T,PIc(c,A,N),5);case 5:if(O=T.yieldResult,!O.allow)return T.return(!1);case 4:return y(T,c.editIssueService.updateComponent(a,b,A.isExternalMove,
O.setLimitViewTrusted),6);case 6:return T.return(!0)}})};var PIc=function(a,b,c){c=c===void 0?!1:c;return new Promise(function(d){nI(a.matDialogService.open(vR,{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})})})};xR.\u0275fac=function(a){return new (a||xR)};
xR.\u0275prov=n({token:xR,factory:xR.\u0275fac,providedIn:"root"});var QIc=function(){this.documentationLinks=r(lI)};QIc.\u0275fac=function(a){return new (a||QIc)};
QIc.\u0275cmp=C({type:QIc,selectors:[["b-issue-component-retention-dialog"]],standalone:!1,decls:12,vars:3,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["target","_blank",3,"href"],["mat-dialog-actions",""],["type","button","mat-stroked-button","",1,"medium",3,"mat-dialog-close"],["type","button","mat-flat-button","","color","primary","cdkFocusInitial","",1,"medium","dialog-primary-action",3,"mat-dialog-close"]],template:function(a){a&1&&(I(0,"h1",0),Q(1,"Apply component retention settings?"),
J(),I(2,"div",1)(3,"p"),Q(4," This issue is currently retained indefinitely. If you select this option, this issue will be scheduled for deletion based on the component retention settings. "),J(),I(5,"a",2),Q(6,"Learn more"),J()(),I(7,"div",3)(8,"button",4),Q(9," Cancel "),J(),I(10,"button",5),Q(11," OK "),J()());a&2&&(B(5),E("href",yu(),vf),B(3),E("mat-dialog-close",!1),B(2),E("mat-dialog-close",!0))},dependencies:[uI,wI,yI,xI,eB,jy],encapsulation:2});var RIc=function(){this.documentationLinks=r(lI);this.data=r(sI);this.deletionReasons=this.data.deletionReasons;this.attachmentId=this.data.attachmentId};RIc.\u0275fac=function(a){return new (a||RIc)};
RIc.\u0275cmp=C({type:RIc,selectors:[["b-issue-delete-attachment-dialog"]],standalone:!1,decls:15,vars:5,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["title","Deletion Reasons Help Link","target","_blank",1,"icon-s",3,"href"],[3,"ngModelChange","ngModel"],[3,"value","disabled"],["mat-dialog-actions",""],["type","button","mat-stroked-button","",1,"medium",3,"mat-dialog-close"],["type","button","mat-flat-button","","color","primary",1,"medium","dialog-primary-action",3,"mat-dialog-close",
"disabled"]],template:function(a,b){a&1&&(I(0,"h1",0),Q(1),J(),I(2,"div",1)(3,"span"),Q(4," Please select the reason for deleting this attachment. "),I(5,"a",2),Q(6," \u00a0Learn more "),J()(),I(7,"mat-radio-group",3),bh("ngModelChange",function(c){ah(b.selectedReason,c)||(b.selectedReason=c);return c}),yg(8,XXa,3,4,"mat-radio-button",4,xg),J()(),I(10,"div",5)(11,"button",6),Q(12," Cancel "),J(),I(13,"button",7),Q(14," Delete "),J()());a&2&&(B(),R("Delete attachment ",b.attachmentId,""),B(4),E("href",
Yqc(b.documentationLinks),vf),B(2),$g("ngModel",b.selectedReason),B(),zg(b.deletionReasons),B(5),E("mat-dialog-close",b.selectedReason)("disabled",!b.selectedReason))},dependencies:[uI,wI,yI,xI,eB,jy,Gy,Ny,LL,ML],styles:["mat-radio-group[_ngcontent-%COMP%] {display: flex; flex-direction: column; margin: 15px 0;}","mat-radio-button[_ngcontent-%COMP%] {margin: 5px}"]});var SIc=function(){this.documentationLinks=r(lI);this.data=r(sI);this.deletionReasons=this.data.deletionReasons;this.commentNumber=this.data.commentNumber;this.issueId=this.data.issueId};SIc.\u0275fac=function(a){return new (a||SIc)};
SIc.\u0275cmp=C({type:SIc,selectors:[["b-issue-delete-comment-dialog"]],standalone:!1,decls:15,vars:6,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["title","Deletion Reasons Help Link","target","_blank",1,"icon-s",3,"href"],[3,"ngModelChange","ngModel"],[3,"value","disabled"],["mat-dialog-actions",""],["type","button","mat-stroked-button","",1,"medium",3,"mat-dialog-close"],["type","button","mat-flat-button","","color","primary",1,"medium","dialog-primary-action",3,"mat-dialog-close",
"disabled"]],template:function(a,b){a&1&&(I(0,"h1",0),Q(1),J(),I(2,"div",1)(3,"label"),Q(4,"Please select the reason for deleting this comment."),J(),I(5,"a",2),Q(6," \u00a0Learn more "),J(),I(7,"mat-radio-group",3),bh("ngModelChange",function(c){ah(b.selectedReason,c)||(b.selectedReason=c);return c}),yg(8,ZXa,3,4,"mat-radio-button",4,xg),J()(),I(10,"div",5)(11,"button",6),Q(12," Cancel "),J(),I(13,"button",7),Q(14," Delete "),J()());a&2&&(B(),Zg("Delete Comment #",b.commentNumber," of Issue ",b.issueId,
""),B(4),E("href",Yqc(b.documentationLinks),vf),B(2),$g("ngModel",b.selectedReason),B(),zg(b.deletionReasons),B(5),E("mat-dialog-close",b.selectedReason)("disabled",!b.selectedReason))},dependencies:[uI,wI,yI,xI,eB,jy,Gy,Ny,LL,ML],styles:["mat-radio-group[_ngcontent-%COMP%] {display: flex; flex-direction: column; margin: 15px 0;}","mat-radio-button[_ngcontent-%COMP%] {margin: 5px}"]});var TIc=function(){this.documentationLinks=r(lI);this.activeSession=r(Bu);this.REMOVAL_URL=$Xa(this.activeSession.isInternalSession())};TIc.\u0275fac=function(a){return new (a||TIc)};
TIc.\u0275cmp=C({type:TIc,selectors:[["b-issue-flag-as-spam-dialog"]],standalone:!1,decls:19,vars:4,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["target","_blank",1,"keep-underline",3,"href"],["mat-dialog-actions",""],["type","button","mat-stroked-button","",1,"medium",3,"mat-dialog-close"],["type","button","mat-flat-button","","color","primary","cdkFocusInitial","",1,"medium","dialog-primary-action",3,"mat-dialog-close"]],template:function(a,b){a&1&&(I(0,"h1",0),Q(1,"Report spam?"),
J(),I(2,"div",1)(3,"p"),Q(4," This will remove the issue from search results, and it will be deleted after 30 days. For more information on remediating spam at scale, "),I(5,"a",2),Q(6,"see here"),J(),Q(7,". "),J(),K(8,"p"),I(9,"p"),Q(10," To delete PII or other sensitive content, "),I(11,"a",2),Q(12,"file a support request"),J(),Q(13,". "),J()(),I(14,"div",3)(15,"button",4),Q(16," Cancel "),J(),I(17,"button",5),Q(18," Report spam "),J()());a&2&&(B(5),E("href",Xqc(b.documentationLinks),vf),B(6),E("href",
b.REMOVAL_URL,vf),B(4),E("mat-dialog-close",!1),B(2),E("mat-dialog-close",!0))},dependencies:[uI,wI,yI,xI,eB,jy],encapsulation:2});var UIc=function(){this.documentationLinks=r(lI);this.indefiniteRetentionAcknowledged=!1};UIc.\u0275fac=function(a){return new (a||UIc)};
UIc.\u0275cmp=C({type:UIc,selectors:[["b-issue-indefinite-retention-dialog"]],standalone:!1,decls:28,vars:5,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["target","_blank",3,"href"],["cdkFocusInitial","",3,"change","checked"],["mat-dialog-actions",""],["type","button","mat-stroked-button","",1,"medium",3,"mat-dialog-close"],["type","button","mat-flat-button","","color","primary",1,"medium","dialog-primary-action",3,"mat-dialog-close","disabled"]],template:function(a,b){a&1&&(I(0,"h1",
0),Q(1,"Retain issue indefinitely?"),J(),I(2,"div",1)(3,"p"),Q(4," Are you sure you want to override any component retention settings, and retain this issue indefinitely? "),J(),I(5,"p")(6,"b"),Q(7,"Please note indefinite retention is not appropriate in many circumstances."),J(),K(8,"br"),Q(9," Before selecting this option, you should make sure at least one of the following is true: "),J(),I(10,"ul")(11,"li"),Q(12," There is no personal data, user data, or any other forms of sensitive data being stored in this issue. "),
J(),I(13,"li"),Q(14," You have a process in place to manually delete this issue within an approved period of time. "),J(),I(15,"li"),Q(16," Legal and Privacy have approved this non-standard retention period. "),J()(),K(17,"p"),I(18,"p")(19,"a",2),Q(20,"Learn more"),J()(),I(21,"mat-checkbox",3),M("change",function(c){return b.indefiniteRetentionAcknowledged=c.checked}),Q(22," I acknowledge "),J()(),I(23,"div",4)(24,"button",5),Q(25," Cancel "),J(),I(26,"button",6),Q(27," OK "),J()());a&2&&(B(19),E("href",
yu(),vf),B(2),E("checked",b.indefiniteRetentionAcknowledged),B(3),E("mat-dialog-close",!1),B(2),E("mat-dialog-close",!0)("disabled",!b.indefiniteRetentionAcknowledged))},dependencies:[uI,wI,yI,xI,eB,jy,RH,SH],styles:[".mat-mdc-dialog-content[_ngcontent-%COMP%] { max-height: unset; overflow: unset; }","ul[_ngcontent-%COMP%] { list-style: disc }"]});var yR=function(){Z.apply(this,arguments);this.userPreferencesManager=r(TG);this.timestamps$=this.userPreferencesManager.preferences$.pipe(z(function(a){var b;return(b=a.dismissalTimestamps)!=null?b:void 0}))};Y(yR,Z);yR.\u0275dir=Z.\u0275dir;var VIc=function(a,b){return a.timestamps$.pipe(z(function(c){return c?!!c[b]:!1}))};yR.prototype.isDismissed=function(a){return!!tp(VIc(this,a))};
yR.prototype.dismiss=function(a){var b=this;return this.timestamps$.pipe(Nf(),z(function(c){var d={};return{dismissalTimestamps:Object.assign({},c,(d[a]=new Date(Date.now()),d))}}),Yf(function(c){return b.userPreferencesManager.save(c)}),z(function(c){if(c.dismissalTimestamps&&c.dismissalTimestamps[a])return c.dismissalTimestamps[a]}))};yR.\u0275fac=function(){var a;return function(b){return(a||(a=ee(yR)))(b||yR)}}();yR.\u0275prov=n({token:yR,factory:yR.\u0275fac,providedIn:"root"});var zR=function(){Z.apply(this,arguments);this.data=r(sI);this.dialogRef=r(mI);this.dismissalService=r(yR);this.dontShowAgain=!1};Y(zR,Z);zR.\u0275dir=Z.\u0275dir;zR.prototype.confirm=function(){var a=this,b;return se(function(c){if(c.nextAddress==1){if(!a.dontShowAgain)return c.jumpTo(2);b=aYa(a.data.action);return y(c,Fe(a.dismissalService.dismiss(b)),2)}a.dialogRef.close(!0);xe(c)})};zR.\u0275fac=function(){var a;return function(b){return(a||(a=ee(zR)))(b||zR)}}();
zR.\u0275cmp=C({type:zR,selectors:[["b-share-email-confirmation-dialog"]],standalone:!1,features:[cg],decls:9,vars:2,consts:[["mat-dialog-content",""],[3,"innerHTML"],[3,"change","checked"],["mat-dialog-actions",""],["type","button","mat-button","",1,"medium",3,"click"],["type","button","mat-flat-button","","color","primary","cdkFocusInitial","",1,"medium",3,"click"]],template:function(a,b){a&1&&(I(0,"div",0),K(1,"div",1),I(2,"mat-checkbox",2),M("change",function(c){return b.dontShowAgain=c.checked}),
Q(3," Don't show this again "),J()(),I(4,"div",3)(5,"button",4),M("click",function(){return b.dialogRef.close(!1)}),Q(6," Cancel "),J(),I(7,"button",5),M("click",function(){return b.confirm()}),Q(8," Confirm "),J()());a&2&&(B(),E("innerHTML",b.data.content,uf),B(),E("checked",b.dontShowAgain))},dependencies:[yI,xI,eB,jy,RH,SH],styles:["mat-checkbox[_ngcontent-%COMP%] {\n      margin-top: 12px;\n      padding-bottom: 12px;\n    }"]});var AR=function(){};AR.\u0275fac=function(a){return new (a||AR)};AR.\u0275mod=Cf({type:AR});AR.\u0275inj=p({imports:[lC,XI,mC,bR,bz,lN,GP,BP,FN,jN]});var BR=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(BR,V);BR.prototype.getContentJudgement=function(){return W(this,im,1)};BR.prototype.setContentJudgement=function(a){return X(this,im,1,a)};var CR=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(CR,V);CR.prototype.getContentJudgement=function(){return W(this,im,1)};CR.prototype.setContentJudgement=function(a){return X(this,im,1,a)};var DR=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,DR.messageId)};Y(DR,V);DR.prototype.getIt=function(){return W(this,BR,4)};DR.prototype.setIt=function(a){return X(this,BR,4,a)};DR.messageId="b.CreateContentJudgementRequest";var WIc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(WIc,V);var ER=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,ER.messageId)};Y(ER,V);ER.prototype.getIt=function(){return W(this,WIc,2)};ER.prototype.setIt=function(a){return X(this,WIc,2,a)};ER.messageId="b.ListContentJudgementsResponse";var FR=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,FR.messageId)};Y(FR,V);FR.prototype.getIt=function(){return W(this,CR,2)};FR.prototype.setIt=function(a){return X(this,CR,2,a)};FR.messageId="b.UpdateContentJudgementRequest";var GR=function(){this.executor=r(MC)};GR.prototype.create=function(a,b,c){var d=new DR,e=d.setIt,f=new BR,h=f.setContentJudgement;a=ck(pya({resourcePath:a,severity:b,judgementReason:c,contentJudgementId:void 0}),5,2);a=ck(a,6,2);d=e.call(d,h.call(f,a));return this.executor.post({url:"action/content_judgements",body:d,responseConstructor:Op}).pipe(z(ZHa))};
GR.prototype.update=function(a){var b=ck(pya(a),5,2);b=Np(b,9);b=(new FR).setIt((new CR).setContentJudgement(b));return this.executor.post({url:"action/content_judgements/"+a.contentJudgementId,body:b,responseConstructor:Op}).pipe(z(ZHa))};GR.prototype.list=function(a){return this.executor.get({url:"action/content_judgements",options:{params:{resource_path:a}},responseConstructor:ER}).pipe(z(function(b){b=b.getIt();return lk(b,im,1,Uj()).map(qya)}))};GR.\u0275fac=function(a){return new (a||GR)};
GR.\u0275prov=n({token:GR,factory:GR.\u0275fac,providedIn:"root"});var IR=function(){var a=this;this.dialogRef=r(mI);this.documentationLinks=r(lI);this.contentJudgements=r(GR);this.activeSession=r(Bu);this.data=r(sI);this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.RestrictionSeverity=jgc;this.loaded=!1;this.minimumSeverity="RESTRICTION_SEVERITY_UNSPECIFIED";this.severity=this.data.severity;this.data.resourcePath?this.contentJudgements.list(this.data.resourcePath).subscribe(function(b){var c="RESTRICTION_SEVERITY_UNSPECIFIED";b=k(b);for(var d=b.next();!d.done;d=
b.next())d=d.value,Sj(d.judge)===a.activeSession.getUserEmail()?XIc(a,d):HR(d.severity,c)&&(c=d.severity);a.minimumSeverity=c;HR(a.minimumSeverity,a.severity)&&(a.severity=a.minimumSeverity);a.loaded=!0}):(XIc(this,this.data.contentJudgement),this.loaded=!0)};IR.prototype.canInteract=function(){return this.loaded&&(this.data.hasAclToCreate||!!this.judgement)};
var HR=function(a,b){return bYa(a)>bYa(b)},XIc=function(a,b){if(a.judgement=b)a.severity=b.severity},YIc=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.";
HR(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};IR.prototype.getContentJudgement=function(){var a;this.judgement?a=Object.assign({},this.judgement):a={contentJudgementId:void 0,resourcePath:void 0,severity:"RESTRICTION_SEVERITY_UNSPECIFIED",judgementReason:""};a.severity=this.severity;a.judgementReason="None specified";return a};
IR.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()})};IR.prototype.onNoClick=function(){this.dialogRef.close(null)};IR.\u0275fac=function(a){return new (a||IR)};
IR.\u0275cmp=C({type:IR,selectors:[["b-content-judgement-dialog"]],standalone:!1,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"],["type","button","mat-button","",1,"medium","content-judgement-dialog-cancel",3,"click"],["type","button","mat-flat-button","","color","primary","cdkFocusInitial","",1,"medium","content-judgement-dialog-confirm",3,"click","disabled"]],template:function(a,b){a&1&&(I(0,"header",0)(1,"h1"),K(2,"mat-icon",1),I(3,"div"),Q(4," Set restriction "),J()()(),I(5,"section",2)(6,"label",3),Q(7),I(8,"a",4),Q(9," Learn More "),
J()(),I(10,"mat-radio-group",5),bh("ngModelChange",function(c){ah(b.severity,c)||(b.severity=c);return c}),I(11,"mat-radio-button",6),Q(12," No restriction "),I(13,"div"),Q(14,' Users with "View issues" can access. '),J()(),I(15,"mat-radio-button",7),Q(16," Restricted "),I(17,"div"),Q(18,' Users with "View restricted content" can access. '),J()(),I(19,"mat-radio-button",8),Q(20," Restricted+ "),I(21,"div"),Q(22,' Users with "View restricted+ content" can access. '),J()()()(),I(23,"mat-dialog-actions")(24,
"button",9),M("click",function(){return b.onNoClick()}),Q(25," Cancel "),J(),I(26,"button",10),M("click",function(){return b.onSaveClick()}),Q(27," Set "),J()());a&2&&(B(7),R(" ",YIc(b)," "),B(),E("rel",b.EXTERNAL_LINK_REL),jg("href",b.documentationLinks.getRestrictedAccessHelpLink(),vf),B(2),$g("ngModel",b.severity),B(),E("value",b.RestrictionSeverity.NONE_DETECTED)("disabled",!b.canInteract()||HR(b.minimumSeverity,b.RestrictionSeverity.NONE_DETECTED)),B(4),E("value",b.RestrictionSeverity.RESTRICTED)("disabled",
!b.canInteract()||HR(b.minimumSeverity,b.RestrictionSeverity.RESTRICTED)),B(4),E("value",b.RestrictionSeverity.RESTRICTED_PLUS)("disabled",!b.canInteract()||HR(b.minimumSeverity,b.RestrictionSeverity.RESTRICTED_PLUS)),B(7),E("disabled",!b.canInteract()))},dependencies:[pB,eB,jy,wI,yI,xI,LL,ML,Gy,Ny],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 JR=function(){this.dialogRef=r(mI);this.documentationLinks=r(lI);this.data=r(sI);this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.resource=this.data.resource;this.piiRetention=this.data.piiRetention;this.acknowledgeToMatchIssueRetention=!1};JR.prototype.canInteract=function(){return!ZIc(this)||this.acknowledgeToMatchIssueRetention};var ZIc=function(a){return a.piiRetention==="INDEFINITE"};JR.prototype.onSaveClick=function(){this.dialogRef.close(1)};JR.prototype.onNoClick=function(){this.dialogRef.close(0)};
JR.\u0275fac=function(a){return new (a||JR)};
JR.\u0275cmp=C({type:JR,selectors:[["b-update-retention-dialog"]],standalone:!1,decls:19,vars:6,consts:[["mat-dialog-title",""],["svgIcon","restricted",1,"icon-m"],["mat-dialog-content",""],["target","_blank","aria-label","Learn more about component retention",3,"rel"],[3,"ngModel"],["mat-dialog-actions",""],["type","button","mat-button","",1,"medium","update-retention-dialog-cancel",3,"click"],["type","button","mat-button","","color","primary","cdkFocusInitial","",1,"dialog-primary-action","medium",
"update-retention-dialog-confirm",3,"click","disabled"],[3,"ngModelChange","ngModel"]],template:function(a,b){a&1&&(I(0,"h1",0),K(1,"mat-icon",1),I(2,"div"),D(3,cYa,2,1,"span")(4,dYa,2,0,"span"),J()(),I(5,"div",2),D(6,eYa,8,1,"span")(7,fYa,3,2,"span"),I(8,"span")(9,"a",3),Q(10," Learn More "),J()(),I(11,"div")(12,"span"),D(13,gYa,2,1,"mat-checkbox",4),J()()(),I(14,"div",5)(15,"button",6),M("click",function(){return b.onNoClick()}),Q(16," Cancel "),J(),I(17,"button",7),M("click",function(){return b.onSaveClick()}),
Q(18," Save "),J()());a&2&&(B(3),G(ZIc(b)?3:4),B(3),G(ZIc(b)?6:7),B(3),E("rel",b.EXTERNAL_LINK_REL),jg("href",yu(),vf),B(4),G(ZIc(b)?13:-1),B(4),E("disabled",!b.canInteract()))},dependencies:[pB,eB,jy,wI,yI,xI,RH,SH,Gy,Ny],styles:["h1[_ngcontent-%COMP%]{text-align:center}.mat-mdc-dialog-content[_ngcontent-%COMP%]{overflow:inherit}/*# sourceMappingURL=update_retention_dialog.css.map */"]});var KR=function(){this.activeSession=r(Bu);this.errorHandler=r(CI);this.eventsForIssueFridge=r(NE);this.issueFullFridge=r(QF);this.issueCommentsService=r(TI);this.issueInteractionsTracking=r(dJ);this.butterBar=r(fH);this.editIssueService=r(kJ);this.formattedCommentsForIssueFridge=r(RE);this.userPreferencesManager=r(TG);this.enableLiteralModeRevisions=Vt(this.activeSession,"enableLiteralModeRevisions")},$Ic=function(a,b){var c=b.issueId;var d=b.newCommentId;var e=b.newComment;var f=b.newCommentFormattingMode;
var h=b.recaptchaToken;var l,q;se(function(u){switch(u.nextAddress){case 1:l=a.editIssueService.savingState(c);if(!e.trim())return a.butterBar.showWarning("New comment cannot be empty."),u.return();kq(l,"commentEdit");jq(a.butterBar,"Saving comment edit...",0);lq(a.issueInteractionsTracking,c,{label:d===1?"description":"comment"});te(u,2,3);return y(u,a.issueCommentsService.update(c,d,e,f,h),5);case 5:jq(a.butterBar,"Comment edit successful.",4E3),a.eventsForIssueFridge.manualUpdate(c,function(A){A.events=
mxa(A.events,d,{formattedComment:void 0,unlinkifiedComment:e,formattingMode:f})}),a.issueFullFridge.poke(c),a.formattedCommentsForIssueFridge.invalidate(c+"-"+d),a.eventsForIssueFridge.poke(c),a.enableLiteralModeRevisions&&joc(a.userPreferencesManager,f).subscribe();case 3:ue(u);iJ(l,"commentEdit");ve(u,0);break;case 2:q=we(u),EI(a.errorHandler,q),u.jumpTo(3)}})};KR.\u0275fac=function(a){return new (a||KR)};KR.\u0275prov=n({token:KR,factory:KR.\u0275fac,providedIn:"root"});var aJc=function(a,b,c){this.objectId=a;this.version=b;this.payload=c},bJc=function(){},cJc=function(a){this.timestampMicros=a};var LR=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(LR,V);LR.prototype.getCode=function(){return Xj(this,1)};LR.prototype.setCode=function(a){return pk(this,1,a)};LR.prototype.getMessage=function(){return Kh(this,2)};LR.prototype.setMessage=function(a){return ak(this,2,a)};var dJc=Mh(LR);hYa.prototype.reset=function(){this.currentMaxDelayMs_=this.initialMaxDelayMs_;this.inRetryMode_=!1};var eJc=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 MR=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(MR,V);var gJc=function(){var a=new MR;return rm(a,1,fJc,Hb(!0))},hJc=function(){var a=new MR;return rm(a,2,fJc,Hb(!0))},fJc=[1,2,3,15];var rYa=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(rYa,V);var rr=[1,2,3,4,5,6,7,8,9,10,11,12];var pr=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(pr,V);pr.prototype.getPartsList=function(){return lk(this,rYa,1,Uj())};pr.prototype.addParts=function(a){return Xu(this,1,rYa,a)};var or=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(or,V);or.prototype.getName=function(){return ep(this,1,iJc)};or.prototype.setName=function(a){return em(this,1,iJc,a)};or.prototype.hasName=function(){return ep(this,1,iJc)!=null};or.prototype.getNameOrUndefined=function(){return wr(this,om(this,iJc,1))};var iJc=[1,2];var jJc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(jJc,V);g=jJc.prototype;g.setProject=function(a){X(this,or,1,a)};g.getOwner=function(){return W(this,MR,2)};g.setOwner=function(a){return X(this,MR,2,a)};g.getPath=function(){return W(this,pr,3)};g.setPath=function(a){return X(this,pr,3,a)};g.hasPath=function(){return Jk(this,pr,3)};var kJc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(kJc,V);g=kJc.prototype;g.setProject=function(a){X(this,or,1,a)};g.getOwner=function(){return W(this,MR,2)};g.setOwner=function(a){return X(this,MR,2,a)};g.getPrefix=function(){return W(this,pr,3)};g.setPrefix=function(a){X(this,pr,3,a)};var NR=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(NR,V);NR.prototype.getVersion=function(){return av(this,1)};NR.prototype.setVersion=function(a){return dl(this,1,a)};NR.prototype.getVersionOrUndefined=function(){return hv(this,1)};var OR=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(OR,V);OR.prototype.getHeader=function(){return W(this,NR,4)};OR.prototype.getPrefix=function(){return um(this,kJc,6,lJc)};OR.prototype.setPrefix=function(a){zm(this,6,lJc,a)};var lJc=[2,3,6];var mJc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(mJc,V);var nJc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(nJc,V);nJc.prototype.setAffinitization=function(a){gl(this,2,a)};nJc.prototype.getAffinitizationOrUndefined=function(){return Bt(this,2)};var oJc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(oJc,V);var pJc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(pJc,V);g=pJc.prototype;g.setStreamId=function(a){return kl(this,1,a)};g.getStreamIdOrUndefined_asString=function(){return r4b(this,1)};g.getClose=function(){return um(this,oJc,3,qJc)};g.setClose=function(a){zm(this,3,qJc,a)};g.hasClose=function(){return Jm(this,oJc,3,qJc)};g.setAffinitization=function(a){gl(this,4,a)};g.getAffinitizationOrUndefined=function(){return Bt(this,4)};var qJc=[2,3];var rJc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(rJc,V);rJc.prototype.setRequestsList=function(a){return $m(this,1,a)};rJc.prototype.addAndReturnRequests=function(){return Dc(this,1,pJc)};var sJc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(sJc,V);sJc.prototype.getChannelId=function(){return Kh(this,1)};sJc.prototype.setChannelId=function(a){return fl(this,1,a)};var tJc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(tJc,V);var PR=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(PR,V);PR.prototype.getCode=function(){return Fk(this,1,0)};PR.prototype.setCode=function(a){return gl(this,1,a)};PR.prototype.getCodeOrUndefined=function(){return Bt(this,1)};var uJc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(uJc,V);var QR=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(QR,V);QR.prototype.getVersion=function(){return Wb(Hk(this,3))};QR.prototype.setVersion=function(a){return kl(this,3,a)};QR.prototype.getVersionOrUndefined=function(){return iv(this,3)};QR.prototype.getVersionOrUndefined_asString=function(){return r4b(this,3)};var vJc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(vJc,V);var wJc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(wJc,V);var RR=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(RR,V);RR.prototype.getStart=function(){return um(this,wJc,1,SR)};RR.prototype.setStart=function(a){return zm(this,1,SR,a)};RR.prototype.getChanges=function(){return um(this,vJc,2,SR)};RR.prototype.hasChanges=function(){return Jm(this,vJc,2,SR)};var SR=[1,2,3,5];var xJc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(xJc,V);xJc.prototype.getChannelId=function(){return Kh(this,1)};xJc.prototype.setChannelId=function(a){return fl(this,1,a)};var TR=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(TR,V);TR.prototype.getStatus=function(){return W(this,Fz,1)};TR.prototype.setStatus=function(a){return X(this,Fz,1,a)};TR.prototype.hasStatus=function(){return Jk(this,Fz,1)};var yJc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(yJc,V);g=yJc.prototype;g.setStreamId=function(a){return kl(this,1,a)};g.getStreamIdOrUndefined_asString=function(){return r4b(this,1)};g.getClose=function(){return um(this,TR,3,zJc)};g.setClose=function(a){zm(this,3,zJc,a)};g.hasClose=function(){return Jm(this,TR,3,zJc)};var zJc=[2,3,4];var UR=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(UR,V);UR.prototype.getResponsesList=function(){return lk(this,yJc,1,Uj())};UR.prototype.getStatus=function(){return W(this,PR,2)};UR.prototype.setStatus=function(a){return X(this,PR,2,a)};UR.prototype.hasStatus=function(){return Jk(this,PR,2)};var AJc=function(){xF.call(this,"l")};Nu(AJc,xF);var BJc=function(){xF.call(this,"k")};Nu(BJc,xF);var CJc=function(a,b,c){this.path=a;this.authMethod=b;this.useFetchApi=c},DJc=function(a,b,c,d,e){this.channelMessageHandler=a;this.channelStatusHandler=b;this.config=c;this.channelCreator=d;this.state=0;this.channelHandler=new $r;this.channel=this.createWebChannel(e)};
DJc.prototype.createWebChannel=function(a){var b=this;a={sendRawJson:!0,messageContentType:"application/json+protobuf",httpSessionIdParam:void 0,messageUrlParams:Object.assign({},{gsessionid:a},this.config.authMethod.getQueryParameters()),useFetchStreams:this.config.useFetchApi,messageHeaders:this.config.authMethod.getHeaders(),supportsCrossDomainXhr:this.config.authMethod.usesCredentialedRequests()};a=this.channelCreator(this.config.path,a);this.channelHandler.listen(a,"i",function(){b.channelStatusHandler.onOpen()});
this.channelHandler.listen(a,"j",function(){b.channelStatusHandler.onClose((new EJc(b.channel.channel_)).getLastStatusCode());b.state=2;b.channel.removeAllListeners();b.channelHandler.removeAll()});this.channelHandler.listen(a,"l",function(c){(c=c.data)&&c.length===1&&b.channelMessageHandler(new UR(c[0]))});this.channelHandler.listen(a,"k",function(c){b.channelStatusHandler.onError(c,(new EJc(b.channel.channel_)).getLastStatusCode());c.status!==0&&(b.state=2)});return a};
DJc.prototype.open=function(){this.state===0&&(this.state=1,this.channel.open())};DJc.prototype.close=function(){this.state!==2&&this.channel.close()};DJc.prototype.send=function(a){a=a.serialize();this.channel.send(a)};var FJc,GJc=(new NR).setVersion(7);FJc=gl(GJc,2,5);var tr=function(a){this.rep=a};tr.prototype.equals=function(a){return this.rep===a.rep};var HJc=function(){var a=8;a=a===void 0?1:a;this.max=8;this.lastAddedTimestampMs=Date.now();this.tokens=a};HJc.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 sr=function(a,b){this.seconds=a;this.nanos=b},sYa=function(a){var b=new rk;b.setSeconds(a.seconds);b.setNanos(a.nanos);return b},zYa=function(a){try{var b=Number(a.getSeconds_asLegacyNumberOrString()),c=a.getNanos();if(b<-62135596800)throw Error("ve`"+b);if(253402300800<=b)throw Error("we`"+b);if(c<0)throw Error("xe`"+c);if(1E9<=c)throw Error("ye`"+c);if(!Number.isInteger(b))throw Error("ze`"+b);if(!Number.isInteger(c))throw Error("Ae`"+c);return new sr(b,c)}catch(d){return null}};
sr.prototype.equals=function(a){return this.seconds===a.seconds&&this.nanos===a.nanos};var qr=function(a,b){this.low_=a|0;this.high_=b|0},IJc=function(a){return a.high_*4294967296+(a.low_>>>0)};g=qr.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("Be`"+a);if(this.isSafeInteger()){var b=IJc(this);return a==10?""+b:b.toString(a)}b=14-(a>>2);var c=Math.pow(a,b),d=VR(c,c/4294967296);c=WR(this,d);var e=Math,f=e.abs;d=c.multiply(d);d=this.add(YR(d));e=f.call(e,IJc(d));f=a==10?""+e:e.toString(a);f.length<b&&(f="0000000000000".slice(f.length-b)+f);e=IJc(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 YR=function(a){var b=~a.low_+1|0;return VR(b,~a.high_+!b|0)};
qr.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 VR((h&65535)<<16|a&65535,((d>>>16)+(b+e)&65535)<<16|d&65535)};
qr.prototype.multiply=function(a){if(this.isZero())return this;if(a.isZero())return a;var b=this.high_>>>16,c=this.high_&65535,d=this.low_>>>16,e=this.low_&65535,f=a.high_>>>16,h=a.high_&65535,l=a.low_>>>16;a=a.low_&65535;var q=e*a;var u=(q>>>16)+d*a;var A=u>>>16;u=(u&65535)+e*l;A+=u>>>16;A+=c*a;var F=A>>>16;A=(A&65535)+d*l;F+=A>>>16;A=(A&65535)+e*h;F=F+(A>>>16)+(b*a+c*l+d*h+e*f)&65535;return VR((u&65535)<<16|q&65535,F<<16|A&65535)};
var WR=function(a,b){if(b.isZero())throw Error("Ce");if(a.high_<0){if(a.equals(JJc)){if(b.equals(KJc)||b.equals(LJc))return JJc;if(b.equals(JJc))return KJc;var c=a.high_;c=VR(a.low_>>>1|c<<31,c>>1);c=WR(c,b).shiftLeft(1);if(c.equals(ZR))return b.high_<0?KJc:LJc;var d=b.multiply(c);a=a.add(YR(d));return c.add(WR(a,b))}return b.high_<0?WR(YR(a),YR(b)):YR(WR(YR(a),b))}if(a.isZero())return ZR;if(b.high_<0)return b.equals(JJc)?ZR:YR(WR(a,YR(b)));for(c=ZR;a.compare(b)>=0;){d=Math.max(1,Math.floor(IJc(a)/
IJc(b)));var e=Math.ceil(Math.log(d)/Math.LN2);e=e<=48?1:Math.pow(2,e-48);for(var f=$R(d),h=f.multiply(b);h.high_<0||h.compare(a)>0;)d-=e,f=$R(d),h=f.multiply(b);f.isZero()&&(f=KJc);c=c.add(f);a=a.add(YR(h))}return c};qr.prototype.and=function(a){return VR(this.low_&a.low_,this.high_&a.high_)};qr.prototype.or=function(a){return VR(this.low_|a.low_,this.high_|a.high_)};qr.prototype.xor=function(a){return VR(this.low_^a.low_,this.high_^a.high_)};
qr.prototype.shiftLeft=function(a){a&=63;if(a==0)return this;var b=this.low_;return a<32?VR(b<<a,this.high_<<a|b>>>32-a):VR(0,b<<a-32)};
var $R=function(a){return a>0?a>=0x7fffffffffffffff?MJc:new qr(a,a/4294967296):a<0?a<=-0x7fffffffffffffff?JJc:YR(new qr(-a,-a/4294967296)):ZR},VR=function(a,b){return new qr(a,b)},vr=function(a,b){if(a.charAt(0)=="-")return YR(vr(a.substring(1),b));var c=parseInt(a,b||10);if(c<=9007199254740991)return new qr(c%4294967296|0,c/4294967296|0);if(a.length==0)throw Error("De");if(a.indexOf("-")>=0)throw Error("Ee`"+a);b=b||10;if(b<2||36<b)throw Error("Be`"+b);c=$R(Math.pow(b,8));for(var d=ZR,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},ZR=VR(0,0),KJc=VR(1,0),LJc=VR(-1,-1),MJc=VR(4294967295,2147483647),JJc=VR(0,2147483648);var jr=function(a,b){this.value=a;this.isDecreasing=!!b};
jr.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 qr)b=a.value instanceof qr?this.value.equals(a.value):!1;else if(this.value instanceof tr)b=a.value instanceof tr?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 sr?a.value instanceof sr?this.value.equals(a.value):!1:!1;return b};var ur=function(a,b){this.parts=a;this.isPrivate=b},uYa=function(){for(var a=[],b=k(vd.apply(0,arguments)),c=b.next();!c.done;c=b.next())c=c.value,c instanceof jr?a.push(c):a.push(new jr(c));return new ur(a,!1)};
ur.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 NJc=function(){},lYa=function(a,b){this.apiKey=a;this.authUser=b};g=lYa.prototype;g.getHeaders=function(){var a={},b;(b=OPa([]))?(b=b.split(" "),b={scheme:b[0],hash:b[1]}):b=null;b!=null&&(a.Authorization=b.scheme+" "+b.hash,a["X-Goog-AuthUser"]=String(this.authUser||0));return a};g.getQueryParameters=function(){return{key:this.apiKey}};g.domainType=function(){return 0};g.usesCredentialedRequests=function(){return!0};g.getAuthUser=function(){return this.authUser};
var jYa=function(a){this.oauthTokens=a};g=jYa.prototype;g.getHeaders=function(){var a={};a.Authorization="OAuth "+this.oauthTokens.getValue();return a};g.getQueryParameters=function(){return{}};g.domainType=function(){return 1};g.usesCredentialedRequests=function(){return!0};g.getAuthUser=function(){};var kYa=function(a,b){this.apiKey=a;this.appAuthTokens=b};g=kYa.prototype;g.getHeaders=function(){return{}};g.getQueryParameters=function(){return{key:this.apiKey}};g.domainType=function(){return 1};
g.usesCredentialedRequests=function(){return!1};g.getAuthUser=function(){};var OJc=function(a,b,c){var d=Error.call(this,b);this.message=d.message;"stack"in d&&(this.stack=d.stack);this.code=a;this.message=b;this.status=c;Object.setPrototypeOf(this,OJc.prototype);this.name="XhrError"};Y(OJc,Error);var PJc=function(a,b){b=b===void 0?oYa():b;this.baseUri=a;this.xhrIo=b};PJc.prototype.post=function(a,b,c,d){d=d===void 0?{}:d;return this.request("POST",a,b,c,d)};
PJc.prototype.request=function(a,b,c,d,e){var f=this,h=new Oq(this.baseUri);h.setPath(b);if(e.queryParams){b=k(Object.entries(e.queryParams));for(var l=b.next();!l.done;l=b.next()){var q=k(l.value);l=q.next().value;q=q.next().value;wJ(h,l,q)}}var u={"Content-type":"application/json+protobuf"};Object.assign(u,e.extraHeaders);var A=c.serialize();return new Promise(function(F,H){var N;f.xhrIo.send(h,function(){var O=this.getStatus()===-1?void 0:this.getStatus();if(this.isSuccess())try{F(rna(d,this.getResponseText()))}catch(T){H(new OJc(4,
"Failed to deserialize response from "+h+": "+this.getResponseText(),O))}else H(new OJc(this.getLastErrorCode(),this.getLastError(),O))},a,A,u,(N=e.timeoutMs)!=null?N:2E4,e.withCredentials)})};var QJc=function(a,b,c){iF.call(this);this.listener_=c!=null?a.bind(c):a;this.interval_=b;this.args_=null;this.shouldFire_=!1;this.pauseCount_=0;this.timer_=null};Y(QJc,iF);g=QJc.prototype;g.fire=function(a){this.args_=arguments;this.timer_||this.pauseCount_?this.shouldFire_=!0:this.doAction_()};g.stop=function(){this.timer_&&(nr(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(){iF.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_=mr(function(){return a.onTimer_()},this.interval_);var b=this.args_;this.args_=null;this.listener_.apply(null,b)};var RJc=null,SJc=function(){return RJc=RJc||new Jq},TJc=function(a){xF.call(this,"serverreachability",a)};Nu(TJc,xF);var UJc=function(a){var b=SJc();b.dispatchEvent(new TJc(b,a))},VJc=function(a,b){xF.call(this,"statevent",a);this.stat=b};Nu(VJc,xF);var aS=function(a){var b=SJc();b.dispatchEvent(new VJc(b,a))},WJc=function(a,b,c){xF.call(this,"timingevent",a);this.size=b;this.rtt=c};Nu(WJc,xF);
var XJc=function(a,b,c){var d=SJc();d.dispatchEvent(new WJc(d,a,b,c))},YJc=function(a,b){if(typeof a!=="function")throw Error("Ge");return ya.setTimeout(function(){a()},b)};var bS=function(){this.redactEnabled_=!0};bS.prototype.disableRedact=function(){this.redactEnabled_=!1};
var ZJc=function(a,b,c,d,e,f){a.info(function(){if(a.redactEnabled_)if(f){var h="";for(var l=f.split("&"),q=0;q<l.length;q++){var u=l[q].split("=");if(u.length>1){var A=u[0];u=u[1];var F=A.split("_");h=F.length>=2&&F[1]=="type"?h+(A+"="+u+"&"):h+(A+"=redacted&")}}}else h=null;else h=f;return"XMLHTTP REQ ("+d+") [attempt "+e+"]: "+b+"\n"+c+"\n"+h})},$Jc=function(a,b,c,d,e,f,h){a.info(function(){return"XMLHTTP RESP ("+d+") [ attempt "+e+"]: "+b+"\n"+c+"\n"+f+" "+h})},cS=function(a,b,c,d){a.info(function(){return"XMLHTTP TEXT ("+
b+"): "+aKc(a,c)+(d?" "+d:"")})},bKc=function(a,b){a.info(function(){return"TIMEOUT: "+b})};bS.prototype.debug=function(){};bS.prototype.info=function(){};bS.prototype.warning=function(){};
var aKc=function(a,b){if(!a.redactEnabled_)return b;if(!b)return null;try{var c=JSON.parse(b);if(c)for(var d=0;d<c.length;d++)if(Array.isArray(c[d])){var e=c[d];if(!(e.length<2)){var f=e[1];if(Array.isArray(f)&&!(f.length<1)){var h=f[0];if(h!="noop"&&h!="stop"&&h!="close")for(var l=1;l<f.length;l++)f[l]=""}}}return(new pBc).serialize(c)}catch(q){return a.debug("Exception parsing expected JS array - probably was not JS"),b}};var dS=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 $r(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 cKc},cKc=function(){this.textDecoder=null;this.responseBuffer="";this.responseArrivedForFetch=!1},dKc=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"}},eKc={},fKc={};
dS.prototype.setExtraHeaders=function(a){this.extraHeaders_=a};dS.prototype.setTimeout=function(a){this.timeout_=a};dS.prototype.setReadyStateChangeThrottle=function(a){this.readyStateChangeThrottleMs_=a};dS.prototype.getPendingMessages=function(){return this.pendingMessages_};
var hKc=function(a,b,c){a.type_=1;a.baseUri_=ttc(b.clone());a.postData_=c;a.decodeChunks_=!0;gKc(a,null)},gKc=function(a,b){a.requestStartTime_=Date.now();iKc(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 cKc;a.xmlHttp_=jKc(a.channel_,c?b:null,!a.postData_);a.readyStateChangeThrottleMs_>0&&(a.readyStateChangeThrottle_=new QJc(Lu(a.xmlHttpHandler_,
a,a.xmlHttp_),a.readyStateChangeThrottleMs_));a.eventHandler_.listen(a.xmlHttp_,"readystatechange",a.readyStateChangeHandler_);b=a.extraHeaders_?Jc(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));UJc(1);ZJc(a.channelDebug_,a.verb_,a.requestUri_,a.rid_,a.retryId_,a.postData_)};
dS.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)};dS.prototype.xmlHttpHandler_=function(a){try{a==this.xmlHttp_?kKc(this):this.channelDebug_.warning("Called back with an unexpected xmlhttp")}catch(b){this.channelDebug_.debug("Failed call to OnXmlHttpReadyStateChanged_"),lKc(this)}finally{}};
var kKc=function(a){var b=a.xmlHttp_.getReadyState(),c=a.xmlHttp_.getLastErrorCode(),d=a.xmlHttp_.getStatus();if(!(b<3||b==3&&!lKc(a))){a.cancelled_||b!=4||c==7||(c==8||d<=0?UJc(3):UJc(2));mKc(a);var e=a.xmlHttp_.getStatus();a.lastStatusCode_=e;c=nKc(a);lKc(a)||a.channelDebug_.debug(function(){return"No response text for uri "+a.requestUri_+" status "+e});a.successful_=e==200;$Jc(a.channelDebug_,a.verb_,a.requestUri_,a.rid_,a.retryId_,b,e);if(a.successful_){if(a.decodeInitialResponse_&&!a.initialResponseDecoded_)if(d=
oKc(a))cS(a.channelDebug_,a.rid_,d,"Initial handshake response via X-HTTP-Initial-Response"),a.initialResponseDecoded_=!0,pKc(a,d);else{a.successful_=!1;a.lastError_=3;aS(12);a.channelDebug_.warning("XMLHTTP Missing X_HTTP_INITIAL_RESPONSE ("+a.rid_+")");eS(a);qKc(a);return}a.decodeChunks_?rKc(a,b,c):(cS(a.channelDebug_,a.rid_,c,null),pKc(a,c));b==4&&eS(a);a.successful_&&!a.cancelled_&&(b==4?sKc(a.channel_,a):(a.successful_=!1,iKc(a)))}else a.xmlHttp_.getResponseHeaders(),e==400&&c.indexOf("Unknown SID")>
0?(a.lastError_=3,aS(12),a.channelDebug_.warning("XMLHTTP Unknown SID ("+a.rid_+")")):(a.lastError_=0,aS(13),a.channelDebug_.warning("XMLHTTP Bad status "+e+" ("+a.rid_+")")),eS(a),qKc(a)}},oKc=function(a){return a.xmlHttp_&&(a=Gr(a.xmlHttp_,"X-HTTP-Initial-Response"))&&!St(a)?a:null},nKc=function(a){if(!tKc(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 eS(a),qKc(a),"";a.fetchResponseState_.textDecoder=new ya.TextDecoder}for(var f=0;f<d;f++)a.fetchResponseState_.responseArrivedForFetch=!0,c+=a.fetchResponseState_.textDecoder.decode(b[f],{stream:!(e&&f==d-1)});b.length=0;a.fetchResponseState_.responseBuffer+=c;a.xmlHttpChunkStart_=0;return a.fetchResponseState_.responseBuffer},lKc=function(a){return a.xmlHttp_?a.fetchResponseState_.responseArrivedForFetch?!0:!(!a.xmlHttp_.getResponseText()&&!a.xmlHttp_.getResponse()):!1},tKc=function(a){return a.xmlHttp_?
a.verb_=="GET"&&a.type_!=2&&a.channel_.usesFetchStreams_:!1},rKc=function(a,b,c){for(var d=!0,e;!a.cancelled_&&a.xmlHttpChunkStart_<c.length;)if(e=uKc(a,c),e==fKc){b==4&&(a.lastError_=4,aS(14),d=!1);cS(a.channelDebug_,a.rid_,null,"[Incomplete Response]");break}else if(e==eKc){a.lastError_=4;aS(15);cS(a.channelDebug_,a.rid_,c,"[Invalid Chunk]");d=!1;break}else cS(a.channelDebug_,a.rid_,e,null),pKc(a,e);tKc(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,aS(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),vKc(b),b.bpDetectionDone_=!0,aS(11))):(cS(a.channelDebug_,a.rid_,c,"[Invalid Chunked Response]"),eS(a),qKc(a))},uKc=function(a,
b){var c=a.xmlHttpChunkStart_,d=b.indexOf("\n",c);if(d==-1)return fKc;c=Number(b.substring(c,d));if(isNaN(c))return eKc;d+=1;if(d+c>b.length)return fKc;b=b.slice(d,d+c);a.xmlHttpChunkStart_=d+c;return b};dS.prototype.cancel=function(){this.cancelled_=!0;eS(this)};
var iKc=function(a){a.watchDogTimeoutTime_=Date.now()+a.timeout_;wKc(a,a.timeout_)},wKc=function(a,b){if(a.watchDogTimerId_!=null)throw Error("He");a.watchDogTimerId_=YJc(Lu(a.onWatchDogTimeout_,a),b)},mKc=function(a){a.watchDogTimerId_&&(ya.clearTimeout(a.watchDogTimerId_),a.watchDogTimerId_=null)};
dS.prototype.onWatchDogTimeout_=function(){this.watchDogTimerId_=null;var a=Date.now();a-this.watchDogTimeoutTime_>=0?(bKc(this.channelDebug_,this.requestUri_),this.type_!=2&&(UJc(3),aS(17)),eS(this),this.lastError_=2,qKc(this)):(this.channelDebug_.warning("WatchDog timer called too early"),wKc(this,this.watchDogTimeoutTime_-a))};
var qKc=function(a){a.channel_.isClosed()||a.cancelled_||sKc(a.channel_,a)},eS=function(a){mKc(a);Wo(a.readyStateChangeThrottle_);a.readyStateChangeThrottle_=null;a.eventHandler_.removeAll();if(a.xmlHttp_){var b=a.xmlHttp_;a.xmlHttp_=null;b.abort();b.dispose()}};dS.prototype.getLastError=function(){return this.lastError_};dS.prototype.getLastStatusCode=function(){return this.lastStatusCode_};dS.prototype.getRequestId=function(){return this.rid_};dS.prototype.getXhr=function(){return this.xmlHttp_};
var pKc=function(a,b){try{var c=a.channel_;if(c.state_!=0&&(c.backChannelRequest_==a||xKc(c.forwardChannelRequestPool_,a)))if(!a.initialResponseDecoded_&&xKc(c.forwardChannelRequestPool_,a)&&c.state_==3){try{var d=c.wireCodec_.parser_.parse(b)}catch(oa){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_)yKc(c),zKc(c);else break a;else c.channelDebug_.warning("We do not have a BackChannel established");AKc(c);aS(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_=YJc(Lu(c.onBackChannelDead_,c),6E3))}}if(BKc(c.forwardChannelRequestPool_)<=
1&&c.forwardChannelFlushedCallback_){try{c.forwardChannelFlushedCallback_()}catch(oa){}c.forwardChannelFlushedCallback_=void 0}}else c.channelDebug_.debug("Bad POST response data returned"),fS(c,11)}else if((a.initialResponseDecoded_||c.backChannelRequest_==a)&&yKc(c),!St(b))for(e=c.wireCodec_.parser_.parse(b),f=0;f<e.length;f++){var l=e[f];c.lastArrayId_=l[0];l=l[1];if(c.state_==2)if(l[0]=="c"){c.sid_=l[1];c.hostPrefix_=c.correctHostPrefix(l[2]);var q=l[3];q!=null&&(c.channelVersion_=q,c.channelDebug_.info("VER="+
c.channelVersion_));var u=l[4];u!=null&&(c.serverVersion_=u,c.channelDebug_.info("SVER="+c.serverVersion_));var A=l[5];A!=null&&typeof A==="number"&&A>0&&(h=1.5*A,c.backChannelRequestTimeoutMs_=h,c.channelDebug_.info("backChannelRequestTimeoutMs_="+h));h=c;var F=a.getXhr();if(F){var H=Gr(F,"X-Client-Wire-Protocol");if(H){var N=h.forwardChannelRequestPool_;b=H;!N.requestPool_&&(Da(b,"spdy")||Da(b,"quic")||Da(b,"h2"))&&(N.maxSize_=N.maxPoolSizeConfigured_,N.requestPool_=new Set,N.request_&&(N.addRequest(N.request_),
N.request_=null))}if(h.httpSessionIdParam_){var O=Gr(F,"X-HTTP-Session-Id");O?(h.httpSessionId_=O,wJ(h.forwardChannelUri_,h.httpSessionIdParam_,O)):h.channelDebug_.warning("Missing X_HTTP_SESSION_ID in the handshake response")}}c.state_=3;c.handler_&&c.handler_.channelOpened();c.detectBufferingProxy_&&(c.handshakeRttMs_=Date.now()-a.requestStartTime_,c.channelDebug_.info("Handshake RTT: "+c.handshakeRttMs_+"ms"));h=c;b=a;var T=d=h,ea=CKc(T,T.supportsCrossDomainXhrs_?h.hostPrefix_:null,h.path_);T.channelDebug_.debug("GetBackChannelUri: "+
ea);d.backChannelUri_=ea;if(b.initialResponseDecoded_){h.channelDebug_.debug("Upgrade the handshake request to a backchannel.");DKc(h.forwardChannelRequestPool_,b);d=b;var ka=h.backChannelRequestTimeoutMs_;ka&&d.setTimeout(ka);d.watchDogTimerId_&&(mKc(d),iKc(d));h.backChannelRequest_=b}else EKc(h);c.outgoingMaps_.length>0&&FKc(c)}else l[0]!="stop"&&l[0]!="close"||fS(c,7);else c.state_==3&&(l[0]=="stop"||l[0]=="close"?l[0]=="stop"?fS(c,7):c.disconnect():l[0]!="noop"&&c.handler_&&c.handler_.channelHandleArray(l),
c.backChannelRetryCount_=0)}UJc(4)}catch(oa){}};var GKc=function(a,b){this.mapId=a;this.map=b;this.context=null};var HKc=function(a){this.maxPoolSizeConfigured_=a||10;ya.PerformanceNavigationTiming?(a=ya.performance.getEntriesByType("navigation"),a=a.length>0&&(a[0].nextHopProtocol=="hq"||a[0].nextHopProtocol=="h2")):a=!!(ya.chrome&&ya.chrome.loadTimes&&ya.chrome.loadTimes()&&ya.chrome.loadTimes().wasFetchedViaSpdy);this.maxSize_=a?this.maxPoolSizeConfigured_:1;this.requestPool_=null;this.maxSize_>1&&(this.requestPool_=new Set);this.request_=null;this.pendingMessages_=[]},IKc=function(a){return a.request_?!0:
a.requestPool_?a.requestPool_.size>=a.maxSize_:!1},BKc=function(a){return a.request_?1:a.requestPool_?a.requestPool_.size:0},xKc=function(a,b){return a.request_?a.request_==b:a.requestPool_?a.requestPool_.has(b):!1};HKc.prototype.addRequest=function(a){this.requestPool_?this.requestPool_.add(a):this.request_=a};var DKc=function(a,b){a.request_&&a.request_==b?a.request_=null:a.requestPool_&&a.requestPool_.has(b)&&a.requestPool_.delete(b)};
HKc.prototype.cancel=function(){this.pendingMessages_=this.getPendingMessages();if(this.request_)this.request_.cancel(),this.request_=null;else if(this.requestPool_&&this.requestPool_.size!==0){for(var a=k(this.requestPool_.values()),b=a.next();!b.done;b=a.next())b.value.cancel();this.requestPool_.clear()}};
HKc.prototype.getPendingMessages=function(){if(this.request_!=null)return this.pendingMessages_.concat(this.request_.getPendingMessages());if(this.requestPool_!=null&&this.requestPool_.size!==0){for(var a=this.pendingMessages_,b=k(this.requestPool_.values()),c=b.next();!c.done;c=b.next())a=a.concat(c.value.getPendingMessages());return a}return Wa(this.pendingMessages_)};var JKc=function(a,b){a.pendingMessages_=a.pendingMessages_.concat(b)};var KKc=function(a,b){var c=new bS;c.debug("TestLoadImage: loading "+a);if(ya.Image){var d=new Image;d.onload=Mu(gS,c,"TestLoadImage: loaded",!0,b,d);d.onerror=Mu(gS,c,"TestLoadImage: error",!1,b,d);d.onabort=Mu(gS,c,"TestLoadImage: abort",!1,b,d);d.ontimeout=Mu(gS,c,"TestLoadImage: timeout",!1,b,d);ya.setTimeout(function(){if(d.ontimeout)d.ontimeout()},1E4);d.src=a}else b(!1)},LKc=function(a,b){var c=new bS,d=new AbortController,e=setTimeout(function(){d.abort();gS(c,"TestPingServer: timeout",!1,
b)},1E4);fetch(a,{signal:d.signal}).then(function(f){clearTimeout(e);f.ok?gS(c,"TestPingServer: ok",!0,b):gS(c,"TestPingServer: server error",!1,b)}).catch(function(){clearTimeout(e);gS(c,"TestPingServer: error",!1,b)})},gS=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 MKc=function(){this.replacer_=void 0};MKc.prototype.stringify=function(a){return ya.JSON.stringify(a,this.replacer_)};MKc.prototype.parse=function(a){return ya.JSON.parse(a,void 0)};var NKc=function(){this.parser_=new MKc},OKc=function(a,b,c){var d=c||"";try{atc(a,function(e,f){var h=e;Ya(e)&&(h=(new pBc).serialize(e));b.push(d+f+"="+encodeURIComponent(h))})}catch(e){throw b.push(d+"type="+encodeURIComponent("_badmap")),e;}};var hS=function(a){this.worker_=a.worker||null;this.streamBinaryChunks_=a.streamBinaryChunks||!1;this.cacheMode_=this.credentialsMode_=void 0};Nu(hS,kGc);hS.prototype.createInstance=function(){var a=new iS(this.worker_,this.streamBinaryChunks_);this.credentialsMode_&&a.setCredentialsMode(this.credentialsMode_);this.cacheMode_&&a.setCacheMode(this.cacheMode_);return a};hS.prototype.setCredentialsMode=function(a){this.credentialsMode_=a};hS.prototype.setCacheMode=function(a){this.cacheMode_=a};
var iS=function(a,b){Jq.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};Nu(iS,Jq);
iS.prototype.open=function(a,b){if(this.readyState!=0)throw this.abort(),Error("Ie");this.method_=a;this.url_=b;this.readyState=1;PKc(this)};iS.prototype.send=function(a){if(this.readyState!=1)throw this.abort(),Error("Je");this.inProgress_=!0;var b={headers:this.requestHeaders_,method:this.method_,credentials:this.credentialsMode_,cache:this.cacheMode_};a&&(b.body=a);(this.worker_||ya).fetch(new Request(this.url_,b)).then(this.handleResponse_.bind(this),this.handleSendFailure_.bind(this))};
iS.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,QKc(this));this.readyState=0};
iS.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,PKc(this)),this.inProgress_&&(this.readyState=3,PKc(this),this.inProgress_)))if(this.responseType==="arraybuffer")a.arrayBuffer().then(this.handleResponseArrayBuffer_.bind(this),this.handleSendFailure_.bind(this));else if(typeof ya.ReadableStream!=="undefined"&&
"body"in a){this.currentReader_=a.body.getReader();if(this.streamBinaryChunks_){if(this.responseType)throw Error("Ke");this.response=[]}else this.response=this.responseText="",this.textDecoder_=new TextDecoder;RKc(this)}else a.text().then(this.handleResponseText_.bind(this),this.handleSendFailure_.bind(this))};var RKc=function(a){a.currentReader_.read().then(a.handleDataFromStream_.bind(a)).catch(a.handleSendFailure_.bind(a))};
iS.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?QKc(this):PKc(this);this.readyState==3&&RKc(this)}};iS.prototype.handleResponseText_=function(a){this.inProgress_&&(this.response=this.responseText=a,QKc(this))};
iS.prototype.handleResponseArrayBuffer_=function(a){this.inProgress_&&(this.response=a,QKc(this))};iS.prototype.handleSendFailure_=function(){this.inProgress_&&QKc(this)};var QKc=function(a){a.readyState=4;a.fetchResponse_=null;a.currentReader_=null;a.textDecoder_=null;PKc(a)};g=iS.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 PKc=function(a){a.onreadystatechange&&a.onreadystatechange.call(a)};
Object.defineProperty(iS.prototype,"withCredentials",{get:function(){return this.credentialsMode_==="include"},set:function(a){this.setCredentialsMode(a?"include":"same-origin")}});var SKc=function(a,b,c){return c&&c.internalChannelParams?c.internalChannelParams[a]||b:b},jS=function(a){this.clientVersion_=22;this.serverVersion_=0;this.outgoingMaps_=[];this.channelDebug_=new bS;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_=SKc("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_=SKc("baseRetryDelayMs",5E3,a);this.retryDelaySeedMs_=SKc("retryDelaySeedMs",1E4,a);this.forwardChannelMaxRetries_=SKc("forwardChannelMaxRetries",2,a);this.forwardChannelRequestTimeoutMs_=
SKc("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 HKc(a&&a.concurrentRequestLimit);this.wireCodec_=new NKc;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};jS.prototype.channelVersion_=8;jS.prototype.state_=1;
jS.prototype.connect=function(a,b,c,d){this.channelDebug_.debug("connect()");aS(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=CKc(this,null,this.path_);this.channelDebug_.debug("GetForwardChannelUri: "+a);this.forwardChannelUri_=a;FKc(this)};
jS.prototype.disconnect=function(){this.channelDebug_.debug("disconnect()");TKc(this);if(this.state_==3){var a=this.nextRid_++,b=this.forwardChannelUri_.clone();wJ(b,"SID",this.sid_);wJ(b,"RID",a);wJ(b,"TYPE","terminate");UKc(this,b);a=new dS(this,this.channelDebug_,this.sid_,a);a.type_=2;a.baseUri_=ttc(b.clone());b=!1;if(ya.navigator&&ya.navigator.sendBeacon)try{b=ya.navigator.sendBeacon(a.baseUri_.toString(),"")}catch(c){}!b&&ya.Image&&((new Image).src=a.baseUri_,b=!0);b||(a.xmlHttp_=jKc(a.channel_,
null),a.xmlHttp_.send(a.baseUri_));a.requestStartTime_=Date.now();iKc(a)}VKc(this)};var zKc=function(a){a.backChannelRequest_&&(vKc(a),a.backChannelRequest_.cancel(),a.backChannelRequest_=null)},TKc=function(a){zKc(a);a.backChannelTimerId_&&(ya.clearTimeout(a.backChannelTimerId_),a.backChannelTimerId_=null);yKc(a);a.forwardChannelRequestPool_.cancel();a.forwardChannelTimerId_&&(typeof a.forwardChannelTimerId_==="number"&&ya.clearTimeout(a.forwardChannelTimerId_),a.forwardChannelTimerId_=null)};
g=jS.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 FKc=function(a){IKc(a.forwardChannelRequestPool_)||a.forwardChannelTimerId_||(a.forwardChannelTimerId_=!0,Tz(a.onStartForwardChannelTimer_,a),a.forwardChannelRetryCount_=0)},XKc=function(a,b){if(BKc(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_=YJc(Lu(a.onStartForwardChannelTimer_,a,b),WKc(a,a.forwardChannelRetryCount_));a.forwardChannelRetryCount_++;return!0};
jS.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 dS(this,this.channelDebug_,"",a),c=this.extraHeaders_;this.initHeaders_&&(c?(c=Jc(c),qea(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=YKc(this,b,d);e=this.forwardChannelUri_.clone();wJ(e,"RID",a);this.clientVersion_>0&&wJ(e,"CVER",this.clientVersion_);this.httpSessionIdParam_&&
wJ(e,"X-HTTP-Session-Id",this.httpSessionIdParam_);UKc(this,e);c&&(this.encodeInitMessageHeaders_?d="headers="+encodeURIComponent(String(wtc(c)))+"&"+d:this.httpHeadersOverwriteParam_&&xtc(e,this.httpHeadersOverwriteParam_,c));this.forwardChannelRequestPool_.addRequest(b);this.blockingHandshake_&&wJ(e,"TYPE","init");this.fastHandshake_?(wJ(e,"$req",d),wJ(e,"SID","null"),b.decodeInitialResponse_=!0,hKc(b,e,null)):hKc(b,e,d);this.state_=2}}else this.state_==3&&(a?ZKc(this,a):this.outgoingMaps_.length==
0?this.channelDebug_.debug("startForwardChannel_ returned: nothing to send"):IKc(this.forwardChannelRequestPool_)||(ZKc(this),this.channelDebug_.debug("startForwardChannel_ finished, sent request")))};
var ZKc=function(a,b){var c;b?c=b.getRequestId():c=a.nextRid_++;var d=a.forwardChannelUri_.clone();wJ(d,"SID",a.sid_);wJ(d,"RID",c);wJ(d,"AID",a.lastArrayId_);UKc(a,d);a.httpHeadersOverwriteParam_&&a.extraHeaders_&&xtc(d,a.httpHeadersOverwriteParam_,a.extraHeaders_);c=new dS(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=YKc(a,c,1E3);c.setTimeout(Math.round(a.forwardChannelRequestTimeoutMs_*
.5)+Math.round(a.forwardChannelRequestTimeoutMs_*.5*Math.random()));a.forwardChannelRequestPool_.addRequest(c);hKc(c,d,b)},UKc=function(a,b){a.extraParams_&&Fc(a.extraParams_,function(c,d){wJ(b,d,c)});a.handler_&&atc({},function(c,d){wJ(b,d,c)})},YKc=function(a,b,c){c=Math.min(a.outgoingMaps_.length,c);var d=a.handler_?Lu(a.handler_.badMapError,a.handler_,a):null;a:{for(var e=a.outgoingMaps_,f=-1;;){var h=["count="+c];f==-1?c>0?(f=e[0].mapId,h.push("ofs="+f)):f=0:h.push("ofs="+f);for(var l=!0,q=0;q<
c;q++){var u=e[q].mapId,A=e[q].map;u-=f;if(u<0)f=Math.max(0,e[q].mapId-100),l=!1;else try{OKc(A,h,"req"+u+"_")}catch(F){d&&d(A)}}if(l){d=h.join("&");break a}}d=void 0}a=a.outgoingMaps_.splice(0,c);b.pendingMessages_=a;return d},EKc=function(a){a.backChannelRequest_||a.backChannelTimerId_||(a.backChannelAttemptId_=1,Tz(a.onStartBackChannelTimer_,a),a.backChannelRetryCount_=0)},AKc=function(a){if(a.backChannelRequest_||a.backChannelTimerId_||a.backChannelRetryCount_>=3)return!1;a.channelDebug_.debug("Going to retry GET");
a.backChannelAttemptId_++;a.backChannelTimerId_=YJc(Lu(a.onStartBackChannelTimer_,a),WKc(a,a.backChannelRetryCount_));a.backChannelRetryCount_++;return!0};
jS.prototype.onStartBackChannelTimer_=function(){this.backChannelTimerId_=null;$Kc(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_=YJc(Lu(this.onBpDetectionTimer_,this),a)}};
jS.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;aS(10);zKc(this);$Kc(this)}else this.channelDebug_.warning("Invalid operation.")};
var vKc=function(a){a.bpDetectionTimerId_!=null&&(a.channelDebug_.debug("Cancel the BP detection timer."),ya.clearTimeout(a.bpDetectionTimerId_),a.bpDetectionTimerId_=null)},$Kc=function(a){a.channelDebug_.debug("Creating new HttpRequest");a.backChannelRequest_=new dS(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();wJ(b,"RID","rpc");wJ(b,"SID",a.sid_);wJ(b,"AID",a.lastArrayId_);wJ(b,"CI",a.enableStreaming_?"0":"1");!a.enableStreaming_&&a.longPollingTimeout_&&wJ(b,"TO",a.longPollingTimeout_);wJ(b,"TYPE","xmlhttp");UKc(a,b);a.httpHeadersOverwriteParam_&&a.extraHeaders_&&xtc(b,a.httpHeadersOverwriteParam_,a.extraHeaders_);a.backChannelRequestTimeoutMs_&&a.backChannelRequest_.setTimeout(a.backChannelRequestTimeoutMs_);var c=a.backChannelRequest_,d=a.hostPrefix_;c.type_=1;c.baseUri_=ttc(b.clone());
c.postData_=null;c.decodeChunks_=!0;gKc(c,d);a.channelDebug_.debug("New Request created")};jS.prototype.correctHostPrefix=function(a){return this.handler_?this.handler_.correctHostPrefix(a):a};jS.prototype.onBackChannelDead_=function(){this.deadBackChannelTimerId_!=null&&(this.deadBackChannelTimerId_=null,zKc(this),AKc(this),aS(19))};
var yKc=function(a){a.deadBackChannelTimerId_!=null&&(ya.clearTimeout(a.deadBackChannelTimerId_),a.deadBackChannelTimerId_=null)},sKc=function(a,b){a.channelDebug_.debug("Request complete");var c=null;if(a.backChannelRequest_==b){yKc(a);vKc(a);a.backChannelRequest_=null;var d=2}else if(xKc(a.forwardChannelRequestPool_,b))c=b.getPendingMessages(),DKc(a.forwardChannelRequestPool_,b),d=1;else return;if(a.state_!=0)if(b.successful_)d==1?(XJc(b.postData_?b.postData_.length:0,Date.now()-b.requestStartTime_,
a.forwardChannelRetryCount_),FKc(a)):EKc(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: "+dKc(f,a.errorResponseStatusCode_)});if(d==1&&XKc(a,b)||d==2&&AKc(a))return;a.channelDebug_.debug("Exceeded max number of retries")}c&&c.length>0&&JKc(a.forwardChannelRequestPool_,c);a.channelDebug_.debug("Error: HTTP request failed");
switch(f){case 1:fS(a,5);break;case 4:fS(a,10);break;case 3:fS(a,6);break;default:fS(a,2)}}},WKc=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},fS=function(a,b){a.channelDebug_.info("Error code "+b);if(b==2){var c=Lu(a.testNetworkCallback_,a),d=a.networkTestUrl_,e=!d;d=new Oq(d||"//www.google.com/images/cleardot.gif");ya.location&&ya.location.protocol=="http"||sJ(d,"https");ttc(d);e?KKc(d.toString(),
c):LKc(d.toString(),c)}else aS(2);a.onError_(b)};jS.prototype.testNetworkCallback_=function(a){a?(this.channelDebug_.info("Successfully pinged google.com"),aS(2)):(this.channelDebug_.info("Failed to ping google.com"),aS(1))};jS.prototype.onError_=function(a){this.channelDebug_.debug("HttpChannel: error - "+a);this.state_=0;this.handler_&&this.handler_.channelError(a);VKc(this);TKc(this)};
var VKc=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}),Gba(a.nonAckedMapsAtChannelClose_,b),Gba(a.nonAckedMapsAtChannelClose_,a.outgoingMaps_),a.forwardChannelRequestPool_.pendingMessages_.length=0,Wa(a.outgoingMaps_),a.outgoingMaps_.length=0;a.handler_.channelClosed()}},
CKc=function(a,b,c){var d=yJ(c);d.getDomain()!=""?(b&&tJ(d,b+"."+d.getDomain()),d.setPort(d.getPort())):(d=ya.location,d=utc(d.protocol,null,b?b+"."+d.hostname:d.hostname,+d.port,c));b=a.httpSessionIdParam_;c=a.getHttpSessionId();b&&c&&wJ(d,b,c);wJ(d,"VER",a.channelVersion_);UKc(a,d);return d},jKc=function(a,b,c){if(b&&!a.supportsCrossDomainXhrs_)throw Error("Le");b=a.usesFetchStreams_&&!a.xmlHttpFactory_?new lr(new hS({streamBinaryChunks:c})):new lr(a.xmlHttpFactory_);b.withCredentials_=a.supportsCrossDomainXhrs_;
return b};jS.prototype.isActive=function(){return!!this.handler_&&this.handler_.isActive(this)};var aLc=function(){};g=aLc.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 bLc=function(){};bLc.prototype.createWebChannel=function(a,b){return new kS(a,b)};
var kS=function(a,b){Jq.call(this);this.channel_=new jS(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)&&!St(a)&&(this.channel_.httpHeadersOverwriteParam_=a);this.supportsCrossDomainXhr_=b&&b.supportsCrossDomainXhr||!1;this.sendRawJson_=b&&b.sendRawJson||!1;(b=b&&b.httpSessionIdParam)&&!St(b)&&(this.channel_.httpSessionIdParam_=b,jea(this.messageUrlParams_,b)&&Ic(this.messageUrlParams_,b));this.channelHandler_=new lS(this)};Nu(kS,Jq);
kS.prototype.open=function(){this.channel_.handler_=this.channelHandler_;this.supportsCrossDomainXhr_&&(this.channel_.supportsCrossDomainXhrs_=!0);this.channel_.connect(this.url_,this.messageUrlParams_||void 0)};kS.prototype.close=function(){this.channel_.disconnect()};kS.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 pBc).serialize(a),a=c);b.outgoingMaps_.push(new GKc(b.nextMapId_++,a));b.state_==3&&FKc(b)};
kS.prototype.disposeInternal=function(){this.channel_.handler_=null;delete this.channelHandler_;this.channel_.disconnect();delete this.channel_;kS.superClass_.disposeInternal.call(this)};var cLc=function(a){AJc.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)?oea(b,this.metadataKey):b}else this.data=a};Nu(cLc,AJc);
var dLc=function(a){BJc.call(this);this.status=1;this.errorCode=a};Nu(dLc,BJc);var lS=function(a){this.channel_=a};Nu(lS,aLc);lS.prototype.channelOpened=function(){this.channel_.dispatchEvent("i")};lS.prototype.channelHandleArray=function(a){this.channel_.dispatchEvent(new cLc(a))};lS.prototype.channelError=function(a){this.channel_.dispatchEvent(new dLc(a))};lS.prototype.channelClosed=function(){this.channel_.dispatchEvent("j")};var EJc=function(a){this.channel_=a};
EJc.prototype.getHttpSessionId=function(){return this.channel_.getHttpSessionId()};EJc.prototype.commit=function(a){this.channel_.forwardChannelFlushedCallback_=a};EJc.prototype.getLastStatusCode=function(){return this.channel_.getLastStatusCode()};var eLc=function(){this.changeList=[]};eLc.prototype.add=function(a){this.changeList.push(a)};
var fLc=function(a,b,c){this.authMethod=b;this.jspbClient=new PJc(a,c)},gLc=function(a,b){var c,d,e,f,h;return se(function(l){if(l.nextAddress==1){var q=new mJc;c=X(q,OR,1,b);return y(l,a.jspbClient.post("/punctual/v1/chooseServer",c,nJc,iYa(a.authMethod)),2)}d=l.yieldResult;e=wr(d,1);if(e==null)throw Error("Ne");return l.return({gsessionid:e,affinitization:(f=d.getAffinitizationOrUndefined())!=null?f:0,initialConnectionDelayMillis:(h=hv(d,3))!=null?h:0})})},hLc=function(a,b,c){this.authMethod=b;
this.jspbClient=new PJc(a,c)},iLc=function(a,b,c){var d,e;se(function(f){if(f.nextAddress==1){if(a.authMethod instanceof kYa)return f.return(Promise.resolve());d=(new sJc).setChannelId(c);e=iYa(a.authMethod);e.queryParams==null&&(e.queryParams={});e.queryParams.gsessionid=b;e.timeoutMs=1E4;te(f,2);return y(f,a.jspbClient.post("/punctual/v1/refreshCreds",d,tJc,e),4)}if(f.nextAddress!=2)return Hu(f,0);we(f);xe(f)})},jLc=function(a,b,c){this.project=a;this.interestSet=b;this.knowledgeTimestamp=c;this.hasRecurred=
!1;this.resyncMillis=Date.now()},mS=function(a,b){this.channelDeps=a;this.options=b;this.refreshCredsTimerScheduled=!1;this.causalStreams=new Map;this.limboStreams=new Map;this.nonCausalStreams=new Map;this.newStreamSubject=new Uf;this.streamNumber=0;this.rawStatus=new Uf;this.status=new Xi(new LR);this.skipBackoff=new HJc;this.recentResyncs=[];this.hasConnected=!1;this.rawStatus.pipe(Zja(function(e){return e.getCode()===0?Promise.resolve():new Promise(function(f){mr(f,500)})})).subscribe(this.status);
this.delayGenerator=new hYa;var c,d;this.reconnectHint=(d=(c=b.reconnectHint)==null?void 0:c.pipe(If(function(){return Bv}),Yja(Bv)))!=null?d:Bv;kLc(this)},lLc=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 Oq}var f=e.clone().setPath("/punctual/multi-watch/channel"),h=new CJc(f.toString(),d,c.xmlHttpFactory!==void 0);return{serverChooser:new fLc(e,d,oYa(c.xmlHttpFactory)),credentialRefresher:new hLc(e,
d,oYa(c.xmlHttpFactory)),channelCreator:function(l,q,u){l=new DJc(l,q,h,function(A,F){return(new bLc).createWebChannel(A,F)},u);l.open();return l}}});return new mS(b,c)},mLc=function(a,b){return Math.max(Math.min(a,b!=null?b:a)+(24E4+4E4*Math.random())-a,0)},nLc=function(a){var b;mr(function(){a.channelDeps.then(function(c){var d,e;((d=a.channelState)==null?void 0:d.channelId)!=null&&((e=a.channelState)==null?void 0:e.lastRefreshTime)!=null&&Date.now()>=a.channelState.lastRefreshTime+24E4&&(iLc(c.credentialRefresher,
a.channelState.gsessionid,a.channelState.channelId),a.channelState.lastRefreshTime=Date.now());nLc(a)})},mLc(Date.now(),(b=a.channelState)==null?void 0:b.lastRefreshTime))};mS.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 oLc=function(a){for(var b=0,c=Date.now();b<a.recentResyncs.length;)c>=a.recentResyncs[b].resyncMillis+6E4?a.recentResyncs.splice(b):++b},pLc=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 ur&&d instanceof ur?c.equals(d):!1;return d})};mS.prototype.onOpen=function(){var a=(new LR).setCode(0);try{this.rawStatus.next(a)}catch(b){}};mS.prototype.onClose=function(){this.channelState=void 0;kLc(this)};
mS.prototype.onError=function(a,b){a=(new LR).setCode(nYa(b));try{this.rawStatus.next(a)}catch(c){}a=k(this.causalStreams.values());for(b=a.next();!b.done;b=a.next())b.value.streamInitiationReason=2;a=k(this.nonCausalStreams.values());for(b=a.next();!b.done;b=a.next())b.value.streamInitiationReason=2};
var sLc=function(a,b,c){if(a.channelState){var d=qLc(c.project,c.interestSet);if(c instanceof rLc){var e=kl(d,1,c.knowledgeTimestamp.toString());cl(e,8,c.knowledgeTimestampChosenByPunctual)}gl(d,9,c.streamInitiationReason);c.streamInitiationReason=0;c=new rJc;b=c.addAndReturnRequests().setStreamId(b.toString());zm(b,2,qJc,d).setAffinitization(a.channelState.affinitization);a.channelState.channel.send(c)}},qLc=function(a,b){var c=new OR;c=X(c,NR,4,FJc);if(b instanceof ur){var d=new jJc;a!=null&&d.setProject(qYa(a));
d.setOwner(b.isPrivate?hJc():gJc()).setPath(tYa(b));zm(c,2,lJc,d)}else d=new kJc,a!=null&&d.setProject(qYa(a)),d.setOwner(b.root.isPrivate?hJc():gJc()).setPrefix(tYa(b.root)),c.setPrefix(d);return c},tLc=function(a,b){var c=new rJc;c.addAndReturnRequests().setStreamId(b.toString()).setClose(new oJc);a.channelState&&a.channelState.channel.send(c);a.causalStreams.delete(b);a.limboStreams.delete(b);a.nonCausalStreams.delete(b)},kLc=function(a){var b=eJc(a.delayGenerator);pYa(b).pipe(kka(a.reconnectHint.pipe(Rf(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){uLc(a,c.serverChooser).then(function(d){mr(function(){a.hasConnected=!0;vLc(a,c.channelCreator,d)},a.hasConnected?0:d.initialConnectionDelayMillis)},function(){kLc(a)})},function(c){c=(new LR).setCode(13).setMessage(c.toString());a.rawStatus.next(c)})})},uLc=function(a,b){var c,d,e,f,h,l;return se(function(q){if(q.nextAddress==1)return y(q,wLc(a),2);c=q.yieldResult;d=k(c);e=
d.next().value;f=d.next().value;h=e;l=f;return q.return(gLc(b,qLc(h,l)))})},wLc=function(a){var b,c,d,e,f,h,l;return se(function(q){b=[a.causalStreams,a.limboStreams,a.nonCausalStreams];c=k(b);for(d=c.next();!d.done;d=c.next())for(e=d.value,f=k(e.values()),h=f.next();!h.done;h=f.next())return l=h.value,q.return([l.project,l.interestSet]);return y(q,Fe(pu(a.newStreamSubject).pipe(Rf())),1)})},vLc=function(a,b,c){a.channelState={channel:b(function(f){for(var h=k(f.getResponsesList()),l=h.next();!l.done;l=
h.next()){var q=a,u=l.value;l=u.getStreamIdOrUndefined_asString();if(l!=null)if(l=Number(l),u.hasClose()){a:{if(u=u.getClose())if(u=u.getStatus())break a;u=void 0}u&&q.handleClose(l,u)}else if(u=um(u,RR,2,zJc))switch($l(u,SR)){case 1:if(u=q.causalStreams.get(l)){try{u.observer.next(new bJc)}catch(T){}q.causalStreams.delete(l);q.limboStreams.set(l,u.start())}break;case 3:a:{if(u=um(u,uJc,3,SR))if(u=r4b(u,1),u!=null){var A=new cJc(vr(u));break a}A=void 0}if(A&&(u=l,l=A,(A=q.limboStreams.get(u))?(A=
A.advance(l.timestampMicros),q.limboStreams.delete(u),q.nonCausalStreams.set(u,A),q=A):q=q.nonCausalStreams.get(u),q)){u=q;A=l.timestampMicros;A>u.knowledgeTimestamp&&(u.knowledgeTimestamp=A,u.knowledgeTimestampChosenByPunctual=!0);try{q.observer.next(l)}catch(T){}}break;case 2:l=q.nonCausalStreams.get(l)||q.limboStreams.get(l);if(!l)break;q=l.interestSet;if(A=u.getChanges()){u=new eLc;A=k(lk(A,QR,1,Uj()));for(var F=A.next();!F.done;F=A.next()){var H=F.value,N=W(H,pr,6);F=H.getVersionOrUndefined_asString();
if(N&&F!=null){var O=void 0;H=(O=yYa(H,2))==null?void 0:new Uint8Array(ic(O)||0);O=H==null?void 0:H;(N=AYa(q,N))&&u.add(new aJc(N,vr(F),O))}}q=u}else q=void 0;if(q)for(q=k(q.changeList),u=q.next();!u.done;u=q.next()){u=u.value;u=new aJc(u.objectId,u.version,u.payload);try{l.observer.next(u)}catch(T){}}break;case 5:if(l=q.causalStreams.get(l)||q.limboStreams.get(l)||q.nonCausalStreams.get(l)){l instanceof rLc&&(oLc(q),(u=pLc(q,l))?(u.hasRecurred=!0,u.knowledgeTimestamp=l.knowledgeTimestamp,u.resyncMillis=
Date.now()):q.recentResyncs.push(new jLc(l.project,l.interestSet,l.knowledgeTimestamp)));try{l.observer.complete()}catch(T){}}}}if(f.hasStatus())switch(f.getStatus().getCodeOrUndefined()){case 1:h=k(a.causalStreams.values());for(l=h.next();!l.done;l=h.next())l.value.streamInitiationReason=3;h=k(a.nonCausalStreams.values());for(l=h.next();!l.done;l=h.next())l.value.streamInitiationReason=3;a.channelState&&a.channelState.channel.close()}Jk(f,xJc,3)&&a.channelState&&(a.channelState.channelId=W(f,xJc,
3).getChannelId(),a.channelState.lastRefreshTime=Date.now(),a.refreshCredsTimerScheduled||(nLc(a),a.refreshCredsTimerScheduled=!0))},a,c.gsessionid),affinitization:c.affinitization,gsessionid:c.gsessionid};b=[].concat(Array.from(a.causalStreams.entries())).concat(Array.from(a.nonCausalStreams.entries()));b.sort(function(f,h){return f[0]-h[0]});b=k(b);for(c=b.next();!c.done;c=b.next()){var d=k(c.value);c=d.next().value;d=d.next().value;sLc(a,c,d)}b=k(a.limboStreams);for(c=b.next();!c.done;c=b.next())c=
k(c.value),c.next(),c.next().value.observer.complete();a.limboStreams.clear();var e=a.channelState;mr(function(){a.channelState===e&&a.delayGenerator.reset()},45E3)};mS.prototype.watch=function(a,b){var c=this;b=b===void 0?{}:b;return new oe(function(d){var e=++c.streamNumber,f,h=(f=b.projectOverride)!=null?f:c.options.defaultProject;d=new xLc(d,h,a);c.causalStreams.set(e,d);c.newStreamSubject.next({});sLc(c,e,d);return function(){tLc(c,e)}})};
mS.prototype.watchWithStartTime=function(a,b,c){var d=this;c=c===void 0?{}:c;return new oe(function(e){var f=++d.streamNumber,h,l=(h=c.projectOverride)!=null?h:d.options.defaultProject,q=new rLc(e,l,a,b,!1);oLc(d);if((e=pLc(d,q))&&(e.hasRecurred||b.compare(e.knowledgeTimestamp)<=0)){var u=!0;mr(function(){u&&q.observer.complete()},6E4);return function(){u=!1}}d.nonCausalStreams.set(f,q);d.newStreamSubject.next({});sLc(d,f,q);return function(){tLc(d,f)}})};
var xLc=function(a,b,c){this.observer=a;this.project=b;this.interestSet=c;this.streamInitiationReason=1};xLc.prototype.start=function(){return new yLc(this.observer,this.project,this.interestSet)};var yLc=function(a,b,c){this.observer=a;this.project=b;this.interestSet=c};yLc.prototype.advance=function(a){return new rLc(this.observer,this.project,this.interestSet,a,!0)};
var rLc=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 zLc={firstPartyUri:new Oq("https://signaler-pa.clients6.google.com"),thirdPartyUri:new Oq("https://signaler-pa.googleapis.com")},ALc={firstPartyUri:new Oq("https://punctual-dev.corp.google.com"),thirdPartyUri:new Oq("https://signaler-staging.sandbox.google.com")},BLc=new Map([["prod",zLc],["preprod-dynamite-alpha-us",xr("preprod-dynamite-alpha-us")],["preprod-dynamite-alpha-eu",xr("preprod-dynamite-alpha-eu")],["preprod-dynamite-beta-us",xr("preprod-dynamite-beta-us")],["preprod-dynamite-beta-eu",
xr("preprod-dynamite-beta-eu")],["preprod-dynamite-gamma-us",xr("preprod-dynamite-gamma-us")],["preprod-dynamite-gamma-eu",xr("preprod-dynamite-gamma-eu")],["preprod-qual-dynamite-perftest",xr("preprod-qual-dynamite-perftest")],["prod-dynamite-prod-00-eu",xr("prod-dynamite-prod-00-eu")],["prod-dynamite-prod-01-eu",xr("prod-dynamite-prod-01-eu")],["prod-dynamite-prod-00-us",xr("prod-dynamite-prod-00-us")],["prod-dynamite-prod-01-us",xr("prod-dynamite-prod-01-us")],["prod-dynamite-prod-02-us",xr("prod-dynamite-prod-02-us")],
["prod-dynamite-prod-03-us",xr("prod-dynamite-prod-03-us")],["prod-dynamite-prod-04-us",xr("prod-dynamite-prod-04-us")],["prod-dynamite-prod-05-us",xr("prod-dynamite-prod-05-us")],["prod-dynamite-prod-06-us",xr("prod-dynamite-prod-06-us")],["prod-dynamite-prod-07-us",xr("prod-dynamite-prod-07-us")],["prod-dynamite-prod-08-us",xr("prod-dynamite-prod-08-us")],["prod-dynamite-prod-09-us",xr("prod-dynamite-prod-09-us")],["ytprod",{firstPartyUri:new Oq("https://signaler-pa.youtube.com"),thirdPartyUri:new Oq("https://signaler-pa.googleapis.com")}],
["dev",ALc]]);var CLc=function(a){this.projectPath=a;this.authParams=new NJc;this.fetchApi=!1};CLc.prototype.setApiKey=function(a){this.authParams.apiKey=a;return this};CLc.prototype.useFetchApi=function(a){this.fetchApi=!0;this.worker=a;return this};
CLc.prototype.build=function(){var a=mYa(this.authParams),b=this.projectPath;if(!b.startsWith("/punctual/"))throw Error("Oe`"+b);var c=b.substring(10).split("/");if(c.length!==2)throw Error("Pe`"+b);b=k(c);c=b.next().value;b=b.next().value;if(c.startsWith("custom:"))c=new Oq(decodeURIComponent(c.substring(7))),c={firstPartyUri:c,thirdPartyUri:c};else{var d=BLc.get(c);if(!d)throw Error("Qe`"+c);c=d}var e;this.fetchApi&&(e=new hS({worker:this.worker}));return lLc(c,a,{reconnectHint:this.reconnectHint,
defaultProject:b,xmlHttpFactory:e})};var DLc={watch:function(){return Ae()},watchWithStartTime:function(){return Ae()},status:Ae()},nS=function(){this.activeSession=r(Bu);if(Vt(this.activeSession,"enablePushUpdatesClient")){switch(this.activeSession.getEnvironmentType()){case "PROD":case "NIGHTLY":var a="AIzaSyDBL0cdQ7zgltPyAYPmzKE4X2t2_S_wW8w";var b="/punctual/prod/buganizer";break;case "QA":a="AIzaSyCpeBtg5BChNlEw-O4F0WpVJWgk_CFEY6I";b="/punctual/prod/buganizer-qa";break;default:a="ANVavNKXeiME5gTvC0_SzcTVHNYBMU50fWn-NpE",b="/punctual/dev/buganizer-test"}this.punctualClient=
(new CLc(b)).setApiKey(a).build()}else this.punctualClient=DLc};nS.prototype.watch=function(a,b){return this.punctualClient.watch(uYa(String(a),b)).pipe(Ue(function(c){return c instanceof aJc}))};nS.\u0275fac=function(a){return new (a||nS)};nS.\u0275prov=n({token:nS,factory:nS.\u0275fac,providedIn:"root"});var oS=function(){this.punctualService=r(nS);this.stream=new Uf;this.isPaused=!1;this.closeStream$=new Uf};oS.prototype.resume=function(){this.isPaused=!1};var ELc=function(a,b){a.issueId!==b&&(a.closeStream$.next(),a.stream=new Uf,a.issueId=b,a.resume(),a.watch(b).subscribe(a.stream));return a.stream};oS.prototype.watch=function(a){var b=this;return this.punctualService.watch("new-comment-issue",a).pipe(Ue(function(){var c=!b.isPaused;b.resume();return c}),Lf(1E3),Zf(this.closeStream$))};
oS.\u0275fac=function(a){return new (a||oS)};oS.\u0275prov=n({token:oS,factory:oS.\u0275fac,providedIn:"root"});var FLc=function(a,b){this.displayText=a;this.value=b;this.enabled=!0;this.disabledReason=""};var pS=function(){Z.call(this);this.window=r(MH);this.scrolledOnScreenService=r(fN);this.elementRef=r(ef);this.onAutoResize=new aB;this.el=this.elementRef.nativeElement;this.cloneEl=this.el.cloneNode();this.cloneEl.removeAttribute("id");this.cloneEl.removeAttribute("name");this.cloneEl.removeAttribute("aria-label");this.cloneEl.setAttribute("aria-hidden","");this.cloneEl.removeAttribute("data-stable");this.cloneEl.setAttribute("data-cloned-for-auto-resize","");this.cloneEl.style.height="auto";this.cloneEl.style.visibility=
"hidden";this.cloneEl.style.position="absolute";this.cloneEl.style.left="0";this.cloneEl.style.top="0";this.cloneEl.style.zIndex="-9999";this.cloneEl.style.overflowY="hidden";this.window.document.body.appendChild(this.cloneEl)};Y(pS,Z);pS.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.scrolledOnScreenService.getObservable(this.el,!0).subscribe(function(b){b&&GLc(a,0)}));this.autoResize&&this.subscriptions.add(this.autoResize.subscribe(function(){GLc(a,2)}))};
pS.prototype.onInput=function(){GLc(this,1)};
var GLc=function(a,b){for(var c=a.window.getComputedStyle(a.el),d=k("width max-height min-height font-family text-decoration letter-spacing".split(" ")),e=d.next();!e.done;e=d.next())e=e.value,a.cloneEl.style.setProperty(e,c.getPropertyValue(e));a.cloneEl.value=a.el.value;d=a.window.getComputedStyle(a.cloneEl);c=a.cloneEl;c=Gl(d.getPropertyValue("border-top-width"))+Gl(d.getPropertyValue("padding-top"))+c.scrollHeight+Gl(d.getPropertyValue("padding-bottom"))+Gl(d.getPropertyValue("border-bottom-width"))+
24;Number.isNaN(c)||(e=Gl(d.getPropertyValue("max-height")),d=Gl(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})))};pS.prototype.ngOnDestroy=function(){this.cloneEl.parentElement&&this.cloneEl.parentElement.removeChild(this.cloneEl);Z.prototype.ngOnDestroy.call(this)};pS.\u0275fac=function(a){return new (a||pS)};
pS.\u0275dir=Df({type:pS,selectors:[["textarea","autoResize",""]],hostBindings:function(a,b){a&1&&M("input",function(){return b.onInput()})},inputs:{autoResize:"autoResize"},outputs:{onAutoResize:"onAutoResize"},standalone:!1,features:[cg]});var HLc=["textarea"],ILc=["hiddenInput"],JLc=["autocompleteUnderlay"],KLc=Symbol(),qS=function(){Z.apply(this,arguments);this.codefont=r(IH);this.activeSession=r(Bu);this.issuePermissionService=r(gJ);this.window=r(MH);this.userPreferencesManager=r(TG);this.textareaClass=[];this.isLiteralModeSupported=this.enableMentionsAutocomplete=this.canEditIssuesInComponent=this.disabled=!1;this.contentChange=new aB;this.focus=new aB;this.blur=new aB;this.autoResize=new aB;this.manualResize$=new aB;this.autocompleteUserName=
"";this.scrollPosition=this.autocompleteLeft=this.autocompleteTop=0;this.taggingInProgress=!1;this.wordInfo={wordStart:0,wordEnd:0,word:""};this.enableExternalMentionsFe=Vt(this.activeSession,"enableExternalMentionsFe");this.enableLiteralModeRevisions=Vt(this.activeSession,"enableLiteralModeRevisions");this.textAreaLastAtSymbolLocation=this.textAreaLastCursorLocation=0};Y(qS,Z);qS.\u0275dir=Z.\u0275dir;
qS.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.codefont.codefont$.subscribe(function(b){b?yr(a).classList.add("codefont"):yr(a).classList.remove("codefont")}))};qS.prototype.ngOnDestroy=function(){Z.prototype.ngOnDestroy.call(this);this.focus.complete();this.blur.complete();this.manualResize$.complete()};qS.prototype.setValue=function(a){yr(this).value!==a&&(yr(this).value=a,this.manualResize$.next())};qS.prototype.getValue=function(){return yr(this).value};
var yr=function(a){return a.textareaRef.nativeElement},zr=function(a){var b;return(b=a.hiddenInputRef)==null?void 0:b.nativeElement},CYa=function(a){return a.enableLiteralModeRevisions&&a.isLiteralModeSupported&&a.userPreferencesManager.currentCommentFormattingModeSubject$.value==="LITERAL"?!1:a.enableExternalMentionsFe?a.enableMentionsAutocomplete?LC(a.activeSession)?a.issueId?a.issuePermissionService.hasAclToEdit():a.canEditIssuesInComponent:!0:!1:a.activeSession.isInternalSession()&&a.audience===
"INTERNAL"},LLc=function(a){var b;return(b=a.autocompleteUnderlayRef)==null?void 0:b.nativeElement},MLc=function(a){var b=yr(a).selectionStart;a.wordInfo=a.findWord(a.getValue(),b)};qS.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 NLc=function(a){return a.key==="ArrowDown"||a.key==="ArrowUp"||a.key==="Enter"||a.key==="Escape"||a.key==="Tab"},OLc=function(a){var b=LLc(a);a=yr(a);b&&a&&(b.scrollTop=a.scrollTop)},DYa=function(a){a.taggingInProgress=!1;a.autocompleteUserName=""},EYa=function(a,b){b=b===void 0?!1:b;var c=yr(a),d=yr(a).value,e,f=(e=zr(a))==null?void 0:e.value;e=f==null?void 0:f.length;MLc(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};qS.prototype[KLc]=function(){return this.findWord};qS.\u0275fac=function(){var a;return function(b){return(a||(a=ee(qS)))(b||qS)}}();
qS.\u0275cmp=C({type:qS,selectors:[["b-comment-draft-textarea"]],viewQuery:function(a,b){a&1&&(Rg(HLc,7),Rg(ILc,5),Rg(JLc,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&&M("click",function(){DYa(b)},!1,aia)("keyup",function(c){var d=c.key;c=c.target.classList.contains("autocomplete-hidden-input");d==="Escape"&&c&&(DYa(b),yr(b).focus())},!1,aia)},inputs:{textareaClass:"textareaClass",
disabled:"disabled",placeholder:"placeholder",idForAriaLabel:"idForAriaLabel",audience:"audience",issueId:"issueId",canEditIssuesInComponent:"canEditIssuesInComponent",enableMentionsAutocomplete:"enableMentionsAutocomplete",isLiteralModeSupported:"isLiteralModeSupported"},outputs:{contentChange:"contentChange",focus:"focus",blur:"blur",autoResize:"autoResize"},standalone:!1,features:[cg],decls:8,vars:12,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,"bv2-literal-mode-warning"],[1,"autocomplete-input-container"],["type","text","bContactAutocomplete","SINGLE","tabIndex","-1","aria-hidden","true",1,"autocomplete-hidden-input",3,"value"],["contentEditable","true",1,"autocomplete-underlay"],[1,"bv2-literal-mode-warning-icon"],
["svgIcon","verified_user_24px",1,"icon-xxs"],["href","http://go/buganizer-literal-mode","target","_blank"],["type","text","bContactAutocomplete","SINGLE","tabIndex","-1","aria-hidden","true",1,"autocomplete-hidden-input",3,"change","keyup","value"]],template:function(a,b){if(a&1){var c=v();I(0,"div",4,0);M("keydown",function(d){w(c);d.key==="Escape"&&(DYa(b),yr(b).focus());return x()});I(2,"textarea",5,1);M("input",function(){w(c);b.contentChange.emit(b.getValue());return x()})("focus",function(d){w(c);
return x(b.focus.emit(d))})("blur",function(d){w(c);return x(b.blur.emit(d))})("onAutoResize",function(d){w(c);return x(b.autoResize.emit(d))})("keydown",function(d){w(c);if(CYa(b)&&NLc(d)&&b.taggingInProgress){d==null||d.preventDefault();var e;(e=zr(b))==null||e.focus();e=d.code;var f=d.key,h=d.keyCode,l=d.which;d=new KeyboardEvent("keydown",{charCode:d.charCode,metaKey:d.metaKey,type:d.type,code:f==="Enter"?"Tab":e,key:f==="Enter"?"Tab":f,keyCode:f==="Enter"?9:h,which:f==="Enter"?9:l});var q;(q=
zr(b))==null||q.dispatchEvent(d)}return x()})("keyup",function(d){w(c);if(CYa(b)){var e=yr(b),f=e==null?void 0:e.value;b.textAreaLastCursorLocation=e.selectionStart;b.textAreaLastAtSymbolLocation=f.slice(0,b.textAreaLastCursorLocation).lastIndexOf("@");if(!NLc(d)){d=d.target;b.scrollPosition=d.scrollTop;MLc(b);var h=b.wordInfo.word;e=h==="@";f=h.startsWith("@");var l=h.slice(h.length-1).match(/[a-z]/i);h=aua.test(h.slice(1));if(e||f&&l&&!h){d=d.selectionStart;if(!b.taggingInProgress){if(e=LLc(b)){e.textContent=
b.getValue();f=LLc(b);l=yr(b);h="height width font-family margin line-height padding border".split(" ");if(f&&l){l=b.window.getComputedStyle(l);h=k(h);for(var q=h.next();!q.done;q=h.next()){q=q.value;var u=l.getPropertyValue(q);f.style.setProperty(q,u)}}OLc(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 A;(A=zr(b))==null||A.dispatchEvent(new KeyboardEvent("keydown"))}}}return x()})("scroll",function(){w(c);return x(OLc(b))});J();D(4,BYa,8,0,"div",6);I(5,"span",7);D(6,FYa,2,1,"input",8);J();D(7,GYa,2,0,"div",9);J()}a&2&&(B(2),E("autoResize",b.manualResize$)("ngClass",b.textareaClass)("disabled",b.disabled),jg("placeholder",b.placeholder)("id",b.idForAriaLabel),
B(2),G(b.enableLiteralModeRevisions&&b.isLiteralModeSupported&&b.userPreferencesManager.currentCommentFormattingModeSubject$.value==="LITERAL"?4:-1),B(),rg("top",b.autocompleteTop+"px")("left",b.autocompleteLeft+"px"),B(),G(b.taggingInProgress?6:-1),B(),G(CYa(b)?7:-1))},dependencies:[aw,pB,VO,pS],styles:["textarea.banned-words-warning[_ngcontent-%COMP%]{border-color:#c5221f;border-color:var(--bad-gfx)}.bv2-literal-mode-warning[_ngcontent-%COMP%]{background-color:#f2f6ff;background-color:var(--blue-bg);margin-bottom:12px;margin-top:8px;padding:8px}.bv2-literal-mode-warning-icon[_ngcontent-%COMP%]{display:inline;font-weight:bold;color:#1967d2;color:var(--primary-c700);margin-right:16px}/*# sourceMappingURL=comment_draft_textarea.css.map */"],
changeDetection:0});var PLc=function(a){return{"draft-markdown":a}},rS=function(){Z.apply(this,arguments);var a=this;this.cdr=r(cB,{self:!0});this.ref=r(ef);this.events=r(yD);this.previewDisabled=!1;this.selectedIndex=0;this.render=function(){var b=a.matTabGroup;b._tabHeader&&b._tabHeader._alignInkBarToSelectedTab();a.cdr.markForCheck()}};Y(rS,Z);rS.\u0275dir=Z.\u0275dir;rS.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.events.commentSubmitted.subscribe(function(){a.matTabGroup.selectedIndex=0}))};
rS.prototype.synchronizeHeight=function(a){this.ref.nativeElement.querySelector("mat-tab-group").style.height=a+8+48+"px"};rS.\u0275fac=function(){var a;return function(b){return(a||(a=ee(rS)))(b||rS)}}();
rS.\u0275cmp=C({type:rS,selectors:[["b-comment-draft-tab-group"]],viewQuery:function(a,b){a&1&&Rg(zN,7);if(a&2){var c;Vg(c=Wg())&&(b.matTabGroup=c.first)}},inputs:{editArea:"editArea",previewArea:"previewArea",previewDisabled:"previewDisabled"},standalone:!1,features:[ch([cB]),cg],decls:5,vars:5,consts:[[1,"small","no-border",3,"animationDone","selectedIndexChange","dynamicHeight","selectedIndex"],["label","Edit"],[4,"ngTemplateOutlet"],["label","Preview",3,"disabled"]],template:function(a,b){a&1&&
(I(0,"mat-tab-group",0),M("animationDone",function(){setTimeout(b.render,2E3)})("selectedIndexChange",function(c){return b.selectedIndex=c}),I(1,"mat-tab",1),D(2,HYa,1,0,"ng-container",2),J(),I(3,"mat-tab",3),D(4,IYa,1,0,"ng-container",2),J()());a&2&&(E("dynamicHeight",!1)("selectedIndex",b.selectedIndex),B(2),E("ngTemplateOutlet",b.editArea),B(),E("disabled",b.previewDisabled),B(),E("ngTemplateOutlet",b.previewArea))},dependencies:[dw,DN,yN,zN],styles:["[_nghost-%COMP%]     mat-tab-header{margin-left:8px;margin-bottom:16px}/*# sourceMappingURL=comment_draft_tab_group.css.map */"],
changeDetection:0});
var sS=function(){Z.apply(this,arguments);this.codefont=r(IH);this.ngZone=r(kh);this.prefs=r(TG);this.hotkeys=r(uH);this.isMarkdown$=this.prefs.lastPublishMode$.pipe(z(function(a){return a==="MARKDOWN_FORMATTING_MODE"}));this.idPrefix="b-draft";this.content="";this.textareaClass=[];this.disabled=!1;this.audience="EXTERNAL";this.isLiteralModeSupported=this.enableMentionsAutocomplete=this.canEditIssuesInComponent=!1;this.init=new aB;this.contentChange=new aB;this.focus=new aB;this.blur=new aB;this.autoResize=
new aB;this.onSubmit=new aB};Y(sS,Z);sS.\u0275dir=Z.\u0275dir;sS.prototype.ngOnChanges=function(){this.commentDraftTextarea&&this.commentDraftTextarea.setValue(this.content)};
sS.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 QLc=function(a){a.ngZone.run(function(){if(a.commentDraftTabGroup){var b=a.commentDraftTabGroup;b.selectedIndex=0;b.render()}a.commentDraftTextarea&&yr(a.commentDraftTextarea).focus()})};sS.prototype.synchronizeHeight=function(a){this.commentDraftTabGroup&&this.commentDraftTabGroup.synchronizeHeight(a.newHeight)};sS.\u0275fac=function(){var a;return function(b){return(a||(a=ee(sS)))(b||sS)}}();
sS.\u0275cmp=C({type:sS,selectors:[["b-comment-draft"]],viewQuery:function(a,b){a&1&&(Rg(qS,5),Rg(rS,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",issueId:"issueId",canEditIssuesInComponent:"canEditIssuesInComponent",enableMentionsAutocomplete:"enableMentionsAutocomplete",isLiteralModeSupported:"isLiteralModeSupported"},
outputs:{init:"init",contentChange:"contentChange",focus:"focus",blur:"blur",autoResize:"autoResize",onSubmit:"onSubmit"},standalone:!1,features:[cg,rv],decls:2,vars:14,consts:[[3,"autoResize","keydown.control.enter","keydown.meta.enter","textareaClass","ngClass","disabled","placeholder","idForAriaLabel","audience","issueId","canEditIssuesInComponent","enableMentionsAutocomplete","isLiteralModeSupported"]],template:function(a,b){a&1&&(I(0,"b-comment-draft-textarea",0),S(1,"async"),M("autoResize",
function(c){return b.synchronizeHeight(c)})("keydown.control.enter",function(){b.hotkeys.isEnabled()&&b.onSubmit.emit()})("keydown.meta.enter",function(){b.hotkeys.isEnabled()&&b.onSubmit.emit()}),J());a&2&&E("textareaClass",b.textareaClass)("ngClass",eh(12,PLc,U(1,10,b.isMarkdown$)))("disabled",b.disabled)("placeholder",b.placeholder)("idForAriaLabel",b.idForAriaLabel)("audience",b.audience)("issueId",b.issueId)("canEditIssuesInComponent",b.canEditIssuesInComponent)("enableMentionsAutocomplete",
b.enableMentionsAutocomplete)("isLiteralModeSupported",b.isLiteralModeSupported)},dependencies:[aw,qS,ew],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 RLc=["captchaContainer"],tS=function(){this.ngZone=r(kh);this.window=r(MH);this.darkmodeService=r(ZP);this.appEvents=r(yD);this.analytics=r(OF);this.onUpdate=new aB;this.destroyed$=new Tf(1)};tS.prototype.ngOnInit=function(){var a=this;this.appEvents.recaptchaSubmitted.pipe(Zf(this.destroyed$)).subscribe(function(){a.reset();a.onUpdate.emit("")})};
tS.prototype.ngAfterViewInit=function(){var a=this;this.onUpdate.emit("");var b;(b=this.window.recaptchaAsync)==null||b.then(function(c){var d=It(a.darkmodeService);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"})})};tS.prototype.ngOnDestroy=function(){this.reset();this.destroyed$.next()};tS.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)})}};tS.\u0275fac=function(a){return new (a||tS)};
tS.\u0275cmp=C({type:tS,selectors:[["b-recaptcha"]],viewQuery:function(a,b){a&1&&Rg(RLc,5);if(a&2){var c;Vg(c=Wg())&&(b.captchaContainer=c.first)}},outputs:{onUpdate:"onUpdate"},standalone:!1,decls:2,vars:0,consts:[["captchaContainer",""]],template:function(a){a&1&&K(0,"div",null,0)},encapsulation:2});var SLc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(SLc,V);g=SLc.prototype;g.getComponentId=function(){return dv(this,1)};g.getComponentId_asLegacyNumberOrString=function(){return Qk(this,1)};g.getComponentId_asString=function(){return Wk(this,1)};g.setComponentId=function(a){return jm(this,1,a)};g.getText=function(){return Kh(this,2)};g.setText=function(a){return ak(this,2,a)};var uS=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,uS.messageId)};Y(uS,V);uS.prototype.getIt=function(){return W(this,SLc,3)};uS.prototype.setIt=function(a){return X(this,SLc,3,a)};uS.messageId="b.CheckBannedWordsRequest";var TLc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(TLc,V);var vS=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,vS.messageId)};Y(vS,V);vS.prototype.getIt=function(){return W(this,TLc,2)};vS.prototype.setIt=function(a){return X(this,TLc,2,a)};vS.messageId="b.CheckBannedWordsResponse";var wS=function(){this.executor=r(MC)};wS.prototype.checkBannedWords=function(a){a=(new uS).setIt((new SLc).setComponentId(Number(a.componentId)).setText(a.text));return this.executor.post({url:"action/check_banned_words",body:a,responseConstructor:vS}).pipe(z(JYa))};wS.\u0275fac=function(a){return new (a||wS)};wS.\u0275prov=n({token:wS,factory:wS.\u0275fac,providedIn:"root"});var xS=function(){this.observableApi=r(wS)};xS.prototype.checkBannedWords=function(a){return Fe(this.observableApi.checkBannedWords(a))};
xS.\u0275fac=function(a){return new (a||xS)};xS.\u0275prov=n({token:xS,factory:xS.\u0275fac,providedIn:"root"});var yS=function(){Z.apply(this,arguments);this.bannedWordsApi=r(xS);this.activeSession=r(Bu);this.errorHandler=r(CI);this.analytics=r(OF);this.matchedPatterns=[];this.warningState="INITIAL";this.enableBannedWordsCheck=Vt(this.activeSession,"enableBannedWordsCheck");this.isUserInternal=this.activeSession.isInternalSession()};Y(yS,Z);yS.\u0275dir=Z.\u0275dir;
yS.prototype.check=function(a,b,c){var d=this;return se(function(e){if(!(d.enableBannedWordsCheck&&d.isUserInternal&&b&&c))return e.return(!0);switch(d.warningState){case "INITIAL":return e.return(ULc(d,String(c),a));case "SHOW_WARNING":return d.warningState="SKIP_WARNING",d.analytics.trackEvent("bannedWords","skipBannedWordsCheck",Ar(d)),e.return(!0);default:return e.return(!0)}})};
var ULc=function(a,b,c){var d,e;return se(function(f){if(f.nextAddress==1)return te(f,2),y(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",Ar(a)),f.return(!1)):f.return(!0);e=we(f);EI(a.errorHandler,e);return f.return(!0)})},Ar=function(a){return a.matchedPatterns.join(", ")};
yS.prototype.showWarning=function(){return this.warningState==="SHOW_WARNING"};yS.prototype.reset=function(){this.matchedPatterns=[];this.warningState="INITIAL"};yS.\u0275fac=function(){var a;return function(b){return(a||(a=ee(yS)))(b||yS)}}();yS.\u0275prov=n({token:yS,factory:yS.\u0275fac});var zS=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)};zS.prototype.ngOnDestroy=function(){this.checks=[];window.removeEventListener("beforeunload",this.beforeUnloadEventHandler);window.removeEventListener("unload",this.onUnload)};var AS=function(a,b,c){var d={dataChanged:b,triggerOnSearch:c};a.checks.push(d);return new je(function(){a.checks=a.checks.filter(function(e){return e!==d})})};
zS.prototype.canDeactivate=function(a,b,c,d){a:{a=yJ(c.url).getPath()===yJ(d.url).getPath();b=k(this.checks);for(c=b.next();!c.done;c=b.next())if(c=c.value,a){if(c.triggerOnSearch&&c.dataChanged()){a=!0;break a}}else if(c.dataChanged()){a=!0;break a}a=!1}return a?VLc(this)?(this.checks=[],!0):!1:!0};var VLc=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};
zS.\u0275fac=function(a){return new (a||zS)};zS.\u0275prov=n({token:zS,factory:zS.\u0275fac,providedIn:"root"});var WLc=function(a){return[a]},BS=function(){this.matDialog=r(tI)};BS.prototype.show=function(a,b,c,d){this.dialog=this.matDialog.open(CS,{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 Fe(nI(this.dialog))};BS.\u0275fac=function(a){return new (a||BS)};BS.\u0275prov=n({token:BS,factory:BS.\u0275fac,providedIn:"root"});
var CS=function(){Z.apply(this,arguments);this.activeSession=r(Bu);this.origComment=r(sI);this.dialogRef=r(mI);this.bannedWordsChecker=r(yS);this.checkBeforeExit=r(zS);this.MARKDOWN="MARKDOWN";this.contentRemovalRequestLink=this.activeSession.isInternalSession()?"https://goto.corp.google.com/buganizer-delete":"https://issuetracker.google.com/issues/new?component=169992&template=543202";this.enableRecaptcha=this.activeSession.userRequiresCaptcha();this.recaptchaResponse="";this.newComment=Object.assign({},
this.origComment)};Y(CS,Z);CS.\u0275dir=Z.\u0275dir;g=CS.prototype;g.ngOnInit=function(){var a=this;this.subscriptions.add(AS(this.checkBeforeExit,function(){return a.isModified()},!1));this.dialogRef.keydownEvents().pipe(Zf(this.destroyed$)).subscribe(function(b){b.key==="Escape"&&a.closeIfUnmodified()});this.dialogRef.backdropClick().pipe(Zf(this.destroyed$)).subscribe(function(){a.closeIfUnmodified()})};g.closeIfUnmodified=function(){this.isModified()||this.dialogRef.close()};
g.isCaptchaValid=function(){return!this.enableRecaptcha||this.recaptchaResponse!==""};g.isModified=function(){return!oj(this.newComment,this.origComment)};
g.closeDialogForSave=function(){var a=this,b,c;return se(function(d){if(d.nextAddress==1){if(!a.isModified())return d.return();a.enableRecaptcha&&(a.newComment.recaptchaToken=a.recaptchaResponse);return y(d,a.bannedWordsChecker.check(a.newComment.text,a.newComment.audience==="EXTERNAL",a.newComment.componentId),2)}(b=d.yieldResult)?a.dialogRef.close(a.newComment):(c=a.commentDraft)==null||QLc(c);xe(d)})};CS.\u0275fac=function(){var a;return function(b){return(a||(a=ee(CS)))(b||CS)}}();
CS.\u0275cmp=C({type:CS,selectors:[["ng-component"]],viewQuery:function(a,b){a&1&&Rg(sS,5);if(a&2){var c;Vg(c=Wg())&&(b.commentDraft=c.first)}},standalone:!1,features:[ch([yS]),cg],decls:19,vars:20,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"muted"],["target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],[3,"contentChange","onSubmit","content","audience","textareaClass","enableMentionsAutocomplete","isLiteralModeSupported"],[1,"banned-words-warning","break-word"],[1,"inline-block",
3,"change","initialValue"],[3,"comment","issueId","audience","formattingMode"],["mat-dialog-actions",""],["type","button","mat-button","",3,"mat-dialog-close"],["type","button","mat-flat-button","",3,"click","disabled","color"],["target","_blank","aria-label","Learn more about banned words","href","http://go/b-trackers#banned-words-for-tracker",1,"color-bad-text","keep-underline"],[1,"recaptcha-container"],[3,"onUpdate"]],template:function(a,b){a&1&&(I(0,"h1",0),Q(1),J(),I(2,"section",1)(3,"p",2),
Q(4," Editing comments will not permanently remove old ones from database history. "),K(5,"br"),Q(6," For deletion of PII or other sensitive content, please "),I(7,"a",3),Q(8," file a support request."),J()(),I(9,"b-comment-draft",4),bh("contentChange",function(c){ah(b.newComment.text,c)||(b.newComment.text=c);return c}),M("onSubmit",function(){return b.closeDialogForSave()})("contentChange",function(){b.bannedWordsChecker.reset()}),J(),D(10,KYa,4,1,"p",5),I(11,"b-markdown-toggle",6),M("change",function(c){return b.newComment.formattingMode=
c}),J(),D(12,LYa,1,4,"b-live-preview",7),J(),D(13,MYa,3,0,"section"),I(14,"footer",8)(15,"button",9),Q(16," Cancel "),J(),I(17,"button",10),M("click",function(){return b.closeDialogForSave()}),Q(18),J()());a&2&&(B(),Zg("Editing Comment #",b.origComment.id," of Issue ",b.origComment.issueId,""),B(6),E("href",b.contentRemovalRequestLink,vf),B(2),$g("content",b.newComment.text),E("audience",b.origComment.audience)("textareaClass",eh(18,WLc,b.bannedWordsChecker.showWarning()?"banned-words-warning":""))("enableMentionsAutocomplete",
!0)("isLiteralModeSupported",!1),B(),G(b.bannedWordsChecker.showWarning()?10:-1),B(),sg("margin-bottom",(b.newComment==null?null:b.newComment.formattingMode)!==b.MARKDOWN),E("initialValue",b.origComment.formattingMode),B(),G((b.newComment==null?null:b.newComment.formattingMode)===b.MARKDOWN?12:-1),B(),G(b.enableRecaptcha?13:-1),B(2),E("mat-dialog-close",void 0),B(2),E("disabled",!b.isModified()||!b.isCaptchaValid())("color",b.bannedWordsChecker.showWarning()?"warn":"primary"),B(),R(" ",b.bannedWordsChecker.showWarning()?
"Save Anyway":"Save"," "))},dependencies:[uI,wI,yI,xI,eB,jy,UM,LK,sS,tS],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 DS=function(){this.dismissalService=r(yR);this.editIssueService=r(kJ);this.butterBar=r(fH);this.issuePermissionService=r(gJ);this.issueCommentService=r(KR);this.editCommentDialogService=r(BS);this.issueFullFridge=r(QF);this.matDialogService=r(tI);this.paths=r(IP);this.analytics=r(OF);this.domSafe=r(NH);this.confirmationDialogService=r(AI);this.issueComments=r(TI);this.errorHandler=r(CI);this.eventsForIssueFridge=r(NE);this.componentFridge=r(uD);this.commentFormatter=r(KK);this.confirmNoAccessService=
r(VI);this.activeSession=r(Bu);this.appEvents=r(yD);this.issuePicker=r(TP);this.eventsForIssueWatcher=r(oS);this.issueInteractionsTracking=r(dJ)},Kr=function(a,b,c){var d,e,f,h,l,q,u;return se(function(A){if(A.nextAddress==1)return y(A,Fe(a.issueFullFridge.watch(b)),2);if(A.nextAddress!=3){d=A.yieldResult;f=(e=d)==null?void 0:e.snapshot[0].componentId;h=a.editIssueService.savingState(b);if(h.get("commentEdit"))return A.return();a.butterBar.dismiss();q=(l=a.issuePermissionService.audience())!=null?
l:"EXTERNAL";return y(A,a.editCommentDialogService.show(b,q,c,f),3)}u=A.yieldResult;if(u==null)return A.return();$Ic(a.issueCommentService,{issueId:b,newCommentId:u.id,newComment:u.text,newCommentFormattingMode:u.formattingMode,recaptchaToken:u.recaptchaToken});xe(A)})},YLc=function(a,b,c){var d,e,f;return se(function(h){if(h.nextAddress==1)return c?y(h,XLc(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"},y(h,a.issuePicker.open(d),3);e=h.yieldResult;if((f=e)==null?0:f.length){var l=Rq(e[0],{template_issue:b,template_comment:c,do_attribution:!0});a.analytics.trackEvent("editIssue","copyComment");a.domSafe.openInNewTab(l)}xe(h)})},XLc=function(a,b){function c(ka){return F.get(ka)}var d,e,f,h,l,q,u,A,F,H,N,O,T,ea;return se(function(ka){if(ka.nextAddress==1)return y(ka,Fe(a.issueFullFridge.watch(b)),2);if(ka.nextAddress!=3){d=ka.yieldResult;if(!d)return ka.return([]);
f=(e=d.snapshot[0].duplicateIssueId)!=null?e:[];l=(h=d.snapshot[0].blockingIssueId)!=null?h:[];u=(q=d.snapshot[0].blockedByIssueId)!=null?q:[];return y(ka,Fe(a.issueFullFridge.watchSet(Kj([].concat(t(f),t(l),t(u))))),3)}A=ka.yieldResult;F=new Map(A.map(function(oa){return[oa.issueId,oa]}));H=u.map(c).filter(ik).map(NYa("BLOCKED_BY"));N=l.map(c).filter(ik).map(NYa("BLOCKING"));O=f.map(c).filter(ik).map(NYa("DUPLICATE"));T=[].concat(t(H),t(N),t(O));ea=OYa(T);return ka.return(ea)})},$Lc=function(a,b,
c){var d;return se(function(e){return e.nextAddress==1?c?y(e,hrc(a.confirmationDialogService,{title:"Restore comment # "+c+"?",content:wi("Are you sure you want to restore this comment?")}),2):e.return():(d=e.yieldResult)?y(e,ZLc(a,b,c),0):e.return()})},ZLc=function(a,b,c){var d,e;return se(function(f){switch(f.nextAddress){case 1:d=a.editIssueService.savingState(b);if(d.get("commentUndelete"))return f.return();jq(a.butterBar,"Restoring comment...",0);te(f,2,3);kq(d,"commentUndelete");return y(f,
a.issueComments.undelete(b,c),5);case 5:jq(a.butterBar,"Comment restored successfully.");case 3:ue(f);iJ(d,"commentUndelete");a.issueFullFridge.poke(b);a.eventsForIssueFridge.poke(b);ve(f,0);break;case 2:e=we(f),jq(a.butterBar,"Comment restoration failed."),EI(a.errorHandler,e),f.jumpTo(3)}})},cMc=function(a,b,c,d){var e,f,h,l;return se(function(q){if(q.nextAddress==1){if(!c)return q.return();e=a.editIssueService.savingState(b);return e.get("commentDelete")?q.return():y(q,aMc(a,b),2)}return q.nextAddress!=
3?(f=q.yieldResult,a.butterBar.dismiss(),y(q,Fe(nI(a.matDialogService.open(SIc,{width:"560px",data:{commentNumber:c,issueId:b,deletionReasons:f}}))),3)):(h=q.yieldResult)?y(q,bMc(a,b,c,h.value,(l=d)!=null?l:""),0):q.jumpTo(0)})},bMc=function(a,b,c,d,e){var f,h;return se(function(l){switch(l.nextAddress){case 1:f=a.editIssueService.savingState(b);if(f.get("commentDelete"))return l.return();te(l,2,3);jq(a.butterBar,"Deleting comment...",0);kq(f,"commentDelete");return y(l,a.issueComments.delete(b,c,
d,e),5);case 5:jq(a.butterBar,"Comment deleted. Deleted items may be restored within 30 days."),a.eventsForIssueFridge.poke(b);case 3:ue(l);iJ(f,"commentDelete");a.issueFullFridge.poke(b);ve(l,0);break;case 2:h=we(l),jq(a.butterBar,"Comment deletion failed."),EI(a.errorHandler,h),l.jumpTo(3)}})},aMc=function(a,b){var c,d,e,f,h,l,q,u;return se(function(A){switch(A.nextAddress){case 1:return y(A,Fe(a.issueFullFridge.watch(b,{trustUncertainMemory:!0})),2);case 2:c=A.yieldResult;e=((d=c)==null?void 0:
d.snapshot[0].componentId)||void 0;if(!e){f=void 0;A.jumpTo(3);break}return y(A,Fe(a.componentFridge.watch(e)),4);case 4:f=A.yieldResult;case 3:return h=f,l=new FLc("Other","USER_REQUEST"),h&&h.commentEditState!=="DISABLED"||(l.enabled=!1,l.disabledReason="comment editing must be enabled"),q=new FLc("Spam or Abuse","ABUSE"),a.issuePermissionService.accessLevel()!=="EXTERNAL_PUBLIC"&&(q.enabled=!1,q.disabledReason="available on Public components"),u=new FLc("Personally Identifiable Information","RESTRICTED"),
A.return([u,q,l])}})},dMc=function(a,b,c){var d,e;return se(function(f){if(f.nextAddress==1)return d=fJ(a.issuePermissionService,Sj(c.userPerformingActionUser)),a.analytics.trackEvent("restrictedContent","updateContentJudgement","comment"),y(f,a.showContentJudgementDialog({severity:Lp(c.commentContentVerdict),resourcePath:"issues/"+b+"/comments/"+c.commentNumber,hasAclToCreate:a.issuePermissionService.hasAclToAdmin()||d}),2);if(e=f.yieldResult)c.commentContentVerdict={piiVerdict:{severity:e.contentJudgement.severity}},
a.issueFullFridge.poke(b),a.eventsForIssueFridge.poke(b),SF(a.issueFullFridge,[b],{markRead:!0,userActivityType:"EDIT"});xe(f)})};DS.prototype.showContentJudgementDialog=function(a){return Fe(nI(this.matDialogService.open(IR,{panelClass:"no-jitter",width:"500px",data:a})))};
var eMc=function(a,b,c){var d;return se(function(e){if(e.nextAddress==1)return y(e,Fe(nI(a.matDialogService.open(JR,{width:"500px",data:{resource:b,piiRetention:c}}))),2);d=e.yieldResult;return e.return(d===1)})},fMc=function(a,b,c,d){var e;se(function(f){if(f.nextAddress==1){if(d==null)return f.return();a.analytics.trackEvent("restrictedContent","updateContentJudgement","attachment");return y(f,a.showContentJudgementDialog({severity:Lp(d.contentVerdict),resourcePath:"issues/"+b+"/attachments/"+d.attachmentId,
hasAclToCreate:a.issuePermissionService.hasAclToAdmin()||c}),2)}if(e=f.yieldResult)d.contentVerdict={piiVerdict:{severity:e.contentJudgement.severity}},a.issueFullFridge.poke(b),a.eventsForIssueFridge.poke(b),SF(a.issueFullFridge,[b],{markRead:!0,userActivityType:"EDIT"});xe(f)})};
DS.prototype.showDeleteAttachmentDialog=function(a,b){var c=this,d,e,f,h,l,q;se(function(u){if(u.nextAddress==1){d=c.editIssueService.savingState(a);if(d.get("deleteAttachment")||!b.attachmentId)return u.return();e=Fe;f=c.matDialogService;h=f.open;l=RIc;return y(u,aMc(c,a),3)}return u.nextAddress!=2?y(u,e(nI(h.call(f,l,{width:"560px",data:{deletionReasons:u.yieldResult,attachmentId:b.attachmentId}}))),2):(q=u.yieldResult)?y(u,Hsc(c.editIssueService,a,b,q.value),0):u.jumpTo(0)})};
var gMc=function(a,b){var c=b.issueId;var d=b.componentId;var e=b.comment;var f,h,l;return se(function(q){if(q.nextAddress==1){if(a.issuePermissionService.accessLevel()!=="INTERNAL"||a.issuePermissionService.hasAclToEdit()&&a.issuePermissionService.isImplicitAccessEnabled())return q.return(!0);te(q,2);var u=a.commentFormatter;var A={comment:e.value,issueId:c,audience:(f=a.issuePermissionService.audience())!=null?f:"EXTERNAL",formattingMode:e.formattingMode,idPrefix:"b"+c+"-draft"};u=A.formattingMode===
"LITERAL"||A.comment.trim()===""?Ae([]):Awc(u,A).pipe(z(HLa));return y(q,Fe(u),4)}if(q.nextAddress!=2)return h=q.yieldResult,q.return(Mrc(a.confirmNoAccessService,{componentId:d,userEmails:h,relation:"reader",analyticsEventLabel:"mention"}));l=we(q);EI(a.errorHandler,l);return q.return(!1)})},hMc=function(a,b){b=b===void 0?"comment":b;var c,d;return se(function(e){if((c=a.issuePermissionService.accessLevel())&&c==="INTERNAL"||a.issuePermissionService.hasAclToEdit()||a.activeSession.isInternalSession()||
KC(a.activeSession)||a.dismissalService.isDismissed(aYa(b)))return e.return(!0);switch(b){case "comment":d=wi("Commenting on this bug report means your email address will be shared with the team that works on this product.");break;case "reaction":d=wi("Reacting to this comment means your email address will be shared with the team that works on this product.");break;default:Db(b)}return e.return(Fe(nI(a.matDialogService.open(zR,{width:"500px",data:{content:d,action:b}}))))})};
DS.prototype.submitCommentBox=function(a,b,c,d){var e=this,f,h,l,q;return se(function(u){switch(u.nextAddress){case 1:f=e.editIssueService.savingState(b);if(!e.issuePermissionService.hasAclToComment()||!Src(c)||f.get("comment"))return u.return(!1);kq(f,"comment");h=function(){iJ(f,"comment")};return y(u,gMc(e,{issueId:b,componentId:a,comment:c}),2);case 2:return l=u.yieldResult,l?y(u,hMc(e),3):(h(),u.return(!1));case 3:q=u.yieldResult;if(!q)return h(),u.return(!1);e.analytics.trackEvent("editIssue",
"addComment",c.formattingMode==="MARKDOWN"?"markdown":"non markdown");lq(e.issueInteractionsTracking,b);e.eventsForIssueWatcher.isPaused=!0;return y(u,e.editIssueService.FOR_ISSUE_COMMENT_DIALOGS_SERVICE_ONLY.saveCommentDraft(b,d).finally(function(){h();e.appEvents.commentSubmitted.next(b);e.appEvents.scrollToCommentBox.next()}),4);case 4:return u.return(!0)}})};
DS.prototype.showNewContentJudgementDialog=function(a){var b=this,c,d,e,f,h,l;return se(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",y(q,b.showContentJudgementDialog({severity:h,contentJudgement:void 0,hasAclToCreate:!0}),2);(l=q.yieldResult)&&c.setJudgementForNewContent(l.contentJudgement);xe(q)})};
DS.prototype.updateCommentReaction=function(a){var b=this,c;return se(function(d){return d.nextAddress==1?a.hasReacted?y(d,hMc(b,"reaction"),3):d.jumpTo(2):d.nextAddress==2||(c=d.yieldResult,c)?d.return(b.issueComments.updateCommentReaction(a)):d.return(void 0)})};DS.\u0275fac=function(a){return new (a||DS)};DS.\u0275prov=n({token:DS,factory:DS.\u0275fac,providedIn:"root"});var ES=function(){this.editIssueService=r(kJ);this.issuePicker=r(TP);this.analytics=r(OF);this.butterBar=r(fH)},iMc=function(a,b){var c,d,e,f,h,l,q;return se(function(u){if(u.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(),y(u,a.issuePicker.open(e),2);if(u.nextAddress!=3){h=
u.yieldResult;if((l=h)==null||!l.length)return c.status=d,u.return("DISMISSED");if(b===h[0])return c.status=d,a.butterBar.showWarning("Cannot set issue as a duplicate of itself"),u.return("DISMISSED");q=(new Date).getTime()-f;a.analytics.trackEvent("issuePicker","duplicate duration","<"+Math.min(2*Math.ceil(q/2E3),600)+"s",q);a.analytics.trackEvent("editIssue","setCanonicalIssue");bmc(a.analytics,"DUPLICATE");return y(u,ysc(a.editIssueService,b,h[0]),3)}return u.return("DUPLICATE")})};
ES.\u0275fac=function(a){return new (a||ES)};ES.\u0275prov=n({token:ES,factory:ES.\u0275fac,providedIn:"root"});var FS=function(){var a=this;this.componentFridge=r(uD);this.issueEditComponentService=r(xR);this.trackerHelpers=r(yH);this.activeSession=r(Bu);this.componentId$=new Tf(1);this.showPickerOverlayAbove=this.viewOnly=!1;this.handleSave=!0;this.compactMode$=new Xi(!1);this.componentChanged=new aB;this.editing=!1;this.component$=this.componentId$.pipe(Yf(function(b){return a.componentFridge.watch(b).pipe(Xf(void 0))}));this.isArchived$=this.component$.pipe(z(function(b){return b==null?void 0:b.archived}));
this.showPublicIndicator$=this.component$.pipe(z(function(b){var c;b=b==null?void 0:(c=b.accessLimit)==null?void 0:c.accessLevel;return b==null||a.activeSession.isExternalSession()?!1:a.activeSession.isInternalSession()||KC(a.activeSession)?b==="EXTERNAL_PUBLIC":!1}));this.showPartnerIndicator$=this.component$.pipe(z(function(b){var c;b=b==null?void 0:(c=b.accessLimit)==null?void 0:c.accessLevel;return b==null||a.activeSession.isExternalSession()||KC(a.activeSession)?!1:a.activeSession.isInternalSession()?
b==="EXTERNAL_PARTNER":!1}));this.folder$=Ie([this.showPublicIndicator$,this.showPartnerIndicator$]).pipe(z(function(b){var c=k(b);b=c.next().value;c=c.next().value;return b?{icon:"folder_shared_24px",tooltip:"Public component. Issues can be made visible to public Google Search."}:c?{icon:"folder_shared_24px",tooltip:"Partner component. Issues can be made visible to Google partners."}:Hp(a.activeSession)?{icon:"folder_special_24px",tooltip:"This component is inside a tracker"}:{icon:"folder",tooltip:""}}),
Xf({icon:"folder",tooltip:""}));this.componentPath$=Ie([this.componentId$,this.component$,this.compactMode$]).pipe(z(function(b){var c=k(b);b=c.next().value;var d=c.next().value;c=c.next().value;if(d==null)return gr({componentPathId:[Number(b)]});b=ou(a.trackerHelpers,d.componentPathInfo);b=gr(b);if(c){c=[];d=0;for(var e=b.length-1;e>=0;e--){var f=b[e],h=e===b.length-1?48:32;if(d>=h)break;var l=String(f.name),q=void 0;if(d+[].concat(t(l)).length>h){var u=h-d;h="";l=l===void 0?"":l;u=u===void 0?48:
u;h=h===void 0?"...":h;q=[].concat(t(l));q.length<=u||(l=u-[].concat(t(h)).length,l=q.slice(-l).join(""),String.prototype.trimStart!=null&&(l=l.trimStart()),l=h+l);q=!0}d+=[].concat(t(l)).length;c.unshift(Object.assign({},f,{name:l,isTruncated:q}));if(q)break}b.length>c.length&&(c[0].isSpliced=!0);b=c}return b}));this.isEmpty$=this.component$.pipe(z(function(b){return!b}));this.isThinkingAndEmpty$=Ie([this.componentFridge.thinking$,this.isEmpty$]).pipe(z(function(b){var c=k(b);b=c.next().value;c=
c.next().value;return b&&c}));this.isReady$=this.isThinkingAndEmpty$.pipe(z(function(b){return!b}))};FS.prototype.ngOnInit=function(){};var cZa=function(a,b){a.editing=!1;(b=b==null?void 0:b.componentId)&&(a.handleSave?a.issueEditComponentService.updateComponent(a.issueId,b):a.componentChanged.emit(b))};da.Object.defineProperties(FS.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)}}});
FS.\u0275fac=function(a){return new (a||FS)};
FS.\u0275cmp=C({type:FS,selectors:[["b-component-breadcrumb-chip"]],inputs:{componentId:"componentId",issueId:"issueId",viewOnly:"viewOnly",popoutLink:"popoutLink",showPickerOverlayAbove:"showPickerOverlayAbove",handleSave:"handleSave",compactMode:"compactMode"},outputs:{componentChanged:"componentChanged"},standalone:!1,decls:2,vars:1,consts:[["card",""],["cardBody",""],[3,"isReady"],["placeholder","Choose Component",3,"selectedComponent","isRequired","shouldFocus","showOverlayAbove"],[1,"b-chip",
"squared","s"],["title","Component folder path",1,"icon-xs",3,"svgIcon","matTooltip"],[1,"component-path"],["type","button","mat-icon-button","","aria-label","Change Component","matTooltip","Change Component",1,"edit-btn"],["mat-icon-button","","aria-label","View Component (Link opens in a new window)","matTooltip","View Component","target","_blank",1,"small","pop-out-btn",3,"routerLinkObj"],["href","javascript:void(0);","title","Show all Components","role","button",1,"subtle-link"],[1,"subtle-link",
3,"routerLinkObj","onedevHovercardTrigger","muted"],[1,"view-only-component",3,"muted"],[4,"onedevHovercardLazyBody"],["href","javascript:void(0);","title","Show all Components","role","button",1,"subtle-link",3,"click"],[1,"subtle-link",3,"routerLinkObj","onedevHovercardTrigger"],[1,"view-only-component"],[3,"onedevIsHovercardReady","componentId"],["type","button","mat-icon-button","","aria-label","Change Component","matTooltip","Change Component",1,"edit-btn",3,"click"],["svgIcon","edit-outline",
1,"icon-xxs"],["svgIcon","pop-out",1,"icon-xs"],["placeholder","Choose Component",3,"selectedComponentChange","dropdownClosed","selectedComponent","isRequired","shouldFocus","showOverlayAbove"]],template:function(a,b){a&1&&D(0,bZa,13,22,"b-async-data-placeholder",2)(1,dZa,2,6,"b-team-component-picker",3);a&2&&G(b.editing?1:0)},dependencies:[nH,pB,iC,eB,my,ly,tR,$H,aI,fI,bI,mB,rB,nR,ew],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 Br={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"},jMc={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"},eZa=[Br,{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"},jMc];var GS=function(){Z.call(this);var a=this;this.defaultAccessLimitLevel$=new Tf(1);this.disabled=!0;this.implicitAccessEnabled=!1;this.updatedAccessLimitLevel=new aB;this.selectedDisplay$=new Xi(null);this.displays=eZa;this.disabledDropdownTooltip="Only users with Issue Admin permission can adjust restriction levels.";this.currentIssueAccessLimitLevelDisplay$=Ie([this.selectedDisplay$,this.defaultAccessLimitLevel$]).pipe(z(function(c){var d=k(c);c=d.next().value;d=d.next().value;return c?c:kMc(a,d)}));
this.issueAccessLimitLevelDisplayTitle$=this.currentIssueAccessLimitLevelDisplay$.pipe(z(function(c){return c.title}));var b=r(cf);this.defaultAccessLimitLevel$.pipe(Bh(b)).subscribe(function(c){a.selectedDisplay$.next(kMc(a,c))})};Y(GS,Z);GS.\u0275dir=Z.\u0275dir;var kMc=function(a,b){a=k(a.displays);for(var c=a.next();!c.done;c=a.next())if(c=c.value,c.accessLevel===b)return c;return Br};da.Object.defineProperties(GS.prototype,{defaultAccessLimitLevel:{configurable:!0,enumerable:!0,set:function(a){this.defaultAccessLimitLevel$.next(a)}}});
GS.\u0275fac=function(a){return new (a||GS)};
GS.\u0275cmp=C({type:GS,selectors:[["b-issue-access-limits-dropdown"]],inputs:{defaultAccessLimitLevel:"defaultAccessLimitLevel",disabled:"disabled",implicitAccessEnabled:"implicitAccessEnabled"},outputs:{updatedAccessLimitLevel:"updatedAccessLimitLevel"},standalone:!1,features:[cg],decls:14,vars:9,consts:[["accessLimitsMenu","matMenu"],[1,"access-limits-dropdown"],["mat-button","","mat-stroked-button","","dropdown-menu-button","","type","button",1,"access-limits-dropdown-button","gmat-mdc-button",
"small",3,"matMenuTriggerFor","disabled"],[1,"selected-access-limit-level-title"],["svgIcon","acl-alias-domain",1,"icon-s"],[1,"selected-access-limit-level-title-text"],["iconPositionEnd","","svgIcon","arrow-dropdown",1,"icon-s"],["svgIcon","help-outline","tabindex","0","aria-hidden","false",1,"icon-s","valign-middle",3,"matTooltip"],[1,"access-limit-level-options"],["type","button","mat-menu-item","",1,"access-limit-level-option"],["type","button","mat-menu-item","",1,"access-limit-level-option",
3,"click"],[1,"access-limit-level-title"],[1,"icon-s",3,"svgIcon"],[1,"access-limit-level-title-text"],[1,"access-limit-level-description"]],template:function(a,b){a&1&&(I(0,"div",1)(1,"button",2),S(2,"async"),I(3,"span",3),K(4,"mat-icon",4),I(5,"span",5),Q(6),S(7,"async"),J()(),K(8,"mat-icon",6),J(),D(9,fZa,1,1,"mat-icon",7),I(10,"mat-menu",8,0),yg(12,gZa,7,3,"button",9,xg),J()());if(a&2){var c;a=L(11);B();E("matMenuTriggerFor",a)("disabled",b.disabled);jg("aria-label","Issue Access level, "+((c=
(c=U(2,5,b.selectedDisplay$))==null?null:c.title)!==null&&c!==void 0?c:"Default access"));B(5);R(" ",U(7,7,b.issueAccessLimitLevelDisplayTitle$)," ");B(3);G(b.disabled?9:-1);B(3);zg(b.displays)}},dependencies:[pB,eB,jy,xL,IL,GL,JL,mB,rB,ew],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 HS=function(){Z.apply(this,arguments);var a=this;this.errorHandler=r(CI);this.activeSession=r(Bu);this.issueApi=r(ME);this.issueFullFridge=r(QF);this.componentFridge=r(uD);this.trackerFridge=r(NG);this.eventsForIssueFridge=r(NE);this.issuePermissionService=r(gJ);this.snackBar=r(cH);this.dialogRef=r(mI);this.data=r(sI);this.analytics=r(OF);this.confirmationDialogService=r(AI);this.jspbPrincipalTypes=r(oG);this.defaultAccessLimitLevel="LIMIT_NONE";this.COLLABORATOR_GROUPS_TOOLTIP="Collaborator groups are trusted groups that are configured by tracker admins only. Select and add these groups if they should be given collaborator access to this issue.";
this.writers=[];this.appenders=[];this.readers=[];this.currentUserEmail=this.activeSession.getUserEmail();this.isImplicitAccessEnabled$=this.issuePermissionService.isImplicitAccessEnabled$;this.hasAclToAdmin$=this.issuePermissionService.hasAclToAdmin$;this.issueId=this.data.issueId;this.issue$=this.issueFullFridge.watch(this.issueId);this.currentAccessLimitLevel$=this.issue$.pipe(z(function(b){var c;return(c=b==null?void 0:b.snapshot[0].issueAccessLimitLevel)!=null?c:a.defaultAccessLimitLevel}));
this.updatedAccessLimitLevel$=new Xi(this.defaultAccessLimitLevel);this.hasAccessLimitLevelSelectionChanged$=Ie([this.currentAccessLimitLevel$,this.updatedAccessLimitLevel$]).pipe(z(function(b){var c=k(b);b=c.next().value;c=c.next().value;return b!==c}));this.componentId=this.data.componentId;this.component$=this.componentFridge.watch(this.componentId);this.trackerId$=this.component$.pipe(z(function(b){return b==null?void 0:b.trackerId}));this.tracker$=this.trackerId$.pipe(Yf(function(b){return b?
a.trackerFridge.watch(b):Ae(void 0)}));this.collaboratorGroupsEmailToDetailsMap=new Map;this.addedCollaboratorGroups=new Set;this.removedCollaboratorGroups=new Set;this.expandedAccessTooltip$=this.isImplicitAccessEnabled$.pipe(z(function(b){return b?"This component has expanded access enabled. Assignees, verifiers, and collaborators can edit issues, and CC'd users can add comments.":"This component has expanded access disabled. Being listed on the issue does not confer any additional access privileges."}))};
Y(HS,Z);HS.\u0275dir=Z.\u0275dir;
HS.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.currentAccessLimitLevel$.subscribe(function(b){a.updatedAccessLimitLevel$.next(b);hZa(a,b)}));this.subscriptions.add(Ie([this.tracker$,this.issue$]).subscribe(function(b){var c=k(b);b=c.next().value;c=c.next().value;a.updateCollaboratorGroups(b,c)}));this.subscriptions.add(this.hasAccessLimitLevelSelectionChanged$.subscribe(function(b){a.dialogRef.disableClose=b}));this.analytics.trackEvent("issueAccessLimits","view","issue_access_limits_dialog:"+
this.issueId)};
HS.prototype.updateCollaboratorGroups=function(a,b){var c=this,d,e,f,h;se(function(l){if(l.nextAddress==1){c.collaboratorGroupsEmailToDetailsMap.clear();c.addedCollaboratorGroups.clear();c.removedCollaboratorGroups.clear();if(a&&a.collaboratorGroups)for(d=k(a.collaboratorGroups),e=d.next();!e.done;e=d.next())f=e.value,f.emailAddress&&c.collaboratorGroupsEmailToDetailsMap.set(f.emailAddress,{user:f,specifiedOnIssue:!1});return b&&b.snapshot&&b.snapshot[0].collaboratorsUsers?y(l,lMc(c,b.snapshot[0].collaboratorsUsers),
3):l.jumpTo(0)}h=l.yieldResult;h.forEach(function(q){c.collaboratorGroupsEmailToDetailsMap.set(q.emailAddress,{user:q,specifiedOnIssue:!0})});xe(l)})};
var lMc=function(a,b){var c,d;return se(function(e){if(e.nextAddress==1)return c=b.map(function(f){return f.emailAddress}).filter(ik),y(e,ync(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"}))})},mMc=function(a){return a?"Expanded access on":"Expanded access off"},kZa=function(a,b){return a.addedCollaboratorGroups.size>0||a.removedCollaboratorGroups.size>0||b===
!0},hZa=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=qq(c.writers);a.appenders=qq(c.appenders);a.readers=qq(c.readers)},function(c){EI(a.errorHandler,
c)})};g=HS.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=mq({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:wi(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){EI(a.errorHandler,b)})};g.didSave=function(){this.snackBar.open("Successfully saved access configuration",void 0,{duration:2500});this.issueFullFridge.poke(this.issueId);this.eventsForIssueFridge.poke(this.issueId)};g.onPressCancel=function(){this.dialogRef.close()};HS.\u0275fac=function(){var a;return function(b){return(a||(a=ee(HS)))(b||HS)}}();
HS.\u0275cmp=C({type:HS,selectors:[["b-issue-access-limits-dialog"]],hostBindings:function(a,b){a&1&&M("keydown.escape",function(){return b.onEscape()})},standalone:!1,features:[cg],decls:38,vars:42,consts:[[1,"bv2-issue-limits-title"],[1,"lock-circle"],["svgIcon","lock","color","text-primary"],[1,"issue-limits-dialog-title-txt"],[3,"issueId","componentId","compactMode","popoutLink","viewOnly"],[1,"expanded-access"],[1,"expanded-access-txt"],["svgIcon","help-outline","tabindex","0","aria-hidden",
"false","aria-label","Help","role","button",1,"icon-s","valign-middle",3,"matTooltip"],[3,"updatedAccessLimitLevel","disabled","defaultAccessLimitLevel","implicitAccessEnabled"],[1,"user-display-area"],[1,"limit-users-title"],["idForInputBox","Users who can edit, comment, and view",3,"users","includeAliases","includeViewAliases"],["idForInputBox","Users who can comment and view",3,"users","includeAliases","includeViewAliases"],["idForInputBox","Users who can only view",3,"users","includeAliases",
"includeViewAliases"],["mat-dialog-actions",""],["type","button","mat-button","",1,"medium","close"],[1,"collaborator-groups-title"],[1,"collaborator-groups-checkboxes"],[1,"collaborator-group-checkbox",3,"id","name","checked"],[1,"collaborator-group-checkbox",3,"click","change","id","name","checked"],["type","button","mat-button","",1,"medium","cancel",3,"click"],["type","button","mat-flat-button","","color","primary",1,"medium","confirm",3,"click","disabled"],["type","button","mat-button","",1,
"medium","close",3,"click"]],template:function(a,b){a&1&&(I(0,"div",0)(1,"span",1),K(2,"mat-icon",2),J(),I(3,"h2",3),Q(4,"Issue access level"),J()(),I(5,"mat-dialog-content")(6,"div"),K(7,"b-component-breadcrumb-chip",4),I(8,"span",5),S(9,"async"),I(10,"span",6),Q(11),S(12,"async"),J(),K(13,"mat-icon",7),S(14,"async"),J()(),I(15,"b-issue-access-limits-dropdown",8),S(16,"async"),S(17,"async"),S(18,"async"),M("updatedAccessLimitLevel",function(h){b.updatedAccessLimitLevel$.next(h);hZa(b,h)}),J(),D(19,
jZa,8,3),S(20,"async"),I(21,"div",9)(22,"div")(23,"div",10),Q(24,"Users who can edit, comment, and view"),J(),K(25,"b-multi-user-input",11),J(),I(26,"div")(27,"div",10),Q(28,"Users who can comment and view"),J(),K(29,"b-multi-user-input",12),J(),I(30,"div")(31,"div",10),Q(32,"Users who can only view"),J(),K(33,"b-multi-user-input",13),J()()(),I(34,"div",14),D(35,lZa,5,3),S(36,"async"),D(37,mZa,2,0,"button",15),J());if(a&2){var c,d,e,f;B(7);E("issueId",b.issueId)("componentId",b.data.componentId)("compactMode",
!0)("popoutLink",b.manageComponentAccessRouterLink)("viewOnly",!0);B();sg("expanded-access-on",U(9,26,b.isImplicitAccessEnabled$));B(3);Yg(mMc((c=U(12,28,b.isImplicitAccessEnabled$))!==null&&c!==void 0?c:!1));B(2);E("matTooltip",(d=U(14,30,b.expandedAccessTooltip$))!==null&&d!==void 0?d:"");B(2);E("disabled",!U(16,32,b.hasAclToAdmin$))("defaultAccessLimitLevel",(e=U(17,34,b.currentAccessLimitLevel$))!==null&&e!==void 0?e:b.defaultAccessLimitLevel)("implicitAccessEnabled",(f=U(18,36,b.isImplicitAccessEnabled$))!==
null&&f!==void 0?f:!1);B(4);G(b.collaboratorGroupsEmailToDetailsMap.size>0&&U(20,38,b.hasAclToAdmin$)?19:-1);B(6);E("users",b.writers)("includeAliases",!1)("includeViewAliases",!1);jg("disabled",!0);B(4);E("users",b.appenders)("includeAliases",!1)("includeViewAliases",!1);jg("disabled",!0);B(4);E("users",b.readers)("includeAliases",!1)("includeViewAliases",!1);jg("disabled",!0);B(2);G(U(36,40,b.hasAclToAdmin$)?35:37)}},dependencies:[GS,pB,FS,eB,jy,yI,xI,mB,rB,TK,RH,SH,ew,jw],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 IS=function(){this.dialog=r(tI);this.dialogRef=null};IS.prototype.open=function(a){this.dialogRef=this.dialog.open(HS,{panelClass:"no-jitter",data:a,ariaLabel:"Issue access level"})};IS.prototype.isOpen=function(){return this.dialogRef?this.dialogRef.getState()===0:!1};IS.\u0275fac=function(a){return new (a||IS)};IS.\u0275prov=n({token:IS,factory:IS.\u0275fac,providedIn:"root"});var JS=function(){this.buttonRef=r(ef);this.toRefocus=!1};JS.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}))};JS.\u0275fac=function(a){return new (a||JS)};
JS.\u0275dir=Df({type:JS,selectors:[["button","disabled","","focusBack",""]],inputs:{disabled:"disabled"},standalone:!1,features:[rv]});var KS=function(){this.activeSession=r(Bu);this.cdr=r(Ov);this.disabled=this.starred=!1;this.acceptInput=!0;this.starMessage="Star the issue";this.unStarMessage="Un-star the issue";this.starClicked=new aB;this.isAnonymous=this.activeSession.isAnonymous()};g=KS.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};KS.\u0275fac=function(a){return new (a||KS)};
KS.\u0275cmp=C({type:KS,selectors:[["b-star-toggle"]],inputs:{starred:"starred",disabled:"disabled",acceptInput:"acceptInput",starMessage:"starMessage",unStarMessage:"unStarMessage"},outputs:{starClicked:"starClicked"},standalone:!1,decls:4,vars:7,consts:[["tooltip","matTooltip"],[1,"inline-block",3,"matTooltip"],["type","button","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=v();I(0,"div",1,0)(2,"button",2);M("keydown.enter",function(d){w(c);return x(b.onEnter(d))})("click",function(d){w(c);return x(b.onClick(d))})("focus",function(){w(c);var d=L(1);return x(d.show())})("blur",function(){w(c);var d=L(1);return x(d.hide())});K(3,"mat-icon",3);J()()}a&2&&(E("matTooltip",b.getLabel()),B(2),sg("starred",b.starred),E("disabled",b.isDisabled()),jg("aria-label",b.getAriaLabel())("aria-checked",b.starred),B(),E("svgIcon",b.starred?"star-filled":"star-empty"))},dependencies:[pB,
eB,ly,mB,rB,JS],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 LS=function(){this.activeSession=r(Bu);this.ROUTES=Qq;this.isCompact=!1;this.starClicked=new aB;this.currentUserEmail=this.activeSession.getUserEmail()};LS.prototype.ngOnInit=function(){};LS.prototype.isDirectAdmin=function(a){return a?Qj(a.adminUsers).includes(this.currentUserEmail):!1};LS.prototype.shouldShowStar=function(a){return!this.isDirectAdmin(a)&&!a.archived};LS.\u0275fac=function(a){return new (a||LS)};
LS.\u0275cmp=C({type:LS,selectors:[["hotlist-matlist-option"]],inputs:{hotlist:"hotlist",isCompact:"isCompact",starredHotlists:"starredHotlists",isSavingStar:"isSavingStar"},outputs:{starClicked:"starClicked"},standalone:!1,decls:1,vars:1,consts:[[1,"hotlist-matlist-option"],[1,"title-line"],[1,"overflow-ellipsis"],[1,"hotlist-link-and-star","flex-kids-x","align-items-center","gap-xs"],[1,"valign-middle",3,"starMessage","unStarMessage","acceptInput","starred"],["matTooltip","Open hotlist in a new tab",
"target","_blank",1,"keep-focus-ring",3,"click","keydown.enter","routerLink"],["svgIcon","pop-out",1,"icon-s"],[1,"line-clamp-2","muted","type-s"],[1,"valign-middle",3,"starClicked","starMessage","unStarMessage","acceptInput","starred"]],template:function(a,b){a&1&&D(0,pZa,9,4,"div",0);a&2&&G(b.hotlist?0:-1)},dependencies:[pB,VA,KS,mB,rB,ew],encapsulation:2,changeDetection:0});var nMc=function(){this.tokens=new Map};nMc.prototype.add=function(a,b){var c=this.tokens.get(a);c?c.push(b):this.tokens.set(a,[b]);return this};nMc.prototype.build=function(){var a=this,b=Array.from(this.tokens.keys()).sort();return new oMc(b.map(function(c){return{token:c,labels:a.tokens.get(c)}}))};var oMc=function(a){this.sortedEntries=a};
oMc.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};oMc.prototype.search=function(a){var b=new Set;a=k(this.match(a));for(var c=a.next();!c.done;c=a.next()){c=k(c.value.labels);for(var d=c.next();!d.done;d=c.next())b.add(d.value)}return b};
var pMc=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(t(a.search(b[d]))).filter(function(f){return c.has(f)});c=new Set(e)}return c};var qMc=function(a){this.hotlists=a;var b=new nMc,c=new nMc;a=k(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=void 0,f=((e=d.name)==null?0:e.trim())?aJa(d.name.toLowerCase()):[];e=k(f);for(f=e.next();!f.done;f=e.next())b.add(f.value,d);e=void 0;f=((e=d.description)==null?0:e.trim())?aJa(d.description.toLowerCase()):[];e=k(f);for(f=e.next();!f.done;f=e.next())c.add(f.value,d)}this.nameTokenMatcher=b.build();this.descriptionTokenMatcher=c.build();this.positions=new Map(this.hotlists.map(function(h,
l){return[h,l]}))};
qMc.prototype.search=function(a){a=a.toLowerCase();for(var b=new Set,c=k(this.hotlists),d=c.next();!d.done;d=c.next()){d=d.value;var e=void 0,f=(e=d.name)==null?void 0:e.toLowerCase(),h=void 0;e=(h=d.description)==null?void 0:h.toLowerCase();h=d.hotlistId;var l=void 0,q=void 0;(Sta(a)&&String(h).includes(a)||((l=f)==null?0:l.includes(a))||((q=e)==null?0:q.includes(a)))&&b.add(d)}a=aJa(a);c=k(pMc(this.nameTokenMatcher,a));for(d=c.next();!d.done;d=c.next())b.add(d.value);a=k(pMc(this.descriptionTokenMatcher,a));
for(c=a.next();!c.done;c=a.next())b.add(c.value);return rMc(this,b)};var rMc=function(a,b){return[].concat(t(b)).sort(function(c,d){c=a.positions.get(c);d=a.positions.get(d);return c===d?0:c<d?-1:1})};var MS=function(){this.innerHeight$=Me(Ne(function(){return Ae(window.innerHeight)}),Pe(window,"resize").pipe(z(function(){return window.innerHeight})))};MS.\u0275fac=function(a){return new (a||MS)};MS.\u0275prov=n({token:MS,factory:MS.\u0275fac,providedIn:"root"});var CZa=function(a,b){return b.hotlistId},sMc={USER:"USER",ISSUE:"ISSUE",RECOMMENDED:"RECOMMENDED"},NS=function(){Z.call(this);var a=this;this.dialogRef=r(mI);this.data=r(sI);this.paths=r(IP);this.hotlistFridge=r(UD);this.currentUserBookmarksFridge=r(ZD);this.hotlistApi=r(PD);this.snackBar=r(cH);this.appEvents=r(yD);this.errorHandler=r(CI);this.userApi=r(TD);this.windowHeight=r(MS);this.permissionsFridge=r(nG);this.activeSession=r(Bu);this.isInternalSession=this.activeSession.isInternalSession();
this.HotlistType=sMc;this.NO_ACCESS_MESSAGE="You don't have permissions to add/remove issues on this hotlist.";this.showCreateNewPane=!1;this.query$=new Xi("");this.debouncedQuery$=this.query$.pipe(Lf(100),Xf(""));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 Ky({name:new My("",Cy),description:new My("")});this.starredHotlists=new IC;this.isSavingStar=new IC;this.userHotlists$=$D(this.currentUserBookmarksFridge).pipe(z(function(b){return b.sort(MZa)}));this.issueHotlists$=this.hotlistFridge.watchSet(Array.from(this.data.selectedHotlistIds)).pipe(z(function(b){return b.sort(MZa)}));this.combineHotlistsWithPermissions=z(function(b){var c=
a.permissionsFridge.watchSet(b.map(function(d){return"hotlists/"+d.hotlistId}));return b.map(function(d,e){return Object.assign({},d,{permissions$:c.pipe(z(function(f){return f[e]}))})})});this.recommendedHotlists$=this.data.recommendedHotlists$;this.hotlists$=Ie([this.issueHotlists$,this.recommendedHotlists$,this.userHotlists$]).pipe(z(function(b){var c=k(b);b=c.next().value;var d=c.next().value;c=c.next().value;return[].concat(t(b.map(function(e){return Object.assign({},e,{type:"ISSUE"})})),t(d.map(function(e){return Object.assign({},
e,{type:"RECOMMENDED"})})),t(c.map(function(e){return Object.assign({},e,{type:"USER"})})))}),z(zua(function(b){return b.hotlistId})),z(function(b){return b.filter(ik)}),this.combineHotlistsWithPermissions,Vf({bufferSize:1,refCount:!0}));this.hotlistQuerySearcher$=this.hotlists$.pipe(z(function(b){return new qMc(b)}),Vf({bufferSize:1,refCount:!0}));this.forceShowOverflow$=new Uf;this.matchedHotlists$=Ie([this.debouncedQuery$,this.hotlistQuerySearcher$,this.hotlists$]).pipe(z(function(b){var c=k(b);
b=c.next().value;var d=c.next().value;c=c.next().value;return b.trim()!==""?d.search(b):c}),Vf({bufferSize:1,refCount:!0}));this.visibleHotlists$=Ie([this.matchedHotlists$,Te(this.matchedHotlists$.pipe(z(function(){return!1})),this.forceShowOverflow$)]).pipe(z(function(b){var c=k(b);b=c.next().value;c=c.next().value;return b.length>200&&!c?b.slice(0,200):b}),Vf({bufferSize:1,refCount:!0}));this.isOverflowMode$=Ie([this.matchedHotlists$,this.visibleHotlists$]).pipe(z(function(b){var c=k(b);b=c.next().value;
c=c.next().value;return b.length!==c.length}));this.showLoadById$=this.query$.pipe(z(function(b){b=b.trim();return!a.allHotlistIds.has(Number(b))&&Sta(b)}));this.showCreateNew$=Ie([this.query$,this.matchedHotlists$]).pipe(z(function(b){var c=k(b);b=c.next().value;c=c.next().value;return NZa(b,c)}));this.compactNumberOfHotlistsToShow$=this.windowHeight.innerHeight$.pipe(z(function(b){return Math.max(1,Math.floor(b*.5/24))}),Pf());this.compactNumberOfHotlistsToShow$.pipe(z(function(b){return b*24}));
this.subscriptions.add(this.hotlists$.subscribe(function(b){a.hotlists=b;b=k(b);for(var c=b.next();!c.done;c=b.next())a.allHotlistIds.add(c.value.hotlistId)}))};Y(NS,Z);NS.\u0275dir=Z.\u0275dir;NS.prototype.ngOnInit=function(){var a=this;tMc(this);this.query$.pipe(Zf(this.destroyed$)).subscribe(function(){a.hotlistUnderEdit.setValue({name:a.query$.value,description:""})})};
NS.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=Hta(this.originalIds,this.selectedHotlistIds);this.pristine=!a;var c=k(OZa(a));a=c.next().value;c=c.next().value;this.saveBtnLabel=a;this.saveBtnTooltip=c};
var Dr=function(a){a.dialogRef.close(a.usePreviousSelectedHotlists?a.previousSelectedHotlistIds:a.selectedHotlistIds)},JZa=function(a){var b;return(a=(b=a.hotlistUnderEdit.get("name"))==null?void 0:b.value)?a:""},uMc=function(a){var b;return(a=(b=a.hotlistUnderEdit.get("description"))==null?void 0:b.value)?a:""},IZa=function(a){a.snackBar.open("Saving hotlist...","dismiss",{duration:0});var b=JZa(a),c=uMc(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)})},tMc=function(a){Fe(qjc(a.currentUserBookmarksFridge)).then(function(b){a.starredHotlists.clear();for(var c=k(b.hotlists),d=c.next();!d.done;d=c.next()){d=d.value;var e=Number(d.id);d.starred&&a.starredHotlists.add(e)}b=k(b.bookmarkGroups);for(c=b.next();!c.done;c=b.next())for(c=k(c.value.sublinks||
[]),d=c.next();!d.done;d=c.next())d=d.value,d.starred&&a.starredHotlists.add(Number(d.id))}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
NS.prototype.toggleStar=function(a){var b=this,c,d,e;return se(function(f){switch(f.nextAddress){case 1:c=b.starredHotlists.has(a);d={resourceType:"HOTLIST",resourceId:a};te(f,2,3);b.isSavingStar.add(a);if(c)return b.starredHotlists.delete(a),y(f,b.userApi.removeUserBookmark(d),3);b.starredHotlists.add(a);return y(f,b.userApi.addUserBookmark(d),3);case 3:ue(f);b.isSavingStar.delete(a);ve(f,4);break;case 2:e=we(f);EI(b.errorHandler,e);f.jumpTo(3);break;case 4:b.appEvents.hotlistChanged.next(),b.appEvents.favoritesModified.next(),
xe(f)}})};var sZa=function(a,b){a.hotlistApi.get(b).then(function(c){a.hotlists.push(c);a.selectedHotlistIds.add(c.hotlistId);Dr(a)}).catch(function(c){a.errorHandler.errorHandler(null,c)})};NS.\u0275fac=function(a){return new (a||NS)};
NS.\u0275cmp=C({type:NS,selectors:[["ng-component"]],hostBindings:function(a,b){a&1&&M("keydown.meta.enter",function(){return Dr(b)})("keydown.shift.enter",function(){return Dr(b)})("keydown.control.enter",function(){return Dr(b)})},standalone:!1,features:[cg],decls:11,vars:2,consts:[["createNewHotlistBtn",""],["createNewHotlistPane",""],["searchBox",""],["content",""],["tooltip","matTooltip"],["type","button","mat-button","","mat-dialog-close","","tooltip","Dismiss modal","aria-label","Dismiss modal",
"role","button",3,"click"],["type","button","mat-flat-button","","color","primary",3,"mat-dialog-close","matTooltip","disabled"],[4,"ngTemplateOutlet"],["mat-dialog-title",""],[1,"search-container"],["svgIcon","search"],["type","search","spellcheck","false","autocomplete","off","aria-label","Filter hotlists","placeholder","Type to filter hotlists from your sidebar",1,"search-box",3,"input"],["mat-dialog-content","",1,"search-results"],["type","button",1,"load-from-id-btn"],["type","button",1,"create-new-hotlist-btn"],
["type","button",1,"load-from-id-btn",3,"click"],[1,"muted"],["type","button",1,"create-new-hotlist-btn",3,"click"],[3,"selectionChange","keydown.meta.enter","keydown.shift.enter","keydown.control.enter"],[3,"matTooltip"],[1,"margin-top","kids-x"],[3,"class"],["checkboxPosition","before",3,"selected","disabled","value","height"],["svgIcon","issue-status-new",1,"icon-s","vertical-centered"],["svgIcon","star-filled",1,"icon-s","canned-search-icon"],[1,"icon-s"],["checkboxPosition","before",3,"focus",
"blur","selected","disabled","value"],[3,"starClicked","hotlist","isCompact","starredHotlists","isSavingStar"],["type","button",1,"force-show-overflow-btn",3,"click"],["type","button","mat-flat-button","","color","primary",3,"click","mat-dialog-close","matTooltip","disabled"],["type","button","mat-flat-button","","color","primary","matTooltip","Create new hotlist","aria-label","Create",3,"click","disabled"],["mat-dialog-content",""],[1,"create-hotlist-pane"],[3,"formGroup"],["for","hotlist-name"],
"type text autofocus autofocus id hotlist-name required  aria-required true formControlName name".split(" "),["for","hotlist-description",1,"margin-s-top"],["id","hotlist-description","formControlName","description"]],template:function(a,b){if(a&1){var c=v();D(0,rZa,1,1,"ng-container")(1,EZa,15,9);I(2,"mat-dialog-actions")(3,"button",5);M("click",function(){w(c);b.dialogRef.close();return x()});Q(4," Cancel ");J();D(5,GZa,1,1,"ng-container")(6,HZa,2,5,"button",6);J();D(7,KZa,2,1,"ng-template",null,
0,ih)(9,LZa,14,1,"ng-template",null,1,ih)}a&2&&(G(b.showCreateNewPane?0:1),B(5),G(b.showCreateNewPane?5:6))},dependencies:[dw,pB,uI,wI,yI,xI,eB,jy,IQ,PQ,OQ,Oy,oi,Gy,Hy,Yy,Ty,Uy,mB,rB,LS,ew],styles:[".left-padding[_ngcontent-%COMP%]{padding-left:10px}[_nghost-%COMP%]     .mat-mdc-dialog-content{width:500px;overflow-y:overlay}[_nghost-%COMP%]     .mat-mdc-dialog-title{margin:0}[_nghost-%COMP%]     .mat-mdc-dialog-title::before{height:unset}[_nghost-%COMP%]     .mat-mdc-dialog-title h2{margin-top:0;margin-bottom:8px}[_nghost-%COMP%]     .search-container{background-color:#f1f3f4;background-color:var(--main-search-bg);display:flex;flex-direction:row;justify-content:center;align-items:center;border-radius:8px;width:100%;height:40px}[_nghost-%COMP%]     .search-container mat-icon{margin-left:8px}[_nghost-%COMP%]     .search-container input.search-box{color:#202124;color:var(--text-high-contrast);outline:none;border:none;background-color:rgba(0,0,0,0);margin-left:5px;height:100%;width:100%;padding-right:4px}[_nghost-%COMP%]     .search-results mat-list-option .title-line{display:flex;align-items:center;justify-content:space-between;height:24px}[_nghost-%COMP%]     .search-results mat-list-option a, [_nghost-%COMP%]     .search-results mat-list-option mat-icon{height:17px;line-height:17px}[_nghost-%COMP%]     .search-results mat-list-option p{font-size:.75rem;margin-top:-2px;line-height:1.2}[_nghost-%COMP%]     .search-results mat-list-option .hotlist-link-and-star{visibility:hidden}[_nghost-%COMP%]     .search-results mat-list-option .hotlist-link-and-star a{margin-right:2px}[_nghost-%COMP%]     .search-results mat-list-option .hotlist-link-and-star a mat-icon{margin-top:-2px}[_nghost-%COMP%]     mat-list-option:focus-within .hotlist-link-and-star, [_nghost-%COMP%]     mat-list-option:hover .hotlist-link-and-star{visibility:unset}[_nghost-%COMP%]     .create-new-hotlist-btn, [_nghost-%COMP%]     .load-from-id-btn, [_nghost-%COMP%]     .force-show-overflow-btn{background:none;border:none;text-align:left;min-height:34px;padding-left:38px}[_nghost-%COMP%]     .create-new-hotlist-btn:hover, [_nghost-%COMP%]     .load-from-id-btn:hover, [_nghost-%COMP%]     .force-show-overflow-btn:hover{cursor:pointer;background-color:rgba(0,0,0,.04);background-color:var(--hover)}[_nghost-%COMP%]     .create-hotlist-pane label{display:block;color:#5f6368;color:var(--muted);font-weight:500}[_nghost-%COMP%]     .create-hotlist-pane input, [_nghost-%COMP%]     .create-hotlist-pane textarea{width:100%;box-sizing:border-box}[_nghost-%COMP%]     mat-list-option label{font-size:.8125rem}[_nghost-%COMP%]     .mat-mdc-list-base{margin:0 -24px}[_nghost-%COMP%]     .mat-mdc-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-left:12px}/*# sourceMappingURL=hotlist_picker_modal.css.map */"],
changeDetection:0});var OS=function(){this.dialog=r(tI);this.issueFullFridge=r(QF);this.eventsForIssueFridge=r(NE);this.errorHandler=r(CI);this.hotlistRecommendationFridge=r(XE);this.recommendationsApi=r(WE);this.activeSession=r(Bu);this.analytics=r(OF)},wMc=function(a,b){var c,d,e,f;return se(function(h){if(h.nextAddress==1)return y(h,Fe(b),2);c=h.yieldResult;e=(d=c)==null?void 0:d.snapshot[0].hotlistId;if(!e||!c)return h.return();a.analytics.trackEvent("hotlistPicker","open","IDP");f=String(c.issueId);return y(h,vMc(a,
f,e),0)})},vMc=function(a,b,c,d){d=d===void 0?!0:d;var e,f,h,l,q;return se(function(u){switch(u.nextAddress){case 1:return e=xMc(a,b),f=e.pipe(z(function(A){return A.map(function(F){var H;return(H=F.content)==null?void 0:H.recommendedHotlist}).filter(ik)}),$f(function(A){A.length>0&&a.analytics.trackEvent("hotlistRecommendation","display","hotlistPicker")})),y(u,yMc(a,c,f),2);case 2:h=u.yieldResult;if(h==null)return u.return();l=h.added.map(String);q=h.removed.map(String);if(!d){u.jumpTo(3);break}return y(u,
a.updateHotlists(b,l,q),4);case 4:return y(u,zMc(a,e,l),3);case 3:return u.return({addedIds:l,removedIds:q})}})};OS.prototype.updateHotlists=function(a,b,c){var d=this,e;return se(function(f){if(f.nextAddress==1)return te(f,2,3),y(f,d.issueFullFridge.updateHotlists(a,b,c),3);if(f.nextAddress!=2)return ue(f),d.eventsForIssueFridge.poke(a),ve(f,0);e=we(f);EI(d.errorHandler,e);return f.jumpTo(3)})};
var yMc=function(a,b,c){var d,e,f,h,l;return se(function(q){if(q.nextAddress==1)return d={selectedHotlistIds:b,recommendedHotlists$:c},e={panelClass:"no-jitter",data:d,ariaLabel:"Search for Hotlists"},f=a.dialog.open(NS,e),y(q,Fe(nI(f)),2);h=q.yieldResult;if(!h)return q.return(Promise.resolve());l=Hta(new Set(b),new Set(h));return q.return(Promise.resolve(l))})},xMc=function(a,b){return b&&a.activeSession.isInternalSession()?a.hotlistRecommendationFridge.watch(b).pipe(z(function(c){return(c==null?
void 0:c.recommendations)||[]})):Ae([])},zMc=function(a,b,c){var d,e;return se(function(f){if(f.nextAddress==1)return y(f,Fe(b),2);d=f.yieldResult;e=d.filter(function(h){var l,q;return(h=(l=h.content)==null?void 0:(q=l.recommendedHotlist)==null?void 0:q.hotlistId)&&c.includes(String(h))}).map(function(h){return{parent:h.name,userEngagement:{type:"ACCEPTED"}}});if(e.length===0)return f.return();a.analytics.trackEvent("hotlistRecommendation","accept","hotlistPicker");return y(f,a.recommendationsApi.createUserEngagements(e),
0)})};OS.\u0275fac=function(a){return new (a||OS)};OS.\u0275prov=n({token:OS,factory:OS.\u0275fac,providedIn:"root"});var AMc={ASSIGNEE:"ASSIGNEE",CC_LIST:"CC_LIST",CODE_CHANGES:"CODE_CHANGES",COLLABORATORS:"COLLABORATORS",COMMENT:"COMMENT",COMPONENT:"COMPONENT",CUSTOM_FIELDS:"CUSTOM_FIELDS",HOTLISTS:"HOTLISTS",PRIORITY:"PRIORITY",SEVERITY:"SEVERITY",STATUS:"STATUS",TYPE:"TYPE"},PS=function(){Z.apply(this,arguments);var a=this;this.componentTemplatesFridge=r(zD);this.triageService=r(YG);this.issueFullFridge=r(QF);this.editIssueService=r(kJ);this.hotlistPickerService=r(OS);this.issueCommentDialogsService=r(DS);this.issueLimits=
r(IS);this.issuePermissionService=r(gJ);this.jspbPrincipalTypes=r(oG);this.constants=r(FI);this.activeSession=r(Bu);this.issueEditComponentService=r(xR);this.IssueFieldKey=AMc;this.HOTKEYS=Fp;this.FieldType=AQ;this.ListFieldType=rIc;this.IssueType=ugc;this.IssueSeverity=ngc;this.IssuePriority=dgc;this.IssueStatus=qgc;this.codeChangesValidator=Uwa;this.overlayPositionList=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",offsetY:-8},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top",
offsetY:-8}];this.componentId$=new Xi(void 0);this.issueId$=this.triageService.currentIssueId$.pipe(Ue(ik),Pf());this.issue$=this.issueId$.pipe(Yf(function(b){return a.issueFullFridge.watch(b)}));this.editableIssue$=this.issueId$.pipe(z(function(b){return a.editIssueService.editableIssue(b)}));this.hasAclToEdit$=this.issuePermissionService.hasAclToEdit$;this.defaultAssigneeForComponent$=this.componentId$.pipe(Yf(function(b){return b?a.componentTemplatesFridge.defaultTemplate$(String(b)):Ae(void 0)}),
z(function(b){return b&&Sj(b.snapshot.assigneeUser)}));this.isCurrentUserCollaborator=this.isCurrentUserCcd=!1;this.hotlistIds=[];this.fields=[];this.automaticChanges=[];this.showAssignToSelf=!1;this.showAssignToDefault=!0;this.expandCommentBox=!1;this.subphase=this.phase=void 0;this.cancelAction=new aB;this.completeAction=new aB;this.typeChoices=this.constants.editIssueTypeChoices;this.severityChoices=this.constants.severities.map(function(b){return{value:b,displayText:b}});this.priorityChoices=
this.constants.priorities.map(function(b){return{value:b,displayText:b,hotkey:dHa(b)}});this.statusChoices=jhc.filter(function(b){return b.value!=="DUPLICATE"}).map(function(b){return Object.assign({},b,{hotkey:eHa(b.value)})});this.showAssigneeChips$=Ie([this.hasAclToEdit$,this.defaultAssigneeForComponent$,this.editableIssue$]).pipe(z(function(b){var c=k(b);b=c.next().value;var d=c.next().value;c=c.next().value;return a.sessionIsInternal&&b&&(a.showAssignToDefault||a.showAssignToSelf)?a.showAssignToDefault&&
d||a.showAssignToSelf&&c.assignee!==a.currentUserEmail?!0:!1:!1}));this.currentUserEmail=this.activeSession.getUserEmail();this.sessionIsInternal=this.activeSession.isInternalSession();this.sessionIsExternal=this.activeSession.isExternalSession();this.isSaving$=new Xi(!1);this.showCommentInput=!1;this.collaboratorUserPrincipalValidator=function(b){var c,d,e;return se(function(f){if(f.nextAddress==1){if(!b)return f.return("This field is required");c=b.split(",").map(function(h){return h.trim()}).filter(Boolean);
return y(f,ync(a.jspbPrincipalTypes,c,!1),2)}d=f.yieldResult;e=c.find(function(h){var l;return((l=d[h])==null?void 0:l.principalType)!=="USER"});return f.return(e?"You can only add users to collaborators.":"")})}};Y(PS,Z);PS.\u0275dir=Z.\u0275dir;g=PS.prototype;
g.ngOnInit=function(){for(var a=k(this.automaticChanges),b=a.next();!b.done;b=a.next()){b=b.value;var c=tp(this.editableIssue$),d=b.field;switch(d){case "STATUS":c.setStatus(b.value);break;case "ASSIGNEE":c.setAssignee(b.value);break;case "COMMENT":this.setComment(b.value);break;default:Db(d)}}this.showCommentInput=this.expandCommentBox;a=tp(this.editableIssue$);this.componentId=a.componentId;this.componentId$.next(a.componentId);BMc(this,a);CMc(this,a)};
g.ngOnDestroy=function(){Z.prototype.ngOnDestroy.call(this);var a=tp(this.issueId$);a&&this.editIssueService.clear(a)};g.setSeverity=function(a,b){a.setSeverity(b)};g.setPriority=function(a,b){a.setPriority(b)};g.setAssignee=function(a,b){a.setAssignee(b)};g.setType=function(a,b){a.setType(b)};g.setStatus=function(a,b){a.setStatus(b)};g.setComponent=function(a){this.componentId=a;this.componentId$.next(a)};g.setCodeChanges=function(a,b){a.setCodeChanges(b)};
g.setCcs=function(a,b){b=[].concat(t(new Set(b.newUsers)));a.cc=b;this.isCurrentUserCcd=b.includes(this.activeSession.getUserEmail());CMc(this,a)};g.setCollaborators=function(a,b){b=[].concat(t(new Set(b.newUsers)));a.setCollaborators(b);BMc(this,a)};var g_a=function(a,b){var c=b.cc;a.isCurrentUserCcd?(c=c.filter(function(d){return!fJ(a.issuePermissionService,d)}),b.cc=c):(c.push(a.activeSession.getUserEmail()),b.cc=c);CMc(a,b)};
PS.prototype.toggleCollaborators=function(a){var b=this,c=a.collaborators;this.isCurrentUserCollaborator?(c=c.filter(function(d){return!fJ(b.issuePermissionService,d)}),a.setCollaborators(c)):(c.push(this.activeSession.getUserEmail()),a.setCollaborators(c));BMc(this,a)};
var CMc=function(a,b){a.isCurrentUserCcd=b.cc.includes(a.activeSession.getUserEmail())},BMc=function(a,b){a.isCurrentUserCollaborator=b.collaborators.includes(a.activeSession.getUserEmail())},j_a=function(a,b){return a.automaticChanges.find(function(c){return c.field===b})};
PS.prototype.save=function(a){var b=this,c,d,e;return se(function(f){switch(f.nextAddress){case 1:b.isSaving$.next(!0);c=a.componentId;if(!b.componentId||b.componentId===a.componentId){f.jumpTo(2);break}return y(f,b.issueEditComponentService.updateComponent(a.issueId,b.componentId),3);case 3:if(d=f.yieldResult,a.componentId=c,!d)return b.isSaving$.next(!1),f.return();case 2:var h=b.editIssueService.issueCommentDraft(a.issueId).comment();if(!b.showCommentInput||!h.value){f.jumpTo(4);break}return y(f,
b.submitComment(a.issueId),5);case 5:if(e=f.yieldResult,!e)return b.isSaving$.next(!1),f.return();case 4:return y(f,lJ(b.editIssueService,a),6);case 6:return y(f,b.updateHotlists(),7);case 7:b.isSaving$.next(!1),b.completeAction.emit(a.issueId),xe(f)}})};PS.prototype.toggleAccessLimits=function(a){this.issueLimits.isOpen()||this.componentId&&this.issueLimits.open({componentId:this.componentId,issueId:a})};
PS.prototype.submitComment=function(a){var b=this,c,d;return se(function(e){if(e.nextAddress==1)return c=b.editIssueService.issueCommentDraft(a).comment(),y(e,Fe(b.editableIssue$),2);d=e.yieldResult;return e.return(b.issueCommentDialogsService.submitCommentBox(String(d.componentId),a,c))})};var c_a=function(a,b){var c;return se(function(d){if(d.nextAddress==1)return a.showCommentInput=!1,y(d,Ci(0),2);(c=b)==null||c.focus();xe(d)})};
PS.prototype.setComment=function(a){var b=this,c=tp(this.triageService.currentIssueId$);if(c){var d=this.editIssueService.issueCommentDraft(c).comment();if(!d.value){var e=d.value;d.value=a;this.destroyed$.subscribe(function(){var f=b.editIssueService.issueCommentDraft(c).comment();f.value===a&&(f.value=e)})}}};
PS.prototype.updateHotlists=function(){var a=this,b,c,d,e,f,h,l;return se(function(q){if(q.nextAddress==1)return(b=a.fields.includes("HOTLISTS"))?y(q,Fe(a.issue$),2):q.return();c=q.yieldResult;if((d=c)==null||!d.issueId)return q.return();h=(e=c.snapshot[0])==null?void 0:(f=e.hotlistId)==null?void 0:f.map(String);return h?(l=Hta(new Set(h),new Set(a.hotlistIds)))?y(q,a.hotlistPickerService.updateHotlists(c.issueId,l.added,l.removed),0):q.return():q.return()})};
PS.\u0275fac=function(){var a;return function(b){return(a||(a=ee(PS)))(b||PS)}}();
PS.\u0275cmp=C({type:PS,selectors:[["verify-fields"]],inputs:{fields:"fields",automaticChanges:"automaticChanges",showAssignToSelf:"showAssignToSelf",showAssignToDefault:"showAssignToDefault",expandCommentBox:"expandCommentBox",phase:"phase",subphase:"subphase"},outputs:{cancelAction:"cancelAction",completeAction:"completeAction"},standalone:!1,features:[cg],decls:2,vars:3,consts:[["priorityField",""],["assigneeField",""],["typeField",""],["statusField",""],["postCommentComponent",""],["addCommentButton",
""],[1,"bv2-issue-metadata","overflow"],[1,"full-width","padded-s-top","flex-kids-x","gap"],[1,"flex-kids-x","gap","margin-top"],["type","button","mat-flat-button","",1,"gmat-button",3,"click","disabled"],["type","button","mat-button","",1,"gmat-button",3,"click"],[1,"flex-1",3,"name","title","type","tooltip","value","choices","readonly"],[1,"flex-1",3,"name","title","type","tooltip","value","choices","hotkey","readonly"],[3,"phase","subphase"],[1,"flex-1",3,"editableIssue","phase","subphase"],[1,
"flex-1","flex-kids-x","align-items-center","gap"],[1,"flex-1",3,"name","title","type","value","choices","readonly"],[1,"flex-1",3,"name","title","type","value","choices","showHotkeyHint","hotkey","readonly"],[1,"flex-1",3,"readonly","defaultLineCount","title","inputValidator","type","values"],[1,"bv2-issue-metadata-field","bv2-issue-metadata-field-inner","flex-1"],[1,"flex-1"],[1,"flex-1",3,"title","values","users","includeSelfActionDescription","includeSelfActionLongDescription","overlayPosition",
"removeSelfActionDescription","removeSelfActionLongDescription","collectionHovercardDescription","isCurrentUserInCollection","isAllowedToEditCollection","iconName","inputValidator","checkAccessLimits"],[1,"flex-1",3,"title","values","users","includeSelfActionDescription","includeSelfActionLongDescription","overlayPosition","removeSelfActionDescription","removeSelfActionLongDescription","collectionHovercardDescription","isCurrentUserInCollection","isAllowedToEditCollection","iconName"],[3,"issueId",
"automaticChange"],[1,"flex-1",3,"valueChange","name","title","type","tooltip","value","choices","readonly"],[1,"flex-1",3,"onHotkey","valueChange","name","title","type","tooltip","value","choices","hotkey","readonly"],[3,"hotlistIdsChange","phase","subphase"],[1,"flex-1",3,"onHotkey","valueChange","emailChange","name","title","hotkey","value"],[1,"assign-chips"],["type","button","mat-stroked-button","","aria-label","Assign to me",1,"small","add-assignee-btn",3,"matTooltip"],["type","button","mat-stroked-button",
"",1,"small","add-assignee-btn",3,"disabled","hotkey","matTooltip"],["type","button","mat-stroked-button","",1,"small","add-assignee-btn",3,"click","onHotkey","disabled","hotkey","matTooltip"],[1,"icon-xs","margin-xs-right",3,"svgIcon"],["type","button","mat-stroked-button","","aria-label","Assign to me",1,"small","add-assignee-btn",3,"click","onHotkey","matTooltip"],["svgIcon","add",1,"icon-xs","margin-xs-right"],[1,"flex-1",3,"valueChange","name","title","type","value","choices","readonly"],[1,
"flex-1",3,"onHotkey","valueChange","name","title","type","value","choices","showHotkeyHint","hotkey","readonly"],[1,"flex-1",3,"valuesChange","readonly","defaultLineCount","title","inputValidator","type","values"],[1,"bv2-editable-title"],[3,"componentChanged","issueId","componentId","compactMode","handleSave","showPickerOverlayAbove"],[3,"commentSubmitted","issueId","showActionsAfterPreview","showCommentButton"],[1,"flex-1",3,"userInclusionToggle","valueChange","toggleAccessLimits","title","values",
"users","includeSelfActionDescription","includeSelfActionLongDescription","overlayPosition","removeSelfActionDescription","removeSelfActionLongDescription","collectionHovercardDescription","isCurrentUserInCollection","isAllowedToEditCollection","iconName","inputValidator","checkAccessLimits"],[1,"flex-1",3,"userInclusionToggle","valueChange","title","values","users","includeSelfActionDescription","includeSelfActionLongDescription","overlayPosition","removeSelfActionDescription","removeSelfActionLongDescription",
"collectionHovercardDescription","isCurrentUserInCollection","isAllowedToEditCollection","iconName"]],template:function(a,b){a&1&&(D(0,m_a,2,3),S(1,"async"));if(a&2){var c;G((c=U(1,1,b.issue$))?0:-1,c)}},styles:["[_nghost-%COMP%]     .bv2-issue-metadata{padding:0}[_nghost-%COMP%]     .bv2-issue-metadata .bv2-issue-metadata-field.bv2-issue-metadata-field{margin:0}[_nghost-%COMP%]     .bv2-issue-metadata onedev-edit-field{margin:0!important}[_nghost-%COMP%]     .bv2-issue-metadata onedev-edit-field onedev-field-label{width:unset;min-width:75px}[_nghost-%COMP%]     .bv2-issue-metadata onedev-edit-field onedev-user-picker button{padding-left:9px}[_nghost-%COMP%]     .bv2-issue-metadata .bv2-issue-metadata-list-field .no-value{display:none}[_nghost-%COMP%]     .bv2-issue-metadata .bv2-editable-title{width:unset}[_nghost-%COMP%]     b-post-comment{margin-bottom:0}[_nghost-%COMP%]     b-post-comment .bv2-comment-box-container .bv2-comment-toolbar{margin:0}[_nghost-%COMP%]     b-post-comment .md-preview{margin-top:0}[_nghost-%COMP%]     b-post-comment .bv2-edit-issue-add-comment{padding-top:0}.hotlist-container[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:2px;line-height:20px;max-height:72px;overflow-y:auto}.add-assignee-btn[_ngcontent-%COMP%], .add-hotlists-btn[_ngcontent-%COMP%], button.gmat-mdc-button[_ngcontent-%COMP%]:not(.mat-mdc-icon-button).add-hotlists-btn{font-family:Roboto,Arial,sans-serif;line-height:1.25rem;font-size:.875rem;letter-spacing:.0142857143em;font-weight:400;font-size:.8125rem;line-height:1.3846153846;color:#202124;color:var(--text);background-color:#fff;background-color:var(--surface-default);line-height:22px;height:22px;min-width:22px;padding:0 8px;border-radius:11px;margin-right:4px}.add-hotlists-btn.mat-mdc-outlined-button[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%]{margin-right:4px}.bv2-issue-metadata[_ngcontent-%COMP%]{max-height:50vh;padding-right:10px}"]});var DMc={CHANGE_COMPONENT:"CHANGE_COMPONENT",SET_WONT_FIX:"SET_WONT_FIX",MARK_AS_DUPLICATE:"MARK_AS_DUPLICATE",SET_CONFIRMED:"SET_CONFIRMED",SET_FIXED:"SET_FIXED",SET_IN_PROGRESS:"SET_IN_PROGRESS",SET_NEEDS_INFO:"SET_NEEDS_INFO",SET_NEW:"SET_NEW",SET_PENDING_OWNER:"SET_PENDING_OWNER",SET_EXPECTED:"SET_EXPECTED",SET_PLANNED:"SET_PLANNED",SET_COMMITTED:"SET_COMMITTED"},EMc={key:"SET_NEEDS_INFO",displayAs:"Needs more info",fieldsToShow:["ASSIGNEE","CUSTOM_FIELDS","COMMENT"]},FMc={key:"SET_CONFIRMED",
displayAs:"Confirmed",fieldsToShow:"COMMENT SEVERITY PRIORITY TYPE HOTLISTS ASSIGNEE COLLABORATORS CC_LIST CUSTOM_FIELDS".split(" ")},GMc={key:"SET_PENDING_OWNER",displayAs:"Pending owner",fieldsToShow:["COMMENT"]},HMc={key:"SET_IN_PROGRESS",displayAs:"In progress",fieldsToShow:["COMMENT","SEVERITY","PRIORITY","TYPE","ASSIGNEE"],showAssignToSelf:!0},IMc={key:"SET_EXPECTED",displayAs:"Expected",fieldsToShow:["COMMENT"],showAssignToSelf:!0},JMc={key:"SET_PLANNED",displayAs:"Planned",fieldsToShow:["COMMENT"],
showAssignToSelf:!0},KMc={key:"SET_COMMITTED",displayAs:"Committed",fieldsToShow:["COMMENT"],showAssignToSelf:!0},LMc={key:"SET_WONT_FIX",displayAs:"Won't fix",fieldsToShow:["STATUS","COMMENT"],automaticChanges:[{field:"STATUS",value:"INTENDED_BEHAVIOR"}]},MMc={key:"SET_NEW",displayAs:"New",fieldsToShow:["CUSTOM_FIELDS","STATUS","COMMENT"],automaticChanges:[{field:"STATUS",value:"NEW"}]},NMc={key:"SET_FIXED",displayAs:"Fixed",fieldsToShow:["COMMENT","STATUS","CODE_CHANGES"],automaticChanges:[{field:"STATUS",
value:"FIXED"}]},OMc={key:"CHANGE_COMPONENT",displayAs:"Route",fieldsToShow:["COMMENT","COMPONENT","HOTLISTS","ASSIGNEE"]},PMc=new Map([["NEW",[OMc,{key:"MARK_AS_DUPLICATE",displayAs:"Mark as duplicate"}]],["CONFIRMED",[]],["IN_PROGRESS",[]],["FIXED",[]],["WONT_FIX",[]]]);var o_a=function(a,b){return b.key},QS=function(){this.phase=void 0;this.actions=[MMc,FMc,HMc,NMc,LMc];this.onSelect=new aB},q_a=function(a){var b=P();return b.phase==="NEW"&&a===MMc?[EMc]:b.phase==="CONFIRMED"&&a===FMc?[GMc]:b.phase==="IN_PROGRESS"&&a===HMc?[IMc,JMc,KMc]:[]};QS.\u0275fac=function(a){return new (a||QS)};
QS.\u0275cmp=C({type:QS,selectors:[["triage-action-selector"]],inputs:{phase:"phase"},outputs:{onSelect:"onSelect"},standalone:!1,decls:6,vars:1,consts:[["phaseSelector","matMenu"],["type","button","mat-button","",1,"gmat-button",3,"matMenuTriggerFor"],["type","button","mat-menu-item","",3,"click"],["type","button","mat-menu-item","",1,"subAction"],["type","button","mat-menu-item","",1,"subAction",3,"click"]],template:function(a,b){a&1&&(I(0,"button",1),Q(1,"Change triage phase"),J(),I(2,"mat-menu",
null,0),yg(4,r_a,4,3,null,null,o_a),J());a&2&&(a=L(3),E("matMenuTriggerFor",a),B(4),zg(b.actions))},dependencies:[eB,jy,xL,IL,GL,JL],styles:["button.subAction[_ngcontent-%COMP%]{padding-left:32px}"],changeDetection:0});var RS=function(){Z.apply(this,arguments);this.TriageActionKey=DMc;this.TriagePhase=sgc;this.TriageSubphase=tgc;this.CONFIRM_ACTION=FMc;this.SET_IN_PROGRESS=HMc;this.SET_FIXED=NMc;this.CHANGE_COMPONENT=OMc;this.NEEDS_MORE_INFO=EMc;this.SET_WONT_FIX=LMc;this.SET_NEW=MMc;this.SET_PENDING_OWNER=GMc;this.SET_EXPECTED=IMc;this.SET_PLANNED=JMc;this.SET_COMMITTED=KMc;this.needsInfoAutomaticChanges=[];this.cancelAction=new aB;this.finalizeAction=new aB};Y(RS,Z);RS.\u0275dir=Z.\u0275dir;
RS.\u0275fac=function(){var a;return function(b){return(a||(a=ee(RS)))(b||RS)}}();
RS.\u0275cmp=C({type:RS,selectors:[["secondary-footer"]],inputs:{needsInfoAutomaticChanges:"needsInfoAutomaticChanges",selectedTriageAction:"selectedTriageAction"},outputs:{cancelAction:"cancelAction",finalizeAction:"finalizeAction"},standalone:!1,features:[cg],decls:33,vars:1,consts:[["setNeedsInfo",""],["setConfirmed",""],["setPendingOwner",""],["changeComponent",""],["setInProgress",""],["setExpected",""],["setPlanned",""],["setCommitted",""],["setFixed",""],["setNew",""],["setWontFix",""],[4,
"ngTemplateOutlet"],[1,"flex-kids-y","full-width"],[1,"heading-s"],[3,"cancelAction","completeAction","fields","phase","subphase","automaticChanges","expandCommentBox","showAssignToDefault","showAssignToSelf"],[3,"cancelAction","completeAction","fields","phase"],[3,"cancelAction","completeAction","fields","phase","showAssignToSelf"],[3,"cancelAction","completeAction","fields","phase","automaticChanges"],[3,"cancelAction","completeAction","fields","automaticChanges"]],template:function(a,b){a&1&&D(0,
t_a,1,1,"ng-container")(1,v_a,1,1,"ng-container")(2,x_a,1,1,"ng-container")(3,z_a,1,1,"ng-container")(4,B_a,1,1,"ng-container")(5,D_a,1,1,"ng-container")(6,F_a,1,1,"ng-container")(7,H_a,1,1,"ng-container")(8,J_a,1,1,"ng-container")(9,L_a,1,1,"ng-container")(10,N_a,1,1,"ng-container")(11,O_a,4,7,"ng-template",null,0,ih)(13,P_a,4,2,"ng-template",null,1,ih)(15,Q_a,4,2,"ng-template",null,2,ih)(17,R_a,4,2,"ng-template",null,3,ih)(19,S_a,4,3,"ng-template",null,4,ih)(21,T_a,4,3,"ng-template",null,5,ih)(23,
U_a,4,3,"ng-template",null,6,ih)(25,V_a,4,3,"ng-template",null,7,ih)(27,W_a,4,3,"ng-template",null,8,ih)(29,X_a,4,3,"ng-template",null,9,ih)(31,Y_a,4,2,"ng-template",null,10,ih);if(a&2){var c;G((c=b.selectedTriageAction)===b.TriageActionKey.SET_NEEDS_INFO?0:c===b.TriageActionKey.SET_CONFIRMED?1:c===b.TriageActionKey.SET_PENDING_OWNER?2:c===b.TriageActionKey.SET_WONT_FIX?3:c===b.TriageActionKey.SET_IN_PROGRESS?4:c===b.TriageActionKey.SET_EXPECTED?5:c===b.TriageActionKey.SET_PLANNED?6:c===b.TriageActionKey.SET_COMMITTED?
7:c===b.TriageActionKey.SET_FIXED?8:c===b.TriageActionKey.CHANGE_COMPONENT?9:c===b.TriageActionKey.SET_NEW?10:-1)}},dependencies:[dw,PS],encapsulation:2,changeDetection:0});var SS=function(){var a=this;this.data=r(sI);this.cdr=r(cB,{self:!0});this.codefont=r(IH);this.location=r(sw);this.paths=r(IP);this.userFeedback=r(aQ);this.errorHandler=r(CI);this.issueId=this.data.issueId;this.commentNumber=this.data.commentNumber;this.commentVersion=this.data.commentVersion;this.history=[];this.diffView=this.isLoading=!0;this.data.commentHistory.then(function(b){a.history=b}).catch(function(b){a.errorHandler.errorHandler(null,b)}).finally(function(){a.isLoading=!1;a.cdr.detectChanges()})};
SS.prototype.updateUrl=function(a,b){a.stopPropagation();a=Rq(this.issueId)+("#comment"+this.commentNumber+"version"+b);this.location.replaceState(a)};SS.prototype.startFeedback=function(){this.userFeedback.startFeedback()};SS.\u0275fac=function(a){return new (a||SS)};
SS.\u0275cmp=C({type:SS,selectors:[["comment-history-dialog"]],standalone:!1,features:[ch([cB])],decls:14,vars:3,consts:[["mat-dialog-title",""],[1,"diff-checkbox"],[3,"change","checked"],[1,"dialog-feedback",3,"click"],[1,"float-clear"],[1,"bv2-view-loading"],[1,"comment-history-list"],"type button mat-button  mat-dialog-close ".split(" "),[1,"comment-version",3,"comment-version-open"],[1,"comment-version"],[1,"bv2-event-user-image-cell"],[1,"bv2-event-user-image",3,"email"],[1,"comment-version-header",
3,"click"],[1,"bv2-event-user-name",3,"model"],["mode","datetime",3,"timestamp"],[1,"muted","float-right","float-clear"],[1,"type-xs",3,"innerHtml"],[1,"type-xs"],[1,"comment-version-email"],[3,"email"],[3,"click","id"],[1,"comment-version-preview"],[1,"comment-version-preview","deleted"],[1,"comment-version-restricted"],[1,"comment-version-content","deleted"],[1,"comment-version-content",3,"codefont","innerHtml"],[1,"comment-version-content",3,"innerHtml"]],template:function(a,b){a&1&&(I(0,"h2",
0),Q(1),J(),I(2,"mat-dialog-content")(3,"div",1)(4,"mat-checkbox",2),M("change",function(c){return b.diffView=c.checked}),Q(5," Show Diff "),J()(),I(6,"a",3),M("click",function(){return b.startFeedback()}),Q(7,"Feedback"),J(),K(8,"br",4),D(9,Z_a,2,0,"div",5)(10,n0a,3,0,"ul",6),J(),I(11,"mat-dialog-actions")(12,"button",7),Q(13,"Close"),J()());a&2&&(B(),R("History for Comment #",b.commentNumber,""),B(3),E("checked",b.diffView),B(5),G(b.isLoading?9:10))},dependencies:[iH,RH,SH,eB,jy,uI,wI,yI,xI,gK,
sL,QM,dL,ew,jJ,cP],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 o0a=function(){},Er=function(a,b,c,d,e){typeof e=="undefined"&&(e=(new Date).getTime()+1E3);if(b==null||c==null)throw Error("Re");if(b==c)return b?[[0,b]]:[];typeof d=="undefined"&&(d=!0);var f=QMc(b,c),h=b.substring(0,f);b=b.substring(f);c=c.substring(f);f=RMc(b,c);var l=b.substring(b.length-f);b=b.substring(0,b.length-f);c=c.substring(0,c.length-f);b=SMc(a,b,c,d,e);h&&b.unshift([0,h]);l&&b.push([0,l]);TMc(a,b);return b},SMc=function(a,b,c,d,e){if(!b)return[[1,c]];if(!c)return[[-1,b]];var f=
b.length>c.length?b:c,h=b.length>c.length?c:b,l=f.indexOf(h);if(l!=-1)return a=[[1,f.substring(0,l)],[0,h],[1,f.substring(l+h.length)]],b.length>c.length&&(a[0][0]=a[2][0]=-1),a;if(h.length==1)return[[-1,b],[1,c]];if(f=UMc(b,c))return c=f[1],h=f[3],b=f[4],f=Er(a,f[0],f[2],d,e),a=Er(a,c,h,d,e),f.concat([[0,b]],a);if(d&&b.length>100&&c.length>100){b=VMc(b,c);c=b.lineArray;b=Er(a,b.chars1,b.chars2,!1,e);for(d=0;d<b.length;d++){f=b[d][1];h=[];for(l=0;l<f.length;l++)h[l]=c[f.charCodeAt(l)];b[d][1]=h.join("")}p0a(a,
b);b.push([0,""]);f=d=c=0;for(l=h="";c<b.length;){switch(b[c][0]){case 1:f++;l+=b[c][1];break;case -1:d++;h+=b[c][1];break;case 0:if(d>=1&&f>=1){b.splice(c-d-f,d+f);c=c-d-f;d=Er(a,h,l,!1,e);for(f=d.length-1;f>=0;f--)b.splice(c,0,d[f]);c+=d.length}d=f=0;l=h=""}c++}b.pop();a=b}else a:{d=b.length;f=c.length;h=Math.ceil((d+f)/2);l=2*h;for(var q=Array(l),u=Array(l),A=0;A<l;A++)q[A]=-1,u[A]=-1;q[h+1]=0;u[h+1]=0;A=d-f;for(var F=A%2!=0,H=0,N=0,O=0,T=0,ea=0;ea<h&&!((new Date).getTime()>e);ea++){for(var ka=
-ea+H;ka<=ea-N;ka+=2){var oa=h+ka;var La=ka==-ea||ka!=ea&&q[oa-1]<q[oa+1]?q[oa+1]:q[oa-1]+1;for(var Ua=La-ka;La<d&&Ua<f&&b.charAt(La)==c.charAt(Ua);)La++,Ua++;q[oa]=La;if(La>d)N+=2;else if(Ua>f)H+=2;else if(F&&(oa=h+A-ka,oa>=0&&oa<l&&u[oa]!=-1)){var Pa=d-u[oa];if(La>=Pa){a=WMc(a,b,c,La,Ua,e);break a}}}for(ka=-ea+O;ka<=ea-T;ka+=2){oa=h+ka;Pa=ka==-ea||ka!=ea&&u[oa-1]<u[oa+1]?u[oa+1]:u[oa-1]+1;for(La=Pa-ka;Pa<d&&La<f&&b.charAt(d-Pa-1)==c.charAt(f-La-1);)Pa++,La++;u[oa]=Pa;if(Pa>d)T+=2;else if(La>f)O+=
2;else if(!F&&(oa=h+A-ka,oa>=0&&oa<l&&q[oa]!=-1&&(La=q[oa],Ua=h+La-oa,Pa=d-Pa,La>=Pa))){a=WMc(a,b,c,La,Ua,e);break a}}}a=[[-1,b],[1,c]]}return a},WMc=function(a,b,c,d,e,f){var h=b.substring(d),l=c.substring(e);b=Er(a,b.substring(0,d),c.substring(0,e),!1,f);a=Er(a,h,l,!1,f);return b.concat(a)},VMc=function(a,b){function c(h){for(var l="",q=0,u=-1,A=d.length;u<h.length-1;){u=h.indexOf("\n",q);u==-1&&(u=h.length-1);var F=h.substring(q,u+1);(e.hasOwnProperty?e.hasOwnProperty(F):e[F]!==void 0)?l+=String.fromCharCode(e[F]):
(A==f&&(F=h.substring(q),u=h.length),l+=String.fromCharCode(A),e[F]=A,d[A++]=F);q=u+1}return l}var d=[],e={};d[0]="";var f=4E4;a=c(a);f=65535;b=c(b);return{chars1:a,chars2:b,lineArray:d}},QMc=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},RMc=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},XMc=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++}},UMc=function(a,b){function c(l,q,u){for(var A=l.substring(u,u+Math.floor(l.length/4)),F=-1,H="",
N,O,T,ea;(F=q.indexOf(A,F+1))!=-1;){var ka=QMc(l.substring(u),q.substring(F)),oa=RMc(l.substring(0,u),q.substring(0,F));H.length<oa+ka&&(H=q.substring(F-oa,F)+q.substring(F,F+ka),N=l.substring(0,u-oa),O=l.substring(u+ka),T=q.substring(0,F-oa),ea=q.substring(F+ka))}return H.length*2>=l.length?[N,O,T,ea,H]:null}var d=a.length>b.length?a:b,e=a.length>b.length?b:a;if(d.length<4||e.length*2<d.length)return null;var f=c(d,e,Math.ceil(d.length/4));d=c(d,e,Math.ceil(d.length/2));var h;if(f||d)d?h=f?f[4].length>
d[4].length?f:d:d:h=f;else return null;a.length>b.length?(a=h[0],b=h[1],f=h[2],d=h[3]):(f=h[0],d=h[1],a=h[2],b=h[3]);return[a,b,f,d,h[4]]},p0a=function(a,b){for(var c=!1,d=[],e=0,f=null,h=0,l=0,q=0,u=0,A=0;h<b.length;)b[h][0]==0?(d[e++]=h,l=u,q=A,A=u=0,f=b[h][1]):(b[h][0]==1?u+=b[h][1].length:A+=b[h][1].length,f&&f.length<=Math.max(l,q)&&f.length<=Math.max(u,A)&&(b.splice(d[e-1],0,[-1,f]),b[d[e-1]+1][0]=1,e--,e--,h=e>0?d[e-1]:-1,A=u=q=l=0,f=null,c=!0)),h++;c&&TMc(a,b);YMc(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=XMc(a,c);e=XMc(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++}},YMc=function(a){function b(F,H){if(!F||!H)return 6;var N=F.charAt(F.length-1),O=H.charAt(0),T=N.match(ZMc),ea=O.match(ZMc),
ka=T&&N.match($Mc),oa=ea&&O.match($Mc);N=ka&&N.match(aNc);O=oa&&O.match(aNc);F=N&&F.match(bNc);H=O&&H.match(cNc);return F||H?5:N||O?4:T&&!ka&&oa?3:ka||oa?2:T||ea?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=RMc(d,e);if(h){var l=e.substring(e.length-h);d=d.substring(0,d.length-h);e=l+e.substring(0,e.length-h);f=l+f}h=d;l=e;for(var q=f,u=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 A=
b(d,e)+b(e,f);A>=u&&(u=A,h=d,l=e,q=f)}a[c-1][1]!=h&&(h?a[c-1][1]=h:(a.splice(c-1,1),c--),a[c][1]=l,q?a[c+1][1]=q:(a.splice(c+1,1),c--))}c++}},ZMc=/[^a-zA-Z0-9]/,$Mc=/\s/,aNc=/[\r\n]/,bNc=/\n\r?\n$/,cNc=/^\r?\n\r?\n/,TMc=function(a,b){b.push([0,""]);for(var c=0,d=0,e=0,f="",h="",l;c<b.length;)switch(b[c][0]){case 1:e++;h+=b[c][1];c++;break;case -1:d++;f+=b[c][1];c++;break;case 0:d+e>1?(d!==0&&e!==0&&(l=QMc(h,f),l!==0&&(c-d-e>0&&b[c-d-e-1][0]==0?b[c-d-e-1][1]+=h.substring(0,l):(b.splice(0,0,[0,h.substring(0,
l)]),c++),h=h.substring(l),f=f.substring(l)),l=RMc(h,f),l!==0&&(b[c][1]=h.substring(h.length-l)+b[c][1],h=h.substring(0,h.length-l),f=f.substring(0,f.length-l))),d===0?b.splice(c-e,d+e,[1,h]):e===0?b.splice(c-d,d+e,[-1,f]):b.splice(c-d-e,d+e,[-1,f],[1,h]),c=c-d-e+(d?1:0)+(e?1:0)+1):c!==0&&b[c-1][0]==0?(b[c-1][1]+=b[c][1],b.splice(c,1)):c++,d=e=0,h=f=""}b[b.length-1][1]===""&&b.pop();d=!1;for(c=1;c<b.length-1;)b[c-1][0]==0&&b[c+1][0]==0&&(b[c][1].substring(b[c][1].length-b[c-1][1].length)==b[c-1][1]?
(b[c][1]=b[c-1][1]+b[c][1].substring(0,b[c][1].length-b[c-1][1].length),b[c+1][1]=b[c-1][1]+b[c+1][1],b.splice(c-1,1),d=!0):b[c][1].substring(0,b[c+1][1].length)==b[c+1][1]&&(b[c-1][1]+=b[c+1][1],b[c][1]=b[c][1].substring(b[c+1][1].length)+b[c+1][1],b.splice(c+1,1),d=!0)),c++;d&&TMc(a,b)};var TS=function(){this.analytics=r(OF);this.issueComments=r(TI);this.dialogManager=r(tI)};TS.prototype.show=function(a,b,c){var d=this,e;return se(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:dNc(d,a,b,c)};d.dialog=d.dialogManager.open(SS,{data:e,width:"50vw"});return f.return(Fe(nI(d.dialog)))})};
var dNc=function(a,b,c,d){return a.issueComments.listHistory(b,c).then(function(e){var f=e.length>0?e[0].unlinkifiedComment:"",h=e.length>0?e[0].formattingMode:"",l=!1,q=[];e=k(e);for(var u=e.next();!u.done;u=e.next()){u=u.value;var A=r0a(u);A||l?(f=eNc(u.unlinkifiedComment),h=eNc(u.formattingMode)):(f=q0a(f,u.unlinkifiedComment),l=u.formattingMode,h=h===l?eNc(l):xi([eNc(h,"diff-removed"),eNc(l,"diff-added")]));l=u.unlinkifiedComment===void 0?"":u.unlinkifiedComment;var F=u.version,H=u.commentContentVerdict;
q.push({unlinkifiedComment:l,lastEditorUser:u.lastEditorUser,version:F,formattingMode:u.formattingMode,formattingModeDiff:h,lastModified:Number(u.lastModified)/1E3,open:F<25,preview:l.length<=48?l:l.substring(0,45)+"...",diff:f,restricted:H&&H.piiVerdict&&H.piiVerdict.severity!=="NONE_DETECTED"||!1,deleted:r0a(u)});f=u.unlinkifiedComment;h=u.formattingMode;l=A}d>-1?q[d].open=!0:q[0].open=!0;return q})},eNc=function(a,b){return yi("span",b?{"class":b}:void 0,a)};
TS.\u0275fac=function(a){return new (a||TS)};TS.\u0275prov=n({token:TS,factory:TS.\u0275fac,providedIn:"root"});var US=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,US.messageId)};Y(US,V);US.prototype.getUrl=function(){return Kh(this,1)};US.prototype.setUrl=function(a){return fl(this,1,a)};US.prototype.hasUrl=function(){return Ck(this,1)};US.messageId="b.AttachmentUrlResponse";var VS=function(){this.executor=r(NC)};VS.prototype.get=function(a,b,c,d){if(!a||!b)return Promise.reject(Error("Te"));var e={};d&&(e["X-Restricted-Content-Limit"]=String(XHa(d)));return this.executor.get({url:"action/issues/"+a+"/attachments/"+b+"/url",options:{headers:e,params:{download:String(c)}},responseConstructor:US}).then(function(f){return f.getUrl()})};VS.\u0275fac=function(a){return new (a||VS)};VS.\u0275prov=n({token:VS,factory:VS.\u0275fac,providedIn:"root"});var WS=function(){this.templateRef=r(Og);this.viewContainer=r(Pg);this.activeSession=r(Bu);this.isInternal=this.activeSession.isInternalSession()};WS.prototype.ngOnInit=function(){this.isInternal&&this.viewContainer.createEmbeddedView(this.templateRef)};WS.\u0275fac=function(a){return new (a||WS)};WS.\u0275dir=Df({type:WS,selectors:[["","internalOnly",""]],standalone:!1});var XS=function(){this.dialogRef=r(mI);this.data=r(sI);this.userAccess=r(uE);this.attachmentsUrl=r(VS);this.butterBar=r(fH);this.domSafe=r(NH);this.documentationLinks=r(lI);this.changeDetectorRef=r(cB,{self:!0});this.attachment=this.data.attachment;this.issueId=this.data.issueId;this.isLoading=!0;this.hasViewAccess=!1;this.download=this.data.download};XS.prototype.ngOnInit=function(){this.changeDetectorRef.detectChanges();this.setHasViewAccess()};
XS.prototype.setHasViewAccess=function(){var a=this;this.isLoading=!0;t0a(this)?(this.hasViewAccess=!1,vE(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)};XS.prototype.getRestrictionSeverity=function(){var a=this.attachment.contentVerdict;if(a&&(a=a.piiVerdict))return a.severity};
var t0a=function(a){return(a=a.getRestrictionSeverity())?a!=="NONE_DETECTED":!1},fNc=function(a){var b=a.download&&Uta(a.attachment.contentType);a.attachmentsUrl.get(a.issueId,a.attachment.attachmentId,b,a.getRestrictionSeverity()).then(function(c){b?OH(a.domSafe,c):a.domSafe.openInNewTab(c);a.close()},function(){a.butterBar.showWarning("Failed to load attachment. Please refresh and try again.");a.close()})};XS.prototype.close=function(){this.dialogRef.close();this.changeDetectorRef.detectChanges()};
XS.prototype.getRestrictedAccessHelpLink=function(){return this.documentationLinks.getRestrictedAccessHelpLink()};XS.\u0275fac=function(a){return new (a||XS)};
XS.\u0275cmp=C({type:XS,selectors:[["b-attachment-download-dialog"]],standalone:!1,features:[ch([cB])],decls:20,vars:4,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"gmat-body-2"],[1,"gmat-body-1"],[1,"download-attachment-icon"],["svgIcon","file-present","size","icon-l"],[1,"download-attachment-filename"],[4,"internalOnly"],["diameter","60",1,"centered-spinner"],["mat-dialog-actions",""],["type","button","mat-button","",3,"click"],["type","button","mat-flat-button","",1,"dialog-primary-action",
3,"click","disabled"],["target","_blank","aria-label","Learn more about restricted access in Buganizer.",3,"href"],[1,"no-access-warning"]],template:function(a,b){a&1&&(I(0,"h1",0),Q(1,"Access Attachment"),J(),I(2,"div",1)(3,"div",2),Q(4," Are you sure you would like to access the following attachment? "),J(),K(5,"br"),I(6,"div",3)(7,"div",4),K(8,"mat-icon",5),J(),I(9,"div",6),Q(10),J()(),K(11,"br"),D(12,u0a,2,1,"ng-container",7)(13,v0a,3,0,"div",2),J(),D(14,w0a,1,0,"mat-spinner",8),I(15,"div",9)(16,
"button",10),M("click",function(){return b.close()}),Q(17," Cancel "),J(),I(18,"button",11),M("click",function(){return fNc(b)}),Q(19," Continue "),J()());a&2&&(B(10),R(" ",b.attachment.filename," "),B(3),G(b.isLoading||b.hasViewAccess?-1:13),B(),G(b.isLoading?14:-1),B(4),E("disabled",!b.hasViewAccess))},dependencies:[pB,eB,jy,wI,yI,xI,rL,pL,WS],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 gNc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(gNc,V);g=gNc.prototype;g.getIssueId=function(){return dv(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Qk(this,1)};g.getIssueId_asString=function(){return Wk(this,1)};g.setIssueId=function(a){return jm(this,1,a)};g.getAttachmentId_asLegacyNumberOrString=function(){return Qk(this,2)};g.getAttachmentId_asString=function(){return Wk(this,2)};g.setAttachmentId=function(a){return jm(this,2,a)};
g.getRestrictedRetention=function(){return Fk(this,3,0)};g.setRestrictedRetention=function(a){return ck(this,3,a)};var hNc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(hNc,V);hNc.prototype.getIt=function(){return W(this,gNc,4)};hNc.prototype.setIt=function(a){return X(this,gNc,4,a)};var YS=function(){this.executor=r(MC)};YS.prototype.updateRetention=function(a,b,c){c=(new hNc).setIt((new gNc).setIssueId(a).setAttachmentId(b).setRestrictedRetention(Bya(c)));return this.executor.post({url:"action/issues/"+a+"/attachments/"+b+"/update_retention",body:c,responseConstructor:KI}).pipe(z(cIa))};YS.\u0275fac=function(a){return new (a||YS)};YS.\u0275prov=n({token:YS,factory:YS.\u0275fac,providedIn:"root"});var iNc=Symbol("Ue"),jNc=/^[a-z0-9-_]{6,30}$/,kNc="productID must match the expression: "+jNc;var lNc=function(){this.blockSize=-1};var ZS=function(a,b){this.blockSize=-1;this.blockSize=64;this.chunk_=ya.Uint8Array?new Uint8Array(this.blockSize):Array(this.blockSize);this.total_=this.inChunk_=0;this.hash_=[];this.numHashBlocks_=a;this.initHashBlocks_=b;this.w_=ya.Int32Array?new Int32Array(64):Array(64);mNc===void 0&&(ya.Int32Array?mNc=new Int32Array(nNc):mNc=nNc);this.reset()},mNc;Nu(ZS,lNc);for(var oNc=[],pNc=0;pNc<63;pNc++)oNc[pNc]=0;var qNc=[].concat(128,oNc);
ZS.prototype.reset=function(){this.total_=this.inChunk_=0;this.hash_=ya.Int32Array?new Int32Array(this.initHashBlocks_):Wa(this.initHashBlocks_)};
var rNc=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++)d=c[b-15]|0,e=c[b-2]|0,c[b]=((c[b-16]|0)+((d>>>7|d<<25)^(d>>>18|d<<14)^d>>>3)|0)+((c[b-7]|0)+((e>>>17|e<<15)^(e>>>19|e<<13)^e>>>10)|0)|0;b=a.hash_[0]|0;d=a.hash_[1]|0;e=a.hash_[2]|0;for(var f=a.hash_[3]|0,h=a.hash_[4]|0,l=a.hash_[5]|0,q=a.hash_[6]|0,u=a.hash_[7]|0,A=0;A<64;A++){var F=((b>>>2|b<<30)^(b>>>13|b<<19)^(b>>>22|b<<10))+(b&d^b&e^d&e)|0,H=(u+((h>>>6|h<<26)^
(h>>>11|h<<21)^(h>>>25|h<<7))|0)+(((h&l^~h&q)+(mNc[A]|0)|0)+(c[A]|0)|0)|0;u=q;q=l;l=h;h=f+H|0;f=e;e=d;d=b;b=H+F|0}a.hash_[0]=a.hash_[0]+b|0;a.hash_[1]=a.hash_[1]+d|0;a.hash_[2]=a.hash_[2]+e|0;a.hash_[3]=a.hash_[3]+f|0;a.hash_[4]=a.hash_[4]+h|0;a.hash_[5]=a.hash_[5]+l|0;a.hash_[6]=a.hash_[6]+q|0;a.hash_[7]=a.hash_[7]+u|0};
ZS.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&&(rNc(this),d=0);else if(Xa(a))for(;c<b;){var e=a[c++];if(!("number"==typeof e&&0<=e&&255>=e&&e==(e|0)))throw Error("Ve");this.chunk_[d++]=e;d==this.blockSize&&(rNc(this),d=0)}else throw Error("We");this.inChunk_=d;this.total_+=b};
ZS.prototype.digest=function(){var a=[],b=this.total_*8;this.inChunk_<56?this.update(qNc,56-this.inChunk_):this.update(qNc,this.blockSize-(this.inChunk_-56));for(var c=63;c>=56;c--)this.chunk_[c]=b&255,b/=256;rNc(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 nNc=[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 x0a=function(){ZS.call(this,8,sNc)};Nu(x0a,ZS);var sNc=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225];var z0a=new TextEncoder,A0a=z0a.encode("$@#|").buffer;var tNc=["allow-same-origin","allow-scripts","allow-forms","allow-popups"],uNc=new TextEncoder,vNc={},wNc=function(){var a=this;this.productID="buganizer";this.shimOptions=void 0;this.renderCalled=!1;this.shimIframe=document.createElement("iframe");if(!jNc.test("buganizer"))throw Error(kNc);if(!H0a())throw Error("Ye");vNc.shimBlobUrlFactory!==void 0&&(this.shimBlobUrlFactory=vNc.shimBlobUrlFactory);this.attachedPromise=new Promise(function(b){a.shimIframe.addEventListener("load",function(){b()},{once:!0});
a.shimIframe.addEventListener("error",function(){b()},{once:!0})})},xNc=function(a,b,c){if(!a.shimIframe||!a.shimIframe.contentWindow)throw Error("Ze");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);}})},yNc=function(a,b,c,d){var e,f,h,l,q,u,A,F,H,N,O,T,ea,ka,oa,La,Ua,Pa,lb;se(function(qa){switch(qa.nextAddress){case 1:if(a.renderCalled)throw Error("$e");
a.renderCalled=!0;h=(f=(e=a.shimOptions)==null?void 0:e.sandbox)!=null?f:tNc;c.toLowerCase()!=="application/pdf"&&(a.shimIframe.sandbox.add.apply(a.shimIframe.sandbox,t(h)),a.shimIframe.sandbox.add("allow-scripts"),a.shimIframe.sandbox.add("allow-same-origin"));q=(l=a.shimOptions)==null?void 0:l.useSubtleCrypto;F=(A=a.shimOptions)==null?void 0:A.enableBrowserCaching;N=(H=a.shimOptions)==null?void 0:H.urlFragment;if(!F){u=D0a().buffer;qa.jumpTo(2);break}if(F===!0)return y(qa,C0a({useSubtleCrypto:q,
parts:[b,location.pathname]}),7);if(typeof F!=="object"||!F[iNc])throw Error("af");return y(qa,y0a(uNc.encode(F[iNc]).buffer,q),6);case 6:u=qa.yieldResult;qa.jumpTo(2);break;case 7:u=qa.yieldResult;case 2:return O=window.origin,y(qa,F0a({product:a.productID,salt:u,useSubtleCrypto:q,trustedOrigin:O,version:Number("712940838")}),8);case 8:return T=qa.yieldResult,ea=G0a({trustedOrigin:O,fileHash:T,version:"712940838",product:a.productID,cache:!!F}),ka=(new URL(ea)).origin,a.shimBlobUrlFactory!==void 0?
(oa=a.shimBlobUrlFactory(ea),La=URL.createObjectURL(oa),a.shimIframe.src=La,ka=(new URL(La)).origin):a.shimIframe.src=ea,d.appendChild(a.shimIframe),y(qa,a.attachedPromise,9);case 9:return Ua=!1,lb=new Promise(function(Ga){a.shimIframe.addEventListener("load",function(){Ua=!0;Ga(Pa)},{once:!0})}),Pa={sendMessage:function(Ga,Ha){if(!a.shimIframe||!a.shimIframe.contentWindow)throw Error("Ze");a.shimIframe.contentWindow.postMessage(Ga,ka,Ha)},origin:ka,fullyLoadedPromise:lb,fullyLoadedPromiseWithTimeout:function(Ga){var Ha=
new Promise(function(Ab,vb){setTimeout(function(){Ua?Ab(Pa):vb(Error("bf"))},Ga)});return Promise.race([lb,Ha])}},y(qa,xNc(a,{body:b,mimeType:c,salt:u,urlFragment:N},ka),10);case 10:return qa.return(Pa)}})};var zNc=["attachmentContent"],$S=function(){Z.apply(this,arguments);this.attachmentsApi=r(NI)};Y($S,Z);$S.\u0275dir=Z.\u0275dir;$S.prototype.ngOnInit=function(){ANc(this)};var ANc=function(a){a.subscriptions.add(Crc(a.attachmentsApi,a.issueId,a.attachmentId).subscribe(function(b){b&&yNc(new wNc,b,a.mimeType,a.container.nativeElement)}))};$S.\u0275fac=function(){var a;return function(b){return(a||(a=ee($S)))(b||$S)}}();
$S.\u0275cmp=C({type:$S,selectors:[["attachment-preview"]],viewQuery:function(a,b){a&1&&Rg(zNc,5);if(a&2){var c;Vg(c=Wg())&&(b.container=c.first)}},inputs:{issueId:"issueId",attachmentId:"attachmentId",mimeType:"mimeType"},standalone:!1,features:[cg],decls:2,vars:0,consts:[["attachmentContent",""],[1,"full-width","full-height"]],template:function(a){a&1&&K(0,"div",1,0)},styles:["[_nghost-%COMP%]     iframe{border:0;height:100%;width:100%}/*# sourceMappingURL=attachment_preview.css.map */"]});var aT=function(){this.inlinedAttachmentSet=new Set};aT.prototype.getCount=function(){return this.inlinedAttachmentSet.size};aT.\u0275fac=function(a){return new (a||aT)};aT.\u0275prov=n({token:aT,factory:aT.\u0275fac,providedIn:"root"});var bT=function(){this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.isGreyedOut=!0;this.linkUrl=this.displayName="";this.useCustomHandler=this.linkEnabled=!1;this.customHandler=new aB};bT.prototype.handleClick=function(a){this.useCustomHandler&&(a.preventDefault(),this.customHandler.emit())};bT.\u0275fac=function(a){return new (a||bT)};
bT.\u0275cmp=C({type:bT,selectors:[["b-conditional-link"]],inputs:{isGreyedOut:"isGreyedOut",displayName:"displayName",linkUrl:"linkUrl",linkEnabled:"linkEnabled",useCustomHandler:"useCustomHandler"},outputs:{customHandler:"customHandler"},standalone:!1,decls:2,vars:2,consts:[[3,"muted"],["target","_blank",1,"normal-link",3,"href","rel"],["target","_blank",1,"normal-link",3,"click","href","rel"]],template:function(a,b){a&1&&D(0,I0a,2,3,"span",0)(1,J0a,2,3,"a",1);a&2&&(G(b.isGreyedOut||!b.linkEnabled?
0:-1),B(),G(!b.isGreyedOut&&b.linkEnabled?1:-1))},encapsulation:2,changeDetection:0});var cT=function(){Hx.apply(this,arguments)};Y(cT,Hx);cT.\u0275fac=function(){var a;return function(b){return(a||(a=ee(cT)))(b||cT)}}();cT.\u0275dir=Df({type:cT,selectors:[["","expandable-tab-content",""]],standalone:!1,features:[cg]});var dT=function(){Hx.apply(this,arguments)};Y(dT,Hx);dT.\u0275fac=function(){var a;return function(b){return(a||(a=ee(dT)))(b||dT)}}();dT.\u0275dir=Df({type:dT,selectors:[["","expandable-tab-header",""]],standalone:!1,features:[cg]});
var eT=function(){Hx.apply(this,arguments)};Y(eT,Hx);eT.\u0275fac=function(){var a;return function(b){return(a||(a=ee(eT)))(b||eT)}}();eT.\u0275dir=Df({type:eT,selectors:[["","expandable-tab-icon",""]],standalone:!1,features:[cg]});var fT=function(){};fT.prototype.ngOnInit=function(){};fT.\u0275fac=function(a){return new (a||fT)};
fT.\u0275cmp=C({type:fT,selectors:[["expandable-tab"]],contentQueries:function(a,b,c){a&1&&(Sg(c,dT,5,Og),Sg(c,cT,5,Og),Sg(c,eT,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"},standalone:!1,decls:0,vars:0,template:function(){},encapsulation:2,changeDetection:0});var BNc=function(a,b){return b.key},CNc=function(a){return{allTabsExpanded:a}},M0a=function(a){return{tab:a}},c1a=function(){return[]},gT=function(){Z.apply(this,arguments);this.internalTabKeys$=new Tf(1);this.expandableTabsTitle=this.ariaLabel="";this.internalExpandedTabs=new IC;this.visibleExpandedTabs$=Ie([this.internalTabKeys$,this.internalExpandedTabs.value$]).pipe(z(function(a){var b=k(a);a=b.next().value;var c=b.next().value;return a.filter(function(d){return c.has(d)})}));this.expandedTabsChanged=
new aB;this.contentShownChanged=new aB;this.tabs$=new Xi([]);this.allTabsExpanded$=Ie([this.tabs$,this.internalExpandedTabs.value$]).pipe(z(function(a){var b=k(a);a=b.next().value;var c=b.next().value;return a.every(function(d){return c.has(d.key)})}))};Y(gT,Z);gT.\u0275dir=Z.\u0275dir;g=gT.prototype;
g.ngAfterContentInit=function(){var a=this;this.subscriptions.add(this.internalTabs.changes.pipe(Xf(void 0),z(function(){return a.internalTabs.toArray()}),z(function(b){return new Map(b.map(function(c){return[c.key,c]}))}),Yf(function(b){return Ie([Ae(b),a.internalTabKeys$])}),z(function(b){b=k(b);var c=b.next().value;return b.next().value.map(function(d){return Object.assign({},{key:d},c.get(d))})})).subscribe(this.tabs$));this.subscriptions.add(Ie([this.internalTabKeys$,this.internalExpandedTabs.value$]).pipe(z(function(b){var c=
k(b);b=c.next().value;c=c.next().value;return Ita(new Set(b),new Set(c))}),Pf(oj)).subscribe(function(b){a.contentShownChanged.emit(b)}))};g.ngOnInit=function(){};g.showAll=function(){this.internalExpandedTabs.add.apply(this.internalExpandedTabs,t(this.tabs$.value.map(function(a){return a.key})));this.expandedTabsChanged.emit(new Set(this.internalExpandedTabs))};g.hideAll=function(){this.internalExpandedTabs.clear();this.expandedTabsChanged.emit(new Set(this.internalExpandedTabs))};
g.toggleAll=function(){var a=this,b;return se(function(c){if(c.nextAddress==1)return y(c,Fe(a.allTabsExpanded$),2);(b=c.yieldResult)?a.hideAll():a.showAll();xe(c)})};da.Object.defineProperties(gT.prototype,{tabKeys:{configurable:!0,enumerable:!0,set:function(a){this.internalTabKeys$.next([].concat(t(a)))},get:function(){var a;return(a=tp(this.internalTabKeys$))!=null?a:[]}},expandedTabs:{configurable:!0,enumerable:!0,set:function(a){this.internalExpandedTabs.reset(a)},get:function(){return[].concat(t(this.internalExpandedTabs))}}});
gT.\u0275fac=function(){var a;return function(b){return(a||(a=ee(gT)))(b||gT)}}();
gT.\u0275cmp=C({type:gT,selectors:[["expandable-tabs"]],contentQueries:function(a,b,c){a&1&&Sg(c,fT,5);if(a&2){var d;Vg(d=Wg())&&(b.internalTabs=d)}},inputs:{tabKeys:"tabKeys",ariaLabel:"ariaLabel",expandableTabsTitle:"expandableTabsTitle",expandedTabs:"expandedTabs"},outputs:{expandedTabsChanged:"expandedTabsChanged",contentShownChanged:"contentShownChanged"},standalone:!1,features:[cg],decls:14,vars:11,consts:[["headerText",""],["spacer",""],[1,"tabs-row","flex-kids-x","centered-inside"],[1,"expandable-tabs-title"],
["role","tablist","aria-multiselectable","true",1,"expandable-tabs","flex-kids-x","centered-inside"],["type","button","mat-button","","role","tab",1,"expandable-tab","keep-focus-ring",3,"expanded"],["type","button","mat-button","",1,"small",3,"expandable-tabs-hide-all","expandable-tabs-show-all"],[1,"expandable-tabs-contents"],["type","button","mat-button","","role","tab",1,"expandable-tab","keep-focus-ring",3,"click"],["svgIcon","done",1,"icon-s"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],
[4,"ngTemplateOutlet"],["type","button","mat-button","",1,"small",3,"click"],["role","tabpanel",3,"class","id"],["role","tabpanel",3,"id"],[1,"spacer"]],template:function(a,b){a&1&&(I(0,"div",2),D(1,K0a,2,2,"span",3),I(2,"div",4),yg(3,S0a,9,19,"button",5,BNc),S(5,"async"),J(),D(6,T0a,2,6,"button",6),S(7,"async"),J(),I(8,"div",7),yg(9,e1a,2,3,null,null,BNc),S(11,"async"),J(),D(12,j1a,2,1,"ng-template",null,0,ih));if(a&2){var c;B();G(b.expandableTabsTitle?1:-1);B();jg("aria-label",b.ariaLabel);B();
zg(U(5,3,b.tabs$));B(3);G((c=eh(9,CNc,U(7,5,b.allTabsExpanded$)))?6:-1,c);B(3);zg(U(11,7,b.tabs$))}},dependencies:[dw,pB,eB,jy,ew],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-title[_ngcontent-%COMP%]{margin-right:8px}.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 p1a=function(a){return{"has-reacted-icon":a}},hT=function(){Z.apply(this,arguments);this.analytics=r(OF);this.enrichmentApi=r($C);this.openTabs=new Set;this.hasReactedToEnrichment={};this.thumbsUpClickedForEnrichment={};this.thumbsDownClickedForEnrichment={}};Y(hT,Z);hT.\u0275dir=Z.\u0275dir;hT.prototype.ngOnInit=function(){};
var DNc=function(a,b){[].concat(t(b)).filter(function(c){return!a.openTabs.has(c)}).forEach(function(c){a.openTabs.add(c);a.trackEvent("open",a.issueId+"_"+a.attachmentId+"_"+c);a.enrichmentApi.submitEnrichmentFeedback({issueId:a.issueId,attachmentId:a.attachmentId,category:c,feedbackType:"OPEN"}).subscribe()});[].concat(t(a.openTabs)).filter(function(c){return!b.has(c)}).forEach(function(c){a.openTabs.delete(c);a.trackEvent("close",a.issueId+"_"+a.attachmentId+"_"+c);a.enrichmentApi.submitEnrichmentFeedback({issueId:a.issueId,
attachmentId:a.attachmentId,category:c,feedbackType:"CLOSE"}).subscribe()})};g=hT.prototype;g.hasReacted=function(a){return this.hasReactedToEnrichment[a.category]?this.hasReactedToEnrichment[a.category]:!1};g.thumbsUpClicked=function(a){return this.thumbsUpClickedForEnrichment[a.category]?this.thumbsUpClickedForEnrichment[a.category]:!1};g.thumbsDownClicked=function(a){return this.thumbsDownClickedForEnrichment[a.category]?this.thumbsDownClickedForEnrichment[a.category]:!1};
g.trackThumbsUp=function(a){this.hasReactedToEnrichment[a.category]=!0;this.thumbsUpClickedForEnrichment[a.category]=!0;this.trackEvent("accept",o1a(a));this.enrichmentApi.submitEnrichmentFeedback({issueId:a.issueId,attachmentId:a.attachmentId,category:a.category,feedbackType:"THUMBS_UP"}).subscribe()};
g.trackThumbsDown=function(a){this.hasReactedToEnrichment[a.category]=!0;this.thumbsDownClickedForEnrichment[a.category]=!0;this.trackEvent("reject",o1a(a));this.enrichmentApi.submitEnrichmentFeedback({issueId:a.issueId,attachmentId:a.attachmentId,category:a.category,feedbackType:"THUMBS_DOWN"}).subscribe()};g.trackEvent=function(a,b){this.analytics.trackEvent("attachmentEnrichment",a,b)};var ENc=function(a){return a.attachmentEnrichments.map(function(b){return b.category})};
hT.\u0275fac=function(){var a;return function(b){return(a||(a=ee(hT)))(b||hT)}}();
hT.\u0275cmp=C({type:hT,selectors:[["b-attachment-enrichments"]],inputs:{issueId:"issueId",attachmentId:"attachmentId",attachmentEnrichments:"attachmentEnrichments"},standalone:!1,features:[cg],decls:4,vars:2,consts:[["expandableTabsTitle","Agent Findings",3,"expandedTabsChanged","tabKeys","ariaLabel"],[3,"key","ariaLabel"],["expandable-tab-header",""],["expandable-tab-content",""],[1,"attachment-enrichment-table"],[1,"attachment-enrichment-headers"],[1,"attachment-enrichment-header-email"],[3,"model"],
[1,"attachment-enrichment-header-date-icons"],[1,"attachment-enrichment-header-date"],["mode","datetime",3,"timestamp"],["type","button","mat-icon-button","","matTooltip","Copy","aria-label","copy attachment enrichment content",1,"feedback-button","copy-attachment-enrichment",3,"click"],["svgIcon","copy",1,"icon-xs"],["type","button","mat-icon-button","","aria-label","thumb up",1,"feedback-button","thumbs-up-attachment-enrichment",3,"click","disabled"],["svgIcon","thumb_up_24px",1,"icon-xs",3,"ngClass"],
["type","button","mat-icon-button","","aria-label","thumb down",1,"feedback-button","thumbs-down-attachment-enrichment",3,"click","disabled"],["svgIcon","thumb_down_24px",1,"icon-xs",3,"ngClass"],[1,"attachment-enrichment-content"],["colspan","2"],[3,"content"]],template:function(a,b){a&1&&(I(0,"div")(1,"expandable-tabs",0),M("expandedTabsChanged",function(c){return DNc(b,c)}),yg(2,r1a,3,2,"expandable-tab",1,xg),J()());a&2&&(B(),E("tabKeys",ENc(b))("ariaLabel","Attachment enrichments for attachment id "+
b.attachmentId),B(),zg(b.attachmentEnrichments))},dependencies:[aw,pB,JH,BK,CK,iH,fT,cT,dT,gT,eB,ly,mB,rB,dL],styles:[".attachment-enrichment-table[_ngcontent-%COMP%]{border:1px solid var(--hairline);border-collapse:collapse;border-radius:4px}tr.attachment-enrichment-headers[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{border-bottom:1px solid var(--hairline);padding:0px 10px;color:var(--muted);font-size:95%}tr.attachment-enrichment-headers[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]   .attachment-enrichment-header-email[_ngcontent-%COMP%]{text-align:left}.attachment-enrichment-header-date-icons[_ngcontent-%COMP%]{text-align:right}.attachment-enrichment-header-date-icons[_ngcontent-%COMP%]   .attachment-enrichment-header-date[_ngcontent-%COMP%]{padding-right:4px}tr.attachment-enrichment-content[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{background-color:var(--c100);padding:10px}.feedback-button[_ngcontent-%COMP%]{width:fit-content}.feedback-button[_ngcontent-%COMP%]   .has-reacted-icon[_ngcontent-%COMP%]{color:#1a73e8;color:var(--text-primary)}mat-icon[_ngcontent-%COMP%]{vertical-align:middle;padding:0px 4px;color:var(--muted)}"]});var iT=function(){this.documentationLinks=r(lI);this.dateFormatter=r(hH);this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.retentionModel=kgc;this.label="Restricted";this.contentType="item"};iT.prototype.getRetentionPeriod=function(){return this.retentionState&&this.retentionState.retentionPeriod?Nl(Math.floor(this.retentionState.retentionPeriod.seconds*1E3/864E5)):""};
var t1a=function(a){var b=new Date(864E13);return a.retentionState&&a.retentionState.scheduledDeletionTime?new Date(Ml(a.retentionState.scheduledDeletionTime)||b):b},FNc=function(a){return a.retentionState&&a.retentionState.scheduledDeletionTime?Ml(a.retentionState.scheduledDeletionTime)-Date.now()<12096E5:!1};iT.\u0275fac=function(a){return new (a||iT)};
iT.\u0275cmp=C({type:iT,selectors:[["b-restricted-chip"]],inputs:{label:"label",contentType:"contentType",retention:"retention",retentionState:"retentionState"},standalone:!1,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=v();
I(0,"xap-bubble",2,0)(2,"div",3);M("focus",function(){w(c);var d=L(1);return x(d.toggle(!0))})("blur",function(){w(c);var d=L(1);return x(d.toggle(!1))});K(3,"mat-icon",4);Q(4);J();D(5,A1a,8,4,"ng-template",null,1,ih);J()}a&2&&(a=L(6),E("panelTemplate",a),B(2),sg("warning",FNc(b)),B(),E("svgIcon",FNc(b)?"delete-alert":"delete-clock"),B(),R(" ",b.label," "))},dependencies:[pB,HN,hw],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 jT=function(){this.tooltipRegistry={}};jT.prototype.showTooltip=function(a){return this.tooltipRegistry[a]?!1:this.tooltipRegistry[a]=!0};jT.\u0275fac=function(a){return new (a||jT)};jT.\u0275prov=n({token:jT,factory:jT.\u0275fac,providedIn:"root"});var GNc={TOP_LEFT:0,TOP_RIGHT:1,BOTTOM_LEFT:2,BOTTOM_RIGHT:3,LEFT_TOP:4,LEFT_BOTTOM:5,RIGHT_TOP:6,RIGHT_BOTTOM:7,0:"TOP_LEFT",1:"TOP_RIGHT",2:"BOTTOM_LEFT",3:"BOTTOM_RIGHT",4:"LEFT_TOP",5:"LEFT_BOTTOM",6:"RIGHT_TOP",7:"RIGHT_BOTTOM"};var kT=function(a,b,c){var d=this;this.document=a;this.focusTrapFactory=b;this.elementRef=c;this.dismiss=new Dv;this.action=new Dv;this.pointerPosition=2;this.color="blue";this.actionBtnIcon=this.actionBtnText="";this.Position=GNc;this.width=272;this.previouslyFocusedElement=null;this.dismissIfEscape=function(e){e.key==="Escape"&&d.dismissTooltip()};this.setPreviouslyFocusedElement=function(){var e=d.document.activeElement;e!=null&&e.closest("onedev-feature-tooltip-body")||(d.previouslyFocusedElement=
d.document.activeElement)};this.focusTrap=this.focusTrapFactory.create(this.elementRef.nativeElement,{defer:!0});this.document.addEventListener("keydown",this.dismissIfEscape);this.document.addEventListener("focusin",this.setPreviouslyFocusedElement)};kT.prototype.ngAfterContentInit=function(){Dw(this.focusTrap);this.setPreviouslyFocusedElement();a8b(this.focusTrap)};
kT.prototype.ngOnDestroy=function(){this.document.removeEventListener("keydown",this.dismissIfEscape);this.document.removeEventListener("focusin",this.setPreviouslyFocusedElement);this.focusTrap.destroy()};
kT.prototype.dismissTooltip=function(){this.dismiss.next();this.previouslyFocusedElement&&"focus"in this.previouslyFocusedElement&&this.previouslyFocusedElement.focus({preventScroll:!0});this.document.removeEventListener("keydown",this.dismissIfEscape);this.document.removeEventListener("focusin",this.setPreviouslyFocusedElement)};da.Object.defineProperties(kT.prototype,{widthOffset:{configurable:!0,enumerable:!0,set:function(a){this.width=272+a*64}}});
kT.\u0275fac=function(a){return new (a||kT)(hf(ii),hf(Vw),hf(ef))};
kT.\u0275cmp=C({type:kT,selectors:[["onedev-feature-tooltip-body"]],hostVars:16,hostBindings:function(a,b){a&2&&sg("pointer-top-left",b.pointerPosition===b.Position.TOP_LEFT)("pointer-top-right",b.pointerPosition===b.Position.TOP_RIGHT)("pointer-bottom-left",b.pointerPosition===b.Position.BOTTOM_LEFT)("pointer-bottom-right",b.pointerPosition===b.Position.BOTTOM_RIGHT)("pointer-left-top",b.pointerPosition===b.Position.LEFT_TOP)("pointer-left-bottom",b.pointerPosition===b.Position.LEFT_BOTTOM)("pointer-right-top",
b.pointerPosition===b.Position.RIGHT_TOP)("pointer-right-bottom",b.pointerPosition===b.Position.RIGHT_BOTTOM)},inputs:{pointerPosition:"pointerPosition",widthOffset:"widthOffset",color:"color",actionBtnText:"actionBtnText",actionBtnIcon:"actionBtnIcon"},outputs:{dismiss:"dismiss",action:"action"},standalone:!1,features:[ch([{provide:j8b,useValue:{preventFocus:function(){},allowFocus:function(){}}},Vw])],ngContentSelectors:["*"],decls:8,vars:5,consts:[["cdkTrapFocus","","role","dialog","aria-modal",
"true","aria-label","Feature Tooltip",1,"tooltip-body","gmat-body-2",3,"ngClass"],[1,"pointer-container"],[1,"pointer"],[1,"button-row"],["class","action-button","mat-button","",3,"click",4,"ngIf"],["cdkFocusInitial","","mat-flat-button","",1,"close-button",3,"click","color"],["mat-button","",1,"action-button",3,"click"],[1,"action-button-wrapper"],["class","action-button-icon",4,"ngIf"],[1,"action-button-icon"]],template:function(a,b){a&1&&(Ig(),I(0,"div",0)(1,"div",1),K(2,"div",2),J(),Jg(3),I(4,
"div",3),D(5,C1a,4,2,"button",4),I(6,"button",5),M("click",function(){return b.dismissTooltip()}),Q(7," Got it "),J()()());a&2&&(rg("width",b.width,"px"),E("ngClass",b.color),B(5),E("ngIf",b.actionBtnText),B(),E("color",b.color==="white"?"primary":""))},dependencies:[Gw,aw,cw,rK,pB],styles:[".overlay-container{overflow:hidden}.dark-mode,:root{--tooltip-white-bg:var(--surface-default,#fff);--tooltip-blue-bg:var(--blue-700,#1967d2);--tooltip-white-text:var(--grey-800,#3c4043);--tooltip-blue-text:var(--text-inverse,#fff);--tooltip-shadow-color:rgba(0,0,0,.2)}.dark-mode{--tooltip-white-bg:var(--surface-default,#28292c);--tooltip-blue-bg:var(--blue-300,#8ab4f8);--tooltip-white-text:var(--grey-300,#dadce0);--tooltip-blue-text:var(--text-inverse,#000);--tooltip-shadow-color:rgba(0,0,0,.5)}.tooltip-body{padding:24px;border-radius:8px;color:var(--tooltip-text);background-color:var(--tooltip-bg);position:relative;--pointer-edge-offset:24px;--pointer-width:18px;--pointer-height:12px;--pointer-container-height:30px;--pointer-container-width:calc(var(--pointer-edge-offset)*2 + var(--pointer-width));--pointer-adjustment:-9px;box-shadow:0 1px 3px 0 var(--tooltip-shadow-color),0 4px 8px 3px var(--tooltip-shadow-color)}.tooltip-body.blue{--tooltip-text:var(--tooltip-blue-text);--tooltip-bg:var(--tooltip-blue-bg)}.tooltip-body.white{--tooltip-text:var(--tooltip-white-text);--tooltip-bg:var(--tooltip-white-bg)}.tooltip-body .button-row{margin-top:16px;text-align:right}.tooltip-body .button-row>button{height:36px}.tooltip-body .button-row .close-button{color:var(--tooltip-bg);margin-left:16px;width:88px}.tooltip-body .button-row .action-button{padding-left:8px;padding-right:8px}.tooltip-body .button-row .action-button .action-button-wrapper{-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;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center}.tooltip-body .button-row .action-button .action-button-wrapper .action-button-icon{font-size:18px;height:18px;padding-left:8px;width:18px}.tooltip-body .pointer-container{position:absolute;overflow:hidden;pointer-events:none}.tooltip-body .pointer-container .pointer{width:16px;height:16px;position:absolute;background-color:var(--tooltip-bg)}.tooltip-body .tooltip-title{margin:0 4px 0 0}.pointer-bottom-left .pointer-container{height:var(--pointer-container-height);width:var(--pointer-container-width)}.pointer-bottom-left .pointer{left:calc(var(--pointer-edge-offset) + 1px);-webkit-transform:rotate(45deg) skew(8deg,8deg);transform:rotate(45deg) skew(8deg,8deg)}.pointer-bottom-left .tooltip-body{margin-bottom:var(--pointer-height)}.pointer-bottom-left .pointer{box-shadow:2px 2px 8px 3px var(--tooltip-shadow-color);top:var(--pointer-adjustment)}.pointer-bottom-left .pointer-container{bottom:calc(var(--pointer-container-height)*-1)}.pointer-bottom-left .pointer-container{left:0}.pointer-bottom-right .pointer-container{height:var(--pointer-container-height);width:var(--pointer-container-width)}.pointer-bottom-right .pointer{left:calc(var(--pointer-edge-offset) + 1px);-webkit-transform:rotate(45deg) skew(8deg,8deg);transform:rotate(45deg) skew(8deg,8deg)}.pointer-bottom-right .tooltip-body{margin-bottom:var(--pointer-height)}.pointer-bottom-right .pointer{box-shadow:2px 2px 8px 3px var(--tooltip-shadow-color);top:var(--pointer-adjustment)}.pointer-bottom-right .pointer-container{bottom:calc(var(--pointer-container-height)*-1)}.pointer-bottom-right .pointer-container{right:0}.pointer-top-left .pointer-container{height:var(--pointer-container-height);width:var(--pointer-container-width)}.pointer-top-left .pointer{left:calc(var(--pointer-edge-offset) + 1px);-webkit-transform:rotate(45deg) skew(8deg,8deg);transform:rotate(45deg) skew(8deg,8deg)}.pointer-top-left .tooltip-body{margin-top:var(--pointer-height)}.pointer-top-left .pointer{box-shadow:-1px -1px 3px 0 var(--tooltip-shadow-color);bottom:var(--pointer-adjustment)}.pointer-top-left .pointer-container{top:calc(var(--pointer-container-height)*-1)}.pointer-top-left .pointer-container{left:0}.pointer-top-right .pointer-container{height:var(--pointer-container-height);width:var(--pointer-container-width)}.pointer-top-right .pointer{left:calc(var(--pointer-edge-offset) + 1px);-webkit-transform:rotate(45deg) skew(8deg,8deg);transform:rotate(45deg) skew(8deg,8deg)}.pointer-top-right .tooltip-body{margin-top:var(--pointer-height)}.pointer-top-right .pointer{box-shadow:-1px -1px 3px 0 var(--tooltip-shadow-color);bottom:var(--pointer-adjustment)}.pointer-top-right .pointer-container{top:calc(var(--pointer-container-height)*-1)}.pointer-top-right .pointer-container{right:0}.pointer-left-top .pointer-container{height:var(--pointer-container-width);width:var(--pointer-container-height)}.pointer-left-top .pointer{top:calc(var(--pointer-edge-offset) + 1px);-webkit-transform:rotate(135deg) skew(8deg,8deg);transform:rotate(135deg) skew(8deg,8deg)}.pointer-left-top .tooltip-body{margin-left:var(--pointer-height)}.pointer-left-top .pointer{box-shadow:2px 2px 5px 0 var(--tooltip-shadow-color);right:var(--pointer-adjustment)}.pointer-left-top .pointer-container{left:calc(var(--pointer-container-height)*-1)}.pointer-left-top .pointer-container{top:0}.pointer-left-bottom .pointer-container{height:var(--pointer-container-width);width:var(--pointer-container-height)}.pointer-left-bottom .pointer{top:calc(var(--pointer-edge-offset) + 1px);-webkit-transform:rotate(135deg) skew(8deg,8deg);transform:rotate(135deg) skew(8deg,8deg)}.pointer-left-bottom .tooltip-body{margin-left:var(--pointer-height)}.pointer-left-bottom .pointer{box-shadow:2px 2px 5px 0 var(--tooltip-shadow-color);right:var(--pointer-adjustment)}.pointer-left-bottom .pointer-container{left:calc(var(--pointer-container-height)*-1)}.pointer-left-bottom .pointer-container{bottom:0}.pointer-right-top .pointer-container{height:var(--pointer-container-width);width:var(--pointer-container-height)}.pointer-right-top .pointer{top:calc(var(--pointer-edge-offset) + 1px);-webkit-transform:rotate(135deg) skew(8deg,8deg);transform:rotate(135deg) skew(8deg,8deg)}.pointer-right-top .tooltip-body{margin-right:var(--pointer-height)}.pointer-right-top .pointer{left:var(--pointer-adjustment);box-shadow:1px -1px 8px 3px var(--tooltip-shadow-color)}.pointer-right-top .pointer-container{right:calc(var(--pointer-container-height)*-1)}.pointer-right-top .pointer-container{top:0}.pointer-right-bottom .pointer-container{height:var(--pointer-container-width);width:var(--pointer-container-height)}.pointer-right-bottom .pointer{top:calc(var(--pointer-edge-offset) + 1px);-webkit-transform:rotate(135deg) skew(8deg,8deg);transform:rotate(135deg) skew(8deg,8deg)}.pointer-right-bottom .tooltip-body{margin-right:var(--pointer-height)}.pointer-right-bottom .pointer{left:var(--pointer-adjustment);box-shadow:1px -1px 8px 3px var(--tooltip-shadow-color)}.pointer-right-bottom .pointer-container{right:calc(var(--pointer-container-height)*-1)}.pointer-right-bottom .pointer-container{bottom:0}"],
encapsulation:2,changeDetection:0});var lT=function(){};lT.\u0275fac=function(a){return new (a||lT)};lT.\u0275mod=Cf({type:lT});lT.\u0275inj=p({});var mT=function(){this.anchorMap=new Map},HNc=function(a,b){if(a.anchorMap.has(b))return a.anchorMap.get(b);var c={created$:new Tf(1),destroyed$:new Uf,dismissTooltip$:new Uf};a.anchorMap.set(b,c);return c},INc=function(a,b,c){HNc(a,b).created$.next(c)},JNc=function(a,b){HNc(a,b).destroyed$.next();HNc(a,b).created$.next(void 0)};mT.prototype.dismissTooltip=function(){HNc(this).dismissTooltip$.next()};mT.\u0275fac=function(a){return new (a||mT)};mT.\u0275prov=n({token:mT,factory:mT.\u0275fac,providedIn:lT});var nT={TOP_LEFT:{pointerPosition:2,connectedPosition:{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",offsetX:-12}},TOP_CENTER_RIGHT:{pointerPosition:2,connectedPosition:{originX:"center",originY:"top",overlayX:"start",overlayY:"bottom",offsetX:-33}},TOP_CENTER_LEFT:{pointerPosition:3,connectedPosition:{originX:"center",originY:"top",overlayX:"end",overlayY:"bottom",offsetX:33}},TOP_RIGHT:{pointerPosition:3,connectedPosition:{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",
offsetX:12}},RIGHT_TOP:{pointerPosition:4,connectedPosition:{originX:"end",originY:"top",overlayX:"start",overlayY:"top",offsetY:-12}},RIGHT_CENTER_BOTTOM:{pointerPosition:4,connectedPosition:{originX:"end",originY:"center",overlayX:"start",overlayY:"top",offsetY:-33}},RIGHT_CENTER_TOP:{pointerPosition:5,connectedPosition:{originX:"end",originY:"center",overlayX:"start",overlayY:"bottom",offsetY:33}},RIGHT_BOTTOM:{pointerPosition:5,connectedPosition:{originX:"end",originY:"bottom",overlayX:"start",
overlayY:"bottom",offsetY:12}},LEFT_BOTTOM:{pointerPosition:7,connectedPosition:{originX:"start",originY:"bottom",overlayX:"end",overlayY:"bottom",offsetY:12}},LEFT_CENTER_BOTTOM:{pointerPosition:6,connectedPosition:{originX:"start",originY:"center",overlayX:"end",overlayY:"top",offsetY:-33}},LEFT_CENTER_TOP:{pointerPosition:7,connectedPosition:{originX:"start",originY:"center",overlayX:"end",overlayY:"bottom",offsetY:33}},LEFT_TOP:{pointerPosition:6,connectedPosition:{originX:"start",originY:"top",
overlayX:"end",overlayY:"top",offsetY:-12}},BOTTOM_LEFT:{pointerPosition:0,connectedPosition:{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top",offsetX:-12}},BOTTOM_CENTER_RIGHT:{pointerPosition:0,connectedPosition:{originX:"center",originY:"bottom",overlayX:"start",overlayY:"top",offsetX:-33}},BOTTOM_CENTER_LEFT:{pointerPosition:1,connectedPosition:{originX:"center",originY:"bottom",overlayX:"end",overlayY:"top",offsetX:33}},BOTTOM_RIGHT:{pointerPosition:1,connectedPosition:{originX:"end",
originY:"bottom",overlayX:"end",overlayY:"top",offsetX:12}}},KNc=[nT.TOP_CENTER_RIGHT,nT.TOP_CENTER_LEFT,nT.BOTTOM_CENTER_RIGHT,nT.BOTTOM_CENTER_LEFT],LNc=[nT.TOP_LEFT,nT.TOP_RIGHT,nT.BOTTOM_LEFT,nT.BOTTOM_RIGHT],MNc=[nT.LEFT_CENTER_BOTTOM,nT.LEFT_CENTER_TOP,nT.RIGHT_CENTER_BOTTOM,nT.RIGHT_CENTER_TOP],NNc=[nT.LEFT_TOP,nT.LEFT_BOTTOM,nT.RIGHT_TOP,nT.RIGHT_BOTTOM];var oT=function(){};oT.\u0275fac=function(a){return new (a||oT)};oT.\u0275mod=Cf({type:oT});oT.\u0275inj=p({});var pT=function(){},PNc=function(a,b){return ONc(a,b).map(function(c){return c.connectedPosition})},QNc=function(a,b,c){a=ONc(a,b).find(function(d){return d.connectedPosition===c});if(!a)throw Error("cf`"+JSON.stringify(c));return a.pointerPosition},ONc=function(a,b){b=RNc(b).filter(function(c){return!a.includes(c)});return a.concat(b)},RNc=function(a){var b,c=a==null?void 0:(b=a.nativeElement)==null?void 0:b.clientWidth,d;a=a==null?void 0:(d=a.nativeElement)==null?void 0:d.clientHeight;return(c!==
void 0&&c<60?KNc:LNc).concat(a!==void 0&&a<60?MNc:NNc)};pT.\u0275fac=function(a){return new (a||pT)};pT.\u0275prov=n({token:pT,factory:pT.\u0275fac,providedIn:oT});var SNc=["template"],qT=function(a,b,c,d,e){var f=this;this.anchorService=a;this.overlay=b;this.containerRef=c;this.ngZone=d;this.changeDetectorRef=e;this.open$=new Uf;this.customPositions=[];this.widthOffset=0;this.color="blue";this.hasBackdrop=!1;this.actionBtnIcon=this.actionBtnText="";this.dismiss=new Dv;this.beforeShown=new Dv;this.action=new Dv;this.pointerPosition=0;this.destroyed$=new Tf;this.init$=new Tf;this.savedAnchorStyles={zIndex:"",position:""};this.hideFeatureTooltip=function(){f.overlayRef&&
f.hasBackdrop&&f.anchor&&(f.anchor.nativeElement.style.position=f.savedAnchorStyles.position,f.anchor.nativeElement.style.zIndex=f.savedAnchorStyles.zIndex);var h;(h=f.overlayRef)==null||h.dispose();f.overlayRef=void 0}};qT.prototype.ngOnChanges=function(a){if(a.customPositions){var b;(b=this.overlayRef)==null||F8b(b,TNc(this))}};
qT.prototype.ngOnInit=function(){var a=HNc(this.anchorService,this.tooltipId),b=a.destroyed$,c=a.dismissTooltip$;UNc(this,a.created$);b.pipe(Zf(this.destroyed$)).subscribe(this.hideFeatureTooltip);VNc(this,c)};qT.prototype.ngAfterViewInit=function(){this.init$.next()};qT.prototype.ngOnDestroy=function(){this.hideFeatureTooltip();this.destroyed$.next()};
var UNc=function(a,b){a.open$.pipe(oka(a.init$),$f(function(){a.beforeShown.emit()}),Yf(function(){return b.pipe(Zf(a.dismiss))}),Zf(a.destroyed$),Ue(function(c){return!!c&&!a.isVisible()})).subscribe(function(c){a.showFeatureTooltip(c)})},VNc=function(a,b){b.pipe(Zf(a.destroyed$),Ue(function(){return a.isVisible()})).subscribe(function(){a.hideFeatureTooltip();a.dismiss.emit()})};
qT.prototype.showFeatureTooltip=function(a){this.anchor=a;a=a.nativeElement;if(this.hasBackdrop){var b=a.style,c=b.position;this.savedAnchorStyles={zIndex:b.zIndex,position:c};if(c==="static"||c==="")a.style.position="relative";a.style.zIndex="1001"}this.overlayRef=this.overlay.create({positionStrategy:TNc(this),scrollStrategy:this.getScrollStrategy(),minWidth:"fit-content",hasBackdrop:this.hasBackdrop});var d;(d=this.overlayRef)==null||d.attach(new Ex(this.templateRef,this.containerRef))};
qT.prototype.getScrollStrategy=function(){var a=this.overlay.scrollStrategies;return this.hasBackdrop?a.block():a.reposition()};qT.prototype.getPositionStrategy=function(){if(!this.anchor)throw Error("df");return xx(Bx(this.overlay.position(),this.anchor),PNc(this.customPositions,this.anchor))};
var TNc=function(a){var b=a.getPositionStrategy();b.positionChanges.subscribe(function(c){a.ngZone.run(function(){a.pointerPosition=QNc(a.customPositions,a.anchor,c.connectionPair);a.changeDetectorRef.markForCheck()})});return b};qT.prototype.isVisible=function(){return!!this.overlayRef};qT.\u0275fac=function(a){return new (a||qT)(hf(mT),hf(Kx),hf(Pg),hf(kh),hf(Ov),hf(pT))};
qT.\u0275cmp=C({type:qT,selectors:[["onedev-feature-tooltip"]],viewQuery:function(a,b){a&1&&Rg(SNc,5);if(a&2){var c;Vg(c=Wg())&&(b.templateRef=c.first)}},inputs:{tooltipId:"tooltipId",open$:"open$",customPositions:"customPositions",widthOffset:"widthOffset",color:"color",hasBackdrop:"hasBackdrop",actionBtnText:"actionBtnText",actionBtnIcon:"actionBtnIcon"},outputs:{dismiss:"dismiss",beforeShown:"beforeShown",action:"action"},standalone:!1,features:[rv],ngContentSelectors:["*"],decls:2,vars:0,consts:[["template",
""],[3,"action","dismiss","actionBtnText","actionBtnIcon","color","pointerPosition","widthOffset"]],template:function(a){a&1&&(Ig(),D(0,D1a,2,5,"ng-template",null,0,ih))},dependencies:[kT],encapsulation:2,changeDetection:0});var rT=function(){};rT.\u0275fac=function(a){return new (a||rT)};rT.\u0275mod=Cf({type:rT});rT.\u0275inj=p({});var sT=function(){};sT.\u0275fac=function(a){return new (a||sT)};sT.\u0275mod=Cf({type:sT});sT.\u0275inj=p({imports:[rT]});var tT=function(){};tT.prototype.getValue=function(a){a=window.localStorage.getItem(a);return Ae(a?JSON.parse(a):null)};tT.prototype.getValues=function(a){return Ae(a.reduce(function(b,c){var d=b.set;var e=(e=window.localStorage.getItem(c))?JSON.parse(e):null;return d.call(b,c,e)},new Map))};tT.prototype.setValue=function(a,b){window.localStorage.setItem(a,JSON.stringify(b));return Ae(void 0)};tT.\u0275fac=function(a){return new (a||tT)};tT.\u0275prov=n({token:tT,factory:tT.\u0275fac,providedIn:rT});var WNc=new zd("Feature Tooltip Controller Config"),uT=function(a,b,c){this.config=a;this.keyValueStore=b;this.injector=c;this.clientStreamzService=this.config.enableUsageTracking?this.injector.get(eI):void 0;this.lastTooltipKey="onedev.lastTooltipTime."+this.config.productName;var d;this.config.shownMetricName=(d=this.config.shownMetricName)!=null?d:"tooltipShown";var e;this.config.hiddenMetricName=(e=this.config.hiddenMetricName)!=null?e:"tooltipHidden"},XNc=function(a){return a.keyValueStore.getValue(a.lastTooltipKey).pipe(z(function(b){return b===
null?!0:(new Date).getTime()-b>=a.config.cooldownMilliseconds}))};uT.prototype.hideTooltip=function(a){var b;(b=this.clientStreamzService)==null||Gqc(b,this.config.hiddenMetricName,!0);Oe([this.keyValueStore.setValue(this.lastTooltipKey,(new Date).getTime()),this.keyValueStore.setValue(vT(this,a),"HIDDEN")]).pipe(Mf())};
var YNc=function(a,b){a.keyValueStore.getValue(vT(a,b)).pipe(Ue(function(c){return c!=="SHOWING"})).subscribe(function(){a.keyValueStore.setValue(vT(a,b),"HIDDEN")})},$Nc=function(a,b,c){var d=c.map(function(e){return vT(a,e)});return a.keyValueStore.getValues(d).pipe(z(function(e){return ZNc(a,b,c,e)}))};
uT.prototype.showTooltip=function(a){var b;(b=this.clientStreamzService)==null||Gqc(b,this.config.shownMetricName,!0);return Oe([this.keyValueStore.setValue(this.lastTooltipKey,(new Date).getTime()),this.keyValueStore.setValue(vT(this,a),"SHOWING")]).pipe(Mf())};var ZNc=function(a,b,c,d){return c.filter(function(e){e=d.get(vT(a,e));return e===b||b==="UNSEEN"&&e===null})},vT=function(a,b){return"onedev.tooltips."+a.config.productName+"."+b};
uT.\u0275fac=function(a){return new (a||uT)(pd(WNc),pd(tT),pd(Ye))};uT.\u0275prov=n({token:uT,factory:uT.\u0275fac,providedIn:sT});var wT=function(a){var b=this;this.featureTooltipService=a;this.showTooltip$=Ae(void 0);this.destroyed$=new Tf;this.getCurrentlyShowingTooltips=function(){return $Nc(b.featureTooltipService,"SHOWING",aOc(b))}};
wT.prototype.ngAfterContentInit=function(){var a=this,b=this.showTooltip$.pipe(Yf(this.getCurrentlyShowingTooltips),Yf(function(c){return c.length>0?Ae(c[0]):Ae(void 0).pipe(bOc(a),cOc(a))}),z(function(c){return dOc(a,c)}),Ue(function(c){return!!c}),z(function(c){return c}),Vf({bufferSize:1,refCount:!0}));eOc(this,b);b.pipe(Zf(this.destroyed$)).subscribe(function(c){c.open$.next();a.featureTooltipService.showTooltip(c.tooltipId)})};wT.prototype.ngOnDestroy=function(){this.destroyed$.next()};
var bOc=function(a){return ne(Yf(function(){return XNc(a.featureTooltipService)}),Ue(me))},cOc=function(a){return ne(Yf(function(){return $Nc(a.featureTooltipService,"UNSEEN",aOc(a))}),Ue(function(b){return b.length>0}),z(function(b){return b[0]}))},eOc=function(a,b){b.pipe(Yf(function(c){return c.dismiss.pipe(Mf(c.tooltipId))}),Zf(a.destroyed$)).subscribe(function(c){a.featureTooltipService.hideTooltip(c)})},aOc=function(a){return a.tooltips.map(function(b){return b.tooltipId})},dOc=function(a,b){return a.tooltips.find(function(c){return c.tooltipId===
b})};wT.\u0275fac=function(a){return new (a||wT)(hf(uT))};wT.\u0275cmp=C({type:wT,selectors:[["onedev-feature-tooltip-controller"]],contentQueries:function(a,b,c){a&1&&Sg(c,qT,4);if(a&2){var d;Vg(d=Wg())&&(b.tooltips=d)}},inputs:{showTooltip$:"showTooltip$"},standalone:!1,decls:0,vars:0,template:function(){},encapsulation:2,changeDetection:0});var xT=function(a,b){this.anchorService=a;this.element=b;this.hideTooltipWhenAnchorNotVisible=!1};xT.prototype.ngOnInit=function(){var a=this;this.hideTooltipWhenAnchorNotVisible?(this.intersectionObserver=new IntersectionObserver(function(b){k(b).next().value.isIntersecting?INc(a.anchorService,a.tooltipId,a.element):JNc(a.anchorService,a.tooltipId)}),this.intersectionObserver.observe(this.element.nativeElement)):INc(this.anchorService,this.tooltipId,this.element)};
xT.prototype.ngOnDestroy=function(){JNc(this.anchorService,this.tooltipId);var a;(a=this.intersectionObserver)==null||a.disconnect()};xT.\u0275fac=function(a){return new (a||xT)(hf(mT),hf(ef))};xT.\u0275dir=Df({type:xT,selectors:[["","onedevTooltipAnchor",""]],inputs:{tooltipId:[0,"onedevTooltipAnchor","tooltipId"],hideTooltipWhenAnchorNotVisible:"hideTooltipWhenAnchorNotVisible"},standalone:!1});var yT=function(a,b,c){var d=this;this.featureTooltipService=a;this.renderer=b;this.elementRef=c;this.preventTooltipFromShowing=function(){YNc(d.featureTooltipService,d.tooltipId)}};yT.prototype.ngOnInit=function(){this.unsubscribeFromEvent||(this.event="click")};yT.prototype.ngOnDestroy=function(){var a;(a=this.unsubscribeFromEvent)==null||a.call(this)};
da.Object.defineProperties(yT.prototype,{event:{configurable:!0,enumerable:!0,set:function(a){var b;(b=this.unsubscribeFromEvent)==null||b.call(this);this.unsubscribeFromEvent=this.renderer.listen(this.elementRef.nativeElement,a,this.preventTooltipFromShowing)}}});yT.\u0275fac=function(a){return new (a||yT)(hf(uT),hf(Iv),hf(ef))};
yT.\u0275dir=Df({type:yT,selectors:[["","onedevTooltipPreventer",""]],inputs:{tooltipId:[0,"onedevTooltipPreventer","tooltipId"],event:[0,"onedevPreventTooltipOn","event"]},standalone:!1});var fOc=new zd("TooltipAnchor"),gOc=new zd("TooltipPeventer"),zT=function(a,b,c,d,e,f){this.featureTooltipService=a;this.anchorService=b;this.elementRef=c;this.renderer=d;this.anchorClass=e;this.preventerClass=f;this.tooltipPreventer=new this.preventerClass(this.featureTooltipService,this.renderer,this.elementRef);this.tooltipAnchor=new this.anchorClass(this.anchorService,this.elementRef)};zT.prototype.ngOnInit=function(){this.tooltipPreventer.ngOnInit();this.tooltipAnchor.ngOnInit()};
zT.prototype.ngOnDestroy=function(){this.tooltipPreventer.ngOnDestroy();this.tooltipAnchor.ngOnDestroy()};da.Object.defineProperties(zT.prototype,{tooltipId:{configurable:!0,enumerable:!0,set:function(a){this.tooltipPreventer.tooltipId=a;this.tooltipAnchor.tooltipId=a}},hideTooltipWhenAnchorNotVisible:{configurable:!0,enumerable:!0,set:function(a){this.tooltipAnchor.hideTooltipWhenAnchorNotVisible=a}},event:{configurable:!0,enumerable:!0,set:function(a){this.tooltipPreventer.event=a}}});
zT.\u0275fac=function(a){return new (a||zT)(hf(uT),hf(mT),hf(ef),hf(Iv),hf(fOc),hf(gOc))};zT.\u0275dir=Df({type:zT,selectors:[["","onedevFeatureTooltip",""]],inputs:{tooltipId:[0,"onedevFeatureTooltip","tooltipId"],hideTooltipWhenAnchorNotVisible:"hideTooltipWhenAnchorNotVisible",event:[0,"onedevPreventTooltipOn","event"]},standalone:!1,features:[ch([{provide:fOc,useValue:xT},{provide:gOc,useValue:yT}])]});var hOc=function(){this.className="gmat-subtitle-1 tooltip-title"};hOc.\u0275fac=function(a){return new (a||hOc)};hOc.\u0275dir=Df({type:hOc,selectors:[["","onedevTooltipTitle",""]],hostVars:2,hostBindings:function(a,b){a&2&&tg(b.className)},standalone:!1});var F1a=Lc(""),iOc=function(){this.port=this.iframe=null;this.deferredMessages=[]};iOc.prototype.load=function(){var a=this,b=jOc();this.iframe=G1a(b);kOc().then(function(){a.iframe&&document.body.appendChild(a.iframe)});return E1a(this.iframe,b).then(function(c){for(a.port=c.ports[0];a.deferredMessages.length>0;)c=a.deferredMessages.shift(),a.port.postMessage(c.data,c.transferables)})};
iOc.prototype.exec=function(a,b){var c=this;return new Promise(function(d,e){var f=new MessageChannel;f.port1.onmessage=function(F){f.port1.onmessage=null;F=F.data;F.error!=null?e(new EvalError(F.error)):d(F.result)};for(var h=[],l=[],q=[],u=k(b!=null?b:[]),A=u.next();!A.done;A=u.next())A=A.value,h.push(A.name),l.push(A.value),A.transfer&&q.push(A.value);h={code:a,paramNames:h,values:l};c.port?c.port.postMessage(h,[f.port2].concat(t(q))):c.deferredMessages.push({data:h,transferables:[f.port2].concat(t(q))})})};
iOc.prototype.dispose=function(){this.iframe!=null&&(this.iframe.parentNode&&this.iframe.parentNode.removeChild(this.iframe),this.iframe=null)};var jOc=function(){var a=(window.crypto||window.msCrypto).getRandomValues(new Uint8Array(16));return Array.prototype.join.call(a,".")},kOc=function(){return new Promise(function(a){document.readyState!="loading"?a():BF(document,"DOMContentLoaded",function(){a()})})};var lOc={useFilePicker:!1},mOc,AT=function(a){this.options=a=a===void 0?lOc:a;nOc(this.options)||typeof navigator.msSaveOrOpenBlob==="function"||(this.sandbox=new iOc)};AT.download=function(a,b,c,d){c=c===void 0?"":c;d=d===void 0?lOc:d;return se(function(e){if(e.nextAddress==1)return y(e,oOc(a,b,c,d),2);if(e.yieldResult)return e.return();mOc||(mOc=new AT,mOc.init());return y(e,pOc(mOc,a,b,c),0)})};
AT.prototype.init=function(){var a=this;return se(function(b){return a.sandbox==null?b.return():y(b,a.sandbox.load(),0)})};AT.prototype.download=function(a,b,c){c=c===void 0?"":c;var d=this;return se(function(e){return e.nextAddress==1?y(e,oOc(a,b,c,d.options),2):e.yieldResult?e.return():y(e,pOc(d,a,b,c),0)})};
var pOc=function(a,b,c,d){d=d===void 0?"":d;var e,f;return se(function(h){switch(h.nextAddress){case 1:e=b instanceof Blob?b:new Blob([b],{type:d});if(typeof navigator.msSaveOrOpenBlob!=="function"){h.jumpTo(2);break}navigator.msSaveOrOpenBlob(e,c);return y(h,H1a(),3);case 3:return h.return();case 2:if(!Ka()||c3b(Cba(),16)>=0||!Ia()&&(!Ea("iPad")&&!Ea("iPhone")||tba()||Ia()||(Fa()?0:Ea("Coast"))||sba()||!Ea("AppleWebKit"))){h.jumpTo(4);break}f=new FileReader;f.onload=function(){var l=Vq(document,
"A"),q=Rc(String(f.result));Bea(l,q);l.download=c;l.click()};f.readAsDataURL(e);return y(h,H1a(),5);case 5:return h.return();case 4:return a.sandbox==null&&(a.sandbox=new iOc,a.sandbox.load()),y(h,a.sandbox.exec('var url=URL.createObjectURL(blob);var a=document.createElement("a");if(!("download" in a)){throw new Error("Downloading not supported on this browser");}a.href=url;a.download=filename;document.body.appendChild(a);a.click();setTimeout(function(){document.body.removeChild(a);URL.revokeObjectURL(url);},250);',
[{name:"blob",value:e,transfer:!1},{name:"filename",value:c,transfer:!1}]),6);case 6:return y(h,H1a(),0)}})},oOc=function(a,b,c,d){c=c===void 0?"":c;d=d===void 0?lOc:d;var e;return se(function(f){switch(f.nextAddress){case 1:if(!nOc(d))return f.return(!1);te(f,2);return y(f,qOc(a,b,c),4);case 4:Hu(f,3);break;case 2:e=we(f);if(e instanceof DOMException&&e.name==="SecurityError")return f.return(!1);throw e;case 3:return f.return(!0)}})},nOc=function(a){a=a===void 0?lOc:a;return a.useFilePicker&&!!window.showSaveFilePicker},
qOc=function(a,b,c){c=c===void 0?"":c;var d,e,f,h;return se(function(l){switch(l.nextAddress){case 1:var q={suggestedName:b},u;(u=b.match(/\..+$/))?(u=u[0],u=u.length>16?null:u):u=null;if(u){var A={},F=c;F=F.replace(/;[^]*/,"");q.types=[{description:"*"+u,accept:(A[/^\s*[a-zA-Z0-9+._-]+\/[a-zA-Z0-9+._-]+?\s*$/.test(F)?F:"*/*"]=[u],A)}]}d=q;te(l,2);return y(l,window.showSaveFilePicker(d),4);case 4:e=l.yieldResult;Hu(l,3);break;case 2:f=we(l);if(f instanceof DOMException&&f.name==="AbortError")return l.return();
throw f;case 3:return y(l,e.createWritable(),5);case 5:return h=l.yieldResult,fha(l,6),y(l,h.write(a),6);case 6:return ue(l),y(l,h.close(),9);case 9:ve(l,7);break;case 7:return l.return()}})};AT.prototype.dispose=function(){this.sandbox!=null&&this.sandbox.dispose()};O2b("SafeDownloader",AT);var S1a=function(a,b){return[a,b]},BT=function(){Z.apply(this,arguments);var a=this;this.activeSession=r(Bu);this.documentationLinks=r(lI);this.domSafe=r(NH);this.matDialogService=r(tI);this.attachmentService=r(YS);this.cdr=r(cB,{self:!0});this.differs=r(Rv);this.paths=r(IP);this.userAccess=r(uE);this.butterBar=r(fH);this.errorHandler=r(CI);this.analytics=r(OF);this.clipboard=r(CH);this.issueCommentDialogsService=r(DS);this.issuePermissionService=r(gJ);this.editIssueService=r(kJ);this.snackBar=r(cH);
this.trackerHelpers=r(yH);this.attachmentCountService=r(aT);this.attachmentsApi=r(NI);this.attachmentEnrichmentFridge=r(aD);this.featureTooltipRegistry=r(jT);this.routeParams=r(YI);this.attachmentEnrichments$=Ne(function(){return Vt(a.activeSession,"enableAttachmentEnrichments")?a.attachmentEnrichmentFridge.watch(a.issueId):Ae()}).pipe(z(function(b){return(b==null?void 0:b.enrichments.filter(function(c){var d,e;return c.attachmentId===((d=a.attachment)==null?void 0:(e=d.attachmentId)==null?void 0:
e.toString())}))||[]}));this.TOOLTIP_POSITIONS=nT;this.ATTACHMENT_ENRICHMENTS_FEATURE_TOOLTIP_ID="attachmentEnrichmentsFeatureTooltip";this.hasViewAccess=!1;this.actionMenuItems=[];this.attachmentRetentionSaveInProgress=!1;this.enableInactiveUserContent=Vt(this.activeSession,"enableInactiveUserContent");this.enableInlineImageAttachments=Vt(this.activeSession,"enableInlineImageAttachments");this.canDeleteAttachment$=new Xi(!1);this.canUndeleteAttachment$=new Xi(!1);this.showFeatureTooltip=this.featureTooltipRegistry.showTooltip("attachmentEnrichmentsFeatureTooltip")};
Y(BT,Z);BT.\u0275dir=Z.\u0275dir;
BT.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;rOc(this);sOc(this);this.issuePermissionService.canDeleteAttachment$(this.attachment,this.attachmentUploader).pipe(Zf(this.destroyed$)).subscribe(function(c){a.canDeleteAttachment$.next(c);rOc(a)});this.issuePermissionService.canUndeleteAttachment$(this.attachment,this.attachmentUploader).pipe(Zf(this.destroyed$)).subscribe(function(c){a.canUndeleteAttachment$.next(c);
rOc(a)});this.destroyed$.subscribe(function(){var c;((c=a.attachment)==null?0:c.attachmentId)&&a.attachmentCountService.inlinedAttachmentSet.delete(a.attachment.attachmentId)})};BT.prototype.ngDoCheck=function(){this.attachmentDiffer&&this.attachmentDiffer.diff(this.attachment)&&rOc(this)};BT.prototype.ngOnChanges=function(a){this.setHasViewAccess();a.attachment&&this.attachment&&(this.attachmentDiffer=this.differs.find(this.attachment).create())};
var rOc=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(){Gsc(a.editIssueService,a.issueId,a.attachment)},label:"Restore attachment"});a.actionMenuItems.push({type:"action",action:function(){fMc(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";eMc(a.issueCommentDialogsService,"attachment",d).then(function(e){e&&tOc(a,d)})},label:c?"Match issue retention...":"Revert to component retention..."})}a.cdr.markForCheck()};
BT.prototype.setHasViewAccess=function(){var a=this;this.isRestricted()?this.attachment==null?this.hasViewAccess=!1:(this.hasViewAccess=!1,vE(this.userAccess,"reader","issues/"+this.issueId+"/attachments/"+this.attachment.attachmentId).then(function(b){a.hasViewAccess=b;a.cdr.detectChanges()})):this.hasViewAccess=!0};BT.prototype.getFilename=function(){var a;return((a=this.attachment)==null?void 0:a.filename)||""};
BT.prototype.getSize=function(){var a;return((a=this.attachment)==null?void 0:a.length)||0};
var L1a=function(a,b){b=b===void 0?!0:b;var c;if((c=a.attachment)==null||!c.attachmentId)throw Error("ff");if(a.enableInactiveUserContent){if(b)return Brc(a.attachmentsApi)+"/download/attachment/"+a.issueId+"/"+a.attachment.attachmentId+"?download=true";var d;return Qq.viewAttachment.makeHref(a.issueId,a.attachment.attachmentId,(d=a.attachment.contentType)!=null?d:"")}c="action/issues/"+a.issueId.toString()+"/attachments/"+a.attachment.attachmentId.toString();a=a.paths.getBaseUrl()+"/"+c;return itc(a,
"download",b)};BT.prototype.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"};BT.prototype.viewAttachment=function(){this.isRestricted()?uOc(this,!1):this.domSafe.openInNewTab(L1a(this,!1))};
var N1a=function(a){var b,c=(b=a.attachment)==null?void 0:b.attachmentId,d,e=(d=a.attachment)==null?void 0:d.filename,f,h=(f=a.attachment)==null?void 0:f.contentType;a.isRestricted()?uOc(a,!0):a.enableInactiveUserContent?a.subscriptions.add(Crc(a.attachmentsApi,a.issueId,c.toString()).subscribe(function(l){l&&AT.download(l,e,h)})):a.domSafe.openInNewTab(L1a(a,!0))};BT.prototype.isRestricted=function(){return this.getRestrictionSeverity()!=="NONE_DETECTED"};
BT.prototype.getRestrictionSeverity=function(){var a;return Lp((a=this.attachment)==null?void 0:a.contentVerdict)};BT.prototype.getRestrictedLabel=function(){return YHa(this.getRestrictionSeverity())};var K1a=function(a){return(a=a.getRestrictionSeverity())?"bv2-restricted-content-limit-"+XHa(a):""},uOc=function(a,b){a.analytics.trackEvent("restrictedContent","viewRestrictedContent","attachment");a.matDialogService.open(XS,{width:"400px",data:{attachment:a.attachment,issueId:a.issueId,download:b}})};
BT.prototype.showDeleteAttachmentDialog=function(){var a;(a=this.attachment)!=null&&a.attachmentId&&this.issueCommentDialogsService.showDeleteAttachmentDialog(this.issueId,this.attachment)};
var tOc=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(Zf(a.destroyed$)).subscribe({next:function(d){a.attachmentRetentionSaveInProgress=!1;a.attachment&&(a.attachment.piiRetention=d.piiRetention,a.attachment.piiRetentionState=d.piiRetentionState);jq(a.butterBar,"Attachment retention updated",
4E3);a.attachmentRetentionOverride=b==="INDEFINITE"?"INDEFINITE":"COMPONENT_DEFAULT";rOc(a);a.cdr.detectChanges()},error:function(){a.attachmentRetentionSaveInProgress=!1;DI(a.errorHandler,"Attachment retention update failed")}})):DI(a.errorHandler,"Attachment id is missing")},sOc=function(a){var b,c,d;se(function(e){(b=Number(a.routeParams.downloadAttachment))&&b===((c=a.attachment)==null?void 0:c.attachmentId)&&(d=a.routeParams.download==="true",uOc(a,d));xe(e)})};
BT.\u0275fac=function(){var a;return function(b){return(a||(a=ee(BT)))(b||BT)}}();
BT.\u0275cmp=C({type:BT,selectors:[["b-attachment-viewer"]],inputs:{attachment:"attachment",issueId:"issueId",attachmentUploader:"attachmentUploader"},standalone:!1,features:[ch([cB]),cg,rv],decls:19,vars:12,consts:[["restrictedAccessHelp",""],[1,"bv2-issue-attachment-image"],["name","file-present","size","large",1,"bv2-issue-attachment-icon"],[1,"flex-kids-y"],[1,"bv2-issue-attachment-filename"],[1,"bv2-issue-event-attachment-info","flex-kids-x","align-items-center"],[3,"label","retentionState",
"contentType"],[1,"bv2-issue-attachment-overflow-menu"],[1,"flex-kids-x","align-items-center"],[3,"class"],[3,"panelTemplate"],[1,"bv2-restricted-access-help-icon","help-icon"],[2,"display","none",3,"issueId","attachmentId","mimeType"],[1,"issue-detail-actions",3,"menuItems","buttonLabel","matTooltip"],[3,"customHandler","isGreyedOut","displayName","linkUrl","linkEnabled","useCustomHandler"],[1,"bv2-issue-attachment-link","icon-button-container"],["type","button","aria-label","Copy link to attachment",
"color","primary","mat-icon-button","","matTooltip","Copy link to attachment","matTooltipPosition","above",1,"bv2-issue-copy-attachment-link",3,"click"],["name","link","size","small"],["aria-label","Restricted Access Help","mat-icon-button","","target","_blank",1,"help","small",3,"href","disableRipple"],[3,"svgIcon"],[1,"implicit-access-help-bubble"],["target","_blank",3,"href"],[3,"onedevFeatureTooltip","hideTooltipWhenAnchorNotVisible","issueId","attachmentId","attachmentEnrichments"],[3,"customPositions",
"tooltipId"],["onedevTooltipTitle",""]],template:function(a,b){a&1&&(I(0,"div",1),K(1,"b-icon",2),J(),I(2,"div",3)(3,"div",4),Q(4),I(5,"span",5),D(6,I1a,1,3,"b-restricted-chip",6)(7,J1a,2,3,"span",7),J()(),I(8,"div",8),Q(9),D(10,M1a,2,8,"span",9)(11,O1a,5,8),I(12,"xap-bubble",10),D(13,P1a,3,3,"span",11)(14,Q1a,4,1,"ng-template",null,0,ih),J(),D(16,R1a,1,3,"attachment-preview",12),J(),D(17,V1a,1,1),S(18,"async"),J());if(a&2){var c;a=L(15);B(4);R(" ",b.getFilename()," ");B(2);G(b.isRestricted()?6:-1);
B();G(b.actionMenuItems.length>0?7:-1);B(2);R(" ",mua(b.getSize())," ");B();var d;var e=b.isActive()&&Uta((d=b.attachment)==null?void 0:d.contentType);G(e?10:-1);B();G(b.isActive()?11:-1);B();E("panelTemplate",a);B();G(b.isRestricted()&&!b.hasViewAccess?13:-1);B(3);var f,h,l;if(d=!(!(b.enableInlineImageAttachments&&b.hasViewAccess&&b.isActive()&&((f=b.attachment)==null?0:f.contentType)&&((h=b.attachment)==null?0:h.contentType.startsWith("image/")))||((l=b.attachment)==null?0:l.contentType.startsWith("image/svg")))){var q;
((q=b.attachment)==null?0:q.attachmentId)?(f=b.attachmentCountService,h=b.attachment.attachmentId,f.inlinedAttachmentSet.has(h)?f=!0:f.getCount()<12?(f.inlinedAttachmentSet.add(h),f=!0):f=!1):f=!1;d=f}G(d?16:-1);B();G((c=U(18,10,b.attachmentEnrichments$))?17:-1,c)}},dependencies:[hT,$S,pB,bQ,bT,DM,qT,wT,zT,hOc,eB,my,ly,mB,rB,iT,HN,ew],styles:[".icon-button-container[_ngcontent-%COMP%]{margin-bottom:2px}.icon-button-container[_ngcontent-%COMP%]{--mat-icon-button-touch-target-display:none}.icon-button-container[_ngcontent-%COMP%]   .mat-mdc-icon-button.mat-mdc-button-base[_ngcontent-%COMP%]{--mdc-icon-button-state-layer-size: 36px;width:var(--mdc-icon-button-state-layer-size);height:var(--mdc-icon-button-state-layer-size);padding:6px}"],
changeDetection:0});var vOc={EXCEPTION:"EXCEPTION",ADS:"ADS",GAR:"GAR",BUG_2_CODE:"BUG_2_CODE",PIXEL:"PIXEL",BORG_SRE:"BORG_SRE",CLOUD_SRE:"CLOUD_SRE",GCP:"GCP",DIALER:"DIALER"},wOc={LLM_RESPONSE:0,RELATED_FIXED_ISSUES:1,SIMILAR_FIXED_ISSUES:2,LOADING_AND_FOOTER:3,BUG_2_CODE:4,0:"LLM_RESPONSE",1:"RELATED_FIXED_ISSUES",2:"SIMILAR_FIXED_ISSUES",3:"LOADING_AND_FOOTER",4:"BUG_2_CODE"},xOc={issueCategory:"BUG_2_CODE",customBranding:"Suggest fixes",displayedModules:[4]},yOc={issueCategory:"EXCEPTION",displayedModules:[0,1,
3],llmApi:"gemini",llmPromptPrefix:"You are a troubleshoot engineer specializing in fixing\n      programming exceptions. Explain how to fix the following stack trace\n      exception: ",regexMatcher:new RegExp(/^(at [\w\.]{2,}\.[\w]+\([\w]+\.[\w]+:?[\d]*\)+|[\w\.]{2,}[\w]*Exception)+/m)},zOc={issueCategory:"ADS",displayedModules:[0,2,3],llmPromptPrefix:"You are an engineer specializing in implementing simple fixes for software systems.\nYour tasks are presented in the form of a ticket.\n",llmPromptSuffix:"Suggest a possible fix for the current ticket. Explain in concise terms the following:\n# Issue Summary\n* What is the issue observed?\n# Possible Solution\n* What are the specific changes that need to be made to fix the issue?\n* Is it clear what files need to be changed? If so, what are the specific lines that need to be changed?\nUse no more than 15 lines for your explanation.\n",
includeSimilarIssuesInPrompt:!0,allowedRollupComponentIds:[102460,685828,44716,126250,329389,44737,106267,746,33779]},W1a={issueCategory:"GAR",displayedModules:[0,3],llmPromptPrefix:"You are an engineer specializing in implementing simple fixes for software systems.\nYour tasks are presented in the form of a ticket.\n",llmPromptSuffix:"Suggest a possible fix for the current ticket. Explain in concise terms the following:\n# Issue Summary\n* What is the issue observed?\n# Possible Solution\n* What are the specific changes that need to be made to fix the issue?\n* Is it clear what files need to be changed? If so, what are the specific lines that need to be changed?\nUse no more than 15 lines for your explanation.\n",
includeSimilarIssuesInPrompt:!0,restrictedIssueTypes:["BUG"],allowedHotlistIds:[3636212,5303709,6184694],allowedSpecificComponentIds:[1262069]},AOc={issueCategory:"PIXEL",displayedModules:[0,3],llmApi:"gemini",llmPromptPrefix:"# Root Cause Analysis with Given Android Bug:",llmPromptSuffix:'\n  ### In section "Summary"\n  * **Summarize the information in the bug to provide a short narrative of what happened.**\n  * **Extract insights from logs that are helpful for debugging or testing.**\n  * **Extract insights from comments that are helpful for debugging or testing and cite them with comment id.**\n\n  ### In section "Hypothesis"\n  * **List the most possible issues and your hypotheses.**\n\n  ### In section "Debugging strategy"\n  * **List debugging strategies to help developers efficiently debug and test for hypotheses verification.**\n  * **Strategies should be as detailed as possible, point to component / related code / related comments, make the strategy more actionable.**\n\n  ## Response Format\n  Respond in markdown format including sections:\n  * **Summary**\n  * **Hypothesis**\n  * **Debugging strategy**\n\n  Answer with following manners:\n  * Reduce the size of sentences.\n  * Keep your documentation as short as possible.\n  * Prefer active voice than passive voice\n  * Create a great first sentence in your paragraphs.\n  * Create parallel, useful lists.',
includeIssueCommentsInPrompt:!0,allowedRollupComponentIds:[1182803,37123]},BOc={issueCategory:"BORG_SRE",displayedModules:[0,3],llmPromptSuffix:'\n  Please make brief summary of the ticket, fill all the necessary data (e.g. values, percentages) from the ticket itself and a playbook.\n  A link to the playbook should be available in the ticket; please refer to information from this playbook.\n  There is no PII data, it is just a summary of the ticket. Assume that I am a current oncaller and have no idea about this ticket.\n  Then suggest an investigation step-by-step, do not just copy and paste everything from the playbook, make it shorter please.\n  Do not say "Playbook says that". Please do not stuck looping, regenerate your output if you find out that you output the same thing twice.\n  When you are done, please add two newlines and trim your response there.\n\n  ',
includeSimilarIssuesInPrompt:!0,allowedSpecificComponentIds:[126840,40639,137293,137338,915541,986564,881885,881886,881959,967590,1169875,1348521,126786,49955,1117958,1124104,38750,806247,1115456,1192944,1185287,1260470,1192583,110072,77871,104191,41103,77155,76928,38011,1134134,1559962,1346497,1135261,1495275,550709,1578853]},COc={issueCategory:"CLOUD_SRE",displayedModules:[0,1,3],llmPromptPrefix:"You are an engineer specializing in implementing simple fixes for software systems.\nYour tasks are presented in the form of a ticket.\n",
llmPromptSuffix:"Suggest a possible fix for the current ticket. Explain in concise terms the following:\n# Issue Summary\n* What is the issue observed?\n# Possible Solution\n* What are the specific changes that need to be made to fix the issue?\n* Is it clear what files need to be changed? If so, what are the specific lines that need to be changed?\nUse no more than 15 lines for your explanation.\n",includeIssueCommentsInPrompt:!0,allowedSpecificComponentIds:[1288927,1528390,1288779,1528779,1290211,
1290239]},DOc={issueCategory:"GCP",displayedModules:[0,3],llmPromptPrefix:"You are an engineer specializing in implementing simple fixes for software systems.\nYour tasks are presented in the form of a ticket.\n",llmPromptSuffix:"Suggest a possible fix for the current ticket. Explain in concise terms the following:\n# Issue Summary\n* What is the issue observed?\n# Possible Solution\n* What are the specific changes that need to be made to fix the issue?\n* Is it clear what files need to be changed? If so, what are the specific lines that need to be changed?\nUse no more than 15 lines for your explanation.\n",
includeSimilarIssuesInPrompt:!0,includeIssueCommentsInPrompt:!0,allowedSpecificComponentIds:[891867,926800,891615,941780,949763,892258,1195250,996259,891614,934603,931084,977470,941538,996461,891686,891822,891694]},EOc={issueCategory:"DIALER",displayedModules:[0,3],llmPromptPrefix:"You are an engineer specializing in implementing simple fixes for software systems.\nYour tasks are presented in the form of a ticket.\n",llmPromptSuffix:"Suggest a possible fix for the current ticket. Explain in concise terms the following:\n# Issue Summary\n* What is the issue observed?\n# Possible Solution\n* What are the specific changes that need to be made to fix the issue?\n* Is it clear what files need to be changed? If so, what are the specific lines that need to be changed?\nUse no more than 15 lines for your explanation.\n",
includeSimilarIssuesInPrompt:!0,includeIssueCommentsInPrompt:!0,allowedSpecificComponentIds:[1010727,1010620,1010726]};var CT=function(a,b,c,d){this.creatorEmail=a;this.reporterEmail=b;this.matchingDescriptionSubstring=c;this.metricTag=d};var FOc=[new CT(null,null,"Visit Upkeep to monitor tech debt of your","isUpkeepIssue"),new CT("cloud-control2-frontend-onboarding-automation@prod.google.com","cloud-control2-frontend-onboarding-automation@prod.google.com",null,"isCloudControl2FrontendOnboardingAutomationIssue"),new CT("flagbuster-prod@prod.google.com","flagbuster@prod.google.com",null,"isFlagBusterIssue"),new CT("corpeng-compliance-checker@prod.google.com","corpeng-compliance-checker@prod.google.com",null,"isCorpEngComplianceCheckerIssue"),
new CT("gce-fleet-deployment-autocleanup-jobs@prod.google.com","gce-fleet-deployment-autocleanup-jobs@google.com",null,"isGCEFleetDeploymentAutoCleanupIssue"),new CT("identity-metrics@prod.google.com","identity-metrics@prod.google.com",null,"isIdentityMetricsIssue"),new CT("dirt-federated-docs@prod.google.com","dirt-federated-docs@prod.google.com",null,"isDirtFederatedDocsIssue"),new CT("rtc-bugle-mapreduce@prod.google.com","rtc-bugle-mapreduce@prod.google.com",null,"isRtcBugleMapreduceIssue"),new CT("assistant-server-dev@prod.google.com",
"assistant-server-dev@prod.google.com",null,"isAssistantServerDevIssue"),new CT("gce-turnup-smi-runner@prod.google.com","gce-turnup-smi-runner@prod.google.com",null,"isGCETurnupSmiRunnerIssue"),new CT("cloud-sdk-testing@prod.google.com","cloud-sdk-testing@prod.google.com",null,"isCloudSdkTestingIssue")];var DT=function(){this.eventsForIssueFridge=r(NE);this.issueFullFridge=r(QF);this.activeSession=r(Bu);this.analytics=r(OF)},IOc=function(a,b){return Ie([GOc(a,b),HOc(a,b)]).pipe(z(function(c){var d=k(c);c=d.next().value;d=d.next().value;a:{var e=Vt(a.activeSession,"enableGoosePromptingSupportedIssues");if(c!=null&&d!=null&&Sl(c)&&e){e=k(FOc);for(var f=e.next();!f.done;f=e.next()){f=f.value;var h=void 0,l=void 0,q=void 0;var u=f.creatorEmail&&(d==null?void 0:(q=d.userPerformingActionUser)==null?void 0:
q.emailAddress)!==f.creatorEmail?!1:f.reporterEmail&&((l=c.snapshot[0].reporterUser)==null?void 0:l.emailAddress)!==f.reporterEmail?!1:f.matchingDescriptionSubstring&&!(d==null?0:(h=d.unlinkifiedComment)==null?0:h.includes(f.matchingDescriptionSubstring))?!1:!0;if(u){a.analytics.trackEvent("bug2Code","display",f.metricTag);c=!0;break a}}}c=!1}return c}))},GOc=function(a,b){return a.issueFullFridge.watch(b,{trustUncertainMemory:!0}).pipe(z(function(c){return c?c:null}))},HOc=function(a,b){return a.eventsForIssueFridge.watch(b,
{trustUncertainMemory:!0}).pipe(z(function(c){if(!c)return null;c=[].concat(t(c.events.slice(0,1)));return c.length>0?c[0]:null}))};DT.\u0275fac=function(a){return new (a||DT)};DT.\u0275prov=n({token:DT,factory:DT.\u0275fac,providedIn:"root"});var ET=function(){var a=this;this.appEvents=r(yD);this.activeSession=r(Bu);this.contextSensitiveRegistry=r(UH);this.issueFullFridge=r(QF);this.eventsForIssueFridge=r(NE);this.componentFridge=r(uD);this.similarIssuesApi=r(kH);this.llmSuggestedBugFixService=r(DT);this.issueId$=this.contextSensitiveRegistry.getIssueId();this.issue$=this.issueId$.pipe(Ue(ik),Yf(function(b){return a.issueFullFridge.watch(b)}),Pf(function(b,c){return(b==null?void 0:b.issueId)===(c==null?void 0:c.issueId)}));this.events$=
this.issueId$.pipe(Ue(ik),Yf(function(b){return a.eventsForIssueFridge.watch(b)}),z(function(b){var c;return(c=b&&b.events)!=null?c:[]}),Pf());this.description$=this.events$.pipe(z(function(b){return b.length?b[0]:void 0}),z(function(b){var c;return(c=b==null?void 0:b.unlinkifiedComment)!=null?c:void 0}),Pf());this.component$=this.issue$.pipe(Yf(function(b){var c,d;b=b==null?void 0:(c=b.snapshot)==null?void 0:(d=c[0])==null?void 0:d.componentId;return a.componentFridge.watch(b)}),Pf());this.similarFixedIssues$=
this.issue$.pipe(Yf(function(b){if(!b)return Ae({similarIssues:[],scores:[]});var c,d,e=b==null?void 0:(c=b.snapshot)==null?void 0:(d=c[0])==null?void 0:d.componentId;return lH(a.similarIssuesApi,{issueId:Number(b.issueId),scope:yp(xp("-id",b.issueId),xp("modified","365d"),xp("status","fixed"),xp("cl","any"),e?xp("componentId",e+"+"):void 0),scopeSortOrder:"modified_time desc",maxResults:5})}),z(function(b){for(var c=[],d=0;d<b.scores.length;d++)b.scores[d]>=.85&&c.push(b.similarIssues[d]);return c}),
Vf({bufferSize:1,refCount:!0}));this.hasSimilarFixedIssues$=this.similarFixedIssues$.pipe(z(function(b){return b.length>0}));this.isFlagEnabledAndInternal$=Ae(Vt(this.activeSession,"enableHelpMeFixSidebar")&&this.activeSession.isInternalSession());this.isExceptionIssueCategory$=Ie([this.issue$,this.description$]).pipe(z(function(b){var c=k(b);b=c.next().value;c=c.next().value;var d;b=k([b,c]);var e=b.next().value;b=b.next().value;if(e&&b){c=Vt(a.activeSession,"enableHelpMeFixSidebarOnAllComponents");
var f,h;e=e==null?void 0:(f=e.snapshot)==null?void 0:(h=f[0])==null?void 0:h.componentId;f=a.activeSession.getHelpMeFixSidebarComponentAllowlist();f=e&&f.has(e);c||f?f=yOc.regexMatcher?((d=b.match(yOc.regexMatcher))!=null?d:[]).length>0:!1:f=!1;d=f}else d=!1;return d}));this.meetsAdsPreconditions$=Ie([this.description$,this.component$]).pipe(z(function(b){var c=k(b);b=c.next().value;c=c.next().value;return JOc(a,[b,c])}));this.isAdsIssueCategory$=this.meetsAdsPreconditions$.pipe(Yf(function(b){return b?
a.hasSimilarFixedIssues$:Ae(!1)}));this.meetsGarPreconditions$=Ie([this.issue$,this.component$]).pipe(z(function(b){var c=k(b);b=c.next().value;c=c.next().value;var d;c=k([b,c]);b=c.next().value;var e=c.next().value;if(b&&e){c=Vt(a.activeSession,"enableHelpMeFixOnGarIssues")&&Vt(a.activeSession,"enableHelpMeFixOnGarIssuesOptIn");var f;var h,l=(f=b.snapshot)==null?void 0:(h=f[0])==null?void 0:h.type;if(l){var q;f=((q=W1a.restrictedIssueTypes)!=null?q:[]).includes(l)}else f=!1;q=f;f=((d=W1a.allowedSpecificComponentIds)!=
null?d:[]).includes(e.componentId);d=X1a(b);d=c&&q&&(f||d)}else d=!1;return d}));this.isGarIssueCategory$=this.meetsGarPreconditions$.pipe(Yf(function(b){return b?a.hasSimilarFixedIssues$:Ae(!1)}));this.isBug2CodeIssueCategory$=this.issueId$.pipe(Yf(function(b){return b?IOc(a.llmSuggestedBugFixService,b):Ae(!1)}));this.isPixelIssueCategory$=this.component$.pipe(z(function(b){return KOc(a,b)}));this.meetsBorgSrePreconditions$=Ie([this.issue$,this.component$]).pipe(z(function(b){var c=k(b);b=c.next().value;
c=c.next().value;c=k([b,c]);b=c.next().value;c=c.next().value;if(b&&c&&Vt(a.activeSession,"enableHelpMeFixOnBorgSreIssues")){var d;b=((d=BOc.allowedSpecificComponentIds)!=null?d:[]).includes(c.componentId)}else b=!1;return b}));this.isBorgSreIssueCategory$=this.meetsBorgSrePreconditions$.pipe(Yf(function(b){return b?a.hasSimilarFixedIssues$:Ae(!1)}));this.meetsGcpPreconditions$=Ie([this.issue$,this.component$]).pipe(z(function(b){var c=k(b);b=c.next().value;c=c.next().value;c=k([b,c]);b=c.next().value;
c=c.next().value;if(b&&c&&Vt(a.activeSession,"enableHelpMeFixOnGcpIssues")){var d;b=((d=DOc.allowedSpecificComponentIds)!=null?d:[]).includes(c.componentId)}else b=!1;return b}));this.isGcpIssueCategory$=this.meetsGcpPreconditions$.pipe(Yf(function(b){return b?a.hasSimilarFixedIssues$:Ae(!1)}));this.meetsDialerPreconditions$=Ie([this.issue$,this.component$]).pipe(z(function(b){var c=k(b);b=c.next().value;c=c.next().value;c=k([b,c]);b=c.next().value;c=c.next().value;if(b&&c&&Vt(a.activeSession,"enableHelpMeFixOnDialerIssues")){var d;
b=((d=EOc.allowedSpecificComponentIds)!=null?d:[]).includes(c.componentId)}else b=!1;return b}));this.isDialerIssueCategory$=this.meetsDialerPreconditions$.pipe(Yf(function(b){return b?a.hasSimilarFixedIssues$:Ae(!1)}));this.isCloudSreIssueCategory$=Ie([this.component$]).pipe(z(function(b){b=k(b).next().value;var c=k([b]).next().value;if(c&&Vt(a.activeSession,"enableHelpMeFixOnCloudSreIssues")){var d;b=((d=COc.allowedSpecificComponentIds)!=null?d:[]).includes(c.componentId)}else b=!1;return b}));
this.currentConfig$=Ie([this.isFlagEnabledAndInternal$,this.isExceptionIssueCategory$,this.isGarIssueCategory$,this.isAdsIssueCategory$,this.isBug2CodeIssueCategory$,this.isPixelIssueCategory$,this.isBorgSreIssueCategory$,this.isCloudSreIssueCategory$,this.isGcpIssueCategory$,this.isDialerIssueCategory$]).pipe(z(function(b){var c=k(b);b=c.next().value;var d=c.next().value;var e=c.next().value;var f=c.next().value;var h=c.next().value;var l=c.next().value;var q=c.next().value;var u=c.next().value;
var A=c.next().value;c=c.next().value;if(h)return xOc;if(b){if(d)return yOc;if(e)return W1a;if(f)return zOc;if(l)return AOc;if(q)return BOc;if(u)return COc;if(A)return DOc;if(c)return EOc}}),Pf(),Vf({bufferSize:1,refCount:!0}));this.isHelpMeFixSidebarOpen$=Te(this.appEvents.openHelpMeFixSidebar.pipe(Mf(!0)),this.appEvents.closeHelpMeFixSidebar.pipe(Mf(!1))).pipe(Xf(!1))},JOc=function(a,b){var c=k(b);b=c.next().value;c=c.next().value;if(!c||!b||!Vt(a.activeSession,"enableHelpMeFixForAds"))return!1;
var d,e,f=(e=(d=c.componentPathInfo)==null?void 0:d.componentPathId)!=null?e:[],h;return((h=zOc.allowedRollupComponentIds)!=null?h:[]).some(function(l){return f.includes(l)})},KOc=function(a,b){if(!b||!Vt(a.activeSession,"enableHelpMeFixOnPixelIssues"))return!1;var c,d,e=(d=(c=b.componentPathInfo)==null?void 0:c.componentPathId)!=null?d:[],f;return((f=AOc.allowedRollupComponentIds)!=null?f:[]).some(function(h){return e.includes(h)})};ET.\u0275fac=function(a){return new (a||ET)};
ET.\u0275prov=n({token:ET,factory:ET.\u0275fac,providedIn:"root"});var FT=function(){this.contextSensitiveRegistry=r(UH);this.helpMeFixService=r(ET);this.issueId$=this.contextSensitiveRegistry.getIssueId().pipe(Pf());this.isEligibleForHelpMeFix$=this.helpMeFixService.currentConfig$.pipe(z(function(a){return!!a&&a!==xOc}));this.requestTogglePreviewVisible=new Tf(1);this.isPreviewVisible$=Ie([this.requestTogglePreviewVisible.pipe(Xf(void 0)),this.issueId$]).pipe(z(function(a){a=k(a);a.next();a=a.next().value;if(!a)return!0;a=Awa("isHmfPreviewVisibleForIssue"+a)();
return a===void 0?!0:a==="VISIBLE"}),Vf({bufferSize:1,refCount:!0}))},q2a=function(a){var b,c,d;se(function(e){if(e.nextAddress==1)return y(e,Fe(a.issueId$),2);if(e.nextAddress!=3)return(b=e.yieldResult)?y(e,Fe(a.isPreviewVisible$),3):e.return();d=(c=e.yieldResult)?"HIDDEN":"VISIBLE";shc("isHmfPreviewVisibleForIssue"+b)(d);a.requestTogglePreviewVisible.next();xe(e)})};FT.\u0275fac=function(a){return new (a||FT)};FT.\u0275prov=n({token:FT,factory:FT.\u0275fac,providedIn:"root"});var LOc=function(a,b,c){this.requestMessage=a;this.methodDescriptor=b;this.metadata=c};LOc.prototype.getMetadata=function(){return this.metadata};var MOc=function(a,b){b=b===void 0?{}:b;this.responseMessage=a;this.metadata=b;this.status=null};MOc.prototype.getMetadata=function(){return this.metadata};MOc.prototype.getStatus=function(){return this.status};var GT=function(a,b,c,d,e){this.name=a;this.requestType=b;this.responseType=c;this.requestSerializeFn=d;this.responseDeserializeFn=e},NOc=function(a,b,c){c=c===void 0?{}:c;return new LOc(b,a,c)};GT.prototype.getName=function(){return this.name};var HT=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(HT,V);HT.prototype.setFeedbackType=function(a){return gl(this,2,a)};HT.prototype.getIsDeleted=function(){return Ak(this,6)};HT.prototype.setIsDeleted=function(a){cl(this,6,a)};HT.prototype.getMessageId=function(){return Kh(this,7)};var g2a=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(g2a,V);g=g2a.prototype;g.getTitle=function(){return Kh(this,1)};g.setTitle=function(a){return fl(this,1,a)};g.clearTitle=function(){return Np(this,1)};g.getUrl=function(){return Kh(this,2)};g.setUrl=function(a){return fl(this,2,a)};g.hasUrl=function(){return Ck(this,2)};g.getIconUrl=function(){return Kh(this,3)};g.setIconUrl=function(a){return fl(this,3,a)};var e2a=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(e2a,V);var d2a=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(d2a,V);var f2a=[3,4,5,6,7];var IT=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(IT,V);g=IT.prototype;g.getMessageId=function(){return Kh(this,1)};g.getText=function(){return Kh(this,3)};g.setText=function(a){return fl(this,3,a)};g.setModelId=function(a){fl(this,4,a)};g.getClient=function(){return Fk(this,7,0)};g.setClient=function(a){return gl(this,7,a)};g.hasClient=function(){return Dk(this,7)};g.setFeedback=function(a){return X(this,HT,9,a)};var OOc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(OOc,V);var JT=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(JT,V);JT.prototype.setModelId=function(a){fl(this,2,a)};JT.prototype.getText=function(){return Kh(this,3)};JT.prototype.setText=function(a){return fl(this,3,a)};JT.prototype.setConversationHistory=function(a){return X(this,OOc,11,a)};var POc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(POc,V);g=POc.prototype;g.getResponse=function(){return W(this,IT,1)};g.getReadonlyResponse=function(){return Tq(this,IT,1)};g.getMutableResponse=function(){return Wu(this,IT,1)};g.setResponse=function(a){return X(this,IT,1,a)};g.setConversationHistory=function(a){return X(this,OOc,5,a)};g.getQuery=function(){return W(this,IT,2)};g.setQuery=function(a){return X(this,IT,2,a)};g.clearQuery=function(){Np(this,2)};
g.hasQuery=function(){return Jk(this,IT,2)};var QOc=new GT("/google.corp.devtools.devassist.ml4answers.v1.DuckieBackendService/GenerateAnswers",JT,POc,function(a){return a.serialize()},Mh(POc));var ROc=new Set(["SAPISIDHASH","APISIDHASH"]);var SOc=Promise;var KT=function(a,b,c){c=c===void 0?{}:c;b=Error.call(this,b);this.message=b.message;"stack"in b&&(this.stack=b.stack);this.code=a;this.metadata=c;this.name="RpcError";Object.setPrototypeOf(this,this.constructor.prototype)};Y(KT,Error);KT.prototype.toString=function(){var a="RpcError("+(tna(this.code)||String(this.code))+")";this.message&&(a+=": "+this.message);return a};var LT=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_&&TOc(this)},ZOc=function(a,b){Kq(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("gf");c=atob(c)}try{var d=
a.grpcResponseDeserializeFn_(c)}catch(h){UOc(a,new KT(13,"Error when deserializing response data; error: "+h+(", response: "+c)));return}c=sna(a.xhr_.getStatus());VOc(a,WOc(a));c==0?XOc(a,d):UOc(a,new KT(c,"Xhr succeeded but the status code is not 200"))}else{c=a.xhr_.getResponseText();d=WOc(a);if(c){var e=YOc(a,c);c=e.code;var f=e.details;e=e.metadata}else c=2,f="Rpc failed due to xhr error. uri: "+a.xhr_.getLastUri()+", error code: "+a.xhr_.getLastErrorCode()+", error: "+a.xhr_.getLastError(),e=
d;VOc(a,d);UOc(a,new KT(c,f,e))}})},TOc=function(a){a.xhrNodeReadableStream_.on("data",function(b){if("1"in b){var c=b["1"];try{var d=a.grpcResponseDeserializeFn_(c)}catch(e){UOc(a,new KT(13,"Error when deserializing response data; error: "+e+(", response: "+c)))}d&&XOc(a,d)}if("2"in b)for(b=YOc(a,b["2"]),c=0;c<a.onStatusCallbacks_.length;c++)a.onStatusCallbacks_[c](b)});a.xhrNodeReadableStream_.on("end",function(){VOc(a,WOc(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=sna(c);break;default:d=14}VOc(a,WOc(a));b=jGc(b)+", error: "+a.xhr_.getLastError();c!=-1&&(b+=", http status code: "+c);UOc(a,new KT(d,b))}})},WOc=function(a){var b={},c=a.xhr_.getResponseHeaders();Object.keys(c).forEach(function(d){b[d]=c[d]});return b},
YOc=function(a,b){var c=2,d={};try{var e=dJc(b);c=e.getCode();var f=e.getMessage();lk(e,Co,3,Uj()).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}};
LT.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 $Oc=function(a,b){b=a.indexOf(b);b>-1&&a.splice(b,1)};
LT.prototype.removeListener=function(a,b){a=="data"?$Oc(this.onDataCallbacks_,b):a=="metadata"?$Oc(this.onMetadataCallbacks_,b):a=="status"?$Oc(this.onStatusCallbacks_,b):a=="end"?$Oc(this.onEndCallbacks_,b):a=="error"&&$Oc(this.onErrorCallbacks_,b);return this};LT.prototype.cancel=function(){this.xhr_.abort()};
var XOc=function(a,b){for(var c=0;c<a.onDataCallbacks_.length;c++)a.onDataCallbacks_[c](b)},VOc=function(a,b){for(var c=0;c<a.onMetadataCallbacks_.length;c++)a.onMetadataCallbacks_[c](b)},UOc=function(a,b){for(var c=0;c<a.onErrorCallbacks_.length;c++)a.onErrorCallbacks_[c](b)};LT.prototype.cancel=LT.prototype.cancel;LT.prototype.removeListener=LT.prototype.removeListener;LT.prototype.on=LT.prototype.on;var aPc=function(){this.isInputValid_=!0;this.streamPos_=0;this.leftoverInput_=""};aPc.prototype.isInputValid=function(){return this.isInputValid_};aPc.prototype.error_=function(a,b){this.isInputValid_=!1;throw Error("hf`"+this.streamPos_+"`"+b+"`"+a);};
aPc.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=O3b(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 Z1a=function(){this.errorMessage_=null;this.result_=[];this.countLengthBytes_=this.length_=this.tag_=this.state_=this.streamPos_=0;this.messageBuffer_=null;this.countMessageBytes_=0};g=Z1a.prototype;g.isInputValid=function(){return this.state_!=3};g.getErrorMessage=function(){return this.errorMessage_};g.error_=function(a,b,c){this.state_=3;this.errorMessage_="The stream is broken @"+this.streamPos_+"/"+b+". Error: "+c+". With input:\n"+a;throw Error(this.errorMessage_);};
g.acceptsBinaryInput=function(){return!0};
g.parse=function(a){function b(q){q&128&&f.error_(h,l,"invalid tag");(q&7)!=2&&f.error_(h,l,"invalid wire type");f.tag_=q>>>3;f.tag_!=1&&f.tag_!=2&&f.tag_!=15&&f.error_(h,l,"unexpected tag");f.state_=1;f.length_=0;f.countLengthBytes_=0}function c(q){f.countLengthBytes_++;f.countLengthBytes_==5&&q&240&&f.error_(h,l,"message length too long");f.length_|=(q&127)<<(f.countLengthBytes_-1)*7;q&128||(f.state_=2,f.countMessageBytes_=0,typeof Uint8Array!=="undefined"?f.messageBuffer_=new Uint8Array(f.length_):
f.messageBuffer_=Array(f.length_),f.length_==0&&e())}function d(q){f.messageBuffer_[f.countMessageBytes_++]=q;f.countMessageBytes_==f.length_&&e()}function e(){if(f.tag_<15){var q={};q[f.tag_]=f.messageBuffer_;f.result_.push(q)}f.state_=0}for(var f=this,h=a instanceof Array?a:new Uint8Array(a),l=0;l<h.length;){switch(f.state_){case 3:f.error_(h,l,"stream already broken");break;case 0:b(h[l]);break;case 1:c(h[l]);break;case 2:d(h[l]);break;default:throw Error("jf`"+f.state_);}f.streamPos_++;l++}a=
f.result_;f.result_=[];return a.length>0?a:null};var $1a=function(){this.errorMessage_=null;this.streamPos_=0;this.base64Decoder_=new aPc;this.pbParser_=new Z1a};g=$1a.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 MT=function(a){return a=="\r"||a=="\n"||a==" "||a=="\t"};var Y1a=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)},bPc={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=Y1a.prototype;g.isInputValid=function(){return this.streamState_!=3};g.getErrorMessage=function(){return this.errorMessage_};g.done=function(){return this.streamState_===2};g.error_=function(a,b){this.streamState_=3;this.errorMessage_="The stream is broken @"+this.pos_+"/"+b+". With input:\n"+a;throw Error(this.errorMessage_);};g.acceptsBinaryInput=function(){return!1};
g.parse=function(a){function b(){for(;H<a.length;)if(MT(a[H]))H++,f.pos_++;else break;return H<u}function c(){for(var O;;){O=a[H++];if(!O)break;f.pos_++;switch(f.state_){case q.INIT:O==="{"?f.state_=q.OBJECT_OPEN:O==="["?f.state_=q.ARRAY_OPEN:MT(O)||f.error_(a,H);continue;case q.KEY_START:case q.OBJECT_OPEN:if(MT(O))continue;if(f.state_===q.KEY_START)h.push(q.KEY_END);else if(O==="}"){e("{}");f.state_=d();continue}else h.push(q.OBJECT_END);O==='"'?f.state_=q.STRING:f.error_(a,H);continue;case q.KEY_END:case q.OBJECT_END:if(MT(O))continue;
O===":"?(f.state_===q.OBJECT_END&&(h.push(q.OBJECT_END),f.depth_++),f.state_=q.VALUE):O==="}"?(f.depth_--,e(),f.state_=d()):O===","?(f.state_===q.OBJECT_END&&h.push(q.OBJECT_END),f.state_=q.KEY_START):f.error_(a,H);continue;case q.ARRAY_OPEN:case q.VALUE:if(MT(O))continue;if(f.state_===q.ARRAY_OPEN)if(f.depth_++,f.state_=q.VALUE,O==="]"){f.depth_--;if(f.depth_===0){f.state_=q.ARRAY_END;return}e("[]");f.state_=d();continue}else h.push(q.ARRAY_END);O==='"'?f.state_=q.STRING:O==="{"?f.state_=q.OBJECT_OPEN:
O==="["?f.state_=q.ARRAY_OPEN:O==="t"?f.state_=q.TRUE1:O==="f"?f.state_=q.FALSE1:O==="n"?f.state_=q.NULL1:O!=="-"&&("0123456789".indexOf(O)!==-1?f.state_=q.NUM_DIGIT:f.error_(a,H));continue;case q.ARRAY_END:if(O===",")h.push(q.ARRAY_END),f.state_=q.VALUE,f.depth_===1&&(F=H);else if(O==="]"){f.depth_--;if(f.depth_===0)return;e();f.state_=d()}else if(MT(O))continue;else f.error_(a,H);continue;case q.STRING:var T=H;a:for(;;){for(;f.unicodeCount_>0;)if(O=a[H++],f.unicodeCount_===4?f.unicodeCount_=0:f.unicodeCount_++,
!O)break a;if(O==='"'&&!f.slashed_){f.state_=d();break}if(O==="\\"&&!f.slashed_&&(f.slashed_=!0,O=a[H++],!O))break;if(f.slashed_)if(f.slashed_=!1,O==="u"&&(f.unicodeCount_=1),O=a[H++])continue;else break;l.lastIndex=H;O=l.exec(a);if(!O){H=a.length+1;break}H=O.index+1;O=a[O.index];if(!O)break}f.pos_+=H-T;continue;case q.TRUE1:if(!O)continue;O==="r"?f.state_=q.TRUE2:f.error_(a,H);continue;case q.TRUE2:if(!O)continue;O==="u"?f.state_=q.TRUE3:f.error_(a,H);continue;case q.TRUE3:if(!O)continue;O==="e"?
f.state_=d():f.error_(a,H);continue;case q.FALSE1:if(!O)continue;O==="a"?f.state_=q.FALSE2:f.error_(a,H);continue;case q.FALSE2:if(!O)continue;O==="l"?f.state_=q.FALSE3:f.error_(a,H);continue;case q.FALSE3:if(!O)continue;O==="s"?f.state_=q.FALSE4:f.error_(a,H);continue;case q.FALSE4:if(!O)continue;O==="e"?f.state_=d():f.error_(a,H);continue;case q.NULL1:if(!O)continue;O==="u"?f.state_=q.NULL2:f.error_(a,H);continue;case q.NULL2:if(!O)continue;O==="l"?f.state_=q.NULL3:f.error_(a,H);continue;case q.NULL3:if(!O)continue;
O==="l"?f.state_=d():f.error_(a,H);continue;case q.NUM_DECIMAL_POINT:O==="."?f.state_=q.NUM_DIGIT:f.error_(a,H);continue;case q.NUM_DIGIT:if("0123456789.eE+-".indexOf(O)!==-1)continue;else H--,f.pos_--,f.state_=d();continue;default:f.error_(a,H)}}}function d(){var O=h.pop();return O!=null?O:q.VALUE}function e(O){f.depth_>1||(O||(O=F===-1?f.buffer_+a.substring(A,H):a.substring(F,H)),f.deliverMessageAsRawString_?f.result_.push(O):f.result_.push(JSON.parse(O)),F=H)}for(var f=this,h=f.stack_,l=f.stringInputPattern_,
q=bPc,u=a.length,A=0,F=-1,H=0;H<u;)switch(f.streamState_){case 3:return f.error_(a,H),null;case 2:return b()&&f.error_(a,H),null;case 0:if(b()){var N=a[H++];f.pos_++;if(N==="["){f.streamState_=1;A=H;f.state_=q.ARRAY_OPEN;continue}else f.error_(a,H)}return null;case 1:return c(),f.depth_===0&&f.state_==q.ARRAY_END?(f.streamState_=2,f.buffer_=a.substring(H)):f.buffer_=F===-1?f.buffer_+a.substring(A):a.substring(F),f.result_.length>0?(N=f.result_,f.result_=[],N):null}return null};var Hr=function(){this.errorMessage_=this.jsonStreamParser_=null;this.state_=this.streamPos_=0;this.result_=[];this.statusParsed_=!1};Hr.prototype.isInputValid=function(){return this.errorMessage_===null};Hr.prototype.getErrorMessage=function(){return this.errorMessage_};Hr.prototype.acceptsBinaryInput=function(){return!1};
Hr.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 Y1a({allowCompactJsonArrayFormat:!0,deliverMessageAsRawString:!0})}function d(q){if(q)for(var u=0;u<q.length;u++){var A={};A[1]=q[u];f.result_.push(A)}}function e(q){if(q){(f.statusParsed_||q.length>1)&&b("extra status: "+q);f.statusParsed_=!0;var u={};u[2]=q[0];f.result_.push(u)}}for(var f=
this,h=0;h<a.length;){var l;if(l=f.state_!==2){a:{for(;h<a.length;){if(!MT(a[h])){l=!0;break a}h++;f.streamPos_++}l=!1}l=!l}if(l)return null;switch(f.state_){case 6:b("stream already broken");break;case 0:a[h]==="["?(f.state_=1,h++,f.streamPos_++):b("unexpected input token");break;case 1:a[h]==="["?(f.state_=2,c()):a[h]===","||a.slice(h,h+5)=="null,"?f.state_=3:a[h]==="]"?(f.state_=5,h++,f.streamPos_++):b("unexpected input token");break;case 2:l=f.jsonStreamParser_.parse(a.substring(h));d(l);f.jsonStreamParser_.done()?
(f.state_=3,l=f.jsonStreamParser_.buffer_,f.streamPos_+=a.length-h-l.length,a=l,h=0):(f.streamPos_+=a.length-h,h=a.length);break;case 3:a[h]===","||a.slice(h,h+5)=="null,"?(f.state_=4,c(),f.jsonStreamParser_.parse("["),h+=a[h]===","?1:5,f.streamPos_++):a[h]==="]"&&(f.state_=5,h++,f.streamPos_++);break;case 4:l=f.jsonStreamParser_.parse(a.substring(h));e(l);f.jsonStreamParser_.done()?(f.state_=5,l=f.jsonStreamParser_.buffer_,f.streamPos_+=a.length-h-l.length,a=l,h=0):(f.streamPos_+=a.length-h,h=a.length);
break;case 5:b("extra input after stream end")}}return f.result_.length>0?(a=f.result_,f.result_=[],a):null};var cPc=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 $r(this);this.eventHandler_.listen(this.xhr_,"readystatechange",this.readyStateChangeHandler_)};cPc.prototype.getXhr=function(){return this.xhr_};
var NT=function(a,b){a.status_!=b&&(a.status_=b,a.statusHandler_&&a.statusHandler_())},dPc=function(a){a.eventHandler_.removeAll();if(a.xhr_){var b=a.xhr_;a.xhr_=null;b.abort();b.dispose()}};cPc.prototype.getStatus=function(){return this.status_};
cPc.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?NT(this,7):c==7?NT(this,8):d||NT(this,3)),this.parser_||(this.parser_=a2a(this.xhr_),
this.parser_==null&&NT(this,5)),this.status_>2)dPc(this);else{if(a.length>this.pos_){var h=a.length;c=[];try{if(this.parser_.acceptsBinaryInput())for(var l=0;l<h;l++){var q=this.parser_.parse(Array.from(a[l]));q&&(c=c.concat(q))}else{q="";if(!this.textDecoder_){if(typeof TextDecoder==="undefined")throw Error("kf");this.textDecoder_=new TextDecoder}for(l=0;l<h;l++)q+=this.textDecoder_.decode(a[l],{stream:b==4&&l==h-1});c=this.parser_.parse(q)}a.splice(0,h);c&&this.dataHandler_(c)}catch(A){NT(this,
5);dPc(this);break a}}else if(e.length>this.pos_){l=e.slice(this.pos_);this.pos_=e.length;try{var u=this.parser_.parse(l);u!=null&&this.dataHandler_&&this.dataHandler_(u)}catch(A){NT(this,5);dPc(this);break a}}b==4?(e.length!=0||this.hasStreamingResponseData_?NT(this,2):NT(this,4),dPc(this)):NT(this,1)}}}catch(A){NT(this,6),dPc(this)}};var ePc=function(a){a=this.xhrReader_=a;var b=Lu(this.onData_,this);a.dataHandler_=b;a=this.xhrReader_;b=Lu(this.onStatusChange_,this);a.statusHandler_=b;this.callbackMap_={};this.callbackOnceMap_={}};g=ePc.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&&Ta(c,b);(a=this.callbackOnceMap_[a])&&Ta(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&&fPc(this,a,b);(b=this.callbackOnceMap_.data)&&fPc(this,a,b);this.callbackOnceMap_.data=[]};
var fPc=function(a,b,c){for(var d={},e=0;e<b.length;d={message$jscomp$895:void 0},e++)d.message$jscomp$895=b[e],c.forEach(function(f){return function(h){try{h(f.message$jscomp$895)}catch(l){a.handleError_("message-callback exception (ignored) "+l)}}}(d))};ePc.prototype.onStatusChange_=function(){switch(this.xhrReader_.getStatus()){case 1:gPc(this,"readable");break;case 5:case 6:case 4:case 7:case 3:gPc(this,"error");break;case 8:gPc(this,"close");break;case 2:gPc(this,"end")}};
var gPc=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]=[]};ePc.prototype.handleError_=function(){};var hPc=function(a){a=a===void 0?{}:a;this.suppressCorsPreflight_=a.suppressCorsPreflight||Eq("suppressCorsPreflight",a)||!1;this.withCredentials_=a.withCredentials||Eq("withCredentials",a)||!1;this.streamInterceptors_=a.streamInterceptors||[];this.unaryInterceptors_=a.unaryInterceptors||[];this.workerScope_=a.workerScope;this.chunkedServerStreaming_=a.useFetchDownloadStreams||!1},kPc=function(a,b,c,d,e){var f=b.substring(0,b.length-e.name.length);return iPc(function(h){return new SOc(function(l,
q){var u={},A=jPc(a,h,f);A.on("error",function(F){return q(F)});A.on("metadata",function(F){u=F});A.on("data",function(F){var H=u;H=H===void 0?{}:H;l(new MOc(F,H))})})},a.unaryInterceptors_).call(a,NOc(e,c,d)).then(function(h){return h.responseMessage})},OT=function(a,b,c,d,e){return kPc(a,b,c,d,e)};
hPc.prototype.serverStreaming=function(a,b,c,d){var e=this,f=a.substring(0,a.length-d.name.length);return iPc(function(h){var l=h.methodDescriptor,q=h.getMetadata(),u=lPc(e,!1);q=mPc(e,q,u,f+l.getName());var A=nPc(u,l.responseDeserializeFn,!0);h=l.requestSerializeFn(h.requestMessage);u.send(q,"POST",h);return A},this.streamInterceptors_).call(this,NOc(d,b,c))};
var jPc=function(a,b,c){var d=b.methodDescriptor,e=b.getMetadata(),f=lPc(a,!0);a=mPc(a,e,f,c+d.getName());c=nPc(f,d.responseDeserializeFn,!1);ZOc(c,e["X-Goog-Encode-Response-If-Executable"]=="base64");b=d.requestSerializeFn(b.requestMessage);f.send(a,"POST",b);return c},lPc=function(a,b){b=a.chunkedServerStreaming_&&!b;return a.workerScope_||b?new lr(new hS({worker:a.workerScope_,streamBinaryChunks:b})):new lr},mPc=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&&ROc.has(e.split(" ")[0])||a.withCredentials_)c.withCredentials_=!0;if(a.suppressCorsPreflight_)d=xtc(d,"$httpHeaders",b);else for(var f in b)c.headers.set(f,b[f]);return d},nPc=function(a,b,c){if(c){c=new cPc(a);var d=new ePc(c)}return new LT({xhr:a,nodeReadableStream:d},b)},iPc=function(a,b){return b.reduce(function(c,d){return function(e){return d.intercept(e,c)}},a)};var oPc=function(a){var b={withCredentials:!0,suppressCorsPreflight:!0};b=b||{};b.format="jspb";this.client_=new hPc(b);this.hostname_=a==void 0?a:a.replace(/\/+$/,"")};oPc.prototype.generateAnswers=function(a){return OT(this.client_,this.hostname_+"/$rpc/google.corp.devtools.devassist.ml4answers.v1.DuckieBackendService/GenerateAnswers",a,{},QOc)};var QT=function(){this.activeSession=r(Bu);this.clientFactory=r(PT);this.client=this.clientFactory.create(this.getServiceEndpoint())};QT.prototype.generateAnswers=function(a){var b=this;return this.activeSession.isExternalSession()?Ae({response:"",citationResources:[]}):Ne(function(){var c=b.client,d=c.generateAnswers,e=new JT;e=gl(e,5,9).setText(a);var f=e.setConversationHistory;var h=new OOc;h=gl(h,1,2);return d.call(c,f.call(e,h))}).pipe(z(c2a()),If(function(){return Ae({response:"",citationResources:[]})}))};
QT.prototype.getServiceEndpoint=function(){switch(this.activeSession.getEnvironmentType()){case "NIGHTLY":return"https://autopush-ml4answers-googleapis.corp.google.com";case "PROD":return"https://ml4answers-googleapis.corp.google.com";default:return"https://staging-ml4answers-googleapis.corp.google.com"}};QT.\u0275fac=function(a){return new (a||QT)};QT.\u0275prov=n({token:QT,factory:QT.\u0275fac,providedIn:"root"});var PT=function(){};PT.prototype.create=function(a){return new oPc(a)};
PT.\u0275fac=function(a){return new (a||PT)};PT.\u0275prov=n({token:PT,factory:PT.\u0275fac,providedIn:"root"});var RT=function(){this.changelistApi=r(iD)},pPc=function(a,b){return se(function(c){return c.nextAddress==1?y(c,Promise.all(b.map(function(d){var e,f,h;return se(function(l){if(l.nextAddress==1)return y(l,Promise.all(((f=(e=d.snapshot)==null?void 0:e[0].changelist)!=null?f:[]).map(function(q){return se(function(u){return u.nextAddress==1?y(u,a.changelistApi.getChangelistDetails(q).then(h2a),2):u.return(u.yieldResult)})})),2);h=l.yieldResult;return l.return({issue:d,changelists:h})})})),2):c.return(c.yieldResult)})};
RT.\u0275fac=function(a){return new (a||RT)};RT.\u0275prov=n({token:RT,factory:RT.\u0275fac,providedIn:"root"});var ST=function(){var a=this;this.helpMeFixService=r(ET);this.duckieService=r(QT);this.geminiApi=r(XP);this.issueAndChangelistDetailsService=r(RT);this.activeSession=r(Bu);this.formatter=r(KK);this.similarIssuesPrompt$=this.helpMeFixService.similarFixedIssues$.pipe(Yf(function(b){return pPc(a.issueAndChangelistDetailsService,b)}),z(function(b){if(b.length===0)return null;var c="Here are some similar tickets and details on their fixes:\n";b=k(b);for(var d=b.next();!d.done;d=b.next()){var e=d.value;
d=e.issue;var f=e.changelists,h=void 0;e=(h=d.snapshot)==null?void 0:h[0];if(f=f.find(function(l){return l.isInteresting}))h=void 0,c+="Ticket b/"+d.issueId+" title:\n"+((h=e)==null?void 0:h.title)+"\nTicket b/"+d.issueId+" change summary:\n"+f.firstInterestingLine+"\nTicket b/"+d.issueId+" changed files:\n"+f.changelist.affectedFiles.join("\n")+"\n\n"}return c}));this.currentIssuePrompt$=Ie([this.helpMeFixService.issue$,this.helpMeFixService.description$]).pipe(z(function(b){var c=k(b);b=c.next().value;
c=c.next().value;if(!b||!c)return null;var d,e=(d=b.snapshot)==null?void 0:d[0];return"You are given the following ticket:\nTicket b/"+b.issueId+" title:\n"+(e==null?void 0:e.title)+"\nTicket b/"+b.issueId+" description:\n"+c+"\n\n"}));this.commentsPrompt$=this.helpMeFixService.events$.pipe(z(function(b){if(b.length===0)return null;var c="";b=k(b);for(var d=b.next();!d.done;d=b.next())if(d=d.value,d.commentNumber!==1&&cua(d.userPerformingAction)&&d.isMajorEvent){var e=void 0;(e=d.unlinkifiedComment)!=
null&&e.trim()&&(c+=d.userPerformingAction+"  comment #"+d.commentNumber+" : "+d.unlinkifiedComment+"\n")}return c?"\nThe following is a list of user comments on the ticket.\nThese comments provide context for the ticket, but only reference this information if it is relevant to helping the user fix the ticket.\n\n"+c:null}));this.prompt$=Ie([this.helpMeFixService.currentConfig$,this.similarIssuesPrompt$,this.currentIssuePrompt$,this.commentsPrompt$]).pipe(z(function(b){var c=k(b);b=c.next().value;
var d=c.next().value;var e=c.next().value;c=c.next().value;if(!b||!e)return null;var f="";b.llmPromptPrefix&&(f+=b.llmPromptPrefix);b.includeSimilarIssuesInPrompt&&d&&(f+=d);f+=e;b.includeIssueCommentsInPrompt&&c&&(f+=c);b.llmPromptSuffix&&(f+=b.llmPromptSuffix);return f}));this.llmResponse$=Ie([this.prompt$,this.helpMeFixService.currentConfig$]).pipe(Yf(function(b){var c=k(b);b=c.next().value;c=c.next().value;return b&&c?c.llmApi==="gemini"&&Vt(a.activeSession,"enableGeminiApiForHelpMeFix")?a.geminiApi.generate({prompt:b}).then(function(d){return{response:d.output,
citationResources:[]}}):a.duckieService.generateAnswers(b):Ae(null)}),Vf({bufferSize:1,refCount:!0}));this.llmResponseMarkdown$=this.llmResponse$.pipe(Yf(function(b){return b?a.formatter.format({comment:b.response,formattingMode:"MARKDOWN",audience:"INTERNAL",idPrefix:"help_me_fix"}):Ae(null)}),z(function(b){var c;return b?{content:(c=b.markdownFormat)==null?void 0:c.content}:null}),Vf({bufferSize:1,refCount:!0}));this.llmCitations$=this.llmResponse$.pipe(z(function(b){return b?b.citationResources:
[]}))};ST.\u0275fac=function(a){return new (a||ST)};ST.\u0275prov=n({token:ST,factory:ST.\u0275fac,providedIn:"root"});var TT=function(){var a=this;this.llmResponseService=r(ST);this.appEvents=r(yD);this.analytics=r(OF);this.helpMeFixPreviewService=r(FT);this.citations$=this.llmResponseService.llmCitations$;this.llmResponseMarkdown$=this.llmResponseService.llmResponseMarkdown$;this.shouldDisplayPreview$=Ie([this.helpMeFixPreviewService.isEligibleForHelpMeFix$,this.helpMeFixPreviewService.isPreviewVisible$]).pipe(z(function(b){var c=k(b);b=c.next().value;c=c.next().value;return b&&c}),$f(function(b){b&&a.analytics.trackEvent("helpMeFix",
"display","previewShown")}))};TT.prototype.openHelpMeFixSidebar=function(){this.appEvents.openHelpMeFixSidebar.next();this.analytics.trackEvent("helpMeFix","click","openSidebarFromPreview")};TT.\u0275fac=function(a){return new (a||TT)};
TT.\u0275cmp=C({type:TT,selectors:[["help-me-fix-preview"]],standalone:!1,decls:2,vars:3,consts:[[1,"container","carded","padded-s-y"],[1,"flex-kids-x","space-between"],[1,"flex-kids-x","align-items-center"],["svgIcon","spark_24px",1,"logo","icon-s"],[1,"uppercase","margin-xs-left","muted"],["type","button","mat-icon-button","","aria-label","Hide preview","matTooltip","Hide preview",3,"click"],["svgIcon","close"],[1,"margined"],[1,"flex-kids-y","space-between"],[1,"preview"],[3,"content"],[1,"flex-kids-x"],
["type","button","mat-button","",1,"view-summary-button",3,"click"],[1,"margin-xs-bottom"],[1,"flex-kids-x","margin-s-y","margin-s-left","gap-s"],[1,"citation","flex-kids-x","align-items-center","gap-xs"],["matTooltip","Additional source(s)",1,"additional-sources-count"],["svgIcon","public",1,"icon-xs"],["alt","Icon for citation",1,"icon-xs",3,"src"],["target","_blank","aria-label","A citation URL for the help me fix response",1,"margin-xs-left","overflow-ellipsis",3,"click","href"]],template:function(a,
b){a&1&&(D(0,r2a,11,3,"div",0),S(1,"async"));a&2&&G(U(1,1,b.shouldDisplayPreview$)?0:-1)},dependencies:[pB,BK,eB,jy,ly,rB,sL,ew],styles:[".container[_ngcontent-%COMP%]{min-height:180px;max-height:250px;overflow-y:hidden;background-color:#edfbf1;background-color:var(--green-bg)}header[_ngcontent-%COMP%]   mat-icon.logo[_ngcontent-%COMP%]{color:#137333;color:var(--green-text)}.citation[_ngcontent-%COMP%]{width:47%}.preview[_ngcontent-%COMP%]{-webkit-mask-image:-webkit-gradient(linear,left top,left bottom,from(#fff),to(transparent));-webkit-mask-image:-webkit-linear-gradient(top,#fff,transparent);mask-image:-webkit-gradient(linear,left top,left bottom,from(#fff),to(transparent));mask-image:linear-gradient(180deg,#fff,transparent);max-height:120px}.view-summary-button[_ngcontent-%COMP%]{color:#137333;color:var(--green-text)}"]});var qPc=function(){this.helpMeFixPreviewService=r(FT);this.shouldDisplayButton$=Ie([this.helpMeFixPreviewService.isEligibleForHelpMeFix$,this.helpMeFixPreviewService.isPreviewVisible$]).pipe(z(function(a){var b=k(a);a=b.next().value;b=b.next().value;return a&&!b}))};qPc.\u0275fac=function(a){return new (a||qPc)};
qPc.\u0275cmp=C({type:qPc,selectors:[["help-me-fix-preview-button"]],standalone:!1,decls:2,vars:3,consts:[["type","button","mat-stroked-button","","matTooltip","Show 'Help me fix' preview",1,"gmat-button","small"],["type","button","mat-stroked-button","","matTooltip","Show 'Help me fix' preview",1,"gmat-button","small",3,"click"],["svgIcon","spark_24px",1,"margin-xs-right"]],template:function(a,b){a&1&&(D(0,s2a,3,0,"button",0),S(1,"async"));a&2&&G(U(1,1,b.shouldDisplayButton$)?0:-1)},dependencies:[pB,
eB,jy,rB,ew],encapsulation:2});var UT=function(){this.dialogRef=r(mI);this.documentationLinks=r(lI);this.data=r(sI);this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc"};UT.prototype.onNoClick=function(){this.dialogRef.close(!1)};UT.\u0275fac=function(a){return new (a||UT)};
UT.\u0275cmp=C({type:UT,selectors:[["b-restricted-confirmation-dialog"]],standalone:!1,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",""],["type","button","mat-button","",1,"medium","restricted-confirmation-dialog-cancel",3,"click"],["type","button","mat-flat-button","","color","primary","cdkFocusInitial","",1,"medium","dialog-primary-action","restricted-confirmation-dialog-confirm",
3,"mat-dialog-close"]],template:function(a,b){a&1&&(I(0,"h1",0),Q(1),J(),I(2,"div",1)(3,"p"),Q(4),I(5,"a",2),Q(6," Learn More "),J()()(),I(7,"div",3)(8,"button",4),M("click",function(){return b.onNoClick()}),Q(9," Cancel "),J(),I(10,"button",5),Q(11," Confirm "),J()());a&2&&(B(),Yg(b.data.title),B(3),R(" ",b.data.content," "),B(),E("rel",b.EXTERNAL_LINK_REL),jg("href",b.documentationLinks.getRestrictedAccessHelpLink(),vf),B(5),E("mat-dialog-close",!0))},dependencies:[eB,jy,uI,wI,yI,xI],encapsulation:2});var VT=function(){this.dialog=r(tI);this.documentationLinks=r(lI);this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.disabled=!1;this.onConfirm=new aB};
VT.prototype.openDialog=function(){var a=this;nI(this.dialog.open(UT,{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()})};VT.\u0275fac=function(a){return new (a||VT)};
VT.\u0275cmp=C({type:VT,selectors:[["b-restricted-comment-placeholder"]],inputs:{disabled:"disabled"},outputs:{onConfirm:"onConfirm"},standalone:!1,decls:5,vars:3,consts:[["type","button","mat-stroked-button","","color","primary",1,"small","restricted-comment-load",3,"click","disabled"],["target","_blank","aria-label","Learn more about restricted access",3,"rel"]],template:function(a,b){a&1&&(I(0,"span")(1,"button",0),M("click",function(){return b.openDialog()}),Q(2," Show Restricted Content "),J(),
I(3,"a",1),Q(4," Learn More "),J()());a&2&&(B(),E("disabled",b.disabled),B(2),E("rel",b.EXTERNAL_LINK_REL),jg("href",b.documentationLinks.getRestrictedAccessHelpLink(),vf))},dependencies:[eB,jy],styles:[".mat-mdc-outlined-button[_ngcontent-%COMP%]{margin-right:1em}/*# sourceMappingURL=restricted_comment_placeholder.css.map */"],changeDetection:0});var WT=function(){var a=this;this.helpMeFixService=r(ET);this.appEvents=r(yD);this.analytics=r(OF);this.showButton$=this.helpMeFixService.currentConfig$.pipe(z(function(b){return!!b&&b!==xOc}),$f(function(b){b&&a.analytics.trackEvent("helpMeFix","display","openButtonShown")}));this.buttonText$=this.helpMeFixService.currentConfig$.pipe(z(function(b){var c;return(c=b==null?void 0:b.customBranding)!=null?c:"Help me fix"}))};WT.prototype.openHelpMeFixSidebar=function(){this.appEvents.openHelpMeFixSidebar.next()};
WT.\u0275fac=function(a){return new (a||WT)};WT.\u0275cmp=C({type:WT,selectors:[["smart-help-me-fix-button"]],standalone:!1,decls:2,vars:3,consts:[["type","button","mat-flat-button","",1,"gmat-button","margin-s-top"],["type","button","mat-flat-button","",1,"gmat-button","margin-s-top",3,"click"],["svgIcon","spark_24px",1,"margin-xs-right"]],template:function(a,b){a&1&&(D(0,t2a,4,3,"button",0),S(1,"async"));a&2&&G(U(1,1,b.showButton$)?0:-1)},dependencies:[pB,eB,jy,ew],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 XT=function(){};XT.\u0275fac=function(a){return new (a||XT)};XT.\u0275mod=Cf({type:XT});XT.\u0275inj=p({imports:[bN,lC,mC,pC]});var rPc=["commentActionsMenu"],sPc=["editDescription"],T2a=function(){return[]},YT=function(){Z.apply(this,arguments);var a=this;this.eventsForIssue=r(NE);this.userPreferencesManager=r(TG);this.issueFullFridge=r(QF);this.issueReferenceResolver=r(XH);this.activeSession=r(Bu);this.commentService=r(SI);this.errorHandler=r(CI);this.analytics=r(OF);this.butterBar=r(fH);this.userAccess=r(uE);this.issueCommentDialogsService=r(DS);this.issuePermissionService=r(gJ);this.commentHistoryDialogService=r(TS);this.dateFormatter=
r(hH);this.domSafe=r(NH);this.enableLiteralModeRevisions=Vt(this.activeSession,"enableLiteralModeRevisions");this.enableExternalMentionsFe=Vt(this.activeSession,"enableExternalMentionsFe");this.id$=new Tf(1);this.issue$=this.id$.pipe(Yf(function(b){return a.issueFullFridge.watch(b)}),Vf({bufferSize:1,refCount:!0}));this.accessLevel$=this.issue$.pipe(z(function(b){var c;return b==null?void 0:(c=b.accessLimit)==null?void 0:c.accessLevel}));this.firstEventOverride$=new Xi(void 0);this.firstEvent$=this.firstEventOverride$.pipe(Yf(function(b){return b?
Ae(b):a.issue$.pipe(Ue(ik),z(function(c){if(c.description)var d=gDa(c.description,c);else{var e,f;d={attachments:[],preDiffs:[],postDiffs:[],modifiedDate:gva(uk((f=(e=c.aggregatedData)==null?void 0:e.createdTimeMicros)!=null?f:0)),userPerformingActionUser:void 0,userPerformingAction:"<none>",commentVersion:void 0,version:void 0,commentLastModifiedAtDate:void 0,commentRedacted:void 0,commentContentVerdict:void 0,commentRetentionState:void 0,commentDeletionStatus:void 0,commentRetention:void 0,lastCommentEditorUser:void 0,
commentEtag:void 0,commentNumber:void 0,isCommentEvent:!0,unlinkifiedComment:"",formattingMode:void 0,isMajorEvent:!0,statusUpdate:void 0,taggedSummary:void 0,formattedComment:void 0,commentReactions:void 0,issueId:c.issueId}}return d}))})).pipe(Vf({bufferSize:1,refCount:!0}));this.firstNote$=this.firstEvent$.pipe(z(function(b){return b}));this.hasDescription$=this.firstEvent$.pipe(z(function(b){return!!b&&kxa(a.enableExternalMentionsFe,b)}));this.commentActionMenuItems$=new Xi([]);this.isFormattingOverrideEnabled=
this.isDisplayCommentFormatLiteral=!1;this.formattingMode="PLAIN";this.formattingModeOverride$=new Xi(void 0);this.formattingMode$=this.formattingModeOverride$.pipe(Yf(function(b){return b?Ae(b):a.firstEvent$.pipe(Ue(ik),z(function(c){var d;return(d=c.formattingMode)!=null?d:"PLAIN"}),Pf())}));this.isRedacted$=this.firstEvent$.pipe(Ue(ik),z(function(b){return b.commentRedacted}));this.isDeleted$=this.firstEvent$.pipe(Ue(ik),z(function(b){return b.commentDeletionStatus==="DELETED"}));this.shouldShowRestrictedPlaceholder$=
Ie([this.isRedacted$,this.isDeleted$]).pipe(z(function(b){var c=k(b);b=c.next().value;c=c.next().value;return!(!b||c)}));this.isRestricted$=this.firstEvent$.pipe(Ue(ik),z(function(b){return Lp(b.commentContentVerdict)}),z(function(b){switch(b){case "NONE_DETECTED":case "RESTRICTION_SEVERITY_UNSPECIFIED":return!1;case "RESTRICTED":case "RESTRICTED_PLUS":return!0;default:Db(b)}}));this.commentRetentionOverride$=this.firstEvent$.pipe(Ue(ik),z(function(b){return b.commentRetention}));this.commentHistoryEnabled=
Vt(this.activeSession,"enableCommentHistoryUi");this.isShowCommentHistoryActionInMenu$=Ie([this.firstEvent$,this.isRedacted$]).pipe(z(function(b){var c=k(b);b=c.next().value;c=c.next().value;return!(!(Vt(a.activeSession,"enableCommentHistoryUi")&&((b==null?void 0:b.commentVersion)||0)>0)||c)}));this.canEditComment$=this.firstEvent$.pipe(Yf(function(b){return b?a.issuePermissionService.canEditComment$(b):Ae(!1)}),Vf({refCount:!0,bufferSize:1}));this.canEditComment=function(){return!!tp(a.canEditComment$)};
this.mayReadPii$=this.isRestricted$.pipe(Yf(function(b){return b?a.mayReadPii():Ae(void 0)}));this.reporterUser$=this.issue$.pipe(z(function(b){var c;return b==null?void 0:(c=b.snapshot[0])==null?void 0:c.reporterUser}));this.currentReporterEmail$=this.reporterUser$.pipe(z(function(b){return Sj(b)||""}));this.allEvents$=this.id$.pipe(Yf(function(b){return a.eventsForIssue.watch(b)}));this.attachments$=this.allEvents$.pipe(z(function(b){var c,d;return(d=b==null?void 0:(c=b.events[0])==null?void 0:
c.attachments)!=null?d:[]}));this.initialReporterEmail$=this.allEvents$.pipe(z(function(b){return b==null?void 0:b.events[0]}),z(function(b){b=k((b==null?void 0:b.postDiffs)||[]);for(var c=b.next();!c.done;c=b.next())if(c=c.value,c.name==="reporter")return c.newValue||"";return""}));this.onBehalfOfEmail$=Ie([this.initialReporterEmail$,this.currentReporterEmail$]).pipe(z(function(b){var c=k(b);b=c.next().value;c=c.next().value;return b||c}));this.originalAuthor$=this.allEvents$.pipe(z(function(b){return b==
null?void 0:b.events[0]}),z(function(b){return b==null?void 0:b.userPerformingActionUser}));this.originalAuthorEmail$=this.originalAuthor$.pipe(z(Sj));this.isAuthorNotReporter$=Ie([this.originalAuthorEmail$,this.onBehalfOfEmail$]).pipe(z(function(b){var c=k(b);b=c.next().value;c=c.next().value;return b!==c}));this.lastNonCreatorCommentEditorUser$=Ie([this.firstEvent$.pipe(Ue(ik)),this.onBehalfOfEmail$]).pipe(z(function(b){var c=k(b);b=c.next().value;var d;if(c.next().value!==((d=b.lastCommentEditorUser)==
null?void 0:d.emailAddress)){var e;return(e=b.lastCommentEditorUser)!=null?e:void 0}}));this.editedTooltipText$=this.firstEvent$.pipe(Ue(ik),Yf(function(b){var c="Last edited";b.lastCommentEditorUser&&(c+=" by "+Pj(b.lastCommentEditorUser));return b.commentLastModifiedAtDate?epc(a.dateFormatter,new Date(b.commentLastModifiedAtDate)).pipe(z(function(d){return c+" on "+d})):Ae(c)}));this.enableHelpMeFixSummary=Vt(this.activeSession,"enableHelpMeFixSummary")};Y(YT,Z);YT.\u0275dir=Z.\u0275dir;
YT.prototype.mayReadPii=function(){var a=this;return this.id$.pipe(Yf(function(b){return Ne(function(){return vE(a.userAccess,"reader","issues/"+b+"/comments/1").catch(function(c){nj("error: ",c);return!1})})}))};
YT.prototype.ngOnInit=function(){var a=this;tPc(this,"PLAIN");this.canEditComment$.pipe(Zf(this.destroyed$)).subscribe(function(){a.initializeActionsMenu()});this.userPreferencesManager.textDisplayPreferencesSubject$.pipe(Zf(this.destroyed$)).subscribe(function(b){a.isFormattingOverrideEnabled=b.commentDisplayOverride!=null;a.initializeActionsMenu()});this.userPreferencesManager.commentFormattingPreferences$.pipe(Zf(this.destroyed$)).subscribe(function(b){a.isDisplayCommentFormatLiteral=b.commentDisplayOverride===
"LITERAL_FORMATTING_MODE";a.initializeActionsMenu()});this.formattingMode$.pipe(Zf(this.destroyed$)).subscribe(function(b){a.formattingMode=b!=null?b:"PLAIN";tPc(a,b!=null?b:"PLAIN");a.initializeActionsMenu()});this.issuePermissionService.canChangeCommentRetention$.pipe(Zf(this.destroyed$)).subscribe(function(){a.initializeActionsMenu()})};
YT.prototype.initializeActionsMenu=function(){var a=this,b=[],c=!1;(c=this.enableLiteralModeRevisions?this.activeSession.isInternalSession()&&!this.isDisplayCommentFormatLiteral:!this.isFormattingOverrideEnabled)&&b.push(Object.assign({},CGc,{items:[this.formattingModeMenuItems.PLAIN,this.formattingModeMenuItems.MARKDOWN,this.formattingModeMenuItems.LITERAL]}));var d=tp(this.firstEvent$);this.canEditComment()&&d&&b.push({type:"action",action:function(){Kr(a.issueCommentDialogsService,a.id,d).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},
label:"Edit description...",disabled:tp(this.isRedacted$)});tp(this.isShowCommentHistoryActionInMenu$)&&d&&b.push(Object.assign({},EGc,{action:function(){d.commentNumber&&a.showCommentHistoryDialog(d.commentNumber).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})}}));d&&fsc(this.issuePermissionService,d)&&b.push({type:"action",action:function(){d.commentEtag&&cMc(a.issueCommentDialogsService,a.id,1,d.commentEtag).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},
label:"Delete description"});d&&esc(this.issuePermissionService,d)&&b.push({type:"action",action:function(){$Lc(a.issueCommentDialogsService,a.id,1).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Restore description"});d&&tp(this.issuePermissionService.hasAclToView$)&&b.push(Object.assign({},DGc,{action:function(){dMc(a.issueCommentDialogsService,a.id,d).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})}}));if(tp(this.isRestricted$)&&this.issuePermissionService.canChangeCommentRetention()&&
!tp(this.isDeleted$)&&this.activeSession.isInternalSession()){var e=tp(this.commentRetentionOverride$)==="COMPONENT_DEFAULT";b.push({type:"action",action:function(){var f=e?"INDEFINITE":"COMPONENT_DEFAULT";eMc(a.issueCommentDialogsService,"comment",f).then(function(h){a.commentActionsMenu.actionsMenuIconButton.focus();h&&a.updateCommentRetention(f)})},label:e?"Match issue retention...":"Revert to component retention..."})}jSa({userIsExternal:!this.activeSession.isInternalSession(),issueIsExternal:tp(this.accessLevel$)!==
"INTERNAL"})&&b.push(Object.assign({},BGc,{action:function(){var f=kSa({bugId:a.id,comment:1});a.domSafe.openInNewTab(f)}}));this.commentActionMenuItems$.next(b)};
var tPc=function(a,b){var c={};a.formattingModeMenuItems=(c.PLAIN={type:"select",action:function(){a.formattingModeOverride$.next("PLAIN")},label:"Classic",selected:b==="PLAIN"},c.MARKDOWN={type:"select",action:function(){a.formattingModeOverride$.next("MARKDOWN")},label:"Markdown",selected:b==="MARKDOWN"},c.LITERAL={type:"select",action:function(){a.formattingModeOverride$.next("LITERAL")},label:"Source",selected:b==="LITERAL"},c)};
YT.prototype.updateCommentRetention=function(a){var b=this,c=tp(this.firstEvent$),d=tp(this.id$);c&&!c.commentNumber&&DI(this.errorHandler,"Comment number is missing");this.analytics.trackEvent("restrictedContent","updateRetention","comment");d&&c&&this.commentService.updateRetention(d,c.commentNumber||0,a).pipe(Zf(this.destroyed$)).subscribe({next:function(){b.eventsForIssue.poke(d);jq(b.butterBar,"Comment retention updated",4E3);b.initializeActionsMenu()},error:function(){DI(b.errorHandler,"Comment retention update failed")}})};
YT.prototype.loadRestrictedComment=function(a,b){var c=this;this.analytics.trackEvent("restrictedContent","viewRestrictedContent","comment");var d=b.commentNumber||0,e=Lp(b.commentContentVerdict);a&&this.commentService.get(a,d,e).pipe(Nf(),Zf(this.destroyed$)).subscribe(function(f){f=lxa(b,f);c.firstEventOverride$.next(f);c.initializeActionsMenu()},function(f){var h;c.butterBar.showWarning("Error showing comment "+d+": "+((h=f.error)==null?void 0:h.message))})};
YT.prototype.showCommentHistoryDialog=function(a){return this.commentHistoryDialogService.show(this.id,a,-1)};var u2a=function(a){var b=tp(a.firstEvent$);b&&Kr(a.issueCommentDialogsService,a.id,b).then(function(){a.editDescriptionButton.focus()})};da.Object.defineProperties(YT.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.id$.next(a)},get:function(){return tp(this.id$)}}});YT.\u0275fac=function(){var a;return function(b){return(a||(a=ee(YT)))(b||YT)}}();
YT.\u0275cmp=C({type:YT,selectors:[["b-issue-description"]],viewQuery:function(a,b){a&1&&(Rg(rPc,5),Rg(sPc,5));if(a&2){var c;Vg(c=Wg())&&(b.commentActionsMenu=c.first);Vg(c=Wg())&&(b.editDescriptionButton=c.first)}},inputs:{id:"id"},standalone:!1,features:[cg],decls:3,vars:3,consts:[["commentActionsMenu",""],["editDescription",""],["card",""],["lastEditorCard",""],["id","comment1",1,"flex-kids-x","comment1"],["svgIcon","description_24px","color","primary",1,"margin-xs-right","shrink-0"],[1,"flex-1-hemmed"],
[1,"b-description-heading","flex-kids-x"],[1,"flex-1"],[1,"uppercase","inline-block","margin-xs-right"],["type","button","mat-stroked-button","","color","primary","aria-label","Edit description",1,"update-button","small","margin-xs-right"],[1,"keep-focus-ring","first-comment",3,"routerLinkObj"],[1,"muted",3,"matTooltip"],[1,"margin-s-right"],["mode","datetime",1,"margin-s-right",3,"timestamp"],[1,"issue-detail-actions",3,"buttonLabel","menuItems"],[1,"description-deleted"],["type","button","mat-stroked-button",
"","color","primary","aria-label","Edit description",1,"update-button","small","margin-xs-right",3,"click"],[3,"onedevHovercardTrigger","model"],[3,"email"],[3,"email","showEmail"],[1,"keep-focus-ring","first-comment",3,"click","routerLinkObj"],[1,"critical-feature",3,"disabled"],[1,"critical-feature",3,"onConfirm","disabled"],[1,"muted","critical-feature"],[1,"critical-feature",3,"issueId","issueAccessLevel","note","formattingMode","canEditComment"],[1,"margin-s-y","border-top","bv2-issue-event-attachments"],
[1,"margin-s-y","bv2-issue-event-attachment",3,"id"],[3,"issueId","attachment","attachmentUploader"]],template:function(a,b){a&1&&(D(0,U2a,27,26,"div",4),S(1,"async"),D(2,V2a,1,0,"b-spinner"));if(a&2){var c;G((c=U(1,1,b.firstEvent$))?0:2,c)}},dependencies:[bQ,BT,NK,pB,iC,iH,TT,qPc,$H,fI,tK,eB,jy,mB,rB,VT,sL,cL,dL,WT,ew],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 ZT=function(){this.reactionState$=new Tf(1);this.issueId="";this.emails$=this.reactionState$.pipe(Ue(ik),z(function(a){return a.recentResponders.map(Sj).filter(function(b){return b!==""}).slice(0,5)}))};da.Object.defineProperties(ZT.prototype,{reactionState:{configurable:!0,enumerable:!0,set:function(a){a&&this.reactionState$.next(a)}}});ZT.\u0275fac=function(a){return new (a||ZT)};
ZT.\u0275cmp=C({type:ZT,selectors:[["b-comment-reaction-responders-card"]],inputs:{reactionState:"reactionState",issueId:"issueId",commentNumber:"commentNumber"},standalone:!1,decls:5,vars:2,consts:[["role","dialog","tabindex","0","aria-label","Comment Reactions Hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"]],template:function(a,b){a&1&&(I(0,"div",0)(1,"div",1),yg(2,Y2a,5,2,"div",null,xg),S(4,"async"),J()());a&2&&(B(2),zg(U(4,0,b.emails$)))},dependencies:[ew],styles:[".onedev-hovercard-content[_ngcontent-%COMP%]{width:auto;max-width:400px}.normal-link.unstyled-button[_ngcontent-%COMP%]{color:#1a73e8;color:var(--link)}"]});var uPc=function(){};uPc.\u0275fac=function(a){return new (a||uPc)};uPc.\u0275cmp=C({type:uPc,selectors:[["b-comment-edit-timestamp-message"]],inputs:{event:"event"},standalone:!1,decls:1,vars:1,consts:[["mode","datetime",3,"timestamp"]],template:function(a,b){a&1&&D(0,$2a,6,2);a&2&&G(b.event.commentLastModifiedAtDate?0:-1)},dependencies:[iH],encapsulation:2,changeDetection:0});var $T=function(){this.texts=[]};$T.prototype.getIssueId=function(a){return a.text};$T.\u0275fac=function(a){return new (a||$T)};$T.\u0275cmp=C({type:$T,selectors:[["b-tagged-text"]],inputs:{texts:"texts"},standalone:!1,decls:2,vars:0,consts:[[3,"email","withProfile"],[3,"href","issueId"]],template:function(a,b){a&1&&yg(0,d3a,3,1,null,null,wg);a&2&&zg(b.texts)},dependencies:[hI,dP],encapsulation:2,changeDetection:0});var vPc=function(){this.hotlists=r(UD);this.ROUTES=Qq};vPc.\u0275fac=function(a){return new (a||vPc)};vPc.\u0275cmp=C({type:vPc,selectors:[["hotlist-link"]],inputs:{id:"id"},standalone:!1,decls:3,vars:4,consts:[[3,"href"]],template:function(a,b){a&1&&(I(0,"a",0),Q(1),S(2,"async"),J());if(a&2){var c;E("href",b.ROUTES.viewHotlist.makeHref(b.id),vf);B();Yg(((c=U(2,2,b.hotlists.watch(b.id)))==null?null:c.name)||b.id)}},dependencies:[ew],encapsulation:2,changeDetection:0});var aU=function(){var a=this;this.componentFridge=r(uD);this.id$=new Tf(1);this.name$=this.id$.pipe(Pf(),Yf(function(b){return a.componentFridge.watch(b).pipe(z(function(c){var d;return c?f3a((d=c.componentPathInfo)==null?void 0:d.componentPathName,b):b}))}))};aU.prototype.ngOnChanges=function(){this.id$.next(this.id)};aU.\u0275fac=function(a){return new (a||aU)};
aU.\u0275cmp=C({type:aU,selectors:[["plain-component-path"]],inputs:{id:"id"},standalone:!1,features:[rv],decls:6,vars:4,consts:[["thisHovercard","onedevHovercard"],["cardBody",""],[3,"onedevHovercardTrigger"],[4,"onedevHovercardLazyBody"],[3,"onedevIsHovercardReady","componentId"]],template:function(a,b){a&1&&(I(0,"span",2),Q(1),S(2,"async"),J(),I(3,"onedev-hovercard",null,0),D(5,h3a,3,2,"ng-container",3),J());a&2&&(a=L(4),E("onedevHovercardTrigger",a),B(),Yg(U(2,2,b.name$)||b.id))},dependencies:[$H,
aI,fI,bI,lR,ew],encapsulation:2,changeDetection:0});var G3a=function(a){return{"bv2-diff-newvalue-nextline":a}},$3a=function(a,b,c){return{diff:a,change:b,isLast:c}},bU=function(){Z.apply(this,arguments);this.activeSession=r(Bu);this.preferences=r(TG);this.customFieldMap={};this.effortEnabled=!0;this.isStringArray=rj;this.isLinkedItemArray=Zwa;this.isIssueDiff=Wwa;this.isHotlistDiff=Xwa;this.DiffType=Hgc};Y(bU,Z);bU.\u0275dir=Z.\u0275dir;
var wPc=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)},xPc=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)};bU.prototype.ngOnInit=function(){var a=this;this.preferences.showRecentEventsFirst$.pipe(Ue(ik),Zf(this.destroyed$)).subscribe(function(b){a.internalDiffs.length<2||(b&&wPc(a)||!b&&xPc(a))&&a.internalDiffs.reverse()})};
var l4a=function(a,b,c){return oea(b,c)==="<none>"?!1:b.customFieldId&&a.customFieldMap[b.customFieldId]&&a.customFieldMap[b.customFieldId].type==="DATE"?!0:!1},m4a=function(a,b,c){return oea(b,c)==="<none>"?!1:b.customFieldId&&a.customFieldMap[b.customFieldId]&&a.customFieldMap[b.customFieldId].type==="REPEATED_DATE"?!0:!1};bU.prototype.asNumber=function(a){return Number(a)};
bU.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(bU.prototype,{diffs:{configurable:!0,enumerable:!0,set:function(a){this.internalDiffs=[].concat(t(a))}}});bU.\u0275fac=function(){var a;return function(b){return(a||(a=ee(bU)))(b||bU)}}();
bU.\u0275cmp=C({type:bU,selectors:[["b-issue-event-details"]],inputs:{diffs:"diffs",customFieldMap:"customFieldMap",effortSpecName:"effortSpecName",effortEnabled:"effortEnabled"},standalone:!1,features:[cg],decls:5,vars:0,consts:[["changeCollection",""],[1,"bv2-event-details"],[1,"bv2-diff-row"],["mode","time",1,"float-right",3,"timestamp"],[1,"bv2-diff-detail"],[3,"id"],[1,"bv2-diff-arrow"],[3,"email","showEmail"],["mode","date",3,"timestamp"],[3,"ngClass"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],
["title","For more detail, click on the three-dot menu near status update"],[1,"muted","inline-block","margin-none","unhandled-diff-type"],[3,"href","issueId"],["target","_blank",3,"href"]],template:function(a,b){a&1&&(I(0,"div",1),yg(1,C4a,2,1,"div",2,wg),J(),D(3,I4a,1,1,"ng-template",null,0,ih));a&2&&(B(),zg(b.internalDiffs))},dependencies:[aw,dw,iH,cL,hI,vPc,aU,iw],styles:["/*# sourceMappingURL=issue_event_details.css.map */"],changeDetection:0});var cU=function(){var a=r(TG);Z.call(this);var b=this;a.textDisplayPreferencesSubject$.pipe(Zf(this.destroyed$)).subscribe(function(c){switch(c.commentDisplayOverride){case "LITERAL_FORMATTING_MODE":b.formattingModeOverride="LITERAL";break;case "MARKDOWN_FORMATTING_MODE":b.formattingModeOverride="MARKDOWN";break;case "PLAIN_FORMATTING_MODE":b.formattingModeOverride="PLAIN";break;case "COMMENT_FORMATTING_MODE_UNSPECIFIED":case void 0:b.formattingModeOverride=void 0;break;default:Db(c.commentDisplayOverride)}})};
Y(cU,Z);cU.\u0275dir=Z.\u0275dir;cU.prototype.ngOnInit=function(){};cU.prototype.ngOnChanges=function(){this.rawComment=this.note.unlinkifiedComment||"";this.summaryType==="CRITIQUE"?yPc(this):this.summaryType==="GERRIT"&&zPc(this);this.audience=this.issueAccessLevel&&this.issueAccessLevel==="INTERNAL"?"INTERNAL":"EXTERNAL";this.idPrefix="b"+this.issueId+"-c"+this.note.commentNumber};
var yPc=function(a){if(a.rawComment.split("\n").slice(0,3).filter(Boolean).length<2)a.rawComment=$Ia(a.rawComment,250);else{var b=a.rawComment.split("\n").filter(function(c){c=c.trim();return c!==""&&c!=="BEGIN_PUBLIC"&&c!=="END_PUBLIC"}).slice(0,2);a.rawComment=APc(a,b)}},zPc=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=APc(a,[d,e,f,"Gerrit change: "+b,"",c])}},APc=
function(a,b){return a.formattingMode==="MARKDOWN"||a.formattingModeOverride==="MARKDOWN"?b.join("\n\n"):b.join("\n")};cU.\u0275fac=function(a){return new (a||cU)};
cU.\u0275cmp=C({type:cU,selectors:[["b-summarized-note-container"]],inputs:{note:"note",issueId:"issueId",formattingMode:"formattingMode",summaryType:"summaryType",issueAccessLevel:"issueAccessLevel"},standalone:!1,features:[cg,rv],decls:1,vars:5,consts:[[3,"comment","issueId","audience","formattingMode","idPrefix"]],template:function(a,b){a&1&&K(0,"b-live-preview",0);a&2&&E("comment",b.rawComment)("issueId",b.issueId)("audience",b.audience)("formattingMode",b.formattingModeOverride||b.formattingMode)("idPrefix",
b.idPrefix)},dependencies:[LK],styles:["[_nghost-%COMP%]     b-live-preview .md-preview{background-color:#fff;background-color:var(--background);padding:0}"]});var BPc=["commentActionsMenu"],CPc=["commentReactionButton"],S4a=function(){return[]},h5a=function(a){return{"no-upvote-reactions":a}},DPc=[{label:"Classic",mode:"PLAIN"},{label:"Markdown",mode:"MARKDOWN"},{label:"Source",mode:"LITERAL"}],dU=function(){Z.apply(this,arguments);var a=this;this.documentationLinks=r(lI);this.activeSession=r(Bu);this.issueReferenceResolver=r(XH);this.commentService=r(SI);this.el=r(ef);this.userAccess=r(uE);this.butterBar=r(fH);this.errorHandler=r(CI);this.analytics=r(OF);
this.userPreferencesManager=r(TG);this.issueDetailsBrain=r(eJ);this.editIssueService=r(kJ);this.issuePermissionService=r(gJ);this.commentHistoryDialogService=r(TS);this.issueCommentDialogsService=r(DS);this.dateFormatter=r(hH);this.paths=r(IP);this.domSafe=r(NH);this.eventsForIssueFridge=r(NE);this.isSummarized=!1;this.issueId$=new Tf(1);this.distinctIssueId$=this.issueId$.pipe(Pf());this.event$=new Tf(1);this.isCommentEvent=Ol;this.isNonObfuscatedEmail=Aj;this.commentActionMenuItems$=new Xi([]);
this.isInternalSession=this.activeSession.isInternalSession();this.enableTeamAnnotations=this.activeSession.isInternalSession();this.formattingMode$=new Xi("PLAIN");this.commentRetentionOverride=null;this.wasSummarized=!1;this.formattingModeMenuItems$=this.formattingMode$.pipe(z(function(b){return DPc.map(function(c){return{type:"select",action:function(){a.formattingMode$.next(c.mode);a.initializeActionsMenu()},label:c.label,selected:b===c.mode}})}));this.isFormattingOverrideEnabled=this.isDisplayCommentFormatLiteral=
!1;this.canEditComment$=this.event$.pipe(Yf(function(b){return a.issuePermissionService.canEditComment$(b)}),Vf({refCount:!0,bufferSize:1}));this.canEditComment=function(){return!!tp(a.canEditComment$)};this.commentHistoryEnabled=Vt(this.activeSession,"enableCommentHistoryUi");this.commentReactionsEnabled=Vt(this.activeSession,"enableCommentReaction");this.enableLiteralModeRevisions=Vt(this.activeSession,"enableLiteralModeRevisions");this.enableExternalMentionsFe=Vt(this.activeSession,"enableExternalMentionsFe");
this.effortSpec$=this.issueDetailsBrain.effortSpec$;this.isEffortEnabled$=this.issueDetailsBrain.isEffortEnabled$;this.teamId$=this.issueDetailsBrain.teamId$;this.issue$=this.distinctIssueId$.pipe(Yf(function(b){return a.editIssueService.editableIssue$(b)}));this.modifiedDateDisplay$=this.event$.pipe(z(function(b){return new Date(b.modifiedDate)}),Yf(function(b){return epc(a.dateFormatter,b)}));this.ariaLabelHeading$=Ie([this.event$,this.modifiedDateDisplay$]).pipe(z(function(b){var c=k(b);b=c.next().value;
c=c.next().value;if(b==null)b="";else{var d=[];b.commentNumber&&d.push("Comment #"+b.commentNumber);b.userPerformingActionUser&&d.push(Pj(b.userPerformingActionUser));d.push("Modified: "+c);b=d.join(", ")}return b}));this.ReactionType=egc;this.upvoteReactionCount$=this.event$.pipe(z(function(b){var c,d,e;return(e=(c=b.commentReactions)==null?void 0:(d=c.get("UPVOTE"))==null?void 0:d.count)!=null?e:0}));this.upvoteReactionCountDisplayString$=this.upvoteReactionCount$.pipe(z(function(b){return b&&b!==
0?b>999?"999+":String(b):null}));this.noUpvoteReactions$=this.upvoteReactionCount$.pipe(z(function(b){return b===0}));this.commentReactionsHovercardConfig=Object.assign({},new cI,{position:[pqc]});this.commentReactionIsSaving=!1;this.FormattingMode=nk;this.showRecentEventsFirst$=this.userPreferencesManager.showRecentEventsFirst$;this.showFullHistoryFromFiltering$=this.userPreferencesManager.commentFilterPreferences$.pipe(z(function(b){var c;return(c=b.commentFilter)!=null?c:""}));this.isFullHistoryPreference$=
this.showFullHistoryFromFiltering$.pipe(z(function(b){return b==="FULL_HISTORY"}));this.preEventDiffs$=Ie([this.event$,this.showRecentEventsFirst$]).pipe(z(function(b){var c=k(b);b=c.next().value;return c.next().value?b.postDiffs:b.preDiffs}));this.postEventDiffs$=Ie([this.event$,this.showRecentEventsFirst$]).pipe(z(function(b){var c=k(b);b=c.next().value;return c.next().value?b.preDiffs:b.postDiffs}));this.hasAclToUpvoteReact$=Ie([this.event$,this.issuePermissionService.hasAclToComment$]).pipe(z(function(b){var c=
k(b);b=c.next().value;c=c.next().value;var d,e;return((d=b.commentReactions)==null?void 0:(e=d.get("UPVOTE"))==null?void 0:e.hasReacted)||c}));this.showCommentReactionHovercard$=Ie([this.issuePermissionService.hasAclToEdit$,this.upvoteReactionCount$]).pipe(z(function(b){var c=k(b);b=c.next().value;c=c.next().value;return b&&c>0&&c<=5}));this.isShowingCommentTimestamp$=this.isFullHistoryPreference$.pipe(z(function(b){return b&&p5a(a)&&(a.event.preDiffs.length>0||a.event.postDiffs.length>0)}));this.getCommentNumberLink=
function(b){return Pp(a.issueId,{comment:b})}};Y(dU,Z);dU.\u0275dir=Z.\u0275dir;g=dU.prototype;
g.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(Zf(this.destroyed$)).subscribe(function(){Ol(a.event)&&a.isRestricted()?a.mayReadPii$=a.mayReadPii():a.mayReadPii$=Ae(void 0)});this.userPreferencesManager.textDisplayPreferencesSubject$.pipe(Zf(this.destroyed$)).subscribe(function(b){a.isFormattingOverrideEnabled=b.commentDisplayOverride!=
null;a.initializeActionsMenu()});this.userPreferencesManager.commentFormattingPreferences$.pipe(Zf(this.destroyed$)).subscribe(function(b){a.isDisplayCommentFormatLiteral=b.commentDisplayOverride==="LITERAL_FORMATTING_MODE";a.initializeActionsMenu()});this.issueDetailsBrain.canonicalIssueId$.pipe(Zf(this.destroyed$)).subscribe(function(b){a.canonicalIssueId=b;a.initializeActionsMenu()});this.canEditComment$.pipe(Zf(this.destroyed$)).subscribe(function(){a.initializeActionsMenu()});this.issuePermissionService.canChangeCommentRetention$.pipe(Zf(this.destroyed$)).subscribe(function(){a.initializeActionsMenu()})};
g.updateCommentRetention=function(a){var b=this;this.event.commentNumber||DI(this.errorHandler,"Comment number is missing");this.analytics.trackEvent("restrictedContent","updateRetention","comment");this.commentService.updateRetention(this.issueId,this.event.commentNumber||0,a).pipe(Zf(this.destroyed$)).subscribe({next:function(c){var d;b.event=Object.assign({},b.event,{commentRetention:c.piiRetention,commentRetentionState:(d=c.piiRetentionState)!=null?d:null});jq(b.butterBar,"Comment retention updated",
4E3);b.commentRetentionOverride=a==="INDEFINITE"?"INDEFINITE":"COMPONENT_DEFAULT";b.initializeActionsMenu()},error:function(){DI(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$.next("PLAIN"):this.formattingMode$.next(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 YHa(Lp(this.event.commentContentVerdict))};g.isRestricted=function(){var a=Lp(this.event.commentContentVerdict);switch(a){case "NONE_DETECTED":case "RESTRICTION_SEVERITY_UNSPECIFIED":return!1;case "RESTRICTED":case "RESTRICTED_PLUS":return!0;default:Db(a)}};
g.isDeleted=function(){return this.event.commentDeletionStatus==="DELETED"};var Lr=function(a){var b;return((b=a.event)==null?void 0:b.commentRedacted)&&!a.deobfuscatedEvent};
dU.prototype.loadRestrictedComment=function(){var a=this;this.analytics.trackEvent("restrictedContent","viewRestrictedContent","comment");var b=this.event.commentNumber||0;this.commentService.get(String(this.issueId),b,Lp(this.event.commentContentVerdict)).pipe(Nf()).subscribe(function(c){a.deobfuscatedEvent=lxa(a.event,c);a.initializeActionsMenu()},function(c){var d;a.butterBar.showWarning("Error showing comment "+b+": "+((d=c.error)==null?void 0:d.message))})};
dU.prototype.initializeActionsMenu=function(){var a=this,b=[];if(this.isCommentEvent(this.event)){var c=!1;(c=this.enableLiteralModeRevisions?this.activeSession.isInternalSession()&&!this.isDisplayCommentFormatLiteral:!this.isFormattingOverrideEnabled)&&(c=tp(this.formattingModeMenuItems$))&&b.push(Object.assign({},CGc,{items:c}));this.canEditComment()&&b.push({type:"action",action:function(){Kr(a.issueCommentDialogsService,String(a.issueId),a.deobfuscatedEvent||a.event).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},
label:"Edit comment",disabled:Lr(this)});this.commentHistoryEnabled&&(this.event.commentVersion||0)>0&&!Lr(this)&&b.push(Object.assign({},EGc,{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 e=Rq(a.canonicalIssueId,{template_issue:a.issueId,template_comment:a.event.commentNumber,
do_attribution:!0});a.domSafe.openInNewTab(e);a.commentActionsMenu.actionsMenuIconButton.focus()},label:"Copy to canonical issue",disabled:Lr(this)});this.isDeleted()||this.activeSession.isAnonymous()||b.push({type:"action",action:function(){YLc(a.issueCommentDialogsService,String(a.issueId),a.event.commentNumber).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Copy comment to",disabled:Lr(this)});fsc(this.issuePermissionService,this.event)&&b.push({type:"action",action:function(){cMc(a.issueCommentDialogsService,
String(a.issueId),a.event.commentNumber,a.event.commentEtag).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Delete comment"});esc(this.issuePermissionService,this.event)&&b.push({type:"action",action:function(){$Lc(a.issueCommentDialogsService,String(a.issueId),a.event.commentNumber).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Restore comment"});tp(this.issuePermissionService.hasAclToView$)&&b.push(Object.assign({},DGc,{action:function(){dMc(a.issueCommentDialogsService,
String(a.issueId),a.event).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})}}));if(this.isRestricted()&&this.issuePermissionService.canChangeCommentRetention()&&!this.isDeleted()){var d=this.commentRetentionOverride==="COMPONENT_DEFAULT";b.push({type:"action",action:function(){var e=d?"INDEFINITE":"COMPONENT_DEFAULT";eMc(a.issueCommentDialogsService,"comment",e).then(function(f){a.commentActionsMenu.actionsMenuIconButton.focus();f&&a.updateCommentRetention(e)})},label:d?"Match issue retention":
"Revert to component retention"})}jSa({userIsExternal:!this.isInternalSession,issueIsExternal:this.issueAccessLevel!=="INTERNAL"})&&b.push(Object.assign({},BGc,{action:function(){a.event.commentNumber==null&&nj("unable to buildLegalReportingUrl() correctly without an event.commentNumber");var e,f=kSa({bugId:a.event.issueId,comment:(e=a.event.commentNumber)!=null?e:0});a.domSafe.openInNewTab(f)}}))}this.commentActionMenuItems$.next(b)};
var p5a=function(a){return a.enableExternalMentionsFe?Ol(a.event)&&a.event.isCommentEvent:Ol(a.event)&&!!a.event.unlinkifiedComment};dU.prototype.getSummaryType=function(){return Wl(this.event)?"GERRIT":"CRITIQUE"};dU.prototype.showCommentHistoryDialog=function(a){return this.commentHistoryDialogService.show(this.issueId,a,-1)};
dU.prototype.mayReadPii=function(){var a=vE(this.userAccess,"reader","issues/"+this.issueId+"/comments/"+this.event.commentNumber);a.catch(function(b){nj("error: ",b);return!1});return re(a)};
var f5a=function(a){if(tp(a.hasAclToUpvoteReact$)){a.commentReactionIsSaving=!0;var b=i5a(a,"UPVOTE"),c;a.issueCommentDialogsService.updateCommentReaction({issueId:a.issueId,commentId:(c=a.event.commentNumber)!=null?c:2,reactionType:"UPVOTE",hasReacted:!b}).then(function(d){a.commentReactionIsSaving=!1;if(d){var e=a.event;e.commentReactions=d;a.event$.next(e);a.eventsForIssueFridge.manualUpdate(a.issueId,function(f){var h;f.events=mxa(f.events,(h=a.event.commentNumber)!=null?h:2,{commentReactions:d})});
a.analytics.trackEvent("editIssue","click",b?"removeUpvoteReaction":"addUpvoteReaction")}})}},i5a=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},g5a=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(dU.prototype,{event:{configurable:!0,enumerable:!0,set:function(a){this.internalEvent=a;this.event$.next(a)},get:function(){return this.internalEvent}}});dU.\u0275fac=function(){var a;return function(b){return(a||(a=ee(dU)))(b||dU)}}();
dU.\u0275cmp=C({type:dU,selectors:[["b-history-event"]],viewQuery:function(a,b){a&1&&(Rg(BPc,5),Rg(CPc,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"},standalone:!1,features:[cg,rv],decls:2,vars:3,consts:[["emailDisplay",""],["card",""],["commentActionsMenu",""],["commentReactionButton",""],["commentReactionCard","onedevHovercard"],[1,
"bv2-event-user-image-cell"],[1,"bv2-event-user-image",3,"email"],[1,"bv2-event-content-cell"],[1,"bv2-event-user"],[3,"user","email","teamId"],[1,"bv2-event-user-name",3,"model"],[1,"bv2-event-user-id"],["type","button","matTooltip","Edit Comment","aria-label","Edit Comment",1,"bv2-edit-comment-button"],[1,"bv2-event-info"],["content-type","comment",3,"label","retention","retentionState"],["mode","datetime",3,"timestamp"],[1,"issue-detail-actions",3,"buttonLabel","menuItems"],[1,"float-clear"],[1,
"bv2-event-major-status"],[3,"diffs","customFieldMap","effortSpecName","effortEnabled"],[1,"bv2-event-note-container","critical-feature"],[1,"flex-kids-x","space-between"],[1,"muted","italic"],[3,"disabled"],[1,"flex-kids-y","flex-1-hemmed"],[3,"issueId","issueAccessLevel","note","formattingMode","canEditComment"],["type","button","mat-button","",1,"summarized-note-button"],[1,"flex-kids-y","justify-space-between"],[1,"comment-timestamp"],["mode","time",1,"muted","type-s",3,"timestamp"],[1,"align-self-flex-end"],
[1,"bv2-event-note-edit-timestamp"],[1,"margin-s-y","border-top","bv2-issue-event-attachments"],["role","button",3,"onedevHovercardTrigger"],[4,"ngTemplateOutlet"],[3,"email"],[1,"keep-focus-ring","vertical-centered","comment-number",3,"click","routerLinkObj"],["type","button","matTooltip","Edit Comment","aria-label","Edit Comment",1,"bv2-edit-comment-button",3,"click"],[3,"texts"],[3,"onConfirm","disabled"],[3,"issueId","issueAccessLevel","note","summaryType","formattingMode"],["type","button","mat-button",
"",1,"summarized-note-button",3,"click"],["svgIcon","arrow-down",1,"icon-m"],["svgIcon","arrow-up",1,"icon-m"],["type","button","mat-stroked-button","","disabledInteractive","",1,"comment-reaction-button",3,"click","ariaLabel","ngClass","aria-disabled","disabled","onedevHovercardTrigger","onedevHovercardConfig","onedevHovercardActive"],["svgIcon","thumb_up_filled_24px",1,"icon-s","has-reacted-icon"],["svgIcon","thumb_up_24px",1,"icon-s"],[3,"reactionState","issueId","commentNumber"],[3,"event"],[3,
"click"],[1,"margin-s-y","bv2-issue-event-attachment",3,"id"],[3,"issueId","attachment","attachmentUploader"]],template:function(a,b){a&1&&(D(0,q5a,41,28),S(1,"async"));if(a&2){var c;G((c=U(1,1,b.issue$))?0:-1,c)}},dependencies:[bQ,BT,NK,aw,dw,pB,iC,iH,$H,fI,bU,tK,iT,VT,QM,dL,eP,mB,rB,cU,eB,jy,ZT,uPc,$T,ew],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 eU=function(){};eU.prototype.watch=function(a,b){b=b===void 0?document.documentElement:b;return Me(Ne(function(){return Ae(document.getElementById(a))}),$Aa(b,{attributes:!0,attributeFilter:["id"],childList:!0,subtree:!0}).pipe(z(function(){return document.getElementById(a)}))).pipe(Ue(ik),Nf())};eU.\u0275fac=function(a){return new (a||eU)};eU.\u0275prov=n({token:eU,factory:eU.\u0275fac,providedIn:"root"});var fU=function(){this.idWatch=r(eU)},EPc=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(Nf(),z(function(h){h.scrollIntoView();if(h=document.getElementById(e))h.scrollTop-=f}))};fU.\u0275fac=function(a){return new (a||fU)};fU.\u0275prov=n({token:fU,factory:fU.\u0275fac,providedIn:"root"});var FPc={FULL:"full",SUMMARIZED:"summarized",FOLDED:"folded",HIDDEN:"hidden"},gU=function(){Z.apply(this,arguments);var a=this;this.formattedCommentsForIssueFridge=r(RE);this.preferences=r(TG);this.eventsForIssue=r(NE);this.dynamicScrollIntoView=r(fU);this.bLocation=r(WN);this.elementRef=r(ef);this.routerEvents=r(NF);this.analytics=r(OF);this.teamFridge=r(IG);this.issueFullFridge=r(QF);this.activeSession=r(Bu);this.enableExternalMentionsFe=Vt(this.activeSession,"enableExternalMentionsFe");this.issueId$=
new Tf(1);this.internalIssueId="";this.eventDisplayModes=FPc;this.internalEvents=[];this.showRecentEventsFirst=null;this.currentFilterLevel="FULL_HISTORY";this.issue$=this.issueId$.pipe(Yf(function(b){return a.issueFullFridge.watch(b)}));this.events$=new Tf(1);this.commentsToFormat$=new Tf(1);this.eventDisplayMode=new Map;this.commentNumbersDisplayed=new Set;this.foldedCommentsCounts=new Map;this.authoritativeEmails=new Set;this.authoritativeEmails$=this.preferences.commentFilterPreferences$.pipe(Yf(function(b){var c=
new Set;return b.commentFilter!=="TEAM_AND_ASSIGNEE"?Ae(c):a.issue$.pipe(Yf(function(d){var e;if((d==null?void 0:(e=d.snapshot[0].assigneeUser)==null?void 0:e.emailAddress)!==void 0){var f;c.add(d==null?void 0:(f=d.snapshot[0].assigneeUser)==null?void 0:f.emailAddress)}var h;if((d==null?void 0:(h=d.snapshot[0].verifierUser)==null?void 0:h.emailAddress)!==void 0){var l;c.add(d==null?void 0:(l=d.snapshot[0].verifierUser)==null?void 0:l.emailAddress)}var q;if((d==null?void 0:(q=d.aggregatedData)==null?
void 0:q.teamId)===void 0)return Ae(c);var u;return GPc(a,String(d==null?void 0:(u=d.aggregatedData)==null?void 0:u.teamId)).pipe(Yf(function(A){A=k(A);for(var F=A.next();!F.done;F=A.next())c.add(F.value);return Ae(c)}))}))}));this.isLoading$=Ie([this.formattedCommentsForIssueFridge.thinking$,this.eventsForIssue.thinking$]).pipe(Of(0),z(function(b){var c=k(b);b=c.next().value;c=c.next().value;return b||c}));this.sendAnalytics=Zac(function(){var b=[].concat(t(document.querySelectorAll(".bv2-event-note, .bv2-event-major-status"))).map(function(c){return c.innerText}).join("").length;
a.analytics.trackEvent("editIssue","updateCommentThread","visibleCharCount",b)},200);this.scrollToCommentOrAttachment=Zac(function(){var b=a.bLocation.hash();if(b&&a.lastHashScrolled!==b&&a.internalEvents){var c,d=k((c=b.match(RegExp("(comment|attachment)([0-9]+)")))!=null?c:[]);d.next();c=d.next().value;var e=d.next().value;d=c;var f=e;if(b==="lastcomment"){d=qxa(a.internalEvents);if(d===-1)return;f=String(d);d="comment"}if(d&&f){c=a.internalEvents.findIndex(function(l){return l.commentNumber===
Number(f)});e=c>-1;var h=a.internalEvents.flatMap(function(l){return l.attachments}).some(function(l){return l.attachmentId===Number(f)});if(e||h)e&&a.eventDisplayMode.get(c)==="folded"&&(a.eventDisplayMode.set(c,"full"),HPc(a,c)),h&&(c=a.internalEvents.findIndex(function(l){return l.attachments.findIndex(function(q){return q.attachmentId===Number(f)})>-1}),a.eventDisplayMode.get(c)||(a.eventDisplayMode.set(c,"full"),HPc(a,c))),EPc(a.dynamicScrollIntoView,{elementId:d+f,parentElement:a.elementRef.nativeElement,
scrollableContainerId:"bv2-edit-issue-details-scroll",scrollPadding:60}).pipe($f(function(){a.lastHashScrolled=b}),Zf(a.destroyed$)).subscribe()}else EPc(a.dynamicScrollIntoView,{elementId:b,parentElement:a.elementRef.nativeElement,scrollableContainerId:"bv2-edit-issue-details-scroll",scrollPadding:60}).pipe($f(function(){a.lastHashScrolled=b}),Zf(a.destroyed$)).subscribe()}},200)};Y(gU,Z);gU.\u0275dir=Z.\u0275dir;
gU.prototype.ngOnInit=function(){var a=this;this.authoritativeEmails$.pipe(Zf(this.destroyed$)).subscribe(function(b){a.authoritativeEmails=b});this.preferences.showRecentEventsFirst$.pipe(Ue(ik),Pf(),Zf(this.destroyed$)).subscribe(function(b){a.showRecentEventsFirst!==b&&(a.showRecentEventsFirst=b,IPc(a))});Ie([this.events$,this.preferences.commentFilterPreferences$,this.authoritativeEmails$]).pipe(Zf(this.destroyed$)).subscribe(function(b){b=k(b);var c=b.next().value;var d=b.next().value;var e=
b.next().value;b=[];if(d.commentFilter)for(a.currentFilterLevel=d.commentFilter,JPc(a,c,d.commentFilter,e),KPc(a),c=k(a.commentNumbersDisplayed.values()),d=c.next();!d.done;d=c.next())b.push(a.internalIssueId+"-"+d.value);else for(c=k(c),d=c.next();!d.done;d=c.next())(d=d.value)&&d.commentNumber&&b.push(a.internalIssueId+"-"+d.commentNumber);a.commentsToFormat$.next(b)});this.commentsToFormat$.pipe(Ue(ik),Yf(function(b){return a.formattedCommentsForIssueFridge.watchSet(b)}),Zf(this.destroyed$)).subscribe(function(b){LPc(a,
b)});this.routerEvents.navigationEnd$.pipe(Zf(this.destroyed$)).subscribe(function(){a.internalEvents&&a.internalEvents.length!==0&&a.scrollToCommentOrAttachment()})};
var LPc=function(a,b){for(var c={i$jscomp$1133:0};c.i$jscomp$1133<a.internalEvents.length;c={i$jscomp$1133:c.i$jscomp$1133},c.i$jscomp$1133++)if(w5a(a.eventDisplayMode.get(c.i$jscomp$1133))&&Ol(a.internalEvents[c.i$jscomp$1133])){var d=b.find(function(e){return function(f){return f.id.commentId===a.internalEvents[e.i$jscomp$1133].commentNumber}}(c));d&&(a.internalEvents[c.i$jscomp$1133]=Object.assign({},a.internalEvents[c.i$jscomp$1133],{formattedComment:d.formattedComment.formattedComment,formattingMode:d.formattedComment.formattingMode}))}IPc(a)},
JPc=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=MPc(a,b[c]);a.eventDisplayMode.set(c,e?"full":"hidden");Ol(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=NPc(a,b[c]),a.eventDisplayMode.set(c,e?"full":"hidden"),Ol(b[c])&&b[c].commentNumber&&e&&(e=void 0,a.commentNumbersDisplayed.add((e=
b[c].commentNumber)!=null?e:0));break;case "HUMAN_ONLY":OPc(a,b,function(f){var h;return(h=cua(f.userPerformingAction)&&f.isMajorEvent)!=null?h:!0});break;case "TEAM_AND_ASSIGNEE":OPc(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"),Ol(b[c])&&b[c].commentNumber&&(e=void 0,a.commentNumbersDisplayed.add((e=b[c].commentNumber)!=null?e:0))}a.sendAnalytics()},KPc=function(a){if(a.currentFilterLevel!==
"FULL_HISTORY")for(var b=0;b<a.internalEvents.length;b++){var c=a.internalEvents[b];Ol(c)&&(Vl(c)||c!=null&&c.formattingMode&&c.formattingMode!=="MARKDOWN"&&Wl(c))&&(a.eventDisplayMode.set(b,"summarized"),HPc(a,b))}},OPc=function(a,b,c){for(var d=0,e=0,f=0,h=0;h<b.length;h++){var l=c(b[h]);a.eventDisplayMode.set(h,l?"full":"folded");if(l){if(d>0||e>0)a.foldedCommentsCounts.has(f)||a.foldedCommentsCounts.set(f,{commentFoldedCount:d,eventFoldedCount:e});e=d=0;Ol(b[h])&&b[h].commentNumber&&(l=void 0,
a.commentNumbersDisplayed.add((l=b[h].commentNumber)!=null?l:0))}else{if(Ol(b[h])&&b[h].commentNumber||Pl(b[h]))d++,f=h;e++}}if(d>0||e>0)b=qxa(a.internalEvents)===1?a.showRecentEventsFirst?0:a.internalEvents.length:PPc(a),a.foldedCommentsCounts.set(b,{commentFoldedCount:d,eventFoldedCount:e})},PPc=function(a){return Eba(a.internalEvents,function(b){var c;return(c=b.isMajorEvent)!=null?c:!1})},MPc=function(a,b){return(a.enableExternalMentionsFe?Ol(b)&&b.isCommentEvent:Ol(b)&&!!b.unlinkifiedComment)||
Pl(b)||b.preDiffs.length>0||b.postDiffs.length>0},NPc=function(a,b){var c;return((c=b.isMajorEvent)!=null?c:!1)&&((a.enableExternalMentionsFe?Ol(b)&&b.isCommentEvent:Ol(b)&&!!b.unlinkifiedComment)||Pl(b)||b.preDiffs.length>0||b.postDiffs.length>0)},IPc=function(a){if(!(a.internalEvents.length<2)){if(a.showRecentEventsFirst&&a.internalEvents[0].modifiedDate<=QPc(a,a.internalEvents).modifiedDate||!a.showRecentEventsFirst&&a.internalEvents[0].modifiedDate>=QPc(a,a.internalEvents).modifiedDate){a.internalEvents.reverse();
var b;JPc(a,a.internalEvents,(b=a.currentFilterLevel)!=null?b:"FULL_HISTORY",a.authoritativeEmails);KPc(a)}a.internalEvents&&a.internalEvents.length!==0&&a.scrollToCommentOrAttachment()}},QPc=function(a,b){var c;return(c=b.find(function(d){return a.internalEvents[0].modifiedDate!==d.modifiedDate}))!=null?c:b[1]};gU.prototype.trackEventByVersion=function(a,b){return b.version};
var HPc=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(t(a.foldedCommentsCounts.entries())).sort(function(l,q){return l[0]-q[0]})),e=k(e.entries()),f=e.next();!f.done;f=e.next())if(h=
k(f.value),f=h.next().value,h=h.next().value,f>b){if(h.commentFoldedCount-(f-b)===0)a.foldedCommentsCounts.set(f,{commentFoldedCount:h.commentFoldedCount-1,eventFoldedCount:h.eventFoldedCount-1});else{e=0;for(c=b;c<f;c++)(Ol(a.internalEvents[c])||Pl(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}},
w5a=function(a){return a==="summarized"||a==="full"},GPc=function(a,b){var c=new Set;return a.teamFridge.watch(b).pipe(z(function(d){if(d!==void 0){d=k(d.members.map(function(f){return f.user.emailAddress}).filter(ik));for(var e=d.next();!e.done;e=d.next())c.add(e.value)}return c}))};
da.Object.defineProperties(gU.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(t(b));b=Object.assign({},b[0],{attachments:[],commentNumber:null,formattedComment:void 0,taggedSummary:[],isMajorEvent:!1});a[0]=b}a&&!Dua(this.internalEvents,a)&&(this.internalEvents=a,this.events$.next(a))}}});
gU.\u0275fac=function(){var a;return function(b){return(a||(a=ee(gU)))(b||gU)}}();
gU.\u0275cmp=C({type:gU,selectors:[["b-event-stream"]],inputs:{issueAccessLevel:"issueAccessLevel",showFullHistory:"showFullHistory",issueId:"issueId",events:"events"},standalone:!1,features:[cg],decls:7,vars:6,consts:[[1,"padded","margined"],[1,"bv2-edit-issue-history-stream"],[1,"fold-indication"],[1,"bv2-event"],["type","button","mat-stroked-button","","color","primary",3,"click"],[1,"horizontal-divider"],[3,"issueId","issueAccessLevel","event","isSummarized"]],template:function(a,b){a&1&&(D(0,
r5a,2,0,"aside",0),S(1,"async"),I(2,"div",1),yg(3,x5a,2,2,null,null,b.trackEventByVersion,!0),J(),D(5,y5a,2,0,"aside",0),S(6,"async"));a&2&&(G(b.showRecentEventsFirst&&U(1,2,b.isLoading$)?0:-1),B(3),zg(b.internalEvents),B(2),G(!b.showRecentEventsFirst&&U(6,4,b.isLoading$)?5:-1))},dependencies:[dU,eB,jy,sL,ew],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 iU=function(){var a=this;this.issueFullFridge=r(QF);this.issueApi=r(LE);this.prompts=r(hU);this.contextSensitiveRegistry=r(UH);this.analytics=r(OF);this.activeSession=r(Bu);this.enableNoButton=Vt(this.activeSession,"enableIssueSummarizationNoButton")&&this.activeSession.isInternalSession();this.issueId$=this.contextSensitiveRegistry.getIssueId().pipe(Ue(ik),Pf());this.issue$=this.issueId$.pipe(Yf(function(b){return a.issueFullFridge.watch(b)}),Ue(ik),Pf(function(b,c){return b.issueId===c.issueId&&
b.version===c.version}));this.summarizable$=this.issue$.pipe(Yf(function(b){return RPc(a.prompts,b.issueId).pipe(z(function(c){return{issue:b,isSummarizable:c}}))}),Vf({refCount:!0,bufferSize:1}));this.pregeneratedSummary$=this.summarizable$.pipe(Ue(function(b){return b.isSummarizable}),Yf(function(b){return a.getIssueSummary(b.issue,"COMMENTS_LONG")}),Vf({refCount:!0,bufferSize:1}));this.generateSummaryRequested$=new Tf(1);this.generatedSummary$=this.generateSummaryRequested$.pipe(Yf(function(b){return SPc(a,
b)}),Vf({refCount:!0,bufferSize:1}));this.summary$=Te(this.pregeneratedSummary$,this.generatedSummary$).pipe(Vf({refCount:!0,bufferSize:1}));this.stage$=Ie([this.issueId$.pipe(Xf(void 0)),this.issue$.pipe(Xf(void 0)),this.pregeneratedSummary$.pipe(Xf(void 0)),this.generateSummaryRequested$.pipe(Xf(void 0)),this.generatedSummary$.pipe(Xf(void 0))]).pipe(z(function(b){var c=k(b);b=c.next().value;var d=c.next().value;var e=c.next().value;var f=c.next().value;c=c.next().value;return b&&d&&e&&e.issueId===
b?e.summary?"SUMMARY_VISIBLE":f&&f.issueId===b&&f.version===d.version?!c||c.issueId!==b||c.issueVersion<d.version?"GENERATING":"SUMMARY_VISIBLE":"BUTTON":"HIDDEN"}),Vf({refCount:!1,bufferSize:1}))},A5a=function(a){a.issue$.pipe(Nf()).subscribe(function(b){a.generateSummaryRequested$.next(b)})};
iU.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}),If(function(c){c.status!==404&&nj("Error to get an issue summary: error: ",c);return Ae({issueId:a.issueId,summaryType:b,issueVersion:a.version,summary:""})}))};
var SPc=function(a,b){return a.issueApi.generateIssueSummary(b.issueId,"COMMENTS_LONG").pipe(If(function(c){nj("Error to generate an issue summary: error: ",c);return Ae({issueId:b.issueId,summaryType:"COMMENTS_LONG",issueVersion:b.version,summary:""})}))};iU.prototype.trackThumbsUp=function(a,b){this.trackEvent("accept",b);jU(this,a,"THUMBS_UP")};iU.prototype.trackThumbsDown=function(a,b){this.trackEvent("reject",b);jU(this,a,"THUMBS_DOWN")};
iU.prototype.trackEvent=function(a,b){this.analytics.trackEvent("llmSummarize",a,b)};var jU=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 Sjc;var l=b.setFeedback;c=(new wjc).setIssueId(d).setSummaryType(agc[e]).setModelVersion(f).setIssueVersion(h).setFeedbackType(Zfc[c]);c=l.call(b,c);c=(new KE).setIt(c);a.executor.post({url:"action/issues/"+d+"/submitSummaryFeedback",body:c,responseConstructor:null}).subscribe()}};
iU.\u0275fac=function(a){return new (a||iU)};iU.\u0275prov=n({token:iU,factory:iU.\u0275fac,providedIn:"root"});
var hU=function(){this.eventsForIssueFridge=r(NE)},RPc=function(a,b){return TPc(a,b).pipe(z(function(c){return!!(c&&c.commentEvents.length>=3)}),Pf())},TPc=function(a,b){return a.eventsForIssueFridge.watch(b,{trustUncertainMemory:!0}).pipe(z(function(c){if(!c)return{commentEvents:[]};c=c.events;return{commentEvents:[].concat(t(c.slice(0,1).filter(function(d){var e;return(e=d.unlinkifiedComment)==null?void 0:e.trim()})),t(c.slice(1).filter(z5a).filter(function(d){var e;return(e=d.unlinkifiedComment)==
null?void 0:e.trim()})))}}))};hU.\u0275fac=function(a){return new (a||hU)};hU.\u0275prov=n({token:hU,factory:hU.\u0275fac,providedIn:"root"});var kU=function(){Z.apply(this,arguments);this.llmIssueSummaryService=r(iU);this.BUTTON="BUTTON";this.enableNoButton=this.llmIssueSummaryService.enableNoButton;this.stage$=this.llmIssueSummaryService.stage$};Y(kU,Z);kU.\u0275dir=Z.\u0275dir;kU.\u0275fac=function(){var a;return function(b){return(a||(a=ee(kU)))(b||kU)}}();
kU.\u0275cmp=C({type:kU,selectors:[["summarize-button"]],standalone:!1,features:[cg],decls:1,vars:1,consts:[[1,"margin-right"],["svgIcon","chat_spark_24px","color","primary"],["type","button","mat-button","","color","secondary",1,"gmat-button","small","generate-summary",3,"click"]],template:function(a,b){a&1&&D(0,D5a,2,3);a&2&&G(b.enableNoButton?0:-1)},dependencies:[pB,eB,jy,ew],styles:["mat-icon[_ngcontent-%COMP%]{vertical-align:bottom}\n/*# sourceMappingURL=summarize_button.css.map */"]});var lU=function(){Z.apply(this,arguments);this.preferences=r(TG);this.activeSession=r(Bu);this.clearcut=r(GF);this.analytics=r(OF);this.selectedFilter=null;var a=this.activeSession.isInternalSession();Mr.description=a?"Including CLs, Blunderbuss, etc.":"Including all automated comments";this.filters=UPc;this.showRecentEventsFirst=!1};Y(lU,Z);lU.\u0275dir=Z.\u0275dir;
lU.prototype.ngOnInit=function(){var a=this;this.preferences.showRecentEventsFirst$.pipe(Ue(ik),Zf(this.destroyed$)).subscribe(function(b){a.showRecentEventsFirst=b});this.preferences.commentFilterPreferences$.pipe(Zf(this.destroyed$)).subscribe(function(b){b.commentFilter?a.selectedFilter=I5a(b.commentFilter):(a.selectedFilter=UG(a.preferences).showFullHistory?F5a:Mr,a.preferences.save({commentFilterPreferences:{commentFilter:a.selectedFilter.commentFilterType}}).pipe(Zf(a.destroyed$)).subscribe())})};
lU.\u0275fac=function(){var a;return function(b){return(a||(a=ee(lU)))(b||lU)}}();
lU.\u0275cmp=C({type:lU,selectors:[["b-event-stream-header"]],standalone:!1,features:[cg],decls:14,vars:4,consts:[[1,"flex-kids-x","flex-spread"],[1,"uppercase"],[1,"flex-kids-x"],["appearance","outline","subscriptSizing","dynamic",1,"filter-select"],[3,"valueChange","selectionChange","value"],[1,"filter-option",3,"value"],["type","button","mat-stroked-button","","color","primary",1,"sort-order-button",3,"click"],["matButtonIcon","",1,"sort-order-arrow","icon-xs",3,"svgIcon"],[1,"filter-option-name"],
[1,"filter-option-description"]],template:function(a,b){a&1&&(I(0,"div",0)(1,"h4",1),Q(2,"Comments"),J(),I(3,"div",2),K(4,"summarize-button"),I(5,"mat-form-field",3)(6,"mat-select",4),bh("valueChange",function(c){ah(b.selectedFilter,c)||(b.selectedFilter=c);return c}),M("selectionChange",function(c){c=c.value;b.preferences.save({commentFilterPreferences:{commentFilter:c.commentFilterType}}).pipe(Zf(b.destroyed$)).subscribe();b.analytics.trackEvent("editIssue","click",c.commentFilterType)}),I(7,"mat-select-trigger"),
Q(8),J(),yg(9,E5a,5,3,"mat-option",5,xg),J()(),I(11,"button",6),M("click",function(){yl("hasClickedCommentSortBtn")(!0);var c=!b.showRecentEventsFirst;Slc(b.clearcut,"click_recentFirst_"+c);b.preferences.save({showRecentEventsFirst:c}).pipe(Zf(b.destroyed$)).subscribe()}),K(12,"mat-icon",7),Q(13),J()()());a&2&&(B(6),$g("value",b.selectedFilter),B(2),Yg(b.selectedFilter==null?null:b.selectedFilter.displayName),B(),zg(b.filters),B(3),E("svgIcon",b.showRecentEventsFirst?"arrow-upward":"arrow-downward"),
B(),R(" ",b.showRecentEventsFirst?"Newest first":"Oldest first"," "))},dependencies:[pB,eB,jy,kN,lz,kU,yL,NL,OL,Zx],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 F5a={name:"Full history",description:"Including everything with audit trail",displayName:"Full history",commentFilterType:"FULL_HISTORY"},Mr={name:"All comments and updates",description:"Including CLs, Blunderbuss, etc.",displayName:"All comments",commentFilterType:"ALL_COMMENTS"},G5a={name:"Users' comments",description:"All human generated comments",displayName:"Users",commentFilterType:"HUMAN_ONLY"},H5a={name:"Team and assignee comments",description:"Issue's owning team and assignee",displayName:"Team and assignee",
commentFilterType:"TEAM_AND_ASSIGNEE"},UPc=[F5a,Mr,G5a,H5a];var mU=function(){this.admins=[]};mU.prototype.ngOnInit=function(){this.url="hotlists/"+this.hotlist.hotlistId;this.admins=Qj(this.hotlist.adminUsers)};mU.\u0275fac=function(a){return new (a||mU)};
mU.\u0275cmp=C({type:mU,selectors:[["b-hotlist-card"]],inputs:{hotlist:"hotlist"},standalone:!1,decls:14,vars:6,consts:[[1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"hotlist-card"],["target","_blank",3,"href"]],template:function(a,b){a&1&&(I(0,"div",0)(1,"div",1)(2,"div",2)(3,"h3")(4,"a",3),Q(5),J()(),I(6,"ul")(7,"li"),Q(8),J(),I(9,"li"),Q(10),J()(),I(11,"div")(12,"p"),Q(13),J()()()()());a&2&&(B(4),E("href",b.url,vf),B(),Yg(b.hotlist.name),B(3),R("ID: ",b.hotlist.hotlistId,""),B(2),
Zg("",b.admins.length===1?"Admin":"Admins",": ",b.admins.join(", "),""),B(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 nU=function(){this.ROUTES=Qq;this.showHovercard=this.removable=!0;this.disabled=!1;this.removeHotlist=new aB};nU.prototype.getAriaLabel=function(a){return"hotlist: "+a.name};nU.\u0275fac=function(a){return new (a||nU)};
nU.\u0275cmp=C({type:nU,selectors:[["b-hotlist-chip"]],inputs:{hotlist:"hotlist",removable:"removable",showHovercard:"showHovercard",disabled:"disabled"},outputs:{removeHotlist:"removeHotlist"},standalone:!1,decls:1,vars:1,consts:[["card","onedevHovercard"],[1,"chip",3,"onedevHovercardTrigger","onedevHovercardActive"],[1,"name"],[1,"keep-focus-ring",3,"href"],["mat-icon-button","","type","button",3,"invisible"],[3,"hotlist"],["mat-icon-button","","type","button",3,"click"],["svgIcon","close"]],template:function(a,
b){a&1&&D(0,K5a,8,11);a&2&&G(b.hotlist?0:-1)},dependencies:[pB,$H,fI,mU,eB,ly],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 oU=function(){var a=this;this.hotlists=r(UD);this.userAccess=r(uE);this.id$=new Tf(1);this.removeHotlist=new aB;this.removable=!0;this.removable$=this.id$.pipe(Yf(function(b){return a.removable!=="check-acl"?Ae(a.removable):vE(a.userAccess,"appender","hotlists/"+b)}));this.hotlist$=this.id$.pipe(Yf(function(b){return a.hotlists.watch(b)}));this.isDisabled$=Ie([this.id$,this.id$.pipe(Yf(this.hotlists.isSaving$))]).pipe(z(function(b){var c=k(b);b=c.next().value;c=c.next().value;return b==null?!1:
c?!0:!1}))};da.Object.defineProperties(oU.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.idInternal=String(a);this.id$.next(String(a))}}});oU.\u0275fac=function(a){return new (a||oU)};
oU.\u0275cmp=C({type:oU,selectors:[["b-hotlist-chip-smart"]],inputs:{id:"id",removable:"removable"},outputs:{removeHotlist:"removeHotlist"},standalone:!1,decls:4,vars:9,consts:[[3,"removeHotlist","hotlist","disabled","removable"]],template:function(a,b){a&1&&(I(0,"b-hotlist-chip",0),S(1,"async"),S(2,"async"),S(3,"async"),M("removeHotlist",function(){b.idInternal==null?nj("Missing id"):b.removeHotlist.emit()}),J());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:[nU,ew],encapsulation:2,changeDetection:0});var VPc=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],WPc=new zd("MAT_CARD_CONFIG"),XPc=function(){var a;this.appearance=((a=r(WPc,{optional:!0}))==null?void 0:a.appearance)||"raised"};XPc.\u0275fac=function(a){return new (a||XPc)};
XPc.\u0275cmp=C({type:XPc,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(a,b){a&2&&sg("mat-mdc-card-outlined",b.appearance==="outlined")("mdc-card--outlined",b.appearance==="outlined")},inputs:{appearance:"appearance"},exportAs:["matCard"],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, var(--mat-sys-surface));border-color:var(--mdc-elevated-card-container-color, var(--mat-sys-surface));border-radius:var(--mdc-elevated-card-container-shape, var(--mat-sys-corner-medium));box-shadow:var(--mdc-elevated-card-container-elevation, var(--mat-sys-level1))}.mat-mdc-card::after{position:absolute;top:0;left:0;width:100%;height:100%;border:solid 1px rgba(0,0,0,0);content:"";display:block;pointer-events:none;box-sizing:border-box;border-radius:var(--mdc-elevated-card-container-shape, var(--mat-sys-corner-medium))}.mat-mdc-card-outlined{background-color:var(--mdc-outlined-card-container-color, var(--mat-sys-surface));border-radius:var(--mdc-outlined-card-container-shape, var(--mat-sys-corner-medium));border-width:var(--mdc-outlined-card-outline-width, 1px);border-color:var(--mdc-outlined-card-outline-color, var(--mat-sys-outline-variant));box-shadow:var(--mdc-outlined-card-container-elevation, var(--mat-sys-level0))}.mat-mdc-card-outlined::after{border:none}.mdc-card__media{position:relative;box-sizing:border-box;background-repeat:no-repeat;background-position:center;background-size:cover}.mdc-card__media::before{display:block;content:""}.mdc-card__media:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__media:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mat-mdc-card-actions{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;min-height:52px;padding:8px}.mat-mdc-card-title{font-family:var(--mat-card-title-text-font, var(--mat-sys-title-large-font));line-height:var(--mat-card-title-text-line-height, var(--mat-sys-title-large-line-height));font-size:var(--mat-card-title-text-size, var(--mat-sys-title-large-size));letter-spacing:var(--mat-card-title-text-tracking, var(--mat-sys-title-large-tracking));font-weight:var(--mat-card-title-text-weight, var(--mat-sys-title-large-weight))}.mat-mdc-card-subtitle{color:var(--mat-card-subtitle-text-color, var(--mat-sys-on-surface));font-family:var(--mat-card-subtitle-text-font, var(--mat-sys-title-medium-font));line-height:var(--mat-card-subtitle-text-line-height, var(--mat-sys-title-medium-line-height));font-size:var(--mat-card-subtitle-text-size, var(--mat-sys-title-medium-size));letter-spacing:var(--mat-card-subtitle-text-tracking, var(--mat-sys-title-medium-tracking));font-weight:var(--mat-card-subtitle-text-weight, var(--mat-sys-title-medium-weight))}.mat-mdc-card-title,.mat-mdc-card-subtitle{display:block;margin:0}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle{padding:16px 16px 0}.mat-mdc-card-header{display:flex;padding:16px 16px 0}.mat-mdc-card-content{display:block;padding:0 16px}.mat-mdc-card-content:first-child{padding-top:16px}.mat-mdc-card-content:last-child{padding-bottom:16px}.mat-mdc-card-title-group{display:flex;justify-content:space-between;width:100%}.mat-mdc-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;margin-bottom:16px;object-fit:cover}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title{line-height:normal}.mat-mdc-card-sm-image{width:80px;height:80px}.mat-mdc-card-md-image{width:112px;height:112px}.mat-mdc-card-lg-image{width:152px;height:152px}.mat-mdc-card-xl-image{width:240px;height:240px}.mat-mdc-card-subtitle~.mat-mdc-card-title,.mat-mdc-card-title~.mat-mdc-card-subtitle,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-title-group .mat-mdc-card-title,.mat-mdc-card-title-group .mat-mdc-card-subtitle{padding-top:0}.mat-mdc-card-content>:last-child:not(.mat-mdc-card-footer){margin-bottom:0}.mat-mdc-card-actions-align-end{justify-content:flex-end}\n'],
encapsulation:2,changeDetection:0});var pU=function(){};pU.\u0275fac=function(a){return new (a||pU)};pU.\u0275dir=Df({type:pU,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]});var YPc=function(){this.align="start"};YPc.\u0275fac=function(a){return new (a||YPc)};
YPc.\u0275dir=Df({type:YPc,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-mdc-card-actions","mdc-card__actions"],hostVars:2,hostBindings:function(a,b){a&2&&sg("mat-mdc-card-actions-align-end",b.align==="end")},inputs:{align:"align"},exportAs:["matCardActions"]});var qU=function(){};qU.\u0275fac=function(a){return new (a||qU)};
qU.\u0275cmp=C({type:qU,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],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(VPc),Jg(0),I(1,"div",0),Jg(2,1),J(),Jg(3,2))},encapsulation:2,changeDetection:0});var rU=function(){Z.apply(this,arguments);this.issueFullFridge=r(QF);this.recommendationsApi=r(WE);this.hotlistRecommendationFridge=r(XE);this.analytics=r(OF);this.admins=[]};Y(rU,Z);rU.\u0275dir=Z.\u0275dir;rU.prototype.ngOnInit=function(){this.url="hotlists/"+this.hotlist.hotlistId;this.admins=Qj(this.hotlist.adminUsers)};
var ZPc=function(a){return se(function(b){if(b.nextAddress==1){if(a.issueId==null)return b.return();a.analytics.trackEvent("hotlistRecommendation","accept","IDP");return y(b,a.issueFullFridge.updateHotlists(a.issueId,[a.hotlist.hotlistId.toString()],[]),2)}return y(b,a.recommendationsApi.createUserEngagements([{parent:a.recommendationId,userEngagement:{type:"ACCEPTED"}}]),0)})};
rU.prototype.dismiss=function(){var a=this;return se(function(b){if(b.nextAddress==1){if(a.issueId==null)return b.return();a.analytics.trackEvent("hotlistRecommendation","dismiss","IDP");return y(b,a.recommendationsApi.createUserEngagements([{parent:a.recommendationId,userEngagement:{type:"REJECTED"}}]),2)}return y(b,a.hotlistRecommendationFridge.poke(a.issueId),0)})};rU.\u0275fac=function(){var a;return function(b){return(a||(a=ee(rU)))(b||rU)}}();
rU.\u0275cmp=C({type:rU,selectors:[["b-hotlist-recommendation-card"]],inputs:{hotlist:"hotlist",recommendationId:"recommendationId",issueId:"issueId"},standalone:!1,features:[cg],decls:16,vars:3,consts:[[1,"onedev-hovercard-content"],[1,"onedev-hovercard-body","hotlist-recommendation-card"],[1,"title"],[1,"name"],["target","_blank",3,"href"],[1,"description"],[1,"actions"],["type","button","mat-button","","color","primary",1,"medium","accept-button",3,"click"],["type","button","mat-button","","color",
"basic",1,"medium","dismiss-button",3,"click"]],template:function(a,b){a&1&&(I(0,"div",0)(1,"div",1)(2,"mat-card-header",2),Q(3," Suggested hotlist"),J(),I(4,"mat-card-content")(5,"h3",3)(6,"a",4),Q(7),J()(),I(8,"div",5)(9,"p"),Q(10),J()()(),I(11,"mat-card-actions",6)(12,"button",7),M("click",function(){return ZPc(b)}),Q(13,"Accept"),J(),I(14,"button",8),M("click",function(){return b.dismiss()}),Q(15,"Dismiss"),J()()()());a&2&&(B(6),E("href",b.url,vf),B(),Yg(b.hotlist.name),B(3),Yg(b.hotlist.description))},
dependencies:[eB,jy,YPc,pU,qU],styles:['.onedev-hovercard-content[_ngcontent-%COMP%]{width:auto}.hotlist-recommendation-card[_ngcontent-%COMP%]{display:flex;width:200px;flex-direction:column;align-items:flex-start;border-radius:8px}.hotlist-recommendation-card[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-family:"Google Sans",Roboto,Arial,sans-serif;font-weight:500;font-size:.875rem;line-height:1.25rem;letter-spacing:.8px;text-transform:uppercase}.hotlist-recommendation-card[_ngcontent-%COMP%]   mat-card-content[_ngcontent-%COMP%]{width:190px}.hotlist-recommendation-card[_ngcontent-%COMP%]   .name[_ngcontent-%COMP%]{margin:5px 0;font-family:"Google Sans",Roboto,Arial,sans-serif;font-weight:500;font-size:1rem;line-height:1.5rem}.hotlist-recommendation-card[_ngcontent-%COMP%]   .description[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted);font-family:Roboto,Arial,sans-serif;font-size:.75rem;font-weight:400;letter-spacing:.025em;line-height:1rem;max-height:40px;overflow:hidden scroll}.hotlist-recommendation-card[_ngcontent-%COMP%]   .actions[_ngcontent-%COMP%]{display:flex;align-items:center;margin:10px 0 0;justify-content:space-evenly;width:inherit}']});var sU=function(){this.issueFullFridge=r(QF);this.recommendationsApi=r(WE);this.ROUTES=Qq;this.showHovercard=!0;this.hovercardConfig={showDelay:250,hideDelay:250,position:[nqc],triggerKey:[]}};sU.prototype.getAriaLabel=function(a){return"suggested hotlist: "+a.name};
sU.prototype.addHotlist=function(a){var b=this;return se(function(c){return c.nextAddress==1?b.issueId==null?c.return():y(c,b.issueFullFridge.updateHotlists(b.issueId,[a.toString()],[]),2):y(c,b.recommendationsApi.createUserEngagements([{parent:b.recommendationId,userEngagement:{type:"ACCEPTED"}}]),0)})};sU.\u0275fac=function(a){return new (a||sU)};
sU.\u0275cmp=C({type:sU,selectors:[["b-hotlist-recommendation-chip"]],inputs:{hotlist:"hotlist",recommendationId:"recommendationId",issueId:"issueId",showHovercard:"showHovercard"},standalone:!1,decls:1,vars:1,consts:[["card","onedevHovercard"],[1,"chip",3,"onedevHovercardTrigger","onedevHovercardActive","onedevHovercardConfig"],["type","button","mat-icon-button","",1,"add-button","vertical-centered",3,"click"],["svgIcon","add"],["svgIcon","issue-status-new",1,"vertical-centered"],[1,"name"],[1,"keep-focus-ring",
3,"href"],[3,"hotlist","recommendationId","issueId"]],template:function(a,b){a&1&&D(0,L5a,11,12);a&2&&G(b.hotlist?0:-1)},dependencies:[pB,eB,ly,$H,fI,rU],styles:["[_nghost-%COMP%]{margin-right:8px;display:inline-block;vertical-align:middle;white-space:nowrap}[_nghost-%COMP%]     mat-icon svg{width:50%}.chip[_ngcontent-%COMP%]{background-color:rgba(0,0,0,0);display:inline-flex;align-items:center;height:18px;font-size:.75rem;font-weight:normal;border-style:dashed;border-width:.5px;border-color:var(--border-color);border-radius:100px}.chip[_ngcontent-%COMP%]   .mat-mdc-icon-button[_ngcontent-%COMP%]{height:25px;width:25px;line-height:25px;--mdc-icon-button-icon-size: 24px}.chip[_ngcontent-%COMP%]   .name[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:inherit;text-decoration:none}"]});var $Pc=[[["","before",""]]],P5a=function(a,b){return b.name},S5a=function(a){return{"icon-only":a}},tU=function(){var a=this;this.activeSession=r(Bu);this.issueFullFridge=r(QF);this.issueInteractionsTracking=r(dJ);this.errorHandler=r(CI);this.eventsForIssueFridge=r(NE);this.liveAnnouncer=r(Pw);this.hotlistPickerService=r(OS);this.hotlistRecommendationFridge=r(XE);this.analytics=r(OF);this.isInternalSession=this.activeSession.isInternalSession();this.HOTKEYS=Fp;this.issueId$=new Tf(1);this.issue$=
this.issueId$.pipe(Yf(function(b){return a.issueFullFridge.watch(b)}));this.hotlistIds$=this.issue$.pipe($f(function(b){a.isInternalSession&&a.hotlistRecommendationFridge.poke(b==null?void 0:b.issueId)}),z(function(b){var c;return(c=b==null?void 0:b.snapshot[0].hotlistId)!=null?c:[]}));this.recommendations$=this.issueId$.pipe(Yf(function(b){return a.hotlistRecommendationFridge.watch(b)}),z(function(b){return((b==null?void 0:b.recommendations)||[]).filter(function(c){return c.confidence==="VERY_HIGH"}).filter(ik).slice(0,
2)}),$f(function(b){b.length>0&&a.analytics.trackEvent("hotlistRecommendation","display","IDP")}));this.textOfHotlistBtn$=this.hotlistIds$.pipe(z(function(b){return b.length}),z(function(b){return b<=5?"Add Hotlist":""}))};tU.prototype.ngOnInit=function(){};tU.prototype.openHotlistModal=function(){var a=this;return se(function(b){return y(b,wMc(a.hotlistPickerService,a.issue$),0)})};
var M5a=function(a,b){var c,d;return se(function(e){switch(e.nextAddress){case 1:return y(e,Fe(a.issueId$),2);case 2:return c=e.yieldResult,lq(a.issueInteractionsTracking,c,{label:"remove-hotlists",value:1}),te(e,3,4),y(e,a.issueFullFridge.removeHotlists(c,[String(b)]),6);case 6:return y(e,a.liveAnnouncer.announce("Hotlist removed successfully"),4);case 4:ue(e);a.eventsForIssueFridge.poke(c);ve(e,0);break;case 3:d=we(e),EI(a.errorHandler,d),e.jumpTo(4)}})};
da.Object.defineProperties(tU.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)}}});tU.\u0275fac=function(a){return new (a||tU)};
tU.\u0275cmp=C({type:tU,selectors:[["b-issue-hotlists"]],inputs:{issueId:"issueId"},standalone:!1,ngContentSelectors:["[before]"],decls:2,vars:3,consts:[[1,"hotlist-container","chip-container"],["type","button","mat-stroked-button","","aria-label","Add Hotlist","matTooltip","Add Hotlist",1,"small","add-hotlists-btn",3,"onHotkey","click","hotkey","ngClass"],["svgIcon","add",1,"icon-xs"],["removable","check-acl",3,"id"],["removable","check-acl",3,"removeHotlist","id"],[3,"hotlist","recommendationId",
"issueId"]],template:function(a,b){a&1&&(Ig($Pc),D(0,T5a,11,12,"div",0),S(1,"async"));if(a&2){var c;G((c=U(1,1,b.hotlistIds$))?0:-1,c)}},dependencies:[aw,pB,oU,sU,wH,eB,jy,ew],styles:[".add-hotlists-btn[_ngcontent-%COMP%], button.gmat-mdc-button[_ngcontent-%COMP%]:not(.mat-mdc-icon-button).add-hotlists-btn{font-family:Roboto,Arial,sans-serif;line-height:1.25rem;font-size:.875rem;letter-spacing:.0142857143em;font-weight:400;font-size:.8125rem;line-height:1.3846153846;color:#202124;color:var(--text);background-color:#fff;background-color:var(--surface-default);line-height:22px;height:22px;min-width:22px;padding:0 8px;border-radius:11px}.add-hotlists-btn.icon-only[_ngcontent-%COMP%]{--mat-outlined-button-icon-spacing: 0px;--mat-outlined-button-icon-offset: 0px}.add-hotlists-btn[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#5f6368;color:var(--icon);--mat-outlined-button-icon-spacing: 2px;width:16px;height:16px;line-height:16px}.hotlist-container[_ngcontent-%COMP%]{max-height:72px;overflow-y:auto;padding-bottom:5px;align-items:center;align-self:start;display:flex;flex-wrap:wrap;gap:8px;line-height:22px}[_nghost-%COMP%]     .chip-container b-hotlist-chip, [_nghost-%COMP%]     .chip-container b-hotlist-recommendation-chip, [_nghost-%COMP%]     .chip-container .b-chip{margin-right:0}"]});var aQc=["issueTitleEl"],bQc=["issueTitleInputEl"],uU=function(){this.issuePermissionService=r(gJ);this.issueFullFridge=r(QF);this.bannedWordsChecker=r(yS);this.disabled=!1;this.titleChanged=new aB;this.isEditMode=!1;this.editModeWidth=0;this.isSaving=!1};uU.prototype.ngDoCheck=function(){cQc(this)};var X5a=function(a){a.isEditMode=!a.isEditMode;a.isEditMode?setTimeout(function(){return a.issueTitleInputEl.nativeElement.focus()},0):a.bannedWordsChecker.reset()};
uU.prototype.saveTitle=function(a){var b=this,c;return se(function(d){if(d.nextAddress==1)return a&&b.isModified(a)?y(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();dQc(b,a.trim());b.bannedWordsChecker.reset()}b.isEditMode=!1;cQc(b);xe(d)})};
var dQc=function(a,b){se(function(c){a.isSaving=!0;return y(c,Fe(fmc(a.issueFullFridge,a.issueId,b)).finally(function(){a.isSaving=!1;a.titleChanged.next(b)}),0)})};uU.prototype.isModified=function(a){return a!==this.titlePlain};
var U5a=function(a,b){if(b)b.key==="Enter"?a.saveTitle(b.target.value):b.key==="Escape"||b.key==="Esc"?X5a(a):a.bannedWordsChecker.reset();else{var c;b=(c=a.issueTitleInputEl)==null?void 0:c.nativeElement.value;a.saveTitle(b)}},cQc=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};uU.prototype.onInputBlur=function(){this.bannedWordsChecker.showWarning()||U5a(this)};
da.Object.defineProperties(uU.prototype,{title:{configurable:!0,enumerable:!0,set:function(a){this.titlePlain=a=a!=null?a:void 0;this.titleTruncated=$Ia(a,300);this.isLongTitle=a==null?!1:a.length>=300}}});uU.\u0275fac=function(a){return new (a||uU)};
uU.\u0275cmp=C({type:uU,selectors:[["issue-title"]],viewQuery:function(a,b){a&1&&(Rg(aQc,5),Rg(bQc,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",issueId:"issueId",disabled:"disabled",hasAclToEdit:"hasAclToEdit"},outputs:{titleChanged:"titleChanged"},standalone:!1,features:[ch([yS])],decls:5,vars:3,consts:[["issueTitleInputEl",""],["issueTitleEl",""],[1,"issue-title-container"],["subscriptSizing","dynamic",
3,"width","banned-words-warning"],[1,"heading-m"],["type","button","mat-icon-button","","matTooltip","Edit issue title","aria-label","Edit issue title",1,"small","align-self-center",3,"disabled"],[1,"banned-words-warning","break-word"],["subscriptSizing","dynamic"],["matInput","","aria-label","Enter a new title",1,"heading-m",3,"keyup","blur","value"],["type","button","mat-icon-button","","matTooltip","Edit issue title","aria-label","Edit issue title",1,"small","align-self-center",3,"click","disabled"],
["svgIcon","edit-outline",1,"icon-xxs"],["target","_blank","aria-label","Learn more about banned words","href","http://go/b-trackers#banned-words-for-tracker",1,"color-bad-text","keep-underline"]],template:function(a,b){a&1&&(I(0,"div",2),D(1,V5a,3,5,"mat-form-field",3)(2,W5a,3,2,"h3",4)(3,Y5a,2,1,"button",5),J(),D(4,Z5a,4,1,"p",6));a&2&&(B(),G(b.isEditMode?1:2),B(2),G(b.hasAclToEdit?3:-1),B(),G(b.bannedWordsChecker.showWarning()?4:-1))},dependencies:[pB,eB,ly,mB,rB,kN,lz,aR,sz],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 eQc={FOCUS_SYNC:"FOCUS_SYNC",REMAIN_ACTIVE:"REMAIN_ACTIVE"},fQc={DISABLED:"DISABLED",INTERNAL_SORT:"INTERNAL_SORT",EXTERNAL_SORT:"EXTERNAL_SORT"},gQc={ALL:"ALL",NONE:"NONE"},hQc="active-indicator title type team id assignee status menu".split(" "),iQc="active-indicator drag-handle title type id assignee status menu".split(" "),jQc="priority title assignee status id modifiedTime".split(" "),kQc="priority title assignee progress id modifiedTime".split(" "),lQc="active-indicator drag-handle title assignee status id menu".split(" "),
mQc={modes:{assignee:"avatar-if-open",modifiedTime:"relativepast"},rowLimit:15},nQc={modes:{assignee:"avatar-if-open"},hideColumnHeaders:!0};var vU=function(){this.JOINING_ARROW="\u2192";this.showIcon=!0};da.Object.defineProperties(vU.prototype,{issue:{configurable:!0,enumerable:!0,set:function(a){if(a!=null){var b=Mxa(1049928)(a);this.startDate=hxa(b==null?void 0:b.dateValue);a=Mxa(1049953)(a);this.endDate=hxa(a==null?void 0:a.dateValue);this.startDateShortStr=ixa(this.startDate);this.endDateShortStr=ixa(this.endDate)}}}});vU.\u0275fac=function(a){return new (a||vU)};
vU.\u0275cmp=C({type:vU,selectors:[["issue-timeframe"]],inputs:{issue:"issue",showIcon:"showIcon"},standalone:!1,decls:1,vars:1,consts:[[1,"flex-kids-x","align-items-center"],["svgIcon","calendar_month_24px","title","Start date and/or end date for this project",1,"icon-m","margin-xs-right"],[1,"margin-xs-right","date",3,"title"],[1,"date",3,"title"],[1,"muted"]],template:function(a,b){a&1&&D(0,d6a,5,3,"div",0);a&2&&G(b.startDate||b.endDate?0:-1)},dependencies:[pB,hw],styles:["[_nghost-%COMP%] {\n      white-space: nowrap;\n    }\n    .date[_ngcontent-%COMP%] {\n      display: inline-block;\n    }"],
changeDetection:0});var wU=function(){this.makePie=f6a;this.total=this.closed=0;this.useXofYLabel=!1};da.Object.defineProperties(wU.prototype,{issue:{configurable:!0,enumerable:!0,set:function(a){a!=null&&(this.total=a.descendantCount,this.closed=this.total-a.openDescendantCount)}}});wU.\u0275fac=function(a){return new (a||wU)};
wU.\u0275cmp=C({type:wU,selectors:[["progress-pie"]],inputs:{issue:"issue",closed:"closed",total:"total"},standalone:!1,decls:1,vars:1,consts:[[1,"flex-kids-x","align-items-center",3,"title"],[1,"flex-kids-x","align-items-center",3,"click","title"],[1,"pie","margin-s-right"]],template:function(a,b){a&1&&D(0,m6a,7,14,"div",0);a&2&&G(b.total>0?0:-1)},dependencies:[kw],encapsulation:2,changeDetection:0});var oQc=Dl().user.email,Rr={ASSIGNED_TO_ME_AND_OPEN:{key:"ASSIGNED_TO_ME_AND_OPEN",displayAs:"Assigned to me",check:function(a){var b,c=(b=a.snapshot[0].assigneeUser)==null?void 0:b.emailAddress;return c?c===oQc&&Sl(a):!1},queryFragment:"assignee:me status:open",tooltip:"Open issues with me as the assignee"},ASSIGNED_TO_ME:{key:"ASSIGNED_TO_ME",displayAs:"Assigned to me",check:function(a){var b;return(a=(b=a.snapshot[0].assigneeUser)==null?void 0:b.emailAddress)?a===oQc:!1},queryFragment:"assignee:me",
tooltip:"Issues with me as the assignee"},OPEN:{key:"OPEN",displayAs:"Open",check:function(a){return Sl(a)},queryFragment:"status:open",tooltip:'Issues that match "status:open"'},FIXED:{key:"FIXED",displayAs:"Fixed",check:uxa,queryFragment:"status:fixed"},BROAD_IN_PROGRESS:{key:"BROAD_IN_PROGRESS",displayAs:"Assigned",check:function(a){return txa(a,"ASSIGNED")||txa(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)&&Sl(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&&Sl(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(Fxa(a))&&Sl(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 Qxa(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 xU=function(){this.changes=new Uf};xU.\u0275fac=function(a){return new (a||xU)};xU.\u0275prov=n({token:xU,factory:xU.\u0275fac,providedIn:"root"});var pQc={provide:xU,deps:[[new tv,new uv,xU]],useFactory:function(a){return a||new xU}};var qQc=new zd("MAT_SORT_DEFAULT_OPTIONS"),yU=function(a){this._defaultOptions=a;this._initializedStream=new Tf(1);this.sortables=new Map;this._stateChanges=new Uf;this.start="asc";this._direction="";this.disabled=!1;this.sortChange=new Dv;this.initialized=this._initializedStream};g=yU.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(yU.prototype,{direction:{configurable:!0,enumerable:!0,get:function(){return this._direction},set:function(a){this._direction=a}}});yU.\u0275fac=function(a){return new (a||yU)(hf(qQc,8))};
yU.\u0275dir=Df({type:yU,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{active:[0,"matSortActive","active"],start:[0,"matSortStart","start"],direction:[0,"matSortDirection","direction"],disableClear:[2,"matSortDisableClear","disableClear",uh],disabled:[2,"matSortDisabled","disabled",uh]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[dg,rv]});var zU=function(){this._intl=r(xU);this._sort=r(yU,{optional:!0});this._columnDef=r("MAT_SORT_HEADER_COLUMN_DEF",{optional:!0});this._changeDetectorRef=r(Ov);this._focusMonitor=r(ww);this._elementRef=r(ef);this._ariaDescriber=r(Rw,{optional:!0});this._animationModule=r(Gv,{optional:!0});this._recentlyCleared=Xg(null);this.arrowPosition="after";this.disabled=!1;this._sortActionDescription="Sort";r(Aw).load(Ux);var a=r(qQc,{optional:!0});if(a==null?0:a.arrowPosition)this.arrowPosition=a==null?void 0:
a.arrowPosition};g=zU.prototype;g.ngOnInit=function(){var a=this;!this.id&&this._columnDef&&(this.id=this._columnDef.name);this._sort.register(this);this._renderChanges=Te(this._sort._stateChanges,this._sort.sortChange).subscribe(function(){return a._changeDetectorRef.markForCheck()});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(){return a._recentlyCleared.set(null)})};g.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef);this._sort.deregister(this);var a;(a=this._renderChanges)==null||a.unsubscribe();if(this._sortButton){var b;(b=this._ariaDescriber)==null||Sw(b,this._sortButton,this._sortActionDescription)}};
g._toggleOnInteraction=function(){if(!this._isDisabled()){var a=this._isSorted(),b=this._sort.direction;this._sort.sort(this);this._recentlyCleared.set(a&&!this._isSorted()?b:null)}};g._handleKeydown=function(a){if(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._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||Sw(b,this._sortButton,this._sortActionDescription);var c;(c=this._ariaDescriber)==null||h8b(c,this._sortButton,a)}this._sortActionDescription=a};
da.Object.defineProperties(zU.prototype,{sortActionDescription:{configurable:!0,enumerable:!0,get:function(){return this._sortActionDescription},set:function(a){this._updateSortActionDescription(a)}}});zU.\u0275fac=function(a){return new (a||zU)};
zU.\u0275cmp=C({type:zU,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(a,b){a&1&&M("click",function(){return b._toggleOnInteraction()})("keydown",function(c){return b._handleKeydown(c)})("mouseleave",function(){return b._recentlyCleared.set(!1)});a&2&&(jg("aria-sort",b._getAriaSortAttribute()),sg("mat-sort-header-disabled",b._isDisabled()))},inputs:{id:[0,"mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",disabled:[2,"disabled",
"disabled",uh],sortActionDescription:"sortActionDescription",disableClear:[2,"disableClear","disableClear",uh]},exportAs:["matSortHeader"],features:[dg],attrs:["mat-sort-header",""],ngContentSelectors:["*"],decls:4,vars:17,consts:[[1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],[1,"mat-sort-header-arrow"],"viewBox;0 -960 960 960;focusable;false;aria-hidden;true".split(";"),["d","M440-240v-368L296-464l-56-56 240-240 240 240-56 56-144-144v368h-80Z"]],template:function(a,
b){a&1&&(Ig(),I(0,"div",0)(1,"div",1),Jg(2),J(),D(3,p6a,3,0,"div",2),J());a&2&&(sg("mat-sort-header-sorted",b._isSorted())("mat-sort-header-position-before",b.arrowPosition==="before")("mat-sort-header-descending",b._sort.direction==="desc")("mat-sort-header-ascending",b._sort.direction==="asc")("mat-sort-header-recently-cleared-ascending",b._recentlyCleared()==="asc")("mat-sort-header-recently-cleared-descending",b._recentlyCleared()==="desc")("mat-sort-header-animations-disabled",b._animationModule===
"NoopAnimations"),jg("tabindex",b._isDisabled()?null:0)("role",b._isDisabled()?null:"button"),B(3),G(b._renderArrow()?3:-1))},styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-container::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-sort-header-content{display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}@keyframes _mat-sort-header-recently-cleared-ascending{from{transform:translateY(0);opacity:1}to{transform:translateY(-25%);opacity:0}}@keyframes _mat-sort-header-recently-cleared-descending{from{transform:translateY(0) rotate(180deg);opacity:1}to{transform:translateY(25%) rotate(180deg);opacity:0}}.mat-sort-header-arrow{height:12px;width:12px;position:relative;transition:transform 225ms cubic-bezier(0.4, 0, 0.2, 1),opacity 225ms cubic-bezier(0.4, 0, 0.2, 1);opacity:0;overflow:visible;color:var(--mat-sort-arrow-color, var(--mat-sys-on-surface))}.mat-sort-header.cdk-keyboard-focused .mat-sort-header-arrow,.mat-sort-header.cdk-program-focused .mat-sort-header-arrow,.mat-sort-header:hover .mat-sort-header-arrow{opacity:.54}.mat-sort-header .mat-sort-header-sorted .mat-sort-header-arrow{opacity:1}.mat-sort-header-descending .mat-sort-header-arrow{transform:rotate(180deg)}.mat-sort-header-recently-cleared-ascending .mat-sort-header-arrow{transform:translateY(-25%)}.mat-sort-header-recently-cleared-ascending .mat-sort-header-arrow{transition:none;animation:_mat-sort-header-recently-cleared-ascending 225ms cubic-bezier(0.4, 0, 0.2, 1) forwards}.mat-sort-header-recently-cleared-descending .mat-sort-header-arrow{transition:none;animation:_mat-sort-header-recently-cleared-descending 225ms cubic-bezier(0.4, 0, 0.2, 1) forwards}.mat-sort-header-animations-disabled .mat-sort-header-arrow{transition-duration:0ms;animation-duration:0ms}.mat-sort-header-arrow svg{width:24px;height:24px;fill:currentColor;position:absolute;top:50%;left:50%;margin:-12px 0 0 -12px;transform:translateZ(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}\n"],
encapsulation:2,changeDetection:0});var rQc={menu:{includeGoToIssueItem:!0},sortMode:"INTERNAL_SORT",activeRowMode:"FOCUS_SYNC"},AU=function(){Z.apply(this,arguments);var a=this;this.issueFridge=r(hF);this.router=r(TA);this.domSafe=r(NH);this.llmService=r(YP);this.isOpen=function(b){return Sl(b)};this.isSingleIssue=function(b,c){return c.issueIds.length===1};this.isMultiIssue=function(b,c){return c.issueIds.length>1};this.isClosed=sxa;this.isUnread=vxa;this.getAssigneeString=function(b){var c,d;b=Sj(b==null?void 0:(c=b.snapshot)==null?
void 0:(d=c[0])==null?void 0:d.assigneeUser);return Aj(b)?b:void 0};this.getPriority=c8a;this.getModifiedTimeMicros=d8a;this.userToString=Sj;this.toMatSortDirection=iva;this.idsToString=b8a;this.ClickTargetsForNavigation=gQc;this.SortMode=fQc;this.ActiveRowMode=eQc;this.selection=new ox(!0,[]);this.issueIds$=new Xi([]);this.menuItemFactory=function(){return[]};this.showReadStatus=!1;this.alerts=[];this.enrichmentCategoriesFunction=function(){return[]};this.optionsInternal=rQc;this.activeIssueChange=
new aB;this.rowClick=new aB;this.sortChange=new aB;this.selectedIssuesChange=new aB;this.issueNavigated=new aB;this.rowLimit$=new Xi(this.options.rowLimit);this.DEFAULT_DATETIME_MODE="datetime";this.DEFAULT_MENU_OPTIONS={buttonIcon:"more-settings-vertical",buttonLabel:"More options"};this.internalFilters=new IC;this.goToIssueItemFactory=function(b){return{type:"action",label:"Go to issue",action:function(c){a.navigateToIssue(c,b)},title:"Go to issue",icon:"arrow-forward"}};this.tableColumns=[].concat(t(hQc));
this.activeSort$=new Xi(void 0);this.allRows$=this.issueIds$.pipe(up(),z(function(b){return b.map(function(c){return{issueIds:c,issue$:c.length===1?Te(a.issueFridge.watch(c[0]),a.issueFridge.watchOneError(c[0]).pipe(z(function(){}))):Ae(void 0),summaryTitle$:Ne(function(){return YFc(a.llmService,c)})}})}),Vf({refCount:!0,bufferSize:1}));this.allIssuesAreLoaded$=this.allRows$.pipe(Yf(function(b){return Ie(b.map(function(c){return c.issue$.pipe(Xf(null))}))}),z(function(b){return b.every(function(c){return c!==
null})}));this.unarchivedRows$=this.allRows$.pipe(Jf(this.allIssuesAreLoaded$),z(function(b){var c=k(b);b=c.next().value;return c.next().value?b.filter(function(d){var e;return!((e=Ul(d))==null?0:e.isArchived)}):b}));this.unarchivedRows$.pipe(z(function(b){return b.length}));this.sortRows=ne(Jf(this.activeSort$,this.allIssuesAreLoaded$),z(function(b){var c=k(b);b=c.next().value;var d=c.next().value;return c.next().value&&a.options.sortMode==="INTERNAL_SORT"?e8a(b,d):b}));this.filterRows=ne(Jf(this.internalFilters.value$),
Yf(function(b){b=k(b);var c=b.next().value;var d=b.next().value;return d.size===0?Ae(c):Ie(c.map(function(e){return e.issue$})).pipe(z(function(e){return c.filter(function(f,h){return e[h]?n6a(d,h,e):!0})}))}));this.limitRows=ne(Jf(this.rowLimit$),z(function(b){var c=k(b);b=c.next().value;return(c=c.next().value)?b.slice(0,c):b}));this.filteredRows$=this.unarchivedRows$.pipe(this.filterRows);this.trendingChipsById$=this.unarchivedRows$.pipe(Jf(this.allIssuesAreLoaded$.pipe(Pf())),z(function(b){b=
k(b);var c=b.next().value;if(b.next().value){b=c.map(Ul).map(function(h){return h==null?void 0:h.userActivityStats});b={views24h:b.map(function(h){var l;return(l=h==null?void 0:h.oneDayViewCount)!=null?l:0}),views7d:b.map(function(h){var l;return(l=h==null?void 0:h.sevenDayViewCount)!=null?l:0}),views30d:b.map(function(h){var l;return(l=h==null?void 0:h.thirtyDayViewCount)!=null?l:0})};var d={};c=k(c.entries());for(var e=c.next();!e.done;e=c.next()){var f=k(e.value);e=f.next().value;f=f.next().value.issueIds;
(e=f8a(b,e))&&(d[f[0]]=e)}return d}}));this.rows$=this.filteredRows$.pipe(this.limitRows,this.sortRows);this.rowCountAfterFilters$=this.unarchivedRows$.pipe(this.filterRows,z(function(b){return b.length}));this.hiddenRowCount$=Ie([this.unarchivedRows$,this.rows$]).pipe(z(function(b){var c=k(b);b=c.next().value;c=c.next().value;return b.length-c.length}),Pf());this.trackBy=function(b,c){return b8a(c.issueIds)};this.correctedDisplayedRows=new Qg;this.correctedRows$=Ne(function(){return Ie([a.rows$,
a.displayedRows.changes.pipe(Xf(void 0))])}).pipe(Lf(0),z(function(b){b=k(b).next().value;var c=new Map(a.displayedRows.map(function(d){return[b8a(d.row.issueIds),d]}));return b.map(function(d){return c.get(b8a(d.issueIds))}).filter(ik)}))};Y(AU,Z);AU.\u0275dir=Z.\u0275dir;AU.prototype.getMenuItems=function(a){var b=[],c;((c=this.options.menu)==null?0:c.includeGoToIssueItem)&&b.push(this.goToIssueItemFactory(a));b.push.apply(b,t(this.menuItemFactory(a)));return b};
AU.prototype.ngOnInit=function(){this.initialSort&&this.activeSort$.next(this.initialSort)};
AU.prototype.ngAfterViewInit=function(){var a=this;this.correctedRows$.pipe(Zf(this.destroyed$)).subscribe(function(b){a.correctedDisplayedRows.reset(b);Ug(a.correctedDisplayedRows);var c;((c=a.focusManager)==null?0:c.activeItem)&&bx(a.focusManager,a.focusManager.activeItem)});this.focusManager=ax(new pyc(this.correctedDisplayedRows,a8a));this.focusManager.change.pipe(Zf(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.issueIds;e&&a.activeIssueChange.emit(e)})};var P7a=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.issueIds);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.issueIds[0]);break;case "NONE":break;default:Db(d)}};
AU.prototype.navigateToIssue=function(a,b){if(b&&!a.defaultPrevented&&!(a.type==="mouseup"&&a instanceof MouseEvent&&a.button!==1)&&(this.issueNavigated.emit(b),a.target.tagName!=="A")){b=this.getIssueUrl(b);var c;((c=this.options.navigationOptions)==null?0:c.alwaysOpenNewTab)||yn(a)?this.domSafe.openInNewTab(b):a&&a.shiftKey?Ip(this.domSafe,b):Jt(this.router,b)}};AU.prototype.onRowKeydown=function(a,b){var c;(c=this.focusManager)==null||c.onKeydown(b)};
AU.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)};AU.prototype.toggleAllRows=function(a){if(v6a(this,a))this.selection.clear();else{a=k(a);for(var b=a.next();!b.done;b=a.next())b=b.value,this.isSingleIssue(0,b)&&this.selection.select(b.issueIds[0])}this.selectedIssuesChange.emit(this.selection)};
var S7a=function(a){return a.tableColumns.map(function(b){return b==="title"?"multi-issue-title":b==="priority"?"multi-issue-icon":b==="selection"?"multi-issue-selection":b})},v6a=function(a,b){b=b.filter(function(c){return a.isSingleIssue(0,c)}).length;return a.selection.selected.length===b};AU.prototype.getIssueUrl=function(a){return this.issueUrlFactory?this.issueUrlFactory(a):Qq.viewIssue.makeHref(a)};
da.Object.defineProperties(AU.prototype,{issueIds:{configurable:!0,enumerable:!0,set:function(a){this.issueIds$.next(a.map(function(b){return Array.isArray(b)?b:[b]}))}},options:{configurable:!0,enumerable:!0,set:function(a){this.optionsInternal=Object.assign({},rQc,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:[])}}});
AU.\u0275fac=function(){var a;return function(b){return(a||(a=ee(AU)))(b||AU)}}();
AU.\u0275cmp=C({type:AU,selectors:[["b-issues-table"]],viewQuery:function(a,b){a&1&&Rg(uL,5);if(a&2){var c;Vg(c=Wg())&&(b.displayedRows=c)}},inputs:{issueIds:"issueIds",menuItemFactory:"menuItemFactory",initialSort:"initialSort",teamId:"teamId",showReadStatus:"showReadStatus",alerts:"alerts",enrichmentCategoriesFunction:"enrichmentCategoriesFunction",options:"options",issueUrlFactory:"issueUrlFactory",filters:"filters",tableColumns:"tableColumns"},outputs:{activeIssueChange:"activeIssueChange",rowClick:"rowClick",
sortChange:"sortChange",selectedIssuesChange:"selectedIssuesChange",issueNavigated:"issueNavigated"},standalone:!1,features:[cg],decls:3,vars:4,consts:[["directive","tableRowDirective"],["mat-table","","matSort","",1,"full-width",3,"dataSource","trackBy","hide-header","matSortDisabled","matSortActive","matSortDirection"],[1,"muted","margin-s-top","flex-kids-x","align-items-center"],["mat-table","","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","selection"],["matColumnDef","multi-issue-selection"],["matColumnDef","title"],["matColumnDef","multi-issue-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","multi-issue-icon"],["mat-header-cell","","title","",4,"matHeaderCellDef"],["matColumnDef","status"],["mat-header-cell","","mat-sort-header","status",4,"matHeaderCellDef"],["matColumnDef","team"],["matColumnDef","dupeCount"],["matColumnDef","voteCount"],
["matColumnDef","7dViews"],["matColumnDef","createdTime"],["mat-header-cell","","mat-sort-header","createdTime","start","desc",4,"matHeaderCellDef"],["matColumnDef","modifiedTime"],["mat-header-cell","","mat-sort-header","modifiedTime","start","desc",4,"matHeaderCellDef"],["matColumnDef","relativeModifiedTime"],["mat-header-cell","","mat-sort-header","relativeModifiedTime","start","desc","class","nowrap",4,"matHeaderCellDef"],["mat-cell","","class","nowrap",4,"matCellDef"],["matColumnDef","triager"],
["mat-header-cell","","class","nowrap",4,"matHeaderCellDef"],["matColumnDef","alerts"],["matColumnDef","timeframe"],["mat-header-cell","","mat-sort-header","timeframe","title","Timeframe is populated by the 'Start Date' and 'End Date' fields",4,"matHeaderCellDef"],["matColumnDef","progress"],["mat-header-cell","","mat-sort-header","progress","start","desc",4,"matHeaderCellDef"],["matColumnDef","menu"],["matColumnDef","componentName"],["matColumnDef","enrichmentCategories"],["mat-header-row","",4,
"matHeaderRowDef"],["mat-row","","selectionPreventsClick","","class","clickable",3,"row","closed","active","click","mouseup","focusin","keydown",4,"matRowDef","matRowDefColumns","matRowDefWhen"],["mat-row","","selectionPreventsClick","","class","clickable",3,"row","active","click","mouseup","focusin","keydown",4,"matRowDef","matRowDefColumns","matRowDefWhen"],["mat-header-cell",""],["tabindex","-1","mat-cell",""],["mat-cell",""],[3,"id"],["aria-label","Select all issues",3,"change","checked","indeterminate"],
[3,"click","change","checked"],[3,"issue","issueUrlFactory","enableHovercard","useButtonToNavigate","trailingChip","anchorTarget"],["mat-header-cell","","mat-sort-header","type"],[3,"issue"],["mat-header-cell","","mat-sort-header","assignee"],["size","medium",3,"email"],["mat-header-cell","","mat-sort-header","reporter"],"mat-header-cell  mat-sort-header priority title Priority".split(" "),[3,"issuePriority"],["mat-header-cell","","title",""],["matTooltip","Trending theme identified by AI","svgIcon",
"auto_tab_group_24px",1,"icon-s","display-block"],["mat-header-cell","","mat-sort-header","status"],[3,"title"],"mat-header-cell  mat-sort-header createdTime start desc".split(" "),[3,"issue","mode"],"mat-header-cell  mat-sort-header modifiedTime start desc".split(" "),[3,"timestamp","mode","paddingLeftPx"],["mat-header-cell","","mat-sort-header","relativeModifiedTime","start","desc",1,"nowrap"],["mat-cell","",1,"nowrap"],["mat-header-cell","",1,"nowrap"],"chipColor;purple;displayText;Trending themes;icon;issue-status-new;tooltip;Trending theme identified by AI".split(";"),
[3,"alerts","issue"],"mat-header-cell;;mat-sort-header;timeframe;title;Timeframe is populated by the 'Start Date' and 'End Date' fields".split(";"),[3,"issue","showIcon"],"mat-header-cell  mat-sort-header progress start desc".split(" "),[3,"click","buttonLabel","buttonIcon","menuItems"],["mat-header-row",""],["mat-row","","selectionPreventsClick","",1,"clickable",3,"click","mouseup","focusin","keydown","row"],["type","button",1,"link-button"],["type","button",1,"link-button",3,"click"]],template:function(a,
b){a&1&&(D(0,T7a,84,16,"table",1),S(1,"async"),D(2,$7a,3,3,"div",2));if(a&2){var c;G((c=U(1,2,b.rows$))?0:-1,c);B(2);G(b.options.rowLimit?2:-1)}},dependencies:[bQ,pB,iH,RH,SH,zL,BM,oM,uM,qM,nM,wM,rM,tM,xM,zM,mB,rB,FH,MM,LM,rP,oH,EH,sP,HH,PM,mL,RM,SM,yU,zU,wU,vU,gN,FM,uL,QM,ew],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}[_nghost-%COMP%]     .mat-mdc-row:hover .dismiss-icon, [_nghost-%COMP%]     .mat-mdc-row:focus-visible .dismiss-icon, [_nghost-%COMP%]     .dismiss-btn.cdk-keyboard-focused .dismiss-icon{opacity:1;color:#1a73e8;color:var(--primary);background-color:unset}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)}.display-block[_ngcontent-%COMP%]{display:block}"],
changeDetection:0});var BU=function(){Z.call(this);var a=this;this.issueFullFridge=r(QF);this.eventsForIssueFridge=r(NE);this.snackBar=r(eH);this.analytics=r(OF);this.hostElement=r(ef);this.appEvents=r(yD);this.issueDetailsBrain=r(eJ);this.trackerHelpers=r(yH);this.enrichmentApi=r($C);this.activeSession=r(Bu);this.similarIssueIds$=new Tf(1);this.similarIssuesEnrichments$=new Tf(1);this.enableSimilarIssuesEnrichments=this.activeSession.isInternalSession()&&Vt(this.activeSession,"enableSimilarIssuesEnrichments");this.limit=
3;this.issueIds$=Ie([this.similarIssueIds$,this.similarIssuesEnrichments$]).pipe(z(function(b){var c=k(b);b=c.next().value;c=c.next().value;return[].concat(t(c.map(function(d){var e,f;return(f=(e=d.similarIssues)==null?void 0:e.issueIds)!=null?f:[]}).flat()),t(b))}),z(function(b){return b.slice(0,a.limit)}),$f(function(b){a.mostRecentIssueIds=b}));this.mostRecentIssueIds=[];this.tableColumns$=this.similarIssuesEnrichments$.pipe(z(function(b){var c=["title","dupeCount","voteCount","createdTime"];b.some(function(d){var e,
f;return(e=d.similarIssues)==null?void 0:(f=e.issueIds)==null?void 0:f.length})&&c.push("enrichmentCategories");c.push("menu");return c}));this.issueIdToCategories$=Ie([this.similarIssueIds$,this.similarIssuesEnrichments$]).pipe(z(function(b){b=k(b);var c=b.next().value;var d=b.next().value;b=new Map;d=k(d);for(var e=d.next();!e.done;e=d.next()){e=e.value;var f=void 0,h=void 0,l=k((h=(f=e.similarIssues)==null?void 0:f.issueIds)!=null?h:[]);for(f=l.next();!f.done;f=l.next()){f=f.value;h=void 0;var q=
(h=b.get(f))!=null?h:[];q.push(e.category);b.set(f,q)}}c=k(c);for(d=c.next();!d.done;d=c.next())d=d.value,e=void 0,l=(e=b.get(d))!=null?e:[],l.push("Buganizer"),b.set(d,l);return b}));this.issueTableData$=Ie([this.issueIds$,this.issueIdToCategories$,this.tableColumns$]).pipe(z(function(b){var c=k(b);b=c.next().value;var d=c.next().value;c=c.next().value;return{issueIds:b,tableColumns:c,categoriesFunction:function(e){var f;return(f=d.get(e))!=null?f:[]}}}));this.EnrichmentFeedbackType=Nfc;this.tableOptions=
{modes:{createdTime:"date"},enableIssueHovercard:!0,menu:{includeGoToIssueItem:!1}};this.menuItemFactory=function(b){return[{type:"action",label:"Close current issue as duplicate of this row",action:function(){sQc(a,b)}}]};this.component$=this.issueDetailsBrain.component$;this.gotErr=function(b){a.snackBar.open({message:$o(b)||"Error with network request",snackbarType:"ERROR"})};this.subscriptions.add(this.appEvents.didShowIssueHovercard.subscribe(function(b){if(a.mostRecentIssueIds.includes(b)){var c;
(c=a.analytics)==null||c.trackEvent("similar-issues-idp","hovercard");a.submitEnrichmentFeedback(b,"ISSUE_HOVERCARD")}}))};Y(BU,Z);BU.\u0275dir=Z.\u0275dir;BU.prototype.ngOnInit=function(){this.hostElement.nativeElement.addEventListener("click",this.captureAnyClick,!0)};BU.prototype.ngOnDestroy=function(){Z.prototype.ngOnDestroy.call(this);this.hostElement.nativeElement.removeEventListener("click",this.captureAnyClick,!0)};
var sQc=function(a,b){var c=String(a.issueIdInternal);c&&gmc(a.issueFullFridge,b,c).then(function(){tQc(a,b);tQc(a,c);a.snackBar.open({message:"Issue closed as duplicate",actionLabel:"Undo"}).afterDismissed().subscribe(function(f){f.dismissedByAction&&uQc(a,b,c)});a.analytics.trackEvent("similar-issues-idp","closeAsDuplicate","fromSummaryWidget");a.submitEnrichmentFeedback(b,"CLOSE_AS_DUPLICATE");var d,e=(d=tp(a.component$))==null?void 0:d.componentPathInfo;d=ou(a.trackerHelpers,e);e="";d&&d.componentPathName&&
(e=d.componentPathName[0].toString().trim());a.analytics.trackEvent("similar-issues-idp-by-component","closeAsDuplicate","fromSummaryWidget,"+e)}).catch(a.gotErr)},uQc=function(a,b,c){a.issueFullFridge.removeDuplicate(b,c).then(function(){tQc(a,b);tQc(a,c);a.snackBar.open({message:"Un-marked issue as duplicate"})}).catch(a.gotErr);a.analytics.trackEvent("similar-issues-idp","undoCloseAsDuplicate","fromSummaryWidget")},tQc=function(a,b){a.issueFullFridge.poke(b);a.eventsForIssueFridge.poke(b)};
BU.prototype.captureAnyClick=function(){var a;(a=this.analytics)==null||a.trackEvent("similar-issues-idp","any-click")};
BU.prototype.submitEnrichmentFeedback=function(a,b){var c=this,d,e,f,h,l,q;return se(function(u){if(u.nextAddress==1)return c.enableSimilarIssuesEnrichments?y(u,Fe(c.issueIdToCategories$),2):u.return();d=u.yieldResult;f=(e=d.get(a))!=null?e:[];h=k(f);for(l=h.next();!l.done;l=h.next())q=l.value,c.enrichmentApi.submitEnrichmentFeedback({issueId:String(c.issueIdInternal),category:q,feedbackType:b}).subscribe();xe(u)})};
da.Object.defineProperties(BU.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("lf");}},similarIssuesEnrichments:{configurable:!0,enumerable:!0,set:function(a){this.similarIssuesEnrichments$.next(a)},get:function(){throw Error("mf");}}});BU.\u0275fac=function(a){return new (a||BU)};
BU.\u0275cmp=C({type:BU,selectors:[["suggested-similar-issues"]],inputs:{issueId:"issueId",similarIssueIds:"similarIssueIds",similarIssuesEnrichments:"similarIssuesEnrichments",limit:"limit"},standalone:!1,features:[cg],decls:3,vars:3,consts:[[3,"issueIds","tableColumns","options","enrichmentCategoriesFunction","menuItemFactory"],[3,"issueNavigated","issueIds","tableColumns","options","enrichmentCategoriesFunction","menuItemFactory"]],template:function(a,b){a&1&&(D(0,g8a,1,5,"b-issues-table",0),S(1,
"async"),D(2,h8a,2,0,"div"));if(a&2){var c;G((c=U(1,1,b.issueTableData$))?0:2,c)}},dependencies:[AU,sL,ew],encapsulation:2});var CU=function(){};var vQc=["popOverContent"],DU=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 Dv;this.isOpen=!1;this.destroyed$=new Tf(1);this.backdropClickSubscription=je.EMPTY};DU.prototype.ngOnInit=function(){};DU.prototype.ngOnDestroy=function(){this.close();this.destroyed$.next();this.destroyed$.complete()};
DU.prototype.open=function(){var a=this;this.isOpen||(this.overlayRef=this.createOverlay(),this.attach(),this.isOpen=!0,this.backdropClickSubscription=this.overlayRef.backdropClick().pipe(Zf(this.destroyed$)).subscribe(function(){k8a(a)}))};DU.prototype.close=function(){this.isOpen&&this.overlayRef&&(this.overlayRef.dispose(),this.overlayRef=void 0,this.isOpen=!1,this.backdropClickSubscription.unsubscribe())};
var j8a=function(a){a.closedWithAction.emit(0);a.close()},k8a=function(a){a.closedWithAction.emit(1);a.close()};g=DU.prototype;g.processKeydown=function(a){switch(a.key){case "Escape":k8a(this);a.stopPropagation();break;case "Enter":if(this.newlineWithEnterKey){if(a.metaKey||a.ctrlKey)j8a(this),a.stopPropagation(),a.preventDefault()}else a.shiftKey||(j8a(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 Ex(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=L8b(zx(Bx(this.overlay.position(),this.anchor),this.fitToViewport),this.fitToViewport);a._offsetX=-4;a._offsetY=this.displayUnder?this.anchor.offsetHeight:-4;return xx(a,wQc)};g.getScrollStrategy=function(){return this.overlay.scrollStrategies.reposition()};
DU.\u0275fac=function(a){return new (a||DU)(hf(Kx),hf(Pg))};
DU.\u0275cmp=C({type:DU,selectors:[["onedev-pop-over-edit-panel"]],viewQuery:function(a,b){a&1&&Rg(vQc,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"],standalone:!1,decls:2,vars:0,
consts:[["popOverContent",""],["cdkTrapFocus","",1,"pop-over-edit-panel-content","content","gmat-elevation-z2",3,"keydown","cdkTrapFocusAutoCapture"],[1,"edit-field"],[4,"ngTemplateOutlet"],[1,"actions"],["mat-button","","color","primary",1,"save",3,"click","disabled"],["mat-button","","color","primary",1,"cancel",3,"click"]],template:function(a){a&1&&D(0,l8a,8,3,"ng-template",null,0,ih)},dependencies:[dw,Gw,rK],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 wQc=[{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 xQc=["popOver"],yQc=["inputBox"],EU=function(a){this.defaultAutocompleteConfig=a;this.displayUnder=!1;this.initialInputValue="";this.openPopOverOnInit=!1;this.closed=new Dv;this.inputValue="";this.sessionOptions=zQc;this.mergedAutocompleteConfig=Object.assign({},AQc,this.defaultAutocompleteConfig)};g=EU.prototype;g.ngAfterViewInit=function(){this.openPopOverOnInit&&this.openPopOver(this.initialInputValue)};
g.ngOnChanges=function(a){a.autocompleteConfig&&(this.mergedAutocompleteConfig=Object.assign({},AQc,this.defaultAutocompleteConfig,this.autocompleteConfig))};g.selectAutocomplete=function(a){a.length>0&&(this.inputValue=a[0].result().getPrimaryTarget().getValue())};g.openPopOver=function(a){var b=this;this.inputValue=a;this.popOver.open();setTimeout(function(){var c;(c=b.inputBox)==null||c.nativeElement.select()})};
g.onPopOverClose=function(a){this.closed.emit(a===0?this.inputValue:void 0);this.inputValue=""};EU.\u0275fac=function(a){return new (a||EU)(hf(BQc,8))};
EU.\u0275cmp=C({type:EU,selectors:[["onedev-user-picker-panel","anchor",""]],viewQuery:function(a,b){a&1&&(Rg(xQc,7),Rg(yQc,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"},standalone:!1,features:[rv],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=v();I(0,"onedev-pop-over-edit-panel",3,0);M("closedWithAction",function(d){w(c);return x(b.onPopOverClose(d))});J();D(2,m8a,2,3,"ng-template",null,1,ih)}a&2&&(a=L(3),E("anchor",b.anchor)("displayUnder",
b.displayUnder)("editorTemplate",a))},dependencies:[oi,Gy,Ny,DU,YO],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 BQc=new zd("user-picker-autocomplete-config"),AQc={showSuggestions:!0,moveAutocompleteAboveAnchorIfOffscreen:!0,density:2},zQc=(new Is).setFilter(VLa(yq(1),new gxc(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 o8a=function(a){return{$implicit:a}},CQc=0,FU=function(){this.val="";this.disabled=!1;this.emailChange=new Dv;this.popOverOpen=this.active=this.displayUnder=!1;this.contentId="onedev-user-picker-"+CQc;this.onChange=function(){};this.onTouched=function(){};CQc++};Y(FU,CU);g=FU.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(FU.prototype,{email:{configurable:!0,enumerable:!0,get:function(){return this.val},set:function(a){a!==this.val&&this.writeValue(a)}}});FU.\u0275fac=function(a){return new (a||FU)};
FU.\u0275cmp=C({type:FU,selectors:[["onedev-user-picker"]],viewQuery:function(a,b){a&1&&Rg(EU,7);if(a&2){var c;Vg(c=Wg())&&(b.popOver=c.first)}},inputs:{email:"email",disabled:"disabled",labelledById:"labelledById",selectedUserTemplate:"selectedUserTemplate",autocompleteConfig:"autocompleteConfig",anchor:"anchor",displayUnder:"displayUnder"},outputs:{emailChange:"emailChange"},exportAs:["onedevUserPicker"],standalone:!1,features:[ch([{provide:CU,useExisting:ld(function(){return FU}),multi:!0},{provide:Ay,
useExisting:ld(function(){return FU}),multi:!0}]),cg],decls:7,vars:10,consts:[["button",""],["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","displayUnder","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=v();I(0,"button",2,0);M("focus",function(){w(c);return x(b.active=!0)})("blur",function(){w(c);return x(b.active=!1)})("click",function(){w(c);return x(b.openPopOver())});D(2,p8a,2,4,"ng-container",3)(3,q8a,1,1,"ng-template",null,1,ih)(5,r8a,2,0,"svg",4);J();I(6,"onedev-user-picker-panel",5);M("closed",function(e){w(c);return x(b.onPopOverClose(e))});J()}if(a&2){a=L(1);var d=L(4);sg("active",b.isActive());jg("id",b.contentId)("aria-labelledby",b.contentAriaLabelledBy());
B(2);E("ngIf",b.selectedUserTemplate)("ngIfElse",d);B(3);E("ngIf",!b.disabled);B();E("displayUnder",b.displayUnder)("anchor",b.anchor||a)("autocompleteConfig",b.autocompleteConfig)}},dependencies:[cw,dw,EU],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 DQc=["picker"],GU=function(){this.theme=r(ZP);this.disabled=!1;this.emailChange=new aB;this.userEmail=""};Y(GU,CU);GU.prototype.openPopOver=function(){this.picker.openPopOver()};GU.prototype.isActive=function(){return this.picker.isActive()};GU.prototype.getAutocompleteConfig=function(){return{showSuggestions:!1,moveAutocompleteAboveAnchorIfOffscreen:!0,density:2,theme:It(this.theme)?1:0}};
da.Object.defineProperties(GU.prototype,{user:{configurable:!0,enumerable:!0,set:function(a){this.userEmail=Sj(a)||""}}});GU.\u0275fac=function(){var a;return function(b){return(a||(a=ee(GU)))(b||GU)}}();
GU.\u0275cmp=C({type:GU,selectors:[["b-user-picker"]],viewQuery:function(a,b){a&1&&Rg(DQc,7);if(a&2){var c;Vg(c=Wg())&&(b.picker=c.first)}},inputs:{user:"user",teamId:"teamId",disabled:"disabled",labelledById:"labelledById",anchor:"anchor"},outputs:{emailChange:"emailChange"},exportAs:["bUserPicker"],standalone:!1,features:[ch([{provide:CU,useExisting:ld(function(){return GU}),multi:!0}]),cg],decls:4,vars:7,consts:[["picker","onedevUserPicker"],["userChip",""],[3,"emailChange","anchor","displayUnder",
"email","disabled","labelledById","selectedUserTemplate","autocompleteConfig"],[3,"email","teamId","enableSmallChip"]],template:function(a,b){if(a&1){var c=v();I(0,"onedev-user-picker",2,0);M("emailChange",function(d){w(c);return x(b.emailChange.emit(d))});J();D(2,t8a,1,1,"ng-template",null,1,ih)}a&2&&(a=L(3),E("anchor",b.anchor)("displayUnder",!0)("email",b.userEmail)("disabled",b.disabled)("labelledById",b.labelledById)("selectedUserTemplate",a)("autocompleteConfig",b.getAutocompleteConfig()))},
dependencies:[eP,FU],styles:["[_nghost-%COMP%]     .user-chip-small, [_nghost-%COMP%]     .internal-non-team-member-chip{width:100%}  .peoplekit-autocomplete-anchor{z-index:1001}  .pop-over-edit-panel-content{min-width:180px}/*# sourceMappingURL=user_picker.css.map */"]});var HU=function(){this.isReady=!1};HU.\u0275fac=function(a){return new (a||HU)};HU.\u0275cmp=C({type:HU,selectors:[["onedev-async-data-placeholder"]],inputs:{isReady:"isReady"},standalone:!1,ngContentSelectors:["*"],decls:2,vars:2,consts:[["class","loading-indicator",4,"ngIf"],[4,"ngIf"],[1,"loading-indicator"]],template:function(a,b){a&1&&(Ig(),D(0,u8a,1,0,"div",0)(1,v8a,2,0,"ng-container",1));a&2&&(E("ngIf",!b.isReady),B(),E("ngIf",b.isReady))},dependencies:[cw],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 EQc=function(){this.warning=""};EQc.\u0275fac=function(a){return new (a||EQc)};
EQc.\u0275cmp=C({type:EQc,selectors:[["onedev-warning-icon"]],hostVars:2,hostBindings:function(a,b){a&2&&sg("is-present",b.warning)},inputs:{warning:"warning"},standalone:!1,decls:1,vars:1,consts:[["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",3,"matTooltip",4,"ngIf"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",3,"matTooltip"],["d","M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"]],template:function(a,b){a&1&&D(0,w8a,2,
1,"svg",0);a&2&&E("ngIf",b.warning)},dependencies:[cw,nP],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 FQc=["*",[["","actions",""]]],GQc=[[["onedev-field-label"]],[["onedev-field-value"]]],HQc=0,IU=function(){this.thinking=!1;this.warning=this.labelTooltip="";this.id="onedev-field-label-"+HQc;HQc++};IU.\u0275fac=function(a){return new (a||IU)};
IU.\u0275cmp=C({type:IU,selectors:[["onedev-field-label"]],hostVars:1,hostBindings:function(a,b){a&2&&jg("id",b.id)},inputs:{thinking:"thinking",labelTooltip:"labelTooltip",warning:"warning"},standalone:!1,ngContentSelectors:["*"],decls:4,vars:3,consts:[[3,"isReady"],[1,"label",3,"matTooltip"],[3,"warning"]],template:function(a,b){a&1&&(Ig(),I(0,"onedev-async-data-placeholder",0)(1,"span",1),Jg(2),J(),K(3,"onedev-warning-icon",2),J());a&2&&(E("isReady",!b.thinking),B(),E("matTooltip",b.labelTooltip),
B(2),E("warning",b.warning))},dependencies:[HU,nP,EQc],styles:["[_nghost-%COMP%]{line-height:29px;font-size:13px}span.label[_ngcontent-%COMP%]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}"]});var JU=function(){this.thinking=!1};JU.\u0275fac=function(a){return new (a||JU)};
JU.\u0275cmp=C({type:JU,selectors:[["onedev-field-value"]],inputs:{thinking:"thinking"},standalone:!1,ngContentSelectors:["*","[actions]"],decls:3,vars:1,consts:[[3,"isReady"]],template:function(a,b){a&1&&(Ig(FQc),I(0,"onedev-async-data-placeholder",0),Jg(1),Jg(2,1),J());a&2&&E("isReady",!b.thinking)},dependencies:[HU],encapsulation:2});var KU=function(){this.labelPosition="left"};KU.prototype.ngAfterContentInit=function(){var a=this;setTimeout(function(){a.field&&a.label&&(a.field.labelledById=a.label.id)})};
KU.\u0275fac=function(a){return new (a||KU)};
KU.\u0275cmp=C({type:KU,selectors:[["onedev-edit-field"]],contentQueries:function(a,b,c){a&1&&(Sg(c,CU,5),Sg(c,IU,7));if(a&2){var d;Vg(d=Wg())&&(b.field=d.first);Vg(d=Wg())&&(b.label=d.first)}},inputs:{labelPosition:"labelPosition"},standalone:!1,ngContentSelectors:["onedev-field-label","onedev-field-value"],decls:3,vars:4,consts:[[1,"wrapper"]],template:function(a,b){a&1&&(Ig(GQc),I(0,"div",0),Jg(1),Jg(2,1),J());a&2&&sg("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 IQc=["traditionalEditorField"],JQc=["peopleKitUserPicker"],LU=function(){this.activeSession=r(Bu);this.issuePermissionService=r(gJ);this.issueDetailsBrain=r(eJ);this.elementRef=r(ef);this.cdr=r(Ov);this.title=this.name="";this.value=null;this.valueChange=new aB;this.emailChange=new aB;this.hasAclToAdmin$=this.issuePermissionService.hasAclToAdmin$;this.hasAclToEdit$=this.issuePermissionService.hasAclToEdit$;this.teamId$=this.issueDetailsBrain.teamId$;this.emailToUser=Wj;this.enablePeoplekitAc=
Vt(this.activeSession,"enablePeoplekitUserAc");this.FieldType=AQ};LU.prototype.openEditor=function(){if(this.enablePeoplekitAc){var a;(a=this.peopleKitUserPicker)==null||a.openPopOver()}else{var b;(b=this.traditionalEditorField)==null||Yq(b,null,!0,!1)}};LU.\u0275fac=function(a){return new (a||LU)};
LU.\u0275cmp=C({type:LU,selectors:[["b-single-user-control"]],viewQuery:function(a,b){a&1&&(Rg(IQc,5),Rg(JQc,5));if(a&2){var c;Vg(c=Wg())&&(b.traditionalEditorField=c.first);Vg(c=Wg())&&(b.peopleKitUserPicker=c.first)}},inputs:{name:"name",title:"title",value:"value",user:"user",anchor:"anchor",isSaving:"isSaving"},outputs:{valueChange:"valueChange",emailChange:"emailChange"},standalone:!1,decls:2,vars:1,consts:[["traditionalEditorField",""],["peopleKitUserPicker",""],[1,"flex-1",3,"name","title",
"type","value","user","isUser","readonly","disabled","showAvailability","teamId"],[1,"flex-1",3,"valueChange","name","title","type","value","user","isUser","readonly","disabled","showAvailability","teamId"],[3,"thinking"],[3,"emailChange","anchor","user","teamId","disabled"]],template:function(a,b){a&1&&D(0,x8a,4,14,"b-edit-field",2)(1,y8a,8,10,"onedev-edit-field");a&2&&G(b.enablePeoplekitAc?1:0)},dependencies:[zQ,IU,JU,KU,GU,ew],encapsulation:2});var KQc=[[["","expansion-panel-header",""]],"*"],MU=function(){this.instance=LQc;this.expanded=!1};MU.prototype.ngOnInit=function(){LQc++};MU.prototype.toggle=function(){this.expanded=!this.expanded};var LQc=0;MU.\u0275fac=function(a){return new (a||MU)};
MU.\u0275cmp=C({type:MU,selectors:[["b-expansion-panel"]],inputs:{expanded:"expanded"},exportAs:["expansionPanel"],standalone:!1,ngContentSelectors:["[expansion-panel-header]","*"],decls:6,vars:7,consts:[[1,"flex-kids-y"],["role","button","tabindex","0","aria-disabled","false",1,"header","flex-kids-x","padded-s","clickable-row",3,"click","keydown.enter","keydown.space","keyup.space","id"],["type","button","mat-icon-button","","aria-label","Toggle expansion state",1,"small","margin-left-auto",3,"click"],
["svgIcon","arrow-down",1,"icon-m"],["role","region",1,"content",3,"id"]],template:function(a,b){a&1&&(Ig(KQc),I(0,"div",0)(1,"div",1),M("click",function(){return b.toggle()})("keydown.enter",function(){return b.toggle()})("keydown.space",function(c){return c.preventDefault()})("keyup.space",function(){return b.toggle()}),Jg(2),I(3,"button",2),M("click",function(c){b.toggle();return c.stopPropagation()}),K(4,"mat-icon",3),J()(),D(5,z8a,2,3,"div",4),J());a&2&&(sg("expanded",b.expanded),B(),Kg("id",
"expansion-panel-header-",b.instance,""),jg("aria-controls","expansion-panel-content-"+b.instance)("aria-expanded",b.expanded),B(4),G(b.expanded?5:-1))},dependencies:[pB,eB,ly],styles:[".header[_ngcontent-%COMP%]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.header[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{-webkit-transition:-webkit-transform .2s ease-in-out;transition:-webkit-transform .2s ease-in-out;transition:transform .2s ease-in-out;transition:transform .2s ease-in-out,-webkit-transform .2s ease-in-out}.expanded[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.content[_ngcontent-%COMP%]{padding:4px 12px 12px}\n/*# sourceMappingURL=expansion_panel.css.map */"]});var S8a=function(a,b){return b.key},L8a=function(){return[]},NU=function(){Z.apply(this,arguments);var a=this;this.issueFridge=r(hF);this.issueFullFridge=r(QF);this.eventsForIssueFridge=r(NE);this.paramsService=r(TH);this.issueExperimentalFieldsFridge=r(dF);this.issuePermissionService=r(gJ);this.triageService=r(YG);this.activeSession=r(Bu);this.preferences=r(TG);this.similarIssuesApi=r(kH);this.issueMarkAsDuplicateDialogService=r(ES);this.analytics=r(OF);this.issueId$=this.triageService.currentIssueId$.pipe(Ue(ik),
Pf());this.PHASE_TO_ACTIONS=PMc;this.TriagePhase=sgc;this.MAX_SIMILAR_ISSUES=10;this.displaySecondaryFooter=!1;this.refreshTable=new aB;this.teamId$=fqc(this.paramsService,"teamId").pipe(Pf(),Ue(ik));this.triageViewId=this.paramsService.params.triageId;this.phaseUrlSlug=this.paramsService.params.phase;this.data$=this.teamId$.pipe(z(function(b){return a.triageService.triageDataFactory.get(b,a.triageViewId)}));this.triageScope$=this.data$.pipe(Yf(function(b){return b.triageScope$}));this.issue$=this.issueId$.pipe(Yf(function(b){return a.issueFridge.watch(b)}));
this.canonicalIssueId$=this.issue$.pipe(z(function(b){var c,d;return(d=b==null?void 0:(c=b.snapshot[0])==null?void 0:c.duplicateOfIssueId)!=null?d:void 0}));this.experimentalFields$=this.issueId$.pipe(Yf(function(b){return a.issueExperimentalFieldsFridge.watch(b)}));this.reporterUser$=this.issue$.pipe(z(function(b){var c;return b==null?void 0:(c=b.snapshot[0])==null?void 0:c.reporterUser}));this.reporterEmail$=this.reporterUser$.pipe(z(function(b){return Sj(b)||""}));this.triagerEmail$=this.experimentalFields$.pipe(z(function(b){var c;
return b==null?void 0:(c=b.triage)==null?void 0:c.triagerEmail}));this.triager$=this.triagerEmail$.pipe(z(function(b){return Wj(b)}));this.issuePhase$=this.issue$.pipe(z(Xl));this.issuePhaseDisplay$=this.issuePhase$.pipe(z(function(b){var c;return(c=b&&Xq.get(b))!=null?c:""}));this.issueSubphase$=this.issue$.pipe(z(Yl));this.issueSubphaseDisplay$=this.issueSubphase$.pipe(z(function(b){var c;return(c=b&&Ugc[b])!=null?c:""}));this.events$=this.issueId$.pipe(Yf(function(b){return a.eventsForIssueFridge.watch(b)}),
z(function(b){return(b==null?void 0:b.events)||[]}));this.comments$=this.events$.pipe(z(function(b){return b.filter(Ol).slice(1)}));this.accessLevel$=this.issue$.pipe(z(function(b){var c;return b==null?void 0:(c=b.accessLimit)==null?void 0:c.accessLevel}));this.hasAclToEdit$=this.issuePermissionService.hasAclToEdit$;this.enableInlineScreenshots$=this.preferences.showInlineImages$.pipe(z(Boolean),Xf(!0));this.similarIssueIds$=Ie([this.issueId$,this.triageScope$]).pipe(Yf(function(b){var c=k(b);b=c.next().value;
c=c.next().value;return lH(a.similarIssuesApi,{issueId:Number(b),scope:c})}),z(function(b){return b.similarIssues}),$f(function(b){b.forEach(function(c){a.issueFullFridge.announce(c)})}),z(function(b){return b.map(function(c){return c.issueId})}),z(function(b){return b.slice(0,10)}),Vf({bufferSize:1,refCount:!0}));this.needsInfoAutomaticChanges$=this.reporterEmail$.pipe(z(function(b){return[{field:"ASSIGNEE",value:b},{field:"COMMENT",value:"Hi @"+b+", "}]}));this.teamId$.pipe(Yf(function(b){return voc(a.triageService.triageDataFactory.get(b,
a.triageViewId),"NEW")}),z(function(b){var c=[].concat(t(MMc.fieldsToShow));if(b==null?0:b.length)b=c.findIndex(function(d){return d==="STATUS"}),c.splice(b+1,0,"HOTLISTS");return c}))};Y(NU,Z);NU.\u0275dir=Z.\u0275dir;
var MQc=function(a,b){return se(function(c){return c.nextAddress==1?y(c,eF(a.issueExperimentalFieldsFridge,b,function(d){d.triage.phase="NEW";d.triage.subphase="NEEDS_INFO"}),2):c.return(c.yieldResult)})},NQc=function(a,b){return se(function(c){return c.nextAddress==1?y(c,eF(a.issueExperimentalFieldsFridge,b,function(d){d.triage.phase="CONFIRMED";d.triage.subphase="TRIAGE_SUBPHASE_UNSPECIFIED"}),2):c.return(c.yieldResult)})},OQc=function(a,b){return se(function(c){return c.nextAddress==1?y(c,eF(a.issueExperimentalFieldsFridge,
b,function(d){d.triage.phase="CONFIRMED";d.triage.subphase="PENDING_OWNER"}),2):c.return(c.yieldResult)})},PQc=function(a,b){return se(function(c){return c.nextAddress==1?y(c,eF(a.issueExperimentalFieldsFridge,b,function(d){d.triage.phase="IN_PROGRESS";d.triage.subphase="TRIAGE_SUBPHASE_UNSPECIFIED"}),2):c.return(c.yieldResult)})},QQc=function(a,b){return se(function(c){return c.nextAddress==1?y(c,eF(a.issueExperimentalFieldsFridge,b,function(d){d.triage.phase="IN_PROGRESS";d.triage.subphase="EXPECTED"}),
2):c.return(c.yieldResult)})},RQc=function(a,b){return se(function(c){return c.nextAddress==1?y(c,eF(a.issueExperimentalFieldsFridge,b,function(d){d.triage.phase="IN_PROGRESS";d.triage.subphase="PLANNED"}),2):c.return(c.yieldResult)})},SQc=function(a,b){return se(function(c){return c.nextAddress==1?y(c,eF(a.issueExperimentalFieldsFridge,b,function(d){d.triage.phase="IN_PROGRESS";d.triage.subphase="COMMITTED"}),2):c.return(c.yieldResult)})},TQc=function(a,b){return se(function(c){return c.nextAddress==
1?y(c,eF(a.issueExperimentalFieldsFridge,b,function(d){d.triage.phase="FIXED";d.triage.subphase="TRIAGE_SUBPHASE_UNSPECIFIED"}),2):c.return(c.yieldResult)})},UQc=function(a,b){return se(function(c){return c.nextAddress==1?y(c,eF(a.issueExperimentalFieldsFridge,b,function(d){d.triage.phase="NEW";d.triage.triagerEmail=void 0;d.triage.subphase="TRIAGE_SUBPHASE_UNSPECIFIED"}),2):c.return(c.yieldResult)})},VQc=function(a,b){return se(function(c){return c.nextAddress==1?y(c,eF(a.issueExperimentalFieldsFridge,
b,function(d){d.triage.phase="WONT_FIX";d.triage.triagerEmail=void 0;d.triage.subphase="TRIAGE_SUBPHASE_UNSPECIFIED"}),2):c.return(c.yieldResult)})};
NU.prototype.openSecondaryActionFooter=function(a,b){var c=this;return se(function(d){if(d.nextAddress==1)return a!=="MARK_AS_DUPLICATE"?d.jumpTo(2):y(d,iMc(c.issueMarkAsDuplicateDialogService,b),3);if(d.nextAddress!=2)return c.analytics.trackEvent("triageIssue","changePhase",c.phaseUrlSlug+"_"+a),d.return();c.selectedTriageAction=a;c.displaySecondaryFooter=!0;c.announceUpdate(void 0,b);xe(d)})};
var O8a=function(a,b){var c,d;return se(function(e){switch(e.nextAddress){case 1:if(!a.selectedTriageAction)return e.return();c=a.selectedTriageAction;switch(c){case "SET_NEEDS_INFO":return e.jumpTo(2);case "SET_CONFIRMED":return e.jumpTo(3);case "SET_PENDING_OWNER":return e.jumpTo(4);case "SET_NEW":return e.jumpTo(5);case "SET_IN_PROGRESS":return e.jumpTo(6);case "SET_EXPECTED":return e.jumpTo(7);case "SET_PLANNED":return e.jumpTo(8);case "SET_COMMITTED":return e.jumpTo(9);case "SET_FIXED":return e.jumpTo(10);
case "CHANGE_COMPONENT":return e.jumpTo(11);case "SET_WONT_FIX":return e.jumpTo(12);case "MARK_AS_DUPLICATE":throw Error("nf");default:Db(c)}e.jumpTo(13);break;case 2:return y(e,MQc(a,b),14);case 14:d=e.yieldResult;e.jumpTo(13);break;case 3:return y(e,NQc(a,b),15);case 15:d=e.yieldResult;e.jumpTo(13);break;case 4:return y(e,OQc(a,b),16);case 16:d=e.yieldResult;e.jumpTo(13);break;case 5:return y(e,UQc(a,b),17);case 17:d=e.yieldResult;e.jumpTo(13);break;case 6:return y(e,PQc(a,b),18);case 18:d=e.yieldResult;
e.jumpTo(13);break;case 7:return y(e,QQc(a,b),19);case 19:d=e.yieldResult;e.jumpTo(13);break;case 8:return y(e,RQc(a,b),20);case 20:d=e.yieldResult;e.jumpTo(13);break;case 9:return y(e,SQc(a,b),21);case 21:d=e.yieldResult;e.jumpTo(13);break;case 10:return y(e,TQc(a,b),22);case 22:d=e.yieldResult;e.jumpTo(13);break;case 11:return y(e,UQc(a,b),23);case 23:d=e.yieldResult;e.jumpTo(13);break;case 12:return y(e,VQc(a,b),24);case 24:d=e.yieldResult;e.jumpTo(13);break;case 13:a.displaySecondaryFooter=!1,
a.announceUpdate(d,b),a.analytics.trackEvent("triageIssue","changePhase",a.phaseUrlSlug+"_"+c),xe(e)}})};NU.prototype.announceUpdate=function(a,b){a&&(this.issueFullFridge.poke(b),this.refreshTable.emit())};NU.prototype.cancelAction=function(){this.selectedTriageAction=void 0;this.displaySecondaryFooter=!1};var E8a=function(a,b){var c=tp(a.issueId$);eF(a.issueExperimentalFieldsFridge,c,function(d){d.triage.triagerEmail=b})};
NU.prototype.claim=function(){E8a(this,this.activeSession.getUserEmail());this.analytics.trackEvent("triageIssue","claim")};NU.\u0275fac=function(){var a;return function(b){return(a||(a=ee(NU)))(b||NU)}}();
NU.\u0275cmp=C({type:NU,selectors:[["issue-triage-sidebar"]],outputs:{refreshTable:"refreshTable"},standalone:!1,features:[cg],decls:2,vars:3,consts:[["canonicalHovercard","onedevHovercard"],["canonicalCardBody",""],["triagerFieldAnchor",""],["triagerField",""],["expansionPanel",""],["card",""],[1,"container","bg-secondary","flex-kids-y"],[1,"top-bar","flex-kids-x","space-between","border-bottom","bg-main"],[1,"flex-kids-x","align-items-center","margin-s-left","gap-s"],[3,"issueId","showCopyOptions"],
[1,"flex-kids-x","align-items-center"],[1,"actions"],["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"],["type","button","mat-icon-button","","matTooltip","Close sidebar","aria-label","Close sidebar",1,"gmat-button",3,"click"],["svgIcon","close"],[1,"muted"],[1,"chippy"],[1,"chippy",3,"onedevHovercardTrigger"],[3,"onedevIsHovercardReady","issueId",4,"onedevHovercardLazyBody"],
[3,"onedevIsHovercardReady","issueId"],["type","button","mat-button","","matTooltip","Set myself as the triager",1,"gmat-button","small"],["size","small",3,"email"],[1,"flex-1","triagerField",3,"valueChange","emailChange","name","anchor","title","value","user"],["type","button","mat-icon-button","","matTooltip","Edit triager","aria-label","Edit triager",1,"small","align-self-center",3,"click"],["svgIcon","edit-outline",1,"icon-xxs"],["type","button","mat-button","","matTooltip","Set myself as the triager",
1,"gmat-button","small",3,"click"],[1,"content","flex-kids-y"],[1,"title","margin-s"],[3,"title","issueId","componentId","hasAclToEdit"],[1,"margin-s-top","flex-kids-x","gap-s"],[1,"b-chip","issue-type","nowrap"],[1,"priority"],[3,"issuePriority"],[3,"vertical"],[3,"issueId"],[1,"rounded","bordered","margin-s","margin-top-none","bg-main",3,"expanded"],["expansion-panel-header",""],[1,"flex-kids-x","align-items-center","gap-xs","full-width"],["svgIcon","description_24px","color","primary",1,"margin-xs-right",
"shrink-0"],[1,"uppercase","margin-xs-right","muted"],[3,"id"],[1,"flex-kids-x","align-items-center","grow-1","margin-s-right"],["svgIcon","chat_24px","color","primary",1,"margin-xs-right","shrink-0"],[1,"uppercase","margin-xs-right","muted","nowrap"],[1,"margin-left-auto"],[3,"issueId","events","issueAccessLevel","showFullHistory"],["svgIcon","spark_24px","color","primary",1,"margin-xs-right","shrink-0"],[1,"uppercase","muted"],["svgIcon","info",1,"margin-left-auto","icon-s",3,"matTooltip"],[1,"triage-actions",
"bg-main","carded","flex-kids-x","align-items-center","margin-s"],[3,"onedevHovercardTrigger","model"],[3,"email"],[1,"margin-left-auto",3,"click"],[3,"issueId","similarIssueIds","similarIssuesEnrichments","limit"],[1,"full-width",3,"needsInfoAutomaticChanges","selectedTriageAction"],[1,"full-width",3,"cancelAction","finalizeAction","needsInfoAutomaticChanges","selectedTriageAction"],[3,"onSelect","phase"],["type","button","mat-button","",1,"gmat-button",3,"disabled"],["type","button","mat-button",
"",1,"gmat-button",3,"click","disabled"]],template:function(a,b){a&1&&(D(0,W8a,19,19,"div",6),S(1,"async"));if(a&2){var c;G((c=U(1,1,b.issueId$))?0:-1,c)}},dependencies:[pB,lU,gU,MU,eB,jy,my,ly,mB,rB,$H,aI,fI,bI,fL,YT,tU,DH,tK,FH,uU,oQ,LU,BU,RS,QM,dL,QS,bC,ew],styles:[".container[_ngcontent-%COMP%]{width:100%;height:100%;overflow:hidden;position:absolute}[_nghost-%COMP%]     .triagerField onedev-field-label{min-width:unset}[_nghost-%COMP%]     .triagerField onedev-edit-field{margin:0}.triagerField[_ngcontent-%COMP%]{visibility:hidden;width:0}.content[_ngcontent-%COMP%]{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-ms-flex:1;flex:1;overflow:hidden auto}.content[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]   .issue-type[_ngcontent-%COMP%]{background-color:#f8f9fa;background-color:var(--surface-secondary);border:1px solid;border-color:#5f6368;border-color:var(--icon);font-family:Google Sans,Roboto,Arial,sans-serif;margin-right:0}.content[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]   .priority[_ngcontent-%COMP%]{margin-top:1px}.content[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]   .hotlist-container[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:2px;line-height:18px;max-height:64px;overflow-y:auto}[_nghost-%COMP%]     .comment1>mat-icon{display:none}[_nghost-%COMP%]     .comment1 .b-description-heading{display:none}[_nghost-%COMP%]     .comment1 .bv2-event-note{margin-top:4px}[_nghost-%COMP%]     b-event-stream-header h4{display:none}[_nghost-%COMP%]     .bv2-edit-issue-history-stream{padding-left:0}[_nghost-%COMP%]     .bv2-event-content-cell{padding-top:8px;padding-left:4px;padding-right:0}"]});var b9a=function(a,b){return b.key},OU=function(){Z.apply(this,arguments);var a=this;this.triageService=r(YG);this.analytics=r(OF);this.butterBar=r(fH);this.errorHandler=r(CI);this.issueApi=r(ME);this.issueFridge=r(hF);this.issueFullFridge=r(QF);this.issuePermissionService=r(gJ);this.issuePicker=r(TP);this.paramsService=r(TH);this.phaseUrlSlug=this.paramsService.params.phase;this.issueIds$=this.triageService.currentIssueIds$;this.hasAclToEdit$=this.issuePermissionService.hasAclToEdit$;this.PHASE_TO_ACTIONS=
PMc;this.displaySecondaryFooter=!1;this.issue$=this.issueIds$.pipe(Yf(function(b){return a.issueFridge.watch(b[0])}));this.issuePhase$=this.issue$.pipe(z(Xl));this.issuePhaseDisplay$=this.issuePhase$.pipe(z(function(b){var c;return(c=b&&Xq.get(b))!=null?c:""}));this.issues$=this.issueIds$.pipe(Yf(function(b){return a.issueFridge.watchSet(b)}));this.issueSubphases$=this.issues$.pipe(z(function(b){return b.map(function(c){return Yl(c)}).filter(function(c){return c!==void 0})}));this.issueSubphasesDisplay$=
this.issueSubphases$.pipe(z(function(b){b=b.map(function(c){var d;return(d=Ugc[c])!=null?d:""});return Kj(b)}));this.refreshTable=new aB};Y(OU,Z);OU.\u0275dir=Z.\u0275dir;g=OU.prototype;
g.openDupeDialog=function(){var a=this,b,c,d,e,f,h,l;return se(function(q){switch(q.nextAddress){case 1:return y(q,Fe(a.issueIds$),2);case 2:b=q.yieldResult;if(!b||!b.length)return q.return();c=Txa;return y(q,Fe(a.issueFridge.watchSet(b)),3);case 3:return d=c(q.yieldResult),e=k,y(q,a.issuePicker.open({componentId:d||null,allowMultipleIds:!1,edgeType:"canonical",originIsBulk:!0}),4);case 4:return f=e(q.yieldResult),(l=h=f.next().value)?y(q,a.markAsDuplicate(l,b),0):q.return()}})};
g.openSecondaryActionFooter=function(a){var b=this;return se(function(c){if(c.nextAddress==1)return a!=="MARK_AS_DUPLICATE"?c.jumpTo(2):y(c,b.openDupeDialog(),3);if(c.nextAddress!=2)return b.analytics.trackEvent("triageIssue","changePhase",b.phaseUrlSlug+"_"+a),c.return();b.selectedTriageAction=a;b.displaySecondaryFooter=!0;xe(c)})};
g.markAsDuplicate=function(a,b){var c=this,d,e;return se(function(f){if(f.nextAddress==1)return d={bulkEditOps:[{actions:[{fieldName:"duplicateOfIssueId",value:a}],issueIds:b}]},te(f,2),jq(c.butterBar,"Saving..."),y(f,c.issueApi.issueBulkEdit(d),4);if(f.nextAddress!=2)return jq(c.butterBar,"Marked "+b.length+" issues as duplicate."),c.announceUpdate(b),c.triageService.closeSidebar(),Hu(f,0);e=we(f);EI(c.errorHandler,e);return y(f,Promise.all([].concat(t(b.map(function(h){return c.issueFridge.poke(h)})),
[c.issueFridge.poke(a)])),0)})};g.announceUpdate=function(a){a=k(a);for(var b=a.next();!b.done;b=a.next())this.issueFullFridge.poke(b.value);this.refreshTable.emit()};g.handleClick=function(){console.log("click")};OU.\u0275fac=function(){var a;return function(b){return(a||(a=ee(OU)))(b||OU)}}();
OU.\u0275cmp=C({type:OU,selectors:[["selection-triage-sidebar"]],outputs:{refreshTable:"refreshTable"},standalone:!1,features:[cg],decls:15,vars:12,consts:[[1,"container","bg-secondary","flex-kids-y"],[1,"border-bottom","bg-main","align-items-center","flex-kids-x"],[1,"margin-s-left","margin-s-right"],["type","button","mat-icon-button","","matTooltip","Close sidebar","aria-label","Close sidebar",1,"gmat-button","margin-left-auto",3,"click"],["svgIcon","close"],[1,"content","flex-kids-y"],[1,"heading-m",
"margin-s"],[1,"bg-main","carded","flex-kids-x","align-items-center","margin-s"],[1,"muted"],[1,"chippy"],[1,"chippy","margin-s-right"],[3,"onSelect","phase"],["type","button","mat-button","",1,"gmat-button",3,"disabled"],["type","button","mat-button","",1,"gmat-button",3,"click","disabled"]],template:function(a,b){a&1&&(I(0,"div",0)(1,"div",1),D(2,X8a,5,1,"div",2),S(3,"async"),D(4,$8a,1,1),S(5,"async"),I(6,"button",3),M("click",function(){return b.triageService.closeSidebar()}),K(7,"mat-icon",4),
J()(),I(8,"div",5)(9,"h3",6),Q(10),S(11,"async"),J(),I(12,"div",7),D(13,d9a,2,3),S(14,"async"),J()()());if(a&2){var c,d,e,f;B(2);G((c=U(3,4,b.issuePhaseDisplay$))?2:-1,c);B(2);G((d=U(5,6,b.issueSubphasesDisplay$))?4:-1,d);B(6);R("",(e=U(11,8,b.issueIds$))==null?null:e.length," issues");B(3);G((f=U(14,10,b.issueIds$))?13:-1,f)}},dependencies:[pB,eB,jy,ly,mB,rB,QS,ew],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}\n/*# sourceMappingURL=selection_triage_sidebar.css.map */"],
changeDetection:0});var PU=function(){var a=this;this.editIssueService=r(kJ);this.issueFridge=r(hF);this.IssueFieldKey=AMc;this.issueId$=new Tf(1);this.automaticChange$=new Tf(1);this.editableIssue$=this.issueId$.pipe(Yf(function(b){return a.editIssueService.editableIssue$(b)}),Vf({refCount:!0,bufferSize:1}));this.undone=!1;this.text$=Ie([this.editableIssue$,this.automaticChange$]).pipe(z(function(b){var c=k(b);b=c.next().value;c=c.next().value;a:{var d=c.field;switch(d){case "STATUS":b="Auto changed status";break a;
case "ASSIGNEE":b=c.value===b.reporter?"Auto assigned to reporter":"Auto assigned";break a;case "COMMENT":b="";break a;default:Db(d)}b=void 0}return b}))};PU.prototype.ngOnInit=function(){};
PU.prototype.undo=function(){var a=this,b,c,d;return se(function(e){if(e.nextAddress==1)return b=a.automaticChange.field,y(e,Fe(a.editableIssue$),2);if(e.nextAddress!=3)return c=e.yieldResult,y(e,Fe(a.issueFridge.watch(a.issueId)),3);d=e.yieldResult;if(!d)return e.return();switch(b){case "STATUS":c.setStatus(d.snapshot[0].status);break;case "ASSIGNEE":c.setAssignee(Pj(d.snapshot[0].assigneeUser));break;case "COMMENT":throw Error("of");default:Db(b)}a.undone=!0;xe(e)})};
da.Object.defineProperties(PU.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)},get:function(){return tp(this.issueId$)}},automaticChange:{configurable:!0,enumerable:!0,set:function(a){this.automaticChange$.next(a)},get:function(){return tp(this.automaticChange$)}}});PU.\u0275fac=function(a){return new (a||PU)};
PU.\u0275cmp=C({type:PU,selectors:[["automatic-change-chip"]],hostVars:2,hostBindings:function(a,b){a&2&&rg("display",b.automaticChange.field===b.IssueFieldKey.COMMENT||b.undone?"none":"block")},inputs:{issueId:"issueId",automaticChange:"automaticChange"},standalone:!1,decls:7,vars:3,consts:[[1,"b-chip","blue","flex-kids-x","align-items-center","gap-xs"],["matTooltip","System suggestion","svgIcon","pen_spark_24px",1,"icon-s","margin-xs-right","color-text"],[1,"color-text"],["type","button","mat-button",
"",1,"gmat-button","small",3,"click"]],template:function(a,b){a&1&&(I(0,"div",0),K(1,"mat-icon",1),I(2,"span",2),Q(3),S(4,"async"),J(),I(5,"button",3),M("click",function(){return b.undo()}),Q(6,"Undo"),J()());a&2&&(B(3),Yg(U(4,1,b.text$)))},dependencies:[pB,eB,jy,mB,rB,ew],encapsulation:2,changeDetection:0});var h9a=function(){return[]},QU=function(){this.disabled=this.readonly=!1;this.save=new aB},WQc=function(a){return a.issue.customFieldMap[a.field.customFieldId]};QU.prototype.getDisplayValue=function(){var a,b,c=(b=(a=WQc(this).displayValues)==null?void 0:a[0])!=null?b:null;c==="0.0"&&(c="0");return c};QU.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 g9a=function(a){return(a=Fo(WQc(a)))&&a.values===void 0?a:null},e9a=function(a){return(a=Fo(WQc(a)))&&a.values!==void 0?a.values:null};da.Object.defineProperties(QU.prototype,{isShared:{configurable:!0,enumerable:!0,get:function(){return this.field.shared}}});QU.\u0275fac=function(a){return new (a||QU)};
QU.\u0275cmp=C({type:QU,selectors:[["b-custom-field-editor"]],viewQuery:function(a,b){a&1&&Rg(zQ,5);if(a&2){var c;Vg(c=Wg())&&(b.editField=c.first)}},hostVars:2,hostBindings:function(a,b){a&2&&sg("is-shared-field",b.isShared)},inputs:{issue:"issue",field:"field",readonly:"readonly",disabled:"disabled"},outputs:{save:"save"},standalone:!1,decls:1,vars:1,consts:[[3,"readonly","defaultLineCount","title","type","customFieldId","tooltip","values","displayValuesOverride","enumChoices","listFieldDisabled"],
[3,"readonly","name","title","type","tooltip","clearable","value","displayValueOverride","choices","showEnumTitle","disabled","customFieldId"],[3,"valuesChange","readonly","defaultLineCount","title","type","customFieldId","tooltip","values","displayValuesOverride","enumChoices","listFieldDisabled"],[3,"valueChange","readonly","name","title","type","tooltip","clearable","value","displayValueOverride","choices","showEnumTitle","disabled","customFieldId"]],template:function(a,b){a&1&&D(0,j9a,2,1);if(a&
2){var c;G((c=WQc(b))?0:-1,c)}},dependencies:[jR,zQ],encapsulation:2});var RU=function(){};RU.\u0275fac=function(a){return new (a||RU)};RU.\u0275mod=Cf({type:RU});RU.\u0275inj=p({imports:[lC,kR,BQ]});var SU=function(){Z.apply(this,arguments);var a=this;this.editIssueService=r(kJ);this.paramsService=r(TH);this.triageService=r(YG);this.subphase=this.phase=void 0;this.issueId$=this.triageService.currentIssueId$;this.teamId=this.paramsService.params.teamId;this.triageViewId=this.paramsService.params.triageId;this.triageFieldConfigs$=this.triageService.triageDataFactory.get(this.teamId,this.triageViewId).teamTriageViewExperiments$.pipe(z(function(b){return b==null?void 0:b.config}));this.customFieldConfigs$=
this.triageFieldConfigs$.pipe(z(function(b){b=b||[];var c=[];b=k(b);for(var d=b.next();!d.done;d=b.next())if(d=d.value,d.type==="CUSTOM_FIELD"){d=d.customFieldConfig;var e=d.defaultValues.find(function(f){var h;if(a.phase&&((h=f.phases)==null||!h.includes(a.phase)))return!1;var l;return!a.subphase||(l=f.subphases)!=null&&l.includes(a.subphase)?!0:!1});e&&c.push({customFieldId:d.customFieldId,defaultValues:[e]})}return c}));this.visibleCustomFields$=this.issueId$.pipe(Yf(function(b){return b?a.editIssueService.issueFields(b).visibleCustomFields$:
Ae(void 0)}));this.customFields$=Ie([this.visibleCustomFields$,this.customFieldConfigs$]).pipe(z(function(b){var c=k(b);b=c.next().value;c=c.next().value;var d=(c==null?void 0:c.map(function(e){return e.customFieldId}))||[];if(b=b==null?void 0:b.filter(function(e){return d.includes(String(e.customFieldId))}))return b}),Vf({refCount:!0,bufferSize:1}))};Y(SU,Z);SU.\u0275dir=Z.\u0275dir;
SU.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.customFieldConfigs$.subscribe(function(b){if(b){b=k(b);for(var c=b.next();!c.done;c=b.next())c=c.value,a.editableIssue.setCustomFieldValue(Number(c.customFieldId),c.defaultValues[0].value)}}))};SU.prototype.updateCustomField=function(a,b){this.editableIssue.setCustomField(a,b)};SU.\u0275fac=function(){var a;return function(b){return(a||(a=ee(SU)))(b||SU)}}();
SU.\u0275cmp=C({type:SU,selectors:[["triage-custom-fields-editor"]],inputs:{editableIssue:"editableIssue",phase:"phase",subphase:"subphase"},standalone:!1,features:[cg],decls:3,vars:2,consts:[[3,"issue","field"],[3,"save","issue","field"]],template:function(a,b){a&1&&(yg(0,k9a,1,2,"b-custom-field-editor",0,xg),S(2,"async"));a&2&&zg(U(2,0,b.customFields$))},dependencies:[QU,ew],encapsulation:2,changeDetection:0});var TU=function(){Z.apply(this,arguments);var a=this;this.hotlistPickerService=r(OS);this.issueFullFridge=r(QF);this.paramsService=r(TH);this.triageService=r(YG);this.hotlistIdsChange=new aB;this.hotlistIds=[];this.subphase=this.phase=void 0;this.triageViewId=this.paramsService.params.triageId;this.teamId=this.paramsService.params.teamId;this.issueId$=this.triageService.currentIssueId$.pipe(Ue(ik),Pf());this.issue$=this.issueId$.pipe(Yf(function(b){return a.issueFullFridge.watch(b)}))};Y(TU,Z);
TU.\u0275dir=Z.\u0275dir;
TU.prototype.ngOnInit=function(){var a=this,b,c,d,e,f;return se(function(h){if(h.nextAddress==1)return y(h,Fe(a.issue$),2);b=h.yieldResult;a.hotlistIds=(f=(c=b)==null?void 0:(d=c.snapshot[0])==null?void 0:(e=d.hotlistId)==null?void 0:e.map(String))!=null?f:[];a.hotlistIdsChange.emit(a.hotlistIds);a.subscriptions.add(voc(a.triageService.triageDataFactory.get(a.teamId,a.triageViewId),a.phase,a.subphase).subscribe(function(l){var q=[],u=[];l=k(l);for(var A=l.next();!A.done;A=l.next())A=A.value,A.operation===
"ADD"&&q.push.apply(q,t(A.hotlistIds)),A.operation==="REMOVE"&&u.push.apply(u,t(A.hotlistIds));q.length&&a.addHotlists(q);u.length&&a.removeHotlists(u)}));xe(h)})};
TU.prototype.openHotlistModal=function(){var a=this,b,c,d,e,f;return se(function(h){if(h.nextAddress==1)return y(h,Fe(a.issueId$),2);if(h.nextAddress!=3)return b=h.yieldResult,y(h,vMc(a.hotlistPickerService,b,a.hotlistIds.map(Number),!1),3);c=h.yieldResult;if(!c)return h.return();d=c;e=d.addedIds;f=d.removedIds;e.length>0&&a.addHotlists(e);f.length>0&&a.removeHotlists(f);xe(h)})};
TU.prototype.addHotlists=function(a){a=k(a);for(var b=a.next();!b.done;b=a.next())b=b.value,this.hotlistIds.includes(b)||this.hotlistIds.push(b);this.hotlistIdsChange.emit(this.hotlistIds)};TU.prototype.removeHotlists=function(a){a=k(a);for(var b=a.next();!b.done;b=a.next())b=this.hotlistIds.indexOf(b.value),b!==-1&&this.hotlistIds.splice(b,1);this.hotlistIdsChange.emit(this.hotlistIds)};TU.\u0275fac=function(){var a;return function(b){return(a||(a=ee(TU)))(b||TU)}}();
TU.\u0275cmp=C({type:TU,selectors:[["triage-hotlists-editor"]],inputs:{phase:"phase",subphase:"subphase"},outputs:{hotlistIdsChange:"hotlistIdsChange"},standalone:!1,features:[cg],decls:2,vars:3,consts:[[1,"bv2-issue-metadata-field","bv2-issue-metadata-field-inner","flex-1"],[1,"bv2-editable-title"],[1,"flex-1","hotlist-container","bv2-editable-value"],["type","button","mat-stroked-button","","aria-label","Add Hotlist","matTooltip","Add Hotlist",1,"small","add-hotlists-btn",3,"click"],["svgIcon",
"add",1,"icon-xs","margin-xs-right"],[3,"id"],[3,"removeHotlist","id"]],template:function(a,b){a&1&&(D(0,m9a,10,0,"div",0),S(1,"async"));if(a&2){var c;G((c=U(1,1,b.issue$))?0:-1,c)}},dependencies:[pB,eB,jy,mB,rB,oU,ew],encapsulation:2});var UU=function(){};UU.\u0275fac=function(a){return new (a||UU)};UU.\u0275mod=Cf({type:UU});UU.\u0275inj=p({imports:[jN,lC,WO,bz,Nx,LH,hN,nN,FN,mC,pC,fP]});var VU=function(){};VU.\u0275fac=function(a){return new (a||VU)};VU.\u0275mod=Cf({type:VU});VU.\u0275inj=p({imports:[lC,mC,ON]});var WU=function(){Z.apply(this,arguments);this.dialogRef=r(mI)};Y(WU,Z);WU.\u0275dir=Z.\u0275dir;WU.prototype.onSave=function(){this.dialogRef.close(this.selectedId)};WU.prototype.onCancel=function(){this.dialogRef.close()};WU.prototype.onSelect=function(a){this.selectedId=a==null?void 0:a.componentId};WU.\u0275fac=function(){var a;return function(b){return(a||(a=ee(WU)))(b||WU)}}();
WU.\u0275cmp=C({type:WU,selectors:[["component_picker_dialog"]],standalone:!1,features:[cg],decls:9,vars:1,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[3,"selectedComponentChange"],["mat-dialog-actions",""],["type","button","mat-button","",1,"medium","cancel",3,"click"],["type","button","mat-flat-button","","color","primary","data-test","save",1,"medium",3,"click","disabled"]],template:function(a,b){a&1&&(I(0,"header",0),Q(1," Choose a Component "),J(),I(2,"div",1)(3,"b-team-component-picker",
2),M("selectedComponentChange",function(c){return b.onSelect(c)}),J()(),I(4,"div",3)(5,"button",4),M("click",function(){return b.onCancel()}),Q(6," Cancel "),J(),I(7,"button",5),M("click",function(){return b.onSave()}),Q(8," Save "),J()());a&2&&(B(7),E("disabled",b.selectedId==null))},dependencies:[eB,jy,wI,yI,xI,tR],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 XU=function(){this.dialog=r(tI)};XU.prototype.open=function(a){var b=this,c={panelClass:"no-jitter"};return new Promise(function(d){nI(b.dialog.open(WU,c)).subscribe(function(e){a==null||a(e);d(e)})})};XU.\u0275fac=function(a){return new (a||XU)};XU.\u0275prov=n({token:XU,factory:XU.\u0275fac,providedIn:"root"});var YU=function(){};YU.\u0275fac=function(a){return new (a||YU)};YU.\u0275mod=Cf({type:YU});YU.\u0275inj=p({imports:[lC,bz,mC,xQ,pC,nC,XI,Nx,Jx,wP,Qw,hC,ON]});var ZU=function(){};ZU.\u0275fac=function(a){return new (a||ZU)};ZU.\u0275mod=Cf({type:ZU});ZU.\u0275inj=p({imports:[xP,lC,mC,YU,WM,pC,VU]});var bV=function(){};bV.\u0275fac=function(a){return new (a||bV)};bV.\u0275mod=Cf({type:bV});bV.\u0275inj=p({imports:[Ox,Ox]});var cV=function(){};cV.\u0275fac=function(a){return new (a||cV)};cV.\u0275mod=Cf({type:cV});cV.\u0275inj=p({imports:[lC,mC,bV]});var dV=function(){};dV.\u0275fac=function(a){return new (a||dV)};dV.\u0275mod=Cf({type:dV});dV.\u0275inj=p({imports:[lC,mC,WM,cV]});var eV=function(){};eV.\u0275fac=function(a){return new (a||eV)};eV.\u0275mod=Cf({type:eV});eV.\u0275inj=p({imports:[lC]});var fV=function(){};fV.\u0275fac=function(a){return new (a||fV)};fV.\u0275mod=Cf({type:fV});fV.\u0275inj=p({imports:[lC,WM,eV,dV,mC]});var XQc=function(a){this.uploadUrl_=a};var YQc=function(){Jq.call(this)};Nu(YQc,Jq);var gV=function(a){xF.call(this,a)};Nu(gV,xF);var hV=function(a){xF.call(this,a)};Nu(hV,xF);var ZQc=function(a,b){this.name_=a;this.inputElement_=b};ZQc.prototype.getName=function(){return this.name_};var $Qc=function(){this.maxChunkSize_=1073741824;this.retryOnHttpClientErrorEnabled_=!0};var iV=function(){Jq.call(this);this.name_="closure_frame"+aRc++;this.iframesForDisposal_=[];bRc[this.name_]=this},jV;Nu(iV,Jq);var bRc={},aRc=0,cRc=function(a,b){var c=Mq(a);atc(b,function(d,e){Array.isArray(d)||(d=[d]);Oa(d,function(f){f=c.createDom("INPUT",{type:"hidden",name:e,value:f});a.appendChild(f)})})};g=iV.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("pf");this.lastUri_=a=new Oq(a);b=b?b.toUpperCase():"GET";c&&ttc(a);jV||(jV=Dac("FORM"),jV.acceptCharset="utf-8",c=jV.style,c.position="absolute",c.visibility="hidden",c.top=c.left="-10px",c.width=c.height="10px",c.overflow="hidden",document.body.appendChild(jV));this.form_=jV;b=="GET"&&cRc(this.form_,a.queryData_);d&&cRc(this.form_,d);c=a.toString();d=this.form_;c=Sc(new Nc(c===null?"null":c===void 0?"undefined":c));c!==void 0&&(d.action=c);this.form_.method=
b;dRc(this);eRc(this)};g.abort=function(a){if(this.active_){var b=fRc(this);if(b)if(zF(b))b.removeAllListeners();else if(b=Flc(b)){var c=0,d;for(d in b.listeners)for(var e=b.listeners[d].concat(),f=0;f<e.length;++f)DF(e[f])&&++c}this.success_=this.active_=this.complete_=!1;this.lastErrorCode_=a||7;this.dispatchEvent("abort");gRc(this)}};
g.disposeInternal=function(){this.active_&&this.abort();iV.superClass_.disposeInternal.call(this);this.iframe_&&hRc(this);eRc(this);delete this.errorChecker_;this.lastUri_=this.lastContent_=this.form_=null;this.lastErrorCode_=0;delete bRc[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 oBc(this.lastContent_)};
g.getLastUri=function(){return this.lastUri_};g.getLastErrorCode=function(){return this.lastErrorCode_};g.getLastError=function(){return jGc(this.lastErrorCode_)};
var dRc=function(a){a.active_=!0;a.complete_=!1;a.lastErrorCode_=0;a.iframeName_=a.name_+"_"+(a.nextIframeId_++).toString(36);a.iframe_=Mq(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";Qu?b.marginTop=b.marginLeft="-10px":(b.position="absolute",b.top=b.left="-10px");Mq(a.form_).document_.body.appendChild(a.iframe_);b=a.iframeName_+"_inner";var c=Gac(a.iframe_);if(document.baseURI){var d=Yr(b);
d=Uc('<head><base href="'+Yr(document.baseURI)+'"></head><body><iframe id="'+d+'" name="'+d+'"></iframe>')}else d=Yr(b),d=Uc('<body><iframe id="'+d+'" name="'+d+'"></iframe>');c.write(Wc(d));Kq(c.getElementById(b),"load",a.onIframeLoaded_,!1,a);d=Kz("TEXTAREA",a.form_);for(var e=0,f=d.length;e<f;e++){var h=d[e].value,l=[];Kac(d[e],l,!1);l.join("")!=h&&(Rz(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=Kz("SELECT",a.form_);f=Kz("SELECT",
d);h=0;for(l=e.length;h<l;h++)for(var q=Kz("OPTION",e[h]),u=Kz("OPTION",f[h]),A=0,F=q.length;A<F;A++)u[A].selected=q[A].selected;e=Kz("INPUT",a.form_);f=Kz("INPUT",d);h=0;for(l=e.length;h<l;h++)if(e[h].type=="file"&&e[h].value!=f[h].value){a.form_.target=b;d=a.form_;break}try{a.errorHandled_=!1,d.submit(),c.close(),Pu&&setTimeout(a.testForFirefoxSilentError_.bind(a),250)}catch(H){CF(c.getElementById(b),"load",a.onIframeLoaded_,!1,a),c.close(),a.handleError_(2)}};
iV.prototype.onIframeLoaded_=function(){CF(fRc(this),"load",this.onIframeLoaded_,!1,this);try{var a=this.iframe_?Gac(fRc(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"),gRc(this))}catch(e){this.handleError_(1)}};
iV.prototype.handleError_=function(a){this.errorHandled_||(this.active_=this.success_=!1,this.complete_=!0,this.lastErrorCode_=a,this.dispatchEvent("complete"),this.dispatchEvent("error"),gRc(this),this.errorHandled_=!0)};
var gRc=function(a){hRc(a);eRc(a);a.form_=null;a.dispatchEvent("ready")},hRc=function(a){var b=a.iframe_;b&&(b.onreadystatechange=null,b.onload=null,b.onerror=null,a.iframesForDisposal_.push(b));a.iframeDisposalTimer_&&(clearTimeout(a.iframeDisposalTimer_),a.iframeDisposalTimer_=null);Pu?a.iframeDisposalTimer_=setTimeout(a.disposeIframes_.bind(a),2E3):a.disposeIframes_();a.iframe_=null;a.iframeName_=null};
iV.prototype.disposeIframes_=function(){this.iframeDisposalTimer_&&(clearTimeout(this.iframeDisposalTimer_),this.iframeDisposalTimer_=null);for(;this.iframesForDisposal_.length!=0;){var a=this.iframesForDisposal_.pop();Pz(a)}};var eRc=function(a){a.form_&&a.form_==jV&&Oz(a.form_)},fRc=function(a){return a.iframe_?Gac(a.iframe_).getElementById(a.iframeName_+"_inner"):null};
iV.prototype.testForFirefoxSilentError_=function(){if(this.active_){var a=this.iframe_?Gac(fRc(this)):null;a&&!m3b(a,"documentUri")?(CF(fRc(this),"load",this.onIframeLoaded_,!1,this),navigator.onLine?this.handleError_(3):this.handleError_(9)):setTimeout(this.testForFirefoxSilentError_.bind(this),250)}};var iRc=function(a,b,c,d,e){Jq.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 Oq(a);wJ(a,"upload_protocol","multipart");this.url_=a.toString();this.request_=new iV;this.state_="Ready";this.errorDescription_=
null;this.eventHandler_=new $r(this);Ur(this,this.eventHandler_);this.eventHandler_.listen(this.request_,"success",this.onTransferSuccess_);this.eventHandler_.listen(this.request_,"error",this.onTransferError_)};Y(iRc,YQc);g=iRc.prototype;g.run=function(){this.state_="Transferring";var a=this.request_,b=this.form_;if(a.active_)throw Error("pf");var c=new Oq(this.url_||b.action);a.lastUri_=c;a.form_=b;b=a.form_;c=Sc(c.toString());c!==void 0&&(b.action=c);dRc(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 gV("q"))};g.pause=function(){};g.unpause=function(){};g.onTransferSuccess_=function(){this.state_="Complete";this.dispatchEvent(new gV("n"))};
g.onTransferError_=function(){this.errorDescription_="Transfer failed.";this.state_="Error";this.dispatchEvent(new gV("p"))};var lRc=function(a,b){a.name!==void 0?(this.name=a.name,this.code=jRc[a.name]):(this.code=a=a.code,this.name=kRc(a));wa.call(this,F4b("%s %s",this.name,b))};Nu(lRc,wa);
var kRc=function(a){var b=kea(jRc,function(c){return a==c});if(b===void 0)throw Error("qf`"+a);return b},kV={},jRc=(kV.AbortError=3,kV.EncodingError=5,kV.InvalidModificationError=9,kV.InvalidStateError=7,kV.NotFoundError=1,kV.NotReadableError=4,kV.NoModificationAllowedError=6,kV.PathExistsError=12,kV.QuotaExceededError=10,kV.SecurityError=2,kV.SyntaxError=8,kV.TypeMismatchError=11,kV);var mRc=function(a,b){xF.call(this,a.type,b);this.event_=a};Nu(mRc,xF);var nRc=function(a,b,c){c===void 0&&(c=a.size);return a.slice?a.slice(b,c):null};Gq(function(){if(!ya.Blob)return!1;var a=new Uint8Array(100);try{var b=new Blob([a])}catch(c){return!1}return b.size!=100?!1:!0});var oRc=Gq(function(){if(!ya.Blob)return!1;var a=new Uint8Array(100);try{var b=new Blob([a])}catch(c){return!1}return nRc(b,0,1)===null?!1:!0});var pRc=function(){Jq.call(this);this.reader_=new FileReader;this.reader_.onloadstart=Lu(this.dispatchProgressEvent_,this);this.reader_.onprogress=Lu(this.dispatchProgressEvent_,this);this.reader_.onload=Lu(this.dispatchProgressEvent_,this);this.reader_.onabort=Lu(this.dispatchProgressEvent_,this);this.reader_.onerror=Lu(this.dispatchProgressEvent_,this);this.reader_.onloadend=Lu(this.dispatchProgressEvent_,this)};Nu(pRc,Jq);g=pRc.prototype;
g.abort=function(){try{this.reader_.abort()}catch(a){throw new lRc(a,"aborting read");}};g.getReadyState=function(){return this.reader_.readyState};g.getError=function(){return this.reader_.error&&new lRc(this.reader_.error,"reading file")};g.dispatchProgressEvent_=function(a){this.dispatchEvent(new mRc(a,this))};g.disposeInternal=function(){pRc.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 qRc=function(a){var b=new MJ;a.listen("loadend",Mu(function(c,d){var e=d.reader_.result,f=d.getError();e==null||f?(quc(c),NJ(c,!1,f)):c.callback(e);d.dispose()},b,a));return b};var lV=function(){lr.call(this)};Y(lV,lr);lV.prototype.createXhr=function(){var a=lr.prototype.createXhr.call(this);a.upload&&(a.upload.onprogress=Lu(this.onProgress_,this));return a};lV.prototype.onProgress_=function(a){this.dispatchEvent(a)};var rRc=function(){this.attempt_=-1;this.delayCallId_=null;this.maxDelayMs_=6E4;this.maxAttempts_=-1},tRc=function(a,b){var c=a.attempt_+1;if(a.maxAttempts_>0&&c>a.maxAttempts_)return!1;c==0?b():a.delayCallId_=mr(function(){a.delayCallId_=null;b()},sRc(a),a);a.attempt_=c;return!0};rRc.prototype.reset=function(){this.delayCallId_&&nr(this.delayCallId_);this.attempt_=-1};var sRc=function(a){var b=250*Math.pow(2,a.attempt_);a.maxDelayMs_>=0&&(b=Math.min(b,a.maxDelayMs_));return b};var o9a=["Content-Length","Content-Type","Content-Encoding","Transfer-Encoding"];var uRc=function(a){Jq.call(this);a=a||new $Qc;this.request_=this.state_=null;this.withCredentials_=!1;this.transferHandle_=null;this.offset_=this.bytesTransferred_=0;this.retryIterator_=new rRc;this.retryIterator_.maxAttempts_=6;this.retryIterator_.maxDelayMs_=6E4;this.errorType_=this.errorDescription_=null;this.eventHandler_=new $r(this);Ur(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};Nu(uRc,YQc);g=uRc.prototype;g.run=function(){mV(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 lV,a.withCredentials_=this.withCredentials_,a.send(this.transferHandle_.uploadUrl_,"POST","",{"X-Goog-Upload-Command":"cancel"});this.state_="Cancel";this.bytesTransferred_=0;this.dispatchEvent(new gV("q"))}};
g.pause=function(){this.pauseRequested_=!0};g.unpause=function(){this.pauseRequested_=!1;this.state_==="Paused"&&(this.state_=this.stateAfterUnpausing_,this.stateAfterUnpausing_=null,vRc(this))};
var mV=function(a){var b=a.state_;a.pauseRequested_?(a.pauseRequested_=!1,a.stateAfterUnpausing_=b,a.state_="Paused"):tRc(a.retryIterator_,function(){return vRc(a)})||nV(a,1,"Transfer encountered too many consecutive failures.")},vRc=function(a){switch(a.state_){case "Start":a.start_();break;case "Upload":var b=a.transferHandle_.uploadUrl_,c=a.blob_.size;if(oRc()){var d=a.chunkSize_;var e=a.offset_+d>=c;c=nRc(a.blob_,a.offset_,e?c:a.offset_+d)}else a.offset_=0,c=a.blob_,e=!0;a.request_=new lV;a.request_.withCredentials_=
a.withCredentials_;a.eventHandler_.removeAll();a.eventHandler_.listen(a.request_,"progress",a.onUploadProgress_);d=Lu(a.onUploadComplete_,a,a.offset_+c.size,e);a.eventHandler_.listen(a.request_,"complete",d);a.lastCommandResponseCode_=null;a.dispatchEvent(new hV("s"));e=Object.assign({},a.headers_||{},{"X-Goog-Upload-Command":"upload"+(e?", finalize":""),"X-Goog-Upload-Offset":a.offset_});a.request_.send(b,"POST",c,e);break;case "Query":a.query_();break;default:throw Error("rf");}},nV=function(a,
b,c){a.state_="Error";a.errorDescription_=c;a.errorType_=b;a.dispatchEvent(new gV("p"))};g=uRc.prototype;
g.start_=function(){this.request_=new lV;var a=Jc(this.headers_);this.blob_.size!=null&&(a["Content-Length"]=this.blob_.size);a=p9a(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 hV("s"))};
g.onStartComplete_=function(a){var b=a.target;this.lastCommandResponseCode_=b.getStatus();this.dispatchEvent(new hV("t"));wRc(b)?xRc(this,b):yRc(b)?(b=Sr(a.target.getAllResponseHeaders()),this.dispatchEvent(new gV("o")),a=Tr(b,"X-Goog-Upload-URL"),b=(b=Tr(b,"X-Goog-Upload-Chunk-Granularity"))?parseInt(b,10):1,a===void 0||isNaN(b)||b<=0?nV(this,2,"Server returned invalid headers."):(this.chunkSize_=Math.floor(this.maxChunkSize_/b)*b,this.transferHandle_=new XQc(a),this.dispatchEvent(new gV("r")),this.state_=
"Upload",this.retryIterator_.reset(),mV(this))):mV(this)};g.onUploadProgress_=function(a){this.bytesTransferred_=this.offset_+a.loaded;this.dispatchEvent(new gV("m"))};
g.onUploadComplete_=function(a,b,c){var d=this,e,f;return se(function(h){switch(h.nextAddress){case 1:e=c.target;d.lastCommandResponseCode_=e.getStatus();d.dispatchEvent(new hV("t"));if(d.retryOnHttpClientErrorEnabled_?zRc(e)||e.getStatus()==404:wRc(e))return d.bytesTransferred_=a,xRc(d,e),h.return();if(yRc(e)){h.jumpTo(2);break}if(!(f=d.detectCorruptedBlobEnabled_)){h.jumpTo(3);break}return y(h,ARc(d),4);case 4:f=h.yieldResult;case 3:if(f)return nV(d,3,"Blob has been modified or corrupted."),h.return();
d.requireUploadRequestModification_=e.getStatus()==400;d.state_="Query";mV(d);return h.return();case 2:if(b)return nV(d,4,"Got a non-final success response after issuing a finalize command."),h.return();d.bytesTransferred_=a;d.offset_=a;d.retryIterator_.reset();mV(d);return h.return()}})};
g.query_=function(){this.request_=new lV;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 hV("s"))};
g.onQueryComplete_=function(a){var b=a.target;this.lastCommandResponseCode_=b.getStatus();this.dispatchEvent(new hV("t"));wRc(b)?(b.getStatus()===200&&(this.bytesTransferred_=this.blob_.size),xRc(this,b)):yRc(b)?(a=Sr(a.target.getAllResponseHeaders()),a=parseInt(Tr(a,"X-Goog-Upload-Size-Received"),10),isNaN(a)?nV(this,5,"Server did not respond with current offset."):a<this.offset_?nV(this,6,"Server lost bytes! Expected an offset of at least "+this.offset_+", but got an offset of "+a+"."):this.requireUploadRequestModification_&&
this.offset_===a?nV(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",mV(this))):mV(this)};
var xRc=function(a,b){a.responseCode_=b.getStatus();var c=Sr(b.getAllResponseHeaders());a.responseHeaders_=q9a(c);a.responseText_=b.getResponseText();a.state_="Response received";a.dispatchEvent(new gV("n"))},yRc=function(a){var b=a.getStatus();a=Sr(a.getAllResponseHeaders());a=Tr(a,"X-Goog-Upload-Status");return b===200&&a==="active"},zRc=function(a){a=Sr(a.getAllResponseHeaders());return Tr(a,"X-Goog-Upload-Status")==="final"},wRc=function(a){if(zRc(a))return!0;a=a.getStatus();return a>=400&&a<
500},ARc=function(a){var b;return se(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);te(c,2);if(b=nRc(a.blob_,0,1)){var d=new pRc,e=qRc(d);d.readAsBinaryString(b);c=y(c,e,4)}else c=c.return(!0);return c}if(c.nextAddress!=2)return c.return(a.blob_.size!==a.originalBlobSize_);we(c);return c.return(!0)})};var BRc=function(a,b,c,d,e,f){Jq.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 tj;this.boundary_="uploader-"+J4b()+"-"+a.toIsoString();this.transferRequest_=null;this.bytesTransferred_=0;this.responseText_=this.responseHeaders_=this.responseCode_=null;this.state_="Ready";this.errorDescription_=null;this.eventHandler_=new $r(this);Ur(this,this.eventHandler_)};Y(BRc,YQc);g=BRc.prototype;
g.run=function(){var a=Jc(this.headers_);this.payload_.length!=null&&(a["Content-Length"]=this.payload_.length);a=p9a(a);a["X-Goog-Upload-Protocol"]="multipart";a["Content-Type"]="multipart/related; boundary="+this.boundary_;this.state_="Transferring";this.transferRequest_=new lV;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 gV("q")))};g.pause=function(){};g.unpause=function(){};
g.onTransferProgress_=function(a){this.bytesTransferred_=Math.max(0,a.loaded-this.metadataOverhead_);this.dispatchEvent(new gV("m"))};g.onTransferComplete_=function(a){var b=a.target.getStatus();b===void 0||b===-1?(this.errorDescription_="Connection broken before response was received.",this.state_="Error",this.dispatchEvent(new gV("p"))):(this.responseCode_=b,a=a.target,b=Sr(a.getAllResponseHeaders()),this.responseHeaders_=q9a(b),this.responseText_=a.getResponseText(),this.state_="Complete",this.dispatchEvent(new gV("n")))};var CRc=function(){},DRc=function(a,b,c,d,e){e=e===void 0?!1:e;if(c instanceof ZQc)return new iRc(a,"POST",b,c.inputElement_,d);if(typeof c==="string"||c instanceof String)return new BRc(a,"POST",b,c,d);var f=new uRc(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 ERc=new zd("ScottyUploaderConfigFactory"),FRc=new zd("ScottyUploader",{factory:function(){return new CRc}}),oV=function(a,b){this.uploader=a;this.configFactory=b;this.internalTransferStatus=new Uf;this.transferStatus=pu(this.internalTransferStatus)};
oV.prototype.upload=function(a,b){var c=this;b=b===void 0?this.configFactory.create(a):b;a=DRc(b.url,b.headers||{},a,b.metadata||"",!!b.withCredentials);this.transferSubscription&&!b.allowSimultaneousUpload&&this.transferSubscription.unsubscribe();this.transferSubscription=Te(Pe(a,"o"),Pe(a,"m"),Pe(a,"r"),Pe(a,"p"),Pe(a,"n"),Pe(a,"q")).pipe(Zf(Pe(a,"n").pipe(Of(0)))).subscribe(function(d){c.internalTransferStatus.next(d)});a.run()};oV.\u0275fac=function(a){return new (a||oV)(pd(FRc),pd(ERc))};
oV.\u0275prov=n({token:oV,factory:oV.\u0275fac});var GRc=function(a){this.name_=a;this.files_=[];this.directories_=[];this.directoryMap_={}};GRc.prototype.getDirectory=function(a){return this.directoryMap_[a]};GRc.prototype.getName=function(){return this.name_};var IRc=function(a,b,c){b=b===void 0?"single_file":b;c=c===void 0?[]:c;Jq.call(this);this.overlayTarget_=a;this.parentOverlay_=a!=null?a.parentNode:Vq(document,"scotty-overlay-parent");this.selectorType_=b;this.acceptTypes_=c;this.overlay_=HRc(this,this.overlayTarget_,this.selectorType_,this.acceptTypes_)};Y(IRc,Jq);
var HRc=function(a,b,c,d){var e=document.createElement("input");e.setAttribute("type","file");e.setAttribute("name","Filedata");Kq(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),es(e,new cs(b.offsetLeft,b.offsetTop)),e;a.parentOverlay_.appendChild(e);return e};IRc.prototype.click=function(){this.overlay_.click()};
IRc.prototype.onFilesSelected_=function(a){a:{try{var b=(new XMLHttpRequest).upload!==void 0;break a}catch(u){}b=!1}if(b){var c;a=Array.from((c=a.target.files)!=null?c:[]);c=[];if(this.selectorType_==="single_directory"&&(Qu||o3b||Pu)){c=new GRc("");if(File.prototype.hasOwnProperty("webkitRelativePath"))for(b=0;b<a.length;b++)for(var d=a[b],e=d.webkitRelativePath.split("/"),f=c,h=0;h<e.length;h++){var l=e[h];if(h==e.length-1){l!="."&&f.files_.push(d);break}var q=f.getDirectory(l);q==void 0&&(l=q=
new GRc(l),f.directoryMap_[l.getName()]=l,f.directories_.push(l));f=q}c=c.directories_}this.dispatchEvent(new JRc(a,c,null))}else a=a.target.value,a.match(/^c:\\fakepath\\/i)&&(a=a.substring(12)),this.dispatchEvent(new JRc([],[],new ZQc(a,this.overlay_)));this.parentOverlay_.removeChild(this.overlay_);this.overlay_=HRc(this,this.overlayTarget_,this.selectorType_,this.acceptTypes_)};
var KRc={SINGLE_FILE_SELECTION:"single_file",MULTIPLE_FILE_SELECTION:"multiple_file",SINGLE_DIRECTORY_SELECTION:"single_directory"},JRc=function(a,b){xF.call(this,"y");this.files=a;this.directories=b};Y(JRc,xF);var pV=function(a,b){this.elementRef=a;this.ngZone=b;this.destroyed=new Tf(1);this.supportedFileExtensions=null;this.fileExtensionRejected=new Dv;this.maxFileSize=null;this.fileSizeRejected=new Dv;this.fileSelected=new Dv;this.fileNameLengthRejected=new Dv};
pV.prototype.ngAfterViewInit=function(){var a=this;this.getOverlay().pipe(Yf(function(b){return Te(Pe(b,"u"),Pe(b,"y"))}),Zf(this.destroyed)).subscribe(function(b){a.ngZone.run(function(){a:{if(a.supportedFileExtensions){var c=k(b.files);for(var d=c.next();!d.done;d=c.next()){d=d.value.name;var e=d.lastIndexOf(".");if(!a.supportedFileExtensions.includes(e!==-1?d.substr(e+1).toLowerCase():"")){c=!1;break a}}}c=!0}if(c){a:{if(a.maxFileSize)for(c=k(b.files),d=c.next();!d.done;d=c.next())if(d.value.size>
a.maxFileSize){c=!1;break a}c=!0}if(c){a:{if(a.maxFileNameLength)for(c=k(b.files),d=c.next();!d.done;d=c.next())if(d.value.name.length>a.maxFileNameLength){c=!1;break a}c=!0}c?a.fileSelected.emit(b):a.fileNameLengthRejected.emit(b)}else a.fileSizeRejected.emit(b)}else a.fileExtensionRejected.emit(b)})});this.getOverlay().subscribe(function(b){Pe(b,"w").subscribe(function(){a.ngZone.run(function(){})})});this.getOverlay().subscribe(function(b){Pe(b,"x").subscribe(function(){a.ngZone.run(function(){})})})};
pV.prototype.ngOnDestroy=function(){this.destroyed.next(!0);this.destroyed.complete()};pV.\u0275fac=function(a){return new (a||pV)(hf(ef),hf(kh))};pV.\u0275dir=Df({type:pV,inputs:{supportedFileExtensions:"supportedFileExtensions",maxFileSize:"maxFileSize",maxFileNameLength:"maxFileNameLength"},outputs:{fileExtensionRejected:"fileExtensionRejected",fileSizeRejected:"fileSizeRejected",fileSelected:"fileSelected",fileNameLengthRejected:"fileNameLengthRejected"}});var qV=function(a,b){pV.call(this,a,b);this.overlay=this.fileSelectorOverlay=null};Y(qV,pV);
qV.prototype.getOverlay=function(){var a=this;this.overlay||(this.overlay=this.ngZone.runOutsideAngular(function(){return Te(Pe(a.elementRef.nativeElement,"mouseover"),Pe(a.elementRef.nativeElement,"focus")).pipe(Rf(),Zf(a.destroyed),z(function(){a.fileSelectorOverlay=new IRc(a.elementRef.nativeElement,a.selectorType,LRc(a));a.fileSelectorOverlay.overlay_.style.display="none";return a.fileSelectorOverlay}),Vf(1))}));return this.overlay};qV.prototype.onClick=function(){this.fileSelectorOverlay&&this.fileSelectorOverlay.click()};
var LRc=function(a){return(a.supportedFileExtensions||[]).map(function(b){return"."+b})};qV.\u0275fac=function(a){return new (a||qV)(hf(ef),hf(kh))};qV.\u0275dir=Df({type:qV,hostBindings:function(a,b){a&1&&M("click",function(){return b.onClick()})},inputs:{selectorType:"selectorType"},standalone:!1,features:[cg]});var rV=function(a,b,c){qV.call(this,a,b);this.uploader=c;this.disableAutoUploadInternal=!1};Y(rV,qV);
rV.prototype.ngOnInit=function(){var a=this;this.fileSelected.pipe(Zf(this.destroyed),Ue(function(){return!a.disableAutoUpload})).subscribe(function(b){b=k(b.files);for(var c=b.next();!c.done;c=b.next()){c=c.value;var d=void 0;(d=a.uploader)==null||d.upload(c)}})};da.Object.defineProperties(rV.prototype,{disableAutoUpload:{configurable:!0,enumerable:!0,get:function(){return this.disableAutoUploadInternal},set:function(a){this.disableAutoUploadInternal=di(a)}}});
rV.\u0275fac=function(a){return new (a||rV)(hf(ef),hf(kh),hf(oV,8))};rV.\u0275dir=Df({type:rV,selectors:[["","xapUploaderTrigger",""],["","xapScottyUploaderTrigger",""]],inputs:{disableAutoUpload:"disableAutoUpload"},standalone:!1,features:[cg]});var sV=function(){this.SelectorType=KRc;this.includeTextLabel=this.disabled=!1;this.onSelect=new aB},r9a=function(a,b){if(b=b.files){b=k(b);for(var c=b.next();!c.done;c=b.next())a.onSelect.emit(c.value)}};sV.\u0275fac=function(a){return new (a||sV)};
sV.\u0275cmp=C({type:sV,selectors:[["b-attachment-selector"]],inputs:{disabled:"disabled",includeTextLabel:"includeTextLabel"},outputs:{onSelect:"onSelect"},standalone:!1,decls:3,vars:1,consts:[[1,"goog-inline-block","vertical-centered"],["type","button","mat-icon-button","","xapUploaderTrigger","","matTooltip","Add attachments","aria-label","Add attachments",3,"selectorType","disableAutoUpload","disabled"],["type","button","mat-stroked-button","","xapUploaderTrigger","","matTooltip","Add attachments",
"aria-label","Add attachments",3,"selectorType","disableAutoUpload","disabled"],["type","button","mat-icon-button","","xapUploaderTrigger","","matTooltip","Add attachments","aria-label","Add attachments",3,"fileSelected","selectorType","disableAutoUpload","disabled"],["svgIcon","attachment"],["type","button","mat-stroked-button","","xapUploaderTrigger","","matTooltip","Add attachments","aria-label","Add attachments",3,"fileSelected","selectorType","disableAutoUpload","disabled"]],template:function(a,
b){a&1&&(I(0,"div",0),D(1,s9a,2,3,"button",1)(2,t9a,3,3,"button",2),J());a&2&&(B(),G(b.includeTextLabel?2:1))},dependencies:[pB,eB,jy,ly,mB,rB,rV],encapsulation:2});var MRc=function(a,b){Orc.call(this,a.size,a.name);var c=this;this.destroyed$=new Uf;this.onTransferEventUpdate=function(d){var e=d.target;c.transfer=e;switch(d.type){case "m":case "o":case "r":c.state=1;c.transferredBytes=e.getBytesTransferred()||0;break;case "p":c.handleError(e);break;case "n":c.transferredBytes=e.getBytesTransferred()||0;(d=e.getResponseCode())&&d!=200?c.handleError(e):(d=e.getResponseText())?(c.state=2,c.blobRef=JSON.parse(d).encryptedMedia):c.handleError(e);c.unsubscribe();break;
case "q":c.state=4;c.transferredBytes=e.getBytesTransferred()||0;break;default:c.transferredBytes=e.getBytesTransferred()||0}};b.pipe(Zf(this.destroyed$)).subscribe(function(d){c.onTransferEventUpdate(d)})};Y(MRc,Orc);
MRc.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){nj("Unable to extract error message",b,d);var c;this.errorMessage=(c=a.getErrorDescription())!=null?c:""}this.errorMessage||(this.errorMessage="Error while uploading.")};MRc.prototype.cancel=function(){var a,b;(a=this.transfer)==null||(b=a.cancel)==null||b.call(a);this.unsubscribe()};
MRc.prototype.unsubscribe=function(){this.destroyed$.next();this.destroyed$.complete()};var tV=function(){this.activeSession=r(Bu)};
tV.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=Qba(c);a=bJa(a.name)?a.name:b;return{url:wJ(utc().setPath("/upload/"),"authuser",this.activeSession.getSessionIdentifier()).toString(),headers:{"X-Bv2-Encoded-Upload-File-Name":b,
"X-Goog-Upload-File-Name":a},withCredentials:!0}};tV.\u0275fac=function(a){return new (a||tV)};tV.\u0275prov=n({token:tV,factory:tV.\u0275fac,providedIn:"root"});var uV=function(){this.uploader=r(FRc);this.uploaderConfigFactory=r(tV)};uV.prototype.create=function(){return new oV(this.uploader,this.uploaderConfigFactory)};uV.\u0275fac=function(a){return new (a||uV)};uV.\u0275prov=n({token:uV,factory:uV.\u0275fac,providedIn:"root"});var x9a=function(a){return{"attachment-error":a}},vV=function(){Z.apply(this,arguments);this.scottyUploaderFactory=r(uV);this.uploads=[];this.onUploadCancel=new aB;this.onUploadComplete=new aB;this.uploadStates=Prc};Y(vV,Z);vV.\u0275dir=Z.\u0275dir;vV.prototype.ngOnDestroy=function(){Z.prototype.ngOnDestroy.call(this);for(var a=k(this.uploads),b=a.next();!b.done;b=a.next())b.value.cancel()};
vV.prototype.upload=function(a){var b=this,c=this.scottyUploaderFactory.create();c.upload(a);a=new MRc(a,c.transferStatus);c.transferStatus.pipe(Zf(this.destroyed$)).subscribe(function(d){d.type==="n"&&b.onUploadComplete.emit()});return a};vV.prototype.cancel=function(a){a.cancel();this.onUploadCancel.emit(a)};vV.\u0275fac=function(){var a;return function(b){return(a||(a=ee(vV)))(b||vV)}}();
vV.\u0275cmp=C({type:vV,selectors:[["b-attachment-uploader"]],inputs:{uploads:"uploads"},outputs:{onUploadCancel:"onUploadCancel",onUploadComplete:"onUploadComplete"},standalone:!1,features:[cg],decls:1,vars:1,consts:[[1,"attachments"],[1,"attachment",3,"ngClass"],[1,"attachment-title"],["svgIcon","file-present"],[1,"issue-attachment-filename",3,"matTooltip"],[1,"attachment-filesize"],["role","alert","aria-live","assertive"],["type","button",1,"bv2-remove-icon","keep-focus-ring","attachment-cancel-button",
3,"click","matTooltip"]],template:function(a,b){a&1&&D(0,z9a,3,0,"div",0);a&2&&G(b.uploads.length>0?0:-1)},dependencies:[aw,pB,mB,rB,Ngc],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 NRc=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 ORc=function(a){Orc.call(this,a.size,a.name);this.attachment=a};Y(ORc,Orc);var PRc=function(a,b){a.state=1;Arc(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=Zo(c)?$o(c):"Error while uploading."})};var wV=function(a){this.id_=a;this.opts={}};g=wV.prototype;g.setLabel=function(a){this.label_=a||void 0;return this};g.setOptions=function(a){this.opts=a;return this};g.setQuery=function(a){this.opts.query=a;return this};g.setParent=function(a){this.opts.parent=a;return this};g.toArray=function(){var a=Gc(this.opts,function(c){return c!==null});a=Hc(a)?null:a;a=[this.id_,this.label_,a];var b=Eba(a,Xac);return a=a.slice(0,b+1)};
g.toString=function(){var a=this.toArray();return"("+j3b(a,function(b){return JSON.stringify(b)}).join(",")+")"};g.getId=function(){return this.id_};g.getLabel=function(){return this.label_};g.getOptions=function(){return Jc(this.opts)};g.getQuery=function(){return this.opts.query};var xV=function(a){wV.call(this,a||"all")};Nu(xV,wV);var QRc=["dr","fileIds","parent"],RRc=function(){var a=(new xV("all")).setOwnedByMe(!0);a.opts.drdis=!0;a.opts.includeFolders=!0;a.opts.sortKey=7;a.opts.ff=!0;return a};g=xV.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){xV.superClass_.setLabel.call(this,a);return this};
g.setQuery=function(a){xV.superClass_.setQuery.call(this,a);return this};g.setParent=function(a){for(var b=k(QRc),c=b.next();!c.done;c=b.next())c=c.value,this.opts[c]&&delete this.opts[c];xV.superClass_.setParent.call(this,a);return this};g.setItems=function(a){this.opts.items=a};var SRc=function(){wV.call(this,"image-search")};Y(SRc,wV);g=SRc.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){wV.prototype.setLabel.call(this,a);return this};g.setQuery=function(a){wV.prototype.setQuery.call(this,a);return this};g.setParent=function(a){wV.prototype.setParent.call(this,a);return this};var TRc=function(){wV.call(this,"maps")};Y(TRc,wV);g=TRc.prototype;g.setMode=function(a){this.opts.mode=a;return this};g.setZoom=function(a){this.opts.zoom=a;return this};g.setLabel=function(a){wV.prototype.setLabel.call(this,a);return this};g.setQuery=function(a){wV.prototype.setQuery.call(this,a);return this};g.setParent=function(a){wV.prototype.setParent.call(this,a);return this};var URc=function(){wV.call(this,"photos")};Y(URc,wV);g=URc.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){wV.prototype.setLabel.call(this,a);return this};g.setQuery=function(a){wV.prototype.setQuery.call(this,a);return this};g.setParent=function(a){wV.prototype.setParent.call(this,a);return this};g.removeDuplicates=function(){this.opts.rdv=!0;return this};var yV=function(){wV.call(this,"url")};Y(yV,wV);yV.prototype.setType=function(a){this.opts.type=a;return this};yV.prototype.setLabel=function(a){wV.prototype.setLabel.call(this,a);return this};yV.prototype.setQuery=function(a){wV.prototype.setQuery.call(this,a);return this};yV.prototype.setParent=function(a){wV.prototype.setParent.call(this,a);return this};var VRc=function(){wV.call(this,"video-search")};Y(VRc,wV);VRc.prototype.setLabel=function(a){wV.prototype.setLabel.call(this,a);return this};VRc.prototype.setQuery=function(a){wV.prototype.setQuery.call(this,a);return this};VRc.prototype.setParent=function(a){wV.prototype.setParent.call(this,a);return this};var WRc=function(){wV.call(this,"web")};Y(WRc,wV);WRc.prototype.setLabel=function(a){wV.prototype.setLabel.call(this,a);return this};WRc.prototype.setQuery=function(a){wV.prototype.setQuery.call(this,a);return this};WRc.prototype.setParent=function(a){wV.prototype.setParent.call(this,a);return this};var zV=function(){this.root_=void 0;this.items_=[];this.opts={}},XRc=function(a){switch(a){case "image-search":return new SRc;case "maps":return new TRc;case "photos":return new URc;case "url":return new yV;case "video-search":return new VRc;case "web":return new WRc}return new wV(a)};zV.prototype.addView=function(a){this.items_.push(typeof a==="string"?XRc(a):a);return this};
var YRc=function(a){return"("+j3b(a.items_,function(b){return b.toString()}).join(",")+")"},ZRc=function(a){a=Gc(a.opts,function(b){return b!==null});return(a=Hc(a)?null:a)?JSON.stringify(gea(a,function(b){return b.toString()})):""};zV.prototype.toString=function(){if(this.root_){var a=["{root:",this.root_.toString(),",items:",YRc(this)],b=ZRc(this);b&&(a.push(",options:"),a.push(b));a.push("}");return a.join("")}return YRc(this)};
zV.prototype.getViews=function(a,b){b=b===void 0?[]:b;for(var c=this.items_,d=0;d<c.length;d++){var e=c[d];e instanceof zV?e.getViews(a,b):e.getId()==a&&b.push(e)}return b};zV.prototype.getOptions=function(){return Jc(this.opts)};zV.prototype.setCollapsible=function(a){this.opts.collapsible=a};var $Rc=function(a){this.basePickerUrl_=a||"https://docs.google.com/picker";this.nav_=new zV};g=$Rc.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.getViews=function(a){return this.nav_.getViews(a)};g.setAppId=function(a){this.appId_=a};g.setCallback=function(a){this.callback_=a;return this};var aSc=function(a){$Rc.call(this,a)};Nu(aSc,$Rc);var AV=function(a){Jq.call(this);this.dom_=a||Mq();this.rightToLeft_=bSc;this.id_=null;this.inDocument_=!1;this.element_=null;this.googUiComponentHandler_=void 0;this.childIndex_=this.children_=this.parent_=null;this.wasDecorated_=!1};Nu(AV,Jq);AV.prototype.idGenerator_=ms.getInstance();var bSc=!1;g=AV.prototype;g.getId=function(){return this.id_||(this.id_=Zr(this.idGenerator_))};
g.setId=function(a){this.parent_&&this.parent_.childIndex_&&(Ic(this.parent_.childIndex_,this.id_),nea(this.parent_.childIndex_,a,this));this.id_=a};g.getElement=function(){return this.element_};g.getHandler=function(){this.googUiComponentHandler_||(this.googUiComponentHandler_=new $r(this));return this.googUiComponentHandler_};
g.setParent=function(a){if(this==a)throw Error("sf");if(a&&this.parent_&&this.id_&&cSc(this.parent_,this.id_)&&this.parent_!=a)throw Error("sf");this.parent_=a;AV.superClass_.setParentEventTarget.call(this,a)};g.getParent=function(){return this.parent_};g.setParentEventTarget=function(a){if(this.parent_&&this.parent_!=a)throw Error("tf");AV.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("uf");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("uf");if(a&&this.canDecorate(a)){this.wasDecorated_=!0;var b=Jz(a);this.dom_&&this.dom_.document_==b||(this.dom_=Mq(a));this.decorateInternal(a);this.enterDocument()}else throw Error("vf");};
g.canDecorate=function(){return!0};g.decorateInternal=function(a){this.element_=a};g.enterDocument=function(){this.inDocument_=!0;dSc(this,function(a){!a.inDocument_&&a.getElement()&&a.enterDocument()})};g.exitDocument=function(){dSc(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_);dSc(this,function(a){a.dispose()});!this.wasDecorated_&&this.element_&&Pz(this.element_);this.parent_=this.element_=this.childIndex_=this.children_=null;AV.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("uf");if(a<0||a>(this.children_?this.children_.length:0))throw Error("wf");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;Ta(this.children_)}else nea(this.childIndex_,(void 0).getId());(void 0).setParent(this);Iba(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_=Vs(this.inDocument_?this.element_:this.dom_.document_.body));return this.rightToLeft_};g.hasChildren=function(){return!!this.children_&&this.children_.length!=0};var cSc=function(a,b){return a.childIndex_&&b?oea(a.childIndex_,b)||null:null},dSc=function(a,b){a.children_&&a.children_.forEach(b,void 0)};
AV.prototype.removeChild=function(a,b){if(a){var c=typeof a==="string"?a:a.getId();a=cSc(this,c);c&&a&&(Ic(this.childIndex_,c),Ta(this.children_,a),b&&(a.exitDocument(),a.element_&&Pz(a.element_)),a.setParent(null))}if(!a)throw Error("xf");return a};AV.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};Nu(B9a,A9a);var eSc=function(a){A9a.call(this,"visibility");this.visible=a};Nu(eSc,A9a);var fSc=Eu(["//www-onepick-opensocial.googleusercontent.com/gadgets/js/rpc.js?c=1&container=onepick"]),gSc=Eu(["//apis.google.com/js/rpc.js"]),hSc=zi(fSc),iSc=zi(gSc),D9a=null;var jSc=function(a){Jq.call(this);this.element_=a;this.listenKeyIn_=Kq(this.element_,"focus",this,!0);this.listenKeyOut_=Kq(this.element_,"blur",this,!0)};Nu(jSc,Jq);jSc.prototype.handleEvent=function(a){var b=new yF(a.event_);b.type=a.type=="focusin"||a.type=="focus"?"focusin":"focusout";this.dispatchEvent(b)};jSc.prototype.disposeInternal=function(){jSc.superClass_.disposeInternal.call(this);DF(this.listenKeyIn_);DF(this.listenKeyOut_);delete this.element_};var kSc=new Map;kSc.set("application/vnd.google-apps.document","application/vnd.google-gsuite.document-blob");kSc.set("application/vnd.google-apps.spreadsheet","application/vnd.google-gsuite.spreadsheet-blob");kSc.set("application/vnd.google-apps.presentation","application/vnd.google-gsuite.presentation-blob");var lSc=new Set;lSc.add("application/vnd.google-apps.kix");lSc.add("application/vnd.google-apps.ritz");lSc.add("application/vnd.google-apps.punch");var xSc=function(a,b,c){var d=c&&Kh(c,1);c=mSc(c);switch(a[0].getId().getSourceId()){case 13:return nSc(a,b,d,c);case 3:return oSc(a,b,d,c);case 10:return pSc(a,b,d,c);case 12:return qSc(a,b);case 2:return rSc(a,b,d,c);case 5:return sSc(a,b,d,c);case 9:return tSc(a,b,d,c);case 6:return uSc(a,b,d,c);case 25:return vSc(a,b,d,c);case 1:return Jk(a[0],U$b,26)?wSc(a,b,d,c):pSc(a,b,d,c);default:return{}}},uSc=function(a,b,c,d){a=a.map(function(e){return{id:e.getId().getId(),serviceId:"youtube",name:e.getName(),
description:e.getDescription(),type:BV(e),lastEditedUtc:W(e,rk,16).toDate().getTime(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",url:e.getUrl(),embedUrl:Kh(e,13),thumbnails:CV(Bz(e))}});return{action:b,docs:a,viewToken:d,view:c||"youtube",v2Translated:!0}},rSc=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:BV(f),lastEditedUtc:f.getLastModifiedTimestamp().toDate().getTime(),url:f.getUrl(),
sizeBytes:p4b(f),description:f.getDescription(),iconUrl:f.getIconUrl(),thumbnails:CV(Bz(f)),isShared:W(f,Cz,21).getShared(),downloadUrl:W(f,Cz,21).getDownloadUrl(),embedUrl:Kh(f,13),copyable:Ak(W(f,Cz,21),9),resourceKey:Kh(W(f,Cz,21),11)};Ak(W(f,Cz,21),12)&&(h.uploadState="success",h.isNew=!0);if(W(f,Cz,21).hasVideoMetadata()){f=W(f,Cz,21).getVideoMetadata();if(Jk(f,tk,2)){var l=f.getDuration().getSeconds_asLegacyNumberOrString()+f.getDuration().getNanos()/1E9;h.duration=l}h.aspectRatio=tm(f,1)}return h});
return{action:b,docs:e,viewToken:d,view:c||"all",extraUserInputs:ySc(a),v2Translated:!0}},sSc=function(a,b,c,d){a=a.map(function(e){var f=W(W(e,dac,15),T$b,1);Xu(e,10,T$b,f);return{id:e.getId().getId(),serviceId:"web",mimeType:e.getMimeType(),name:e.getName(),type:BV(e),url:e.getUrl(),description:e.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:CV(Bz(e))}});return{action:b,docs:a,viewToken:d,view:c||"image-search",v2Translated:!0}},tSc=function(a,
b,c,d){a=a.map(function(e){return{serviceId:"url",name:Bz(e)[0].getUrl().split("/").pop(),type:BV(e),mimeType:e.getMimeType(),url:e.getUrl(),description:e.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:CV(Bz(e))}});return{action:b,docs:a,viewToken:d,view:c||"url",v2Translated:!0}},wSc=function(a,b,c,d){a=a.map(function(e){return{id:e.getId().getId(),serviceId:"picasa",name:e.getName(),type:BV(e),description:e.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",
thumbnails:CV(Bz(e))}});return{action:b,docs:a,viewToken:d,view:c||"webcam",v2Translated:!0}},pSc=function(a,b,c,d){return{action:b,docs:a.map(zSc),viewToken:d,view:ASc(c||"upload",a),extraUserInputs:ySc(a),v2Translated:!0}},ASc=function(a,b){return b.some(function(c){var d;return((d=W(c,cac,30))==null?void 0:Fk(d,3,0))===9})?a+"/gmailphotos":a},oSc=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:BV(f),lastEditedUtc:f.getLastModifiedTimestamp().toDate().getTime(),
url:f.getUrl(),sizeBytes:p4b(f),description:f.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:CV(Bz(f)),mediaKey:f.getId().getId(),parentId:f.getParentId()},l,q=(l=W(f,X$b,18))==null?void 0:W(l,W$b,3);q&&(h.latitude=tm(q,1),h.longitude=tm(q,2));var u;(f=(u=W(f,X$b,18))==null?void 0:Qk(u,6))&&(h.version=f);return h});return{action:b,docs:e,viewToken:d,view:c||"photos",extraUserInputs:ySc(a),v2Translated:!0}},nSc=function(a,b,c,d){a=a.map(function(e){return{id:e.getId().getId(),
serviceId:"et",name:Bz(e)[0].getUrl().split("/").pop(),description:e.getDescription(),type:"et",iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:CV(Bz(e),"etjpg")}});return{action:b,docs:a,viewToken:d,view:c||"et",v2Translated:!0}},vSc=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:BV(e),
description:e.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",url:e.getUrl(),embedUrl:e.getUrl(),thumbnails:CV(Bz(e))}});return{action:b,docs:a,viewToken:d,view:c||"photos",v2Translated:!0}},qSc=function(a,b){a=a.map(function(c){var d=W(c,V$b,27).getEmailList()[0];return{id:c.getId().getId(),serviceId:"contacts",mimeType:c.getMimeType(),name:c.getName(),description:c.getDescription(),url:"mailto:"+d,thumbnail:[{url:c.getIconUrl()}],email:d}});return{action:b,
docs:a,view:"contacts",v2Translated:!0}},mSc=function(a){if(!a)return{};var b=Kh(a,3);b=b&&JSON.parse(b)||{};return{0:Kh(a,1),1:a.getLabel(),2:b}},CV=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}})},ySc=function(a){return{isAttachment:a.some(function(b){return Ak(b,31)})}},zSc=function(a){var b,c={id:(b=a.getId())==
null?void 0:b.getId(),serviceId:BSc(a),mimeType:a.getMimeType(),name:a.getName(),type:BV(a),sizeBytes:p4b(a),description:a.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:CV(Bz(a)),isNew:!0};if(b=W(a,cac,30)){c.dataUrl=Kh(b,1)||null;a:{var d=W(a,cac,30);switch(Fk(d,3,0)){case 9:d=um(d,aac,2,zz);d={remoteRefs:d&&Kh(d,1)};break a;case 10:case 15:d=um(d,$$b,4,zz);var e=Bz(a);d={photo_id:d&&d.getPhotoId(),media_key:a.getId().getId(),media_type:a.getType()===
1?1:2,image_url:e&&e[0].getUrl(),width:e&&String(e[0].getWidth()),height:e&&String(e[0].getHeight())};break a}d=null}c.uploadMetadata=d;c.uploadId=Kh(b,9)||null;c.uploadState=CSc(b)||null}(d=b&&um(b,$$b,4,zz))&&(c.id=d.getPhotoId());(d=b&&um(b,bac,5,zz))&&(c.contentId=Kh(d,1));(d=b&&um(b,Y$b,7,zz))&&(c.contentId=Kh(d,1));(d=b&&um(b,Z$b,6,zz))&&(c.contentId=Kh(d,1));(b==null?void 0:Fk(b,3,0))===1&&(c.mediaKey=a.getId().getId());return c},BSc=function(a){var b;switch(((b=W(a,cac,30))==null?void 0:Fk(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},BV=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"}},CSc=function(a){switch(a==null?void 0:Fk(a,8,0)){case 0:return"default";case 1:return"canceled";case 2:return"error";case 3:return"running";case 4:return"scheduled";case 5:return"success"}return null};var DSc=function(a){this.obj_=a};g=DSc.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 ESc=function(a){this.obj_=a||{}};g=ESc.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 FSc=function(a){a.obj_.attributes=a.obj_.attributes||{};return new DSc(a.obj_.attributes)},IDc=function(a){return(a=a.obj_.timeout)?a:null};var GSc=function(){ESc.apply(this,arguments)};Y(GSc,ESc);var HSc=Eu(["https://apis.google.com/js/api.js"]),ISc=zi(HSc),MSc=function(a,b){var c=!1,d=JSc(a,b).then(function(f){c=!0;return f}),e=Klc(5E3).then(function(){return c?JSc(a,b):KSc(b).then(function(f){return LSc(f,a)})});return lbc([d,e])},JSc=function(a,b){return NSc(b).then(function(c){return LSc(c,a)})},LSc=function(a,b){var c=b.lastIndexOf("gapi.",0)==0?b.slice(5):b;return a[c]?fbc(a[c]):new Wz(function(d,e){var f=mr(function(){e(Error("yf"))},3E4);a.load(b,{callback:function(){nr(f);d(a[c])},
onerror:function(h){nr(f);e(h)}})})},NSc=function(a){return a.gapi&&a.gapi.load?fbc(a.gapi):KSc(a)},KSc=function(a){return OJa(ISc,{document:a.document}).then(function(){return a.gapi})},OSc=function(){};OSc.prototype.load=function(a,b){b=b===void 0?window:b;var c=Date.now();return MSc(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 PSc=function(){iF.call(this);this.gapiLoader_=new OSc;this.origin_=null;this.gapiPickerIframeResolver_=nbc();this.gapiIframesResolver_=nbc();this.gapiIframesResolver_.promise.then(null,function(){});this.gapiPickerIframeResolver_.promise.then(null,function(){});this.hostMessageHandlerInternal_={}};Y(PSc,iF);
var QSc=function(a,b){var c=Eq("gapi.iframes",b);return c?(a=Date.now(),fbc({library:c,loadStartMs:a,loadEndMs:a})):a.gapiLoader_.load("gapi.iframes",b)},RSc=function(a,b,c,d,e,f){var h=!0;h=h===void 0?!1:h;QSc(a,Nz(b.ownerDocument)).then(function(l){var q=l.library;a.gapiIframesResolver_.resolve(q);l=a.gapiPickerIframeResolver_;var u=l.resolve,A=h;A=A===void 0?!1:A;var F={};F["host-message-handler"]=c;a.hostMessageHandlerInternal_=F;var H=yJ(d);H=yJ(H);H=tJ(sJ(new Oq,H.scheme_),H.getDomain()).setPort(H.getPort()).toString();
a.origin_=H;H=(new GSc).setUrl(d);H.obj_.where=b;H.obj_.allowPost=A;H.obj_.messageHandlers=F;A=Eq("makeWhiteListIframesFilter",q)([a.origin_]);H.obj_.messageHandlersFilter=A;e!=null&&H.setId(e);f!=null&&(H.obj_.rpctoken=f);FSc(H).setStyle({display:"block","min-width":"100%",width:"1px"}).setHeight("100%");FSc(H).value().allow="camera 'src' "+a.origin_;q=q.getContext().openChild(H.value());u.call(l,q)},function(l){a.gapiIframesResolver_.reject(l);a.gapiPickerIframeResolver_.reject(l)});return a.gapiPickerIframeResolver_.promise},
SSc=function(a,b){return kbc([a.gapiIframesResolver_.promise,a.gapiPickerIframeResolver_.promise]).then(function(c){var d=k(c);c=d.next().value;return(d=d.next().value)?d.send("picker-message-handler",b,void 0,Eq("makeWhiteListIframesFilter",c)([a.origin_])):gbc(Error("zf"))})};PSc.prototype.disposeInternal=function(){TSc(this);iF.prototype.disposeInternal.call(this)};var TSc=function(a){a.gapiPickerIframeResolver_.promise.then(function(b){b&&(b.unregister("host-message-handler"),delete a.hostMessageHandlerInternal_["host-message-handler"])})};var USc=function(){this.nextId=0};USc.prototype.getUniqueId=function(){return":"+(this.nextId++).toString(36)};var WSc=function(a,b){switch(a.action){case "select-contacts":a=VSc(a.contacts);break;case "visibility":a=a.visible;a=(new hac).setCommand(7).setVisible(a);var c={};c["iframe-command"]=a.serialize();a=c;break;default:a=null}return a?SSc(b,a):fbc()},VSc=function(a){if(!a||a.length==0)return null;var b=new hac;b.setCommand(11);var c=new USc;a.forEach(function(d){if(d.email){var e=(new Az).setName(d.name?d.name:d.email);d=(new V$b).addEmail(d.email);e=X(e,V$b,27,d).setId((new xz).setId(c.getUniqueId()).setSourceId(12))}else e=
null;e&&b.addItem(e)});a={};a["iframe-command"]=b.serialize();return a};var DV=function(a,b,c){Jq.call(this);this.target=a;this.handle=b||a;this.limits=c||new KO(NaN,NaN,NaN,NaN);this.document_=Jz(a);this.eventHandler_=new $r(this);Ur(this,this.eventHandler_);this.deltaY=this.deltaX=this.startY=this.startX=this.screenY=this.screenX=this.clientY=this.clientX=0;this.enabled_=!0;this.dragging_=!1;Kq(this.handle,["touchstart","mousedown"],this.startDrag,!1,this);this.useSetCapture_=XSc};Nu(DV,Jq);
var XSc=ya.document&&ya.document.documentElement&&!!ya.document.documentElement.setCapture&&!!ya.document.releaseCapture;g=DV.prototype;g.getHandler=function(){return this.eventHandler_};g.setEnabled=function(a){this.enabled_=a};g.disposeInternal=function(){DV.superClass_.disposeInternal.call(this);CF(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.enabled_||this.dragging_||b&&(a.event_.button!=0||ls&&a.ctrlKey))this.dispatchEvent("earlycancel");else if(this.dispatchEvent(new EV("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=Bac(Mq(this.document_).document_)}};
g.endDrag=function(a,b){this.eventHandler_.removeAll();this.useSetCapture_&&this.document_.releaseCapture();this.dragging_?(this.dragging_=!1,this.dispatchEvent(new EV("end",this,a.clientX,a.clientY,a,YSc(this,this.deltaX),ZSc(this,this.deltaY),b||a.type=="touchcancel"))):this.dispatchEvent("earlycancel")};
g.handleMove_=function(a){if(this.enabled_){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 EV("start",this,a.clientX,a.clientY,a)))this.dragging_=!0;else{this.isDisposed()||this.endDrag(a);return}}c=$Sc(this,b,c);b=c.x;c=c.y;this.dragging_&&this.dispatchEvent(new EV("beforedrag",this,
a.clientX,a.clientY,a,b,c))&&(aTc(this,a,b,c),a.preventDefault())}};var $Sc=function(a,b,c){var d=Bac(Mq(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 cs(YSc(a,a.deltaX),ZSc(a,a.deltaY))};DV.prototype.onScroll_=function(a){var b=$Sc(this,0,0);a.clientX=this.clientX;a.clientY=this.clientY;aTc(this,a,b.x,b.y)};
var aTc=function(a,b,c,d){a.target.style.left=c+"px";a.target.style.top=d+"px";a.dispatchEvent(new EV("drag",a,b.clientX,b.clientY,b,c,d))},YSc=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))},ZSc=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))};DV.prototype.isDragging=function(){return this.dragging_};
var EV=function(a,b,c,d,e,f,h){xF.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};Nu(EV,xF);var FV=function(a){this.map_=new Map;var b=arguments.length;if(b>1){if(b%2)throw Error("pa");for(var c=0;c<b;c+=2)this.set(arguments[c],arguments[c+1])}else a&&this.addAll(a)};g=FV.prototype;g.getCount=function(){return this.map_.size};g.getValues=function(){return Array.from(this.map_.values())};g.getKeys=function(){return Array.from(this.map_.keys())};g.containsKey=function(a){return this.map_.has(a)};g.containsValue=function(a){return this.getValues().some(function(b){return b==a})};
g.equals=function(a){var b=this;var c=c===void 0?function(d,e){return d===e}:c;return this===a?!0:this.map_.size!=a.getCount()?!1:this.getKeys().every(function(d){return c(b.map_.get(d),a.get(d))})};g.isEmpty=function(){return this.map_.size==0};g.clear=function(){this.map_.clear()};g.remove=function(a){return this.map_.delete(a)};g.get=function(a,b){return this.map_.has(a)?this.map_.get(a):b};g.set=function(a,b){this.map_.set(a,b);return this};
g.addAll=function(a){if(a instanceof FV){a=k(a.map_);for(var b=a.next();!b.done;b=a.next()){var c=k(b.value);b=c.next().value;c=c.next().value;this.map_.set(b,c)}}else if(a)for(a=k(Object.entries(a)),b=a.next();!b.done;b=a.next())c=k(b.value),b=c.next().value,c=c.next().value,this.map_.set(b,c)};g.forEach=function(a,b){var c=this;b=b===void 0?this:b;this.map_.forEach(function(d,e){return a.call(b,d,e,c)})};g.clone=function(){return new FV(this)};(function(){for(var a=["ms","moz","webkit","o"],b,c=0;b=a[c]&&!ya.requestAnimationFrame;++c)ya.requestAnimationFrame=ya[b+"RequestAnimationFrame"],ya.cancelAnimationFrame=ya[b+"CancelAnimationFrame"]||ya[b+"CancelRequestAnimationFrame"];if(!ya.requestAnimationFrame){var d=0;ya.requestAnimationFrame=function(e){var f=(new Date).getTime(),h=Math.max(0,16-(f-d));d=f+h;return ya.setTimeout(function(){e(f+h)},h)};ya.cancelAnimationFrame||(ya.cancelAnimationFrame=function(e){clearTimeout(e)})}})();
var bTc=[[],[]],cTc=0,dTc=!1,eTc=0,gTc=function(a,b){var c=eTc++,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,bTc[cTc].push(d));dTc||(dTc=!0,window.requestAnimationFrame(fTc))}},fTc=
function(){dTc=!1;var a=bTc[cTc],b=a.length;cTc=(cTc+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 hTc=Eu(["about:blank"]),iTc=Eu(["javascript:undefined"]),jTc=zi(hTc);Mc(jTc);var kTc=zi(iTc);Mc(kTc);var lTc=function(a,b){this.element_=a;this.dom_=b};var GV=function(a,b){AV.call(this,b);this.useIframeMask_=!!a;this.lastFocus_=null;this.resizeBackgroundTask_=gTc({mutate:this.resizeBackground_},this);gTc({mutate:this.updateModalAndBackground_},this)};Nu(GV,AV);g=GV.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(){GV.superClass_.createDom.call(this);var a=this.getElement();IO(a,yj(this.getCssClass()).split(" "));a.tabIndex=0;OO(a,!1);mTc(this);nTc(this)};
var mTc=function(a){if(a.useIframeMask_&&!a.bgIframeEl_){var b=a.getDomHelper().createDom("IFRAME",{frameborder:0,style:"border:0;vertical-align:bottom;"});Dea(b,jTc);a.bgIframeEl_=b;a.bgIframeEl_.className=a.getCssClass()+"-bg";OO(a.bgIframeEl_,!1);QEc(a.bgIframeEl_,0)}a.bgEl_||(a.bgEl_=a.getDomHelper().createDom("DIV",a.getCssClass()+"-bg"),OO(a.bgEl_,!1))},nTc=function(a){a.tabCatcherElement_||(a.tabCatcherElement_=a.getDomHelper().createElement("SPAN"),OO(a.tabCatcherElement_,!1),a.tabCatcherElement_.tabIndex=
0,a.tabCatcherElement_.style.position="absolute")};g=GV.prototype;g.resetBackwardTabWrap_=function(){this.backwardTabWrapInProgress_=!1};g.canDecorate=function(a){return!!a&&a.tagName=="DIV"};g.decorateInternal=function(a){GV.superClass_.decorateInternal.call(this,a);a=yj(this.getCssClass()).split(" ");IO(this.getElement(),a);mTc(this);nTc(this);this.getElement().tabIndex=0;OO(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);GV.superClass_.enterDocument.call(this);a=this.tabCatcherElement_;b=this.getElement();b.parentNode&&b.parentNode.insertBefore(a,b.nextSibling);this.focusHandler_=new jSc(this.getDomHelper().document_);this.getHandler().listen(this.focusHandler_,"focusin",this.onFocus);oTc(this,!1)};
g.exitDocument=function(){this.isVisible()&&this.setVisible(!1);Wo(this.focusHandler_);GV.superClass_.exitDocument.call(this);Pz(this.bgIframeEl_);Pz(this.bgEl_);Pz(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_&&oTc(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_);pTc(this,!0);this.focus();this.visible_=!0;if(this.popupShowTransition_&&this.bgShowTransition_)BF(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_)BF(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 oTc=function(a,b){a.modalAriaVisibilityHelper_||(a.modalAriaVisibilityHelper_=new lTc(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_||Cpc(d,"hidden")||(sH(d,"hidden",!0),a.hiddenElements_.push(d))}}else if(a.hiddenElements_){for(b=0;b<a.hiddenElements_.length;b++)a.hiddenElements_[b].removeAttribute("aria-hidden");a.hiddenElements_=null}};
GV.prototype.updateModalAndBackground_=function(){this.resizeBackground_();this.reposition()};var pTc=function(a,b){a.bgIframeEl_&&OO(a.bgIframeEl_,b);a.bgEl_&&OO(a.bgEl_,b);OO(a.getElement(),b);OO(a.tabCatcherElement_,b)};g=GV.prototype;g.onShow=function(){this.dispatchEvent("show")};g.onHide=function(){pTc(this,!1);this.dispatchEvent("hide")};g.isVisible=function(){return this.visible_};g.focus=function(){this.focusElement_()};
g.resizeBackground_=function(){this.bgIframeEl_&&OO(this.bgIframeEl_,!1);this.bgEl_&&OO(this.bgEl_,!1);var a=this.getDomHelper().document_;var b=qTc(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_&&(OO(this.bgIframeEl_,!0),PEc(this.bgIframeEl_,c,a));this.bgEl_&&(OO(this.bgEl_,!0),PEc(this.bgEl_,c,a))};
g.reposition=function(){var a;if(Vr(this.getElement(),"position")=="fixed")var b=a=0;else b=Bac(this.getDomHelper().document_),a=b.x,b=b.y;var c=ds(this.getElement());var d=qTc(this);a=Math.max(a+d.width/2-c.width/2,0);b=Math.max(b+d.height/2-c.height/2,0);es(this.getElement(),a,b);es(this.tabCatcherElement_,a,b)};g.onFocus=function(a){this.backwardTabWrapInProgress_?this.resetBackwardTabWrap_():a.target==this.tabCatcherElement_&&mr(this.focusElement_,0,this)};g.focusElement_=function(){try{this.getElement().focus()}catch(a){}};
var qTc=function(a){a=a.getDomHelper().document_;return Mz(Nz(a)||window)};GV.prototype.disposeInternal=function(){Wo(this.popupShowTransition_);this.popupShowTransition_=null;Wo(this.popupHideTransition_);this.popupHideTransition_=null;Wo(this.bgShowTransition_);this.bgShowTransition_=null;Wo(this.bgHideTransition_);this.bgHideTransition_=null;GV.superClass_.disposeInternal.call(this)};var JV=function(a,b,c){GV.call(this,b,c);this.class_=a||"modal-dialog";this.buttons_=HV(HV(new IV,rTc,!0),sTc,!1,!0)};Nu(JV,GV);g=JV.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_&&Rz(this.titleTextEl_,a)};g.getTitle=function(){return this.title_};g.getContent=function(){return""};g.getContentElement=function(){this.getElement()||this.render();return this.contentEl_};var tTc=function(a){a.getElement()||a.render();return a.getElement()};JV.prototype.getBackgroundElement=function(){this.getElement()||this.render();return JV.superClass_.getBackgroundElement.call(this)};
var uTc=function(a,b){a.backgroundElementOpacity_=b;a.getElement()&&(b=a.getBackgroundElement())&&QEc(b,a.backgroundElementOpacity_)};JV.prototype.handleDrag=function(){};
var vTc=function(a,b){var c=yj(a.class_+"-title-draggable").split(" ");a.getElement()&&(b?IO(a.titleEl_,c):KEc(a.titleEl_,c));b&&!a.dragger_?(b=new DV(a.getElement(),a.titleEl_),a.dragger_=b,IO(a.titleEl_,c),Kq(a.dragger_,"start",a.setDraggerLimits_,!1,a),Kq(a.dragger_,"drag",a.handleDrag,!1,a)):!b&&a.dragger_&&(a.dragger_.dispose(),a.dragger_=null)};g=JV.prototype;
g.createDom=function(){JV.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"));Fac(a,this.titleEl_,this.contentEl_=b.createDom("DIV",{className:this.class_+"-content",id:c}),this.buttonEl_=
b.createDom("DIV",this.class_+"-buttons"));rH(this.titleTextEl_,"heading");rH(this.titleCloseEl_,"button");this.titleCloseEl_.tabIndex=0;Dpc(this.titleCloseEl_,"Close");rH(a,"dialog");sH(a,"labelledby",this.titleTextId_||"");OO(this.titleCloseEl_,this.hasTitleCloseButton_);this.buttons_&&(a=this.buttons_,a.element_=this.buttonEl_,a.render());OO(this.buttonEl_,!!this.buttons_);uTc(this,this.backgroundElementOpacity_)};
g.decorateInternal=function(a){JV.superClass_.decorateInternal.call(this,a);a=this.getElement();var b=this.class_+"-content";this.contentEl_=Lz(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_=Lz(document,null,b,a)[0])?(this.titleTextEl_=Lz(document,null,c,this.titleEl_)[0],this.titleCloseEl_=Lz(document,null,d,this.titleEl_)[0]):
(this.titleEl_=this.getDomHelper().createDom("DIV",b),a.insertBefore(this.titleEl_,this.contentEl_));this.titleTextEl_?(this.title_=Lac(this.titleTextEl_),this.titleTextEl_.id||(this.titleTextEl_.id=this.getId())):(this.titleTextEl_=Dac("SPAN",{className:c,id:this.getId()}),this.titleEl_.appendChild(this.titleTextEl_));this.titleTextId_=this.titleTextEl_.id;sH(a,"labelledby",this.titleTextId_||"");this.titleCloseEl_||(this.titleCloseEl_=this.getDomHelper().createDom("SPAN",d),this.titleEl_.appendChild(this.titleCloseEl_));
OO(this.titleCloseEl_,this.hasTitleCloseButton_);b=this.class_+"-buttons";(this.buttonEl_=Lz(document,null,b,a)[0])?(this.buttons_=new IV(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()),OO(this.buttonEl_,!!this.buttons_));uTc(this,this.backgroundElementOpacity_)};
g.enterDocument=function(){JV.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_);vTc(this,!0);this.getHandler().listen(this.titleCloseEl_,"click",this.onTitleCloseClick_);var a=this.getElement();rH(a,"dialog");this.titleTextEl_.id!==""&&sH(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()&&oTc(this,!1)}};g.exitDocument=function(){this.isVisible()&&this.setVisible(!1);vTc(this,!1);JV.superClass_.exitDocument.call(this)};g.setVisible=function(a){a!=this.isVisible()&&(this.inDocument_||this.render(),JV.superClass_.setVisible.call(this,a))};g.onShow=function(){JV.superClass_.onShow.call(this);this.dispatchEvent("aftershow")};
g.onHide=function(){JV.superClass_.onHide.call(this);this.dispatchEvent("afterhide");this.disposeOnHide_&&this.dispose()};g.setDraggerLimits_=function(){var a=this.getDomHelper().document_,b=Mz(Nz(a)||window),c=Math.max(a.body.scrollWidth,b.width);a=Math.max(a.body.scrollHeight,b.height);var d=ds(this.getElement());Vr(this.getElement(),"position")=="fixed"?this.dragger_.limits=new KO(0,0,Math.max(0,b.width-d.width),Math.max(0,b.height-d.height)):this.dragger_.limits=new KO(0,0,c-d.width,a-d.height)};
g.onTitleCloseClick_=function(){wTc(this)};var wTc=function(a){if(a.hasTitleCloseButton_){var b=a.buttons_,c=b&&b.cancelButton_;c?(b=b.get(c),a.dispatchEvent(new xTc(c,b))&&a.setVisible(!1)):a.setVisible(!1)}},yTc=function(a){a.hasTitleCloseButton_=!1;a.titleCloseEl_&&OO(a.titleCloseEl_,a.hasTitleCloseButton_)};JV.prototype.setDisposeOnHide=function(a){this.disposeOnHide_=a};JV.prototype.disposeInternal=function(){this.buttonEl_=this.titleCloseEl_=null;JV.superClass_.disposeInternal.call(this)};
JV.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 xTc(a,b))&&this.setVisible(!1)}};
JV.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 xTc(f,b))):e||(b=!0)}else{if(a.keyCode==9&&a.shiftKey&&e==this.getElement()){this.backwardTabWrapInProgress_=!0;try{this.tabCatcherElement_.focus()}catch(A){}mr(this.resetBackwardTabWrap_,0,this)}}else if(a.keyCode==13){if(e.tagName=="BUTTON"&&!e.disabled)f=e.name;
else if(e==this.titleCloseEl_)wTc(this);else if(d){var h=d.defaultButton_,l;if(l=h)a:{l=Kz("BUTTON",d.element_);for(var q,u=0;q=l[u];u++)if(q.name==h||q.id==h){l=q;break a}l=null}e=(e.tagName=="TEXTAREA"||e.tagName=="SELECT"||e.tagName=="A")&&!e.disabled;!l||l.disabled||e||(f=h)}f&&d&&(c=!0,b=this.dispatchEvent(new xTc(f,String(d.get(f)))))}else e!=this.titleCloseEl_||a.keyCode!=32&&a.key!=" "||wTc(this);if(b||c)a.stopPropagation(),a.preventDefault();b&&this.setVisible(!1)};
var xTc=function(a,b){this.type="dialogselect";this.key=a;this.caption=b};Nu(xTc,xF);var IV=function(a){FV.call(this);this.dom_=a||Mq();this.class_="goog-buttonset";this.cancelButton_=this.element_=this.defaultButton_=null};Nu(IV,FV);IV.prototype.clear=function(){FV.prototype.clear.call(this);this.defaultButton_=this.cancelButton_=null};IV.prototype.set=function(a,b,c,d){FV.prototype.set.call(this,a,b);c&&(this.defaultButton_=a);d&&(this.cancelButton_=a);return this};
var HV=function(a,b,c,d){return a.set(b.key,b.caption,c,d)};IV.prototype.render=function(){if(this.element_){Cea(this.element_,wu);var a=Mq(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)}};
IV.prototype.decorate=function(a){if(a&&a.nodeType==1){this.element_=a;a=Kz("BUTTON",this.element_);for(var b,c,d,e=0;b=a[e];e++)if(c=b.name||b.id,d=Lac(b)||b.value,c){var f=e==0;this.set(c,d,f,b.name=="cancel");f&&IEc(b,this.class_+"-default")}}};IV.prototype.getElement=function(){return this.element_};IV.prototype.getDomHelper=function(){return this.dom_};
var rTc={key:"ok",caption:"OK"},sTc={key:"cancel",caption:"Cancel"},zTc={key:"yes",caption:"Yes"},ATc={key:"no",caption:"No"},BTc={key:"save",caption:"Save"},CTc={key:"continue",caption:"Continue"};typeof document!="undefined"&&(HV(new IV,rTc,!0,!0),HV(HV(new IV,rTc,!0),sTc,!1,!0),HV(HV(new IV,zTc,!0),ATc,!1,!0),HV(HV(HV(new IV,zTc),ATc,!0),sTc,!1,!0),HV(HV(HV(new IV,CTc),BTc),sTc,!0,!0));var DTc=function(a,b,c){JV.call(this,a,b,c)};Nu(DTc,JV);var F9a=function(a,b){Jq.call(this);this.element_=a;a=Qz(this.element_)?this.element_:this.element_?this.element_.body:null;this.isRtl_=!!a&&Vs(a);this.listenKey_=Kq(this.element_,Pu?"DOMMouseScroll":"mousewheel",this,b)};Nu(F9a,Jq);
F9a.prototype.handleEvent=function(a){var b=0,c=0,d=a.event_;d.type=="mousewheel"?(a=ETc(-d.wheelDelta),d.wheelDeltaX!==void 0?(b=ETc(-d.wheelDeltaX),c=ETc(-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 FTc(a,d,b,c);this.dispatchEvent(b)};
var ETc=function(a){return Qu&&(ls||r3b)&&a%40!=0?a:a/40};F9a.prototype.disposeInternal=function(){F9a.superClass_.disposeInternal.call(this);DF(this.listenKey_);this.listenKey_=null};var FTc=function(a,b,c,d){yF.call(this,b);this.type="mousewheel";this.detail=a;this.deltaX=c;this.deltaY=d};Nu(FTc,yF);var GTc;var HTc=Eu(["https://about:blank"]),ITc=Eu(['javascript:""']),JTc=Eu(["about:blank"]),KV=function(a,b,c,d,e,f,h,l,q){l=l===void 0?!1:l;q=q===void 0?!1:q;JV.call(this,f?f+" picker modal-dialog":"picker modal-dialog",!0,c);ktc(a,"protocol");this.iframeManager_=new PSc;this.targetId_=J4b();this.rpcToken_=J4b();a=yJ(a);xJ(a,"hostId");c=xJ(a,"parent");this.useGapi_=!q&&!0||(c==null?void 0:c.includes("onepick.corp.google.com"));l&&wJ(a,"fv2","true");this.setUrl(a.toString());this.preferredDialogWidth_=
d;this.preferredDialogHeight_=e;d!==void 0||e!==void 0?d=!0:(d=xJ(yJ(a.toString()),"hostId"),GTc||(GTc=new Set("DocVerse fusiontables geo geowiki gm gmail-gadget gws hotpot jointly presentations pwa sites templates trix trix-copy-sheet webstore".split(" "))),d=!GTc.has(d));this.autoSizeDialog_=d;this.gadgetsDomHelper_=h||this.getDomHelper();b&&(h=this.gadgetsDomHelper_,b=xJ(yJ(this.url_),"grugl")=="true"?iSc:hSc,C9a(h)||(h=h||Mq(document),d=h.createElement("SCRIPT"),Yc(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):Ou(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()):Cea(this.buttonEl_,wu),OO(this.buttonEl_,!!this.buttons_))};Nu(KV,DTc);g=KV.prototype;g.url_="";g.iframe_=null;g.iframeLoaded_=!1;g.loadedFired_=!1;g.callback_=function(){};
g.enterDocument=function(){KV.superClass_.enterDocument.call(this);H9a(this.getBackgroundElement(),this.getHandler())};g.render=function(a){var b=this;KV.superClass_.render.call(this,a);this.useGapi_?QSc(this.iframeManager_,window).then(function(){return KTc(b)}).then(null,function(c){return void b.handleError_(c)}):LTc(this)};
var KTc=function(a){var b=a.getDomHelper().createDom("div",["picker-dialog-content","picker-frame"]);OO(b,!1);a.getContentElement().appendChild(b);return RSc(a.iframeManager_,b,function(c){var d=jac(c["iframe-command"]);switch(d.getCommand()){case 1:c=a.callback_;d=W(d,fac,2);var e="";switch(d.getStatus()){case 2:e="cancel";break;case 1:e="picked";break;case 3:e="error"}var f=d.getItemList(Vj);d=f.length===0?{action:e}:xSc(f,e,d.getInternalOnlyV1ViewInfo());c.call(a,d);a.setVisible(!1);break;case 4:yTc(a);
a.callback_({action:"loaded"});break;case 7:case 8:c=a.callback_;a:{e=d.getCommand();f=W(d,fac,2);switch(e){case 7:e="uploadScheduled";break;case 8:e="uploadStateChange";break;default:d={};break a}d=f.getItemList(Vj);if(d.length===0)d={action:e};else{var h=f.getInternalOnlyV1ViewInfo();f=h&&Kh(h,1);h=mSc(h);d=pSc(d,e,f,h)}}c.call(a,d)}},a.url_,a.targetId_,a.rpcToken_).then(function(c){a.iframe_=c.getIframeEl();MTc(a);OO(a.iframe_.parentElement,!0);IEc(a.getElement(),"picker-dialog");NTc(a);return c})},
LTc=function(a){a.iframe_=a.dom_.createDom("IFRAME",{id:a.targetId_,name:a.targetId_,"class":"picker-frame",frameBorder:"0",allow:"camera"});Dea(a.iframe_,OTc(a));IEc(a.getElement(),"picker-dialog");a.getContentElement().appendChild(a.iframe_);a.getHandler().listen(a.iframe_,"load",function(){return void MTc(a)});a.iframe_.src=a.url_;NTc(a)},QTc=function(a){PTc(a,Lu(function(b){b.setAuthToken(this.targetId_,this.rpcToken_)},a))},NTc=function(a){var b=xJ(yJ(a.url_),"title");b&&a.setTitle(b)},OTc=function(a){return wba()>=
7&&a.url_.lastIndexOf("https",0)==0?zi(HTc):ws?zi(ITc):zi(JTc)},MTc=function(a){QTc(a);a.iframeLoaded_=!0;a.iframe_.tabIndex=0;a.isVisible()&&a.focus()};KV.prototype.handleKeydown_=function(a){a.keyCode==27&&(this.setVisible(!1),this.callback_({action:"cancel"}),a.stopPropagation(),a.preventDefault())};var PTc=function(a,b){var c=a.gadgetsDomHelper_;E9a(function(){b(c.getWindow().gadgets.rpc)},c)};
KV.prototype.setUrl=function(a){a=wJ(new Oq(a),"rpcService",this.targetId_);wJ(a,"rpctoken",this.rpcToken_);mtc(a,"rpctoken="+this.rpcToken_);sJ(a,"https");this.url_=a.toString();this.iframe_&&(this.iframe_.src=this.url_)};KV.prototype.setAppId=function(a){this.appId_=a;this.loadedFired_&&RTc(this)};KV.prototype.setCallback=function(a){this.callback_=a;PTc(this,Lu(function(b){b.register(this.targetId_,Lu(this.handlePickerAction_,this))},this))};
KV.prototype.handlePickerAction_=function(a){var b=a.action;b=="loaded"&&(this.loadedFired_=!0,this.sendCommand(new eSc(this.isVisible())),RTc(this),yTc(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 RTc=function(a){a.appId_&&a.sendCommand(new B9a(a.appId_,window.location.protocol+"//"+window.location.host))};g=KV.prototype;
g.setRelayUrl=function(a){PTc(this,Lu(function(b){b.setRelayUrl(this.targetId_,a)},this))};g.sendCommand=function(a){var b=this;this.useGapi_&&WSc(a,this.iframeManager_).then(null,function(c){return void b.handleError_(c)});PTc(this,Lu(function(c){c.call(this.targetId_,"picker",null,a)},this))};
g.resizePicker_=function(){var a=this.getDomHelper().document_;a=Nz(a)||window;if(xJ(yJ(this.url_),"ignoreLimits")=="true")a=new Hz(this.preferredDialogWidth_,this.preferredDialogHeight_);else if(xJ(yJ(this.url_),"shadeDialog")=="true"){var b=TEc(tTc(this)),c=Mz(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 Hz(a>0?a:0,c>0?c:0)}else(b=this.preferredDialogWidth_)?(b=Math.max(320,Math.min(1051,b)),(c=this.preferredDialogHeight_)||
(c=Mz(a).height*.85),c=Math.max(480,Math.min(650,c))):(b=Mz(a),c=b.width*.618,c=c<b.height?Math.round(Math.max(480,Math.min(650,c*.85))):Math.round(Math.max(480,Math.min(650,b.height*.85))),b=Math.round(c/.618)),a=Mz(a),b=Math.min(b,Math.max(a.width,320)),c=Math.min(c,Math.max(a.height,480)),a=new Hz(b,c);PEc(this.getContentElement(),a);this.reposition()};
g.reposition=function(){if(xJ(yJ(this.url_),"shadeDialog")=="true"){var a=ds(this.getElement()),b=Mz(this.getDomHelper().getWindow());a=Math.floor(b.width/2-a.width/2);if(b=TEc(tTc(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=Bac(this.getDomHelper().document_).y;es(this.getElement(),a,b)}else KV.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_))}KV.superClass_.setVisible.call(this,a);this.sendCommand(new eSc(a))};
g.focus=function(){KV.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 LV=function(a,b){b=b===void 0?KV:b;$Rc.call(this,a);this.pickerConstructor=b;this.urlParamMap_=new Map;this.urlParamMap_.set("protocol","gadgets");(a=window.location.origin)||(a=window.location.protocol+"//"+window.location.host);this.setOrigin(a);this.postProcessors_=[];this.gadgetsDomHelper_=void 0};Y(LV,aSc);LV.prototype.disposeOnHide_=!1;
LV.prototype.build=function(){this.getAppId()&&this.urlParamMap_.has("oauth_token")&&this.urlParamMap_.set("appId",this.getAppId());this.urlParamMap_.get("parent")||this.setRelayUrl(mtc(ltc(yJ(window.location.href)),"").setPath("/favicon.ico").toString());this.urlParamMap_.set("ifls",Date.now());if(this.urlParamMap_.get("minimal"))throw Error("Af");var a=new this.pickerConstructor(STc(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 TTc=function(a,b){a.urlParamMap_.set(b,"true");return a};g=LV.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 UTc=function(a){a.urlParamMap_.set("hostId","buganizer-drive");return a};g=LV.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 STc=function(a){a.postProcessors_.length&&a.urlParamMap_.set("pp",JSON.stringify(a.postProcessors_));a.urlParamMap_.set("nav",YRc(a.nav_));var b=new Oq(a.getBaseUrl());a.urlParamMap_.forEach(function(c,d){wJ(b,d,c)});return b};var MV=function(){this.activeSession=r(Bu);this.attachmentsApi=r(NI);this.onePickUrl=this.activeSession.getOnePickUrl();this.disabled=!1;this.onPickDoc=new aB;this.onCloneBlob=new aB};
MV.prototype.showDialog=function(){var a=this;if(!this.drivePicker){var b=window.location.origin||window.location.protocol+"//"+window.location.host;this.drivePicker=UTc(TTc(TTc(TTc(TTc((new LV(this.onePickUrl)).addView(RRc().setMode("list")),"navHidden"),"multiselectEnabled"),"edbe"),"showAttach").setCallback(function(c){if(c&&c.action==="picked")for(var d=k(c.docs),e=d.next();!e.done;e=d.next())e=new NRc(e.value),c.extraUserInputs.isAttachment?(e=new ORc(e),PRc(e,a.attachmentsApi),a.onCloneBlob.emit(e)):
a.onPickDoc.emit(e)}).setOrigin(b)).build()}this.drivePicker.setVisible(!0)};MV.\u0275fac=function(a){return new (a||MV)};
MV.\u0275cmp=C({type:MV,selectors:[["b-drive-attachment"]],inputs:{disabled:"disabled"},outputs:{onPickDoc:"onPickDoc",onCloneBlob:"onCloneBlob"},standalone:!1,decls:3,vars:1,consts:[[1,"goog-inline-block","vertical-centered"],["type","button","mat-icon-button","","matTooltip","Add Drive attachments","aria-label","Add Drive attachments",3,"click","disabled"],["svgIcon","google-drive"]],template:function(a,b){a&1&&(I(0,"div",0)(1,"button",1),M("click",function(){return b.showDialog()}),K(2,"mat-icon",
2),J()());a&2&&(B(),E("disabled",b.disabled))},dependencies:[pB,eB,ly,mB,rB],encapsulation:2});var NV=function(){Z.apply(this,arguments);this.issueDetailsBrain=r(eJ);this.userResources=r(SD);this.analytics=r(OF);this.isPlusOneText=!1;this.onSubmitComment=new aB};Y(NV,Z);NV.\u0275dir=Z.\u0275dir;NV.prototype.ngOnChanges=function(a){a.isPlusOneText&&this.isPlusOneText&&this.analytics.trackEvent("editIssue","view","commentAndVoteBanner")};
NV.prototype.onClick=function(a){var b=tp(this.issueDetailsBrain.id$);this.onSubmitComment.emit(a);b!=null&&(mjc(this.userResources,b,{voted:!0,starred:null,notificationSubscription:null}).pipe(Zf(this.destroyed$)).subscribe(),this.analytics.trackEvent("editIssue","click","commentAndVote"))};NV.\u0275fac=function(){var a;return function(b){return(a||(a=ee(NV)))(b||NV)}}();
NV.\u0275cmp=C({type:NV,selectors:[["b-plus-one-comment-callout"]],inputs:{isPlusOneText:"isPlusOneText"},outputs:{onSubmitComment:"onSubmitComment"},standalone:!1,features:[cg,rv],decls:1,vars:1,consts:[[1,"callout"],["svgIcon","info",1,"info-icon",3,"matTooltip"],["role","alert",1,"content"],[1,"actions"],["type","button","mat-flat-button","","color","primary",3,"click"]],template:function(a,b){a&1&&D(0,J9a,7,1,"div",0);a&2&&G(b.isPlusOneText?0:-1)},dependencies:[pB,eB,jy,mB,rB],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 VTc=["commentBoxContainer"],WTc=[[["","warning",""]],[["","recaptchaContainer",""]],[["","additionalToolbarItems",""]]],XTc=function(a){return{focused:a}},YTc=function(a,b){return[a,b]},OV=function(){this.analytics=r(OF);this.hotkeys=r(uH);this.activeSession=r(Bu);this.appEvents=r(yD);this.MARKDOWN="MARKDOWN";this.commentChange=new aB;this.warn=this.disabled=this.supportsPreview=!1;this.showToolbar=!0;this.attachmentsDisabled=!1;this.showRestrictionOptions=!0;this.isLiteralModeSupported=this.canEditIssuesInComponent=
this.isPlusOneCalloutEnabled=!1;this.onPlusOneTextEntered=new aB;this.onChange=new aB;this.onFocusEvent=new aB;this.onSubmit=new aB;this.onRestrict=new aB;this.createRestrictedResourcesComponentIds=this.activeSession.getCreateRestrictedSubresourcesComponentIds();this.focused=!1;this.commentRebound$=new Tf(1);this.destroyed$=new Tf(1);this.currentTracker=this.activeSession.getTracker()};g=OV.prototype;g.ngOnDestroy=function(){var a;(a=this.comment)==null||Qrc(a);this.destroyed$.next()};
g.ngOnInit=function(){var a=this;this.appEvents.focusCommentBox.pipe(Zf(this.destroyed$)).subscribe(function(b){d_a(a,b)});this.appEvents.scrollToCommentBox.pipe(Zf(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 YHa(c)};
g.isRestricted=function(){var a,b;return((b=(a=this.judgementForNewContent)==null?void 0:a.severity)!=null?b:"NONE_DETECTED")!=="NONE_DETECTED"};var d_a=function(a,b){(b=b===void 0?"":b)&&a.analytics.trackEvent("commentBox","takeFocus",b);a.scrollIntoView();setTimeout(function(){var c;(c=a.commentDraftComponent)==null||QLc(c)})};g=OV.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&&Ta(this.comment.uploads,a)};g.scrollIntoView=function(){var a;(a=this.commentBoxContainer)==null||a.nativeElement.scrollIntoView({behavior:"smooth"})};g.onFocus=function(){this.focused=!0;this.onFocusEvent.emit()};g.onBlur=function(){this.focused=!1};g.onKeydown=function(a){this.hotkeys.isEnabled()&&(a.key!=="Enter"||!a.ctrlKey&&!a.metaKey||this.disabled||this.onSubmit.emit(a))};g.submitComment=function(a){this.onSubmit.emit(a)};
OV.\u0275fac=function(a){return new (a||OV)};
OV.\u0275cmp=C({type:OV,selectors:[["b-comment-box"]],viewQuery:function(a,b){a&1&&(Rg(sS,5),Rg(VTc,5),Rg(vV,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",canEditIssuesInComponent:"canEditIssuesInComponent",isLiteralModeSupported:"isLiteralModeSupported"},outputs:{commentChange:"commentChange",onPlusOneTextEntered:"onPlusOneTextEntered",onChange:"onChange",onFocusEvent:"onFocusEvent",onSubmit:"onSubmit",onRestrict:"onRestrict"},standalone:!1,features:[rv],ngContentSelectors:["[warning]",
"[recaptchaContainer]","[additionalToolbarItems]"],decls:10,vars:20,consts:[["commentBoxContainer",""],[1,"bv2-comment-box-container",3,"ngClass"],[1,"bv2-comment-textarea-wrapper"],[3,"contentChange","focus","blur","keydown","paste","content","placeholder","disabled","textareaClass","audience","idForAriaLabel","issueId","canEditIssuesInComponent","enableMentionsAutocomplete","isLiteralModeSupported"],[3,"isPlusOneText"],[3,"onUploadCancel","onUploadComplete","uploads"],[1,"bv2-comment-toolbar"],
[3,"onSubmitComment","isPlusOneText"],[3,"onSelect","disabled"],[3,"disabled"],[1,"goog-inline-block","vertical-centered","restriction-button"],[3,"onPickDoc","onCloneBlob","disabled"],["type","button","mat-icon-button","","matTooltip","Restrict this comment/attachment","aria-label","Restrict this comment/attachment",3,"disabled"],["type","button","mat-button","","matTooltip","Restrict this comment/attachment","aria-label","Restrict this comment/attachment",1,"button-with-text"],["type","button",
"mat-icon-button","","matTooltip","Restrict this comment/attachment","aria-label","Restrict this comment/attachment",3,"click","disabled"],["svgIcon","restricted"],["type","button","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=v();Ig(WTc);I(0,"div",1,0)(2,"div",2)(3,"b-comment-draft",3);M("contentChange",function(d){w(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(){w(c);return x(b.onFocus())})("blur",function(){w(c);return x(b.onBlur())})("keydown",function(d){w(c);return x(b.onKeydown(d))})("paste",function(d){w(c);if(d&&d.clipboardData!=null){var e=d.clipboardData;for(var f=!1,h=!1,l=0,q=0;q<e.items.length;q++)e.items[q].kind==="string"&&
e.items[q].type==="text/plain"?f=!0:e.items[q].kind==="file"&&(h=!0,l=q);h&&e.items&&e.files?(h=e.files[0],l=e.items[l].type.replace(/^.*[/]/,""),f?(e=e.getData("text/plain"),e=e.replace(/^.*[\\\/]/,"")):e=(new Date).toString()+"."+l,e={file:h,filename:e}):e=void 0;e&&(d.preventDefault(),d=new File([e.file],e.filename,{type:e.file.type}),b.uploadFile(d))}return x()});J();D(4,K9a,1,1,"b-plus-one-comment-callout",4);J();Jg(5);I(6,"b-attachment-uploader",5);M("onUploadCancel",function(d){w(c);b.removeUpload(d);
return x(b.onChange.emit())})("onUploadComplete",function(){w(c);return x(b.onChange.emit())});J();Jg(7,1);D(8,P9a,5,3,"div",6);J();D(9,Q9a,2,4,"div")}a&2&&(E("ngClass",eh(15,XTc,b.focused)),B(3),E("content",b.comment.value)("placeholder",b.placeholder)("disabled",b.disabled)("textareaClass",fh(17,YTc,b.disabled?"bv2-disabled":"",b.warn?"banned-words-warning":""))("audience",b.audience)("idForAriaLabel",b.idForAriaLabel)("issueId",b.issueId)("canEditIssuesInComponent",b.canEditIssuesInComponent)("enableMentionsAutocomplete",
!0)("isLiteralModeSupported",b.isLiteralModeSupported),B(),G(b.isPlusOneCalloutEnabled?4:-1),B(2),E("uploads",b.comment.uploads),B(2),G(b.showToolbar?8:-1),B(),G(b.supportsPreview&&b.comment.formattingMode===b.MARKDOWN?9:-1))},dependencies:[aw,pB,sS,mB,rB,LK,MV,sV,vV,eB,jy,ly,NV],encapsulation:2});var PV=function(){this.documentationLinks=r(lI);this.issueLimits=r(IS);this.accessPolicyApi=r(nD);this.implicitAccessEnabled=!1};PV.prototype.ngOnInit=function(){var a=this;this.accessPolicyApi.checkComponentImplicitAccessEnabled(Number(this.componentId)).then(function(b){return a.implicitAccessEnabled=b})};PV.prototype.toggleAccessLimits=function(){var a=this;return se(function(b){a.issueLimits.open({componentId:Number(a.componentId),issueId:a.issueId});xe(b)})};
PV.prototype.toggleAccessLimitsWithKeystroke=function(a){this.toggleAccessLimits();a.stopPropagation();a.preventDefault()};PV.prototype.getAccessLimitLevelDisplay=function(a){return a==="LIMIT_APPEND"?"Commenting":a==="LIMIT_VIEW"||a==="LIMIT_VIEW_TRUSTED"?"Visibility":""};
var ZTc=function(a,b){if(b)a:if(a=a.implicitAccessEnabled,b===jMc.accessLevel)b=a?"Only added users + Googlers may access. The assignee, verifier and collaborators may edit. CCs can comment. Googler access is according to their component-level permissions.":"Only added users + Googlers may access. They have their normal access as defined by the component-level permissions.";else{for(var c=k(eZa),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?Br.descriptionWithExpandedAccess:Br.descriptionNoExpandedAccess}else b="";return b};PV.\u0275fac=function(a){return new (a||PV)};
PV.\u0275cmp=C({type:PV,selectors:[["b-access-limits-chip"]],inputs:{issueId:"issueId",componentId:"componentId",accessLimitLevel:"accessLimitLevel"},standalone:!1,decls:12,vars:4,consts:[["card","onedevHovercard"],["type","button","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=v();I(0,"button",1);M("click",function(){w(c);return x(b.toggleAccessLimits())})("keydown.enter",function(d){w(c);return x(b.toggleAccessLimitsWithKeystroke(d))})("keydown.space",function(d){w(c);return x(b.toggleAccessLimitsWithKeystroke(d))});K(1,"mat-icon",2);I(2,"span",3);Q(3);J()();I(4,"onedev-hovercard",
null,0)(6,"div",4)(7,"div",5)(8,"span",6);Q(9);I(10,"a",7);Q(11," Learn more");J()()()()()}a&2&&(a=L(5),E("onedevHovercardTrigger",a),B(3),Yg(b.getAccessLimitLevelDisplay(b.accessLimitLevel)),B(6),R(" Issue access is limited. ",ZTc(b,b.accessLimitLevel)," "),B(),E("href",b.documentationLinks.getIssueAccessLimit(),vf))},dependencies:[pB,mB,rB,$H,fI],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 $Tc=[[["","additionalToolbarItems",""]]],d$a=function(a,b){return{empty:a,"never-focused":b}},QV=function(){var a=this;this.issuePermissionService=r(gJ);this.userPreferencesManager=r(TG);this.editIssueService=r(kJ);this.analytics=r(OF);this.draftStore=r(kI);this.activeSession=r(Bu);this.issueDetailsBrain=r(eJ);this.issueCommentDialogsService=r(DS);this.appEvents=r(yD);this.bannedWordsChecker=r(yS);this.componentFridge=r(uD);this.butterBar=r(fH);this.destroyRef=r(cf);this.issueId$=new Tf(1);this.distinctIssueId$=
this.issueId$.pipe(Pf());this.issue$=this.distinctIssueId$.pipe(Yf(function(b){return a.editIssueService.editableIssue$(b)}));this.wasFocused=!1;this.commentButtonStyle="fill";this.enableRecaptcha=this.activeSession.userRequiresCaptcha();this.enableLiteralModeRevisions=Vt(this.activeSession,"enableLiteralModeRevisions");this.recaptchaResponse$=new Xi("");this.showActionsAfterPreview=!1;this.showCommentButton=!0;this.commentSubmitted=new aB;this.issueComponent$=this.issue$.pipe(Yf(function(b){return a.componentFridge.watch(b==
null?void 0:b.componentId)}));this.issueAccessLimitLevel$=this.issuePermissionService.accessLimitLevel$.pipe(z(function(b){return b!=null?b:"LIMIT_NONE"}));this.isAccessLimited$=this.issueAccessLimitLevel$.pipe(z(function(b){return b==="LIMIT_VIEW"||b==="LIMIT_APPEND"||b==="LIMIT_VIEW_TRUSTED"}));this.HOTKEYS=Fp;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(b){return b.autoCcOnComment}));this.issueCommentDraft$=this.issueId$.pipe(z(function(b){return a.editIssueService.issueCommentDraft(b)}));this.judgementForNewContent$=this.issueCommentDraft$.pipe(Yf(function(b){return b.judgementForNewContent$}));this.comment$=this.issueCommentDraft$.pipe(Yf(function(b){return b.comment$}));
this.events$=this.issueDetailsBrain.eventsJs$;this.savingState$=this.issueId$.pipe(z(function(b){return a.editIssueService.savingState(b)}));this.isSaving$=this.savingState$.pipe(Yf(function(b){return Bq(b.fields,Rp("comment"))}));this.commentLimitReached$=this.events$.pipe(z(function(b){var c=a.activeSession.getCommentNumberLimit();return qxa(b)>=c}));this.commentPlaceholderText$=this.commentLimitReached$.pipe(z(function(b){return b?"The comment limit has been reached and no additional comments are permitted.":
a.activeSession.isAnonymous()?"Sign in to use full features.":a.issuePermissionService.hasAclToComment()?"Add a comment.":"You do not have access to comment on this issue."}));this.commentBoxEnabled$=Ie([this.hasAclToComment$,this.commentLimitReached$,this.isSaving$]).pipe(z(function(b){var c=k(b);b=c.next().value;var d=c.next().value;c=c.next().value;return b&&!d&&!c}));this.showRecaptcha$=Ie([this.hasAclToComment$,this.commentLimitReached$]).pipe(z(function(b){var c=k(b);b=c.next().value;c=c.next().value;
return b&&!c&&a.enableRecaptcha}));this.commentDraftUpdated$=new Xi(!0);this.commentButtonEnabled$=Ie([this.hasAclToComment$,this.comment$,this.isSaving$,this.recaptchaResponse$,this.commentDraftUpdated$]).pipe(z(function(b){var c=k(b);b=c.next().value;var d=c.next().value;var e=c.next().value;c=c.next().value;return b&&Src(d)&&!e&&(!a.enableRecaptcha||c!=="")}));this.empty$=Ie([this.comment$,this.commentDraftUpdated$]).pipe(z(function(b){var c,d;return(d=(c=k(b).next().value)==null?void 0:c.value)!=
null?d:""}),z(function(b){return b.length===0}));this.doAutoRestrictComment$=Ie([this.issueComponent$,this.comment$,this.commentDraftUpdated$]).pipe(z(function(b){b=k(b);var c=b.next().value;var d=b.next().value;b.next();b=Hp(a.activeSession);var e=tp(a.judgementForNewContent$);c=c!=null?c:null;d=d.uploads.length>0;var f=!(c==null||!c.trackerId);e=(e==null?void 0:e.severity)!=="RESTRICTED"&&(e==null?void 0:e.severity)!=="RESTRICTED_PLUS";return Jr(c)&&f&&!b&&d&&e}))};
QV.prototype.setJudgementForNewContent=function(a,b){this.editIssueService.issueCommentDraft(a).setJudgementForNewContent(b)};
QV.prototype.autoRestrictComment=function(a){var b=this,c;return se(function(d){a&&(c={severity:"RESTRICTED",judgementReason:"Auto-restricted for issue on public tracker being edited from outside of a tracker",resourcePath:void 0,contentJudgementId:void 0},b.setJudgementForNewContent(b.issueId,c),jq(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."));xe(d)})};
QV.prototype.ngOnInit=function(){this.doAutoRestrictComment$.pipe(Bh(this.destroyRef)).subscribe(this.autoRestrictComment.bind(this))};var V9a=function(a){var b;return se(function(c){b=!UG(a.userPreferencesManager).autoCcOnComment;a.analytics.trackEvent("editIssue","toggleAutoCcOnComment",String(b));return y(c,Fe(a.userPreferencesManager.save({autoCcOnComment:b})),0)})};
QV.prototype.saveCommentDraft=function(){var a=this,b;return se(function(c){if(c.nextAddress==1)return a.bannedWordsChecker.reset(),y(c,Fe(a.comment$),2);b=c.yieldResult;a.draftStore.$window.sessionStorage.setItem(Kp(a.internalIssueId),b.value);a.commentDraftUpdated$.next(!0);xe(c)})};
QV.prototype.submitCommentBox=function(a){var b=this,c,d,e,f,h,l,q;return se(function(u){if(u.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),y(u,b.bannedWordsChecker.check(e.value,b.issuePermissionService.accessLevel()==="EXTERNAL_PUBLIC",f.componentId),2);if(u.nextAddress!=3)return h=u.yieldResult,h?y(u,b.issueCommentDialogsService.submitCommentBox(String(f.componentId),
b.internalIssueId,e,d),3):((l=a)==null||l.preventDefault(),(q=b.commentBox)==null||d_a(q),u.return());b.commentSubmitted.emit();b.enableLiteralModeRevisions&&joc(b.userPreferencesManager,e.formattingMode).subscribe();b.bannedWordsChecker.reset();b.appEvents.recaptchaSubmitted.next();xe(u)})};QV.prototype.showNewContentJudgementDialog=function(){var a=this;return se(function(b){return y(b,a.issueCommentDialogsService.showNewContentJudgementDialog(a.internalIssueId),0)})};
QV.prototype.isPlusOneCalloutEnabled=function(){return this.activeSession.isInternalSession()&&!tp(this.issueDetailsBrain.voted$)};da.Object.defineProperties(QV.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)}}});
QV.\u0275fac=function(a){return new (a||QV)};
QV.\u0275cmp=C({type:QV,selectors:[["b-post-comment"]],viewQuery:function(a,b){a&1&&Rg(OV,5);if(a&2){var c;Vg(c=Wg())&&(b.commentBox=c.first)}},inputs:{issueId:"issueId",showActionsAfterPreview:"showActionsAfterPreview",showCommentButton:"showCommentButton"},outputs:{commentSubmitted:"commentSubmitted"},standalone:!1,features:[ch([yS])],ngContentSelectors:["[additionalToolbarItems]"],decls:4,vars:3,consts:[["actionButtons",""],["commentBox",""],[1,"a11y-only"],[1,"bv2-edit-issue-add-comment",3,"ngClass"],
["id","AddCommentBox",3,"hotkey","supportsPreview","issueId","comment","componentId","placeholder","judgementForNewContent","audience","disabled","isPlusOneCalloutEnabled","warn","isLiteralModeSupported"],["id","AddCommentBox",3,"onHotkey","onChange","onFocusEvent","onSubmit","onRestrict","onPlusOneTextEntered","hotkey","supportsPreview","issueId","comment","componentId","placeholder","judgementForNewContent","audience","disabled","isPlusOneCalloutEnabled","warn","isLiteralModeSupported"],["warning",
"",1,"banned-words-warning","break-word"],["recaptchaContainer",""],["additionalToolbarItems","",1,"goog-inline-block"],[1,"goog-inline-block"],[1,"goog-inline-block","vertical-centered"],[3,"initialValue"],[3,"issueId","componentId","accessLimitLevel"],[3,"issueId"],["target","_blank","aria-label","Learn more about banned words","href","http://go/b-trackers#banned-words-for-tracker",1,"color-bad-text","keep-underline"],[3,"onUpdate"],[4,"ngTemplateOutlet"],[3,"change","checked","disabled"],["matTooltip",
"(issuePermissionService.addMeToCcDisabledReason$ | async) || ''",3,"checked","disabled"],[3,"change","initialValue"],[3,"format","disabled","color"],[3,"onAction","click","format","disabled","color"]],template:function(a,b){a&1&&(Ig($Tc),D(0,f$a,1,1),S(1,"async"),D(2,h$a,1,1,"ng-template",null,0,ih));if(a&2){var c;G((c=U(1,1,b.issue$))?0:-1,c)}},dependencies:[dQ,OV,UM,aw,dw,wH,RH,SH,tS,PV,YK,ew],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 RV=function(){};RV.\u0275fac=function(a){return new (a||RV)};RV.\u0275mod=Cf({type:RV});RV.\u0275inj=p({providers:[{provide:FRc,useFactory:function(){return new CRc}}]});var SV=function(){};SV.\u0275fac=function(a){return new (a||SV)};SV.\u0275mod=Cf({type:SV});SV.\u0275inj=p({imports:[mw,RV]});var TV=function(){};TV.\u0275fac=function(a){return new (a||TV)};TV.\u0275mod=Cf({type:TV});TV.\u0275inj=p({providers:[{provide:ERc,useFactory:tV}],imports:[lC,mC,pC,SV,hC]});var UV=function(){};UV.\u0275fac=function(a){return new (a||UV)};UV.\u0275mod=Cf({type:UV});UV.\u0275inj=p({imports:[lC,mC,pC]});var VV=function(){};VV.\u0275fac=function(a){return new (a||VV)};VV.\u0275mod=Cf({type:VV});VV.\u0275inj=p({imports:[lC,UU,fP,pC,eQ,GN,TV,mC,UV]});var WV=function(){};WV.\u0275fac=function(a){return new (a||WV)};WV.\u0275mod=Cf({type:WV});WV.\u0275inj=p({imports:[lC,mC,bN,pC,fP]});var XV=function(){};XV.\u0275fac=function(a){return new (a||XV)};XV.\u0275mod=Cf({type:XV});XV.\u0275inj=p({imports:[WV,lC,ZU,fP,mC,XI,bN,pC,$O,jN]});var YV=function(){};YV.\u0275fac=function(a){return new (a||YV)};YV.\u0275mod=Cf({type:YV});YV.\u0275inj=p({imports:[lC,MN,pC,WM,XV]});var ZV=function(){};ZV.\u0275fac=function(a){return new (a||ZV)};ZV.\u0275mod=Cf({type:ZV});ZV.\u0275inj=p({});var $V=function(){};$V.\u0275fac=function(a){return new (a||$V)};$V.\u0275mod=Cf({type:$V});$V.\u0275inj=p({imports:[eQ,VV,GN,lC,ON,bz,xH,mC,jN,ZV,YV,aP]});var Rs=function(a){this.lookupId_=a;this.displayName_="";this.forceDisplayNameOverride_=!1};Rs.prototype.getId=function(){return this.lookupId_};Rs.prototype.setDisplayName=function(a){this.displayName_=a;return this};Rs.prototype.getDisplayName=function(){return this.displayName_};var Jdb=function(a,b){a.forceDisplayNameOverride_=b;return a};Rs.prototype.getForceDisplayNameOverride=function(){return this.forceDisplayNameOverride_};
Rs.prototype.equals=function(a){return a?this===a?!0:this.getId().equals(a.getId())&&this.getDisplayName()===a.getDisplayName()&&this.getForceDisplayNameOverride()===a.getForceDisplayNameOverride():!1};var i$a=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(i$a,V);i$a.prototype.setEnabled=function(a,b){return Ac(this,1,Jb,a,b,Kb)};i$a.prototype.setDisabled=function(a,b){Ac(this,2,Jb,a,b,Kb)};var aW=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(aW,V);g=aW.prototype;g.getEnableClearcut=function(){return Ak(this,1,!1)};g.setEnableClearcut=function(a){return cl(this,1,a)};g.getClientId=function(){return Fk(this,2,0)};g.setClientId=function(a){return gl(this,2,a)};g.getSocialApplication=function(){return Fk(this,3,0)};g.getSocialApplicationOrUndefined=function(){return Bt(this,3)};g.getComponentFlow=function(){return Fk(this,4,0)};
g.setComponentFlow=function(a){return gl(this,4,a)};g.getInterfaceType=function(){return Fk(this,5,0)};g.setInterfaceType=function(a){return gl(this,5,a)};var bW=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(bW,V);bW.prototype.getEnableAutocompleteLegalese=function(){return Ak(this,11,!1)};var cW=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(cW,V);cW.prototype.getApplication=function(){return Fk(this,1,0)};cW.prototype.setApplication=function(a){return gl(this,1,a)};cW.prototype.getApplicationOrUndefined=function(){return Bt(this,1)};cW.prototype.getIsEnabled=function(){return Ak(this,2,!1)};var aUc=[0,Xv,-14];var bUc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(bUc,V);g=bUc.prototype;g.getClearcut=function(){return W(this,aW,1)};g.setClearcut=function(a){X(this,aW,1,a)};g.hasClearcut=function(){return Jk(this,aW,1)};g.getExperiments=function(){return W(this,cW,2)};g.setExperiments=function(a){return X(this,cW,2,a)};g.hasExperiments=function(){return Jk(this,cW,2)};g.getEnableAutocompleteLegalese=function(){return Ak(this,13,!0)};var cUc=qna(bUc);var dUc;var eUc=function(){this.actionListeners=new Map};eUc.prototype.subscribe=function(a,b){this.actionListeners.has(a)?this.actionListeners.get(a).push(b):this.actionListeners.set(a,[b])};eUc.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)}};
eUc.prototype.notify=function(a){var b=vd.apply(1,arguments);if(this.actionListeners.has(a)){var c=this.actionListeners.get(a);c=k(c);for(var d=c.next();!d.done;d=c.next()){d=d.value;try{d.apply(null,b)}catch(e){}}}};var fUc=function(){this.actionEventDispatcher=new eUc};var gUc=function(){var a=ec(dUc||(dUc=cUc("[[true,49,740,4],[7,true],null,null,null,null,null,null,null,null,null,null,false,false]")));this.injectorService=new fUc;a.hasClearcut()||a.setClearcut(new aW);a.hasExperiments()||a.setExperiments(new cW);this.internal=a};var hUc=function(a,b,c,d,e,f){this.coreTypeOrder=a;this.decoratorTypeOrder=b;this.getCompatibleTypes=c;this.container=d;this.extractor=e;this.configurationKey=f===void 0?"\ud83c\udf68":f};
hUc.prototype.create=function(a){for(var b=this,c=k(this.coreTypeOrder.filter(function(h){var l=b.configurationKey;return b.container.configurations.hasCoreType(h,l===void 0?"\ud83c\udf68":l)})),d=c.next();!d.done;d=c.next()){d=d.value;var e=this.container.getCoreFactory(d),f=void 0;if((f=e)==null?0:f.shouldCreate(a))return c=void 0,this.extractor(this.decorate((c=e)==null?void 0:c.create(a),d,a))}throw Error("Bf");};
hUc.prototype.decorate=function(a,b,c){var d=this,e,f=(e=this.getCompatibleTypes(b))!=null?e:new Set;return this.decoratorTypeOrder.filter(function(h){var l=d.configurationKey;return d.container.configurations.hasDecoratorType(h,l===void 0?"\ud83c\udf68":l)&&f.has(h)}).map(function(h){return d.container.getDecoratorFactory(h)}).filter(function(h){return h==null?void 0:h.shouldCreate(c)}).reduce(function(h,l){return l.create(c,h)},a)};var dW=function(){this.core=new Set;this.decorators=new Set};dW.prototype.addCoreType=function(a){this.core.add(a)};dW.prototype.addDecoratorType=function(a){this.decorators.add(a)};dW.prototype.hasCoreType=function(a){return this.core.has(a)};dW.prototype.hasDecoratorType=function(a){return this.decorators.has(a)};var iUc=function(){this.configurations=new Map};g=iUc.prototype;g.addCoreType=function(a,b){this.configurations.has(b)||this.configurations.set(b,new dW);this.configurations.get(b).addCoreType(a)};
g.addDecoratorType=function(a,b){this.configurations.has(b)||this.configurations.set(b,new dW);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 jUc=function(){this.core=new Map;this.decorator=new Map};g=jUc.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 eW=function(a){var b=this;var c=a.coreTypeOrder;var d=a.decoratorTypeOrder;var e=a.extractor;a=a.getCompatibleTypes;this.configurations=new iUc;this.factories=new jUc;this.coreTypeOrder=c;this.decoratorTypeOrder=d;this.extractor=e;this.getCompatibleTypes=a;kUc.set(this,function(){b.configurations.clear();b.factories.clear()})};
eW.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)};eW.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)};eW.prototype.getCoreFactory=function(a){return this.factories.getCoreFactory(a)};
eW.prototype.getDecoratorFactory=function(a){return this.factories.getDecoratorFactory(a)};var Gdb=function(a,b){b=b===void 0?"\ud83c\udf68":b;return new hUc(a.coreTypeOrder,a.decoratorTypeOrder,a.getCompatibleTypes,a,a.extractor,b===void 0?"\ud83c\udf68":b)},kUc=new Map;var bs=new eW({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 p$a=function(a){var b=a.imageUrls,c=a.backupUrl,d=a.size,e=a.preloadSize,f=a.pixelRatio;a=qs;var h='<div class="'+ts("peoplekitComponentsAvatarImplAvatarContainer")+'" style="width: '+ts(FO(d))+"px; height: "+ts(FO(d))+'px"><div peoplekit-id="'+ts("YLEF4c")+'" class="'+ts("peoplekitComponentsAvatarImplAvatar")+'" style="width: '+ts(FO(d))+"px; height: "+ts(FO(d))+'px">';b=b.length===1?qs('<div class="'+ts("peoplekitComponentsAvatarImplContainer")+'">'+fW(b[0],c,d,e,f)+"</div>"):b.length===2?qs('<div class="'+
ts("peoplekitComponentsAvatarImplContainer")+'"><div class="'+ts("peoplekitComponentsAvatarImplColumn")+'">'+fW(b[0],c,d,e,f)+"</div>"+gW()+'<div class="'+ts("peoplekitComponentsAvatarImplColumn")+'">'+fW(b[1],c,d,e,f)+"</div></div>"):b.length===3?qs('<div class="'+ts("peoplekitComponentsAvatarImplContainer")+'"><div class="'+ts("peoplekitComponentsAvatarImplColumn")+'">'+fW(b[0],c,d,e,f)+"</div>"+gW()+'<div class="'+ts("peoplekitComponentsAvatarImplColumn")+'"><div class="'+ts("peoplekitComponentsAvatarImplRow")+
'">'+fW(b[1],c,Math.round(d*.5),e,f)+"</div>"+gW()+'<div class="'+ts("peoplekitComponentsAvatarImplRow")+'">'+fW(b[2],c,Math.round(d*.5),e,f)+"</div></div></div>"):qs('<div class="'+ts("peoplekitComponentsAvatarImplContainer")+'"><div class="'+ts("peoplekitComponentsAvatarImplColumn")+'"><div class="'+ts("peoplekitComponentsAvatarImplRow")+'">'+fW(b[0],c,Math.round(d*.5),e,f)+"</div>"+gW()+'<div class="'+ts("peoplekitComponentsAvatarImplRow")+'">'+fW(b[2],c,Math.round(d*.5),e,f)+"</div></div>"+gW()+
'<div class="'+ts("peoplekitComponentsAvatarImplColumn")+'"><div class="'+ts("peoplekitComponentsAvatarImplRow")+'">'+fW(b[1],c,Math.round(d*.5),e,f)+"</div>"+gW()+'<div class="'+ts("peoplekitComponentsAvatarImplRow")+'">'+fW(b[3],c,Math.round(d*.5),e,f)+"</div></div></div>");b=qs(b);return a(h+b+'</div><div peoplekit-id="'+ts("Btuy5e")+'" class="'+ts("peoplekitComponentsAvatarImplAvatarBadge")+'">'+qs('<img class="'+ts("peoplekitComponentsAvatarImplBadgeIconImage")+'" peoplekit-id="'+ts("m6fZne")+
'" draggable="false" alt="">')+"</div></div>")},fW=function(a,b,c,d,e){var f='<div peoplekit-id="'+ts("IHgMKc")+'" class="'+ts("peoplekitComponentsAvatarImplImageRoot")+'">',h=Ps(mvc(a,c,c,e));h=WDc(h);a=Ps(mvc(a,d,d,e));a=WDc(a);b=Ps(mvc(b,c,c,e));b=WDc(b);h='<img peoplekit-id="'+ts("HiaYvf")+'" class="'+ts("peoplekitComponentsAvatarImplImage")+'" style="width: '+ts(FO(c))+"px; height: "+ts(FO(c))+'px;" data-preload-src="'+ts(a)+'" data-src="'+ts(h)+'" data-backup-src="'+ts(b)+'" draggable="false" alt="">';
c=qs('<svg xmlns="http://www.w3.org/2000/svg" height="'+ts(c)+'px" viewBox="0 0 24 24" width="'+ts(c)+'px" class="'+ts("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 qs(f+(h+c+"</div>"))},
gW=function(){return qs('<div class="'+ts("peoplekitComponentsAvatarImplDivider")+'"></div>')};var lUc=new Map([[0,"light_theme"],[1,"dark_theme"]]);var mUc=!ws&&!tba(),nUc=function(a,b){if(/-[a-z]/.test(b))return null;if(mUc&&a.dataset){if(uba()&&!(b in a.dataset))return null;a=a.dataset[b];return a===void 0?null:a}return a.getAttribute("data-"+K4b(b))};var oUc=new Map([[1,"badge_active"],[2,"badge_inactive"],[3,"badge_idle"],[4,"badge_do_not_disturb"],[5,"badge_video"]]),pUc=new Map([[1,"Active."],[2,"Inactive."],[3,"Idle."],[4,"Do Not Disturb."],[5,"In Video Call."]]),r$a=function(a,b){this.appearance=b;this.root=a;qUc(this)};g=r$a.prototype;
g.setBadge=function(a){var b=Wr(this.root,"Btuy5e");if(a.badgeType===0)b.classList.remove("visible");else{var c=oUc.get(a.badgeType)||"";if(c){var d=this.appearance.getTheme();c="https://www.gstatic.com/people/peoplekit/icons/"+(lUc.get(d)||"light_theme")+"/"+c+".svg"}else c="";a=pUc.get(a.badgeType)||"";d=Wr(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 qUc=function(a){a=k(k$a(a.root,"IHgMKc"));for(var b=a.next(),c={};!b.done;c={img$jscomp$11:void 0,src$jscomp$59:void 0,imageRoot:void 0,backupSrc:void 0},b=a.next())c.imageRoot=b.value,c.img$jscomp$11=Wr(c.imageRoot,"HiaYvf"),b=nUc(c.img$jscomp$11,"preloadSrc"),c.src$jscomp$59=nUc(c.img$jscomp$11,"src"),c.backupSrc=nUc(c.img$jscomp$11,"backupSrc"),n$a(c.src$jscomp$59)?c.img$jscomp$11.src=c.src$jscomp$59:n$a(b)?(c.img$jscomp$11.src=b,mr(function(d){return function(){d.img$jscomp$11.src=d.src$jscomp$59}}(c),
0)):(c.imageRoot.classList.add("isLoading"),c.img$jscomp$11.onload=function(d){return function(){d.imageRoot.classList.remove("isLoading")}}(c),c.img$jscomp$11.onerror=function(d){return function(){d.img$jscomp$11.getAttribute("src")===d.backupSrc?(d.img$jscomp$11.onerror=null,d.imageRoot.classList.remove("isLoading"),d.imageRoot.classList.add("isNotLoaded")):d.img$jscomp$11.src=d.backupSrc}}(c),c.img$jscomp$11.src=c.src$jscomp$59)};var o$a=function(){this.style=this.theme=this.density=0};g=o$a.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 z$a=ms.getInstance();var B$a=function(a){a=a.memberCount;return(new Poc("{MEMBER_COUNT_1,plural,=0{No members}=1{1 member}other{{MEMBER_COUNT_2} members}}")).format_({MEMBER_COUNT_1:a,MEMBER_COUNT_2:""+a},!0)};var G$a=ms.getInstance();var I$a=function(a,b,c){var d=this;this.root=a;this.selection=b;this.selectionsState=c;this.isDisabledInternal=!1;this.deleteButton=Wr(this.root,"bxvLg");this.eventHandler=as(this);this.eventHandler.listen(this.deleteButton,"click",function(){d.onDeleteButtonClick()})};g=I$a.prototype;g.onDeleteButtonClick=function(){this.selectionsState.deselect(this.selection,8)};g.toggleSelection=function(){};g.activate=function(){this.root.classList.add("isActive");this.root.setAttribute("aria-selected","true")};
g.deactivate=function(){this.root.classList.remove("isActive");this.root.setAttribute("aria-selected","false")};g.isActive=function(){return this.root.classList.contains("isActive")};g.spotlight=function(){this.root.classList.add("isSpotlit")};g.unspotlight=function(){this.root.classList.remove("isSpotlit")};g.disable=function(){this.root.classList.add("isDisabled");this.isDisabledInternal=!0};g.enable=function(){this.root.classList.remove("isDisabled");this.isDisabledInternal=!1};g.isDisabled=function(){return this.isDisabledInternal};
g.drag=function(){this.root.classList.add("isDragged")};g.undrag=function(){this.root.classList.remove("isDragged")};g.edit=function(){};g.unedit=function(){};g.dispose=function(){this.eventHandler.removeAll()};g.getRoot=function(){return this.root};g.getSelection=function(){return this.selection};g.setDisambiguationLabel=function(){};g.onKeyDown=function(){};g.onContextMenu=function(){return function(){}};g.getAllIds=function(){return[this.selection.id()]};g.updateWaldo=function(){};
g.updateHubAvailabilityDot=function(){};g.getSupportedIntelligenceFeatures=function(){return[]};g.initializeIntelligence=function(){};var rUc=function(a,b,c,d,e,f,h,l,q){d=d?ts(d):e?ts("isWarning"):"";return qs('<div role="option" class="'+ts("peoplekitComponentsChipChip")+" "+d+" "+(f?ts("isDeletionDisabled"):"")+'" id="'+ts(a)+'" peoplekit-id="'+ts("XPtOyb")+'" data-hovercard-id="'+ts(c)+'" data-name="'+ts(b)+'"'+(f?"":' aria-describedby="'+ts(a)+'-db"')+'><div class="'+ts("peoplekitComponentsChipChipRow")+" "+ts("peoplekitComponentsChipChipContainer")+'"><div class="'+ts("peoplekitComponentsChipLeft")+'">'+Os(h)+'</div><div class="'+
ts("peoplekitComponentsChipCenter")+'">'+Os(l)+'</div><div class="'+ts("peoplekitComponentsChipRight")+'">'+Os(q)+'</div></div><div peoplekit-id="'+ts("QL45qe")+'"></div></div>')},sUc=function(a){return qs('<div class="'+ts("peoplekitComponentsChipAvatar")+'"><div class="'+ts("peoplekitComponentsChipAvatarContainer")+'" peoplekit-id="'+ts("d6MZcd")+'"></div>'+(CO(a)?Os(a):"")+"</div>")},tUc=function(a){var b=qs,c=qs;a='<div class="'+ts("peoplekitComponentsChipAvatarExclamationOverlay")+" "+(a?ts(a):
"")+'"><div class="'+ts("peoplekitComponentsChipExclamationIcon")+" "+(a?ts(a):"")+'">';var d=qs('<svg viewBox="0 0 24 24"><path d="M0 0h24v24H0z" fill="none"/><path d="M11 14V5h2v9Zm0 5v-2h2v2Z"/></svg>');return b(sUc(c(a+d+"</div></div>")))},uUc=function(a){return qs('<div class="'+ts("peoplekitComponentsChipLabelContainer")+'"><div class="'+ts("peoplekitComponentsChipLabel")+" "+ts("peoplekitComponentsChipLabelRow")+'"><div class="'+ts("peoplekitComponentsChipDisplayLabel")+'" translate="no">'+
Os(DO(a))+'</div><div class="'+ts("peoplekitComponentsChipDisambiguationLabel")+'" peoplekit-id="'+ts("hyPgpe")+'" translate="no"></div></div></div>')},vUc=function(a){a='<div id="'+ts(a)+'-db" peoplekit-id="'+ts("bxvLg")+'" class="'+ts("peoplekitComponentsChipDeleteButton")+'" aria-hidden="true" aria-label="'+ts("Press delete to remove this chip")+'">';var b=qs('<svg xmlns="https://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" class="'+(ts("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 qs(a+b+"</div>")};var H$a=function(a){var b=a.id,c=a.label,d=a.stateClass;return qs(rUc(b,a.name,a.hovercardId,d,a.isWarning,a.isDeletionDisabled,qs(""+(d?tUc(d):sUc())),qs(""+uUc(c)),qs(""+vUc(b))))};var M$a=function(a,b,c){var d=this;this.root=a;this.selection=b;this.selectionsState=c;this.isDisabledInternal=!1;this.deleteButton=Wr(this.root,"bxvLg");this.eventHandler=as(this);this.eventHandler.listen(this.deleteButton,"click",function(){return d.onDeleteButtonClick()})};g=M$a.prototype;g.onDeleteButtonClick=function(){this.selectionsState.deselect(this.selection,8)};g.toggleSelection=function(){};
g.activate=function(){this.root.classList.add("isActive");this.root.setAttribute("aria-selected","true")};g.deactivate=function(){this.root.classList.remove("isActive");this.root.setAttribute("aria-selected","false")};g.isActive=function(){return this.root.classList.contains("isActive")};g.spotlight=function(){this.root.classList.add("isSpotlit")};g.unspotlight=function(){this.root.classList.remove("isSpotlit")};g.disable=function(){this.root.classList.add("isDisabled");this.isDisabledInternal=!0};
g.enable=function(){this.root.classList.remove("isDisabled");this.isDisabledInternal=!1};g.isDisabled=function(){return this.isDisabledInternal};g.drag=function(){this.root.classList.add("isDragged")};g.undrag=function(){this.root.classList.remove("isDragged")};g.edit=function(){};g.unedit=function(){};g.dispose=function(){this.eventHandler.removeAll()};g.getRoot=function(){return this.root};g.getSelection=function(){return this.selection};g.setDisambiguationLabel=function(){};g.onKeyDown=function(){};
g.onContextMenu=function(){return function(){}};g.getAllIds=function(){return[this.selection.id()]};g.updateWaldo=function(){};g.updateHubAvailabilityDot=function(){};g.getSupportedIntelligenceFeatures=function(){return[]};g.initializeIntelligence=function(){};var L$a=function(a){var b=a.id,c=a.label,d=a.avatarSize;return qs(rUc(b,a.name,a.hovercardId,"",!1,a.isDeletionDisabled,qs('<div class="'+ts("peoplekitComponentsChipPlaceholderAvatarPlaceholder")+" "+ts("peoplekitComponentsChipPlaceholderShimmer")+'" style="width: '+ts(FO(d))+"px; height: "+ts(FO(d))+'px;"></div>'),qs(""+(c?uUc(c):'<div class="'+ts("peoplekitComponentsChipPlaceholderLabelPlaceholder")+" "+ts("peoplekitComponentsChipPlaceholderShimmer")+'"></div>')),qs(""+vUc(b))))};var hW=function(a){this.delegate=a};g=hW.prototype;g.toggleSelection=function(){this.delegate.toggleSelection()};g.activate=function(){this.delegate.activate()};g.deactivate=function(){this.delegate.deactivate()};g.isActive=function(){return this.delegate.isActive()};g.spotlight=function(){this.delegate.spotlight()};g.unspotlight=function(){this.delegate.unspotlight()};g.disable=function(){this.delegate.disable()};g.enable=function(){this.delegate.enable()};g.isDisabled=function(){return this.delegate.isDisabled()};
g.drag=function(){this.delegate.drag()};g.undrag=function(){this.delegate.undrag()};g.edit=function(){this.delegate.edit()};g.unedit=function(){this.delegate.unedit()};g.dispose=function(){this.delegate.dispose()};g.getRoot=function(){return this.delegate.getRoot()};g.getSelection=function(){return this.delegate.getSelection()};g.setDisambiguationLabel=function(a){this.delegate.setDisambiguationLabel(a)};g.onKeyDown=function(a){this.delegate.onKeyDown(a)};
g.onContextMenu=function(a,b){return this.delegate.onContextMenu(a,b)};g.getAllIds=function(){return this.delegate.getAllIds()};g.updateWaldo=function(a,b){this.delegate.updateWaldo(a,b)};g.updateHubAvailabilityDot=function(a,b){this.delegate.updateHubAvailabilityDot(a,b)};g.getSupportedIntelligenceFeatures=function(){return this.delegate.getSupportedIntelligenceFeatures()};g.initializeIntelligence=function(){this.delegate.initializeIntelligence()};var wUc=Object.freeze(new cs(NaN,NaN)),xUc=Object.freeze(new KO(NaN,NaN,NaN,NaN)),fs=function(a,b){this.root=a;this.options=b;this.lastPosition=wUc;this.lastBounds=xUc;this.anchorUpdateTimer=new EF(15);this.eventHandler=as(this);this.attach()};fs.prototype.attach=function(){var a=this;this.eventHandler.listen(this.anchorUpdateTimer,"tick",function(){return yUc(a)})};fs.prototype.isShown=function(){return this.root.style.display!="none"};fs.prototype.dispose=function(){this.hide();this.eventHandler.removeAll()};
fs.prototype.show=function(a){this.anchor=a;this.lastPosition=wUc;this.lastBounds=xUc;OO(this.root,!0);yUc(this);this.anchorUpdateTimer.start()};
var yUc=function(a){var b;if(b=a.anchor){if(!(b=!a.lastPosition.equals(NO(a.anchor)))){b=a.lastBounds;var c=P$a(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=P$a(c),b=(c=Q$a(c))?b.intersection(R$a(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;es(b,"","");b.style.height=MO("",!0);var h=W$a(c,e,b,f,d);c=W$a(c,e^1,b,f^1,d);h.height>=
c.height||!d?Z$a(b,h):Z$a(b,c);a.lastPosition=NO(a.anchor);a.lastBounds=P$a(a.root)}};fs.prototype.hide=function(){this.root.style.cssText="";OO(this.root,!1);this.anchorUpdateTimer.stop();this.lastPosition=wUc;this.lastBounds=xUc};var bab=function(a,b,c){this.tooltip=a;this.showDelayMs=b;this.hideDelayMs=c;this.displayed=!1;this.eventHandler=as(this)};bab.prototype.showTooltip=function(){zUc(this);if(!this.isDisplayed()&&this.anchor){this.displayed=!0;var a;(a=this.showCallback)==null||a.call(this);iW(this)}};bab.prototype.hideTooltip=function(){iW(this);if(this.isDisplayed()&&this.anchor){this.displayed=!1;var a;(a=this.hideCallback)==null||a.call(this);zUc(this)}else iW(this)};bab.prototype.isDisplayed=function(){return this.displayed};
bab.prototype.getAnchorElement=function(){return this.anchor};
var AUc=function(a,b){a.hideCallback=b.hideTooltipCallback;a.showCallback=b.showTooltipCallback},EUc=function(a,b){if(a.anchor)throw Error("Cf");a.anchor=b;BUc(a);CUc(a);DUc(a)},FUc=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)},GUc=function(a){zUc(a);iW(a);a.showTimeout=setTimeout(function(){a.showTooltip()},a.showDelayMs)},HUc=function(a){zUc(a);iW(a);a.hideTimeout=
setTimeout(function(){a.hideTooltip()},a.hideDelayMs)},BUc=function(a){if(!a.anchor)throw Error("Df");a.eventHandler.listen(a.anchor,"mouseover",function(){a.isDisplayed()?a.showTooltip():GUc(a)});a.eventHandler.listen(a.anchor,"touchstart",function(){GUc(a)});a.eventHandler.listen(a.anchor,"focusin",function(b){a.tooltip.contains(b.relatedTarget)||GUc(a)});a.eventHandler.listen(a.anchor,"touchend",function(){iW(a)});a.eventHandler.listen(a.anchor,"touchcancel",function(){iW(a)});a.eventHandler.listen(a.anchor,
"mouseout",function(){HUc(a)});a.eventHandler.listen(a.anchor,"focusout",function(){a.hideTooltip()})},CUc=function(a){a.eventHandler.listen(a.tooltip,"mouseover",function(){GUc(a)});a.eventHandler.listen(a.tooltip,"mouseout",function(){HUc(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()})},DUc=function(a){a.eventHandler.listen(window,"touchmove",function(){HUc(a)});a.eventHandler.listen(window,
"focus",function(b){b.target!==a.anchor&&HUc(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()})},iW=function(a){clearTimeout(a.showTimeout);a.showTimeout=void 0},zUc=function(a){clearTimeout(a.hideTimeout);a.hideTimeout=void 0};var cab=function(a,b){this.tooltip=a;this.tooltipEventTracker=b;this.popupService=$$a(this.tooltip,{anchorCorner:3,popupCorner:2})},abb=function(a,b){EUc(a.tooltipEventTracker,b);AUc(a.tooltipEventTracker,{showTooltipCallback:function(){a.showTooltipCallback()},hideTooltipCallback:function(){a.hideTooltipCallback()}})};g=cab.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 aab=function(a){var b=a.label,c=a.ariaLabel,d=a.classes,e=a.attributes;return qs('<div id="'+ts(a.id)+'" peoplekit-id="'+ts("suEOdc")+'" class="'+ts("peoplekitComponentsTooltipImplTooltip")+(d?" "+ts(d):"")+'" style="display: none;" aria-hidden="true"'+(c?' aria-label="'+ts(c)+'"':"")+(CO(e)?eEc(BO(e,PDc)?e.getContent():nEc(e)):"")+">"+Os(b)+"</div>")};var gs=function(a,b,c){this.delegate=a;var d=a.getRoot();/-[a-z]/.test("hovercardId")||(mUc&&d.dataset?(/-[a-z]/.test("hovercardId")?0:mUc&&d.dataset?"hovercardId"in d.dataset:d.hasAttribute?d.hasAttribute("data-"+K4b("hovercardId")):d.getAttribute("data-"+K4b("hovercardId")))&&delete d.dataset.hovercardId:d.removeAttribute("data-"+K4b("hovercardId")));d="tt-"+a.getSelection().id().toString();this.tooltip=dab(a.getRoot(),d,{label:b,ariaLabel:c});abb(this.tooltip,a.getRoot())};Y(gs,hW);
gs.prototype.dispose=function(){FUc(this.tooltip.tooltipEventTracker);hW.prototype.dispose.call(this)};gs.prototype.spotlight=function(){hW.prototype.spotlight.call(this);this.tooltip.showTooltip()};gs.prototype.unspotlight=function(){hW.prototype.unspotlight.call(this);this.tooltip.hideTooltip()};gs.prototype.drag=function(){hW.prototype.drag.call(this);this.tooltip.hideTooltip()};var Cab=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=Cab.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("Ef");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("Ef");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 IUc=function(a,b,c,d){this.loggingToken=d;this.lookupWithOverride=Jdb((new Rs(a)).setDisplayName(b),c)};IUc.prototype.getLoggingToken=function(){return this.loggingToken};var JUc=function(){};JUc.prototype.getDisplayNameMatches=function(){return[]};JUc.prototype.getDisplayValueMatches=function(){return[]};JUc.prototype.getGivenNameMatches=function(){return[]};var KUc=new JUc;var gab=function(a,b,c){this.resultType_=a;this.targets_=b;this.memberCount_=c};g=gab.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("Gf");};g.getDisplayName=function(){return""};g.getDisplayValue=function(){return""};g.getDescription=function(){return""};g.getPhotoUrl=function(){return""};
g.getIsBoosted=function(){return!1};g.getMatchInfo=function(){return KUc};g.getExtendedData=function(){return null};var LUc=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],[17,1],[18,7],[19,7]]);var efb=function(){this.url_="";this.sourceType_=this.type_=0;this.glyph_=""};g=efb.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 MUc=(new efb).setType(1).setUrl("https://lh3.googleusercontent.com/a/default-user"),NUc=new efb;var OUc=function(a){this.id_=a;this.value_=this.id_.getOriginalValue();this.description_=this.canonicalValue_="";this.name_=null;this.photo_=Ys(this.id_)?NUc:MUc;this.tags_=[];this.sourceIds_=Agb.includes(this.id_.getType())?[this.id_]:[];this.id_.getType()===8&&this.sourceIds_.push(Aeb(this.id_.getOriginalValue()));this.isMe_=this.id_.getType()===17;this.dataSource_=0;this.resultType_=LUc.get(this.id_.getType())||0;this.personLoggingId_=this.fieldLoggingId_="";this.orgState_=0;this.extendedData_=
this.reachabilityInfo_=this.originatingField_=this.emailSecurityInfo_=null};g=OUc.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_=hs(a);return this};g.getDisplayValue=function(){switch(this.getTargetType()){case 8:var a=this.getOriginatingField();return hs(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_=hs(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_=hs(a);return this};g.getPhoto=function(){return this.photo_};g.setPhoto=function(a){a&&a.getUrl()&&a.getType()!==1?this.photo_=a:this.photo_=Ys(this.id_)?NUc:MUc};
g.getTagList=function(){return this.tags_};g.setTagList=function(a){this.tags_=a||[]};g.getSourceIdList=function(){return this.sourceIds_};g.getProfileId=function(){return this.getSourceIdList().filter(function(a){return a.getType()===3}).map(function(a){return a.getOriginalValue()}).find(Boolean)||""};g.getContactId=function(){return this.getSourceIdList().filter(function(a){return a.getType()===4}).map(function(a){return a.getOriginalValue()}).find(Boolean)||""};g.getLoggingToken=function(){return new tt};
g.getIsMe=function(){return this.isMe_};g.setIsMe=function(a){this.isMe_=a;return this};g.getDataSource=function(){return this.dataSource_};g.setDataSource=function(a){this.dataSource_=a;return this};g.getResultType=function(){return this.resultType_};g.setResultType=function(a){this.resultType_=a;return this};g.getFieldLoggingId=function(){return this.fieldLoggingId_};g.setFieldLoggingId=function(a){this.fieldLoggingId_=hs(a)};g.getPersonLoggingId=function(){return this.personLoggingId_};
g.setPersonLoggingId=function(a){this.personLoggingId_=hs(a)};g.getOrgState=function(){return this.orgState_};g.setOrgState=function(a){this.orgState_=a};g.getOriginatingField=function(){return this.originatingField_};var hfb=function(a,b){a.originatingField_=b;return a};g=OUc.prototype;g.getEmailSecurityInfo=function(){return this.emailSecurityInfo_};g.setEmailSecurityInfo=function(a){this.emailSecurityInfo_=a};g.getReachabilityInfo=function(){return this.reachabilityInfo_};
g.setReachabilityInfo=function(a){this.reachabilityInfo_=a};g.getExtendedData=function(){return this.extendedData_};g.setExtendedData=function(a){this.extendedData_=a};var qt=function(a){return new OUc(a)};var iab=function(a,b,c,d){this.internalId=a;this.displayNameOverride=b;this.forceDisplayNameOverride=c;a=qt(this.internalId).setDataSource(3);this.internalResult=new xq(hab(0,[a]));this.internalSelectionToken=new IUc(this.internalId,this.displayNameOverride,this.forceDisplayNameOverride,d)};g=iab.prototype;g.id=function(){return this.internalId};g.selectionToken=function(){return this.internalSelectionToken};g.targets=function(){return this.internalResult.getTargetList()};g.result=function(){return this.internalResult};
g.getDisplayNameOverride=function(){return this.displayNameOverride};g.getForceDisplayNameOverride=function(){return this.forceDisplayNameOverride};g.getDisplayNameWithOverrideApplied=function(){return this.displayNameOverride};g.isPlaceholder=function(){return!0};var sab=function(a,b){this.root=a;this.options=b};g=sab.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 jab(zgb(this.options.id))};g.toggleSelection=function(){};g.onKeyDown=function(){};g.onContextMenu=function(){return function(){}};var rab=function(a){var b=a.iconUrl,c=a.label,d=a.keyboardShortcut,e=a.densityClass,f=a.ariaLabel;a='<div role="menuitem" id="'+ts(a.id)+'" peoplekit-id="'+ts("UhZROb")+'" class="'+ts("peoplekitComponentsContextmenuitemImplMenuItem")+" "+ts(e)+'"'+(f?' aria-label="'+ts(f)+'"':"")+'><div class="'+ts("peoplekitComponentsContextmenuitemImplRow")+'">'+(CO(b)?'<img class="'+ts("peoplekitComponentsContextmenuitemImplIcon")+" "+ts("peoplekitComponentsContextmenuitemImplLeft")+'" src="'+ts(jEc(b))+'" draggable="false" alt=""/>':
"")+'<div class="'+ts("peoplekitComponentsContextmenuitemImplLabel")+" "+ts("peoplekitComponentsContextmenuitemImplCenter")+'">'+Os(c)+"</div>";d.length>0&&(a+='<div class="'+ts("peoplekitComponentsContextmenuitemImplKeyboardShortcut")+" "+ts("peoplekitComponentsContextmenuitemImplRight")+'"><span dir="ltr">',a+=Os(d.join("+"))+"</span></div>");return qs(a+"</div></div>")};var pdb=new Map([["pcw-select",3],["pcw-deselect",3],["pcw-click",3],["pcw-input",15]]);var ks=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 ns=function(a,b){this.ariaParent=a;this.delegate=b};g=ns.prototype;g.update=function(){var a=this.getSpotlitItem();a?(a=a.getRoot(),tH(this.ariaParent,a)):tH(this.ariaParent,null)};g.prev=function(a){a=this.delegate.prev(a);this.update();return a};g.next=function(a){a=this.delegate.next(a);this.update();return a};g.size=function(){return this.delegate.size()};g.goToItem=function(a,b){a=this.delegate.goToItem(a,b);this.update();return a};
g.goToIndex=function(a,b){a=this.delegate.goToIndex(a,b);this.update();return a};g.activateAll=function(){this.delegate.activateAll()};g.getSpotlitItem=function(){return this.delegate.getSpotlitItem()};g.getActiveItems=function(){return this.delegate.getActiveItems()};g.getItem=function(a){return this.delegate.getItem(a)};g.getIndexOf=function(a){return this.delegate.getIndexOf(a)};g.clear=function(){this.delegate.clear();this.update()};g.reset=function(){this.delegate.reset();this.update()};
g.setSecondaryEventTargets=function(a){this.delegate.setSecondaryEventTargets(a)};g.onKeyDown=function(a){this.delegate.onKeyDown(a)};g.onContextMenu=function(a,b){var c=this;this.delegate.onContextMenu(a,function(){c.update();b()})};g.remove=function(a,b){this.delegate.remove(a,b);this.update()};g.insert=function(a,b,c){this.delegate.insert(a,b,c);this.update()};var PUc=function(a){this.isActive=!1;this.multiActivateAnchorIndex=this.spotlightIndex=-1;this.secondaryEventTargets=[];this.list=[].concat(t([]));this.shouldWrap=!!a.shouldWrap;this.activeItems=new Set([]);this.hideContextMenu=function(){}};g=PUc.prototype;
g.remove=function(a,b){var c=-1;a=k(a);for(var d=a.next();!d.done;d=a.next())d=d.value,c=this.list.indexOf(d),this.list.splice(c,1),this.activeItems.delete(d),b||(c<this.spotlightIndex?--this.spotlightIndex:c===this.spotlightIndex&&this.reset());c>=0&&b&&(this.isActive=!1,this.goToIndex(c,0))};
g.insert=function(a,b,c){this.list.splice.apply(this.list,[a,0].concat(t(b)));c?(QUc(this),RUc(this,a,a+b.length-1),this.spotlightIndex=a,this.list[this.spotlightIndex].spotlight()):a>=0&&a<=this.spotlightIndex&&(this.spotlightIndex+=b.length)};g.size=function(){return this.list.length};
g.prev=function(a){var b=this.spotlightIndex===0&&(!this.shouldWrap||a===1);!this.list.length||b?a=!1:(this.isActive?(b=this.spotlightIndex-1,b=b>=0?b:this.list.length+b):b=this.list.length-1,a=this.goToIndex(b,a));return a};g.next=function(a){var b=this.spotlightIndex===this.list.length-1&&(!this.shouldWrap||a===1);if(!this.list.length||b)a=!1;else{var c;this.isActive?c=(this.spotlightIndex+1)%this.list.length:c=0;a=this.goToIndex(c,a)}return a};
g.goToItem=function(a,b){a=this.list.indexOf(a);return this.goToIndex(a,b)};
g.goToIndex=function(a,b){this.hideContextMenu();if(!this.list.length||a===void 0||a<0)return!1;var c=this.isActive?this.spotlightIndex:-1;this.spotlightIndex=Math.max(Math.min(this.list.length-1,a),0);this.isActive&&this.list[c].unspotlight();this.isActive||(this.multiActivateAnchorIndex=a);this.isActive=!0;switch(b){case 0:QUc(this);SUc(this);break;case 3:SUc(this);break;case 1:a=vab(this.spotlightIndex,c,this.multiActivateAnchorIndex);b=vab(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);RUc(this,this.multiActivateAnchorIndex,this.spotlightIndex)}this.list[this.spotlightIndex].spotlight();return!0};
g.activateAll=function(){if(!(this.list.length<=0)){var a=this.spotlightIndex>=0?this.spotlightIndex:this.list.length-1;QUc(this);for(var b=k(this.list),c=b.next();!c.done;c=b.next())c=c.value,c.activate(),this.activeItems.add(c);this.goToIndex(a,2)}};g.getSpotlitItem=function(){return this.isActive?this.list[this.spotlightIndex]:void 0};g.getActiveItems=function(){var a=this;return this.list.filter(function(b){return a.activeItems.has(b)})};
g.getItem=function(a){for(var b=k(this.list),c=b.next();!c.done;c=b.next()){c=c.value;var d=c.getRoot();if(d===a||d.contains(a))return c}};g.getIndexOf=function(a){return this.list.indexOf(a)};g.clear=function(){this.reset();this.list.length=0};g.reset=function(){this.hideContextMenu();QUc(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(t(this.secondaryEventTargets));b=k(b);for(var c=b.next();!c.done;c=b.next()){var d=void 0;(d=c.value)==null||d.onKeyDown(a);if(a.hasStoppedPropagationInternal)break}};g.onContextMenu=function(a,b){this.hideContextMenu();var c=a.event;if(c=c.target===c.currentTarget?this.getSpotlitItem():this.getItem(c.target))this.hideContextMenu=c.onContextMenu(a,b)};
var SUc=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},QUc=function(a){for(var b=k(a.activeItems),c=b.next();!c.done;c=b.next())c=c.value,c.deactivate(),c.unspotlight();a.activeItems.clear()},RUc=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 wab=function(a){this.event=a;this.hasStoppedPropagationInternal=!1};wab.prototype.stopPropagation=function(){this.event.stopPropagation();this.hasStoppedPropagationInternal=!0};wab.prototype.preventDefault=function(){this.event.preventDefault()};var xab=function(a,b){this.input=this.navigatable=null;this.prevKeyCode=a.getPrevKeyCode();this.nextKeyCode=a.getNextKeyCode();this.navigatePastEndCallback=a.navigatePastEnd||function(){};this.options=Object.assign({},{shouldReactToHomeEnd:!0},b);this.eventHandler=as(this)};g=xab.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(os(d))});this.eventHandler.listen(this.input,"contextmenu",function(d){return c.onContextMenu(os(d))});this.eventHandler.listen(this.input,"blur",function(d){return c.onBlur(d)})};g.detach=function(){this.eventHandler.removeAll();this.navigatable=this.input=null};
g.onKeyDown=function(a){if(this.navigatable&&(this.navigatable.onKeyDown(a),!a.hasStoppedPropagationInternal))switch(a.event.keyCode){case this.nextKeyCode:this.navigatable.next(0)||this.navigatePastEndCallback();a.stopPropagation();a.preventDefault();break;case this.prevKeyCode:this.navigatable.prev(0);a.stopPropagation();a.preventDefault();break;case 36:if(!this.options.shouldReactToHomeEnd)break;this.navigatable.goToIndex(0,0);a.stopPropagation();a.preventDefault();break;case 35:this.options.shouldReactToHomeEnd&&
(this.navigatable.goToIndex(this.navigatable.size()-1,0),a.stopPropagation(),a.preventDefault())}};g.onClick=function(a,b){if(!this.navigatable)return!1;this.navigatable.goToItem(a,0);b.stopPropagation();return!0};g.onContextMenu=function(a){if(this.navigatable)this.navigatable.onContextMenu(a,function(){})};g.reset=function(){this.navigatable&&this.navigatable.reset()};g.onBlur=function(){this.reset()};var TUc=new yF;TUc.altKey=!0;TUc.keyCode=39;(new yF).keyCode=13;var UUc=function(){iF.call(this)};Y(UUc,iF);UUc.prototype.init=function(){};new UUc;var VUc=ya.URL,WUc;try{new VUc("http://example.com"),WUc=!0}catch(a){WUc=!1}
var XUc=WUc,YUc=function(a){var b=function(c){return encodeURIComponent(c).replace(/[!()~']|(%20)/g,function(d){return{"!":"%21","(":"%28",")":"%29","%20":"+","'":"%27","~":"%7E"}[d]})};return Array.from(a,function(c){return b(c[0])+"="+b(c[1])}).join("&")},$Uc=function(a){var b=Vq(document,"A");try{Bea(b,new Nc(a));var c=b.protocol}catch(e){throw Error("Kf`"+a);}if(c===""||c===":"||c[c.length-1]!=":")throw Error("Kf`"+a);if(!ZUc.has(c))throw Error("Kf`"+a);if(!b.hostname)throw Error("Kf`"+a);var d=
b.href;a={href:d,protocol:b.protocol,username:"",password:"",hostname:b.hostname,pathname:"/"+b.pathname,search:b.search,hash:b.hash,toString:function(){return d}};ZUc.get(b.protocol)===b.port?(a.host=a.hostname,a.port="",a.origin=a.protocol+"//"+a.hostname):(a.host=b.host,a.port=b.port,a.origin=a.protocol+"//"+a.hostname+":"+a.port);return a},aVc=function(a){if(XUc){try{var b=new VUc(a)}catch(d){throw Error("Kf`"+a);}var c=ZUc.get(b.protocol);if(!c)throw Error("Kf`"+a);if(!b.hostname)throw Error("Kf`"+
a);b.origin=="null"&&(a={href:b.href,protocol:b.protocol,username:"",password:"",host:b.host,port:b.port,hostname:b.hostname,pathname:b.pathname,search:b.search,hash:b.hash},a.origin=c===b.port?b.protocol+"//"+b.hostname:b.protocol+"//"+b.hostname+":"+b.port,b=a)}else b=$Uc(a);return b},ZUc=new Map([["http:","80"],["https:","443"],["ws:","80"],["wss:","443"],["ftp:","21"]]),bVc=function(a){var b=aVc("https://contacts.google.com"),c={};b&&(c.protocol=b.protocol,c.username=b.username,c.password=b.password,
c.hostname=b.hostname,c.port=b.port,c.pathname=b.pathname,c.search=b.search,c.hash=b.hash);Object.assign(c,a);if(c.port&&c.port[0]===":")throw Error("Lf");c.hash&&c.hash[0]!="#"&&(c.hash="#"+c.hash);a.search?a.search[0]!="?"&&(c.search="?"+a.search):a.searchParams&&(c.search="?"+YUc(a.searchParams),c.searchParams=void 0);a="";c.protocol&&(a+=c.protocol+"//");b=c.username;var d=c.password;a=a+(b&&d?b+":"+d+"@":b?b+"@":d?":"+d+"@":"")+(c.hostname||"");c.port&&(a+=":"+c.port);a+=c.pathname||"";a+=c.search||
"";a+=c.hash||"";return aVc(a)};var ps=function(a,b,c,d,e){this.root=a;this.anchor=b;this.container=d;this.appearanceConfig=e;this.popup=$$a(this.root,{});this.navigatable=uab(c,new PUc({shouldWrap:!0}));this.navigationEventHandler=yab({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=as(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()};
ps.prototype.append=function(a){var b=this;this.contextMenuItemOptions.set(a.id,a);var c=tab(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(js(e))}d.stopPropagation();cVc(b,a);b.hide()});this.navigatable.insert(this.navigatable.size(),[c],!1)};
ps.prototype.show=function(){for(var a=k(this.beforeShowCallbacks.values()),b=a.next();!b.done;b=a.next())b=b.value,b();this.popup.show(this.anchor);this.navigationEventHandler.attach(this.root,this.navigatable);this.navigatable.next(0)};ps.prototype.hide=function(){this.popup.hide();this.navigatable.reset();this.navigationEventHandler.detach();for(var a=k(this.afterHideCallbacks.values()),b=a.next();!b.done;b=a.next())b=b.value,b()};
ps.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(js(c));b=b.getSelection().id().getValue();b=this.contextMenuItemOptions.get(b);cVc(this,b);this.hide();a.stopPropagation();a.preventDefault()}}};
var dVc=function(a,b){a.itemSelectedCallbacks.add(b)},eVc=function(a,b){a.afterHideCallbacks.add(b)},cVc=function(a,b){a=k(a.itemSelectedCallbacks.values());for(var c=a.next();!c.done;c=a.next())c=c.value,c(b)};ps.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 Bab=function(){return qs('<div peoplekit-id="'+ts("xl07Ob")+'" class="'+ts("peoplekitComponentsContextmenuImplMenu")+'" role="menu"></div>')};var Fab=function(a){var b=this;this.root=a;this.internalIsDisabled=!1;this.eventHandler=as(this);this.eventHandler.listen(this.root,"click",function(c){var d;(d=b.onClick)==null||d.call(b,c)})};g=Fab.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 Eab=function(a){a=a.label;return qs('<button class="'+ts("peoplekitComponentsButtonLabelLabelButton")+'">'+Os(a)+"</button>")};var Mab=function(a,b,c){var d=this;this.root=a;this.actionListeners=[];this.eventHandler=as(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=Wr(this.root,"Sx9Kwc");this.startFocusableElement=Wr(this.root,"tYwGbe");this.endFocusableElement=Wr(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=Mab.prototype;g.subscribeToAction=function(a){this.actionListeners.push(a)};
g.dispatchAction=function(a){var b=this.actionButtons.get(a);if(b&&!b.isDisabled()){for(var c=k(this.actionListeners),d=c.next();!d.done;d=c.next())d=d.value,d(a);a=b.getRoot();a.dispatchEvent(js(a))}};g.disableAction=function(a){(a=this.actionButtons.get(a))&&a.disable()};g.enableAction=function(a){(a=this.actionButtons.get(a))&&a.enable()};g.getRoot=function(){return this.root};g.onDialogClick=function(a){a.stopPropagation()};
g.onDialogKeyDown=function(a){a.keyCode===27&&(this.dispatchAction(0),a.stopPropagation())};g.onStartFocusableElementFocus=function(){this.focusLastFocusableElement()};g.onEndFocusableElementFocus=function(){this.focusFirstFocusableElement()};g.focusFirstFocusableElement=function(){var a=l$a(this.dialog);a.length&&a[0].focus()};g.focusLastFocusableElement=function(){var a=l$a(this.dialog);a.length&&a[a.length-1].focus()};g.onScrimClick=function(){this.dispatchAction(0)};g.onButtonClick=function(a){this.dispatchAction(a)};
g.dispose=function(){this.eventHandler.removeAll();this.root.parentNode&&this.root.parentNode.removeChild(this.root);this.actionListeners.length=0;for(var a=k(this.actionButtons.values()),b=a.next();!b.done;b=a.next())b.value.dispose();this.actionButtons.clear()};var Lab=function(a){var b=a.content,c=a.header;a=a.confirmAction;return qs('<div peoplekit-id="'+ts("GGAcbc")+'" class="'+ts("peoplekitComponentsDialogImplScrim")+'" role="dialog" aria-modal="true"><div peoplekit-id="'+ts("tYwGbe")+'" tabindex="0" role="application"></div><div peoplekit-id="'+ts("Sx9Kwc")+'" class="'+ts("peoplekitComponentsDialogImplDialog")+'" tabindex="-1" role="dialog">'+(CO(c)?Os(c):"")+'<div class="'+ts("peoplekitComponentsDialogImplContent")+'">'+Os(b)+'</div><div class="'+
ts("peoplekitComponentsDialogImplActions")+'">'+qs(fVc("IbE0S"))+(a?qs('<div class="'+ts("peoplekitComponentsDialogImplActionDivider")+'"></div>')+qs(fVc("McfNlf")):"")+'</div></div><div peoplekit-id="'+ts("dYgZK")+'" tabindex="0" role="application"></div></div>')},fVc=function(a){return qs('<div peoplekit-id="'+ts(a)+'"></div>')},Vab=function(a){var b=a.hovercardId,c=a.name,d=a.label,e=a.sublabel;a=qs;b='<div peoplekit-id="'+ts("tJHJj")+'" class="'+ts("peoplekitComponentsDialogImplAvatarHeader")+
'" data-hovercard-id="'+ts(b)+'" data-name="'+ts(c)+'"><div class="'+ts("peoplekitComponentsDialogImplHeaderRow")+'"><div class="'+ts("peoplekitComponentsDialogImplLeft")+'">'+qs('<div class="'+ts("peoplekitComponentsDialogImplAvatar")+'"><div class="'+ts("peoplekitComponentsDialogImplAvatarContainer")+'" peoplekit-id="'+ts("d6MZcd")+'"></div></div>')+'</div><div class="'+ts("peoplekitComponentsDialogImplCenter")+'">';d=qs('<div class="'+ts("peoplekitComponentsDialogImplLabelContainer")+'"><div peoplekit-id="'+
ts("E0kCZc")+'" class="'+ts("peoplekitComponentsDialogImplLabel")+" "+ts("peoplekitComponentsDialogImplLabelRow")+'" translate="no">'+Os(DO(d))+"</div>"+(e?'<div class="'+ts("peoplekitComponentsDialogImplSublabel")+" "+ts("peoplekitComponentsDialogImplLabelRow")+'" translate="no">'+Os(DO(e))+"</div>":"")+"</div>");return a(b+d+"</div></div></div>")},Qab=function(a){a=a.header;return qs('<div class="'+ts("peoplekitComponentsDialogImplTextHeader")+'">'+Os(a)+"</div>")};var Oab=function(a,b){var c=this;this.root=a;this.closeButton=b;this.actionListeners=[];this.eventHandler=as(this);this.dialog=Wr(this.root,"Sx9Kwc");this.startFocusableElement=Wr(this.root,"tYwGbe");this.endFocusableElement=Wr(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=Oab.prototype;g.subscribeToAction=function(a){this.actionListeners.push(a)};g.dispatchAction=function(a){if(!this.closeButton.isDisabled()&&a===2)for(var b=k(this.actionListeners),c=b.next();!c.done;c=b.next())c=c.value,c(a)};g.disableAction=function(){this.closeButton.disable()};
g.enableAction=function(){this.closeButton.enable()};g.getRoot=function(){return this.root};g.dispose=function(){this.root.parentNode&&this.root.parentNode.removeChild(this.root);this.eventHandler.removeAll();this.actionListeners.length=0;this.closeButton.dispose()};g.onDialogClick=function(a){a.stopPropagation()};g.onDialogKeyDown=function(a){a.keyCode===27&&(this.dispatchAction(2),a.stopPropagation())};g.onStartFocusableElementFocus=function(){this.focusLastFocusableElement()};
g.onEndFocusableElementFocus=function(){this.focusFirstFocusableElement()};g.focusFirstFocusableElement=function(){var a=l$a(this.dialog);a.length&&a[0].focus()};g.focusLastFocusableElement=function(){var a=l$a(this.dialog);a.length&&a[a.length-1].focus()};g.onScrimClick=function(){this.dispatchAction(2)};var Hab=new Map([[0,"peoplekitStyleLegacy"],[1,"peopleKitStyleGm3"]]);var Jab=new Map([[0,"peoplekitThemeLight"],[1,"peoplekitThemeDark"]]);var Wab=function(a){this.dialog=a};g=Wab.prototype;g.subscribeToAction=function(a){this.dialog.subscribeToAction(a)};g.dispatchAction=function(a){this.dialog.dispatchAction(a)};g.enableAction=function(a){this.dialog.enableAction(a)};g.disableAction=function(a){this.dialog.disableAction(a)};g.getRoot=function(){return this.dialog.getRoot()};g.dispose=function(){this.dialog.dispose()};var jW=function(a){this.delegate=a};g=jW.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 vs=function(a,b,c,d,e,f){this.delegate=a;var h=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.eventHandler=as(this);this.contextMenuContainer=f.get("QL45qe");this.eventHandler.listen(document,"click",function(l){h.contextMenuContainer.contains(l.target)||h.disposeContextMenu()});this.eventHandler.listen(document,"keydown",function(l){if(h.contextMenu)h.contextMenu.onKeyDown(os(l))})};
Y(vs,jW);vs.prototype.onKeyDown=function(a){if(this.contextMenu)this.contextMenu.onKeyDown(a);else jW.prototype.onKeyDown.call(this,a)};
vs.prototype.onContextMenu=function(a,b){var c=this;a.stopPropagation();a.preventDefault();this.activate();this.contextMenu&&this.disposeContextMenu();this.contextMenu=Dab(this.contextMenuContainer,this.getRoot(),this.ariaParent,this.appearanceConfig);a=this.appearanceConfig.getTheme();this.contextMenu.append(pab(a));dVc(this.contextMenu,function(d){c.onContextMenuItemSelected(d)});eVc(this.contextMenu,function(){c.disposeContextMenu();b()});this.contextMenu.show();return function(){c.disposeContextMenu()}};
vs.prototype.dispose=function(){this.eventHandler.removeAll();jW.prototype.dispose.call(this)};vs.prototype.onContextMenuItemSelected=function(a){switch(a.id){case "ENOWEf":this.groupMembers.length<2?gVc(this):hVc(this);break;default:throw Error("Mf`"+a.id);}this.disposeContextMenu()};
var gVc=function(a){iVc(a);a.dispatcher.notify(8);a.hideConfirmationDialog=Xab(m$a(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));iVc(a)})},iVc=function(a){var b;(b=a.hideConfirmationDialog)==null||b.dispose();a.hideConfirmationDialog=void 0;a.dispatcher.notify(9,a.getRoot())},hVc=function(a){jVc(a);a.dispatcher.notify(8);
a.hideGroupErrorDialog=Sab(a.getRoot().ownerDocument.body,a.appearanceConfig);a.hideGroupErrorDialog.subscribeToAction(function(){jVc(a)})},jVc=function(a){var b;(b=a.hideGroupErrorDialog)==null||b.dispose();a.hideGroupErrorDialog=void 0;a.dispatcher.notify(9,a.getRoot())};vs.prototype.disposeContextMenu=function(){var a;(a=this.contextMenu)==null||a.dispose();this.contextMenu=void 0;this.dispatcher.notify(7,this.getRoot())};var us=new eW({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 Keb=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Keb,V);var Leb=new Yv(417869137,Keb);var Yab=function(){};Yab.prototype.filterResult=function(a){var b,c;return((b=a.getExtendedData())==null?void 0:(c=b.getExtension(Leb))==null?void 0:nt(c,1))===1?a:null};Yab.prototype.reset=function(){};var kVc=function(a){return"To unhide this suggestion, press "+a.shortcutKey+" + Enter.  "};var bbb=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=as(this);this.onClick=f;this.eventHandler.listen(this.root,"click",function(l){var q;(q=h.onClick)==null||q.call(h,l)});this.disableDomNavigation?this.root.tabIndex=-1:(this.eventHandler.listen(this.root,"focus",function(){h.activate()}),this.eventHandler.listen(this.root,"blur",function(){h.deactivate()}))};g=bbb.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&&FUc(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 lVc=0;var $ab=function(a){var b=a.icon,c=a.ariaLabel,d="";c=(a=a.tooltipLabel?"tt-c"+lVc++:"")?' data-tooltip-id="'+ts(a)+'" aria-labelledby="'+ts(a)+'"':c?' aria-label="'+ts(c)+'"':"";d+='<button class="'+ts("peoplekitComponentsButtonIconIconButton")+'"'+c+">"+qs('<span><img src="'+ts(jEc(b))+'" draggable="false" aria-hidden="true" alt="" class="'+ts("peoplekitComponentsButtonIconAdaptableIcon")+'"/></span>')+"</button>";return qs(d)};var dbb=function(a,b,c,d){this.delegate=a;var e=this;this.secondaryActionConfig=c;for(var f=Wr(a.getRoot(),"QChpEe");f.firstChild;)f.removeChild(f.firstChild);this.secondaryActionButton=cbb(f,d.get("jGsbz"),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&&rH(this.buttonRoot,"menuitem");is({element:this.buttonRoot,veid:163534,actions:["impression",
"pcw-click"],componentId:"peoplekitweb"});this.secondaryActionButton.onClick=function(h){var l;(l=c.onClick)==null||l.call(c,h);e.buttonRoot.dispatchEvent(js(e.buttonRoot))};this.eventHandler=as(this);this.eventHandler.listen(a.getRoot(),"mouseover",this.displaySecondaryActionButton);this.eventHandler.listen(a.getRoot(),"mouseleave",this.hideSecondaryActionButton)};Y(dbb,jW);g=dbb.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(),sH(this.buttonRoot,"hidden","true"),a.stopPropagation(),a.preventDefault()):(this.secondaryActionButton.activate(),sH(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();jW.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 mVc={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"},nVc=kVc({shortcutKey:"Ctrl"}),oVc=kVc({shortcutKey:"\u2318"}),fbb=function(a,b,c,d,e){var f=b.getTheme()===0?mVc.LIGHT_THEME:mVc.DARK_THEME,h=zba()?oVc:nVc;jW.call(this,ebb(a,b,{icon:f,tooltipLabel:"Unhide suggestion",ariaLabel:h,onClick:function(q){l.onButtonClick(q)},disableDomNavigation:!0},d,e));
var l=this;this.appearanceConfig=b;this.clientConfig=c;this.dispatcher=this.clientConfig.injectorService.actionEventDispatcher};Y(fbb,jW);fbb.prototype.onButtonClick=function(a){pVc(this);a.stopPropagation()};
var pVc=function(a){a.unhideConfirmationDialog&&qVc(a);a.dispatcher.notify(8);a.unhideConfirmationDialog=Xab(m$a(a.getRoot()),a.getSelection(),a.appearanceConfig,1);a.unhideConfirmationDialog.subscribeToAction(function(b){b===1&&a.dispatcher.notify(4,a.getAllIds());qVc(a)})},qVc=function(a){var b;(b=a.unhideConfirmationDialog)==null||b.dispose();a.unhideConfirmationDialog=void 0;a.dispatcher.notify(9,a.getRoot())};var rVc=function(){this.label="";this.type=0};g=rVc.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 sVc=function(){this.warnForExternalSelections=!1;this.decorationConfigRequest=function(){};this.resultCustomizationCallback=function(){return{}}};g=sVc.prototype;g.getAllowResultDeselection=function(){return!1};g.getWarnForExternalSelections=function(){return this.warnForExternalSelections};g.getResultDecorationConfigRequestCallback=function(){return this.decorationConfigRequest};g.getResultCustomizationCallback=function(){return this.resultCustomizationCallback};
g.setResultCustomizationCallback=function(a){this.resultCustomizationCallback=a};var tVc=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 rVc;this.result=new sVc;this.appearance=new o$a};g=tVc.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 uVc=function(a){this.environmentConfig=a;this.autocomplete=new tVc(a);this.autocomplete.setClearSelectionsOnSearch(!0)};g=uVc.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 obb=function(a){this.root=a;this.length=0;this.isInteractive=!0};g=obb.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("Ef");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("Ef");var b=this.getItems();this.root.removeChild(b[a]);--this.length};g.clear=function(){Oz(this.root);this.length=0};g.getRoot=function(){return this.root};var mbb=function(a){return qs('<ul id="'+ts(a.id)+'" peoplekit-id="'+ts("rymPhb")+'" role="listbox" aria-multiselectable="true" class="'+ts("peoplekitComponentsListImplList")+'"></ul>')};var nbb=ms.getInstance();var vVc=function(a){this.delegate=a};g=vVc.prototype;g.prev=function(a){a=this.delegate.prev(a);wVc(this);return a};g.next=function(a){a=this.delegate.next(a);wVc(this);return a};g.size=function(){return this.delegate.size()};g.goToItem=function(a,b){a=this.delegate.goToItem(a,b);wVc(this);return a};g.goToIndex=function(a,b){a=this.delegate.goToIndex(a,b);wVc(this);return a};g.activateAll=function(){this.delegate.activateAll()};g.getSpotlitItem=function(){return this.delegate.getSpotlitItem()};
g.getActiveItems=function(){return this.delegate.getActiveItems()};g.getItem=function(a){return this.delegate.getItem(a)};g.getIndexOf=function(a){return this.delegate.getIndexOf(a)};g.clear=function(){this.delegate.clear()};g.reset=function(){this.delegate.reset()};g.setSecondaryEventTargets=function(a){this.delegate.setSecondaryEventTargets(a)};g.onKeyDown=function(a){this.delegate.onKeyDown(a)};g.onContextMenu=function(a,b){this.delegate.onContextMenu(a,b)};
g.remove=function(a,b){this.delegate.remove(a,b)};g.insert=function(a,b,c){this.delegate.insert(a,b,c)};var wVc=function(a){(a=a.delegate.getSpotlitItem())&&sbb(a.getRoot())};var kW=function(a,b,c,d){this.list=a;this.navigatable=b;this.intelligentCollection=c;this.collapsibleConfig=d;this.items=[];this.isCollapsed=!1};kW.prototype.getContainerId=function(){return this.collapsibleConfig.resultListContainer.id};kW.prototype.append=function(a){this.items.push(a);this.list.append(a.getRoot());this.intelligentCollection.append([a]);this.isCollapsed||this.navigatable.insert(this.navigatable.size(),[a],!1)};kW.prototype.getItems=function(){return this.isCollapsed?[]:this.items};
kW.prototype.dispose=function(){for(var a=k(this.items),b=a.next();!b.done;b=a.next())b.value.dispose();this.items=[]};var xVc=function(a,b){if(a.isCollapsed!==b){var c=a.collapsibleConfig,d=c.resultListContainer,e=c.before;c=c.sectionRoot;b?(d.classList.add("collapsed"),d.style.height="",a.navigatable.remove(a.items,!1)):(e=a.navigatable.getIndexOf(e)+1,a.navigatable.insert(e,a.items,!1),d.classList.remove("collapsed"),d.style.height=d.scrollHeight+"px",sbb(c));a.isCollapsed=b}};var yVc=function(a,b,c){this.list=a;this.navigatable=b;this.intelligentCollection=c};yVc.prototype.getOrCreateSection=function(){this.section||(this.section=new kW(this.list,this.navigatable,this.intelligentCollection));return this.section};yVc.prototype.clear=function(){var a;(a=this.section)==null||a.dispose();this.section=void 0;this.list.clear();this.navigatable.clear();this.intelligentCollection.clear()};yVc.prototype.reset=function(){this.navigatable.reset()};
yVc.prototype.getItems=function(){var a,b;return(b=(a=this.section)==null?void 0:a.getItems())!=null?b:[]};var lW=function(a){this.delegate=a};g=lW.prototype;g.getRoot=function(){return this.delegate.getRoot()};g.getHeader=function(){return this.delegate.getHeader()};g.getActionItems=function(){return this.delegate.getActionItems()};g.dispose=function(){this.delegate.dispose()};g.setCollapsible=function(a){this.delegate.setCollapsible(a)};g.getCollapsible=function(){return this.delegate.getCollapsible()};g.getActivatable=function(){return this.delegate.getActivatable()};var zVc=function(a){var b=a.id,c=a.groupName;a=a.classes;return qs('<div class="'+ts("peoplekitComponentsGroupingHeaderCollapsibleChevronContainer")+" "+(a?" "+ts(a):"")+'" peoplekit-id="'+ts("wgPSWd")+'" id="'+ts(b)+'" aria-expanded="false" role="menuitem" aria-label="'+ts("To expand "+c+" group, press enter")+'"><svg class="'+ts("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>')},
AVc=function(a){return"To "+a.action+" "+a.groupName+" group, press enter"};var xs=function(a,b){this.delegate=a;var c=this;this.isCollapsed=b;this.eventHandler=as(this);this.chevron=Nq(zVc,{id:Zr(ms.getInstance()),groupName:this.getHeader(),classes:"TdcT2c"});this.groupingHeaderActionItems=a.getActionItems().slice();this.groupingHeaderActionItems.push({focus:function(){c.chevron.classList.add("isSpotlit")},unfocus:function(){c.chevron.classList.remove("isSpotlit")},onKeyDown:function(d){d.event.keyCode===13&&(c.toggleView(),d.stopPropagation())}});this.eventHandler.listen(this.getRoot(),
"click",this.toggleView);Wr(this.getRoot(),"QChpEe").appendChild(this.chevron);b||(this.chevron.classList.toggle("rotate"),sH(this.chevron,"expanded",!0),Dpc(this.chevron,AVc({groupName:this.getHeader(),action:"collapse"})))};Y(xs,lW);xs.prototype.getActionItems=function(){return this.groupingHeaderActionItems};xs.prototype.dispose=function(){this.eventHandler.removeAll();lW.prototype.dispose.call(this)};
xs.prototype.setCollapsible=function(a){lW.prototype.setCollapsible.call(this,a);xVc(a,this.isCollapsed);this.chevron.setAttribute("aria-controls",a.getContainerId());BVc(this)};xs.prototype.toggleView=function(){this.isCollapsed=!this.isCollapsed;this.chevron.classList.toggle("rotate");xVc(this.getCollapsible(),this.isCollapsed);BVc(this)};var BVc=function(a){var b=a.isCollapsed?"expand":"collapse";sH(a.chevron,"expanded",!a.isCollapsed);Dpc(a.chevron,AVc({groupName:a.getHeader(),action:b}))};var CVc=function(a){var b=a.learnMoreLinkUrl,c=a.learnMoreLinkText;return qs("<div>"+Os(a.description)+'  <a href="'+ts(Ps(b))+'" target="_blank" class="'+ts("peoplekitComponentsGroupingHeaderInfoLearnMoreLink")+'" peoplekit-id="'+ts("lh87ke")+'">'+Os(c)+"</a></div>")},DVc=function(a){var b=a.id,c=a.ariaLabel;a=a.classes;return qs('<div class="'+ts("peoplekitComponentsGroupingHeaderInfoInfoIconContainer")+" "+(a?" "+ts(a):"")+'" peoplekit-id="'+ts("CLghmc")+'" id="'+ts(b)+'" aria-label="'+ts(c)+'"><svg class="'+
ts("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 vbb=function(a,b,c,d){this.delegate=a;var e=this;this.infoGroupConfig=b;this.appearanceConfig=c;this.infoGroupingHeaderVeIds=d;this.infoIcon=Nq(DVc,{id:Zr(ms.getInstance()),ariaLabel:"For more information about "+this.getHeader()+", press enter.",classes:"TdcT2c"});Wr(this.getRoot(),"xiK4Cd").appendChild(this.infoIcon);this.infoGroupingHeaderVeIds.infoIconVeId!==void 0&&is({element:this.infoIcon,veid:this.infoGroupingHeaderVeIds.infoIconVeId,actions:["impression","pcw-click"],componentId:"peoplekitweb"});
this.eventHandler=as(this);this.eventHandler.listen(this.infoIcon,"click",function(){EVc(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&&(EVc(e),f.stopPropagation(),f.preventDefault())}})};Y(vbb,lW);
var EVc=function(a){a.infoIcon.dispatchEvent(js(a.infoIcon));var b=Qab({header:a.infoGroupConfig.infoDialogHeader}),c=CVc({description:a.infoGroupConfig.learnMoreMessage,learnMoreLinkUrl:a.infoGroupConfig.learnMoreUrl,learnMoreLinkText:a.infoGroupConfig.learnMoreLinkText}),d=a.getRoot().ownerDocument.activeElement,e=m$a(a.getRoot()),f=Pab(e,c,a.appearanceConfig,b),h=Wr(f.getRoot(),"lh87ke");a.infoGroupingHeaderVeIds.learnMoreLinkVeId!==void 0&&is({element:h,veid:a.infoGroupingHeaderVeIds.learnMoreLinkVeId,
actions:["impression","pcw-click"],componentId:"peoplekitweb"});a.eventHandler.listen(h,"click",function(){h.dispatchEvent(js(h))});f.subscribeToAction(function(l){l===2&&(f.dispose(),d&&d.focus())})};vbb.prototype.getActionItems=function(){return this.groupingHeaderActionItems};vbb.prototype.dispose=function(){this.eventHandler.removeAll();lW.prototype.dispose.call(this)};var ubb=function(a,b){this.root=a;this.header=b};g=ubb.prototype;g.getHeader=function(){return this.header};g.getActionItems=function(){return[]};g.dispose=function(){};g.getRoot=function(){return this.root};g.setCollapsible=function(a){this.collapsible=a};g.getCollapsible=function(){return this.collapsible};g.getActivatable=function(){};var tbb=function(a){var b=qs;var c=a.id;a=a.header;c=qs('<div class="'+ts("peoplekitComponentsGroupingHeaderGroupingHeader")+'" id="'+ts(c)+'" peoplekit-id="'+ts("XLuqBd")+'" role="menu"><div class="'+ts("peoplekitComponentsGroupingHeaderGroupingHeaderRow")+'"><div class="'+ts("peoplekitComponentsGroupingHeaderHeader")+'">'+Os(a)+'</div><div class="'+ts("peoplekitComponentsGroupingHeaderAction")+'"><div class="'+ts("peoplekitComponentsGroupingHeaderActionRow")+'"><div class="'+ts("peoplekitComponentsGroupingHeaderLeft")+
'" peoplekit-id="'+ts("xiK4Cd")+'"></div><div class="'+ts("peoplekitComponentsGroupingHeaderRight")+'" peoplekit-id="'+ts("QChpEe")+'"></div></div></div></div></div>');return b(c)};var wbb=function(a){this.delegate=a};Y(wbb,lW);g=wbb.prototype;g.activate=function(){};g.deactivate=function(){};g.getSelection=function(){throw Error("Nf");};g.toggleSelection=function(){};g.onContextMenu=function(){return function(){}};g.spotlight=function(){var a=this.getActionItems();a.length&&(this.activeActionItemIndex=0,a[this.activeActionItemIndex].focus())};
g.unspotlight=function(){this.activeActionItemIndex!==void 0&&(this.getActionItems()[this.activeActionItemIndex].unfocus(),this.activeActionItemIndex=void 0)};
g.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()}}};g.getActivatable=function(){return this};var FVc=function(a,b){this.itemsSection=a;this.groupingHeader=b};FVc.prototype.append=function(a){this.itemsSection.append(a)};FVc.prototype.getItems=function(){return this.itemsSection.getItems()};FVc.prototype.dispose=function(){this.groupingHeader.dispose();this.itemsSection.dispose()};var GVc=function(a){var b=a.listId;return qs('<div id="'+ts(a.id)+'" peoplekit-id="'+ts("E9WxSb")+'" role="group"><div peoplekit-id="'+ts("Bm3u4d")+'"></div><div id="'+ts(b)+'" role="region" class="'+ts("peoplekitComponentsResultListCoreGroupSectionListContainer")+'" peoplekit-id="'+ts("tjneg")+'"></div></div>')};var mW=function(a,b,c,d,e){this.list=a;this.navigatable=b;this.intelligentCollection=c;this.appearanceConfig=d;this.grouping=e;this.sections=[]};mW.prototype.getOrCreateSection=function(a){var b=this.grouping.getGroupId(a);if(this.sections.find(function(d){return d.groupId===b}))return this.sections.at(-1).section;var c;a=(c=this.grouping.groupConfigs[b])!=null?c:{};c=xbb(a,this.appearanceConfig);c=this.createSection(c);this.sections.push({section:c,groupId:b});return c};mW.prototype.getItems=function(){return HVc(this).flatMap(function(a){return a.getItems()})};
mW.prototype.reset=function(a){this.grouping.reset(a);this.navigatable.reset()};mW.prototype.clear=function(){var a=HVc(this);a=k(a);for(var b=a.next();!b.done;b=a.next())b.value.dispose();this.list.clear();this.navigatable.clear();this.intelligentCollection.clear();this.sections.length=0};var HVc=function(a){a=new Set(a.sections.map(function(b){return b.section}));return[].concat(t(a.values()))},IVc=function(){mW.apply(this,arguments)};Y(IVc,mW);
IVc.prototype.createSection=function(a){this.section||(this.section=new kW(this.list,this.navigatable,this.intelligentCollection));a&&this.list.append(a.getRoot());return this.section};IVc.prototype.clear=function(){mW.prototype.clear.call(this);this.section=void 0};var JVc=function(){mW.apply(this,arguments)};Y(JVc,mW);
JVc.prototype.createSection=function(a){var b=Zr(ms.getInstance()),c=Zr(ms.getInstance()),d=Nq(GVc,{id:b,listId:c});this.list.append(d);var e=Wr(d,"tjneg");b=pbb(e);if(a){Wr(d,"Bm3u4d").appendChild(a.getRoot());c=this.navigatable;var f=this.intelligentCollection;e={collapsibleResultListContainer:e,collapsibleSectionRoot:d};d=a.getActivatable();var h;d&&(c.insert(c.size(),[d],!1),e&&(h={sectionRoot:e.collapsibleSectionRoot,resultListContainer:e.collapsibleResultListContainer,before:d}));b=new kW(b,
c,f,h);h&&d&&d.setCollapsible(b);return new FVc(b,a)}return new kW(b,this.navigatable,this.intelligentCollection)};var Bs=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Bs,V);Bs.prototype.getRequestType=function(){return Fk(this,1,0)};Bs.prototype.setRequestType=function(a){return gl(this,1,a)};var KVc=[0,n7b,99,[0,Xv,i7b],[0],[0],[0,Xv,-5],[0,Xv],[0,Xv,Wv],aUc,[0,Xv],[0,Xv]];var LVc=function(){var a=new Bs,b=new bW;this.experimentFlags_=X(a,bW,107,b)};LVc.prototype.getExperimentFlags=function(){return this.experimentFlags_};LVc.prototype.getExperimentIds=function(){return[]};var jdb=function(a,b){this.cache=b;this.overriddenExperiments=W(a,bW,3)||new bW};jdb.prototype.getExperiments=function(){var a,b=((a=this.cache.getExperimentFlags())==null?void 0:W(a,bW,107))||new bW;a=this.overriddenExperiments;zk(a,3)&&(a=Ak(a,3,!1),cl(b,3,a));return b};jdb.prototype.getExperimentIds=function(){return this.cache.getExperimentIds()};var MVc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(MVc,V);g=MVc.prototype;g.getCacheStaleSec=function(){return Xj(this,4,14400)};g.getCacheExpiredSec=function(){return Xj(this,5,63158400)};g.getRpcTimeoutSec=function(){return Xj(this,7,60)};g.getApiKey=function(){return Kh(this,8,"")};g.setApiKey=function(a){return fl(this,8,a)};g.getEnableClearcut=function(){return Ak(this,13,!0)};g.setEnableClearcut=function(a){return cl(this,13,a)};var gdb=qna(MVc);var fdb;var NVc=function(){};NVc.prototype.getExperimentFlags=function(){return new Bs};NVc.prototype.getExperimentIds=function(){return[]};var Hs=function(){};Hs.prototype.prefetch=function(){};Hs.prototype.loadExperiments=function(){return new NVc};var nW=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(nW,V);nW.prototype.getVersion=function(){return dv(this,1)};nW.prototype.setVersion=function(a){return Xk(this,1,a)};nW.prototype.getVersionOrUndefined=function(){return iv(this,1)};nW.prototype.getVersionOrUndefined_asString=function(){return vYa(this,1)};var oW=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(oW,V);g=oW.prototype;g.getApplication=function(){return Fk(this,1,0)};g.setApplication=function(a){return gl(this,1,a)};g.getApplicationOrUndefined=function(){return Bt(this,1)};g.getVersion=function(){return dv(this,2)};g.setVersion=function(a){return Xk(this,2,a)};g.getVersionOrUndefined=function(){return iv(this,2)};g.getVersionOrUndefined_asString=function(){return vYa(this,2)};var OVc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(OVc,V);g=OVc.prototype;g.getRequestType=function(){return Fk(this,1,0)};g.setRequestType=function(a){return gl(this,1,a)};g.getProfileId=function(){return Kh(this,2)};g.getProfileId_legacyNullable=function(){return ql(this,2)};g.setProfileId=function(a){return fl(this,2,a)};g.hasProfileId=function(){return Ck(this,2)};g.getCaller=function(){return W(this,nW,3)};g.setCaller=function(a){return X(this,nW,3,a)};
g.getInstanceId=function(){return Kh(this,4)};g.setInstanceId=function(a){return fl(this,4,a)};g.clearInstanceId=function(){Np(this,4)};g.hasInstanceId=function(){return Ck(this,4)};g.getInstanceIdOrUndefined=function(){return wr(this,4)};g.getClient=function(){return W(this,oW,5)};g.setClient=function(a){return X(this,oW,5,a)};g.hasClient=function(){return Jk(this,oW,5)};var zs=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(zs,V);g=zs.prototype;g.getErrorType=function(){return Fk(this,2,1)};g.setErrorType=function(a){return gl(this,2,a)};g.hasErrorType=function(){return Dk(this,2)};g.getErrorMessage=function(){return Kh(this,3)};g.setErrorMessage=function(a){fl(this,3,a)};g.getStatusCode=function(){return Fk(this,4,0)};g.setStatusCode=function(a){gl(this,4,a)};g.hasStatusCode=function(){return Dk(this,4)};var Obb=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Obb,V);g=Obb.prototype;g.getExperimentFlags=function(){return W(this,Bs,1)};g.setExperimentFlags=function(a){return X(this,Bs,1,a)};g.hasExperimentFlags=function(){return Jk(this,Bs,1)};g.getError=function(){return W(this,zs,2)};g.setError=function(a){X(this,zs,2,a)};g.hasError=function(){return Jk(this,zs,2)};g.getSource=function(){return Fk(this,3,0)};g.setSource=function(a){return gl(this,3,a)};
g.hasSource=function(){return Dk(this,3)};g.getSourceOrUndefined=function(){return Bt(this,3)};g.getInstanceId=function(){return Kh(this,4)};g.setInstanceId=function(a){return fl(this,4,a)};g.clearInstanceId=function(){Np(this,4)};g.hasInstanceId=function(){return Ck(this,4)};g.getInstanceIdOrUndefined=function(){return wr(this,4)};g.getExperimentIdsList=function(a){return pc(this,5,Mb,Uj(a))};g.setExperimentIdsList=function(a){return wc(this,5,a,Lb)};
g.getExperimentIds=function(){return ev(this,5)};g.setExperimentIds=function(a){s4b(this,5,a)};var PVc=function(a,b){this.client_=a;this.runtime_=b;Cbb();this.apiKey_=a.getApiKey();this.apiRoot_=Kh(this.client_,10)||QPa("peoplestackwebexperiments-pa",this.runtime_.getPeopleApiEnv())};PVc.prototype.getClient=function(){return this.client_};PVc.prototype.getApiKey=function(){return this.apiKey_};var pW=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(pW,V);g=pW.prototype;g.getExperimentFlags=function(){return W(this,Bs,1)};g.setExperimentFlags=function(a){return X(this,Bs,1,a)};g.hasExperimentFlags=function(){return Jk(this,Bs,1)};g.getObfuscatedGaiaId=function(){return ql(this,2)};g.getObfuscatedGaiaId_legacyNullable=function(){return ql(this,2)};g.setObfuscatedGaiaId=function(a){return fl(this,2,a)};g.getExperimentIdsList=function(a){return pc(this,3,Mb,Uj(a))};
g.setExperimentIdsList=function(a){return wc(this,3,a,Lb)};g.getExperimentIds=function(){return ev(this,3)};g.setExperimentIds=function(a){s4b(this,3,a)};var QVc=Mh(pW);var RVc=[0,KVc,m7b,j7b];var SVc=function(a){var b=void 0;b=b===void 0?Date.now:b;this.clientConfig_=a;this.now_=b},TVc=function(a,b,c){a=a.now_()-c*1E3;return b>a};SVc.prototype.getCacheState=function(a){var b=Xj(this.clientConfig_.getClient(),3,1800);if(TVc(this,a,b))return 1;b=this.clientConfig_.getClient().getCacheStaleSec();if(TVc(this,a,b))return 2;b=this.clientConfig_.getClient().getCacheExpiredSec();return TVc(this,a,b)?3:4};var UVc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(UVc,V);g=UVc.prototype;g.getExperiments=function(){return W(this,pW,2)};g.setExperiments=function(a){return X(this,pW,2,a)};g.hasExperiments=function(){return Jk(this,pW,2)};g.getInstanceId=function(){return Kh(this,4)};g.setInstanceId=function(a){return fl(this,4,a)};g.clearInstanceId=function(){Np(this,4)};g.hasInstanceId=function(){return Ck(this,4)};g.getInstanceIdOrUndefined=function(){return wr(this,4)};var VVc=[0,m7b,RVc,i7b,m7b];var WVc=pna(UVc,VVc),XVc=function(a){return function(b){var c=new e7b;kna(b.internalArrayDoNotAccessOrElse,c,Gh(a));return dca(f7b(c))}}(VVc);var As=function(a,b,c){c=Error.call(this,c===void 0?"":c);this.message=c.message;"stack"in c&&(this.stack=c.stack);this.type=a;this.statusCode=b===void 0?2:b};Y(As,Error);var YVc=new As(6);var ZVc=function(){};var qW=function(){};Nu(qW,ZVc);qW.prototype.getCount=function(){for(var a=0,b=k(this),c=b.next();!c.done;c=b.next())a++;return a};qW.prototype[Symbol.iterator]=function(){return Tic(this.__iterator__(!0)).toEs6()};qW.prototype.clear=function(){var a=Array.from(this);a=k(a);for(var b=a.next();!b.done;b=a.next())this.remove(b.value)};var $Vc=function(a){this.storage_=a;this.cachedIsStorageAvailable_=null};Nu($Vc,qW);g=$Vc.prototype;g.isAvailable=function(){var a=this.storage_;if(a)try{a.setItem("__sak","1");a.removeItem("__sak");var b=!0}catch(c){b=c instanceof DOMException&&(c.name==="QuotaExceededError"||c.code===22||c.code===1014||c.name==="NS_ERROR_DOM_QUOTA_REACHED")&&a&&a.length!==0}else b=!1;return this.cachedIsStorageAvailable_=b};
g.set=function(a,b){rW(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){rW(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){rW(this);this.storage_.removeItem(a)};g.getCount=function(){rW(this);return this.storage_.length};
g.__iterator__=function(a){rW(this);var b=0,c=this.storage_,d=new AD;d.next=function(){if(b>=c.length)return Sic;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(){rW(this);this.storage_.clear()};g.key=function(a){rW(this);return this.storage_.key(a)};
var rW=function(a){if(a.storage_==null)throw Error("Of");var b;((b=a.cachedIsStorageAvailable_)!=null?b:a.isAvailable())||za(Error("Of"))};var Qbb=function(){var a=null;try{a=ya.localStorage||null}catch(b){}$Vc.call(this,a)};Nu(Qbb,$Vc);var ys=function(a,b){this.mechanism_=a;this.prefix_=b+"::"};Nu(ys,qW);ys.prototype.set=function(a,b){this.mechanism_.set(this.prefix_+a,b)};ys.prototype.get=function(a){return this.mechanism_.get(this.prefix_+a)};ys.prototype.remove=function(a){this.mechanism_.remove(this.prefix_+a)};
ys.prototype.__iterator__=function(a){var b=this.mechanism_[Symbol.iterator](),c=this,d=new AD;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 Gbb=["PeopleStackExperiments"],aWc=new Set([4,0]),Ubb=function(a,b){b=b===void 0?new Qbb:b;this.clientConfig_=a;this.transformer_=new SVc(this.clientConfig_);this.localStorage_=b;this.storage_=new ys(this.localStorage_,"pse/591286274")};Ubb.prototype.set=function(a,b){var c=Fbb(a,b.getObfuscatedGaiaId_legacyNullable());if(!c)throw YVc;var d=new UVc;b=fl(d,1,c).setExperiments(b);d=Date.now();a=Xk(b,3,d).setInstanceId(a.getInstanceId());this.storage_.set(c,Ada(XVc(a)));return c};
Ubb.prototype.get=function(a){a=Fbb(a);if(!a)return null;a=this.storage_.get(a);if(!a)return null;a=bWc(a);if(a&&this.transformer_.getCacheState(Qk(a,3))!==4){var b=this.transformer_,c;var d={keyPath:Kh(a,1),experiments:(c=a.getExperiments())!=null?c:new pW,lastUpdated:new Date(Qk(a,3)),state:b.getCacheState(Qk(a,3)),instanceId:a.getInstanceId()}}else d=null;return d};var bWc=function(a){if(!a)return null;try{return WVc(a)}catch(b){return null}};
Ubb.prototype.delete=function(a){this.storage_.remove(a);return!0};
Ubb.prototype.clean=function(){for(var a=[].concat(t(this.storage_)),b=k(a),c=b.next();!c.done;c=b.next()){c=c.value;var d=aWc,e=d.has,f;a:{if(c&&(f=bWc(this.storage_.get(c)))&&Pk(f,3)){f=this.transformer_.getCacheState(Qk(f,3));break a}f=0}e.call(d,f)&&this.delete(c)}a:{if(a.length>10)try{this.storage_.set("__sak","1"),this.storage_.remove("__sak")}catch(h){if(h==="Storage mechanism: Quota exceeded"){a=!0;break a}}a=!1}a&&this.storage_.clear();a=k(Hbb(this.localStorage_));for(b=a.next();!b.done;b=
a.next())b.value.clear()};var Vbb=function(a){var b=void 0;b=b===void 0?new Map:b;this.clientConfig_=a;this.transformer_=new SVc(this.clientConfig_);this.cache_=b};Vbb.prototype.set=function(a,b){var c=Fbb(a,b.getObfuscatedGaiaId_legacyNullable());if(!c)throw YVc;a={keyPath:c,experiments:b,lastUpdated:new Date,state:1,instanceId:a.getInstanceId()};this.cache_.set(c,a);return c};
Vbb.prototype.get=function(a){a=Fbb(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};Vbb.prototype.delete=function(a){this.cache_.delete(a);return!0};Vbb.prototype.clean=function(){var a=this;this.cache_.forEach(function(b,c){a.transformer_.getCacheState(b.lastUpdated.getTime())===4&&a.cache_.delete(c)})};var cWc=function(){};g=cWc.prototype;g.start=function(){};g.stop=function(){};g.count=function(){};g.latency=function(){};g.error=function(){};g.status=function(){};g.logError=function(){};var dWc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(dWc,V);g=dWc.prototype;g.getCaller=function(){return W(this,nW,1)};g.setCaller=function(a){return X(this,nW,1,a)};g.getClient=function(){return W(this,oW,2)};g.setClient=function(a){return X(this,oW,2,a)};g.hasClient=function(){return Jk(this,oW,2)};var eWc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(eWc,V);g=eWc.prototype;g.getRequestType=function(){return Fk(this,1,0)};g.setRequestType=function(a){return gl(this,1,a)};g.setProperties=function(a){return X(this,dWc,3,a)};g.getInstanceId=function(){return Kh(this,4)};g.setInstanceId=function(a){return fl(this,4,a)};g.clearInstanceId=function(){Np(this,4)};g.hasInstanceId=function(){return Ck(this,4)};g.getInstanceIdOrUndefined=function(){return wr(this,4)};var fWc=new GT("/peoplestackwebexperiments.PeopleStackExperimentsService/GetExperimentFlags",eWc,pW,function(a){return a.serialize()},QVc);var gWc=function(a){this.client_=new hPc({format:"jspb"});this.hostname_=a==void 0?a:a.replace(/\/+$/,"")};gWc.prototype.getExperimentFlags=function(a,b){return OT(this.client_,this.hostname_+"/$rpc/peoplestackwebexperiments.PeopleStackExperimentsService/GetExperimentFlags",a,b||{},fWc)};var hWc=function(a,b){this.clientRequest_=a;this.rpcClient_=b;this.metric_=new cWc};hWc.prototype.getMetric=function(){return this.metric_};hWc.prototype.send=function(a){var b=this,c;return se(function(d){var e=(new dWc).setCaller(b.clientRequest_.getCaller()).setClient(b.clientRequest_.getClient());c=(new eWc).setRequestType(b.clientRequest_.getRequestType()).setInstanceId(b.clientRequest_.getInstanceIdOrUndefined()).setProperties(e);return d.return(b.rpcClient_.getExperimentFlags(c,a))})};
hWc.prototype.close=function(){};hWc.prototype.processResponse=function(a){return a};var iWc=function(){var a=this;this.promise=new Promise(function(b,c){a.resolve=b;a.reject=c})};var jWc=function(a,b){this.config_=a;this.request_=b;this.resolver_=new iWc;this.state_=0};g=jWc.prototype;g.resultPromise=function(){return this.resolver_.promise};g.isPending=function(){return this.state_===1};g.cancel=function(){switch(this.state_){case 1:this.state_=2;this.onError_("CANCELLED");break;case 0:this.state_=3,this.resolver_.reject(1)}};
g.send=function(){var a=this;if(this.state_!==0)return this.resultPromise();var b=PPa(this.config_.apiKey);this.config_.customAuthHeaders&&(b=Object.assign({},b,this.config_.customAuthHeaders));this.state_=1;b=this.request_.send(b);Mbb(b,this.config_.timeoutSec*1E3).finally(function(){a.state_=2}).then(function(c){return a.onResponse_(c)},function(c){return a.onError_(c)});return this.resultPromise()};
g.onResponse_=function(a){if(this.state_!==3)if(a){try{var b=this.request_.processResponse(a)}catch(c){this.onError_(c,2);return}try{this.resolver_.resolve(b),this.request_.close(0)}finally{this.state_=3}}else this.onError_(a)};
g.onError_=function(a,b){b=b===void 0?0:b;if(this.state_!==3){var c=2;a==="TIMEOUT"?c=4:a==="CANCELLED"?c=1:a&&typeof a==="object"?(a&&(c=a.code||2),c===2&&(c=Eq("result.error.code",a)||a.status,c=Number(c),c=ZBc.has(c)?ZBc.get(c):c>=200&&c<300?0:c>=400&&c<500?9:c>=500&&c<600?13:2,c!==2||b||(b=(a.message||"").startsWith("Rpc failed due to xhr error.")?3:0))):c=2;try{!this.config_.authErrorHandler||c!==16&&c!==7||this.config_.authErrorHandler(),this.resolver_.reject(c),this.request_.close(c,b)}finally{this.state_=
3}}};var kWc=Symbol("Pf"),lWc=function(){};lWc.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[kWc]=d)}return c})};var mWc=function(a){this.request_=a;this.metric_=this.request_.getMetric();this.metric_.start("total");this.metric_.start("blocked");this.contentLength_=0};mWc.prototype.getMetric=function(){return this.metric_};mWc.prototype.send=function(a){this.metric_.stop("blocked");this.metric_.count();this.metric_.start("network");return this.request_.send(a)};
mWc.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[kWc]||0}};mWc.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 nWc=function(a){this.config_=a;this.pendingRpcs_=new Set},pWc=function(a,b){b=new mWc(b);b=new jWc(a.config_,b);a.pendingRpcs_.add(b);oWc(a,b);return b.resultPromise()},oWc=function(a,b){se(function(c){if(c.nextAddress==1)return te(c,2,3),y(c,b.send(),3);if(c.nextAddress!=2)return ue(c),a.pendingRpcs_.delete(b),ve(c,0);we(c);return c.jumpTo(3)})};var Sbb=function(a){this.clientConfig_=a;this.inflightRequests_=new Map;a={apiKey:this.clientConfig_.getApiKey(),timeoutSec:this.clientConfig_.getClient().getRpcTimeoutSec()};this.dispatcher_=new nWc(a);this.rpcClient_=new gWc(this.clientConfig_.apiRoot_)},rWc=function(a,b){var c,d,e,f,h;return se(function(l){switch(l.nextAddress){case 1:var q=qWc(b);if(c=a.inflightRequests_.get(q)||null)return l.return(c);d=new hWc(b,a.rpcClient_);te(l,2,3);e=pWc(a.dispatcher_,d);q=qWc(b);a.inflightRequests_.set(q,
e);return y(l,e,5);case 5:return f=l.yieldResult,l.return(f);case 3:ue(l);q=qWc(b);a.inflightRequests_.delete(q);ve(l,0);break;case 2:h=we(l);if(Number.isFinite(h))throw new As(7,h);throw new As(7);}})},qWc=function(a){a=Ebb(a);if(!a)throw YVc;return a};var sWc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(sWc,V);g=sWc.prototype;g.getInstanceId=function(){return Kh(this,1)};g.setInstanceId=function(a){return fl(this,1,a)};g.clearInstanceId=function(){Np(this,1)};g.hasInstanceId=function(){return Ck(this,1)};g.getInstanceIdOrUndefined=function(){return wr(this,1)};g.getRequestId=function(){return Kh(this,2)};g.getRequestType=function(){return Fk(this,4,0)};g.setRequestType=function(a){return gl(this,4,a)};
g.getSourceType=function(){return Fk(this,6,0)};g.setSourceType=function(a){return gl(this,6,a)};g.getClient=function(){return Fk(this,7,0)};g.setClient=function(a){return gl(this,7,a)};g.hasClient=function(){return Dk(this,7)};g.getErrorType=function(){return Fk(this,8,0)};g.setErrorType=function(a){return gl(this,8,a)};g.hasErrorType=function(){return Dk(this,8)};g.getStatusCode=function(){return Fk(this,10,0)};g.setStatusCode=function(a){gl(this,10,a)};
g.hasStatusCode=function(){return Dk(this,10)};var Tbb=function(a){var b=a.getClient();a=a.runtime_.getPeopleApiEnv();this.logContext_=yt(new zt,"PeopleExperiments").setEnvironment(a).setLogSource(1250).setVersion("1.0.1").setBaselineCl(713336297).setEnableClearcut(b.getEnableClearcut())};g=Tbb.prototype;g.getLogContext=function(){return this.logContext_};g.createCountMetric=function(){throw Error("Qf");};g.createStatusMetric=function(){throw Error("Qf");};g.createErrorMetric=function(){throw Error("Qf");};
g.createLatencyMetric=function(a,b){a=b.source();b=Math.round(b.duration()*1E3);Xk(a,3,b);return a};var sW=function(a,b){this.metrics_=a;this.state_=new kO(b);this.label_="total";this.source=b};sW.prototype.start=function(){this.metrics_.start(this.state_,this.label_)};sW.prototype.stop=function(){this.metrics_.stop(this.state_,this.label_);this.metrics_.latency(this.state_)};var Wbb=function(a,b,c){this.worker_=a;this.metrics_=Fs(b);this.runtimeConfig_=c},tWc=function(a,b,c){var d,e,f=new sWc,h=Cbb();f=fl(f,2,h).setRequestType(b.getRequestType());b=gl(f,5,c).setClient((e=(d=b.getClient())==null?void 0:d.getApplicationOrUndefined())!=null?e:0);return gl(b,9,a.runtimeConfig_.getPeopleApiEnv())},uWc=function(a,b){b.setSourceType(a.getSourceOrUndefined());b.setInstanceId(a.getInstanceIdOrUndefined());a=a.getError();(a==null?0:a.hasErrorType())&&b.setErrorType(a.getErrorType());
(a==null?0:a.hasStatusCode())&&b.setStatusCode(a.getStatusCode())};Wbb.prototype.updateExperimentsCache=function(a,b){b=b===void 0?2:b;var c=this,d,e,f;return se(function(h){if(h.nextAddress==1)return d=tWc(c,a,b),e=new sW(c.metrics_,d),e.start(),y(h,c.worker_.updateExperimentsCache(a,b),2);f=h.yieldResult;uWc(f,d);e.stop();return h.return(f)})};
Wbb.prototype.getCachedExperiments=function(a,b){b=b===void 0?0:b;var c=tWc(this,a,b),d=new sW(this.metrics_,c);d.start();a=this.worker_.getCachedExperiments(a,b);uWc(a,c);d.stop();return a};var vWc=function(a){this.timer=a;this.count=0},Ybb=function(a,b){this.clientConfig_=a;this.worker_=b;this.refreshers_=new Map;this.refreshRateMs_=Xj(this.clientConfig_.getClient(),11,14400)*1E3;this.eventHandler_=new $r(this)};Ybb.prototype.updateExperimentsCache=function(a,b){try{return wWc(this,a),this.worker_.updateExperimentsCache(a,b)}catch(c){return Promise.resolve(Pbb(c))}};Ybb.prototype.getCachedExperiments=function(a,b){try{return wWc(this,a),this.worker_.getCachedExperiments(a,b)}catch(c){return Pbb(c)}};
var wWc=function(a,b){var c=Ebb(b);if(!c)throw new As(6);if(a.refreshers_.has(c))a.refreshers_.get(c).count=0;else{var d=new EF(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=Xj(a.clientConfig_.getClient(),12,18);e.count>=f&&(e.timer.stop(),a.refreshers_.delete(c))}});d.start();a.refreshers_.set(c,new vWc(d))}a.refreshers_.get(c)};var xWc=function(){},Xbb=function(a,b){this.cache_=a;this.loader_=b};
Xbb.prototype.updateExperimentsCache=function(a,b){var c=this,d,e,f,h;return se(function(l){if(l.nextAddress==1){e=d=null;try{d=yWc(c,a)}catch(F){e=F}if(d&&d.state!==3)return l.return(c.getCachedExperiments(a,b));te(l,3);return y(l,zWc(c,a),5)}if(l.nextAddress!=3){f=l.yieldResult;var q=l.return,u=f,A=e;A=A===void 0?null:A;u=(new Obb).setExperimentFlags(u.getExperimentFlags()).setExperimentIdsList(u.getExperimentIdsList()).setSource(1).setInstanceId(a.getInstanceIdOrUndefined());A&&u.setError(Nbb(A));
return q.call(l,u)}h=we(l);return l.return(Pbb(h))})};Xbb.prototype.getCachedExperiments=function(a){try{var b=yWc(this,a);if(b){var c=(new Obb).setExperimentFlags(b.experiments.getExperimentFlags()).setExperimentIdsList(b.experiments.getExperimentIdsList()).setInstanceId(b.instanceId).setSource(2);b.state!==1&&zWc(this,a).catch(xWc);return c}zWc(this,a).catch(xWc);return Pbb()}catch(d){return Pbb(d)}};
var yWc=function(a,b){try{var c=a.cache_.get(b);return c&&c.experiments.hasExperimentFlags()?c:null}catch(d){if(d instanceof As)throw d;throw new As(3);}},zWc=function(a,b){var c,d;return se(function(e){if(e.nextAddress==1)return te(e,2),b.hasInstanceId()||b.setInstanceId(Cbb()),y(e,rWc(a.loader_,b),4);if(e.nextAddress!=2)return c=e.yieldResult,a.cache_.set(b,c),e.return(c);d=we(e);if(d instanceof As)throw d;throw new As(2);})};var Rbb;var AWc=function(a){this.clientConfig_=a;this.worker_=Zbb(this.clientConfig_)};AWc.prototype.getCachedExperiments=function(a){return this.worker_.getCachedExperiments(a,0)};var idb=function(){this.peopleApiEnv_=4};idb.prototype.getPeopleApiEnv=function(){return this.peopleApiEnv_};idb.prototype.setPeopleApiEnv=function(a){this.peopleApiEnv_=a;return this};var BWc=function(a,b){this.client_=a;this.request_=b;this.response_=null};BWc.prototype.getExperimentFlags=function(){this.response_||(this.response_=this.client_.getCachedExperiments(this.request_));return this.response_.getExperimentFlags()};BWc.prototype.getExperimentIds=function(){this.response_||(this.response_=this.client_.getCachedExperiments(this.request_));return this.response_.getExperimentIdsList(Vj)};var hdb=function(a,b){this.clientConfig_=a;this.requestType_=b;this.version_=713336297};hdb.prototype.prefetch=function(a){var b=new PVc(this.clientConfig_,new idb);a=CWc(this,a,"");Zbb(b).updateExperimentsCache(a,2)};hdb.prototype.loadExperiments=function(a,b,c){var d=new PVc(this.clientConfig_,b),e=CWc(this,a,c);Zbb(d).updateExperimentsCache(e,2);b=new AWc(new PVc(this.clientConfig_,b));a=CWc(this,a,c);return new BWc(b,a)};
var CWc=function(a,b,c){var d=(new nW).setVersion(a.version_);b=(new oW).setApplication(b);return(new OVc).setProfileId(c).setRequestType(a.requestType_).setCaller(d).setClient(b)};var bcb=new jdb(new cW,new LVc);var ccb=ms.getInstance();var dcb=ms.getInstance();var DWc=new nE(vQ.WEEKDAY_MONTH_DAY_MEDIUM),EWc=new nE(7);new nE(vQ.WEEKDAY_MONTH_DAY_MEDIUM);var FWc=new Map([[0,2],[1,1],[2,3],[3,4],[4,2],[5,5]]);var GWc=function(a){var b=a.iconUrl,c=a.altText,d=a.persistentText;a=a.styleClass;return qs('<div class="'+ts("peoplekitComponentsTagTag")+" "+(a?ts(a):"")+'" peoplekit-id="'+ts("mQXP")+'">'+(CO(b)?'<img class="'+ts("peoplekitComponentsTagIcon")+'" src="'+ts(jEc(b))+'" alt="'+ts(c)+'"><div'+(d?"":' class="'+ts("peoplekitComponentsTagUnrollingAltText")+'"')+'><div class="'+ts("peoplekitComponentsTagText")+'">'+Os(c)+"</div></div>":'<div class="'+ts("peoplekitComponentsTagText")+'">'+Os(c)+"</div>")+
"</div>")};var fcb=function(a,b,c,d,e,f){var h=this;this.root=a;this.avatar=e;this.features=f;this.isIntelligenceInitialized=this.isOutOfOffice=!1;HWc(this,{tags:d});kbb(a,b.getPrimaryTarget());c.getResultDecorationConfigRequestCallback()(b,function(l){HWc(h,l)})};g=fcb.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("Nf");};g.onKeyDown=function(){};g.onContextMenu=function(){return function(){}};
g.updateWaldo=function(a){if(this.getSupportedIntelligenceFeatures().includes(1)){var b=Wr(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 "+EWc.format(c):"Out of office - back on "+DWc.format(c);Rz(b,String(c));this.root.classList.add("isOutOfOffice")}else Rz(b,
""),this.root.classList.remove("isOutOfOffice")}};g.updateHubAvailabilityDot=function(a){this.getSupportedIntelligenceFeatures().includes(2)&&this.avatar.setBadge({badgeType:FWc.get(a.getType()||0)||2})};g.getSupportedIntelligenceFeatures=function(){return this.features};g.addTag=function(a){var b=Wr(this.root,"x00ATb");a:switch(a.style||0){case 1:var c="isWarning";break a;default:c=""}a=Nq(GWc,Object.assign({},a,{styleClass:c}));b.appendChild(a)};
g.setMetaIcon=function(a){var b=k$a(this.root,"SC3Htd")[0];b&&(b.src=a.iconUrl,b.alt=a.altText)};var HWc=function(a,b){for(var c=k(b.tags||[]),d=c.next();!d.done;d=c.next())a.addTag(d.value);b.metaIcon&&a.setMetaIcon(b.metaIcon)};fcb.prototype.initializeIntelligence=function(){this.isIntelligenceInitialized||(this.getSupportedIntelligenceFeatures().includes(2)&&this.avatar.setBadge({badgeType:2}),this.isIntelligenceInitialized=!0)};fcb.prototype.dispose=function(){};var IWc=function(a,b,c,d,e){this.delegate=gcb(a,b,c,d,e,[2]);this.root=a;this.root.setAttribute("aria-selected","true");this.id=b.getPrimaryTarget().getId();this.selection=jab(dt)};Y(IWc,jW);IWc.prototype.getAllIds=function(){return[this.id]};IWc.prototype.getSelection=function(){return this.selection};var JWc=function(a,b,c,d,e,f,h,l){d=d===void 0?"":d;e=e===void 0?!1:e;return qs('<div role="option" class="'+ts("peoplekitComponentsResultlistitemResultListItem")+" "+ts(d)+'" id="'+ts(a)+'" peoplekit-id="'+ts(a)+'" aria-disabled="'+ts(e)+'" aria-selected="false"><div class="'+ts("peoplekitComponentsResultlistitemResultListItemRow")+'"><div class="'+ts("peoplekitComponentsResultlistitemLeft")+'" data-hovercard-id="'+ts(b)+'" data-name="'+ts(DO(c))+'">'+Os(f)+'</div><div class="'+ts("peoplekitComponentsResultlistitemCenter")+
'">'+Os(h)+'</div><div class="'+ts("peoplekitComponentsResultlistitemRight")+'" peoplekit-id="'+ts("QChpEe")+'">'+Os(l)+'</div></div><div peoplekit-id="'+ts("Z306Oe")+'" class="'+ts("peoplekitComponentsResultlistitemOutOfOffice")+'"></div></div>')},KWc=function(a,b,c,d){return qs('<div class="'+ts("peoplekitComponentsResultlistitemLabelContainer")+'"><div class="'+ts("peoplekitComponentsResultlistitemLabel")+" "+ts("peoplekitComponentsResultlistitemLabelRow")+'"><div class="'+ts("peoplekitComponentsResultlistitemLabelText")+
'" data-hovercard-id="'+ts(b)+'" data-name="'+ts(DO(a))+'" translate="no">'+Os(DO(a))+'</div><div peoplekit-id="'+ts("x00ATb")+'" class="'+ts("peoplekitComponentsResultlistitemTags")+'"></div></div>'+(c?'<div class="'+ts("peoplekitComponentsResultlistitemSublabel")+" "+ts("peoplekitComponentsResultlistitemLabelRow")+'"><div class="'+ts("peoplekitComponentsResultlistitemSublabelText")+'" data-hovercard-id="'+ts(b)+'" data-name="'+ts(DO(a))+'"'+(d?"":' translate="no"')+">"+Os(DO(c))+"</div></div>":
"")+"</div>")},LWc=function(a){return qs('<div class="'+ts("peoplekitComponentsResultlistitemAvatar")+'"><div class="'+ts("peoplekitComponentsResultlistitemAvatarContainer")+'" peoplekit-id="'+ts("d6MZcd")+'"></div>'+(CO(a)?Os(a):"")+"</div>")},MWc=function(){var a=qs,b=qs,c='<div class="'+ts("peoplekitComponentsResultlistitemAvatarSelectionOverlay")+'"><div class="'+ts("peoplekitComponentsResultlistitemWhiteCheck")+'">';var d=qs('<svg viewBox="0 0 24 24" class="'+(ts("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(LWc(b(c+d+"</div></div>")))},NWc=function(){return qs('<img class="'+ts("peoplekitComponentsResultlistitemMetaIcon")+'" peoplekit-id="'+ts("SC3Htd")+'" alt="" src=""/>')};var OWc=function(a){var b=a.hovercardId,c=a.label,d=a.sublabel,e=a.disableReason,f=a.allowSublabelTranslation;return qs(JWc(a.id,b,c,"isDisabled "+a.densityClass,!0,qs(""+LWc()),qs(""+KWc(c,b,d,f)),qs('<div class="'+ts("peoplekitComponentsResultlistitemDisabledDisableReasonContainer")+'">'+Os(e)+"</div>")))},PWc=function(){var a=qs,b='<div class="'+ts("peoplekitComponentsResultlistitemDisabledIconIndicator")+'" aria-label="'+ts(". Already selected")+'">';var c=qs('<svg xmlns="http://www.w3.org/2000/svg" height="18px" viewBox="0 0 24 24" width="18px" class="'+
(ts("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 QWc=function(a){this.delegate=a;var b=this;this.eventHandler=as(this);this.eventHandler.listen(this.getRoot(),"click",function(c){b.onClick(c)})};Y(QWc,jW);QWc.prototype.onClick=function(){this.toggleSelection()};var icb=function(a,b,c,d){this.internalResult=a;this.displayNameOverride=b;this.forceDisplayNameOverride=c;a=this.internalResult.getTargetList()[0];if(!a)throw new RangeError("Sf");this.target=a;d=d||this.target.getLoggingToken();a=this.target.getId();this.internalSelectionToken=new IUc(a,this.displayNameOverride,this.forceDisplayNameOverride,d)};g=icb.prototype;g.id=function(){return this.target.getId()};g.selectionToken=function(){return this.internalSelectionToken};g.targets=function(){return[this.target]};
g.result=function(){return this.internalResult};g.getDisplayNameOverride=function(){return this.displayNameOverride};g.getForceDisplayNameOverride=function(){return this.forceDisplayNameOverride};g.getDisplayNameWithOverrideApplied=function(){return this.forceDisplayNameOverride?this.displayNameOverride:this.displayNameOverride||this.internalResult.getDisplayName()};g.isPlaceholder=function(){return!1};var RWc=function(a){this.groupLoggingToken=a.getPrimaryTarget().getLoggingToken();this.explodedMembers=a.getMemberList().map(function(b){return jcb(b)})};RWc.prototype.getLoggingToken=function(){return this.groupLoggingToken};var SWc=function(a,b,c,d,e,f){this.delegate=gcb(a,b,d,e,f,[]);this.root=a;this.result=b;this.selectionsState=c;this.id=b.getPrimaryTarget().getId();this.selection=jab(dt)};Y(SWc,jW);SWc.prototype.getAllIds=function(){return[this.id]};SWc.prototype.toggleSelection=function(){var a=new RWc(this.result);this.selectionsState.selectExplodingGroup(a,1);this.root.dispatchEvent(E$a("pcw-select",this.root))};SWc.prototype.getSelection=function(){return this.selection};var TWc=function(a){var b=a.hovercardId,c=a.label,d=a.sublabel,e=a.allowSublabelTranslation;return qs(JWc(a.id,b,c,a.densityClass,void 0,qs(""+LWc()),qs(""+KWc(c,b,d,e)),qs(""+NWc())))};var VWc=function(a,b){this.delegate=a;var c=this;this.selectionsState=b;this.id=a.getAllIds()[0];b.get(this.id)&&UWc(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){UWc(c,d)};tW(this.selectionsState,this.onDeselectionCallback);uW(this.selectionsState,this.onSelectionCallback)};Y(VWc,jW);
VWc.prototype.toggleSelection=function(){var a=this.selectionsState.get(this.id)?E$a("pcw-deselect",this.getRoot()):E$a("pcw-select",this.getRoot());this.getRoot().dispatchEvent(a);this.selectionsState.toggle(this.getSelection(),1)};var UWc=function(a,b){b.id().equals(a.id)&&(a.getRoot().classList.add("isSelected"),a.getRoot().setAttribute("aria-selected","true"))};VWc.prototype.dispose=function(){this.selectionsState.deselectionCallbacks.remove(this.onDeselectionCallback);this.selectionsState.selectionCallbacks.remove(this.onSelectionCallback)};var WWc=function(a,b,c,d,e,f,h){this.delegate=gcb(a,b,d,e,f,[2]);this.selectionsState=c;this.clientConfig=h;this.id=b.getPrimaryTarget().getId();this.selection=this.selectionsState.get(this.id)||jcb(b,b.getDisplayName())};Y(WWc,jW);WWc.prototype.onContextMenu=function(a,b){Ak(this.clientConfig.internal,7,!1)&&a.preventDefault();return jW.prototype.onContextMenu.call(this,a,b)};WWc.prototype.getAllIds=function(){return[this.id]};WWc.prototype.getSelection=function(){return this.selection};var XWc=function(a){var b=a.hovercardId,c=a.label,d=a.sublabel,e=a.allowSublabelTranslation;return qs(JWc(a.id,b,c,a.densityClass,void 0,qs(""+MWc()),qs(""+KWc(c,b,d,e)),qs(""+NWc())))};var YWc=function(a,b,c,d,e,f,h){this.delegate=gcb(a,b,d,e,f,[]);this.selectionsState=c;this.clientConfig=h;this.id=b.getPrimaryTarget().getId();this.selection=this.selectionsState.get(this.id)||jcb(b)};Y(YWc,jW);YWc.prototype.onContextMenu=function(a,b){Ak(this.clientConfig.internal,7,!1)&&a.preventDefault();return jW.prototype.onContextMenu.call(this,a,b)};YWc.prototype.getAllIds=function(){return[this.id]};YWc.prototype.getSelection=function(){return this.selection};var ZWc=function(a){var b=a.hovercardId,c=a.label,d=a.sublabel,e=a.allowSublabelTranslation;return qs(JWc(a.id,b,c,a.densityClass,void 0,qs(""+MWc()),qs(""+KWc(c,b,d,e)),qs(""+NWc())))};us.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=acb(a);var l=Nq(XWc,a);is({element:l,veid:25285,actions:["impression","pcw-select","pcw-deselect"],pairs:[kcb(b.getPrimaryTarget().getLoggingToken())],componentId:"peoplekitweb"});var q=Wr(l,"d6MZcd"),u=Abb(e.getDensity()),A;d=(A=d.backupAvatarUrl)!=null?A:"";e=Xr(q,a.photos,u,u,e,d);b=new WWc(l,b,f,c,a.tags,e,h);return new QWc(new VWc(b,
f))},shouldCreate:function(){return!0}},configurationKey:void 0});
us.addCoreFactory({type:1,factory:{create:function(a){var b=hcb(a),c=a.result,d=a.resultConfig,e=a.appearanceConfig,f=a.resultCustomizationConfig,h=c.getPrimaryTarget().getId();a=Ys(h)||Vwc(h)?ecb(a):acb(a);h=Object;var l=h.assign;a:switch(b){case 1:b=PWc();break a;case 2:b=f.showSelectedIndicatorForDisabled?PWc():qs("");break a;default:b='<div class="'+ts("peoplekitComponentsResultlistitemDisabledTextIndicator")+'">',b=qs(b+"DISABLED</div>")}b=Nq(OWc,l.call(h,{},a,{disableReason:b}));h=Wr(b,"d6MZcd");
l=Abb(e.getDensity());var q;f=(q=f.backupAvatarUrl)!=null?q:"";e=Xr(h,a.photos,l,l,e,f);return new IWc(b,c,d,a.tags,e)},shouldCreate:function(a){return hcb(a)!==0}},configurationKey:void 0});
us.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=ecb(a);var l=Nq(ZWc,a);is({element:l,veid:25285,actions:["impression","pcw-select","pcw-deselect"],pairs:[kcb(b.getPrimaryTarget().getLoggingToken())],componentId:"peoplekitweb"});var q=Wr(l,"d6MZcd"),u=Abb(d.getDensity()),A;e=(A=e.backupAvatarUrl)!=null?A:"";d=Xr(q,a.photos,u,u,d,e);b=new YWc(l,b,h,c,a.tags,d,f);return new QWc(new VWc(b,
h))},shouldCreate:function(a){return Ys(a.result.getPrimaryTarget().getId())}},configurationKey:void 0});
us.addCoreFactory({type:3,factory:{create:function(a){var b=a.result,c=a.resultConfig,d=a.resultCustomizationConfig,e=a.appearanceConfig,f=a.selectionsState;a=ecb(a);var h=Nq(TWc,a);is({element:h,veid:25285,actions:["impression","pcw-select","pcw-deselect"],pairs:[kcb(b.getPrimaryTarget().getLoggingToken())],componentId:"peoplekitweb"});var l=Wr(h,"d6MZcd"),q=Abb(e.getDensity()),u;d=(u=d.backupAvatarUrl)!=null?u:"";e=Xr(l,a.photos,q,q,e,d);return new QWc(new SWc(h,b,f,c,a.tags,e))},shouldCreate:function(a){return Vwc(a.result.getPrimaryTarget().getId())}},
configurationKey:void 0});var wcb=function(a,b,c,d,e,f,h,l,q,u){this.list=a;this.resultConfig=b;this.appearanceConfig=c;this.clientConfig=d;this.selectionsState=e;this.interactions=f;this.ariaParent=l;this.popupsContainer=q;this.grouping=u;this.navigatable=new vVc(new PUc({shouldWrap:!0}));this.intelligentComponentCollection=h.create();a=this.list;b=this.navigatable;c=this.intelligentComponentCollection;d=this.appearanceConfig;(e=this.grouping)?zbb(e)?a=new IVc(a,b,c,d,e):(a.isInteractive!==!1&&(a.isInteractive=!1,a.isInteractive?
a.root.setAttribute("role","listbox"):a.root.removeAttribute("role")),a=new JVc(a,b,c,d,e)):a=new yVc(a,b,c);this.sectionController=a};g=wcb.prototype;
g.append=function(a,b){a=k(a);for(var c=a.next();!c.done;c=a.next()){var d=c=c.value,e=b,f=this.selectionsState,h=this.resultConfig,l=this.appearanceConfig,q=this.clientConfig,u=Vs(this.list.getRoot()),A=this.ariaParent,F=this.popupsContainer;d={result:d,selectionsState:f,resultConfig:h,appearanceConfig:l,clientConfig:q,isRightToLeft:u,interactions:this.interactions,resultCustomizationConfig:h.getResultCustomizationCallback()(d,e),ariaParent:A,popupsContainer:F};q=j$a(q);q=Gdb(us,q).create(d);this.sectionController.getOrCreateSection(c).append(q)}};
g.clear=function(){this.sectionController.clear();this.popupsContainer.clear()};g.reset=function(a){this.sectionController.reset(a)};g.getNavigatable=function(){return this.navigatable};g.getResultListItems=function(){return this.sectionController.getItems()};var xcb=function(a,b,c){this.delegate=a;this.interactions=b;this.health=c};g=xcb.prototype;g.append=function(a,b){try{for(var c=k(a),d=c.next();!d.done;d=c.next()){var e=d.value;this.delegate.append([e],b);this.interactions.display(e)}}catch(f){throw this.health.createError(3,Ds(f)),f;}};g.clear=function(){try{this.delegate.clear()}catch(a){throw this.health.createError(4,Ds(a)),a;}};g.reset=function(a){try{this.delegate.reset(a)}catch(b){throw this.health.createError(5,Ds(b)),b;}};
g.getNavigatable=function(){return this.delegate.getNavigatable()};g.getResultListItems=function(){return this.delegate.getResultListItems()};var vcb=function(a){a=a.header;return qs('<div peoplekit-id="'+ts("aittld")+'">'+(a.length>0?'<div class="'+ts("peoplekitUiResultlistHeader")+'">'+Os(a)+"</div>":"")+'<div peoplekit-id="'+ts("tjneg")+'"></div></div>')};var $Wc=function(){return"Google makes suggestions based on your interactions."};var aXc=function(a){this.labels=a;this.isSuggest=!1;this.hiddenSuggestionsLabel=qs("Hidden suggestions").toString();a={infoType:1,infoDialogHeader:"How suggestions work",learnMoreMessage:$Wc(),learnMoreUrl:lcb(),learnMoreLinkText:"Learn more about suggestions."};var b={};this.groupConfigs=(b.CUSTOM={headerText:this.labels.custom},b.SUGGEST={headerText:this.labels.suggest,infoGroupConfig:a},b.SEARCH={headerText:this.labels.search,infoGroupConfig:a},b.HIDDEN={headerText:this.hiddenSuggestionsLabel,
collapsibleGroupConfig:{isInitiallyCollapsed:!0}},b)};aXc.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(Leb))==null?void 0:Bt(c,1))===1?"HIDDEN":"SEARCH"}b=a}return b};aXc.prototype.reset=function(a){this.isSuggest=!a.trim()};var mcb=[aXc];var scb=function(){this.isSuggest=!1;var a={infoType:1,infoDialogHeader:"How suggestions work",learnMoreMessage:$Wc(),learnMoreUrl:lcb(),learnMoreLinkText:"Learn more about suggestions."},b={};this.groupConfigs=(b.SUGGEST={headerText:"Suggestions",infoGroupConfig:a},b.SEARCH={headerText:"Search Results",infoGroupConfig:a},b)};scb.prototype.getGroupId=function(a){return a.getResultType()===7?"CUSTOM":this.isSuggest?"SUGGEST":"SEARCH"};scb.prototype.reset=function(a){this.isSuggest=!a.trim()};var tcb=function(a){this.label=a;a={};this.groupConfigs=(a.directory={headerText:this.label},a.non_directory={},a)};tcb.prototype.getGroupId=function(a){return a.getTargetList().some(function(b){return b.getDataSource()!==2})?"non_directory":"directory"};tcb.prototype.reset=function(){};var ucb=function(a){this.label=a;a={};this.groupConfigs=(a.suggestions={headerText:this.label},a)};ucb.prototype.getGroupId=function(a){return a.getResultType()!==7?"suggestions":"non_suggestions"};ucb.prototype.reset=function(){};var bXc=function(a){this.delegate=a};g=bXc.prototype;g.search=function(a,b,c,d){this.delegate.search(a,b,c,d)};g.attach=function(){this.delegate.attach()};g.detach=function(){this.delegate.detach()};g.isShown=function(){return this.delegate.isShown()};g.onKeyDown=function(a){this.delegate.onKeyDown(a)};g.dispose=function(){this.delegate.dispose()};g.getNavigatable=function(){return this.delegate.getNavigatable()};g.getRoot=function(){return this.delegate.getRoot()};g.canHide=function(){return this.delegate.canHide()};var Ecb=function(a,b,c,d,e,f){this.delegate=a;var h=this;this.peopleStore=b;this.clientConfig=d;this.autocompleteConfig=e;this.navigationInput=f;this.navigatable=this.getNavigatable();this.previouslyActiveElement=null;this.hideListener=function(l){return cXc(h,l)};this.unhideListener=function(l){return dXc(h,l)};this.onContextMenuDisposedListener=function(l){if(h.navigationInput!==document.activeElement){var q;(q=h.navigatable.getItem(l))==null||q.deactivate();h.navigatable.reset()}};this.saveActiveElement=
function(){h.previouslyActiveElement=document.activeElement};this.onDialogDisposedListener=function(l){h.navigationInput===h.previouslyActiveElement&&(l=h.navigatable.getItem(l))&&h.navigatable.goToItem(l,0);var q;(q=h.previouslyActiveElement)==null||q.focus();h.previouslyActiveElement=null};this.hide=c.getHide();this.dispatcher=this.clientConfig.injectorService.actionEventDispatcher;this.dispatcher.subscribe(1,this.hideListener);this.dispatcher.subscribe(4,this.unhideListener);this.dispatcher.subscribe(7,
this.onContextMenuDisposedListener);this.dispatcher.subscribe(8,this.saveActiveElement);this.dispatcher.subscribe(9,this.onDialogDisposedListener)};Y(Ecb,bXc);Ecb.prototype.search=function(a,b,c,d){this.currentSearchState={query:a,anchor:b,showSuggestions:c,listener:d};bXc.prototype.search.call(this,a,b,c,d)};
Ecb.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);bXc.prototype.dispose.call(this)};
var cXc=function(a,b){return se(function(c){switch(c.nextAddress){case 1:return te(c,2),y(c,a.hide.hideResults(b),4);case 4:return y(c,a.refreshResults(),5);case 5:Hu(c,0);break;case 2:we(c),eXc(a),xe(c)}})},dXc=function(a,b){return se(function(c){switch(c.nextAddress){case 1:return te(c,2),y(c,a.hide.unhideResults(b),4);case 4:return y(c,a.refreshResults(),5);case 5:Hu(c,0);break;case 2:we(c),fXc(a),xe(c)}})};
Ecb.prototype.refreshResults=function(){var a=this;return se(function(b){if(b.nextAddress==1)return a.getRoot().classList.add("isLoading"),a.peopleStore.flushCache(3),y(b,a.peopleStore.warmUpCache(),2);a.currentSearchState?bXc.prototype.search.call(a,a.currentSearchState.query,a.currentSearchState.anchor,a.currentSearchState.showSuggestions,a.currentSearchState.listener):a.getRoot().classList.remove("isLoading");xe(b)})};
var eXc=function(a){a.hideErrorDialog=Rab(a.getRoot(),a.autocompleteConfig);a.hideErrorDialog.subscribeToAction(function(){var b;(b=a.hideErrorDialog)==null||b.dispose()})},fXc=function(a){a.unhideErrorDialog=Uab(a.getRoot(),a.autocompleteConfig);a.unhideErrorDialog.subscribeToAction(function(){var b;(b=a.unhideErrorDialog)==null||b.dispose()})};var vW=function(a,b){ns.call(this,a,b)};Y(vW,ns);vW.prototype.tabUpdate=function(){var a=this.getSpotlitItem();if(a){a=a.getRoot();var b=this.ariaParent;var c=Cpc(b,"activedescendant");b=Jz(b).getElementById(c);(c=a.querySelector('[id="'+(a.id+'-2ab"]')))?tH(this.ariaParent,b===c?a:c):ocb(a)&&(a=Array.from(a.querySelectorAll('[class~="TdcT2c"]')),b=b?a.indexOf(b):-1,b!==-1&&tH(this.ariaParent,a[(b+1)%a.length]))}};
vW.prototype.onKeyDown=function(a){a.event.keyCode===9&&this.tabUpdate();ns.prototype.onKeyDown.call(this,a)};vW.prototype.next=function(a){a=ns.prototype.next.call(this,a);var b=this.getSpotlitItem();b&&(b=b.getRoot(),ocb(b)&&gXc(this,b));return a};vW.prototype.prev=function(a){a=ns.prototype.prev.call(this,a);var b=this.getSpotlitItem();b&&(b=b.getRoot(),ocb(b)&&gXc(this,b));return a};var gXc=function(a,b){(b=b.querySelector('[class~="TdcT2c"]'))&&tH(a.ariaParent,b)};var Dcb=function(a,b,c,d,e,f,h,l){this.root=a;this.navigationInput=b;this.resultList=c;this.session=d;this.health=e;this.config=f;this.noResultsMessage=h;this.clientConfig=l;this.attached=!1;this.resultsLoadingCompleteListeners=[];this.navigatable=new vW(this.navigationInput,this.resultList.getNavigatable());this.navigatable.setSecondaryEventTargets([this]);this.navigationEventHandler=yab({getPrevKeyCode:function(){return 38},getNextKeyCode:function(){return 40}},{shouldReactToHomeEnd:!1});this.eventHandler=
as(this);jbb(this.root,0)};g=Dcb.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");jbb(this.root,1);if(a){var f=hXc(this.health);f.start();this.session.search(a,function(l){e.update(l,d,f,!0)})}else if(c){var h=hXc(this.health);h.start();this.session.suggest(function(l){e.update(l,d,h,!1)})}};
g.attach=function(){var a=this;this.attached||(this.attached=!0,this.navigationEventHandler.attach(this.navigationInput,this.navigatable),this.eventHandler.listen(this.root,"mousedown",function(b){b.preventDefault();b.stopPropagation()}),Ak(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(os(b),function(){}))}))};
g.detach=function(){this.attached=!1;this.navigatable.reset();this.navigationEventHandler.detach();this.eventHandler.removeAll();this.session.cancel();jbb(this.root,0)};g.isShown=function(){return!0};g.canHide=function(){return!1};g.dispose=function(){this.detach();this.root.parentNode&&this.root.parentNode.removeChild(this.root)};
g.update=function(a,b,c,d){var e=a.getResults();a=a.getMetadata();this.root.classList.remove("isLoading");var f=a.getQuery();this.resultList.append(e,{query:f});e=this.resultList.getResultListItems();this.attach();var h=!1;e.length>0||this.navigatable.size()?(h=!0,this.root.classList.remove("noResults")):a.getIsLastCallback()&&(h=this.noResultsMessage.update({query:f}),this.root.classList.add("noResults"));b({count:e.length,hasContent:h});Ak(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(jbb(this.root,a.getCode()===0?2:3,a.getCode()),b={query:f,resultCount:e.length},d=k(this.resultsLoadingCompleteListeners),a=d.next();!a.done;a=d.next())a=a.value,a(b);else jbb(this.root,4);c.stop()};
g.onKeyDown=function(a){var b=a.event.keyCode===9&&!a.event.shiftKey;if(a.event.keyCode===13||b&&this.config.getUseTabForResultSelection()){if(b=this.navigatable.getActiveItems(),b.length){b=k(b);for(var c=b.next();!c.done;c=b.next())c.value.toggleSelection();a.preventDefault();a.stopPropagation()}}else a.event.keyCode!==40||this.navigatable.getSpotlitItem()||(b=this.resultList.getResultListItems(),b.length&&(this.navigatable.goToItem(b[0],0),a.preventDefault(),a.stopPropagation()))};
g.getNavigatable=function(){return this.navigatable};g.getRoot=function(){return this.root};var iXc=function(a){return qs('<div tabindex="-1" class="'+ts("peoplekitComponentsScrollboxScrollbar")+'" peoplekit-id="'+ts("I8ejUe")+'">'+Os(a)+"</div>")};var qcb=function(){var a=qs,b='<div class="'+ts("peoplekitComponentsAutocompleteInlineContainer")+'" peoplekit-id="'+ts("yDHfq")+'"><div class="'+ts("peoplekitComponentsAutocompleteInlineListContainer")+'">'+iXc(qs('<div peoplekit-id="'+ts("tjneg")+'"></div>'))+'</div><div class="'+ts("peoplekitComponentsAutocompleteInlineCircularProgress")+'">';var c='<div class="'+ts("peoplekitComponentsCircularprogressCircularProgress")+(" "+ts("isActive"))+'" data-loadingmessage="'+ts("Loading...")+'" data-active="true"'+
(CO()?eEc(BO(void 0,PDc)?(void 0).getContent():nEc()):"")+'><div class="'+ts("peoplekitComponentsCircularprogressMessageContainer")+'" aria-live="polite" jsname="'+ts("vyyg5")+'">'+Os("Loading...")+'</div><div class="'+ts("peoplekitComponentsCircularprogressCircularProgressContainer")+'"><div class="'+ts("peoplekitComponentsCircularprogressCircularProgressLayer")+" "+ts("peoplekitComponentsCircularprogressColorOne")+" "+ts("exportColorOne")+'"><div class="'+ts("peoplekitComponentsCircularprogressCircleClipper")+
" "+ts("peoplekitComponentsCircularprogressLeft")+'"><div class="'+ts("peoplekitComponentsCircularprogressCircle")+" "+ts("exportCircle")+'"></div></div><div class="'+ts("peoplekitComponentsCircularprogressGapPatch")+'"><div class="'+ts("peoplekitComponentsCircularprogressCircle")+" "+ts("exportCircle")+'"></div></div><div class="'+ts("peoplekitComponentsCircularprogressCircleClipper")+" "+ts("peoplekitComponentsCircularprogressRight")+'"><div class="'+ts("peoplekitComponentsCircularprogressCircle")+
" "+ts("exportCircle")+'"></div></div></div><div class="'+ts("peoplekitComponentsCircularprogressCircularProgressLayer")+" "+ts("peoplekitComponentsCircularprogressColorTwo")+" "+ts("exportColorTwo")+'"><div class="'+ts("peoplekitComponentsCircularprogressCircleClipper")+" "+ts("peoplekitComponentsCircularprogressLeft")+'"><div class="'+ts("peoplekitComponentsCircularprogressCircle")+" "+ts("exportCircle")+'"></div></div><div class="'+ts("peoplekitComponentsCircularprogressGapPatch")+'"><div class="'+
ts("peoplekitComponentsCircularprogressCircle")+" "+ts("exportCircle")+'"></div></div><div class="'+ts("peoplekitComponentsCircularprogressCircleClipper")+" "+ts("peoplekitComponentsCircularprogressRight")+'"><div class="'+ts("peoplekitComponentsCircularprogressCircle")+" "+ts("exportCircle")+'"></div></div></div><div class="'+ts("peoplekitComponentsCircularprogressCircularProgressLayer")+" "+ts("peoplekitComponentsCircularprogressColorThree")+" "+ts("exportColorThree")+'"><div class="'+ts("peoplekitComponentsCircularprogressCircleClipper")+
" "+ts("peoplekitComponentsCircularprogressLeft")+'"><div class="'+ts("peoplekitComponentsCircularprogressCircle")+" "+ts("exportCircle")+'"></div></div><div class="'+ts("peoplekitComponentsCircularprogressGapPatch")+'"><div class="'+ts("peoplekitComponentsCircularprogressCircle")+" "+ts("exportCircle")+'"></div></div><div class="'+ts("peoplekitComponentsCircularprogressCircleClipper")+" "+ts("peoplekitComponentsCircularprogressRight")+'"><div class="'+ts("peoplekitComponentsCircularprogressCircle")+
" "+ts("exportCircle")+'"></div></div></div><div class="'+ts("peoplekitComponentsCircularprogressCircularProgressLayer")+" "+ts("peoplekitComponentsCircularprogressColorFour")+" "+ts("exportColorFour")+'"><div class="'+ts("peoplekitComponentsCircularprogressCircleClipper")+" "+ts("peoplekitComponentsCircularprogressLeft")+'"><div class="'+ts("peoplekitComponentsCircularprogressCircle")+" "+ts("exportCircle")+'"></div></div><div class="'+ts("peoplekitComponentsCircularprogressGapPatch")+'"><div class="'+
ts("peoplekitComponentsCircularprogressCircle")+" "+ts("exportCircle")+'"></div></div><div class="'+ts("peoplekitComponentsCircularprogressCircleClipper")+" "+ts("peoplekitComponentsCircularprogressRight")+'"><div class="'+ts("peoplekitComponentsCircularprogressCircle")+" "+ts("exportCircle")+'"></div></div></div></div></div>';c=qs(c);return a(b+c+'</div><div peoplekit-id="'+ts("i2HSVe")+'"></div></div>')},ycb=function(){return qs('<div class="'+ts("peoplekitComponentsAutocompleteInlineNoResultsContainer")+
'"></div>')};var Acb=function(a){a=a||{};var b=a.primaryMessage,c=a.contextMessage,d=a.learnMoreUrl,e=a.urlText;a=a.jsname;a='<div class="'+ts("peoplekitComponentsNoResultsMessageNoResultsMessage")+'"'+(a?' jsname="'+ts(a)+'"':"")+'><p class="'+ts("peoplekitComponentsNoResultsMessageHeader")+'">';a=b?a+Os(b):a+"No results";a+="</p>";if(c||d)a+='<p class="'+ts("peoplekitComponentsNoResultsMessageExplanation")+'">'+(c?Os(c)+(d?" ":""):""),d&&(a+='<a jsname="'+ts("viORvd")+'" class="'+ts("peoplekitComponentsNoResultsMessageLearnMoreLink")+
'" target="_blank" href="'+ts(Ps(d))+'">',a=e?a+Os(e):a+"Learn more",a+="</a>"),a+="</p>";return qs(a+"</div>")};var zcb=function(a,b){this.parent=a;this.config=b};zcb.prototype.update=function(a){this.root&&this.root.remove();a=this.config.display(a);if(!a)return!1;this.root=Nq(Acb,a);this.parent.appendChild(this.root);return!0};var Ccb=function(){};Ccb.prototype.update=function(){return!1};var Bcb=function(){};Bcb.prototype.update=function(){return!0};var jXc=function(){return qs('<div peoplekit-id="'+ts("i2HSVe")+'"></div>')},kXc=function(a){return qs('<div peoplekit-id="'+ts(a.id)+'"></div>')};var rcb=function(a){this.parent=a;this.root=Nq(jXc);this.parent.appendChild(this.root)};rcb.prototype.get=function(a){if(k$a(this.root,a).length===0){var b=Nq(kXc,{id:a});this.root.appendChild(b)}return Wr(this.root,a)};rcb.prototype.clear=function(){this.root.replaceChildren()};rcb.prototype.dispose=function(){this.root.remove()};rcb.prototype.getRoot=function(){return this.root};var Fcb=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=$$a(this.root,{moveAboveAnchorIfOffscreen:this.config.getMoveAutocompleteAboveAnchorIfOffscreen()});this.inlineAutocomplete.getNavigatable().setSecondaryEventTargets([this.inlineAutocomplete,this]);this.eventHandler=as(this);this.onSelectionCallback=function(){f.onSelect()};this.onSelectionAttemptedCallback=function(){f.onSelectAttempt()};
this.attach()};g=Fcb.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;uW(this.selectionsState,this.onSelectionCallback);this.selectionsState.selectionAttemptedCallbacks.add(this.onSelectionAttemptedCallback,2);this.eventHandler.listen(this.root,"mouseover",function(b){Date.now()-a.lastShowTime<100&&(b.preventDefault(),b.stopPropagation())})};g.onSelect=function(){this.hide()};
g.onSelectAttempt=function(){this.hide()};g.onKeyDown=function(a){this.isShown()&&a.event.keyCode===27&&(this.hide(),a.preventDefault(),a.stopPropagation())};g.detach=function(){this.hide()};g.isShown=function(){return this.popup.isShown()};g.canHide=function(){return!0};
g.dispose=function(){this.detach();this.selectionsState.selectionCallbacks.remove(this.onSelectionCallback);this.selectionsState.selectionAttemptedCallbacks.remove(this.onSelectionAttemptedCallback);this.eventHandler.removeAll();this.inlineAutocomplete.dispose();this.root.parentNode&&this.root.parentNode.removeChild(this.root)};g.getNavigatable=function(){return this.inlineAutocomplete.getNavigatable()};g.getRoot=function(){return this.root};g.update=function(a){a.hasContent&&this.show()};
g.show=function(){this.navigationInput.setAttribute("aria-expanded","true");this.lastShowTime=Date.now();var a=this.navigationInput.clientWidth;a:{var b=this.config.getDensity();switch(b){case 0:b=300;break a;case 1:b=300;break a;case 2:b=240;break a;default:throw Error("Ff`"+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("Ff`"+c);}}this.root.style.width=MO(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("Ff`"+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 pcb=function(){return qs('<div class="'+ts("peoplekitComponentsAutocompletePopupContainer")+'" peoplekit-id="'+ts("noeiCf")+'" style="display: none;"></div>')};var lXc=function(){this.batches=new Map};lXc.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 Hcb=function(a,b){this.service=a;this.resolveComponents=b};
Hcb.prototype.update=function(a){var b=this;a=k([].concat(t(a.batches.values())));for(var c=a.next();!c.done;c=a.next()){var d=c.value;if(d.features.length){c=this.service.for(d.ids);d=k(d.features);for(var e=d.next();!e.done;e=d.next())switch(e.value){case 1:c=c.withWaldo(function(f){mXc(b,f.values,function(h,l,q){q.updateWaldo(l,h)})});break;case 2:c=c.withHubAvailabilityDot(function(f){mXc(b,f.values,function(h,l,q){q.updateHubAvailabilityDot(l,h)})})}c.execute()}}};
var mXc=function(a,b,c){b=k(b);for(var d=b.next();!d.done;d=b.next()){d=d.value;for(var e=d.getLookupId(),f=k(a.resolveComponents(e)),h=f.next();!h.done;h=f.next())c(e,d,h.value)}};var nXc=new Set([1,3,20]),oXc=function(a){var b=this;this.idToComponent=new Map;this.updater=Icb(a,function(c){return b.resolveComponents(c)})};g=oXc.prototype;
g.append=function(a){var b=a.filter(function(f){return f.getAllIds().some(function(h){return nXc.has(h.getType())})});a=[];b=k(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;c.initializeIntelligence();for(var d=k(c.getAllIds()),e=d.next();!e.done;e=d.next())e=e.value,a.push(e),e=String(e),this.idToComponent.has(e)||this.idToComponent.set(e,[]),this.idToComponent.get(e).push(c)}this.refresh(a)};
g.remove=function(a){a=k(a);for(var b=a.next(),c={};!b.done;c={component$jscomp$90:void 0},b=a.next()){c.component$jscomp$90=b.value;b=k(c.component$jscomp$90.getAllIds());for(var d=b.next();!d.done;d=b.next()){d=String(d.value);var e=this.idToComponent.get(d);e&&this.idToComponent.set(d,e.filter(function(f){return function(h){return h!==f.component$jscomp$90}}(c)))}}};g.resolveComponents=function(a){return this.idToComponent.get(String(a))||[]};
g.refresh=function(a){var b=new lXc;a=k(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=this.resolveComponents(c);d=k(d);for(var e=d.next();!e.done;e=d.next())b.add(c,e.value.getSupportedIntelligenceFeatures())}this.updater.update(b)};g.clear=function(){this.idToComponent.clear()};var pXc=function(){};pXc.prototype.append=function(){};pXc.prototype.remove=function(){};pXc.prototype.refresh=function(){};pXc.prototype.clear=function(){};var odb=function(a){this.peopleIntelligence=a};odb.prototype.create=function(){return this.peopleIntelligence?new oXc(this.peopleIntelligence):new pXc};var qXc=Object.freeze(new Map([[5,1]]));var rXc=function(){this.entryPoint_=0};rXc.prototype.getPeoplekitEntryPoint=function(){return this.entryPoint_};rXc.prototype.setPeoplekitEntryPoint=function(a){this.entryPoint_=a;return this};rXc.prototype.serialize=function(){return[this.entryPoint_].toString()};var sXc=Object.freeze(new rXc);var tXc=function(){this.originator_=0};tXc.prototype.setOriginator=function(a){this.originator_=a;return this};tXc.prototype.getOriginator=function(){return this.originator_};var Lcb=function(a,b,c){var d=this;this.reporter=a.getReporter((new rXc).setPeoplekitEntryPoint(c));uW(b,function(e,f,h){d.select(e,h)},0);tW(b,function(e,f,h){d.deselect(e,h)},0);uXc(b,function(e,f,h,l){d.replace(e,l)},0);vXc(b,function(e,f){d.selectExplodingGroup(e,f)})};Lcb.prototype.display=function(a){this.reporter.reportDisplay(Jcb(a.getTargetList()))};Lcb.prototype.select=function(a,b){a.isPlaceholder()||wXc(this,Es([a]),b)};
Lcb.prototype.selectExplodingGroup=function(a,b){wXc(this,[a.getLoggingToken()],b)};var wXc=function(a,b,c){switch(c){case 1:case 12:case 5:a.reporter.reportSelect(b,(new tXc).setOriginator(qXc.get(c)||0));break;case 6:a.reporter.reportExternalSelect(b)}};g=Lcb.prototype;g.deselect=function(a,b){if(!a.isPlaceholder())switch(b){case 7:case 8:case 1:this.reporter.reportDeselect(Es([a]))}};g.dismiss=function(a){this.reporter.reportDismiss(Es(a))};g.save=function(a){this.reporter.reportSave(Es(a))};
g.send=function(a){this.reporter.reportSend(Es(a))};g.replace=function(a,b){switch(b){case 5:case 6:this.select(a,b)}};var xXc=function(){this.isBatchingInternal=!1;this.timerId=this.lastBatchTime=0};xXc.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=mr(function(){b.isBatchingInternal=!1;a()},d>100?0:100)}};xXc.prototype.cancel=function(){nr(this.timerId);this.isBatchingInternal=!1};var qdb=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 xXc;uW(this.selectionsState,function(){h.notifySelectionChanged(!1)});tW(this.selectionsState,function(){h.notifySelectionChanged(!0)})};g=qdb.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();Kcb(this.interactions,a,b)};g.cancel=function(){this.autocomplete.detach()};
g.dispose=function(){this.tracker.stop();this.selectionChangedListeners.length=0;this.selectionsState.clear();this.root.parentNode&&this.root.parentNode.removeChild(this.root);this.autocomplete.dispose()};g.subscribeToSelectionChanged=function(a){this.selectionChangedListeners.push({listener:a,listenToDeselections:!1})};
g.notifySelectionChanged=function(a){var b=this;this.selectionChangedAutoBatcher.call(function(){for(var c=b.selectionsState.asArray(),d=k(b.selectionChangedListeners),e=d.next();!e.done;e=d.next()){var f=e.value;e=f.listener;f=f.listenToDeselections;a&&!f||e(c,a)}})};var ndb=function(a){a=a||{};a=a.classes;return qs('<div peoplekit-id="'+ts("nVhUhf")+'"'+(a?' class="'+ts(a)+'"':"")+"></div>")};var yXc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(yXc,V);g=yXc.prototype;g.getClientId=function(){return Fk(this,1,0)};g.setClientId=function(a){return gl(this,1,a)};g.getEntryPoint=function(){return Fk(this,5,0)};g.setEntryPoint=function(a){return gl(this,5,a)};g.getSocialClient=function(){return W(this,bO,2)};g.setSocialClient=function(a){return X(this,bO,2,a)};g.setVersionName=function(a){return fl(this,3,a)};g.getBaselineCl=function(){return dv(this,4)};
g.setBaselineCl=function(a){return Xk(this,4,a)};g.hasBaselineCl=function(){return Pk(this,4)};g.getBaselineClOrUndefined=function(){return iv(this,4)};g.getComponentFlow=function(){return Fk(this,7,0)};g.setComponentFlow=function(a){return gl(this,7,a)};var wW=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(wW,V);var zXc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(zXc,V);g=zXc.prototype;g.getLabel=function(){return Fk(this,1,0)};g.setLabel=function(a){return gl(this,1,a)};g.hasLabel=function(){return Dk(this,1)};g.getCause=function(){return Fk(this,2,0)};g.setCause=function(a){gl(this,2,a)};var AXc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(AXc,V);g=AXc.prototype;g.getLabel=function(){return Fk(this,1,0)};g.setLabel=function(a){return gl(this,1,a)};g.hasLabel=function(){return Dk(this,1)};g.getValue=function(){return dv(this,2,ub(1))};g.getValue_asLegacyNumberOrString=function(){return Qk(this,2,1)};g.setValue=function(a){return Xk(this,2,a)};g.hasValue=function(){return Pk(this,2)};var BXc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(BXc,V);g=BXc.prototype;g.getLabel=function(){return Kh(this,1)};g.setLabel=function(a){return fl(this,1,a)};g.hasLabel=function(){return Ck(this,1)};g.getCause=function(){return Kh(this,2)};g.setCause=function(a){fl(this,2,a)};var CXc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(CXc,V);g=CXc.prototype;g.getLabel=function(){return Fk(this,1,0)};g.setLabel=function(a){return gl(this,1,a)};g.hasLabel=function(){return Dk(this,1)};g.setLatencyUsec=function(a){Xk(this,2,a)};g.getCacheStatus=function(){return Fk(this,3,0)};g.setCacheStatus=function(a){return gl(this,3,a)};var DXc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(DXc,V);DXc.prototype.getInterfaceType=function(){return Fk(this,1,0)};DXc.prototype.setInterfaceType=function(a){return gl(this,1,a)};var EXc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(EXc,V);g=EXc.prototype;g.getCount=function(){return W(this,AXc,3)};g.getMutableCount=function(){return Wu(this,AXc,3)};g.setCount=function(a){return X(this,AXc,3,a)};g.getMutableLatency=function(){return Wu(this,CXc,4)};g.setLatency=function(a){X(this,CXc,4,a)};g.getError=function(){return W(this,BXc,5)};g.setError=function(a){X(this,BXc,5,a)};g.hasError=function(){return Jk(this,BXc,5)};var FXc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(FXc,V);FXc.prototype.setElementIndex=function(a){dl(this,2,a)};FXc.prototype.setUserAction=function(a){return gl(this,4,a)};var GXc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(GXc,V);g=GXc.prototype;g.getClientInterface=function(){return W(this,yXc,3)};g.setClientInterface=function(a){return X(this,yXc,3,a)};g.getMetadata=function(){return W(this,wW,4)};g.getMutableMetadata=function(){return Wu(this,wW,4)};g.setMetadata=function(a){X(this,wW,4,a)};var Ncb=function(a,b){this.entryPoint=b;this.logContext=igb(yt(new zt,"peoplekit.health").setLogSource(624).setApplication(a.getSocialApplicationOrUndefined()).setEnvironment(0).setVersion("1.0").setBaselineCl(713336297).setEnableClearcut(a.getEnableClearcut()),bcb.getExperimentIds());this.clientId=a.getClientId();this.componentFlow=a.getComponentFlow()};g=Ncb.prototype;g.getLogContext=function(){return this.logContext};
g.createCountMetric=function(a,b,c){b.source().getMutableCount().setValue(c);return HXc(this,a,b)};g.createStatusMetric=function(){throw Error("Qf");};g.createLatencyMetric=function(a,b){b.source().getMutableLatency().setLatencyUsec(lO(b,"total"));return HXc(this,a,b)};g.createErrorMetric=function(a,b){return HXc(this,a,b)};
var HXc=function(a,b,c){a=(new GXc).setClientInterface((new yXc).setClientId(a.clientId).setSocialClient(b.getSocialClient()).setVersionName(a.getLogContext().getVersionOrUndefined()).setBaselineCl(a.getLogContext().getBaselineClOrUndefined()).setComponentFlow(a.componentFlow).setEntryPoint(a.entryPoint));c=c.source();return X(a,EXc,2,c)};var IXc=function(a,b){this.metrics_=a;this.state_=new kO(b);this.source=b};IXc.prototype.increment=function(a){this.metrics_.count(this.state_,a===void 0?1:a)};var JXc=function(a,b){this.metrics_=a;this.state_=new kO(b);this.source=b};JXc.prototype.report=function(){this.metrics_.error(this.state_)};var Pcb=function(a,b){this.metrics=a;this.userInterfaceType=b};Pcb.prototype.createCount=function(a,b){a=KXc(this,a,3);a.getMutableCount().setLabel(b);return new IXc(this.metrics,a)};Pcb.prototype.createError=function(a,b,c){a=KXc(this,a,5);Wu(a,zXc,8).setLabel(b).setCause(c);return new JXc(this.metrics,a)};var KXc=function(a,b,c){var d=new EXc;c=gl(d,1,c);a=(new DXc).setInterfaceType(a.userInterfaceType);b=gl(a,2,b);return X(c,DXc,2,b)};var Ocb=function(a){this.trackers=a},hXc=function(a){a=a.trackers;var b=KXc(a,2,4);b.getMutableLatency().setLabel(8);return new sW(a.metrics,b)};Ocb.prototype.createCount=function(a,b){return this.trackers.createCount(b===void 0?0:b,a)};Ocb.prototype.createError=function(a,b,c){return this.trackers.createError(c===void 0?0:c,a,b===void 0?0:b)};var xW=function(){this.itemsByPriority=[]};xW.prototype.add=function(a,b){this.itemsByPriority[b]||(this.itemsByPriority[b]=new Set);this.itemsByPriority[b].add(a)};xW.prototype.remove=function(a){for(var b=k(this.itemsByPriority),c=b.next();!c.done;c=b.next())(c=c.value)&&c.delete(a)};xW.prototype.asArray=function(){return this.itemsByPriority.flatMap(function(a){return[].concat(t(a))})};var Js=function(){this.selectionCallbacks=new xW;this.deselectionCallbacks=new xW;this.selectionReplacedCallbacks=new xW;this.selectionAttemptedCallbacks=new xW;this.explodingGroupSelectionCallbacks=new xW;this.selectionsState=[]};
Js.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 Rcb(a,b,c,this.selectionAttemptedCallbacks.asArray()),!1;b>=0?(this.selectionsState.splice(b,0,a),Rcb(a,b,c,this.selectionCallbacks.asArray())):(this.selectionsState.push(a),Rcb(a,this.selectionsState.length-1,c,this.selectionCallbacks.asArray()));return!0};
Js.prototype.selectExplodingGroup=function(a,b){b=b===void 0?0:b;var c=this.explodingGroupSelectionCallbacks.asArray(),d;c=k(c);for(var e=c.next();!e.done;e=c.next()){e=e.value;try{e(a,b)}catch(f){d||(d=f)}}if(d)throw d;a=k(a.explodedMembers);for(d=a.next();!d.done;d=a.next())this.select(d.value)};Js.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),Rcb(a,d,b,this.deselectionCallbacks.asArray()))};
Js.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 uW=function(a,b,c){a.selectionCallbacks.add(b,c===void 0?2:c)},tW=function(a,b,c){a.deselectionCallbacks.add(b,c===void 0?2:c)},uXc=function(a,b,c){a.selectionReplacedCallbacks.add(b,c===void 0?2:c)},vXc=function(a,b){a.explodingGroupSelectionCallbacks.add(b,0)};g=Js.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;Scb(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 Rcb(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 LXc={ARROW_KEYS:{string:"arrow_keys",xid:"Wxn7ub"},AUTOMATED:{string:"automated",xid:"wjpLYc"},CLICK:{string:"click",xid:"cOuCgd"},DRAGEND:{string:"dragend",xid:"RlD3W"},DROP:{string:"drop",xid:"DaY83b"},GENERIC_CLICK:{string:"generic_click",xid:"szJgjc"},HOVER:{string:"hover",xid:"ZmdkE"},IMPRESSION:{string:"impression",xid:"xr6bB"},KEYBOARD_ENTER:{string:"keyboard_enter",xid:"SYhH9d"},KEYPRESS:{string:"keypress",xid:"Kr2w4b"},LONG_PRESS:{string:"long_press",xid:"tfSNVb"},MOUSEOVER:{string:"mouseover",
xid:"FrfE3b"},RIGHT_CLICK:{string:"rightclick",xid:"CYQmze"},SCROLL:{string:"scroll",xid:"XuHpsb"},SWIPE:{string:"swipe",xid:"eteedb"},VIS:{string:"vis",xid:"HkgBsf"}},Tcb=Xcb(LXc),MXc=new Map,NXc=k(Object.keys(LXc)),OXc=NXc.next();!OXc.done;OXc=NXc.next()){var PXc=OXc.value;MXc.set(LXc[PXc].xid,LXc[PXc].string)}
var Vcb=Xcb({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 yW=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};yW.prototype.getID=function(){return this.visualElementID};var zW=function(a,b){return b?a.tracks_.has(a.maybeXidEventLabel_(b)):a.tracks_.size!=0};g=yW.prototype;g.setIndex=function(a){this.index_=a};g.getIndex=function(){return this.index_};
g.setComponentID=function(a){this.componentID_=a};g.getComponentID=function(){return this.componentID_};g.isMutable=function(){return this.mutable_};g.setAttribute=function(a){this.attribute_=a;return this};g.getAttribute=function(){return this.attribute_};var QXc=function(a,b){for(var c=0;c<a.metadataHandlers_.length;++c)a.metadataHandlers_[c](b)};yW.prototype.maybeXidEventLabel_=function(a){return this.xidTagComponents_?Ucb(a):a};
yW.prototype.maybeXidPartLabel_=function(a){return this.xidTagComponents_?Wcb(a):a};yW.prototype.isMutable=yW.prototype.isMutable;var RXc=function(a){yW.call(this,a)};Y(RXc,yW);var AW=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(AW,V);AW.prototype.setVeIndex=function(a){dl(this,1,a)};var SXc=function(a,b){dl(a,2,b)};AW.prototype.setElementIndex=function(a){dl(this,5,a)};AW.prototype.getResultIndex=function(){return Xj(this,6,-1)};AW.prototype.setResultIndex=function(a){dl(this,6,a)};var TXc=[0,Wv,-1,2,Wv,-4,Xv,Wv,k7b,mac,Wv,[0,j7b,Wv]];var UXc=pna(AW,TXc),VXc=function(a){return function(b){var c=new e7b;kna(b.internalArrayDoNotAccessOrElse,c,Gh(a));return f7b(c)}}(TXc);var WXc=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};WXc.prototype.getTag=function(){return this.veTag_};WXc.prototype.getElement=function(){return this.el_};var YXc=function(a){var b=XXc++;a.traversalOrder_=b};WXc.prototype.setParent=function(a){this.parent_=a};WXc.prototype.getParent=function(){return this.parent_};
var ZXc=function(a){if(a.impressionEventID){var b=new AW;b.setVeIndex(a.traversalOrder_);SXc(b,a.getTag().getID());X(b,Dz,13,a.impressionEventID);a=VXc(b);return"0"+Qba(a,4)}};var adb=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(adb,V);g=adb.prototype;g.getClientId=function(){return Fk(this,1,0)};g.setClientId=function(a){return gl(this,1,a)};g.getEntryPoint=function(){return Fk(this,2,0)};g.setEntryPoint=function(a){return gl(this,2,a)};g.getApplication=function(){return Fk(this,3,0)};g.setApplication=function(a){return gl(this,3,a)};g.getApplicationOrUndefined=function(){return Bt(this,3)};g.setVersionName=function(a){return fl(this,4,a)};
g.getBaselineCl=function(){return dv(this,5)};g.setBaselineCl=function(a){return Xk(this,5,a)};g.hasBaselineCl=function(){return Pk(this,5)};g.getBaselineClOrUndefined=function(){return iv(this,5)};g.getMetadata=function(){return W(this,wW,6)};g.getMutableMetadata=function(){return Wu(this,wW,6)};g.setMetadata=function(a){X(this,wW,6,a)};g.setSharekitEntryPoint=function(a){gl(this,7,a)};g.getSharekitEntryPointOrUndefined=function(){return Bt(this,7)};var cdb=function(a){this.context_=a};cdb.prototype.createNewTag=function(a){return new RXc(a)};cdb.prototype.addEventMetadata=function(a){Qkc(a,this.context_.serialize())};var $Xc=function(){this.client_info=this.global_metadata=this.ve_metadata=void 0;this.testCodes=[]};var aYc=function(){};aYc.prototype.impressionEvent=function(){return[]};aYc.prototype.interactionEvent=function(){return[]};aYc.prototype.visibilityEvent=function(){return[]};var dYc=function(){if(!bYc){var a=bYc=new kac,b=Date.now()*1E3;Xk(a,1,b);Np(bYc,2,0);Np(bYc,3,0)}a=(new Dz).setBase(bYc);b=++cYc;return Xk(a,2,b)},cYc=0,bYc=void 0;var BW=function(a){this.internalArrayDoNotAccessOrElse=m(a,1)};Y(BW,V);var CW=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(CW,V);var DW=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(DW,V);DW.prototype.setVed=function(a){return em(this,5,eYc,a)};var fYc=[1,3,4],eYc=[2,5];var gYc=function(a){this.internalArrayDoNotAccessOrElse=m(a,7)};Y(gYc,V);g=gYc.prototype;g.getTarget=function(){return W(this,DW,1)};g.setTarget=function(a){return X(this,DW,1,a)};g.getType=function(){return Fk(this,2,0)};g.setType=function(a){return gl(this,2,a)};g.hasType=function(){return Dk(this,2)};var hYc=function(a){var b=Date.now();b=Number.isFinite(b)?b*1E3:void 0;Xk(a,4,b)};var iYc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(iYc,V);var EW=function(a){this.internalArrayDoNotAccessOrElse=m(a,233)};Y(EW,V);EW.prototype.setUiType=function(a){return dl(this,1,a)};EW.prototype.setElementIndex=function(a){dl(this,3,a)};var jYc=function(a,b){wc(a,4,b,Lb)};EW.prototype.getResultIndex=function(){return Xj(this,7)};EW.prototype.setResultIndex=function(a){dl(this,7,a)};EW.prototype.setVisible=function(a){return gl(this,6,a)};var FW=function(a){this.internalArrayDoNotAccessOrElse=m(a,17)};Y(FW,V);g=FW.prototype;g.setVed=function(a){return fl(this,11,a)};g.setUiType=function(a){return dl(this,1,a)};g.setVeIndex=function(a){dl(this,2,a)};g.getResultIndex=function(){return Xj(this,7,-1)};g.setResultIndex=function(a){dl(this,7,a)};g.setElementIndex=function(a){dl(this,8,a)};var kYc=function(a,b){$m(a,14,b)};var GW=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(GW,V);var lYc=function(a){this.userAction=a};var nYc=function(a,b){this.userAction=a;this.visualElementID=b;mYc++},mYc=0;var oYc=function(){this.xidTagComponents_=!1};oYc.prototype.createNewTag=function(a){return new yW(a,this.xidTagComponents_)};oYc.prototype.addEventMetadata=function(){};var HW=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(HW,V);var pYc=function(a,b){$m(a,1,b)};HW.prototype.addPath=function(a,b){return Xu(this,1,EW,a,b)};HW.prototype.setPath=function(a,b){return Uu(this,1,EW,a,b)};var qYc=new Yv(100,HW);var IW=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(IW,V);var JW=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(JW,V);JW.prototype.getTimestamp=function(){return W(this,IW,1)};JW.prototype.setTimestamp=function(a){return X(this,IW,1,a)};JW.prototype.hasTimestamp=function(){return Jk(this,IW,1)};var rYc=new Yv(126,JW);var sYc=new Yv(618,JW);var tYc=function(a){this.internalArrayDoNotAccessOrElse=m(a,2)};Y(tYc,V);var uYc=new Yv(273,tYc);var vYc=function(){this.nextPtr_=0;this.maxSize_=50;this.buff_=[]};g=vYc.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=wYc(this,a);return this.buff_[a]};g.set=function(a,b){a=wYc(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 wYc=function(a,b){if(b>=a.buff_.length)throw Error("Xf");return a.buff_.length<a.maxSize_?b:(a.nextPtr_+Number(b))%a.maxSize_};var Gs=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 vYc};Y(Gs,aYc);Gs.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=xYc(this,c,b);b=this.enableBatching_?yYc(this,d,b):zYc(this,d,b);return a.concat(b)};
Gs.prototype.interactionEvent=function(a,b){var c=new GW,d=dYc();X(c,Dz,1,d);d=new FW;a.serverVed_?d.setVed(a.serverVed_):d.setUiType(a.getTag().getID()).setVeIndex(a.traversalOrder_);kYc(dl(d,3,b.userAction),this.getAncestry_(a));a.getTag();this.setTimestamp(d);var e=new CW;X(e,Dz,1,a.impressionEventID);X(c,Dz,3,a.impressionEventID);X(c,FW,4,d);X(c,CW,9,e);this.recentInteractions_.add(new nYc(b.userAction,a.getTag().getID()));a=new pF;Rkc(a,c.serialize());return[a]};
Gs.prototype.visibilityEvent=function(a,b){for(var c=[],d=new Map,e=0;e<a.length;++e){var f=a[e],h=f.getElement(),l=f.rootImpressionEventID,q=d.get(l);q=q?q:[];var u=new HW;this.enableAncestryLoggingForGrafts_&&pYc(u,this.getAncestry_(f));if(f.neverShown||zW(f.getTag(),"vis"))if(h=this.isVisible_(h,b),f.hidden&&h){h=new gYc;h.setType(1);var A=AYc(f);h.setTarget(A);hYc(h);this.enableAncestryLoggingForGrafts_&&ht(h,qYc,u);q.push(h);f.hidden=!1;f.neverShown=!1}else f.hidden||h||(h=new gYc,h.setType(2),
A=AYc(f),h.setTarget(A),hYc(h),this.enableAncestryLoggingForGrafts_&&ht(h,qYc,u),q.push(h),f.hidden=!0);d.set(l,q)}a=k(d.keys());for(b=a.next();!b.done;b=a.next())b=b.value,f=d.get(b),f.length&&(e=new iYc,$m(e,1,f),f=new GW,l=dYc(),q=new CW,X(q,Dz,1,b),X(f,Dz,1,l),X(f,Dz,3,b),X(f,iYc,7,e),X(f,CW,9,q),b=new pF,Rkc(b,f.serialize()),c.push(b));return c};
Gs.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=MEc(b,new KO(a.left,a.top,a.width,a.height)))&&b.width>=10&&b.height>=10?!0:!1};
var xYc=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 GW;e.testCodes$jscomp$1=[];e.impressionEventID=dYc();X(e.clientVeProto$jscomp$7,Dz,1,e.impressionEventID);var h=new CW;X(h,Dz,1,e.impressionEventID);X(e.clientVeProto$jscomp$7,CW,9,h);if(h=ktc(window.location.href,"ved"))h=(new FW).setVed(h),X(e.clientVeProto$jscomp$7,FW,4,h);b[f].forEach(function(l){return function(q,u){u.impressionEventID=
l.impressionEventID;u.rootImpressionEventID=l.impressionEventID;var A=this.getVisualElementLiteProto_(u);q.length&&jYc(A,q);q=u.getElement();this.isVisible_(q,c)?(u.neverShown=!1,u.hidden=!1):A.setVisible(1);this.enableAttentionLogging_&&zW(u.getTag(),"hover")&&u.traversalOrder_!==void 0&&(q.setAttribute("data-hveid",Number(u.traversalOrder_)),lk(l.clientVeProto$jscomp$7,EW,2,Uj()).length===0&&ZXc(u)&&(q.setAttribute("decode-data-ved","1"),q.setAttribute("data-ved",ZXc(u)+"")));this.setTimestamp(A);
Xu(l.clientVeProto$jscomp$7,2,EW,A);l.testCodes$jscomp$1=l.testCodes$jscomp$1.concat(u.getTag().testCodes_)}}(e),a);h=new pF;Rkc(h,e.clientVeProto$jscomp$7.serialize());wc(h,20,e.testCodes$jscomp$1,Lb);d.push(h)}return d},yYc=function(a,b,c){for(var d=[],e=new Map,f=b.length-1;f>=0;f--){var h=b[f],l=h.keys().next().value.rootImpressionEventID,q=e.get(l)||[];q.push(h);e.set(l,q)}e.forEach(function(u,A){var F=0,H=[],N=new GW,O=[],T=dYc();X(N,Dz,1,T);X(N,Dz,3,A);var ea=new CW;X(ea,Dz,1,A);X(N,CW,9,ea);
for(ea=0;ea<u.length;ea++)for(var ka=u[ea],oa=ka.keys(),La=oa.next().value,Ua=ka.get(La),Pa={},lb=0;lb<Ua.length;Pa={startingOffset:void 0,cloneTreeRootIndex:void 0},++lb){var qa=La;Pa.cloneTreeRootIndex=0;Pa.startingOffset=Ua[lb];var Ga=ka.size;lb!=Ua.length-1&&(Ga=Ua[lb+1]);for(var Ha=Pa.startingOffset;Ha<Ga;++Ha){var Ab=oa.next().value;Ha==Pa.startingOffset&&(qa=Ab,Pa.cloneTreeRootIndex=F);Ab.impressionEventID=T;Ab.rootImpressionEventID=A;Ab.traversalOrder_=F;var vb=ka.get(Ab),fc=this.getVisualElementLiteProto_(Ab);
vb.length&&jYc(fc,vb.map(function(hc){return function(tc){return tc-hc.startingOffset+hc.cloneTreeRootIndex}}(Pa)));vb=Ab.getElement();this.isVisible_(vb,c)?(Ab.neverShown=!1,Ab.hidden=!1):fc.setVisible(1);this.setTimestamp(fc);Xu(N,2,EW,fc);O=O.concat(Ab.getTag().testCodes_);F++}Pa=new gYc;Pa.setType(3);Ga=AYc(La);Pa.setTarget(Ga);Ga=new DW;Ha=new AW;Ab=new HW;Ha.setVeIndex(qa.traversalOrder_);SXc(Ha,qa.getTag().getID());zm(Ga,2,eYc,Ha);X(Pa,DW,3,Ga);this.enableAncestryLoggingForGrafts_&&(pYc(Ab,
this.getAncestry_(qa)),ht(Pa,qYc,Ab));H.push(Pa)}H.length&&(u=new iYc,$m(u,1,H),X(N,iYc,7,u));H=new pF;Rkc(H,N.serialize());wc(H,20,O,Lb);d.push(H)},a);return d},zYc=function(a,b,c){for(var d=[],e=b.length-1;e>=0;e--)for(var f=b[e],h=f.keys(),l=h.next().value,q=f.get(l),u={},A=0;A<q.length;u={startingOffset$jscomp$1:void 0},++A){u.startingOffset$jscomp$1=q[A];var F=f.size;A!=q.length-1&&(F=q[A+1]);var H=new GW,N=[],O=dYc(),T=new CW;X(T,Dz,1,l.impressionEventID);X(H,Dz,1,O);X(H,Dz,3,l.impressionEventID);
gl(H,5,3);X(H,CW,9,T);T=new FW;l.serverVed_?T.setVed(l.serverVed_):T.setUiType(l.getTag().getID()).setVeIndex(l.traversalOrder_);kYc(T,a.getAncestry_(l));X(H,FW,4,T);for(T=u.startingOffset$jscomp$1;T<F;++T){var ea=h.next().value;ea.impressionEventID=O;ea.rootImpressionEventID=l.rootImpressionEventID;ea.traversalOrder_!=void 0&&(ea.traversalOrder_-=u.startingOffset$jscomp$1);var ka=f.get(ea),oa=a.getVisualElementLiteProto_(ea);ka.length&&jYc(oa,ka.map(function(La){return function(Ua){return Ua-La.startingOffset$jscomp$1}}(u)));
ka=ea.getElement();a.isVisible_(ka,c)?(ea.neverShown=!1,ea.hidden=!1):oa.setVisible(1);a.enableAttentionLogging_&&zW(ea.getTag(),"hover")&&ea.traversalOrder_!==void 0&&(ka.setAttribute("data-hveid",Number(ea.traversalOrder_)),lk(H,EW,2,Uj()).length===0&&ZXc(ea)&&(ka.setAttribute("decode-data-ved","1"),ka.setAttribute("data-ved",ZXc(ea)+"")));a.setTimestamp(oa);Xu(H,2,EW,oa);N=N.concat(ea.getTag().testCodes_)}u=new pF;Rkc(u,H.serialize());wc(u,20,N,Lb);d.push(u)}return d};
Gs.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};Gs.prototype.getVisualElementLiteProto_=function(a){var b=(new EW).setUiType(a.getTag().getID());Number.isFinite(a.getTag().getIndex())&&b.setElementIndex(a.getTag().getIndex());QXc(a.getTag(),b);this.enableAttentionLogging_&&zW(a.getTag(),"hover")&&(a=new tYc,cl(a,1,!0),ht(b,uYc,a));return b};
var AYc=function(a){var b=new DW;if(a.serverVed_)b.setVed(a.serverVed_);else{var c=new AW;zm(b,3,fYc,a.impressionEventID);c.setVeIndex(a.traversalOrder_);SXc(c,a.getTag().getID());zm(b,2,eYc,c)}return b};
Gs.prototype.setTimestamp=function(a){var b=Date.now();b=Number.isFinite(b)?b.toString():void 0;if(a instanceof FW&&(!W(a,BW,15)||!W(a,BW,15).getExtension(rYc))){var c=new JW,d=new IW,e=W(a,BW,15);e||(e=new BW);kl(d,1,b);c.setTimestamp(d);ht(e,rYc,c);X(a,BW,15,e)}a instanceof EW&&(c=new JW,d=new IW,kl(d,1,b),c.setTimestamp(d),ht(a,sYc,c))};var BYc=1;(function(){for(var a=["ms","moz","webkit","o"],b=0;b<a.length&&!window.requestAnimationFrame;++b)window.requestAnimationFrame=window[a[b]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[a[b]+"CancelAnimationFrame"]||window[a[b]+"CancelRequestAnimationFrame"];if(!window.requestAnimationFrame){var c=0;window.requestAnimationFrame=function(d){var e=(new Date).getTime(),f=Math.max(0,16-(e-c));c=e+f;return window.setTimeout(function(){d(e+f)},f)};window.cancelAnimationFrame||(window.cancelAnimationFrame=
function(d){clearTimeout(d)})}})();var CYc=function(){},DYc=[[],[]],EYc=0,FYc=new Set,GYc=null,HYc=0,IYc=0,JYc=0,KYc=0,LYc=0,MYc=function(a){this.mutate_=this.measure_=void 0;this.runInCurrentFrameIfPossible_=!1;this.window_=window;this.context_=a;this.state_ctor_=CYc};g=MYc.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 NYc({measure:this.measure_,mutate:this.mutate_,stateCtor:this.state_ctor_,window:this.window_,runInCurrentFrameIfPossible:this.runInCurrentFrameIfPossible_},this.context_)};
var NYc=function(a,b){var c=LYc++,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=EYc,!a.runInCurrentFrameIfPossible||KYc==0||a.measure&&KYc!=1||(h=(h+1)%2),DYc[h].push(f));return OYc(a.window)}},PYc=function(a,b){var c={};
KYc=1;for(var d=0;d<a.length;++d){var e=a[d];var f=e.args[e.args.length-1];f&&typeof f==="object"&&(f.now=b);if(e.measureFn){e.phase=1;try{e.measureFn.apply(e.context,e.args)}catch(h){c[d]=!0,za(h)}}}KYc=2;for(d=0;d<a.length;++d)if(e=a[d],(f=e.args[e.args.length-1])&&typeof f==="object"&&(f.now=b),!c[d]&&e.mutateFn){e.phase=2;try{e.mutateFn.apply(e.context,e.args)}catch(h){za(h)}}HYc>0&&b>1&&(a=b-HYc,a<500&&(BYc++,a>100&&IYc++,JYc<a&&(JYc=a)));HYc=FYc.size&&b>1?b:0},OYc=function(a){if(!FYc.has(a)){FYc.size||
(GYc=new iWc);FYc.add(a);var b=GYc.resolve;a.requestAnimationFrame(function(c){FYc.clear();var d=DYc[EYc];EYc=(EYc+1)%2;try{PYc(d,c)}finally{KYc=0,d.length=0}b()})}return GYc.promise};var QYc=function(a,b){this.visualElementProvider=a;this.traverseShadowDom=b===void 0?!1:b},SYc=function(a,b){return RYc(a,b).filter(function(c){return KW(this.visualElementProvider,c)!=null},a)},TYc=function(a,b){var c=a.visualElementProvider;a=[];for(var d=void 0,e={},f=0;f<b.length;e={parent$jscomp$176:void 0},++f){var h=KW(c,b[f]);h.traversalOrder_==void 0&&h.serverVed_==void 0&&(e.parent$jscomp$176=void 0,$cb(b[f],function(l){return function(q){q=KW(c,q);return q!=null?(l.parent$jscomp$176=q,
!0):!1}}(e),!1),e.parent$jscomp$176?d&&d.has(e.parent$jscomp$176)||(d=new Map,a.unshift(d),d.set(e.parent$jscomp$176,[]),XXc=1):(d=new Map,a.unshift(d),XXc=0),YXc(h),h.setParent(e.parent$jscomp$176),d.set(h,[]),e.parent$jscomp$176&&d.get(e.parent$jscomp$176).push(h.traversalOrder_))}return a},UYc=function(a,b){var c=a.visualElementProvider;return b.map(function(d){return KW(c,d)})},RYc=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},XXc=0;var VYc=function(a,b){this.tagPopulator_=a;this.expectXidTagComponents_=b||!1;this.componentID_=void 0},KW=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||St(d)||d!=c.getTag().getAttribute()));if(d)return c;d=b.getAttribute("jslog");if(!d)return null;d=WYc(a,
d);if(!d||(d.getComponentID()||a.componentID_)&&d.getComponentID()!=a.componentID_)return null;a=new WXc(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=UXc(c);e=W(f,Dz,13)}catch(h){e=null}}e&&(a.impressionEventID=e,a.rootImpressionEventID=e)}return b.LSWHIf=a},WYc=function(a,b){if(St(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(!St(f)){var h=L4b(f);if(h.length<2)return null;f=h[0].trim();h=h[1].trim();if(St(f)||St(h))return null;switch(f){case a.maybeXidPartLabel_("track"):f=h.split(",");for(h=0;h<f.length;++h){var l=d,q=f[h].trim();if(a.expectXidTagComponents_){if(!l.xidTagComponents_)throw Error("Vf");if(!MXc.has(q))throw Error("Wf`"+q);l.tracks_.add(q)}else l.tracks_.add(l.maybeXidEventLabel_(q))}break;
case a.maybeXidPartLabel_("index"):d.setIndex(Number(h));break;case a.maybeXidPartLabel_("tc"):f=h.split(",");f=f.map(Number);f=f.filter(Number.isInteger);d.testCodes_=f;break;case "cid":d.setComponentID(h);break;case a.maybeXidPartLabel_("mutable"):h=="true"?d.mutable_=!0:h=="rci"&&(d.mutable_=!0,d.retain_cached_impression_=!0)}}}return d.setAttribute(b)};VYc.prototype.maybeXidPartLabel_=function(a){return this.expectXidTagComponents_?Wcb(a):a};
VYc.prototype.setComponentID=function(a){this.componentID_=a};VYc.prototype.getComponentID=function(){return this.componentID_};var XYc=function(a,b){xF.call(this,"visibilitychange");this.hidden=a;this.visibilityState=b};Y(XYc,xF);var YYc=function(a){Jq.call(this);this.domHelper_=a||Mq();if(this.eventType_=this.getBrowserEventType_())this.eventKey_=Kq(this.domHelper_.document_,this.eventType_,Lu(this.handleChange_,this))};Nu(YYc,Jq);g=YYc.prototype;g.getBrowserEventType_=Gq(function(){var a=this.isSupported(),b=this.getHiddenPropertyName_()!="hidden";if(a){var c;b?c=((Qdb()||"")+"visibilitychange").toLowerCase():c="visibilitychange";a=c}else a=null;return a});g.getHiddenPropertyName_=Gq(function(){return LEc("hidden",this.domHelper_.document_)});
g.getVisibilityStatePropertyName_=Gq(function(){return LEc("visibilityState",this.domHelper_.document_)});g.isSupported=function(){return!!this.getHiddenPropertyName_()};g.handleChange_=function(){var a=this.isSupported()?this.domHelper_.document_[this.getVisibilityStatePropertyName_()]:null;a=new XYc(!!this.domHelper_.document_[this.getHiddenPropertyName_()],a);this.dispatchEvent(a)};g.disposeInternal=function(){DF(this.eventKey_);YYc.superClass_.disposeInternal.call(this)};var LW=function(a,b,c,d,e,f,h){var l=d===void 0?{}:d;var q=l.backgroundJobDeferrer===void 0?void 0:l.backgroundJobDeferrer;d=l.expectXidTagComponents===void 0?!1:l.expectXidTagComponents;l=l.traverseShadowDom===void 0?!1:l.traverseShadowDom;$r.call(this);var u=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 oYc;this.visualElementProvider_=
new VYc(this.metadataHandler_,this.expectXidTagComponents_);this.eventToActionMap_={click:3};this.eventToTracksLabelMap_={click:this.maybeXidEventLabel_("generic_click")};this.pageVisibilityMonitor_=new YYc;this.logImpressionsTask_=(new MYc(this)).measure(q?function(){return q().then(u.handleImpressions_.bind(u))}:this.handleImpressions_).runInCurrentFrameIfPossible().build();this.logImpressionsThrottle_=new QJc(this.logImpressionsTask_,500,this);this.traverser_=h||new QYc(this.visualElementProvider_,
l);this.eventBuilder instanceof aYc&&(this.eventHandler_=this.eventBuilder);this.zwiebackId_=e;this.windowProvider_=f};Y(LW,$r);LW.prototype.setComponentID=function(a){this.visualElementProvider_.setComponentID(a)};LW.prototype.logImpressions=function(){this.domHelper_&&this.logImpressionsThrottle_.fire()};
var $Yc=function(a,b,c,d){var e=ZYc(d),f=a.getIndex(c);var h=(new FXc).setUserAction(b);var l=c.getTag().getID();h=dl(h,1,l);e=wc(h,3,e,Lb);f!=null&&e.setElementIndex(f);f=new $Xc;f.ve_metadata=a.getMetadata(c,d);f.global_metadata=a.invariantData_;f.client_info=a.appInfo_;c=Qkc(new pF,e.serialize());c=wc(c,20,f.testCodes,Lb);a.transport&&uF(a.transport,c);if(b!=null)for(b=new lYc(b),c=0;c<a.listeners_.length;c++)a.listeners_[c](b)};LW.prototype.log=function(a){this.transport&&uF(this.transport,a)};
var aZc=function(a){for(var b=0;b<a.impressionListeners_.length;b++)a.impressionListeners_[b]()};LW.prototype.getIndex=function(a){return a.getTag().getIndex()};var ZYc=function(a){return a.map(function(b){return b.getTag().getID()})};LW.prototype.getMetadata=function(a,b){var c=new EW;QXc(a.getTag(),c);for(a=0;a<b.length;++a)QXc(b[a].getTag(),c);return c};
var bZc=function(a,b,c){var d,e=a.visualElementProvider_,f=a.eventToTracksLabelMap_[b];$cb(c,function(h){if(!Qz(h))return!1;h=KW(e,h);var l;if(l=h!=null)if(l=h.getTag(),a.expectXidTagComponents_){if(!l.xidTagComponents_)throw Error("Vf");if(!MXc.has(f))throw Error("Wf`"+f);l=l.tracks_.has(f)}else l=zW(l,f);return l?(d=h,!0):!1},!0);return d};g=LW.prototype;
g.getAncestry_=function(a){var b=[],c=this.visualElementProvider_;$cb(a,function(d){if(!Qz(d))return!1;d=KW(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=SYc(this.traverser_,this.root_);if(this.eventHandler_){var c=this.windowProvider_?this.domHelper_.getViewportSize(this.windowProvider_()):this.domHelper_.getViewportSize();c=new KO(0,0,
c.width,c.height);var d=TYc(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]),fl(d[e],28,this.zwiebackId_),this.transport&&uF(this.transport,d[e])}b=UYc(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_&&fl(b[c],28,this.zwiebackId_),this.transport&&uF(this.transport,b[c]);aZc(this)}else{c=[];d=this.windowProvider_?
this.domHelper_.getViewportSize(this.windowProvider_()):this.domHelper_.getViewportSize();d=new KO(0,0,d.width,d.height);for(e=0;e<b.length;e++){var f=b[e];this.isVisible_(f,d)&&(f=KW(this.visualElementProvider_,f))&&zW(f.getTag(),"impression")&&c.push(f)}for(b=0;b<c.length;b++)d=c[b],d.loggedImpression_||(e=this.getAncestry_(d.getElement()),$Yc(this,void 0,d,e),aZc(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=MEc(b,new KO(a.left,a.top,a.width,a.height)))&&b.width>=10&&b.height>=10?!0:!1};g.maybeXidEventLabel_=function(a){return this.expectXidTagComponents_?Ucb(a):a};
g.tearDown=function(){if(this.domHelper_){var a=this.domHelper_.document_;this.unlisten(a,"scroll",this.logImpressions,!0);this.unlisten(a,"resize",this.logImpressions,!0);this.unlisten(a,"load",this.logImpressions,!1);this.unlisten(a,"DOMContentLoaded",this.logImpressions,!1)}this.unlisten(this.pageVisibilityMonitor_,"visibilitychange",this.logImpressions,!1);this.logImpressionsThrottle_.dispose()};var bdb=function(a,b,c,d,e,f,h,l,q,u,A,F,H){e=e===void 0?!1:e;q=q===void 0?!1:q;l||(b=new Hq(b,c),d&&(b.destinationUrl=d),f&&(b.backgroundJobDeferrer=f),l=b.build());LW.call(this,a,h||null,l,{expectXidTagComponents:e,backgroundJobDeferrer:f,traverseShadowDom:q},u,A,F);this.clearcut_=l;this.clearcut_.setClientSideLogOnlyForDevelopment(!1);a=this.clearcut_;a.useSendBeaconForFinalFlush=a.isSendBeaconSupported;this.clearcut_.useGetRequestForFinalFlush=!0;H&&this.clearcut_.setProductID(H)};Y(bdb,LW);
bdb.prototype.setClearcutClientInfo=function(a){this.clearcut_.setClearcutClientInfo(a)};bdb.prototype.setBuildLabel=function(a){this.clearcut_.setBuildLabel(a)};bdb.prototype.setClientSideLogOnlyForDevelopment=function(a){this.clearcut_.setClientSideLogOnlyForDevelopment(a)};var cZc=function(a){this.tracker=a};var dZc=function(a,b){this.root=a;this.handler=b;this.eventHandler=new $r(this)};
dZc.prototype.observe=function(a){var b=this;this.observer||(this.observer=new MutationObserver(function(c){c=k(c);for(var d=c.next();!d.done;d=c.next())if(d=d.value,d.type==="childList"){d=k(d.addedNodes);for(var e=d.next();!e.done;e=d.next())e=e.value,e instanceof Element&&(e.querySelectorAll("[jsLog]").length||e.getAttribute("jsLog"))&&b.handler.tracker.logImpressions()}}),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=bZc(d,e,c.target)))if(d.eventHandler_)for(f=d.eventHandler_.interactionEvent(e,new lYc(f)),e=0;e<f.length;++e)d.metadataHandler_.addEventMetadata(f[e]),d.zwiebackId_&&fl(f[e],28,d.zwiebackId_),d.transport&&uF(d.transport,f[e]);else{var h=d.getAncestry_(e.getElement());$Yc(d,f,e,h)}c.stopPropagation()}))};dZc.prototype.dispose=function(){var a;(a=this.observer)==null||a.disconnect();this.eventHandler.removeAll()};var ddb=function(a,b){this.root=a;this.tracker=b;this.observer=new dZc(this.root,new cZc(this.tracker))};
ddb.prototype.start=function(a){var b=this.tracker,c=this.root;b.domHelper_=new Iz;b.root_=c||b.domHelper_.document_.body;c=b.domHelper_.document_;c.readyState!=="interactive"&&c.readyState!=="complete"||b.logImpressions();b.listenOnce(c,"load",b.logImpressions,!1);b.listenOnce(c,"DOMContentLoaded",b.logImpressions,!1);b.listen(b.pageVisibilityMonitor_,"visibilitychange",b.logImpressions,!1);b.listen(c,"scroll",b.logImpressions,!0);b.listen(c,"resize",b.logImpressions,!0);b=k(a);for(c=b.next();!c.done;c=
b.next()){var d=k(c.value);c=d.next().value;d=d.next().value;var e=this.tracker;e.eventToActionMap_[c]=d;e.eventToTracksLabelMap_[c]=e.maybeXidEventLabel_(c)}this.observer.observe([].concat(t(a.keys())))};ddb.prototype.stop=function(){this.observer.dispose();this.tracker.dispose()};var MW=function(){this.queryScope_=0;this.targetCount_=1;this.displayNameWithOverrideApplied_=null},eZc=function(a,b){a.displayNameWithOverrideApplied_=b;return a},fZc=function(a,b){a.targetCount_=b;return a};MW.prototype.getTargetCount=function(){return this.targetCount_};MW.prototype.getQueryScope=function(){return this.queryScope_};MW.prototype.setQueryScope=function(a){this.queryScope_=a;return this};MW.prototype.getDisplayNameWithOverrideApplied=function(){return this.displayNameWithOverrideApplied_};var Et=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Et,V);var NW=function(a,b){return cl(a,1,b)};g=Et.prototype;g.getProvenance=function(){return Fk(this,2,0)};g.setProvenance=function(a){return gl(this,2,a)};g.getCode=function(){return Fk(this,3,0)};g.setCode=function(a){return gl(this,3,a)};g.getCodeOrUndefined=function(){return Bt(this,3)};var OW=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(OW,V);OW.prototype.getSource=function(){return W(this,Et,1)};OW.prototype.setSource=function(a){return X(this,Et,1,a)};OW.prototype.hasSource=function(){return Jk(this,Et,1)};var PW=function(a,b){return gl(a,2,b)},QW=function(a,b){return gl(a,3,b)};var gZc=function(){this.code_=2;this.cacheState_=new OW;this.similarIds_=[]};g=gZc.prototype;g.getCode=function(){return this.code_};g.getCacheState=function(){return this.cacheState_};g.getSimilarIds=function(){return this.similarIds_};g.setCode=function(a){this.code_=a;return this};g.setCacheState=function(a){this.cacheState_=a;return this};var hZc=function(a,b){this.disambiguationLabel_=a;this.metadata_=b};hZc.prototype.getDisambiguationLabel=function(){return this.disambiguationLabel_};hZc.prototype.getMetadata=function(){return this.metadata_};var jeb=function(){this.filter_=null;this.originator_=this.queryScope_=0;this.useOriginalDisplayValue_=!1};g=jeb.prototype;g.getFilter=function(){return this.filter_};g.setFilter=function(a){this.filter_=a;return this};g.getQueryScope=function(){return this.queryScope_};g.setQueryScope=function(a){this.queryScope_=a;return this};g.getOriginator=function(){return this.originator_};g.setOriginator=function(a){this.originator_=a;return this};g.getUseOriginalDisplayValue=function(){return this.useOriginalDisplayValue_};
g.setUseOriginalDisplayValue=function(a){this.useOriginalDisplayValue_=a;return this};g.clone=function(){return(new jeb).setFilter(this.getFilter()).setOriginator(this.getOriginator()).setQueryScope(this.getQueryScope()).setUseOriginalDisplayValue(this.getUseOriginalDisplayValue())};var iZc=function(){this.isLastCallback_=this.isFirstCallback_=!1;this.notFoundIdList_=[];this.code_=2;this.cacheState_=new OW};g=iZc.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 jZc=function(a,b){this.results_=a;this.metadata_=b};jZc.prototype.getResults=function(){return this.results_};jZc.prototype.getMetadata=function(){return this.metadata_};var RW=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(RW,V);g=RW.prototype;g.getQuery=function(){return Kh(this,1,"")};g.setQuery=function(a){return fl(this,1,a)};g.clearQuery=function(){Np(this,1)};g.hasQuery=function(){return Ck(this,1)};g.getIsFirstCallback=function(){return Ak(this,2,!1)};g.setIsFirstCallback=function(a){return cl(this,2,a)};g.getIsLastCallback=function(){return Ak(this,3,!1)};g.setIsLastCallback=function(a){return cl(this,3,a)};
g.setCallbackNumber=function(a){return dl(this,4,a)};g.getNextPageToken=function(){return Kh(this,5,"")};g.getCode=function(){return Fk(this,6,2)};g.setCode=function(a){return gl(this,6,a)};g.getCodeOrUndefined=function(){return Bt(this,6)};g.getCacheState=function(){return W(this,OW,7)};g.setCacheState=function(a){return X(this,OW,7,a)};g.hasCacheState=function(){return Jk(this,OW,7)};var SW=function(a,b){this.results_=a;this.metadata_=b};SW.prototype.getResults=function(){return this.results_};SW.prototype.getMetadata=function(){return this.metadata_};var kZc={create:function(a,b,c,d,e){e=e===void 0?new Is:e;return mdb(a,b,c,d,new gUc,{sessionOptions:e})},createWith:function(a,b,c,d,e){e=e===void 0?{}:e;return mdb(a,b,c,d,new gUc,e)},createConfig:function(a){a=a===void 0?new hxc(RK.apiEnv,new ixc(RK.userProfileId)):a;return new uVc(a)}};var lZc=function(){this.warnForExternalSelections=!1;this.allowContactMethodEditing=!0;this.chipCustomizationCallback=function(){return{}}};g=lZc.prototype;g.getWarnForExternalSelections=function(){return this.warnForExternalSelections};g.getAllowDisplayNameEditing=function(){return!1};g.getAllowContactMethodEditing=function(){return this.allowContactMethodEditing};g.setAllowContactMethodEditing=function(a){this.allowContactMethodEditing=a};g.getAllowChipDeletion=function(){return!0};
g.getShouldDisplayExternalSelectionIcon=function(){return!0};g.getAllowChipDragAndDrop=function(){return!0};g.getChipCustomizationCallback=function(){return this.chipCustomizationCallback};g.getAllowChipDisambiguation=function(){return!0};var mZc=function(a){this.entryPoint=0;this.environmentConfig=a;this.appearance=new o$a;this.chip=new lZc;this.chip.setAllowContactMethodEditing(!1);this.useOriginalDisplayValue=!1};g=mZc.prototype;g.setEntryPoint=function(a){this.entryPoint=a};g.getEntryPoint=function(){return this.entryPoint};g.getEnvironmentConfig=function(){return this.environmentConfig};g.getUseOriginalDisplayValue=function(){return this.useOriginalDisplayValue};
g.setUseOriginalDisplayValue=function(a){this.useOriginalDisplayValue=a};g.getWarnForExternalSelections=function(){return this.chip.getWarnForExternalSelections()};g.getAllowDisplayNameEditing=function(){return this.chip.getAllowDisplayNameEditing()};g.getAllowContactMethodEditing=function(){return this.chip.getAllowContactMethodEditing()};g.setAllowContactMethodEditing=function(a){this.chip.setAllowContactMethodEditing(a)};g.getAllowChipDeletion=function(){return this.chip.getAllowChipDeletion()};
g.getShouldDisplayExternalSelectionIcon=function(){return this.chip.getShouldDisplayExternalSelectionIcon()};g.getAllowChipDragAndDrop=function(){return this.chip.getAllowChipDragAndDrop()};g.getChipCustomizationCallback=function(){return this.chip.getChipCustomizationCallback()};g.getAllowChipDisambiguation=function(){return this.chip.getAllowChipDisambiguation()};g.getDensity=function(){return this.appearance.getDensity()};g.setDensity=function(a){this.appearance.setDensity(a)};g.getTheme=function(){return this.appearance.getTheme()};
g.setTheme=function(a){this.appearance.setTheme(a)};g.getStyle=function(){return this.appearance.getStyle()};g.setStyle=function(a){this.appearance.setStyle(a)};var nZc=function(a){this.entryPoint=0;this.helpText="";this.shouldAutofocus=!1;this.environmentConfig=a;this.autocomplete=new tVc(this.environmentConfig);this.chipsBar=new mZc(this.environmentConfig);this.chipsBar.setAllowContactMethodEditing(!0)};g=nZc.prototype;g.getEnvironmentConfig=function(){return this.environmentConfig};g.setEntryPoint=function(a){this.entryPoint=a};g.getEntryPoint=function(){return this.entryPoint};g.getWarnForExternalSelections=function(){return this.chipsBar.getWarnForExternalSelections()};
g.getAllowDisplayNameEditing=function(){return this.chipsBar.getAllowDisplayNameEditing()};g.getAllowContactMethodEditing=function(){return this.chipsBar.getAllowContactMethodEditing()};g.setAllowContactMethodEditing=function(a){this.chipsBar.setAllowContactMethodEditing(a)};g.getAllowChipDeletion=function(){return this.chipsBar.getAllowChipDeletion()};g.getShouldDisplayExternalSelectionIcon=function(){return this.chipsBar.getShouldDisplayExternalSelectionIcon()};g.getAllowChipDragAndDrop=function(){return this.chipsBar.getAllowChipDragAndDrop()};
g.getChipCustomizationCallback=function(){return this.chipsBar.getChipCustomizationCallback()};g.getAllowChipDisambiguation=function(){return this.chipsBar.getAllowChipDisambiguation()};g.getUseOriginalDisplayValue=function(){return this.chipsBar.getUseOriginalDisplayValue()};g.setUseOriginalDisplayValue=function(a){this.chipsBar.setUseOriginalDisplayValue(a)};g.getAutocompleteHeader=function(){return this.autocomplete.getAutocompleteHeader()};g.setAutocompleteHeader=function(a){this.autocomplete.setAutocompleteHeader(a)};
g.getShowSuggestions=function(){return this.autocomplete.getShowSuggestions()};g.setShowSuggestions=function(a){this.autocomplete.setShowSuggestions(a)};g.getAutocompleteMaxResultsBeforeScroll=function(){return this.autocomplete.getAutocompleteMaxResultsBeforeScroll()};g.setAutocompleteMaxResultsBeforeScroll=function(a){this.autocomplete.setAutocompleteMaxResultsBeforeScroll(a)};g.getMoveAutocompleteAboveAnchorIfOffscreen=function(){return this.autocomplete.getMoveAutocompleteAboveAnchorIfOffscreen()};
g.setMoveAutocompleteAboveAnchorIfOffscreen=function(a){this.autocomplete.setMoveAutocompleteAboveAnchorIfOffscreen(a)};g.getAutoActivateFirstSuggestion=function(){return this.autocomplete.getAutoActivateFirstSuggestion()};g.setAutoActivateFirstSuggestion=function(a){this.autocomplete.setAutoActivateFirstSuggestion(a)};g.getAutoActivateFirstSearchResult=function(){return this.autocomplete.getAutoActivateFirstSearchResult()};g.setAutoActivateFirstSearchResult=function(a){this.autocomplete.setAutoActivateFirstSearchResult(a)};
g.getNoResultsMessage=function(){return this.autocomplete.getNoResultsMessage()};g.setNoResultsMessage=function(a){this.autocomplete.setNoResultsMessage(a)};g.getUseTabForResultSelection=function(){return this.autocomplete.getUseTabForResultSelection()};g.getAutocompleteGroupingType=function(){return this.autocomplete.getAutocompleteGroupingType()};g.setAutocompleteGroupingType=function(a){this.autocomplete.setAutocompleteGroupingType(a)};g.getAutocompleteGroupingLabel=function(){return this.autocomplete.getAutocompleteGroupingLabel()};
g.setAutocompleteGroupingLabel=function(a){this.autocomplete.setAutocompleteGroupingLabel(a)};g.getAutocompleteCustomGrouping=function(){return this.autocomplete.getAutocompleteCustomGrouping()};g.getAllowResultDeselection=function(){return this.autocomplete.getAllowResultDeselection()};g.getResultDecorationConfigRequestCallback=function(){return this.autocomplete.getResultDecorationConfigRequestCallback()};g.getResultCustomizationCallback=function(){return this.autocomplete.getResultCustomizationCallback()};
g.setResultCustomizationCallback=function(a){this.autocomplete.setResultCustomizationCallback(a)};g.getDensity=function(){return this.autocomplete.getDensity()};g.setDensity=function(a){this.autocomplete.setDensity(a)};g.getTheme=function(){return this.autocomplete.getTheme()};g.setTheme=function(a){this.autocomplete.setTheme(a)};g.getStyle=function(){return this.autocomplete.getStyle()};g.setStyle=function(a){this.autocomplete.setStyle(a)};var eeb=function(a){var b=a.multiSelectable,c=a.orientation,d=a.isKeyboardFocusable;a=a.ariaLabel;return qs('<div class="'+ts("peoplekitComponentsArialistboxAriaListBox")+'" peoplekit-id="'+ts("pQPeT")+'" tabindex="'+ts(d?0:-1)+'" role="listbox" aria-multiselectable="'+ts(b)+'" aria-orientation="'+ts(c)+'" aria-label="'+ts(a)+'"></div>')};var oZc=new Map([[5,12],[12,8],[11,13],[13,14],[2,15],[6,7]]);var Ws=function(a,b,c,d){this.selectionsState=a;this.peopleStore=b;this.lookupOptions=c;this.health=d;this.disposed=!1};Ws.prototype.select=function(a,b,c){var d=this;c=c===void 0?-1:c;return this.disposed?Promise.reject():new Promise(function(e,f){pZc(d,a,b,c,e,f)})};
var pZc=function(a,b,c,d,e,f){var h=[],l=[];d=d>=0?d:a.selectionsState.size();b=k(b);for(var q=b.next();!q.done;q=b.next()){var u=qZc(q.value);q=u.lookupId;u=jab(q,u.displayNameOverride,u.forceDisplayNameOverride,u.loggingTokenOverride);a.selectionsState.select(u,d,c)&&(h.push(q),d++)}d=a.lookupOptions.clone().setOriginator(qXc.get(c)||0);a.peopleStore.lookup(h,function(A){rZc(a,A,l,c,e,f)},d)},rZc=function(a,b,c,d,e,f){if(a.disposed)f();else{for(var h=f=0,l=k(b.getResults().entries()),q=l.next();!q.done;q=
l.next()){var u=k(q.value);q=u.next().value;var A=u=u.next().value,F=a.selectionsState.get(q);F&&(u=F.getDisplayNameOverride(),A=jcb(A,u,F.getForceDisplayNameOverride(),F.selectionToken().getLoggingToken()),a.selectionsState.replace(q,A,d),u&&f++,A.getDisplayNameWithOverrideApplied()&&h++)}f=h-f;f>0&&(h=a.health,l=h.createCount,q=6,q=q===void 0?0:q,d=oZc.get(d)||q,l.call(h,53,d).increment(f));b=b.getMetadata();c.push.apply(c,t(b.notFoundIdList_));b.getIsLastCallback()&&(a.deselect(c),e(c))}};
Ws.prototype.deselect=function(a){a=k(a);for(var b=a.next();!b.done;b=a.next())(b=this.selectionsState.get(b.value))&&this.selectionsState.deselect(b)};Ws.prototype.replace=function(a,b){var c=this;return this.disposed?Promise.reject():new Promise(function(d,e){sZc(c,a,b,d,e)})};
var sZc=function(a,b,c,d,e){var f=[],h=[];b=k(b.entries());for(var l=b.next();!l.done;l=b.next()){var q=k(l.value);l=q.next().value;q=q.next().value;var u=qZc(q);q=u.lookupId;u=jab(q,u.displayNameOverride,u.forceDisplayNameOverride,u.loggingTokenOverride);a.selectionsState.replace(l,u)&&h.push(q)}a.peopleStore.lookup(h,function(A){rZc(a,A,f,c,d,e)},a.lookupOptions)};Ws.prototype.dispose=function(){this.disposed=!0};
var qZc=function(a){if(a instanceof IUc){var b=a.lookupWithOverride.getId();var c=a.lookupWithOverride.getDisplayName();var d=a.lookupWithOverride.getForceDisplayNameOverride();a=a.getLoggingToken()}else a instanceof Rs?(b=a.getId(),c=a.getDisplayName(),d=a.getForceDisplayNameOverride()):(b=a,c="",d=!1),a=null;return{lookupId:b,displayNameOverride:c,forceDisplayNameOverride:d,loggingTokenOverride:a}};var Wdb=function(a,b,c,d,e,f){var h=this;this.chipSet=a;this.selectionsState=b;this.undoRedoStack=c;this.lookupSelector=new Ws(b,d,e,f);this.onSelectionCallback=function(l,q,u){h.onSelect(u)};this.onSelectionReplacedCallback=function(l,q,u,A){A===9&&h.undoRedoStack.push()};this.onDeselectionCallback=function(l,q,u){h.onDeselect(u)};this.attach()};g=Wdb.prototype;
g.attach=function(){uW(this.selectionsState,this.onSelectionCallback);uXc(this.selectionsState,this.onSelectionReplacedCallback);tW(this.selectionsState,this.onDeselectionCallback)};g.select=function(a){a=this.lookupSelector.select(a,6);this.undoRedoStack.push();return a};g.deselect=function(a){this.lookupSelector.deselect(a);this.undoRedoStack.push()};g.replace=function(a){a=this.lookupSelector.replace(a,6);this.undoRedoStack.push();return a};g.focusLastChip=function(){return this.chipSet.focusLastChip()};
g.activateAllChips=function(){this.chipSet.activateAllChips()};g.dispose=function(){this.selectionsState.selectionCallbacks.remove(this.onSelectionCallback);this.selectionsState.selectionReplacedCallbacks.remove(this.onSelectionReplacedCallback);this.selectionsState.deselectionCallbacks.remove(this.onDeselectionCallback);this.lookupSelector.dispose();this.chipSet.dispose()};g.onSelect=function(a){a===1&&this.undoRedoStack.push()};g.onDeselect=function(a){switch(a){case 1:case 8:this.undoRedoStack.push()}};var tZc=function(a,b,c,d,e,f,h){this.delegate=a;this.ariaParent=b;this.actionRequestCallbacks=c;this.chipConfig=d;this.appearanceConfig=e;this.clientConfig=f;this.chipCustomization=h;this.contextMenuContainer=Wr(hW.prototype.getRoot.call(this),"QL45qe");a=hW.prototype.getRoot.call(this).parentElement;hW.prototype.getRoot.call(this).removeChild(this.contextMenuContainer);a.appendChild(this.contextMenuContainer)};Y(tZc,hW);g=tZc.prototype;g.deactivate=function(){hW.prototype.deactivate.call(this);this.disposeContextMenu()};
g.drag=function(){this.disposeContextMenu();hW.prototype.drag.call(this)};g.dispose=function(){this.disposeContextMenu();hW.prototype.dispose.call(this)};g.onKeyDown=function(a){var b;(b=this.contextMenu)==null||b.onKeyDown(a);hW.prototype.onKeyDown.call(this,a)};
g.onContextMenu=function(a,b){var c=this;a.stopPropagation();a.preventDefault();this.isActive()?this.actionRequestCallbacks.spotlight():this.actionRequestCallbacks.activate();this.contextMenu&&this.disposeContextMenu();this.contextMenu=Dab(this.contextMenuContainer,this.getRoot(),this.ariaParent,this.appearanceConfig);a=this.appearanceConfig.getTheme();this.contextMenu.append(kab(a));Ak(this.clientConfig.internal,4,!1)&&uZc(this,a);this.chipConfig.getAllowChipDeletion()&&this.contextMenu.append(lab(a));
var d;!this.chipConfig.getAllowDisplayNameEditing()||((d=this.chipCustomization.chipAction)==null?0:d.disableDisplayNameEditing)||this.contextMenu.append(mab(a));Rwc.includes(this.getSelection().id().getType())&&this.chipConfig.getAllowContactMethodEditing()&&this.contextMenu.append(nab(a));zab(this.getRoot())&&this.contextMenu.append(oab(a));dVc(this.contextMenu,function(e){c.onContextMenuItemSelected(e)});eVc(this.contextMenu,function(){c.disposeContextMenu();b()});this.contextMenu.show();return function(){c.disposeContextMenu()}};
g.onContextMenuItemSelected=function(a){switch(a.id){case "jCCvxc":this.actionRequestCallbacks.copyMethod(this);break;case "RkeQbd":case "N1uSwe":this.actionRequestCallbacks.copyContactMethod(this);break;case "UkZFS":this.actionRequestCallbacks.cut(this);break;case "xTCd3":this.showHovercard();break;case "YCRBfe":this.edit();break;case "l1309":this.actionRequestCallbacks.editContactMethod(this);break;default:throw Error("Mf`"+a.id);}this.disposeContextMenu()};
var uZc=function(a,b){var c=a.getSelection().result().getDisplayValue();if(c){var d;if((d=a.contextMenu)!=null){var e=d.append;Swc.includes(a.getSelection().id().getType())?(a=ks.get(b),c=Object.freeze({id:"RkeQbd",iconUrl:a==null?void 0:a.get("RkeQbd"),label:'Copy "'+c+'"',keyboardShortcut:[18,67],veid:134816})):(a=ks.get(b),c=Object.freeze({id:"N1uSwe",iconUrl:a==null?void 0:a.get("N1uSwe"),label:'Copy "'+c+'"',keyboardShortcut:[18,67],veid:134816}));e.call(d,c)}}};
tZc.prototype.showHovercard=function(){this.isActive();this.getRoot();this.getSelection()};tZc.prototype.disposeContextMenu=function(){var a;(a=this.contextMenu)==null||a.dispose();this.contextMenu=void 0};var vZc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(vZc,V);var wZc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(wZc,V);wZc.prototype.getGroupIdHex=function(){return Kh(this,1)};var xZc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(xZc,V);xZc.prototype.getGroupIdHex=function(){return Kh(this,1)};var Ms=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Ms,V);g=Ms.prototype;g.getGivenName=function(){return Kh(this,1)};g.setGivenName=function(a){return ak(this,1,a)};g.getFamilyName=function(){return Kh(this,2)};g.setFamilyName=function(a){return ak(this,2,a)};g.getEmailList=function(){return Tj(this,3,Uj())};g.setEmailList=function(a){return bk(this,3,a)};g.addEmail=function(a){return zc(this,3,Yb,a,void 0,$b)};g.removeEmail=function(a){return zc(this,3,Yb,void 0,a,$b,void 0,1,!1,!0)};
g.getEmail=function(a){return gv(this,3,a)};g.setEmail=function(a){return lv(this,3,a)};var zdb=function(a,b){return bk(a,4,b)};Ms.prototype.getPhone=function(){return gv(this,4)};Ms.prototype.setPhone=function(a){return lv(this,4,a)};var TW=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(TW,V);var wdb=function(a){var b=new TW;return ak(b,1,a)};TW.prototype.getEdit=function(){return Ak(this,2)};TW.prototype.setEdit=function(a){return Cm(this,2,a)};TW.prototype.getIncludeTrash=function(){return Ak(this,3)};var Ks=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Ks,V);g=Ks.prototype;g.getObfuscatedGaiaId=function(){return Kh(this,1)};g.setObfuscatedGaiaId=function(a){return ak(this,1,a)};g.getEdit=function(){return Ak(this,2)};g.setEdit=function(a){return Cm(this,2,a)};g.getIncludeTrash=function(){return Ak(this,3)};var UW=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(UW,V);UW.prototype.getEdit=function(){return Ak(this,2)};UW.prototype.setEdit=function(a){return Cm(this,2,a)};UW.prototype.getIncludeTrash=function(){return Ak(this,3)};var yZc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(yZc,V);yZc.prototype.getQuery=function(){return Kh(this,1)};yZc.prototype.setQuery=function(a){return ak(this,1,a)};yZc.prototype.clearQuery=function(){Np(this,1)};var zZc=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(zZc,V);zZc.prototype.getQuery=function(){return Kh(this,1)};zZc.prototype.setQuery=function(a){return ak(this,1,a)};zZc.prototype.clearQuery=function(){Np(this,1)};var Ls=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Ls,V);var vdb=function(){var a=new Ls;return em(a,1,AZc,"0")};Ls.prototype.getAuthUser=function(){return bm(this,17,AZc)};var ydb=function(a,b){return zm(a,3,VW,b)},xdb=function(a,b){return zm(a,9,VW,b)},udb=function(a,b){return zm(a,10,VW,b)};Ls.prototype.getSearchParams=function(){return um(this,yZc,13,VW)};Ls.prototype.setSearchParams=function(a){zm(this,13,VW,a)};var AZc=[1,17],VW=[2,3,4,5,6,7,8,9,10,11,13,14,15,16];var tdb=function(a){switch($l(a,VW)){case 2:return WW(a,"",Ak(um(a,vZc,2,VW),1)?[["multisend_welcome","1"]]:null);case 3:return BZc(a);case 4:return WW(a,"/frequent");case 5:return WW(a,"/other");case 6:return WW(a,"/directory");case 7:return WW(a,"/label/"+XW(um(a,xZc,7,VW).getGroupIdHex(),"GroupParams.GroupIdHex"));case 8:var b="/person/"+XW(Kh(um(a,UW,8,VW),1),"PersonByPersonIdParams.PersonId"),c=um(a,UW,8,VW).getEdit()?[["edit","1"]]:um(a,UW,8,VW).getIncludeTrash()?[["includeTrash","1"]]:[];return WW(a,
b,c);case 9:return b="/p/"+XW(um(a,Ks,9,VW).getObfuscatedGaiaId(),"PersonByObfuscatedGaiaIdParams.ObfuscatedGaiaId"),c=um(a,Ks,9,VW).getEdit()?[["edit","1"]]:um(a,Ks,9,VW).getIncludeTrash()?[["includeTrash","1"]]:[],WW(a,b,c);case 10:return b="/contact/"+XW(Kh(um(a,TW,10,VW),1),"PersonByContactIdParams.ContactIdHex"),c=um(a,TW,10,VW).getEdit()?[["edit","1"]]:um(a,TW,10,VW).getIncludeTrash()?[["includeTrash","1"]]:[],WW(a,b,c);case 11:return WW(a,"/group/"+XW(um(a,wZc,11,VW).getGroupIdHex(),"DelegatedContactListParams.GroupIdHex")+
"/"+XW(Kh(um(a,wZc,11,VW),2),"DelegatedContactListParams.SyntheticGroupId"));case 13:return WW(a,"/search/"+XW(a.getSearchParams().getQuery(),"SearchParams.Query"));case 14:return WW(a,"/trash");case 15:return WW(a,"/trashsearch/"+XW(um(a,zZc,15,VW).getQuery(),"TrashSearchParams.Query"));case 16:return WW(a,"/suggestions");default:throw Error("Zf`"+$l(a,VW));}},BZc=function(a){var b=[],c=Rt(um(a,Ms,3,VW).getGivenName());St(c)||b.push(["givenname",c]);c=Rt(um(a,Ms,3,VW).getFamilyName());St(c)||b.push(["familyname",
c]);c=um(a,Ms,3,VW).getEmailList().filter(function(d){return!St(d)}).toString();St(c)||b.push(["email",c]);c=Tj(um(a,Ms,3,VW),4,Uj()).filter(function(d){return!St(d)}).toString();St(c)||b.push(["phone",c]);return WW(a,"/new",b)},XW=function(a,b){if(St(Rt(a)))throw Error("$f`"+b);return a},WW=function(a,b,c){b=b===void 0?"":b;var d=Rt(a.getAuthUser()).trim(),e=d||St(Rt(bm(a,1,AZc)))||bm(a,1,AZc)==="0"?"":"/u/"+bm(a,1,AZc),f=[];d&&f.push(["authuser",d]);(a=Fk(a,18,0))&&f.push(["bdSource",a]);c&&c.length>
0&&f.push.apply(f,t(c));return(f.length>0?bVc({searchParams:f,pathname:e+b}):bVc({pathname:e+b})).href.substring(0,16384)};var Edb=function(a,b){var c=this;this.dialog=a;this.textField=b;this.textField.checkValidity=Bdb;this.textField.onValidityChanged=function(d){return c.onValidityChanged(d)};this.textField.onInput=function(){c.nameLabel.textContent=c.textField.getValue()};this.nameLabel=Wr(this.dialog.getRoot(),"E0kCZc");this.eventHandler=as(this);this.textField.focus();this.textField.select();CZc(this.textField);this.eventHandler.listen(this.textField.getInput(),"keydown",function(d){switch(d.keyCode){case 13:c.dialog.dispatchAction(1),
d.stopPropagation(),d.preventDefault()}})};g=Edb.prototype;g.subscribeToAction=function(a){this.dialog.subscribeToAction(a)};g.dispatchAction=function(a){this.dialog.dispatchAction(a)};g.enableAction=function(a){this.dialog.enableAction(a)};g.disableAction=function(a){this.dialog.disableAction(a)};g.getRoot=function(){return this.dialog.getRoot()};g.dispose=function(){this.dialog.dispose();this.textField.dispose();this.eventHandler.removeAll()};
g.onValidityChanged=function(a){a?this.dialog.enableAction(1):this.dialog.disableAction(1)};var Qs=function(a){var b=this;this.root=a;this.input=Wr(this.root,"YPqjbf");this.invalidMessage=Wr(this.root,"kyLNld");this.eventHandler=as(this);this.eventHandler.listen(this.input,"input",function(c){var d;(d=b.onInput)==null||d.call(b,c);CZc(b)})};g=Qs.prototype;g.getRoot=function(){return this.root};g.getInput=function(){return this.input};g.focus=function(){this.input.focus()};g.select=function(){this.input.select()};g.getValue=function(){return this.input.value};
var CZc=function(a){if(a.checkValidity){var b=a.checkValidity(a.input.value);a.updateValidity(b)}};Qs.prototype.updateValidity=function(a){a.isValid?this.validate():this.invalidate(a.errorMessage||"")};Qs.prototype.validate=function(){this.root.classList.remove("isInvalid");this.invalidMessage.textContent="";var a;(a=this.onValidityChanged)==null||a.call(this,!0)};
Qs.prototype.invalidate=function(a){this.root.classList.add("isInvalid");this.invalidMessage.textContent=a;var b;(b=this.onValidityChanged)==null||b.call(this,!1)};Qs.prototype.dispose=function(){this.eventHandler.removeAll();this.onInput=this.onValidityChanged=this.checkValidity=void 0};var Cdb=function(a){var b=a.label,c=a.initialValue;a=a.id;return qs('<div class="'+ts("peoplekitComponentsTextfieldImplTextField")+'"><div class="'+ts("peoplekitComponentsTextfieldImplInputContainer")+'"><label class="'+ts("peoplekitComponentsTextfieldImplLabel")+'" for="'+ts(a)+'">'+Os(b)+'</label><input peoplekit-id="'+ts("YPqjbf")+'" id="'+ts(a)+'" class="'+ts("peoplekitComponentsTextfieldImplInput")+'" value="'+ts(c)+'" autocomplete="off" spellcheck="false"></div><div peoplekit-id="'+ts("kyLNld")+
'" class="'+ts("peoplekitComponentsTextfieldImplInvalidMessage")+'" role="alert"></div></div>')};var Ddb=ms.getInstance();var DZc=function(a,b,c,d,e,f){var h=this;this.root=a;this.selection=b;this.selectionsState=c;this.actionRequestCallbacks=d;this.appearanceConfig=e;this.chipCustomization=f;this.isDisabledInternal=!1;this.nameEditDialog=null;this.deleteButton=Wr(this.root,"bxvLg");this.eventHandler=as(this);this.eventHandler.listen(this.deleteButton,"click",function(){return h.onDeleteButtonClick()})};g=DZc.prototype;g.onDeleteButtonClick=function(){this.selectionsState.deselect(this.selection,8)};
g.toggleSelection=function(){};g.activate=function(){this.root.classList.add("isActive");this.root.setAttribute("aria-selected","true")};g.deactivate=function(){this.root.classList.remove("isActive");this.root.setAttribute("aria-selected","false")};g.isActive=function(){return this.root.classList.contains("isActive")};g.spotlight=function(){this.root.classList.add("isSpotlit")};g.unspotlight=function(){this.root.classList.remove("isSpotlit")};
g.disable=function(){this.root.classList.add("isDisabled");this.isDisabledInternal=!0};g.enable=function(){this.root.classList.remove("isDisabled");this.isDisabledInternal=!1};g.isDisabled=function(){return this.isDisabledInternal};g.drag=function(){this.root.classList.add("isDragged")};g.undrag=function(){this.root.classList.remove("isDragged")};
g.edit=function(){var a=this;this.nameEditDialog&&this.nameEditDialog.dispose();var b=this.root.classList.contains("isActive"),c;this.nameEditDialog=Fdb(this.root.ownerDocument.body,this.selection,this.appearanceConfig,{description:(c=this.chipCustomization.chipAction)==null?void 0:c.displayNameEditingDescription});this.nameEditDialog.subscribeToAction(function(d){if(d===1){var e;d=jcb(a.selection.result(),((e=a.nameEditDialog)==null?void 0:e.textField.getValue().trim())||"",!0);a.selectionsState.replace(d.id(),
d,9)}a.unedit();b&&a.actionRequestCallbacks.activate()})};g.unedit=function(){this.nameEditDialog&&(this.nameEditDialog.dispose(),this.nameEditDialog=null)};g.dispose=function(){this.eventHandler.removeAll();this.unedit()};g.getRoot=function(){return this.root};g.getSelection=function(){return this.selection};g.setDisambiguationLabel=function(a){var b=k$a(this.root,"hyPgpe")[0];b&&(a?(b.classList.add("hasDisambiguationLabel"),Rz(b,"("+a+")")):b.classList.remove("hasDisambiguationLabel"))};
g.onKeyDown=function(){};g.onContextMenu=function(){return function(){}};g.getAllIds=function(){return[this.selection.id()]};g.updateWaldo=function(){};g.updateHubAvailabilityDot=function(){};g.getSupportedIntelligenceFeatures=function(){return[]};g.initializeIntelligence=function(){};var EZc=function(a){var b=a.id,c=a.label,d=a.stateClass;return qs(rUc(b,a.name,a.hovercardId,d,a.isWarning,a.isDeletionDisabled,qs(""+(d?tUc(d):sUc())),qs(""+uUc(c)),qs(""+vUc(b))))};bs.addCoreFactory({type:2,factory:{create:function(a){var b=A$a(a.selection,a.chipConfig,a.chipCustomization),c=Nq(EZc,b);Xr(Wr(c,"d6MZcd"),b.photos,a.avatarSize,a.resultListItemAvatarSize,a.appearanceConfig);a.parent.appendChild(c);return{chip:new DZc(c,a.selection,a.selectionsState,a.actionRequestCallbacks,a.appearanceConfig,a.chipCustomization),root:c,state:0}},shouldCreate:function(){return!0}},configurationKey:void 0});
bs.addDecoratorFactory({type:2,configurationKey:void 0,factory:{create:function(a,b){return{chip:new tZc(b.chip,a.ariaParent,a.actionRequestCallbacks,a.chipConfig,a.appearanceConfig,a.clientConfig,a.chipCustomization),root:b.root,state:b.state}},shouldCreate:function(){return!0}}});
bs.addDecoratorFactory({type:1,configurationKey:void 0,factory:{create:function(a,b){a=b.root;a:{var c=b.state;switch(c){case 0:c=25286;break a;case 1:c=169606;break a;case 3:c=169617;break a;default:throw Error("Yf`"+c);}}is({element:a,veid:c,actions:["impression"],componentId:"peoplekitweb"});return b},shouldCreate:function(){return!0}}});var GZc=function(){return qs('<div draggable="true" peoplekit-id="'+ts("Svajxe")+'" class="'+ts("peoplekitComponentsChipsetImplDraggableChip")+'">'+FZc()+"</div>")},HZc=function(){return qs('<div draggable="false" peoplekit-id="'+ts("shtr1e")+'" class="'+ts("peoplekitComponentsChipsetImplNonDraggableChip")+'">'+FZc()+"</div>")},IZc=function(a){a=a.height;return qs('<div peoplekit-id="'+ts("tozrW")+'" class="'+ts("peoplekitComponentsChipsetImplDropMarker")+'" style="height: '+ts(FO(a))+'px"></div>')},
JZc=function(){return qs('<div peoplekit-id="'+ts("DOyw7")+'" class="'+ts("peoplekitComponentsChipsetImplDraggedChips")+'"></div>')},FZc=function(){return qs('<div peoplekit-id="'+ts("ubaLBe")+'" class="'+ts("peoplekitComponentsChipsetImplChipContainer")+'"></div>')};var Mdb=function(a,b,c,d,e,f,h,l,q,u){this.selectionsState=a;this.undoRedoStack=b;this.container=c;this.dragImageRenderSandbox=d;this.navigatable=e;this.chipDropCallback=l;this.appearanceConfig=q;this.draggedChipsContainer=document.createElement("div");this.currentDropIndex=-1;this.draggedLookupIds=[];this.chipControllers=new Map;this.chipEventHandlers=new Map;this.eventHandler=as(this);this.lookupSelector=new Ws(a,f,h,u);this.dropMarker=Nq(IZc,{height:sdb(this.appearanceConfig.getDensity())});this.attach()};
Mdb.prototype.attach=function(){var a=this;this.eventHandler.listen(this.container.getRoot(),"dragover",function(b){b=b.event_;if(b.dataTransfer.types.includes("text/lookupids")){a.container.getRoot().classList.add("isDraggedOver");var c=KZc(a,a.chipControllers.size);YW(a);LZc(a,c);b.stopPropagation();b.preventDefault()}a.container.getRoot()});this.eventHandler.listen(this.container.getRoot(),"dragleave",function(b){b=b.event_;b.dataTransfer.types.includes("text/lookupids")&&!a.container.getRoot().contains(b.relatedTarget)&&
(a.container.getRoot().classList.remove("isDraggedOver"),YW(a),b.stopPropagation(),b.preventDefault())});this.eventHandler.listen(this.container.getRoot(),"drop",function(b){MZc(a,b)});Kab(this.draggedChipsContainer,this.appearanceConfig.getTheme());this.dragImageRenderSandbox.appendChild(this.draggedChipsContainer)};
Mdb.prototype.listen=function(a,b,c){var d=this,e=String(a.id()),f=as(c);f.listen(b,"dragstart",function(h){NZc(d,a,h)});f.listen(b,"dragend",function(h){OZc(d,h)});f.listen(b,"dragover",function(h){d.container.getRoot().classList.add("isDraggedOver");h=h.event_;if(h.dataTransfer.types.includes("text/lookupids")){var l=d.selectionsState.indexOf(a.id());var q=Wr(h.currentTarget,"ubaLBe").clientWidth,u=Vs(d.container.getRoot());l=KZc(d,h.offsetX<q/2?u?l+1:l:u?l:l+1);YW(d);LZc(d,l);h.stopPropagation();
h.preventDefault()}d.container.getRoot()});f.listen(b,"drop",function(h){PZc(d,h)});this.chipEventHandlers.set(e,f);this.chipControllers.set(e,c)};Mdb.prototype.unlisten=function(a){a=String(a);this.chipEventHandlers.get(a).removeAll();this.chipEventHandlers.delete(a);this.chipControllers.delete(a)};
var NZc=function(a,b,c){c=c.event_;var d=a.chipControllers.get(String(b.id())),e=a.navigatable.getActiveItems();e.includes(d)?a.draggedLookupIds=e.map(function(f){return Ldb(f.getSelection())}):a.draggedLookupIds=[Ldb(b)];a.draggedChips=Nq(JZc);b=k(a.draggedLookupIds);for(d=b.next();!d.done;d=b.next())d=a.chipControllers.get(String(d.value.getId())),d.drag(),a.draggedChips.appendChild(d.getRoot().cloneNode(!0)),d.undrag(),d.disable();Oz(a.draggedChipsContainer);a.draggedChipsContainer.appendChild(a.draggedChips);
c.dataTransfer.setDragImage(a.draggedChips,0,0);c.dataTransfer.setData("text/lookupids",Idb(a.draggedLookupIds));c.dataTransfer.effectAllowed="move";Aab(a.container.getRoot())},OZc=function(a,b){if(b.event_.dataTransfer.dropEffect==="move")a.lookupSelector.deselect(a.draggedLookupIds.map(function(d){return d.getId()})),a.navigatable.reset(),a.undoRedoStack.push();else{b=k(a.draggedLookupIds);for(var c=b.next();!c.done;c=b.next())a.chipControllers.get(String(c.value.getId())).enable()}YW(a);Oz(a.draggedChipsContainer);
a.container.getRoot().classList.remove("isDraggedOver")},KZc=function(a,b){for(;b>0;){var c=a.selectionsState.at(b-1);if(a.chipControllers.get(String(c.id())).isDisabled())b--;else break}return b},LZc=function(a,b){b!==a.currentDropIndex&&(a.container.insert(b,a.dropMarker),a.currentDropIndex=b)},YW=function(a){a.container.removeItem(a.dropMarker);a.currentDropIndex=-1},PZc=function(a,b){a.container.getRoot().classList.remove("isDraggedOver");b=b.event_;var c=b.dataTransfer.getData("text/lookupids");
if(c){c=Kdb(c);a.draggedLookupIds=[];for(var d=a.currentDropIndex,e=k(c),f=e.next();!f.done;f=e.next())f=a.selectionsState.indexOf(f.value.getId()),f>=0&&f<a.currentDropIndex&&d--;YW(a);a.lookupSelector.deselect(c.map(function(h){return h.getId()}));a.lookupSelector.select(c,2,d);b.stopPropagation();b.preventDefault();b.dataTransfer.dropEffect="move";a.currentDropIndex=-1;a.undoRedoStack.push()}else YW(a);Oz(a.draggedChipsContainer);a.chipDropCallback()},MZc=function(a,b){a.container.getRoot().classList.remove("isDraggedOver");
b=b.event_;var c=b.dataTransfer.getData("text/lookupids");c&&(c=Kdb(c),a.draggedLookupIds=[],YW(a),a.lookupSelector.deselect(c.map(function(d){return d.getId()})),a.currentDropIndex=a.chipControllers.size,a.lookupSelector.select(c,2,a.currentDropIndex),b.stopPropagation(),b.preventDefault(),b.dataTransfer.dropEffect="move",a.currentDropIndex=-1,a.undoRedoStack.push());Oz(a.draggedChipsContainer);a.chipDropCallback()};
Mdb.prototype.dispose=function(){this.eventHandler.removeAll();this.draggedChipsContainer.parentNode&&this.draggedChipsContainer.parentNode.removeChild(this.draggedChipsContainer);this.lookupSelector.dispose()};var QZc=function(){};QZc.prototype.listen=function(){};QZc.prototype.unlisten=function(){};QZc.prototype.dispose=function(){};var RZc=function(){this.listeners=new Map},ZW=function(a,b,c){b=JSON.stringify(b);var d=a.listeners.get(b)||[];a.listeners.set(b,[].concat(t(d),[c]))};RZc.prototype.handleEvent=function(a){var b=a.event,c=[];b.platformModifierKey&&c.push(512);b.altKey&&c.push(18);b.shiftKey&&c.push(16);c.push(b.keyCode);b=k(this.listeners.get(JSON.stringify(c))||[]);for(c=b.next();!c.done;c=b.next())c=c.value,c(a)};RZc.prototype.dispose=function(){this.listeners.clear()};var Us=function(a,b,c,d,e,f,h,l,q,u,A){var F=this;this.selectionsState=a;this.undoRedoStack=b;this.container=c;this.peopleStore=d;this.appearanceConfig=f;this.chipConfig=h;this.clientConfig=l;this.callbacks=q;this.chipElements=new Map;this.chips=new Map;this.chipCustomizations=new Map;this.navigatable=uab(c.getRoot(),new vVc(new PUc({shouldWrap:!1})));this.navigatable.setSecondaryEventTargets([this]);this.eventHandler=as(this);this.chipEventHandlers=new Map;this.intelligentCollection=e.create();this.keyboardShortcutHandler=
new RZc;SZc(this);this.dragonDropHandler=this.chipConfig.getAllowChipDragAndDrop()?Ndb(a,b,c,this.container.getRoot().ownerDocument.body,this.navigatable,d,u,this.callbacks.chipDrop,this.appearanceConfig,A):new QZc;this.eventHandler.listen(c.getRoot(),"keyup",function(H){H.keyCode!==9||H.target!==F.container.getRoot()||F.navigatable.getSpotlitItem()||(H.shiftKey?F.navigatable.prev(0):F.navigatable.next(0))});this.onSelectionCallback=function(H,N){F.insert(H,N)};this.onDeselectionCallback=function(H){F.remove(H.id())};
this.onSelectionReplacedCallback=function(H,N,O){F.replace(H,N,O)};uW(this.selectionsState,this.onSelectionCallback);tW(this.selectionsState,this.onDeselectionCallback);uXc(this.selectionsState,this.onSelectionReplacedCallback)},SZc=function(a){ZW(a.keyboardShortcutHandler,[512,67],function(c){var d=a.navigatable.getSpotlitItem();a.copyMethod(d);a.navigatable.goToItem(d,2);c.stopPropagation()});ZW(a.keyboardShortcutHandler,[18,67],function(c){var d=a.navigatable.getSpotlitItem();a.copyContactMethod(d);
a.navigatable.goToItem(d,2);c.stopPropagation()});ZW(a.keyboardShortcutHandler,[512,88],function(c){a.chipConfig.getAllowChipDeletion()&&(a.cut(a.navigatable.getSpotlitItem(),3),c.stopPropagation())});ZW(a.keyboardShortcutHandler,[18,39],function(c){var d=a.navigatable.getSpotlitItem();d&&(d.getSelection(),d.getRoot());c.stopPropagation();c.preventDefault()});var b=function(c){if(a.chipConfig.getAllowDisplayNameEditing()&&(c.stopPropagation(),c.preventDefault(),c=a.navigatable.getSpotlitItem())){c=
String(c.getSelection().id());var d;((d=a.chipCustomizations.get(c).chipAction)==null?0:d.disableDisplayNameEditing)||a.chips.get(c).edit()}};ZW(a.keyboardShortcutHandler,[16,69],b);ZW(a.keyboardShortcutHandler,[113],b);ZW(a.keyboardShortcutHandler,[16,70],function(c){a.chipConfig.getAllowContactMethodEditing()&&(c.stopPropagation(),c.preventDefault(),TZc(a))});b=function(c){if(a.chipConfig.getAllowChipDeletion()){c.stopPropagation();c.preventDefault();c=k(a.navigatable.getActiveItems());for(var d=
c.next();!d.done;d=c.next())a.selectionsState.deselect(d.value.getSelection(),7);a.undoRedoStack.push()}};ZW(a.keyboardShortcutHandler,[46],b);ZW(a.keyboardShortcutHandler,[8],b);ZW(a.keyboardShortcutHandler,[13],function(c){c.stopPropagation();c.preventDefault();a.callbacks.chipContextMenu(a.navigatable.getSpotlitItem(),c.event)})};Us.prototype.insert=function(a,b){var c=String(a.id());this.chipElements.has(c)||UZc(this,a,b)};
Us.prototype.remove=function(a){var b=String(a);if(this.chipElements.has(b)){var c=this.chipElements.get(b);this.chipEventHandlers.get(b).removeAll();this.container.removeItem(c);this.chipElements.delete(b);this.dragonDropHandler.unlisten(a,c);this.navigatable.remove([this.chips.get(b)],!!this.navigatable.getSpotlitItem());this.intelligentCollection.remove([this.chips.get(b)]);var d;(d=this.chips.get(b))==null||d.dispose();this.chips.delete(b);this.chipEventHandlers.delete(b);this.chipCustomizations.delete(b);
this.container.getRoot()}};Us.prototype.replace=function(a,b,c){this.remove(c);UZc(this,a,b)};
var UZc=function(a,b,c){var d=String(b.id()),e=a.chipConfig.getAllowChipDragAndDrop()?Nq(GZc):Nq(HZc);a.container.insert(c,e);a.chipElements.set(d,e);var f=Wr(e,"ubaLBe"),h=a.chipConfig.getChipCustomizationCallback()(b.result());a.chipCustomizations.set(d,h);var l=Hdb(f,a.container.getRoot(),b,a.selectionsState,{activate:function(){var q=b.id();q=a.chips.get(String(q));a.container.getRoot().focus();a.navigatable.goToItem(q,0)},spotlight:function(){var q=b.id();q=a.chips.get(String(q));a.container.getRoot().focus();
a.navigatable.goToItem(q,2)},copyMethod:function(q){a.copyMethod(q)},copyContactMethod:function(q){a.copyContactMethod(q)},cut:function(q){a.cut(q,4)},editContactMethod:function(){TZc(a)}},a.appearanceConfig,a.chipConfig,a.clientConfig,h,Vs(a.container.getRoot()));f=as(l);a.dragonDropHandler.listen(b,e,l);f.listen(e,"click",function(q){a.callbacks.chipClick(l,q)});f.listen(e,"dblclick",function(q){a.callbacks.chipContextMenu(l,q)});a.chips.set(d,l);a.chipEventHandlers.set(d,f);a.navigatable.insert(c,
[l],!!a.navigatable.getSpotlitItem());a.intelligentCollection.append([l]);a.chipConfig.getAllowChipDisambiguation()&&Promise.resolve().then(function(){a.chips.get(d)===l&&a.peopleStore.disambiguate(b.result().getPrimaryTarget(),eZc(fZc(new MW,a.selectionsState.size()),b.getDisplayNameWithOverrideApplied())).then(function(q){l.setDisambiguationLabel(q.getDisambiguationLabel())})})};Us.prototype.getNavigatable=function(){return this.navigatable};
Us.prototype.focusLastChip=function(){this.container.getRoot().focus();return this.navigatable.goToIndex(this.navigatable.size()-1,0)};Us.prototype.activateAllChips=function(){this.navigatable.activateAll()};
Us.prototype.dispose=function(){this.eventHandler.removeAll();for(var a=k(this.chips.values()),b=a.next();!b.done;b=a.next())b.value.dispose();this.selectionsState.selectionCallbacks.remove(this.onSelectionCallback);this.selectionsState.deselectionCallbacks.remove(this.onDeselectionCallback);this.selectionsState.selectionReplacedCallbacks.remove(this.onSelectionReplacedCallback);this.dragonDropHandler.dispose();this.keyboardShortcutHandler.dispose()};
var VZc=function(a,b){return a.navigatable.getActiveItems().includes(b)?a.navigatable.getActiveItems().map(function(c){return c.getSelection()}):[b.getSelection()]};Us.prototype.copyMethod=function(a){a=VZc(this,a);Sdb(a,this.container.getRoot())};Us.prototype.copyContactMethod=function(a){a=a.getSelection();a.result().getDisplayValue()&&Rdb(a.result().getDisplayValue(),this.container.getRoot())};
Us.prototype.cut=function(a,b){a=VZc(this,a);Sdb(a,this.container.getRoot());a=k(a);for(var c=a.next();!c.done;c=a.next())this.selectionsState.deselect(c.value,b);this.undoRedoStack.push()};var TZc=function(a){var b=a.navigatable.getSpotlitItem();b&&(b=b.getSelection(),a.selectionsState.deselect(b,10),b=b.result().getDisplayValue(),a.callbacks.chipEditContactMethod(b),a.undoRedoStack.push())};
Us.prototype.onKeyDown=function(a){a.event.target===this.container.getRoot()&&this.navigatable.getSpotlitItem()&&(this.keyboardShortcutHandler.handleEvent(a),this.undoRedoStack.onKeyDown(a))};var Tdb=function(a,b){this.delegate=a;this.health=b};g=Tdb.prototype;g.insert=function(a,b){try{this.delegate.insert(a,b)}catch(c){throw this.health.createError(6,Ds(c)),c;}};g.remove=function(a){try{this.delegate.remove(a)}catch(b){throw this.health.createError(7,Ds(b)),b;}};g.replace=function(a,b,c){try{this.delegate.replace(a,b,c)}catch(d){throw this.health.createError(8,Ds(d)),d;}};g.getNavigatable=function(){return this.delegate.getNavigatable()};g.focusLastChip=function(){return this.delegate.focusLastChip()};
g.activateAllChips=function(){this.delegate.activateAllChips()};g.onKeyDown=function(a){this.delegate.onKeyDown(a)};g.dispose=function(){try{this.delegate.dispose()}catch(a){throw this.health.createError(9,Ds(a)),a;}};var Vdb=function(a){this.input=this.navigatable=null;this.prevKeyCode=a.getPrevKeyCode();this.nextKeyCode=a.getNextKeyCode();this.navigatePastEndCallback=a.navigatePastEnd||function(){};this.eventHandler=as(this)};g=Vdb.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(os(d))});this.eventHandler.listen(this.input,"contextmenu",function(d){return c.onContextMenu(os(d))});this.eventHandler.listen(this.input,"blur",function(d){return c.onBlur(d)})};g.detach=function(){this.eventHandler.removeAll();this.navigatable=this.input=null};
g.onKeyDown=function(a){if(this.navigatable&&(this.navigatable.onKeyDown(a),!a.hasStoppedPropagationInternal)){var b=WZc(a);switch(a.event.keyCode){case this.nextKeyCode:this.navigatable&&!this.navigatable.next(b)&&(this.navigatable.getActiveItems().length<2||b!==1)&&this.navigatePastEndCallback();a.stopPropagation();a.preventDefault();break;case this.prevKeyCode:this.navigatable.prev(b);a.stopPropagation();a.preventDefault();break;case 36:case 38:this.navigatable.goToIndex(0,b);a.stopPropagation();
a.preventDefault();break;case 35:case 40:this.navigatable.goToIndex(this.navigatable.size()-1,b);a.stopPropagation();a.preventDefault();break;case 65:a.event.platformModifierKey&&(this.navigatable.activateAll(),a.stopPropagation(),a.preventDefault());break;case 32:var c=this.navigatable.getSpotlitItem();c&&(this.navigatable.goToItem(c,b===2?3:b),a.stopPropagation(),a.preventDefault())}}};
g.onClick=function(a,b){if(!this.navigatable)return!1;this.navigatable.goToItem(a,WZc(b));b.stopPropagation();return!0};g.onContextMenu=function(a){if(this.navigatable)this.navigatable.onContextMenu(a,function(){})};g.reset=function(){this.navigatable&&this.navigatable.reset()};var WZc=function(a){return a.event.shiftKey?1:a.event.platformModifierKey?a.event.type==="keydown"?2:3:0};Vdb.prototype.onBlur=function(a){this.navigatable&&(this.navigatable.reset(),a.stopPropagation())};var XZc=function(){};XZc.prototype.call=function(a){a()};XZc.prototype.cancel=function(){};var Zdb=RegExp('(([^(\n\r,;\u055d\u060c\u1363\u1802\u1808\u2e41\u3001\uff0c\u061b\u1364\uff1b\uff64\u104a)^"]*)("[^"]*")([^(\n\r,;\u055d\u060c\u1363\u1802\u1808\u2e41\u3001\uff0c\u061b\u1364\uff1b\uff64\u104a)^"]*))+|([^(\n\r,;\u055d\u060c\u1363\u1802\u1808\u2e41\u3001\uff0c\u061b\u1364\uff1b\uff64\u104a)])+',"g"),YZc=RegExp("^([\\s\n\r,;\u055d\u060c\u1363\u1802\u1808\u2e41\u3001\uff0c\u061b\u1364\uff1b\uff64\u104a]*)+","g"),ZZc=Object.freeze({startIndex:0,length:0,value:""});var deb=function(a){a=a||{};a=a.max_height;var b=qs,c;a&&a>0?c=qs('<div class="'+ts("peoplekitComponentsSearchbarImplSearchBarContainer")+'" style="max-height: '+ts(FO(a))+'px">'+iXc(qs('<div peoplekit-id="'+ts("kE8AEc")+'"></div>'))+"</div>"):c=qs('<div class="'+ts("peoplekitComponentsSearchbarImplSearchBarContainer")+'"><div peoplekit-id="'+ts("kE8AEc")+'"></div></div>');return b(c)},feb=function(a){var b=a.id,c=a.ariaLabel,d=a.helpText,e=a.shouldAutofocus,f=a.height;a=a.densityClass;return qs('<div class="'+
ts("peoplekitComponentsSearchbarImplSearchInputContainer")+'" style="height: '+ts(FO(f))+'px" role="presentation"><input id="'+ts(b)+'" class="'+ts("peoplekitComponentsSearchbarImplSearchInput")+" "+ts(a)+'" peoplekit-id="'+ts("BbVjBd")+'" autocomplete="off" autocapitalize="off" autocorrect="off" spellcheck="false" aria-label="'+ts(c)+'" aria-autocomplete="list" aria-haspopup="listbox" aria-expanded="false" placeholder="'+ts(d)+'" size="'+ts(d.length)+'" type="text" role="combobox"'+(e?" autofocus":
"")+'><span class="'+ts("peoplekitComponentsSearchbarImplSearchInputWidthMeasurer")+" "+ts(a)+'" peoplekit-id="'+ts("nl4wje")+'"></span></div>')};var $Zc=[[37],[512,37],[16,37],[18,37],[18,16,37],[512,16,37],[39],[512,39],[16,39],[18,39],[18,16,39],[512,16,39],[46],[8],[13],[36],[16,36],[512,36],[35],[16,35],[512,35],[38],[512,38],[512,16,38],[16,38],[40],[512,40],[512,16,40],[16,40],[113],[512,67],[512,88],[512,65],[16,69],[16,70]],Xs=function(a,b,c,d,e,f,h,l,q,u){var A=this;this.searchBarElement=a;this.chipsBar=b;this.inputContainer=c;this.autocomplete=d;this.selectionsState=e;this.undoRedoStack=f;this.config=q;this.prevQueryValue="";this.inputElement=
Wr(c,"BbVjBd");this.inputWidthMeasurer=Wr(c,"nl4wje");this.scrollBarElement=a.querySelector('[peoplekit-id="I8ejUe"]');this.updateMinWidthBatcher=new xXc;this.autocompleteBatcher=new XZc;this.lookupSelector=new Ws(this.selectionsState,h,l,u);this.eventHandler=as(this);this.keyboardShortcutHandler=new RZc;this.enterKeyDownListeners=[];this.query=ZZc;this.onSelectionCallback=function(){A.onSelect()};this.onSelectionAttemptedCallback=function(){A.onSelectAttempt()};this.onDeselectionCallback=function(){A.onDeselect()};
this.attach();$W(this);a_c(this)};g=Xs.prototype;g.select=function(a){return this.chipsBar.select(a)};g.deselect=function(a){this.chipsBar.deselect(a)};g.replace=function(a){return this.chipsBar.replace(a)};g.focus=function(){this.inputElement.focus()};
g.dispose=function(){this.detach();this.autocomplete.dispose();this.chipsBar.dispose();this.lookupSelector.dispose();this.updateMinWidthBatcher.cancel();this.autocompleteBatcher.cancel();this.keyboardShortcutHandler.dispose();this.enterKeyDownListeners.length=0};g.subscribeToEnterKeyDown=function(a){this.enterKeyDownListeners.push(a)};g.search=function(){aX(this,!1,!0)};
g.attach=function(){var a=this;uW(this.selectionsState,this.onSelectionCallback);this.selectionsState.selectionAttemptedCallbacks.add(this.onSelectionAttemptedCallback,2);tW(this.selectionsState,this.onDeselectionCallback);this.eventHandler.listen(this.inputElement,"keydown",function(b){b=os(b);a.keyboardShortcutHandler.handleEvent(b);if(!a.inputElement.value)a.undoRedoStack.onKeyDown(b)});this.eventHandler.listen(this.inputElement,"keyup",function(b){b.keyCode!==37&&b.keyCode!==39||aX(a)});this.eventHandler.listen(this.inputElement,
"input",function(){a.onInput()});this.eventHandler.listen(this.inputElement,"paste",function(b){b_c(a,b)});this.eventHandler.listen(this.inputElement,"blur",function(){a.onInputBlur()});this.eventHandler.listen(this.inputElement,"focus",function(){a.onInputFocus()});this.eventHandler.listen(this.inputElement,"click",function(){aX(a)});this.eventHandler.listen(this.searchBarElement,"click",function(){a.inputElement.focus()});c_c(this)};
g.detach=function(){this.selectionsState.selectionCallbacks.remove(this.onSelectionCallback);this.selectionsState.selectionAttemptedCallbacks.remove(this.onSelectionAttemptedCallback);this.selectionsState.deselectionCallbacks.remove(this.onDeselectionCallback);this.eventHandler.removeAll()};
var aX=function(a,b,c){b=b===void 0?!1:b;c=c===void 0?!1:c;a.autocompleteBatcher.call(function(){a.query=aeb(a.inputElement.value,a.inputElement.selectionStart||0);if(c||a.prevQueryValue!==a.query.value||!a.autocomplete.isShown())a.prevQueryValue=a.query.value,a.autocomplete.search(a.query.value,a.inputElement,b||a.config.getShowSuggestions(),function(){})})},d_c=function(a){var b=a.inputElement.value;a.inputElement.value="";a.detachAutocomplete();var c=Ns(b);c=(new Rs($s(c.getAddress()))).setDisplayName(c.getName());
a.lookupSelector.select([c],13).then(function(d){d.length&&(a.inputElement.value=b);a.inputElement.setSelectionRange(a.inputElement.value.length,a.inputElement.value.length);$W(a);aX(a)});a.undoRedoStack.push()};Xs.prototype.onInput=function(){$W(this);aX(this)};
var e_c=function(a,b){if(ws)return a.searchBarElement.ownerDocument.defaultView.clipboardData;a=b.event_;return a.type==="paste"?a.clipboardData:null},b_c=function(a,b){var c=(a.inputElement.selectionEnd||0)-(a.inputElement.selectionStart||0),d=a.inputElement.value.length;if(!(d>0&&c<d)){var e;c=((e=e_c(a,b))==null?void 0:e.getData("text"))||"";e=$db(c);var f=new Map;e=e.map(function(h){var l=Ns(h.value),q=l.getAddress()?l.getName():"";l=l.getAddress()||l.getName();l=l.includes("@")?$s(l):veb(l);
q=(new Rs(l)).setDisplayName(q);f.set(String(l),h);return q});b.preventDefault();b.stopPropagation();a.lookupSelector.select(e,5).then(function(h){a.inputElement.value=h.map(function(l){var q;return((q=f.get(String(l)))==null?void 0:q.value.trim())||""}).join(", ");a.inputElement.setSelectionRange(a.inputElement.value.length,a.inputElement.value.length);$W(a);aX(a)});a.undoRedoStack.push()}};Xs.prototype.onInputFocus=function(){aX(this)};Xs.prototype.onInputBlur=function(){this.detachAutocomplete()};
var $W=function(a){a.updateMinWidthBatcher.call(function(){a.inputWidthMeasurer.textContent=a.inputElement.value.length>a.inputElement.placeholder.length?a.inputElement.value:a.inputElement.placeholder;a.inputContainer.style.flexBasis=Math.max(a.inputWidthMeasurer.clientWidth,50)-2+"px"})},c_c=function(a){var b=Vs(a.searchBarElement)?39:37,c=function(d){!a.inputElement.value&&a.selectionsState.size()>0&&(a.chipsBar.focusLastChip(),d.stopPropagation())};ZW(a.keyboardShortcutHandler,[8],c);ZW(a.keyboardShortcutHandler,
[b],c);ZW(a.keyboardShortcutHandler,[16,b],c);ZW(a.keyboardShortcutHandler,[512,16,b],c);ZW(a.keyboardShortcutHandler,[18,16,b],c);ZW(a.keyboardShortcutHandler,[512,65],function(d){a.inputElement.value||(a.chipsBar.focusLastChip(),a.chipsBar.activateAllChips(),d.preventDefault(),d.stopPropagation())});ZW(a.keyboardShortcutHandler,[40],function(d){a.inputElement.value||a.autocomplete.isShown()||(aX(a,!0),d.preventDefault(),d.stopPropagation())});ZW(a.keyboardShortcutHandler,[13],function(d){if(a.inputElement.value){var e=
a.inputElement.value;e=e==null?!1:Ns(e).isValid();var f=!a.autocomplete.getNavigatable().size();e&&f&&(d_c(a),d.preventDefault(),d.stopPropagation())}else if(!a.autocomplete.getNavigatable().getActiveItems().length){e=a.selectionsState.asArray();f=k(a.enterKeyDownListeners);for(var h=f.next();!h.done;h=f.next())h=h.value,h(e);d.preventDefault();d.stopPropagation()}});b=k($Zc);for(c=b.next();!c.done;c=b.next())ZW(a.keyboardShortcutHandler,c.value,function(d){d.stopPropagation()})};
Xs.prototype.detachAutocomplete=function(){this.autocompleteBatcher.cancel();this.autocomplete.canHide()&&(this.autocomplete.detach(),this.prevQueryValue="")};
Xs.prototype.onSelect=function(){f_c(this);a_c(this);this.scrollBarElement&&(this.scrollBarElement.scrollTop=this.scrollBarElement.scrollHeight);var a;if(((a=this.inputElement.getRootNode())==null?void 0:a.activeElement)===this.inputElement){this.autocomplete.getNavigatable().reset();a=this.inputElement.value;var b=this.query;this.inputElement.value=(a.slice(0,Math.max(b.startIndex-1,0))+a.slice(b.startIndex+b.length)).replace(YZc,"");this.inputElement.setSelectionRange(this.query.startIndex,this.query.startIndex);
aX(this,!1,!1);$W(this)}};Xs.prototype.onSelectAttempt=function(){this.onSelect()};Xs.prototype.onDeselect=function(){this.autocomplete.isShown()&&aX(this,!1,!1);f_c(this);a_c(this);$W(this);this.selectionsState.size()<=0&&this.inputElement.focus()};
var f_c=function(a){var b,c=a.selectionsState.size()>0?(b=a.config.helpTextWithSelections)!=null?b:a.config.helpText:a.config.helpText;a.inputElement.placeholder!==c&&(a.inputElement.placeholder=c,$W(a))},a_c=function(a){var b=a.inputElement,c=b.setAttribute;a=a.selectionsState.size();c.call(b,"aria-description",(a===0?"None":""+a)+" selected")};var ceb=function(a,b,c){this.selectionsState=a;this.lookupSelector=b;this.undoStack=[];this.redoStack=[];a=10;a=a===void 0?0:a;var d;this.maxUndoStackSize=(d=Oca(Hk(c.internal,3)))!=null?d:a;this.push()};ceb.prototype.push=function(){var a=this.selectionsState.asArray().map(Ldb),b=!1;this.undoStack.length!==0&&beb(this.undoStack[this.undoStack.length-1],a)||(this.undoStack.push(a),b=!0);this.undoStack.length>this.maxUndoStackSize&&this.undoStack.shift();this.redoStack.length=0;return b};
ceb.prototype.undo=function(){if(this.undoStack.length<=1)return!1;var a=this.undoStack.pop();this.redoStack.push(a);a=this.undoStack[this.undoStack.length-1];this.selectionsState.clear();this.lookupSelector.select(a,11);return!0};ceb.prototype.clear=function(){this.undoStack.length=0;this.push()};
ceb.prototype.onKeyDown=function(a){var b=a.event.keyCode===90&&a.event.platformModifierKey&&a.event.shiftKey;if(a.event.keyCode===89&&a.event.platformModifierKey||b)this.redoStack.length!==0&&(b=this.redoStack.pop(),this.undoStack.push(b),this.selectionsState.clear(),this.lookupSelector.select(b,11)),a.preventDefault(),a.stopPropagation();a.event.keyCode===90&&a.event.platformModifierKey&&!a.event.shiftKey&&(this.undo(),a.preventDefault(),a.stopPropagation())};var geb=ms.getInstance();var keb=function(a,b,c,d,e){var f=this;this.root=a;this.searchBar=b;this.selectionsState=c;this.interactionReporter=d;this.searchbarTracker=e;this.selectionChangedListeners=[];this.selectionChangedAutoBatcher=new xXc;uW(this.selectionsState,function(){f.notifySelectionChanged()});tW(this.selectionsState,function(){f.notifySelectionChanged()});uXc(this.selectionsState,function(){f.notifySelectionChanged()})};g=keb.prototype;g.select=function(a){return this.searchBar.select(a)};g.deselect=function(a){this.searchBar.deselect(a)};
g.replace=function(a){return this.searchBar.replace(a)};g.subscribeToSelectionChanged=function(a){this.selectionChangedListeners.push(a)};g.subscribeToEnterKeyDown=function(a){this.searchBar.subscribeToEnterKeyDown(a)};g.notifySelectionChanged=function(){var a=this;this.selectionChangedAutoBatcher.call(function(){for(var b=a.selectionsState.asArray(),c=k(a.selectionChangedListeners),d=c.next();!d.done;d=c.next())d=d.value,d(b)})};g.focus=function(){this.searchBar.focus()};
g.report=function(a){var b=this.selectionsState.asArray();Kcb(this.interactionReporter,a,b)};g.dispose=function(){this.searchbarTracker.stop();this.selectionChangedListeners.length=0;this.selectionsState.clear();this.root.parentNode&&this.root.parentNode.removeChild(this.root);this.searchBar.dispose()};var ieb=function(a){a=a||{};a=a.classes;return qs('<div peoplekit-id="'+ts("P3anae")+'"'+(a?' class="'+ts(a)+'"':"")+"></div>")};var g_c={create:function(a,b,c,d){d=d===void 0?new Is:d;return neb(a,b,c,new gUc,{sessionOptions:d})},createWith:function(a,b,c,d){d=d===void 0?{}:d;return neb(a,b,c,new gUc,d)},createConfig:function(a){a=a===void 0?new hxc(RK.apiEnv,new ixc(RK.userProfileId)):a;return new nZc(a)}};var bX=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(bX,V);g=bX.prototype;g.getEnableClearcut=function(){return Ak(this,1,!1)};g.setEnableClearcut=function(a){return cl(this,1,a)};g.getSocialApplication=function(){return Fk(this,2,0)};g.getSocialApplicationOrUndefined=function(){return Bt(this,2)};g.setEventSources=function(a){Uu(this,5,At,a)};var cX=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(cX,V);cX.prototype.getApplication=function(){return Fk(this,1,0)};cX.prototype.setApplication=function(a){return gl(this,1,a)};cX.prototype.getApplicationOrUndefined=function(){return Bt(this,1)};cX.prototype.getIsEnabled=function(){return Ak(this,2,!1)};var dX=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(dX,V);g=dX.prototype;g.getSuggestMaxResults=function(){return Xj(this,1,10)};g.getSearchMaxResults=function(){return Xj(this,2,10)};g.getCacheSize=function(){return Xj(this,3,500)};g.setCacheSize=function(a){dl(this,3,a)};g.hasCacheSize=function(){return Bk(this,3)};g.getCacheStaleSec=function(){return tm(this,4,86400)};g.getCacheExpiredSec=function(){return tm(this,5,1209600)};g.getRpcTimeoutSec=function(){return tm(this,12,60)};
g.getSuggestFormat=function(){return Fk(this,15,1)};g.getSearchFormat=function(){return Fk(this,16,1)};var eX=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(eX,V);eX.prototype.getApiKey=function(){return Kh(this,1,"")};eX.prototype.setApiKey=function(a){return fl(this,1,a)};var fX=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(fX,V);g=fX.prototype;g.getClientId=function(){return Kh(this,1,"CLIENT_UNSPECIFIED")};g.setClientId=function(a){return fl(this,1,a)};g.getAffinityType=function(){return Kh(this,4,"AFFINITY_TYPE_UNKNOWN")};g.setAffinityType=function(a){return fl(this,4,a)};g.getContainerType=function(){return q4b(this,7)};g.setPhoneCanonicalizationInference=function(a){return gl(this,19,a)};
g.getPhoneCanonicalizationInferenceOrUndefined=function(){return Bt(this,19)};var h_c=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(h_c,V);g=h_c.prototype;g.getClient=function(){return W(this,dX,1)};g.setClient=function(a){return X(this,dX,1,a)};g.hasClient=function(){return Jk(this,dX,1)};g.getGapi=function(){return W(this,eX,2)};g.getPeopleApi=function(){return W(this,fX,3)};g.getClearcut=function(){return W(this,bX,4)};g.setClearcut=function(a){X(this,bX,4,a)};g.hasClearcut=function(){return Jk(this,bX,4)};g.getExperiments=function(){return W(this,cX,5)};
g.setExperiments=function(a){return X(this,cX,5,a)};g.hasExperiments=function(){return Jk(this,cX,5)};var i_c=qna(h_c);var j_c;var gX=function(a,b){this.delegate_=a;this.runtimeConfig_=b||new qxc;a=this.getPeopleApi();pc(a,7,Kb,Uj()).length||op(a,7,[2,8,1,7,10,11]);Tj(a,8,Uj()).length||bk(a,8,["person.name","person.photo","person.email","person.phone","person.metadata"]);b=k(Tj(a,8,Uj()));for(var c=b.next();!c.done;c=b.next())switch(c=c.value,c){case "person.name":case "person.email":case "person.phone":zc(a,8,Yb,c+".metadata.verified",void 0,$b)}};
gX.prototype.getClient=function(){this.delegate_.hasClient()||this.delegate_.setClient(new dX);return this.delegate_.getClient()};gX.prototype.getGapi=function(){if(!Jk(this.delegate_,eX,2)){var a=this.delegate_,b=new eX;X(a,eX,2,b)}return this.delegate_.getGapi()};gX.prototype.getPeopleApi=function(){if(!Jk(this.delegate_,fX,3)){var a=this.delegate_,b=new fX;X(a,fX,3,b)}return this.delegate_.getPeopleApi()};
gX.prototype.getClearcut=function(){this.delegate_.hasClearcut()||this.delegate_.setClearcut(new bX);return this.delegate_.getClearcut()};var k_c=function(a){a.delegate_.hasExperiments()||a.delegate_.setExperiments(new cX);return a.delegate_.getExperiments()};gX.prototype.getAuthErrorHandler=function(){return this.runtimeConfig_.getAuthErrorHandler()};var l_c=function(a){a=a.getClient();return Xj(a,6,500)?Math.min(Math.round(Xj(a,6,500)/4),500):500};var m_c;var jgb=null;var n_c=function(){};n_c.prototype.processItem=function(){};var o_c=new n_c;var peb=new Set([10,11]);var p_c=function(a){this.interleaveGroups_=Ak(a,33,!1)},q_c=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=qeb(d,e,f,!0);break a;default:d=reb(d,e,f)}}return d}).map(function(d){return String(d.id)})};var hX=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(hX,V);hX.prototype.setPhoneCanonicalizationInference=function(a){return gl(this,1,a)};hX.prototype.getPhoneCanonicalizationInferenceOrUndefined=function(){return Bt(this,1)};var Zs=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Zs,V);Zs.prototype.setDevice=function(a){return gl(this,1,a)};var r_c=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(r_c,V);var s_c=function(){var a=new r_c;return gl(a,1,1)},t_c=function(a,b){return fl(a,2,b)};var u_c=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(u_c,V);g=u_c.prototype;g.getAffinityType=function(){return nt(this,1)};g.setAffinityType=function(a){return gl(this,1,a)};g.getQuery=function(){return ql(this,2)};g.setQuery=function(a){return fl(this,2,a)};g.clearQuery=function(){Np(this,2)};g.hasQuery=function(){return Ck(this,2)};g.setClientInformation=function(a){X(this,Zs,3,a)};g.setMaxResults=function(a){return dl(this,4,a)};g.setFormattingOptions=function(a){X(this,hX,5,a)};
g.setDelegation=function(a){X(this,r_c,6,a)};var v_c=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(v_c,V);g=v_c.prototype;g.getAffinityVersion=function(){return av(this,1)};g.setAffinityVersion=function(a){dl(this,1,a)};g.getAffinityVersionOrUndefined=function(){return hv(this,1)};g.getAffinityType=function(){return ql(this,4)};g.setAffinityType=function(a){return fl(this,4,a)};var Neb=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Neb,V);var iX=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(iX,V);iX.prototype.getValue=function(){return ql(this,1)};iX.prototype.getValue_legacyNullable=function(){return ql(this,1)};iX.prototype.setValue=function(a){return fl(this,1,a)};iX.prototype.hasValue=function(){return Ck(this,1)};var jX=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(jX,V);g=jX.prototype;g.getLoggingId=function(){return pt(this,1)};g.setLoggingId=function(a){Np(this,1,pb(a,!1,!0))};g.getValue=function(){return Vu(this,2)};g.getValue_legacyNullable=function(){return Vu(this,2)};g.setValue=function(a){return Np(this,2,Eb(a))};g.hasValue=function(){return Vu(this,2)!=null};var w_c=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(w_c,V);g=w_c.prototype;g.getValue=function(){return ql(this,1)};g.getValue_legacyNullable=function(){return ql(this,1)};g.setValue=function(a){return fl(this,1,a)};g.hasValue=function(){return Ck(this,1)};g.getGivenName=function(){return ql(this,2)};g.setGivenName=function(a){return fl(this,2,a)};g.hasGivenName=function(){return Ck(this,2)};g.getFamilyName=function(){return ql(this,3)};g.setFamilyName=function(a){return fl(this,3,a)};
g.hasFamilyName=function(){return Ck(this,3)};g.getSourceType=function(){return nt(this,4)};g.setSourceType=function(a){return gl(this,4,a)};var x_c=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(x_c,V);g=x_c.prototype;g.getUrl=function(){return ql(this,1)};g.setUrl=function(a){return fl(this,1,a)};g.hasUrl=function(){return Ck(this,1)};g.getType=function(){return nt(this,2)};g.setType=function(a){return gl(this,2,a)};g.hasType=function(){return Dk(this,2)};g.getGlyph=function(){return ql(this,3)};g.setGlyph=function(a){return fl(this,3,a)};var kX=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(kX,V);g=kX.prototype;g.getPhoto=function(){return W(this,x_c,1)};g.setPhoto=function(a){X(this,x_c,1,a)};g.hasPhoto=function(){return Jk(this,x_c,1)};g.getName=function(){return W(this,w_c,2)};g.setName=function(a){return X(this,w_c,2,a)};g.hasName=function(){return Jk(this,w_c,2)};g.getAffinity=function(){return W(this,jX,3)};g.hasAffinity=function(){return Jk(this,jX,3)};g.getPrimary=function(){return ft(this,4)};var lX=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(lX,V);lX.prototype.getStatus=function(){return nt(this,2)};lX.prototype.setStatus=function(a){return gl(this,2,a)};lX.prototype.hasStatus=function(){return Dk(this,2)};var y_c=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(y_c,V);var $eb=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y($eb,V);$eb.prototype.getState=function(){return nt(this,2)};$eb.prototype.setState=function(a){return gl(this,2,a)};var mX=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(mX,V);mX.prototype.getApplication=function(){return Fk(this,1,0)};mX.prototype.setApplication=function(a){return gl(this,1,a)};mX.prototype.getApplicationOrUndefined=function(){return Bt(this,1)};var nX=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(nX,V);nX.prototype.getValue=function(){return ql(this,1)};nX.prototype.getValue_legacyNullable=function(){return ql(this,1)};nX.prototype.setValue=function(a){return fl(this,1,a)};nX.prototype.hasValue=function(){return Ck(this,1)};var web=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(web,V);g=web.prototype;g.getProfileId=function(){return ql(this,1)};g.getProfileId_legacyNullable=function(){return ql(this,1)};g.setProfileId=function(a){return fl(this,1,a)};g.hasProfileId=function(){return Ck(this,1)};g.getEmail=function(){return ep(this,2,ct)};g.getEmail_legacyNullable=function(){return ep(this,2,ct)};g.setEmail=function(a){return em(this,2,ct,a)};g.hasEmail=function(){return ep(this,2,ct)!=null};
g.getPhone=function(){return ep(this,3,ct)};g.getPhone_legacyNullable=function(){return ep(this,3,ct)};g.setPhone=function(a){return em(this,3,ct,a)};g.hasPhone=function(){return ep(this,3,ct)!=null};g.getClientData=function(){return ql(this,4)};g.hasClientData=function(){return Ck(this,4)};var ct=[2,3];var z_c=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(z_c,V);g=z_c.prototype;g.getDisplayValue=function(){return ql(this,1)};g.getCanonicalValue=function(){return ql(this,2)};g.setCanonicalValue=function(a){return fl(this,2,a)};g.hasCanonicalValue=function(){return Ck(this,2)};g.getOriginalValue=function(){return ql(this,3)};var A_c=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(A_c,V);g=A_c.prototype;g.getStatus=function(){return nt(this,1)};g.setStatus=function(a){return gl(this,1,a)};g.hasStatus=function(){return Dk(this,1)};g.getClientData=function(){return ql(this,2)};g.hasClientData=function(){return Ck(this,2)};var zeb=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(zeb,V);g=zeb.prototype;g.getIdCase=function(){return $l(this,oX)};g.getProfileId=function(){return ep(this,1,oX)};g.getProfileId_legacyNullable=function(){return ep(this,1,oX)};g.setProfileId=function(a){return em(this,1,oX,a)};g.hasProfileId=function(){return ep(this,1,oX)!=null};g.getContactId=function(){return ep(this,2,oX)};g.setContactId=function(a){return em(this,2,oX,a)};var oX=[1,2];var B_c=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(B_c,V);g=B_c.prototype;g.getValueCase=function(){return $l(this,at)};g.getDisplayInfo=function(){return W(this,kX,1)};g.hasDisplayInfo=function(){return Jk(this,kX,1)};g.getEmail=function(){return um(this,nX,2,at)};g.setEmail=function(a){return zm(this,2,at,a)};g.hasEmail=function(){return Jm(this,nX,2,at)};g.getPhone=function(){return um(this,z_c,3,at)};g.setPhone=function(a){return zm(this,3,at,a)};
g.hasPhone=function(){return Jm(this,z_c,3,at)};g.getIsSelf=function(){return ft(this,6)};g.getTypeLabel=function(){return ql(this,10)};g.getDisambiguationLabel=function(){return W(this,iX,14)};g.setDisambiguationLabel=function(a){X(this,iX,14,a)};var at=[2,3,4];var C_c=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(C_c,V);g=C_c.prototype;g.getDisplayInfo=function(){return W(this,kX,1)};g.hasDisplayInfo=function(){return Jk(this,kX,1)};g.getMembersList=function(){return lk(this,B_c,2,Uj())};g.setMembersList=function(a){return $m(this,2,a)};g.getLabelId=function(){return ql(this,3)};var et=function(a){this.internalArrayDoNotAccessOrElse=m(a,5)};Y(et,V);et.prototype.getIsPlaceholder=function(){return Ak(this,2)};et.prototype.setIsPlaceholder=function(a){cl(this,2,a)};et.prototype.getContactId=function(){return dv(this,4)};et.prototype.setContactId=function(a){return Xk(this,4,a)};var D_c=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(D_c,V);D_c.prototype.getAffinity=function(){return W(this,jX,2)};D_c.prototype.hasAffinity=function(){return Jk(this,jX,2)};var jfb=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(jfb,V);jfb.prototype.getIdCase=function(){return $l(this,kfb)};var kfb=[1,2];var E_c=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(E_c,V);g=E_c.prototype;g.getDisplayInfo=function(){return W(this,kX,1)};g.hasDisplayInfo=function(){return Jk(this,kX,1)};g.getMembersList=function(){return lk(this,D_c,2,Uj())};g.setMembersList=function(a){return $m(this,2,a)};g.getGroupId=function(){return ql(this,4)};g.setGroupId=function(a){fl(this,4,a)};g.hasGroupId=function(){return Ck(this,4)};var pX=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(pX,V);pX.prototype.getDataCase=function(){return $l(this,F_c)};pX.prototype.getGroup=function(){return um(this,E_c,2,F_c)};pX.prototype.setGroup=function(a){zm(this,2,F_c,a)};var F_c=[1,2,3];var G_c=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(G_c,V);var H_c=new GT("/peoplestack.PeopleStackAutocompleteService/Autocomplete",u_c,G_c,function(a){return a.serialize()},Mh(G_c));var I_c=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(I_c,V);g=I_c.prototype;g.getAffinityType=function(){return nt(this,1)};g.setAffinityType=function(a){return gl(this,1,a)};g.setClientInformation=function(a){X(this,Zs,2,a)};g.getName=function(){return ql(this,3)};g.setName=function(a){return fl(this,3,a)};g.hasName=function(){return Ck(this,3)};g.getNameOrUndefined=function(){return wr(this,3)};var J_c=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(J_c,V);J_c.prototype.getGroup=function(){return W(this,E_c,1)};J_c.prototype.setGroup=function(a){X(this,E_c,1,a)};var K_c=new GT("/peoplestack.PeopleStackAutocompleteService/CreateGroup",I_c,J_c,function(a){return a.serialize()},Mh(J_c));var lt=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(lt,V);g=lt.prototype;g.getIdCase=function(){return $l(this,mt)};g.getEmail=function(){return ep(this,1,mt)};g.getEmail_legacyNullable=function(){return ep(this,1,mt)};g.setEmail=function(a){return em(this,1,mt,a)};g.hasEmail=function(){return ep(this,1,mt)!=null};g.getPhone=function(){return ep(this,2,mt)};g.getPhone_legacyNullable=function(){return ep(this,2,mt)};g.setPhone=function(a){return em(this,2,mt,a)};
g.hasPhone=function(){return ep(this,2,mt)!=null};g.getProfileId=function(){return ep(this,3,mt)};g.getProfileId_legacyNullable=function(){return ep(this,3,mt)};g.setProfileId=function(a){return em(this,3,mt,a)};g.hasProfileId=function(){return ep(this,3,mt)!=null};g.getContactId=function(){return ep(this,5,mt)};g.setContactId=function(a){return em(this,5,mt,a)};var mt=[1,2,3,4,5];var qX=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(qX,V);qX.prototype.getAffinityType=function(){return nt(this,1)};qX.prototype.setAffinityType=function(a){return gl(this,1,a)};qX.prototype.setClientInformation=function(a){X(this,Zs,2,a)};var L_c=function(a,b){$m(a,3,b)};qX.prototype.setIds=function(a){return Uu(this,3,lt,a)};qX.prototype.setFormattingOptions=function(a){X(this,hX,4,a)};qX.prototype.setDelegation=function(a){X(this,r_c,5,a)};var M_c=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(M_c,V);M_c.prototype.getId=function(){return W(this,lt,1)};M_c.prototype.setId=function(a){return X(this,lt,1,a)};var N_c=[2,3];var O_c=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(O_c,V);var P_c=new GT("/peoplestack.PeopleStackAutocompleteService/Lookup",qX,O_c,function(a){return a.serialize()},Mh(O_c));var rX=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(rX,V);rX.prototype.getAffinityType=function(){return nt(this,1)};rX.prototype.setAffinityType=function(a){return gl(this,1,a)};rX.prototype.setClientInformation=function(a){X(this,Zs,2,a)};rX.prototype.setDelegation=function(a){X(this,r_c,3,a)};var Q_c=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Q_c,V);var R_c=new GT("/peoplestack.PeopleStackAutocompleteService/Warmup",rX,Q_c,function(a){return a.serialize()},Mh(Q_c));var S_c=function(a){var b={unaryInterceptors:[new lWc]};b=b||{};b.format="jspb";this.client_=new hPc(b);this.hostname_=a==void 0?a:a.replace(/\/+$/,"")};S_c.prototype.autocomplete=function(a,b){return OT(this.client_,this.hostname_+"/$rpc/peoplestack.PeopleStackAutocompleteService/Autocomplete",a,b||{},H_c)};S_c.prototype.lookup=function(a,b){return OT(this.client_,this.hostname_+"/$rpc/peoplestack.PeopleStackAutocompleteService/Lookup",a,b||{},P_c)};
S_c.prototype.createGroup=function(a,b){return OT(this.client_,this.hostname_+"/$rpc/peoplestack.PeopleStackAutocompleteService/CreateGroup",a,b||{},K_c)};var wt=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(wt,V);g=wt.prototype;g.getTimestamp=function(){return dv(this,1)};g.getTimestamp_asLegacyNumberOrString=function(){return Qk(this,1)};g.setTimestamp=function(a){return Xk(this,1,a)};g.hasTimestamp=function(){return Pk(this,1)};g.getAffinityVersion=function(){return Xj(this,2)};g.setAffinityVersion=function(a){dl(this,2,a)};g.getAffinityVersionOrUndefined=function(){return hv(this,2)};g.getNextPageToken=function(){return Kh(this,4)};
var sX=function(a){return cl(a,5,!0)};wt.prototype.getCode=function(){return Fk(this,6,0)};wt.prototype.setCode=function(a){return gl(this,6,a)};wt.prototype.getCodeOrUndefined=function(){return Bt(this,6)};var Jeb=new Yv(417869898,et);var Oeb=new Yv(417866180,Neb);var T_c=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},Heb=function(a){if(!a)return 0;a=Array.from(a).map(T_c);a.sort();for(var b=1,c=0,d=a.length;c<d;c++)b=(b<<5)-b+a[c];return b};var teb=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]]);var U_c=function(a){this.leanResponseProcessorConfig_=a},V_c=function(a,b,c,d){d=d===void 0?!1:d;for(var e=[],f=Meb(b),h=[],l=k(lk(b,B_c,1,Uj())),q=l.next();!q.done;q=l.next()){q=q.value;var u=yeb(q);if(u.equals(dt)){if(!a.leanResponseProcessorConfig_.allowEmptyTargets&&!d)continue;var A=Ieb(q);if(!A)continue;u=zgb(A)}h.push(String(u));var F=A=void 0;u={id:u,containerIds:Ceb(q),coalescedKeys:h,isMe:!!q.getIsSelf(),dataSource:Deb(b,q),provenance:c,isPrimary:Geb((A=q.getDisplayInfo())!=null?A:null),
itemAffinity:Feb(b),fieldAffinity:Eeb((F=q.getDisplayInfo())!=null?F:null),contactMethod:q,person:b};f&&(u.resultExtendedData=f);if(q=Peb(q))u.targetExtendedData=q;e.push(u)}e.length&&e.every(function(H){return!H.isPrimary})&&(e[0].isPrimary=!0);return e},W_c=function(a,b,c){var d=ygb(ueb(ql(b,5)),b.getGroupId()||""),e=b.getMembersList().map(function(q){return V_c(a,q,8,!0)}),f=e.filter(function(q){return q&&q.length}).map(function(q){return String(q[0].id)}),h,l;d=[{id:d,containerIds:[d],memberKeys:f,
totalMemberCount:(h=hv(b,3))!=null?h:void 0,provenance:c,isPrimary:!0,itemAffinity:Eeb((l=b.getDisplayInfo())!=null?l:null),fieldAffinity:-Infinity,group:b}];b=k(e);for(c=b.next();!c.done;c=b.next())d.push.apply(d,t(c.value));return d},X_c=function(a,b){var c=Wwc(a.getLabelId()||""),d=a.getMembersList().map(function(h){if(h.hasEmail()&&h.getEmail().getValue()){var l,q;var u={id:$s(h.getEmail().getValue()),containerIds:Ceb(h),contactMethod:h,provenance:8,isMe:!1,dataSource:1,isPrimary:Geb((l=h.getDisplayInfo())!=
null?l:null),itemAffinity:-Infinity,fieldAffinity:Eeb((q=h.getDisplayInfo())!=null?q:null)};if(h=Peb(h))u.targetExtendedData=h}else u=null;return u}).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:Eeb((f=a.getDisplayInfo())!=null?f:null),fieldAffinity:-Infinity,isMe:!1,contactLabel:a}].concat(t(d))},Y_c=function(a,b,c){switch(b.getDataCase()){case 1:return V_c(a,um(b,
D_c,1,F_c),c);case 2:return W_c(a,b.getGroup(),c);case 3:return X_c(um(b,C_c,3,F_c),c);default:return[]}},Z_c=function(a,b,c){return lk(b,pX,1,Uj()).flatMap(function(d){return Y_c(a,d,c)})};var xt=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(xt,V);xt.prototype.getSessionState=function(){return W(this,PK,1)};xt.prototype.setSessionState=function(a){return X(this,PK,1,a)};xt.prototype.hasSessionState=function(){return Jk(this,PK,1)};var jt=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(jt,V);jt.prototype.hasNoChanges=function(){return zk(this,12)};var it=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(it,V);it.prototype.getEventType=function(){return Fk(this,1,0)};it.prototype.setEventType=function(a){return gl(this,1,a)};var kt=function(a,b){return gl(a,2,b)},Qeb=function(a,b){return gl(a,3,b)};g=it.prototype;g.getErrorType=function(){return Fk(this,6,0)};g.setErrorType=function(a){return gl(this,6,a)};g.hasErrorType=function(){return Dk(this,6)};g.getIdType=function(){return Fk(this,8,0)};g.setIdType=function(a){gl(this,8,a)};
g.getResultIndex=function(){return Xj(this,9,0)};g.setResultIndex=function(a){dl(this,9,a)};g.getToken=function(){return Kh(this,10,"")};g.setToken=function(a){return fl(this,10,a)};g.getCacheState=function(){return W(this,OW,11)};g.setCacheState=function(a){return X(this,OW,11,a)};g.hasCacheState=function(){return Jk(this,OW,11)};g.getQueryLength=function(){return Xj(this,14)};g.setQueryLength=function(a){return dl(this,14,a)};g.hasQueryLength=function(){return Bk(this,14)};
g.getItemCount=function(){return Xj(this,15)};g.setItemCount=function(a){return dl(this,15,a)};g.hasItemCount=function(){return Bk(this,15)};g.getLookupInfo=function(){return W(this,jt,16)};g.getMutableLookupInfo=function(){return Wu(this,jt,16)};g.setLookupInfo=function(a){return X(this,jt,16,a)};g.hasLookupInfo=function(){return Jk(this,jt,16)};g.getQueryScope=function(){return Fk(this,17,0)};g.setQueryScope=function(a){return gl(this,17,a)};g.hasQueryScope=function(){return Dk(this,17)};var Seb=new Map([[0,1],[1,2],[2,3],[3,4]]);var $_c=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y($_c,V);g=$_c.prototype;g.getLabel=function(){return nt(this,1)};g.setLabel=function(a){return gl(this,1,a)};g.hasLabel=function(){return Dk(this,1)};g.getItemCount=function(){return av(this,2)};g.setItemCount=function(a){return dl(this,2,a)};g.hasItemCount=function(){return Bk(this,2)};g.getLookupInfo=function(){return W(this,jt,3)};g.getMutableLookupInfo=function(){return Wu(this,jt,3)};
g.setLookupInfo=function(a){return X(this,jt,3,a)};g.hasLookupInfo=function(){return Jk(this,jt,3)};g.getQueryLength=function(){return av(this,4)};g.setQueryLength=function(a){return dl(this,4,a)};g.hasQueryLength=function(){return Bk(this,4)};g.getQueryScope=function(){return Fk(this,5,0)};g.setQueryScope=function(a){return gl(this,5,a)};g.hasQueryScope=function(){return Dk(this,5)};var a0c=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(a0c,V);var b0c=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(b0c,V);g=b0c.prototype;g.getLabel=function(){return nt(this,1)};g.setLabel=function(a){return gl(this,1,a)};g.hasLabel=function(){return Dk(this,1)};g.getStatus=function(){return nt(this,2)};g.setStatus=function(a){return gl(this,2,a)};g.hasStatus=function(){return Dk(this,2)};g.setLatencyUsec=function(a){Xk(this,3,a)};g.getResultIndex=function(){return av(this,4)};g.setResultIndex=function(a){dl(this,4,a)};
g.getDataSource=function(){return nt(this,7)};g.setDataSource=function(a){return gl(this,7,a)};g.hasDataSource=function(){return Dk(this,7)};g.getItemCount=function(){return av(this,8)};g.setItemCount=function(a){return dl(this,8,a)};g.hasItemCount=function(){return Bk(this,8)};g.getResources=function(){return W(this,a0c,9)};g.getLookupInfo=function(){return W(this,jt,10)};g.getMutableLookupInfo=function(){return Wu(this,jt,10)};g.setLookupInfo=function(a){return X(this,jt,10,a)};
g.hasLookupInfo=function(){return Jk(this,jt,10)};g.getStatusCode=function(){return Fk(this,11,2)};g.setStatusCode=function(a){gl(this,11,a)};g.hasStatusCode=function(){return Dk(this,11)};g.getQueryLength=function(){return av(this,13)};g.setQueryLength=function(a){return dl(this,13,a)};g.hasQueryLength=function(){return Bk(this,13)};g.getQueryScope=function(){return Fk(this,14,0)};g.setQueryScope=function(a){return gl(this,14,a)};g.hasQueryScope=function(){return Dk(this,14)};var c0c=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(c0c,V);var tX=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(tX,V);g=tX.prototype;g.getDataSource=function(){return nt(this,3)};g.setDataSource=function(a){return gl(this,3,a)};g.hasDataSource=function(){return Dk(this,3)};g.getType=function(){return nt(this,4)};g.setType=function(a){return gl(this,4,a)};g.hasType=function(){return Dk(this,4)};g.getValue=function(){return dv(this,2,ub(1))};g.getValue_asLegacyNumberOrString=function(){return Qk(this,2,1)};
g.setValue=function(a){return Xk(this,2,a)};g.hasValue=function(){return Pk(this,2)};g.getLabel=function(){return ql(this,1)};g.setLabel=function(a){return fl(this,1,a)};g.hasLabel=function(){return Ck(this,1)};var uX=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(uX,V);g=uX.prototype;g.getStatusCode=function(){return Fk(this,5,2)};g.setStatusCode=function(a){gl(this,5,a)};g.hasStatusCode=function(){return Dk(this,5)};g.getLabel=function(){return ql(this,1)};g.setLabel=function(a){return fl(this,1,a)};g.hasLabel=function(){return Ck(this,1)};g.getCause=function(){return ql(this,2)};g.setCause=function(a){fl(this,2,a)};g.getType=function(){return nt(this,3)};
g.setType=function(a){return gl(this,3,a)};g.hasType=function(){return Dk(this,3)};var d0c=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(d0c,V);g=d0c.prototype;g.getType=function(){return nt(this,3)};g.setType=function(a){return gl(this,3,a)};g.hasType=function(){return Dk(this,3)};g.setLatencyUsec=function(a){Xk(this,2,a)};g.getLabel=function(){return ql(this,1)};g.setLabel=function(a){return fl(this,1,a)};g.hasLabel=function(){return Ck(this,1)};var vX=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(vX,V);vX.prototype.getLabel=function(){return nt(this,1)};vX.prototype.setLabel=function(a){return gl(this,1,a)};vX.prototype.hasLabel=function(){return Dk(this,1)};var e0c=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(e0c,V);g=e0c.prototype;g.getLabel=function(){return nt(this,1)};g.setLabel=function(a){return gl(this,1,a)};g.hasLabel=function(){return Dk(this,1)};g.getStatus=function(){return nt(this,2)};g.setStatus=function(a){return gl(this,2,a)};g.hasStatus=function(){return Dk(this,2)};g.setLatencyUsec=function(a){Xk(this,3,a)};g.getErrorCode=function(){return Wb(Hk(this,4))};g.hasErrorCode=function(){return Pk(this,4)};
g.getStatusCode=function(){return Fk(this,7,2)};g.setStatusCode=function(a){gl(this,7,a)};g.hasStatusCode=function(){return Dk(this,7)};g.setBlockedUsec=function(a){return Xk(this,8,a)};var dgb=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(dgb,V);g=dgb.prototype;g.getClientInterface=function(){return W(this,cO,1)};g.setClientInterface=function(a){return X(this,cO,1,a)};g.getEventType=function(){return nt(this,3)};g.getEventType_legacyNullable=function(){return nt(this,3)};g.setEventType=function(a){return gl(this,3,a)};g.getCacheStatus=function(){return W(this,c0c,12)};g.setCacheStatus=function(a){return X(this,c0c,12,a)};g.getCount=function(){return W(this,tX,4)};
g.getMutableCount=function(){return Wu(this,tX,4)};g.setCount=function(a){return X(this,tX,4,a)};g.getMutableLatency=function(){return Wu(this,d0c,5)};g.setLatency=function(a){X(this,d0c,5,a)};g.getError=function(){return W(this,uX,6)};g.setError=function(a){X(this,uX,6,a)};g.hasError=function(){return Jk(this,uX,6)};g.setRpcRequest=function(a){return X(this,vX,7,a)};g.setRpcResponse=function(a){return X(this,e0c,8,a)};g.setApiCall=function(a){return X(this,$_c,9,a)};
g.setApiResult=function(a){return X(this,b0c,10,a)};var wX=function(a,b,c,d,e){this.leanResponseProcessor_=a;this.grpcClient_=b;e?a=Reb(e):(a=new it,Qeb(a.setEventType(4),4));this.sourceInfo_=a;this.provenance_=e?2:1;this.trackers_=d;this.query_=e;this.affinity_=Fk(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:""};wX.prototype.getMetric=function(){return f0c(this.trackers_,this.sourceInfo_)};
wX.prototype.send=function(a){var b=new u_c;b.setAffinityType(this.affinity_).setQuery(this.query_).setClientInformation(seb({requestCorpHeaders:this.requestCorpHeaders_}));this.query_.length?b.setMaxResults(this.searchMaxResults_):b.setMaxResults(this.cacheSize_);this.phoneCanonicalizationInference_!=null&&b.setFormattingOptions((new hX).setPhoneCanonicalizationInference(this.phoneCanonicalizationInference_));this.delegatorId_&&b.setDelegation(t_c(s_c(),this.delegatorId_));return this.grpcClient_.autocomplete(b,
a)};wX.prototype.processResponse=function(a){var b=Z_c(this.leanResponseProcessor_,a,this.provenance_),c=new wt;Jk(a,v_c,2)&&c.setAffinityVersion(W(a,v_c,2).getAffinityVersion());return{data:b,metadata:c}};wX.prototype.close=function(){};var g0c=function(a,b,c,d,e,f){this.leanResponseProcessor_=a;this.grpcClient_=b;a=new it;Qeb(a.setEventType(4),7).setIdType(e);this.sourceInfo_=a;this.provenance_=3;this.keys_=f;this.type_=e;this.trackers_=d;this.affinity_=Fk(c.getPeopleApi(),5,0);this.phoneCanonicalizationInference_=c.getPeopleApi().getPhoneCanonicalizationInferenceOrUndefined();this.requestCorpHeaders_=c.runtimeConfig_.requestCorpHeaders_;var h;this.delegatorId_=(h=c.runtimeConfig_.getDelegatorId())!=null?h:""};
g0c.prototype.getMetric=function(){return f0c(this.trackers_,this.sourceInfo_)};
g0c.prototype.send=function(a){var b=this,c=new qX;c.setAffinityType(this.affinity_).setClientInformation(seb({requestCorpHeaders:this.requestCorpHeaders_}));L_c(c,this.keys_.map(function(d){return Zeb(b.type_,d)}).filter(function(d){return!!d}));this.phoneCanonicalizationInference_!=null&&c.setFormattingOptions((new hX).setPhoneCanonicalizationInference(this.phoneCanonicalizationInference_));this.delegatorId_&&c.setDelegation(t_c(s_c(),this.delegatorId_));return this.grpcClient_.lookup(c,a)};
g0c.prototype.processResponse=function(a){var b=this.leanResponseProcessor_,c=this.provenance_,d=new Map;a=k(lk(a,M_c,1,Uj()));for(var e=a.next();!e.done;e=a.next())if(e=e.value,Jm(e,pX,2,N_c)){var f=Y_c(b,um(e,pX,2,N_c),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(ep(e.getId(),4,mt),f);break;case 5:d.set(e.getId().getContactId(),
f)}}return{data:d,metadata:new wt}};g0c.prototype.close=function(){};var h0c=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(h0c,V);var i0c=new Yv(342338249,h0c);var j0c=function(){};j0c.prototype.write=function(a,b){var c=new h0c;b=X(c,G_c,1,b);ht(a,i0c,b)};j0c.prototype.read=function(a){return(a=a.getExtension(i0c))?W(a,G_c,1):null};var k0c=function(a,b,c){this.grpcClient_=a;this.sourceInfo_=Reb("");this.trackers_=c;this.affinity_=Fk(b.getPeopleApi(),5,0);var d;this.delegatorId_=(d=b.runtimeConfig_.getDelegatorId())!=null?d:""};k0c.prototype.getMetric=function(){return f0c(this.trackers_,this.sourceInfo_)};
k0c.prototype.send=function(a){var b=new rX;b.setAffinityType(this.affinity_).setClientInformation(seb());this.delegatorId_&&b.setDelegation(t_c(s_c(),this.delegatorId_));var c=this.grpcClient_;return OT(c.client_,c.hostname_+"/$rpc/peoplestack.PeopleStackAutocompleteService/Warmup",b,a||{},R_c)};k0c.prototype.processResponse=function(){return{data:[],metadata:new wt}};k0c.prototype.close=function(){};var l0c=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(l0c,V);var m0c=new l0c;var xX=function(a,b,c){this.delegate_=a;this.runtimeConfig_=b;this.offlineResponse_=c};xX.prototype.send=function(a){var b=this;return se(function(c){return b.runtimeConfig_.isOffline_()?c.return(m0c):c.return(b.delegate_.send(a))})};xX.prototype.getMetric=function(){return this.delegate_.getMetric()};xX.prototype.processResponse=function(a){return a===m0c?this.offlineResponse_:this.delegate_.processResponse(a)};xX.prototype.close=function(a){this.delegate_.close(a)};
var n0c={data:[],metadata:sX(new wt).setCode(14)},o0c={data:new Map,metadata:sX(new wt).setCode(14)};sX(new wt).setCode(14);sX(new wt).setCode(14);sX(new wt).setCode(14);sX(new wt).setCode(14);sX(new wt).setCode(14);sX(new wt).setCode(14);var p0c=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(p0c,V);g=p0c.prototype;g.getTimestamp=function(){return dv(this,1)};g.getTimestamp_asLegacyNumberOrString=function(){return Qk(this,1)};g.setTimestamp=function(a){return Xk(this,1,a)};g.hasTimestamp=function(){return Pk(this,1)};g.getOwner=function(){return Kh(this,2)};g.setOwner=function(a){return fl(this,2,a)};var q0c=new Yv(342656659,p0c);var yX=function(a,b,c,d,e){this.delegate_=a;this.offlineStorage_=b;this.offlineDataTransformer_=c;this.owner_=d;this.storageTaskDelayMillis_=e;this.offlineMetadata_=null};yX.prototype.store_=function(a,b){var c=new mxc;ht(c,q0c,(new p0c).setTimestamp(b).setOwner(String(this.owner_)));this.offlineDataTransformer_.write(c,a);this.offlineStorage_.store(c)};
var r0c=function(a){var b,c;return se(function(d){if(d.nextAddress==1)return te(d,2),y(d,a.offlineStorage_.fetch(),4);if(d.nextAddress!=2){b=d.yieldResult;if(!b)return d.return(null);a.offlineMetadata_=b.getExtension(q0c);c=a.offlineMetadata_?Ss(a.offlineMetadata_.getOwner()):dt;return a.owner_.equals(c)?d.return(a.offlineDataTransformer_.read(b)):d.return(null)}we(d);return d.return(null)})};
yX.prototype.send=function(a){var b=this,c,d,e,f,h;return se(function(l){switch(l.nextAddress){case 1:return te(l,2),y(l,b.delegate_.send(a),4);case 4:c=l.yieldResult;d=Date.now();if(c!==m0c){l.jumpTo(5);break}return y(l,r0c(b),6);case 6:return e=l.yieldResult,l.return(e||m0c);case 5:return setTimeout(function(){b.store_(c,d)},b.storageTaskDelayMillis_),l.return(c);case 2:return f=we(l),y(l,r0c(b),7);case 7:return(h=l.yieldResult)?l.return(h):l.return(Promise.reject(f))}})};
yX.prototype.getMetric=function(){return this.delegate_.getMetric()};yX.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};yX.prototype.close=function(a){this.delegate_.close(a)};var s0c=function(a,b){this.config_=a;this.trackers_=b;b=this.config_;b={apiKey:b.runtimeConfig_.getApiKey()||(b.runtimeConfig_.getPeopleApiEnv()===7?Kh(b.getGapi(),2,""):b.getGapi().getApiKey()),timeoutSec:a.getClient().getRpcTimeoutSec(),authErrorHandler:a.runtimeConfig_.getAuthErrorHandler(),customAuthHeaders:a.runtimeConfig_.customAuthHeaders_};this.dispatcher_=new nWc(b);b=QPa("peoplestack-pa",a.runtimeConfig_.getPeopleApiEnv());this.grpcPeopleStackClient_=new S_c(b);this.offlineDataTransformer_=
new j0c;a=Ak(a.getClient(),22,!1);this.leanResponseProcessor_=new U_c({allowEmptyTargets:a})};s0c.prototype.loadRankedItems=function(){var a=new wX(this.leanResponseProcessor_,this.grpcPeopleStackClient_,this.config_,this.trackers_,"");a=new xX(a,this.config_.runtimeConfig_,n0c);var b=this.config_,c=this.offlineDataTransformer_,d=b.runtimeConfig_.offlineStorage_;if(d){var e=b.runtimeConfig_.getUserEmail();e&&(e=$s(e),b=Xj(b.getPeopleApi(),14,5E3),a=new yX(a,d,c,e,b))}return pWc(this.dispatcher_,a)};
s0c.prototype.warmUpServer=function(){var a=new k0c(this.grpcPeopleStackClient_,this.config_,this.trackers_);a=new xX(a,this.config_.runtimeConfig_,n0c);return pWc(this.dispatcher_,a)};s0c.prototype.loadAutocompleteItems=function(a){var b=this.leanResponseProcessor_;var c=this.grpcPeopleStackClient_,d=this.config_,e=this.trackers_;a=a.getPrefix();b=new wX(b,c,d,e,a);b=new xX(b,this.config_.runtimeConfig_,n0c);return pWc(this.dispatcher_,b)};
s0c.prototype.loadLookupItems=function(a,b){a=new g0c(this.leanResponseProcessor_,this.grpcPeopleStackClient_,this.config_,this.trackers_,a,b);a=new xX(a,this.config_.runtimeConfig_,o0c);return pWc(this.dispatcher_,a)};var t0c=function(a,b){this.isOrgStateEnabled_=a.runtimeConfig_.isOrgStateEnabled_;this.delegate_=b};t0c.prototype.processItem=function(a){this.delegate_.processItem(a);a=a.target;this.isOrgStateEnabled_||a.setOrgState(0)};var afb=new Map([[1,1],[2,2]]);var u0c=function(a,b){this.encryptionSupport_=a;this.certificateStatus_=b};u0c.prototype.getEncryptionSupport=function(){return this.encryptionSupport_};u0c.prototype.getCertificateStatus=function(){return this.certificateStatus_};var Dgb=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 u0c(a===4?c?4:3:c?2:1,a)};var Egb=function(a,b){this.reachabilityStatus=a;this.clientData=b};Egb.prototype.getReachabilityStatus=function(){return this.reachabilityStatus};Egb.prototype.getClientData=function(){return this.clientData};var Ft=function(){this.iconUrl_=this.altText_=""};Ft.prototype.getAltText=function(){return this.altText_};Ft.prototype.setAltText=function(a){this.altText_=a||"";return this};Ft.prototype.getIconUrl=function(){return this.iconUrl_};Ft.prototype.setIconUrl=function(a){this.iconUrl_=a||"";return this};var ffb=new Map([[3,3],[1,2],[2,1]]),v0c=new Map([[2,1],[4,2],[3,3],[1,4]]),w0c=function(a){this.delegate_=a};
w0c.prototype.processItem=function(a){if(a.person||a.contactMethod){switch(a.contactMethod.getValueCase()){case 2:var b=a.contactMethod.getEmail();var c=ot(b.getValue()),d=a.id.normalizedValue_;c=qt(a.id).setValue(c).setCanonicalValue(d);if(lk(b,lX,2,Uj()).length||Jk(b,y_c,3)){d=1;var e=0;if(lk(b,lX,2,Uj()).length){var f=lk(b,lX,2,Uj())[0];e=Zu(f,1)||e;d=v0c.get(f.getStatus())||d}f=Jk(b,y_c,3)&&!!ft(W(b,y_c,3),1);d=Dgb(d,e,f)}else d=null;d&&c.setEmailSecurityInfo(d);Jk(b,mX,4)&&(b=bfb(W(b,mX,4)),
c.setOrgState(b));ft(a.contactMethod,7)&&c.setResultType(2);b=c;break;case 3:c=a.contactMethod.getPhone();b=ot(c.getCanonicalValue());c=ot(c.getOriginalValue())||ot(c.getDisplayValue())||b;b=qt(a.id).setValue(c).setCanonicalValue(b);break;case 4:b=um(a.contactMethod,web,4,at);b=ifb(a,b);break;default:b=qt(a.id||dt)}b.setDataSource(a.dataSource||0);a.containerIds&&(b.sourceIds_=a.containerIds||[]);b.setIsMe(!!a.isMe);a.person&&a.person.hasAffinity()&&b.setPersonLoggingId(cfb(mna(pt(a.person.getAffinity(),
1))||""));a.contactMethod.hasDisplayInfo()&&gfb(b,a.contactMethod.getDisplayInfo());Ck(a.contactMethod,10)&&b.setTagList([(new Ft).setAltText(a.contactMethod.getTypeLabel())]);if(Jk(a.contactMethod,A_c,13)){d=W(a.contactMethod,A_c,13);switch(d.getStatus()){case 1:c=1;break;default:c=0}d=d.hasClientData()?d.getClientData():void 0;b.setReachabilityInfo(new Egb(c,d))}a.targetExtendedData&&b.setExtendedData(a.targetExtendedData);a.target=b}else a.group?lfb(a,a.group.getDisplayInfo()):a.contactLabel&&
lfb(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 x0c=function(a,b){this.metrics_=a;this.state_=new kO(b);this.source=b;this.label_="total"};x0c.prototype.call=function(){this.metrics_.count(this.state_);this.metrics_.start(this.state_,this.label_)};x0c.prototype.result=function(a){this.metrics_.stop(this.state_,this.label_);this.metrics_.status(this.state_,a)};var y0c=function(a,b){this.metrics_=a;this.state_=new kO(b)};g=y0c.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();gl(d,13,b)}c&&(b=this.state_.source(),dl(b,12,c));this.metrics_.status(this.state_,a)};g.logError=function(a,b){this.metrics_.logError(a,b)};var z0c=function(a){this.getSessionState=a};z0c.prototype.attach=function(a,b){var c,d;b=(new xt).setSessionState((d=b==null?void 0:(c=W(b,xt,18))==null?void 0:c.getSessionState())!=null?d:this.getSessionState().clone());X(a,xt,18,b);return a};var A0c=function(){};A0c.prototype.attach=function(a){return a};var B0c=new A0c;var zX=function(a,b){b=b===void 0?B0c:b;this.metrics_=a;this.sessioninfo_=b};zX.prototype.error=function(a,b,c){var d=this.metrics_,e=this.sessioninfo_,f=e.attach,h=new it;a=h.setEventType(3).setErrorType(a);gl(a,7,b);return new JXc(d,f.call(e,h,c))};zX.prototype.latency=function(a,b){var c=this.metrics_,d=this.sessioninfo_,e=d.attach,f=new it,h=f.setEventType(2);gl(h,5,a);return new sW(c,e.call(d,f,b))};
zX.prototype.count=function(a){var b=this.metrics_,c=this.sessioninfo_,d=c.attach,e=new it,f=e.setEventType(1);gl(f,4,a);return new IXc(b,d.call(c,e))};zX.prototype.api=function(a){return new x0c(this.metrics_,this.sessioninfo_.attach(a))};var f0c=function(a,b){return new y0c(a.metrics_,a.sessioninfo_.attach(b))},C0c=function(a,b){return new zX(a.metrics_,b)};var D0c=function(a,b){this.ranker_=new p_c(a.getClient());this.loader_=new s0c(a,b);b=o_c;b=b===void 0?o_c:b;this.targetFactory_=new t0c(a,new w0c(b))};var E0c=function(){this.cacheConfigurators_=[];this.grpcClient_=null};var F0c=function(){this.bits_=[]};g=F0c.prototype;g.and=function(a){for(var b=new F0c,c=k(this),d=c.next();!d.done;d=c.next())d=d.value,a.bits_[d]&&(b.bits_[d]=!0);return b};g.or=function(a){for(var b=new F0c,c=k(this),d=c.next();!d.done;d=c.next())b.bits_[d.value]=!0;a=k(a);for(c=a.next();!c.done;c=a.next())b.bits_[c.value]=!0;return b};g.get=function(a){return!!this.bits_[a]};g.set=function(a){this.bits_[a]=!0};g.setAll=function(a){var b=a;for(a+=NaN;b<a;b++)this.bits_[b]=!0};
g.clear=function(a){this.bits_[a]=!1};g.clearAll=function(a,b){var c=a;for(a+=b;c<a;c++)this.bits_[c]=!1};F0c.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 rfb=RegExp("[\\s,;\u055d\u060c\u1363\u1802\u1808\u2e41\u3001\uff0c\u061b\u1364\uff1b\uff64\u104a]+","g"),qfb=/^[<"']|[>"']$/g,ofb=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"),G0c=/[^a-z0-9]+/gi,pfb=String.prototype.normalize?function(a){return a.normalize("NFKC")}:function(a){return a};var H0c=function(a,b){this.key=a;this.terms=sfb(b)};var AX=function(a,b,c){b=b===void 0?"":b;c=c===void 0?new F0c:c;this.items_=a;this.prefix_=b;this.matchIndices_=c;this.childNodes_={};this.isExpanded_=b==="\u2026"};AX.prototype.cloneNode=function(a){for(var b=[],c=k(this.items_),d=c.next();!d.done&&(d=d.value,!a.loadOrSkip(d.key)||(b.push(d),!a.isDone()));d=c.next());return new AX(b)};
AX.prototype.getMatches=function(a){for(var b=[],c=k(this.prefix_?this.matchIndices_:ufb(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};
AX.prototype.search=function(a){var b=this;return a.length?a.map(function(c){for(var d=b,e=0;e<c.length;e++){var f=c.charAt(e),h=d;if(!h.isExpanded_){for(var l=k(h.prefix_?h.matchIndices_:ufb(h.items_.length)),q=l.next();!q.done;q=l.next()){var u=h;q=q.value;for(var A=u.prefix_+"\ufdc7",F=k(u.items_[q].terms),H=F.next();!H.done;H=F.next())H=H.value,H.length<=u.prefix_.length||H<u.prefix_||H>A||(H=H.charAt(u.prefix_.length),u.childNodes_[H]||(u.childNodes_[H]=new AX(u.items_,u.prefix_+H)),u.childNodes_[H].matchIndices_.set(q))}h.isExpanded_=
!0}d=d.childNodes_[f]||BX;if(d===BX)break}return d}).reduce(function(c,d){return c.and(d)}):this};var I0c=function(a){a.isExpanded_=!1;for(var b=k(Object.keys(a.childNodes_)),c=b.next();!c.done;c=b.next())c=a.childNodes_[c.value],c.isExpanded_&&I0c(c)};AX.prototype.and=function(a){a=this.matchIndices_.and(a.matchIndices_);return new AX(this.items_,"\u2026",a)};AX.prototype.or=function(a){a=this.matchIndices_.or(a.matchIndices_);return new AX(this.items_,"\u2026",a)};var BX=new AX([]);
BX.isExpanded_=!0;var J0c=function(a,b,c){this.expiry_=a;this.value_=b;this.stale_=c};J0c.prototype.getExpiry=function(){return this.expiry_};J0c.prototype.getValue=function(){return this.value_};J0c.prototype.isExpired=function(){return this.expiry_<Date.now()};J0c.prototype.isStale=function(){return this.stale_<Date.now()};var K0c=function(a){this.shouldEvictItem_=a;this.items_=new Map};g=K0c.prototype;g.size=function(){return this.items_.size};g.clear=function(){this.items_.clear()};g.has=function(a){return this.items_.has(a)};g.get=function(a){var b=this.items_.get(a);this.items_.has(a)&&(this.items_.delete(a),this.items_.set(a,b));return b};
g.set=function(a,b){this.items_.has(a)&&this.items_.delete(a);this.items_.set(a,b);b=k(this.items_.entries().next().value);a=b.next().value;b=b.next().value;this.shouldEvictItem_(a,b)&&this.items_.delete(a);return this};g.delete=function(a){return this.items_.delete(a)};g.compact=function(){for(var a=0,b=k(this.items_),c=b.next();!c.done;c=b.next()){var d=k(c.value);c=d.next().value;d=d.next().value;this.shouldEvictItem_(c,d)&&(this.items_.delete(c),a++)}return a};
var L0c=function(){var a=new K0c(function(){return a.size()>1E3});return a};var M0c=function(a,b){var c=this;this.capacity_=a;this.itemFactory_=b;this.delegate_=new K0c(function(d,e){return e.isExpired()||c.delegate_.size()>c.capacity_})};g=M0c.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 CX=function(a,b){return new M0c(a,function(c){var d=Date.now()+b;return new J0c(d,c,d)})};var vfb=function(a){this.delegate_=a};Y(vfb,QK);vfb.prototype.getIsBoosted=function(){return!0};var N0c=function(a){this.keys_=new Set(a)};N0c.prototype.loadOrSkip=function(a){return this.keys_.delete(a)?a:null};N0c.prototype.isDone=function(){return!this.keys_.size};var O0c=function(a){this.keys_=a;this.foundKeys_=new Set;this.delegate_=new N0c(a)};O0c.prototype.loadOrSkip=function(a){return this.delegate_.loadOrSkip(a)?(this.foundKeys_.add(a),!0):!1};O0c.prototype.isDone=function(){return this.delegate_.isDone()};var P0c=function(a){return a.keys_.filter(function(b){return!a.foundKeys_.has(b)})};var Q0c=new Et,R0c=function(a,b,c){this.itemResolver_=a;this.trieFactory_=b;this.indexes_=CX(Xj(c,31,5),tm(c,32,3600)*1E3)};g=R0c.prototype;g.getCacheType=function(){return 2};g.flush=function(){this.indexes_.clear()};
g.fetch=function(a){var b=this,c,d,e,f;return se(function(h){if(h.nextAddress==1){c=a.getBoostKey();if(!c.cacheKey||b.indexes_.get(c.cacheKey))return h.return(Q0c);d=c.ids.map(function(l){if(Uwc.includes(Ss(l).getType()))return l;var q=DX(b.itemResolver_,l);return q?String(q.id):l});e=new O0c(d);return y(h,S0c(b.trieFactory_,e,a.getFormat(),c.primingTimeoutMillis),2)}f=h.yieldResult;b.indexes_.set(c.cacheKey,f);return h.return(Q0c)})};
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)||BX).search(a.getTerms()).getMatches(a.getCollector()).map(wfb)};g.index=function(){};g.getName=function(){};var T0c=function(a,b,c){this.indexLatency_=a;this.searchLatency_=b;this.errorType_=c};T0c.prototype.getErrorType=function(){return this.errorType_};var EX=function(a,b,c){this.delegate_=a;this.trackers_=b;this.indexingLabel_=c.indexLatency_;this.searchLabel_=c.searchLatency_;this.errorLabel_=c.getErrorType()};g=EX.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 U0c=new T0c(60,61,34);var V0c=function(){};V0c.prototype.configure=function(a){var b=a.storage,c=a.trackers,d=a.trieFactory,e=a.prefixCaches;a=a.clientConfig.getClient();Ak(a,30,!1)&&(b=new R0c(b,d,a),c=new EX(b,c,U0c),e.unshift(c))};var W0c=function(){return Date.now()},X0c=function(a,b,c){this.staleMillis_=a*1E3;this.expiredMillis_=b*1E3;this.nowFn_=c;this.timestamp_=0};g=X0c.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 yfb=new Map([[1,1],[2,2],[3,3],[8,6],[6,7],[7,5],[4,4],[9,9]]),xfb=new Map([[1,7],[2,5]]);var Y0c=function(a,b){this.delegate_=a;this.extendedData_=b};Y(Y0c,QK);Y0c.prototype.getExtendedData=function(){return this.extendedData_};var Z0c=function(a,b,c){this.group_=a;this.members_=b;this.totalMemberCount_=Vwc(this.group_.getId())?this.members_.length:c;this.resultType_=LUc.get(this.group_.getTargetType())||0};g=Z0c.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("Gf");};g.getDisplayName=function(){return""};
g.getDisplayValue=function(){return""};g.getDescription=function(){return""};g.getPhotoUrl=function(){return""};g.getIsBoosted=function(){return!1};g.getMatchInfo=function(){return KUc};g.getExtendedData=function(){return null};var Afb=function(a,b){this.delegate_=a;this.loggingToken_=b};Y(Afb,bxc);Afb.prototype.getLoggingToken=function(){return this.loggingToken_};var $0c=function(a){this.itemResolver_=a};$0c.prototype.create=function(a,b){var c=this,d=Ss(a);a=DX(this.itemResolver_,a);if(!a)return null;if(Ys(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 DX(c.itemResolver_,h)}).filter(Boolean):[a];return a1c(f,d,b)};
var a1c=function(a,b,c){var d=[],e=0,f=null,h=null;a=k(a);for(var l=a.next();!l.done;l=a.next()){l=l.value;var q=l.target,u=q.getId().equals(b);if(!e||u)e=q.getResultType();q=Bfb(q,l.provenance,c);u?(h=void 0,f=(h=l.totalMemberCount)!=null?h:null,d.unshift(q),h=l.resultExtendedData):d.push(q)}b=hab(e,d,f);return h?new Y0c(b,h):b};
$0c.prototype.createGroup=function(a,b,c){c=Bfb(a.target,a.provenance,c);var d,e=(d=a.totalMemberCount)!=null?d:null;b=new xq(new Z0c(c,b!=null?b:[],e!=null?e:null));return(a=a.resultExtendedData)?new Y0c(b,a):b};var Cfb=[1,2,3,4,5,6,9,7,8],b1c=function(a,b){this.targetFactory_=a;this.resultFactory_=new $0c(this);a=b.getCacheStaleSec();var c=b.getCacheExpiredSec();var d=d===void 0?W0c:d;this.expiry_=new X0c(a,c,d);this.affinityVersion_=0;this.ttlStorage_=new Map;this.lruStorage_=CX(Xj(b,6,500),Xj(b,7,43200)*1E3);d=Set;b=pc(b,25,Kb,Uj());this.idTypes_=new d(b)};b1c.prototype.load=function(a,b){var c;return(c=this.resultFactory_.create(a,b))!=null?c:null};
var DX=function(a,b){return a.ttlStorage_.get(b)||a.lruStorage_.get(b)||null};g=b1c.prototype;g.getExpiry=function(){return this.expiry_};g.getAffinityVersion=function(){return this.affinityVersion_};g.markAsFresh=function(a){this.affinityVersion_=a.getAffinityVersion();a.hasTimestamp()?this.expiry_.setTimestamp(a.getTimestamp_asLegacyNumberOrString()):this.expiry_.markAsFresh();this.lruStorage_.compact()};g.markAsStale=function(){this.expiry_.markAsStale()};
g.flush=function(){this.ttlStorage_.clear();this.lruStorage_.clear();this.affinityVersion_=0;this.expiry_.timestamp_=0};g.storeItems=function(a,b,c,d){c=c===void 0?!1:c;if(d=d===void 0?"":d){var e=b.findIndex(function(h){return String(h.id)===d});if(e>0){var f=b[e];b.splice(e,1);b.unshift(f)}}c&&b.reverse();b=k(b);for(e=b.next();!e.done;e=b.next())this.store_(a,e.value,c,d)};
g.store_=function(a,b,c,d){if(!this.idTypes_.size||!Uwc.includes(b.id.getType())||this.idTypes_.has(b.id.getType())){var e=!1,f=String(b.id),h=(b.containerIds||[]).map(String),l=c1c(this,a,f);d1c(this,a,f,b,c)&&(l(f,b),e=!0);h=k(h);for(var q=h.next();!q.done;q=h.next())q=q.value,d1c(this,a,q,b,c)&&(l(q,b),e=!0);b.isMe&&(h=String(Xwc),d1c(this,a,h,b,c)&&(l(h,b),e=!0));d&&f!==d&&d1c(this,a,d,b,c)&&(l(d,b),e=!0);e&&!b.target&&this.targetFactory_.processItem(b)}};
var d1c=function(a,b,c,d,e){var f=DX(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)?Efb(d)&&!Efb(f)||e1c(a,f)<e1c(a,d)||Dfb(d)<Dfb(f)||d.id.getType()===18&&f.id.getType()===18||Ffb(d)>Ffb(f)?!0:!1:String(d.id)===c},e1c=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},c1c=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 Gfb=function(a,b){this.delegate_=a;this.displayValue_=b};Y(Gfb,bxc);Gfb.prototype.getDisplayValue=function(){return this.displayValue_};var Ifb=function(){};Ifb.prototype.createFromLookupId=function(a){if(a.getType()!==1||!Nwc(a.getOriginalValue()))return null;a=qt(a).setValue(a.getOriginalValue()).setDataSource(3);return hab(a.getResultType(),[a],null)};var f1c=function(){};f1c.prototype.createFromLookupId=function(){return null};var Jfb=new f1c;var g1c=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=Kfb(e.getClient())};g=g1c.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 h1c=function(a){return Array.from(a.remainingIds.values())};g1c.prototype.hasError=function(){return this.hasErrorCode};
g1c.prototype.notify=function(a,b,c){if(a.size||b.length||this.isDone()||Lfb(c.getCode())){var d=new Map,e=this.getResultFilter();a=k(a);for(var f=a.next();!f.done;f=a.next()){var h=k(f.value);f=h.next().value;h=h.next().value;this.notNotifiedIds.delete(String(f));(h=e?e.filterResult(h):h)&&h.getTargetList().length&&(d.set(f,h),this.remainingIds.delete(String(f)))}a=[];b=k(b);for(f=b.next();!f.done;f=b.next())f=f.value,this.notNotifiedIds.delete(String(f)),this.remainingIds.delete(String(f)),(h=this.placeholderFactory.createFromLookupId(f))&&
e&&(h=e.filterResult(h)),h&&h.getTargetList().length?d.set(f,h):a.push(f);d=Hfb(d,this.options);Lfb(c.getCode())&&(this.hasErrorCode=!0);e=(new iZc).setCallbackNumber(this.callbackNumber).setIsFirstCallback(this.callbackNumber===0).setIsLastCallback(this.isDone()).setCode(c.getCode());e.notFoundIdList_=a;d=new jZc(d,e);this.callbackNumber++;this.listener(d,c)}};var i1c=function(a,b,c){this.stages=a;this.indexer=b;this.clientConfig=c};i1c.prototype.flush=function(){this.indexer.flush()};
i1c.prototype.lookup=function(a,b,c,d){var e=this,f,h,l,q,u,A;return se(function(F){switch(F.nextAddress){case 1:(f=d.getFilter())==null||f.reset(""),h=new g1c(a,b,c,d,e.clientConfig),l=new Set,h.queryScope()!==1&&h.queryScope()!==2||l.add(2),h.queryScope()===3&&l.add(1),q=k(e.stages),u=q.next();case 2:if(u.done){F.jumpTo(4);break}A=u.value;if(h.isDone()||h.isCancelled()){F.jumpTo(4);break}if(l.has(A.getStageType())){F.jumpTo(3);break}return y(F,A.lookup(h),3);case 3:u=q.next();F.jumpTo(2);break;
case 4:if(!h.isDone()){if(h.queryScope()===0&&!h.hasError()){var H=e.indexer,N=Array.from(h.notNotifiedIds.values());N=k(N);for(var O=N.next();!O.done;O=N.next())O=String(O.value),H.notFoundIds.set(O,O)}h.notify(new Map,h1c(h),NW((new Et).setProvenance(10),!1).setCode(0))}e.indexer.compact();return F.return()}})};var j1c=function(a,b){this.storage=a;a=b.getClient();this.notFoundIds=CX(Xj(a,10,500),tm(a,11,600)*1E3)};g=j1c.prototype;g.compact=function(){this.notFoundIds.compact()};g.flush=function(){this.notFoundIds.clear()};g.store=function(a,b,c,d){if(!Ak(c,5))for(sX(c),b=k(b),c=b.next();!c.done;c=b.next()){var e=k(c.value);c=e.next().value;e=e.next().value;c=String(ygb(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=TLa(a).filterResult(b));return b};var k1c={ids:[],cacheKey:"",primingTimeoutMillis:0};var l1c=function(){};l1c.prototype.loadOrSkip=function(){return null};l1c.prototype.resultCount=function(){return 0};l1c.prototype.isDone=function(){return!0};var m1c=new l1c;var n1c=function(){this.prefix_="";this.terms_=[];this.format_=0;this.collector_=m1c;this.boostKey_=k1c;this.listener_=function(){}};g=n1c.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 o1c=new n1c;var p1c=function(){this.fetchDone_=Promise.resolve((new Et).setCode(0))};g=p1c.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 q1c=new p1c;var r1c=function(a){a=Array.from(new Set(a));this.primary_=a.find(function(b){return b.getCacheType()===1})||q1c;this.prefetched_=a.filter(function(b){return b.getCacheType()===2||b.getCacheType()===1});this.lazyLoaded_=a.filter(function(b){return b.getCacheType()===3})};
r1c.prototype.prefetch=function(a){var b=this,c,d,e,f,h;return se(function(l){if(l.nextAddress==1)return y(l,b.primary_.fetch(a),2);if(l.nextAddress!=3){c=l.yieldResult;if(c.getCode()!==0)return l.return(c);d=k(b.lazyLoaded_);for(e=d.next();!e.done;e=d.next())f=e.value,f.flush();h=b.prefetched_.filter(function(q){return q!==b.primary_}).map(function(q){q.flush();return q.fetch(a)});return h.length?y(l,Promise.all(h),3):l.jumpTo(3)}return l.return(c)})};
r1c.prototype.warmUpSession=function(a){var b=this;if(a.queryScope()===1)return Promise.resolve([(new Et).setProvenance(2).setCode(1)]);var c=this.prefetched_.filter(function(d){return d!==b.primary_});a.queryScope()!==2&&c.push.apply(c,t(this.lazyLoaded_));return Promise.all(c.map(function(d){return d.fetch(a)}))};
var s1c=function(a){var b=[a.primary_].concat(t(a.prefetched_.filter(function(d){return d!==a.primary_})),t(a.lazyLoaded_)).reverse();b=k(b);for(var c=b.next();!c.done;c=b.next())c.value.flush()},t1c=function(a,b){var c=[];a=k(a.prefetched_);for(var d=a.next();!d.done;d=a.next()){d=d.value;if(b.isDone()||b.isCancelled())break;b.shouldSkipCache(d.getName())||c.push.apply(c,t(d.search(b)))}return c},v1c=function(a,b,c){var d,e,f,h,l;return se(function(q){if(q.nextAddress==1){if(b.queryScope()===2)return q.return();
d=a.lazyLoaded_.filter(function(u){return!b.shouldSkipCache(u.getName())});e=d[d.length-1];f=k(d);h=f.next()}if(q.nextAddress!=3){if(h.done)return q.jumpTo(0);l=h.value;return b.isDone()||b.isCancelled()?q.return():y(q,u1c(l,b,c,e===l),3)}h=f.next();return q.jumpTo(2)})},u1c=function(a,b,c,d){var e,f;return se(function(h){if(h.nextAddress==1)return b.queryScope()===1?(e=NW((new Et).setProvenance(6).setCode(0),!1),h.jumpTo(2)):y(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);xe(h)})};var w1c=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=w1c.prototype;g.getLastUpdatedTimestamp=function(){return this.storage_.getExpiry().getTimestamp()};g.getAffinityVersion=function(){return this.storage_.getAffinityVersion()};
g.warmUpCache=function(a){x1c(this,o1c);return this.cacheWarming_&&(a||this.storage_.getExpiry().isExpired())?this.cacheWarming_:Promise.resolve(QW(PW((new OW).setSource(NW(new Et,!1).setProvenance(1).setCode(0)),FX(this)),FX(this)))};g.flushCache=function(a){switch(a){case 3:return y1c(this),this.warmUpCache(!0);case 2:return this.storage_.markAsStale(),this.warmUpCache(!0);case 1:return this.storage_.markAsStale(),Promise.resolve(new OW);default:return this.warmUpCache(!0)}};
g.warmUpSession=function(a){var b=this,c,d,e,f,h;return se(function(l){switch(l.nextAddress){case 1:c=PW(new OW,FX(b));x1c(b,a);if(!b.cacheWarming_){l.jumpTo(2);break}return y(l,b.cacheWarming_,2);case 2:return te(l,4,5),b.sessionWarming_||(b.sessionWarming_=b.prefixSearch_.warmUpSession(a)),y(l,b.sessionWarming_,7);case 7:return d=l.yieldResult,e=d.find(function(q){return q.getProvenance()===2})||(new Et).setProvenance(2).setCode(0),l.return(QW(c.setSource(e),FX(b)));case 5:ue(l);b.sessionWarming_=
null;ve(l,0);break;case 4:return f=we(l),h=f instanceof Et?f:(new Et).setProvenance(2).setCode(13),l.return(Promise.reject(QW(c.setSource(h),FX(b))))}})};
g.search=function(a){var b=this,c,d,e,f,h;return se(function(l){switch(l.nextAddress){case 1:z1c(b);te(l,2);d=FX(b);x1c(b,a);if(!a.isSuggestQuery()){l.jumpTo(4);break}if(!b.cacheWarming_){l.jumpTo(5);break}e=b.storage_.getExpiry().isExpired();if(!e){l.jumpTo(5);break}return y(l,b.cacheWarming_,7);case 7:c=l.yieldResult;case 5:if(!b.sessionWarming_){l.jumpTo(4);break}return y(l,b.sessionWarming_,4);case 4:return c||(c=QW(PW((new OW).setSource(NW(new Et,!1).setProvenance(1).setCode(0)),d),FX(b)),x1c(b,
a)),y(l,A1c(b,a,c),10);case 10:Hu(l,0);break;case 2:f=we(l);if(a.isCancelled())return l.return();f instanceof OW?c=f:(h=f instanceof Et?f:(new Et).setCode(13),QW(c.setSource(h),FX(b)));a.getListener()(new SW([],(new RW).setQuery(a.getPrefix()).setIsLastCallback(!0).setCacheState(c).setCode(c.getSource().getCode())));xe(l)}})};
var A1c=function(a,b,c){var d,e,f,h;return se(function(l){if(l.nextAddress==1){if(b.isCancelled())return l.return();d=t1c(a.prefixSearch_,b);e=(new RW).setIsLastCallback(b.isSuggestQuery()).setQuery(b.getPrefix()).setCode(c.getSource().getCode()).setCacheState(c);b.getListener()(new SW(d,e));if(e.getIsLastCallback())return l.return();f=!1;return y(l,v1c(a.prefixSearch_,b,function(q,u,A){u=(new RW).setIsLastCallback(A).setQuery(b.getPrefix()).setCode(u.getCode()).setCacheState(QW(PW((new OW).setSource(u),
Bt(c,2)),FX(a)));b.getListener()(new SW(q,u));u.getIsLastCallback()&&(f=!0)}),2)}f||b.isCancelled()||(h=(new RW).setIsLastCallback(!0).setQuery(b.getPrefix()).setCode(0).setCacheState(QW(PW((new OW).setSource((new Et).setProvenance(10).setCode(0)),Bt(c,2)),FX(a))),b.getListener()(new SW([],h)));xe(l)})};
w1c.prototype.lookup=function(a,b,c){var d=this;z1c(this);x1c(this,o1c);var e=PW(new OW,FX(this));this.lookupCache_.lookup(a,Fk(this.clientInfo_,17,1),function(f,h){e.setSource(h);QW(e,FX(d));f.getMetadata().setCacheState(e);b(f)},c)};
var x1c=function(a,b){if(a.storage_.getExpiry().isStale()&&(a.storage_.getExpiry().isExpired()&&a.storage_.getExpiry().getTimestamp()&&y1c(a),!a.cacheWarming_)){var c=FX(a);a.cacheWarming_=new Promise(function(d,e){var f,h,l,q;return se(function(u){switch(u.nextAddress){case 1:return f=PW(new OW,c),te(u,2,3),y(u,a.prefixSearch_.prefetch(b),5);case 5:h=u.yieldResult,QW(f,FX(a)).setSource(h),d(f);case 3:ue(u);a.cacheWarming_=null;ve(u,0);break;case 2:l=we(u),q=l instanceof Et?l:(new Et).setCode(13),
QW(f,FX(a)).setSource(q),e(f),u.jumpTo(3)}})})}},FX=function(a){return a.storage_.getExpiry().getStatus()},y1c=function(a){s1c(a.prefixSearch_);a.lookupCache_.flush();a.storage_.flush()},z1c=function(a){var b=FX(a)===1?1:2;a.trackers_.count(b).increment()};var B1c=function(a){this.itemResolver_=a},C1c=function(a,b,c){c=c===void 0?[]:c;var d=b.target,e=d.getName();e&&(c.push(e.getDisplayName()),c.push(e.getGivenName()),c.push(e.getFamilyName()));if(e=d.getDisplayValue())switch(d.getTargetType()){case 2:case 7:var f=c.push,h=f.apply,l=e.split(G0c).filter(Boolean),q=l.length-1;if(q>0){var u=l.join(".");l.push(l.join("-"));for(l.push(u);q>0;q--)l[q-1]+=l[q]}l.push(e);l.push(e.replace(rfb,""));e[0]==="+"&&l.push("+"+l[0]);h.call(f,c,t(l));break;default:c.push(e)}if(!c.length&&
b.memberKeys&&b.memberKeys.length&&d.getTargetType()!==10)for(b=k(b.memberKeys),d=b.next();!d.done;d=b.next())(d=DX(a.itemResolver_,d.value))&&C1c(a,d,c);return c};var D1c=new jeb,E1c=function(a,b,c){this.itemResolver_=a;this.lookupCache_=b;this.trackers_=c;this.indexer_=new B1c(a);this.trieRoots_=new Map},S0c=function(a,b,c,d){var e=(a.trieRoots_.get(c)||BX).cloneNode(b);if(b.isDone())return a.trackers_.count(120).increment(),Promise.resolve(e);var f=a.trackers_.latency(95);f.start();var h=new Promise(function(l){var q=P0c(b).map(Ss);a.lookupCache_.lookup(q,c,function(u){var A=Array.from(u.getResults().keys(),String);A=F1c(a,A);Array.prototype.push.apply(e.items_,
A);I0c(e);u.getMetadata().getIsLastCallback()&&(f.stop(),l(e))},D1c)});return Lbb(h,e,d)},G1c=function(a,b){a=F1c(a,b);return new AX(a)},F1c=function(a,b){var c=[];b=k(b);for(var d=b.next();!d.done;d=b.next()){d=d.value;var e=DX(a.itemResolver_,d);e&&(e=C1c(a.indexer_,e),c.push(new H0c(d,e)))}return c};var H1c=function(a,b){this.target_=a;this.displayName_=b;this.similarTargets_=[]};H1c.prototype.getSimilarIds=function(){return this.similarTargets_.map(function(a){return a.getId()})};
H1c.prototype.getDisambiguationLabel=function(){var a="";if(this.similarTargets_.length){var b=Mfb(this.target_.getDisplayValue());a=this.similarTargets_.some(function(d){return Mfb(d.getDisplayValue())===b});var c=this.similarTargets_.some(function(d){return Mfb(d.getDisplayValue())!==b});a=a&&c?this.target_.getDisplayValue():c?b:Nfb(this.target_.getDisplayValue())}return a};
H1c.prototype.filterResult=function(a){var b=this,c=st(this.target_.getDisplayValue());this.similarTargets_.push.apply(this.similarTargets_,t(a.getTargetList().filter(function(d){return d.getTargetType()===1&&st(d.getDisplayValue())!==c&&d.getName()&&st(d.getName().getDisplayName())===b.displayName_})));return null};H1c.prototype.reset=function(){this.similarTargets_=[]};var Ofb=/\S+@\S+\.\S+/,Pfb=/<|>|\(|\)/g;var I1c=function(){this.queryId_=0};I1c.prototype.getQueryId=function(){return this.queryId_};var J1c=function(a,b){var c=new I1c;this.cache_=a;this.queryFactory_=b;this.querySession_=c};
J1c.prototype.disambiguate=function(a,b){var c=this,d=a.getName()&&a.getName().getDisplayName()||"",e=b.getDisplayNameWithOverrideApplied()===null?d:b.getDisplayNameWithOverrideApplied()||"";return!e||a.getTargetType()!==1||e.includes(a.getDisplayValue())?Promise.resolve(new hZc("",(new gZc).setCode(0).setCacheState((new OW).setSource(NW(new Et,!1).setProvenance(8).setCode(0))))):b.getTargetCount()>25||Qfb(e,a.getDisplayValue())?Promise.resolve(new hZc(a.getDisplayValue(),(new gZc).setCode(0).setCacheState((new OW).setSource(NW(new Et,
!1).setProvenance(8).setCode(0))))):new Promise(function(f){var h=new H1c(a,st(e)),l=K1c(c.queryFactory_,e,c.querySession_,(new Is).setFilter(h).setQueryScope(b.getQueryScope()),function(q){if(q.getMetadata().getIsLastCallback()){var u=h.getDisambiguationLabel(),A=new gZc,F=h.getSimilarIds();A.similarIds_=F;f(new hZc(u,A.setCode(q.getMetadata().getCode()).setCacheState(q.getMetadata().getCacheState()||new OW)))}});c.cache_.search(l)})};var L1c=function(a){this.delegate=a};g=L1c.prototype;g.getLastUpdatedTimestamp=function(){return this.delegate.getLastUpdatedTimestamp()};g.getAffinityVersion=function(){return this.delegate.getAffinityVersion()};g.warmUpCache=function(a){return this.delegate.warmUpCache(a)};g.flushCache=function(a){return this.delegate.flushCache(a)};g.warmUpSession=function(a){var b=this;return se(function(c){return c.return(b.delegate.warmUpSession(a))})};g.search=function(a){var b=this;return se(function(c){return c.return(b.delegate.search(a))})};
g.lookup=function(a,b,c){this.delegate.lookup(a,b,c)};var M1c=function(){this.delegate=exc};M1c.prototype.filterResult=function(a){return this.delegate.filterResult(a)};M1c.prototype.reset=function(a){this.delegate.reset(a)};var N1c=function(a,b){a.delegate=b!=null?b:exc};var O1c=function(a){this.delegate=a};g=O1c.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 P1c=function(a,b){this.delegate_=a;this.limit_=b;this.count_=0};P1c.prototype.loadOrSkip=function(a){a=this.delegate_.loadOrSkip(a);if(!a)return null;this.count_++;return a};P1c.prototype.resultCount=function(){return this.count_};P1c.prototype.isDone=function(){return this.count_>=this.limit_||this.delegate_.isDone()};var Q1c=function(a,b,c,d){this.delegate=a;var e=this;this.isLastSlot=d;d=a.getCollector();c.limit>0&&(d=new P1c(d,c.limit));this.collector=d;this.listener=function(h){var l=h.getMetadata();l.getIsLastCallback()&&l.setIsLastCallback(e.isLastSlot);e.delegate.getListener()(h)};d=[];c.filter&&(d.push(c.filter),c.filter.reset(a.getPrefix()));b&&d.push(b);this.resultFilter=d.length?VLa.apply(null,t(d)):null;var f;this.scope=(f=c.scope)!=null?f:a.queryScope()};Y(Q1c,O1c);g=Q1c.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 R1c=function(a,b,c,d){this.delegate=a;this.slots=b;this.filterInterceptor=c;this.originalFilter=d};Y(R1c,L1c);
R1c.prototype.search=function(a){var b=this,c,d,e,f,h,l;return se(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(u){return!c.has(u.visibility)}),e=d.map(function(u,A){return new Q1c(a,b.originalFilter,u,A===d.length-1)}),f=k(e),h=f.next();case 2:if(h.done){q.jumpTo(4);break}l=h.value;if(a.isCancelled()||a.isDone()){q.jumpTo(4);break}N1c(b.filterInterceptor,l.getResultFilter());return y(q,b.delegate.search(l),
3);case 3:h=f.next();q.jumpTo(2);break;case 4:return q.return()}})};var S1c=function(a,b,c){this.delegate=a;var d=this;this.query_=b;this.terms_=sfb([b]);this.id_=$s(b);this.listener_=function(e){var f=e.getResults().map(function(h){if(d.id_.equals(h.getPrimaryTarget().getId())&&h.getDisplayName()!==c){var l=(new dfb).setDisplayName(c),q=h.getPrimaryTarget();h=QLa(h,new cxc(q,l))}return h});e=new SW(f,e.getMetadata());a.getListener()(e)}};Y(S1c,O1c);S1c.prototype.getPrefix=function(){return this.query_};S1c.prototype.getTerms=function(){return this.terms_};
S1c.prototype.getListener=function(){return this.listener_};var T1c=function(a,b,c){this.cache_=a;this.queryFactory_=b;this.querySession_=new I1c;this.clientInfo_=c};g=T1c.prototype;g.warmUpSession=function(a){a=K1c(this.queryFactory_,"",this.querySession_,a,function(){});return this.cache_.warmUpSession(a)};g.suggest=function(a,b){a=K1c(this.queryFactory_,"",this.querySession_,b,a);this.cache_.search(a)};
g.search=function(a,b,c){a=K1c(this.queryFactory_,a,this.querySession_,c,b);Ak(this.clientInfo_,28,!1)&&(b=a.getPrefix(),b.includes("<")&&(c=Ns(b),c.isValid()||(c=Ns(b+">")),a=c.isValid()&&c.getName()?new S1c(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("Qf");};g.getSessionState=function(){throw Error("Qf");};g.getHide=function(){throw Error("Qf");};var U1c=function(a,b,c){var d=this;this.cache_=a;this.queryFactory_=b;this.clientInfo_=c;this.getSessionCache_=Ak(c,34,!1)?function(e){var f=d.cache_,h=e.slots_;if(h.length){var l=e.getFilter(),q=new M1c;e.setFilter(q);e=new R1c(f,h,q,l)}else e=f;return e}:function(){return d.cache_}};g=U1c.prototype;g.warmUpCache=function(){return this.cache_.warmUpCache(!1)};g.flushCache=function(a){this.cache_.flushCache(a)};g.lookup=function(a,b,c){this.cache_.lookup(a,b,c)};
g.disambiguate=function(a,b){return(new J1c(this.cache_,this.queryFactory_)).disambiguate(a,b)};g.beginSession=function(a){a=this.getSessionCache_(a);return new T1c(a,this.queryFactory_,this.clientInfo_)};var V1c=function(){};g=V1c.prototype;g.getCacheType=function(){return 3};g.flush=function(){};g.fetch=function(){return se(function(a){return a.return(NW(new Et,!1).setProvenance(12).setCode(0))})};g.index=function(){};g.search=function(a){return a.isEmailAddress()?(a=a.getCollector().loadOrSkip(String($s(a.getPrefix()))))?[a]:[]:[]};g.getName=function(){};var W1c=function(){};W1c.prototype.configure=function(a){var b=a.prefixCaches;Ak(a.clientConfig.getClient(),21,!1)&&b.push(new V1c)};var X1c=function(a,b,c,d,e,f,h,l){this.delegate_=a;this.prefix_=b;this.terms_=c;this.collector_=d;this.boostKey_=e;this.filter_=h;this.listener_=Rfb(this,f);this.isEmailAddress_=null;this.selectedCustomProviderNames_=l?new Set(l):null};g=X1c.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_=Nwc(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 Y1c=function(a,b,c){this.format_=a;this.querySession_=b;this.queryScope_=c;this.id_=++this.querySession_.queryId_};Y1c.prototype.getFormat=function(){return this.format_};Y1c.prototype.isCancelled=function(){return this.querySession_.getQueryId()!==this.id_};Y1c.prototype.queryScope=function(){return this.queryScope_};var GX=function(){this.foundKeys_=new Set};Y(GX,dxc);GX.prototype.shouldRemove=function(a){return this.foundKeys_.has(String(a.getId()))};GX.prototype.has=function(a){return this.foundKeys_.has(a)};GX.prototype.add=function(a){this.foundKeys_.add(a)};GX.prototype.reset=function(){this.foundKeys_.clear()};var Z1c=function(a){this.delegate_=a;this.filter_=new GX};Z1c.prototype.loadOrSkip=function(a){if(this.filter_.has(a))return null;a=this.delegate_.loadOrSkip(a);if(!a)return null;a=this.filter_.filterResult(a);if(!a)return null;for(var b=k(a.getTargetList()),c=b.next();!c.done;c=b.next())this.filter_.add(String(c.value.getId()));return a};Z1c.prototype.resultCount=function(){return this.delegate_.resultCount()};Z1c.prototype.isDone=function(){return this.delegate_.isDone()};var $1c=function(a,b,c){this.delegate_=a;this.filter_=b;this.filter_.reset(c)};$1c.prototype.loadOrSkip=function(a){a=this.delegate_.loadOrSkip(a);return a?(a=this.filter_.filterResult(a))&&a.getTargetList().length?a:null:null};$1c.prototype.resultCount=function(){return this.delegate_.resultCount()};$1c.prototype.isDone=function(){return this.delegate_.isDone()};var a2c=function(a,b){this.storage_=a;this.format_=b};a2c.prototype.loadOrSkip=function(a){return this.storage_.load(a,this.format_)||null};a2c.prototype.resultCount=function(){return 0};a2c.prototype.isDone=function(){return!1};var b2c=[198,230,306,307,338,339],c2c=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)"+Bj(b),"g")})},Sfb=function(a,b){var c=[];if(!b||!a.matchers_.length)return c;var d=st(b),e=d.indexOf("@"),f=e<0?-1:d.indexOf(".",e);a=k(a.matchers_);for(var h=a.next();!h.done;h=a.next()){h=h.value;h.lastIndex=0;for(var l=h.exec(d);l;l=
h.exec(d)){l=l.index;if((e>0||e===0&&f>e)&&l>e)break;c.push([l,h.lastIndex])}}c.sort(function(q,u){return q[0]-u[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++):b2c.includes(a)&&e.push(f);b=k(c);for(f=b.next();!f.done;f=b.next()){f=f.value;a=k(d);for(h=a.next();!h.done;h=a.next())h=h.value,h<f[0]&&f[0]++,h<f[1]&&f[1]++;a=k(e);for(h=a.next();!h.done;h=
a.next())h=h.value,h<f[0]&&f[0]--,h<f[1]&&f[1]--}}return c};var Tfb=function(a,b){this.start_=a;this.end_=b};Tfb.prototype.getStart=function(){return this.start_};Tfb.prototype.getEnd=function(){return this.end_};var Ufb=function(a,b,c){this.displayNameMatches_=a;this.displayValueMatches_=b;this.givenNameMatches_=c};Ufb.prototype.getDisplayNameMatches=function(){return this.displayNameMatches_};Ufb.prototype.getDisplayValueMatches=function(){return this.displayValueMatches_};Ufb.prototype.getGivenNameMatches=function(){return this.givenNameMatches_};var d2c=function(a,b){this.delegate_=a;this.matcher_=b;this.memberList_=a.getMemberList().map(function(c){return new d2c(c,b)});this.matchInfo_=null};Y(d2c,QK);d2c.prototype.getMemberList=function(){return this.memberList_};d2c.prototype.getMatchInfo=function(){if(!this.matchInfo_){var a,b=((a=this.getDelegate().getPrimaryTarget().getName())==null?void 0:a.getGivenName())||"";this.matchInfo_=Vfb(this.matcher_,this.getDelegate().getDisplayName(),this.getDelegate().getDisplayValue(),b)}return this.matchInfo_};var e2c=function(a,b){this.delegate_=a;this.matcher_=new c2c(b)};e2c.prototype.loadOrSkip=function(a){return(a=this.delegate_.loadOrSkip(a))?new d2c(a,this.matcher_):null};e2c.prototype.resultCount=function(){return this.delegate_.resultCount()};e2c.prototype.isDone=function(){return this.delegate_.isDone()};var f2c=function(a){var b=new Ifb;this.delegate=a;this.placeholderFactory=b};f2c.prototype.loadOrSkip=function(a){var b;return(b=this.delegate.loadOrSkip(a))!=null?b:this.placeholderFactory.createFromLookupId(Ss(a))};f2c.prototype.resultCount=function(){return this.delegate.resultCount()};f2c.prototype.isDone=function(){return this.delegate.isDone()};var g2c=/\s+/g,h2c=function(a,b){this.clientInfo_=a;this.storage_=b},K1c=function(a,b,c,d,e){var f=sfb([b]);b=(b||"").replace(g2c," ").trim();var h=!f.length;var l=a.clientInfo_;l=h?d.getSuggestFormat()||l.getSuggestFormat():d.getSearchFormat()||l.getSearchFormat();var q=a.clientInfo_;h=h?d.getSuggestMaxResults()||q.getSuggestMaxResults():d.getSearchMaxResults()||q.getSearchMaxResults();var u=d.boostIds_;q=d.primingTimeoutMillis_;if(u.length){u=u.map(String);var A=Heb(u)+":"+u.length;q={ids:u,cacheKey:A,
primingTimeoutMillis:q}}else q=k1c;u=d.getFilter();A=b;var F=new a2c(a.storage_,l);Ak(a.clientInfo_,21,!1)&&Nwc(A)&&(F=new f2c(F));u&&(F=new $1c(F,u,A));F=new Z1c(F);F=new P1c(F,h);a=f.length?new e2c(F,f):F;h=d.getQueryScope();c=new Y1c(l,c,h);return new X1c(c,b,f,a,q,e,u,d.selectedCustomProviderNames_)};var i2c=function(a){this.fetcher=a};i2c.prototype.getStageType=function(){return 2};i2c.prototype.lookup=function(a){var b=this,c,d,e,f,h,l,q,u,A;return se(function(F){switch(F.nextAddress){case 1:c=Xfb(h1c(a)),d=k(c),e=d.next();case 2:if(e.done){F.jumpTo(4);break}f=e.value;h=k(f);l=h.next().value;q=h.next().value;u=l;A=q;if(!u){F.jumpTo(3);break}return y(F,b.fetcher.fetch(A,u,a.getFormat(),function(H,N){a.notify(H,[],N)},a.getOptions()),3);case 3:e=d.next();F.jumpTo(2);break;case 4:return F.return()}})};var j2c=function(a,b){this.delegate=a;this.maxLookupChunkSize=l_c(b)};j2c.prototype.fetch=function(a,b,c,d,e){var f=this,h,l,q;return se(function(u){switch(u.nextAddress){case 1:var A=f.maxLookupChunkSize;if(a.length)if(a.length<=A)A=[a];else{for(var F=[],H=0;H<a.length;H+=A){var N=a.slice(H,H+A);N.length&&F.push(N)}A=F}else A=[];h=k(A);l=h.next();case 2:if(l.done){u.jumpTo(4);break}q=l.value;return y(u,f.delegate.fetch(q,b,c,d,e),3);case 3:l=h.next();u.jumpTo(2);break;case 4:return u.return()}})};var k2c=function(a){this.qos=a};k2c.prototype.getIndex=function(){return String(this.qos)};var l2c=new k2c(1),m2c=new k2c(2);var n2c=function(a,b,c){this.trackers=a;this.loader=b;this.indexer=c};
n2c.prototype.fetch=function(a,b,c,d,e){var f=this,h,l,q,u,A,F,H,N,O,T,ea;return se(function(ka){switch(ka.nextAddress){case 1:return h=b===3?4:3,l=NW((new Et).setProvenance(h),!0).setCode(0),te(ka,2),y(ka,f.loader.loadLookupItems(b,a.map(function(oa){return oa.getOriginalValue()}),m2c),4);case 4:q=ka.yieldResult;q.metadata.getCode()&&l.setCode(q.metadata.getCode());u=e.getQueryScope()===3;try{f.indexer.store(b,q.data,q.metadata,u)}catch(oa){f.trackers.error(21,10).report(),l.setCode(13)}Hu(ka,3);
break;case 2:A=we(ka),F=Number(A),l.setCode(isFinite(F)&&F?F:13);case 3:H=new Map;N=k(a);for(O=N.next();!O.done;O=N.next())T=O.value,(ea=f.indexer.load(T,c,e.getUseOriginalDisplayValue()))&&H.set(T,ea);d(H,l);return ka.return()}})};var o2c=function(a){this.indexer=a};o2c.prototype.getStageType=function(){return 1};o2c.prototype.lookup=function(a){var b=this,c,d,e,f,h,l;return se(function(q){c=new Map;d=[];e=k(h1c(a));for(f=e.next();!f.done;f=e.next())if(h=f.value,l=b.indexer.load(h,a.getFormat(),a.getOptions().getUseOriginalDisplayValue()))c.set(h,l);else{var u=b.indexer;(Ywc(h)?u.notFoundIds.get(String(h)):1)&&d.push(h)}a.notify(c,d,NW((new Et).setProvenance(6),!1).setCode(0));return q.return()})};var p2c=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"),q2c=function(a,b,c,d,e){this.loader_=a;this.ranker_=b;this.trieFactory_=c;this.storage_=d;this.indexes_=CX(Xj(e,8,250),tm(e,9,3600)*1E3);this.notFound_=CX(Xj(e,10,500),tm(e,11,600)*1E3)};g=q2c.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 se(function(f){switch(f.nextAddress){case 1:c=NW(new Et,!0).setProvenance(2).setCode(0);if(a.isSuggestQuery())return b.loader_.warmUpServer(l2c).catch(function(){}),f.return(c);if(b.canSkipFetch_(a))return f.return(NW(c,!1));te(f,2);return y(f,b.loader_.loadAutocompleteItems(a,m2c),4);case 4:d=f.yieldResult;Hu(f,3);break;case 2:return e=we(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(!Ak(c,5))if(sX(c),b.length){c=q_c(this.ranker_,b,1);var d=a.queryScope()===3;this.storage_.storeItems(1,b,d);b=G1c(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(p2c))break;if(this.notFound_.has(c))return!0}return!1};g.getName=function(){};var r2c=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=r2c.prototype;g.getCacheType=function(){return 1};g.flush=function(){this.indexes_.clear()};
g.fetch=function(a){var b=this,c,d,e,f;return se(function(h){switch(h.nextAddress){case 1:return c=NW(new Et,!0).setProvenance(1).setCode(0),d=b.storage_.getExpiry().isExpired()?m2c:l2c,te(h,2),y(h,b.loader_.loadRankedItems(d),4);case 4:e=h.yieldResult;Hu(h,3);break;case 2:return f=we(h),h.return(c.setCode(isFinite(f)?f:13));case 3:try{b.index(a,e.data,e.metadata)}catch(l){c.setCode(13)}return h.return(c)}})};
g.search=function(a){return a.isSuggestQuery()||a.getTerms().length?(this.indexes_.get(a.getFormat())||BX).search(a.getTerms()).getMatches(a.getCollector()):[]};g.index=function(a,b,c){if(!Ak(c,5)){sX(c);a=this.coalescedSortOrder_!==1?q_c(this.ranker_,b,this.coalescedSortOrder_):null;var d=q_c(this.ranker_,b,1);this.storage_.flush();this.storage_.storeItems(1,b);this.storage_.markAsFresh(c);b=G1c(this.trieFactory_,d);c=a?G1c(this.trieFactory_,a):b;this.indexes_.set(1,b);this.indexes_.set(2,c)}};
g.getName=function(){};var s2c=new T0c(27,32,33),t2c=new T0c(24,23,20);var u2c=function(){};u2c.prototype.configure=function(a){var b=a.trackers,c=a.storage,d=a.indexer,e=a.loader,f=a.trieFactory,h=a.prefixCaches,l=a.lookupStages,q=a.loaderFactory.ranker_,u=a.clientConfig.getClient();if(u.getCacheSize()>0){var A=Fk(u,19,1);A=new r2c(e,q,f,c,A);A=new EX(A,b,t2c);h.push(A)}l.push(new o2c(d));u.getSearchMaxResults()>0&&(c=new q2c(e,q,f,c,u),b=new EX(c,b,s2c),h.push(b));h=new n2c(a.trackers,a.loader,a.indexer);h=new j2c(h,a.clientConfig);l.push(new i2c(h))};var v2c=function(a){this.delegate=a};g=v2c.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 w2c=function(a){this.delegate=a};g=w2c.prototype;g.warmUpCache=function(){return this.delegate.warmUpCache()};g.flushCache=function(a){this.delegate.flushCache(a)};g.disambiguate=function(a,b){return this.delegate.disambiguate(a,b)};g.lookup=function(a,b,c){this.delegate.lookup(a,b,c)};g.beginSession=function(a){return this.delegate.beginSession(a)};var x2c=function(a,b,c){this.idType_=a;this.id_=b;this.options_=c};x2c.prototype.getId=function(){return this.id_};x2c.prototype.getIndex=function(){return this.getId()+":"+this.idType_+":"+this.options_.getIndex()};var y2c=function(a,b,c){this.idType_=a;this.ids_=b;this.options_=c};g=y2c.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 x2c(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;return this};g.clone=function(){var a=this.getIdType(),b=this.getIds(),c=this.getOptions();return new y2c(a,b,c)};var z2c=function(a,b){this.ids_=new Set(b.getIds());this.parameters_=b.clone();this.loader_=a;this.resolver_=new iWc;this.isSent_=!1};z2c.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)}};z2c.prototype.promise=function(){return this.resolver_.promise};
z2c.prototype.merge=function(a,b){var c;(c=this.isSent_)||(c=this.parameters_,c=!(a.getIdType()===c.getIdType()&&a.getOptions()===c.getOptions()));if(c||a.getIds().length+this.ids_.size>b)return!1;a=k(a.getIds());for(b=a.next();!b.done;b=a.next())this.ids_.add(b.value);return!0};var A2c=function(a,b,c){this.delegate_=a;this.batchedRequest_=null;this.tracker_=b;this.maxRequestSize_=l_c(c);this.lastRequestCreationTime_=0};
A2c.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 z2c(this.delegate_,a);a=Date.now();var d=a-this.lastRequestCreationTime_;this.lastRequestCreationTime_=a;mr(function(){c===b.batchedRequest_&&(c.send(),b.batchedRequest_=null)},d>30?0:30)}return this.batchedRequest_.promise()};var B2c=function(a,b){this.delegate_=a;this.inflightRequests_=L0c();this.tracker_=b};
B2c.prototype.load=function(a){for(var b=this,c=new Set,d=[],e=k(a.getKeys()),f=e.next();!f.done;f=e.next()){f=f.value;var h=f.getIndex();this.inflightRequests_.has(h)?c.add(this.inflightRequests_.get(h)):d.push(f.getId())}d.length===a.getKeys().length?this.tracker_.count(93).increment():d.length?this.tracker_.count(92).increment():this.tracker_.count(91).increment();if(d.length){var l=a.clone().setIds(d);var q=new z2c(this.delegate_,l);q.send();c.add(q);a=k(l.getKeys());for(d=a.next();!d.done;d=
a.next())this.inflightRequests_.set(d.value.getIndex(),q);q.promise().catch(function(){}).finally(function(){for(var u=k(l.getKeys()),A=u.next();!A.done;A=u.next())b.inflightRequests_.delete(A.value.getIndex())})}c=Array.from(c);return Promise.all(c.map(function(u){return u.promise()})).then(function(u){return q?q.promise().then(function(A){return Yfb(u,A.metadata)}):Yfb(u)})};var C2c=function(a){this.peopleLoader_=a};C2c.prototype.load=function(a){return this.peopleLoader_.loadLookupItems(a.getIdType(),a.getIds(),a.getOptions())};var D2c=function(a,b,c){this.peopleLoader_=a;this.gatedLoaders_=new Map;this.tracker_=b;this.clientConfig_=c};D2c.prototype.load=function(a){if(!this.gatedLoaders_.has(a.getIdType())){var b=new C2c(this.peopleLoader_);b=new A2c(b,this.tracker_,this.clientConfig_);b=new B2c(b,this.tracker_);this.gatedLoaders_.set(a.getIdType(),b)}return this.gatedLoaders_.get(a.getIdType()).load(a)};var E2c=function(a,b,c){this.delegate_=a;this.trackers_=b;this.searchRequests_=new Map;this.lookupLoader_=new D2c(this.delegate_,this.trackers_,c)},F2c=function(a,b,c,d){var e,f;return se(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);fha(h,2);return y(h,f,4)}if(h.nextAddress!=2)return h.return(h.yieldResult);ue(h);a.searchRequests_.delete(e);return ve(h,0)})};
E2c.prototype.loadRankedItems=function(a){var b=this;return F2c(this,81,"",function(){return b.delegate_.loadRankedItems(a)})};E2c.prototype.warmUpServer=function(a){var b=this;return F2c(this,82,"",function(){return b.delegate_.warmUpServer(a)})};E2c.prototype.loadAutocompleteItems=function(a,b){var c=this;return F2c(this,82,a.getPrefix(),function(){return c.delegate_.loadAutocompleteItems(a,b)})};E2c.prototype.loadLookupItems=function(a,b,c){return this.lookupLoader_.load(new y2c(a,b,c))};var G2c=function(){return Date.now()},H2c=function(a,b,c){this.delegate_=a;this.nowFn_=c;this.cacheFlushRateMillis_=tm(b.getClient(),14,300)*1E3;this.serverWarmupRateMillis_=tm(b.getClient(),13,60)*1E3;this.lastServerWarmup_=this.lastCacheFlush_=0};H2c.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)};
H2c.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)};H2c.prototype.loadAutocompleteItems=function(a,b){return this.delegate_.loadAutocompleteItems(a,b)};H2c.prototype.loadLookupItems=function(a,b,c){return this.delegate_.loadLookupItems(a,b,c)};var I2c=function(a,b,c){this.delegate_=a;this.listener_=b;this.options_=c;this.delegate_.warmUpSession(c)};g=I2c.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?sXc:a;return this.delegate_.getReporter(a)};g.getHide=function(){return this.delegate_.getHide()};var J2c=function(a,b){this.delegate_=a;this.members_=b;this.totalMemberCount_=Vwc(a.getPrimaryTarget().getId())?b.length:a.getTotalMemberCount()};Y(J2c,QK);J2c.prototype.getMemberList=function(){return this.members_};J2c.prototype.getTotalMemberCount=function(){return this.totalMemberCount_};var K2c=function(a,b){this.filter_=a;this.filterEmptyExplodingGroups_=b};K2c.prototype.filterResult=function(a){var b=this;if(!Vwc(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 xq(new J2c(a,c))};K2c.prototype.reset=function(a){this.filter_.reset(a)};
var Zfb=function(a,b){this.filter_=VLa(a,new K2c(a,b))};Zfb.prototype.filterResult=function(a){return this.filter_.filterResult(a)};Zfb.prototype.reset=function(a){this.filter_.reset(a)};var L2c=function(a){this.delegate_=a};g=L2c.prototype;g.warmUpCache=function(){return this.delegate_.warmUpCache().then(function(){return Promise.resolve()},function(a){var b=2;a instanceof OW&&(a=a.getSource())&&(b=a.getCode());return Promise.reject(b)})};g.flushCache=function(a){this.delegate_.flushCache(a)};g.disambiguate=function(a,b){b=b===void 0?new MW:b;return this.delegate_.disambiguate(a,b)};
g.lookup=function(a,b,c){c=c===void 0?new jeb:c;c.setFilter($fb(c.getFilter(),!0));this.delegate_.lookup(a,b,c);return this};g.beginSession=function(a,b){b=b===void 0?new Is:b;b=b.clone();b.setFilter($fb(b.getFilter(),b.filterEmptyExplodingGroups_));var c=this.delegate_.beginSession(b);return new I2c(c,a,b)};var M2c=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]]),N2c=new Map([[2,13],[3,6]]),O2c=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 fgb=new Map([[1,1],[2,3],[3,5]]),P2c=new Map([[1,2],[2,4],[3,5],[4,8],[6,15],[7,19],[12,21],[10,20]]),Q2c=new Map([[1,2],[2,9],[3,6],[4,6],[6,15],[7,19],[12,21],[10,20]]),R2c=function(a,b){this.logContext_=kgb(a,b)};g=R2c.prototype;g.getLogContext=function(){return this.logContext_};
g.createCountMetric=function(a,b,c){var d=b.source();S2c(d,a);var e=egb(d);switch(d.getEventType()){case 1:d=e.setCount;b=Fk(b.source(),4,0);var f=new tX;f.setType(b);f.setValue(c);d.call(e,f);e.setEventType(1);break;case 4:case 5:c=e.setRpcRequest;b=Fk(b.source(),3,0);d=new vX;d.setLabel(b);c.call(e,d);e.setEventType(4);break;case 6:case 7:c=e.setApiCall;b=b.source();d=Fk(b,2,0);f=new $_c;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();S2c(d,a);var e=egb(d);switch(d.getEventType()){case 4:case 5:d=e.setRpcResponse;var f=b.source(),h=Fk(f,3,0);var l=Fk(f,13,0)||0;l=N2c.get(l)||M2c.get(c)||0;var q=lO(b,"blocked"),u=lO(b,"network"),A=lO(b,"processed");b=new e0c;b.setLabel(h);b.setStatus(l);b.setBlockedUsec(q);b.setLatencyUsec(u);Xk(b,9,A);b.setStatusCode(c);Xj(f,12,0)&&(c=Xj(f,12,0),Xk(b,6,c));d.call(e,b);e.setEventType(5);break;case 6:case 7:d=e.setApiResult;h=b.source();l=Fk(h,
2,0);f=new b0c;f.setLabel(l);f.setStatusCode(c);h.hasItemCount()&&f.setItemCount(h.getItemCount());h.hasQueryLength()&&f.setQueryLength(h.getQueryLength());h.hasLookupInfo()&&f.setLookupInfo(h.getLookupInfo());h.hasQueryScope()&&f.setQueryScope(h.getQueryScope());c===0&&(b=lO(b,"total"),f.setLatencyUsec(b));c=O2c.get(c)||0;f.setStatus(c);c=h.getResultIndex();f.setResultIndex(c);if(b=h.getCacheState())c=ggb(nt(b,2)),gl(f,5,c),c=ggb(nt(b,3)),gl(f,6,c),c=f.setDataSource,h=b.getSource(),b=!Ak(h,1),h=
h.getProvenance(),b=(b?Q2c.get(h):P2c.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();S2c(c,a);if(c.getEventType()!==2)return null;var d=egb(c);d.setClientInterface(a);a=d.setLatency;var e=Fk(b.source(),5,0);b=lO(b,"total");var f=new d0c;f.setType(e);f.setLatencyUsec(b);a.call(d,f);d.setEventType(c.getEventType());return d};
g.createErrorMetric=function(a,b){var c=b.source();S2c(c,a);if(c.getEventType()!==3)return null;var d=egb(c);d.setClientInterface(a);a=d.setError;var e=b.source();b=e.getErrorType();e=Fk(e,7,0);var f=new uX;f.setType(b);gl(f,4,e);a.call(d,f);d.setEventType(c.getEventType());return d};var S2c=function(a,b){var c,d,e;a=(c=W(a,xt,18))==null?void 0:(d=c.getSessionState())==null?void 0:(e=d.getSources())==null?void 0:Bt(e,4);a!=null&&(b.setEventSource(a),b.setEventSourceId(a))};var T2c=function(a,b){this.delegate_=a;this.trackers_=b};g=T2c.prototype;g.reportDisplay=function(a){this.delegate_.reportDisplay(a)};g.reportSelect=function(a,b){b=b===void 0?new tXc: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();U2c(this)};
g.reportSave=function(a){this.delegate_.reportSave(a);U2c(this)};g.reportSecondaryAction=function(a){this.delegate_.reportSecondaryAction(a);U2c(this)};g.reportSend=function(a){this.delegate_.reportSend(a);U2c(this)};var U2c=function(a){a=a.trackers_;var b=a.api,c=new it;kt(c.setEventType(6),3);b.call(a,c).call()};var lgb=function(a,b){this.delegate_=this.delegate=a;this.trackers_=b};Y(lgb,v2c);
lgb.prototype.suggest=function(a,b){var c=this;try{var d=!1,e=!1,f=this.trackers_.api(Yeb(b.getQueryScope()));f.call();this.delegate_.suggest(function(h){var l=h.getMetadata(),q=l.getCacheState();f.source.setCacheState(q);f.source.setItemCount(h.getResults().length);f.result(q.getSource().getCode());l.getIsFirstCallback()&&(d&&l.getCode()===0&&c.trackers_.error(22,19,f.source).report(),d=!0);l.getIsLastCallback()&&(e&&l.getCode()===0&&c.trackers_.error(22,20,f.source).report(),e=!0);l=c.trackers_.latency(90,
f.source);l.start();try{a(h)}catch(u){throw c.trackers_.error(22,11,f.source).report(),u;}finally{l.stop()}},b)}catch(h){throw this.trackers_.error(22,1).report(),h;}};
lgb.prototype.search=function(a,b,c){var d=this;try{var e=!1,f=!1,h=this.trackers_.api(Xeb(a,c.getQueryScope()));h.call();this.delegate_.search(a,function(l){var q=l.getMetadata(),u=q.getCacheState();h.source.setCacheState(u);h.source.setItemCount(l.getResults().length);h.result(u.getSource().getCode());q.getIsFirstCallback()&&(e&&q.getCode()===0&&d.trackers_.error(23,19,h.source).report(),e=!0);q.getIsLastCallback()&&(f&&q.getCode()===0&&d.trackers_.error(23,20,h.source).report(),f=!0);q=d.trackers_.latency(91,
h.source);q.start();try{b(l)}catch(A){throw d.trackers_.error(23,11,h.source).report(),A;}finally{q.stop()}},c)}catch(l){throw this.trackers_.error(23,1).report(),l;}};lgb.prototype.getReporter=function(a){a=this.delegate_.getReporter(a);return new T2c(a,this.trackers_)};var V2c=function(a,b){this.delegate_=this.delegate=a;a=this.trackers_=b;b=a.api;var c=new it;kt(c.setEventType(6),1);b.call(a,c).call()};Y(V2c,w2c);g=V2c.prototype;
g.warmUpCache=function(){var a=this,b=this.trackers_.api(Ueb());b.call();return this.delegate_.warmUpCache().then(function(c){b.source.setCacheState(c);b.result(c.getSource().getCode());return c},function(c){c instanceof OW?(b.source.setCacheState(c),b.result(c.getSource().getCode())):(a.trackers_.error(17,1).report(),c=(new OW).setSource((new Et).setCode(2)));return Promise.reject(c)})};
g.flushCache=function(a){var b=this.trackers_,c=b.api;switch(a){case 3:var d=12;break;case 2:case 1:d=4;break;default:d=10}var e=new it;kt(e.setEventType(6),d);b=c.call(b,e);b.call();try{this.delegate_.flushCache(a),b.result(0)}catch(f){throw this.trackers_.error(57,1).report(),f;}};
g.lookup=function(a,b,c){var d=this;try{var e=!1,f=!1,h=this.trackers_.api(Teb(a,c.getQueryScope()));h.call();this.delegate_.lookup(a,function(l){var q=l.getMetadata(),u=q.getCacheState();h.source.setCacheState(u);h.source.setItemCount(l.getResults().size);for(var A=0,F=0,H=0,N=0,O=k(l.getResults().keys()),T=O.next();!T.done;T=O.next()){T=T.value;Rwc.includes(T.getType())?A++:Swc.includes(T.getType())?F++:Twc.includes(T.getType())&&H++;var ea=void 0;((ea=l.getResults().get(T))==null?0:ea.getDisplayName())&&
N++}O=T=ea=0;for(var ka=k(q.notFoundIdList_),oa=ka.next();!oa.done;oa=ka.next())oa=oa.value,Rwc.includes(oa.getType())?ea++:Swc.includes(oa.getType())?T++:Twc.includes(oa.getType())&&O++;ka=h.source.getMutableLookupInfo();A=dl(ka,2,A);F=dl(A,1,F);H=dl(F,3,H);H=dl(H,5,ea);H=dl(H,4,T);H=dl(H,6,O);dl(H,14,N);h.result(u.getSource().getCode());q.getIsFirstCallback()&&(e&&q.getCode()===0&&d.trackers_.error(8,19).report(),e=!0);q.getIsLastCallback()&&(f&&q.getCode()===0&&d.trackers_.error(8,20).report(),
f=!0);q=d.trackers_.latency(89);q.start();try{b(l)}catch(La){throw d.trackers_.error(8,11).report(),La;}finally{q.stop()}},c)}catch(l){throw this.trackers_.error(8,1).report(),l;}};g.disambiguate=function(a,b){var c=this.trackers_.api(Web());c.call();return this.delegate_.disambiguate(a,b).then(function(d){var e=d.getMetadata().getCacheState();c.source.setCacheState(e);c.result(e.getSource().getCode());return d})};
g.beginSession=function(a){this.trackers_.api(Veb()).call();var b=this.delegate_.beginSession(a);return mgb(b,C0c(this.trackers_,new z0c(function(){return b.getSessionState()})))};var W2c=function(a,b){this.clearcut_=a;this.logEventFactory_=b};W2c.prototype.report=function(a){var b=WBc(this.clearcut_);a=this.logEventFactory_.eventsFactory_.create(b,a);a=k(a);for(b=a.next();!b.done;b=a.next())XBc(this.clearcut_,b.value)};var X2c=function(a){this.clearcut_=a};X2c.prototype.report=function(a){this.clearcut_.report(a)};var Y2c=function(a){this.writer_=a};var Z2c=function(){};Z2c.prototype.create=function(a,b,c){var d=cgb(b),e=new LBc;X(e,agb,3,d);c!==7&&b.hasQuery()&&(d=b.getQuery(),c===2&&e.setQuery(d),e.setQueryLength(d.length));var f=new MBc;d=VPa(tm(b,9,0)-tm(b,8,0));dl(f,2,d);d=new rO;X(d,LBc,1,e);X(d,MBc,6,f);e=new KBc;if(f=Qk(b,6,0)){Xk(e,3,f*1E3);var h=(Date.now()-f)*1E3;Xk(e,2,h)}cl(e,1,!!f);X(d,KBc,3,e);d.setAffinityVersion(b.getAffinityVersionOrUndefined());b=new OBc;b.setEventType(c);b.setMetadata(d);b.setClientInterface(a.clone());return b};var $2c=function(){};$2c.prototype.extractPersonEventSource=function(a){return nt(ngb(a),4)};$2c.prototype.extractFieldEventSource=function(a){return nt(ngb(a),3)};var a3c=function(){};a3c.prototype.extractPersonEventSource=function(a){var b=a.getSources()||new At;return(a.getQuery()||"").length?nt(b,2):nt(b,4)};a3c.prototype.extractFieldEventSource=function(a){var b=a.getSources()||new At;return(a.getQuery()||"").length?nt(b,1):nt(b,3)};var b3c=function(){};b3c.prototype.extractPersonEventSource=function(a){return nt(ogb(a),4)};b3c.prototype.extractFieldEventSource=function(a){return nt(ogb(a),3)};var qgb=new Set([8]);var c3c=function(a,b,c){this.defaultTokenGroups_=a;this.additionTokenGroups_=b;this.replacementTokenGroups_=c};var d3c=new Map([[1,11],[2,12],[0,0]]),e3c=function(){};e3c.prototype.write=function(a,b,c){var d=new mO;dl(d,1,c);c=new nO;c.setPosition(d);c.setExistingSelectionsCount(b.getExistingSelectionsCount());X(a,nO,8,c);b=d3c.get(b.getContext());op(a,3,[b])};var f3c=new Map([[1,5],[2,4],[3,6],[7,13]]),g3c=function(){};g3c.prototype.write=function(a,b,c,d){var e=new mO;dl(e,1,c);a.setPosition(e);c=f3c.get(b.getProvenance())||0;Fk(b,4,0)===1?c=14:d?c=3:Fk(b,4,0)===2?c=10:Fk(b,4,0)===3&&(c=15);op(a,3,[c])};var h3c=new Set([9,1,2]),i3c=function(){};i3c.prototype.write=function(a,b,c,d,e){var f=a.getMutableMetadata();if(e===3||c===8||c===10||c===9||c===2&&h3c.has(d))c=new oO,nt(b,7)!==1&&nt(b,7)!==7||c.setEmail(wr(b,3)),nt(b,7)!==2&&nt(b,7)!==5||c.setPhone(wr(b,3)),b.hasProfileId()&&c.setObfuscatedGaiaId(b.getProfileId()),b.hasGroupId()&&c.setGroupId(b.getGroupId()),X(a,oO,4,c),a=new pO,a.setName(b.getNameOrUndefined()),X(f,pO,2,a);f.setIsBoosted(b.getIsBoosted())};var j3c=function(a){var b=new i3c;this.metadataStateWriter_=a;this.contactInfoWriter_=b},k3c=function(a){var b;return((b=a.getInfo())==null?0:b.getIsPlaceholder())?!0:!1};var wgb=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(wgb,V);g=wgb.prototype;g.getEventType=function(){return Fk(this,1,0)};g.getEventType_legacyNullable=function(){return nt(this,1)};g.setEventType=function(a){return gl(this,1,a)};g.getSessionState=function(){return W(this,PK,2)};g.setSessionState=function(a){return X(this,PK,2,a)};g.hasSessionState=function(){return Jk(this,PK,2)};g.setEventSources=function(a){X(this,At,4,a)};var l3c=function(){this.defaultEntityFactory_=new Y2c(new j3c(new g3c));this.contextualEntityFactory_=new Y2c(new j3c(new e3c));this.extensionFactory_=new Z2c;this.defaultEventSourceExtractor_=new a3c;this.additionEventSourceExtractor_=new $2c;this.replacementEventSourceExtractor_=new b3c};
l3c.prototype.create=function(a,b){var c=b.getSessionState()||new PK,d=b.getEventType_legacyNullable();b=lk(b,tt,3,Uj(Vj));var e=sgb(b,ugb);var f=e.get(0);b=e.get(1);e=e.get(2);f=f?[].concat(t(sgb(f,tgb).values())):[];b=b?[].concat(t(sgb(b,tgb).values())):[];e=e?[].concat(t(sgb(e,tgb).values())):[];e=new c3c(f,b,e);b=[];f=k(e.defaultTokenGroups_);for(var h=f.next();!h.done;h=f.next())b.push.apply(b,t(m3c(this,a,d,h.value,c,this.defaultEventSourceExtractor_,this.defaultEntityFactory_)));f=k(e.additionTokenGroups_);
for(h=f.next();!h.done;h=f.next())b.push.apply(b,t(m3c(this,a,d,h.value,c,this.additionEventSourceExtractor_,this.contextualEntityFactory_)));e=k(e.replacementTokenGroups_);for(f=e.next();!f.done;f=e.next())b.push.apply(b,t(m3c(this,a,d,f.value,c,this.replacementEventSourceExtractor_,this.contextualEntityFactory_)));return b};
var m3c=function(a,b,c,d,e,f,h){var l=[];e=d[0].getSessionState()||e;var q=pgb(d).map(function(u){var A=new NBc,F=h.writer_,H=A.getMetadata()||new qO;A.setMetadata(H);var N=Cs(u)||new ut,O=u.getInfo()||new vt;F.metadataStateWriter_.write(H,N,Xj(N,2,0)||0,k3c(u));F.contactInfoWriter_.write(A,O,c,N.getProvenance()||0,Fk(N,4,0)||0);A.setLoggingId(wr(O,1));u=W(A,oO,4)||new oO;X(A,oO,4,u);u.setType(Bt(O,8));return A});q.length&&l.push(n3c(a,b,c,f.extractPersonEventSource(e),q,e));d=rgb(d).map(function(u){var A=
new NBc,F=h.writer_,H=A.getMetadata()||new qO;A.setMetadata(H);var N=Cs(u)||new ut,O=u.getInfo()||new vt;F.metadataStateWriter_.write(H,N,(Ak(O,9,!0)?Xj(N,2,0):Xj(N,1,0))||0,k3c(u));F.contactInfoWriter_.write(A,O,c,N.getProvenance()||0,Fk(N,4,0)||0);u=W(A,oO,4)||new oO;X(A,oO,4,u);W(A,oO,4).setType(Bt(O,7));A.setLoggingId(wr(O,2));return A});d.length&&l.push(n3c(a,b,c,f.extractFieldEventSource(e),d,e));return l},n3c=function(a,b,c,d,e,f){a=a.extensionFactory_.create(b,f,c);a.getClientInterface().setEventSource(d);
a.getClientInterface().setEventSourceId(d);$m(a,2,e);return a};var o3c=function(a,b){this.logContext_=igb(yt(new zt,"PeopleStore.BigBug").setLogSource(Fk(a.getClearcut(),3,41)).setApplication(a.getClearcut().getSocialApplication()).setEnvironment(a.runtimeConfig_.getPeopleApiEnv()).setVersion("1004").setBaselineCl(713336297).setEnableClearcut(a.getClearcut().getEnableClearcut()),[].concat(t(a.runtimeConfig_.getExperiments().getExperimentIdsList()),t(jgb?jgb.getExperimentIds():[]))).setPeoplekitEntryPoint(b.getPeoplekitEntryPoint()).setClientAgent(2);this.eventsFactory_=
new l3c};o3c.prototype.getLogContext=function(){return this.logContext_};var p3c=function(a){this.clientConfig_=a;this.reportingCache_=new Map};p3c.prototype.create=function(a){var b=a.serialize();this.reportingCache_.has(a.serialize())||(a=new o3c(this.clientConfig_,a),a=new X2c(new W2c(VBc(a),a)),this.reportingCache_.set(b,a));return this.reportingCache_.get(b)};var q3c=function(a,b,c){this.reporting_=a;this.sharedSessionState_=b;this.peopleStore_=c};g=q3c.prototype;g.reportDisplay=function(a){HX(this,Dt(a,1))};g.reportSelect=function(a,b){b=b===void 0?new tXc:b;if(b.getOriginator()!==0)for(var c=k(a),d=c.next();!d.done;d=c.next()){d=d.value;if(!Jk(d,ut,2)){var e=d,f=new ut;X(e,ut,2,f)}d=Cs(d);gl(d,4,b.getOriginator())}b=this.sharedSessionState_;c=Qk(this.sharedSessionState_,4,0)+1;Xk(b,4,c);HX(this,Dt(a,2,this.sharedSessionState_))};
g.reportExternalSelect=function(a){for(var b=k(a),c=b.next();!c.done;c=b.next()){c=c.value;if(!Jk(c,ut,2)){var d=c,e=new ut;X(d,ut,2,e)}c=Cs(c);gl(c,4,2)}b=this.sharedSessionState_;c=Qk(this.sharedSessionState_,4,0)+1;Xk(b,4,c);HX(this,Dt(a,15,this.sharedSessionState_))};g.reportDeselect=function(a){HX(this,Dt(a,17,this.sharedSessionState_))};g.reportProceed=function(a){HX(this,Dt(a,10,this.sharedSessionState_))};
g.reportDismiss=function(){var a=this.sharedSessionState_,b=new wgb;a=a.clone();b.setSessionState(a);b.setEventType(7);b.setEventSources(a.getSources());HX(this,[b])};g.reportSave=function(a){HX(this,Dt(a,9,this.sharedSessionState_))};g.reportSecondaryAction=function(a){HX(this,Dt(a,19,this.sharedSessionState_))};g.reportSend=function(a){HX(this,Dt(a,8,this.sharedSessionState_,!0))};var HX=function(a,b){b=k(b);for(var c=b.next();!c.done;c=b.next())a.reporting_.report(c.value)};var IX=function(a,b,c,d){this.delegate_=this.delegate=a;this.sharedSessionState_=c;Xk(this.sharedSessionState_,5,Math.floor(Math.random()*9007199254740991));Xk(this.sharedSessionState_,4,0);Zwc(this.sharedSessionState_,0);this.reportingFactory_=b;this.peopleStore_=d};Y(IX,v2c);
IX.prototype.suggest=function(a,b){var c=this,d=this.sharedSessionState_.clone();Zwc(this.sharedSessionState_,Qk(this.sharedSessionState_,3,0)+1);d.setQuery("");axc(d);var e=0;this.delegate_.suggest(function(f){e=r3c(c,f.getResults(),xgb(f),d,e);a(f)},b)};
IX.prototype.search=function(a,b,c){var d=this,e=this.sharedSessionState_.clone();Zwc(this.sharedSessionState_,Qk(this.sharedSessionState_,3,0)+1);e.setQuery(a);axc(e);var f=0;this.delegate_.search(a,function(h){f=r3c(d,h.getResults(),xgb(h),e,f);b(h)},c)};IX.prototype.getReporter=function(a){return new q3c(this.reportingFactory_.create(a),this.sharedSessionState_,this.peopleStore_)};IX.prototype.getSessionState=function(){return this.sharedSessionState_};
var r3c=function(a,b,c,d,e){d=d.clone();var f=$wc();Np(d,9,Eb(f));f=a.delegate_.getLastUpdatedTimestamp();Xk(d,6,f);d.setAffinityVersion(a.delegate_.getAffinityVersion());a=k(b);for(b=a.next();!b.done;b=a.next()){var h=b.value;b=h.getIsBoosted();f=0;h=k(h.getTargetList());for(var l=h.next();!l.done;l=h.next()){l=l.value.getLoggingToken();Wu(l,vt,1).setIsBoosted(b);var q=Cs(l)||new ut;q.getProvenance()!==7&&q.setProvenance(c.getProvenance());dl(q,2,e);dl(q,1,f);X(l,ut,2,q);l.setSessionState(d);f++}e++}return e};var s3c=function(a,b,c){this.delegate_=this.delegate=a;this.reportingFactory_=b;this.instanceId_=Cbb();this.clearcutConfig_=c};Y(s3c,w2c);
s3c.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 Et;h=c.getOriginator();e=k(e);for(var l=e.next();!l.done;l=e.next()){l=k(l.value.getTargetList());for(var q=l.next();!q.done;q=l.next()){q=q.value.getLoggingToken();var u=Cs(q)||new ut;u.getProvenance()!==7&&u.setProvenance(f.getProvenance());gl(u,4,h);X(q,ut,2,u)}}b(d)},c)};
s3c.prototype.beginSession=function(a){var b=new PK,c=t3c(this,a);X(b,At,10,c);c=u3c(this,a);X(b,Ct,12,c);b.setInstanceId(this.instanceId_);a=this.delegate_.beginSession(a);return new IX(a,this.reportingFactory_,b,this)};
var t3c=function(a,b){a=lk(a.clearcutConfig_,At,5,Uj());return a.find(function(c){return c.getEntryPoint()===b.getEntryPoint()})||a.find(function(c){return c.getEntryPoint()===0})||new At},u3c=function(a,b){a=lk(a.clearcutConfig_,Ct,6,Uj());return a.find(function(c){return c.getEntryPoint()===b.getEntryPoint()})||a.find(function(c){return c.getEntryPoint()===0})||new Ct};var v3c=function(a,b,c,d,e){this.adapter_=a;this.targetFactory_=b;this.trieFactory_=c;this.storage_=d;this.ranker_=new p_c(e);this.indexes_=CX(Xj(e,8,250),tm(e,9,3600)*1E3);this.maxResults_=e.getSearchMaxResults()};g=v3c.prototype;g.getCacheType=function(){return 3};g.flush=function(){this.indexes_.clear()};
g.fetch=function(a){var b=this,c,d;return se(function(e){switch(e.nextAddress){case 1:c=NW(new Et,!0).setProvenance(7).setCode(0);if(b.canSkipFetch_(a))return e.return(NW(c,!1));te(e,2);return y(e,b.adapter_.search(a.getPrefix(),b.maxResults_),4);case 4:d=e.yieldResult;Hu(e,3);break;case 2:return we(e),e.return(c.setCode(13));case 3:try{return b.index(a,d,new wt),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=q_c(this.ranker_,b,1),d=k(b),e=d.next();!e.done;e=d.next())this.targetFactory_.processItem(e.value);d=a.queryScope()===3;this.storage_.storeItems(1,b,d);b=G1c(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 w3c=function(a,b,c){this.adapter_=a;this.targetFactory_=b;this.indexer_=c};w3c.prototype.getStageType=function(){return 2};w3c.prototype.index_=function(a,b){for(var c=k(a),d=c.next();!d.done;d=c.next())this.targetFactory_.processItem(d.value);this.indexer_.storeItems(a,b)};
w3c.prototype.lookup=function(a){var b=this,c,d,e,f,h,l,q,u,A;return se(function(F){switch(F.nextAddress){case 1:return c=new Map,d=NW(new Et,!0).setProvenance(7).setCode(0),e=a.queryScope()===3,f=h1c(a),te(F,2),y(F,b.adapter_.lookup(f),4);case 4:h=F.yieldResult;Hu(F,3);break;case 2:return we(F),d.setCode(13),a.notify(c,[],d),F.return();case 3:b.index_(h,e);l=k(f);for(q=l.next();!q.done;q=l.next())u=q.value,(A=b.indexer_.load(u,a.getFormat(),a.getOptions().getUseOriginalDisplayValue()))&&c.set(u,
A);a.notify(c,[],d);xe(F)}})};var x3c=function(a,b){this.delegate_=a;this.trackers_=b;this.name=a.name};x3c.prototype.search=function(a){var b=this,c,d;return se(function(e){switch(e.nextAddress){case 1:return c=b.trackers_.latency(66),c.start(),te(e,2,3),y(e,b.delegate_.search(a),5);case 5:return e.return(e.yieldResult);case 3:ue(e);c.stop();ve(e,0);break;case 2:throw d=we(e),b.trackers_.error(36,11).report(),d;}})};
x3c.prototype.lookup=function(a){var b=this,c,d;return se(function(e){switch(e.nextAddress){case 1:return c=b.trackers_.latency(67),c.start(),te(e,2,3),y(e,b.delegate_.lookup(a),5);case 5:return e.return(e.yieldResult);case 3:ue(e);c.stop();ve(e,0);break;case 2:throw d=we(e),b.trackers_.error(37,11).report(),d;}})};var y3c=function(a,b){this.delegate_=a;this.trackers_=b;this.name=a.name};y3c.prototype.getPosition=function(){try{return this.delegate_.getPosition()}catch(a){throw this.trackers_.error(38,11).report(),a;}};
y3c.prototype.warmUpCache=function(){var a=this,b,c;return se(function(d){switch(d.nextAddress){case 1:return b=a.trackers_.latency(65),b.start(),te(d,2,3),y(d,a.delegate_.warmUpCache(),5);case 5:return d.return(d.yieldResult);case 3:ue(d);b.stop();ve(d,0);break;case 2:throw c=we(d),a.trackers_.error(35,11).report(),c;}})};y3c.prototype.needsWarmUp=function(){try{return this.delegate_.needsWarmUp()}catch(a){throw this.trackers_.error(38,11).report(),a;}};var z3c=function(a,b,c,d,e){this.adapter_=a;this.targetFactory_=b;this.trieFactory_=c;this.storage_=d;this.ranker_=new p_c(e);this.index_=BX};g=z3c.prototype;g.getCacheType=function(){switch(this.adapter_.getPosition()){case 1:return 2;case 2:return 3;default:return 0}};g.flush=function(){this.index_=BX};
g.fetch=function(a){var b=this,c,d;return se(function(e){switch(e.nextAddress){case 1:c=NW(new Et,!0).setProvenance(7).setCode(0);if(b.index_!=BX&&!b.adapter_.needsWarmUp())return e.return(NW(c,!1));te(e,2);return y(e,b.adapter_.warmUpCache(),4);case 4:d=e.yieldResult;Hu(e,3);break;case 2:return we(e),e.return(c.setCode(13));case 3:try{return b.index(a,d,new wt),e.return(c)}catch(f){return e.return(c.setCode(13))}}})};
g.index=function(a,b){a=q_c(this.ranker_,b,1);for(var c=k(b),d=c.next();!d.done;d=c.next())this.targetFactory_.processItem(d.value);this.storage_.storeItems(1,b);this.index_=G1c(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 A3c=function(a,b){this.provider_=a;this.itemFactory_=b};A3c.prototype.search=function(a,b){var c=this,d;return se(function(e){if(e.nextAddress==1)return b<1?e.return([]):y(e,c.provider_.search((new jxc).setQuery(a).setMaxResults(b)),2);d=e.yieldResult;return e.return(B3c(d))})};A3c.prototype.lookup=function(a){var b=this,c;return se(function(d){if(d.nextAddress==1)return a.length?y(d,b.provider_.lookup(a),2):d.return([]);c=d.yieldResult;return d.return(B3c(c))})};A3c.prototype.getName=function(){return this.provider_.name};var C3c=function(a,b){this.provider_=a;this.itemFactory_=b};C3c.prototype.getPosition=function(){return this.provider_.getPosition()};C3c.prototype.needsWarmUp=function(){return this.provider_.needsWarmUp()};C3c.prototype.warmUpCache=function(){var a=this,b;return se(function(c){if(c.nextAddress==1)return y(c,a.provider_.warmUpCache(),2);b=c.yieldResult;return c.return(B3c(b))})};C3c.prototype.getName=function(){return this.provider_.name};var D3c=new T0c(68,69,38);var E3c=function(){},F3c=function(a){var b=[];a=k(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;for(var d=void 0,e=[],f=k(c.getTargetList()),h=f.next();!h.done;h=f.next())h=Bgb(c,h.value,7),e.push(String(h.id)),h.coalescedKeys=e,d||(d=h),b.push(h);d&&Ys(d.id)&&(e=void 0,d.totalMemberCount=(e=hv(c,4))!=null?e:void 0,d.memberKeys=c.getMemberList().map(function(l){var q=k(l.getTargetList());for(q=q.next();!q.done;q=q.next())return l=Bgb(l,q.value,8),b.push(l),String(l.id)}))}return b},B3c=function(a){a=
lk(a,Egc,1,Uj());return F3c(a)};var G3c=function(a){this.delegate_=a};G3c.prototype.processItem=function(a){a.target=Fgb(a);this.delegate_.processItem(a);a.resultData&&delete a.resultData;a.targetData&&delete a.targetData};var Ggb=function(){};
Ggb.prototype.configure=function(a){var b=a.clientConfig,c=a.trackers,d=a.storage,e=a.indexer,f=a.trieFactory,h=a.prefixCaches;a=a.lookupStages;var l=b.runtimeConfig_.customDataConfig_;if(l){var q=b.getClient(),u=new E3c;var A=A===void 0?o_c:A;b=new t0c(b,new G3c(A));A=[];for(var F=k(l.staticDataProviders_.reverse()),H=F.next();!H.done;H=F.next()){H=H.value;var N=c,O=H;O=new y3c(O,N);O=new z3c(new C3c(O,u),b,f,d,q);N=new EX(O,N,D3c);switch(H.getPosition()){case 1:A.push(N);break;case 2:h.push(N);
break;default:throw Error("ag");}}A.length&&h.splice.apply(h,[0,0].concat(t(A)));l=k(l.dynamicDataProviders_);for(A=l.next();!A.done;A=l.next())A=A.value,F=c,H=A,H=new x3c(H,F),H=new v3c(new A3c(H,u),b,f,d,q),F=new EX(H,F,D3c),h.push(F),A=new x3c(A,c),a.push(new w3c(new A3c(A,u),b,e))}};var H3c={create:function(a){var b=ec(j_c||(j_c=i_c('[[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 gX(b,a);a.runtimeConfig_.getExperiments().getProfileId()?k_c(a).getIsEnabled()?(b=ec(m_c||(m_c=gdb('[null,null,null,null,null,null,null,"AIzaSyABqJ85_R2irnKzMtGBL0iHuyFBi6Efk1w"]'))),
b=new hdb(b,1)):b=new Hs:b=new Hs;var c=a.runtimeConfig_.getExperiments().getProfileId_legacyNullable(),d=a.runtimeConfig_;jgb=b.loadExperiments(k_c(a).getApplication(),(new idb).setPeopleApiEnv(d.getPeopleApiEnv()),c);b={};c=new E0c;d=k([Hgb]);for(var e=d.next();!e.done;e=d.next())e=e.value,c=e(c,b);c=c===void 0?new E0c:c;b=a.getClearcut();b=new R2c(b,a.runtimeConfig_);b=Fs(b);b=new zX(b);d=new D0c(a,b);e=c;c=d.targetFactory_;var f=a.getClient();c=new b1c(c,f);var h=h===void 0?G2c:h;h=new H2c(d.loader_,
a,h);f=new E2c(h,b,a);var l=[new u2c,new V0c].concat(t(e.cacheConfigurators_),[new W1c]);e=[];var q=[],u=new j1c(c,a);h=new i1c(q,u,a);d={clientConfig:a,trackers:b,storage:c,indexer:u,loader:f,loaderFactory:d,trieFactory:new E1c(c,h,b),prefixCaches:e,lookupStages:q};f=k(l);for(l=f.next();!l.done;l=f.next())l.value.configure(d);d=new r1c(e);h=new w1c(a,b,d,h,c);d=a.getClient();c=new h2c(d,c);d=a.getClient();h=new U1c(h,c,d);c=new p3c(a);a=a.getClearcut();h=new s3c(h,c,a);h=new V2c(h,b);return new L2c(h)}};var JX=function(){};JX.\u0275fac=function(a){return new (a||JX)};JX.\u0275mod=Cf({type:JX});JX.\u0275inj=p({imports:[mw,Qw,Nx,Jx,VM]});var KX=function(){};KX.\u0275fac=function(a){return new (a||KX)};KX.\u0275mod=Cf({type:KX});KX.\u0275inj=p({imports:[mw,bz,JX,ZO]});var LX=function(){};LX.\u0275fac=function(a){return new (a||LX)};LX.\u0275mod=Cf({type:LX});LX.\u0275inj=p({imports:[lC,gP,KX]});var I3c=new zd("SearchBarClientConfig");var MX=function(a){var b=new qxc;a.peopleApiEnv&&b.setPeopleApiEnv(a.peopleApiEnv);a.apiKey&&b.setApiKey(a.apiKey);this.peopleStore=a.peopleStoreClient.create(b);this.peopleStore.warmUpCache();this.environmentConfig=new hxc(b.getPeopleApiEnv(),new ixc(""))};MX.\u0275fac=function(a){return new (a||MX)(pd(I3c))};MX.\u0275prov=n({token:MX,factory:MX.\u0275fac});var NX=function(a,b,c){this.clientConfig=a;this.searchBarService=b;this.searchBarEl=c;this.selectionChange=new Dv;this.enterKeyDown=new Dv;this.sessionOptions=(new Is).setFilter(J3c);this.destroyed$=new Tf(1)};NX.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete();this.searchBar.dispose()};NX.prototype.select=function(a){return this.searchBar.select(a)};NX.prototype.deselect=function(a){this.searchBar.deselect(a)};
NX.prototype.ngOnInit=function(){var a=this,b=this.clientConfig.searchBarFactory.createConfig(this.searchBarService.environmentConfig);Igb(b,this.config);var c;this.searchBar=(c=this.clientConfig.searchBarFactory)==null?void 0:c.create(this.searchBarEl.nativeElement,this.searchBarService.peopleStore,b,this.sessionOptions);this.searchBar.subscribeToSelectionChanged(function(e){a.selectionChange.emit(e)});this.searchBar.subscribeToEnterKeyDown(function(e){a.enterKeyDown.emit(e)});var d;((d=this.config)==
null?void 0:d.preselectedIds)!=null&&this.searchBar.select(this.config.preselectedIds)};NX.\u0275fac=function(a){return new (a||NX)(hf(I3c),hf(MX),hf(ef))};
NX.\u0275dir=Df({type:NX,selectors:[["div","peoplekitSearchBar",""]],hostAttrs:[1,"peoplekit-searchbar-anchor"],inputs:{config:[0,"peoplekitSearchBarConfig","config"],sessionOptions:[0,"peoplekitSearchSessionOptions","sessionOptions"]},outputs:{selectionChange:"peoplekitSearchBarSelectionChange",enterKeyDown:"peoplekitSearchBarEnterKeyDown"},exportAs:["peoplekitSearchBar"],standalone:!1});var J3c=yq(1);var K3c=["addLink"],L3c=["peopleKitDiv"],Vgb=function(a){return{"disabled-icon":a}},M3c=[Object.assign({},bhb("start","bottom"),chb("start","top"),{offsetY:8}),Object.assign({},bhb("center","bottom"),chb("center","top"),{offsetY:8}),Object.assign({},bhb("end","bottom"),chb("end","top"),{offsetY:8}),Object.assign({},bhb("start","top"),chb("start","bottom"),{offsetY:-8}),Object.assign({},bhb("end","top"),chb("end","bottom"),{offsetY:-8})],OX=function(){var a=this;this.theme=r(ZP);this.cdr=r(cB,{self:!0});
this.activeSession=r(Bu);this.principalTypesFridge=r(rG);this.issuePermissionService=r(gJ);this.issueDetailsBrain=r(eJ);this.title=this.name="";this.values=null;this.collectionHovercardDescription=this.removeSelfActionLongDescription=this.removeSelfActionDescription=this.includeSelfActionLongDescription=this.includeSelfActionDescription="";this.valueChange=new aB;this.userInclusionToggle=new aB;this.enablePeoplekitAc=Vt(this.activeSession,"enablePeoplekitUserAc");this.iconName="";this.teamId$=this.issueDetailsBrain.teamId$;
this.ListFieldType=rIc;this.providedValues$=new Tf(1);this.groups$=this.providedValues$.pipe(Yf(function(b){return a.extractGroups(b)}),Xf(new Set));this.OVERLAY_POSITION_LIST=M3c;this.newlySelectedUsersString="";this.inputValidator=null;this.checkAccessLimits=!1;this.overlayPosition=M3c;this.toggleAccessLimits=new aB;this.USER_FIELD_HOVERCARD_CONFIG=Object.assign({},new cI,{position:[oqc]});this.hasAclToAdmin$=this.issuePermissionService.hasAclToAdmin$;this.enableTeamAnnotations=this.activeSession.isInternalSession();
this.invalidMessage=""};OX.prototype.extractGroups=function(a){var b=function(c){return c.principalType==="GROUP"};return this.principalTypesFridge.watchSet(a).pipe(z(function(c){return new Set(c.filter(b).map(function(d){return d.email}))}))};OX.prototype.removeItem=function(a){if(this.values){var b=[].concat(t(this.values));b.splice(a,1);this.valueChange.emit({editField:null,newUsers:b})}};
OX.prototype.getUser=function(a){return this.users&&this.values?(a=this.values.indexOf(a))?this.users[a]:{emailAddress:""}:{emailAddress:""}};var Ogb=function(a,b){a.newlySelectedUsersString=b.map(function(c){return c.result().getPrimaryTarget().getValue()}).join(",")};
OX.prototype.closeAddPopup=function(a){var b,c=k((b=this.menuTriggers)!=null?b:[]);for(b=c.next();!b.done;b=c.next())b.value.closeMenu();var d;c=k((d=this.popupTriggers)!=null?d:[]);for(d=c.next();!d.done;d=c.next())this.closeInlineDialog(d.value);a&&this.addLinkEl&&this.addLinkEl.nativeElement.focus()};OX.prototype.closeInlineDialog=function(a){a.disabled||(a.disabled=!0,a.disabled=!1)};
OX.prototype.textPopupSubmit=function(a,b){var c=this,d,e,f,h;return se(function(l){if(l.nextAddress==1)return c.enablePeoplekitAc?(e=[c.newlySelectedUsersString,c.peopleKitDiv.get(0).nativeElement.querySelector("input").value].filter(Boolean),d=zQa(e.join(","))):d=a.value.input,c.inputValidator?y(l,c.inputValidator(d),3):l.jumpTo(2);l.nextAddress!=2&&(c.invalidMessage=l.yieldResult,c.cdr.detectChanges());if(!a.valid||c.invalidMessage)return l.return();(f=a)==null||f.reset();(h=b.querySelector("input"))==
null||h.focus();c.closeAddPopup(!0);c.addItems(d);c.newlySelectedUsersString="";xe(l)})};OX.prototype.addItems=function(a){if(a){var b=[];this.values=this.values||[];a=k(a.split(/[,; ]/));for(var c=a.next();!c.done;c=a.next())(c=c.value)&&!this.values.includes(c)&&b.push(c);b.length!==0&&(this.values=[].concat(t(this.values),t(b)),this.valueChange.emit({editField:null,newUsers:this.values}))}};OX.\u0275fac=function(a){return new (a||OX)};
OX.\u0275cmp=C({type:OX,selectors:[["b-multi-user-control"]],viewQuery:function(a,b){a&1&&(Rg(K3c,5),Rg(JL,5),Rg(ZQ,5),Rg(L3c,5));if(a&2){var c;Vg(c=Wg())&&(b.addLinkEl=c.first);Vg(c=Wg())&&(b.menuTriggers=c);Vg(c=Wg())&&(b.popupTriggers=c);Vg(c=Wg())&&(b.peopleKitDiv=c)}},inputs:{name:"name",title:"title",values:"values",includeSelfActionDescription:"includeSelfActionDescription",includeSelfActionLongDescription:"includeSelfActionLongDescription",removeSelfActionDescription:"removeSelfActionDescription",
removeSelfActionLongDescription:"removeSelfActionLongDescription",collectionHovercardDescription:"collectionHovercardDescription",users:"users",isSaving:"isSaving",iconName:"iconName",isCurrentUserInCollection:"isCurrentUserInCollection",isAllowedToEditCollection:"isAllowedToEditCollection",inputValidator:"inputValidator",checkAccessLimits:"checkAccessLimits",overlayPosition:"overlayPosition"},outputs:{valueChange:"valueChange",userInclusionToggle:"userInclusionToggle",toggleAccessLimits:"toggleAccessLimits"},
standalone:!1,features:[ch([cB])],decls:25,vars:13,consts:[["listActions",""],["textPopup",""],["addLink",""],["hovercard","onedevHovercard"],["textPopupForm","ngForm","formEl",""],["peopleKitDiv",""],["removeButton",""],[1,"bv2-issue-metadata-list-field","bv2-issue-metadata-field",3,"onedevHovercardTrigger","onedevHovercardActive","onedevHovercardConfig"],[1,"bv2-issue-metadata-field-inner"],[1,"bv2-editable-title"],[1,"list-field-content"],[3,"isExpanded","iconName","hasCompactTitleBar","title"],
[1,"flex-kids-x","flex-cross-axis-centered","flex-wrappable"],[1,"bv2-field-user-action-footer"],["type","button","mat-button","","panelClass","bv2-add-item-bubble","tabindex","0",1,"mat-primary","bv2-metadata-tool","bv2-metadata-link","tiny",3,"xapInlineDialogClick","dialogLabel","overlayPositions","matTooltip"],[4,"ngTemplateOutlet"],[1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"hovertext"],["mat-button","","href","https://developers.google.com/issue-tracker/references/glossary-of-fields",
"target","_blank",1,"primary"],[1,"value-action"],["tabindex","0","role","button",1,"bv2-metadata-tool","bv2-metadata-link",3,"disabled","matTooltip"],["tabindex","0","role","button",1,"bv2-metadata-tool","bv2-metadata-link",3,"click","keydown.enter","keydown.space","matTooltip"],[3,"ngSubmit"],["type","text","name","input","ngModel","","required","","aria-expanded","true","autofocus","",3,"bContactAutocomplete"],["aria-expanded","true","peoplekitSearchBar","",3,"peoplekitSearchBarConfig"],[1,"bv2-list-field-addition-dialog-buttons"],
["mat-flat-button","","type","submit",1,"medium","field-popup-button",3,"disabled"],["svgIcon","done"],["mat-stroked-button","","type","button",1,"medium","field-popup-button",3,"click"],["svgIcon","close"],["aria-expanded","true","peoplekitSearchBar","",3,"peoplekitSearchBarSelectionChange","peoplekitSearchBarEnterKeyDown","peoplekitSearchBarConfig"],[1,"bv2-issue-metadata-list-item","list-field-user-container"],[3,"user","email","teamId","enableSmallChip","enableGroupIcon"],["name","group_24px",
"size","small",1,"group-icon"],[3,"email"],["type","button","aria-label","Open issue access dialog.",1,"unstyled","keep-focus-ring",3,"disabled"],["type","button","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"],["type","button",1,"bv2-remove-icon","bv2-remove-item","keep-focus-ring",3,"matTooltip"],["type","button",1,"bv2-remove-icon","bv2-remove-item","keep-focus-ring",
3,"click","matTooltip"],["type","button","mat-button","","panelClass","bv2-add-item-bubble","tabindex","0",1,"mat-primary","bv2-metadata-tool","bv2-metadata-link","tiny",3,"beforeOpened","xapInlineDialogClick","dialogLabel","overlayPositions","matTooltip"]],template:function(a,b){a&1&&(D(0,Mgb,2,1,"ng-template",null,0,ih)(2,Rgb,13,7,"ng-template",null,1,ih),I(4,"div",7)(5,"div",8)(6,"div",9)(7,"label"),Q(8),J()(),I(9,"div",10)(10,"collapsible-panel",11),yg(11,Zgb,9,8,"div",12,wg),J(),I(13,"div",13,
2),D(15,$gb,2,8,"button",14)(16,ahb,1,0,"ng-container",15),J()()()(),I(17,"onedev-hovercard",null,3)(19,"div",16)(20,"div",17)(21,"span",18),Q(22),I(23,"a",19),Q(24,"Learn more."),J()()()()());if(a&2){a=L(1);var c=L(18);B(4);E("onedevHovercardTrigger",c)("onedevHovercardActive",!0)("onedevHovercardConfig",b.USER_FIELD_HOVERCARD_CONFIG);B(4);R(" ",b.title," ");B(2);Mg("title","",(b.values==null?null:b.values.length)||0," ",((b.values==null?null:b.values.length)||0)===1?"user":"users","");E("isExpanded",
!0)("iconName",b.iconName)("hasCompactTitleBar",!0);B();zg(b.values);B(4);G(b.isAllowedToEditCollection?15:-1);B();E("ngTemplateOutlet",a);B(6);R(" ",b.collectionHovercardDescription," ")}},dependencies:[aw,dw,pB,VO,$H,fI,gK,mB,rB,eB,ky,jy,XQ,eP,DM,ZQ,HM,GM,dz,NX,Oy,oi,Gy,Hy,Yy,Ny,Ly,ew],styles:["xap-dialog-layout[_ngcontent-%COMP%]{padding:16px}xap-dialog-layout-content[_ngcontent-%COMP%]{padding:0}.bv2-editable-title[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{word-break:normal;overflow-wrap:anywhere}b-icon[_ngcontent-%COMP%]{margin-bottom:4px}.bv2-field-user-action-footer[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{width:max-content;display:flex}[_nghost-%COMP%]     b-icon.group-icon{width:12px;margin-top:1px}[_nghost-%COMP%]     b-icon.group-icon mat-icon{width:inherit}[_nghost-%COMP%]     b-icon.group-icon mat-icon svg{width:12px;height:16px}[_nghost-%COMP%]     b-icon.disabled-icon mat-icon svg{color:#bdc1c6;color:var(--text-disabled)}"]});var PX=function(){};PX.\u0275fac=function(a){return new (a||PX)};PX.\u0275mod=Cf({type:PX});PX.\u0275inj=p({imports:[mw]});var QX=function(){};QX.\u0275fac=function(a){return new (a||QX)};QX.\u0275mod=Cf({type:QX});QX.\u0275inj=p({imports:[mw,oP]});var RX=function(){};RX.\u0275fac=function(a){return new (a||RX)};RX.\u0275mod=Cf({type:RX});RX.\u0275inj=p({imports:[PX,mw,oP,QX]});var SX=function(){};SX.\u0275fac=function(a){return new (a||SX)};SX.\u0275mod=Cf({type:SX});SX.\u0275inj=p({});var TX=function(){};TX.\u0275fac=function(a){return new (a||TX)};TX.\u0275mod=Cf({type:TX});TX.\u0275inj=p({imports:[mw,VM,oP,iR,Qw,SX]});var UX=function(){};UX.\u0275fac=function(a){return new (a||UX)};UX.\u0275mod=Cf({type:UX});UX.\u0275inj=p({imports:[mw]});var VX=function(){};VX.\u0275fac=function(a){return new (a||VX)};VX.\u0275mod=Cf({type:VX});VX.\u0275inj=p({imports:[bP,lC,WO,kR,RX,WM,XM,hC,pC,mC,YQ,TX,gP,LX,fP,cR,$Q,lN,{ngModule:UX,providers:[MX,{provide:I3c,useFactory:function(){return{authRealm:1,peopleApiEnv:4,peopleStoreClient:H3c,searchBarFactory:g_c}}}]},bz]});var WX=function(){};WX.\u0275fac=function(a){return new (a||WX)};WX.\u0275mod=Cf({type:WX});WX.\u0275inj=p({imports:[bP,lC,WO,BQ,RX,xH,XM,hC,gP,LX]});var XX=function(){};XX.\u0275fac=function(a){return new (a||XX)};XX.\u0275mod=Cf({type:XX});XX.\u0275inj=p({imports:[lC,UU,ZU,RU,BQ,bz,mC,jN,bN,nN,pC,xH,fV,WM,YM,jP,kR,GP,VX,$V,WX,BP,gP]});kma(PS,[pB,FS,zQ,eB,jy,mB,rB,wH,jR,OX,QV,LU,PU,SU,TU],[ew]);var YX=function(){};YX.\u0275fac=function(a){return new (a||YX)};YX.\u0275mod=Cf({type:YX});YX.\u0275inj=p({});var ZX=function(){};ZX.\u0275fac=function(a){return new (a||ZX)};ZX.\u0275mod=Cf({type:ZX});ZX.\u0275inj=p({imports:[lC]});var $X=function(){};$X.\u0275fac=function(a){return new (a||$X)};$X.\u0275mod=Cf({type:$X});$X.\u0275inj=p({imports:[lC,mC,Jx]});var aY=function(){};aY.\u0275fac=function(a){return new (a||aY)};aY.\u0275mod=Cf({type:aY});aY.\u0275inj=p({imports:[lC,GN,TM,$X,fP,mC,XI,pC,gP,NN]});var bY=function(){};bY.\u0275fac=function(a){return new (a||bY)};bY.\u0275mod=Cf({type:bY});bY.\u0275inj=p({imports:[lC,bN,mC,XI,xQ,lN,TQ,pC,FP,GP,jN,bz,NN]});var cY=function(){};cY.\u0275fac=function(a){return new (a||cY)};cY.\u0275mod=Cf({type:cY});cY.\u0275inj=p({imports:[Qw,lT,mw,sT,VM,kC,Nx,oT]});var dY=function(){};dY.\u0275fac=function(a){return new (a||dY)};dY.\u0275mod=Cf({type:dY});dY.\u0275inj=p({imports:[aY,YX,lC,XT,ZX,fP,cY,mC,pC,bY,NN]});var eY=function(){};eY.\u0275fac=function(a){return new (a||eY)};eY.\u0275mod=Cf({type:eY});eY.\u0275inj=p({imports:[lC,GN,mC,oC,BP]});var fY=function(){};fY.\u0275fac=function(a){return new (a||fY)};fY.\u0275mod=Cf({type:fY});fY.\u0275inj=p({imports:[lC,mC]});var gY=function(){};gY.\u0275fac=function(a){return new (a||gY)};gY.\u0275mod=Cf({type:gY});gY.\u0275inj=p({imports:[XT,dY,GN,lC,TM,eY,WM,YM,mC,pC,bY,BP,gP,fY]});var hY=function(){};hY.\u0275fac=function(a){return new (a||hY)};hY.\u0275mod=Cf({type:hY});hY.\u0275inj=p({imports:[lC]});var iY=function(){};iY.\u0275fac=function(a){return new (a||iY)};iY.\u0275mod=Cf({type:iY});iY.\u0275inj=p({imports:[lC,ON]});var jY=function(){};jY.\u0275fac=function(a){return new (a||jY)};jY.\u0275mod=Cf({type:jY});jY.\u0275inj=p({imports:[lC,WM,iP,TM,gP,iY,GN]});var kY=function(){};kY.\u0275fac=function(a){return new (a||kY)};kY.\u0275mod=Cf({type:kY});kY.\u0275inj=p({imports:[lC,GN]});var lY=function(){};lY.\u0275fac=function(a){return new (a||lY)};lY.\u0275mod=Cf({type:lY});lY.\u0275inj=p({imports:[XT,dY,GN,lC,TM,WM,jY,YM,bY,gP,pC,kY,mC,hY]});var mY=function(){};mY.\u0275fac=function(a){return new (a||mY)};mY.\u0275mod=Cf({type:mY});mY.\u0275inj=p({imports:[lC,lY,jY,mC,BP]});var dhb=function(a){return{stage:a}},mhb=function(a){return{summary:a}},thb=function(a){return{"has-reacted-icon":a}},nY=function(){Z.apply(this,arguments);var a=this;this.llmIssueSummaryService=r(iU);this.userFeedback=r(aQ);this.GENERATING="GENERATING";this.SUMMARY_VISIBLE="SUMMARY_VISIBLE";this.isIssueSummaryExpanded=!0;this.stage$=this.llmIssueSummaryService.stage$;this.summary$=this.llmIssueSummaryService.summary$.pipe($f(function(b){b&&b.summary&&a.llmIssueSummaryService.trackEvent("display",
"issueDetailsPage")}),Vf({refCount:!0,bufferSize:1}));this.thumbsDownClicked=this.thumbsUpClicked=this.hasReacted=!1};Y(nY,Z);nY.\u0275dir=Z.\u0275dir;g=nY.prototype;g.ngOnInit=function(){var a=this;this.llmIssueSummaryService.summarizable$.pipe(Zf(this.destroyed$)).subscribe(function(b){b.isSummarizable&&a.llmIssueSummaryService.trackEvent("viewSummarizableIssue","issueDetailsPage")})};
g.trackThumbsUp=function(a){mj("thumbsup");this.thumbsUpClicked=this.hasReacted=!0;this.llmIssueSummaryService.trackThumbsUp(a,"issueDetailsPage")};g.trackThumbsDown=function(a){mj("thumbsdown");this.thumbsDownClicked=this.hasReacted=!0;this.llmIssueSummaryService.trackThumbsDown(a,"issueDetailsPage")};g.openFeedbackDialog=function(a){this.userFeedback.startFeedback();a&&jU(this.llmIssueSummaryService,a,"FEEDBACK")};
g.copySummary=function(a){navigator.clipboard.writeText(a.summary);var b=this.llmIssueSummaryService;b.trackEvent("copy","issueDetailsPage");jU(b,a,"COPY")};nY.\u0275fac=function(){var a;return function(b){return(a||(a=ee(nY)))(b||nY)}}();
nY.\u0275cmp=C({type:nY,selectors:[["llm-summary"]],standalone:!1,features:[cg],decls:10,vars:3,consts:[["showHeader",""],["showBody",""],["renderedSummary",""],["showingSummary",""],["aiHelp",""],[1,"summary","main-div","carded","margin-s-sides","margin-s-bottom","flex-kids-x","padded-sides"],["svgIcon","chat_spark_24px","color","primary",1,"margin-s-right","shrink-0"],[1,"flex-kids-y","gap-s","full-width"],[3,"ngTemplateOutlet"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"summary-header"],
[1,"uppercase"],[3,"panelTemplate"],["svgIcon","help-outline",1,"icon-s"],["type","button","mat-icon-button","","aria-label","Toggle the AI-generated summary for this issue","matTooltip","Toggle the AI-generated summary for this issue","matTooltipPosition","above",1,"small","expand-button",3,"click","matTooltipShowDelay"],["svgIcon","arrow-up",1,"icon-s"],["svgIcon","arrow-down",1,"icon-s"],[3,"content"],[1,"white-space-pre-wrap","overflow"],[1,"flex-kids-x","space-between","full-width"],[1,"type-s",
"instructional"],[1,"flex-kids-x","gap-s"],["type","button","mat-icon-button","","matTooltip","Copy","aria-label","copy summary",1,"feedback-button","copy-issue-summary",3,"click"],["svgIcon","copy",1,"icon-s"],["type","button","mat-icon-button","","matTooltip","Send feedback","aria-label","send feedback",1,"feedback-button","summary-feedback",3,"click"],["svgIcon","feedback-outline",1,"icon-s"],["type","button","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"],["type","button","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"],["type","button","mat-icon-button","","matTooltip","Send feedback","aria-label","send feedback",1,"feedback-button",3,"click"],["svgIcon","feedback-outline"]],template:function(a,b){a&1&&(D(0,ghb,1,1),S(1,"async"),D(2,khb,11,4,
"ng-template",null,0,ih)(4,phb,2,1,"ng-template",null,1,ih)(6,shb,2,1,"ng-template",null,2,ih)(8,whb,2,1,"ng-template",null,3,ih));if(a&2){var c;G((c=U(1,1,b.stage$))?0:-1,c)}},dependencies:[aw,dw,pB,sL,eB,ly,mB,rB,HN,UN,BK,ew],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 oY=function(){};oY.\u0275fac=function(a){return new (a||oY)};oY.\u0275mod=Cf({type:oY});oY.\u0275inj=p({imports:[lC,BP,mC,XI,pC,NN,cR,GN]});var pY=function(){};pY.\u0275fac=function(a){return new (a||pY)};pY.\u0275mod=Cf({type:pY});pY.\u0275inj=p({imports:[lC,mC,lN,oY,nN]});var qY=function(){};qY.\u0275fac=function(a){return new (a||qY)};qY.\u0275mod=Cf({type:qY});qY.\u0275inj=p({imports:[lC,fV,dV,xH,mC]});var rY=function(){};rY.\u0275fac=function(a){return new (a||rY)};rY.\u0275mod=Cf({type:rY});rY.\u0275inj=p({imports:[lC,mC,pC,lN,bR]});var sY=function(){this.LIMIT_INCREMENT=32;this.limit=8;this.emails=[]};sY.\u0275fac=function(a){return new (a||sY)};
sY.\u0275cmp=C({type:sY,selectors:[["avatar-bunch"]],inputs:{emails:"emails"},standalone:!1,decls:4,vars:5,consts:[["size","medium",3,"email"],["type","button",1,"link-button","subtle-link",3,"title"],["type","button",1,"link-button","subtle-link",3,"click","title"]],template:function(a,b){a&1&&(yg(0,xhb,1,1,"b-user-image",0,xg),S(2,"slice"),D(3,zhb,1,1));a&2&&(zg(jma(2,1,b.emails,b.limit)),B(3),G(b.emails.length-b.limit>0?3:-1))},dependencies:[QM,lw],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 Ahb=function(){return[]},tY=function(){this.makeCritiqueUrl=e6a;this.submitted=[];this.pending=[]};tY.\u0275fac=function(a){return new (a||tY)};
tY.\u0275cmp=C({type:tY,selectors:[["cl-counts"]],inputs:{submitted:"submitted",pending:"pending"},standalone:!1,decls:1,vars:1,consts:[[1,"flex-kids-x","align-items-center"],["aria-hidden","true","alt","","src","https://static.corp.google.com/devtools/codereview/new_logo_only.svg",1,"logo"],["target","_blank","title","Number of total CLs and pending CLs associated with all of these issues",1,"subtle-link",3,"href"],["target","_blank","title","Number of pending CLs associated with all of these issues",
1,"subtle-link",3,"href"]],template:function(a,b){a&1&&D(0,Chb,7,3,"div",0);if(a&2){var c;G((c=b.submitted.length+b.pending.length)?0:-1,c)}},styles:["[_nghost-%COMP%] {\n      white-space: nowrap;\n    }\n    .logo[_ngcontent-%COMP%] {\n      width: 20px;\n    }\n    a[_ngcontent-%COMP%]:hover, a[_ngcontent-%COMP%]:focus {\n      color: var(--text-good)\n    }"],changeDetection:0});var N3c=function(){this.changes=[]};N3c.\u0275fac=function(a){return new (a||N3c)};N3c.\u0275cmp=C({type:N3c,selectors:[["gerrit-changes-count"]],inputs:{changes:"changes"},standalone:!1,decls:5,vars:2,consts:[[1,"flex-kids-x","align-items-center"],["svgIcon","gerrit-logo",1,"icon-xs"]],template:function(a,b){a&1&&(I(0,"div",0),K(1,"mat-icon",1),Q(2," \u00a0 "),I(3,"p"),Q(4),J()());a&2&&(B(4),Zg("",b.changes.length," ",b.changes.length>1?"Gerrit changes":"Gerrit change",""))},dependencies:[pB],styles:["a[_ngcontent-%COMP%]:hover, a[_ngcontent-%COMP%]:focus {\n      color: var(--text-good);\n    }"]});var uY=function(){this.imageUrls=r(jL);this.LOGO_LIGHT=this.imageUrls.LOGO_LIGHT};da.Object.defineProperties(uY.prototype,{ref:{configurable:!0,enumerable:!0,set:function(a){this.searchPageUrl=a?i6a(a):void 0}}});uY.\u0275fac=function(a){return new (a||uY)};
uY.\u0275cmp=C({type:uY,selectors:[["issue-count"]],inputs:{ref:"ref",count:"count"},standalone:!1,decls:5,vars:2,consts:[["title","Total issues in this area, in any status",1,"flex-kids-x","align-items-center"],["aria-hidden","true","alt","",1,"logo",3,"src"],[1,"subtle-link",3,"routerLink"]],template:function(a,b){a&1&&(I(0,"div",0),K(1,"img",1),Q(2," \u00a0 "),D(3,Ehb,1,1)(4,Fhb,1,1),J());a&2&&(B(),E("src",b.LOGO_LIGHT,vf),B(2),G(b.searchPageUrl?3:4))},dependencies:[VA],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 vY=function(){};vY.\u0275fac=function(a){return new (a||vY)};vY.\u0275mod=Cf({type:vY});vY.\u0275inj=p({imports:[lC,FN,kC,mC,gP]});var wY=function(){};wY.\u0275fac=function(a){return new (a||wY)};wY.\u0275mod=Cf({type:wY});wY.\u0275inj=p({providers:[pQc],imports:[Ox]});var xY=function(){};xY.\u0275fac=function(a){return new (a||xY)};xY.\u0275mod=Cf({type:xY});xY.\u0275inj=p({imports:[Qw,XT,xP,qK,IA,lC,TM,bz,mC,jN,FP,FN,pC,jP,yP,wY,cz,vY,hN,FM,BP,vL,gP]});var yY=function(){};yY.\u0275fac=function(a){return new (a||yY)};yY.\u0275mod=Cf({type:yY});yY.\u0275inj=p({imports:[lC,xY,BP]});var zY=function(){};zY.\u0275fac=function(a){return new (a||zY)};zY.\u0275mod=Cf({type:zY});zY.\u0275inj=p({imports:[lC,mC]});var AY=function(){};AY.\u0275fac=function(a){return new (a||AY)};AY.\u0275mod=Cf({type:AY});AY.\u0275inj=p({imports:[XT,hC,lC,GN,TM,pY,mY,zY,mC,jN,bN,FP,pC,fV,WM,iP,gY,qY,qP,YM,jP,yP,rY,xQ,FM,WX,yY,XX,gP]});var BY=function(){this.matDialog=r(tI)};BY.prototype.show=function(a){this.dialog=this.matDialog.open(CY,{width:"500px",data:a});return Fe(nI(this.dialog))};BY.\u0275fac=function(a){return new (a||BY)};BY.\u0275prov=n({token:BY,factory:BY.\u0275fac,providedIn:"root"});
var CY=function(){this.butterBar=r(fH);this.data=r(sI);this.dialogRef=r(mI);this.teamsService=r(DG);this.dialogTitle="Create Triage View";this.triageForm=new Ky({displayName:new My("",Cy),scope:new My("",Cy),showComponentColumn:new My(!1)});this.data.triage?(this.triage=pj(this.data.triage),this.triage.displayName=wp(this.data.teamName,this.triage)):this.triage={id:Math.max.apply(Math,t(this.data.teamExperiments.triage.map(function(a){return a.id})))+1,displayName:"",scope:"",showComponentColumn:!1,
config:[]};this.triageForm.patchValue({displayName:this.triage.displayName,scope:this.triage.scope,showComponentColumn:this.triage.showComponentColumn});this.dialogTitle=this.data.triage?"Edit triage view":"Create new triage view"};
CY.prototype.save=function(){var a=this,b,c;return se(function(d){if(d.nextAddress==1)return a.triage.displayName=a.triageForm.value.displayName,a.triage.scope=a.triageForm.value.scope,a.triage.showComponentColumn=a.triageForm.value.showComponentColumn,a.data.triage?(b=a.data.teamExperiments.triage.findIndex(function(e){return e.id===a.triage.id}),a.data.teamExperiments.triage.splice(b,1,a.triage)):a.data.teamExperiments.triage.push(a.triage),jq(a.butterBar,"Saving changes...",0),te(d,2),y(d,Fe(Tnc(a.teamsService,
a.data.teamExperiments)),4);if(d.nextAddress!=2)return jq(a.butterBar,"Save complete."),a.dialogRef.close(a.triage),Hu(d,0);c=we(d);a.butterBar.showWarning("Failed to save changes.");console.error(c);xe(d)})};CY.\u0275fac=function(a){return new (a||CY)};
CY.\u0275cmp=C({type:CY,selectors:[["b-triage-view-config-dialog"]],standalone:!1,decls:22,vars:3,consts:[["mat-dialog-title",""],[1,"bv2-material","flex-kids-x"],[3,"formGroup"],[1,"dialog-row"],[1,"bv2-top-field-label"],["for","triage-title",1,"required"],"type text id triage-title formControlName displayName required  aria-required true".split(" "),["for","triage-scope",1,"required"],"type text id triage-scope formControlName scope placeholder componentid:123+ required  aria-required true".split(" "),
"gmat-checkbox  id triage-component-name-toggle formControlName showComponentColumn".split(" "),["mat-dialog-actions",""],"type button gmat-button  mat-stroked-button  mat-dialog-close ".split(" "),["type","button","gmat-button","","mat-flat-button","","color","primary",3,"click","disabled"]],template:function(a,b){a&1&&(I(0,"h1",0),Q(1),J(),I(2,"mat-dialog-content",1)(3,"form",2)(4,"div",3)(5,"div",4)(6,"label",5),Q(7,"Title"),J()(),K(8,"input",6),J(),I(9,"div",3)(10,"div",4)(11,"label",7),Q(12,
"Search Scope"),J()(),K(13,"textarea",8),J(),I(14,"div",3)(15,"mat-checkbox",9),Q(16," Show component name column in triage view "),J()()()(),I(17,"footer",10)(18,"button",11),Q(19,"Cancel"),J(),I(20,"button",12),M("click",function(){return b.save()}),Q(21,"Save"),J()());a&2&&(B(),Yg(b.dialogTitle),B(2),E("formGroup",b.triageForm),B(17),E("disabled",!b.triageForm.valid))},dependencies:[Oy,oi,Gy,Hy,Yy,eB,jy,RH,SH,uI,wI,yI,xI,Ty,Uy],styles:[".dialog-row[_ngcontent-%COMP%]:not(:last-of-type){margin-bottom:24px}input[_ngcontent-%COMP%]{border:1px solid;border-color:#dadce0;border-color:var(--divider);border-radius:4px;background-color:#fff;background-color:var(--input-field-bg);color:#202124;color:var(--text-high-contrast);-moz-box-sizing:border-box;box-sizing:border-box;height:29px;line-height:16px;padding-left:9px;vertical-align:top}input[_ngcontent-%COMP%], textarea[_ngcontent-%COMP%]{width:100%}"],
changeDetection:0});var DY=function(){};DY.\u0275fac=function(a){return new (a||DY)};DY.\u0275mod=Cf({type:DY});DY.\u0275inj=p({imports:[bz,mC,jN,XI,bR,cz]});var O3c=new zd("CdkAccordion");var EY=function(){this.accordion=r(O3c,{optional:!0,skipSelf:!0});this._changeDetectorRef=r(Ov);this._expansionDispatcher=r(px);this._openCloseAllSubscription=je.EMPTY;this.closed=new Dv;this.opened=new Dv;this.destroyed=new Dv;this.expandedChange=new Dv;this.id=r(Ww).getId("cdk-accordion-child-");this.disabled=this._expanded=!1;this._removeUniqueSelectionListener=function(){}};g=EY.prototype;
g.ngOnInit=function(){var a=this;this._removeUniqueSelectionListener=this._expansionDispatcher.listen(function(b,c){a.accordion&&!a.accordion.multi&&a.accordion.id===c&&a.id!==b&&(a.expanded=!1)});this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())};g.ngOnDestroy=function(){this.opened.complete();this.closed.complete();this.destroyed.emit();this.destroyed.complete();this._removeUniqueSelectionListener();this._openCloseAllSubscription.unsubscribe()};
g.toggle=function(){this.disabled||(this.expanded=!this.expanded)};g.close=function(){this.disabled||(this.expanded=!1)};g.open=function(){this.disabled||(this.expanded=!0)};g._subscribeToOpenCloseAllActions=function(){var a=this;return this.accordion._openCloseAllActions.subscribe(function(b){a.disabled||(a.expanded=b)})};
da.Object.defineProperties(EY.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())}}});EY.\u0275fac=function(a){return new (a||EY)};
EY.\u0275dir=Df({type:EY,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:[2,"expanded","expanded",uh],disabled:[2,"disabled","disabled",uh]},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[ch([{provide:O3c,useValue:void 0}]),dg]});var FY=function(){};FY.\u0275fac=function(a){return new (a||FY)};FY.\u0275mod=Cf({type:FY});FY.\u0275inj=p({});var P3c=new zd("MAT_ACCORDION");var Q3c=new zd("MAT_EXPANSION_PANEL");var R3c=function(){this._template=r(Og);this._expansionPanel=r(Q3c,{optional:!0})};R3c.\u0275fac=function(a){return new (a||R3c)};R3c.\u0275dir=Df({type:R3c,selectors:[["ng-template","matExpansionPanelContent",""]]});var S3c=["body"],T3c=["bodyWrapper"],U3c=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],V3c=new zd("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),GY=function(){EY.call(this);var a=this;this._viewContainerRef=r(Pg);this._animationsDisabled=r(Gv,{optional:!0})==="NoopAnimations";this._document=r(ii);this._ngZone=r(kh);this._elementRef=r(ef);this._renderer=r(Iv);this._hideToggle=!1;this.afterExpand=new Dv;this.afterCollapse=new Dv;this._inputChanges=new Uf;this.accordion=r(P3c,{optional:!0,skipSelf:!0});
this._headerId=r(Ww).getId("mat-expansion-panel-header-");this._transitionEndListener=function(c){var d=c.target;c=c.propertyName;var e;d===((e=a._bodyWrapper)==null?void 0:e.nativeElement)&&c==="grid-template-rows"&&a._ngZone.run(function(){a.expanded?a.afterExpand.emit():a.afterCollapse.emit()})};var b=r(V3c,{optional:!0});this._expansionDispatcher=r(px);b&&(this.hideToggle=b.hideToggle)};Y(GY,EY);GY.\u0275dir=EY.\u0275dir;g=GY.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(Xf(null),Ue(function(){return a.expanded&&!a._portal}),Nf()).subscribe(function(){a._portal=new Ex(a._lazyContent._template,a._viewContainerRef)});this._setupAnimationEvents()};g.ngOnChanges=function(a){this._inputChanges.next(a)};g.ngOnDestroy=function(){EY.prototype.ngOnDestroy.call(this);var a;(a=this._cleanupTransitionEnd)==null||a.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._setupAnimationEvents=function(){var a=this;this._ngZone.runOutsideAngular(function(){a._animationsDisabled?(a.opened.subscribe(function(){return a._ngZone.run(function(){return a.afterExpand.emit()})}),a.closed.subscribe(function(){return a._ngZone.run(function(){return a.afterCollapse.emit()})})):setTimeout(function(){var b=a._elementRef.nativeElement;a._cleanupTransitionEnd=a._renderer.listen(b,"transitionend",a._transitionEndListener);b.classList.add("mat-expansion-panel-animations-enabled")},
200)})};da.Object.defineProperties(GY.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}}});GY.\u0275fac=function(a){return new (a||GY)};
GY.\u0275cmp=C({type:GY,selectors:[["mat-expansion-panel"]],contentQueries:function(a,b,c){a&1&&Sg(c,R3c,5);if(a&2){var d;Vg(d=Wg())&&(b._lazyContent=d.first)}},viewQuery:function(a,b){a&1&&(Rg(S3c,5),Rg(T3c,5));if(a&2){var c;Vg(c=Wg())&&(b._body=c.first);Vg(c=Wg())&&(b._bodyWrapper=c.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:4,hostBindings:function(a,b){a&2&&sg("mat-expanded",b.expanded)("mat-expansion-panel-spacing",b._hasSpacing())},inputs:{hideToggle:[2,"hideToggle","hideToggle",uh],
togglePosition:"togglePosition"},outputs:{afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[ch([{provide:P3c,useValue:void 0},{provide:Q3c,useExisting:GY}]),dg,cg,rv],ngContentSelectors:["mat-expansion-panel-header","*","mat-action-row"],decls:9,vars:4,consts:[["bodyWrapper",""],["body",""],[1,"mat-expansion-panel-content-wrapper"],["role","region",1,"mat-expansion-panel-content",3,"id"],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(a,
b){a&1&&(Ig(U3c),Jg(0),I(1,"div",2,0)(3,"div",3,1)(5,"div",4),Jg(6,1),D(7,Ghb,0,0,"ng-template",5),J(),Jg(8,2),J()());a&2&&(B(),jg("inert",b.expanded?null:""),B(2),E("id",b.id),jg("aria-labelledby",b._headerId),B(4),E("cdkPortalOutlet",b._portal))},dependencies:[Ix],styles:[".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;overflow:hidden;position:relative;background:var(--mat-expansion-container-background-color, var(--mat-sys-surface));color:var(--mat-expansion-container-text-color, var(--mat-sys-on-surface));border-radius:var(--mat-expansion-container-shape, 12px)}.mat-expansion-panel.mat-expansion-panel-animations-enabled{transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:var(--mat-expansion-container-shape, 12px);border-top-left-radius:var(--mat-expansion-container-shape, 12px)}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:var(--mat-expansion-container-shape, 12px);border-bottom-left-radius:var(--mat-expansion-container-shape, 12px)}@media(forced-colors: active){.mat-expansion-panel{outline:solid 1px}}.mat-expansion-panel-content-wrapper{display:grid;grid-template-rows:0fr;grid-template-columns:100%}.mat-expansion-panel-animations-enabled .mat-expansion-panel-content-wrapper{transition:grid-template-rows 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel.mat-expanded>.mat-expansion-panel-content-wrapper{grid-template-rows:1fr}@supports not (grid-template-rows: 0fr){.mat-expansion-panel-content-wrapper{height:0}.mat-expansion-panel.mat-expanded>.mat-expansion-panel-content-wrapper{height:auto}}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible;min-height:0;visibility:hidden;font-family:var(--mat-expansion-container-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-expansion-container-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-expansion-container-text-weight, var(--mat-sys-body-large-weight));line-height:var(--mat-expansion-container-text-line-height, var(--mat-sys-body-large-line-height));letter-spacing:var(--mat-expansion-container-text-tracking, var(--mat-sys-body-large-tracking))}.mat-expansion-panel-animations-enabled .mat-expansion-panel-content{transition:visibility 190ms linear}.mat-expansion-panel.mat-expanded>.mat-expansion-panel-content-wrapper>.mat-expansion-panel-content{visibility:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px;border-top-color:var(--mat-expansion-actions-divider-color, var(--mat-sys-outline))}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],
encapsulation:2,changeDetection:0});var W3c=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],HY=function(){var a=this;this.panel=r(GY,{host:!0});this._element=r(ef);this._focusMonitor=r(ww);this._changeDetectorRef=r(Ov);this._parentChangeSubscription=je.EMPTY;this.tabIndex=0;r(Aw).load(Ux);var b=this.panel,c=r(V3c,{optional:!0}),d=r(new sv("tabindex"),{optional:!0}),e=b.accordion?b.accordion._stateChanges.pipe(Ue(function(f){return!(!f.hideToggle&&!f.togglePosition)})):Se;this.tabIndex=parseInt(d||"")||0;this._parentChangeSubscription=
Te(b.opened,b.closed,e,b._inputChanges.pipe(Ue(function(f){return!!(f.hideToggle||f.disabled||f.togglePosition)}))).subscribe(function(){return a._changeDetectorRef.markForCheck()});b.closed.pipe(Ue(function(){return b._containsFocus()})).subscribe(function(){return xw(a._focusMonitor,a._element,"program")});c&&(this.expandedHeight=c.expandedHeight,this.collapsedHeight=c.collapsedHeight)};g=HY.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:Xh(a)||(a.preventDefault(),this._toggle());break;default:this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(a)}};g.focus=function(a,b){a?xw(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(HY.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this.panel.disabled}}});HY.\u0275fac=function(a){return new (a||HY)};
HY.\u0275cmp=C({type:HY,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:13,hostBindings:function(a,b){a&1&&M("click",function(){return b._toggle()})("keydown",function(c){return b._keydown(c)});a&2&&(jg("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),rg("height",b._getHeaderHeight()),sg("mat-expanded",b.panel.expanded)("mat-expansion-toggle-indicator-after",
b._getTogglePosition()==="after")("mat-expansion-toggle-indicator-before",b._getTogglePosition()==="before"))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight",tabIndex:[2,"tabIndex","tabIndex",function(a){return a==null?0:vh(a)}]},features:[dg],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(W3c),I(0,"span",0),Jg(1),Jg(2,1),Jg(3,2),J(),D(4,Hhb,3,0,"span",1));a&2&&(sg("mat-content-hide-toggle",!b._showToggle()),B(4),G(b._showToggle()?4:-1))},styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;height:var(--mat-expansion-header-collapsed-state-height, 48px);font-family:var(--mat-expansion-header-text-font, var(--mat-sys-title-medium-font));font-size:var(--mat-expansion-header-text-size, var(--mat-sys-title-medium-size));font-weight:var(--mat-expansion-header-text-weight, var(--mat-sys-title-medium-weight));line-height:var(--mat-expansion-header-text-line-height, var(--mat-sys-title-medium-line-height));letter-spacing:var(--mat-expansion-header-text-tracking, var(--mat-sys-title-medium-tracking))}.mat-expansion-panel-animations-enabled .mat-expansion-panel-header{transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header.mat-expanded{height:var(--mat-expansion-header-expanded-state-height, 64px)}.mat-expansion-panel-header[aria-disabled=true]{color:var(--mat-expansion-header-disabled-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-header-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}@media(hover: none){.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-container-background-color, var(--mat-sys-surface))}}.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-keyboard-focused,.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-program-focused{background:var(--mat-expansion-header-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent))}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-content.mat-content-hide-toggle{margin-right:8px}[dir=rtl] .mat-content.mat-content-hide-toggle{margin-right:0;margin-left:8px}.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-left:24px;margin-right:0}[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-right:24px;margin-left:0}.mat-expansion-panel-header-title{color:var(--mat-expansion-header-text-color, var(--mat-sys-on-surface))}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;flex-basis:0;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.mat-expansion-panel-header-description{flex-grow:2;color:var(--mat-expansion-header-description-color, var(--mat-sys-on-surface-variant))}.mat-expansion-panel-animations-enabled .mat-expansion-indicator{transition:transform 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header.mat-expanded .mat-expansion-indicator{transform:rotate(180deg)}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle;color:var(--mat-expansion-header-indicator-color, var(--mat-sys-on-surface-variant));display:var(--mat-expansion-legacy-header-indicator-display, none)}.mat-expansion-indicator svg{width:24px;height:24px;margin:0 -8px;vertical-align:middle;fill:var(--mat-expansion-header-indicator-color, var(--mat-sys-on-surface-variant));display:var(--mat-expansion-header-indicator-display, inline-block)}@media(forced-colors: active){.mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}}\n'],
encapsulation:2,changeDetection:0});var X3c=function(){};X3c.\u0275fac=function(a){return new (a||X3c)};X3c.\u0275dir=Df({type:X3c,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]});var IY=function(){};IY.\u0275fac=function(a){return new (a||IY)};IY.\u0275dir=Df({type:IY,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]});var JY=function(){Z.apply(this,arguments);var a=this;this.llmService=r(YP);this.imageUrls=r(jL);this.clusters$=new Xi([]);this.tableColumns="priority title assignee status componentName id modifiedTime".split(" ");this.SPACE_EMPTY_STATE=this.imageUrls.SPACE_EMPTY_STATE;this.tableOptions=Object.assign({},mQc,{rowLimit:20});this.titles$=this.clusters$.pipe(Yf(function(b){return $Fc(a.llmService,b,a.teamName)}))};Y(JY,Z);JY.\u0275dir=Z.\u0275dir;
da.Object.defineProperties(JY.prototype,{clusters:{configurable:!0,enumerable:!0,set:function(a){a&&this.clusters$.next(a)}}});JY.\u0275fac=function(){var a;return function(b){return(a||(a=ee(JY)))(b||JY)}}();
JY.\u0275cmp=C({type:JY,selectors:[["b-issue-themes"]],inputs:{clusters:"clusters",teamName:"teamName"},standalone:!1,features:[cg],decls:2,vars:3,consts:[["tabindex","-1",1,"layout-centered-column","gap"],[1,"flex-kids-y","margin-s","gap-s"],["aria-hidden","true","alt","",1,"empty-state-img",3,"src"],[1,"animated-loading-bar"],[3,"issueIds","tableColumns","options"]],template:function(a,b){a&1&&(D(0,Nhb,2,1),S(1,"async"));if(a&2){var c;G((c=U(1,1,b.clusters$))?0:-1,c)}},dependencies:[AU,GY,HY,IY,
X3c,ew],styles:[".empty-state-img[_ngcontent-%COMP%]{max-width:320px}\n/*# sourceMappingURL=issue_themes.css.map */"],changeDetection:0});var Y3c=new zd("GMAT_SLIDER_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var Z3c=function(a){this.options=a};Z3c.\u0275fac=function(a){return new (a||Z3c)(hf(Y3c))};Z3c.\u0275dir=Df({type:Z3c,selectors:[["mat-slider"]],hostVars:2,hostBindings:function(a,b){a&2&&sg("gmat-mdc-slider",!b.options.disableGmatStyle)},standalone:!1});var $3c=new zd("_MatSlider"),a4c=new zd("_MatSliderThumb"),b4c=new zd("_MatSliderRangeThumb"),c4c=new zd("_MatSliderVisualThumb");var d4c={provide:Ay,useExisting:ld(function(){return KY}),multi:!0},KY=function(){var a=this;this._ngZone=r(kh);this._elementRef=r(ef);this._cdr=r(Ov);this._slider=r($3c);this._platform=r(tw);this.valueChange=new Dv;this.dragStart=new Dv;this.dragEnd=new Dv;this.thumbPosition=2;this._hostElement=this._elementRef.nativeElement;this._valuetext=Xg("");this._knobRadius=8;this._tickMarkOffset=3;this._hasSetInitialValue=this._isFocused=this._isActive=!1;this._destroyed=new Uf;this._skipUIUpdate=!1;this._onTouchedFn=
function(){};this._isControlInitialized=!1;var b=r(Iv);this._ngZone.runOutsideAngular(function(){a._listenerCleanups=[b.listen(a._hostElement,"pointerdown",a._onPointerDown.bind(a)),b.listen(a._hostElement,"pointermove",a._onPointerMove.bind(a)),b.listen(a._hostElement,"pointerup",a._onPointerUp.bind(a))]})};KY.prototype._setValue=function(a){this._hostElement.value=a;this._updateThumbUIByValue();this._slider._onValueChange(this);this._cdr.detectChanges();this._slider._cdr.markForCheck()};
KY.prototype._setIsFocused=function(a){this._isFocused=a};KY.prototype.ngOnDestroy=function(){this._listenerCleanups.forEach(function(a){return a()});this._destroyed.next();this._destroyed.complete();this.dragStart.complete();this.dragEnd.complete()};var e4c=function(a){a._updateWidthInactive();a.disabled!==a._slider.disabled&&(a._slider.disabled=!0);a.step=a._slider.step;a.min=a._slider.min;a.max=a._slider.max;a._initValue()};g=KY.prototype;
g._initValue=function(){this._hasSetInitialValue=!0;this._initialValue===void 0?this.value=this.min:(this._hostElement.value=this._initialValue,this._updateThumbUIByValue(),this._slider._onValueChange(this),this._cdr.detectChanges())};g._getDefaultValue=function(){return this.min};g._onBlur=function(){this._setIsFocused(!1);this._onTouchedFn()};g._onFocus=function(){this._slider._setTransition(!1);this._slider._updateTrackUI(this);this._setIsFocused(!0)};
g._onChange=function(){this.valueChange.emit(this.value);this._isActive&&this._updateThumbUIByValue({withAnimation:!0})};g._onInput=function(){var a;(a=this._onChangeFn)==null||a.call(this,this.value);!this._slider.step&&this._isActive||this._updateThumbUIByValue({withAnimation:!0});this._slider._onValueChange(this)};g._onNgControlValueChange=function(){this._isActive&&this._isFocused||(this._slider._onValueChange(this),this._updateThumbUIByValue());this._slider.disabled=this._formControl.disabled};
g._onPointerDown=function(a){this.disabled||a.button!==0||(this._platform.IOS?(this._isActive=this._slider._isCursorOnSliderThumb(a,this._slider._getThumb(this.thumbPosition)._hostElement.getBoundingClientRect()),this._slider._updateDimensions()):(this._isActive=!0,this._setIsFocused(!0),this._slider._updateDimensions(),this._slider.step||this._updateThumbUIByPointerEvent(a,{withAnimation:!0}),this.disabled||(this._handleValueCorrection(a),this.dragStart.emit({source:this,parent:this._slider,value:this.value}))))};
g._handleValueCorrection=function(a){var b=this;this._skipUIUpdate=!0;setTimeout(function(){b._skipUIUpdate=!1;b._fixValue(a)},0)};
g._fixValue=function(a){var b=a.clientX-this._slider._cachedLeft,c=this._slider._cachedWidth,d=this._slider.step===0?1:this._slider.step,e=Math.floor((this._slider.max-this._slider.min)/d);b=Math.round((Math.round((this._slider._isRtl?1-b/c:b/c)*e)/e*(this._slider.max-this._slider.min)+this._slider.min)/d)*d;if(b!==this.value){this.value=b;this.valueChange.emit(this.value);var f;(f=this._onChangeFn)==null||f.call(this,this.value)}this._slider._onValueChange(this);this._slider.step>0?this._updateThumbUIByValue():
this._updateThumbUIByPointerEvent(a,{withAnimation:this._slider._hasAnimation})};g._onPointerMove=function(a){!this._slider.step&&this._isActive&&this._updateThumbUIByPointerEvent(a)};g._onPointerUp=function(){var a=this;this._isActive&&(this._isActive=!1,this._platform.SAFARI&&this._setIsFocused(!1),this.dragEnd.emit({source:this,parent:this._slider,value:this.value}),setTimeout(function(){return a._updateWidthInactive()},this._platform.IOS?10:0))};
g._clamp=function(a){return Math.max(Math.min(a,this._slider._cachedWidth-this._tickMarkOffset),this._tickMarkOffset)};g._calcTranslateXByValue=function(){return this._slider._isRtl?(1-this.percentage)*(this._slider._cachedWidth-this._tickMarkOffset*2)+this._tickMarkOffset:this.percentage*(this._slider._cachedWidth-this._tickMarkOffset*2)+this._tickMarkOffset};g._calcTranslateXByPointerEvent=function(a){return a.clientX-this._slider._cachedLeft};g._updateWidthActive=function(){};
g._updateWidthInactive=function(){this._hostElement.style.padding="0 "+this._slider._inputPadding+"px";this._hostElement.style.width="calc(100% + "+(this._slider._inputPadding-this._tickMarkOffset*2)+"px)";this._hostElement.style.left="-"+(this._slider._rippleRadius-this._tickMarkOffset)+"px"};g._updateThumbUIByValue=function(a){this.translateX=this._clamp(this._calcTranslateXByValue());this._updateThumbUI(a)};
g._updateThumbUIByPointerEvent=function(a,b){this.translateX=this._clamp(this._calcTranslateXByPointerEvent(a));this._updateThumbUI(b)};g._updateThumbUI=function(a){this._slider._setTransition(!(a==null||!a.withAnimation));this._slider._onTranslateXChange(this)};g.writeValue=function(a){if(this._isControlInitialized||a!==null)this.value=a};g.registerOnChange=function(a){this._onChangeFn=a;this._isControlInitialized=!0};g.registerOnTouched=function(a){this._onTouchedFn=a};
g.setDisabledState=function(a){this.disabled=a};g.focus=function(){this._hostElement.focus()};g.blur=function(){this._hostElement.blur()};
da.Object.defineProperties(KY.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return vh(this._hostElement.value,0)},set:function(a){a=isNaN(a)?0:a;a+="";this._hasSetInitialValue?this._isActive||this._setValue(a):this._initialValue=a}},translateX:{configurable:!0,enumerable:!0,get:function(){if(this._slider.min>=this._slider.max)return this._translateX=this._tickMarkOffset;this._translateX===void 0&&(this._translateX=this._calcTranslateXByValue());return this._translateX},set:function(a){this._translateX=
a}},min:{configurable:!0,enumerable:!0,get:function(){return vh(this._hostElement.min,0)},set:function(a){this._hostElement.min=a+"";this._cdr.detectChanges()}},max:{configurable:!0,enumerable:!0,get:function(){return vh(this._hostElement.max,0)},set:function(a){this._hostElement.max=a+"";this._cdr.detectChanges()}},step:{configurable:!0,enumerable:!0,get:function(){return vh(this._hostElement.step,0)},set:function(a){this._hostElement.step=a+"";this._cdr.detectChanges()}},disabled:{configurable:!0,
enumerable:!0,get:function(){return uh(this._hostElement.disabled)},set:function(a){this._hostElement.disabled=a;this._cdr.detectChanges();this._slider.disabled!==this.disabled&&(this._slider.disabled=this.disabled)}},percentage:{configurable:!0,enumerable:!0,get:function(){return this._slider.min>=this._slider.max?this._slider._isRtl?1:0:(this.value-this._slider.min)/(this._slider.max-this._slider.min)}},fillPercentage:{configurable:!0,enumerable:!0,get:function(){return this._slider._cachedWidth?
this._translateX===0?0:this.translateX/this._slider._cachedWidth:this._slider._isRtl?1:0}}});KY.\u0275fac=function(a){return new (a||KY)};
KY.\u0275dir=Df({type:KY,selectors:[["input","matSliderThumb",""]],hostAttrs:["type","range",1,"mdc-slider__input"],hostVars:1,hostBindings:function(a,b){a&1&&M("change",function(){return b._onChange()})("input",function(){return b._onInput()})("blur",function(){return b._onBlur()})("focus",function(){return b._onFocus()});a&2&&jg("aria-valuetext",b._valuetext())},inputs:{value:[2,"value","value",vh]},outputs:{valueChange:"valueChange",dragStart:"dragStart",dragEnd:"dragEnd"},exportAs:["matSliderThumb"],
features:[ch([d4c,{provide:a4c,useExisting:KY}]),dg]});var f4c=["knob"],g4c=["valueIndicatorContainer"],LY=function(){var a=this;this._cdr=r(Ov);this._ngZone=r(kh);this._slider=r($3c);this._renderer=r(Iv);this._isValueIndicatorVisible=this._isActive=this._isHovered=!1;this._hostElement=r(ef).nativeElement;this._platform=r(tw);this._onPointerMove=function(b){if(!a._sliderInput._isFocused){var c=a._hostElement.getBoundingClientRect();b=a._slider._isCursorOnSliderThumb(b,c);(a._isHovered=b)?a._showHoverRipple():a._hideRipple(a._hoverRippleRef)}};this._onMouseLeave=
function(){a._isHovered=!1;a._hideRipple(a._hoverRippleRef)};this._onFocus=function(){a._hideRipple(a._hoverRippleRef);a._showFocusRipple();a._hostElement.classList.add("mdc-slider__thumb--focused")};this._onBlur=function(){a._isActive||a._hideRipple(a._focusRippleRef);a._isHovered&&a._showHoverRipple();a._hostElement.classList.remove("mdc-slider__thumb--focused")};this._onDragStart=function(b){b.button===0&&(a._isActive=!0,a._showActiveRipple())};this._onDragEnd=function(){a._isActive=!1;a._hideRipple(a._activeRippleRef);
a._sliderInput._isFocused||a._hideRipple(a._focusRippleRef);a._platform.SAFARI&&a._showHoverRipple()}};g=LY.prototype;
g.ngAfterViewInit=function(){var a=this,b=this._slider._getInput(this.thumbPosition);b&&(this._ripple.radius=24,this._sliderInput=b,this._sliderInputEl=this._sliderInput._hostElement,this._ngZone.runOutsideAngular(function(){var c=a._sliderInputEl,d=a._renderer;a._listenerCleanups=[d.listen(c,"pointermove",a._onPointerMove),d.listen(c,"pointerdown",a._onDragStart),d.listen(c,"pointerup",a._onDragEnd),d.listen(c,"pointerleave",a._onMouseLeave),d.listen(c,"focus",a._onFocus),d.listen(c,"blur",a._onBlur)]}))};
g.ngOnDestroy=function(){var a;(a=this._listenerCleanups)==null||a.forEach(function(b){return b()})};g._showHoverRipple=function(){if(!this._isShowingRipple(this._hoverRippleRef)){this._hoverRippleRef=this._showRipple({enterDuration:0,exitDuration:0});var a;(a=this._hoverRippleRef)==null||a.element.classList.add("mat-mdc-slider-hover-ripple")}};
g._showFocusRipple=function(){if(!this._isShowingRipple(this._focusRippleRef)){this._focusRippleRef=this._showRipple({enterDuration:0,exitDuration:0},!0);var a;(a=this._focusRippleRef)==null||a.element.classList.add("mat-mdc-slider-focus-ripple")}};g._showActiveRipple=function(){if(!this._isShowingRipple(this._activeRippleRef)){this._activeRippleRef=this._showRipple({enterDuration:225,exitDuration:400});var a;(a=this._activeRippleRef)==null||a.element.classList.add("mat-mdc-slider-active-ripple")}};
g._isShowingRipple=function(a){return(a==null?void 0:a.state)===0||(a==null?void 0:a.state)===1};g._showRipple=function(a,b){if(!this._slider.disabled){this._showValueIndicator();this._slider._isRange&&this._slider._getThumb(this.thumbPosition===1?2:1)._showValueIndicator();var c;if((c=this._slider._globalRippleOptions)==null||!c.disabled||b)return this._ripple.launch({animation:this._slider._noopAnimations?{enterDuration:0,exitDuration:0}:a,centered:!0,persistent:!0})}};
g._hideRipple=function(a){a!=null&&j9b(a._renderer,a);this._isShowingAnyRipple()||(this._slider._isRange||this._hideValueIndicator(),a=this._getSibling(),a._isShowingAnyRipple()||(this._hideValueIndicator(),a._hideValueIndicator()))};g._showValueIndicator=function(){this._hostElement.classList.add("mdc-slider__thumb--with-indicator")};g._hideValueIndicator=function(){this._hostElement.classList.remove("mdc-slider__thumb--with-indicator")};
g._getSibling=function(){return this._slider._getThumb(this.thumbPosition===1?2:1)};g._getValueIndicatorContainer=function(){var a;return(a=this._valueIndicatorContainer)==null?void 0:a.nativeElement};g._getKnob=function(){return this._knob.nativeElement};g._isShowingAnyRipple=function(){return this._isShowingRipple(this._hoverRippleRef)||this._isShowingRipple(this._focusRippleRef)||this._isShowingRipple(this._activeRippleRef)};LY.\u0275fac=function(a){return new (a||LY)};
LY.\u0275cmp=C({type:LY,selectors:[["mat-slider-visual-thumb"]],viewQuery:function(a,b){a&1&&(Rg(Xx,5),Rg(f4c,5),Rg(g4c,5));if(a&2){var c;Vg(c=Wg())&&(b._ripple=c.first);Vg(c=Wg())&&(b._knob=c.first);Vg(c=Wg())&&(b._valueIndicatorContainer=c.first)}},hostAttrs:[1,"mdc-slider__thumb","mat-mdc-slider-visual-thumb"],inputs:{discrete:"discrete",thumbPosition:"thumbPosition",valueIndicatorText:"valueIndicatorText"},features:[ch([{provide:c4c,useExisting:LY}])],decls:4,vars:2,consts:[["knob",""],["valueIndicatorContainer",
""],[1,"mdc-slider__value-indicator-container"],[1,"mdc-slider__thumb-knob"],["matRipple","",1,"mat-focus-indicator",3,"matRippleDisabled"],[1,"mdc-slider__value-indicator"],[1,"mdc-slider__value-indicator-text"]],template:function(a,b){a&1&&(D(0,Ohb,5,1,"div",2),K(1,"div",3,0)(3,"div",4));a&2&&(G(b.discrete?0:-1),B(3),E("matRippleDisabled",!0))},dependencies:[Xx],styles:[".mat-mdc-slider-visual-thumb .mat-ripple{height:100%;width:100%}.mat-mdc-slider .mdc-slider__tick-marks{justify-content:start}.mat-mdc-slider .mdc-slider__tick-marks .mdc-slider__tick-mark--active,.mat-mdc-slider .mdc-slider__tick-marks .mdc-slider__tick-mark--inactive{position:absolute;left:2px}\n"],
encapsulation:2,changeDetection:0});var h4c=["trackActive"],MY=function(){var a=this;this._ngZone=r(kh);this._cdr=r(Ov);this._elementRef=r(ef);this._dir=r(fx,{optional:!0});this._globalRippleOptions=r(Wx,{optional:!0});this.showTickMarks=this._discrete=this._disabled=!1;this._min=0;this.disableRipple=!1;this._max=100;this._step=1;this.displayWith=function(b){return""+b};this._rippleRadius=24;this.endValueIndicatorText=this.startValueIndicatorText="";this._hasViewInitialized=this._isRtl=this._isRange=!1;this._tickMarkTrackWidth=0;this._hasAnimation=
!1;this._resizeTimer=null;this._platform=r(tw);this._knobRadius=8;this._thumbsOverlap=!1;r(Aw).load(Ux);this._noopAnimations=r(Gv,{optional:!0})==="NoopAnimations";this._dir&&(this._dirChangeSubscription=this._dir.change.subscribe(function(){return a._onDirChange()}),this._isRtl=this._dir.value==="rtl")};g=MY.prototype;g._updateMin=function(a){var b=this._min;this._min=a;this._isRange?this._updateMinRange({old:b,new:a}):this._updateMinNonRange(a);this._onMinMaxOrStepChange()};
g._updateMinRange=function(a){var b=this._getInput(2),c=this._getInput(1),d=b.value,e=c.value;c.min=a.new;b.min=Math.max(a.new,c.value);c.max=Math.min(b.max,b.value);c._updateWidthInactive();b._updateWidthInactive();a.new<a.old?this._onTranslateXChangeBySideEffect(b,c):this._onTranslateXChangeBySideEffect(c,b);d!==b.value&&this._onValueChange(b);e!==c.value&&this._onValueChange(c)};
g._updateMinNonRange=function(a){var b=this._getInput(2);if(b){var c=b.value;b.min=a;b._updateThumbUIByValue();this._updateTrackUI(b);c!==b.value&&this._onValueChange(b)}};g._updateMax=function(a){var b=this._max;this._max=a;this._isRange?this._updateMaxRange({old:b,new:a}):this._updateMaxNonRange(a);this._onMinMaxOrStepChange()};
g._updateMaxRange=function(a){var b=this._getInput(2),c=this._getInput(1),d=b.value,e=c.value;b.max=a.new;c.max=Math.min(a.new,b.value);b.min=c.value;b._updateWidthInactive();c._updateWidthInactive();a.new>a.old?this._onTranslateXChangeBySideEffect(c,b):this._onTranslateXChangeBySideEffect(b,c);d!==b.value&&this._onValueChange(b);e!==c.value&&this._onValueChange(c)};
g._updateMaxNonRange=function(a){var b=this._getInput(2);if(b){var c=b.value;b.max=a;b._updateThumbUIByValue();this._updateTrackUI(b);c!==b.value&&this._onValueChange(b)}};g._updateStep=function(a){this._step=a;this._isRange?this._updateStepRange():this._updateStepNonRange();this._onMinMaxOrStepChange()};
g._updateStepRange=function(){var a=this._getInput(2),b=this._getInput(1),c=a.value,d=b.value,e=b.value;a.min=this._min;b.max=this._max;a.step=this._step;b.step=this._step;this._platform.SAFARI&&(a.value=a.value,b.value=b.value);a.min=Math.max(this._min,b.value);b.max=Math.min(this._max,a.value);b._updateWidthInactive();a._updateWidthInactive();a.value<e?this._onTranslateXChangeBySideEffect(b,a):this._onTranslateXChangeBySideEffect(a,b);c!==a.value&&this._onValueChange(a);d!==b.value&&this._onValueChange(b)};
g._updateStepNonRange=function(){var a=this._getInput(2);if(a){var b=a.value;a.step=this._step;this._platform.SAFARI&&(a.value=a.value);a._updateThumbUIByValue();b!==a.value&&this._onValueChange(a)}};
g.ngAfterViewInit=function(){this._platform.isBrowser&&this._updateDimensions();var a=this._getInput(2),b=this._getInput(1);this._isRange=!!a&&!!b;this._cdr.detectChanges();this._rippleRadius=this._getThumb(2)._ripple.radius;this._inputPadding=this._rippleRadius-this._knobRadius;this._isRange?this._initUIRange(a,b):this._initUINonRange(a);this._updateTrackUI(a);this._updateTickMarkUI();this._updateTickMarkTrackUI();this._observeHostResize();this._cdr.detectChanges()};
g._initUINonRange=function(a){e4c(a);a._updateThumbUIByValue();this._updateValueIndicatorUI(a);this._hasViewInitialized=!0;a._updateThumbUIByValue()};g._initUIRange=function(a,b){e4c(a);a._updateThumbUIByValue();e4c(b);b._updateThumbUIByValue();a._updateMinMax();b._updateMinMax();a._updateStaticStyles();b._updateStaticStyles();this._updateValueIndicatorUIs();this._hasViewInitialized=!0;a._updateThumbUIByValue();b._updateThumbUIByValue()};
g.ngOnDestroy=function(){this._dirChangeSubscription.unsubscribe();var a;(a=this._resizeObserver)==null||a.disconnect();this._resizeObserver=null};g._onDirChange=function(){var a;this._isRtl=((a=this._dir)==null?void 0:a.value)==="rtl";this._isRange?this._onDirChangeRange():this._onDirChangeNonRange();this._updateTickMarkUI()};
g._onDirChangeRange=function(){var a=this._getInput(2),b=this._getInput(1);a._setIsLeftThumb();b._setIsLeftThumb();a.translateX=a._calcTranslateXByValue();b.translateX=b._calcTranslateXByValue();a._updateStaticStyles();b._updateStaticStyles();a._updateWidthInactive();b._updateWidthInactive();a._updateThumbUIByValue();b._updateThumbUIByValue()};g._onDirChangeNonRange=function(){this._getInput(2)._updateThumbUIByValue()};
g._observeHostResize=function(){var a=this;typeof ResizeObserver!=="undefined"&&ResizeObserver&&this._ngZone.runOutsideAngular(function(){a._resizeObserver=new ResizeObserver(function(){a._isActive()||a._onResize()});a._resizeObserver.observe(a._elementRef.nativeElement)})};g._isActive=function(){return this._getThumb(1)._isActive||this._getThumb(2)._isActive};g._getValue=function(a){return(a=this._getInput(a===void 0?2:a))?a.value:this.min};
g._skipUpdate=function(){var a,b;return!!(((a=this._getInput(1))==null?0:a._skipUIUpdate)||((b=this._getInput(2))==null?0:b._skipUIUpdate))};g._updateDimensions=function(){this._cachedWidth=this._elementRef.nativeElement.offsetWidth;this._cachedLeft=this._elementRef.nativeElement.getBoundingClientRect().left};g._setTrackActiveStyles=function(a){var b=this._trackActive.nativeElement.style;b.left=a.left;b.right=a.right;b.transformOrigin=a.transformOrigin;b.transform=a.transform};
g._calcTickMarkTransform=function(a){return"translateX("+this._tickMarkTrackWidth/(this._tickMarks.length-1)*a+"px"};g._onTranslateXChange=function(a){this._hasViewInitialized&&(this._updateThumbUI(a),this._updateTrackUI(a),this._updateOverlappingThumbUI(a))};g._onTranslateXChangeBySideEffect=function(a,b){this._hasViewInitialized&&(a._updateThumbUIByValue(),b._updateThumbUIByValue())};
g._onValueChange=function(a){this._hasViewInitialized&&(this._updateValueIndicatorUI(a),this._updateTickMarkUI(),this._cdr.detectChanges())};g._onMinMaxOrStepChange=function(){this._hasViewInitialized&&(this._updateTickMarkUI(),this._updateTickMarkTrackUI(),this._cdr.markForCheck())};
g._onResize=function(){if(this._hasViewInitialized){this._updateDimensions();if(this._isRange){var a=this._getInput(2),b=this._getInput(1);a._updateThumbUIByValue();b._updateThumbUIByValue();a._updateStaticStyles();b._updateStaticStyles();a._updateMinMax();b._updateMinMax();a._updateWidthInactive();b._updateWidthInactive()}else(a=this._getInput(2))&&a._updateThumbUIByValue();this._updateTickMarkUI();this._updateTickMarkTrackUI();this._cdr.detectChanges()}};
g._areThumbsOverlapping=function(){var a=this._getInput(1),b=this._getInput(2);return a&&b?b.translateX-a.translateX<20:!1};g._updateOverlappingThumbClassNames=function(a){var b=a.getSibling();a=this._getThumb(a.thumbPosition);this._getThumb(b.thumbPosition)._hostElement.classList.remove("mdc-slider__thumb--top");a._hostElement.classList.toggle("mdc-slider__thumb--top",this._thumbsOverlap)};
g._updateOverlappingThumbUI=function(a){this._isRange&&!this._skipUpdate()&&this._thumbsOverlap!==this._areThumbsOverlapping()&&(this._thumbsOverlap=!this._thumbsOverlap,this._updateOverlappingThumbClassNames(a))};g._updateThumbUI=function(a){this._skipUpdate()||(this._getThumb(a.thumbPosition===2?2:1)._hostElement.style.transform="translateX("+a.translateX+"px)")};
g._updateValueIndicatorUI=function(a){if(!this._skipUpdate()){var b=this.displayWith(a.value);this._hasViewInitialized?a._valuetext.set(b):a._hostElement.setAttribute("aria-valuetext",b);this.discrete&&(a.thumbPosition===1?this.startValueIndicatorText=b:this.endValueIndicatorText=b,a=this._getThumb(a.thumbPosition),b.length<3?a._hostElement.classList.add("mdc-slider__thumb--short-value"):a._hostElement.classList.remove("mdc-slider__thumb--short-value"))}};
g._updateValueIndicatorUIs=function(){var a=this._getInput(2),b=this._getInput(1);a&&this._updateValueIndicatorUI(a);b&&this._updateValueIndicatorUI(b)};g._updateTickMarkTrackUI=function(){if(this.showTickMarks&&!this._skipUpdate()){var a=this._step&&this._step>0?this._step:1;this._tickMarkTrackWidth=(Math.floor(this.max/a)*a-this.min)/(this.max-this.min)*this._cachedWidth-6}};g._updateTrackUI=function(a){this._skipUpdate()||(this._isRange?this._updateTrackUIRange(a):this._updateTrackUINonRange(a))};
g._updateTrackUIRange=function(a){var b=a.getSibling();if(b&&this._cachedWidth){var c=Math.abs(b.translateX-a.translateX)/this._cachedWidth;a._isLeftThumb&&this._cachedWidth?this._setTrackActiveStyles({left:"auto",right:this._cachedWidth-b.translateX+"px",transformOrigin:"right",transform:"scaleX("+c+")"}):this._setTrackActiveStyles({left:b.translateX+"px",right:"auto",transformOrigin:"left",transform:"scaleX("+c+")"})}};
g._updateTrackUINonRange=function(a){this._isRtl?this._setTrackActiveStyles({left:"auto",right:"0px",transformOrigin:"right",transform:"scaleX("+(1-a.fillPercentage)+")"}):this._setTrackActiveStyles({left:"0px",right:"auto",transformOrigin:"left",transform:"scaleX("+a.fillPercentage+")"})};
g._updateTickMarkUI=function(){if(this.showTickMarks&&this.step!==void 0&&this.min!==void 0&&this.max!==void 0){var a=this.step>0?this.step:1;this._isRange?this._updateTickMarkUIRange(a):this._updateTickMarkUINonRange(a);this._isRtl&&this._tickMarks.reverse()}};g._updateTickMarkUINonRange=function(a){var b=this._getValue(),c=Math.max(Math.round((b-this.min)/a),0);a=Math.max(Math.round((this.max-b)/a),0);this._isRtl?c++:a++;this._tickMarks=Array(c).fill(0).concat(Array(a).fill(1))};
g._updateTickMarkUIRange=function(a){var b=this._getValue(),c=this._getValue(1),d=Math.max(Math.round((b-c)/a)+1,0);b=Math.max(Math.round((this.max-b)/a),0);this._tickMarks=Array(Math.max(Math.round((c-this.min)/a),0)).fill(1).concat(Array(d).fill(0),Array(b).fill(1))};g._getInput=function(a){if(a===2&&this._input)return this._input;var b;if((b=this._inputs)==null?0:b.length)return a===1?this._inputs.first:this._inputs.last};
g._getThumb=function(a){var b,c;return a===2?(b=this._thumbs)==null?void 0:b.last:(c=this._thumbs)==null?void 0:c.first};g._setTransition=function(a){this._hasAnimation=!this._platform.IOS&&a&&!this._noopAnimations;this._elementRef.nativeElement.classList.toggle("mat-mdc-slider-with-animation",this._hasAnimation)};g._isCursorOnSliderThumb=function(a,b){var c=b.width/2;return Math.pow(a.clientX-(b.x+c),2)+Math.pow(a.clientY-(b.y+c),2)<Math.pow(c,2)};
da.Object.defineProperties(MY.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=a;a=this._getInput(2);var b=this._getInput(1);a&&(a.disabled=this._disabled);b&&(b.disabled=this._disabled)}},discrete:{configurable:!0,enumerable:!0,get:function(){return this._discrete},set:function(a){this._discrete=a;this._updateValueIndicatorUIs()}},min:{configurable:!0,enumerable:!0,get:function(){return this._min},set:function(a){a=isNaN(a)?this._min:
a;this._min!==a&&this._updateMin(a)}},max:{configurable:!0,enumerable:!0,get:function(){return this._max},set:function(a){a=isNaN(a)?this._max:a;this._max!==a&&this._updateMax(a)}},step:{configurable:!0,enumerable:!0,get:function(){return this._step},set:function(a){a=isNaN(a)?this._step:a;this._step!==a&&this._updateStep(a)}}});MY.\u0275fac=function(a){return new (a||MY)};
MY.\u0275cmp=C({type:MY,selectors:[["mat-slider"]],contentQueries:function(a,b,c){a&1&&(Sg(c,a4c,5),Sg(c,b4c,4));if(a&2){var d;Vg(d=Wg())&&(b._input=d.first);Vg(d=Wg())&&(b._inputs=d)}},viewQuery:function(a,b){a&1&&(Rg(h4c,5),Rg(c4c,5));if(a&2){var c;Vg(c=Wg())&&(b._trackActive=c.first);Vg(c=Wg())&&(b._thumbs=c)}},hostAttrs:[1,"mat-mdc-slider","mdc-slider"],hostVars:12,hostBindings:function(a,b){a&2&&(tg("mat-"+(b.color||"primary")),sg("mdc-slider--range",b._isRange)("mdc-slider--disabled",b.disabled)("mdc-slider--discrete",
b.discrete)("mdc-slider--tick-marks",b.showTickMarks)("_mat-animation-noopable",b._noopAnimations))},inputs:{disabled:[2,"disabled","disabled",uh],discrete:[2,"discrete","discrete",uh],showTickMarks:[2,"showTickMarks","showTickMarks",uh],min:[2,"min","min",vh],color:"color",disableRipple:[2,"disableRipple","disableRipple",uh],max:[2,"max","max",vh],step:[2,"step","step",vh],displayWith:"displayWith"},exportAs:["matSlider"],features:[ch([{provide:$3c,useExisting:MY}]),dg],ngContentSelectors:["*"],
decls:9,vars:5,consts:[["trackActive",""],["tickMarkContainer",""],[1,"mdc-slider__track"],[1,"mdc-slider__track--inactive"],[1,"mdc-slider__track--active"],[1,"mdc-slider__track--active_fill"],[1,"mdc-slider__tick-marks"],[3,"discrete","thumbPosition","valueIndicatorText"],[3,"class","transform"]],template:function(a,b){a&1&&(Ig(),Jg(0),I(1,"div",2),K(2,"div",3),I(3,"div",4),K(4,"div",5,0),J(),D(6,Rhb,3,1,"div",6),J(),D(7,Shb,1,3,"mat-slider-visual-thumb",7),K(8,"mat-slider-visual-thumb",7));a&2&&
(B(6),G(b.showTickMarks?6:-1),B(),G(b._isRange?7:-1),B(),E("discrete",b.discrete)("thumbPosition",2)("valueIndicatorText",b.endValueIndicatorText))},dependencies:[LY],styles:['.mdc-slider__track{position:absolute;top:50%;transform:translateY(-50%);width:100%;pointer-events:none;height:var(--mdc-slider-inactive-track-height, 4px)}.mdc-slider__track--active,.mdc-slider__track--inactive{display:flex;height:100%;position:absolute;width:100%}.mdc-slider__track--active{overflow:hidden;border-radius:var(--mdc-slider-active-track-shape, var(--mat-sys-corner-full));height:var(--mdc-slider-active-track-height, 4px);top:calc((var(--mdc-slider-inactive-track-height, 4px) - var(--mdc-slider-active-track-height, 4px))/2)}.mdc-slider__track--active_fill{border-top-style:solid;box-sizing:border-box;height:100%;width:100%;position:relative;transform-origin:left;transition:transform 80ms ease;border-color:var(--mdc-slider-active-track-color, var(--mat-sys-primary));border-top-width:var(--mdc-slider-active-track-height, 4px)}.mdc-slider--disabled .mdc-slider__track--active_fill{border-color:var(--mdc-slider-disabled-active-track-color, var(--mat-sys-on-surface))}[dir=rtl] .mdc-slider__track--active_fill{-webkit-transform-origin:right;transform-origin:right}.mdc-slider__track--inactive{left:0;top:0;opacity:.24;background-color:var(--mdc-slider-inactive-track-color, var(--mat-sys-surface-variant));height:var(--mdc-slider-inactive-track-height, 4px);border-radius:var(--mdc-slider-inactive-track-shape, var(--mat-sys-corner-full))}.mdc-slider--disabled .mdc-slider__track--inactive{background-color:var(--mdc-slider-disabled-inactive-track-color, var(--mat-sys-on-surface));opacity:.24}.mdc-slider__track--inactive::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}@media(forced-colors: active){.mdc-slider__track--inactive::before{border-color:CanvasText}}.mdc-slider__value-indicator-container{bottom:44px;left:50%;pointer-events:none;position:absolute;transform:translateX(-50%);transform:var(--mat-slider-value-indicator-container-transform, translateX(-50%) rotate(-45deg))}.mdc-slider__thumb--with-indicator .mdc-slider__value-indicator-container{pointer-events:auto}.mdc-slider__value-indicator{display:flex;align-items:center;border-radius:4px;height:32px;padding:0 12px;transform:scale(0);transform-origin:bottom;opacity:1;transition:transform 100ms cubic-bezier(0.4, 0, 1, 1);word-break:normal;background-color:var(--mdc-slider-label-container-color, var(--mat-sys-primary));color:var(--mdc-slider-label-label-text-color, var(--mat-sys-on-primary));width:var(--mat-slider-value-indicator-width, 28px);height:var(--mat-slider-value-indicator-height, 28px);padding:var(--mat-slider-value-indicator-padding, 0);opacity:var(--mat-slider-value-indicator-opacity, 1);border-radius:var(--mat-slider-value-indicator-border-radius, 50% 50% 50% 0)}.mdc-slider__thumb--with-indicator .mdc-slider__value-indicator{transition:transform 100ms cubic-bezier(0, 0, 0.2, 1);transform:scale(1)}.mdc-slider__value-indicator::before{border-left:6px solid rgba(0,0,0,0);border-right:6px solid rgba(0,0,0,0);border-top:6px solid;bottom:-5px;content:"";height:0;left:50%;position:absolute;transform:translateX(-50%);width:0;display:var(--mat-slider-value-indicator-caret-display, none);border-top-color:var(--mdc-slider-label-container-color, var(--mat-sys-primary))}.mdc-slider__value-indicator::after{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}@media(forced-colors: active){.mdc-slider__value-indicator::after{border-color:CanvasText}}.mdc-slider__value-indicator-text{text-align:center;width:var(--mat-slider-value-indicator-width, 28px);transform:var(--mat-slider-value-indicator-text-transform, rotate(45deg));font-family:var(--mdc-slider-label-label-text-font, var(--mat-sys-label-medium-font));font-size:var(--mdc-slider-label-label-text-size, var(--mat-sys-label-medium-size));font-weight:var(--mdc-slider-label-label-text-weight, var(--mat-sys-label-medium-weight));line-height:var(--mdc-slider-label-label-text-line-height, var(--mat-sys-label-medium-line-height));letter-spacing:var(--mdc-slider-label-label-text-tracking, var(--mat-sys-label-medium-tracking))}.mdc-slider__thumb{-webkit-user-select:none;user-select:none;display:flex;left:-24px;outline:none;position:absolute;height:48px;width:48px;pointer-events:none}.mdc-slider--discrete .mdc-slider__thumb{transition:transform 80ms ease}.mdc-slider--disabled .mdc-slider__thumb{pointer-events:none}.mdc-slider__thumb--top{z-index:1}.mdc-slider__thumb-knob{position:absolute;box-sizing:border-box;left:50%;top:50%;transform:translate(-50%, -50%);border-style:solid;width:var(--mdc-slider-handle-width, 20px);height:var(--mdc-slider-handle-height, 20px);border-width:calc(var(--mdc-slider-handle-height, 20px)/2) calc(var(--mdc-slider-handle-width, 20px)/2);box-shadow:var(--mdc-slider-handle-elevation, var(--mat-sys-level1));background-color:var(--mdc-slider-handle-color, var(--mat-sys-primary));border-color:var(--mdc-slider-handle-color, var(--mat-sys-primary));border-radius:var(--mdc-slider-handle-shape, var(--mat-sys-corner-full))}.mdc-slider__thumb:hover .mdc-slider__thumb-knob{background-color:var(--mdc-slider-hover-handle-color, var(--mat-sys-primary));border-color:var(--mdc-slider-hover-handle-color, var(--mat-sys-primary))}.mdc-slider__thumb--focused .mdc-slider__thumb-knob{background-color:var(--mdc-slider-focus-handle-color, var(--mat-sys-primary));border-color:var(--mdc-slider-focus-handle-color, var(--mat-sys-primary))}.mdc-slider--disabled .mdc-slider__thumb-knob{background-color:var(--mdc-slider-disabled-handle-color, var(--mat-sys-on-surface));border-color:var(--mdc-slider-disabled-handle-color, var(--mat-sys-on-surface))}.mdc-slider__thumb--top .mdc-slider__thumb-knob,.mdc-slider__thumb--top.mdc-slider__thumb:hover .mdc-slider__thumb-knob,.mdc-slider__thumb--top.mdc-slider__thumb--focused .mdc-slider__thumb-knob{border:solid 1px #fff;box-sizing:content-box;border-color:var(--mdc-slider-with-overlap-handle-outline-color, var(--mat-sys-on-primary));border-width:var(--mdc-slider-with-overlap-handle-outline-width, 1px)}.mdc-slider__tick-marks{align-items:center;box-sizing:border-box;display:flex;height:100%;justify-content:space-between;padding:0 1px;position:absolute;width:100%}.mdc-slider__tick-mark--active,.mdc-slider__tick-mark--inactive{width:var(--mdc-slider-with-tick-marks-container-size, 2px);height:var(--mdc-slider-with-tick-marks-container-size, 2px);border-radius:var(--mdc-slider-with-tick-marks-container-shape, var(--mat-sys-corner-full))}.mdc-slider__tick-mark--inactive{opacity:var(--mdc-slider-with-tick-marks-inactive-container-opacity, 0.38);background-color:var(--mdc-slider-with-tick-marks-inactive-container-color, var(--mat-sys-on-surface-variant))}.mdc-slider--disabled .mdc-slider__tick-mark--inactive{opacity:var(--mdc-slider-with-tick-marks-inactive-container-opacity, 0.38);background-color:var(--mdc-slider-with-tick-marks-disabled-container-color, var(--mat-sys-on-surface))}.mdc-slider__tick-mark--active{opacity:var(--mdc-slider-with-tick-marks-active-container-opacity, 0.38);background-color:var(--mdc-slider-with-tick-marks-active-container-color, var(--mat-sys-on-primary))}.mdc-slider__input{cursor:pointer;left:2px;margin:0;height:44px;opacity:0;position:absolute;top:2px;width:44px;box-sizing:content-box}.mdc-slider__input.mat-mdc-slider-input-no-pointer-events{pointer-events:none}.mdc-slider__input.mat-slider__right-input{left:auto;right:0}.mat-mdc-slider{display:inline-block;box-sizing:border-box;outline:none;vertical-align:middle;cursor:pointer;height:48px;margin:0 8px;position:relative;touch-action:pan-y;width:auto;min-width:112px;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-slider.mdc-slider--disabled{cursor:auto;opacity:.38}.mat-mdc-slider .mdc-slider__thumb,.mat-mdc-slider .mdc-slider__track--active_fill{transition-duration:0ms}.mat-mdc-slider.mat-mdc-slider-with-animation .mdc-slider__thumb,.mat-mdc-slider.mat-mdc-slider-with-animation .mdc-slider__track--active_fill{transition-duration:80ms}.mat-mdc-slider.mdc-slider--discrete .mdc-slider__thumb,.mat-mdc-slider.mdc-slider--discrete .mdc-slider__track--active_fill{transition-duration:0ms}.mat-mdc-slider.mat-mdc-slider-with-animation .mdc-slider__thumb,.mat-mdc-slider.mat-mdc-slider-with-animation .mdc-slider__track--active_fill{transition-duration:80ms}.mat-mdc-slider .mat-ripple .mat-ripple-element{background-color:var(--mat-slider-ripple-color, var(--mat-sys-primary))}.mat-mdc-slider .mat-ripple .mat-mdc-slider-hover-ripple{background-color:var(--mat-slider-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-primary) 5%, transparent))}.mat-mdc-slider .mat-ripple .mat-mdc-slider-focus-ripple,.mat-mdc-slider .mat-ripple .mat-mdc-slider-active-ripple{background-color:var(--mat-slider-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-primary) 20%, transparent))}.mat-mdc-slider._mat-animation-noopable.mdc-slider--discrete .mdc-slider__thumb,.mat-mdc-slider._mat-animation-noopable.mdc-slider--discrete .mdc-slider__track--active_fill,.mat-mdc-slider._mat-animation-noopable .mdc-slider__value-indicator{transition:none}.mat-mdc-slider .mat-focus-indicator::before{border-radius:50%}.mdc-slider__thumb--focused .mat-focus-indicator::before{content:""}\n'],
encapsulation:2,changeDetection:0});var i4c=function(a,b){return b.componentId},j4c=function(a,b){return b.displayAs},NY=function(){Z.apply(this,arguments);var a=this;this.activatedRoute=r(Wi);this.teamFridge=r(IG);this.issueFridge=r(hF);this.componentActions=r(oR);this.teamId=this.activatedRoute.snapshot.params.teamId;this.components=[];this.openFilter=WG;this.selectedOpenFilter$=new IC;this.selectComponents$=new IC;this.dateRangeFilters=[{displayAs:"Last 1 Year",queryAtom:"modified:365d",tooltip:"Issues modified within 1 Year"},{displayAs:"Last 6 Months",
queryAtom:"modified:180d",tooltip:"Issues modified within 6 Months"},{displayAs:"Last 30 Days",queryAtom:"modified:30d",tooltip:"Issues modified within 30 Days"},{displayAs:"Last 7 Days",queryAtom:"modified:7d",tooltip:"Issues modified within 7 Days"}];this.selectedDateRangeFilter$=new Xi(this.dateRangeFilters[0]);this.clusterGranularity$=new Xi(1);this.query$=Ie([this.selectedOpenFilter$.value$,this.selectComponents$.value$,this.selectedDateRangeFilter$]).pipe(Lf(0,vp),z(function(b){var c=k(b);b=
c.next().value;var d=c.next().value;c=c.next().value;return k4c(a)?yp.apply(null,[xp("teamid",a.teamId)].concat(t(Array.from(b).map(function(e){return e.queryAtom})),[c.queryAtom])):yp.apply(null,[].concat(t(Array.from(b).map(function(e){return e.queryAtom})),[xp("componentId",[].concat(t(d)).map(function(e){return e.componentId}),!1),c.queryAtom]))}));this.issues$=this.query$.pipe(Yf(function(b){return a.issueFridge.watchMany({filter:b,pageSize:500})}),z(function(b){return b.results.filter(function(c){var d;
return(d=c.experimentalFields)==null?void 0:d.clusterIds.length})}));this.clusters$=Ie([this.issues$,this.clusterGranularity$]).pipe(z(function(b){var c=k(b);b=c.next().value;c=c.next().value;return l4c(b,c)}))};Y(NY,Z);NY.\u0275dir=Z.\u0275dir;
NY.prototype.ngOnInit=function(){var a=this;this.componentActions.search("teamid:"+this.teamId).then(function(b){b.sort(function(c,d){return c.name.localeCompare(d.name)});a.components=b;a.selectComponents$.add.apply(a.selectComponents$,t(a.components))});Fe(this.teamFridge.watch(this.teamId)).then(function(b){a.teamName=b==null?void 0:b.name})};NY.prototype.openFilterChanged=function(a){a?this.selectedOpenFilter$.add(WG):this.selectedOpenFilter$.delete(WG)};
var k4c=function(a){return a.selectComponents$.size===a.components.length};NY.prototype.onCheckboxChange=function(a){this.selectComponents$.has(a)?this.selectComponents$.delete(a):this.selectComponents$.add(a)};
var l4c=function(a,b){var c=new Map;a=k(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=d.experimentalFields.clusterIds[b],f=void 0,h=(f=c.get(e))!=null?f:new Set;h.add(d.issueId);c.set(e,h)}b=[].concat(t(c.values())).map(function(l){return[].concat(t(l))});return Jj(b,function(l){return l.sort().join(",")}).filter(function(l){return l.length>=3}).sort(function(l,q){return q.length-l.length}).slice(0,10).map(function(l){return[].concat(t(l))})};
NY.\u0275fac=function(){var a;return function(b){return(a||(a=ee(NY)))(b||NY)}}();
NY.\u0275cmp=C({type:NY,selectors:[["b-issue-themes-dashboard"]],standalone:!1,features:[cg],decls:46,vars:16,consts:[["componentMenuTrigger","matMenuTrigger"],["ComponentMultiSelect","matMenu"],["dateMenuTrigger","matMenuTrigger"],["DateRangeMenu","matMenu"],["slider",""],[1,"pos-fill","flex-kids-y"],[1,"border-bottom","padded-s-sides","flex-kids-x","align-items-center","gap-xs"],["type","button","mat-icon-button","","matTooltip","Refresh","aria-label","Refresh",1,"medium"],["color","primary","svgIcon",
"refresh",1,"icon-m"],[1,"margin-none","nowrap"],["svgIcon","chevron-right",1,"icon-s","muted"],[1,"overflow","overflow-on-print-media"],[1,"flex-kids-x","align-items-center","margin-s","gap-s"],["aria-label","Filter open issues",3,"change"],["appearance","hairline-filter",3,"value","selected"],[3,"matTooltip"],["aria-label","Scope search to component",3,"selectable"],["appearance","hairline-filter","aria-label","Select component search scope","color","primary","role","button",3,"keydown.enter","keyup.space",
"matMenuTriggerFor"],["matChipTrailingIcon","","svgIcon","arrow-dropdown"],["mat-menu-item","",3,"click"],[3,"change","checked"],["mat-menu-item",""],["aria-label","Select date range",3,"selectable"],["appearance","hairline-filter","aria-label","Select date range","color","primary","role","button",3,"keydown.enter","keyup.space","matMenuTriggerFor"],"max;3;min;1;step;1;showTickMarks;;matTooltip;Move slider to the right to see more general clusters.".split(";"),["aria-label","cluster granularity",
"matSliderThumb","",3,"valueChange"],[3,"clusters","teamName"],[3,"checked"]],template:function(a,b){if(a&1){var c=v();I(0,"div",5)(1,"header",6)(2,"button",7);K(3,"mat-icon",8);J();I(4,"h2",9);Q(5);J();K(6,"mat-icon",10);I(7,"h2",9);Q(8,"Explore issue themes");J()();I(9,"div",11)(10,"div",12)(11,"mat-chip-listbox",13);M("change",function(e){w(c);return x(b.openFilterChanged(e.value))});I(12,"mat-chip-option",14)(13,"span",15);Q(14);J()()();I(15,"mat-chip-listbox",16)(16,"mat-chip-option",17,0);M("keydown.enter",
function(){w(c);var e=L(17);return x(e.openMenu())})("keyup.space",function(){w(c);var e=L(17);return x(e.openMenu())});D(18,Thb,2,0,"span")(19,Uhb,2,0,"span");K(20,"mat-icon",18);J()();I(21,"mat-menu",null,1)(23,"button",19);M("click",function(e){w(c);return x(e.stopPropagation())});I(24,"mat-checkbox",20);M("change",function(){w(c);k4c(b)?b.selectComponents$.clear():b.selectComponents$.add.apply(b.selectComponents$,t(b.components));return x()});Q(25," Select all ");J()();K(26,"mat-divider");yg(27,
Vhb,3,2,"button",21,i4c);J();I(29,"mat-chip-listbox",22)(30,"mat-chip-option",23,2);M("keydown.enter",function(){w(c);var e=L(31);return x(e.openMenu())})("keyup.space",function(){w(c);var e=L(31);return x(e.openMenu())});I(32,"span");Q(33);J();K(34,"mat-icon",18);J()();I(35,"mat-menu",null,3);yg(37,Whb,2,1,"button",21,j4c);J();I(39,"span");Q(40," Granularity");J();I(41,"mat-slider",24)(42,"input",25,4);M("valueChange",function(e){w(c);b.clusterGranularity$.next(e);return x()});J()()();K(44,"b-issue-themes",
26);S(45,"async");J()()}if(a&2){a=L(22);var d=L(36);B(5);Yg(b.teamName);B(7);E("value",b.openFilter)("selected",b.selectedOpenFilter$.has(b.openFilter));B();E("matTooltip",b.openFilter.tooltip||"");B();R(" ",b.openFilter.displayAs," ");B();E("selectable",!1);B();E("matMenuTriggerFor",a);B(2);G(k4c(b)?18:19);B(6);E("checked",k4c(b));B(3);zg(b.components);B(2);E("selectable",!1);B();E("matMenuTriggerFor",d);B(3);Yg(b.selectedDateRangeFilter$.value.displayAs);B(4);zg(b.dateRangeFilters);B(7);E("clusters",
U(45,14,b.clusters$))("teamName",b.teamName)}},dependencies:[pB,eB,ly,xL,IL,GL,JL,wL,FL,DL,BL,mB,rB,RH,SH,oQ,Z3c,MY,KY,JY,ew],styles:["/*# sourceMappingURL=issue_themes_dashboard.css.map */"],changeDetection:0});var OY=function(){};OY.\u0275fac=function(a){return new (a||OY)};OY.\u0275mod=Cf({type:OY});OY.\u0275inj=p({imports:[Ox,ay]});var PY=function(){};PY.\u0275fac=function(a){return new (a||PY)};PY.\u0275mod=Cf({type:PY});PY.\u0275inj=p({imports:[OY]});var QY=function(){};QY.\u0275fac=function(a){return new (a||QY)};QY.\u0275mod=Cf({type:QY});QY.\u0275inj=p({imports:[Ox,FY,Jx]});var RY=function(){};RY.\u0275fac=function(a){return new (a||RY)};RY.\u0275mod=Cf({type:RY});RY.\u0275inj=p({imports:[lC,xY,QY,mC,bN,nN,DP,pC,jN,xQ,PY]});var dib=Date.now(),SY=function(){var a=this;this.issueFridge=r(hF);this.router=r(TA);this.ROUTES=Qq;this.phaseToUrlSlug=Kt;this.FETCH_SIZE=500;this.teamId$=new Tf(1);this.triageId$=new Tf(1);this.phase$=new Xi("NEW");this.heading$=this.phase$.pipe(z(function(b){return Xq.get(b)}));this.searchFilter$=Ie([this.teamId$,this.phase$]).pipe(z(function(b){var c=k(b);b=c.next().value;c=c.next().value;return"teamid:"+b+"+ "+Ygc[c]}));this.issues$=this.searchFilter$.pipe(Yf(function(b){return a.issueFridge.watchMany({filter:b,
pageSize:500})}),z(function(b){return b.results}));this.daysOld$=this.issues$.pipe(z(function(b){return b.map(function(c){var d,e;return(e=(d=c.aggregatedData)==null?void 0:d.modifiedTimeMicros)!=null?e:0})}),z(function(b){return b.map(eib)}));this.avgAge$=this.daysOld$.pipe(z(Pqa),z(function(b){return Math.round(b*10)/10}));this.countsByDaysOld$=this.daysOld$.pipe(z(function(b){var c=b.map(function(e){return Math.floor(e)});b=[];c=k(c);for(var d=c.next();!d.done;d=c.next())d=d.value,b[d]=~~b[d]+
1;return Array.from(b,function(e){return e!=null?e:0}).reverse()}));this.ratioDaysOld$=this.countsByDaysOld$.pipe(z(function(b){var c=Math.max.apply(Math,t(b));return b.map(function(d){return d/c})}))};da.Object.defineProperties(SY.prototype,{teamId:{configurable:!0,enumerable:!0,set:function(a){this.teamId$.next(a)}},triageId:{configurable:!0,enumerable:!0,set:function(a){this.triageId$.next(a)}},phase:{configurable:!0,enumerable:!0,set:function(a){this.phase$.next(a)}}});
SY.\u0275fac=function(a){return new (a||SY)};
SY.\u0275cmp=C({type:SY,selectors:[["phase-card-contents"]],inputs:{teamId:"teamId",triageId:"triageId",phase:"phase"},standalone:!1,decls:19,vars:12,consts:[[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,"flex-kids-x"],[1,"heading-s","subtle-link","align-self-center",3,"href"],["type","button","mat-button","","color","primary margin-left-auto","title","View issues",3,"click"],
["svgIcon","arrow-forward","iconPositionEnd",""],[3,"title","style"],[3,"title"]],template:function(a,b){a&1&&(D(0,Yhb,2,3),S(1,"async"),I(2,"div",0)(3,"div",1)(4,"p",2),Q(5,"Total Issues"),J(),I(6,"p",3),D(7,Zhb,1,2),S(8,"async"),D(9,$hb,1,0),J()(),I(10,"div",4)(11,"p",2),Q(12,"Avg Last Modified"),J(),I(13,"p",3),Q(14),S(15,"async"),J()()(),I(16,"div",5),D(17,cib,2,3),S(18,"async"),J());if(a&2){var c,d,e;G((c=U(1,4,b.teamId$))?0:-1,c);B(7);G((d=U(8,6,b.issues$))?7:9,d);B(7);R(" ",U(15,8,b.avgAge$),
" days ");B(3);G((e=U(18,10,b.countsByDaysOld$))?17:-1,e)}},dependencies:[pB,eB,jy,ew],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 m4c=/^\s*(?:hotlistid|h):(\d+)\s*$/i,n4c=/(?:\s|^)(?:componentid|c):(\d+)\s*/i,o4c=/^\s*savedsearchid:(\d+)\s*$/i,TY=function(){Z.call(this);var a=this;this.$log=r(bB);this.activeSession=r(Bu);this.contextSensitiveRegistry=r(UH);this.analytics=r(OF);this.currentQuery="";this.currentTrackerScope=[];this.queryState$=new Xi({query:"",cursorPosition:void 0,setViaInteraction:!1});this.currentTrackerIdList$=Ne(function(){var b;return Ae((b=a.activeSession.getTracker())==null?void 0:b.trackerId)}).pipe(z(function(b){return b?
[b]:[]}));this.selectedTrackerIds$=new Uf;this.trackerScope$=Te(this.currentTrackerIdList$,this.selectedTrackerIds$);this.searchHandlerStack=[];this.searchTriggered$=new Uf;this.subscriptions.add(this.queryState$.pipe(Zf(this.destroyed$)).subscribe(function(b){a.currentQuery=b.query;(b=a.currentQuery.match(n4c))?a.contextSensitiveRegistry.componentIdOverride$.next(Number(b[1])):a.contextSensitiveRegistry.componentIdOverride$.next(null);(b=a.currentQuery.match(m4c))?a.contextSensitiveRegistry.hotlistIdOverride$.next(Number(b[1])):
a.contextSensitiveRegistry.hotlistIdOverride$.next(null)}));this.subscriptions.add(this.trackerScope$.pipe(Zf(this.destroyed$)).subscribe(function(b){a.currentTrackerScope=b}))};Y(TY,Z);TY.\u0275dir=Z.\u0275dir;TY.prototype.clear=function(){UY(this,"")};var UY=function(a,b){a.queryState$.next({query:b,cursorPosition:void 0,setViaInteraction:!1})},p4c=function(a){return"assignee:"+a+" status:open"},q4c=function(a,b){return a.currentQuery===p4c("me")||a.currentQuery===p4c(b===void 0?"":b)};
TY.prototype.getStarred=function(){return"star:true"};TY.prototype.isStarred=function(){return this.currentQuery===this.getStarred()};var r4c=function(a){return"verifier:"+a+" status:open | status:fixed"},s4c=function(a){return(a=a.currentQuery.match(m4c))?Number(a[1]):0},t4c=function(a){return(a=a.currentQuery.match(o4c))?Number(a[1]):0},u4c=function(a){return(a=a.currentQuery.match(n4c))?Number(a[1]):0};TY.prototype.track=function(a,b,c){this.analytics.trackEvent("global-search",a,b,c)};
var v4c=function(a,b){a.searchHandlerStack.push(b);return function(){Ta(a.searchHandlerStack,b)}};TY.\u0275fac=function(a){return new (a||TY)};TY.\u0275prov=n({token:TY,factory:TY.\u0275fac,providedIn:"root"});var VY=function(){var a=this;this.activatedRoute=r(Wi);this.appSearchState=r(TY);this.teamFridge=r(IG);this.ROUTES=Qq;this.TriagePhase=sgc;this.activatedRoute.params.pipe(z(function(b){return{teamId:b.teamId,triageId:b.triageId}}));this.id$=this.activatedRoute.params.pipe(z(function(b){return b.teamId}));this.triageId$=this.activatedRoute.params.pipe(z(function(b){return b.triageId}));Ie([this.id$,this.triageId$]).pipe(z(function(b){var c=k(b);b=c.next().value;c=c.next().value;return!(!b||!c&&c!==
"0")}));this.team$=this.id$.pipe(Yf(function(b){return a.teamFridge.watch(b)}));this.query$=this.id$.pipe(z(function(b){return"teamid:"+b+"+"}))};VY.prototype.ngOnInit=function(){var a=this;setTimeout(function(){a.appSearchState.clear()})};VY.\u0275fac=function(a){return new (a||VY)};
VY.\u0275cmp=C({type:VY,selectors:[["triage-dashboard"]],standalone:!1,decls:14,vars:11,consts:[[1,"pos-fill","overflow","overflow-on-print-media"],[1,"border-bottom","padded-s-sides"],[1,"left","flex-kids-x","align-items-center","gap-s"],["mat-icon-button","","aria-label","Back to Triage",1,"medium",3,"href"],["color","primary","svgIcon","arrow-backward",1,"icon-m","back-btn"],[3,"title"],[1,"muted"],[1,"main-content","padded","grid"],[1,"carded","bg-off-main",3,"phase","teamId","triageId"]],template:function(a,
b){a&1&&(I(0,"div",0)(1,"header",1)(2,"div",2)(3,"a",3),S(4,"async"),S(5,"async"),K(6,"mat-icon",4),J(),I(7,"h2"),Q(8," Dashboard: "),D(9,jib,2,2,"span",5),S(10,"async"),D(11,kib,3,3,"code",6),J()()(),D(12,mib,2,3),S(13,"async"),J());if(a&2){var c,d;B(3);E("href",b.ROUTES.viewTriage.makeHref(U(4,3,b.id$),U(5,5,b.triageId$)),vf);B(6);G((c=U(10,7,b.team$))?9:11,c);B(3);G((d=U(13,9,b.id$))?12:-1,d)}},dependencies:[pB,eB,my,SY,ew],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 w4c="comment priority status assignee self-assign self-unassign unassign".split(" "),x4c=["create"],WY=function(){this.paths=r(IP);this.issueFullFridge=r(QF);this.toIssuePriority=Lj;this.getResponsibleEmailAddress=sib;this.getChangelistNumber=oib;this.getLink=pib;this.getPreviousDiffValue=tib;this.getNewDiffValue=rib;this.shorthandAllDiffs=qib;this.getClMetadata=nib;this.isCritiqueComment=Vl;this.isFullGerritComment=Wl;this.STATUS_CODE_FROM_DISPLAY_STRING=dhc;this.type="default"};
WY.prototype.ngOnInit=function(){this.type=uib(this.event)};WY.\u0275fac=function(a){return new (a||WY)};
WY.\u0275cmp=C({type:WY,selectors:[["recent-event-row"]],inputs:{event:"event"},standalone:!1,decls:15,vars:5,consts:[[3,"ldapOnly","email"],[3,"href","issueId"],["mode","relativepast",3,"timestamp"],[3,"id"],["target","_blank",3,"href"],[1,"cl-title","muted",3,"title"],[3,"issuePriority"],[1,"status-update","muted",3,"title"],[3,"title"],[1,"comment-text","muted",3,"title"],[1,"issue-title","muted",3,"title"]],template:function(a,b){a&1&&(K(0,"b-user-email",0),D(1,vib,4,4)(2,zib,5,4)(3,Aib,4,4)(4,
Bib,6,5)(5,Dib,4,5)(6,Fib,5,5)(7,Gib,6,6)(8,Hib,4,4)(9,Iib,4,4)(10,Jib,6,6)(11,Kib,5,4)(12,Lib,5,5)(13,Nib,1,1)(14,Pib,1,1));if(a&2){var c;E("ldapOnly",!0)("email",b.getResponsibleEmailAddress(b.event));B();G((c=b.type)==="create"?1:c==="changelist"?2:c==="comment"?3:c==="priority"?4:c==="status"?5:c==="statusUpdate"?6:c==="assignee"?7:c==="self-assign"?8:c==="self-unassign"?9:c==="unassign"?10:c==="component"?11:12);B(12);G(w4c.includes(b.type)?13:-1);B();G(x4c.includes(b.type)?14:-1)}},dependencies:[dP,
iH,hI,FH,mHc],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 XY=function(){Z.apply(this,arguments);var a=this;this.recentEventsForIssuesFridge=r(sG);this.activeSession=r(Bu);this.enableExternalMentionsFe=Vt(this.activeSession,"enableExternalMentionsFe");this.quickFilter=new My("");this.printStats=cjb;this.defaultNumEvents=6;this.numDisplayed$=new Xi(this.defaultNumEvents);this.query$=new Tf(1);this.renderDelay$=Ae(!0).pipe(Of(1E3));this.allEvents$=this.query$.pipe(Ue(ik),Zf(this.destroyed$),z(function(b){return[b,100].join("___")}),Yf(function(b){return a.recentEventsForIssuesFridge.watch(b)}),
z(function(b){var c;return(c=b==null?void 0:b.events)!=null?c:[]}));this.events$=Ie([this.allEvents$,this.quickFilter.valueChanges.pipe(Xf(""))]).pipe(z(function(b){var c=k(b);b=c.next().value;b=b===void 0?[]:b;c=c.next().value;return b.filter(bjb(c))}));this.bucketedEvents$=Ie([this.events$,this.numDisplayed$]).pipe(z(function(b){var c=k(b);b=c.next().value;c=c.next().value;return b.slice(0,c)}),z(djb));this.allBucketedEvents$=this.events$.pipe(z(djb));this.bucketedEventStats$=this.allBucketedEvents$.pipe(z(function(b){return{"<24h":ejb("<24h",
b,a.enableExternalMentionsFe),"24h-7d":ejb("24h-7d",b,a.enableExternalMentionsFe),"7d-30d":ejb("7d-30d",b,a.enableExternalMentionsFe),">30d":ejb(">30d",b,a.enableExternalMentionsFe)}}))};Y(XY,Z);XY.\u0275dir=Z.\u0275dir;da.Object.defineProperties(XY.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)}}});
XY.\u0275fac=function(){var a;return function(b){return(a||(a=ee(XY)))(b||XY)}}();
XY.\u0275cmp=C({type:XY,selectors:[["recent-events"]],inputs:{numEvents:"numEvents",query:"query"},standalone:!1,features:[cg],decls:2,vars:3,consts:[[1,"heading-xs","margin-bottom"],["type","search","placeholder","filter","aria-label","filter recent activity",1,"margin-s-left","subtle","b-input-style",3,"formControl"],["type","button",1,"link-button","margin-s-top"],[1,"muted","bold","margin-s-bottom"],[3,"event"],[1,"muted","bold","margin-s-bottom","margin-top"],["type","button",1,"link-button",
"margin-s-top",3,"click"]],template:function(a,b){a&1&&(D(0,ajb,5,4),S(1,"async"));a&2&&G(U(1,1,b.renderDelay$)?0:-1)},dependencies:[oi,Gy,Sy,WY,ew],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 YY=function(){};YY.\u0275fac=function(a){return new (a||YY)};YY.\u0275mod=Cf({type:YY});YY.\u0275inj=p({imports:[cz,bz,lC,gP,TM,GN,jP,GQ]});var hjb=function(a,b){return b.searchId},ZY=function(){Z.apply(this,arguments);this.dialogRef=r(mI);this.currentUserBookmarksFridge=r(ZD);this.selectedIds=new Set;this.savedSearches$=rjc(this.currentUserBookmarksFridge)};Y(ZY,Z);ZY.\u0275dir=Z.\u0275dir;ZY.prototype.onChangeMatList=function(a){var b=this;a.options.forEach(function(c){c.selected?b.selectedIds.add(c.value):b.selectedIds.delete(c.value)})};ZY.prototype.onSave=function(){var a=[].concat(t(this.selectedIds)).map(String);this.dialogRef.close(a)};
ZY.prototype.onCancel=function(){this.dialogRef.close()};ZY.\u0275fac=function(){var a;return function(b){return(a||(a=ee(ZY)))(b||ZY)}}();
ZY.\u0275cmp=C({type:ZY,selectors:[["saved-search-picker-dialog"]],standalone:!1,features:[cg],decls:10,vars:5,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["aria-label","Add a Saved Search"],["mat-dialog-actions",""],["type","button","mat-button","",1,"medium","cancel",3,"click"],["type","button","mat-flat-button","","color","primary","data-test","save",1,"medium",3,"click","disabled"],["aria-label","Add a Saved Search",3,"selectionChange"],["checkboxPosition","before",3,"selected",
"value","height"],["checkboxPosition","before",3,"selected","value"],[1,"savedsearch-name","type-m","flex-kids-x","align-items-center"],[1,"overflow-ellipsis"],[1,"line-clamp-2","muted","type-s"]],template:function(a,b){a&1&&(I(0,"header",0),Q(1," Add a Saved Search "),J(),I(2,"div",1),D(3,ijb,3,0,"mat-selection-list",2),S(4,"async"),J(),I(5,"div",3)(6,"button",4),M("click",function(){return b.onCancel()}),Q(7," Cancel "),J(),I(8,"button",5),M("click",function(){return b.onSave()}),Q(9),J()());if(a&
2){var c;B(3);G((c=U(4,3,b.savedSearches$))?3:-1,c);B(5);E("disabled",b.selectedIds.size===0);B();R(" Save ",b.selectedIds.size>1?"("+b.selectedIds.size+")":""," ")}},dependencies:[eB,jy,wI,yI,xI,IQ,PQ,OQ,ew],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 $Y=function(){};$Y.\u0275fac=function(a){return new (a||$Y)};$Y.\u0275mod=Cf({type:$Y});$Y.\u0275inj=p({imports:[lC,mC,XI,pC,jN,TQ,bz,cz,hC,mC,QP,iP,WM]});var aZ=function(){this.dialog=r(tI)};aZ.prototype.open=function(a){var b=this,c={panelClass:"no-jitter"};return new Promise(function(d){nI(b.dialog.open(ZY,c)).subscribe(function(e){e=e===void 0?[]:e;a==null||a(e);d(e)})})};aZ.\u0275fac=function(a){return new (a||aZ)};aZ.\u0275prov=n({token:aZ,factory:aZ.\u0275fac,providedIn:"root"});var y4c=function(){return[]},bZ=function(){Z.apply(this,arguments);var a=this;this.issueFridge=r(hF);this.changelistFridge=r(jD);this.activeSession=r(Bu);this.query$=new Tf(1);this.issues$=this.query$.pipe(Yf(function(b){return a.issueFridge.watchMany(b).pipe(z(function(c){if(Qr(a.ref)==="issue")return c.results;var d;return Opc(c.results,(d=a.activeSession.getTracker())==null?void 0:d.trackerId)}))}));this.emails$=this.issues$.pipe(z(function(b){return b.map(nxa).filter(ik)}),z(Iua));this.submittedClLinks$=
this.issues$.pipe(z(function(b){return b.flatMap(function(c){var d,e,f;return(f=(d=c.snapshot)==null?void 0:(e=d[0])==null?void 0:e.changelist)!=null?f:[]})}));this.pendingCls$=this.issues$.pipe(z(function(b){return b.map(function(c){return c.issueId})}),Yf(function(b){return a.changelistFridge.watchMany({pendingForIssues:b})}),z(function(b){return b.results}))};Y(bZ,Z);bZ.\u0275dir=Z.\u0275dir;bZ.prototype.getHotlistId=function(){if(Qr(this.ref)==="hotlist")return Pr(this.ref)};
da.Object.defineProperties(bZ.prototype,{query:{configurable:!0,enumerable:!0,set:function(a){a!=null&&this.query$.next(a)}}});bZ.\u0275fac=function(){var a;return function(b){return(a||(a=ee(bZ)))(b||bZ)}}();
bZ.\u0275cmp=C({type:bZ,selectors:[["rollups-list"]],inputs:{ref:"ref",query:"query"},standalone:!1,features:[cg],decls:11,vars:16,consts:[[1,"flex-kids-x","align-items-center"],[1,"flex-kids-x","align-items-center","dividers-between"],[3,"ref","count"],[3,"submitted","pending"],[3,"emails"],[1,"shrink-0","margin-left-auto"],["mat-stroked-button","","target","_blank",1,"small","pop-out-link",3,"href"],["svgIcon","pop-out",1,"icon-xs"]],template:function(a,b){a&1&&(I(0,"section",0)(1,"div",1),K(2,
"issue-count",2),S(3,"async"),K(4,"cl-counts",3),S(5,"async"),S(6,"async"),D(7,jjb,1,1,"avatar-bunch",4),S(8,"async"),J(),I(9,"div",5),D(10,kjb,3,1,"a",6),J()());if(a&2){var c,d,e,f,h;B(2);E("ref",b.ref)("count",(c=U(3,6,b.issues$))==null?null:c.length);B(2);E("submitted",(d=U(5,8,b.submittedClLinks$))!==null&&d!==void 0?d:dh(14,y4c))("pending",(e=U(6,10,b.pendingCls$))!==null&&e!==void 0?e:dh(15,y4c));B(3);G((f=U(8,12,b.emails$))?7:-1,f);B(3);a:{if(El(b.activeSession.session)&&(a=b.getHotlistId(),
a!=null)){a="https://taskflow.corp.google.com/hotlists/"+a;break a}a=void 0}G((h=a)?10:-1,h)}},dependencies:[pB,eB,ky,sY,tY,uY,ew],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 mjb=function(){return[]},cZ=function(){Z.call(this);var a=this;this.issueRelationshipsFridge=r(bG);this.metadataFridge=r(VC);this.issueFullFridge=r(QF);this.changelistFridge=r(jD);this.id$=new Tf(1);this.issue$=this.id$.pipe(Yf(function(b){return a.issueFullFridge.watch(b)}));this.metadata$=this.id$.pipe(Yf(function(b){return a.metadataFridge.watch(b)}));this.closedAndTotal$=this.metadata$.pipe(z(Uxa));this.metadata$.pipe(z(Wxa));this.gerritChanges$=this.metadata$.pipe(z(Xxa));this.emails$=this.metadata$.pipe(z(Yxa));
this.pendingCls$=Ie([this.id$,this.metadata$]).pipe(Yf(function(b){var c=k(b);b=c.next().value;c=c.next().value;var d;c=(d=c==null?void 0:c.issueIds)!=null?d:[];d=[b].concat(t(c));return a.changelistFridge.watchMany({pendingForIssues:d})}),z(function(b){return b.results}));this.subscriptions.add(Te(this.issueRelationshipsFridge.memoryWasSet$,this.issueRelationshipsFridge.collectiveMemoryWasSet$,this.issueFullFridge.memoryWasSet$,this.issueFullFridge.collectiveMemoryWasSet$).pipe(Jf(this.id$),Lf(2E3)).subscribe(function(b){return void a.metadataFridge.poke(b[1])}))};
Y(cZ,Z);cZ.\u0275dir=Z.\u0275dir;da.Object.defineProperties(cZ.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.id$.next(a)}}});cZ.\u0275fac=function(a){return new (a||cZ)};
cZ.\u0275cmp=C({type:cZ,selectors:[["rollups-project"]],inputs:{id:"id"},standalone:!1,features:[cg],decls:11,vars:15,consts:[[1,"flex-kids-x","align-items-center","dividers-between"],[3,"closed","total"],[3,"issue"],[3,"submitted","pending"],[3,"changes"],[3,"emails"]],template:function(a,b){a&1&&(I(0,"section",0),D(1,ljb,1,2,"progress-pie",1),S(2,"async"),K(3,"issue-timeframe",2),S(4,"async"),D(5,njb,2,5,"cl-counts",3),S(6,"async"),D(7,pjb,1,1),S(8,"async"),D(9,rjb,1,1),S(10,"async"),J());if(a&
2){var c,d,e,f;B();G((c=U(2,5,b.closedAndTotal$))?1:-1,c);B(2);E("issue",U(4,7,b.issue$));B(2);G((d=U(6,9,b.metadata$))?5:-1,d);B(2);G((e=U(8,11,b.gerritChanges$))?7:-1,e);B(2);G((f=U(10,13,b.emails$))?9:-1,f)}},dependencies:[sY,tY,wU,vU,N3c,ew],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 z4c=(new gC).transform,dZ=function(){this.kansasPrefsManager=r(TG);this.destroyed$=new Tf(1);this.prefs$=this.kansasPrefsManager.preferences$.pipe(z(function(a){var b;return(b=a==null?void 0:a.missionControlPreferences)!=null?b:{}}));this.prefsSubject$=sp(this.prefs$.pipe(Zf(this.destroyed$)),{});this.myTasksSources$=this.prefs$.pipe(z(function(a){var b,c=(b=a==null?void 0:a.myTasksSources)!=null?b:[];a=a==null?void 0:a.isMyTasksSourcesConfigured;return c.length!==0||a?c.map(tjb):[].concat(t(snc))}));
this.needsAttentionSources$=this.prefs$.pipe(z(function(a){var b,c=(b=a==null?void 0:a.needsAttentionSources)!=null?b:[];a=a==null?void 0:a.isNeedsAttentionSourcesConfigured;return c.length!==0||a?c.map(tjb):[].concat(t(rnc))}));this.needsAttentionTimeBoundary$=this.prefs$.pipe(z(function(a){var b;return(b=a==null?void 0:a.needsAttentionDaysOld)!=null?b:30}));this.needsAttentionFilteredSignals$=this.prefs$.pipe(z(function(a){return{buganizerSignals:vjb(a==null?void 0:a.needsAttentionBuganizerFilteredSignals),
driveSignals:zjb(a==null?void 0:a.needsAttentionDriveFilteredSignals),gerritSignals:Bjb(a==null?void 0:a.needsAttentionGerritFilteredSignals),changelistSignals:xjb(a==null?void 0:a.needsAttentionChangelistFilteredSignals)}}),Vf({bufferSize:1,refCount:!0}))};dZ.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete()};
var Ot=function(a,b){a.kansasPrefsManager.save({missionControlPreferences:Object.assign({},a.prefs,b)}).subscribe()},Xlb=function(a,b,c){switch(b){case "mc-my-tasks":a.prefs.myTasksTab=c;Ot(a,{myTasksTab:c});break;case "work-areas-wrapper-card":a.prefs.workAreaTab=c;Ot(a,{workAreaTab:c});break;default:console.error("unhandled tab key, cannot save preference")}};
dZ.prototype.toggleCollapsed=function(a){var b;this.prefs.collapsed=(b=this.prefs.collapsed)!=null?b:{};this.prefs.collapsed[a]=!this.prefs.collapsed[a];Ot(this,{collapsed:this.prefs.collapsed})};var IYb=function(a,b){b=b.map(sjb);a.prefs.needsAttentionSources=b;Ot(a,{needsAttentionSources:b,isNeedsAttentionSourcesConfigured:!0})};dZ.prototype.isCollapsed=function(a){var b;return!((b=this.prefs.collapsed)==null||!b[a])};
var A4c=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")}};dZ.prototype.getMyTasksSources=function(){var a,b=(a=this.prefs.myTasksSources)!=null?a:[];a=this.prefs.isMyTasksSourcesConfigured;return b.length!==0||a?b.map(tjb):[].concat(t(snc))};var B4c=function(a,b){var c;return(a=(c=a.prefs.workAreaQuickFilters)==null?void 0:c[b])?[a]:[]};
dZ.prototype.addHotlist=function(a){eZ(this,Nr(a))};dZ.prototype.hasHotlist=function(a){return a==null?!1:C4c(this,Nr(a))};dZ.prototype.hasSavedSearch=function(a){return a==null?!1:C4c(this,Or(a))};
var C4c=function(a,b){var c;return((c=a.prefs.workAreaUrls)!=null?c:[]).indexOf(b)>=0},eZ=function(a,b){typeof b==="string"&&(b=[b]);if(b!=null&&b.length!==0){var c,d=(c=a.prefs.workAreaUrls)!=null?c:[];d=Eua(b,d);Ot(a,{workAreaUrls:d})}},Tlb=function(a,b,c){var d,e=((d=a.prefs.workAreaUrls)!=null?d:[]).slice();z4c(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,Ot(a,{workAreaUrls:e}))};
da.Object.defineProperties(dZ.prototype,{prefs:{configurable:!0,enumerable:!0,get:function(){return this.prefsSubject$.value}}});dZ.\u0275fac=function(a){return new (a||dZ)};dZ.\u0275prov=n({token:dZ,factory:dZ.\u0275fac,providedIn:"root"});var fZ=function(){this.issueFridge=r(hF);this.candidateIssues$=this.issueFridge.watchMany(unc);this.suggestions$=this.candidateIssues$.pipe(z(l6a))};fZ.\u0275fac=function(a){return new (a||fZ)};fZ.\u0275prov=n({token:fZ,factory:fZ.\u0275fac,providedIn:"root"});var D4c=function(){this.dataStore=new Map};D4c.prototype.getKeys=function(){return Array.from(this.dataStore.keys())};var E4c=function(a,b){for(a.dataStore.has(b)&&a.dataStore.delete(b);a.dataStore.size>=50;)a.dataStore.delete(a.dataStore.keys().next().value);a.dataStore.set(b,void 0)},F4c=function(a,b){var c;b=(c=b==null?void 0:b.split(","))!=null?c:[];a.dataStore.clear();c=k(b);for(b=c.next();!b.done;b=c.next())a.dataStore.set(b.value,void 0)};var gZ=function(){var a=this;this.prefsService=r(dZ);this.isNumeric=iib;this.isActive=function(){return G4c(a,a.prefsService.prefs,a.filter.key)};this.active$=this.prefsService.prefs$.pipe(z(function(b){var c;return G4c(a,b,(c=a.filter)==null?void 0:c.key)}))};
gZ.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];Ot(b,{workAreaQuickFilters:b.prefs.workAreaQuickFilters})}};gZ.prototype.isDisabled=function(){return String(this.countDisplay)==="0"&&!this.isActive()};
var G4c=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(gZ.prototype,{metadata:{configurable:!0,enumerable:!0,set:function(a){this.metadataInternal=a;if(a!=null)if(this.filter.key==="OPEN"){if(a==null)var b=0;else{b=0;a=k(a.aggregatedStatus);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=c.issueIds===void 0?[]:c.issueIds,e=void 0;if((e=Rl[c.status])==null?0:e.open)b+=d.length}}this.countDisplay=b}else if(this.filter.key==="BROAD_IN_PROGRESS")b=Vxa(a,"ASSIGNED"),a=Vxa(a,"ACCEPTED"),this.countDisplay=b+a;else throw Error("bg`"+
this.filter.key);},get:function(){return this.metadataInternal}},key:{configurable:!0,enumerable:!0,set:function(a){this.filter=Rr[a]}},computeCountFor:{configurable:!0,enumerable:!0,set:function(a){if(a==null)this.countDisplay="-";else{var b,c,d=(c=Rr[(b=this.filter)==null?void 0:b.key])==null?void 0:c.check;this.countDisplay=a.filter(d).length}}}});gZ.\u0275fac=function(a){return new (a||gZ)};
gZ.\u0275cmp=C({type:gZ,selectors:[["qif-stat"]],hostBindings:function(a,b){a&1&&M("click",function(){return b.onClick()})},inputs:{metadata:"metadata",key:"key",prefKey:"prefKey",computeCountFor:"computeCountFor"},standalone:!1,decls:5,vars:7,consts:[["type","button",1,"unstyled-button","stat-card",3,"title"],[1,"big-number",3,"muted"],[1,"big-number"]],template:function(a,b){a&1&&(I(0,"button",0),S(1,"async"),I(2,"label"),Q(3),J(),D(4,Cjb,2,3,"div",1),J());if(a&2){var c;E("title",(c=b.filter.tooltip)!==
null&&c!==void 0?c:"");jg("aria-pressed",U(1,5,b.active$))("disabled",b.isDisabled()?"true":null);B(3);Yg(b.filter.displayAs);B();G(b.metadata||b.countDisplay!==void 0?4:-1)}},dependencies:[ew],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 hZ=function(){};hZ.\u0275fac=function(a){return new (a||hZ)};hZ.\u0275mod=Cf({type:hZ});hZ.\u0275inj=p({imports:[lC,FN,kC,mC]});var iZ=function(){var a=this;this.issueFridge=r(hF);this.activeSession=r(Bu);this.QuickFilterKey=Kgc;this.query$=new Tf(1);this.issues$=this.query$.pipe(Yf(function(b){return a.issueFridge.watchMany(b)}),z(function(b){if(a.entityType==="issue")return b.results;var c;return Opc(b.results,(c=a.activeSession.getTracker())==null?void 0:c.trackerId)}))};da.Object.defineProperties(iZ.prototype,{query:{configurable:!0,enumerable:!0,set:function(a){a!=null&&this.query$.next(a)}}});
iZ.\u0275fac=function(a){return new (a||iZ)};
iZ.\u0275cmp=C({type:iZ,selectors:[["stat-cards-list"]],inputs:{prefKey:"prefKey",entityType:"entityType",query:"query"},standalone:!1,decls:17,vars:40,consts:[[1,"flex-kids-x","gap"],[3,"key","prefKey","computeCountFor"]],template:function(a,b){a&1&&(I(0,"div",0),K(1,"qif-stat",1),S(2,"async"),K(3,"qif-stat",1),S(4,"async"),K(5,"qif-stat",1),S(6,"async"),K(7,"qif-stat",1),S(8,"async"),K(9,"qif-stat",1),S(10,"async"),K(11,"qif-stat",1),S(12,"async"),K(13,"qif-stat",1),S(14,"async"),K(15,"qif-stat",
1),S(16,"async"),J());a&2&&(B(),E("key",b.QuickFilterKey.OPEN)("prefKey",b.prefKey)("computeCountFor",U(2,24,b.issues$)),B(2),E("key",b.QuickFilterKey.BROAD_IN_PROGRESS)("prefKey",b.prefKey)("computeCountFor",U(4,26,b.issues$)),B(2),E("key",b.QuickFilterKey.ASSIGNED_TO_ME_AND_OPEN)("prefKey",b.prefKey)("computeCountFor",U(6,28,b.issues$)),B(2),E("key",b.QuickFilterKey.NEWLY_FILED)("prefKey",b.prefKey)("computeCountFor",U(8,30,b.issues$)),B(2),E("key",b.QuickFilterKey.RECENTLY_ACTIVE)("prefKey",b.prefKey)("computeCountFor",
U(10,32,b.issues$)),B(2),E("key",b.QuickFilterKey.HIGH_PRIORITY)("prefKey",b.prefKey)("computeCountFor",U(12,34,b.issues$)),B(2),E("key",b.QuickFilterKey.TRENDING)("prefKey",b.prefKey)("computeCountFor",U(14,36,b.issues$)),B(2),E("key",b.QuickFilterKey.PROGRESS)("prefKey",b.prefKey)("computeCountFor",U(16,38,b.issues$)))},dependencies:[gZ,ew],styles:["[_nghost-%COMP%]{display:block;padding-left:1px}\n/*# sourceMappingURL=stat_cards_list.css.map */"],changeDetection:0});var jZ=function(){var a=this;this.metadataFridge=r(VC);this.QuickFilterKey=Kgc;this.id$=new Tf(1);this.metadata$=this.id$.pipe(Yf(function(b){return a.metadataFridge.watch(b)}));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(jZ.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.id$.next(a);this.idInternal=a},get:function(){return this.idInternal}}});
jZ.\u0275fac=function(a){return new (a||jZ)};jZ.\u0275cmp=C({type:jZ,selectors:[["stat-cards-project"]],inputs:{id:"id"},standalone:!1,decls:2,vars:3,consts:[[1,"flex-kids-x","gap"],[3,"key","prefKey","metadata"]],template:function(a,b){a&1&&(D(0,Djb,5,10,"div",0),S(1,"async"));a&2&&G(U(1,1,b.hasDescendants$)?0:-1)},dependencies:[gZ,ew],styles:["[_nghost-%COMP%]{display:block;padding-left:1px}\n/*# sourceMappingURL=stat_cards_project.css.map */"],changeDetection:0});var kZ=function(){};kZ.\u0275fac=function(a){return new (a||kZ)};kZ.\u0275mod=Cf({type:kZ});kZ.\u0275inj=p({imports:[lC,FN,kC,mC,vY,hZ]});var H4c={CANCEL:"CANCEL",ARCHIVE_ALL:"ARCHIVE_ALL",ARCHIVE_ONE:"ARCHIVE_ONE"},I4c=function(){this.data=r(sI);this.paths=r(IP);this.descendantIssuesUrl=this.paths.listIssues({q:"parentId:"+this.data.issueId+"+"});this.numberOfDescendants=this.data.numberOfDescendants;this.ActionType=H4c};I4c.\u0275fac=function(a){return new (a||I4c)};
I4c.\u0275cmp=C({type:I4c,selectors:[["b-issue-archive-dialog"]],standalone:!1,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",""],["type","button","mat-button","",1,"medium",3,"matDialogClose"],["type","button","mat-flat-button","","color","primary","cdkFocusInitial","",1,"medium",3,"matDialogClose"]],template:function(a,b){a&1&&(I(0,"h1",0),Q(1,"Archive with all descendant issues?"),
J(),I(2,"div",1),Q(3),K(4,"br")(5,"br"),I(6,"a",2),Q(7,"View all descendant issues"),J(),K(8,"br"),I(9,"a",3),Q(10,"Learn more"),J()(),I(11,"div",4)(12,"button",5),Q(13,"Cancel"),J(),I(14,"button",5),Q(15," Just this one "),J(),I(16,"button",6),Q(17," Archive all "),J()());a&2&&(B(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? "),B(3),Lg("href",b.descendantIssuesUrl,
vf),B(6),E("matDialogClose",b.ActionType.CANCEL),B(2),E("matDialogClose",b.ActionType.ARCHIVE_ONE),B(2),E("matDialogClose",b.ActionType.ARCHIVE_ALL))},dependencies:[eB,jy,uI,wI,yI,xI],encapsulation:2});var lZ=function(){this.issueApi=r(ME);this.dialog=r(tI);this.confirmationDialogService=r(AI);this.issueRelationshipsFridge=r(bG);this.issueFullFridge=r(QF);this.eventsForIssueFridge=r(NE);this.paths=r(IP);this.butterBar=r(fH);this.editIssueService=r(kJ)};
lZ.prototype.submitArchivalState=function(a,b){var c=this;return se(function(d){if(d.nextAddress==1)return b?y(d,c.archive(a),5):y(d,c.editIssueService.unarchive(a),0);c.issueFullFridge.poke(a);c.eventsForIssueFridge.poke(a);xe(d)})};
lZ.prototype.archive=function(a){var b=this,c,d,e,f,h,l,q,u,A,F;return se(function(H){if(H.nextAddress==1)return y(H,Promise.all([b.getDescendants(a),Fe(b.issueFullFridge.watch(a))]),2);c=H.yieldResult;d=k(c);e=d.next().value;f=d.next().value;h=e;l=f;q=h;u=q.childToParents;A=q.completeResult;F=[].concat(t(u.keys()));u.set(a,l.parentIssueIds||[]);return F.length===0?H.return(J4c(b,a,u)):A?H.return(K4c(b,a,F,u)):H.return(L4c(b,a,u))})};
var K4c=function(a,b,c,d){var e,f,h;return se(function(l){if(l.nextAddress==1)return e={numberOfDescendants:c.length,issueId:b},f={data:e,width:"500px"},y(l,Fe(nI(a.dialog.open(I4c,f))),2);h=l.yieldResult;switch(h){case "ARCHIVE_ALL":return l.return(M4c(a,[b].concat(t(c)),d));case "ARCHIVE_ONE":return l.return(J4c(a,b,d));case "CANCEL":return l.return();default:return l.return(Db(h))}})},M4c=function(a,b,c){var d=[{issueIds:b,actions:[{fieldName:"isArchived",value:"true"}]}];N4c(a,c);jq(a.butterBar,
"Archiving "+b.length+" issues...");return a.issueApi.issueBulkEdit({bulkEditOps:d}).then(function(){jq(a.butterBar,"Archived "+b.length+" issues successfully.")}).catch(function(e){a.butterBar.showWarning(e);O4c(a,c)})},J4c=function(a,b,c){N4c(a,c);return a.issueApi.updateIssue(b,{issueId:b,actions:[{fieldName:"isArchived",value:"true"}]}).then(function(){jq(a.butterBar,"Archived successfully.")}).catch(function(d){a.butterBar.showWarning(d);O4c(a,c)})},L4c=function(a,b,c){return new Promise(function(d){a.confirmationDialogService.open({title:"Archive issue with descendant issues?",
content:xi([wi("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."),yi("br",{}),yi("br",{}),yi("a",{href:a.paths.listIssues({q:"parentId:"+b+"+"}),target:"_blank"},"View all descendant issues"),yi("br",{}),yi("a",{href:"http://go/b-issue-archive",target:"_blank"},"Learn more")]),cancelButtonText:"Cancel",confirmButtonText:"Just this one",
onConfirm:function(){J4c(a,b,c).then(d)},onDismiss:d})})},N4c=function(a,b){b=k(b.entries());for(var c=b.next();!c.done;c=b.next()){var d=k(c.value);c=d.next().value;d=d.next().value;d=k(d);for(var e=d.next();!e.done;e=d.next())a.issueRelationshipsFridge.unlinkFromParent(c,e.value,!0)}},O4c=function(a,b){b=[].concat(t(b.values())).flat();b=k(b);for(var c=b.next();!c.done;c=b.next())a.issueRelationshipsFridge.poke(c.value)};
lZ.prototype.getDescendants=function(a){var b=this,c,d,e,f,h,l,q,u,A,F,H,N;return se(function(O){if(O.nextAddress==1)return y(O,Fe(Bmc(b.issueRelationshipsFridge,a)),2);c=O.yieldResult;d=c.results;e=!0;f=new Map;h=k(d);for(l=h.next();!l.done;l=h.next()){q=l.value;u=k(q.relatedChildren);for(A=u.next();!A.done;A=u.next())F=A.value,H=void 0,N=(H=f.get(F.targetIssueId))!=null?H:[],N.push(q.issueId),f.set(F.targetIssueId,N);q.totalChildCount===q.relatedChildren.length||(e=!1)}return O.return({childToParents:f,
completeResult:e})})};lZ.\u0275fac=function(a){return new (a||lZ)};lZ.\u0275prov=n({token:lZ,factory:lZ.\u0275fac,providedIn:"root"});var mZ=function(a){this.pathToAncestor=a},Mt=function(a){return new mZ(a.split(">"))},P4c=function(a,b){return new mZ([].concat(t(a.pathToAncestor),[b]))};mZ.prototype.hash=function(){return this.pathToAncestor.join(">")};mZ.prototype.equals=function(a){return!!a&&oj(this.pathToAncestor,a.pathToAncestor)};var Q4c=function(a,b){a=k(a.pathToAncestor.entries());for(var c=a.next();!c.done;c=a.next()){c=k(c.value);var d=c.next().value;if(c.next().value!==b.pathToAncestor[d])return!1}return!0};
mZ.prototype.contains=function(a){return this.pathToAncestor.join(",").includes(a.pathToAncestor.join(","))};mZ.prototype.some=function(a){return this.pathToAncestor.some(a)};mZ.prototype.toString=function(){return this.hash()};
da.Object.defineProperties(mZ.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 mZ(this.pathToAncestor.slice(0,this.size-1))}},root:{configurable:!0,enumerable:!0,get:function(){return this.pathToAncestor[0]}}});var nZ=function(){var a=this;this.draftRows=new Map;this.changed$=new Uf;this.counter=0;this.createId=function(){return String(a.counter++)}};nZ.prototype.create=function(a,b,c){var d=this.createId();b={type:"draft-issue",title:"",ancestorChain:P4c(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};
nZ.prototype.get=function(a){var b;return(b=this.draftRows.get(a.hash()))!=null?b:[]};nZ.prototype.remove=function(a){var b=a.ancestorChain.parentChain,c=this.get(b),d=c.filter(function(f){return f.id!==a.id});if(c.length!==d.length){c=k(d);for(var e=c.next();!e.done;e=c.next())e=e.value,e.afterDraftId===a.id&&(e.afterDraftId=a.afterDraftId);this.draftRows.set(b.hash(),d);this.changed$.next(this.draftRows)}};
var R4c=function(a,b){return se(function(c){return c.return(Fe(a.changed$.pipe(Xf(a.draftRows),z(function(d){return![].concat(t(d.values())).flat().some(function(e){return e.issueId===b||e.id===b})}),Ue(Boolean),z(function(){}))))})};nZ.prototype.isSaving=function(){return[].concat(t(this.draftRows.values())).flat().some(function(a){return a.saving})};nZ.prototype.set=function(a,b){var c=this.get(a);this.draftRows.set(a.hash(),[].concat(t(c),[b]));this.changed$.next(this.draftRows)};var S4c={defaultExpandedChildren:10,defaultExpansionLevel:3,maxExpansion:500},T4c=function(a){var b=void 0;b=b===void 0?S4c:b;a=a===void 0?{}:a;this.config=b;this.expansionState=this.initialState=a;this.changed$=new Tf(1)},U4c=function(a,b){b=b.hash();return a.expansionState[b]},V4c=function(a,b,c){b=b.hash();c===void 0?delete a.expansionState[b]:a.expansionState[b]=c;a.changed$.next(a.expansionState)},W4c=function(a,b,c){var d=!1;c=k(c);for(var e=c.next();!e.done;e=c.next()){e=e.value;var f=P4c(b,
e.nodeId);e.size<=a.config.defaultExpansionLevel&&U4c(a,e)===void 0&&(a.expansionState[f.hash()]=a.config.defaultExpandedChildren,d=!0);for(var h=k(Object.entries(a.expansionState)),l=h.next();!l.done;l=h.next()){l=k(l.value);var q=l.next().value;l=l.next().value;q=Mt(q);q.contains(e)&&(d=q.pathToAncestor.join(",").replace(e.pathToAncestor.join(","),f.pathToAncestor.join(",")).split(","),d=new mZ(d),delete a.expansionState[q.hash()],a.expansionState[d.hash()]=l,d=!0)}}if(!U4c(a,b)){var u;a.expansionState[b.hash()]=
(u=a.config.defaultExpandedChildren)!=null?u:a.config.maxExpansion;d=!0}d&&a.changed$.next(a.expansionState)};var oZ=function(){this.issueApi=r(ME);this.activeSession=r(Bu);this.issueFullFridge=r(QF);this.componentFridge=r(uD);this.componentTemplatesFridge=r(zD);this.currentUser=Wj(this.activeSession.getUserEmail())},Y4c=function(a,b){var c,d,e;return se(function(f){if(f.nextAddress==1)return y(f,X4c(a,b),2);c=f.yieldResult;d=c.component;e=c.defaultTemplate;return f.return(Zxa(d,e))})},$4c=function(a,b){return Z4c(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}}))},a5c=function(a,b,c){var d;return se(function(e){if(e.nextAddress==1)return y(e,Fe(Z4c(a,b)),2);d=e.yieldResult;d.title=c;return e.return(a.create(d))})};
oZ.prototype.create=function(a){var b=this,c,d;return se(function(e){return e.nextAddress==1?y(e,b.issueApi.createIssue({snapshot:a}),2):e.nextAddress!=3?(c=e.yieldResult,d=c.issueId,y(e,b.issueFullFridge.poke(String(d)),3)):e.return({issueId:String(d)})})};
var Z4c=function(a,b){return a.issueFullFridge.watch(b).pipe(Ue(ik),Yf(function(c){var d,e;return se(function(f){if(f.nextAddress==1)return y(f,X4c(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=xmc[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,b5c(d.defaultTemplate),c5c(d.component,d.defaultTemplate));e.assigneeUser&&(e.status="ASSIGNED");return f.return(e)})}))},b5c=function(a){if(!a)return{};a=Gc(a.snapshot,function(b){return b==null||typeof b==="string"&&St(b)?!1:!0});delete a.componentId;return a},c5c=function(a,b){var c=[],d,e;a=k((e=(d=a.componentPathInfo)==null?void 0:d.allCustomField)!=null?e:[]);e=a.next();for(d={};!e.done;d=
{customField$jscomp$13:void 0},e=a.next())if(d.customField$jscomp$13=e.value,d.customField$jscomp$13.required){var f=void 0;e=(f=d.customField$jscomp$13.typedDefaultValue)!=null?f:{customFieldId:d.customField$jscomp$13.customFieldId};var h=f=void 0,l=void 0,q=(l=(f=b)==null?void 0:(h=f.snapshot.customField)==null?void 0:h.find(function(u){return function(A){return A.customFieldId===u.customField$jscomp$13.customFieldId}}(d)))!=null?l:e;q&&c.push(Object.assign({},q))}return c.length===0?{}:{customField:c}},
X4c=function(a,b){var c,d,e,f,h,l;return se(function(q){if(q.nextAddress==1)return y(q,Promise.all([Fe(a.componentTemplatesFridge.defaultTemplate$(b)),Fe(a.componentFridge.watch(b).pipe(Ue(ik)))]),2);c=q.yieldResult;d=k(c);e=d.next().value;f=d.next().value;h=e;l=f;return q.return({component:l,defaultTemplate:h})})};oZ.\u0275fac=function(a){return new (a||oZ)};oZ.\u0275prov=n({token:oZ,factory:oZ.\u0275fac,providedIn:"root"});var pZ=function(a,b,c,d,e,f,h,l,q,u,A,F,H,N){c=c===void 0?1:c;Z.call(this);var O=this;this.rootIssueId=a;this.quickFilters=b;this.defaultExpansionLevel=c;this.saveExpansionAtKey=d;this.analytics=e;this.butterBar=f;this.issueFullFridge=h;this.issuePicker=l;this.issueRelationshipsFridge=q;this.paths=u;this.router=A;this.issueCreationService=F;this.clearcut=H;this.refreshMonitor=N;this.defaultExpandedChildren=10;this.isOneLineCreationSupported=function(){return O.supportsOneLineCreation};this.defaultApiRequestDepth=
this.defaultExpansionLevel+2;a=this.saveExpansionAtKey?zl(this.saveExpansionAtKey):function(){};this.expansion=new T4c(d5c(this));this.draftRows=new nZ;this.refetchingAll$=new Xi(!1);this.userRequestedRefresh$=this.refreshMonitor.getObservable().pipe(Yf(function(){O.refetchingAll$.next(!0);var T=tp(O.rows$),ea=[];if(!T)return Promise.resolve();ea.push(Cmc(O.issueRelationshipsFridge,O.rootIssueId,O.defaultApiRequestDepth));T=k(T);for(var ka=T.next();!ka.done;ka=T.next())ka=ka.value,ka.type==="data"&&
ea.push(O.issueFullFridge.poke(ka.id)),ka.level>O.defaultExpansionLevel&&ea.push(O.issueRelationshipsFridge.poke(ka.id));return Promise.all(ea).then(function(){O.refetchingAll$.next(!1)})}));this.rows$=Te(this.draftRows.changed$,this.expansion.changed$,this.userRequestedRefresh$,Yga(Ae({}),vp)).pipe(Yf(function(){return Bmc(O.issueRelationshipsFridge,O.rootIssueId,O.defaultApiRequestDepth)}),Yf(function(){for(var T=new Map,ea=k(Object.entries(O.expansion.expansionState)),ka=ea.next();!ka.done;ka=
ea.next()){ka=k(ka.value);var oa=ka.next().value;ka=ka.next().value;oa=Mt(oa).nodeId;var La=void 0;ka=Math.max(ka,(La=T.get(oa))!=null?La:0);T.set(oa,ka)}return e5c(O,T)}),Jf(this.quickFilters.value$),Yf(function(T){T=k(T);var ea=T.next().value;var ka=T.next().value;return ka.size===0?(O.hiddenRowCount$.next(0),Ae(ea)):f5c(O,ea).pipe(z(function(oa){return g5c(O,ea,ka,oa)}))}),z(function(T){return h5c(O,T)}),Vf({refCount:!0,bufferSize:1}));this.hiddenRowCount$=new Xi(0);this.rootIssue$=this.issueFullFridge.watch(this.rootIssueId).pipe(Ue(ik));
this.ROOT_ROW={type:"data",id:this.rootIssueId,level:-1,ancestorChain:new mZ([this.rootIssueId]),expandedCount:500,issue$:Bv,hasChildren$:Bv};this.supportsOneLineCreation=Fe(this.rootIssue$).then(function(T){return Dj(T.snapshot[0].componentId)}).then(function(T){return Y4c(O.issueCreationService,T)});this.saveExpansionAtKey&&this.subscriptions.add(this.expansion.changed$.pipe(Lf(100)).subscribe(a))};Y(pZ,Z);pZ.\u0275dir=Z.\u0275dir;pZ.\u0275fac=Z.\u0275fac;
var d5c=function(a){a=a.saveExpansionAtKey;if(a!=null){a=Bwa(a)();a:if(typeof a!=="object"||Object.getPrototypeOf(a)!==Object.prototype)var b=!1;else{b=k(Object.getOwnPropertyNames(a));for(var c=b.next();!c.done;c=b.next())if(c=c.value,!c||typeof a[c]!=="number"){b=!1;break a}b=!0}return b?a:void 0}},i5c=function(a,b,c){b=b===void 0?a.ROOT_ROW.ancestorChain:b;var d,e,f,h,l,q,u;se(function(A){switch(A.nextAddress){case 1:return d=b.nodeId,y(A,Fe(a.issueFullFridge.watch(d)),2);case 2:return(e=A.yieldResult)?
y(A,a.supportsOneLineCreation,3):A.return();case 3:if(f=A.yieldResult)return h=$4c(a.issueCreationService,d),A.return(a.draftRows.create(b,h,c));l=e.snapshot[0].componentId;u={};return y(A,Jt(a.router,a.paths.createIssue((u.component=l?String(l):void 0,u.parentIssueId=e.issueId,u.redirectUrl=Qq.issueDependencies.makeHref(a.rootIssueId),u.afterIssueId=(q=c)==null?void 0:q.afterIssueId,u))),4);case 4:return A.return()}})};
pZ.prototype.addExistingChild=function(a){var b=this,c,d,e,f;se(function(h){if(h.nextAddress==1)return y(h,Fe((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 y(h,b.issuePicker.open({title:"Add Children of b/"+f,allowMultipleIds:!0,edgeType:"child"},function(l){return se(function(q){if(q.nextAddress==1){if(l.length===0)return q.return();b.assignParentToIssues(f,l);b.analytics.trackEvent("editIssue","add","existing-child-issue");
return y(q,Ci(0),2)}a&&V4c(b.expansion,a.ancestorChain,500);xe(q)})}),0)})};pZ.prototype.saveDraft=function(a){var b=this,c;return se(function(d){if(d.nextAddress==1){if(a.saving||!a.title)return d.return();a.saving=!0;return y(d,j5c(b,a),2)}return(c=d.yieldResult)?d.return(k5c(b,a,c)):d.return()})};
var j5c=function(a,b){var c,d,e,f;return se(function(h){switch(h.nextAddress){case 1:return c=b.ancestorChain.parentNodeId,te(h,2),y(h,a5c(a.issueCreationService,c,b.title),4);case 4:e=h.yieldResult;d=e.issueId;Hu(h,3);break;case 2:return f=we(h),a.butterBar.showWarning("Could not create issue. Error: "+JSON.stringify(f)),a.draftRows.remove(b),h.return();case 3:var l=(new Date).getTime()-b.draftStartedAt.getTime();if(l>0){var q=Math.min(l,108E5);amc("createIssue",q,"from-tree");a.analytics.trackEvent("createIssue",
"createIssue","time-to-create-from-tree",q);HF(a.clearcut,l,"createIssue-fromTree")}V4c(a.expansion,b.ancestorChain.parentChain,500);l=a.draftRows;q=d;b.issueId=q;for(var u=k(l.draftRows.values()),A=u.next();!A.done;A=u.next()){A=k(A.value);for(var F=A.next();!F.done;F=A.next())F=F.value,F.afterDraftId===b.id&&(F.afterIssueId=q)}l.changed$.next(l.draftRows);return h.return(d)}})},k5c=function(a,b,c){var d,e,f,h,l,q;return se(function(u){if(u.nextAddress==1)return d=b.ancestorChain.parentNodeId,f=
(e=b.afterIssueId)!=null?e:b.afterDraftId,f===void 0||f==="-1"?u.jumpTo(2):y(u,R4c(a.draftRows,f),2);if(u.nextAddress!=4)return y(u,a.issueRelationshipsFridge.assignParentToIssues(d,[{issueId:c,afterIssueId:b.afterIssueId}]),4);h=u.yieldResult;l=h.errors;((q=l)==null?0:q.length)&&a.butterBar.showWarning("Could not create issue relationship. Error: "+JSON.stringify(l));a.draftRows.remove(b);xe(u)})},e5c=function(a,b,c){c=c===void 0?0:c;return Ie([a.rootIssueId].concat(t(b.keys())).map(function(d){return a.refetchingAll$.pipe(Ue(function(e){return!e}),
Yf(function(){return Amc(a.issueRelationshipsFridge,d)}))})).pipe(Yf(function(d){var e=new Map;d=k(d);for(var f=d.next();!f.done;f=d.next())(f=f.value)&&e.set(f.issueId,f);if(c===a.defaultExpansionLevel)return Ae(e);d=l5c(a,e,c);d=new Map(d.map(function(h){return[h,a.defaultExpandedChildren]}));return e5c(a,d,c+1).pipe(z(function(h){var l=new Map(e);h=k(h.entries());for(var q=h.next();!q.done;q=h.next()){var u=k(q.value);q=u.next().value;u=u.next().value;l.set(q,u)}return l}))}))},l5c=function(a,
b,c){var d=[];a=[{id:a.rootIssueId,level:-1}];for(var e={};a.length>0;e={current$jscomp$51:void 0})if(e.current$jscomp$51=a.pop(),e.current$jscomp$51.level===c&&d.push(e.current$jscomp$51.id),!(e.current$jscomp$51.level>c)){var f=void 0,h=void 0,l=(h=(f=b.get(e.current$jscomp$51.id))==null?void 0:f.relatedChildren)!=null?h:[];a.push.apply(a,t(l.map(function(q){return function(u){return{id:u.targetIssueId,level:q.current$jscomp$51.level+1}}}(e))))}return d},h5c=function(a,b){for(var c=[],d=[a.ROOT_ROW],
e={};d.length>0;e={parentRow$jscomp$1:void 0,childrenLevel:void 0})if(e.parentRow$jscomp$1=d.pop(),e.parentRow$jscomp$1.type==="load-more-children"||e.parentRow$jscomp$1.type==="draft-issue")c.push(e.parentRow$jscomp$1);else{e.parentRow$jscomp$1.id!==a.rootIssueId&&c.push(e.parentRow$jscomp$1);var f=void 0,h=void 0,l=(h=(f=b.get(e.parentRow$jscomp$1.id))==null?void 0:f.relatedChildren)!=null?h:[];f=l.slice(0,e.parentRow$jscomp$1.expandedCount);e.childrenLevel=e.parentRow$jscomp$1.level+1;e.parentRow$jscomp$1.expandedCount&&
f.length<l.length&&(h=P4c(e.parentRow$jscomp$1.ancestorChain,"load-more-children"),d.push({type:"load-more-children",id:h.hash(),level:e.childrenLevel,parentIssue$:e.parentRow$jscomp$1.issue$,ancestorChain:h,truncatedSiblingCount:l.length-f.length}));l=f.map(function(q){return function(u){var A=P4c(q.parentRow$jscomp$1.ancestorChain,u.targetIssueId),F=u.targetIssueId,H=q.childrenLevel,N=a.issueRelationshipsFridge.watch(u.targetIssueId).pipe(z(dFa));var O=q.childrenLevel;var T=A.nodeId,ea=U4c(a.expansion,
A);if(ea!==void 0)O=ea;else if(O<a.defaultExpansionLevel){var ka,oa;O=Math.min(a.defaultExpandedChildren,(oa=(ka=b.get(T))==null?void 0:ka.relatedChildren.length)!=null?oa:0)}else O=0;return{type:"data",id:F,level:H,hasChildren$:N,ancestorChain:A,expandedCount:O,issue$:a.issueFullFridge.watch(u.targetIssueId)}}}(e));d.push.apply(d,t(m5c(a,l,e.parentRow$jscomp$1.ancestorChain).reverse()))}return c},m5c=function(a,b,c){var d=[].concat(t(b));a=a.draftRows.get(c);a=k(a);var e=a.next();for(c={};!e.done;c=
{draft$jscomp$7:void 0},e=a.next())c.draft$jscomp$7=e.value,b.some(function(f){return function(h){return h.id===f.draft$jscomp$7.issueId}}(c))||(e=d.findIndex(function(f){return function(h){return h.id===f.draft$jscomp$7.afterDraftId||h.id===f.draft$jscomp$7.afterIssueId}}(c)),d.splice(e===-1?d.length:e+1,0,c.draft$jscomp$7));return d};
pZ.prototype.assignParentToIssues=function(a,b){var c=this,d,e,f,h;return se(function(l){if(l.nextAddress==1)return b.length===0?l.return():y(l,c.issueRelationshipsFridge.assignParentToIssues(a,b.map(function(q){return{issueId:q,afterIssueId:"-1"}})),2);d=l.yieldResult;e=d.notAdded;f=d.errors;if(e.length)return c.butterBar.showWarning("Could not add "+e+" as child of b/"+a+". "+((h=f)==null?void 0:h.map(function(q){return $o(q)}))),l.return();xe(l)})};
var f5c=function(a,b){for(var c=new Set,d=k(b.keys()),e=d.next();!e.done;e=d.next())c.add(e.value);b=k(b.values());for(d=b.next();!d.done;d=b.next())for(d=d.value.relatedChildren.map(function(f){return f.targetIssueId}),d=k(d),e=d.next();!e.done;e=d.next())c.add(e.value);return Ie([].concat(t(c)).map(function(f){return a.issueFullFridge.watch(f)})).pipe(z(function(f){return f.filter(ik)}))},g5c=function(a,b,c,d){function e(q){if(!q)return!1;var u=f.get(q),A=h.get(q);if(!u||u.relatedChildren.length===
0)return A;var F=u.relatedChildren.filter(function(H){return e(H.targetIssueId)});l+=u.relatedChildren.length-F.length;f.set(q,Object.assign({},u,{relatedChildren:F}));return F.length!==0||A}var f=new Map(b.entries()),h=new Map(d.map(function(q,u,A){return[q.issueId,n6a(c,u,A)]})),l=0;e(a.rootIssueId);a.hiddenRowCount$.next(l);return f},qZ=function(){this.analytics=r(OF);this.butterBar=r(fH);this.issueFullFridge=r(QF);this.issuePicker=r(TP);this.issueRelationshipsFridge=r(bG);this.paths=r(IP);this.router=
r(TA);this.issueCreationService=r(oZ);this.clearcut=r(GF);this.refreshMonitor=r(fF)};qZ.prototype.create=function(a,b,c,d){b=b===void 0?new IC:b;return new pZ(a,b,c,d,this.analytics,this.butterBar,this.issueFullFridge,this.issuePicker,this.issueRelationshipsFridge,this.paths,this.router,this.issueCreationService,this.clearcut,this.refreshMonitor)};qZ.\u0275fac=function(a){return new (a||qZ)};qZ.\u0275prov=n({token:qZ,factory:qZ.\u0275fac,providedIn:"root"});var rZ=function(a,b,c,d){var e=this;this.rootElement=a;this.rows=b;this.ngZone=c;this.rowSelectionModel=d;this.onLongHover$=new Uf;this.onRowsMoved$=new Uf;this.activeDrag=!1;this.placeholder=this.rootElement.querySelector(".placeholder");this.insertionBar=this.rootElement.querySelector(".insertion-bar");this.dragPreviewTemplate=this.rootElement.querySelector(".drag-preview");this.onDragOver=$ac(function(f,h){if(e.activeDrag){var l=f||0,q=h.getBoundingClientRect();f=q.height;l-=q.top;f=Hjb(l<=f*.25?
"top":l>=f*.75?"bottom":"middle",h);h=f.position;f=f.rowElement;switch(h){case "current":e.placeholder.style.display="block";e.insertionBar.style.display="none";e.placeholder.style.left=f.offsetLeft+"px";e.placeholder.style.top=f.offsetTop+"px";e.placeholder.style.height=f.offsetHeight+"px";break;case "before":case "after":var u=(l=(u=f.querySelector(".title-location"))==null?void 0:u.getBoundingClientRect().left)?l-f.getBoundingClientRect().left:0;u=f.offsetLeft+u;l=h==="after"?f.offsetTop+f.offsetHeight:
f.offsetTop;q=f.getBoundingClientRect().width;e.insertionBar.style.display="block";e.placeholder.style.display="none";e.insertionBar.style.left=u+"px";e.insertionBar.style.top=l-1+"px";e.insertionBar.style.width=q-u+"px";break;case "none":e.placeholder.style.display="none",e.insertionBar.style.display="none"}e.currentReorderingGuide={rowElement:f,position:h};n5c(e,f,h)}},10);this.ngZone.runOutsideAngular(function(){a.addEventListener("dragover",function(f){var h,l=(h=f.target)==null?void 0:h.closest("tr");
if(l&&(e.onDragOver(f.clientY,l),l.classList.contains("dragging")||l.classList.contains("nodrop")))return!0;var q;if(((q=e.currentReorderingGuide)==null?void 0:q.position)==="none")return!0;f.preventDefault();return!1});a.addEventListener("dragend",function(){o5c(e)});a.addEventListener("drop",function(){e.reorder(e.currentReorderingGuide,p5c(e.rowSelectionModel),"mouse",4);o5c(e)})})};
rZ.prototype.handleDragStart=function(a){var b=this;this.activeDrag=!0;var c=a.target.closest("tr");this.rowSelectionModel.select(Ijb(c));q5c(this.rowSelectionModel);r5c(this);this.dragPreview=this.dragPreviewTemplate.cloneNode(!0);document.body.appendChild(this.dragPreview);this.dragPreview.style.display="block";this.dragPreview.style.top="-1000px";this.dragPreview.innerText=this.rowSelectionModel.selectedCount===1?"Moving 1 issue":"Moving "+this.rowSelectionModel.selectedCount+" issues";a.dataTransfer.setDragImage(this.dragPreview,
0,0);a.dataTransfer.dropEffect="move";a=this.rows.toArray().filter(function(d){return b.rowSelectionModel.isSelected(d.row.ancestorChain)});a=k(a);for(c=a.next();!c.done;c=a.next())c.value.element.classList.add("dragging")};
var s5c=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)},t5c=function(a,b){var c=a.rows.toArray(),d=c.findIndex(function(f){return f.row.ancestorChain.equals(b.row.ancestorChain)});if(d!==-1&&d!==0){c=c.slice(0,d).reverse();c=k(c);for(d=c.next();!d.done;d=c.next()){d=d.value;if(d.row.type==="load-more-children"){d=d.element.previousElementSibling;
if(!d)continue;var e={position:"before",rowElement:d};break}if(d.row.ancestorChain.parentChain.parentChain.equals(b.row.ancestorChain.parentChain)){e={position:"after",rowElement:d.element};break}if(d.row.ancestorChain.parentChain.equals(b.row.ancestorChain.parentChain)){e={position:"current",rowElement:d.element};break}}a.reorder(e,[b.row.ancestorChain],"keyboard",2)}};
rZ.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)}};
rZ.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"?s5c(this,a):(b=c&&b.row.level<Gjb(c)?{position:"before",rowElement:c}:{position:"after",rowElement:b.element},this.reorder(b,[a.row.ancestorChain],"keyboard",1))}};
rZ.prototype.onKeydown=function(a){if(a.ctrlKey){var b,c=(b=a.target)==null?void 0:b.closest("tr");if(c){var d=Ijb(c);if(b=this.rows.toArray().find(function(e){return e.row.ancestorChain.equals(d)}))switch(a.key){case "ArrowLeft":s5c(this,b);break;case "ArrowRight":t5c(this,b);break;case "ArrowUp":this.moveUp(b);break;case "ArrowDown":this.moveDown(b)}}}};
rZ.prototype.reorder=function(a,b,c,d){var e=this;if(a){var f=Ijb(a.rowElement),h=void 0,l=f;switch(a.position){case "current":l=f;h={parentId:f.nodeId};break;case "before":case "after":l=f.parentChain,h={parentId:f.parentNodeId,position:{issueId:f.nodeId,position:a.position}}}this.ngZone.run(function(){b.length&&h&&e.onRowsMoved$.next({movedRows:b,insertAt:h,parentAncestorChain:l,origin:c,actionMessage:Fjb(d)})})}};
var o5c=function(a){for(var b=k(a.rootElement.querySelectorAll("tr.dragging")),c=b.next();!c.done;c=b.next())c.value.classList.remove("dragging");b=k(a.rootElement.querySelectorAll("tr.nodrop"));for(c=b.next();!c.done;c=b.next())c.value.classList.remove("nodrop");a.rowSelectionModel.clear();a.placeholder.style.display="none";a.insertionBar.style.display="none";var d;(d=a.updatingNoDropRows)==null||d.unsubscribe();var e,f;(e=a.dragPreview)==null||(f=e.parentElement)==null||f.removeChild(a.dragPreview);
a.activeDrag=!1},n5c=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 Ijb(b).equals(e.row.ancestorChain)});d&&(a.ngZone.run(function(){a.onLongHover$.next(d)}),a.longHoveredRow.emitted=!0)}},r5c=function(a){var b;
(b=a.updatingNoDropRows)==null||b.unsubscribe();a.updatingNoDropRows=a.rows.changes.pipe(Xf(null)).subscribe(function(){var c=a.rows.toArray(),d=new Set(a.rowSelectionModel.selectedRows.map(function(f){return f.nodeId}));c=k(c);for(var e=c.next();!e.done;e=c.next())e=e.value,e.row.ancestorChain.some(function(f){return d.has(f)})&&e.element.classList.add("nodrop")})};var sZ=function(){Z.call(this);var a=this;this.analytics=r(OF);this.dragStarted$=new Uf;this.onRowsMoved$=new Uf;Te(this.dragStarted$,this.onRowsMoved$).pipe(DGa(),Zf(this.destroyed$)).subscribe(function(b){var c=b[b.length-1].timestamp-b[0].timestamp;b=Kj(b.map(function(d){return d.event.origin}));b=b.length===1?b[0]:"mixed";a.analytics.trackEvent("editIssue","reorderChildren",b);amc("reorderChildren",c,b)})};Y(sZ,Z);sZ.\u0275dir=Z.\u0275dir;sZ.\u0275fac=function(a){return new (a||sZ)};
sZ.\u0275prov=n({token:sZ,factory:sZ.\u0275fac,providedIn:"root"});var tZ=function(){this.changed$=new Uf;this.selectedRowHashes=new Set;this.isSelectedObservableMap=new Map};tZ.prototype.init=function(a){this.visibleRows=a};tZ.prototype.isSelected=function(a){return this.selectedRowHashes.has(a.hash())};var wkb=function(a,b){var c=b.hash(),d,e=(d=a.isSelectedObservableMap.get(c))!=null?d:a.changed$.pipe(Xf(a.selectedRowHashes),z(function(f){return f.has(b.hash())}),Pf(),Vf({refCount:!0,bufferSize:1}));a.isSelectedObservableMap.set(c,e);return e};
tZ.prototype.select=function(a){this.selectedRowHashes.add(a.hash());this.changed$.next(this.selectedRowHashes)};tZ.prototype.clear=function(){this.selectedRowHashes.clear();this.changed$.next(this.selectedRowHashes)};
var q5c=function(a){for(var b=a.visibleRows.toArray().map(function(l){return l.row.ancestorChain}),c=!1,d=k(a.selectedRowHashes.values()),e=d.next();!e.done;e=d.next()){e=Mt(e.value);for(var f=k(b),h=f.next();!h.done;h=f.next())h=h.value,Q4c(e,h)&&(a.selectedRowHashes.add(h.hash()),c=!0)}c&&a.changed$.next(a.selectedRowHashes)},p5c=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(t(a.selectedRowHashes.values())).map(function(f){return Mt(f)}).map(function(f){return f.nodeId})),d=[];a=k(a.selectedRowHashes.values());for(var e=a.next();!e.done;e=a.next())(e=b.get(e.value))&&(e.ancestorChain.parentChain.some(function(f){return c.has(f)})||d.push(e.ancestorChain));return d};
da.Object.defineProperties(tZ.prototype,{selectedRows:{configurable:!0,enumerable:!0,get:function(){return[].concat(t(this.selectedRowHashes)).map(function(a){return Mt(a)})}},selectedCount:{configurable:!0,enumerable:!0,get:function(){return this.selectedRowHashes.size}}});var u5c=function(){return["active-indicator","load-more-children"]},v5c=Qq.listIssues.makeHref,w5c={type:"data",id:"",issue$:Bv,hasChildren$:Bv,ancestorChain:new mZ([]),level:0,expandedCount:0},uZ=function(){Z.apply(this,arguments);var a=this;this.issueRelationshipsFridge=r(bG);this.router=r(TA);this.butterBar=r(fH);this.analytics=r(OF);this.issueArchiveService=r(lZ);this.ngZone=r(kh);this.elementRef=r(ef);this.domSafe=r(NH);this.reorderingSessionTracker=r(sZ);this.cdr=r(cB);this.relationsTableModelFactory=
r(qZ);this.liveAnnouncer=r(Pw);this.clearcut=r(GF);this.paths=r(IP);this.checkBeforeExit=r(zS);this.defaultExpansionLevel=1;this.internalFilters=new IC;this.isClosed=sxa;this.tableColumns=[].concat(t(iQc));this.options={};this.trackBy=function(b,c){return c.ancestorChain.hash()+c.type};this.isLoadMoreRow=function(b,c){return c.type==="load-more-children"};this.isDataRow=function(b,c){return c.type==="data"};this.isDraftRow=function(b,c){return c.type==="draft-issue"};this.selectionModel=new tZ;this.hasLogged=
!1;this.correctedDisplayedRows=new Qg;this.TITLE_FIXED_OFFSET_PX=42;this.rowDirectiveMap=new Map;this.getRowIndex=function(b){var c;return((c=tp(a.rows$))!=null?c:[]).findIndex(function(d){return Ejb(d,b)})};this.showError=function(b){return function(c){a.butterBar.showWarning(b+". "+(Zo(c)?$o(c):c))}}};Y(uZ,Z);uZ.\u0275dir=Z.\u0275dir;
uZ.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(AS(this.checkBeforeExit,function(){return a.tableModel.draftRows.isSaving()||a.issueRelationshipsFridge.isSaving()},!1));this.tableModel=this.relationsTableModelFactory.create(this.rootIssueId,this.internalFilters,this.defaultExpansionLevel,this.saveExpansionAtKey);this.rows$=Yga([this.tableModel.rows$,Ae([w5c])],Qe).pipe(Le(1),Vf({refCount:!0,bufferSize:1}));var b=this.rows$.pipe(Yf(function(c){return Ie(c.filter(function(d){return d.type===
"data"}).map(function(d){return d.issue$}))}),Lf(0,vp));this.subscriptions.add(b.subscribe(function(c){a.cdr.detectChanges();x5c(a,c)}));this.rowReorderingModel=new rZ(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"?pkb(a,d):d.type==="data"&&(c=a.tableModel.expansion,d=d.ancestorChain,U4c(c,d)||V4c(c,d,10))}));this.subscriptions.add(this.rowReorderingModel.onRowsMoved$.subscribe(function(c){var d;
return se(function(e){if(e.nextAddress==1)return Gmc(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")),W4c(a.tableModel.expansion,c.parentAncestorChain,c.movedRows),y(e,Fe(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})}),Ue(Boolean),Ve(6E4))),2);d=e.yieldResult;d.focus();xe(e)})}));this.subscriptions.add(this.rowReorderingModel.onRowsMoved$.subscribe(function(c){a.reorderingSessionTracker.onRowsMoved$.next(c)}))};
var x5c=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;Slc(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",Slc(a.clearcut,"view-relations-"+c),a.analytics.trackEvent("editIssue","view-relations","ratio-estimated",b),a.analytics.trackEvent("editIssue","view-relations",c))}};
uZ.prototype.ngAfterViewInit=function(){var a=this;this.selectionModel.init(this.displayedRows);Ie([this.rows$,this.displayedRows.changes]).pipe(Zf(this.destroyed$)).subscribe(function(b){b=k(b).next().value;a.rowDirectiveMap=new Map(a.displayedRows.map(function(c){return[c.row.ancestorChain.hash(),c]}));b=b.map(function(c){return a.rowDirectiveMap.get(c.ancestorChain.hash())}).filter(Boolean);a.correctedDisplayedRows.reset(b);Ug(a.correctedDisplayedRows)});this.focusManager=ax(new pyc(this.correctedDisplayedRows,
Ejb))};uZ.prototype.toggleExpansion=function(a){V4c(this.tableModel.expansion,a.ancestorChain,a.expandedCount?0:10)};uZ.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=Qq.viewIssue.makeHref(b.id),yn(a)?this.domSafe.openInNewTab(b):a&&a.shiftKey?Ip(this.domSafe,b):Jt(this.router,b))};
var pkb=function(a,b){var c;return se(function(d){if(d.nextAddress==1)return c=a.getRowIndex(b),V4c(a.tableModel.expansion,b.ancestorChain.parentChain,500),y(d,Ci(0),2);a.focusManager.setActiveItem(c);xe(d)})},kkb=function(a,b){return[{type:"action",label:"Continue on the create issue page",action:function(c){return y5c(a,c,b)},title:"Continue on the create issue page",icon:"arrow-forward"}]};
uZ.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:!tp(a.hasChildren$),action:function(){var c=v5c({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 se(function(c){if(c.nextAddress==1)return y(c,
Ci(0),2);Dlb(b,a);xe(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 se(function(c){if(c.nextAddress==1)return y(c,Ci(0),2);z5c(b,a);xe(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(){t5c(b.rowReorderingModel,b.rowDirectiveMap.get(a.ancestorChain.hash()))},title:"Indent",icon:"arrow-right",hintText:"shift+ctrl+right"},{type:"action",label:"Unindent",action:function(){s5c(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(){A5c(b,a)},title:"Archive issue",icon:"archive_24px"}]};
uZ.prototype.saveDraft=function(a){var b=this,c,d;return se(function(e){if(e.nextAddress==1){if(!a.title)return e.return();b.tableModel.saveDraft(a);b.focusManager.setActiveItem(b.getRowIndex(a));return y(e,Fe(b.displayedRows.changes.pipe(z(function(f){return f.find(function(h){return h.row.type==="data"&&h.row.id===a.issueId})}),Ue(Boolean),Ve(6E4))),2)}c=e.yieldResult;Ejb((d=b.focusManager.activeItem)==null?void 0:d.row,a)&&b.focusManager.setActiveItem(c);xe(e)})};
var skb=function(a,b){if(!b.saving){a.tableModel.draftRows.remove(b);var c;Ejb((c=a.focusManager.activeItem)==null?void 0:c.row,b)&&a.focusManager.setPreviousItemActive()}},Dlb=function(a,b){i5c(a.tableModel,b==null?void 0:b.ancestorChain,{afterIssueId:"-1"})},z5c=function(a,b){b.type==="data"?i5c(a.tableModel,b.ancestorChain.parentChain,{afterIssueId:b.id}):i5c(a.tableModel,b.ancestorChain.parentChain,{afterDraftId:b.id})};uZ.prototype.addExistingChild=function(a){this.tableModel.addExistingChild(a)};
var B5c=function(a){return a.tableColumns.map(function(b){return b==="title"?"editable-title":b==="menu"?"save":b==="id"?"empty-id":b})};uZ.prototype.handleDragStart=function(a){this.reorderingSessionTracker.dragStarted$.next({origin:"mouse"});this.rowReorderingModel.handleDragStart(a)};
uZ.prototype.onRowKeydown=function(a,b){var c=this,d;return se(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"&&(pkb(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?y(e,c.tableModel.isOneLineCreationSupported(),4):e.return();case 4:d=e.yieldResult;if(!d)return e.return();a.type===
"data"&&(b.shiftKey?Dlb(c,a):z5c(c,a));a.type==="draft-issue"&&a.saving&&z5c(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);xe(e)}})};
var y5c=function(a,b,c){var d,e,f,h,l,q,u,A;return se(function(F){if(F.nextAddress==1)return b.defaultPrevented||b.type==="mouseup"&&b instanceof MouseEvent&&b.button!==1?F.return():y(F,Fe(c.issue$),2);d=F.yieldResult;u={};A=a.paths.createIssue((u.component=String((e=d)==null?void 0:e.snapshot[0].componentId),u.parentIssueId=c.ancestorChain.parentChain.nodeId,u.redirectUrl=Qq.issueDependencies.makeHref(a.rootIssueId),u.afterIssueId=c.afterIssueId,u.title=c.title,u.priority=(l=(f=d)==null?void 0:f.snapshot[0].priority)!=
null?l:void 0,u.type=(q=(h=d)==null?void 0:h.snapshot[0].type)!=null?q:void 0,u));if(yn(b))return skb(a,c),a.domSafe.openInNewTab(A),F.return();if(b&&b.shiftKey)return skb(a,c),Ip(a.domSafe,A),F.return();Jt(a.router,A);xe(F)})},A5c=function(a,b){var c,d;se(function(e){if(e.nextAddress==1)return a.analytics.trackEvent("editIssue","update","archive-child-issue"),c=a.getRowIndex(b),a.issueArchiveService.archive(b.id),y(e,Fe(a.rows$.pipe(z(function(f){return!f.find(function(h){return h.type==="data"&&
h.id===b.id})}),Ue(Boolean),Ve(6E4))),2);Ejb((d=a.focusManager.activeItem)==null?void 0:d.row,b)&&a.focusManager.setActiveItem(c);xe(e)})};
uZ.prototype.unlinkFromParent=function(a){var b=this,c,d;return se(function(e){c=a.ancestorChain.nodeId;d=a.ancestorChain.parentNodeId;b.analytics.trackEvent("editIssue","update","unlink-child-issue");return y(e,b.issueRelationshipsFridge.unlinkFromParent(c,d).then(function(){jq(b.butterBar,"Unlinked successfully.")}).catch(b.showError("Failed to unlink child "+c+" from parent "+d)),0)})};uZ.prototype.isOpen=function(a){return Sl(a)};
uZ.prototype.getAssigneeString=function(a){var b,c;return oua(Sj(a==null?void 0:(b=a.snapshot)==null?void 0:(c=b[0])==null?void 0:c.assigneeUser)||void 0)};da.Object.defineProperties(uZ.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$}}});uZ.\u0275fac=function(){var a;return function(b){return(a||(a=ee(uZ)))(b||uZ)}}();
uZ.\u0275cmp=C({type:uZ,selectors:[["b-issue-relations-table"]],viewQuery:function(a,b){a&1&&Rg(uL,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"},standalone:!1,features:[ch([cB]),cg],decls:46,vars:10,consts:[["focusIndicator",""],["dragHandle",""],["saving",""],["mat-table","","multiTemplateDataRows","",1,"full-width",
3,"dataSource","trackBy"],["matColumnDef","active-indicator"],["mat-header-cell","",4,"matHeaderCellDef"],["tabindex","-1","mat-cell","",3,"click",4,"matCellDef"],["matColumnDef","drag-handle"],["mat-cell","","draggable","true","tabindex","-1",3,"click","dragstart",4,"matCellDef"],["matColumnDef","id"],["mat-cell","",4,"matCellDef"],["matColumnDef","empty-id"],["matColumnDef","title"],["matColumnDef","type"],["matColumnDef","assignee"],["matColumnDef","status"],["matColumnDef","team"],["matColumnDef",
"menu"],["matColumnDef","save"],["mat-cell","","class","text-center",4,"matCellDef"],["matColumnDef","load-more-children"],["mat-cell","",3,"padding-left",4,"matCellDef"],["matColumnDef","editable-title"],["mat-header-row",""],["mat-row","","selectionPreventsClick","","class","clickable",3,"row","selected","closed","click","mouseup","focusin","keydown",4,"matRowDef","matRowDefColumns","matRowDefWhen"],["mat-row","",3,"row","focusin","keydown",4,"matRowDef","matRowDefColumns","matRowDefWhen"],["mat-row",
"","class","draft","cdkTrapFocus","",3,"row","keydown","keydown.escape","keydown.backspace","focusin",4,"matRowDef","matRowDefColumns","matRowDefWhen"],[1,"drag-preview"],[1,"placeholder"],[1,"insertion-bar"],["mat-header-cell",""],["tabindex","-1","mat-cell","",3,"click"],["mat-cell","","draggable","true","tabindex","-1",3,"click","dragstart"],["svgIcon","drag-indicator",1,"icon-s"],["mat-cell",""],[3,"id"],[3,"expansionChange","issue","expandable","expanded","level"],[3,"issue"],["size","medium",
3,"email"],[3,"issue","showPendingFix"],["buttonLabel","More options",3,"click","menuItems"],["mat-cell","",1,"text-center"],["buttonLabel","More options",3,"menuItems"],[3,"isReady"],["format","flat",3,"onAction"],[1,"title-location"],[1,"flex-kids-x","align-items-center","gap-s"],["placeholder","Start typing the title...",1,"grow-1",3,"valueChange","commit","value","readonly"],["color","primary","format","fill","size","small","title","Create issue","matTooltip","(Shortcut: Enter)",3,"onAction",
"disabled"],["format","flat","size","small","title","Cancel","matTooltip","(Shortcut: Esc)",3,"onAction","disabled"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","selectionPreventsClick","",1,"clickable",3,"click","mouseup","focusin","keydown","row"],["mat-row","",3,"focusin","keydown","row"],["mat-row","","cdkTrapFocus","",1,"draft",3,"keydown","keydown.escape","keydown.backspace","focusin","row"]],template:function(a,b){a&1&&(I(0,"table",3),Ag(1,4),D(2,Jjb,1,0,"th",5)(3,Kjb,2,0,"td",
6),Bg(),Ag(4,7),D(5,Ljb,1,0,"th",5)(6,Mjb,3,0,"td",8),Bg(),Ag(7,9),D(8,Njb,2,0,"th",5)(9,Ojb,2,1,"td",10),Bg(),Ag(10,11),D(11,Pjb,2,0,"th",5)(12,Qjb,2,0,"td",10),Bg(),Ag(13,12),D(14,Rjb,2,0,"th",5)(15,Sjb,4,8,"td",10),Bg(),Ag(16,13),D(17,Tjb,2,0,"th",5)(18,Ujb,3,3,"td",10),Bg(),Ag(19,14),D(20,Xjb,3,1,"th",5)(21,ckb,3,1,"td",10),Bg(),Ag(22,15),D(23,dkb,2,0,"th",5)(24,ekb,3,4,"td",10),Bg(),Ag(25,16),D(26,fkb,2,0,"th",5)(27,gkb,3,3,"td",10),Bg(),Ag(28,17),D(29,hkb,1,0,"th",5)(30,ikb,2,1,"td",10),Bg(),
Ag(31,18),D(32,jkb,1,0,"th",5)(33,okb,5,1,"td",19),Bg(),Ag(34,20),D(35,qkb,6,7,"td",21),Bg(),Ag(36,22),D(37,rkb,2,0,"th",5)(38,tkb,7,6,"td",21),Bg(),D(39,vkb,1,1,"tr",23)(40,xkb,3,12,"tr",24)(41,ykb,1,4,"tr",25)(42,zkb,1,2,"tr",26),J(),K(43,"div",27)(44,"div",28)(45,"div",29));a&2&&(E("dataSource",b.rows$)("trackBy",b.trackBy),B(39),G(b.options.hideColumnHeaders?-1:39),B(),E("matRowDefColumns",b.tableColumns)("matRowDefWhen",b.isDataRow),B(),E("matRowDefColumns",dh(9,u5c))("matRowDefWhen",b.isLoadMoreRow),
B(),E("matRowDefColumns",B5c(b))("matRowDefWhen",b.isDraftRow))},dependencies:[Gw,pB,zL,BM,oM,uM,qM,nM,wM,rM,tM,xM,zM,mB,rB,bQ,nH,dQ,EM,MM,EH,HH,PM,SM,tP,gN,sL,uL,QM,ew],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 Ckb=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Ckb,V);g=Ckb.prototype;g.getFilename=function(){return Kh(this,1)};g.setFilename=function(a){fl(this,1,a)};g.getLineNumber=function(a){return ev(this,2,a)};g.getChangeNumber_asLegacyNumberOrString=function(){return Qk(this,3)};g.setChangeNumber=function(a){return Xk(this,3,a)};var Ekb=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Ekb,V);var C5c=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,C5c.messageId)};Y(C5c,V);C5c.messageId="b.MentionSearchResult";var vZ=function(){this.executor=r(NC)};vZ.\u0275fac=function(a){return new (a||vZ)};vZ.\u0275prov=n({token:vZ,factory:vZ.\u0275fac,providedIn:"root"});var wZ=function(){this.mentionsApi=r(vZ);this.refreshMonitor=r(fF);this.analytics=r(OF)},D5c=function(a,b){var c=a.getLink(b);a.cachedId===b&&a.cachedEntry||(a.cachedId=b,a.cachedEntry=Akc(a.refreshMonitor,Ne(function(){return a.mentionsApi.executor.get({url:"action/issues/"+b+"/mentions",responseConstructor:C5c}).then(Fkb).then(function(d){return{mentions:d,link:c}}).catch(function(){return{link:c}})}).pipe(Xf({link:c}))).pipe(Vf({refCount:!0,bufferSize:1})));return a.cachedEntry};
wZ.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"};wZ.prototype.getLink=function(a){return"https://todo.corp.google.com/?issue="+a};wZ.prototype.trackSqueegeeClick=function(){this.analytics.trackEvent("codeMentions","clickSqueegeeLink")};wZ.\u0275fac=function(a){return new (a||wZ)};wZ.\u0275prov=n({token:wZ,factory:wZ.\u0275fac,providedIn:"root"});var yZ=function(){var a=this;this.paramsService=r(TH);this.issueRelationshipsFridge=r(bG);this.issueFullFridge=r(QF);this.issueFridge=r(hF);this.codeMentions=r(wZ);this.eventsForIssue=r(NE);this.activeSession=r(Bu);this.id$=this.paramsService.issueId$.pipe(Of(1E3));this.issue$=this.id$.pipe(Yf(function(b){return a.issueFullFridge.watch(b)}));this.issueEvents$=this.id$.pipe(Yf(function(b){return a.eventsForIssue.watch(b)}),z(function(b){var c;return(c=b==null?void 0:b.events)!=null?c:[]}));this.blockerIssueIds$=
this.issue$.pipe(z(function(b){var c;return(c=b==null?void 0:b.snapshot[0].blockedByIssueId)!=null?c:[]}),Pf(oj));this.blockedIssueIds$=this.issue$.pipe(z(function(b){var c;return(c=b==null?void 0:b.snapshot[0].blockingIssueId)!=null?c:[]}),Pf(oj));this.parentIds$=this.issue$.pipe(z(function(b){var c;return(c=b==null?void 0:b.parentIssueIds)!=null?c:[]}),Pf(oj));this.childrenIds$=this.id$.pipe(Yf(function(b){return a.issueRelationshipsFridge.watch(b)}),z(function(b){var c;return(c=b==null?void 0:
b.relatedChildren.map(function(d){return d.targetIssueId}))!=null?c:[]}));this.duplicateIssueIds$=this.issue$.pipe(z(function(b){var c;return(c=b==null?void 0:b.snapshot[0].duplicateIssueId)!=null?c:[]}),Pf(oj));this.blockersDualCount$=Ie([this.id$,this.blockerIssueIds$]).pipe(Yf(function(b){var c=k(b);b=c.next().value;c=c.next().value;return xZ(a,b,c,["BLOCKED_BY"])}),Vf({bufferSize:1,refCount:!0}));this.countBlockersDisplay$=this.blockersDualCount$.pipe(z(Hkb),Vf({bufferSize:1,refCount:!0}));this.blockedDualCount$=
Ie([this.id$,this.blockedIssueIds$]).pipe(Yf(function(b){var c=k(b);b=c.next().value;c=c.next().value;return xZ(a,b,c,["BLOCKING"])}),Vf({bufferSize:1,refCount:!0}));this.countBlockedDisplay$=this.blockedDualCount$.pipe(z(Hkb),Vf({bufferSize:1,refCount:!0}));this.childrenDualCount$=Ie([this.id$,this.childrenIds$]).pipe(Yf(function(b){var c=k(b);b=c.next().value;c=c.next().value;return xZ(a,b,c,["CHILDREN"])}),Vf({bufferSize:1,refCount:!0}));this.countChildrenDisplay$=this.childrenDualCount$.pipe(z(Hkb),
Vf({bufferSize:1,refCount:!0}));this.parentsDualCount$=Ie([this.id$,this.parentIds$]).pipe(Yf(function(b){var c=k(b);b=c.next().value;c=c.next().value;return xZ(a,b,c,["PARENT"])}),Vf({bufferSize:1,refCount:!0}));this.countParentsDisplay$=this.parentsDualCount$.pipe(z(Hkb),Vf({bufferSize:1,refCount:!0}));this.dependenciesDualCount$=Ie([this.id$,this.blockerIssueIds$,this.childrenIds$]).pipe(Yf(function(b){var c=k(b);b=c.next().value;var d=c.next().value;c=c.next().value;return xZ(a,b,[].concat(t(c),
t(d)),["CHILDREN","BLOCKED_BY"])}));this.countDependenciesDisplay$=this.dependenciesDualCount$.pipe(z(Hkb),Vf({bufferSize:1,refCount:!0}));this.duplicatesDualCount$=Ie([this.id$,this.duplicateIssueIds$]).pipe(Yf(function(b){var c=k(b);b=c.next().value;c=c.next().value;return xZ(a,b,c,["DUPLICATE"])}),Vf({bufferSize:1,refCount:!0}));this.countDuplicateDisplay$=this.duplicatesDualCount$.pipe(z(function(b){return b.total}),z(Ikb),Vf({bufferSize:1,refCount:!0}));this.countResourcesDisplay$=this.issue$.pipe(z(function(b){var c;
return(c=b==null?void 0:b.relatedLinks)!=null?c:[]}),z(function(b){return a.activeSession.isInternalSession()?b:b.filter(function(c){return!kLa(c)})}),z(function(b){return Nt(b.length)}),z(Ikb),Vf({bufferSize:1,refCount:!0}));this.countTodosDisplay$=this.id$.pipe(Ue(ik),Yf(function(b){return D5c(a.codeMentions,b)}),z(function(b){var c,d;return Nt((d=(c=b.mentions)==null?void 0:c.totalMentions)!=null?d:0)}),z(Ikb),Vf({bufferSize:1,refCount:!0}));this.countCommentsDisplay$=this.issueEvents$.pipe(z(function(b){return Nt(b.filter(Ol).length)}),
z(Ikb),Vf({bufferSize:1,refCount:!0}))},xZ=function(a,b,c,d){d=d===void 0?[]:d;c=Kj(c);if(!b||c.length===0)return Ae({open:{count:0,exact:!0},total:{count:0,exact:!0}});d=d.map(function(e){return Jkb(b,e)}).filter(ik).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(Sl).filter(Tl).length;return{open:Nt(e),total:Nt(c.length)}})):Ie(c.map(function(e){return a.issueFullFridge.watch(e)})).pipe(z(function(e){return{open:Nt(e.filter(ik).filter(Sl).filter(Tl).length),
total:Nt(e.filter(function(f){return!f||Tl(f)}).length)}}))};yZ.\u0275fac=function(a){return new (a||yZ)};yZ.\u0275prov=n({token:yZ,factory:yZ.\u0275fac,providedIn:"root"});var zZ=function(){Z.call(this);var a=this;this.issueFullFridge=r(QF);this.butterBar=r(fH);this.analytics=r(OF);this.refreshMonitor=r(fF);this.contextSensitiveRegistry=r(UH);this.issuePermissionService=r(gJ);this.issuePicker=r(TP);this.errorHandler=r(CI);this.counts=r(yZ);this.issueId$=this.contextSensitiveRegistry.getIssueId();this.issue$=this.issueId$.pipe(Yf(function(b){return a.issueFullFridge.watch(b)}));this.filters=[];this.shouldResetFilters=new aB;this.tableColumns=[].concat(t(hQc));this.initialSort=
{column:"status",direction:"ASCENDING"};this.canEdit$=this.issuePermissionService.hasAclToEdit$;this.blockerIds$=this.issue$.pipe(z(function(b){return b==null?void 0:b.snapshot[0]}),z(function(b){var c,d;return(d=b==null?void 0:(c=b.blockedByIssueId)==null?void 0:c.map(String))!=null?d:[]}));this.blockersCount$=this.blockerIds$.pipe(Yf(function(b){return b.length===0?Ae(0):a.counts.blockersDualCount$.pipe(z(function(c){return c.total.count}))}));this.showBlockersTable$=this.blockersCount$.pipe(z(function(b){return b>
0}),Xf(!0));this.tableOptions={menu:{includeGoToIssueItem:!0},deEmphasizeClosedIssues:!0};this.getMenuItems=function(b){return[{type:"action",label:"Remove blocker",action:function(){E5c(a,b)},title:"Remove blocker",icon:"clear"}]};this.subscriptions.add(this.refreshMonitor.getObservable().subscribe(function(){var b=tp(a.blockerIds$);if(b!=null){b=k(b);for(var c=b.next();!c.done;c=b.next())a.issueFullFridge.poke(c.value)}}))};Y(zZ,Z);zZ.\u0275dir=Z.\u0275dir;
var Rkb=function(a){var b;return se(function(c){b=tp(a.issueId$);if(b==null)return c.return();a.analytics.trackEvent("editIssue","update","add-blocker");return y(c,a.issuePicker.open({title:"Add Blockers of "+b,allowMultipleIds:!0,edgeType:"blocker"},function(d){F5c(a,b,d)}),0)})},F5c=function(a,b,c){se(function(d){return c.length===0?d.return():y(d,a.issueFullFridge.addBlockedBy(b,c).catch(function(e){EI(a.errorHandler,e)}),0)})},E5c=function(a,b){var c,d;se(function(e){if(e.nextAddress==1){c=tp(a.issueId$);
if(c==null)return e.return();a.analytics.trackEvent("editIssue","update","remove-blocker");te(e,2);return y(e,a.issueFullFridge.removeBlockedBy(c,[b]),4)}if(e.nextAddress!=2)return Hu(e,0);d=we(e);a.butterBar.showWarning("Could not remove blocker "+b+". "+(Zo(d)?$o(d):d));xe(e)})};zZ.\u0275fac=function(a){return new (a||zZ)};
zZ.\u0275cmp=C({type:zZ,selectors:[["b-blockers-table"]],viewQuery:function(a,b){a&1&&Rg(AU,5);if(a&2){var c;Vg(c=Wg())&&(b.issuesTable=c.first)}},inputs:{filters:"filters"},outputs:{shouldResetFilters:"shouldResetFilters"},standalone:!1,features:[cg],decls:15,vars:12,consts:[["addBlocker",""],[1,"table-header","blockers-count","flex-kids-x","align-items-center"],[1,"muted","margin-s-y","flex-kids-x","align-items-center"],["role","status","tabindex","0","matTooltip","Use blockers for issues that are preventing this issue from being resolved.",
1,"b-chip","nowrap","bad","squared","xs","keep-focus-ring"],["svgIcon","slo-status-no-data",1,"icon-xxs"],[1,"muted"],[4,"ngTemplateOutlet"],[3,"issueIds","tableColumns","menuItemFactory","filters","initialSort","options"],[1,"emoji"],["type","button",1,"subtle-link","unstyled",3,"click"],["size","small","title","Mark an existing issue as blocker",1,"add",3,"onAction","disabled"]],template:function(a,b){a&1&&(I(0,"div",1)(1,"h4",2)(2,"div",3),K(3,"mat-icon",4),J(),Q(4),S(5,"async"),J(),D(6,Lkb,1,
1,"ng-container"),S(7,"async"),J(),D(8,Nkb,2,3),S(9,"async"),D(10,Pkb,6,1,"div")(11,Qkb,4,2,"p",5),S(12,"async"),D(13,Skb,3,3,"ng-template",null,0,ih));if(a&2){var c;B(4);R(" Blockers ",U(5,4,b.counts.countBlockersDisplay$)," ");B(2);G(U(7,6,b.showBlockersTable$)?6:-1);B(2);G(U(9,8,b.showBlockersTable$)?8:10);B(3);G((c=U(12,10,b.issuesTable==null?null:b.issuesTable.hiddenRowCount$))?11:-1,c)}},dependencies:[dw,pB,mB,rB,dQ,AU,ew],styles:["[_nghost-%COMP%] {\n      display: block;\n    }\n    b-issues-table[_ngcontent-%COMP%] {\n      display: block;\n      overflow-x: auto;\n    }"],
changeDetection:0});var BZ=function(){Z.apply(this,arguments);this.routerEvents=r(NF);this.documentVisibility=r(AZ);this.validNavigations=0;this.ignoringNextNav=!1;this.mostRecentlyMeasured="";this.tabWasHidden=!1};Y(BZ,Z);BZ.\u0275dir=Z.\u0275dir;
BZ.prototype.install=function(){var a=this;Qo()&&(this.subscriptions.add(this.routerEvents.routeChangeStart.subscribe(function(){G5c(a)})),this.subscriptions.add(this.routerEvents.routeChangeSuccess.subscribe(function(){a.ignoringNextNav?a.ignoringNextNav=!1:a.validNavigations++})),this.subscriptions.add(this.routerEvents.routeUpdate.subscribe(function(){G5c(a);a.ignoringNextNav?a.ignoringNextNav=!1:a.validNavigations++})),this.subscriptions.add(this.documentVisibility.visibilityState$.pipe(Ue(function(b){return b!==
"visible"}),Nf()).subscribe(function(){a.tabWasHidden=!0})))};
var G5c=function(a){a.ignoringNextNav||(Bkc("appNavStart"),a.mostRecentlyMeasured="")},H5c=function(a,b){Bkc(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)&&Qo())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)}}};
BZ.\u0275fac=function(){var a;return function(b){return(a||(a=ee(BZ)))(b||BZ)}}();BZ.\u0275prov=n({token:BZ,factory:BZ.\u0275fac,providedIn:"root"});var AZ=function(){var a=this;this.window=r(MH);this.visibilityState$=Pe(this.window.document,"visibilityChange").pipe(Xf(void 0),z(function(){return a.currentVisibility}))};da.Object.defineProperties(AZ.prototype,{currentVisibility:{configurable:!0,enumerable:!0,get:function(){return this.window.document.visibilityState}}});
AZ.\u0275fac=function(a){return new (a||AZ)};AZ.\u0275prov=n({token:AZ,factory:AZ.\u0275fac,providedIn:"root"});var I5c=function(){this.imageUrls=r(jL);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};I5c.\u0275fac=function(a){return new (a||I5c)};
I5c.\u0275cmp=C({type:I5c,selectors:[["b-issue-dependencies-onboarding-dialog"]],standalone:!1,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",""],"type button mat-flat-button  color primary matDialogClose  cdkFocusInitial ".split(" ")],template:function(a,b){a&1&&(I(0,"h1",0),Q(1,"About Dependencies"),J(),I(2,"div",1)(3,"div",2),K(4,"img",3)(5,"img",3)(6,"img",4)(7,"img",4),J(),I(8,"article")(9,"p",5),Q(10," Children are used to separate a large work item (like a project) into smaller pieces. Blockers indicate that something prevents work from starting on this issue. "),I(11,"a",6),Q(12,"Learn more"),J()()()(),I(13,
"div",7)(14,"button",8),Q(15,"Ok"),J()());a&2&&(B(4),E("src",b.EMPTY_CHILD_LIGHT,vf),B(),E("src",b.EMPTY_BLOCKER_LIGHT,vf),B(),E("src",b.EMPTY_CHILD_DARK,vf),B(),E("src",b.EMPTY_BLOCKER_DARK,vf))},dependencies:[eB,jy,uI,wI,yI,xI],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 CZ=function(){Z.call(this);var a=this;this.issueFullFridge=r(QF);this.butterBar=r(fH);this.analytics=r(OF);this.refreshMonitor=r(fF);this.issueRelationshipsFridge=r(bG);this.ROUTES=Qq;this.parentIssueIds$=new Xi([]);this.filters=[];this.tableColumns=[].concat(t(hQc));this.tableOptions={menu:{includeGoToIssueItem:!0},deEmphasizeClosedIssues:!0};this.getMenuItems=function(b){return[{type:"action",label:"Unlink parent",action:function(){return J5c(a,b)},title:"Unlink parent",icon:"link"}]};this.showError=
function(b){return function(c){a.butterBar.showWarning(b+". "+(Zo(c)?$o(c):c))}};this.subscriptions.add(this.refreshMonitor.getObservable().subscribe(function(){for(var b=k(a.parentIssueIds$.value),c=b.next();!c.done;c=b.next())a.issueFullFridge.poke(c.value)}))};Y(CZ,Z);CZ.\u0275dir=Z.\u0275dir;CZ.prototype.ngOnInit=function(){};
var J5c=function(a,b){var c;return se(function(d){a.analytics.trackEvent("editIssue","update","remove-parent");c=a.issueId;return y(d,a.issueRelationshipsFridge.unlinkFromParent(c,b).catch(a.showError("Failed to unlink child "+c+" from parent "+b)),0)})};da.Object.defineProperties(CZ.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$}}});
CZ.\u0275fac=function(a){return new (a||CZ)};
CZ.\u0275cmp=C({type:CZ,selectors:[["b-parents-table"]],viewQuery:function(a,b){a&1&&Rg(AU,5);if(a&2){var c;Vg(c=Wg())&&(b.issuesTable=c.first)}},inputs:{parentIds:"parentIds",filters:"filters",issueId:"issueId"},standalone:!1,features:[cg],decls:2,vars:3,consts:[[3,"issueIds","tableColumns","options","filters","issueUrlFactory","menuItemFactory"]],template:function(a,b){a&1&&(D(0,Tkb,1,6,"b-issues-table",0),S(1,"async"));if(a&2){var c;G((c=U(1,1,b.parentIssueIds$))?0:-1,c)}},dependencies:[AU,ew],
encapsulation:2,changeDetection:0});var DZ=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 aB;this.onConfirm=new aB;this.onCancel=new aB;this.internalSelectedOptions=new IC};DZ.prototype.confirm=function(a){this.onConfirm.emit(new Set(this.internalSelectedOptions));a.close()};DZ.prototype.cancel=function(a){this.onCancel.emit();a.close()};
da.Object.defineProperties(DZ.prototype,{selectedOptions:{configurable:!0,enumerable:!0,set:function(a){this.internalSelectedOptions.reset(a)}}});DZ.\u0275fac=function(a){return new (a||DZ)};
DZ.\u0275cmp=C({type:DZ,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"},standalone:!1,decls:12,
vars:14,consts:[["trigger","onedevPopupPanelTrigger"],["optionsPanel","onedevPopupPanel"],["type","button","mat-icon-button","","onedevPopupPanelTrigger","","aria-haspopup","true",3,"click","onedevPopupPanelTriggerFor","color","matTooltip"],[3,"svgIcon"],["role","region","className","select-menu-popup"],[1,"padded-s","flex-kids-y"],[1,"title","margin-s-x","padded-s"],[1,"flex-kids-x"],[1,"badge",3,"title"],[1,"option","grow-1","flex-kids-x","align-items-center","padded-x","padded-s-y","gap"],[3,"change",
"checked"],[1,"flex-kids-x","justify-flex-end","padded-s","gap-s"],["type","button","mat-stroked-button","",1,"cancel",3,"click"],["type","button","mat-flat-button","","color","primary",1,"confirm",3,"click"]],template:function(a,b){if(a&1){var c=v();I(0,"button",2,0);S(2,"async");M("click",function(){w(c);var d=L(1),e;(e=d.isOpen)!=null&&e?d.close():d.open();return x()});K(3,"mat-icon",3);D(4,Vkb,2,3);J();I(5,"onedev-popup-panel",4,1)(7,"div",5);D(8,Wkb,2,1,"h1",6);yg(9,Zkb,7,5,"div",7,xg);D(11,
$kb,6,2);J()()}a&2&&(a=L(6),sg("large",b.buttonSize==="large")("small",b.buttonSize==="small"),E("onedevPopupPanelTriggerFor",a)("color",b.showActiveState&&U(2,12,b.internalSelectedOptions.size$)?"primary":null)("matTooltip",b.buttonTooltip),jg("aria-label",b.buttonAriaLabel),B(3),E("svgIcon",b.buttonSvgIcon),B(),G(b.showActiveState?4:-1),B(4),G(b.overlayTitle?8:-1),B(),zg(b.options),B(2),G(b.showActionButtons?11:-1))},dependencies:[pB,eB,jy,ly,RH,SH,oQ,mB,rB,AH,BH,ew],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 K5c=function(){return[]},hlb=function(a){return{filteredCount:a}},EZ=function(){Z.call(this);var a=this;this.brain=r(eJ);this.issuePicker=r(TP);this.issueRelationshipsFridge=r(bG);this.issueFullFridge=r(QF);this.router=r(TA);this.routePerformance=r(BZ);this.element=r(ef);this.analytics=r(OF);this.issuePermissionService=r(gJ);this.activeSession=r(Bu);this.counts=r(yZ);this.matDialog=r(tI);this.butterBar=r(fH);this.makeIlpUrlForParentIssue=j6a;this.recallFilters=Bwa("deps-filters");this.saveFilters=
zl("deps-filters");this.isThinking$=Ie([this.issueFullFridge.saving$,this.issueRelationshipsFridge.saving$]).pipe(z(function(b){return b.some(Boolean)}));this.issueId$=this.brain.id$.pipe(Ue(ik),z(Dj));this.issue$=this.brain.issueJs$.pipe(Ue(ik));this.parentIds$=this.issue$.pipe(z(function(b){var c;return(c=b==null?void 0:b.parentIssueIds)!=null?c:[]}));this.parentIssues$=this.parentIds$.pipe(Yf(function(b){return a.issueFullFridge.watchSet(b)}));this.parentsCount$=this.parentIssues$.pipe(z(function(b){return b.filter(Tl).length}));
this.childrenIds$=this.issueId$.pipe(Yf(function(b){return a.issueRelationshipsFridge.watch(b)}),z(function(b){var c;return(c=b==null?void 0:b.relatedChildren.map(function(d){return d.targetIssueId}))!=null?c:[]}));this.totalDaysOpen$=this.issue$.pipe(z(function(b){var c,d;return((c=Ql(b))==null?void 0:(d=c.effort)==null?void 0:d.totalOpen)||0}));this.totalDaysComplete$=this.issue$.pipe(z(function(b){var c,d;return((c=Ql(b))==null?void 0:(d=c.effort)==null?void 0:d.totalComplete)||0}));this.unarchivedChildIssueCount$=
this.childrenIds$.pipe(z(function(b){return b.length}));this.isTotalEstimatesEnabled=Vt(this.activeSession,"enableAggregationRules");this.isNonPublicSession=this.activeSession.isNonPublicSession();this.isInternalSession=this.activeSession.isInternalSession();this.enableRollupStatsUi=Vt(this.activeSession,"enableRollupStatsUi");this.totalDaysCount$=Ie([this.totalDaysOpen$,this.totalDaysComplete$]).pipe(z(function(b){var c=k(b);b=c.next().value;c=c.next().value;return b+c}));this.totalDaysDisplayPercent$=
Alb(this.totalDaysComplete$,this.totalDaysCount$);this.progressHovercardContent$=Ie([this.totalDaysComplete$,this.totalDaysOpen$,this.totalDaysDisplayPercent$]).pipe(z(function(b){var c=k(b);b=c.next().value;var d=c.next().value;c=c.next().value;return Blb(Math.round(b*100)/100)+" completed | "+Blb(Math.round(d*100)/100)+" open | "+c+"% completed"}));this.canEdit$=this.issuePermissionService.hasAclToEdit$;this.rowCreated$=new Uf;this.issueFilters=new IC;this.ISSUE_FILTER_OPTIONS=[{key:Rr.OPEN.key,
title:Rr.OPEN.displayAs,description:"Hides closed issues"},{key:Rr.ASSIGNED_TO_ME.key,title:Rr.ASSIGNED_TO_ME.displayAs,description:"Hides issues not assigned to me"}];Fe(aBa("b-issue-relations-table tr .mat-column-title a",this.element.nativeElement).pipe(Zf(Te(this.destroyed$,this.rowCreated$)))).then(function(){var b=function(){H5c(a.routePerformance,"issue-details-w-tree")};requestAnimationFrame(b);setTimeout(b)}).catch(function(){});try{this.issueFilters.reset(this.recallFilters().filter(o6a))}catch(b){}this.subscriptions.add(this.issueFilters.value$.subscribe(function(b){a.saveFilters([].concat(t(b)))}))};
Y(EZ,Z);EZ.\u0275dir=Z.\u0275dir;
var wlb=function(a){var b,c;return se(function(d){if(d.nextAddress==1)return a.analytics.trackEvent("editIssue","update","add-parent"),y(d,Fe(a.issue$),2);b=d.yieldResult;c=b.issueId;return y(d,a.issuePicker.open({title:"Add Parent to b/"+c,allowMultipleIds:!1,edgeType:"parent"},function(e){L5c(a,c,e)}),0)})},L5c=function(a,b,c){var d=k(c).next().value;var e,f,h,l;se(function(q){if(q.nextAddress==1)return(e=d)?y(q,a.issueRelationshipsFridge.assignParentToOneIssue(e,b),2):q.return();f=q.yieldResult;
h=f.errors;return((l=h)==null?0:l.length)?(a.butterBar.showWarning("Could not add parent"),q.return()):y(q,a.issueFullFridge.poke(b),0)})};EZ.prototype.shouldResetFilters=function(){this.issueFilters.reset([])};EZ.prototype.addChild=function(){this.rowCreated$.next();var a;(a=this.relationsTable)==null||a.addExistingChild()};EZ.prototype.createChild=function(){this.rowCreated$.next();var a;(a=this.relationsTable)==null||Dlb(a)};
EZ.prototype.openLearnMore=function(){this.matDialog.open(I5c,{maxWidth:"1300px",width:"90%"})};EZ.\u0275fac=function(a){return new (a||EZ)};
EZ.\u0275cmp=C({type:EZ,selectors:[["b-issue-dependencies"]],viewQuery:function(a,b){a&1&&(Rg(uZ,5),Rg(zZ,5),Rg(CZ,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)}},standalone:!1,features:[cg],decls:15,vars:13,consts:[["filterInfo",""],["addParent",""],["addChildren",""],["progressHovercard","onedevHovercard"],["effortHovercard","onedevHovercard"],[1,"status","flex-kids-x","gap-s","align-items-center","justify-flex-end"],
["buttonSize","small","buttonSvgIcon","filter-alt","buttonTooltip","Filter issues","buttonAriaLabel","Filter issues","overlayTitle","Only show issues that are",3,"onChange","options","selectedOptions","showActionButtons","showActiveState"],["type","button","mat-icon-button","","matTooltip","Learn more","aria-label","Open dialog to learn more about the Dependencies tab",1,"small",3,"click"],["svgIcon","info",1,"icon-s"],[1,"pos-rel","carded","margined-s","bg-main","flex-kids-y","gap-l"],[1,"parents"],
[1,"table-header","flex-kids-x","align-items-center"],[1,"muted","margin-s-y","flex-kids-x","align-items-center"],["role","status",1,"b-chip","nowrap","squared","xs","keep-focus-ring"],["svgIcon","arrow_upward_24px",1,"icon-xxs"],[3,"issueId","parentIds","filters"],[3,"shouldResetFilters","filters"],[1,"table-header","child-issue-header","flex-kids-x","align-items-center"],["role","status","tabindex","0","matTooltip","Use child issues to break down this issue into smaller units of work.",1,"b-chip",
"nowrap","squared","xs","keep-focus-ring"],["svgIcon","account_tree_24px",1,"icon-xxs"],[1,"progress-header"],[1,"margin-s-bottom",3,"id"],[3,"rootIssueId","filters","saveExpansionAtKey"],[4,"ngTemplateOutlet"],[1,"muted"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"flex-kids-x","align-items-center"],[1,"margin-s-right"],[1,"label"],[1,"progress","margin-s-right",3,"onedevHovercardTrigger"],[1,"completion"],["role","dialog",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body","progress-hover-card"],
["svgIcon","info","aria-hidden","false","aria-label","The progress of child issues takes into consideration all child issues and descendant issues\n                  which have estimation data. If a child issue doesn\u2019t have an estimate, their progress is\n                  not reflected in the progress bar.",1,"icon-s",3,"onedevHovercardTrigger"],[1,"onedev-hovercard-body"],[1,"margin-s-top"],["title","View the search results page for this issue and all descendants",3,"href"],["type","button",
1,"subtle-link","unstyled",3,"click"],["size","small","title","Add a parent of the current issue",1,"add",3,"onAction","disabled"],["size","small","title","Create an issue as a child",1,"add",3,"disabled"],["size","small","title","Add an existing issue as a child",1,"add",3,"onAction","disabled"],["size","small","title","Create an issue as a child",1,"add",3,"onAction","disabled"]],template:function(a,b){if(a&1){var c=v();I(0,"div",5);D(1,alb,1,0,"b-spinner");S(2,"async");I(3,"select-menu",6);S(4,
"async");M("onChange",function(f){w(c);return x(b.issueFilters.reset(f))});J();I(5,"button",7);M("click",function(){w(c);return x(b.openLearnMore())});K(6,"mat-icon",8);J()();D(7,tlb,40,47,"div",9);S(8,"async");D(9,vlb,1,1,"ng-template",null,0,ih)(11,xlb,3,3,"ng-template",null,1,ih)(13,zlb,4,4,"ng-template",null,2,ih)}if(a&2){var d,e;B();G(U(2,6,b.isThinking$)?1:-1);B(2);E("options",b.ISSUE_FILTER_OPTIONS)("selectedOptions",(d=U(4,8,b.issueFilters.value$))!==null&&d!==void 0?d:dh(12,K5c))("showActionButtons",
!1)("showActiveState",!0);B(4);G((e=U(8,10,b.issueId$))?7:-1,e)}},dependencies:[dw,pB,$H,fI,eB,ly,mB,rB,dQ,DZ,sL,cZ,zZ,uZ,CZ,ew,kw],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 FZ=function(){};FZ.\u0275fac=function(a){return new (a||FZ)};FZ.\u0275mod=Cf({type:FZ});FZ.\u0275inj=p({imports:[lC,mC,jN,xQ,pC,pP]});var GZ=function(){};GZ.\u0275fac=function(a){return new (a||GZ)};GZ.\u0275mod=Cf({type:GZ});GZ.\u0275inj=p({imports:[Qw,qK,IA,lC,bz,WM,mC,XI,wY,FP,FN,pC,cz,XT,xP,eQ,iP,xY,yP,FZ,hN,BP,kZ,vL,gP]});var HZ=function(){Z.apply(this,arguments);var a=this;this.prefsService=r(dZ);this.issueFullFridge=r(QF);this.savedSearchFridge=r(YD);this.analytics=r(OF);this.activeSession=r(Bu);this.TREE_COLUMNS=[].concat(t(lQc));this.TREE_OPTIONS=Object.assign({},nQc);this.refreshWorkArea=new Uf;this.hideRecentActivity=!1;this.typeAndId$=new Xi([void 0,void 0]);this.typeAndId$.pipe(Yf(function(b){var c=k(b);b=c.next().value;c=c.next().value;return b==="savedsearch"?a.savedSearchFridge.watch(c):Ae(void 0)}));this.issue$=
this.typeAndId$.pipe(Yf(function(b){var c=k(b);b=c.next().value;c=c.next().value;return b==="issue"?a.issueFullFridge.watch(c):Ae(void 0)}));this.issueFilter$=this.typeAndId$.pipe(z(function(b){var c=k(b);b=c.next().value;c=c.next().value;if(b==="issue")return"parentid:"+c+"+ | id:"+c;if(b==="savedsearch")return"savedsearchid:"+c;if(b==="hotlist")return"hotlistid:"+c}),z(function(b){if(b!==void 0){var c;if((c=a.activeSession.getTracker())==null?0:c.trackerId){var d;b+=" trackerid:"+((d=a.activeSession.getTracker())==
null?void 0:d.trackerId)}return b}}))};Y(HZ,Z);HZ.\u0275dir=Z.\u0275dir;HZ.prototype.ngOnInit=function(){var a=this;this.refreshWorkArea.pipe(Zf(this.destroyed$)).subscribe(function(){a.typeAndId$.next([a.entityType,a.referencedId])})};HZ.prototype.getFilters=function(){return B4c(this.prefsService,this.entityReference)};HZ.prototype.showTable=function(){return this.onlyShowTableWhenFiltered?this.getFilters().length>0:!0};
da.Object.defineProperties(HZ.prototype,{reference:{configurable:!0,enumerable:!0,set:function(a){this.entityReference=a;this.referencedId=Pr(a);this.entityType=Qr(a);this.analytics.trackEvent("missionControl","view","work-area-"+this.entityType);this.typeAndId$.next([this.entityType,this.referencedId])}}});HZ.\u0275fac=function(){var a;return function(b){return(a||(a=ee(HZ)))(b||HZ)}}();
HZ.\u0275cmp=C({type:HZ,selectors:[["one-work-area"]],viewQuery:function(a,b){a&1&&Rg(uZ,5);if(a&2){var c;Vg(c=Wg())&&(b.relationsTable=c.first)}},inputs:{reference:"reference",refreshWorkArea:"refreshWorkArea",hideRecentActivity:"hideRecentActivity",numRecentActivityEvents:"numRecentActivityEvents",onlyShowTableWhenFiltered:"onlyShowTableWhenFiltered"},standalone:!1,features:[cg],decls:1,vars:1,consts:[[3,"searchString","prefKey","reference","onlyShowTableWhenFiltered","entityType"],[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"],["type","button","mat-flat-button","","color","primary","title","Create an issue as a child in this work area",1,"small","gmat-button",3,"click"],["type","button","mat-button","","title","Add an existing issue as a child in this work area",1,"small","gmat-button",3,"click"]],
template:function(a,b){a&1&&D(0,Klb,4,2);if(a&2){var c;G((c=b.referencedId)?0:-1,c)}},styles:["[_nghost-%COMP%] { display: block; }"]});var M5c=Object.assign({},mQc,{showTrending:!0}),N5c={column:"modifiedTime",direction:"DESCENDING"},IZ=function(){var a=this;this.prefsService=r(dZ);this.activeSession=r(Bu);this.issueFridge=r(hF);this.DEFAULT_COLUMNS=[].concat(t(jQc));this.PROGRESS_COLUMNS=[].concat(t(kQc));this.TABLE_OPTIONS=Object.assign({},M5c);this.INITIAL_SORT=N5c;this.searchString$=new Xi(void 0);this.issueQuery$=this.searchString$.pipe(z(Llb));this.issueIds$=this.issueQuery$.pipe(Yf(function(b){return a.issueFridge.watchMany(b)}),
z(function(b){if(a.entityType==="issue")return b.results;var c;return Opc(b.results,(c=a.activeSession.getTracker())==null?void 0:c.trackerId)}),z(function(b){return b.map(function(c){return c.issueId})}))};IZ.prototype.getFilters=function(){return this.prefKey==null?[]:B4c(this.prefsService,this.prefKey)};IZ.prototype.showTable=function(){return this.onlyShowTableWhenFiltered?this.getFilters().length>0:!0};
da.Object.defineProperties(IZ.prototype,{searchString:{configurable:!0,enumerable:!0,set:function(a){this.searchString$.next(a!=null?a:void 0)}}});IZ.\u0275fac=function(a){return new (a||IZ)};
IZ.\u0275cmp=C({type:IZ,selectors:[["one-work-area-list"]],inputs:{searchString:"searchString",prefKey:"prefKey",entityType:"entityType",reference:"reference",onlyShowTableWhenFiltered:"onlyShowTableWhenFiltered"},standalone:!1,decls:5,vars:10,consts:[[1,"margin-bottom",3,"ref","query"],[1,"margin-bottom",3,"prefKey","query","entityType"],[3,"issueIds","options","filters","tableColumns","initialSort"]],template:function(a,b){a&1&&(K(0,"rollups-list",0),S(1,"async"),K(2,"stat-cards-list",1),S(3,"async"),
D(4,Nlb,2,3));a&2&&(E("ref",b.reference)("query",U(1,6,b.issueQuery$)),B(2),E("prefKey",b.prefKey)("query",U(3,8,b.issueQuery$))("entityType",b.entityType),B(2),G(b.showTable()?4:-1))},dependencies:[bZ,iZ,AU,ew],styles:["[_nghost-%COMP%] { display: block; }"]});var JZ=function(){Z.call(this);var a=this;this.prefsService=r(dZ);this.issueFullFridge=r(QF);this.hotlistFridge=r(UD);this.savedSearchFridge=r(YD);this.hotlistPicker=r(OS);this.issuePicker=r(TP);this.savedSearchPicker=r(aZ);this.analytics=r(OF);this.clipboard=r(CH);this.butterBar=r(fH);this.parentIssueSuggestions=r(fZ);this.imageUrls=r(jL);this.activeSession=r(Bu);this.refreshData=new Uf;this.SECTION_SLUG="work-areas-wrapper-card";this.EMPTY_STATE_IMG=this.imageUrls.WORK_AREA_EXAMPLE_ILLUSTRATION;
this.inferEntityType=Qr;this.makeBuganizerUrl=i6a;this.makeIlpUrlForParentIssue=j6a;this.getEntityTypeName=h6a;this.extractLastDigits=Pr;this.suggestions=[];this.titles={};var b;this.currentTrackerId=(b=this.activeSession.getTracker())==null?void 0:b.trackerId;this.INITIAL_TAB_INDEX=A4c(this.prefsService,"work-areas-wrapper-card");this.workAreaReferences$=this.prefsService.prefs$.pipe(z(function(d){var e;return(e=d==null?void 0:d.workAreaUrls)!=null?e:[]}));this.issues$=this.workAreaReferences$.pipe(z(function(d){return d.filter(function(e){return Qr(e)===
"issue"})}),z(function(d){return d.map(Pr)}),Pf(oj),z(function(d){return d.filter(ik)}),Yf(function(d){return a.issueFullFridge.watchSet(d)}));this.hotlists$=this.workAreaReferences$.pipe(z(function(d){return d.filter(function(e){return Qr(e)==="hotlist"})}),z(function(d){return d.map(Pr)}),Pf(oj),z(function(d){return d.filter(ik)}),Yf(function(d){return a.hotlistFridge.watchSet(d)}));this.savedSearches$=this.workAreaReferences$.pipe(z(function(d){return d.filter(function(e){return Qr(e)==="savedsearch"})}),
z(function(d){return d.map(Pr)}),Pf(oj),z(function(d){return d.filter(ik)}),Yf(function(d){return a.savedSearchFridge.watchSet(d)}));this.refsForTemplate$=this.workAreaReferences$.pipe(Jf(this.issues$),Zf(this.destroyed$),z(function(d){var e=k(d);d=e.next().value;var f=e.next().value;return d.map(function(h){var l=f.find(function(q){return q.issueId===h});return{workAreaUrl:h,trackerId:l==null?void 0:l.trackerId}})}));this.issues$.pipe(Zf(this.destroyed$)).subscribe(this.updateTitlesForIssues.bind(this));
this.hotlists$.pipe(Zf(this.destroyed$)).subscribe(this.updateTitlesForHotlists.bind(this));this.savedSearches$.pipe(Zf(this.destroyed$)).subscribe(this.updateTitlesForSavedSearches.bind(this));b=this.workAreaReferences.length;this.analytics.trackEvent("missionControl","display","num-work-areas-"+b,b);var c;b=Object.values((c=this.prefsService.prefs.workAreaQuickFilters)!=null?c:{}).flat();b.length>0&&this.analytics.trackEvent("missionControl","view","workAreas-filters-"+b.join(","));Re(2E3).pipe(Yf(function(){return a.parentIssueSuggestions.suggestions$}),
Zf(this.destroyed$),Nf()).subscribe(function(d){var e=3;e=e===void 0?3:e;if(d.length!==0){var f=d.slice(0,e*2),h=[].concat(t(f));if(!(f.length<=1))for(f=h.length-1;f>0;--f){var l=Math.floor(Math.random()*(f+1)),q=h[f];h[f]=h[l];h[l]=q}e=h.slice(0,e);d=d[0];e.includes(d)||(e.pop(),e.unshift(d));d=e}a.suggestions=d;a.workAreaReferences.length===0&&(d=d.length,a.analytics.trackEvent("missionControl","suggestions-shown",String(d),d))})};Y(JZ,Z);JZ.\u0275dir=Z.\u0275dir;JZ.prototype.toggleCollapsed=function(){this.prefsService.toggleCollapsed("work-areas-wrapper-card")};
JZ.prototype.updateTitlesForIssues=function(a){a=k(a);for(var b=a.next();!b.done;b=a.next()){b=b.value;var c=void 0;this.titles[b.issueId]=(c=b.snapshot[0])==null?void 0:c.title}};JZ.prototype.updateTitlesForHotlists=function(a){a=k(a);for(var b=a.next();!b.done;b=a.next())b=b.value,this.titles[Nr(b.hotlistId)]=b.name};JZ.prototype.updateTitlesForSavedSearches=function(a){a=k(a);for(var b=a.next();!b.done;b=a.next())b=b.value,this.titles[Or(b.searchId)]=b.name};
var O5c=function(a){var b,c,d,e,f,h,l,q,u;return se(function(A){if(A.nextAddress==1)return b=a.workAreaReferences.filter(function(F){return Qr(F)==="hotlist"}).map(Pr).map(Number),y(A,yMc(a.hotlistPicker,b,Ae([])),2);c=A.yieldResult;f=((e=(d=c)==null?void 0:d.added)!=null?e:[]).map(Nr);q=((l=(h=c)==null?void 0:h.removed)!=null?l:[]).map(Nr);u=a.workAreaReferences.slice();u=Bua(q,u);u=Eua(f,u);Ot(a.prefsService,{workAreaUrls:u});xe(A)})},P5c=function(a){var b;return se(function(c){if(c.nextAddress==
1)return y(c,a.issuePicker.open({title:"Choose a parent issue",allowMultipleIds:!0}),2);b=c.yieldResult;b!=null&&eZ(a.prefsService,b);xe(c)})},$lb=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&&eZ(a.prefsService,b)},Q5c=function(a){var b,c,d,e;return se(function(f){if(f.nextAddress==1)return y(f,a.savedSearchPicker.open(),2);b=f.yieldResult;d=(c=b)!=null?c:[];if(d.length===0)return f.return();
e=d.map(Or);eZ(a.prefsService,e);xe(f)})};da.Object.defineProperties(JZ.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")}}});JZ.\u0275fac=function(a){return new (a||JZ)};
JZ.\u0275cmp=C({type:JZ,selectors:[["work-areas-wrapper-card"]],hostVars:4,hostBindings:function(a,b){a&2&&sg("is-empty",b.isEmpty)("collapsed",b.isCollapsed)},inputs:{refreshData:"refreshData"},standalone:!1,features:[cg],decls:18,vars:2,consts:[["addMenu","matMenu"],["editMenu","matMenu"],["issueHovercard","onedevHovercard"],[1,"carded","bg-main"],[1,"flex-kids-x","align-items-center"],[1,"heading-s"],["svgIcon","info","tabindex","0","role","button","aria-hidden","false","aria-label","Keeping a close eye on the projects, hotlists, or saved searches that you are focusing on",
"matTooltip","Keeping a close eye on the projects, hotlists, or saved searches that you are focusing on",1,"info","margin-s-left"],["type","button","mat-icon-button","","aria-label","Toggle expansion state",1,"small","collapse-btn","margin-s-left",3,"click"],["svgIcon","arrow-up",1,"icon-m"],["type","button","mat-stroked-button","","title","Add a work area",1,"small","add-work-area","margin-s-left",3,"matMenuTriggerFor"],["type","button","mat-menu-item","",3,"click"],["gmat-tabs","",1,"main-content",
"margin-s-top",3,"selectedIndex"],[1,"flex-kids-y","align-items-center","text-align-center","empty-state","main-content"],["svgIcon","add",1,"icon-s"],["gmat-tabs","",1,"main-content","margin-s-top",3,"selectedIndexChange","selectedIndex"],["mat-tab-label",""],["matTabContent",""],[3,"trackerId","compactMode"],["type","button","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"],["type","button","mat-menu-item",""],["type","button","mat-menu-item","",3,"click","disabled"],["svgIcon","arrow-backward",1,"icon-s"],["svgIcon","arrow-forward",1,"icon-s"],["type","button","mat-menu-item","",3,"click","title"],["svgIcon","close",1,"icon-s"],["mat-menu-item","","title","View the issue details page",3,"routerLink"],["svgIcon","link",1,"icon-s"],["mat-menu-item",
"","title","View the search results page for this issue and all descendants",3,"href"],["svgIcon","copy",1,"icon-s"],[1,"margin-top",3,"reference","refreshWorkArea"],[1,"inline-block","pos-rel"],["aria-hidden","true","alt","",3,"src"],[1,"pos-abs","work-area-suggestions"],[1,"type-l","muted","margin-y","match-image-width"],["type","button","mat-flat-button","","color","primary","title","Add a work area",3,"matMenuTriggerFor"],["svgIcon","add"],[1,"unstyled"],["tabindex","0",1,"elevated","rounded",
"padded-s","margined-s","slide-in",3,"title"],["tabindex","0",1,"elevated","rounded","padded-s","margined-s","slide-in",3,"click","title"],[1,"line-clamp-2"],[1,"muted","type-s",3,"onedevHovercardTrigger"],[3,"issueId"]],template:function(a,b){if(a&1){var c=v();I(0,"div",3)(1,"header",4)(2,"h3",5);Q(3," Work areas ");J();K(4,"mat-icon",6);I(5,"button",7);M("click",function(){w(c);return x(b.toggleCollapsed())});K(6,"mat-icon",8);J();D(7,Olb,3,1,"button",9);I(8,"mat-menu",null,0)(10,"button",10);M("click",
function(){w(c);return x(P5c(b))});Q(11,"Issue (parent/child project)");J();I(12,"button",10);M("click",function(){w(c);return x(O5c(b))});Q(13,"Hotlist");J();I(14,"button",10);M("click",function(){w(c);return x(Q5c(b))});Q(15,"Saved Search");J()()();D(16,Ylb,4,3,"mat-tab-group",11)(17,cmb,9,3,"section",12);J()}a&2&&(B(7),G(b.workAreaReferences.length>0?7:-1),B(9),G(b.workAreaReferences.length>0?16:17))},dependencies:[pB,VA,xL,IL,GL,JL,eB,jy,ly,oQ,DN,rN,xN,yN,zN,mB,rB,fL,$H,fI,lL,HZ,ew],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 KZ=function(){};KZ.\u0275fac=function(a){return new (a||KZ)};KZ.\u0275mod=Cf({type:KZ});KZ.\u0275inj=p({imports:[lC,bN,kC,mC,xQ,FN,pC,kZ,xY,$Y,GZ,YY,iP,WM,wP]});kma(HZ,[eB,jy,cZ,jZ,uZ,XY,IZ],[ew]);var R5c=["*"],S5c=["content"],T5c=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],U5c=new zd("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:fmb}),V5c=new zd("MAT_DRAWER_CONTAINER"),MZ=function(){var a=r(ef),b=r(mx),c=r(kh);nx.call(this,a,b,c);this._platform=r(tw);this._changeDetectorRef=r(Ov);this._container=r(LZ)};Y(MZ,nx);MZ.\u0275dir=nx.\u0275dir;MZ.prototype.ngAfterContentInit=function(){var a=this;this._container._contentMarginChanges.subscribe(function(){a._changeDetectorRef.markForCheck()})};
MZ.prototype._shouldBeHidden=function(){if(this._platform.isBrowser)return!1;var a=this._container,b=a.start;a=a.end;return b!=null&&b.mode!=="over"&&b.opened||a!=null&&a.mode!=="over"&&a.opened};MZ.\u0275fac=function(a){return new (a||MZ)};
MZ.\u0275cmp=C({type:MZ,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:6,hostBindings:function(a,b){a&2&&(rg("margin-left",b._container._contentMargins.left,"px")("margin-right",b._container._contentMargins.right,"px"),sg("mat-drawer-content-hidden",b._shouldBeHidden()))},features:[ch([{provide:nx,useExisting:MZ}]),cg],ngContentSelectors:R5c,decls:1,vars:0,template:function(a){a&1&&(Ig(),Jg(0))},encapsulation:2,changeDetection:0});
var NZ=function(){var a=this;this._elementRef=r(ef);this._focusTrapFactory=r(Fw);this._focusMonitor=r(ww);this._platform=r(tw);this._ngZone=r(kh);this._renderer=r(Iv);this._interactivityChecker=r(zw);this._doc=r(ii,{optional:!0});this._container=r(V5c,{optional:!0});this._elementFocusedBeforeDrawerWasOpened=this._focusTrap=null;this._position="start";this._mode="over";this._opened=this._disableClose=!1;this._animationStarted=new Uf;this._animationEnd=new Uf;this.openedChange=new Dv(!0);this._openedStream=
this.openedChange.pipe(Ue(function(b){return b}),z(function(){}));this.openedStart=this._animationStarted.pipe(Ue(function(){return a.opened}),Mf());this._closedStream=this.openedChange.pipe(Ue(function(b){return!b}),z(function(){}));this.closedStart=this._animationStarted.pipe(Ue(function(){return!a.opened}),Mf());this._destroyed=new Uf;this.onPositionChanged=new Dv;this._modeChanged=new Uf;this._injector=r(Ye);this._changeDetectorRef=r(Ov);this._handleTransitionEvent=function(b){b.target===a._elementRef.nativeElement&&
a._ngZone.run(function(){b.type==="transitionrun"?a._animationStarted.next(b):(b.type==="transitionend"&&a._setIsAnimating(!1),a._animationEnd.next(b))})};this.openedChange.pipe(Zf(this._destroyed)).subscribe(function(b){b?(a._doc&&(a._elementFocusedBeforeDrawerWasOpened=a._doc.activeElement),a._takeFocus()):a._isFocusWithinDrawer()&&a._restoreFocus(a._openedVia||"program")});this._ngZone.runOutsideAngular(function(){var b=a._elementRef.nativeElement;Pe(b,"keydown").pipe(Ue(function(c){return c.keyCode===
27&&!a.disableClose&&!Xh(c)}),Zf(a._destroyed)).subscribe(function(c){return a._ngZone.run(function(){a.close();c.stopPropagation();c.preventDefault()})});a._eventCleanups=[a._renderer.listen(b,"transitionrun",a._handleTransitionEvent),a._renderer.listen(b,"transitionend",a._handleTransitionEvent),a._renderer.listen(b,"transitioncancel",a._handleTransitionEvent)]});this._animationEnd.subscribe(function(){a.openedChange.emit(a._opened)})};g=NZ.prototype;
g._forceFocus=function(a,b){var c=this;this._interactivityChecker.isFocusable(a)||(a.tabIndex=-1,this._ngZone.runOutsideAngular(function(){var d=function(){e();f();a.removeAttribute("tabindex")},e=c._renderer.listen(a,"blur",d),f=c._renderer.listen(a,"mousedown",d)}));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":Ze(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?xw(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.ngOnDestroy=function(){this._eventCleanups.forEach(function(c){return c()});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;if(a===this._opened)return Promise.resolve(a?"open":"close");this._opened=a;var e;((e=this._container)==null?0:e._transitionsEnabled)?this._setIsAnimating(!0):setTimeout(function(){d._animationStarted.next();d._animationEnd.next()});this._elementRef.nativeElement.classList.toggle("mat-drawer-opened",a);!a&&b&&this._restoreFocus(c);this._changeDetectorRef.markForCheck();this._updateFocusTrapState();return new Promise(function(f){d.openedChange.pipe(Nf()).subscribe(function(h){return f(h?
"open":"close")})})};g._setIsAnimating=function(a){this._elementRef.nativeElement.classList.toggle("mat-drawer-animating",a)};g._getWidth=function(){return this._elementRef.nativeElement.offsetWidth||0};g._updateFocusTrapState=function(){if(this._focusTrap){var a;this._focusTrap.enabled=!((a=this._container)==null||!a.hasBackdrop)&&this.opened}};
g._updatePositionInParent=function(a){if(this._platform.isBrowser){var b=this._elementRef.nativeElement,c=b.parentNode;a==="end"?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),c.insertBefore(this._anchor,b)),c.appendChild(b)):this._anchor&&this._anchor.parentNode.insertBefore(b,this._anchor)}};
da.Object.defineProperties(NZ.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=di(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=di(a);this._autoFocus=a}},opened:{configurable:!0,enumerable:!0,get:function(){return this._opened},set:function(a){this.toggle(di(a))}}});NZ.\u0275fac=function(a){return new (a||NZ)};
NZ.\u0275cmp=C({type:NZ,selectors:[["mat-drawer"]],viewQuery:function(a,b){a&1&&Rg(S5c,5);if(a&2){var c;Vg(c=Wg())&&(b._content=c.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:11,hostBindings:function(a,b){a&2&&(jg("align",null),rg("visibility",b._container||b.opened?null:"hidden"),sg("mat-drawer-end",b.position==="end")("mat-drawer-over",b.mode==="over")("mat-drawer-push",b.mode==="push")("mat-drawer-side",b.mode==="side"))},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"],ngContentSelectors:R5c,decls:3,vars:0,consts:[["content",""],["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(a){a&1&&(Ig(),I(0,"div",1,0),Jg(2),J())},dependencies:[nx],encapsulation:2,changeDetection:0});
var LZ=function(){var a=this;this._dir=r(fx,{optional:!0});this._element=r(ef);this._ngZone=r(kh);this._changeDetectorRef=r(Ov);this._animationMode=r(Gv,{optional:!0});this._transitionsEnabled=!1;this._drawers=new Qg;this._autosize=r(U5c);this.backdropClick=new Dv;this._destroyed=new Uf;this._doCheckSubject=new Uf;this._contentMargins={left:null,right:null};this._contentMarginChanges=new Uf;this._injector=r(Ye);var b=r(tw),c=r(qx),d;(d=this._dir)==null||d.change.pipe(Zf(this._destroyed)).subscribe(function(){a._validateDrawers();
OZ(a)});c.change().pipe(Zf(this._destroyed)).subscribe(function(){return OZ(a)});this._animationMode!=="NoopAnimations"&&b.isBrowser&&this._ngZone.runOutsideAngular(function(){setTimeout(function(){a._element.nativeElement.classList.add("mat-drawer-transition");a._transitionsEnabled=!0},200)})};
LZ.prototype.ngAfterContentInit=function(){var a=this;this._allDrawers.changes.pipe(Xf(this._allDrawers),Zf(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(Xf(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))&&
OZ(a);a._changeDetectorRef.markForCheck()});this._ngZone.runOutsideAngular(function(){a._doCheckSubject.pipe(Lf(10),Zf(a._destroyed)).subscribe(function(){return OZ(a)})})};LZ.prototype.ngOnDestroy=function(){this._contentMarginChanges.complete();this._doCheckSubject.complete();this._drawers.destroy();this._destroyed.next();this._destroyed.complete()};LZ.prototype.open=function(){this._drawers.forEach(function(a){return a.open()})};LZ.prototype.close=function(){this._drawers.forEach(function(a){return a.close()})};
var OZ=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=LZ.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(Zf(this._drawers.changes)).subscribe(function(){OZ(b);b._changeDetectorRef.markForCheck()});a.mode!=="side"&&a.openedChange.pipe(Zf(this._drawers.changes)).subscribe(function(){return b._setContainerClass(a.opened)})};
g._watchDrawerPosition=function(a){var b=this;a.onPositionChanged.pipe(Zf(this._drawers.changes)).subscribe(function(){Ze({read:function(){return b._validateDrawers()}},{injector:b._injector})})};g._watchDrawerMode=function(a){var b=this;a._modeChanged.pipe(Zf(Te(this._drawers.changes,this._destroyed))).subscribe(function(){OZ(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(LZ.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=di(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:di(a)}},scrollable:{configurable:!0,
enumerable:!0,get:function(){return this._userContent||this._content}}});LZ.\u0275fac=function(a){return new (a||LZ)};
LZ.\u0275cmp=C({type:LZ,selectors:[["mat-drawer-container"]],contentQueries:function(a,b,c){a&1&&(Sg(c,MZ,5),Sg(c,NZ,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(MZ,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&&sg("mat-drawer-container-explicit-backdrop",b._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},
exportAs:["matDrawerContainer"],features:[ch([{provide:V5c,useExisting:LZ}])],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(T5c),D(0,dmb,1,2,"div",0),Jg(1),Jg(2,1),D(3,emb,2,0,"mat-drawer-content"));a&2&&(G(b.hasBackdrop?0:-1),B(3),G(b._content?-1:3))},dependencies:[MZ],styles:[".mat-drawer-container{position:relative;z-index:1;color:var(--mat-sidenav-content-text-color, var(--mat-sys-on-background));background-color:var(--mat-sidenav-content-background-color, var(--mat-sys-background));box-sizing:border-box;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible;background-color:var(--mat-sidenav-scrim-color, color-mix(in srgb, var(--mat-sys-neutral-variant20) 40%, transparent))}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}@media(forced-colors: active){.mat-drawer-backdrop{opacity:.5}}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-content.mat-drawer-content-hidden{opacity:0}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;color:var(--mat-sidenav-container-text-color, var(--mat-sys-on-surface-variant));box-shadow:var(--mat-sidenav-container-elevation-shadow, none);background-color:var(--mat-sidenav-container-background-color, var(--mat-sys-surface));border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));width:var(--mat-sidenav-container-width, 360px);display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}@media(forced-colors: active){.mat-drawer,[dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}}@media(forced-colors: active){[dir=rtl] .mat-drawer,.mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0);border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .mat-drawer{border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-top-right-radius:0;border-bottom-right-radius:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-top-left-radius:0;border-bottom-left-radius:0;left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-transition .mat-drawer{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-drawer:not(.mat-drawer-opened):not(.mat-drawer-animating){visibility:hidden;box-shadow:none}.mat-drawer:not(.mat-drawer-opened):not(.mat-drawer-animating) .mat-drawer-inner-container{display:none}.mat-drawer.mat-drawer-opened{transform:none}.mat-drawer-side{box-shadow:none;border-right-color:var(--mat-sidenav-container-divider-color, transparent);border-right-width:1px;border-right-style:solid}.mat-drawer-side.mat-drawer-end{border-left-color:var(--mat-sidenav-container-divider-color, transparent);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side{border-left-color:var(--mat-sidenav-container-divider-color, transparent);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-right-color:var(--mat-sidenav-container-divider-color, transparent);border-right-width:1px;border-right-style:solid;border-left:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto}.mat-sidenav-fixed{position:fixed}\n"],
encapsulation:2,changeDetection:0});var W5c=["*"],X5c=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],PZ=function(){MZ.apply(this,arguments)};Y(PZ,MZ);PZ.\u0275dir=MZ.\u0275dir;PZ.\u0275fac=function(){var a;return function(b){return(a||(a=ee(PZ)))(b||PZ)}}();PZ.\u0275cmp=C({type:PZ,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],features:[ch([{provide:nx,useExisting:PZ}]),cg],ngContentSelectors:W5c,decls:1,vars:0,template:function(a){a&1&&(Ig(),Jg(0))},encapsulation:2,changeDetection:0});
var QZ=function(){NZ.apply(this,arguments);this._fixedInViewport=!1;this._fixedBottomGap=this._fixedTopGap=0};Y(QZ,NZ);
da.Object.defineProperties(QZ.prototype,{fixedInViewport:{configurable:!0,enumerable:!0,get:function(){return this._fixedInViewport},set:function(a){this._fixedInViewport=di(a)}},fixedTopGap:{configurable:!0,enumerable:!0,get:function(){return this._fixedTopGap},set:function(a){this._fixedTopGap=gi(a)}},fixedBottomGap:{configurable:!0,enumerable:!0,get:function(){return this._fixedBottomGap},set:function(a){this._fixedBottomGap=gi(a)}}});
QZ.\u0275fac=function(){var a;return function(b){return(a||(a=ee(QZ)))(b||QZ)}}();
QZ.\u0275cmp=C({type:QZ,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:15,hostBindings:function(a,b){a&2&&(jg("align",null),rg("top",b.fixedInViewport?b.fixedTopGap:null,"px")("bottom",b.fixedInViewport?b.fixedBottomGap:null,"px"),sg("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-sidenav-fixed",b.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",
fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[ch([{provide:NZ,useExisting:QZ}]),cg],ngContentSelectors:W5c,decls:3,vars:0,consts:[["content",""],["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(a){a&1&&(Ig(),I(0,"div",1,0),Jg(2),J())},dependencies:[nx],encapsulation:2,changeDetection:0});var RZ=function(){LZ.apply(this,arguments);this._content=this._allDrawers=void 0};Y(RZ,LZ);
RZ.\u0275fac=function(){var a;return function(b){return(a||(a=ee(RZ)))(b||RZ)}}();
RZ.\u0275cmp=C({type:RZ,selectors:[["mat-sidenav-container"]],contentQueries:function(a,b,c){a&1&&(Sg(c,PZ,5),Sg(c,QZ,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&&sg("mat-drawer-container-explicit-backdrop",b._backdropOverride)},exportAs:["matSidenavContainer"],features:[ch([{provide:V5c,useExisting:RZ},{provide:LZ,useExisting:RZ}]),cg],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(X5c),D(0,gmb,1,2,"div",0),Jg(1),Jg(2,1),D(3,hmb,2,0,"mat-sidenav-content"));a&2&&(G(b.hasBackdrop?0:-1),B(3),G(b._content?-1:3))},dependencies:[PZ],styles:[".mat-drawer-container{position:relative;z-index:1;color:var(--mat-sidenav-content-text-color, var(--mat-sys-on-background));background-color:var(--mat-sidenav-content-background-color, var(--mat-sys-background));box-sizing:border-box;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible;background-color:var(--mat-sidenav-scrim-color, color-mix(in srgb, var(--mat-sys-neutral-variant20) 40%, transparent))}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}@media(forced-colors: active){.mat-drawer-backdrop{opacity:.5}}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-content.mat-drawer-content-hidden{opacity:0}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;color:var(--mat-sidenav-container-text-color, var(--mat-sys-on-surface-variant));box-shadow:var(--mat-sidenav-container-elevation-shadow, none);background-color:var(--mat-sidenav-container-background-color, var(--mat-sys-surface));border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));width:var(--mat-sidenav-container-width, 360px);display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}@media(forced-colors: active){.mat-drawer,[dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}}@media(forced-colors: active){[dir=rtl] .mat-drawer,.mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0);border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .mat-drawer{border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-top-right-radius:0;border-bottom-right-radius:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-top-left-radius:0;border-bottom-left-radius:0;left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-transition .mat-drawer{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-drawer:not(.mat-drawer-opened):not(.mat-drawer-animating){visibility:hidden;box-shadow:none}.mat-drawer:not(.mat-drawer-opened):not(.mat-drawer-animating) .mat-drawer-inner-container{display:none}.mat-drawer.mat-drawer-opened{transform:none}.mat-drawer-side{box-shadow:none;border-right-color:var(--mat-sidenav-container-divider-color, transparent);border-right-width:1px;border-right-style:solid}.mat-drawer-side.mat-drawer-end{border-left-color:var(--mat-sidenav-container-divider-color, transparent);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side{border-left-color:var(--mat-sidenav-container-divider-color, transparent);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-right-color:var(--mat-sidenav-container-divider-color, transparent);border-right-width:1px;border-right-style:solid;border-left:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto}.mat-sidenav-fixed{position:fixed}\n"],
encapsulation:2,changeDetection:0});var SZ=function(){};SZ.\u0275fac=function(a){return new (a||SZ)};SZ.\u0275mod=Cf({type:SZ});SZ.\u0275inj=p({imports:[Ox,rx,rx,Ox]});var TZ=function(){};TZ.\u0275fac=function(a){return new (a||TZ)};TZ.\u0275mod=Cf({type:TZ});TZ.\u0275inj=p({imports:[lC,bz,pN,FN,pC,mC,SZ,cz,YY,BP,KZ]});var UZ=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 aB;this.prevPage=new aB;this.pageSizeChange=new aB};UZ.prototype.ngOnInit=function(){};UZ.\u0275fac=function(a){return new (a||UZ)};
UZ.\u0275cmp=C({type:UZ,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"},standalone:!1,decls:13,vars:8,consts:[["pageSizeMenu","matMenu"],
[1,"page-number"],["type","button","mat-icon-button","","color","primary",3,"click","matTooltip","disabled"],["svgIcon","chevron-left"],["svgIcon","chevron-right"],["type","button","mat-icon-button","","matTooltip","Change page size",3,"matMenuTriggerFor"],["svgIcon","arrow-dropdown"],[1,"b-menu-header"],["type","button","mat-menu-item","","role","menuitemcheckbox",3,"b-menu-item-checked"],["type","button","mat-menu-item","","role","menuitemcheckbox",3,"click"],[1,"b-menu-item-check-mark"],["svgIcon",
"done",1,"icon-s"]],template:function(a,b){a&1&&(D(0,jmb,8,1),I(1,"span",1)(2,"strong"),Q(3),J(),D(4,kmb,4,1,"span"),I(5,"span"),Q(6," of "),I(7,"strong"),Q(8),J()(),I(9,"button",2),M("click",function(){return b.prevPage.emit()}),K(10,"mat-icon",3),J(),I(11,"button",2),M("click",function(){return b.nextPage.emit()}),K(12,"mat-icon",4),J()());a&2&&(G(b.showPageSizeSelector?0:-1),B(3),Yg(b.startIndex),B(),G(b.endIndex!=null?4:-1),B(4),Yg(b.totalNumber),B(),E("matTooltip",b.previousPageLabel)("disabled",
!b.hasPreviousPage),B(2),E("matTooltip",b.nextPageLabel)("disabled",!b.hasNextPage))},dependencies:[pB,eB,ly,xL,IL,GL,JL,mB,rB],styles:["[_nghost-%COMP%] {\n      display: flex;\n      align-items: center;\n    }\n    .page-number[_ngcontent-%COMP%] {\n      white-space: nowrap;\n    }"]});var tmb=function(a,b){return b.key},ymb=function(a,b){return{issueIds:a,teamId:b}},Hmb=function(){return[]},VZ=function(){Z.call(this);var a=this;this.activeSession=r(Bu);this.paramsService=r(TH);this.appSearchState=r(TY);this.userPreferencesManager=r(TG);this.imageUrls=r(jL);this.teamExperimentalFieldsFridge=r(HG);this.triageService=r(YG);this.punctualService=r(nS);this.issueFullFridge=r(QF);this.bLocation=r(WN);this.issueExperimentalFieldsFridge=r(dF);this.starredTeamsService=r(VG);this.ROUTES=
Qq;this.TriageServiceMode=woc;this.SUBPHASE_TO_DISPLAY_NAME=Ugc;this.LAST_30_DAYS=JC;this.EMPTY_STATE_IMG=this.imageUrls.EMPTY_TRIAGE;this.HOTKEYS=Fp;this.RIGHT_SIDEBAR_MIN_WIDTH=650;this.RIGHT_SIDEBAR_MAX_WIDTH=1400;this.selectedFilterKeys=new IC;this.teamId=this.paramsService.params.teamId;this.triageId=this.paramsService.params.triageId;this.enableTeamScope=Vt(this.activeSession,"enableTeamScope")&&this.activeSession.isInternalSession();this.phase$=fqc(this.paramsService,"phase").pipe(z(function(d){var e;
return(e=Xgc.get(d))!=null?e:"NEW"}),Pf());this.subphase$=fqc(this.paramsService,"subphase").pipe(z(function(d){var e;return(e=Wgc.get(d))!=null?e:void 0}),Pf());this.pageSize$=this.userPreferencesManager.resultsPerPage$;this.pageNumber$=new Xi(1);this.activeSort$=new Xi(void 0);this.data=this.triageService.triageDataFactory.get(this.teamId,this.triageId);this.phaseData$=this.phase$.pipe(z(function(d){return a.data.phase(d)}));this.allIssuesInPhase$=this.phaseData$.pipe(Yf(function(d){return d.issues$}));
this.allIssuesInSubphase$=Ie([this.allIssuesInPhase$,this.subphase$]).pipe(z(function(d){var e,f=k(d);d=f.next().value;return(e=f.next().value)?d.filter(function(h){return Yl(h)===e}):d}));this.selectedFilters$=this.selectedFilterKeys.value$.pipe(z(function(d){return[].concat(t(d)).map(function(e){return Jhc[e]})}));this.alerts$=this.phase$.pipe(z(function(d){return Omb.get(d)}));this.trendingThemes$=this.allIssuesInSubphase$.pipe(z(function(d){return Jua(d)}));this.filteredIssuesInPhase$=Ie([this.allIssuesInSubphase$,
this.selectedFilters$,this.alerts$]).pipe(z(function(d){var e=k(d);d=e.next().value;var f=e.next().value;e=e.next().value;return Lmb(d,f,e)}));this.filteredTotalRowCount$=Ie([this.filteredIssuesInPhase$,this.trendingThemes$]).pipe(z(function(d){var e=k(d);d=e.next().value;e=e.next().value;return d.length+e.length}),Vf({refCount:!0,bufferSize:1}));this.startIndex$=Ie([this.pageSize$,this.pageNumber$]).pipe(z(function(d){var e=k(d);d=e.next().value;return(e.next().value-1)*d+1}),Vf({refCount:!0,bufferSize:1}));
this.endIndex$=Ie([this.pageSize$,this.startIndex$,this.filteredTotalRowCount$]).pipe(z(function(d){var e=k(d);d=e.next().value;var f=e.next().value;e=e.next().value;return Math.min(f+d-1,e)}),Vf({refCount:!0,bufferSize:1}));this.sortedFilteredIssueIdsInPhase$=Ie([this.filteredIssuesInPhase$,this.trendingThemes$,this.activeSort$,this.phase$]).pipe(z(function(d){var e=k(d);d=e.next().value;var f=e.next().value;var h=e.next().value;e=e.next().value;return Nmb(d,f,h,e)}),Vf({refCount:!0,bufferSize:1}));
this.issueIdsToRender$=Ie([this.sortedFilteredIssueIdsInPhase$,this.startIndex$,this.endIndex$]).pipe(z(function(d){var e=k(d);d=e.next().value;var f=e.next().value;e=e.next().value;return d.slice(f-1,e)}),Pf(oj),Vf({refCount:!0,bufferSize:1}));this.availableFiltersInCurrentPhase$=Ie([this.phase$,this.allIssuesInSubphase$,this.trendingThemes$]).pipe(z(function(d){var e=k(d);d=e.next().value;var f=e.next().value;var h=e.next().value;var l;return((l=Ihc.get(d))!=null?l:[]).map(function(q){var u=f.filter(q.check).length;
q.key==="NEEDS_ATTENTION"&&(u+=h.length);return Object.assign({},q,{count:u})})}),z(function(d){return d.filter(function(e){return e.count||a.selectedFilterKeys.has(e.key)})}));this.issueAlertsForCurrentPhase$=this.phase$.pipe(z(function(d){return Omb.get(d)}));this.tableOptions={modes:{createdTime:"relativepastshort"},navigationOptions:{clickTargets:"NONE",alwaysOpenNewTab:!0},sortMode:"EXTERNAL_SORT",activeRowMode:"REMAIN_ACTIVE"};this.tableColumns$=Ie([this.teamExperimentalFieldsFridge.watch(this.teamId),
this.phase$]).pipe(z(function(d){var e=k(d);d=e.next().value;e=e.next().value;e=$gc[e];var f;return(d==null?0:(f=d.triage[0])==null?0:f.showComponentColumn)?e:e.filter(function(h){return h!=="componentName"})}));var b;this.sidebarWidthPreference$=new Xi(Math.max(this.RIGHT_SIDEBAR_MIN_WIDTH,(b=qhc("triage-sidebar-width")())!=null?b:0));this.sidebarWidth$=Ie([this.triageService.isSidebarOpen$,this.sidebarWidthPreference$]).pipe(z(function(d){var e=k(d);d=e.next().value;e=e.next().value;return d?e:
0}));this.subphases$=this.phase$.pipe(z(function(d){return Tgc[d]}));this.subphaseDisplayName$=this.subphase$.pipe(z(function(d){return d?Ugc[d]:"All subphases"}));this.subphaseSelectorTooltip$=this.subphase$.pipe(z(function(d){return d?"Showing issues in the "+Ugc[d].toLowerCase()+" subphase.":"Showing issues in all subphases"}));this.starred$=this.starredTeamsService.starredTriageViews$.pipe(z(function(d){return d.some(function(e){return e.triageId===a.triageId&&e.teamId===a.teamId})}));this.savingStar=
!1;this.selectedIssues=new ox(!0,[]);this.punctualSubscriptions=new je;var c=r(OF);this.subscriptions.add(this.phase$.subscribe(function(){a.selectedFilterKeys.reset([JC.key])}));this.subscriptions.add(this.data.allIssues$.subscribe(function(d){for(var e=k(d.entries()),f=e.next();!f.done;f=e.next()){var h=k(f.value);f=h.next().value;h=h.next().value;Qxa(f,d)&&uhc.add(h.issueId)}}));this.subscriptions.add(this.issueIdsToRender$.subscribe(function(d){Y5c(a,d)}));this.subscriptions.add(this.phaseData$.pipe(Yf(function(d){return d.totalCount$.pipe(z(function(e){return[e,
d.phase]}))}),Nf()).subscribe(function(d){var e=k(d);d=e.next().value;e=e.next().value;c.trackEvent("triageIssue","ISSUE_COUNT_"+e,a.teamId+":"+a.triageId,d)}))};Y(VZ,Z);VZ.\u0275dir=Z.\u0275dir;
var Y5c=function(a,b){a.punctualSubscriptions.unsubscribe();a.punctualSubscriptions=new je;b=k(b);for(var c=b.next(),d={};!c.done;d={issueId$jscomp$296:void 0},c=b.next())d.issueId$jscomp$296=c.value,Array.isArray(d.issueId$jscomp$296)||(a.punctualSubscriptions.add(a.punctualService.watch("issue-edit",d.issueId$jscomp$296).subscribe(function(e){return function(){a.issueFullFridge.poke(e.issueId$jscomp$296,{trustMemory:!1})}}(d))),a.punctualSubscriptions.add(a.punctualService.watch("issue-experimental-field-edit",
d.issueId$jscomp$296).subscribe(function(e){return function(){a.issueExperimentalFieldsFridge.poke(e.issueId$jscomp$296,{trustMemory:!1})}}(d))))};VZ.prototype.ngOnInit=function(){var a=this;setTimeout(function(){a.appSearchState.clear()})};VZ.prototype.ngOnDestroy=function(){Z.prototype.ngOnDestroy.call(this);this.punctualSubscriptions.unsubscribe()};
var Gmb=function(a,b){a.triageService.mode!==1&&(a.triageService.setIssueIds(b),a.triageService.openSidebar())},Z5c=function(a,b){return se(function(c){if(c.nextAddress==1)return y(c,Fe(a.userPreferencesManager.saveResultsPerPage(b)),2);a.pageNumber$.next(1);xe(c)})};VZ.prototype.onSortChange=function(a){this.activeSort$.next(a)};
VZ.prototype.toggleStar=function(){var a=this;return se(function(b){if(b.nextAddress==1)return a.savingStar=!0,y(b,soc(a.starredTeamsService,a.triageId,a.teamId),2);a.savingStar=!1;xe(b)})};VZ.prototype.refreshTable=function(){this.data.reload();this.selectedIssues.clear()};var omb=function(a,b){var c=tp(a.phase$);b=Qq.viewTriage.makeHref(a.teamId,a.triageId,Kt[c],b&&Vgc[b]);a.bLocation.setUrl(b,!0)};VZ.\u0275fac=function(a){return new (a||VZ)};
VZ.\u0275cmp=C({type:VZ,selectors:[["b-triage-phase"]],standalone:!1,features:[cg],decls:54,vars:63,consts:[["subphaseMenu","matMenu"],["issuesTable",""],[1,"pos-fill","flex-kids-y"],[1,"border-bottom","padded-s-sides","flex-kids-x","align-items-center","gap-xs"],["type","button","mat-icon-button","","matTooltip","Refresh","aria-label","Refresh",1,"medium",3,"onHotkey","click","hotkey"],["color","primary","svgIcon","refresh",1,"icon-m"],[3,"starClicked","starred","disabled","starMessage","unStarMessage"],
[1,"margin-none","nowrap"],["svgIcon","chevron-right",1,"icon-s","muted"],[1,"flex-kids-x","align-items-center","gap-s"],["type","button","mat-stroked-button","","color","neutral",1,"small","gmat-button",3,"matMenuTriggerFor","matTooltip"],[1,"margin-xs-right"],["name","arrow-dropdown","size","small"],["type","button","mat-menu-item","",3,"click"],["type","button","mat-menu-item",""],[1,"margin-left-auto",3,"pageSizeChange","prevPage","nextPage","showPageSizeSelector","startIndex","endIndex","totalNumber",
"hasPreviousPage","hasNextPage","pageSize"],[1,"flex-kids-x"],["href","http://go/b-triage-docs","target","_blank","mat-icon-button","","aria-label","More info about the new triage UI","matTooltip","More info about the new triage UI",1,"medium","gfx-muted","settings-btn"],["svgIcon","info",1,"icon-s"],["mat-icon-button","","aria-label","Configure triage for your team","matTooltip","Configure triage for your team",1,"medium","gfx-muted","settings-btn",3,"href"],["svgIcon","settings",1,"icon-s"],["mode",
"indeterminate"],[1,"flex-1","flex-kids-x","overflow","overflow-on-print-media"],[1,"flex-1","pos-rel","overflow","overflow-on-print-media"],["direction","rtl",3,"widthChanged","minWidth","maxWidth","size"],[3,"refreshable"],[1,"type-xs","flex-kids-x","align-items-center"],[1,"b-chip","xs","alert-chip"],["aria-label","Select filter",1,"padded-s-sides",3,"multiple"],["aria-label","Select filter",1,"padded-s-sides",3,"change","multiple"],["appearance","hairline-filter",3,"value","selected"],[3,"matTooltip"],
[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"refreshTable"],[3,"issueIds","tableColumns","options","teamId","showReadStatus","alerts"],[1,"full-height","flex-kids-y","align-items-center","justify-content-center","gap"],[3,"activeIssueChange","rowClick","selectedIssuesChange","sortChange","issueIds","tableColumns","options","teamId","showReadStatus","alerts"],["aria-hidden","true","alt","","height","232","width","321",3,"src"]],template:function(a,b){if(a&1){var c=v();I(0,"div",2)(1,"header",
3)(2,"button",4);M("onHotkey",function(){w(c);return x(b.refreshTable())})("click",function(){w(c);return x(b.refreshTable())});K(3,"mat-icon",5);J();I(4,"b-star-toggle",6);S(5,"async");M("starClicked",function(){w(c);return x(b.toggleStar())});J();I(6,"h2",7);Q(7);S(8,"async");J();K(9,"mat-icon",8);D(10,nmb,9,7,"div",9);S(11,"async");K(12,"mat-icon",8);I(13,"button",10);S(14,"async");I(15,"span",11);Q(16);S(17,"async");J();K(18,"b-icon",12);J();I(19,"mat-menu",null,0)(21,"button",13);M("click",function(){w(c);
return x(omb(b))});Q(22,"All subphases");J();K(23,"hr");yg(24,pmb,2,1,"button",14,xg);S(26,"async");J();I(27,"b-paginator",15);S(28,"async");S(29,"async");S(30,"async");S(31,"async");S(32,"async");S(33,"async");S(34,"async");S(35,"async");M("pageSizeChange",function(H){w(c);return x(Z5c(b,H))})("prevPage",function(){w(c);b.pageNumber$.next(b.pageNumber$.value-1);return x()})("nextPage",function(){w(c);b.pageNumber$.next(b.pageNumber$.value+1);return x()});J();I(36,"div",16)(37,"a",17);K(38,"mat-icon",
18);J();I(39,"a",19);K(40,"mat-icon",20);J()()();D(41,qmb,1,0,"mat-progress-bar",21);S(42,"async");I(43,"div",22)(44,"div",23);D(45,wmb,2,3);S(46,"async");D(47,zmb,1,5,"ng-container");S(48,"async");J();I(49,"b-resizable-sidebar",24);S(50,"async");M("widthChanged",function(H){w(c);H<b.RIGHT_SIDEBAR_MIN_WIDTH||(b.sidebarWidthPreference$.next(H),rhc("triage-sidebar-width")(H));return x()});D(51,Fmb,2,3,"ng-template",25);J()()();D(52,Kmb,2,1,"ng-template",null,1,ih)}if(a&2){var d,e,f,h,l,q,u,A,F;a=L(20);
B(2);E("hotkey",b.HOTKEYS.REFRESH_ISSUE);B(2);E("starred",U(5,27,b.starred$))("disabled",b.savingStar)("starMessage","Star this team to add it to the Triage section on the left sidebar")("unStarMessage","Unstar this team to remove it from the Triage section on the left sidebar");B(3);R(" ",U(8,29,b.data.triageName$)," ");B(3);G((d=U(11,31,b.phaseData$))?10:-1,d);B(3);Lg("matTooltip",U(14,33,b.subphaseSelectorTooltip$));E("matMenuTriggerFor",a);B(3);Yg(U(17,35,b.subphaseDisplayName$));B(8);zg(U(26,
37,b.subphases$));B(3);sg("invisible",!((e=U(28,39,b.issueIdsToRender$))==null?0:e.length));E("showPageSizeSelector",!0)("startIndex",(f=U(29,41,b.startIndex$))!==null&&f!==void 0?f:1)("endIndex",(h=U(30,43,b.endIndex$))!==null&&h!==void 0?h:0)("totalNumber",(l=U(31,45,b.filteredTotalRowCount$))!==null&&l!==void 0?l:0)("hasPreviousPage",U(32,47,b.pageNumber$)>1)("hasNextPage",U(33,49,b.filteredTotalRowCount$)>U(34,51,b.endIndex$))("pageSize",(q=U(35,53,b.pageSize$))!==null&&q!==void 0?q:0);B(12);
E("href",b.ROUTES.editTeam.makeHref(b.teamId,"triage"),vf);B(2);G(U(42,55,b.data.isLoading$)?41:-1);B(4);G(((u=U(46,57,b.allIssuesInSubphase$))==null?0:u.length)?45:-1);B(2);G((A=U(48,59,b.issueIdsToRender$))?47:-1,A);B(2);E("minWidth",b.RIGHT_SIDEBAR_MIN_WIDTH)("maxWidth",b.RIGHT_SIDEBAR_MAX_WIDTH)("size",(F=U(50,61,b.sidebarWidth$))!==null&&F!==void 0?F:0);B(2);E("refreshable",b.triageService.currentIssueIds$)}},dependencies:[dw,pB,eB,jy,my,ly,wL,FL,DL,xL,IL,GL,JL,kB,iB,mB,rB,wH,DM,AU,NU,cQ,OU,
UZ,eN,aL,KS,ew],styles:[".settings-btn[_ngcontent-%COMP%]{line-height:38px}.left[_ngcontent-%COMP%]{height:100;overflow:hidden auto}.alert-chip[_ngcontent-%COMP%]{background-color:#c5221f;background-color:var(--text-bad);color:#fff;color:var(--text-inverse);margin-right:0;padding-top:2px;padding-left:5px;padding-bottom:2px;line-height:inherit}[_nghost-%COMP%]     .mat-column-title{width:100%;min-width:400px}[_nghost-%COMP%]     .mat-column-alerts.mat-mdc-cell, [_nghost-%COMP%]     .mat-column-alerts.mat-mdc-header-cell{padding:0}[_nghost-%COMP%]     .mat-column-componentName{max-width:150px}[_nghost-%COMP%]     .mat-column-title .pop-out-link{display:none}\n/*# sourceMappingURL=triage_phase.css.map */"],
changeDetection:0});var WZ=function(){};WZ.\u0275fac=function(a){return new (a||WZ)};WZ.\u0275mod=Cf({type:WZ});WZ.\u0275inj=p({});var XZ=function(){};XZ.\u0275fac=function(a){return new (a||XZ)};XZ.\u0275mod=Cf({type:XZ});XZ.\u0275inj=p({imports:[lC,fP,mC,pC,WZ]});var YZ=function(){};YZ.\u0275fac=function(a){return new (a||YZ)};YZ.\u0275mod=Cf({type:YZ});YZ.\u0275inj=p({imports:[lC,mC,bN,pC]});var ZZ=function(){};ZZ.\u0275fac=function(a){return new (a||ZZ)};ZZ.\u0275mod=Cf({type:ZZ});ZZ.\u0275inj=p({imports:[lC,bz,mC,DP,bN,nC,pN,pC,xH,fP,xY,AY,hQ,YZ,cz,YY,hN,BP,XZ]});var $Z=function(){var a=this;this.teamsService=r(DG);this.placeholder="Choose Team";this.panelWidth="574px";this.disabled=!1;this.onTeamSelect=new aB;this.onEmptyQuery=new aB;this.searchQuery$=new Uf;this.teamSuggestions$=this.searchQuery$.pipe(Lf(300),Pf(),Yf(function(b){return FG(a.teamsService,b)}),z(function(b){return b.map(function(c){return new Qmb(c.pathIds,c.pathNames,c.description)})}))};$Z.prototype.updateSelectionOnChange=function(a){this.onTeamSelect.emit(a.option.value)};
$Z.prototype.search=function(a){a||this.onEmptyQuery.emit();this.searchQuery$.next(a)};$Z.prototype.displayFn=function(a){return a?a.name:""};$Z.prototype.ngAfterViewInit=function(){};$Z.\u0275fac=function(a){return new (a||$Z)};
$Z.\u0275cmp=C({type:$Z,selectors:[["b-team-picker"]],viewQuery:function(a,b){a&1&&Rg(MP,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"},standalone:!1,decls:8,vars:9,consts:[["searchInput",""],["auto","matAutocomplete"],[1,"team-id-select"],["id","team-id","matInput","","type","text","autocomplete","off","aria-label",
"Team selection",3,"click","input","placeholder","ngModel","disabled","matAutocomplete"],[3,"optionSelected","panelWidth","displayWith"],[1,"team-search-result",3,"value"],[1,"description",3,"matTooltip"],[1,"path-names",3,"click","matTooltip"],[1,"path-names-separator"]],template:function(a,b){if(a&1){var c=v();I(0,"div",2)(1,"input",3,0);M("click",function(){w(c);var d=L(2);return x(b.search(d.value))})("input",function(){w(c);var d=L(2);return x(b.search(d.value))});J();I(3,"mat-autocomplete",
4,1);M("optionSelected",function(d){w(c);return x(b.updateSelectionOnChange(d))});yg(5,Tmb,7,7,"mat-option",5,xg);S(7,"async");J()()}a&2&&(a=L(4),B(),Lg("placeholder",b.placeholder),E("ngModel",b.teamSelected)("disabled",b.disabled)("matAutocomplete",a),jg("aria-disabled",b.disabled),B(2),E("panelWidth",b.panelWidth)("displayWith",b.displayFn),B(2),zg(U(7,7,b.teamSuggestions$)))},dependencies:[KP,LP,Zx,MP,mB,rB,oi,Gy,Ny,ew,lw],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 Qmb=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 $5c(a.slice(0,e+1),b.slice(0,e+1))})},$5c=function(a,b){this.pathIds=a;this.pathNames=b;this.name=b.length>0?b[b.length-1]:"";this.pathNameText=b.join(" > ")};var a_=function(){Z.apply(this,arguments);var a=this;this.teamExperimentalFieldsFridge=r(HG);this.teamsService=r(DG);this.starredTeamsService=r(VG);this.teamUserActivity=r(QG);this.selectedTeam$=new Xi(null);this.suggestedTeams$=this.teamUserActivity.mostActiveTeams$;this.starInProgress={};this.starredTriageViews$=this.starredTeamsService.starredTriageViews$;this.tableColumns=["starred","triageName","teamName","scope"];this.populateEmptyExperiments=ne(z(function(b){b=k(b);var c=b.next().value;b.next().value.forEach(function(d){c.has(d)||
c.set(d,{id:d,triage:[{id:0}]})});return c}));this.suggestedTeamIds$=this.suggestedTeams$.pipe(z(function(b){return b.map(function(c){return c.teamId})}));this.starredAndSuggestedTeamIds$=Ie([this.starredTriageViews$,this.suggestedTeamIds$]).pipe(z(function(b){var c=k(b);b=c.next().value;c=c.next().value;c=new Set(c);b=k(b);for(var d=b.next();!d.done;d=b.next())c.add(d.value.teamId);return[].concat(t(c))}));this.teamIdToTeamExperiments$=this.starredAndSuggestedTeamIds$.pipe(Yf(function(b){return a.teamExperimentalFieldsFridge.watchSet([].concat(t(b))).pipe(z(function(c){return new Map(c.map(function(d){return[d.id,
d]}))}))}),Jf(this.starredAndSuggestedTeamIds$),this.populateEmptyExperiments);this.teamIds$=this.teamIdToTeamExperiments$.pipe(z(function(b){return[].concat(t(b.keys()))}));this.teamIdToTriageViews$=this.teamIdToTeamExperiments$.pipe(z(function(b){return rua(b,function(c){return Gj(c.triage,function(d){return d.id.toString()})})}));this.teamsIdToTeamName$=this.teamIds$.pipe(Yf(function(b){return Rnc(a.teamsService,b).pipe(z(function(c){var d=new Map;c=k(c);for(var e=c.next();!e.done;e=c.next()){var f=
k(e.value);e=f.next().value;f=f.next().value;d.set(e,f.name)}return d}))}));this.starredTeamIdToTriageIds$=this.starredTriageViews$.pipe(z(function(b){var c=new Map;b=k(b);for(var d=b.next();!d.done;d=b.next()){var e=d.value;d=e.teamId;e=e.triageId;var f=void 0,h=(f=c.get(d))!=null?f:new Set;h.add(e);c.set(d,h)}return c}));this.defaultTriageViewList$=Ie([this.teamIdToTriageViews$,this.teamsIdToTeamName$,this.starredTeamIdToTriageIds$,this.suggestedTeamIds$]).pipe(z(function(b){var c=k(b);var d=c.next().value;
b=c.next().value;var e=c.next().value;c=c.next().value;c=new Set(c);var f=[];d=k(d);for(var h=d.next();!h.done;h=d.next()){var l=k(h.value);h=l.next().value;var q=l=l.next().value;l=c.has(h);var u=void 0,A=(u=b.get(h))!=null?u:h;q=k(q);for(u=q.next();!u.done;u=q.next()){var F=k(u.value);u=F.next().value;F=F.next().value;var H=void 0,N=void 0,O=(N=(H=e.get(h))==null?void 0:H.has(u))!=null?N:!1;if(l||O)H=void 0,f.push({teamId:h,teamName:A,triageId:u,triageName:wp(A,F),scope:(H=F.scope)!=null?H:""})}}return f}));
this.selectedTeamExperiment$=this.selectedTeam$.pipe(Yf(function(b){return b===null?Ae(void 0):a.teamExperimentalFieldsFridge.watch(b.id)}));this.selectedTeamTriageRows$=Ie([this.selectedTeam$,this.selectedTeamExperiment$]).pipe(z(function(b){b=k(b);var c=b.next().value;b=b.next().value;return c===null?[]:b===void 0?[{teamId:c.id,teamName:c.name,triageId:"0",triageName:wp(c.name)}]:b.triage.map(function(d){var e;return{teamId:c.id,teamName:c.name,triageId:d.id.toString(),triageName:wp(c.name,d),scope:(e=
d.scope)!=null?e:""}})}));this.triageRows$=Ie([this.defaultTriageViewList$,this.selectedTeamTriageRows$]).pipe(z(function(b){var c=k(b);b=c.next().value;c=c.next().value;return c.length?c:b}))};Y(a_,Z);a_.\u0275dir=Z.\u0275dir;a_.prototype.getTriageLink=function(a,b){return Qq.viewTriage.makeHref(b,a)};a_.prototype.isTriageStarred=function(a,b,c){return c.some(function(d){return d.triageId===a&&d.teamId===b})};a_.prototype.onTeamSelect=function(a){this.selectedTeam$.next(a)};
a_.prototype.toggleStar=function(a,b){var c=this,d;return se(function(e){if(e.nextAddress==1){d=a+":"+b;if(c.starInProgress[d])return e.jumpTo(0);c.starInProgress[d]=!0;return y(e,soc(c.starredTeamsService,a,b),3)}c.starInProgress[d]=!1;xe(e)})};a_.\u0275fac=function(){var a;return function(b){return(a||(a=ee(a_)))(b||a_)}}();
a_.\u0275cmp=C({type:a_,selectors:[["ng-component"]],standalone:!1,features:[cg],decls:15,vars:11,consts:[[1,"pos-fill","overflow","overflow-on-print-media"],[1,"border-bottom","padded-sides"],[1,"main-content","padded"],[1,"margin-bottom","team-picker-container"],[3,"onTeamSelect","onEmptyQuery","teamSelected","panelWidth","placeholder"],[1,"margin-bottom"],["mat-table","",1,"full-width",3,"dataSource","fixedLayout"],["matColumnDef","starred"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell",
"",4,"matCellDef"],["matColumnDef","triageName"],["mat-cell","","class","triage-name",4,"matCellDef"],["matColumnDef","teamName"],["mat-cell","","class","team-name-2",4,"matCellDef"],["matColumnDef","scope"],["mat-cell","","class","scope",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],[1,"a11y-only"],["mat-cell",""],["tabindex","-1",3,"starClicked","disabled","starred","starMessage","unStarMessage"],["mat-cell","",1,
"triage-name"],[1,"hover-link",3,"href"],["mat-cell","",1,"team-name-2"],["mat-cell","",1,"scope"],["mat-header-row",""],["mat-row",""]],template:function(a,b){a&1&&(I(0,"div",0)(1,"header",1)(2,"h2"),Q(3," Search triage view "),J()(),I(4,"div",2)(5,"div",3)(6,"b-team-picker",4),S(7,"async"),M("onTeamSelect",function(d){return b.onTeamSelect(d)})("onEmptyQuery",function(){b.selectedTeam$.next(null)}),J()(),I(8,"div",5)(9,"h3"),D(10,Umb,1,0),S(11,"async"),D(12,Vmb,1,0),J(),D(13,hnb,3,3),S(14,"async"),
J()()());if(a&2){var c;B(6);E("teamSelected",U(7,5,b.selectedTeam$))("panelWidth","400px")("placeholder","Search by team name or id");B(4);G(U(11,7,b.selectedTeam$)?10:12);B(3);G((c=U(14,9,b.starredTriageViews$))?13:-1,c)}},dependencies:[zL,BM,oM,uM,qM,nM,wM,rM,tM,xM,zM,sL,KS,$Z,ew],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)}[_nghost-%COMP%]{display:block;padding:16px}.scope[_ngcontent-%COMP%]{width:50%}.team-picker-container[_ngcontent-%COMP%]{width:400px}\n/*# sourceMappingURL=triage_settings.css.map */"]});var b_=function(){};b_.\u0275fac=function(a){return new (a||b_)};b_.\u0275mod=Cf({type:b_});b_.\u0275inj=p({imports:[lC,QP,jN,pC,bz]});var c_=function(){};c_.\u0275fac=function(a){return new (a||c_)};c_.\u0275mod=Cf({type:c_});c_.\u0275inj=p({imports:[lC,mC,FP,pC,BP,XZ,vL,b_]});var d_=function(){};d_.\u0275fac=function(a){return new (a||d_)};d_.\u0275mod=Cf({type:d_});d_.\u0275inj=p({imports:[lC,TZ,ZZ,c_,RY]});var e_=function(){this.roundCorners=this.showDividers=!1};e_.\u0275fac=function(a){return new (a||e_)};
e_.\u0275cmp=C({type:e_,selectors:[["b-button-group"]],hostVars:4,hostBindings:function(a,b){a&2&&sg("show-dividers",b.showDividers)("round-corners",b.roundCorners)},inputs:{showDividers:"showDividers",roundCorners:"roundCorners"},standalone:!1,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 f_=function(){this.constants=r(FI);this.activeSession=r(Bu);this.ISSUE_TYPES=nrc;this.STATUS_JS_FULL_TEXT=Nj;this.STATUSES=mrc;this.SEVERITIES_VALUES=qrc;this.PRIORITIES_VALUES=lrc;this.enableBulkEstimatedEffortOption=!1;this.onBulkEdit=new aB;this.onQuickBulkEdit=new aB;this.onBulkEditIssueRelation=new aB;this.onBulkMarkIssueRead=new aB;this.isAnonymous=this.activeSession.isAnonymous();this.enableBulkEditUi=!this.activeSession.userRequiresCaptcha()};f_.prototype.bulkEdit=function(a){this.onBulkEdit.emit(a)};
f_.prototype.quickBulkEdit=function(a,b){this.onQuickBulkEdit.emit({field:a,newValue:b})};f_.prototype.bulkEditIssueRelation=function(a,b){this.onBulkEditIssueRelation.emit({issueRelation:a,isMarking:b===void 0?!0:b})};f_.prototype.bulkMarkIssueRead=function(){this.onBulkMarkIssueRead.emit()};var a6c=function(a){return a.ISSUE_TYPES.filter(function(b){return b!=="VULNERABILITY"})};f_.\u0275fac=function(a){return new (a||f_)};
f_.\u0275cmp=C({type:f_,selectors:[["b-app-bar-bulk-edit-menus"]],inputs:{readStatePrompt:"readStatePrompt",enableBulkEstimatedEffortOption:"enableBulkEstimatedEffortOption"},outputs:{onBulkEdit:"onBulkEdit",onQuickBulkEdit:"onQuickBulkEdit",onBulkEditIssueRelation:"onBulkEditIssueRelation",onBulkMarkIssueRead:"onBulkMarkIssueRead"},standalone:!1,decls:96,vars:12,consts:[["editMenu","matMenu"],["prioritySubmenu","matMenu"],["severitySubmenu","matMenu"],["statusSubmenu","matMenu"],["typeSubmenu","matMenu"],
["ArchiveSubmenu","matMenu"],["inProdSubmenu","matMenu"],["linkMenu","matMenu"],["ccMenu","matMenu"],["type","button","mat-button","",1,"medium",3,"disabled","matMenuTriggerFor"],["type","button","mat-button","",1,"medium",3,"click","disabled"],["type","button","mat-menu-item","",3,"click"],["type","button","mat-menu-item","",3,"matMenuTriggerFor"],["type","button","mat-menu-item",""],["type","button","mat-menu-item","",3,"matTooltip"],["name","arrow-dropdown","size","small"],["type","button","mat-menu-item",
"",3,"click","matTooltip"]],template:function(a,b){if(a&1){var c=v();I(0,"b-button-group");D(1,inb,4,2,"button",9);I(2,"button",10);M("click",function(){w(c);return x(b.bulkMarkIssueRead())});Q(3);J();D(4,jnb,4,2,"button",9)(5,knb,4,2,"button",9);J();I(6,"mat-menu",null,0)(8,"button",11);M("click",function(){w(c);return x(b.bulkEdit("ASSIGNEE"))});Q(9,"Assignee");J();I(10,"button",11);M("click",function(){w(c);return x(b.bulkEdit("COMPONENT"))});Q(11,"Component");J();I(12,"button",12);Q(13,"Priority");
J();I(14,"button",12);Q(15,"Severity");J();I(16,"button",12);Q(17,"Status");J();I(18,"button",12);Q(19,"Type");J();I(20,"button",11);M("click",function(){w(c);return x(b.bulkEdit("VERIFIER"))});Q(21,"Verifier");J();I(22,"button",11);M("click",function(){w(c);return x(b.bulkEdit("REPORTER"))});Q(23,"Reporter");J();I(24,"button",11);M("click",function(){w(c);return x(b.bulkEdit("CHANGELIST"))});Q(25,"Changelist");J();I(26,"button",11);M("click",function(){w(c);return x(b.bulkEdit("CUSTOM_FIELDS"))});
Q(27,"Custom Fields");J();I(28,"button",12);Q(29," Archival state ");J();I(30,"button",11);M("click",function(){w(c);return x(b.bulkEdit("FOUND_IN"))});Q(31,"Found In");J();I(32,"button",11);M("click",function(){w(c);return x(b.bulkEdit("SLO_START_TIME"))});Q(33,"SLO Start Time");J();D(34,lnb,2,0,"button",13);I(35,"button",11);M("click",function(){w(c);return x(b.bulkEdit("VERIFIED_IN"))});Q(36,"Verified In");J();I(37,"button",11);M("click",function(){w(c);return x(b.bulkEdit("TARGETED_TO"))});Q(38,
"Targeted To");J();I(39,"button",12);Q(40,"In Prod");J();K(41,"mat-divider");I(42,"button",11);M("click",function(){w(c);return x(b.bulkEdit("COMMENT"))});Q(43,"Add Comment");J()();I(44,"mat-menu",null,1);yg(46,mnb,2,1,"button",13,xg);J();I(48,"mat-menu",null,2);yg(50,nnb,2,1,"button",13,xg);J();I(52,"mat-menu",null,3);yg(54,onb,2,1,"button",13,xg);J();I(56,"mat-menu",null,4);yg(58,pnb,2,2,"button",14,xg);J();I(60,"mat-menu",null,5)(62,"button",11);M("click",function(){w(c);return x(b.quickBulkEdit("IS_ARCHIVED",
!0))});Q(63,"Archive");J();I(64,"button",11);M("click",function(){w(c);return x(b.quickBulkEdit("IS_ARCHIVED",!1))});Q(65,"Unarchive");J()();I(66,"mat-menu",null,6)(68,"button",11);M("click",function(){w(c);return x(b.quickBulkEdit("IN_PROD",!0))});Q(69,"In Prod");J();I(70,"button",11);M("click",function(){w(c);return x(b.quickBulkEdit("IN_PROD",!1))});Q(71,"Not in Prod");J()();I(72,"mat-menu",null,7)(74,"button",11);M("click",function(){w(c);return x(b.bulkEditIssueRelation("BLOCKED_BY",!0))});Q(75,
"Mark as Blocked By");J();I(76,"button",11);M("click",function(){w(c);return x(b.bulkEditIssueRelation("BLOCKING",!0))});Q(77,"Mark as Blocking");J();I(78,"button",11);M("click",function(){w(c);return x(b.bulkEditIssueRelation("PARENT",!0))});Q(79,"Add Parent");J();I(80,"button",11);M("click",function(){w(c);return x(b.bulkEditIssueRelation("DUPLICATE"))});Q(81,"Duplicate");J();I(82,"button",11);M("click",function(){w(c);return x(b.bulkEditIssueRelation("BLOCKED_BY",!1))});Q(83,"Unmark as Blocked By");
J();I(84,"button",11);M("click",function(){w(c);return x(b.bulkEditIssueRelation("BLOCKING",!1))});Q(85,"Unmark as Blocking");J();I(86,"button",11);M("click",function(){w(c);return x(b.bulkEditIssueRelation("PARENT",!1))});Q(87,"Remove Parent");J()();I(88,"mat-menu",null,8)(90,"button",11);M("click",function(){w(c);return x(b.quickBulkEdit("CC",!0))});Q(91,"CC me");J();I(92,"button",11);M("click",function(){w(c);return x(b.quickBulkEdit("CC",!1))});Q(93,"Un-CC me");J();I(94,"button",11);M("click",
function(){w(c);return x(b.bulkEdit("CC"))});Q(95,"Edit CC");J()()}if(a&2){a=L(45);var d=L(49),e=L(53),f=L(57),h=L(61),l=L(67);B();G(b.enableBulkEditUi?1:-1);B();E("disabled",b.isAnonymous);B();R(" ",b.readStatePrompt," ");B();G(b.enableBulkEditUi?4:-1);B();G(b.enableBulkEditUi?5:-1);B(7);E("matMenuTriggerFor",a);B(2);E("matMenuTriggerFor",d);B(2);E("matMenuTriggerFor",e);B(2);E("matMenuTriggerFor",f);B(10);E("matMenuTriggerFor",h);B(6);G(b.enableBulkEstimatedEffortOption?34:-1);B(5);E("matMenuTriggerFor",
l);B(7);zg(b.PRIORITIES_VALUES);B(4);zg(b.SEVERITIES_VALUES);B(4);zg(b.STATUSES);B(4);zg(a6c(b))}},dependencies:[xL,IL,GL,JL,DM,e_,eB,jy,oQ,mB,rB],encapsulation:2,changeDetection:0});var g_=function(){this.activeSession=r(Bu);this.showFlagIssuesAsSpam=this.showExportCsv=!1;this.exportCsvClicked=new aB;this.flagAsSpamClicked=new aB;this.isAnonymous=this.activeSession.isAnonymous()};g_.\u0275fac=function(a){return new (a||g_)};
g_.\u0275cmp=C({type:g_,selectors:[["b-app-bar-more-menu"]],inputs:{showExportCsv:"showExportCsv",showFlagIssuesAsSpam:"showFlagIssuesAsSpam"},outputs:{exportCsvClicked:"exportCsvClicked",flagAsSpamClicked:"flagAsSpamClicked"},standalone:!1,decls:1,vars:1,consts:[["moreMenu","matMenu"],["type","button","mat-button","",1,"medium",3,"disabled","matMenuTriggerFor"],["name","arrow-dropdown","size","small"],["type","button","mat-menu-item",""],["type","button","mat-menu-item","",3,"click"]],template:function(a,
b){a&1&&D(0,snb,8,4);a&2&&G(b.showExportCsv||b.showFlagIssuesAsSpam?0:-1)},dependencies:[xL,IL,GL,JL,DM,eB,jy],encapsulation:2,changeDetection:0});var h_=function(){};h_.\u0275fac=function(a){return new (a||h_)};h_.\u0275mod=Cf({type:h_});h_.\u0275inj=p({imports:[lC]});var i_=function(){};i_.\u0275fac=function(a){return new (a||i_)};i_.\u0275mod=Cf({type:i_});i_.\u0275inj=p({imports:[bN,lC,fP,h_,mC,xQ,pC]});var l_=function(){var a=this;this.activeSession=r(Bu);this.connectionChecker=r(j_);this.ssoInterceptorState=r(k_);this.notifyUserAndWaitForGoodConnection$=new oe(function(b){a.ssoInterceptorState.showRefreshSso$.next(!0);var c=a.watchForRestoredConnection$.subscribe(b);a.watchForRestoredConnection$.subscribe(function(){a.ssoInterceptorState.showRefreshSso$.next(!1)});return function(){c.unsubscribe()}});this.watchForRestoredConnection$=Pe(window,"focus").pipe(Yf(function(){return a.connectionChecker.ok$}),
Ue(function(b){return b}),Nf(),z(function(){}),mka())};l_.prototype.intercept=function(a,b){return Vt(this.activeSession,"enableRefreshSsoPopup")&&a.url&&a.url.startsWith("action/")?b6c(this,b,a):b.handle(a)};
var b6c=function(a,b,c){return new oe(function(d){var e=b.handle(c).subscribe({next:function(h){d.next(h)},complete:function(){d.complete()},error:function(h){c6c(a,b,c,h).pipe(Zf(f)).subscribe(d)}}),f=new Tf(1);return function(){f.next();e.unsubscribe()}})},c6c=function(a,b,c,d){return d.status===403||d.status===404||d.status===429?Be(function(){return d}):a.connectionChecker.ok$.pipe(Yf(function(e){return e?Be(function(){return d}):a.notifyUserAndWaitForGoodConnection$.pipe(Yf(function(){return b.handle(c)}))}))};
l_.\u0275fac=function(a){return new (a||l_)};l_.\u0275prov=n({token:l_,factory:l_.\u0275fac,providedIn:"root"});var k_=function(){this.showRefreshSso$=new Xi(!1)};k_.\u0275fac=function(a){return new (a||k_)};k_.\u0275prov=n({token:k_,factory:k_.\u0275fac,providedIn:"root"});var j_=function(){var a=this;this.ngZone=r(kh);this.ok$=new oe(function(b){var c=PRa("action/yes",function(){a.ngZone.run(function(){c.isSuccess()?b.next(c.getResponseText()==="yes"):b.next(!1);b.complete()})});return function(){c.dispose()}})};
j_.\u0275fac=function(a){return new (a||j_)};j_.\u0275prov=n({token:j_,factory:j_.\u0275fac,providedIn:"root"});var d6c={provide:Ldc,useClass:l_,multi:!0};var e6c=function(){this.activeSession=r(Bu);this.ssoInterceptorState=r(k_);this.showRefreshSsoMessage$=this.ssoInterceptorState.showRefreshSso$;this.isAnonymous=this.activeSession.isAnonymous()};e6c.\u0275fac=function(a){return new (a||e6c)};
e6c.\u0275cmp=C({type:e6c,selectors:[["b-sso-expired-callout-outlet"]],standalone:!1,decls:2,vars:3,consts:[["format","app",3,"messageType"],["type","button","mat-flat-button",""],["type","button","mat-flat-button","",3,"click"]],template:function(a,b){a&1&&(D(0,wnb,6,3,"b-callout",0),S(1,"async"));a&2&&G(U(1,1,b.showRefreshSsoMessage$)?0:-1)},dependencies:[nL,oL,eB,jy,ew],encapsulation:2,changeDetection:0});var f6c=function(){var a=this;this.session=r(Bu);this.principalTypes=r(pG);this.cdr=r(cB,{self:!0});this.showHiringBanner=!1;Vt(this.session,"weAreHiring")&&qG(this.principalTypes,this.session.getUserEmail(),!0).then(function(b){a.showHiringBanner=b.detailedUserType==="UNRESTRICTED_GOOGLER";a.cdr.detectChanges()}).catch(function(){})};f6c.\u0275fac=function(a){return new (a||f6c)};
f6c.\u0275cmp=C({type:f6c,selectors:[["b-hiring-banner"]],standalone:!1,features:[ch([cB])],decls:1,vars:1,consts:[["title","See jobs related to Buganizer","href","http://goto.google.com/buganizer-hiring","target","_blank",1,"hiring-banner"]],template:function(a,b){a&1&&D(0,xnb,2,0,"a",0);a&2&&G(b.showHiringBanner?0:-1)},styles:[".hiring-banner[_ngcontent-%COMP%]{background:#a02160;color:#fff!important;display:block;font-size:.6875rem;left:50px;overflow:hidden;padding-bottom:3px;position:absolute;text-align:center;top:-76px;-webkit-transform:rotate(-45deg) translate(-100%);transform:rotate(-45deg) translate(-100%);-webkit-transform-origin:0 0;transform-origin:0 0;width:10em;z-index:1000}"],
changeDetection:0});var m_=function(){};m_.\u0275fac=function(a){return new (a||m_)};m_.\u0275mod=Cf({type:m_});m_.\u0275inj=p({imports:[lC]});var n_=function(){this.hotkeys=r(uH)};n_.prototype.ngOnInit=function(){this.hotkeys.pause()};n_.prototype.ngOnDestroy=function(){this.hotkeys.unpause()};n_.\u0275fac=function(a){return new (a||n_)};
n_.\u0275cmp=C({type:n_,selectors:[["b-hotkeys-dialog"]],standalone:!1,decls:9,vars:0,consts:[["mat-dialog-title",""],["mat-button","","mat-dialog-close","","type","button",1,"medium","primary"],["colspan","2"],[1,"bv2-hotkeys-header"],[1,"bv2-hotkeys-key"],[1,"bv2-hotkeys-value"]],template:function(a,b){a&1&&(I(0,"h1",0),Q(1,"Keyboard shortcuts"),J(),I(2,"mat-dialog-content")(3,"table"),yg(4,znb,7,1,"thead",null,xg),J()(),I(6,"mat-dialog-actions")(7,"button",1),Q(8,"Close"),J()());a&2&&(B(4),zg(Jpc(b.hotkeys)))},
dependencies:[eB,jy,uI,wI,yI,xI],encapsulation:2});var o_=function(){};o_.\u0275fac=function(a){return new (a||o_)};o_.\u0275mod=Cf({type:o_});o_.\u0275inj=p({imports:[lC,mC,XI]});var Pt=function(a){this.type=a.type;this.customFieldId=a.customFieldId||void 0;this.customFieldName=a.customFieldName||void 0};Pt.prototype.isCustomField=function(){return this.type==="CUSTOM_FIELD"};Pt.prototype.toApiUrlParam=function(){return this.isCustomField()?this.type.toLowerCase()+"."+this.customFieldId:this.type.toLowerCase()};Pt.prototype.toString=function(){return this.toApiUrlParam()};var Tt=function(a,b){this.fieldId=a;this.direction=b};Tt.prototype.toApiUrlParam=function(){return this.fieldId.toApiUrlParam()+":"+(this.direction==="ASCENDING"?"asc":"desc")};Tt.prototype.toString=function(){return this.toApiUrlParam()};var Dnb=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.escalationOwner=this.issueAccessLevel=this.sloEndTime=this.sloStartTime=this.sloStatus=this.position=this.effort=null};var p_=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 Xi(this)},g6c=function(a,
b){var c=b.positionMap||{},d=b.issues.map(function(e){var f=Fnb(e,null);c&&c[e.issueId]&&(f.position=c[e.issueId]);return f});return new p_(d,a,b)};p_.prototype.hasPreviousPage=function(){return this.params.page>1};p_.prototype.hasNextPage=function(){return!!this.responseMetadata.nextPageToken};
var q_=function(a,b){var c=a.issues.findIndex(function(d){return d.issueId===b});return c!==-1?c+a.startIndex:-1},h6c=function(a,b){b=k(b);for(var c=b.next();!c.done;c=b.next()){var d=c.value;c=d.issue;d=d.component;var e=q_(a,c.issueId);e!==-1&&(e-=a.startIndex,Enb(a.issues[e],c,d))}a.changed$.next(a)},i6c=function(a,b,c,d){b=q_(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)};p_.prototype.clone=function(){var a=new p_(this.internalIssues,this.params,this.responseMetadata);a.changed$.next(a);return a};da.Object.defineProperties(p_.prototype,{issues:{configurable:!0,enumerable:!0,get:function(){return this.internalIssues},set:function(a){this.internalIssues=a;this.changed$.next(this)}}});var r_=function(){this.issueApi=r(ME);this.hotlistApi=r(PD);this.paths=r(IP)};r_.prototype.create=function(a){return new j6c(this.issueApi,this.hotlistApi,this.paths,a)};r_.\u0275fac=function(a){return new (a||r_)};r_.\u0275prov=n({token:r_,factory:r_.\u0275fac,providedIn:"root"});
var j6c=function(a,b,c,d){this.issueApi=a;this.hotlistApi=b;this.paths=c;this.params=d;this.resultPromise=this.searchResultsPage=null},s_=function(a){if(a.params.page<1)return Promise.reject(Error("dg"));if(!a.resultPromise)if(a.params.hotlistId)a.resultPromise=a.hotlistApi.getPagedHotlistContent(a.params.hotlistId,a.params.page,a.params.resultsPerPage,a.params.sortColumns,a.params.trackerIds);else{var b={p:a.params.page,count:a.params.resultsPerPage,trackerIds:a.params.trackerIds},c=eRa(a.params.sortColumns);
c&&(b.s=c);var d;a.resultPromise=a.issueApi.listIssues((d=a.params.query)!=null?d:"",b)}return a.resultPromise.then(function(e){a.searchResultsPage||(a.searchResultsPage=g6c(a.params,e));return a.searchResultsPage},function(e){return Promise.reject(e)})},k6c=function(a){return a.searchResultsPage?a.searchResultsPage.hasNextPage():!0};var t_=function(){this.$window=r(MH);this.searchResultsPageFetcherFactory=r(r_);this.previousResultsFetcher=this.nextResultsFetcher=this.currentResultsFetcher=null;this.focusedIssueIndex=-1},m6c=function(a,b){var c=Hj();l6c(b.page)?(a.setSearchParams(b),s_(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},o6c=function(a){var b=Hj(),c=null;a.currentResultsFetcher?c=a.currentResultsFetcher.params:
c=n6c(a);c?(a.setSearchParams(c),s_(a.currentResultsFetcher).then(function(d){b.resolve(d)},function(d){b.reject(d)})):b.reject("No related search results available.");return b.promise},p6c=function(a){a.currentResultsFetcher=null;a.nextResultsFetcher=null;a.previousResultsFetcher=null;a.focusedIssueIndex=-1},q6c=function(a,b){var c=Hj();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=pj(a.currentResultsFetcher.params);e.page=d;a.setSearchParams(e);s_(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};
t_.prototype.getFocusedIssue=function(){return this.focusedIssueIndex};
var r6c=function(a){a.currentResultsFetcher?s_(a.currentResultsFetcher).then(function(b){a.focusedIssueIndex=b.endIndex>=b.startIndex?b.startIndex:-1}).catch(function(b){nj("unexpected error fetching:",b)}):a.focusedIssueIndex=-1},n6c=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 Tt(new Pt(b.fieldId),b.direction)}));return a}return null},
s6c=function(a,b,c){b=pj(b);b.page=c;return a.searchResultsPageFetcherFactory.create(b)},t6c=function(a,b){a.currentResultsFetcher||(a.currentResultsFetcher=s6c(a,b,b.page),s_(a.currentResultsFetcher).catch(function(c){nj("unexpected error fetching:",c)}));!a.previousResultsFetcher&&b.page>1&&(a.previousResultsFetcher=s6c(a,b,b.page-1),Ci(2E3).then(function(){var c;return(c=a.previousResultsFetcher)==null?void 0:s_(c)}).catch(function(c){nj("unexpected error fetching:",c)}));!a.nextResultsFetcher&&
k6c(a.currentResultsFetcher)&&(a.nextResultsFetcher=s6c(a,b,b.page+1),Ci(2E3).then(function(){var c;return(c=a.nextResultsFetcher)==null?void 0:s_(c)}).catch(function(c){nj("unexpected error fetching:",c)}))};
t_.prototype.setSearchParams=function(a){a.page=uj(a.page);if(!a.resultsPerPage||isNaN(a.resultsPerPage))throw Error("eg");this.previousResultsFetcher&&a.page===this.previousResultsFetcher.params.page?(this.nextResultsFetcher=this.currentResultsFetcher,this.currentResultsFetcher=this.previousResultsFetcher,this.previousResultsFetcher=null):this.nextResultsFetcher&&a.page===this.nextResultsFetcher.params.page&&(this.previousResultsFetcher=this.currentResultsFetcher,this.currentResultsFetcher=this.nextResultsFetcher,
this.nextResultsFetcher=null);if(this.currentResultsFetcher){var b=this.currentResultsFetcher.params;a.page===b.page&&a.query===b.query&&oj(a.sortColumns,b.sortColumns)&&a.resultsPerPage===b.resultsPerPage&&oj(a.trackerIds,b.trackerIds)?this.currentResultsFetcher.params.returnUrl=a.returnUrl:p6c(this)}t6c(this,a);a=JSON.stringify(this.currentResultsFetcher.params);this.$window.sessionStorage.setItem("buganizer.searchParams",a)};
var l6c=function(a){var b=uj(""+a);return isNaN(b)||b!=Number(a)||b<1||b>2147483647?!1:!0};t_.\u0275fac=function(a){return new (a||t_)};t_.\u0275prov=n({token:t_,factory:t_.\u0275fac,providedIn:"root"});var u_=function(){this.$window=r(MH);this.activeSession=r(Bu)};u_.prototype.setTitle=function(a){a=Ut(a,this.activeSession.session);this.$window.document.title=a};u_.\u0275fac=function(a){return new (a||u_)};u_.\u0275prov=n({token:u_,factory:u_.\u0275fac,providedIn:"root"});var v_=function(){Z.apply(this,arguments);var a=this;this.paramsService=r(TH);this.issueFullFridge=r(QF);this.pageTitle=r(u_);this.accessIndicatorService=r(XK);this.newTitle$=this.paramsService.routeParams$.pipe(Pf(oj),Yf(function(b){return a.onRouteParamsChanged(b)}));this.init=function(){a.subscriptions.add(a.newTitle$.subscribe(function(b){a.pageTitle.setTitle(b)}))};this.initOnce=Ij(this.init)};Y(v_,Z);v_.\u0275dir=Z.\u0275dir;
v_.prototype.onRouteParamsChanged=function(a){return a.issueId?u6c(this,a.issueId):Ae()};var u6c=function(a,b){return Ie([a.issueFullFridge.watch(b),Sxc(a.accessIndicatorService,b).pipe(Xf(void 0),If(function(){return Ae(void 0)}))]).pipe(Xf([void 0,void 0]),z(function(c){c=k(c);var d=c.next().value;c=c.next().value;d=d==null?void 0:d.snapshot[0].title;if(!d)return"View issue";d=d+" ["+b+"]";if(c==null?0:c.displayText)d=d+" - "+c.displayText;return d}))};
v_.\u0275fac=function(){var a;return function(b){return(a||(a=ee(v_)))(b||v_)}}();v_.\u0275prov=n({token:v_,factory:v_.\u0275fac,providedIn:"root"});var y6c=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(v6c(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(),
w6c(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);v6c(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();w6c(this);x6c(this)};y6c.prototype.start=function(){this.parentElement.appendChild(this.element);requestAnimationFrame(this.animate)};
y6c.prototype.stop=function(){this.state=2;w6c(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 x6c=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)}};
y6c.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 w6c=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"},v6c=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};y6c.prototype.transform=function(){this.element.style.transform="translate("+this.x+"px,"+this.y+"px) rotate("+(this.direction+90)%360+"deg) scaleX("+this.flip};var z6c=function(a){this.element=a;this.bugs=[]};z6c.prototype.start=function(){for(var a=this,b=0;b<3;b++)A6c(this);this.intervalSubscription=yha(1E4).subscribe(function(){A6c(a);a.bugs.length>=10&&a.intervalSubscription&&a.intervalSubscription.unsubscribe()})};z6c.prototype.stop=function(){this.intervalSubscription&&this.intervalSubscription.unsubscribe();for(var a=k(this.bugs),b=a.next();!b.done;b=a.next())b.value.stop();this.bugs=[]};var A6c=function(a){var b=new y6c(a.element);b.start();a.bugs.push(b)};var w_=function(){var a=this;this.ngZone=r(kh);this.userPreferencesManager=r(TG);this.snackBar=r(cH);this.elementRef=r(ef);this.bugAnimation=new z6c(this.elementRef.nativeElement);this.destroyed$=new Tf(1);this.active$=new Xi(!0);this.lastTimeoutResetTimestamp=Number.NEGATIVE_INFINITY;this.active$.pipe(Zf(this.destroyed$),Pf()).subscribe(function(b){b?B6c(a):C6c(a)})};w_.prototype.ngOnInit=function(){document.visibilityState==="visible"&&D6c(this)};w_.prototype.ngOnDestroy=function(){this.destroyed$.next()};
var D6c=function(a){a.timeoutId=setTimeout(function(){a.active$.next(!1)},18E4)};w_.prototype.onUserEvent=function(){var a=Date.now();a<this.lastTimeoutResetTimestamp+1E4||(this.lastTimeoutResetTimestamp=a,this.active$.next(!0),clearTimeout(this.timeoutId),D6c(this))};w_.prototype.onVisibilityChange=function(){this.onUserEvent();switch(document.visibilityState){case "hidden":clearTimeout(this.timeoutId),this.lastTimeoutResetTimestamp=Number.NEGATIVE_INFINITY}};
var C6c=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()})},B6c=function(a){a.ngZone.runOutsideAngular(function(){a.bugAnimation.stop()})};
w_.\u0275fac=function(a){return new (a||w_)};
w_.\u0275cmp=C({type:w_,selectors:[["bug-screensaver"]],hostBindings:function(a,b){a&1&&M("click",function(){return b.onUserEvent()},!1,gf)("keydown",function(){return b.onUserEvent()},!1,gf)("mousemove",function(){return b.onUserEvent()},!1,gf)("wheel",function(){return b.onUserEvent()},!1,gf)("touchstart",function(){return b.onUserEvent()},!1,gf)("focus",function(){return b.onUserEvent()},!1,gf)("visibilitychange",function(){return b.onVisibilityChange()},!1,aia)},standalone:!1,decls:0,vars:0,template:function(){},
encapsulation:2});var E6c=function(){var a=this;this.userPreferencesManager=r(TG);this.activeSession=r(Bu);this.isEnabled$=this.userPreferencesManager.bugScreensaverSubject$.pipe(z(function(b){return(b.enableBugScreensaver||!1)&&a.activeSession.isInternalSession()}))};E6c.\u0275fac=function(a){return new (a||E6c)};
E6c.\u0275cmp=C({type:E6c,selectors:[["bug-screensaver-manager"]],standalone:!1,decls:2,vars:3,template:function(a,b){a&1&&(D(0,Gnb,1,0,"bug-screensaver"),S(1,"async"));a&2&&G(U(1,1,b.isEnabled$)?0:-1)},dependencies:[w_,ew],encapsulation:2});var x_=function(){};x_.\u0275fac=function(a){return new (a||x_)};x_.\u0275mod=Cf({type:x_});x_.\u0275inj=p({imports:[lC,pN,eQ,zP]});var F6c=function(){this.activeSession=r(Bu);this.currentTracker=this.activeSession.getTracker();var a,b;this.trackerName=(b=(a=this.currentTracker)==null?void 0:a.name)!=null?b:"";var c,d,e;this.trackerLogo=(e=(c=this.currentTracker)==null?void 0:(d=c.branding)==null?void 0:d.logoUrl)!=null?e:"";var f,h,l;this.trackerCoc=(l=(f=this.currentTracker)==null?void 0:(h=f.branding)==null?void 0:h.cocUrl)!=null?l:""};F6c.\u0275fac=function(a){return new (a||F6c)};
F6c.\u0275cmp=C({type:F6c,selectors:[["b-footer"]],standalone:!1,decls:1,vars:1,consts:[["href","https://policies.google.com/privacy","target","_blank"],[1,"padded-s-sides"],["href","https://policies.google.com/terms","target","_blank"],["alt","",1,"logo",3,"src"],[1,"title"],["id","code-of-conduct","target","_blank",3,"href"]],template:function(a,b){a&1&&D(0,Jnb,9,2,"footer");a&2&&G(b.currentTracker||b.activeSession.isExternalSession()?0:-1)},styles:["footer[_ngcontent-%COMP%]{border-top:1px solid;border-top-color:#dadce0;border-top-color:var(--divider);-moz-box-sizing:border-box;box-sizing:border-box;width:100%;padding:8px 16px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.logo[_ngcontent-%COMP%]{width:24px;height:24px;padding:3px;margin-right:12px}a[_ngcontent-%COMP%]{color:#202124;color:var(--text-default)}a[_ngcontent-%COMP%]:hover{text-decoration:underline}.title[_ngcontent-%COMP%]{margin-right:56px}"]});var y_=function(){};y_.\u0275fac=function(a){return new (a||y_)};y_.\u0275mod=Cf({type:y_});y_.\u0275inj=p({imports:[lC]});var z_=function(){var a=this;this.paths=r(IP);this.context=r(UH);this.activeSession=r(Bu);this.componentFridge=r(uD);this.createIssuePath=this.paths.createIssue();this.currentTracker=this.activeSession.getTracker();this.component$=this.context.getComponentId().pipe(Yf(function(d){return d?a.componentFridge.watch(d):Ae(void 0)}),z(function(d){return d&&!d.archived?d:void 0}));this.visibleOptions$=Ie([this.component$,this.context.getIssueId(),this.context.getHotlistId()]).pipe(Of(0),z(function(d){var e=
k(d);d=e.next().value;var f=e.next().value;e=e.next().value;return G6c(a,a.currentTracker,d,f,e)}));this.buttonLabel$=this.visibleOptions$.pipe(z(function(d){return d.length?"Create":"Create Issue"}));var b,c;this.buttonIcon=((b=this.currentTracker)==null?void 0:(c=b.branding)==null?void 0:c.theme)==="OPEN_SOURCE"?"create-open-source-36px":"create-color-36px"};z_.prototype.ngOnInit=function(){};z_.prototype.trackClick=function(a){So("create","click",a)};
var G6c=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(t(f.entries())).map(function(l){var q=k(l);l=q.next().value;q=q.next().value;return{name:hua(l),path:q}})};z_.\u0275fac=function(a){return new (a||z_)};
z_.\u0275cmp=C({type:z_,selectors:[["b-create-issue-button"]],standalone:!1,decls:2,vars:3,consts:[[3,"label","icon","href","segments"],[3,"clickMain","clickSegment","label","icon","href","segments"]],template:function(a,b){a&1&&(D(0,Lnb,2,3),S(1,"async"));if(a&2){var c;G((c=U(1,1,b.visibleOptions$))?0:-1,c)}},dependencies:[ZM,ew],encapsulation:2,changeDetection:0});var A_=function(){this.router=r(TA);this.location=r(WN)},H6c=function(a){var b=a.location.getUrl();Jt(a.router,"/",{skipLocationChange:!0}).then(function(){return Jt(a.router,b,{skipLocationChange:!0})})};A_.\u0275fac=function(a){return new (a||A_)};A_.\u0275prov=n({token:A_,factory:A_.\u0275fac,providedIn:"root"});var C_=function(){Z.call(this);var a=this;this.reloadService=r(A_);this.activeSession=r(Bu);this.bLocation=r(WN);this.paths=r(IP);this.issuePagination=r(t_);this.sidebarItemFactory=r(B_);this.appEvents=r(yD);this.analytics=r(OF);this.currentUserBookmarksFridge=r(ZD);this.sidebarData={hotlists:[],bookmarkGroups:[],archivedHotlists:[],archivedBookmarkGroups:[],userSearches:[]};this.userSavedSearches=[];this.userHotlists=[];this.subscriptions.add(qjc(this.currentUserBookmarksFridge).subscribe(function(b){a.sidebarData.hotlists=
I6c(a,b.hotlists);a.sidebarData.bookmarkGroups=J6c(a,b.bookmarkGroups);a.sidebarData.archivedHotlists=I6c(a,b.archivedHotlists);a.sidebarData.archivedBookmarkGroups=J6c(a,b.archivedBookmarkGroups);a.appEvents.sidebarUpdated.next()}));this.subscriptions.add(rjc(this.currentUserBookmarksFridge).subscribe(function(b){b=K6c(a,b);a.sidebarData.userSearches=b;Fba(a.userSavedSearches);Gba(a.userSavedSearches,b);a.appEvents.sidebarUpdated.next()}));this.subscriptions.add($D(this.currentUserBookmarksFridge).subscribe(function(b){L6c(a,
b);a.appEvents.sidebarUpdated.next()}))};Y(C_,Z);C_.\u0275dir=Z.\u0275dir;
var I6c=function(a,b){return b.map(function(c){return M6c(a.sidebarItemFactory,c)}).sort(function(c,d){return c.name.localeCompare(d.name)})},J6c=function(a,b){return b.map(function(c){var d=a.sidebarItemFactory;return new N6c(c,d.activeSession,d.analytics,d.userApi,d.bookmarkGroupsApi,d.butterBar,d.paths,d.userPreferencesManager,d.errorHandler,d,d.confirmationDialogService,d.appEvents)})},K6c=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 O6c(a.sidebarItemFactory,c)})},L6c=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 M6c(a.sidebarItemFactory,c)});Fba(a.userHotlists);Gba(a.userHotlists,b)};
C_.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||(p6c(this.issuePagination),uFc(this.paths,a)&&H6c(this.reloadService),this.bLocation.setUrl(a),b.preventDefault(),b.stopPropagation())};C_.\u0275fac=function(a){return new (a||C_)};C_.\u0275prov=n({token:C_,factory:C_.\u0275fac,providedIn:"root"});
var D_=function(a,b,c,d,e,f,h,l){this.item=a;this.analytics=c;this.userApi=d;this.bookmarkGroupsApi=e;this.butterBar=f;this.paths=h;this.userPreferencesManager=l;this.id=a.id;this.name=a.name;this.description=a.description;this.adminUsers=a.adminUsers;this.starred=a.starred;this.userEmail=b.getUserEmail()};D_.prototype.getDisplayName=function(){return this.item.name?this.item.name:"resourceType"in this.item?zj(this.item.resourceType.toLowerCase())+" "+this.item.id:this.item.id};
D_.prototype.isEditable=function(){return P6c(this)};D_.prototype.isSelected=function(){var a=this.paths,b=this.href;b=b.charAt(0)!=="/"?"/"+b:b;return a.bLocation.path()===b};D_.prototype.isUnstarable=function(){return!P6c(this)&&this.starred};
var P6c=function(a){return a.adminUsers.some(function(b){return b.emailAddress===a.userEmail})},Q6c=function(a,b){var c=UG(a.userPreferencesManager).homepagePreferences;return(c==null?void 0:c.resourceId)===a.id&&c.resourceType===b},R6c=function(a,b){jq(a.butterBar,"Updating homepage...",0);koc(a.userPreferencesManager,{resourceType:b,resourceId:a.id}).pipe(Nf()).subscribe(function(){jq(a.butterBar,"Homepage updated")})},S6c=function(a,b,c,d,e,f,h,l,q,u,A,F){D_.call(this,a,b,c,d,e,h,l,q);this.hotlistApi=
f;this.errorHandler=u;this.confirmationDialogService=A;this.appEvents=F;this.href=Qq.viewHotlist.makeHref(a.id);this.type="HOTLIST"};Y(S6c,D_);g=S6c.prototype;g.isPreferredHomepage=function(){return Q6c(this,"HOTLIST")};g.setAsPreferredHomepage=function(){R6c(this,"HOTLIST")};
g.archive=function(){var a=this;jq(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});jq(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;jq(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});jq(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:wi("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;jq(this.butterBar,"Unstarring hotlist ID "+this.id+"...");this.userApi.removeUserBookmark({resourceType:"HOTLIST",resourceId:this.id}).then(function(){jq(a.butterBar,"Unstarred hotlist ID "+a.id);a.appEvents.hotlistChanged.next()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};var E_=function(a,b,c,d,e,f,h,l){D_.call(this,a,b,c,d,e,f,h,l);this.href=h.viewSavedSearch(a.id);this.type="SAVED_SEARCH"};Y(E_,D_);E_.prototype.isUnstarable=function(){return!1};
E_.prototype.unstar=function(){};E_.prototype.isPreferredHomepage=function(){return Q6c(this,"SAVED_SEARCH")};E_.prototype.setAsPreferredHomepage=function(){R6c(this,"SAVED_SEARCH")};
var N6c=function(a,b,c,d,e,f,h,l,q,u,A,F){D_.call(this,a,b,c,d,e,f,h,l);this.errorHandler=q;this.sidebarItemFactory=u;this.confirmationDialogService=A;this.appEvents=F;this.items=[];a=k(a.sublinks||[]);for(b=a.next();!b.done;b=a.next())switch(b=b.value,b.resourceType){case "HOTLIST":this.items.push(M6c(this.sidebarItemFactory,b));break;case "SAVED_SEARCH":this.items.push(O6c(this.sidebarItemFactory,b))}this.items.sort(function(H,N){return H.name.localeCompare(N.name)})};Y(N6c,D_);g=N6c.prototype;
g.isPreferredHomepage=function(){return Q6c(this,"BOOKMARK_GROUP")};g.setAsPreferredHomepage=function(){R6c(this,"BOOKMARK_GROUP")};
g.archive=function(){var a=this;jq(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});jq(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;jq(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});jq(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:wi("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;jq(this.butterBar,"Unstarring bookmark group ID "+this.id+"...");this.userApi.removeUserBookmark({resourceType:"BOOKMARK_GROUP",resourceId:this.id}).then(function(){jq(a.butterBar,"Unstarred bookmark group ID "+a.id);a.appEvents.bookmarkGroupModified.next()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
var B_=function(){this.activeSession=r(Bu);this.userApi=r(TD);this.bookmarkGroupsApi=r(eD);this.hotlistApi=r(PD);this.errorHandler=r(CI);this.paths=r(IP);this.analytics=r(OF);this.butterBar=r(fH);this.userPreferencesManager=r(TG);this.confirmationDialogService=r(AI);this.appEvents=r(yD)},M6c=function(a,b){return new S6c(b,a.activeSession,a.analytics,a.userApi,a.bookmarkGroupsApi,a.hotlistApi,a.butterBar,a.paths,a.userPreferencesManager,a.errorHandler,a.confirmationDialogService,a.appEvents)},O6c=
function(a,b){return new E_(b,a.activeSession,a.analytics,a.userApi,a.bookmarkGroupsApi,a.butterBar,a.paths,a.userPreferencesManager)};B_.\u0275fac=function(a){return new (a||B_)};B_.\u0275prov=n({token:B_,factory:B_.\u0275fac,providedIn:"root"});var F_=function(){this.prefs=r(TG);this.expanded=!0;this.content=this.header=null;this.onExpand=new aB};F_.prototype.ngOnInit=function(){this.prefKey&&(this.expanded=!moc(this.prefs,this.prefKey))};F_.prototype.onClick=function(){var a=this,b,c;return se(function(d){if(d.nextAddress==1){b=!a.expanded;a.expanded=b;if(!a.prefKey)return d.jumpTo(2);c={};return y(d,Fe(loc(a.prefs,(c[a.prefKey]=!b,c))),2)}a.expanded&&a.onExpand.next();xe(d)})};F_.\u0275fac=function(a){return new (a||F_)};
F_.\u0275cmp=C({type:F_,selectors:[["sidebar-zippy"]],inputs:{expanded:"expanded",header:"header",content:"content",prefKey:"prefKey"},outputs:{onExpand:"onExpand"},standalone:!1,decls:3,vars:7,consts:[["tabindex","0","role","tab",1,"bv2-nav-expandable-header",3,"click","keydown.enter","keydown.space"],[4,"ngTemplateOutlet"]],template:function(a,b){a&1&&(I(0,"div",0),M("click",function(){return b.onClick()})("keydown.enter",function(c){b.onClick();return c.stopPropagation()})("keydown.space",function(c){b.onClick();
return c.preventDefault()}),D(1,Mnb,1,0,"ng-container",1),J(),D(2,Onb,1,1,"ng-container"));a&2&&(sg("opened",b.expanded)("closed",!b.expanded),jg("aria-expanded",b.expanded),B(),E("ngTemplateOutlet",b.header),B(),G(b.expanded?2:-1))},dependencies:[dw],encapsulation:2});var T6c=function(){return[]},G_=function(){var a=this;this.location=r(sw);this.starredTeamsService=r(VG);this.bLocation=r(WN);this.triageService=r(YG);this.sidebar=r(C_);this.routeParamsService=r(TH);this.teamExperimentalFieldsFridge=r(HG);this.teamFridge=r(IG);this.ROUTES=Qq;this.ALL_PHASES=Sgc;this.phaseToUrlSlug=Kt;this.triageTeamIdFromUrl$=this.routeParamsService.routeParams$.pipe(z(function(b){return b.phase&&b.teamId}));this.triageIdFromUrl$=this.routeParamsService.routeParams$.pipe(z(function(b){return b.phase&&
b.triageId}));this.triageViewFromUrl$=Ie([this.triageTeamIdFromUrl$,this.triageIdFromUrl$]).pipe(z(function(b){var c=k(b);b=c.next().value;c=c.next().value;if(b&&c)return{teamId:b,triageId:c}}));this.sidebarTriagePreferences$=Ie([this.starredTeamsService.starredTriageViews$,this.triageViewFromUrl$]).pipe(z(function(b){var c=k(b);b=c.next().value;c=c.next().value;return[].concat(t(b),[c]).filter(ik)}),z(function(b){return Jj(b,function(c){return c.teamId+":"+c.triageId})}));this.teamExperiments$=this.sidebarTriagePreferences$.pipe(z(function(b){return b.map(function(c){return c.teamId})}),
z(function(b){return Kj(b.filter(ik))}),Yf(function(b){return a.teamExperimentalFieldsFridge.watchSet(b)}),z(function(b){return new Map(b.map(function(c){return[c.id,c]}))}));this.teamIdToTriageViews$=this.teamExperiments$.pipe(z(function(b){return rua(b,function(c){return Gj(c.triage,function(d){return d.id})})}));this.triageSidebarEntries$=Ie([this.teamIdToTriageViews$,this.sidebarTriagePreferences$]).pipe(z(function(b){var c=k(b);b=c.next().value;var d=c.next().value;c=[];d=k(d);for(var e=d.next();!e.done;e=
d.next()){e=e.value;var f=e.teamId,h=e.triageId,l=void 0,q=(l=b.get(f))==null?void 0:l.get(Number(h));q?(h=a.teamFridge.watch(f),c.push({teamId:f,triageId:e.triageId,displayName$:EGa(h,f,q)})):console.log("triage not found",f,h)}return c}))},Ynb=function(a,b,c){return a.routeParamsService.routeParams$.pipe(z(function(d){return!(d.teamId!==b||d.triageId!==c||!d.phase&&!a.location.path().endsWith("issue-themes"))}))};
G_.prototype.isTriageUrlFor=function(a,b,c){return this.location.path().startsWith(Qq.viewTriage.makeHref(a,c,Kt[b],""))};G_.prototype.goToTriageSettingsPage=function(){this.bLocation.setUrl(Qq.triageSettings.makeHref())};G_.prototype.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};G_.\u0275fac=function(a){return new (a||G_)};
G_.\u0275cmp=C({type:G_,selectors:[["nav-sidebar-triage"]],standalone:!1,decls:2,vars:4,consts:[["mainZippyHeader",""],["mainZippyContent",""],["triageMenu",""],["triageZippyHeader",""],["triageZippyContent",""],[1,"canned-searches"],[3,"href"],["svgIcon","story-point-24px",1,"canned-search-icon"],["prefKey","nav-triage",3,"header","content"],[1,"chip-new"],["type","button","mat-icon-button","","disableRipple","true","aria-label","Configure triage",1,"bv2-nav-item-menubutton",3,"click","matMenuTriggerFor"],
["svgIcon","more-settings-vertical"],["matMenuContent",""],["type","button","mat-menu-item","",1,"bv2-user-hotlists-edit-menuitem",3,"click"],[1,"triage-teams-list"],[3,"title"],[3,"onExpand","header","content","expanded"],[1,"bv2-nav-item","bv2-nav-triage-team","full-width"],[1,"bv2-nav-item-text","no-indent"],[1,"bv2-nav-links-no-indent","triage-team-phase-list"],[1,"bv2-nav-item",3,"selected-indented","title"],["title","Issue Themes",1,"bv2-nav-item"],[1,"bv2-nav-indented","flex-kids-x","padded-s-right",
3,"href"],["svgIcon","issue-status-new",1,"vertical-centered","icon-s"],[1,"bv2-nav-item",3,"title"],[1,"bv2-nav-indented","flex-kids-x","padded-s-right",3,"click","href"],[1,"margin-left-auto"]],template:function(a,b){a&1&&(D(0,bob,2,1),S(1,"async"));if(a&2){var c;G((c=(c=U(1,1,b.triageSidebarEntries$))!==null&&c!==void 0?c:dh(3,T6c))?0:-1,c)}},dependencies:[pB,eB,ly,xL,IL,GL,HL,JL,oQ,F_,ew],styles:[".triage-teams-list[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex}.triage-teams-list[_ngcontent-%COMP%]   .bv2-nav-item-text[_ngcontent-%COMP%]{padding-right:0}.chip-new[_ngcontent-%COMP%]{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;line-height:16px;border-radius:8px;margin-left:8px;padding:0 6px;background-color:#1a73e8;background-color:var(--primary-btn-bg);color:#fff;color:var(--text-inverse)}\n/*# sourceMappingURL=nav_sidebar_triage.css.map */"]});var H_=function(){this.location=r(WN);this.analytics=r(OF);this.paths=r(IP);this.sidebar=r(C_);this.bookmarkGroups=[];this.hotlists=[]};g=H_.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(Sq(Qq.viewDashboard.routeDeclarationPath,{id:a}))};g.openEditHotlist=function(a){this.location.setUrl(Qq.editHotlist.makeHref(a))};
g.openEditBookmarkGroup=function(a){this.location.setUrl(this.paths.editBookmarkGroup(a))};g.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};H_.\u0275fac=function(a){return new (a||H_)};
H_.\u0275cmp=C({type:H_,selectors:[["sidebar-archived"]],inputs:{bookmarkGroups:"bookmarkGroups",hotlists:"hotlists"},standalone:!1,decls:1,vars:1,consts:[["zippyHeader",""],["zippyContent",""],["bgZippyHeader",""],["bgZippyContent",""],["groupMenu",""],["hotlistMenu",""],["prefKey","nav-archived",3,"header","content"],[1,"archived-list"],[3,"title"],[1,"bv2-nav-item","bv2-user-hotlists-hotlist-item",3,"selected","id","title"],[3,"header","content"],[1,"bv2-nav-item","bv2-nav-bookmark-group"],[1,
"bv2-nav-item-text"],["type","button","mat-icon-button","","disableRipple","true","aria-label","Bookmark group actions",1,"bv2-nav-item-menubutton","keep-focus-ring",3,"matMenuTriggerFor"],["matMenuContent",""],["type","button","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"],["type","button","mat-menu-item","",1,"bv2-user-hotlists-edit-menuitem",3,"click"],
["type","button","mat-menu-item","",1,"bv2-user-hotlists-edit-menuitem"],[1,"bv2-nav-links-no-indent","bookmark-group-content-list"],[1,"bv2-nav-item",3,"selected-indented","bv2-bookmark-group-hotlist-item","bv2-bookmark-group-saved-search-item","title"],[1,"bv2-nav-item",3,"title"],[1,"bv2-nav-indented",3,"click","href"],[1,"bv2-nav-item","bv2-user-hotlists-hotlist-item",3,"id","title"],[3,"click","href"],["type","button","mat-icon-button","","disableRipple","true","aria-label","Hotlist actions",
1,"bv2-nav-item-menubutton","keep-focus-ring",3,"matMenuTriggerFor"]],template:function(a,b){a&1&&D(0,rob,7,2,"div");a&2&&G(b.hotlists.length||b.bookmarkGroups.length?0:-1)},dependencies:[pB,eB,ly,xL,IL,GL,HL,JL,F_],encapsulation:2,changeDetection:0});var I_=function(){this.admins=[]};I_.prototype.ngOnInit=function(){this.url="bookmark-groups/"+this.bookmarkGroup.bookmarkGroupId;this.admins=Qj(this.bookmarkGroup.adminUsers)};I_.\u0275fac=function(a){return new (a||I_)};
I_.\u0275cmp=C({type:I_,selectors:[["b-bookmark-group-card"]],inputs:{bookmarkGroup:"bookmarkGroup"},standalone:!1,decls:14,vars:6,consts:[["role","dialog","aria-label","Bookmark group hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"bookmark-group-card"],["target","_blank",3,"href"]],template:function(a,b){a&1&&(I(0,"div",0)(1,"div",1)(2,"div",2)(3,"h3")(4,"a",3),Q(5),J()(),I(6,"ul")(7,"li"),Q(8),J(),I(9,"li"),Q(10),J()(),I(11,"div")(12,"p"),Q(13),J()()()()());a&2&&(B(4),
E("href",b.url,vf),B(),Yg(b.bookmarkGroup.name),B(3),R("ID: ",b.bookmarkGroup.bookmarkGroupId,""),B(2),Zg("",b.admins.length===1?"Admin":"Admins",": ",b.admins.join(", "),""),B(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 U6c=["searchBox"],J_=function(){this.cdr=r(cB,{self:!0});this.activeSession=r(Bu);this.userApi=r(TD);this.bookmarkGroupsApi=r(eD);this.hotlistApi=r(PD);this.paths=r(IP);this.analytics=r(OF);this.errorHandler=r(CI);this.appEvents=r(yD);this.currentUserBookmarksFridge=r(ZD);this.allowStarring=this.showHotlists=this.showGroups=!0;this.focusOnInit=!1;this.itemSelect=new aB;this.lastProcessedIndex=-1;this.nextRequestIndex=0;this.favoriteBookmarkGroups=new Set;this.favoriteHotlists=new Set;this.currentUserEmail=
this.activeSession.getUserEmail();this.query="";this.matches=[]};J_.prototype.ngOnInit=function(){this.allowStarring&&V6c(this)};J_.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 V6c=function(a){a.favoriteBookmarkGroups.clear();a.favoriteHotlists.clear();Fe(qjc(a.currentUserBookmarksFridge)).then(function(b){if(a.showGroups)for(var c=k(b.bookmarkGroups),d=c.next();!d.done;d=c.next()){d=d.value;d.starred&&a.favoriteBookmarkGroups.add(d.id);var e=void 0;d=k((e=d.sublinks)!=null?e:[]);for(e=d.next();!e.done;e=d.next())e=e.value,e.starred&&a.favoriteHotlists.add(e.id)}if(a.showHotlists)for(b=k(b.hotlists),c=b.next();!c.done;c=b.next())c=c.value,c.starred&&a.favoriteHotlists.add(c.id);
a.cdr.detectChanges()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};g=J_.prototype;g.reset=function(){this.query="";this.matches=[]};g.isLoading=function(){return this.lastProcessedIndex+1!==this.nextRequestIndex};g.onQueryChange=function(){this.matches=[];this.query&&typeof this.query!=="string"&&(this.query="");this.search()};
g.search=function(){var a=this,b=this.nextRequestIndex++;if(this.query){var c=this.showGroups?this.bookmarkGroupsApi.query(this.query):Promise.resolve([]);var d=this.showHotlists?this.hotlistApi.queryHotlists(this.query):Promise.resolve([]);Promise.all([c,d]).then(function(e){var f=k(e);e=f.next().value;f=f.next().value;if(b===a.nextRequestIndex-1){for(var h=k(e),l=h.next();!l.done;l=h.next()){l=l.value;var q=l.bookmarkGroupId;l.href=a.paths.viewBookmarkGroup(q);l.isGroup=!0;l.isStarred=a.favoriteBookmarkGroups.has(q)}h=
k(f);for(l=h.next();!l.done;l=h.next())l=l.value,q=l.hotlistId,l.href=Qq.viewHotlist.makeHref(q),l.isGroup=!1,l.isStarred=a.favoriteHotlists.has(q);a.matches=[].concat(t(e),t(f));a.lastProcessedIndex=b;a.cdr.detectChanges()}})}else this.lastProcessedIndex=b};g.shouldShowStar=function(a){return this.allowStarring&&!Qj(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();V6c(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))};
J_.\u0275fac=function(a){return new (a||J_)};
J_.\u0275cmp=C({type:J_,selectors:[["b-hotlist-search"]],viewQuery:function(a,b){a&1&&(Rg(U6c,5),Rg(MP,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"},standalone:!1,features:[ch([cB])],decls:14,vars:5,consts:[["searchBox",""],["auto","matAutocomplete"],["itemHovercard",
"onedevHovercard"],[1,"bv2-hotlist-search"],["id","hotlist-search-input-box","type","text","placeholder","Enter query","role","combobox",3,"ngModelChange","keydown.space","ngModel","matAutocomplete"],[1,"bv2-hotlist-search-dropdown",3,"optionSelected"],[1,"bv2-hotlist-search-dropdown-item",3,"value"],[1,"bv2-hotlist-search-subtext"],[1,"flex-kids-x","align-items-center","gap-xxs"],[3,"starMessage","unStarMessage","starred"],[3,"hotlist"],[3,"bookmarkGroup"],[1,"bv2-hotlist-name",3,"onedevHovercardTrigger"],
[3,"starClicked","starMessage","unStarMessage","starred"]],template:function(a,b){if(a&1){var c=v();I(0,"div",3)(1,"input",4,0);bh("ngModelChange",function(d){w(c);ah(b.query,d)||(b.query=d);return x(d)});M("ngModelChange",function(){w(c);return x(b.onQueryChange())})("keydown.space",function(d){w(c);return x(b.onSpace(d))});J();D(3,sob,1,0,"b-spinner");I(4,"mat-autocomplete",5,1);M("optionSelected",function(d){w(c);b.itemSelect.emit(d.option.value);return x()});yg(6,wob,9,7,"mat-option",6,xg);J();
I(8,"div",7);Q(9,' e.g., "foo bar admin:user@google.com" ');K(10,"br");Q(11,' or "foo bar admin:group@google.com" ');K(12,"br");Q(13," Only identities directly listed as Admins can be searched. ");J()()}a&2&&(a=L(5),B(),$g("ngModel",b.query),E("matAutocomplete",a),jg("autofocus",b.focusOnInit)("aria-label","Add query for searching "+(b.showGroups?"bookmark groups":"hotlists")),B(2),G(b.isLoading()?3:-1),B(3),zg(b.matches))},dependencies:[I_,mU,$H,fI,sL,KS,oi,Gy,Ny,KP,LP,Zx,MP],encapsulation:2});var K_=function(){this.allowStarring=this.showHotlists=this.showGroups=!0;this.ariaLabel="";this.itemSelect=new aB};K_.\u0275fac=function(a){return new (a||K_)};
K_.\u0275cmp=C({type:K_,selectors:[["b-hotlist-search-popup"]],viewQuery:function(a,b){a&1&&Rg(ZQ,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"},standalone:!1,decls:4,vars:2,consts:[["popup",""],["matTooltip","Search","dialogLabel","Search",3,"xapInlineDialogClick"],["svgIcon","search"],[3,"itemSelect","showGroups","showHotlists","allowStarring",
"focusOnInit"]],template:function(a,b){a&1&&(I(0,"xap-icon-trigger",1),K(1,"mat-icon",2),J(),D(2,xob,3,4,"ng-template",null,0,ih));a&2&&(a=L(3),E("xapInlineDialogClick",a),jg("aria-label",b.ariaLabel))},dependencies:[pB,HM,GM,mB,rB,ZQ,UN,J_],styles:["xap-dialog-layout[_ngcontent-%COMP%] { padding: 16px; }","xap-dialog-layout-content[_ngcontent-%COMP%] { padding: 0; }"]});var L_=function(){this.location=r(WN);this.analytics=r(OF);this.paths=r(IP);this.sidebar=r(C_);this.bookmarkGroups=[]};L_.prototype.handleBookmarkGroupOpen=function(a){this.analytics.trackEvent("sidebarBookmarkGroups","open");this.location.setUrl(this.paths.viewBookmarkGroup(a))};L_.prototype.handleBookmarkGroupDashboard=function(a){this.analytics.trackEvent("sidebarBookmarkGroups","dashboard");this.location.setUrl(Sq(Qq.viewDashboard.routeDeclarationPath,{id:a}))};
L_.prototype.editBookmarkGroup=function(a){this.location.setUrl(this.paths.editBookmarkGroup(a))};L_.prototype.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};L_.\u0275fac=function(a){return new (a||L_)};
L_.\u0275cmp=C({type:L_,selectors:[["sidebar-bookmark-groups"]],inputs:{bookmarkGroups:"bookmarkGroups"},standalone:!1,decls:7,vars:2,consts:[["zippyHeader",""],["zippyContent",""],["bgZippyHeader",""],["bgZippyContent",""],["topMenu",""],["innerMenu",""],[1,"bv2-nav-section"],["prefKey","nav-bkg",3,"header","content"],["aria-label","Search for bookmark groups",3,"itemSelect","click","showHotlists"],[1,"bookmark-group-list"],[3,"title"],[3,"header","content","expanded"],[1,"bv2-nav-item","bv2-nav-bookmark-group"],
[1,"bv2-nav-item-text"],["type","button","mat-icon-button","","disableRipple","true","aria-label","Bookmark group actions",1,"bv2-nav-item-menubutton","keep-focus-ring",3,"matMenuTriggerFor"],["matMenuContent",""],["type","button","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"],["type","button","mat-menu-item","",1,"bv2-user-hotlists-edit-menuitem",3,
"click"],["type","button","mat-menu-item","",1,"bv2-user-hotlists-edit-menuitem"],[1,"bv2-nav-links-no-indent","bookmark-group-content-list"],[1,"bv2-nav-item",3,"selected-indented","bv2-bookmark-group-hotlist-item","bv2-bookmark-group-saved-search-item","title"],[1,"bv2-nav-item",3,"title"],[1,"bv2-nav-indented",3,"click","href"],["type","button","mat-icon-button","","disableRipple","true","aria-label","Bookmark item actions",1,"bv2-nav-item-menubutton",3,"matMenuTriggerFor"]],template:function(a){a&
1&&(I(0,"div",6),K(1,"hr"),I(2,"sidebar-zippy",7),D(3,yob,3,1,"ng-template",null,0,ih)(5,Nob,1,1,"ng-template",null,1,ih),J()());if(a&2){a=L(4);var b=L(6);B(2);E("header",a)("content",b)}},dependencies:[pB,K_,eB,ly,xL,IL,GL,HL,JL,F_],encapsulation:2,changeDetection:0});var M_=function(){Z.call(this);var a=this;this.location=r(WN);this.activeSession=r(Bu);this.analytics=r(OF);this.sidebar=r(C_);this.paths=r(IP);this.routerEvents=r(NF);this.cdr=r(Ov);this.mcPrefs=r(dZ);this.ENABLE_MISSION_CONTROL=this.activeSession.isInternalSession();this.userEmail=this.activeSession.getUserEmail();this.subscriptions.add(this.routerEvents.routeChangeSuccess.subscribe(function(){a.cdr.detectChanges()}))};Y(M_,Z);M_.\u0275dir=Z.\u0275dir;M_.prototype.getUserEmail=function(){return this.userEmail};
M_.prototype.openEditHotlist=function(a){this.location.setUrl(Qq.editHotlist.makeHref(a))};M_.prototype.addToMissionControl=function(a){this.mcPrefs.addHotlist(a);this.location.setUrl(this.paths.home())};M_.prototype.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};M_.\u0275fac=function(a){return new (a||M_)};
M_.\u0275cmp=C({type:M_,selectors:[["sidebar-hotlists"]],inputs:{hotlists:"hotlists"},standalone:!1,features:[cg],decls:7,vars:2,consts:[["zippyHeader",""],["zippyContent",""],["menu",""],[1,"bv2-nav-section"],["prefKey","nav-hotlists",3,"header","content"],["aria-label","Search for hotlists",3,"itemSelect","click","showGroups"],[1,"hotlist-list"],[1,"bv2-nav-item","bv2-user-hotlists-hotlist-item",3,"selected","id","title"],[1,"bv2-nav-item","bv2-user-hotlists-hotlist-item",3,"id","title"],[3,"click",
"href"],[1,"bv2-nav-item-text"],["type","button","mat-icon-button","","disableRipple","true","aria-label","Hotlist actions keep-focus-ring",1,"bv2-nav-item-menubutton",3,"matMenuTriggerFor"],["matMenuContent",""],["svgIcon","more-settings-vertical"],["type","button","mat-menu-item",""],["type","button","mat-menu-item","",3,"click"],["svgIcon","settings",1,"icon-s"],["svgIcon","home",1,"icon-s"],["svgIcon","save",1,"icon-s"],["svgIcon","star-empty",1,"icon-s"]],template:function(a){a&1&&(I(0,"div",
3),K(1,"hr"),I(2,"sidebar-zippy",4),D(3,Oob,3,1,"ng-template",null,0,ih)(5,Wob,1,1,"ng-template",null,1,ih),J()());if(a&2){a=L(4);var b=L(6);B(2);E("header",a)("content",b)}},dependencies:[pB,K_,eB,ly,xL,IL,GL,HL,JL,F_],encapsulation:2,changeDetection:0});var N_=function(){Z.call(this);var a=this;this.cdr=r(cB,{self:!0});this.location=r(WN);this.savedSearchApi=r(XD);this.paths=r(IP);this.butterBar=r(fH);this.analytics=r(OF);this.sidebar=r(C_);this.errorHandler=r(CI);this.routerEvents=r(NF);this.confirmationDialogService=r(AI);this.appEvents=r(yD);this.mcPrefs=r(dZ);this.activeSession=r(Bu);this.ENABLE_MISSION_CONTROL=this.activeSession.isInternalSession();this.searches=[];this.subscriptions.add(this.routerEvents.routeChangeSuccess.subscribe(function(){a.cdr.detectChanges()}))};
Y(N_,Z);N_.\u0275dir=Z.\u0275dir;N_.prototype.openEditSavedSearch=function(a){this.location.setUrl(this.paths.editSavedSearch(a))};N_.prototype.addToMissionControl=function(a){eZ(this.mcPrefs,Or(a));this.location.setUrl(this.paths.home())};
var $ob=function(a,b){a.confirmationDialogService.open({title:"Deleting saved search: "+b.name,content:wi("Are you sure you want to delete this search?"),onConfirm:function(){W6c(a,b)}})},W6c=function(a,b){var c=b.id;jq(a.butterBar,'Deleting saved search "'+b.name+'"...');a.savedSearchApi.delete(c).then(function(){a.appEvents.savedSearchModified.next({savedSearchId:c,action:"delete"});jq(a.butterBar,'Deleted saved search "'+b.name+'".');a.analytics.trackEvent("sidebarSavedSearches","deleted");a.cdr.detectChanges()}).catch(function(d){a.errorHandler.errorHandler(null,
d)})};N_.prototype.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};N_.\u0275fac=function(a){return new (a||N_)};
N_.\u0275cmp=C({type:N_,selectors:[["sidebar-saved-searches"]],inputs:{searches:"searches"},standalone:!1,features:[ch([cB]),cg],decls:7,vars:2,consts:[["zippyHeader",""],["zippyContent",""],["menu",""],[1,"bv2-nav-section","bv2-nav-section-savedsearches"],["prefKey","nav-ss",3,"header","content"],[1,"saved-search-list"],[1,"bv2-nav-item",3,"selected","title"],[1,"bv2-nav-item",3,"title"],[1,"bv2-nav-item-link",3,"click","href"],[1,"bv2-nav-item-text"],["type","button","mat-icon-button","","disableRipple",
"true","aria-label","Saved search actions",1,"bv2-nav-item-menubutton",3,"matMenuTriggerFor"],["svgIcon","more-settings-vertical"],["matMenuContent",""],["type","button","mat-menu-item",""],["type","button","mat-menu-item","",3,"click"],["svgIcon","settings",1,"icon-s"],["svgIcon","delete",1,"icon-s"],["svgIcon","home",1,"icon-s"],["svgIcon","save",1,"icon-s"]],template:function(a){a&1&&(I(0,"div",3),K(1,"hr"),I(2,"sidebar-zippy",4),D(3,Xob,2,0,"ng-template",null,0,ih)(5,dpb,1,1,"ng-template",null,
1,ih),J()());if(a&2){a=L(4);var b=L(6);B(2);E("header",a)("content",b)}},dependencies:[pB,eB,ly,xL,IL,GL,HL,JL,F_],encapsulation:2,changeDetection:0});var X6c=function(){};X6c.\u0275fac=function(a){return new (a||X6c)};
X6c.\u0275cmp=C({type:X6c,selectors:[["ng-component"]],decls:0,vars:0,template:function(){},styles:[".mat-badge{position:relative}.mat-badge.mat-badge{overflow:visible}.mat-badge-content{position:absolute;text-align:center;display:inline-block;transition:transform 200ms ease-in-out;transform:scale(0.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;box-sizing:border-box;pointer-events:none;background-color:var(--mat-badge-background-color, var(--mat-sys-error));color:var(--mat-badge-text-color, var(--mat-sys-on-error));font-family:var(--mat-badge-text-font, var(--mat-sys-label-small-font));font-weight:var(--mat-badge-text-weight, var(--mat-sys-label-small-weight));border-radius:var(--mat-badge-container-shape, var(--mat-sys-corner-full))}.mat-badge-above .mat-badge-content{bottom:100%}.mat-badge-below .mat-badge-content{top:100%}.mat-badge-before .mat-badge-content{right:100%}[dir=rtl] .mat-badge-before .mat-badge-content{right:auto;left:100%}.mat-badge-after .mat-badge-content{left:100%}[dir=rtl] .mat-badge-after .mat-badge-content{left:auto;right:100%}@media(forced-colors: active){.mat-badge-content{outline:solid 1px;border-radius:0}}.mat-badge-disabled .mat-badge-content{background-color:var(--mat-badge-disabled-state-background-color, color-mix(in srgb, var(--mat-sys-error) 38%, transparent));color:var(--mat-badge-disabled-state-text-color, var(--mat-sys-on-error))}.mat-badge-hidden .mat-badge-content{display:none}.ng-animate-disabled .mat-badge-content,.mat-badge-content._mat-animation-noopable{transition:none}.mat-badge-content.mat-badge-active{transform:none}.mat-badge-small .mat-badge-content{width:var(--mat-badge-legacy-small-size-container-size, unset);height:var(--mat-badge-legacy-small-size-container-size, unset);min-width:var(--mat-badge-small-size-container-size, 6px);min-height:var(--mat-badge-small-size-container-size, 6px);line-height:var(--mat-badge-small-size-line-height, 6px);padding:var(--mat-badge-small-size-container-padding, 0);font-size:var(--mat-badge-small-size-text-size, 0);margin:var(--mat-badge-small-size-container-offset, -6px 0)}.mat-badge-small.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-small-size-container-overlap-offset, -6px)}.mat-badge-medium .mat-badge-content{width:var(--mat-badge-legacy-container-size, unset);height:var(--mat-badge-legacy-container-size, unset);min-width:var(--mat-badge-container-size, 16px);min-height:var(--mat-badge-container-size, 16px);line-height:var(--mat-badge-line-height, 16px);padding:var(--mat-badge-container-padding, 0 4px);font-size:var(--mat-badge-text-size, var(--mat-sys-label-small-size));margin:var(--mat-badge-container-offset, -12px 0)}.mat-badge-medium.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-container-overlap-offset, -12px)}.mat-badge-large .mat-badge-content{width:var(--mat-badge-legacy-large-size-container-size, unset);height:var(--mat-badge-legacy-large-size-container-size, unset);min-width:var(--mat-badge-large-size-container-size, 16px);min-height:var(--mat-badge-large-size-container-size, 16px);line-height:var(--mat-badge-large-size-line-height, 16px);padding:var(--mat-badge-large-size-container-padding, 0 4px);font-size:var(--mat-badge-large-size-text-size, var(--mat-sys-label-small-size));margin:var(--mat-badge-large-size-container-offset, -12px 0)}.mat-badge-large.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-large-size-container-overlap-offset, -12px)}\n"],encapsulation:2,
changeDetection:0});var O_=function(){this._ngZone=r(kh);this._elementRef=r(ef);this._ariaDescriber=r(Rw);this._renderer=r(Iv);this._animationMode=r(Gv,{optional:!0});this._idGenerator=r(Ww);this._color="primary";this.overlap=!0;this.position="above after";this.size="medium";this._isInitialized=!1;this._interactivityChecker=r(zw);this._document=r(ii);r(Aw).load(X6c);r(Aw).load(Bw)};g=O_.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()}Sw(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",this._idGenerator.getId("mat-badge-content-"));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){Sw(this._ariaDescriber,this._elementRef.nativeElement,this.description);a&&!this._isHostInteractive()||this._removeInlineDescription();this._description=a;this._isHostInteractive()?h8b(this._ariaDescriber,this._elementRef.nativeElement,a):this._updateInlineDescription()};
g._updateInlineDescription=function(){this._inlineBadgeDescription||(this._inlineBadgeDescription=this._document.createElement("span"),this._inlineBadgeDescription.classList.add("cdk-visually-hidden"));this._inlineBadgeDescription.textContent=this.description;var a;(a=this._badgeElement)==null||a.appendChild(this._inlineBadgeDescription)};g._removeInlineDescription=function(){var a;(a=this._inlineBadgeDescription)==null||a.remove();this._inlineBadgeDescription=void 0};
g._setColor=function(a){var b=this._elementRef.nativeElement.classList;b.remove("mat-badge-"+this._color);a&&b.add("mat-badge-"+a)};g._clearExistingBadges=function(){for(var a=k(Array.from(this._elementRef.nativeElement.querySelectorAll(":scope > .mat-badge-content"))),b=a.next();!b.done;b=a.next())b=b.value,b!==this._badgeElement&&b.remove()};
da.Object.defineProperties(O_.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)}}});O_.\u0275fac=function(a){return new (a||O_)};
O_.\u0275dir=Df({type:O_,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(a,b){a&2&&sg("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",uh],disabled:[2,"matBadgeDisabled","disabled",uh],position:[0,"matBadgePosition","position"],content:[0,"matBadge","content"],description:[0,"matBadgeDescription","description"],size:[0,"matBadgeSize","size"],hidden:[2,"matBadgeHidden","hidden",uh]},features:[dg]});var P_=function(){var a=this;this.cdr=r(cB,{self:!0});this.activeSession=r(Bu);this.butterBar=r(fH);this.appSearchState=r(TY);this.paths=r(IP);this.userPreferencesManager=r(TG);this.sidebar=r(C_);this.location=r(sw);this.appEvents=r(yD);this.missionControlPrefs=r(dZ);this.needsAttentionTaskFridge=r(mG);this.bLocation=r(WN);this.ROUTES=Qq;this.appName=this.activeSession.getAppName();this.userEmail=this.activeSession.getUserEmail();this.environmentType=this.activeSession.getEnvironmentType();this.missionControlTaskCount$=
this.appEvents.missionControlTaskCount;this.assignedPath=this.paths.listIssues({q:p4c(this.userEmail)});this.starredPath=this.paths.listIssues({q:this.appSearchState.getStarred()});this.ccdPath=this.paths.listIssues({q:"cc:"+this.userEmail});this.collaborateOnPath=this.paths.listIssues({q:"collaborator:"+this.userEmail});this.verifiedPath=this.paths.listIssues({q:r4c(this.userEmail)});this.reportedPath=this.paths.listIssues({q:"reporter:"+this.userEmail});this.componentsPath=Qq.listComponents.makeHref();
this.createBookmarkGroupPath=this.paths.createBookmarkGroup();this.missionControlPath=this.paths.home();this.sidebarData=this.sidebar.sidebarData;this.enableTriageView=Vt(this.activeSession,"enableTeamScope")&&this.activeSession.isInternalSession();this.enableMissionControlInTrackers=Vt(this.activeSession,"enableMissionControlInTrackers");this.enableMissionControlInExternalEnvironments=Vt(this.activeSession,"enableMissionControlInExternalEnvironments");this.enableHomepage=(this.activeSession.isInternalSession()||
this.enableMissionControlInExternalEnvironments)&&(!Hp(this.activeSession)||this.enableMissionControlInTrackers);this.paths.listIssues({q:"vote:true"});this.homepagePreferences$=this.userPreferencesManager.preferences$.pipe(z(function(d){return(d||HC).homepagePreferences}));this.hasPreferredHomepage$=this.homepagePreferences$.pipe(z(function(d){return!(!d||!d.resourceType)}),Pf());this.isHomepageMissionControl$=this.homepagePreferences$.pipe(z(function(d){return d.resourceType==="MISSION_CONTROL"}),
Pf());this.isHomepageAssignedToMe$=this.homepagePreferences$.pipe(z(function(d){return!a.enableHomepage&&!d.resourceType||d.resourceType==="ASSIGNED_TO_ME"}),Pf());this.hideBadgeInNav$=this.userPreferencesManager.preferences$.pipe(z(function(d){var e;return d==null?void 0:(e=d.missionControlPreferences)==null?void 0:e.hideBadgeInNav}),z(Boolean));this.destroyed$=new aB;var b,c=!!this.location.path().match(/^\/home\b/)&&!((b=this.missionControlPrefs.prefs.collapsed)==null?0:b["needs-attention-wrapper"]);
Vt(this.activeSession,"runQueryForSidebarIssueCount")&&setTimeout(function(){a.enableHomepage&&!c&&Ie([a.missionControlPrefs.needsAttentionTimeBoundary$,a.missionControlPrefs.needsAttentionSources$,a.missionControlPrefs.needsAttentionFilteredSignals$]).pipe(Zf(a.destroyed$),Pf(function(d,e){return oj(d,e)}),Yf(function(d){var e=k(d);d=e.next().value;var f=e.next().value;e=e.next().value;f=f.map(function(h){return kp(h)});return a.needsAttentionTaskFridge.watchMany({maxTaskAgeDays:d,sources:f,signalFilter:0,
filterSignals:e})}),z(function(d){return d.results.length})).subscribe(function(d){a.appEvents.missionControlTaskCount.next(d)})},1E3)};P_.prototype.ngOnInit=function(){var a=this;this.hasPreferredHomepage$.pipe(Zf(this.destroyed$)).subscribe(function(){setTimeout(function(){a.cdr.detectChanges()})})};P_.prototype.ngOnDestroy=function(){this.destroyed$.next()};
var hpb=function(a,b){jq(a.butterBar,"Updating homepage...",0);koc(a.userPreferencesManager,{resourceType:b}).subscribe(function(){jq(a.butterBar,"Homepage updated")})};P_.prototype.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};P_.prototype.isTriageUrlFor=function(a){if(!this.location.path().match(/^\/triage\b/))return!1;a=new RegExp("\\b"+a+"\\b");return!!this.location.path().match(a)};P_.prototype.goToTriageSettingsPage=function(){this.bLocation.setUrl(Qq.triageSettings.makeHref())};
P_.\u0275fac=function(a){return new (a||P_)};
P_.\u0275cmp=C({type:P_,selectors:[["b-sidebar"]],standalone:!1,features:[ch([cB])],decls:50,vars:31,consts:[["menu",""],["homepageMenu",""],[1,"bv2-nav-header"],[1,"bv2-nav-bar"],["role","region",1,"bv2-nav-links"],["aria-label","Canned searches",1,"canned-searches"],["id","mission-control-sidebar-link",1,"bv2-nav-item",3,"selected"],["id","assigned-to-me-sidebar-link",1,"bv2-nav-item"],[3,"click","href"],["svgIcon","issue-status-accepted",1,"canned-search-icon"],["type","button","mat-icon-button",
"","disableRipple","true","aria-label","Assigned issues actions",1,"bv2-nav-item-menubutton",3,"matMenuTriggerFor"],["matMenuContent",""],["svgIcon","star-filled",1,"canned-search-icon"],["svgIcon","person-add-18px",1,"canned-search-icon"],["svgIcon","user-attributes",1,"canned-search-icon"],["svgIcon","issue-status-fixed",1,"canned-search-icon"],[3,"bookmarkGroups"],[3,"searches"],[3,"hotlists"],[3,"hotlists","bookmarkGroups"],[1,"bv2-nav-manage-link"],[3,"href"],["id","mission-control-sidebar-link",
1,"bv2-nav-item"],["svgIcon","home","matBadgeColor","warn","matBadgeSize","small",1,"canned-search-icon",3,"matBadge","matBadgeHidden","matBadgeDescription"],["svgIcon","home",1,"canned-search-icon"],["type","button","mat-icon-button","","disableRipple","true","aria-label","More settings",1,"bv2-nav-item-menubutton",3,"matMenuTriggerFor"],["svgIcon","more-settings-vertical"],["type","button","mat-menu-item","",1,"bv2-user-hotlists-edit-menuitem",3,"click"]],template:function(a,b){if(a&1){var c=v();
I(0,"div",2);K(1,"b-create-issue-button");J();I(2,"div",3)(3,"div",4)(4,"ul",5);D(5,jpb,12,11,"li",6);I(6,"li",7)(7,"a",8);M("click",function(d){w(c);return x(b.onAnchorClick(b.assignedPath,d))});K(8,"mat-icon",9);Q(9," Assigned to me ");J();D(10,kpb,2,1,"button",10);S(11,"async");I(12,"mat-menu",null,0);D(14,lpb,2,0,"ng-template",11);J()();I(15,"li")(16,"a",8);M("click",function(d){w(c);return x(b.onAnchorClick(b.starredPath,d))});K(17,"mat-icon",12);Q(18," Starred by me ");J()();I(19,"li")(20,"a",
8);M("click",function(d){w(c);return x(b.onAnchorClick(b.ccdPath,d))});K(21,"mat-icon",13);Q(22," CC'd to me ");J()();I(23,"li")(24,"a",8);M("click",function(d){w(c);return x(b.onAnchorClick(b.collaborateOnPath,d))});K(25,"mat-icon",13);Q(26," Collaborating ");J()();I(27,"li")(28,"a",8);M("click",function(d){w(c);return x(b.onAnchorClick(b.reportedPath,d))});K(29,"mat-icon",14);Q(30," Reported by me ");J()();I(31,"li")(32,"a",8);M("click",function(d){w(c);return x(b.onAnchorClick(b.verifiedPath,d))});
K(33,"mat-icon",15);Q(34," To be verified ");J()()();D(35,mpb,1,0,"nav-sidebar-triage");K(36,"sidebar-bookmark-groups",16)(37,"sidebar-saved-searches",17)(38,"sidebar-hotlists",18)(39,"sidebar-archived",19)(40,"hr");I(41,"div",20)(42,"a",21);Q(43," Create hotlist ");J()();I(44,"div",20)(45,"a",21);Q(46," Create bookmark group ");J()();I(47,"div",20)(48,"a",21);Q(49," Browse components ");J()()()()}a&2&&(B(5),G(b.enableHomepage?5:-1),B(),sg("selected",q4c(b.appSearchState,b.userEmail)),B(),E("href",
b.assignedPath,vf),B(3),G(U(11,29,b.isHomepageAssignedToMe$)?-1:10),B(5),sg("selected",b.appSearchState.isStarred()),B(),E("href",b.starredPath,vf),B(3),sg("selected",b.appSearchState.currentQuery==="cc:"+b.userEmail),B(),E("href",b.ccdPath,vf),B(3),sg("selected",b.appSearchState.currentQuery==="collaborator:"+b.userEmail),B(),E("href",b.collaborateOnPath,vf),B(3),sg("selected",b.appSearchState.currentQuery==="reporter:"+b.userEmail),B(),E("href",b.reportedPath,vf),B(3),sg("selected",b.appSearchState.currentQuery===
r4c(b.userEmail)),B(),E("href",b.verifiedPath,vf),B(3),G(b.enableTriageView?35:-1),B(),E("bookmarkGroups",b.sidebarData.bookmarkGroups),B(),E("searches",b.sidebarData.userSearches),B(),E("hotlists",b.sidebarData.hotlists),B(),E("hotlists",b.sidebarData.archivedHotlists)("bookmarkGroups",b.sidebarData.archivedBookmarkGroups),B(3),E("href",b.ROUTES.createHotlist.makeHref(),vf),B(3),E("href",b.createBookmarkGroupPath,vf),B(3),E("href",b.componentsPath,vf))},dependencies:[z_,pB,eB,ly,xL,IL,GL,HL,JL,O_,
G_,H_,L_,M_,N_,ew],encapsulation:2});var Q_=function(){};Q_.\u0275fac=function(a){return new (a||Q_)};Q_.\u0275mod=Cf({type:Q_});Q_.\u0275inj=p({imports:[lC]});var R_=function(){};R_.\u0275fac=function(a){return new (a||R_)};R_.\u0275mod=Cf({type:R_});R_.\u0275inj=p({imports:[lC,Q_,eV,WM,BP,XZ,$Q,pC,bz,cR,QP]});var S_=function(){};S_.\u0275fac=function(a){return new (a||S_)};S_.\u0275mod=Cf({type:S_});S_.\u0275inj=p({imports:[lC,cN]});var T_=function(){};T_.\u0275fac=function(a){return new (a||T_)};T_.\u0275mod=Cf({type:T_});T_.\u0275inj=p({imports:[Qw,Ox,Ox]});var U_=function(){};U_.\u0275fac=function(a){return new (a||U_)};U_.\u0275mod=Cf({type:U_});U_.\u0275inj=p({imports:[S_,lC,R_,mC,bN,T_,cY,ZA,xQ]});var V_=function(){this.executor=r(MC)};V_.\u0275fac=function(a){return new (a||V_)};V_.\u0275prov=n({token:V_,factory:V_.\u0275fac,providedIn:"root"});var W_=function(){Z.apply(this,arguments);this.dialogRef=r(mI);this.tosApi=r(V_);this.ackChecked=!1};Y(W_,Z);W_.\u0275dir=Z.\u0275dir;W_.prototype.accept=function(){var a=this;this.tosApi.executor.post({url:"action/terms_ack",body:null,responseConstructor:null}).pipe(Zf(this.destroyed$)).subscribe(function(){a.dialogRef.close()})};W_.\u0275fac=function(){var a;return function(b){return(a||(a=ee(W_)))(b||W_)}}();
W_.\u0275cmp=C({type:W_,selectors:[["b-terms-of-service-dialog"]],standalone:!1,features:[cg],decls:16,vars:2,consts:[["mat-dialog-title",""],[1,"b-tos-content"],[3,"ngModelChange","ngModel"],["href","https://www.google.com/policies/terms/","target","_blank"],["href","/terms","target","_blank"],["type","button","mat-flat-button","",3,"click","disabled"]],template:function(a,b){a&1&&(I(0,"h1",0),Q(1,"Google IssueTracker Terms of Service"),J(),I(2,"mat-dialog-content")(3,"div",1)(4,"mat-checkbox",2),
bh("ngModelChange",function(c){ah(b.ackChecked,c)||(b.ackChecked=c);return c}),J(),I(5,"span"),Q(6," I acknowledge and agree to the "),I(7,"a",3),Q(8,"Google Terms of Service"),J(),Q(9," and the "),I(10,"a",4),Q(11,"Google IssueTracker Conduct Policy"),J(),Q(12,". "),J()()(),I(13,"mat-dialog-actions")(14,"button",5),M("click",function(){return b.accept()}),Q(15," OK "),J()());a&2&&(B(4),$g("ngModel",b.ackChecked),B(10),E("disabled",!b.ackChecked))},dependencies:[Gy,Ny,eB,jy,RH,SH,wI,yI,xI],styles:[".b-tos-content[_ngcontent-%COMP%]{padding-top:1em}.b-tos-content[_ngcontent-%COMP%]   mat-checkbox[_ngcontent-%COMP%]{padding-right:8px}"]});var X_=function(){Z.apply(this,arguments);this.activeSession=r(Bu);this.matDialogService=r(tI)};Y(X_,Z);X_.\u0275dir=Z.\u0275dir;X_.prototype.ngOnInit=function(){this.activeSession.getMustAcknowledgeTerms()&&nI(this.matDialogService.open(W_,{width:"400px",disableClose:!0})).pipe(Zf(this.destroyed$))};X_.\u0275fac=function(){var a;return function(b){return(a||(a=ee(X_)))(b||X_)}}();
X_.\u0275cmp=C({type:X_,selectors:[["b-terms-of-service"]],standalone:!1,features:[cg],decls:0,vars:0,template:function(){},encapsulation:2});var Y_=function(){};Y_.\u0275fac=function(a){return new (a||Y_)};Y_.\u0275mod=Cf({type:Y_});Y_.\u0275inj=p({imports:[bz,lC,mC,jN,XI]});var Z_=function(){};Z_.\u0275fac=function(a){return new (a||Z_)};Z_.\u0275mod=Cf({type:Z_});Z_.\u0275inj=p({imports:[lC,Y_]});var ppb=0;var Y6c=yl("blinkers-activated"),Z6c=xl("blinkers-activated"),$6c=xl("log-xhrs-to-console"),a7c=yl("log-xhrs-to-console"),b7c=qpb("debug-dom-mutation","var(--c400)"),c7c=qpb("debug-ng-zone","var(--red-400)"),d7c=qpb("debug-xhr","var(--green-500)",1200),e7c=function(a,b,c){b=b===void 0?"#ccc":b;c=c===void 0?400:c;ppb++;var d=156;d+=(ppb-1)*12;return function(e,f){f=f===void 0?b:f;var h,l=(h=document.getElementById(a))!=null?h:npb(a,d);l.style.transition="opacity "+c+"ms";l.style.backgroundColor=f;
l.style.opacity=e?"1":"0"}}("active-user","var(--yellow-500)"),a0=function(){var a=this;this.activityMonitor=r($A);this.userActivity=r(dB);this.destroyed$=new Uf;this.xhrLog=[];this.publicApi={isEnabled:this.isEnabled.bind(this),enable:this.enable.bind(this),disable:this.disable.bind(this)};this.onAnyClick=function(b){b.target.id==="debug-xhr"&&(b=!$6c(),a7c(b),b?f7c(a):clearInterval(a.loggingInterval))};this.printXhrLog=function(){var b=a.xhrLog.length;if(b>0){var c=Array(b).fill("\u2588").join("");
console.log(window.location.pathname.padEnd(20)+" XHRs: "+c+" "+(b>0?"("+b+")":""))}a.xhrLog=[]};this.isEnabled()&&g7c(this)};a0.prototype.ngOnDestroy=function(){h7c(this)};a0.prototype.isEnabled=function(){return Z6c()};a0.prototype.enable=function(){this.isEnabled()||(Y6c(!0),g7c(this))};a0.prototype.disable=function(){Y6c(!1);h7c(this)};
var g7c=function(a){a.activityMonitor.dom$.pipe(Zf(a.destroyed$)).subscribe(function(){return void b7c()});Mec(a.activityMonitor);a.activityMonitor.cdr$.pipe(Zf(a.destroyed$)).subscribe(function(){return void c7c()});a.activityMonitor.xhr$.pipe(Zf(a.destroyed$)).subscribe(function(){d7c();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(Zf(a.destroyed$)).subscribe(function(b){return void e7c(b)});
document.addEventListener("click",a.onAnyClick);$6c()&&f7c(a)},h7c=function(a){a.destroyed$.next();a.activityMonitor.domObserver.disconnect();document.removeEventListener("click",a.onAnyClick)},f7c=function(a){clearInterval(a.loggingInterval);a.loggingInterval=setInterval(a.printXhrLog,1E3)};a0.\u0275fac=function(a){return new (a||a0)};a0.\u0275prov=n({token:a0,factory:a0.\u0275fac,providedIn:"root"});var b0=function(){this.activeSession=r(Bu);this.email=this.activeSession.getUserEmail();this.user=Wj(this.activeSession.getUserEmail())};b0.\u0275fac=function(a){return new (a||b0)};b0.\u0275prov=n({token:b0,factory:b0.\u0275fac,providedIn:"root"});var c0=function(){var a=this;this.activeSession=r(Bu);this.appEvents=r(yD);this.ngZone=r(kh);this.window=r(MH);this.buganizerBlinkers=r(a0);this.currentUser=r(b0);this.routeParamsService=r(TH);this.componentPicker=r(XU);this.userPreferencesManager=r(TG);this.router=r(TA);this.issueFullFridge=r(QF);this.eventsForIssueFridge=r(NE);this.starredTeamsService=r(VG);this.teamsService=r(DG);this.fridges=[r(VC),r(aD),r(fD),r(jD),r(oD),r(uD),r(zD),r(ZD),r(eE),r(fE),r(NE),r(RE),r(SE),r(UD),r(XE),r(dF),r(hF),
r(QF),r(bG),r(lG),r(mG),r(nG),r(rG),r(sG),r(YD),r(xG),r(GG),r(HG),r(IG),r(NG)];this.getCurrentIssueId=function(){var b;return(b=a.routeParamsService.routeParams$.value)==null?void 0:b.issueId};this.getCurrentIssue=function(){return a.issueFullFridge.peek(a.getCurrentIssueId())};this.getCurrentIssueEvents=function(){return a.eventsForIssueFridge.peek(a.getCurrentIssueId())};this.enableExternalMentionsFe=Vt(this.activeSession,"enableExternalMentionsFe");this.getCurrentIssueAsText=function(){var b=a.getCurrentIssue();
if(b==null)return"";var c,d=(c=a.eventsForIssueFridge.peek(b.issueId))==null?void 0:c.events;return Cpb(a.enableExternalMentionsFe,b,d)}};
c0.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:Rbc,activeSession:this.activeSession,teamsService:this.teamsService,blinkers:this.buganizerBlinkers.publicApi,toggleDebugLogging:thc("debug-logging"),toggleOptOutExperiments:thc("opt-out-experiments"),currentUser:this.currentUser,userPreferencesManager:this.userPreferencesManager,modals:{componentPicker:this.componentPicker},
setFlagOverrideForOneDay:Fwa,clearFlagOverride:Gwa,clearAllFlagOverrides:Cwa,getCurrentIssueAsText:this.getCurrentIssueAsText,printCurrentIssueAsText:function(){var c=a.getCurrentIssueAsText();console.log(c)},get initialSession(){return Dl()},get initialPrefs(){return Dl().userPreferences},get currentPrefs(){return UG(b.userPreferencesManager)},get currentIssue(){return b.getCurrentIssue()},get currentIssueEvents(){return b.getCurrentIssueEvents()},get flags(){return Object.fromEntries(Dl().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 nic=!nic},setTrackerOverride:function(c){Fpb(String(c),1)},clearTrackerOverride:function(){Fpb("")},resetTriageStars:function(){return a.starredTeamsService.reset()},
getTeamExperiments:function(c){return Snc(a.teamsService,c)},updateTeamExperiments:function(c){return Tnc(a.teamsService,c)}})}};c0.\u0275fac=function(a){return new (a||c0)};c0.\u0275prov=n({token:c0,factory:c0.\u0275fac,providedIn:"root"});var i7c=function(a){this.delegate_=a};i7c.prototype.getDelegate=function(){return this.delegate_};var j7c=function(a,b){this.delegate_=a;this.currentTarget_=b;this.target_=null};Y(j7c,i7c);j7c.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=cSc(b,a.pop());return this.target_=b};j7c.prototype.getType=function(){return this.getDelegate().xa};var k7c=function(a){this.delegate_=a};Y(k7c,i7c);g=k7c.prototype;g.listen=function(a,b,c,d){var e=this;return this.getDelegate().za(a,function(f){return b.call(d||ya,new j7c(f,e))},c)};g.listenOnce=function(){throw Error("fg");};g.unlisten=function(){throw Error("fg");};g.unlistenByKey=function(){throw Error("fg");};g.dispatchEvent=function(){throw Error("fg");};g.removeAllListeners=function(){throw Error("fg");};g.getParentEventTarget=function(){throw Error("fg");};
g.fireListeners=function(){throw Error("fg");};g.getListener=function(){throw Error("fg");};g.hasListener=function(){throw Error("fg");};k7c.prototype[ulc]=!0;var d0=function(a){this.delegate_=a};Y(d0,k7c);d0.prototype.getHeight=function(){return this.getDelegate().pa()};d0.prototype.setPageTitle=function(){this.getDelegate().pb(void 0)};d0.prototype.setBackgroundColor=function(a){this.getDelegate().pd(a)};d0.prototype.getBackgroundColor=function(){return this.getDelegate().pn()};var l7c=function(a,b){this.delegate_=a;this.wrapperConstructor_=b||null};Y(l7c,i7c);l7c.prototype.then=function(a,b,c){var d;a&&(d=m7c(this,a));this.getDelegate().aa(d,b,c)};var m7c=function(a,b){var c=a.wrapperConstructor_;return c?function(d){b.call(this,new c(d))}:b};var e0=function(a){this.delegate_=a||gbar.a;this.gapiPromise_=this.barPromise_=null};Y(e0,i7c);e0.prototype.getGapi=function(){this.gapiPromise_||(this.gapiPromise_=new l7c(this.getDelegate().bh()));return this.gapiPromise_};e0.getInstance=function(){var a="instance_";e0.instance_&&e0.hasOwnProperty(a)?a=e0.instance_:(a=new e0,e0.instance_=a);return a};
var n7c=function(){return new Promise(function(a){window.gbar||(window.gbar={});if(window.gbar.a)return a(e0.getInstance());(new Promise(function(b){window.gbar.ap=b})).then(function(){return a(e0.getInstance())})})};var f0=function(){Z.apply(this,arguments);this.router=r(TA);this.window=r(MH)};Y(f0,Z);f0.\u0275dir=Z.\u0275dir;f0.prototype.start=function(){var a=this,b;return se(function(c){if(c.nextAddress==1)return y(c,n7c(),2);b=c.yieldResult;return c.return((new Promise(function(d,e){b.barPromise_||(b.barPromise_=new l7c(b.getDelegate().bf(),d0));b.barPromise_.then(d,e)})).then(function(d){o7c(a,d)}))})};var o7c=function(a,b){a.router.events.pipe(Ue(ij),Zf(a.destroyed$)).subscribe(function(){b.getDelegate().pl(a.window.location.href)})};
f0.\u0275fac=function(){var a;return function(b){return(a||(a=ee(f0)))(b||f0)}}();f0.\u0275prov=n({token:f0,factory:f0.\u0275fac,providedIn:"root"});var g0=function(){Z.apply(this,arguments);var a=this;this.paramsService=r(TH);this.issueFullFridge=r(QF);this.eventsForIssueFridge=r(NE);this.handlers$=this.paramsService.routeParams$.pipe(Pf(oj),Yf(function(b){return a.onRouteParamsChanged(b)}));this.init=function(){a.subscriptions.add(a.handlers$.subscribe(function(){}))};this.initOnce=Ij(this.init)};Y(g0,Z);g0.\u0275dir=Z.\u0275dir;
g0.prototype.onRouteParamsChanged=function(a){var b=this,c,d;return se(function(e){if(e.nextAddress==1){c={trustUncertainMemory:!0};if(!a.issueId)return e.jumpTo(2);d=a.issueId;return y(e,Promise.all([b.issueFullFridge.poke(d,c),b.eventsForIssueFridge.poke(d,c)]),3)}return e.return()})};g0.\u0275fac=function(){var a;return function(b){return(a||(a=ee(g0)))(b||g0)}}();g0.\u0275prov=n({token:g0,factory:g0.\u0275fac,providedIn:"root"});var h0=function(){var a=r(NF);Z.call(this);var b=this;this.scrollTimingMap=new Map;a.routeChangeSuccess.pipe(Zf(this.destroyed$)).subscribe(function(){b.scrollTimingMap.clear()})};Y(h0,Z);h0.\u0275dir=Z.\u0275dir;h0.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)};h0.\u0275fac=function(a){return new (a||h0)};
h0.\u0275prov=n({token:h0,factory:h0.\u0275fac,providedIn:"root"});var p7c=["leftSidebar"],i0=function(){Z.call(this);var a=this;this.appSearchState=r(TY);this.appEvents=r(yD);this.performanceToClearcut=r(LF);this.window=r(MH);this.issueComments=r(TI);this.oneGoogleBar=r(f0);this.scrollTiming=r(h0);this.pageTitleUpdaterService=r(v_);this.pageLoadOptimizerService=r(g0);this.bedbugService=r(c0);this.userActivity=r(dB);this.activatedRoute=r(Wi);this.router=r(TA);this.bLocation=r(WN);this.reloadService=r(A_);this.activeSession=r(Bu);this.hotkeys=r(uH);this.paths=r(IP);
this.userPrefs=r(TG);this.issuePagination=r(t_);this.userFeedback=r(aQ);this.matDialogService=r(tI);this.renderer=r(Iv);this.densityClass="d-comfort";this.announcement=this.dismissedMessageId=null;this.sidebarWidth=220;this.isAnonymous=this.activeSession.isAnonymous();this.navigationEnd$=this.router.events.pipe(Ue(ij));this.hideAppChrome=!1;this.bedbugService.install();this.userActivity.install();Jl("enableGapiRedirect")&&Bnb();Xlc(this.performanceToClearcut);this.subscriptions.add(this.appEvents.onClickAppMenuIcon.subscribe(function(){var u;
(u=a.leftSidebar)==null||u.toggle()}));this.renderer.addClass(document.body,this.densityClass);this.userPrefs.themePreferences$.pipe(Zf(this.destroyed$)).subscribe(function(u){u=Npb(u.density);u!==a.densityClass&&(a.renderer.addClass(document.body,u),a.renderer.removeClass(document.body,a.densityClass),a.densityClass=u)});this.subscriptions.add(v4c(this.appSearchState,function(u){a.doSearch(u)}));var b=[{keys:["/","F3"],displayAs:"/ or F3",description:"Search",onPress:function(){var u=document.querySelector(".search-box-container .search-box");
u==null||u.focus();u==null||u.select()}},{keys:[Dp("2"),$Ga()],displayAs:"@ or Alt+Shift+f",description:"Send feedback",onPress:function(){a.startFeedback()}},{keys:["c"],displayAs:"c",description:"Create issue",onPress:function(){a.bLocation.setUrl(c)}}];this.activeSession.isInternalSession()&&b.push({keys:[Ep("g","p")],displayAs:"g then p",description:"Go to your preferred homepage",onPress:function(){a.bLocation.setUrl("/")}},{keys:[Ep("g","h")],displayAs:"g then h",description:'Go to "Home"',
onPress:function(){a.bLocation.setUrl(a.paths.home())}});var c=this.paths.createIssue(),d=this.paths.listIssues({q:p4c(this.activeSession.getUserEmail())}),e=this.paths.listIssues({q:"cc:"+this.activeSession.getUserEmail()}),f=this.paths.listIssues({q:r4c(this.activeSession.getUserEmail())}),h=this.paths.listIssues({q:"reporter:"+this.activeSession.getUserEmail()}),l=this.paths.listIssues({q:this.appSearchState.getStarred()}),q=this.paths.listIssues({q:"vote:true"});b.push({keys:[Ep("g","a")],displayAs:"g then a",
description:'Go to "Assigned to me"',onPress:function(){a.bLocation.setUrl(d)}},{keys:[Ep("g","c")],displayAs:"g then c",description:'Go to "CC\'d to me"',onPress:function(){a.bLocation.setUrl(e)}},{keys:[Ep("g","r")],displayAs:"g then r",description:'Go to "Reported by me"',onPress:function(){a.bLocation.setUrl(h)}},{keys:[Ep("g","s")],displayAs:"g then s",description:'Go to "Starred by me"',onPress:function(){a.bLocation.setUrl(l)}},{keys:[Ep("g","1")],displayAs:"g then 1",description:'Go to "Upvoted by me"',
onPress:function(){a.bLocation.setUrl(q)}},{keys:[Ep("g","v")],displayAs:"g then v",description:'Go to "To be verified"',onPress:function(){a.bLocation.setUrl(f)}},{keys:[],displayAs:"Ctrl+Enter",description:"Submit entered text (while focused)",onPress:function(){}},{keys:[],displayAs:"Alt+Right",description:"Opens hovercard (if available)",onPress:function(){}},{keys:["?",ZGa("F1")],displayAs:"? or Ctrl+F1",description:"Display the keyboard shortcuts pop-up",onPress:function(){a.matDialogService.open(n_,
{minWidth:512})}});this.subscriptions.add(vH(this.hotkeys,{title:"General",hotkeys:b}));this.announcement=this.activeSession.getAnnouncement();this.userPrefs.preferences$.pipe(Nf(),Zf(this.destroyed$)).subscribe(function(u){a.dismissedMessageId=u.bannerMessageId||"";var A;a.sidebarWidth=((A=u.layoutPreferences)==null?void 0:A.leftSidebarWidth)||220});this.oneGoogleBar.start();Qo()&&(Ckc!=null&&Ckc.disconnect(),Ckc=new Ro.PerformanceObserver(DEa),Ckc.observe({entryTypes:["measure"]}));setTimeout(Anb,
6E4);this.scrollTiming.start();this.pageTitleUpdaterService.initOnce();this.pageLoadOptimizerService.initOnce();this.window.emergencyBugjugglerWorkaround={session:this.activeSession,issueComments:this.issueComments};q7c(this);this.subscriptions.add(this.navigationEnd$.subscribe(function(){q7c(a)}))};Y(i0,Z);i0.\u0275dir=Z.\u0275dir;
var Kpb=function(a,b){var c;return se(function(d){if(d.nextAddress==1){if(b===a.sidebarWidth)return d.return();a.sidebarWidth=b;return y(d,Fe(a.userPrefs.layoutPreferences$),2)}c=d.yieldResult;return y(d,Fe(a.userPrefs.save({layoutPreferences:Object.assign({},c,{leftSidebarWidth:b})})),0)})};i0.prototype.doSearch=function(a){a=this.paths.listIssues({q:a});var b=uFc(this.paths,a);p6c(this.issuePagination);b&&H6c(this.reloadService);this.bLocation.setUrl(a)};
var Hpb=function(a){a.announcement!==null&&(a.dismissedMessageId=a.announcement.messageId,a.userPrefs.save({bannerMessageId:a.dismissedMessageId}).pipe(Nf(),Zf(a.destroyed$)).subscribe())};i0.prototype.startFeedback=function(){this.userFeedback.startFeedback()};
var q7c=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")};i0.\u0275fac=function(a){return new (a||i0)};
i0.\u0275cmp=C({type:i0,selectors:[["app-root"]],viewQuery:function(a,b){a&1&&Rg(p7c,5);if(a&2){var c;Vg(c=Wg())&&(b.leftSidebar=c.first)}},standalone:!1,features:[cg],decls:2,vars:1,consts:[["leftSidebar",""],["role","main",1,"full-width","full-height"],[1,"bv2-announce-bar"],[1,"bv2-content","flex-kids-x","border-top"],["id","main-app-nav",3,"size"],["id","skiplink-navigation-target","role","main",1,"flex","pos-rel"],"aria-live polite role status aria-atomic true".split(" "),[3,"innerHtml"],["role",
"button","tabindex","0",1,"announce-dismiss"],["role","button","tabindex","0",1,"announce-dismiss",3,"keydown.enter","keydown.space","click"],["id","main-app-nav",3,"widthChanged","size"]],template:function(a,b){a&1&&D(0,Gpb,2,0,"div",1)(1,Mpb,10,2);a&2&&G(b.hideAppChrome?0:1)},dependencies:function(){return[hA,E6c,F6c,f6c,eN,P_,X_,e6c]},encapsulation:2});var j0=function(){};j0.\u0275fac=function(a){return new (a||j0)};j0.\u0275mod=Cf({type:j0});
j0.\u0275inj=p({imports:[lC,x_,zP,y_,mC,m_,o_,hN,U_,Z_]});var k0=function(){};k0.\u0275fac=function(a){return new (a||k0)};k0.\u0275mod=Cf({type:k0});k0.\u0275inj=p({imports:[lC]});var l0=function(){};l0.\u0275fac=function(a){return new (a||l0)};l0.\u0275mod=Cf({type:l0});l0.\u0275inj=p({imports:[lC,mC,XI,AP,eQ,k0]});var r7c=["pickerToggle"],m0=function(){this.customAriaLabelledBy=this.customFormId=void 0;this.required=!1;this.valueChange=new aB};m0.\u0275fac=function(a){return new (a||m0)};
m0.\u0275cmp=C({type:m0,selectors:[["b-date-time-input"]],viewQuery:function(a,b){a&1&&Rg(r7c,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"],standalone:!1,decls:4,vars:6,consts:[["pickerToggle","bDateTimePickerToggle"],["mat-stroked-button","","type","button","bDateTimePickerToggle","",3,"bDateTimePickerToggleSelectedChange",
"id","bDateTimePickerToggleRequired","bDateTimePickerToggleSelected","bDateTimePickerToggleFocusTrapHost"],["mode","date",3,"date"]],template:function(a,b){if(a&1){var c=v();I(0,"button",1,0);M("bDateTimePickerToggleSelectedChange",function(d){w(c);b.value=d;b.valueChange.emit(d);return x()});D(2,Opb,1,1,"b-formatted-date-time",2)(3,Ppb,2,0,"ng-container");J()}a&2&&(E("id",b.customFormId)("bDateTimePickerToggleRequired",b.required)("bDateTimePickerToggleSelected",b.value)("bDateTimePickerToggleFocusTrapHost",
!1),jg("aria-labelledby",b.customAriaLabelledBy),B(2),G(b.value?2:3))},dependencies:[rQ,iH,eB,jy],styles:["/*# sourceMappingURL=date_time_input.css.map */"]});var s7c=["filterInput"],n0=function(){Z.apply(this,arguments);this.dateFormatter=r(GI);this.enumChoices=[];this.onSave=new aB;this.valueMap=new Map;this.sortedValues=[];this.filterValue=null;this.currentSelectedDate=void 0};Y(n0,Z);n0.\u0275dir=Z.\u0275dir;g=n0.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(Yf(function(){return Re(0)}),Zf(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 t7c=function(a){return a.filterValue&&a.type!=="REPEATED_DATE"?a.sortedValues.filter(function(b){return a.getDisplayString(b).includes(String(a.filterValue))}):a.sortedValues};
n0.prototype.addValue=function(){var a=this.filterValue;this.filterValue=null;a&&!this.valueMap.get(a)&&(this.valueMap.set(a,!0),u7c(this),this.onSave.emit({valueMap:this.valueMap,valueChanged:this.valueChanged()}))};n0.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()})};
n0.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})};n0.prototype.initValues=function(){this.valueMap=new Map(this.originalValueMap||[]);this.enumChoices=this.enumChoices||[];for(var a=k(this.enumChoices),b=a.next();!b.done;b=a.next())b=b.value,this.valueMap.has(b)||this.valueMap.set(b,!1);u7c(this)};
var u7c=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)})},Rpb=function(a){return!!a.filterValue&&a.type!=="REPEATED_ENUM"&&a.type!=="REPEATED_DATE"};n0.prototype.getDisplayString=function(a){return this.type==="REPEATED_DATE"?this.dateFormatter.formatUserCalendar(vj(a)):a};n0.prototype.getLabel=function(){return this.valueChanged()?"Changed":"Unchanged"};
n0.\u0275fac=function(){var a;return function(b){return(a||(a=ee(n0)))(b||n0)}}();
n0.\u0275cmp=C({type:n0,selectors:[["b-bulk-repeated-field-picker"]],viewQuery:function(a,b){a&1&&(Rg(JL,5),Rg(s7c,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"},standalone:!1,features:[cg,rv],decls:14,vars:6,consts:[["customFieldMenu","matMenu"],["filterInput",""],["mat-button","","type","button",1,"medium","primary",3,"matMenuTriggerFor"],["name",
"arrow-dropdown","size","small"],["role","option",1,"multi-edit-menuitem",3,"title"],[1,"filter"],["mat-input","","step","any",3,"type","ngModel","placeholder"],["mat-menu-item",""],[3,"change","click","checked","indeterminate"],["mat-input","","step","any",3,"keydown","click","ngModelChange","type","ngModel","placeholder"],["mat-menu-item","",3,"click"],[3,"valueChange","value"],["mat-menu-item","","aria-label","Add a date value","tabindex","0","aria-haspopup","true",3,"click"]],template:function(a,
b){a&1&&(I(0,"button",2)(1,"span"),Q(2),J(),K(3,"b-icon",3),J(),I(4,"mat-menu",null,0),yg(6,Qpb,3,4,"div",4,xg),K(8,"mat-divider"),I(9,"div",5),D(10,Spb,2,3,"input",6),J(),D(11,Tpb,1,0,"mat-divider")(12,Upb,2,0,"div",7)(13,Vpb,4,1,"div"),J());a&2&&(a=L(5),E("matMenuTriggerFor",a),B(2),Yg(b.getLabel()),B(4),zg(t7c(b)),B(4),G(b.type!=="REPEATED_DATE"?10:-1),B(),G(Rpb(b)?11:-1),B(),G(Rpb(b)?12:-1),B(),G(b.type==="REPEATED_DATE"?13:-1))},dependencies:[xL,IL,GL,JL,oQ,DM,eB,jy,RH,SH,oi,Gy,Ny,m0],styles:[".multi-edit-menuitem[_ngcontent-%COMP%]{padding:0 5px}.filter[_ngcontent-%COMP%]{padding:0 5px}/*# sourceMappingURL=bulk_repeated_field_picker.css.map */"]});var v7c=0,o0=function(a){this.changeDetectorRef=a;this.active=!1;this.id="b-list-option-"+v7c;v7c+=1};o0.prototype.setActiveStyles=function(){this.active=!0;this.changeDetectorRef.markForCheck()};o0.prototype.setInactiveStyles=function(){this.active=!1;this.changeDetectorRef.markForCheck()};o0.\u0275fac=function(a){return new (a||o0)(hf(Ov))};
o0.\u0275dir=Df({type:o0,selectors:[["","onedevListOption",""]],hostVars:3,hostBindings:function(a,b){a&2&&(Dg("id",b.id),sg("active",b.active))},inputs:{option:"option"},exportAs:["onedevListOption"],standalone:!1});var p0=function(){};p0.\u0275fac=function(a){return new (a||p0)};p0.\u0275mod=Cf({type:p0});p0.\u0275inj=p({});var Ypb=function(a){return{$implicit:a}},q0=function(a){var b=this;this.includeEmptyOption=this.disabled=!1;this.emptyOptionValue=void 0;this.showFilterBar=!1;this.options$=new Xi([]);this.filterText$=new Xi("");this.filteredOptions$=Ie([this.options$,this.filterText$]).pipe(z(function(c){var d=k(c);c=d.next().value;var e=d.next().value;return b.filterFunction!==void 0&&b.filterFunction!==null?c.filter(function(f){return b.filterFunction(e,f)}):c}));this.valueChange=new Dv;this.selected=new Dv;this.destroyed$=
new Tf(1);a&&this.handleKeydown(a.keydown$)};g=q0.prototype;g.ngOnInit=function(){};g.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete()};g.ngAfterViewInit=function(){this.keyManager=Zw(Yw(new cx(this.viewOptions)))};g.ngOnChanges=function(a){a.value&&w7c(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 w7c=function(a){if(a.keyManager)if(a.includeEmptyOption&&a.isSelected(a.emptyOptionValue))a.keyManager.setActiveItem(0);else{var b=a.options.findIndex(function(c){return a.isSelected(c)});b!==-1&&(a.keyManager.setActiveItem(a.includeEmptyOption?b+1:b),x7c(a))}};q0.prototype.clearActiveItem=function(){this.keyManager&&this.keyManager.activeItem&&this.keyManager.setActiveItem(-1)};
q0.prototype.handleKeydown=function(a){var b=this;a.pipe(Zf(this.destroyed$)).subscribe(function(c){if(!b.disabled&&b.keyManager){var d=c.code;d==="ArrowUp"||d==="ArrowDown"?(c.preventDefault(),b.keyManager.onKeydown(c),x7c(b)):d==="Home"||d==="End"?(c.preventDefault(),d==="Home"?b.keyManager._setActiveItemByIndex(0,1):p8b(b.keyManager),x7c(b)):d!=="Enter"&&d!=="Space"||!b.keyManager.activeItem||(c.preventDefault(),b.select(b.keyManager.activeItem.option))}})};
var x7c=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"})}};q0.\u0275fac=function(a){return new (a||q0)(hf(zH,8))};
q0.\u0275cmp=C({type:q0,selectors:[["onedev-selectable-list"]],viewQuery:function(a,b){a&1&&Rg(o0,5);if(a&2){var c;Vg(c=Wg())&&(b.viewOptions=c)}},hostAttrs:["role","listbox"],hostVars:3,hostBindings:function(a,b){a&1&&M("focus",function(){return w7c(b)})("blur",function(){return b.clearActiveItem()});a&2&&(a=b.keyManager&&b.keyManager.activeItem?b.keyManager.activeItem.id:void 0,jg("aria-activedescendant",a)("aria-disabled",b.disabled)("aria-label",b.label))},inputs:{value:"value",options:"options",
optionTemplate:"optionTemplate",disabled:"disabled",includeEmptyOption:"includeEmptyOption",emptyOptionValue:"emptyOptionValue",label:"label",showFilterBar:"showFilterBar",filterFunction:"filterFunction"},outputs:{valueChange:"valueChange",selected:"selected"},standalone:!1,features:[rv],decls:3,vars:4,consts:[["filterEl",""],["optionDisplay",""],["customOptionDisplay",""],["emptyOption",""],["class","filter-bar","onedevListOption","",4,"ngIf"],[4,"ngIf"],["onedevListOption","",1,"filter-bar"],["xmlns",
"http://www.w3.org/2000/svg","viewBox","0 0 24 24"],["d","M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z"],["placeholder","Type to filter","spellcheck","false",3,"input"],["role","option","onedevListOption","",3,"option","click",4,"ngIf"],[4,"ngFor","ngForOf"],["role","option","onedevListOption","",3,"click","option"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[4,"ngIf","ngIfElse"],["aria-label","empty"]],template:function(a,b){a&1&&(D(0,Wpb,5,0,"div",4)(1,iqb,5,2,"ng-container",5),S(2,"async"));
a&2&&(E("ngIf",b.showFilterBar),B(),E("ngIf",U(2,2,b.filteredOptions$)))},dependencies:[bw,cw,dw,o0,ew],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 y7c=["trigger"],kqb=function(a){return{$implicit:a}},z7c=0,r0=function(a){this.includeEmptyOption=this.disabled=!1;this.emptyOptionValue=void 0;this.showFilterBar=!1;this.label="";this.valueChange=new Dv;this.displayArrowIcon=!0;this.focused=this.required=this.openPopupOnInit=!1;this.contentId="onedev-single-select-"+z7c;this.onChange=function(){};this.onTouched=function(){};if(a===""||a==="true"||a==="required")this.required=!0;z7c++};Y(r0,CU);g=r0.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 A7c=function(a){var b="";a.label&&(b+=a.label+", ");a.required&&(b+="required, ");return b};r0.prototype.setDisabledState=function(a){this.disabled=a};da.Object.defineProperties(r0.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.val},set:function(a){a!==this.val&&this.writeValue(a)}}});r0.\u0275fac=function(a){return new (a||r0)($d("required"))};
r0.\u0275cmp=C({type:r0,selectors:[["onedev-single-select"]],viewQuery:function(a,b){a&1&&Rg(y7c,7);if(a&2){var c;Vg(c=Wg())&&(b.popupTrigger=c.first)}},inputs:{value:"value",options:"options",disabled:"disabled",includeEmptyOption:"includeEmptyOption",emptyOptionValue:"emptyOptionValue",showFilterBar:"showFilterBar",filterFunction:"filterFunction",label:"label",labelledById:"labelledById",valueTemplate:"valueTemplate",optionTemplate:"optionTemplate",displayArrowIcon:"displayArrowIcon",openPopupOnInit:"openPopupOnInit"},
outputs:{valueChange:"valueChange"},standalone:!1,features:[ch([{provide:Ay,useExisting:ld(function(){return r0}),multi:!0},{provide:CU,useExisting:ld(function(){return r0}),multi:!0}]),cg],decls:13,vars:20,consts:[["trigger","onedevPopupPanelTrigger"],["optionTemplateOrTextLabel",""],["textLabel",""],["panel","onedevPopupPanel"],["emptyValue",""],["onedevPopupPanelTrigger","",3,"focus","blur","click","closed","onedevPopupPanelTriggerDisabled","disabled","onedevPopupPanelTriggerFor"],[1,"cdk-visually-hidden"],
[4,"ngIf","ngIfElse"],["class","arrow-icon","xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",4,"ngIf"],["onedevKeyEventReceiver","",3,"relayOnly"],["tabindex","0",1,"single-select-panel",3,"valueChange","selected","value","includeEmptyOption","emptyOptionValue","options","optionTemplate","label","showFilterBar","filterFunction"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["aria-label","empty"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",1,"arrow-icon"],["d","M7 10l5 5 5-5H7z"]],
template:function(a,b){if(a&1){var c=v();I(0,"button",5,0);M("focus",function(){w(c);return x(b.focused=!0)})("blur",function(){w(c);return x(b.focused=!1)})("click",function(){w(c);var e=L(1);return x(e.open())})("closed",function(){w(c);b.onTouched();return x()});I(2,"span",6);Q(3);J();D(4,lqb,2,4,"ng-container",7)(5,oqb,1,2,"ng-template",null,1,ih)(7,rqb,3,2,"ng-template",null,2,ih)(9,sqb,2,0,"svg",8);J();I(10,"onedev-popup-panel",9,3)(12,"onedev-selectable-list",10);M("valueChange",function(e){w(c);
return x(b.onSelectionChange(e))})("selected",function(){w(c);var e=L(1);return x(e.close())});J()()}if(a&2){a=L(6);var d=L(11);sg("active",b.isActive());E("onedevPopupPanelTriggerDisabled",b.disabled)("disabled",b.disabled)("onedevPopupPanelTriggerFor",d);jg("id",b.contentId)("aria-labelledby",b.contentAriaLabelledBy());B(3);Yg(A7c(b));B();E("ngIf",b.valueTemplate)("ngIfElse",a);B(5);E("ngIf",b.displayArrowIcon);B();E("relayOnly",!0);B(2);E("value",b.value)("includeEmptyOption",b.includeEmptyOption)("emptyOptionValue",
b.emptyOptionValue)("options",b.options)("optionTemplate",b.optionTemplate)("label",b.label)("showFilterBar",b.showFilterBar)("filterFunction",b.filterFunction)}},dependencies:[cw,dw,zH,q0,AH,BH],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 Aqb=function(){return[]},s0=function(){this.data=r(sI);this.dialogRef=r(mI);this.customFields=[];this.originalCustomFields=new Map;this.repeatedCustomFieldsMap=new Map;this.issues=this.data;this.bulkEditOps=[]};g=s0.prototype;
g.ngOnInit=function(){for(var a=new Map,b=null,c=k(this.issues),d=c.next();!d.done;d=c.next()){var e=d.value;d=e.customFieldMap;e=e.customFieldValueMap;if(!b){b=new Map;for(var f=k(Object.keys(d)),h=f.next();!h.done;h=f.next())h=h.value,b.set(uj(h),e[h]||void 0)}f=k(b);for(h=f.next();!h.done;h=f.next()){var l=k(h.value);h=l.next().value;l=l.next().value;var q=d[h],u=e[h],A=void 0,F=(A=q)==null?void 0:A.type;if(q)if(F==="REPEATED_DATE"||F==="REPEATED_ENUM"||F==="REPEATED_NUMERIC"||F==="REPEATED_TEXT"){l=
this.repeatedCustomFieldsMap.get(h)||new Map;q=l.size===0;u=B7c(u);A=Array.from(l.keys()).concat(u);A=k(A);for(F=A.next();!F.done;F=A.next())F=F.value,u.includes(F)?l.has(F)||l.set(F,q||null):l.set(F,null);this.repeatedCustomFieldsMap.set(h,l)}else(!u&&l!==void 0||u&&!oj(u,l))&&b.set(h,null);else b.delete(h)}d=k(Object.entries(d));for(e=d.next();!e.done;e=d.next())f=k(e.value),e=f.next().value,f=f.next().value,a.set(Number(e),pj(f))}this.customFields=Array.from(b.keys()).map(function(H){return a.get(H)}).filter(function(H){return H});
this.customFields=this.customFields.map(function(H){var N=b.get(H.customFieldId);H.hasMultipleValues=N===null;N?H=Object.assign(N,H):H.hasMultipleValues||H.type!=="ENUM"||(H.enumValue="");return H});c=k(this.customFields);for(d=c.next();!d.done;d=c.next())d=d.value,this.originalCustomFields.set(d.customFieldId,pj(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 vqb=function(a){return"bv2-custom-field-"+a.customFieldId+"-label"},B7c=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()}):[]},yqb=function(a){return a?Do(a):null},Cqb=function(a,b,c){for(var d=k(a.bulkEditOps),e=d.next();!e.done;e=d.next())e=e.value,e.actions=e.actions.filter(function(A){return A.customFieldValue.customFieldId!==
b});a.bulkEditOps=a.bulkEditOps.filter(function(A){return A.actions.length});if(c.valueChanged){d=k(a.issues);var f=d.next();for(e={};!f.done;e={issueValues$jscomp$1:void 0,action$jscomp$138:void 0},f=d.next()){f=f.value;var h=lea(f.customFieldValueMap,function(A){return A.customFieldId===b});e.issueValues$jscomp$1=B7c(h);c.valueMap.forEach(function(A){return function(F,H){F&&!A.issueValues$jscomp$1.includes(H)?A.issueValues$jscomp$1.push(H):F===!1&&(A.issueValues$jscomp$1=A.issueValues$jscomp$1.filter(function(N){return N!==
H}))}}(e));h=a.originalCustomFields.get(b).type;var l=[],q=[];h=="REPEATED_DATE"?l=e.issueValues$jscomp$1.map(function(A){return Eo(vj(A))}):h=="REPEATED_NUMERIC"&&(q=e.issueValues$jscomp$1.map(function(A){return Number(A)}));var u={customFieldId:b};switch(h){case "REPEATED_TEXT":u.repeatedTextValue={values:e.issueValues$jscomp$1};break;case "REPEATED_DATE":u.repeatedDateValue={values:l};break;case "REPEATED_ENUM":u.repeatedEnumValue={values:e.issueValues$jscomp$1};break;case "REPEATED_NUMERIC":u.repeatedNumericValue=
{values:q}}e.action$jscomp$138={fieldName:"customField",customFieldValue:u,actionType:Go(u)?"REMOVE":"ADD"};h=a.bulkEditOps.findIndex(function(A){return function(F){return F.actions.some(function(H){return oj(A.action$jscomp$138,H)})}}(e));h!==-1?a.bulkEditOps[h].issueIds.push(f.issueId):a.bulkEditOps.push({actions:[e.action$jscomp$138],issueIds:[f.issueId]})}}},C7c=function(a){var b=a.customFields.filter(function(l){return!l.type.includes("REPEATED")&&!oj(l,a.originalCustomFields.get(l.customFieldId))}),
c=[];b=k(b);for(var d=b.next();!d.done;d=b.next()){var e=d.value;d={customFieldId:e.customFieldId};switch(e.type){case "TEXT":d.textValue=e.textValue;break;case "DATE":d.dateValue=e.dateValue||void 0;break;case "ENUM":d.enumValue=e.enumValue;break;case "NUMERIC":var f=void 0;d.numericValue=(f=e.numericValue)!=null?f:void 0}if(e=Go(d))d.textValue="";c.push({fieldName:"customField",customFieldValue:d,actionType:e?"REMOVE":"ADD"})}if(c.length){var h=a.issues.map(function(l){return l.issueId});b=a.bulkEditOps.findIndex(function(l){a:if(l=
l.issueIds,Xa(h)&&Xa(l)&&h.length==l.length){for(var q=h.length,u=0;u<q;u++)if(h[u]!==l[u]){l=!1;break a}l=!0}else l=!1;return l});b!==-1?a.bulkEditOps[b].actions=a.bulkEditOps[b].actions.concat(c):a.bulkEditOps.push({actions:c,issueIds:h})}};s0.\u0275fac=function(a){return new (a||s0)};
s0.\u0275cmp=C({type:s0,selectors:[["b-bulk-custom-field-dialog"]],standalone:!1,decls:11,vars:1,consts:[["mat-dialog-title",""],[1,"bv2-create-adv-field"],["mat-button","","mat-dialog-close","","type","button",3,"class"],["mat-flat-button","","type","button","color","primary",1,"medium","dialog-primary-action","save",3,"click"],[1,"bv2-top-field-label"],["matTooltipPosition","right",3,"matTooltip"],["name","customInput","placeholder","no value","type","text",3,"ngModel"],["step","any","name","customInput",
"type","number",3,"ngModel"],[3,"value","options"],[3,"type","originalValueMap","enumChoices"],["name","customInput","placeholder","no value","type","text",3,"ngModelChange","ngModel"],["step","any","name","customInput","type","number",3,"ngModelChange","ngModel"],[3,"valueChange","value","required","customAriaLabelledBy","customFormId"],[3,"valueChange","value","options"],[3,"onSave","type","originalValueMap","enumChoices"],["title","Clear values",3,"click"]],template:function(a,b){a&1&&(I(0,"h2",
0),Q(1,"Update custom fields"),J(),I(2,"mat-dialog-content"),D(3,tqb,2,0,"div"),yg(4,Gqb,7,5,"div",1,xg),J(),I(6,"mat-dialog-actions")(7,"button",2),M("class",function(){return b.dialogRef.close()}),Q(8,"Cancel"),J(),I(9,"button",3),M("click",function(){C7c(b);b.bulkEditOps.length?b.dialogRef.close(b.bulkEditOps):b.dialogRef.close()}),Q(10," Save "),J()());a&2&&(B(3),G(b.customFields.length===0?3:-1),B(),zg(b.customFields))},dependencies:[uI,wI,yI,xI,r0,n0,oi,Py,Gy,Ny,m0,eB,jy,mB,rB],encapsulation:2});var t0=function(){};t0.\u0275fac=function(a){return new (a||t0)};t0.\u0275mod=Cf({type:t0});t0.\u0275inj=p({imports:[yQ,TM,mC,lC]});var u0=function(){};u0.\u0275fac=function(a){return new (a||u0)};u0.\u0275mod=Cf({type:u0});u0.\u0275inj=p({imports:[lC,bN,xQ,TQ,fP,mC,bR,jN,bz,t0]});var v0=function(){};v0.\u0275fac=function(a){return new (a||v0)};v0.\u0275mod=Cf({type:v0});v0.\u0275inj=p({imports:[mw]});var w0=function(){};w0.\u0275fac=function(a){return new (a||w0)};w0.\u0275mod=Cf({type:w0});w0.\u0275inj=p({imports:[mw,VM,p0]});var x0=function(){};x0.\u0275fac=function(a){return new (a||x0)};x0.\u0275mod=Cf({type:x0});x0.\u0275inj=p({imports:[mw,kC,VM,bz,v0,w0,pP]});var y0=function(){};y0.\u0275fac=function(a){return new (a||y0)};y0.\u0275mod=Cf({type:y0});y0.\u0275inj=p({imports:[lC,XI,x0,u0,bz,t0,mC,pC]});var z0=function(){};z0.\u0275fac=function(a){return new (a||z0)};z0.\u0275mod=Cf({type:z0});z0.\u0275inj=p({imports:[lC,TM,jN,mC,XI,XM,MN,BP,gP]});var D7c=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"]]),E7c=new Map([["ENABLED","Enabled"],["DISABLED","Disabled"]]),Jqb=new Map([["BUGANIZER_DEFAULT","Default (10 years)"],["CUSTOM_PERIOD","Custom Period"],["INDEFINITE_RETENTION","Indefinite"]]),Kqb=new Map([["BUGANIZER_DEFAULT",
"Default (60 days)"],["CUSTOM_PERIOD","Custom Period"],["INDEFINITE_RETENTION","Match Issue Retention"]]),A0=function(){this.$log=r(bB);this.activeSession=r(Bu);this.sessionIsInternal=this.activeSession.isInternalSession()};A0.\u0275fac=function(a){return new (a||A0)};A0.\u0275prov=n({token:A0,factory:A0.\u0275fac,providedIn:"root"});var Mqb=new Map([["SLO_SOURCE_UNSPECIFIED","--"],["USER","User"],["BUGSCOPE","Bugscope"]]);var F7c=new zd("GMAT_PAGINATOR_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var G7c=function(a){this.options=a};G7c.\u0275fac=function(a){return new (a||G7c)(hf(F7c))};G7c.\u0275dir=Df({type:G7c,selectors:[["mat-paginator"]],hostVars:2,hostBindings:function(a,b){a&2&&sg("gmat-mdc-paginator",!b.options.disableGmatStyle)},standalone:!1});var B0=function(){this.changes=new Uf;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}};B0.\u0275fac=function(a){return new (a||B0)};B0.\u0275prov=n({token:B0,factory:B0.\u0275fac,providedIn:"root"});
var H7c={provide:B0,deps:[[new tv,new uv,B0]],useFactory:function(a){return a||new B0}};var I7c=new zd("MAT_PAGINATOR_DEFAULT_OPTIONS"),C0=function(){var a=this;this._intl=r(B0);this._changeDetectorRef=r(Ov);this._pageSizeLabelId=r(Ww).getId("mat-paginator-page-size-label-");this._isInitialized=!1;this._initializedStream=new Tf(1);this._length=this._pageIndex=0;this._pageSizeOptions=[];this.showFirstLastButtons=this.hidePageSize=!1;this.selectConfig={};this.disabled=!1;this.page=new Dv;this.initialized=this._initializedStream;var b=this._intl,c=r(I7c,{optional:!0});this._intlChanges=
b.changes.subscribe(function(){return a._changeDetectorRef.markForCheck()});if(c){var d=c.pageSize,e=c.pageSizeOptions,f=c.hidePageSize,h=c.showFirstLastButtons;d!=null&&(this._pageSize=d);e!=null&&(this._pageSizeOptions=e);f!=null&&(this.hidePageSize=f);h!=null&&(this.showFirstLastButtons=h)}this._formFieldAppearance=(c==null?void 0:c.formFieldAppearance)||"outline"};g=C0.prototype;g.ngOnInit=function(){this._isInitialized=!0;this._updateDisplayedPageSizeOptions();this._initializedStream.next()};
g.ngOnDestroy=function(){this._initializedStream.complete();this._intlChanges.unsubscribe()};g.nextPage=function(){this.hasNextPage()&&this._navigate(this.pageIndex+1)};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})};g._navigate=function(a){var b=this.pageIndex;a!==b&&(this.pageIndex=a,this._emitPageEvent(b))};g._buttonClicked=function(a,b){b||this._navigate(a)};
da.Object.defineProperties(C0.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 vh(b,0)});this._updateDisplayedPageSizeOptions()}}});C0.\u0275fac=function(a){return new (a||C0)};
C0.\u0275cmp=C({type:C0,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-mdc-paginator"],inputs:{color:"color",pageIndex:[2,"pageIndex","pageIndex",vh],length:[2,"length","length",vh],pageSize:[2,"pageSize","pageSize",vh],pageSizeOptions:"pageSizeOptions",hidePageSize:[2,"hidePageSize","hidePageSize",uh],showFirstLastButtons:[2,"showFirstLastButtons","showFirstLastButtons",uh],selectConfig:"selectConfig",disabled:[2,"disabled","disabled",uh]},outputs:{page:"page"},exportAs:["matPaginator"],
features:[dg],decls:14,vars:12,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","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","disabled"],["mat-icon-button","","type","button","matTooltipPosition","above",
"disabledInteractive","",1,"mat-mdc-paginator-navigation-previous",3,"click","matTooltip","matTooltipDisabled","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","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-next",3,"click","matTooltip","matTooltipDisabled","disabled"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],
["mat-icon-button","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","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","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-first",3,"click","matTooltip","matTooltipDisabled","disabled"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-last",3,"click","matTooltip","matTooltipDisabled","disabled"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],
template:function(a,b){a&1&&(I(0,"div",1)(1,"div",2),D(2,Sqb,5,4,"div",3),I(3,"div",4)(4,"div",5),Q(5),J(),D(6,Tqb,3,4,"button",6),I(7,"button",7),M("click",function(){return b._buttonClicked(b.pageIndex-1,b._previousButtonsDisabled())}),Ud(),I(8,"svg",8),K(9,"path",9),J()(),Vd(),I(10,"button",10),M("click",function(){return b._buttonClicked(b.pageIndex+1,b._nextButtonsDisabled())}),Ud(),I(11,"svg",8),K(12,"path",11),J()(),D(13,Uqb,3,4,"button",12),J()()());a&2&&(B(2),G(b.hidePageSize?-1:2),B(3),
R(" ",b._intl.getRangeLabel(b.pageIndex,b.pageSize,b.length)," "),B(),G(b.showFirstLastButtons?6:-1),B(),E("matTooltip",b._intl.previousPageLabel)("matTooltipDisabled",b._previousButtonsDisabled())("disabled",b._previousButtonsDisabled()),jg("aria-label",b._intl.previousPageLabel),B(3),E("matTooltip",b._intl.nextPageLabel)("matTooltipDisabled",b._nextButtonsDisabled())("disabled",b._nextButtonsDisabled()),jg("aria-label",b._intl.nextPageLabel),B(3),G(b.showFirstLastButtons?13:-1))},dependencies:[lz,
NL,Zx,ly,rB],styles:[".mat-mdc-paginator{display:block;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-paginator-container-text-color, var(--mat-sys-on-surface));background-color:var(--mat-paginator-container-background-color, var(--mat-sys-surface));font-family:var(--mat-paginator-container-text-font, var(--mat-sys-body-small-font));line-height:var(--mat-paginator-container-text-line-height, var(--mat-sys-body-small-line-height));font-size:var(--mat-paginator-container-text-size, var(--mat-sys-body-small-size));font-weight:var(--mat-paginator-container-text-weight, var(--mat-sys-body-small-weight));letter-spacing:var(--mat-paginator-container-text-tracking, var(--mat-sys-body-small-tracking));--mat-form-field-container-height:var(--mat-paginator-form-field-container-height, 40px);--mat-form-field-container-vertical-padding:var(--mat-paginator-form-field-container-vertical-padding, 8px)}.mat-mdc-paginator .mat-mdc-select-value{font-size:var(--mat-paginator-select-trigger-text-size, var(--mat-sys-body-small-size))}.mat-mdc-paginator .mat-mdc-form-field-subscript-wrapper{display:none}.mat-mdc-paginator .mat-mdc-select{line-height:1.5}.mat-mdc-paginator-outer-container{display:flex}.mat-mdc-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap;width:100%;min-height:var(--mat-paginator-container-size, 56px)}.mat-mdc-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-mdc-paginator-page-size{margin-right:0;margin-left:8px}.mat-mdc-paginator-page-size-label{margin:0 4px}.mat-mdc-paginator-page-size-select{margin:0 4px;width:84px}.mat-mdc-paginator-range-label{margin:0 32px 0 24px}.mat-mdc-paginator-range-actions{display:flex;align-items:center}.mat-mdc-paginator-icon{display:inline-block;width:28px;fill:var(--mat-paginator-enabled-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button[aria-disabled] .mat-mdc-paginator-icon{fill:var(--mat-paginator-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}[dir=rtl] .mat-mdc-paginator-icon{transform:rotate(180deg)}@media(forced-colors: active){.mat-mdc-icon-button[disabled] .mat-mdc-paginator-icon,.mat-mdc-paginator-icon{fill:currentColor;fill:CanvasText}.mat-mdc-paginator-range-actions .mat-mdc-icon-button{outline:solid 1px}}.mat-mdc-paginator-touch-target{display:var(--mat-paginator-touch-target-display, block);position:absolute;top:50%;left:50%;width:84px;height:48px;background-color:rgba(0,0,0,0);transform:translate(-50%, -50%);cursor:pointer}\n"],
encapsulation:2,changeDetection:0});var D0=function(){this.paths=r(IP);this.ROUTES=Qq;this.children=[];this.onVisit=new aB;this.pageSize=25;this.pageSizeOptions=[10,25,100];this.childrenOnPage=[]};D0.prototype.ngOnInit=function(){this.childrenOnPage=this.children.slice(0,this.pageSize)};D0.\u0275fac=function(a){return new (a||D0)};
D0.\u0275cmp=C({type:D0,selectors:[["b-component-children-list"]],inputs:{children:"children"},outputs:{onVisit:"onVisit"},standalone:!1,decls:4,vars:1,consts:[["card","onedevHovercard"],[3,"length","pageSize","pageSizeOptions"],[1,"component-children"],[3,"page","length","pageSize","pageSizeOptions"],[1,"keep-underline","keep-focus-ring",3,"click","onedevHovercardTrigger","href"],[3,"componentId"]],template:function(a,b){a&1&&(D(0,Vqb,1,3,"mat-paginator",1),I(1,"ul",2),yg(2,Wqb,6,4,"li",null,xg),
J());a&2&&(G(b.children.length>b.pageSize?0:-1),B(2),zg(b.childrenOnPage))},dependencies:[$H,fI,lR,G7c,C0],encapsulation:2});var E0=function(){};E0.\u0275fac=function(a){return new (a||E0)};E0.\u0275mod=Cf({type:E0});E0.\u0275inj=p({providers:[H7c],imports:[ny,mN,oC,C0]});var F0=function(){};F0.\u0275fac=function(a){return new (a||F0)};F0.\u0275mod=Cf({type:F0});F0.\u0275inj=p({providers:[Zzc],imports:[E0]});var G0=function(){};G0.\u0275fac=function(a){return new (a||G0)};G0.\u0275mod=Cf({type:G0});G0.\u0275inj=p({imports:[lC,WM,iY,F0]});var H0=function(){this.shouldShowCopyIssueShortLinks=!1;this.shortLinkPrefix="b/";this.onClickCopyIssueIds=new aB;this.onClickCopyIssueShortLinks=new aB;this.onClickCopyAsIssueSearch=new aB};H0.\u0275fac=function(a){return new (a||H0)};
H0.\u0275cmp=C({type:H0,selectors:[["b-copy-issue-id-button"]],inputs:{shouldShowCopyIssueShortLinks:"shouldShowCopyIssueShortLinks",shortLinkPrefix:"shortLinkPrefix"},outputs:{onClickCopyIssueIds:"onClickCopyIssueIds",onClickCopyIssueShortLinks:"onClickCopyIssueShortLinks",onClickCopyAsIssueSearch:"onClickCopyAsIssueSearch"},standalone:!1,decls:10,vars:2,consts:[["splitMenu","matMenu"],["type","button","mat-button","","aria-label","Copy selected issue IDs",1,"medium","icon-only",3,"click"],["name",
"copy","size","small"],["type","button","mat-button","","aria-label","More copy issue ID options",1,"medium","compact",3,"matMenuTriggerFor"],["name","arrow-dropdown","size","small"],["type","button","mat-menu-item",""],["type","button","mat-menu-item","",3,"click"]],template:function(a,b){if(a&1){var c=v();I(0,"b-button-group")(1,"button",1);M("click",function(){w(c);return x(b.onClickCopyIssueIds.emit())});K(2,"b-icon",2);J();I(3,"button",3);K(4,"b-icon",4);J();I(5,"mat-menu",null,0);D(7,Xqb,2,
1,"button",5);I(8,"button",6);M("click",function(){w(c);return x(b.onClickCopyAsIssueSearch.emit())});Q(9," Copy as issue search ");J()()()}a&2&&(a=L(6),B(3),E("matMenuTriggerFor",a),B(4),G(b.shouldShowCopyIssueShortLinks?7:-1))},dependencies:[xL,IL,GL,JL,eB,jy,e_,DM],encapsulation:2,changeDetection:0});cLa(eLa(dLa(function(a){this._elementRef=a})));t(["disabled","disableRipple","color","tabIndex"]);var J7c=function(){this.politeness="assertive";this.announcementMessage="";this.duration=0;this.data=null;this.horizontalPosition="center";this.verticalPosition="bottom"};var K7c=function(a,b){var c=this;this._overlayRef=b;this._afterDismissed=new Uf;this._afterOpened=new Uf;this._onAction=new Uf;this._dismissedByAction=!1;this.containerInstance=a;a._onExit.subscribe(function(){return c._finishDismiss()})};g=K7c.prototype;g.dismiss=function(){this._afterDismissed.closed||this.containerInstance.exit();clearTimeout(this._durationTimeoutId)};
g.dismissWithAction=function(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss());clearTimeout(this._durationTimeoutId)};g._dismissAfter=function(a){var b=this;this._durationTimeoutId=setTimeout(function(){return b.dismiss()},Math.min(a,2147483647))};g._open=function(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())};
g._finishDismiss=function(){this._overlayRef.dispose();this._onAction.closed||this._onAction.complete();this._afterDismissed.next({dismissedByAction:this._dismissedByAction});this._afterDismissed.complete();this._dismissedByAction=!1};g.afterDismissed=function(){return this._afterDismissed};g.afterOpened=function(){return this.containerInstance._onEnter};g.onAction=function(){return this._onAction};var L7c=ri("state",[ui("void, hidden",ti({transform:"scale(0.8)",opacity:0})),ui("visible",ti({transform:"scale(1)",opacity:1})),vi("* => visible",si("150ms cubic-bezier(0, 0, 0.2, 1)")),vi("* => void, * => hidden",si("75ms cubic-bezier(0.4, 0.0, 1, 1)",ti({opacity:0})))]);var M7c=0,I0=function(a,b,c,d,e){this._isDisposed=!1;this._ngZone=a;this._elementRef=b;this._changeDetectorRef=c;this._platform=d;this.snackBarConfig=e;this._document=r(ii);this._trackedModals=new Set;this._announceDelay=150;this._destroyed=!1;this._onAnnounce=new Uf;this._onExit=new Uf;this._onEnter=new Uf;this._animationState="void";this._liveElementId="mat-snack-bar-container-live-"+M7c++;this._live=e.politeness!=="assertive"||e.announcementMessage?e.politeness==="off"?"off":"polite":"assertive";
this._platform.FIREFOX&&(this._live==="polite"&&(this._role="status"),this._live==="assertive"&&(this._role="alert"))};Y(I0,Fx);g=I0.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(Nf()).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)})};I0.\u0275fac=function(a){return new (a||I0)(hf(kh),hf(ef),hf(Ov),hf(tw),hf(J7c))};I0.\u0275dir=Df({type:I0,viewQuery:function(a,b){a&1&&Rg(Ix,7);if(a&2){var c;Vg(c=Wg())&&(b._portalOutlet=c.first)}},standalone:!1,features:[cg]});var J0=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=J0.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=th({parent:b&&b.viewContainerRef&&b.viewContainerRef.injector||this._injector,providers:[{provide:J7c,useValue:b}]});a=a.attach(new Dx(this.snackBarContainerComponent,b.viewContainerRef,c));a.instance.snackBarConfig=b;return a.instance};
g._attach=function(a,b){var c=this,d=Object.assign({},new J7c,this._defaultConfig,b),e=this._createOverlay(d);b=this._attachSnackBarContainer(e,d);var f=new K7c(b,e);if(a instanceof Og)f.instance=b.attachTemplatePortal(new Ex(a,null,{$implicit:d.data,snackBarRef:f}));else{var h=this._createInjector(d,f);a=b.attachComponentPortal(new Dx(a,void 0,h));f.instance=a.instance}this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait)").pipe(Zf(e._detachments)).subscribe(function(l){e.overlayElement.classList.toggle(c.handsetCssClass,
l.matches)});d.announcementMessage&&b._onAnnounce.subscribe(function(){c._live.announce(d.announcementMessage,d.politeness)});this._animateSnackBar(f,d);return this._openedSnackBarRef=f};
g._animateSnackBar=function(a,b){var c=this;a.afterDismissed().subscribe(function(){c._openedSnackBarRef==a&&(c._openedSnackBarRef=null);b.announcementMessage&&c._live.clear()});this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(function(){a.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):a.containerInstance.enter();b.duration&&b.duration>0&&a.afterOpened().subscribe(function(){return a._dismissAfter(b.duration)})};
g._createOverlay=function(a){var b=new ux;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"):P8b(c);a.verticalPosition==="top"?c.top("0"):c.bottom("0");b.positionStrategy=c;return this._overlay.create(b)};
g._createInjector=function(a,b){return th({parent:a&&a.viewContainerRef&&a.viewContainerRef.injector||this._injector,providers:[{provide:K7c,useValue:b},{provide:ZG,useValue:a.data}]})};da.Object.defineProperties(J0.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}}});
J0.\u0275fac=function(a){return new (a||J0)(pd(Kx),pd(Pw),pd(Ye),pd(Jw),pd(J0,12),pd(Doc))};J0.\u0275prov=n({token:J0,factory:J0.\u0275fac});var K0=function(a,b){this.snackBarRef=a;this.data=b};K0.prototype.action=function(){this.snackBarRef.dismissWithAction()};da.Object.defineProperties(K0.prototype,{hasAction:{configurable:!0,enumerable:!0,get:function(){return!!this.data.action}}});K0.\u0275fac=function(a){return new (a||K0)(hf(K7c),hf(ZG))};
K0.\u0275cmp=C({type:K0,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-simple-snackbar"],hostVars:1,hostBindings:function(a){a&2&&jg("mat-id-collision",null)},standalone:!1,decls:3,vars:2,consts:[[1,"mat-simple-snack-bar-content"],["class","mat-simple-snackbar-action",4,"ngIf"],[1,"mat-simple-snackbar-action"],["mat-button","",3,"click"]],template:function(a,b){a&1&&(I(0,"span",0),Q(1),J(),D(2,Yqb,3,1,"div",1));a&2&&(B(),Yg(b.data.message),B(),E("ngIf",b.hasAction))},dependencies:[cw,rK],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 L0=function(){I0.apply(this,arguments)};Y(L0,I0);L0.\u0275dir=I0.\u0275dir;L0.prototype._afterPortalAttached=function(){I0.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")};L0.\u0275fac=function(){var a;return function(b){return(a||(a=ee(L0)))(b||L0)}}();
L0.\u0275cmp=C({type:L0,selectors:[["snack-bar-container"]],hostAttrs:[1,"mat-snack-bar-container"],hostVars:2,hostBindings:function(a,b){a&1&&Cla("@state.done",function(c){return b.onAnimationEnd(c)});a&2&&(Eg("@state",b._animationState),jg("mat-id-collision",null))},standalone:!1,features:[cg],decls:3,vars:3,consts:[["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(a,b){a&1&&(I(0,"div",0),D(1,Zqb,0,0,"ng-template",1),J(),K(2,"div"));a&2&&(B(2),jg("aria-live",b._live)("role",b._role)("id",
b._liveElementId))},dependencies:[Ix],styles:[".mat-snack-bar-container{border-radius:4px;box-sizing:border-box;display:block;margin:24px;max-width:33vw;min-width:344px;padding:14px 16px;min-height:48px;transform-origin:center}@media(forced-colors: active){.mat-snack-bar-container{border:solid 1px}}.mat-snack-bar-handset{width:100%}.mat-snack-bar-handset .mat-snack-bar-container{margin:8px;max-width:100%;min-width:0;width:100%}\n"],encapsulation:2,data:{animation:[L7c]}});var M0=function(){};M0.\u0275fac=function(a){return new (a||M0)};M0.\u0275mod=Cf({type:M0});M0.\u0275inj=p({imports:[Nx,Jx,mw,VM,Ox,Ox]});var N0=function(a,b,c,d,e,f){J0.call(this,a,b,c,d,e,f);this.simpleSnackBarComponent=K0;this.snackBarContainerComponent=L0;this.handsetCssClass="mat-snack-bar-handset"};Y(N0,J0);N0.\u0275fac=function(a){return new (a||N0)(pd(Kx),pd(Pw),pd(Ye),pd(Jw),pd(N0,12),pd(Doc))};N0.\u0275prov=n({token:N0,factory:N0.\u0275fac,providedIn:M0});var N7c={duration:1E3},O7c=new zd("xap-clipboard-snackbar-options"),O0=function(a,b,c){this.clipboard=a;this.snackBar=b;this.snackBarConfig=c;this.textJob=""},P7c=function(a){var b,c,d,e;return se(function(f){if(f.nextAddress==1){b=Object.assign({},N7c,a.snackBarConfig);c=a.text;if(!a.clipboard.copy(c))return a.snackBar.open("Failed to copy.",void 0,b),f.jumpTo(0);if(typeof a.textJob==="string"||(d=a.textJob)==null||!d.richText)return f.jumpTo(3);e=a.textJob.richText instanceof Function?a.textJob.richText():
a.textJob.richText;if(typeof ClipboardItem!=="undefined"){var h=new ClipboardItem({"text/html":new Blob([e],{type:"text/html"}),"text/plain":new Blob([c],{type:"text/plain"})});h=navigator.clipboard.write([h])}else h=Promise.resolve();return y(f,h,3)}a.snackBar.open("Copied to clipboard.",void 0,b);xe(f)})};
da.Object.defineProperties(O0.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}}});O0.\u0275fac=function(a){return new (a||O0)(hf(CH),hf(N0),hf(O7c,8))};O0.\u0275dir=Df({type:O0,selectors:[["","xapCopyToClipboard",""]],hostBindings:function(a,b){a&1&&M("click",function(){return P7c(b)})},inputs:{textJob:[0,"xapCopyToClipboard","textJob"]}});var P0=function(){};P0.prototype.getAriaLabel=function(){return this.ariaLabel?this.ariaLabel:this.ariaLabelledBy||this.ariaDescribedBy?null:"Copy content to clipboard"};P0.\u0275fac=function(a){return new (a||P0)};
P0.\u0275cmp=C({type:P0,selectors:[["xap-copy-button"]],hostAttrs:[1,"xap-copy-button"],hostVars:2,hostBindings:function(a,b){a&2&&sg("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"},decls:3,vars:7,consts:[["mat-icon-button","","type","button",3,"xapCopyToClipboard","disabled",
"color"],[1,"xap-clipboard-icon"]],template:function(a,b){a&1&&(I(0,"button",0)(1,"mat-icon",1),Q(2," content_copy "),J()());a&2&&(E("xapCopyToClipboard",b.copyText)("disabled",b.disabled)("color",b.color),jg("tabindex",b.tabIndex)("aria-label",b.getAriaLabel())("aria-labelledby",b.ariaLabelledBy)("aria-describedby",b.ariaDescribedBy))},dependencies:[mw,VM,rK,kC,pB,M0,O0],encapsulation:2,changeDetection:0});var Q0=function(){};Q0.\u0275fac=function(a){return new (a||Q0)};Q0.\u0275mod=Cf({type:Q0});Q0.\u0275inj=p({imports:[P0]});var R0=function(){};R0.\u0275fac=function(a){return new (a||R0)};R0.\u0275mod=Cf({type:R0});R0.\u0275inj=p({imports:[lC,bN,mC,h_,fP,Q0]});var S0=function(){this.clipboard=r(CH);this.analytics=r(OF);this.butterBar=r(fH);this.window=r(MH);this.activeSession=r(Bu);this.shortLinkPrefix=El(this.activeSession.session)?"b/":"b-qa/"},Bsb=function(a,b){a.clipboard.copy(b.join(", "));jq(a.butterBar,"Issue IDs copied.",2E3);a.analytics.trackEvent("listIssues","copyIssueId","IDs")},Csb=function(a,b){a.clipboard.copy(b.map(function(c){return a.shortLinkPrefix+c}).join(", "));jq(a.butterBar,"'"+a.shortLinkPrefix+"' links copied.",2E3);a.analytics.trackEvent("listIssues",
"copyIssueId","b/ links")},Dsb=function(a,b){b=Qq.listIssues.makeHref({q:"id:("+b.join("|")+")"});a.clipboard.copy(a.window.location.origin+b);jq(a.butterBar,"Issue search link copied.",2E3);a.analytics.trackEvent("listIssues","copyIssueId","Issue search link")};S0.\u0275fac=function(a){return new (a||S0)};S0.\u0275prov=n({token:S0,factory:S0.\u0275fac,providedIn:"root"});var T0=function(){};T0.\u0275fac=function(a){return new (a||T0)};T0.\u0275mod=Cf({type:T0});T0.\u0275inj=p({imports:[lC,WM,iY]});var U0=function(){};U0.\u0275fac=function(a){return new (a||U0)};U0.\u0275mod=Cf({type:U0});U0.\u0275inj=p({imports:[lC,bz,mC,GP,jN,XI,ON]});var V0=function(){this.componentActions=r(oR);this.errorHandler=r(CI);this.cdr=r(cB)};V0.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 W0=function(a,b){a.selectedId&&Q7c(a,a.selectedId);a.selectedId=b;if(a=R7c(a.selectedId))a.focus(),a.setAttribute("aria-selected","true")},X0=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},S7c=function(a){return!a.selectedId||a.selectedId<1?-1:a.components.findIndex(function(b){return b.componentId==a.selectedId})},Q7c=function(a,b){b&&(a=R7c(a.selectedId))&&a.setAttribute("aria-selected",
"false")},R7c=function(a){return a?document.getElementById("component-"+a):null},T7c=function(a){for(a=a.target;;){if(!a)return!1;if(a.tagName==="A")return!0;a=a.parentNode}};V0.\u0275fac=function(a){return new (a||V0)};V0.\u0275cmp=C({type:V0,selectors:[["component-subtree-list-base"]],standalone:!1,decls:0,vars:0,template:function(){},encapsulation:2});var crb=function(a){return{q:a}},Y0=function(){V0.apply(this,arguments);this.paths=r(IP);this.ROUTES=Qq;this.includeArchived=!1;this.childClosed=new aB;this.selectedId=null};Y(Y0,V0);Y0.prototype.ngOnInit=function(){};Y0.prototype.ngOnDestroy=function(){this.parentComponent.focusOnChildren=void 0};Y0.prototype.ngOnChanges=function(a){a.components&&U7c(this)};Y0.prototype.onSubtreeChildClosed=function(a){this.selectedId=a;W0(this,a);this.rootController.selectionChanged(this,a)};
var U7c=function(a){a.parentComponent.focusOnChildren||(a.parentComponent.focusOnChildren=function(){a.selectNext()})};g=Y0.prototype;
g.selectNext=function(){if(this.components)if(this.selectedId){var a=S7c(this),b=this.components[a];b.showChildren&&b.focusOnChildren&&!b.noChildren?(Q7c(this,this.selectedId),this.selectedId=null,b.focusOnChildren()):a+1!=this.components.length&&(W0(this,this.components[a+1].componentId),this.rootController.selectionChanged(this,this.selectedId))}else W0(this,this.components[0].componentId),this.rootController.selectionChanged(this,this.selectedId)};
g.selectPrevious=function(){var a=S7c(this);a==0?(this.selectedId=null,this.childClosed.emit(this.parentComponent.componentId)):(W0(this,this.components[a-1].componentId),this.rootController.selectionChanged(this,this.selectedId))};g.closeSubtree=function(){if(this.selectedId){var a=X0(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=X0(this);a&&this.showChildren(a)};g.setSelected=function(a,b){T7c(b)||(W0(this,a),this.rootController.selectionChanged(this,a),b.preventDefault(),b.stopPropagation())};g.toggleChildrenForSelectedId=function(){var a=X0(this);a&&(a.showChildren?(a.showChildren=!1,this.cdr.detectChanges()):this.showChildren(a))};Y0.\u0275fac=function(){var a;return function(b){return(a||(a=ee(Y0)))(b||Y0)}}();
Y0.\u0275cmp=C({type:Y0,selectors:[["component-subtree-list"]],inputs:{parentComponent:"parentComponent",rootController:"rootController",components:"components",includeArchived:"includeArchived"},outputs:{childClosed:"childClosed"},standalone:!1,features:[ch([cB]),cg,rv],decls:3,vars:0,consts:[[1,"components-list"],["tabindex","-1","role","treeitem","aria-selected","false",3,"id"],["tabindex","-1","role","treeitem","aria-selected","false",3,"click","id"],[1,"component-row"],[1,"selected-indicator"],
[1,"component-tree-toggle"],["matTooltip","Hide child components"],["matTooltip","Show child components"],[1,"component-info"],[1,"component-name",3,"href"],[3,"href"],[3,"accessLevel"],[3,"trackerId"],[1,"component-description"],[1,"component-buttons"],["mat-raised-button","","color","primary",3,"href"],["role","group","aria-expanded","true",1,"child-component-list"],["matTooltip","Hide child components",3,"click"],["svgIcon","arrow-dropdown"],["matTooltip","Show child components",3,"click"],["svgIcon",
"arrow-dropdown",2,"transform","rotate(-90deg)"],[1,"component-no-children"],[1,"bv2-view-loading"],[3,"components","parentComponent","rootController","includeArchived"],[3,"childClosed","components","parentComponent","rootController","includeArchived"]],template:function(a,b){a&1&&(I(0,"ol",0),yg(1,jrb,19,11,"li",1,xg),J());a&2&&(B(),zg(b.components))},dependencies:[pB,mB,rB,eB,ky,sL,IN,lL,Y0],encapsulation:2});var nrb=function(a){return{q:a}},Z0=function(){V0.call(this);this.paths=r(IP);this.hotkeys=r(uH);this.elementRef=r(ef);this.ROUTES=Qq;this.scrollArea=this.elementRef.nativeElement.parentElement;this.selectedId=null;this.includeArchived=!1;this.init=new aB;this.subscriptions=new je;this.destroyed$=new Tf(1);this.registerKeys()};Y(Z0,V0);g=Z0.prototype;
g.ngOnInit=function(){var a=this;this.rootController=this;Re(0).pipe(Zf(this.destroyed$)).subscribe(function(){V7c(a)&&!a.selectedId&&W0(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&&W7c(this)};g.onSubtreeChildClosed=function(a){var b=this;W0(this,a);this.focusedController=void 0;Re(0).pipe(Zf(this.destroyed$)).subscribe(function(){a1(b)})};
g.fireSelectionEvent=function(a){var b=R7c(a);b&&b.click();a1(this,a)};var W7c=function(a){Re(0).pipe(Zf(a.destroyed$)).subscribe(function(){V7c(a)&&!a.selectedId&&W0(a,a.components[0].componentId)})};g=Z0.prototype;g.selectionChanged=function(a,b){b&&a1(this,b);a!==this.focusedController&&(this.focusedController&&(b=this.focusedController,b.selectedId&&Q7c(b,b.selectedId),b.selectedId=null),this.focusedController=a||void 0)};
g.setSelected=function(a,b){T7c(b)||(W0(this,a),this.selectionChanged(null),a1(this),b.preventDefault(),b.stopPropagation())};
g.registerKeys=function(){var a=this;this.subscriptions.add(vH(this.hotkeys,{title:"Browse Controls",hotkeys:[{keys:["j","DOWN"],displayAs:"j / Down",description:"Move to the next component",onPress:function(){a.selectNext()}},{keys:["k","UP"],displayAs:"k / Up",description:"Move to the previous component",onPress:function(){a.selectPrevious()}},{keys:["RIGHT"],displayAs:"Right",description:"View the components children",onPress:function(){a.showChildrenForSelectedId()}},{keys:["LEFT"],displayAs:"Left",
description:"Close the components children",onPress:function(){a.closeSubtree()}},{keys:["SPACE","ENTER"],displayAs:"Space / Enter",description:"Toggle component children display",onPress:function(){a.toggleChildrenForSelectedId()}}]}))};g.showChildrenForSelectedId=function(){if(this.focusedController)this.focusedController.showChildrenForSelectedId();else{var a=X0(this);a&&this.showChildren(a)}};
g.toggleChildrenForSelectedId=function(){this.focusedController&&this.focusedController.toggleChildrenForSelectedId();var a=X0(this);a&&(a.showChildren?(a.showChildren=!1,this.cdr.detectChanges()):this.showChildren(a))};g.closeSubtree=function(){this.focusedController?this.focusedController.closeSubtree():this.selectedId&&(X0(this).showChildren=!1,this.cdr.detectChanges())};
g.selectPrevious=function(){if(this.focusedController)this.focusedController.selectPrevious();else{var a=S7c(this);V7c(this)&&a>=1&&(W0(this,this.components[a-1].componentId),a1(this))}};
g.selectNext=function(){if(V7c(this))if(this.focusedController)this.focusedController.selectNext();else if(this.selectedId){var a=S7c(this),b=this.components[a];b.showChildren&&b.focusOnChildren&&!b.noChildren?(Q7c(this,this.selectedId),this.selectedId=null,b.focusOnChildren()):a+1!=this.components.length&&(W0(this,this.components[a+1].componentId),a1(this))}else W0(this,this.components[0].componentId),a1(this)};
var a1=function(a,b){var c=X7c(a.scrollArea),d=c+a.scrollArea.offsetHeight;if(a=R7c(b||a.selectedId)){b=X7c(a);var e=b+a.offsetHeight;b<c?a.scrollIntoView(!1):e>d&&a.scrollIntoView(!0)}},X7c=function(a){for(var b=0;a&&a instanceof HTMLElement;)b+=a.offsetTop,a=a.offsetParent;return b},V7c=function(a){return!!(a.components&&a.components.length>0)};Z0.\u0275fac=function(a){return new (a||Z0)};
Z0.\u0275cmp=C({type:Z0,selectors:[["component-tree-list"]],inputs:{components:"components",includeArchived:"includeArchived"},outputs:{init:"init"},standalone:!1,features:[ch([cB]),cg,rv],decls:3,vars:0,consts:[["role","tree",1,"components-list"],["tabindex","-1","role","treeitem","aria-selected","false",3,"id"],["tabindex","-1","role","treeitem","aria-selected","false",3,"click","id"],[1,"component-row"],[1,"selected-indicator"],[1,"component-tree-toggle"],["matTooltip","Hide child components"],
["matTooltip","Show child components"],[1,"component-info"],[1,"component-name",3,"href"],[3,"href"],[3,"accessLevel"],[3,"trackerId"],[1,"component-description"],[1,"component-buttons"],["mat-raised-button","","color","primary",3,"href"],["role","group","aria-expanded","true",1,"child-component-list"],["matTooltip","Hide child components",3,"click"],["svgIcon","arrow-dropdown"],["matTooltip","Show child components",3,"click"],["svgIcon","arrow-dropdown",2,"transform","rotate(-90deg)"],[1,"component-no-children"],
[1,"bv2-view-loading"],[3,"components","parentComponent","rootController","includeArchived"],[3,"childClosed","components","parentComponent","rootController","includeArchived"]],template:function(a,b){a&1&&(I(0,"ol",0),yg(1,urb,19,10,"li",1,xg),J());a&2&&(B(),zg(b.components))},dependencies:[pB,mB,rB,eB,ky,sL,IN,lL,Y0],encapsulation:2});var b1=function(){};b1.\u0275fac=function(a){return new (a||b1)};b1.\u0275mod=Cf({type:b1});b1.\u0275inj=p({imports:[lC,pC,mC,BP,ON,wP]});var c1=function(){this.customFields=this.selectedComponent=null;this.fieldSelected=new aB;this.filter=function(){return!0}};c1.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};c1.\u0275fac=function(a){return new (a||c1)};
c1.\u0275cmp=C({type:c1,selectors:[["b-custom-field-picker"]],inputs:{filter:"filter"},outputs:{fieldSelected:"fieldSelected"},standalone:!1,decls:5,vars:4,consts:[[1,"bv2-custom-field-picker"],[1,"bv2-custom-field-picker-message"],[3,"selectedComponentChange","selectedComponent","placeholder","isRequired"],[1,"bv2-custom-field-picker-select-box"],["appearance","outline"],[1,"mat-select","bv2-custom-field-picker-select",3,"selectionChange"],[3,"value"]],template:function(a,b){a&1&&(I(0,"div",0)(1,
"div",1),Q(2," First, select a component that contains the custom field. "),J(),I(3,"b-team-component-picker",2),M("selectedComponentChange",function(c){return b.onComponentSelect(c!==null&&c!==void 0?c:null)}),J(),D(4,zrb,4,3,"div",3),J());a&2&&(B(3),E("selectedComponent",b.selectedComponent)("placeholder","Choose Component")("isRequired",!0),B(),G(b.selectedComponent?4:-1))},dependencies:[yL,lz,fz,NL,Zx,kN,tR],encapsulation:2});var d1=function(){};d1.\u0275fac=function(a){return new (a||d1)};
d1.\u0275mod=Cf({type:d1});d1.\u0275inj=p({imports:[lC,nN,YU]});var Y7c=function(a){return{value:a}},e1=function(){this.isNonemptyJsonDateValue=GDa};e1.prototype.toDate=function(a){return Do(a)};e1.\u0275fac=function(a){return new (a||e1)};
e1.\u0275cmp=C({type:e1,selectors:[["b-custom-field-value-display"]],inputs:{customFieldValue:"customFieldValue"},standalone:!1,decls:6,vars:4,consts:[["null",""],["nonNull",""],[1,"bv2-custom-field-value-display"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["mode","date",3,"date"]],template:function(a,b){a&1&&(I(0,"span",2),D(1,Arb,1,0,"ng-container",3),J(),D(2,Brb,0,0,"ng-template",null,0,ih)(4,Orb,8,8,"ng-template",null,1,ih));a&2&&(a=L(5),B(),E("ngTemplateOutlet",b.customFieldValue==null?
null:a)("ngTemplateOutletContext",eh(2,Y7c,b.customFieldValue)))},dependencies:[dw,iH],encapsulation:2});var f1=function(){};f1.\u0275fac=function(a){return new (a||f1)};f1.\u0275mod=Cf({type:f1});f1.\u0275inj=p({imports:[lC,TM]});var g1=function(){this.documentationLinks=r(lI);this.userAccess=r(uE);this.errorHandler=r(CI);this.data=r(sI);this.issuesToFlag=this.data.issuesToFlag;this.issuesChecked=0;this.protectedIssues=[];this.permissionsCheckComplete=!1};g1.prototype.ngOnInit=function(){Z7c(this,this.issuesToFlag)};
var Z7c=function(a,b){b.length<=0?a.permissionsCheckComplete=!0:vE(a.userAccess,"admin","components/"+b[0].componentId).then(function(c){a.issuesChecked++;c||a.protectedIssues.push(b[0]);Z7c(a,b.slice(1))},function(c){a.errorHandler.errorHandler(null,c)})};g1.\u0275fac=function(a){return new (a||g1)};
g1.\u0275cmp=C({type:g1,selectors:[["b-bulk-flag-as-spam-dialog"]],standalone:!1,decls:19,vars:6,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"bv2-bulk-flag-as-spam-prompt"],["target","_blank",1,"keep-underline",3,"href"],[1,"bv2-bulk-flag-as-spam-warning"],["mat-dialog-actions",""],["type","button","mat-button","","mat-dialog-close","",1,"medium"],["type","button","mat-flat-button","","cdkFocusInitial","",1,"dialog-primary-action",3,"disabled","mat-dialog-close"]],template:function(a,
b){a&1&&(I(0,"h1",0),Q(1,"Flag Issues as Spam"),J(),I(2,"div",1)(3,"div",2)(4,"p"),Q(5),I(6,"a",3),Q(7,"see here"),J(),Q(8,". "),J(),I(9,"p"),Q(10," This operation cannot be undone in bulk. "),J()(),I(11,"div",4),D(12,Prb,3,2,"div")(13,Rrb,6,1,"div"),J()(),I(14,"div",5)(15,"button",6),Q(16," Close "),J(),I(17,"button",7),Q(18," Flag as Spam "),J()());a&2&&(B(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, "),
B(),E("href",Xqc(b.documentationLinks),vf),B(6),G(b.permissionsCheckComplete?-1:12),B(),G(b.permissionsCheckComplete&&b.protectedIssues.length>0?13:-1),B(4),E("disabled",!b.permissionsCheckComplete)("mat-dialog-close",!0))},dependencies:[eB,jy,uI,wI,yI,xI],encapsulation:2});var h1=function(){this.cdr=r(cB,{self:!0});this.dialogRef=r(mI);this.component=null};h1.prototype.updateComponent=function(a){this.component=a;this.cdr.detectChanges()};h1.prototype.save=function(){this.dialogRef.close(this.component)};h1.prototype.cancel=function(){this.dialogRef.close()};h1.\u0275fac=function(a){return new (a||h1)};
h1.\u0275cmp=C({type:h1,selectors:[["b-bulk-move-dialog"]],standalone:!1,features:[ch([cB])],decls:13,vars:4,consts:[["mat-dialog-title",""],[1,"bv2-bulk-move-warning"],[3,"selectedComponentChange","selectedComponent","placeholder","isRequired"],["type","button","mat-button","",3,"click"],["type","button","mat-flat-button","",3,"click","disabled"]],template:function(a,b){a&1&&(I(0,"h1",0),Q(1,"Change Component"),J(),I(2,"mat-dialog-content")(3,"p"),Q(4,"Choose new component for these issues."),J(),
I(5,"p",1),Q(6," Warning: If these issues have custom fields, their values will be lost if you move the issues outside the component subtree that defines those custom fields. "),J(),I(7,"b-team-component-picker",2),M("selectedComponentChange",function(c){return b.updateComponent(c!==null&&c!==void 0?c:null)}),J()(),I(8,"mat-dialog-actions")(9,"button",3),M("click",function(){return b.cancel()}),Q(10," Cancel "),J(),I(11,"button",4),M("click",function(){return b.save()}),Q(12," Save "),J()());a&2&&
(B(7),E("selectedComponent",b.component)("placeholder","Choose Component")("isRequired",!0),B(4),E("disabled",b.component==null))},dependencies:[eB,jy,wI,yI,xI,tR],styles:[".bv2-bulk-move-warning[_ngcontent-%COMP%]{font-weight:bold}mat-dialog-content[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{color:var(--text)}"]});var i1=function(){this.renderPanel=!0;this.sloEditCommit=new aB;this.closePicker=new aB};i1.prototype.ngOnChanges=function(a){if(a.sloEditTime){var b;this.currentPickerDate=(b=new Cj(nua(this.sloEditTime)))!=null?b:void 0}};i1.prototype.setDate=function(a){this.currentPickerDate=a};i1.\u0275fac=function(a){return new (a||i1)};
i1.\u0275cmp=C({type:i1,selectors:[["slo-edit-date-time-picker"]],inputs:{sloEditTime:"sloEditTime",sloStatus:"sloStatus",renderPanel:"renderPanel"},outputs:{sloEditCommit:"sloEditCommit",closePicker:"closePicker"},standalone:!1,features:[ch([cB]),rv],decls:2,vars:3,consts:[[3,"clickOutside"],[3,"dateTimeChange","saveClicked","cancelClicked","renderPanel","dateTime","includeTimePicker"]],template:function(a,b){a&1&&(I(0,"div",0),M("clickOutside",function(){b.closePicker.emit()}),I(1,"b-date-time-picker-content",
1),M("dateTimeChange",function(c){return b.setDate(c)})("saveClicked",function(){var c=(c=b.currentPickerDate)?{seconds:c.getTime()/1E3,nanos:0}:null;b.sloEditCommit.emit({date:c!=null?c:null});b.closePicker.emit()})("cancelClicked",function(){b.closePicker.emit()}),J()());a&2&&(B(),E("renderPanel",b.renderPanel)("dateTime",b.currentPickerDate)("includeTimePicker",!0))},dependencies:[KH,pQ],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 j1=function(){this.data=r(sI);this.dialogRef=r(mI);this.fieldDisplayName=this.data.fieldDisplayName;this.commitEvent=void 0};j1.prototype.close=function(){this.dialogRef.close(this.commitEvent)};j1.\u0275fac=function(a){return new (a||j1)};
j1.\u0275cmp=C({type:j1,selectors:[["b-edit-calendar-modal"]],standalone:!1,decls:3,vars:2,consts:[["mat-dialog-title",""],["mat-dialog-content","",3,"sloEditCommit","closePicker","renderPanel"]],template:function(a,b){a&1&&(I(0,"h1",0),Q(1),J(),I(2,"slo-edit-date-time-picker",1),M("sloEditCommit",function(c){b.commitEvent=c})("closePicker",function(){return b.close()}),J());a&2&&(B(),R("Edit ",b.fieldDisplayName,""),B(),E("renderPanel",!1))},dependencies:[wI,xI,i1],encapsulation:2});var k1=function(){this.data=r(sI);this.dialogRef=r(mI);this.fieldDisplayName=this.data.fieldDisplayName;this.effortSpec=this.data.effortSpec;this.numericEstimatedEffort="";this.effortSpecName=this.effortSpec.name;this.currentEnumLabel="";this.enumSpec=this.effortSpec.enumSpec;var a,b;this.enumOptions=(b=(a=this.enumSpec)==null?void 0:a.options)!=null?b:[];this.isEnumSpec=!!this.enumSpec;var c;this.allowedLabels=((c=this.enumOptions)!=null?c:[]).map(function(d){return d.label})};
k1.prototype.enableSubmit=function(){return this.isEnumSpec&&this.currentEnumLabel!==""||!this.isEnumSpec};k1.prototype.cancel=function(){this.dialogRef.close(void 0)};k1.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)};k1.\u0275fac=function(a){return new (a||k1)};
k1.\u0275cmp=C({type:k1,selectors:[["b-edit-estimated-effort-modal"]],standalone:!1,decls:9,vars:3,consts:[["mat-dialog-title",""],[1,"bv2-top-field-label"],["type","button","mat-button","",3,"click"],["type","button","mat-flat-button","",3,"click","disabled"],[3,"valueChange","value","includeEmptyOption","options"],["matInput","",3,"ngModelChange","keypress","ngModel"]],template:function(a,b){a&1&&(I(0,"h1",0),Q(1),J(),D(2,Srb,4,4,"div",1)(3,Trb,5,2,"mat-dialog-content"),I(4,"mat-dialog-actions")(5,
"button",2),M("click",function(){return b.cancel()}),Q(6," Cancel "),J(),I(7,"button",3),M("click",function(){return b.save()}),Q(8," Save "),J()());a&2&&(B(),R("Edit ",b.fieldDisplayName,""),B(),G(b.isEnumSpec?2:3),B(5),E("disabled",!b.enableSubmit()))},dependencies:[oi,Gy,Ny,eB,jy,wI,yI,xI,aR,sz,lz,fz,kN,r0],encapsulation:2});var l1=function(){this.data=r(sI);this.dialogRef=r(mI);this.removeItems=this.addItems="";this.fieldDisplayName=this.data.fieldDisplayName};l1.prototype.save=function(){this.dialogRef.close({addItems:this.addItems,removeItems:this.removeItems})};l1.prototype.close=function(){this.dialogRef.close()};l1.\u0275fac=function(a){return new (a||l1)};
l1.\u0275cmp=C({type:l1,selectors:[["b-edit-item-modal"]],standalone:!1,decls:20,vars:6,consts:[["mat-dialog-title",""],[1,"bv2-modal-form"],["appearance","outline","subscriptSizing","dynamic"],["matInput","","type","text",3,"ngModelChange","ngModel"],["type","button","mat-button","",3,"click"],["type","button","mat-flat-button","",3,"click"]],template:function(a,b){a&1&&(I(0,"h1",0),Q(1),J(),I(2,"mat-dialog-content")(3,"p"),Q(4),J(),I(5,"div",1)(6,"mat-form-field",2)(7,"mat-label"),Q(8),J(),I(9,
"input",3),bh("ngModelChange",function(c){ah(b.addItems,c)||(b.addItems=c);return c}),J()(),K(10,"br"),I(11,"mat-form-field",2)(12,"mat-label"),Q(13),J(),I(14,"input",3),bh("ngModelChange",function(c){ah(b.removeItems,c)||(b.removeItems=c);return c}),J()()()(),I(15,"mat-dialog-actions")(16,"button",4),M("click",function(){return b.close()}),Q(17," Cancel "),J(),I(18,"button",5),M("click",function(){return b.save()}),Q(19," Save "),J()());a&2&&(B(),R("Edit ",b.fieldDisplayName,""),B(3),R("Enter ",
b.fieldDisplayName," to add or remove"),B(4),R(" ",b.fieldDisplayName," to Add "),B(),$g("ngModel",b.addItems),B(4),R(" ",b.fieldDisplayName," to Remove "),B(),$g("ngModel",b.removeItems))},dependencies:[oi,Gy,Ny,eB,jy,aR,sz,lz,fz,kN,wI,yI,xI],styles:["mat-form-field[_ngcontent-%COMP%]{margin-top:8px}"]});var $7c=["hotlistFilterInput"],a8c=["hotlistCreate"],b8c=["hotlistApply"],c8c=["hotlistLoad"],d8c=["menuitem"],m1=function(){Z.apply(this,arguments);this.liveAnnouncer=r(Pw);this.butterBar=r(fH);this.userAccess=r(uE);this.analytics=r(OF);this.activeSession=r(Bu);this.cdr=r(cB,{self:!0});this.selectedHotlistIds=[[]];this.choices=[];this.checkEditAcl=!0;this.onCreate=new aB;this.onApply=new aB;this.onLoad=new aB;this.hotlistEditAcls={};this.validHotlistIds=new Set;this.pendingChanges=this.canLoad=this.canCreate=
!1;this.oldSelectedHotlistMap={};this.selectedHotlistMap={};this.shouldShowHotlist={};this.filterText="";this.focusedRowIndex=-1;this.isAnonymous=this.activeSession.isAnonymous()};Y(m1,Z);m1.\u0275dir=Z.\u0275dir;m1.prototype.ngAfterViewInit=function(){var a=this,b;(b=this.trigger)==null||b.menuOpened.pipe(Zf(this.destroyed$)).subscribe(function(){Re(0).pipe(Zf(a.destroyed$)).subscribe(function(){a.focusFilterBox()})});var c;(c=this.trigger)==null||c.menuClosed.pipe(Zf(this.destroyed$)).subscribe(function(){e8c(a)})};
m1.prototype.focusFilterBox=function(){this.filterElement.nativeElement.focus()};m1.prototype.ngOnChanges=function(){f8c(this);this.oldSelectedHotlistMap=Object.assign({},this.selectedHotlistMap);this.pendingChanges=this.canCreate=!1;g8c(this)};
var f8c=function(a){var b={};mea(a.selectedHotlistMap);if(a.choices){a.validHotlistIds.clear();for(var c=k(a.choices),d=c.next();!d.done;d=c.next())d=d.value,b[d.hotlistId]=0,a.validHotlistIds.add(d.hotlistId);if(a.selectedHotlistIds){c=a.selectedHotlistIds.length;d=k(a.selectedHotlistIds);for(var e=d.next();!e.done;e=d.next())if(e=e.value){e=k(e);for(var f=e.next();!f.done;f=e.next())b[f.value]++}d=k(Object.entries(b));for(e=d.next();!e.done;e=d.next())f=k(e.value),e=f.next().value,f=f.next().value,
a.selectedHotlistMap[Number(e)]=f?f===c?!0:null:!1;Lba(a.choices,function(h,l){var q=b[h.hotlistId],u=b[l.hotlistId];return q>u?-1:q<u?1:hu(h.name,l.name)})}}};m1.prototype.open=function(){this.trigger.openMenu();this.cdr.detectChanges()};m1.prototype.close=function(){this.trigger.closeMenu()};
m1.prototype.hasAclToEdit=function(a){var b=this;if(jea(this.hotlistEditAcls,a.hotlistId))return this.hotlistEditAcls[a.hotlistId];vE(this.userAccess,"appender","hotlists/"+a.hotlistId).then(function(c){b.hotlistEditAcls[a.hotlistId]=c})};
var Urb=function(a,b){if(!a.checkEditAcl)return!1;a=a.hasAclToEdit(b);return a===void 0?!0:!a},Vrb=function(a,b){var c=a.selectedHotlistMap[b.hotlistId];a.selectedHotlistMap[b.hotlistId]=c===null?!0:!c;bsb(a);a.close()},bsb=function(a){a.onApply.emit({oldSelectionMap:a.oldSelectedHotlistMap,newSelectionMap:a.selectedHotlistMap})},g8c=function(a){for(var b=a.filterText,c=!1,d=k(a.choices),e=d.next();!e.done;e=d.next())e=e.value,a.shouldShowHotlist[e.hotlistId]=Ma(e.name,b),e.name===b&&(c=!0);a.canCreate=
!(!b||c);a.canLoad=iib(yj(b))&&!!b&&!!a.onLoad},e8c=function(a){a.trigger.menuOpen||(f8c(a),a.filterText="",g8c(a),a.pendingChanges=!1,a.focusedRowIndex=-1)},h8c=function(a){var b=a.selectedHotlistIds;return b&&b.length===1?"Hotlists ("+Dba(b[0],function(c){return a.validHotlistIds.has(c)})+")":"Hotlists"};
m1.prototype.createHotlist=function(){var a=this,b=this.filterText;this.canCreate&&(this.filterText="",g8c(this),this.onCreate.emit({name:b,successCallback:function(c){Vrb(a,c)},errorCallback:function(){a.butterBar.showWarning("Failed to create hotlist "+b)}}))};
m1.prototype.loadHotlist=function(){var a=this,b=this.filterText;if(this.canLoad){this.analytics.trackEvent("hotlistPicker","loadHotlist");jq(this.butterBar,"Loading hotlist "+b.toString());this.filterText="";g8c(this);for(var c=uj(b),d=k(this.choices),e=d.next();!e.done;e=d.next())if(e=e.value,c===e.hotlistId){Vrb(this,e);return}this.onLoad.emit({hotlistId:c,successCallback:function(f){Vrb(a,f)},errorCallback:function(){a.butterBar.showWarning("Failed to load hotlist "+b)}})}};
m1.prototype.handleSelectionChange=function(){this.focusFilterBox();this.pendingChanges=!oj(this.oldSelectedHotlistMap,this.selectedHotlistMap)};
var Wrb=function(a,b){Urb(a,b)||(a.selectedHotlistMap[b.hotlistId]=!a.selectedHotlistMap[b.hotlistId],a.handleSelectionChange())},o8c=function(a,b){b=b===void 0?0:b;var c=i8c(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=Qa(i8c(a),b),j8c(a),k8c(a,b)):a.focusedRowIndex<d&&a.canCreate?l8c(a,d):a.focusedRowIndex<d+1&&a.canLoad?m8c(a,d):a.focusedRowIndex<d+2&&a.pendingChanges&&
n8c(a,d)},i8c=function(a){return a.menuItems.map(function(b){return b.nativeElement})},p8c=function(a,b){b=b===void 0?0:b;if(a.focusedRowIndex===a.choices.length+1&&a.canCreate)l8c(a,a.choices.length);else if(a.focusedRowIndex===a.choices.length+2&&a.canLoad)m8c(a,a.choices.length);else if(a.focusedRowIndex===a.choices.length+2&&a.canCreate)l8c(a,a.choices.length);else{var c=i8c(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=Qa(i8c(a),b),j8c(a),k8c(a,b)):(a.focusedRowIndex=-1,k8c(a,null))}},k8c=function(a,b){a.filterElement&&tH(a.filterElement.nativeElement,b);a.focusFilterBox()},l8c=function(a,b){a.focusedRowIndex=b;tH(a.filterElement.nativeElement,null);var c;(c=a.createElement)==null||c.focus();a.liveAnnouncer.announce("Create new hotlist "+a.filterText);a.focusFilterBox()},m8c=function(a,b){a.focusedRowIndex=b+1;tH(a.filterElement.nativeElement,null);var c;(c=a.loadElement)==
null||c.focus();a.liveAnnouncer.announce("Load hotlist "+a.filterText);a.focusFilterBox()},n8c=function(a,b){a.focusedRowIndex=b+2;tH(a.filterElement.nativeElement,null);var c;(c=a.applyElement)==null||c.focus();a.liveAnnouncer.announce("Apply");a.focusFilterBox()},j8c=function(a){a.focusedRowIndex===-1||a.focusedRowIndex>=a.choices.length||(a=i8c(a)[a.focusedRowIndex],a.scrollIntoViewIfNeeded?a.scrollIntoViewIfNeeded():a.scrollIntoView({block:"end"}))},Xrb=function(a){return a==null?"mixed":a.toString()},
Yrb=function(a){return a==null?"indeterminate":a?"checked":"unchecked"};m1.\u0275fac=function(){var a;return function(b){return(a||(a=ee(m1)))(b||m1)}}();
m1.\u0275cmp=C({type:m1,selectors:[["b-hotlist-picker"]],viewQuery:function(a,b){a&1&&(Rg(JL,5),Rg($7c,5),Rg(a8c,5),Rg(b8c,5),Rg(c8c,5),Rg(d8c,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"},standalone:!1,features:[ch([cB]),cg,rv],decls:13,vars:4,consts:[["hotlistMenu","matMenu"],["hotlistFilterInput",""],["hotlistChoices",""],["hotlistCreate",""],["menuitem",""],["hotlistLoad",""],["hotlistApply",""],["type","button","mat-button","","id","hotlist-picker-button","aria-describedby","hotlist-picker-label-text",1,"medium","primary",3,"matMenuTriggerFor","disabled"],["id","hotlist-picker-label-text"],["name","arrow-dropdown","size","small"],[1,"menu"],[1,"menu-control"],
[1,"hotlist-filter"],["mat-input","","type","text","id","hotlist-filter-input","maxlength","255","role","combobox","aria-autocomplete","list","aria-expanded","true","placeholder","Type to filter hotlists from your sidebar","autocomplete","off",3,"ngModelChange","mousedown","blur","click","keydown","ngModel"],["matMenuContent",""],["role","listbox",1,"multi-edit-scrollarea"],["role","option",1,"multi-edit-menuitem",3,"display","focused","title"],["mat-menu-item","","matTooltip","Type a new name to create a hotlist",
"matTooltipPosition","right","title","Type a new hotlist name above and then click here to create a new hotlist.",1,"hotlist-create",3,"click","keydown.enter","disabled"],["mat-menu-item","","matTooltip","Type a hotlist id number to load a hotlist by id.","matTooltipPosition","right",3,"focused"],["mat-menu-item","","id","hotlist-apply","aria-label","apply",1,"hotlist-apply",3,"focused"],["role","option",1,"multi-edit-menuitem",3,"click","title"],["role","checkbox",3,"click","state","disabled"],["mat-menu-item",
"","matTooltip","Type a hotlist id number to load a hotlist by id.","matTooltipPosition","right",3,"click","keydown.enter"],["mat-menu-item","","id","hotlist-apply","aria-label","apply",1,"hotlist-apply",3,"click","keydown.enter"]],template:function(a,b){if(a&1){var c=v();I(0,"button",7)(1,"span",8);Q(2);J();K(3,"b-icon",9);J();I(4,"mat-menu",null,0)(6,"div",10)(7,"div",11)(8,"div",12)(9,"input",13,1);bh("ngModelChange",function(d){w(c);ah(b.filterText,d)||(b.filterText=d);return x(d)});M("ngModelChange",
function(){w(c);return x(g8c(b))})("mousedown",function(d){w(c);return x(d.stopPropagation())})("blur",function(){w(c);return x(e8c(b))})("click",function(d){w(c);return x(d.stopPropagation())})("keydown",function(d){w(c);d.stopImmediatePropagation();d.key==="Escape"?b.close():d.key==="ArrowDown"?(o8c(b),d.preventDefault()):d.key==="ArrowUp"?(p8c(b),d.preventDefault()):d.key==="PageUp"?p8c(b,11):d.key==="PageDown"?o8c(b,11):d.key===" "?b.focusedRowIndex===-1||b.focusedRowIndex>=b.choices.length||
(Wrb(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(),bsb(b)):0<=b.focusedRowIndex&&b.focusedRowIndex<b.choices.length&&b.hasAclToEdit(b.choices[b.focusedRowIndex])&&Vrb(b,b.choices[b.focusedRowIndex]));return x()});J()()();K(11,"mat-divider");D(12,dsb,12,7,"ng-template",14);J()()}a&2&&(a=L(5),E("matMenuTriggerFor",a)("disabled",b.isAnonymous),
B(2),Yg(h8c(b)),B(7),$g("ngModel",b.filterText))},dependencies:[xL,IL,GL,HL,JL,eB,jy,oi,Gy,Zy,Ny,Yx,mB,rB,oQ,DM],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 s8c=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 qu;this.selectedVerifiersStatus=this.selectedAssigneesStatus="ISSUE_SELECTION_STATUS_UNSPECIFIED";q8c(this,b);r8c(this,b)},q8c=function(a,b){var c=b[0],d=Rl[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},t8c=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||Aj(c)})?b?"MULTIPLE":"IDENTICAL_EMAILS":"POSSIBLY_MULTIPLE"},r8c=function(a,b){var c=
b.map(function(d){return d.assigneeEmail});b=b.map(function(d){return d.verifierEmail});a.selectedAssigneesStatus=t8c(c);a.selectedVerifiersStatus=t8c(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])};
s8c.prototype.clearAssignee=function(){this.commonAssignee="";this.selectedAssigneesStatus="ISSUE_SELECTION_STATUS_UNSPECIFIED";this.overwriteAssignee=!0;nsb(this)};s8c.prototype.clearVerifier=function(){this.commonVerifier="";this.selectedVerifiersStatus="ISSUE_SELECTION_STATUS_UNSPECIFIED";this.overwriteVerifier=!0};
var psb=function(a){return a.origIssues.every(function(b){return!!b.verifierEmail})},jsb=function(a,b){(a.origCommonIssueState=b)?(b.status==="NEW"?u8c(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||u8c(a.selectedAssigneesStatus)||(a.commonAssignee=a.lastCommonAssignee?
a.lastCommonAssignee:a.userEmail),u8c(a.selectedVerifiersStatus)||a.commonVerifier||b.status!=="VERIFIED"||(a.commonVerifier=a.userEmail)),a.issueState=a.origCommonIssueState):a.issueState=void 0},u8c=function(a){return a==="MULTIPLE"||a==="POSSIBLY_MULTIPLE"},nsb=function(a){var b=Rl.NEW,c=Rl.ASSIGNED;a.issueState===b&&a.commonAssignee?a.issueState=a.origCommonIssueState===b?c:a.origCommonIssueState:a.commonAssignee||a.issueState&&!khc.has(a.issueState)||(a.issueState=b)},v8c=function(a){var b=a.issueState;
return b?a.origIssues.some(function(c){return b.status!==c.status}):!1},xsb=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);v8c(a)&&b.set("status",a.issueState.status);a.comment.value&&b.set("comment",a.comment.value);return b};var n1=function(){this.externalWarnings=[]};n1.\u0275fac=function(a){return new (a||n1)};
n1.\u0275cmp=C({type:n1,selectors:[["b-external-warnings"]],inputs:{externalWarnings:"externalWarnings"},standalone:!1,decls:1,vars:1,consts:[[1,"bv2-external-component-modal-warning"],[3,"href"],[3,"issueId"],[3,"accessLevel"]],template:function(a,b){a&1&&D(0,isb,11,0,"div",0);a&2&&G(b.externalWarnings.length>0?0:-1)},dependencies:[IN,YK],styles:[".bv2-external-component-modal-warning[_ngcontent-%COMP%] {\n  padding-top: 10px;\n\n  ul {\n    padding-left: 0;\n  }\n}"],changeDetection:0});
var o1=function(){};o1.\u0275fac=function(a){return new (a||o1)};o1.\u0275mod=Cf({type:o1});o1.\u0275inj=p({imports:[ON,aP]});var w8c=["dialog"],p1=function(){Z.call(this);this.matDialog=r(tI);this.activeSession=r(Bu);this.hotkeys=r(uH);this.userPreferencesManager=r(TG);this.comment=new qu;this.save=new aB;this.close=new aB;this.externalWarnings=[];this.issueStates=ihc;this.issueEditBuilder=null;this.FocusableField=x8c;this.enableRecaptcha=this.activeSession.userRequiresCaptcha()&&Vt(this.activeSession,"enableBulkEditCaptchaUi");var a;this.comment.formattingMode=mk((a=UG(this.userPreferencesManager).textDisplayPreferences)==
null?void 0:a.lastPublishMode)};Y(p1,Z);p1.\u0275dir=Z.\u0275dir;p1.prototype.showDialog=function(a,b,c){var d=this;this.issueEditBuilder=new s8c(this.activeSession.getUserEmail(),a);this.issueEditBuilder.comment=this.comment;b&&jsb(this.issueEditBuilder,b);this.focus=c;this.hotkeys.pause();this.matDialogRef=this.matDialog.open(this.dialog,{minWidth:512,maxWidth:512});nI(this.matDialogRef).pipe(Zf(this.destroyed$)).subscribe(function(e){d.hotkeys.unpause();e&&d.save.emit();d.close.emit()})};
p1.\u0275fac=function(a){return new (a||p1)};
p1.\u0275cmp=C({type:p1,selectors:[["b-state-modal"]],viewQuery:function(a,b){a&1&&Rg(w8c,5);if(a&2){var c;Vg(c=Wg())&&(b.dialog=c.first)}},inputs:{externalWarnings:"externalWarnings"},outputs:{save:"save",close:"close"},standalone:!1,features:[cg],decls:2,vars:0,consts:[["dialog",""],["statusForm","ngForm"],["statusMenu",""],["mat-dialog-title",""],["mat-dialog-content",""],[1,"bv2-modal-form"],[1,"flex-kids-x","justify-flex-end"],["mat-dialog-actions",""],["type","button","mat-button","",1,"medium",
3,"mat-dialog-close"],["type","submit","color","primary","mat-flat-button","",1,"medium","confirm",3,"mat-dialog-close","disabled"],["type","button","mat-button","",1,"medium","primary","status-select",3,"matMenuTriggerFor"],["name","arrow-dropdown","size","small"],["mat-menu-item","","type","button",3,"click","disabled"],["mat-menu-item","","type","button",3,"disabled"],[1,"bv2-modal-text-field"],["placeholder","Add a comment (optional)",3,"onSubmit","comment","showToolbar","isLiteralModeSupported"],
[1,"float-clear"],[3,"externalWarnings"],["for","bv2-state-modal-assignee",1,"bv2-top-field-label"],[1,"bv2-multiple-user-chip"],["for","bv2-state-modal-verifier",1,"bv2-top-field-label"],[1,"bv2-multiple-user-chip",3,"bv2-invalid-multiple-user-chip"],["title","Clear assignees",3,"click"],["type","text","name","assignee",3,"ngModelChange","ngModel","bContactAutocomplete"],["title","Clear verifiers",3,"click"],["type","text","name","verifier",3,"ngModelChange","ngModel","required","bContactAutocomplete"],
["for","bv2-state-modal-issue-id",1,"bv2-top-field-label"],["type","text","name","duplicateOf",3,"ngModelChange","ngModel"],[3,"onUpdate"]],template:function(a){a&1&&D(0,ysb,14,5,"ng-template",null,0,ih)},dependencies:[uI,wI,yI,xI,Oy,oi,Gy,Hy,Yy,Ny,Ly,eB,jy,DM,xL,IL,GL,JL,VO,OV,tS,n1],encapsulation:2});var x8c={ASSIGNEE:0,VERIFIER:1,COMMENT:2,DUPE_ID:3,0:"ASSIGNEE",1:"VERIFIER",2:"COMMENT",3:"DUPE_ID"};var q1=function(){this.dialogRef=r(mI);this.reporter="";this.autocompleteActive=!1};q1.prototype.enableSubmit=function(){return this.reporter!==""};q1.prototype.cancel=function(){this.dialogRef.close()};q1.prototype.save=function(){this.dialogRef.close(this.reporter)};q1.\u0275fac=function(a){return new (a||q1)};
q1.\u0275cmp=C({type:q1,selectors:[["b-reporter-picker-dialog"]],standalone:!1,decls:12,vars:3,consts:[["mat-dialog-title",""],["appearance","outline","subscriptSizing","dynamic"],["matInput","",3,"ngModelChange","autocompleteActive","keydown","bContactAutocomplete","ngModel"],["type","button","mat-button","",3,"click"],["type","button","mat-flat-button","",3,"click","disabled"]],template:function(a,b){a&1&&(I(0,"h1",0),Q(1,"Change Reporter"),J(),I(2,"mat-dialog-content")(3,"mat-form-field",1)(4,
"mat-label"),Q(5," Reporter "),J(),I(6,"input",2),bh("ngModelChange",function(c){ah(b.reporter,c)||(b.reporter=c);return c}),M("autocompleteActive",function(c){return b.autocompleteActive=c})("keydown",function(c){c.key==="Enter"&&!b.autocompleteActive&&b.enableSubmit()&&b.save()}),J()()(),I(7,"mat-dialog-actions")(8,"button",3),M("click",function(){return b.cancel()}),Q(9," Cancel "),J(),I(10,"button",4),M("click",function(){return b.save()}),Q(11," Save "),J()());a&2&&(B(6),E("bContactAutocomplete",
"SINGLE"),$g("ngModel",b.reporter),B(4),E("disabled",!b.enableSubmit()))},dependencies:[oi,Gy,Ny,eB,jy,wI,yI,xI,aR,sz,lz,fz,kN,VO],styles:["mat-dialog-content[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]{margin-top:8px}"]});var y8c=["addCommentDialog"],r1=function(){Z.apply(this,arguments);var a=this;this.componentFridge=r(uD);this.cdr=r(cB);this.activeSession=r(Bu);this.analytics=r(OF);this.hotkeys=r(uH);this.componentActions=r(oR);this.issueTypeDialog=r(BI);this.copyIssueIdService=r(S0);this.matDialog=r(tI);this.$log=r(bB);this.issuePicker=r(TP);this.userPreferencesManager=r(TG);this.accessIndicatorService=r(XK);this.currentUserEmail=this.activeSession.getUserEmail();this.uniqueComponentIds$=new Uf;this.effortSpec$=
this.uniqueComponentIds$.pipe(Yf(function(b){return a.componentFridge.watchSet(b)}),z(function(b){return a.getCommonEffortSpec(b)}),Vf({bufferSize:1,refCount:!0}));this.enableBulkEstimatedEffortOption$=this.effortSpec$.pipe(z(function(b){return b!==void 0}));this.hotlistIdMatrix=[];this.hotlistChoices=[];this.onSave=new aB;this.onCreateHotlist=new aB;this.onLoadHotlist=new aB;this.externalWarnings=[];this.enableRecaptcha=this.activeSession.userRequiresCaptcha()&&Vt(this.activeSession,"enableBulkEditCaptchaUi");
this.recaptchaResponse="";this.controllerName="baseControls"};Y(r1,Z);r1.\u0275dir=Z.\u0275dir;var z8c=function(a){var b=new qu,c;b.formattingMode=mk((c=UG(a.userPreferencesManager).textDisplayPreferences)==null?void 0:c.lastPublishMode);return b};r1.prototype.hasSelectedIssues=function(){return this.getSelectedIssues().length>0};var A8c=function(a){return a.getSelectedIssues().some(function(b){return!b.isRead})},zsb=function(a){return A8c(a)?"Mark as read":"Mark as unread"},Yt=function(a){return a.getSelectedIssues().map(function(b){return b.issueId})};
r1.prototype.onSelectionChange=function(){for(var a=this.getSelectedIssues(),b=k(a),c=b.next();!c.done;c=b.next()){var d=void 0;(d=c.value).hotlistId!=null||(d.hotlistId=[])}this.hotlistIdMatrix=a.map(function(e){return e.hotlistId});this.cdr.detectChanges();a=B8c(a);this.uniqueComponentIds$.next(a)};
var B8c=function(a){var b=[];a=k(a);for(var c=a.next();!c.done;c=a.next())c=c.value,b.includes(c.componentId)||b.push(c.componentId);return b},C8c=function(a){if(!LC(a.activeSession)){a.externalWarnings=[];var b=Ie(a.getSelectedIssues().map(function(e){return Sxc(a.accessIndicatorService,e.issueId,e.componentId).pipe(z(function(f){return{issue:e,indicator:f}}))}));Fe(b).then(function(e){e=k(e);for(var f=e.next();!f.done;f=e.next()){f=f.value;var h=f.issue;f.indicator.type!=="no_indicator"&&a.externalWarnings.push({type:"issue",
issueId:h.issueId})}}).then(function(){a.cdr.detectChanges()});b=new Set(a.getSelectedIssues().map(function(e){return e.componentId}));b=k(b);for(var c=b.next(),d={};!c.done;d={id$jscomp$635:void 0},c=b.next())d.id$jscomp$635=c.value,a.componentActions.get(d.id$jscomp$635).then(function(e){if(a.activeSession.isInternalSession()&&Ir(e)||KC(a.activeSession)&&Jr(e)){var f,h={type:"component",path:f3a((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$635+".")}}(d))}};g=r1.prototype;g.getCommonEffortSpec=function(a){a=k(a);for(var b=a.next();!b.done;b=a.next()){b=b.value;if(!b.effortSpec)return;b=b.effortSpec;var c=b.id;if(!d){var d=c;var e=b}else if(d!==c)return}return e};
g.bulkEdit=function(a){switch(a){case "ASSIGNEE":s1(this,null,0);break;case "COMPONENT":D8c(this);break;case "VERIFIER":s1(this,null,1);break;case "REPORTER":E8c(this);break;case "CHANGELIST":F8c(this,"changelists","Changelists",!0);break;case "CUSTOM_FIELDS":G8c(this);break;case "FOUND_IN":F8c(this,"foundInVersion","Found In");break;case "VERIFIED_IN":F8c(this,"verifiedInVersion","Verified In");break;case "TARGETED_TO":F8c(this,"targetedToVersion","Targeted To");break;case "COMMENT":H8c(this);break;
case "SLO_START_TIME":I8c(this);break;case "ESTIMATED_EFFORT":J8c(this);break;case "CC":F8c(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)&&t1(this,"priority",a);break;case "SEVERITY":(a=a.newValue)&&t1(this,"severity",a);break;case "STATUS":(a=a.newValue)&&s1(this,Rl[a],a==="DUPLICATE"?3:void 0);break;case "TYPE":(a=a.newValue)&&t1(this,"type",a);break;case "IS_ARCHIVED":t1(this,"isArchived",""+a.newValue);break;case "IN_PROD":t1(this,"inProd",""+a.newValue);break;case "CC":t1(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?u1(this,{actionType:"ADD",fieldName:"blockedByIssueId",title:"Mark all selected issues as blocked by:",edgeType:"blocker"}):u1(this,{actionType:"REMOVE",fieldName:"blockedByIssueId",title:"Unmark all selected issues as blocked by:",edgeType:"un-blocker"});break;case "BLOCKING":a.isMarking?u1(this,{actionType:"ADD",fieldName:"blockingIssueId",title:"Mark all selected issues as blocking:",edgeType:"blocking"}):u1(this,
{actionType:"REMOVE",fieldName:"blockingIssueId",title:"Unmark all selected issues as blocking:",edgeType:"un-blocking"});break;case "PARENT":a.isMarking?u1(this,{actionType:"ADD",fieldName:"parentId",title:"Mark all selected issues as children of:",edgeType:"child"}):u1(this,{actionType:"REMOVE",fieldName:"parentId",title:"Unlink all selected issues from this parent:",edgeType:"un-parent"});break;case "DUPLICATE":s1(this,Rl.DUPLICATE,3);break;default:this.$log.error("unsupported issue relation: "+
a.issueRelation)}};g.bulkMarkIssueRead=function(){var a=A8c(this);t1(this,"readState",a?"true":"")};
var t1=function(a,b,c,d){var e={fieldName:b,value:c};d!==void 0&&(e.actionType=d);var f=Yt(a),h=[e];b==="deletionReason"&&h.push({fieldName:"isDeleted",value:"true"});d=function(){var l={bulkEditOps:[{issueIds:f,actions:h}]};a.enableRecaptcha&&a.recaptchaResponse!==""&&(l.recaptchaToken=a.recaptchaResponse);a.onSave.emit(l)};b!=="type"||c!=="VULNERABILITY"&&c!=="PRIVACY_ISSUE"?d():(c==="VULNERABILITY"&&irc(a.issueTypeDialog,"VULNERABILITY",d,function(){}),c==="PRIVACY_ISSUE"&&irc(a.issueTypeDialog,
"PRIVACY_ISSUE",d,function(){}))},s1=function(a,b,c){a.hasSelectedIssues()&&(C8c(a),a.stateModal.showDialog(a.getSelectedIssues(),b,c))},K8c=function(a){var b=a.onSave,c=b.emit,d=Yt(a),e=a.stateModal.issueEditBuilder,f=[];e.issueState||jsb(e);e=k(xsb(e));for(var h=e.next();!h.done;h=e.next()){var l=k(h.value);h=l.next().value;l=l.next().value;l!==void 0&&f.push({fieldName:h,value:l})}c.call(b,{bulkEditOps:[{issueIds:d,actions:f}],recaptchaToken:a.stateModal.issueEditBuilder.recaptchaResponse})},E8c=
function(a){a.hasSelectedIssues()&&(C8c(a),nI(a.matDialog.open(q1,{width:"400px"})).pipe(Zf(a.destroyed$)).subscribe(function(b){a.hotkeys.unpause();b&&t1(a,"reporter",b)}),a.hotkeys.pause())},F8c=function(a,b,c,d){d=d===void 0?!1:d;a.hasSelectedIssues()&&(nI(a.matDialog.open(l1,{width:"400px",data:{fieldDisplayName:c}})).pipe(Zf(a.destroyed$)).subscribe(function(e){a.hotkeys.unpause();e&&L8c(a,b,e.addItems,e.removeItems,d)}),a.hotkeys.pause())},I8c=function(a){a.hasSelectedIssues()&&(nI(a.matDialog.open(j1,
{width:"330px",data:{fieldDisplayName:"SLO Start Time"}})).pipe(Zf(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:Yt(a),actions:c}]})}}),a.hotkeys.pause())},J8c=function(a){var b=tp(a.effortSpec$);a.hasSelectedIssues()&&b!==void 0&&(nI(a.matDialog.open(k1,{width:"400px",data:{fieldDisplayName:"Estimated Effort",effortSpec:b}})).pipe(Zf(a.destroyed$)).subscribe(function(c){a.hotkeys.unpause();
if(c){var d=[];d.push({fieldName:"effortEstimate",value:c.estimate});a.onSave.emit({bulkEditOps:[{issueIds:Yt(a),actions:d}]})}}),a.hotkeys.pause())},L8c=function(a,b,c,d,e){e=e===void 0?!1:e;c=Rt(c);d=Rt(d);var f=[],h=!["foundInVersion","targetedToVersion","verifiedInVersion"].includes(b),l=function(q){return Xta(q,h).map(function(u){return u.trim()})};St(c)||(c=l(c),e&&(c=c.filter(function(q){return!isNaN(q)})),f.push.apply(f,t(c.map(function(q){return{fieldName:b,value:q,actionType:"ADD"}}))));
St(d)||(d=l(d),f.push.apply(f,t(d.map(function(q){return{fieldName:b,value:q,actionType:"REMOVE"}}))));f.length&&a.onSave.emit({bulkEditOps:[{issueIds:Yt(a),actions:f}]})},D8c=function(a){a.hasSelectedIssues()&&(nI(a.matDialog.open(h1,{width:"600px",position:{top:"100px"},panelClass:"overflow-visible-dialog-panel"})).pipe(Zf(a.destroyed$)).subscribe(function(b){a.hotkeys.unpause();b&&(a.onSave.emit({bulkEditOps:[{issueIds:Yt(a),actions:[{fieldName:"componentId",value:String(b.componentId)}]}]}),a.analytics.trackEvent(a.controllerName,
"bulkMove"))}),a.hotkeys.pause())},M8c=function(a){a.hasSelectedIssues()&&(nI(a.matDialog.open(g1,{width:"600px",data:{issuesToFlag:a.getSelectedIssues()}})).pipe(Zf(a.destroyed$)).subscribe(function(b){a.hotkeys.unpause();b&&(a.analytics.trackEvent(a.controllerName,"bulkFlagAsSpam"),t1(a,"deletionReason","ABUSE"))}),a.hotkeys.pause())},H8c=function(a){a.hasSelectedIssues()&&a.addCommentDialog&&(a.comment||(a.comment=z8c(a)),a.addCommentDialogRef=a.matDialog.open(a.addCommentDialog,{panelClass:"no-jitter",
minWidth:512,maxWidth:512}),nI(a.addCommentDialogRef).pipe(Zf(a.destroyed$)).subscribe(function(b){a.hotkeys.unpause();a.comment&&(b&&Src(a.comment)&&t1(a,"comment",a.comment.value),a.comment.reset())}),a.hotkeys.pause(),C8c(a))},Gsb=function(a){var b;(b=a.addCommentDialogRef)==null||b.close(!0)},G8c=function(a){a.hasSelectedIssues()&&nI(a.matDialog.open(s0,{data:a.getSelectedIssues(),width:"500px"})).pipe(Zf(a.destroyed$)).subscribe(function(b){b&&(a.onSave.emit({bulkEditOps:b}),a.analytics.trackEvent(a.controllerName,
"bulkCustomField"))})};
r1.prototype.handleHotlistPickerSave=function(a){var b=a.newSelectionMap;var c=a.oldSelectionMap;var d=[],e=[],f=0;Object.entries(b).forEach(function(h){var l=k(h);h=l.next().value;l=l.next().value;l!==c[h]&&(l?d.push(h):e.push(h),f++)});a=[];d.length&&a.push({fieldName:"hotlists",actionType:"ADD",value:d.join(",")});e.length&&a.push({fieldName:"hotlists",actionType:"REMOVE",value:e.join(",")});a.length&&(this.onSave.emit({bulkEditOps:[{issueIds:Yt(this),actions:a}]}),this.analytics.trackEvent(this.controllerName,"applyHotlists",
"numHotlists",f))};var u1=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:Yt(a),actions:[{fieldName:d,value:e,actionType:c}]}]}))});a.hotkeys.pause()};r1.\u0275fac=function(){var a;return function(b){return(a||(a=ee(r1)))(b||r1)}}();
r1.\u0275cmp=C({type:r1,selectors:[["b-grid-controls-base"]],viewQuery:function(a,b){a&1&&(Rg(y8c,5),Rg(m1,5),Rg(p1,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"},standalone:!1,features:[cg],decls:0,vars:0,template:function(){},encapsulation:2});var v1=function(){};v1.\u0275fac=function(a){return new (a||v1)};v1.\u0275mod=Cf({type:v1});v1.\u0275inj=p({imports:[lC,bN,mC,bR,bz,by,pC,xQ,TQ,fP]});var w1=function(){};w1.\u0275fac=function(a){return new (a||w1)};w1.\u0275mod=Cf({type:w1});w1.\u0275inj=p({imports:[lC,XI,ON,bz,mC,fP,bN,WO,VV,ZV,o1]});var x1=function(){r1.apply(this,arguments);this.panels=[];this.isNonPublicSession=this.activeSession.isNonPublicSession();this.enableBulkEditUi=!this.activeSession.userRequiresCaptcha();this.controllerName="dashboardControls";this.onSelectionChange.bind(this);this.getCommonEffortSpec.bind(this)};Y(x1,r1);x1.\u0275dir=r1.\u0275dir;x1.prototype.ngOnChanges=function(a){if(a.panels)this.onSelectionChange()};
x1.prototype.getSelectedIssues=function(){var a=this.panels.flatMap(function(b){return b.selectedIssues});Jba(a,null,function(b){return b.issueId.toString()});return a};x1.\u0275fac=function(){var a;return function(b){return(a||(a=ee(x1)))(b||x1)}}();
x1.\u0275cmp=C({type:x1,selectors:[["b-dashboard-controls"]],inputs:{panels:"panels"},standalone:!1,features:[ch([cB]),cg,rv],decls:7,vars:5,consts:[["addCommentDialog",""],[3,"readStatePrompt","enableBulkEstimatedEffortOption"],[3,"shortLinkPrefix","shouldShowCopyIssueShortLinks"],[1,"bv2-grid-hotlist-picker"],[1,"bv2-appbar-menu",3,"flagAsSpamClicked","showFlagIssuesAsSpam"],[3,"save","close","externalWarnings"],[3,"onBulkEdit","onQuickBulkEdit","onBulkEditIssueRelation","onBulkMarkIssueRead","readStatePrompt",
"enableBulkEstimatedEffortOption"],[3,"onClickCopyIssueIds","onClickCopyIssueShortLinks","onClickCopyAsIssueSearch","shortLinkPrefix","shouldShowCopyIssueShortLinks"],[3,"onApply","onCreate","onLoad","selectedHotlistIds","choices"],["mat-dialog-title",""],[3,"comment","showToolbar","isLiteralModeSupported"],[3,"externalWarnings"],[1,"flex-kids-x","justify-flex-end"],["type","button","mat-button","",1,"medium",3,"mat-dialog-close"],["type","button","mat-flat-button","","cdkFocusInitial","",1,"medium",
"primary",3,"disabled","mat-dialog-close"],[3,"commentChange","onSubmit","comment","showToolbar","isLiteralModeSupported"],[3,"onUpdate"]],template:function(a,b){if(a&1){var c=v();D(0,Asb,2,4,"b-app-bar-bulk-edit-menus",1)(1,Esb,1,2,"b-copy-issue-id-button",2)(2,Fsb,2,2,"div",3);I(3,"b-app-bar-more-menu",4);M("flagAsSpamClicked",function(){w(c);return x(M8c(b))});J();I(4,"b-state-modal",5);M("save",function(){w(c);return x(K8c(b))})("close",function(){w(c);return x(b.hotkeys.unpause())});J();D(5,
Jsb,11,6,"ng-template",null,0,ih)}a&2&&(G(b.hasSelectedIssues()?0:-1),B(),G(b.hasSelectedIssues()?1:-1),B(),G(b.enableBulkEditUi&&b.hasSelectedIssues()?2:-1),B(),E("showFlagIssuesAsSpam",b.isNonPublicSession&&b.hasSelectedIssues()),B(),E("externalWarnings",b.externalWarnings))},dependencies:[g_,f_,OV,H0,m1,eB,jy,uI,wI,yI,xI,p1,tS,n1,ew],styles:["[_nghost-%COMP%] { display: flex; align-items: center; }"]});var y1=function(){};y1.\u0275fac=function(a){return new (a||y1)};y1.\u0275mod=Cf({type:y1});
y1.\u0275inj=p({imports:[i_,eQ,VV,lC,ON,R0,v1,fP,mC,XI,w1,ZV,o1]});var N8c=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},O8c=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)},z1=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=Sj(c.assigneeUser)||"";this.verifier=Sj(c.verifierUser)||
"";this.collaborators=Rj(c.collaboratorsUsers)||[];this.staffing=c.staffing||null;this.cc=Rj(c.ccUsers)||[];this.title=c.title||"";this.comment=c.comment||"";this.formattingMode=c.formattingMode?c.formattingMode:"PLAIN";this.hotlistId=c.hotlistId||[];this.inProd=c.inProd||!1;this.issueAccessLimitLevel=c.issueAccessLimitLevel||"LIMIT_NONE";this.customFieldValues=Object.create(null);a=k(c.customField||[]);for(b=a.next();!b.done;b=a.next())b=b.value,this.customFieldValues[b.customFieldId.toString()]=
b;a=k(Object.entries(this.customFields));for(b=a.next();!b.done;b=a.next())c=k(b.value),b=c.next().value,c=c.next().value,b=Number(b),this.customFieldValues[b]||(this.customFieldValues[b]=c.typedDefaultValue!=null?c.typedDefaultValue:{customFieldId:b})},Q8c=function(a,b){b.name=a.name;b.description=a.description;b.inheritable=a.inheritable;var c=b.snapshot||{};c.componentId=a.componentId;P8c(a.type)?delete c.type:c.type=a.type;P8c(a.priority)?delete c.priority:c.priority=a.priority;P8c(a.severity)?
delete c.severity:c.severity=a.severity;c.assigneeUser=Wj(a.assignee);c.verifierUser=Wj(a.verifier);c.collaboratorsUsers=a.collaborators.map(function(f){return Wj(f)});a.collaboratorGroups.length>0&&(c.collaboratorsUsers=Rua(a.collaboratorGroups).concat(c.collaboratorsUsers||[]));c.staffing=a.staffing;c.ccUsers=a.cc.map(function(f){return Wj(f)});c.comment=a.comment;c.formattingMode=a.formattingMode;c.title=a.title;c.hotlistId=a.hotlistId;c.inProd=a.inProd;c.customField=[];c.issueAccessLimitLevel=
a.issueAccessLimitLevel;for(var d=k(Object.keys(a.customFields)),e=d.next();!e.done;e=d.next())(e=a.customFieldValues[e.value])&&!Go(e)&&c.customField.push(e);b.snapshot=c};
z1.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:Db(c,"Unexpected custom field type: "+c)}}Zt(this)};z1.prototype.isDirty=function(){return this.dirty};var Zt=function(a){a.dirty=!0};z1.prototype.setFormattingMode=function(a){this.formattingMode=a;Zt(this)};z1.prototype.onAccessLimitLevelSelected=function(a){this.issueAccessLimitLevel=a;Zt(this)};
var P8c=function(a){return St(a)||a==="--"};z1.prototype.getCollaboratorGroupsString=function(){return this.collaboratorGroups.length===0?"":this.collaboratorGroups.length>1?this.collaboratorGroups.length+" groups selected":this.collaboratorGroups[0]};z1.prototype.separateCollaboratorGroups=function(a){a=new Set(a);for(var b=[],c=k(this.collaborators),d=c.next();!d.done;d=c.next())d=d.value,a.has(d)?this.collaboratorGroups.push(d):b.push(d);this.collaborators=b};
var Etb=function(a,b){a.collaborators=b.split(",").map(function(c){return c.trim()}).filter(function(c){return!!c});Zt(a)},Htb=function(a,b){a.cc=b.split(",").map(function(c){return c.trim()}).filter(function(c){return!!c});Zt(a)},R8c={value:"--",displayText:"--"};var S8c=new nE("M/d/yyyy"),A1=function(){this.dateFormatter=r(GI);this.boundValueChange=new aB;this.textValue="";this.ariaLabelledBy=this.inputId=void 0;this.isRequired=!1};A1.prototype.ngOnInit=function(){if(this.boundValue){if(this.boundValue)if(typeof this.boundValue==="string")var a=vj(this.boundValue);else{var b;a=(b=Do(this.boundValue))!=null?b:void 0}else a=void 0;this.googDate=a;this.change(this.googDate,!0)}};
A1.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=S8c.format(a);else{var d;a=(d=IDa(S8c.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):""}};A1.\u0275fac=function(a){return new (a||A1)};
A1.\u0275cmp=C({type:A1,selectors:[["bv2-input-date-picker"]],inputs:{boundValue:"boundValue",inputId:[0,"bv2Id","inputId"],ariaLabelledBy:[0,"bv2AriaLabelledby","ariaLabelledBy"],isRequired:"isRequired"},outputs:{boundValueChange:"boundValueChange"},standalone:!1,decls:1,vars:4,consts:[[3,"valueChange","required","value","customFormId","customAriaLabelledBy"]],template:function(a,b){a&1&&(I(0,"b-date-time-input",0),M("valueChange",function(c){return b.change(c)}),J());a&2&&E("required",b.isRequired)("value",
b.googDate)("customFormId",b.inputId)("customAriaLabelledBy",b.ariaLabelledBy)},dependencies:[m0],encapsulation:2});var Ssb=function(a,b){return b.value},B1=function(){this.rows$=new Xi([]);this.trackBy=function(a,b){return b.user.emailAddress};this.tableColumns=["user","involvement","remove-user"];this.involvementOptions=orc.map(function(a){return{value:a,displayText:dxa[a]}});this.allocations=[];this.isAllowedToEdit=!1;this.updatedAllocations=new aB;this.removedUser=new aB};
B1.prototype.ngOnChanges=function(a){if(a.allocations){a=[];for(var b=k(this.allocations),c=b.next();!c.done;c=b.next()){var d=c.value,e=void 0;c=(e=d.user)==null?void 0:e.user;var f=e=void 0;d=(f=(e=d.allocation)==null?void 0:e.involvement)!=null?f:"HIGH";c&&a.push({user:c,involvement:d})}a=a.sort(function(h,l){h=h.user.emailAddress;l=l.user.emailAddress;return!h&&l?-1:!l&&h?1:h.localeCompare(l)});this.rows$.next(a)}};
var Rsb=function(a,b,c){var d,e,f,h,l;return se(function(q){d=b.user;e={user:{user:d},allocation:{involvement:c,aggregationValue:0}};f=Jp(e);if(!f)return q.return();h=[].concat(t(a.allocations));l=h.findIndex(function(u){return Jp(u)===f});if(l<0)return q.return();h[l]=e;a.updatedAllocations.emit(h);xe(q)})},Vsb=function(a,b){var c,d,e,f;return se(function(h){c={user:{user:b.user}};d=Jp(c);if(!d)return h.return();e=[].concat(t(a.allocations));f=e.findIndex(function(l){return Jp(l)===d});if(f<0)return h.return();
e.splice(f,1);a.updatedAllocations.emit(e);a.removedUser.emit(b.user.emailAddress);xe(h)})};B1.\u0275fac=function(a){return new (a||B1)};
B1.\u0275cmp=C({type:B1,selectors:[["b-allocated-users-table"]],inputs:{allocations:"allocations",isAllowedToEdit:"isAllowedToEdit"},outputs:{updatedAllocations:"updatedAllocations",removedUser:"removedUser"},features:[rv],decls:13,vars:5,consts:[["mat-table","","recycleRows","",3,"dataSource","trackBy"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["matColumnDef","user"],["mat-header-cell","",4,"matHeaderCellDef"],["tabindex","-1","mat-cell","",4,"matCellDef"],
["matColumnDef","involvement"],["matColumnDef","remove-user"],["mat-header-row",""],["mat-row",""],["mat-header-cell",""],["tabindex","-1","mat-cell",""],[1,"user-cell"],["size","small",3,"email"],[1,"user-name",3,"email","hovercardFocusEnabled","availabilityChipEnabled"],[1,"involvement-header"],["name","help-outline","size","small","role","button","tabindex","0",1,"involvement-help-icon",3,"matTooltip"],[1,"involvement-select",3,"selectionChange","disabled","value"],[3,"value"],["type","button",
"mat-icon-button","","aria-label","Remove allocated user","matTooltip","Remove allocated user",1,"remove-user-btn","xs",3,"click","disabled"],["svgIcon","delete","fill","none"]],template:function(a,b){a&1&&(I(0,"table",0),D(1,Ksb,1,0,"tr",1)(2,Lsb,1,0,"tr",2),Ag(3,3),D(4,Msb,2,0,"th",4)(5,Osb,2,1,"td",5),Bg(),Ag(6,6),Gg(7),D(8,Psb,4,2,"th",4)(9,Tsb,4,2,"td",5),Bg(),Ag(10,7),D(11,Usb,2,0,"th",4)(12,Wsb,3,1,"td",5),Bg(),J());a&2&&(E("dataSource",b.rows$)("trackBy",b.trackBy),B(),E("matHeaderRowDef",
b.tableColumns),B(),E("matRowDefColumns",b.tableColumns),B(5),Ala("Set the involvement level of people\n    allocated to this issue. Zero involvement levels are useful when a person is involved in the\n    work but does not spend a significant portion of their time on it."))},dependencies:[lC,pB,mC,eB,ly,FP,zL,BM,pzc,oM,uM,qM,nM,wM,rM,tM,xM,zM,pC,mB,rB,fP,DM,mN,NL,Zx,gP,QM,cL],styles:[".mat-mdc-header-cell[_ngcontent-%COMP%]{font-weight:500}tr.mat-mdc-header-row[_ngcontent-%COMP%], tr.mat-mdc-row[_ngcontent-%COMP%]{height:32px}td.mat-mdc-cell[_ngcontent-%COMP%], td.mat-mdc-footer-cell[_ngcontent-%COMP%], th.mat-mdc-header-cell[_ngcontent-%COMP%]{font-size:.8125rem;padding:0 4px}td.mat-mdc-cell[_ngcontent-%COMP%], td.mat-mdc-footer-cell[_ngcontent-%COMP%]{color:#202124;color:var(--row-default-text)}th.mat-mdc-header-cell[_ngcontent-%COMP%]{color:#202124;color:var(--text-high-contrast)}td.mat-column-menu[_ngcontent-%COMP%], td.mat-column-save[_ngcontent-%COMP%]{width:32px;height:32px}.mat-mdc-cell[_ngcontent-%COMP%]:first-of-type, .mat-mdc-footer-cell[_ngcontent-%COMP%]:first-of-type, .mat-mdc-header-cell[_ngcontent-%COMP%]:first-of-type{padding-left:0}.mat-mdc-cell[_ngcontent-%COMP%]:last-of-type, .mat-mdc-footer-cell[_ngcontent-%COMP%]:last-of-type, .mat-mdc-header-cell[_ngcontent-%COMP%]:last-of-type{padding-right:0}.mat-mdc-row[_ngcontent-%COMP%]:last-of-type   .mat-mdc-cell[_ngcontent-%COMP%]{border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider)}td.mat-mdc-cell.mat-column-involvement[_ngcontent-%COMP%], td.mat-mdc-footer-cell.mat-column-involvement[_ngcontent-%COMP%], th.mat-mdc-header-cell.mat-column-involvement[_ngcontent-%COMP%]{padding-right:75px}.user-cell[_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}.user-cell[_ngcontent-%COMP%]   .user-name[_ngcontent-%COMP%]{margin-left:4px}.involvement-header[_ngcontent-%COMP%]{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex}.involvement-help-icon[_ngcontent-%COMP%]{margin-left:4px}.mat-column-involvement[_ngcontent-%COMP%]{width:150px}.mat-column-remove-user[_ngcontent-%COMP%]{width:36px}mat-select[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}mat-select[_ngcontent-%COMP%]:focus-visible{box-shadow:inset 0 0 0 2px #1a73e8;box-shadow:inset 0 0 0 2px var(--primary);outline:none}\n/*# sourceMappingURL=allocated_users_table.css.map */"],
changeDetection:0});var C1=function(){this.isAllowedToEdit=!1;this.editPlaceholder=new aB;this.removePlaceholder=new aB},T8c=function(a){a.isAllowedToEdit&&a.editPlaceholder.emit(a.placeholder)};da.Object.defineProperties(C1.prototype,{roleString:{configurable:!0,enumerable:!0,get:function(){var a=this.placeholder.role;return a&&a!=="JOB_ROLE_UNSPECIFIED"?Ll[a]:"Other"}},placeholderLabel:{configurable:!0,enumerable:!0,get:function(){return"Placeholder: "+this.placeholder.count+" "+this.roleString}}});
C1.\u0275fac=function(a){return new (a||C1)};
C1.\u0275cmp=C({type:C1,selectors:[["b-placeholder-chip"]],inputs:{placeholder:"placeholder",isAllowedToEdit:"isAllowedToEdit"},outputs:{editPlaceholder:"editPlaceholder",removePlaceholder:"removePlaceholder"},decls:6,vars:6,consts:[[1,"placeholder-chip"],["size","small",3,"email"],["role","button","tabindex","0",1,"placeholder-text",3,"click","keydown.enter","keydown.space","matTooltip"],["type","button","mat-icon-button","","aria-label","'Remove placeholder'",1,"remove-btn","xs",3,"click","disabled"],
["svgIcon","close"]],template:function(a,b){a&1&&(I(0,"span",0),K(1,"b-user-image",1),I(2,"span",2),M("click",function(){return T8c(b)})("keydown.enter",function(){return T8c(b)})("keydown.space",function(){return T8c(b)}),Q(3),J(),I(4,"button",3),M("click",function(){b.removePlaceholder.emit(b.placeholder)}),K(5,"mat-icon",4),J()());a&2&&(B(),E("email",void 0),B(),Kg("matTooltip","Click to edit the ",b.roleString," placeholders"),jg("aria-label","Click to edit the "+b.roleString+" placeholders"),
B(),R(" ",b.placeholderLabel," "),B(),E("disabled",!b.isAllowedToEdit))},dependencies:[lC,pB,mC,eB,ly,pC,mB,rB,kC,gP,QM],styles:[".placeholder-chip[_ngcontent-%COMP%]{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;border-radius:24px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;height:1.75em;line-height:1.75em;padding:0 0 0 0;background-color:#fff;background-color:var(--surface-default);align-items:center;border:1px solid var(--hairline);cursor:pointer;display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:-ms-inline-flexbox;display:inline-flex;height:20px;width:350px}.placeholder-chip[_ngcontent-%COMP%]   b-user-image[_ngcontent-%COMP%]{margin-left:1px;margin-right:4px}.placeholder-chip[_ngcontent-%COMP%]   .placeholder-text[_ngcontent-%COMP%]{font-family:Roboto,Arial,sans-serif;line-height:1.25rem;font-size:.875rem;letter-spacing:.0142857143em;font-size:.8125rem;line-height:1.3846153846;color:#202124;color:var(--text-high-contrast);font-style:normal;font-weight:400;letter-spacing:.3px;width:100%}.placeholder-chip[_ngcontent-%COMP%]   .placeholder-text[_ngcontent-%COMP%]:focus-visible{box-shadow:inset 0 0 0 2px #1a73e8;box-shadow:inset 0 0 0 2px var(--primary);outline:none}.placeholder-chip[_ngcontent-%COMP%]   .remove-btn[_ngcontent-%COMP%]{margin:1px 1px 1px 0}\n/*# sourceMappingURL=placeholder_chip.css.map */"],
changeDetection:0});var U8c=function(){return[]},D1=function(){this.matDialog=r(tI)};D1.prototype.show=function(a,b){this.dialog=this.matDialog.open(E1,{width:"325px",panelClass:"no-jitter",data:{allocatedPlaceholders:a,initialRole:b}});return Fe(nI(this.dialog))};D1.\u0275fac=function(a){return new (a||D1)};D1.\u0275prov=n({token:D1,factory:D1.\u0275fac,providedIn:"root"});
var E1=function(){var a=this;this.data=r(sI);this.dialogRef=r(mI);this.role="SWE";this.count=new My(1,{validators:[Cy,Dpa(/^\d+$/),zpa(3E5)]});this.roleToCountMap=new Map;this.JOB_ROLE_JS_TEXT=Ll;this.roleOptions$=new Xi(prc.map(function(f){return{value:f,displayText:a.JOB_ROLE_JS_TEXT[f],disabled:!1}}));for(var b=k(this.data.allocatedPlaceholders),c=b.next();!c.done;c=b.next()){var d=c.value;c=d.role;var e=void 0;d=Math.ceil((e=d.count)!=null?e:0);this.roleToCountMap.set(c,d)}this.roleOptions$.next(prc.map(function(f){return{value:f,
displayText:a.JOB_ROLE_JS_TEXT[f],disabled:a.roleToCountMap.has(f)}}));this.data.initialRole&&(this.role=this.data.initialRole);V8c(this)},V8c=function(a){var b=a.roleToCountMap.get(a.role);a.count.setValue(b!=null?b:1)};E1.prototype.apply=function(){var a,b={role:this.role,count:(a=this.count.value)!=null?a:1};this.dialogRef.close(b)};
da.Object.defineProperties(E1.prototype,{updatingExistingPlaceholder:{configurable:!0,enumerable:!0,get:function(){return this.roleToCountMap.has(this.role)}},title:{configurable:!0,enumerable:!0,get:function(){return this.updatingExistingPlaceholder?"Editing Placeholder":"Adding Placeholder"}},buttonText:{configurable:!0,enumerable:!0,get:function(){return this.updatingExistingPlaceholder?"Update":"Add"}}});E1.\u0275fac=function(a){return new (a||E1)};
E1.\u0275cmp=C({type:E1,selectors:[["b-placeholder-dialog"]],decls:22,vars:11,consts:[[1,"placeholder-dialog"],["mat-dialog-title",""],["mat-dialog-content","",1,"content"],["appearance","outline",1,"job-role-field"],[3,"selectionChange","value","disabled"],[3,"matTooltip","matTooltipDisabled"],["appearance","outline",1,"count-field"],["type","number","min","1","max","300000","step","1","matInput","","placeholder","Enter number",3,"formControl","required"],["mat-dialog-actions","",1,"actions"],["type",
"button","mat-button","","mat-dialog-close","","aria-label","Cancel",1,"cancel"],["type","button","mat-flat-button","","color","primary","aria-label","Add allocated placeholder",1,"apply",3,"click","disabled"],[3,"value","disabled"],[1,"role-option"]],template:function(a,b){a&1&&(I(0,"div",0)(1,"h1",1),Q(2),J(),I(3,"section",2)(4,"mat-form-field",3)(5,"mat-label"),Q(6,"Role"),J(),I(7,"mat-select",4),M("selectionChange",function(d){b.role=d.value;V8c(b)}),yg(8,Xsb,4,5,"span",5,xg),S(10,"async"),J()(),
I(11,"mat-form-field",6)(12,"mat-label"),Q(13,"Number"),J(),K(14,"input",7),D(15,Ysb,2,0,"mat-error")(16,Zsb,2,0,"mat-error"),J()(),I(17,"footer",8)(18,"button",9),Q(19," Cancel "),J(),I(20,"button",10),M("click",function(){return b.apply()}),Q(21),J()()());if(a&2){var c;B(2);Yg(b.title);B(5);E("value",b.role)("disabled",b.updatingExistingPlaceholder);B();zg((c=U(10,8,b.roleOptions$))!==null&&c!==void 0?c:dh(10,U8c));B(6);E("formControl",b.count)("required",!0);B();G(b.count.getError("max")?15:b.count.getError("pattern")?
16:-1);B(5);E("disabled",b.count.invalid);B();R(" ",b.buttonText," ")}},dependencies:[lC,ew,mC,eB,jy,XI,uI,wI,yI,xI,lN,kN,lz,fz,dz,bR,aR,sz,nN,yL,NL,Zx,pC,mB,rB,Nx,cz,oi,Py,Gy,Yy,Xy,Wy,Sy],styles:["mat-form-field[_ngcontent-%COMP%]{width:100%}.job-role-field[_ngcontent-%COMP%]{padding-top:4px}.content[_ngcontent-%COMP%]{padding:0 24px}\n/*# sourceMappingURL=placeholder_dialog.css.map */"],changeDetection:0});var W8c=function(){return[]},F1=function(){this.matDialog=r(tI)};F1.prototype.show=function(a,b,c){this.dialog=this.matDialog.open(G1,{width:"650px",disableClose:!0,panelClass:"no-jitter",data:{issueId:b,plannedAllocations:a,isAllowedToEdit:c}});return Fe(nI(this.dialog))};F1.\u0275fac=function(a){return new (a||F1)};F1.\u0275prov=n({token:F1,factory:F1.\u0275fac,providedIn:"root"});
var G1=function(){Z.call(this);var a=this;this.data=r(sI);this.dialogRef=r(mI);this.editIssueService=r(kJ);this.placeholderDialogService=r(D1);this.checkBeforeExit=r(zS);this.userValidators={userNotInGoogleDomain:function(f){return f?f.every(function(h){return h.indexOf("@google.com")>0}):!0},isNotUserType:function(f){return f?f.every(function(h){return h.indexOf("USER:")===0}):!0},userAlreadySelected:function(f){if(f){f=rq(f).map(function(l){var q,u;return(u=(q=l.user)==null?void 0:q.emailAddress)!=
null?u:""}).filter(function(l){return!!l});f=k(f);for(var h=f.next();!h.done;h=f.next())if(a.emailsSet.has(h.value))return!1}return!0}};this.issueId=this.data.issueId;this.plannedAllocations$=new Xi([]);this.emailsSet=new Set;this.placeholderAllocations$=this.plannedAllocations$.pipe(z(function(f){return f.filter(function(h){return!!h.placeholder}).map(function(h){return h.placeholder})}));this.availableRolesToAllocate$=this.placeholderAllocations$.pipe(z(function(f){var h=new Set(f.map(function(l){return l.role}));
return prc.filter(function(l){return!h.has(l)})}));var b;this.isAllowedToEdit=(b=this.data.isAllowedToEdit)!=null?b:!1;this.creatingNewIssue=!this.data.issueId;this.title=(this.isAllowedToEdit?"Editing":"Viewing")+" staffing";var c;this.plannedAllocations$.next((c=this.data.plannedAllocations)!=null?c:[]);b=k(this.plannedAllocations$.value);for(var d=b.next();!d.done;d=b.next()){var e=c=void 0;(d=(c=d.value.user)==null?void 0:(e=c.user)==null?void 0:e.emailAddress)&&this.emailsSet.add(d)}};Y(G1,Z);
G1.\u0275dir=Z.\u0275dir;G1.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(AS(this.checkBeforeExit,function(){return a.hasChanges()},!1));this.dialogRef.keydownEvents().pipe(Zf(this.destroyed$)).subscribe(function(b){b.key==="Escape"&&a.closeIfUnmodified()});this.dialogRef.backdropClick().pipe(Zf(this.destroyed$)).subscribe(function(){a.closeIfUnmodified()})};
var atb=function(a,b,c){var d,e,f,h,l,q,u;return se(function(A){if(A.nextAddress==1)return e=(d=tp(a.placeholderAllocations$))!=null?d:[],c||(c=b.length>0?b[0]:"SWE"),y(A,a.placeholderDialogService.show(e,c),2);f=A.yieldResult;if(!f)return A.return();h={placeholder:f};l=Jp(h);if(!l)return A.return();q=[].concat(t(a.plannedAllocations$.value));u=q.findIndex(function(F){return Jp(F)===l});u<0?q.push(h):q[u]=h;a.plannedAllocations$.next(q);xe(A)})};
G1.prototype.removePlaceholder=function(a){var b=this,c,d,e,f;return se(function(h){c={placeholder:a};d=Jp(c);if(!d)return h.return();e=[].concat(t(b.plannedAllocations$.value));f=e.findIndex(function(l){return Jp(l)===d});if(f<0)return h.return();e.splice(f,1);b.plannedAllocations$.next(e);xe(h)})};G1.prototype.removeEmail=function(a){this.emailsSet.delete(a)};
var X8c=function(a,b){var c,d,e,f,h,l;return se(function(q){if(b.length<1)return q.return();c=rq(b);f=(d=c[0])==null?void 0:(e=d.user)==null?void 0:e.emailAddress;if(!f||a.emailsSet.has(f))return q.return();h={user:{user:{emailAddress:f}},allocation:{involvement:"HIGH",aggregationValue:0}};l=[].concat(t(a.plannedAllocations$.value),[h]);a.plannedAllocations$.next(l);a.emailsSet.add(f);a.usersInput.removeItem(0);xe(q)})};G1.prototype.hasChanges=function(){return!oj(this.plannedAllocations$.value,this.data.plannedAllocations)};
G1.prototype.closeIfUnmodified=function(){this.hasChanges()||this.dialogRef.close()};G1.prototype.close=function(){this.dialogRef.close()};G1.prototype.save=function(){var a=this;return se(function(b){if(b.nextAddress==1)return a.creatingNewIssue?(a.dialogRef.close(a.plannedAllocations$.value),b.return()):y(b,Esc(a.editIssueService,a.issueId,{plannedAllocations:a.plannedAllocations$.value}),2);a.dialogRef.close();xe(b)})};G1.\u0275fac=function(a){return new (a||G1)};
G1.\u0275cmp=C({type:G1,selectors:[["b-staffing-dialog"]],viewQuery:function(a,b){a&1&&Rg(TK,5);if(a&2){var c;Vg(c=Wg())&&(b.usersInput=c.first)}},features:[cg],decls:25,vars:24,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["messageType","caution"],[1,"placeholder-display"],[1,"placeholder-chip-set"],[3,"placeholder","isAllowedToEdit"],[1,"add-placeholder-actions"],[3,"matTooltip","matTooltipDisabled"],["type","button","mat-stroked-button","","color","primary",1,"add-placeholder-btn",
"small",3,"click","disabled"],["name","help-outline","size","small","role","button","tabindex","0",1,"add-placeholder-help-icon",3,"matTooltip"],[3,"usersChange","maxUserAllowed","placeholderText","customValidators"],[3,"updatedAllocations","removedUser","allocations","isAllowedToEdit"],["mat-dialog-actions",""],["type","button","mat-stroked-button","","mat-dialog-close","","aria-label","Cancel",1,"cancel-button",3,"click"],["type","button","mat-flat-button","","color","primary",1,"done-button",3,
"click","disabled"],[3,"editPlaceholder","removePlaceholder","placeholder","isAllowedToEdit"]],template:function(a,b){if(a&1){var c=v();I(0,"h1",0);Q(1);J();I(2,"section",1);D(3,$sb,3,0,"b-callout",2);Gg(4);S(5,"async");I(6,"div",3)(7,"div",4);yg(8,btb,1,2,"b-placeholder-chip",5,xg);S(10,"async");J();I(11,"div",6)(12,"span",7)(13,"button",8);M("click",function(){w(c);var h=Hg(4);return x(atb(b,h))});Q(14,"Add placeholder");J()();Gg(15);K(16,"b-icon",9);J()();I(17,"b-multi-user-input",10);M("usersChange",
function(h){w(c);return x(X8c(b,h))});J();I(18,"b-allocated-users-table",11);S(19,"async");M("updatedAllocations",function(h){w(c);b.plannedAllocations$.next(h);return x()})("removedUser",function(h){w(c);return x(b.removeEmail(h))});J()();I(20,"footer",12)(21,"button",13);M("click",function(){w(c);return x(b.close())});Q(22," Cancel ");J();I(23,"button",14);M("click",function(){w(c);return x(b.save())});Q(24," Save ");J()()}if(a&2){var d,e,f;B();Yg(b.title);B(2);G(b.isAllowedToEdit?-1:3);B();a=Ala((d=
U(5,14,b.availableRolesToAllocate$))!==null&&d!==void 0?d:dh(21,W8c));B(4);zg((e=U(10,17,b.placeholderAllocations$))!==null&&e!==void 0?e:dh(22,W8c));B(4);E("matTooltip","All supported roles have already been allocated.")("matTooltipDisabled",a.length>0);B();E("disabled",!b.isAllowedToEdit||!a.length);B(3);E("matTooltip","Allocate placeholder roles when\n      planning how many people are needed to complete this issue but the exact contributors are\n      not yet known.");jg("aria-label","Allocate placeholder roles when\n      planning how many people are needed to complete this issue but the exact contributors are\n      not yet known.");
B();E("maxUserAllowed",1)("placeholderText","Search for a user to allocate")("customValidators",b.userValidators);jg("disabled",b.isAllowedToEdit?null:!0);B();E("allocations",(f=U(19,19,b.plannedAllocations$))!==null&&f!==void 0?f:dh(23,W8c))("isAllowedToEdit",b.isAllowedToEdit);B(5);E("disabled",!b.hasChanges())}},dependencies:[B1,lC,ew,zP,nL,oL,mC,eB,jy,XI,uI,wI,yI,xI,pC,mB,rB,fP,DM,$O,TK,Nx,C1],styles:["[_nghost-%COMP%]     .bv2-multi-user-input.bv2-multi-user-input{width:auto}[_nghost-%COMP%]     .bv2-multi-user-input.bv2-multi-user-input input.bv2-multi-user-embedded-input.bv2-multi-user-embedded-input{min-width:100%}b-callout[_ngcontent-%COMP%]{margin-bottom:16px}.placeholder-display[_ngcontent-%COMP%]{border:1px solid var(--hairline);border-radius:8px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin-bottom:24px;padding:16px}.placeholder-display[_ngcontent-%COMP%]   .placeholder-chip-set[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.placeholder-display[_ngcontent-%COMP%]   .add-placeholder-actions[_ngcontent-%COMP%]{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;margin-top:8px;max-width:100%;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.placeholder-display[_ngcontent-%COMP%]   .add-placeholder-actions[_ngcontent-%COMP%]   .add-placeholder-btn[_ngcontent-%COMP%]{font-size:.875rem;padding:12px;width:150px}.placeholder-display[_ngcontent-%COMP%]   .add-placeholder-actions[_ngcontent-%COMP%]   .add-placeholder-help-icon[_ngcontent-%COMP%]{margin-left:8px}b-multi-user-input[_ngcontent-%COMP%]{display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:-ms-inline-flexbox;display:inline-flex;width:100%;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column}b-multi-user-input[_ngcontent-%COMP%]   .bv2-multi-user-errors[_ngcontent-%COMP%]{padding-bottom:0}\n/*# sourceMappingURL=staffing_dialog.css.map */"],
changeDetection:0});var H1=function(){this.confirmationDialogService=r(AI)},Y8c=function(a,b,c){return se(function(d){return d.return(hrc(a.confirmationDialogService,{title:b,content:wi(c)}))})},Z8c=function(a,b){return se(function(c){if(b.canEditIssuesInComponent){var d;if(d=b.issueAccessLimitLevel==="LIMIT_VIEW"){d=!!b.assigneeUser;var e=!!b.verifierUser,f,h=!((f=b.collaboratorsUsers)==null||!f.length),l;f=!((l=b.ccUsers)==null||!l.length);d=!d&&!e&&!h&&!f}c=d?c.return(Y8c(a,b.confirmationDialogText.noListedUsers.title,
b.confirmationDialogText.noListedUsers.content)):b.issueAccessLimitLevel==="LIMIT_VIEW"&&ctb(b)?c.return(Y8c(a,b.confirmationDialogText.loseAccess.title,b.confirmationDialogText.loseAccess.content)):c.return(!0)}else c=c.return(!0);return c})};H1.\u0275fac=function(a){return new (a||H1)};H1.\u0275prov=n({token:H1,factory:H1.\u0275fac,providedIn:"root"});var $8c=["assigneePeopleKitDiv"],a9c=["verifierPeopleKitDiv"],b9c=["saveBeforeClosingDialog"],c9c=["deleteDialog"],ytb=function(a){return[a]},Mtb=function(){return[]},d9c={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?"}},I1=function(){Z.call(this);var a=this;this.matDialogService=r(tI);this.cdr=r(cB,{self:!0});this.templatesApi=r(xD);this.hotlistApi=r(PD);this.constants=r(FI);this.paths=r(IP);this.butterBar=r(fH);this.analytics=
r(OF);this.issueTypeDialog=r(BI);this.componentActions=r(oR);this.documentationLinks=r(lI);this.appEvents=r(yD);this.accessPolicyApi=r(nD);this.trackerFridge=r(NG);this.componentFridge=r(uD);this.currentUserBookmarksFridge=r(ZD);this.confirmIssueAccessLimitSettingsService=r(H1);this.activeSession=r(Bu);this.staffingDialogService=r(F1);this.theme=r(ZP);this.defaultIndex=-1;this.componentId=0;this.supportCustomFields=!1;this.templates=[];this.customFieldRows=[];this.customFieldIds=Object.create(null);
this.currentTemplateRow=this.currentTemplate=null;this.currentIndex=-1;this.templateRows=[];this.afterSaveCheckFunc=null;this.hotlists=[];this.selectedHotlists=[];this.hotlistMap={};this.selectedHotlistIds=[[]];this.templateHotlistIds=[];this.componentIdsToPaths={};this.hotlistPickerIndex=0;this.enableTemplateInheritance=this.implicitAccessEnabled=!1;this.issueTypeChoices=e9c(this);this.priorityChoices=f9c(this);this.severityChoices=g9c(this);this.FieldType=AQ;this.componentId$=new Tf(0);this.component$=
this.componentId$.pipe(Yf(function(b){return a.componentFridge.watch(b)}));this.trackerId$=this.component$.pipe(z(function(b){return b==null?void 0:b.trackerId}));this.tracker$=this.trackerId$.pipe(Yf(function(b){return b?a.trackerFridge.watch(b):Ae(void 0)}));this.ROUTES=Qq;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.enablePeoplekitAc=Vt(this.activeSession,"enablePeoplekitUserAc");this.SESSION_OPTIONS=(new Is).setFilter(yq(1));this.subscriptions.add(this.tracker$.subscribe(function(b){b&&(a.trackerCollaboratorGroups=Qj(b.collaboratorGroups));a.currentTemplate&&a.currentTemplate.separateCollaboratorGroups(a.trackerCollaboratorGroups)}));this.enableTemplateInheritance=Vt(this.activeSession,"enableTemplateInheritance")};Y(I1,Z);I1.\u0275dir=Z.\u0275dir;
I1.prototype.createSearchBarConfig=function(a){return{helpText:void 0,helpTextWithSelections:"",density:2,theme:It(this.theme)?1:0,preselectedIds:a.filter(ik).map(function(b){return $s(b)})}};I1.prototype.selectionsToStrings=function(a){return a.map(function(b){return b.result().getPrimaryTarget().getValue()})};
var Ctb=function(a,b,c){return b.length!==c.length?!1:Cua(b,a.selectionsToStrings(c))},xtb=function(a,b,c,d,e){if(d.editableTemplate&&(e.length!==0||b!=="")&&!Ctb(a,[b],e)){if(e.length>1){e=new Set(a.selectionsToStrings(e));e.delete(b);var f;e=(f=e.values().next().value)!=null?f:""}else e=e.length===1?a.selectionsToStrings(e)[0]:"";if(c==="assignee"){var h;(h=a.assigneeSearchBar)==null||h.deselect([$s(b)]);d.editableTemplate.assignee=e}else if(c==="verifier"){var l;(l=a.verifierSearchBar)==null||
l.deselect([$s(b)]);d.editableTemplate.verifier=e}Zt(d.editableTemplate);a.cdr.markForCheck()}};g=I1.prototype;g.getAutocompleteConfig=function(){return{showSuggestions:!1,moveAutocompleteAboveAnchorIfOffscreen:!0,density:2,theme:It(this.theme)?1:0}};
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(){J1(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)});Lba(this.selectedHotlists,function(c,d){return hu(c.name,d.name)})};
g.removeHotlist=function(a){Ta(this.templateHotlistIds[this.hotlistPickerIndex],a);Zt(this.currentTemplate);this.updateSelectedHotlists()};g.createHotlist=function(a){var b=this;var c=a.name;var d=a.successCallback;a=a.errorCallback;this.analytics.trackEvent("editTemplate","createHotlist");jq(this.butterBar,"Creating hotlist "+c+"...",0);this.hotlistApi.createHotlist(c).then(function(e){jq(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;Fc(a.newSelectionMap,function(d,e){e=uj(e);if(d!==c[e]){Zt(b.currentTemplate);var f=b.selectedHotlistIds[0].includes(e);d&&!f?(d=b.templateHotlistIds[b.hotlistPickerIndex],Qa(d,e)>=0||d.push(e)):!d&&f&&Ta(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;Fe($D(this.currentUserBookmarksFridge)).then(function(b){b=k(b);for(var c=b.next();!c.done;c=b.next())a.addHotlist(c.value);a.cdr.detectChanges()})};g.addHotlist=function(a){var b=this.hotlistMap[a.hotlistId];b&&Ta(this.hotlists,b);this.hotlistMap[a.hotlistId]=a;this.hotlists.push(a)};
var e9c=function(a){var b=a.constants.editIssueTypes.map(function(c){return{value:c,displayText:Utb(c),altText:a.constants.issueTypesShortDescriptions.get(c)}});return[R8c].concat(b)},Utb=function(a){return a===R8c.value?a:Mj(a)};I1.prototype.getDateValue=function(a){return a};I1.prototype.getListFieldType=function(a){return a};
var Ptb=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},rtb=function(a){a.currentTemplateRow.issueType==="VULNERABILITY"||a.currentTemplateRow.issueType==="PRIVACY_ISSUE"?irc(a.issueTypeDialog,a.currentTemplateRow.issueType==="VULNERABILITY"?"VULNERABILITY":"PRIVACY_ISSUE",function(){a.currentTemplate.type=a.currentTemplateRow.issueType;
Zt(a.currentTemplate)},function(){a.currentTemplateRow.issueType=a.currentTemplate.type}):(a.currentTemplate.type=a.currentTemplateRow.issueType,Zt(a.currentTemplate))},f9c=function(a){return[R8c].concat(a.constants.priorities.map(function(b){return{value:b,displayText:b}}))},g9c=function(a){return[R8c].concat(a.constants.severities.map(function(b){return{value:b,displayText:b}}))},h9c=function(a){return a.templateRows.filter(function(b){return!b.inherited})},i9c=function(a){return a.templateRows.filter(function(b){return b.inherited})};
I1.prototype.setCustomField=function(a,b,c){a.editableTemplate.setCustomField(b,c!==null?c:void 0)};
var Ttb=function(a){a.currentTemplate=null;a.currentTemplateRow=null;a.currentIndex=-1;J1(a)},gtb=function(a,b){var c=a.currentIndex;j9c(a,function(){b.index===c?Ttb(a):a.openEditor(b.index)})},k9c=function(a){a.templateHotlistIds.push([]);j9c(a,function(){a.openEditor()})},itb=function(a,b){return b.index>=0&&b.index===a.currentIndex},ktb=function(a,b){var c;return b.index>=0&&!((c=a.templates[b.index])==null?0:c.default)},Stb=function(a){var b,c,d,e,f,h,l,q,u,A,F,H,N,O;return se(function(T){if(T.nextAddress==
1){if(!a.currentTemplate)return T.return();c=(b=a.currentTemplate.collaborators)!=null?b:[];e=(d=a.currentTemplate.collaboratorGroups)!=null?d:[];return y(T,Z8c(a.confirmIssueAccessLimitSettingsService,{assigneeUser:a.currentTemplate.assignee,verifierUser:a.currentTemplate.verifier,ccUsers:a.currentTemplate.cc,collaboratorsUsers:[].concat(t(c),t(e)),issueAccessLimitLevel:a.currentTemplate.issueAccessLimitLevel,currentUserEmail:a.activeSession.getUserEmail(),canEditIssuesInComponent:!0,confirmationDialogText:d9c}),
2)}f=T.yieldResult;if(!f)return T.return();a.currentIndex<0?(l="creating",q={componentId:a.componentId,default:!1},h=function(ea){jq(a.butterBar,ea.name?'Template "'+ea.name+'" created.':"Template created.");a.analytics.trackEvent("template","create");l9c(a,"create",ea.snapshot);m9c(a,"create",ea.templateId);n9c(a,"create",ea.templateId);a.templates.push(ea);a.openEditor(a.templates.length-1)}):(l="updating",u=a.currentIndex,q=a.templates[u],h=function(ea){jq(a.butterBar,ea.name?'Template "'+ea.name+
'" updated.':"Template updated.");a.analytics.trackEvent("template","update");l9c(a,"update",ea.snapshot);m9c(a,"update",ea.templateId);n9c(a,"update",ea.templateId);a.templates[u]=ea;Ttb(a)});a.currentTemplate.hotlistId=a.templateHotlistIds[a.hotlistPickerIndex];Q8c(a.currentTemplate,q);jq(a.butterBar,"Saving template...");F=A=q;H=F.componentId;O=(N=F.templateId)&&String(N)!=="0"?a.templatesApi.update(H,N,A):a.templatesApi.create(H,A);return T.return(O.then(function(ea){a.appEvents.templateModified.next(String(a.componentId));
h(ea);a.cdr.detectChanges()}).catch(function(ea){ea=$o(ea);a.butterBar.showWarning(ea?"Error "+l+" template: "+ea:"There was an error "+l+" the template.",0)}))})},htb=function(a,b){nI(a.matDialogService.open(a.deleteDialog,{data:b})).pipe(Zf(a.destroyed$)).subscribe(function(c){c&&o9c(a,b)})},o9c=function(a,b){var c=b.index;var d;se(function(e){switch(e.nextAddress){case 1:d=a.templates[c];if(c<0||d.default)return e.return(Promise.resolve());Ra(a.templateHotlistIds,c);Ra(a.templates,c);a.defaultIndex=
a.templates.findIndex(function(f){return f.default});J1(a);a.cdr.detectChanges();jq(a.butterBar,"Deleting...");te(e,2,3);return y(e,a.templatesApi.delete(d.componentId,d.templateId),5);case 5:a.appEvents.templateModified.next(String(a.componentId)),jq(a.butterBar,"Deleted template"),a.analytics.trackEvent("template","delete"),a.currentIndex===c&&Ttb(a);case 3:return ue(e),y(e,a.loadTemplates(),6);case 6:J1(a);a.cdr.detectChanges();ve(e,0);break;case 2:we(e),a.butterBar.showWarning("Error while deleting template"),
e.jumpTo(3)}})},q9c=function(a,b){b?Stb(a).then(function(){p9c(a);a.cdr.detectChanges()}):p9c(a)},jtb=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};
I1.prototype.openEditor=function(a){var b=this;this.currentIndex=a===void 0?-1:a;if(this.currentIndex<0){this.currentTemplate=r9c(this,{componentId:this.componentId,default:!1,name:"New Template"});Zt(this.currentTemplate);this.updateSelectedHotlists();J1(this);this.cdr.detectChanges();var c;(c=document.getElementById("template-name"))==null||c.focus()}else s9c(this,this.templates[this.currentIndex]).then(function(d){b.currentTemplate=r9c(b,d);b.hotlistPickerIndex=b.currentIndex;b.updateSelectedHotlists();
J1(b);b.currentTemplate.separateCollaboratorGroups(b.trackerCollaboratorGroups);b.cdr.detectChanges();var e;(e=document.getElementById("template-name"))==null||e.focus()})};
var s9c=function(a,b){return a.templatesApi.get(b.componentId,b.templateId||0)},j9c=function(a,b){a.currentTemplate&&a.currentTemplate.isDirty()?(a.afterSaveCheckFunc=b,t9c(a)):b()},l9c=function(a,b,c){c&&c.issueAccessLimitLevel&&c.issueAccessLimitLevel!=="LIMIT_NONE"&&a.analytics.trackEvent("issueAccessLimits",b,"template:"+c.issueAccessLimitLevel)},m9c=function(a,b,c){a.currentTemplate&&a.currentTemplate.collaboratorGroups.length>0&&a.analytics.trackEvent("quickAddCollaborators",b,"template:"+c)},
n9c=function(a,b,c){var d;((d=a.currentTemplate)==null?0:d.inheritable)&&a.analytics.trackEvent("templateInheritance",b,"component:"+a.componentId+" template:"+c)},t9c=function(a){nI(a.matDialogService.open(a.saveBeforeClosingDialog,{data:a.currentTemplateRow})).pipe(Zf(a.destroyed$)).subscribe(function(b){b!==void 0&&q9c(a,b)})},p9c=function(a){var b=a.afterSaveCheckFunc;a.afterSaveCheckFunc=null;b&&b()},r9c=function(a,b){return new z1(a.customFieldIds,b)};
I1.prototype.loadCustomFields=function(){var a=this;this.customFieldRows=[];this.customFieldIds={};return this.supportCustomFields?this.componentActions.get(this.componentId).then(function(b){a.componentIdsToPaths={};var c=[],d,e=((d=b.componentPathInfo)==null?void 0:d.componentPathId)||[];for(d=0;d<e.length;d++){var f=b.componentPathInfo.componentPathId[d];c.push(b.componentPathInfo.componentPathName[d]);a.componentIdsToPaths[f]=c.join(" > ")}b=k(b.componentPathInfo.allCustomField||[]);for(c=b.next();!c.done;c=
b.next()){c=c.value;if(!c.enabledOnIssues)return;a.customFieldIds[c.customFieldId.toString()]=c;a.customFieldRows.push(new O8c(c,c.type==="TEXT"?"1":"2"))}a.cdr.detectChanges()}).catch(function(){a.butterBar.showWarning("Unable to load custom fields")}):Promise.resolve()};
I1.prototype.loadTemplates=function(){var a=this;this.templates=[];return this.templatesApi.query(this.componentId).then(function(b){a.templates=b;b=k(a.templates);for(var c=b.next();!c.done;c=b.next())c=c.value,c.snapshot.hotlistId?a.templateHotlistIds.push(c.snapshot.hotlistId):a.templateHotlistIds.push([]);a.defaultIndex=a.templates.findIndex(function(d){return d.default});a.cdr.detectChanges()}).catch(function(){a.butterBar.showWarning("Unable to load templates")})};
var J1=function(a){if(a.currentIndex<0)a.templateRows=a.templates.map(function(e,f){return new N8c(f,e,e.componentId!==a.componentId&&e.inheritable)}),a.currentTemplate&&(a.currentTemplateRow=new N8c(-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 N8c(f,e,e.componentId!==a.componentId&&e.inheritable)}));a.currentTemplate&&(a.currentTemplateRow=
new N8c(b,a.currentTemplate,!1),c.push(a.currentTemplateRow));d=a.templates.slice(b+1);c=c.concat(d.map(function(e,f){return new N8c(b+f+1,e,e.componentId!==a.componentId&&e.inheritable)}));a.templateRows=c;a.hotlistPickerIndex=a.currentIndex}},ftb=function(a,b){var c,d,e,f;return se(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;St(Rt(d))&&(d="(unnamed template)");a.defaultIndex=b;jq(a.butterBar,"Changing default template...");
a.analytics.trackEvent("template","changeDefault");te(h,2,3);return y(h,u9c(a,c.templateId),5);case 5:jq(a.butterBar,"Changed default template to "+d);case 3:return ue(h),y(h,a.loadTemplates(),6);case 6:J1(a);a.cdr.detectChanges();ve(h,0);break;case 2:e=we(h),f="Error while changing default message"+(Zo(e)?": "+$o(e):"."),a.butterBar.showWarning(f),h.jumpTo(3)}})},u9c=function(a,b){var c,d;return se(function(e){if(e.nextAddress==1)return y(e,Fe(a.component$),2);if(e.nextAddress!=3){c=e.yieldResult;
if(!c||c.defaultTemplateId===b)return e.return();c.defaultTemplateId=b;return y(e,a.componentActions.update(c),3)}d=e.yieldResult;a.componentFridge.announce(d);a.appEvents.templateModified.next(String(d.componentId));xe(e)})};
I1.prototype.editStaffing=function(){var a=this,b,c,d,e;return se(function(f){if(f.nextAddress==1)return y(f,a.staffingDialogService.show((c=(b=a.currentTemplate.staffing)==null?void 0:b.plannedAllocations)!=null?c:[],void 0,!0),2);d=f.yieldResult;if(!d)return f.return();e={plannedAllocations:d};a.currentTemplate.staffing=e;Zt(a.currentTemplate);xe(f)})};I1.prototype.handleAutocompleteSelection=function(){};I1.\u0275fac=function(a){return new (a||I1)};
I1.\u0275cmp=C({type:I1,selectors:[["b-edit-templates"]],viewQuery:function(a,b){a&1&&(Rg($8c,5,NX),Rg(a9c,5,NX),Rg(b9c,5),Rg(c9c,5));if(a&2){var c;Vg(c=Wg())&&(b.assigneeSearchBar=c.first);Vg(c=Wg())&&(b.verifierSearchBar=c.first);Vg(c=Wg())&&(b.saveBeforeClosingDialog=c.first);Vg(c=Wg())&&(b.deleteDialog=c.first)}},inputs:{componentId:"componentId",supportCustomFields:"supportCustomFields"},standalone:!1,features:[ch([cB]),cg],decls:23,vars:2,consts:[["deleteDialog",""],["saveBeforeClosingDialog",
""],["typeMenu",""],["priorityMenu",""],["severityMenu",""],["assigneePeopleKitDiv",""],["verifierPeopleKitDiv",""],["peopleKitDiv",""],["ccsPeopleKitDiv",""],["card","onedevHovercard"],["cardBody",""],[1,"component-banner","template-help-banner"],["target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],[1,"templates-list"],[1,"template-column-tool"],[1,"edit-button-row"],["format","fill","bAriaLabel","Create New template in this component",3,"onAction"],["colspan","4"],["tabindex","-1",
1,"template-row-name"],[1,"template-row-new-issue-link"],["tabindex","0",1,"keep-focus-ring",3,"href"],[3,"change","id","checked","aria-label","value"],["format","hairline",3,"onAction","bAriaLabel"],["format","hairline",3,"onAction","bAriaLabel","disabled"],[1,"template-edit-pane","template-editor-within-table"],[1,"form-header"],[1,"cell-1"],[1,"template-label"],["for","template-name"],["id","template-name","type","text",1,"template-field",3,"ngModelChange","ngModel"],["for","template-description"],
["id","template-description","type","text",1,"template-field",3,"ngModelChange","ngModel"],"role;region;tabindex;0;aria-label;Standard issue fields".split(";"),[1,"cell-1","access-limit-row"],[1,"access-limit-field"],["for","template-issue-access-limits-dropdown"],["id","template-issue-access-limits-dropdown",3,"updatedAccessLimitLevel","disabled","defaultAccessLimitLevel","implicitAccessEnabled"],[1,"collaborator-group-field"],["for","template-title"],["id","template-title","type","text",1,"template-field",
3,"ngModelChange","ngModel"],[1,"cell-3"],["for","template-default-type"],["id","template-default-type","type","button","mat-button","",1,"medium","primary",3,"matMenuTriggerFor"],["name","arrow-dropdown","size","small"],[3,"overlapTrigger"],["type","button","mat-menu-item","",3,"disabled","matTooltip"],["for","template-default-priority"],["id","template-default-priority","type","button","mat-button","",1,"medium","primary",3,"matMenuTriggerFor"],["type","button","mat-menu-item","",3,"disabled"],
["for","template-default-severity"],["id","template-default-severity","type","button","mat-button","",1,"medium","primary",3,"matMenuTriggerFor"],[1,"cell-1","bv2-edit-template-hotlists"],["for","template-default-hotlist"],["id","template-default-hotlist",1,"hotlist-picker",3,"onApply","onCreate","onLoad","selectedHotlistIds","choices"],[1,"bv2-hotlist-chips"],[1,"float-clear"],[1,"cell-2"],["for","template-assignee"],["id","template-assignee","type","text",1,"template-field",3,"bContactAutocomplete",
"ngModel"],["id","template-assignee","aria-expanded","true","aria-label","The user assigned to this issue","peoplekitSearchBar","",1,"template-field",3,"peoplekitSearchBarConfig"],["for","template-verifier"],["id","template-verifier","type","text",1,"template-field",3,"bContactAutocomplete","ngModel"],["id","template-verifier","aria-expanded","true","aria-label","The user who will verify this issue","peoplekitSearchBar","",1,"template-field",3,"peoplekitSearchBarConfig"],["for","template-comment"],
["id","template-comment",1,"template-field",3,"ngModelChange","ngModel"],[3,"change","initialValue"],["for","template-in-prod"],["id","template-in-prod","aria-label","issue in prod",3,"modelChange","model"],[1,"cell-1","staffing-row"],["for","template-staffing"],["matTooltip","The Staffing field represents planned contributors on this issue.","svgIcon","help-outline","tabindex","0",1,"icon-xs","valign-middle","margin-xs-left"],["type","button",1,"staffing-button","b-input-style",3,"click"],[1,"staffing-text"],
[1,"bv2-edit-button"],"role;region;tabindex;0;aria-label;Custom issue fields".split(";"),[3,"class"],[1,"buttons-row"],["format","fill",3,"onAction","disabled"],["format","hairline",3,"onAction"],["id","template-inheritable","aria-label","template inheritable by child components",3,"modelChange","model"],["for","template-inheritable"],["matTooltip","If activated, all child components will inherit this template. Make sure this template meets your organizational needs as sub-components will not be able to hide this template",
"svgIcon","help-outline","tabindex","0",1,"icon-xs","valign-middle","margin-xs-left"],["for","template-collaborator-groups-dropdown"],["svgIcon","help-outline","tabindex","0","aria-hidden","false",1,"icon-xs","valign-middle","margin-xs-left",3,"matTooltip"],["appearance","outline",1,"static-label"],["multiple","","aria-label","Collaborator groups",3,"ngModelChange","ngModel"],[3,"value"],["type","button","mat-menu-item","",3,"click","disabled","matTooltip"],["type","button","mat-menu-item","",3,"click",
"disabled"],[3,"removeHotlist","hotlist"],["id","template-assignee","type","text",1,"template-field",3,"ngModelChange","bContactAutocomplete","ngModel"],["id","template-assignee","aria-expanded","true","aria-label","The user assigned to this issue","peoplekitSearchBar","",1,"template-field",3,"peoplekitSearchBarSelectionChange","peoplekitSearchBarConfig"],["id","template-verifier","type","text",1,"template-field",3,"ngModelChange","bContactAutocomplete","ngModel"],["id","template-verifier","aria-expanded",
"true","aria-label","The user who will verify this issue","peoplekitSearchBar","",1,"template-field",3,"peoplekitSearchBarSelectionChange","peoplekitSearchBarConfig"],["for","template-collaborators-peoplekit"],["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-peoplekit","aria-expanded","true",
"aria-label","Addition to Collaborators","peoplekitSearchBar","",1,"template-field",3,"peoplekitSearchBarSelectionChange","peoplekitSearchBarConfig"],["for","template-collaborators"],["id","template-collaborators","type","text",1,"template-field",3,"ngModelChange","bContactAutocomplete","ngModel"],["for","template-cc-peoplekit"],["id","template-cc-peoplekit","aria-expanded","true","aria-label","Addition to CCs","peoplekitSearchBar","",1,"template-field",3,"peoplekitSearchBarSelectionChange","peoplekitSearchBarConfig"],
["for","template-cc"],["id","template-cc","type","text",1,"template-field",3,"ngModelChange","bContactAutocomplete","ngModel"],[3,"for"],["type","text",1,"template-field",3,"ngModel"],["type","number","step","any",1,"template-field",3,"ngModel"],[3,"type","name","clearable","value","choices"],[3,"boundValue"],[3,"defaultLineCount","type","values","enumChoices","truncate"],["type","text",1,"template-field",3,"ngModelChange","ngModel"],["type","number","step","any",1,"template-field",3,"ngModelChange",
"ngModel"],[3,"valueChange","type","name","clearable","value","choices"],[3,"boundValueChange","boundValue"],[3,"valuesChange","defaultLineCount","type","values","enumChoices","truncate"],["role","heading","aria-level","3",1,"template-row-name"],["colspan","2"],[1,"template-component-path"],[1,"header-label"],[3,"onedevHovercardTrigger","href"],[4,"onedevHovercardLazyBody"],[3,"onedevIsHovercardReady","componentId"],["mat-dialog-content",""],["mat-dialog-actions",""],["type","button","mat-button",
"",1,"medium","cancel",3,"mat-dialog-close"],["type","button","color","primary","mat-flat-button","",1,"medium","confirm",3,"mat-dialog-close"],["type","button","mat-button","",1,"medium",3,"mat-dialog-close"],["type","button","cdkFocusInitial","","color","primary","mat-flat-button","",1,"medium","confirm",3,"mat-dialog-close"]],template:function(a,b){if(a&1){var c=v();I(0,"div")(1,"div",11);Q(2," A template is a set of default values for new issues created in this component. ");I(3,"a",12);Q(4,"Learn more");
J()();I(5,"table",13)(6,"tr")(7,"th");Q(8,"TEMPLATE");J();I(9,"th",14);Q(10,"DEFAULT");J();K(11,"th",14)(12,"th",14);J();yg(13,Wtb,3,1,"tr",null,xg);D(15,$tb,3,1);J();I(16,"div",15)(17,"b-button",16);M("onAction",function(){w(c);return x(k9c(b))});Q(18," Create New Template ");J()();D(19,aub,7,3,"ng-template",null,0,ih)(21,bub,9,4,"ng-template",null,1,ih);J()}if(a&2){var d;B(3);E("href","https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/templates",vf);B(10);zg(h9c(b));B(2);
G((d=i9c(b))?15:-1,d)}},dependencies:[dQ,pB,UM,lR,zQ,oi,Py,Gy,Ny,nU,m1,$H,aI,fI,bI,A1,jR,eB,jy,uI,yI,xI,ML,jQ,VO,yL,lz,NL,OL,Zx,kN,mB,rB,DM,xL,IL,GL,JL,GS,NX,LN],styles:["[_nghost-%COMP%]     mat-form-field.static-label{width:180px;margin-top:5px;font-size:1rem}[_nghost-%COMP%]     mat-form-field.static-label .mat-mdc-form-field-infix{min-height:initial;padding:0}.buttons-row[_ngcontent-%COMP%]   b-button[_ngcontent-%COMP%]{margin-right:10px}.access-limit-field[_ngcontent-%COMP%]{margin-right:20px}.cell-1.access-limit-row[_ngcontent-%COMP%]{display:inline-flex;min-height:60px}.template-component-path[_ngcontent-%COMP%]{white-space:nowrap}.cell-1.staffing-row[_ngcontent-%COMP%]{width:auto}.cell-1.staffing-row[_ngcontent-%COMP%]   .staffing-text[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cell-1.staffing-row[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{align-items:center;cursor:pointer;display:flex;justify-content:space-between;width:100%}"]});var K1=function(){};K1.\u0275fac=function(a){return new (a||K1)};K1.\u0275mod=Cf({type:K1});K1.\u0275inj=p({imports:[lC,t0]});var L1=function(){};L1.\u0275fac=function(a){return new (a||L1)};L1.\u0275mod=Cf({type:L1});L1.\u0275inj=p({imports:[eQ,lC,GN,iY,BQ,bz,fV,v1,WM,K1,kR,mC,jN,XI,GP,kQ,hC,WO,nN,cy,pC,fP,bN,ZO,WV,MN,UX]});var M1=function(){this.activeSession=r(Bu);this.appSearchState=r(TY);this.analytics=r(OF);this.domSafe=r(NH);this.enableEstado=Vt(this.activeSession,"enableEstado")};M1.prototype.openInEstado=function(){this.analytics.trackEvent("listIssues","addOns","Estado");this.domSafe.openInNewTab("http://go/estado/dashboard-lite/buganizer?buganizer-query="+encodeURIComponent(this.appSearchState.currentQuery))};M1.\u0275fac=function(a){return new (a||M1)};M1.\u0275prov=n({token:M1,factory:M1.\u0275fac,providedIn:"root"});var N1=function(){this.sloStatusHelpersService=r(aJ);this.dateFormatter=r(hH);this.timeDisplayText="--";this.rawObjectiveDisplayText=this.objectiveDisplayText=null;this.cardActionText="--";this.sloEndTimeDisplayText=Ae("--");this.SloRuleDayType=Jfc;this.iconName="slo-status-no-data"};N1.prototype.getIconName=function(a){return v9c.has(a)?v9c.get(a):"slo-status-no-data"};
var w9c=function(a,b,c){a.iconName=a.getIconName(b);c=c!==null?dpc(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:nj("unknown status type: "+b)}};
N1.prototype.ngOnChanges=function(){var a=Date.now()/1E3;if(this.sloBounds&&bJ(this.sloBounds)){var b=this.sloBounds.targetTime.seconds,c=b-this.sloBounds.startTime.seconds;c?this.objectiveDisplayText=dpc(c*1E3):this.objectiveDisplayText=null;var d,e,f;this.rawObjectiveDisplayText=dpc((((e=(d=this.sloBounds.objective)==null?void 0:d.seconds)!=null?e:0)+((f=this.sloBounds.businessDays)!=null?f:0)*86400)*1E3);this.sloEndTimeDisplayText=epc(this.dateFormatter,new Date(b*1E3));c=this.sloBounds;bJ(c)&&
c.endTime&&c.endTime.seconds!==0&&c.endTime.seconds<=Date.now()/1E3?(b=this.sloBounds.endTime.seconds,this.sloEndTimeDisplayText=epc(this.dateFormatter,new Date(b*1E3)),w9c(this,"COMPLETED",a-b)):b<a?w9c(this,"OUT_OF_SLO",a-b):(c=this.sloStatusHelpersService.isSloStartTimeApplied(this.sloStartTime),a=b-a,w9c(this,a>259200?c?"SNOOZED_HEALTHY":"HEALTHY":c?"SNOOZED_NEAR":"NEAR",a))}else w9c(this,"NO_DATA",null),this.rawObjectiveDisplayText=this.objectiveDisplayText=null};
N1.\u0275fac=function(a){return new (a||N1)};
N1.\u0275cmp=C({type:N1,selectors:[["b-slo-time-indicator"]],inputs:{sloBounds:"sloBounds",sloStartTime:"sloStartTime",sloEndTime:"sloEndTime",includeSnoozeDetails:"includeSnoozeDetails",sloMetricDescription:"sloMetricDescription",includeObjective:"includeObjective"},standalone:!1,features:[rv],decls:15,vars:12,consts:[["card",""],[3,"ngClass","svgIcon"],[1,"slo-time-indicator-text",3,"onedevHovercardTrigger","onedevHovercardActive"],[1,"slo-status-text"],["role","dialog","aria-label","More slo information",
1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"margin-s-bottom","padded-s-bottom","border-bottom"]],template:function(a,b){a&1&&(K(0,"mat-icon",1),I(1,"span",2)(2,"span",3),Q(3),J()(),I(4,"onedev-hovercard",null,0)(6,"div",4)(7,"div",5)(8,"div"),Q(9),J(),I(10,"div",6),Q(11),S(12,"async"),J(),D(13,cub,4,2)(14,dub,2,1,"div"),J()()());a&2&&(a=L(5),E("ngClass",b.iconName)("svgIcon",b.iconName),jg("aria-label",b.timeDisplayText==="--"?"No SLO data":""),B(),E("onedevHovercardTrigger",a)("onedevHovercardActive",
!(!b.includeObjective||!b.rawObjectiveDisplayText)),B(2),Yg(b.timeDisplayText),B(6),Yg(b.timeDisplayText),B(2),Zg(" ",b.cardActionText," ",U(12,10,b.sloEndTimeDisplayText)," "),B(2),G((b.sloBounds==null?null:b.sloBounds.dayType)===b.SloRuleDayType.BUSINESS?13:14))},dependencies:[aw,pB,$H,fI,ew],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 v9c=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 O1=function(){this.sloStatusHelpersService=r(aJ);this.includeNoSlo=!1};O1.prototype.ngOnInit=function(){x9c(this);this.hasSlo=!!this.sloStatus&&Yrc(this.sloStatus)};O1.prototype.ngOnChanges=function(){x9c(this)};var x9c=function(a){a.sloStatus&&(a.assignmentSlo=y9c(hk(a.sloStatus.assignmentBounds)),a.responseSlo=y9c(hk(a.sloStatus.responseBounds)),a.closureSlo=y9c(hk(a.sloStatus.closureBounds)))};O1.prototype.isSloStartTimeApplied=function(){return this.sloStatusHelpersService.isSloStartTimeApplied(this.sloStartTime)};
var y9c=function(a){if(bJ(a))return a};O1.\u0275fac=function(a){return new (a||O1)};
O1.\u0275cmp=C({type:O1,selectors:[["b-slo-status-summary"]],inputs:{sloStatus:"sloStatus",sloStartTime:"sloStartTime",sloEndTime:"sloEndTime",includeNoSlo:"includeNoSlo",onlyShowMetric:"onlyShowMetric"},standalone:!1,features:[rv],decls:3,vars:3,consts:[["sloMetricDescription","ASSIGNMENT",3,"sloStartTime","sloEndTime","sloBounds","includeObjective"],["sloMetricDescription","RESPONSE",3,"sloStartTime","sloEndTime","sloBounds","includeObjective"],["sloMetricDescription","CLOSURE",3,"sloStartTime",
"sloEndTime","sloBounds","includeObjective"]],template:function(a,b){a&1&&D(0,eub,2,4,"div")(1,fub,2,4,"div")(2,gub,2,4,"div");a&2&&(G(!b.includeNoSlo&&!b.assignmentSlo||b.onlyShowMetric&&b.onlyShowMetric!="ASSIGNMENT"?-1:0),B(),G(!b.includeNoSlo&&!b.responseSlo||b.onlyShowMetric&&b.onlyShowMetric!="RESPONSE"?-1:1),B(),G(!b.includeNoSlo&&!b.closureSlo||b.onlyShowMetric&&b.onlyShowMetric!="CLOSURE"?-1:2))},dependencies:[N1],encapsulation:2,changeDetection:0});var P1=function(){this.sloStatusHelpersService=r(aJ);this.analytics=r(OF);this.sloApi=r(wG)};P1.prototype.ngOnInit=function(){this.hasSlo=!!this.sloStatus&&Zrc(this.sloStatus,this.onlyShowMetric);this.sloId!=="0"?(this.editSloLink=Qq.editSlo.makeHref(this.sloId),z9c(this)):this.editSloLink=null};P1.prototype.trackOpenSlo=function(){this.analytics.trackEvent("editSlo","open","fromSloStatusCard")};
var z9c=function(a){a.sloApi.get(a.sloId).then(function(b){a.sloName=b.name}).catch(function(){a.sloName=null})};P1.\u0275fac=function(a){return new (a||P1)};
P1.\u0275cmp=C({type:P1,selectors:[["slo-status-card"]],inputs:{sloId:"sloId",sloStatus:"sloStatus",sloStartTime:"sloStartTime",onlyShowMetric:"onlyShowMetric"},standalone:!1,ngContentSelectors:["*"],decls:10,vars:3,consts:[["card",""],[3,"onedevHovercardTrigger"],["role","dialog","aria-label","SLO Hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"bv2-hovercard-narrow"],[1,"slo-indicators"],[1,"no-slo-message"],[3,"sloStatus","sloStartTime","onlyShowMetric"],[1,"slo-link",3,
"href"],[1,"slo-link",3,"click","href"]],template:function(a,b){a&1&&(Ig(),I(0,"span",1),Jg(1),J(),I(2,"onedev-hovercard",null,0)(4,"div",2)(5,"div",3)(6,"div",4),D(7,hub,2,3,"div",5)(8,kub,3,1,"div",6)(9,nub,4,1,"span"),J()()()());a&2&&(a=L(3),E("onedevHovercardTrigger",a),B(7),G(b.hasSlo?7:8),B(2),G(b.editSloLink?9:-1))},dependencies:[$H,fI,O1],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 A9c=function(){var a=this;this.data=r(sI);this.column=this.data.column;this.columns=this.data.columns;this.selectedCustomField=null;this.isLegalColumn=function(b){return a.columns.find(function(c){return c.name===String(b.customFieldId)})===void 0}};A9c.\u0275fac=function(a){return new (a||A9c)};
A9c.\u0275cmp=C({type:A9c,selectors:[["b-column-picker-custom-dialog"]],standalone:!1,decls:9,vars:4,consts:[["mat-dialog-title",""],[3,"fieldSelected","filter"],["type","button","mat-button","",1,"medium","cancel",3,"mat-dialog-close"],["type","button","mat-flat-button","",1,"medium","dialog-primary-action","confirm",3,"disabled","mat-dialog-close"]],template:function(a,b){a&1&&(I(0,"h1",0),Q(1),J(),I(2,"mat-dialog-content")(3,"b-custom-field-picker",1),M("fieldSelected",function(c){return b.selectedCustomField=
c}),J()(),I(4,"mat-dialog-actions")(5,"button",2),Q(6," Cancel "),J(),I(7,"button",3),Q(8," Add "),J()());a&2&&(B(),R("Insert custom field column next to ",b.column.fullLabel,""),B(2),E("filter",b.isLegalColumn),B(4),E("disabled",!b.selectedCustomField)("mat-dialog-close",b.selectedCustomField))},dependencies:[eB,jy,uI,wI,yI,xI,c1],encapsulation:2});var oub="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 escalationOwner".split(" "),
B9c="priority type title assignee status sevenDayViewCount issueId modifiedTime".split(" ");var $t=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)};$t.prototype.toString=function(){return this.isCustomField?"customfield:"+this.name+"["+this.fullLabel+"]":this.name};
var uub={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},escalationOwner:{label:"OWNER",fullLabel:"Owner",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 C9c=function(a,b,c){this.target=a;this.eventType=b;this.listener=c;this.target.addEventListener(this.eventType,this.listener)};C9c.prototype.off=function(){this.target.removeEventListener(this.eventType,this.listener)};var D9c=function(){this.bindings=[]};D9c.prototype.off=function(){for(var a=k(this.bindings),b=a.next();!b.done;b=a.next())b.value.off()};
var E9c=function(a){var b=this;this.params=a;this.mask=document.createElement("div");this.eventBindings=new D9c;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};
E9c.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(){F9c(a,"dragstart",a.onDragTargetDragstart);F9c(a,"dragenter",a.onDragTargetDragenter);F9c(a,"dragend",a.onDragTargetDragend);F9c(a,"selectstart",a.onDragTargetSelectstart);a.eventBindings.bindings.push(new C9c(a.mask,"dragleave",a.onMaskDragLeave));
a.eventBindings.bindings.push(new C9c(a.mask,"dragover",a.onMaskDragover));a.eventBindings.bindings.push(new C9c(a.mask,"drop",a.onMaskDrop))})};var F9c=function(a,b,c){a.eventBindings.bindings.push(new C9c(a.element,b,xn("th.drag-target",c)))};E9c.prototype.tearDown=function(){this.eventBindings.off()};var G9c=["table"],H9c=["defaultHeaderCellTemplate"],I9c=["defaultViewCellTemplate"],J9c=["dataRows"],Cub=function(a,b){return b.name},Eub=function(a,b){return b.id},xub=function(a){return{column:a}},Aub=function(a,b,c){return{row:a,column:b,index:c}},Q1=function(){var a=this;this.activeSession=r(Bu);this.ngZone=r(kh);this.headerCellTemplates={};this.viewCellTemplates={};this.list=[];this.columns=[];this.columnsChange=new aB;this.rowClick=new aB;this.rowLabelRenderer=function(b,c){return"Row "+c};
this.sortChange=new aB;this.focusedRowIndexChange=new aB;this.afterViewInit=new aB;this.enableDragDropHeader=!0;this.readUnreadOptOut=Vt(this.activeSession,"readUnreadOptOut");this.onDragDropColumn=function(b,c){var d=[].concat(t(a.columns));b=d.splice(b,1)[0];d.splice(c,0,b);a.columns=d;a.columnsChange.emit([].concat(t(a.columns)))};this.onTdClickableClick=xn("td.clickable",function(b,c){if((b.type!=="mouseup"||b.button===1)&&!Xzc(c)&&(c=c.closest("tr"))){var d,e=(d=c.dataset.rowId)!=null?d:"";a.rowClick.emit({id:e,
isRead:!!c.dataset.isRead,event:b})}})};Q1.prototype.ngOnInit=function(){this.enableDragDropHeader&&K9c(this);this.tableElement.nativeElement.addEventListener("click",this.onTdClickableClick);this.tableElement.nativeElement.addEventListener("mouseup",this.onTdClickableClick)};
var K9c=function(a){a.dragDropHeaderLogic=new E9c({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()};
Q1.prototype.ngOnChanges=function(a){if(a=a.focusedRowIndex){var b=a.currentValue;b!=null&&b!==a.previousValue&&this.dataRows&&(a=this.dataRows.toArray()[b])&&(fPa(a.nativeElement)||a.nativeElement.scrollIntoView({block:"center"}),this.focus())}};Q1.prototype.ngAfterViewInit=function(){this.afterViewInit.emit(this)};
Q1.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 L9c=function(a){return a.columns.map(function(b){b=b.name;return b!=null?a.viewCellTemplates[b]||a.defaultViewCellTemplate:a.defaultViewCellTemplate})};Q1.prototype.renderRowLabel=function(a,b){return this.rowLabelRenderer(a,b)};
Q1.prototype.focus=function(){if(this.focusedRowIndex!=null&&this.dataRows!=null){var a=this.dataRows.toArray()[this.focusedRowIndex];a&&a.nativeElement.focus()}};Q1.prototype.getColumnIndexForElement=function(a){var b=a.dataset.dragTargetColumnName;return this.columns.findIndex(function(c){return c.name===b})};Q1.\u0275fac=function(a){return new (a||Q1)};
Q1.\u0275cmp=C({type:Q1,selectors:[["pop-grid"]],viewQuery:function(a,b){a&1&&(Rg(G9c,7),Rg(H9c,7),Rg(I9c,7),Rg(J9c,5,ef));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"},standalone:!1,features:[rv],decls:15,vars:1,consts:[["table",""],["defaultHeaderCellTemplate",""],["defaultViewCellTemplate",""],["dataRows",""],[1,"pop-grid",3,"mousedown"],[3,"class"],[1,"header-row"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["tabindex","0",3,"selected","unread","closed","grid-focus"],["tabindex","0",3,"click","focus"],[3,"column"],[3,"row","column"]],
template:function(a,b){if(a&1){var c=v();I(0,"table",4,0);M("mousedown",function(e){w(c);e.shiftKey&&window.getSelection().removeAllRanges();return x()});I(2,"colgroup");yg(3,vub,1,3,"col",5,Cub);J();I(5,"thead")(6,"tr",6);yg(7,yub,1,4,"ng-container",null,Cub);J()();I(9,"tbody");D(10,Fub,2,0);J()();D(11,Hub,2,1,"ng-template",null,1,ih)(13,Iub,2,2,"ng-template",null,2,ih)}if(a&2){var d;B(3);zg(b.columns);B(4);zg(b.columns);B(3);G((d=L9c(b))?10:-1,d)}},encapsulation:2});
var R1=function(){this.templateRef=r(Og);this.popGrid=r(Q1)};R1.prototype.ngOnInit=function(){this.forHeaderCell&&(this.popGrid.headerCellTemplates[this.forHeaderCell]=this.templateRef)};R1.\u0275fac=function(a){return new (a||R1)};R1.\u0275dir=Df({type:R1,selectors:[["","forHeaderCell",""]],inputs:{forHeaderCell:"forHeaderCell"},standalone:!1});var S1=function(){this.templateRef=r(Og);this.popGrid=r(Q1)};
S1.prototype.ngOnInit=function(){this.forViewCell&&(this.popGrid.viewCellTemplates[this.forViewCell]=this.templateRef)};S1.\u0275fac=function(a){return new (a||S1)};S1.\u0275dir=Df({type:S1,selectors:[["","forViewCell",""]],inputs:{forViewCell:"forViewCell"},standalone:!1});var T1=function(){this.templateRef=r(Og);this.popGrid=r(Q1)};T1.prototype.ngOnInit=function(){this.popGrid.defaultHeaderCellTemplate=this.templateRef};T1.\u0275fac=function(a){return new (a||T1)};
T1.\u0275dir=Df({type:T1,selectors:[["","forHeaderCellDefault",""]],standalone:!1});var U1=function(){this.columnLabel=this.columnName="";this.defaultSortDirection="ASC";this.sortChanged=new aB};U1.prototype.ariaLabel=function(){var a=this.columnLabel+", sortable";return this.isActive()?this.sort.direction==="ASC"?a+", sorted ascending":a+", sorted descending":a};U1.prototype.isActive=function(){return!!this.sort&&this.sort.field===this.columnName};
U1.prototype.activate=function(){var a=this.defaultSortDirection;this.isActive()&&(a=this.sort.direction==="ASC"?"DESC":"ASC");this.sortChanged.emit({field:this.columnName,direction:a})};U1.\u0275fac=function(a){return new (a||U1)};
U1.\u0275cmp=C({type:U1,selectors:[["b-sortable-header"]],inputs:{columnName:"columnName",columnLabel:"columnLabel",sort:"sort",defaultSortDirection:"defaultSortDirection"},outputs:{sortChanged:"sortChanged"},standalone:!1,decls:3,vars:8,consts:[["role","button","tabindex","0",1,"keep-focus-ring","pop-grid-sort-header",3,"click","keydown.enter","keydown.space"],[1,"arrow"]],template:function(a,b){a&1&&(I(0,"div",0),M("click",function(){return b.activate()})("keydown.enter",function(c){b.activate();
return c.stopPropagation()})("keydown.space",function(c){b.activate();return c.stopPropagation()}),K(1,"span",1),Q(2),J());a&2&&(sg("current-sort",b.isActive())("direction-asc",b.isActive()&&b.sort.direction==="ASC")("direction-desc",b.isActive()&&b.sort.direction==="DESC"),jg("aria-label",b.ariaLabel()),B(2),R(" ",b.columnLabel," "))},encapsulation:2});var V1=function(){this.elementRef=r(ef);this.grid=r(Q1,{optional:!0})};V1.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}}};
V1.prototype.ngOnDestroy=function(){this.cellParent&&delete this.cellParent.dataset.dragTargetColumnName};V1.\u0275fac=function(a){return new (a||V1)};
V1.\u0275cmp=C({type:V1,selectors:[["pop-grid-default-th"]],inputs:{column:"column"},standalone:!1,decls:3,vars:1,consts:[[1,"pop-grid-default-th"],[3,"columnLabel","columnName","defaultSortDirection","sort","matTooltip"],["tabindex","0",1,"pop-grid-non-sort-header","keep-focus-ring"],[3,"sortChanged","columnLabel","columnName","defaultSortDirection","sort","matTooltip"],[1,"a11y-only"]],template:function(a,b){a&1&&(I(0,"div",0),D(1,Jub,1,5,"b-sortable-header",1)(2,Lub,3,3,"div",2),J());a&2&&(B(),
G(b.column.sortable?1:2))},dependencies:[mB,rB,U1],encapsulation:2});var M9c=function(){return{before:!1}},N9c=function(){return{before:!0}},Sub=function(a,b){return{columns:a,before:b}},W1=function(){Z.call(this);var a=this;this.matDialog=r(tI);this.userPreferencesManager=r(TG);this.butterBar=r(fH);this.analytics=r(OF);this.hotkeys=r(uH);this.activeSession=r(Bu);this.selectedColumnsChange=new aB;this.onAddTeamColumn=new aB;this.currentAvailableItems=[];this.isRemovable=!0;this.menuOpen=!1;this.listViewPrefs=HC.listViewPreferences;this.userPreferencesManager.preferences$.pipe(Zf(this.destroyed$)).subscribe(function(b){a.listViewPrefs=
b.listViewPreferences||HC.listViewPreferences})};Y(W1,Z);W1.\u0275dir=Z.\u0275dir;W1.prototype.ngOnChanges=function(a){a.selectedColumns&&O9c(this)};
var P9c=function(a){a.selectedColumnsChange.emit([].concat(t(a.selectedColumns)));O9c(a)},Nub=function(a,b){var c=Object.assign({},a.listViewPrefs),d=Oub(b),e=d.get;d=d.set;d(c,!e(c));a.activeSession.isAnonymous()||jq(a.butterBar,"Saving display preference...",0);a.userPreferencesManager.save({listViewPreferences:c}).pipe(Nf(),Zf(a.destroyed$)).subscribe(function(){a.analytics.trackEvent("preferences","setListViewPref:"+b,e(c).toString());a.listViewPrefs=c;a.activeSession.isAnonymous()||jq(a.butterBar,
"Display preference saved.",4E3)},function(){a.activeSession.isAnonymous()||a.butterBar.showWarning("Display preference could not be saved.")})},Vub=function(a,b){a.hotkeys.pause();nI(a.matDialog.open(A9c,{data:{column:a.column,columns:a.selectedColumns},position:{top:"100px"},panelClass:"overflow-visible-dialog-panel"})).pipe(Zf(a.destroyed$)).subscribe({next:function(c){c&&a.add(c,b)},error:function(){a.hotkeys.unpause()},complete:function(){a.hotkeys.unpause()}})},O9c=function(a){for(var b={},
c=k(a.selectedColumns),d=c.next();!d.done;d=c.next())b[d.value.name]=!0;var e=a.availableColumns.filter(function(f){return!jea(b,f.name)});c=[].concat(t(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(t(d),t(c));a.currentAvailableItems.sort(function(f,h){return hu(f instanceof $t?f.fullLabel:
f.label,h instanceof $t?h.fullLabel:h.label)});a.isRemovable=Q9c(a)};W1.prototype.isIssueGridColumn=function(a){return a instanceof $t};W1.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,P9c(this),!0}return!1};
W1.prototype.add=function(a,b){var c=this;this.menuTrigger.closeMenu();a="customFieldId"in a&&a.customFieldId?new $t({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(t(this.selectedColumns));this.selectedColumns.splice(b,0,a);P9c(this);return!0};
var Q9c=function(a){return a.selectedColumns.filter(function(b){return!b.isMetadata}).length>1};W1.\u0275fac=function(a){return new (a||W1)};
W1.\u0275cmp=C({type:W1,selectors:[["b-column-picker"]],viewQuery:function(a,b){a&1&&Rg(JL,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"},standalone:!1,features:[cg,rv],decls:21,vars:10,consts:[["pickerMenu","matMenu"],["addColumnMenu","matMenu"],["columnGroupMenu","matMenu"],["menuTrigger","matMenuTrigger"],
[1,"bv2-column-picker-container"],[1,"bv2-columnheader-content"],[3,"column"],["mat-button","","tabindex","0","role","button",1,"columnpicker-button",3,"matMenuTriggerFor","columnpicker-button-active"],[1,"columnpicker-menu"],["type","button","mat-menu-item","",1,"checkbox-item",3,"b-menu-item-checked"],["type","button","mat-menu-item","",3,"click","disabled"],["type","button","mat-menu-item","",3,"matMenuTriggerFor","matMenuTriggerData"],["matMenuContent",""],["mat-button","","tabindex","0","role",
"button",1,"columnpicker-button",3,"menuOpened","menuClosed","keydown.enter","keydown.space","matMenuTriggerFor"],["type","button","mat-menu-item","",1,"checkbox-item",3,"click"],["name","done","size","small",1,"item-checkmark","b-menu-item-check-mark"],[1,"item-description"],["type","button","mat-menu-item","",3,"click"],["type","button","mat-menu-item","",3,"matTooltip"],["type","button","mat-menu-item","",3,"click","keydown.enter","matTooltip"],["type","button","mat-menu-item",""],["type","button",
"mat-menu-item","",3,"click","keydown.enter"]],template:function(a,b){if(a&1){var c=v();I(0,"div",4)(1,"div",5);K(2,"pop-grid-default-th",6);J();D(3,Mub,2,5,"div",7);I(4,"mat-menu",8,0);yg(6,Pub,4,3,"button",9,xg);D(8,Qub,1,0,"mat-divider");I(9,"button",10);M("click",function(){w(c);return x(b.remove())});Q(10," Remove column ");J();I(11,"button",11);Q(12," Add column right ");J();I(13,"button",11);Q(14," Add column left ");J()();I(15,"mat-menu",null,1);D(17,Wub,5,0,"ng-template",12);J();I(18,"mat-menu",
null,2);D(20,Yub,2,0,"ng-template",12);J()()}a&2&&(a=L(16),B(2),E("column",b.column),B(),G(3),B(3),zg(b.column.moreOptions),B(2),G(b.column.moreOptions.length?8:-1),B(),E("disabled",!b.isRemovable),B(2),E("matMenuTriggerFor",a)("matMenuTriggerData",dh(8,M9c)),B(2),E("matMenuTriggerFor",a)("matMenuTriggerData",dh(9,N9c)))},dependencies:[xL,IL,GL,HL,JL,oQ,mB,rB,DM,V1],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 T9c=function(a){var b=this;this.params=a;this.element=this.params.nativeElement;this.dropzone=document.createElement("div");this.onTdDragStart=xn("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=xn("tr",function(c,d){if(b.draggedRow&&b.dragTargetRow!==d&&d.closest("tbody")&&
d!==b.draggedRow){R9c(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=xn("tr",function(){b.draggedRow&&(R9c(b.draggedRow),R9c(b.dragTargetRow),b.draggedRow.setAttribute("aria-grabbed",
"false"),b.draggedRow=b.dragTargetRow=void 0)});this.onTrDragLeave=xn("tr",function(c){c.stopPropagation();c.preventDefault()});this.onDropzoneDragEnter=xn(".row-dropzone",function(c){c.stopPropagation();c.preventDefault()});this.onDropzoneDragLeave=xn(".row-dropzone",function(c){R9c(b.dragTargetRow);S9c(b);c.stopPropagation();c.preventDefault()});this.onDropzoneDragOver=xn(".row-dropzone",function(c){c.stopPropagation();c.preventDefault()});this.onDropzoneDrop=xn(".row-dropzone",function(c){S9c(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()})};
T9c.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");S9c(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)})};
T9c.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 R9c=function(a){a&&(a.classList.remove("drag-over"),a.classList.remove("above"),a.classList.remove("below"),a.classList.remove("dragging"))},S9c=function(a){a.dropzone.style.display="none"};var X1=function(){this.sloStatusHelpersService=r(aJ);this.includeObjective=this.includeSloMetric=!1;this.firstOpenSlo=null;this.firstOpenSloMetric=""};X1.prototype.ngOnInit=function(){U9c(this)};X1.prototype.ngOnChanges=function(a){(a.sloStatus||a.includeSloMetric)&&U9c(this)};var U9c=function(a){var b=$rc(a.sloStatus);b?(a.firstOpenSlo=b.sloBounds,a.includeSloMetric?a.firstOpenSloMetric=b.sloMetric:a.firstOpenSloMetric=""):(a.firstOpenSlo=null,a.firstOpenSloMetric="")};
X1.\u0275fac=function(a){return new (a||X1)};
X1.\u0275cmp=C({type:X1,selectors:[["b-aggregated-slo-status-indicator"]],inputs:{sloStatus:"sloStatus",sloStartTime:"sloStartTime",sloEndTime:"sloEndTime",includeSloMetric:"includeSloMetric",includeObjective:"includeObjective"},standalone:!1,features:[rv],decls:1,vars:5,consts:[[3,"sloBounds","sloMetricDescription","sloStartTime","sloEndTime","includeObjective"]],template:function(a,b){a&1&&K(0,"b-slo-time-indicator",0);a&2&&E("sloBounds",b.firstOpenSlo)("sloMetricDescription",b.firstOpenSloMetric)("sloStartTime",
b.sloStartTime)("sloEndTime",b.sloEndTime)("includeObjective",b.includeObjective)},dependencies:[N1],encapsulation:2,changeDetection:0});var V9c=function(){};V9c.\u0275fac=function(a){return new (a||V9c)};V9c.\u0275cmp=C({type:V9c,selectors:[["archived-issue-indicator"]],standalone:!1,decls:3,vars:0,consts:[["aria-hidden","true","svgIcon","archive_24px"]],template:function(a){a&1&&(I(0,"span"),K(1,"mat-icon",0),Q(2,"Archived "),J())},dependencies:[pB],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 Y1=function(){};Y1.\u0275fac=function(a){return new (a||Y1)};Y1.\u0275mod=Cf({type:Y1});Y1.\u0275inj=p({imports:[lC]});var Z1=function(){this.el=r(ef);this.bFocus=!0;this.nativeElement=this.el.nativeElement};Z1.prototype.ngOnInit=function(){this.bFocus&&this.nativeElement.focus()};Z1.prototype.ngOnChanges=function(){this.bFocus&&this.nativeElement.focus()};Z1.\u0275fac=function(a){return new (a||Z1)};Z1.\u0275dir=Df({type:Z1,selectors:[["","bFocus",""]],inputs:{bFocus:"bFocus"},standalone:!1,features:[rv]});var a2=function(){};a2.\u0275fac=function(a){return new (a||a2)};a2.\u0275mod=Cf({type:a2});a2.\u0275inj=p({});var b2=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(b2,V);b2.prototype.getIssueId=function(){return dv(this,1)};b2.prototype.getIssueId_asLegacyNumberOrString=function(){return Qk(this,1)};b2.prototype.getIssueId_asString=function(){return Wk(this,1)};b2.prototype.setIssueId=function(a){return jm(this,1,a)};var W9c=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(W9c,V);var c2=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,c2.messageId)};Y(c2,V);c2.prototype.getIt=function(){return W(this,W9c,2)};c2.prototype.setIt=function(a){return X(this,W9c,2,a)};c2.messageId="b.ListStatusUpdateHistoryResponse";var d2=function(){this.executor=r(MC)};d2.prototype.update=function(a){var b=this.executor,c=b.post,d="action/issues/"+a.issueId+"/statusUpdate";a=(new kE).setIt(Eza(a));return c.call(b,{url:d,body:a,responseConstructor:kE}).pipe(z(dDa))};d2.prototype.delete=function(a){return this.executor.delete({url:"action/issues/"+a+"/statusUpdate",responseConstructor:null})};
var X9c=function(a,b){var c=ck((new b2).setIssueId(Number(b)),2,2);return a.executor.post({url:"action/issues/"+b+"/listStatusUpdates",body:c,responseConstructor:c2}).pipe(z(function(d){d=d.getIt();return lk(d,bn,1,Uj()).map(Dza)}))};d2.\u0275fac=function(a){return new (a||d2)};d2.\u0275prov=n({token:d2,factory:d2.\u0275fac,providedIn:"root"});var Y9c=function(a){return[a]},e2=function(){this.matDialog=r(tI)};e2.prototype.show=function(a,b,c){a.formattingMode==="LITERAL"&&(a.formattingMode="PLAIN");this.dialog=this.matDialog.open(f2,{width:"60vw",disableClose:!0,panelClass:"no-jitter",data:{componentId:c,formattingAudience:b,statusUpdate:a}});return Fe(nI(this.dialog))};e2.\u0275fac=function(a){return new (a||e2)};e2.\u0275prov=n({token:e2,factory:e2.\u0275fac,providedIn:"root"});
var f2=function(){Z.apply(this,arguments);this.activeSession=r(Bu);this.checkBeforeExit=r(zS);this.data=r(sI);this.dialogService=r(e2);this.dialogRef=r(mI);this.bannedWordsChecker=r(yS);this.CHAR_LIMIT=1E3;this.FormattingMode=nk;this.formattingAudience=this.data.formattingAudience;this.contentRemovalRequestLink=this.activeSession.isInternalSession()?"https://goto.corp.google.com/delete-comments-attachments":"https://issuetracker.google.com/issues/new?component=169992&template=543202";this.origStatusUpdate=
this.data.statusUpdate;this.newStatusUpdate=pj(this.origStatusUpdate)};Y(f2,Z);f2.\u0275dir=Z.\u0275dir;var Z9c=function(a){var b,c;return(c=dJa((b=a.newStatusUpdate)==null?void 0:b.updateText))!=null?c:""};g=f2.prototype;g.ngOnInit=function(){var a=this;this.subscriptions.add(AS(this.checkBeforeExit,function(){return a.isModified()},!1));this.dialogRef.keydownEvents().pipe(Zf(this.destroyed$)).subscribe(function(b){b.key==="Escape"&&a.closeIfUnmodified()});this.dialogRef.backdropClick().pipe(Zf(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!oj(this.newStatusUpdate,this.origStatusUpdate)};g.asNumber=function(a){return Number(a)};
g.closeDialogForSave=function(){var a=this,b,c,d;return se(function(e){if(e.nextAddress==1)return a.isModified()?y(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||QLc(c),e.return();(d=a.dialogService.dialog)==null||d.close(a.newStatusUpdate);xe(e)})};f2.\u0275fac=function(){var a;return function(b){return(a||(a=ee(f2)))(b||f2)}}();
f2.\u0275cmp=C({type:f2,selectors:[["ng-component"]],viewQuery:function(a,b){a&1&&Rg(sS,5);if(a&2){var c;Vg(c=Wg())&&(b.commentDraft=c.first)}},standalone:!1,features:[ch([yS]),cg],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","textareaClass","isLiteralModeSupported"],[1,"char-limit-warning"],[1,"banned-words-warning","break-word"],[1,"inline-block",3,
"change","initialValue"],["tabindex","0",1,"clamper","line-clamp-4"],["mat-dialog-actions",""],["type","button","mat-button","",3,"mat-dialog-close"],["type","button","mat-flat-button","",1,"save-button",3,"click","disabled","color"],["target","_blank","aria-label","Learn more about banned words","href","http://go/b-trackers#banned-words-for-tracker",1,"color-bad-text","keep-underline"],[3,"comment","issueId","formattingMode","audience"]],template:function(a,b){a&1&&(I(0,"h1",0),Q(1,"Editing Status Update"),
J(),I(2,"section",1)(3,"p",2),Q(4," Editing the Status Update will not permanently remove old ones from database history. "),K(5,"br"),Q(6," For deletion of PII or other sensitive content, please "),I(7,"a",3),Q(8," file a support request. "),J()(),I(9,"b-comment-draft",4),bh("contentChange",function(d){ah(b.newStatusUpdate.updateText,d)||(b.newStatusUpdate.updateText=d);return d}),M("contentChange",function(){b.bannedWordsChecker.reset()})("onSubmit",function(){return b.closeDialogForSave()}),J(),
D(10,Zub,2,1,"p",5)(11,$ub,4,1,"p",6),I(12,"b-markdown-toggle",7),M("change",function(d){return b.newStatusUpdate.formattingMode=d}),J(),D(13,avb,2,4,"div",8),J(),I(14,"footer",9)(15,"button",10),Q(16," Cancel "),J(),I(17,"button",11),M("click",function(){return b.closeDialogForSave()}),Q(18),J()());if(a&2){var c;B(7);E("href",b.contentRemovalRequestLink,vf);B(2);tg(Z9c(b));$g("content",b.newStatusUpdate.updateText);E("textareaClass",eh(16,Y9c,b.bannedWordsChecker.showWarning()?"banned-words-warning":
""))("isLiteralModeSupported",!1);B();G(b.newStatusUpdate.updateText.length>1E3?10:-1);B();G(b.bannedWordsChecker.showWarning()?11:-1);B();sg("margin-bottom",b.newStatusUpdate.formattingMode!==b.FormattingMode.MARKDOWN);E("initialValue",(c=b.origStatusUpdate.formattingMode)!==null&&c!==void 0?c:b.FormattingMode.PLAIN);B();G(b.newStatusUpdate.formattingMode===b.FormattingMode.MARKDOWN?13:-1);B(2);E("mat-dialog-close",void 0);B(2);E("disabled",b.newStatusUpdate.updateText.length===0||b.newStatusUpdate.updateText.length>
1E3||!b.isModified())("color",b.bannedWordsChecker.showWarning()?"warn":"primary");B();R(" ",b.bannedWordsChecker.showWarning()?"Save Anyway":"Save"," ")}},dependencies:[uI,wI,yI,xI,eB,jy,UM,LK,sS],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 $9c=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y($9c,V);$9c.prototype.getWorkspaceId=function(){return dv(this,1)};$9c.prototype.getWorkspaceId_asLegacyNumberOrString=function(){return Qk(this,1)};$9c.prototype.getWorkspaceId_asString=function(){return Wk(this,1)};var a$c=new GT("/google.corp.devtools.worktracker.v1.WorkspaceService/Get",$9c,ip,function(a){return a.serialize()},enc);var b$c=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(b$c,V);var d$c=function(a,b){return em(a,1,c$c,b)},c$c=[1,2];var e$c=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(e$c,V);var f$c=new GT("/google.corp.devtools.worktracker.v1.WorkspaceService/List",b$c,e$c,function(a){return a.serialize()},Mh(e$c));var g$c=function(a){var b={withCredentials:!0,suppressCorsPreflight:!0};b=b||{};b.format="jspb";this.client_=new hPc(b);this.hostname_=a==void 0?a:a.replace(/\/+$/,"")};g$c.prototype.get=function(a,b){return OT(this.client_,this.hostname_+"/$rpc/google.corp.devtools.worktracker.v1.WorkspaceService/Get",a,b||{},a$c)};g$c.prototype.list=function(a,b){return OT(this.client_,this.hostname_+"/$rpc/google.corp.devtools.worktracker.v1.WorkspaceService/List",a,b||{},f$c)};var h$c={},i$c;h$c.Authorization=(i$c=OPa([]))!=null?i$c:"";h$c["X-Goog-Api-Key"]="AIzaSyAVSCxcE30nYSaySrZXBXCTumqIjorZA2c";h$c["X-Goog-AuthUser"]="0";var h2=function(){this.activeSession=r(Bu);this.clientFactory=r(g2);this.client=this.clientFactory.create(this.getServiceEndpoint())},j$c=function(a,b){return a.activeSession.isExternalSession()?Ae([]):re(a.client.list(d$c(new b$c,"b/"+b),h$c)).pipe(z(bvb(b)),If(function(){return Ae([])}))};
h2.prototype.getServiceEndpoint=function(){switch(this.activeSession.getEnvironmentType()){case "NIGHTLY":return"https://staging-worktracker-googleapis.corp.google.com";case "PROD":return"https://worktracker-googleapis.corp.google.com";default:return"https://autopush-worktracker-googleapis.corp.google.com"}};h2.\u0275fac=function(a){return new (a||h2)};h2.\u0275prov=n({token:h2,factory:h2.\u0275fac,providedIn:"root"});var g2=function(){};g2.prototype.create=function(a){return new g$c(a)};
g2.\u0275fac=function(a){return new (a||g2)};g2.\u0275prov=n({token:g2,factory:g2.\u0275fac,providedIn:"root"});var k$c=function(){var a=this;this.pressed=new aB;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"}};k$c.\u0275fac=function(a){return new (a||k$c)};
k$c.\u0275cmp=C({type:k$c,selectors:[["insights-graph-btn"]],inputs:{disabled:"disabled"},outputs:{pressed:"pressed"},standalone:!1,decls:14,vars:3,consts:[["type","button","mat-stroked-button","","color","primary",3,"click","title","disabled"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 18 22"],["fill","none","fill-rule","evenodd"],"stroke;currentColor;stroke-linecap;round;stroke-linejoin;round;stroke-opacity;.4;d;M17.5 5.41l-8-3.91m0 7.82l-8-3.91".split(";"),"stroke;currentColor;stroke-opacity;.4;d;M9.5 9.32v10".split(";"),
"stroke;currentColor;stroke-linecap;round;stroke-linejoin;round;stroke-width;1.5;d;M9.5 1.5l-8 3.91v10.01l8 3.91 8-3.91V5.41l-8 3.91".split(";"),"cx 1.5 cy 5.41 r 1.5 fill currentColor fill-rule nonzero".split(" "),"cx 17.5 cy 5.41 r 1.5 fill currentColor fill-rule nonzero".split(" "),"cx 9.5 cy 9.32 r 1.5 fill currentColor fill-rule nonzero".split(" "),"cx 1.5 cy 15.43 r 1.5 fill currentColor fill-rule nonzero".split(" "),"cx 17.5 cy 15.43 r 1.5 fill currentColor fill-rule nonzero".split(" "),"cx 9.5 cy 19.33 r 1.5 fill currentColor fill-rule nonzero".split(" "),
"cx 9.5 cy 1.5 r 1.5 fill currentColor fill-rule nonzero".split(" ")],template:function(a,b){a&1&&(I(0,"button",0),M("click",function(){return b.pressed.emit()}),Q(1,"Insights "),Ud(),I(2,"svg",1)(3,"g",2),K(4,"path",3)(5,"path",4)(6,"path",5)(7,"circle",6)(8,"circle",7)(9,"circle",8)(10,"circle",9)(11,"circle",10)(12,"circle",11)(13,"circle",12),J()()());a&2&&(E("title",b.getTooltip())("disabled",b.disabled),jg("aria-label",b.getTooltip()))},dependencies:[eB,jy],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 l$c=["popOver"],dvb=function(a){return{$implicit:a}},i2=function(a){this.disabled=!1;this.displayEditIcon=!0;this.openPopOverOnInit=!1;this.valueChange=new Dv;this.required=this.editing=this.headerFocused=!1;this.editingValue="";this.onChange=function(){};this.onTouched=function(){};if(a===""||a==="true"||a==="required")this.required=!0};Y(i2,CU);g=i2.prototype;g.ngOnInit=function(){};g.ngAfterViewInit=function(){var a=this;this.openPopOverOnInit&&setTimeout(function(){a.startEditing()})};
g.valueChanged=function(){return ivb(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=ivb(this.editingValue),this.valueChange.emit(a))};g.writeValue=function(a){var b=ivb(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(i2.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.val},set:function(a){a!==this.val&&this.writeValue(a!=null?String(a):null)}}});i2.\u0275fac=function(a){return new (a||i2)($d("required"))};
i2.\u0275cmp=C({type:i2,selectors:[["onedev-numeric-field"]],viewQuery:function(a,b){a&1&&Rg(l$c,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"},standalone:!1,features:[ch([{provide:Ay,useExisting:ld(function(){return i2}),multi:!0},{provide:CU,useExisting:ld(function(){return i2}),multi:!0}]),
cg],decls:11,vars:6,consts:[["anchor",""],["standardValueDisplay",""],["popOver","onedevPopOverEditPanel"],["inputTemplate",""],["aria-label","Edit numeric field",3,"click","focus","blur","disabled"],[4,"ngIf","ngIfElse"],["class","edit-icon","xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",4,"ngIf"],[3,"closedWithAction","anchor","editorTemplate"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",1,"edit-icon"],["d","M20.71,5.63l-2.34-2.34C18.18,3.1,17.92,3,17.67,3c-0.26,0-0.51,0.1-0.71,0.29L3,17.25L3,21h3.75L20.71,7.04 C21.1,6.65,21.1,6.02,20.71,5.63z M5.92,19H5l0-0.92L15.54,7.53l0.92,0.92L5.92,19z"],
["type","number",3,"ngModelChange","ngModel"]],template:function(a,b){if(a&1){var c=v();I(0,"button",4,0);M("click",function(){w(c);return x(b.startEditing())})("focus",function(){w(c);return x(b.headerFocused=!0)})("blur",function(){w(c);return x(b.headerFocused=!1)});I(2,"span");D(3,evb,2,4,"ng-container",5)(4,fvb,1,1,"ng-template",null,1,ih);J();D(6,gvb,2,0,"svg",6);J();I(7,"onedev-pop-over-edit-panel",7,2);M("closedWithAction",function(f){w(c);return x(b.stopEditing(f))});J();D(9,hvb,1,1,"ng-template",
null,3,ih)}if(a&2){a=L(1);var d=L(5),e=L(10);E("disabled",b.disabled);B(3);E("ngIf",b.valueTemplate)("ngIfElse",d);B(3);E("ngIf",!b.disabled&&b.displayEditIcon);B();E("anchor",a)("editorTemplate",e)}},dependencies:[cw,dw,oi,Py,Gy,Ny,DU],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 ovb=function(){return[]},j2=function(){this.disabled=this.thinking=!1;this.effortChange=new aB;this.isCompatibleValue=!0;this.fieldName="";this.fieldType="UNKNOWN";this.isNaN=isNaN};
j2.prototype.ngOnChanges=function(){if(this.getFieldType()==="DROPDOWN"){var a;this.effortSpec&&(a=this.effortSpec.enumSpec)!=null&&a.options&&this.effort&&this.effort.estimate?(a=m$c(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=n$c(this)};j2.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=n$c(this);this.effortChange.emit(this.effort)};j2.prototype.getFieldName=function(){return this.effortSpec?this.effortSpec.name||"":this.effort?"Estimate "+this.effort.specId:"Estimate"};
j2.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 n$c=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"&&m$c(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},m$c=function(a){var b;if((b=a.effort)==null?0:b.estimate){var c,d,e,f;return(f=(c=a.effortSpec)==null?void 0:(d=c.enumSpec)==null?void 0:(e=d.options)==null?
void 0:e.find(function(h){var l;return h.label===((l=a.effort)==null?void 0:l.estimate)}))!=null?f:"incompatible"}};j2.\u0275fac=function(a){return new (a||j2)};
j2.\u0275cmp=C({type:j2,selectors:[["b-estimated-effort-row"]],inputs:{thinking:"thinking",effort:"effort",effortSpec:"effortSpec",disabled:"disabled"},outputs:{effortChange:"effortChange"},standalone:!1,features:[rv],decls:3,vars:1,consts:[["rawNumericValueTemplate",""],["warningHovercard","onedevHovercard"],["optionTemplate",""],["labelTooltip","Estimated effort",3,"thinking"],["svgIcon","error","aria-hidden","false","aria-label","This estimate was made under a different configuration and needs to be \n                          updated.",
1,"icon-xs","effort-warning","align-items-center",3,"onedevHovercardTrigger"],["role","dialog",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],["href","http://go/buganizer/user-guide/concepts/wtdm-home.md?cl=head#stale-effort","target","_blank"],[3,"thinking"],[1,"flex-kids-x",3,"value","valueTemplate","disabled","displayEditIcon"],[1,"flex-kids-x",3,"valueChange","value","valueTemplate","disabled","displayEditIcon"],[3,"valueChange","value","options","includeEmptyOption","optionTemplate",
"disabled","displayArrowIcon"]],template:function(a,b){a&1&&D(0,rvb,15,5,"onedev-edit-field")(1,uvb,2,1,"ng-template",null,0,ih);a&2&&G(b.effortSpec?0:-1)},dependencies:[pB,IU,JU,KU,r0,i2,$H,fI],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 k2=function(){this.staffingDialogService=r(F1);this.tooltipText=this.staffingSummary=this.staffingPlaceholderSummary=this.staffingUserSummary=""};
k2.prototype.ngOnChanges=function(){var a,b,c=(b=(a=this.staffing)==null?void 0:a.plannedAllocations)!=null?b:[];a=c.filter(function(d){return!!d.user});c=c.filter(function(d){return!!d.placeholder}).map(function(d){var e=d.placeholder.role;return d.placeholder.count+" "+(e&&e!=="JOB_ROLE_UNSPECIFIED"?Ll[e]:"Other")});b=c.length?c.join(", "):"0";this.staffingUserSummary=a.length?"Users: "+a.length:"";this.staffingPlaceholderSummary=c.length?"Placeholders: "+b:"";this.staffingSummary=this.staffingUserSummary+
(" - "+this.staffingPlaceholderSummary);this.tooltipText="View"+(this.isAllowedToEdit?" or edit":"")+" staffing"};var o$c=function(a){var b,c,d;a.staffingDialogService.show((c=(b=a.staffing)==null?void 0:b.plannedAllocations)!=null?c:[],a.issueId,(d=a.isAllowedToEdit)!=null?d:!1)};k2.\u0275fac=function(a){return new (a||k2)};
k2.\u0275cmp=C({type:k2,selectors:[["b-staffing-row"]],inputs:{staffing:"staffing",issueId:"issueId",isAllowedToEdit:"isAllowedToEdit"},standalone:!1,features:[rv],decls:25,vars:5,consts:[["fieldContent",""],["infoHovercard","onedevHovercard"],[1,"bv2-issue-metadata-field"],["role","button","tabindex","0",1,"bv2-issue-metadata-field-inner","bv2-issue-metadata-field-staffing","keep-focus-ring",3,"keydown.enter","keyup.space","keydown.space"],[1,"bv2-editable-title","bv2-editable-title-staffing","flex-kids-x",
3,"onedevHovercardTrigger"],[1,"bv2-editable-value",3,"click","matTooltip"],[1,"staffing-summaries"],[1,"issue-metadata-field-edit-icon"],["svgIcon","edit-outline"],["role","dialog",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],["href","http://developers.google.com/issue-tracker/references/glossary-of-fields","target","_blank"],[1,"user-summary"],[1,"placeholder-summary"]],template:function(a,b){if(a&1){var c=v();I(0,"div")(1,"div",2)(2,"div",3);M("keydown.enter",function(){w(c);return x(o$c(b))})("keyup.space",
function(){w(c);return x(o$c(b))})("keydown.space",function(d){w(c);return x(d.preventDefault())});I(3,"div",4)(4,"label");Q(5," Staffing ");J()();I(6,"div",5,0);M("click",function(){w(c);return x(o$c(b))});I(8,"div",6);D(9,vvb,1,0)(10,wvb,4,2);J();I(11,"div",7);K(12,"mat-icon",8);J()()()();I(13,"onedev-hovercard",null,1)(15,"div",9)(16,"div",10)(17,"div");Q(18," Use the Staffing field to represent planned contributors on this issue. ");J();K(19,"br");I(20,"div");Q(21," Allocations can be specified by user along with their involvement level on this issue (high, medium, low, or zero). Placeholder allocations can be specified by job role if the user who will be contributing is not yet known. ");
J();K(22,"br");I(23,"a",11);Q(24," Learn more ");J()()()()()}a&2&&(a=L(14),B(2),jg("aria-label","Staffing: "+b.staffingSummary)("aria-disabled",!1),B(),E("onedevHovercardTrigger",a),B(3),Lg("matTooltip",b.tooltipText),B(3),G(b.staffingUserSummary||b.staffingPlaceholderSummary?10:9))},dependencies:[pB,mB,rB,$H,fI],styles:[".staffing-summaries[_ngcontent-%COMP%]{flex-direction:column}/*# sourceMappingURL=staffing_row.css.map */"],changeDetection:0});var p$c=function(a){return{"internal-only":a}},l2=function(){Z.apply(this,arguments);var a=this;this.session=r(Bu);this.userPreferencesManager=r(TG);this.sloStatusHelpersService=r(aJ);this.paths=r(IP);this.sloFridge=r(xG);this.userToDisplayString=Pj;this.onSloStartTimeChange=new aB;this.onSloEndTimeChange=new aB;this.showInternalOnlyFieldBadge=!1;this.providedSloId$=new Tf(1);this.slo$=this.providedSloId$.pipe(Yf(function(b){return a.sloFridge.watch(b)}));this.hasClosureSlo=this.isSloEndEditTimePickerOpen=
this.isSloStartEditTimePickerOpen=this.enableEscalationOwnerRolloutUi=this.enableSloEndTime=this.hasSloEndTime=this.hasSloStartTime=this.isAccordionExpanded=!1};Y(l2,Z);l2.\u0275dir=Z.\u0275dir;l2.prototype.ngOnInit=function(){var a=this;q$c(this);this.userPreferencesManager.layoutPreferences$.pipe(Zf(this.destroyed$)).subscribe(function(b){a.isAccordionExpanded=!!b.expandIssueSlo})};l2.prototype.ngOnChanges=function(){this.sloId&&this.providedSloId$.next(this.sloId);q$c(this)};
var q$c=function(a){a.hasSlo=!!a.sloStatus&&Yrc(a.sloStatus);a.hasClosureSlo=a.hasSlo&&Zrc(a.sloStatus,"CLOSURE");a.enableSloEndTime=Vt(a.session,"enableSloEndTime");a.enableEscalationOwnerRolloutUi=Vt(a.session,"enableEscalationOwnerRolloutUi");var b,c;(c=a.sloStatus)?(c=c.closureBounds,c=bJ(hk(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=Qq.editSlo.makeHref(a.sloId):a.editSloLink=void 0;a.componentId?a.componentSloLink=Qq.editComponent.makeHref(a.componentId):a.componentSloLink=void 0},r$c=function(a){a.isAccordionExpanded=!a.isAccordionExpanded;goc(a.userPreferencesManager,{expandIssueSlo:a.isAccordionExpanded}).pipe(Zf(a.destroyed$)).subscribe();So("issueSlo","toggle",a.isAccordionExpanded?"open":"close")};l2.prototype.updateSloStartTime=function(a){this.onSloStartTimeChange.next(a)};
l2.prototype.updateSloEndTime=function(a){this.onSloEndTimeChange.next(a)};l2.prototype.trackOpenSlo=function(){So("editSlo","open","fromIssueSloBox")};l2.\u0275fac=function(){var a;return function(b){return(a||(a=ee(l2)))(b||l2)}}();
l2.\u0275cmp=C({type:l2,selectors:[["b-issue-slo-box"]],inputs:{sloId:"sloId",componentId:"componentId",sloStatus:"sloStatus",sloStartTime:"sloStartTime",sloEndTime:"sloEndTime",isEditable:"isEditable",issueCreationTimestamp:"issueCreationTimestamp",showInternalOnlyFieldBadge:"showInternalOnlyFieldBadge",escalationOwner:"escalationOwner"},outputs:{onSloStartTimeChange:"onSloStartTimeChange",onSloEndTimeChange:"onSloEndTimeChange"},standalone:!1,features:[cg,rv],decls:20,vars:23,consts:[["trigger",
"cdkOverlayOrigin"],[1,"slo-container",3,"ngClass"],[1,"issue-slo-box-title",3,"click"],["svgIcon","shield_person_24px","matTooltip","Visible to internal only","aria-label","Visible to internal only",1,"icon-xs","internal-only-badge"],[1,"slo-body"],[1,"slo-status"],[3,"hidden"],[3,"sloStatus","sloStartTime","sloEndTime","includeSloMetric","includeObjective"],[3,"sloStatus","sloStartTime","sloEndTime","includeNoSlo"],["type","button","mat-icon-button","","aria-label","Toggle the detailed SLO status",
"matTooltip","Toggle the detailed SLO status",1,"expand-button","small",3,"click"],["svgIcon","arrow-up",1,"icon-s"],["svgIcon","arrow-down",1,"icon-s"],[1,"slo-actions",3,"hidden"],["id","start-time-row",1,"slo-action"],["id","end-time-row",1,"slo-action"],["id","escalation-owner-row",1,"slo-action"],[1,"slo-action"],["href","http://go/buganizer/guides/defer-slos","target","_blank","aria-label","View help page on deferring slos","matTooltip","View help page on deferring slos",1,"clear-link"],[1,
"slo-edit"],["role","button","tabindex","0","aria-label","Modify the slo start date value","matTooltip","Modify the slo start date value","cdkOverlayOrigin","",1,"bv2-metadata-link",3,"keydown.enter","keydown.space","click"],["cdkConnectedOverlay","",3,"cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen"],["mode","datetime",3,"timestamp"],[3,"closePicker","sloEditCommit","sloStatus","sloEditTime"],["role","button","tabindex","0","aria-label","Modify the slo end date value","matTooltip","Modify the slo end date value",
"cdkOverlayOrigin","",1,"bv2-metadata-link",3,"click","keydown.enter","keydown.space"],[3,"user","email","enableSmallChip"],["aria-label","Navigate to the applied slo page","matTooltip","Navigate to the applied slo page",1,"slo-link","bv2-metadata-link","slo-definition"],["aria-label","Navigate to the applied slo page","matTooltip","Navigate to the applied slo page",1,"slo-link","bv2-metadata-link","slo-definition",3,"click"],["aria-label","Open page to select an slo","matTooltip","Open page to select an slo",
1,"bv2-metadata-link","bv2-metadata-tool","slo-definition",3,"click"]],template:function(a,b){a&1&&(I(0,"div",1)(1,"span",2),M("click",function(){return r$c(b)}),I(2,"label"),Q(3,"SLO Status"),J(),D(4,xvb,1,0,"mat-icon",3),J(),I(5,"div",4)(6,"div",5)(7,"div",6),K(8,"b-aggregated-slo-status-indicator",7),J(),I(9,"div",6),K(10,"b-slo-status-summary",8),J(),I(11,"button",9),M("click",function(){return r$c(b)}),D(12,yvb,1,0,"mat-icon",10)(13,zvb,1,0,"mat-icon",11),J()(),I(14,"div",12),D(15,Dvb,9,3,"div",
13)(16,Ivb,10,5,"div",14)(17,Lvb,5,1,"div",15)(18,Nvb,4,3,"div",16)(19,Ovb,3,1,"div",16),J()()());a&2&&(E("ngClass",eh(21,p$c,b.showInternalOnlyFieldBadge)),B(4),G(b.showInternalOnlyFieldBadge?4:-1),B(3),E("hidden",b.isAccordionExpanded),B(),E("sloStatus",b.sloStatus)("sloStartTime",b.sloStartTime)("sloEndTime",b.sloEndTime)("includeSloMetric",!0)("includeObjective",!0),B(),E("hidden",!b.isAccordionExpanded),B(),E("sloStatus",b.sloStatus)("sloStartTime",b.sloStartTime)("sloEndTime",b.sloEndTime)("includeNoSlo",
!0),B(),jg("aria-expanded",b.isAccordionExpanded),B(),G(b.isAccordionExpanded?12:13),B(2),E("hidden",!b.isAccordionExpanded),B(),G(b.isEditable?15:-1),B(),G(b.enableSloEndTime&&b.isEditable?16:-1),B(),G(b.enableEscalationOwnerRolloutUi?17:-1),B(),G(b.editSloLink?18:-1),B(),G(!b.editSloLink&&b.componentSloLink?19:-1))},dependencies:[aw,pB,mB,rB,eB,ly,X1,iH,O1,i1,Mx,Lx,eP,ew],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 s$c={MISSING:"MISSING",DELETED:"DELETED",VALID:"VALID"};var m2=function(){Z.call(this);var a=this;this.data=r(sI);this.dialogRef=r(mI);this.teamsService=r(DG);this.componentActions=r(oR);this.userPreferencesManager=r(TG);this.snackBar=r(cH);this.analytics=r(OF);this.errorHandler=r(CI);this.componentFridge=r(uD);this.warningType=this.data.warningType;this.componentId=this.data.componentId;this.parentComponentId=this.data.parentComponentId;this.teamSuggestionIds=this.data.teamSuggestionIds;this.header="";this.suggestedTeams$=Rnc(this.teamsService,this.teamSuggestionIds).pipe(z(function(b){for(var c=
[],d=k(a.teamSuggestionIds),e=d.next();!e.done;e=d.next()){e=e.value;var f=b.get(e);f&&c.push(new t$c(e,f.collapsedPathNames))}return c}),Xf([]));this.myTeams$=FG(this.teamsService,"").pipe(z(function(b){return b.map(function(c){return new t$c(c.teamId,c.pathNames)})}));this.teamOptions=[];this.selectedTeam=new t$c(this.teamSuggestionIds[0]||"0",[]);this.teamAction="CHANGE";this.componentSetting=Qq.editComponent.makeHref(this.componentId);this.WarningType=s$c;Ie([this.suggestedTeams$,this.myTeams$]).pipe(z(function(b){var c=
k(b);b=c.next().value;c=c.next().value;return[].concat(t(b),t(c))}),z(zua(function(b){return b.teamId})),Zf(this.destroyed$)).subscribe(function(b){a.teamOptions=b;a.selectedTeam=b[0]})};Y(m2,Z);m2.\u0275dir=Z.\u0275dir;m2.prototype.ngOnInit=function(){this.warningType==="MISSING"?this.header="Add team to the component":this.warningType==="DELETED"&&(this.header="Change team mapping for this component")};
m2.prototype.confirm=function(){var a=this;if(this.teamAction==="CHANGE")this.parentComponentId>0?this.componentActions.get(this.parentComponentId).then(function(c){var d;u$c(a,((d=c.team)==null?void 0:d.id)||"0",a.selectedTeam.teamId)}):u$c(this,"0",this.selectedTeam.teamId);else{var b=pj(this.userPreferencesManager.teamWarningPreferencesSubject$.value);b.componentTeamWarnings.push({componentId:this.componentId,dismissMillis:(new Date).getTime()});ooc(this.userPreferencesManager,b).pipe(Zf(this.destroyed$)).subscribe(function(){a.analytics.trackEvent("teamWarning",
"dismiss","componentId",a.componentId);var c;(c=a.dialogRef)==null||c.close()},function(){})}};var u$c=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)})};
m2.prototype.selectOption=function(a){this.selectedTeam=a};m2.prototype.trackClick=function(a){this.analytics.trackEvent("teamWarning","click",a)};m2.prototype.getMomaTeamLink=function(){return"https://moma.corp.google.com/team/"+this.selectedTeam.teamId};m2.\u0275fac=function(a){return new (a||m2)};
m2.\u0275cmp=C({type:m2,selectors:[["b-team-warning-dialog"]],standalone:!1,features:[cg],decls:11,vars:3,consts:[["suggestedTeamOption",""],["optionTemplate",""],["mat-dialog-title",""],["mat-dialog-content",""],["type","button","mat-button","","mat-dialog-close","",1,"medium"],["type","button","mat-flat-button","","cdkFocusInitial","",3,"click"],["target","_blank",3,"click","href"],["aria-label","Quick team actions",3,"ngModelChange","ngModel"],["value","NONE"],["value","CHANGE"],[4,"ngTemplateOutlet"],
["target","_blank",3,"href"],[1,"suggested-teams"],[3,"valueChange","disabled","value","options","includeEmptyOption","optionTemplate"],["mat-icon-button","","target","_blank","matTooltip","Go to Moma Team page.",1,"small",3,"click"],["svgIcon","pop-out",1,"icon-s"],[1,"suggested-team-option"]],template:function(a,b){if(a&1){var c=v();I(0,"h1",2);Q(1);J();D(2,Rvb,13,3,"div",3)(3,Tvb,6,2,"div",3)(4,Yvb,1,1,"ng-template",null,0,ih);I(6,"mat-dialog-actions")(7,"button",4);Q(8," Cancel ");J();I(9,"button",
5);M("click",function(){w(c);return x(b.confirm())});Q(10," Confirm ");J()()}a&2&&(B(),Yg(b.header),B(),G(b.warningType===b.WarningType.MISSING?2:-1),B(),G(b.warningType===b.WarningType.DELETED?3:-1))},dependencies:[dw,pB,Gy,Ny,eB,jy,my,uI,wI,yI,xI,LL,ML,mB,rB,r0],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 t$c=function(a,b){this.teamId=a;this.teamPath=b.join(" > ")};var n2=function(){Z.apply(this,arguments);this.matDialogService=r(tI);this.analytics=r(OF);this.teamSuggestions=[];this.messageOnly=!1;this.updateTeam=new aB};Y(n2,Z);n2.\u0275dir=Z.\u0275dir;n2.prototype.ngOnInit=function(){};n2.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")};
n2.prototype.openDialog=function(){var a=this;this.analytics.trackEvent("teamWarning","open");nI(this.matDialogService.open(m2,{width:"580px",data:{warningType:this.warningType,componentId:this.componentId,parentComponentId:this.parentComponentId,teamSuggestionIds:this.teamSuggestions.map(function(b){return String(b.teamId)})}})).pipe(Zf(this.destroyed$)).subscribe(function(b){b&&a.updateTeam.emit(b)})};n2.\u0275fac=function(){var a;return function(b){return(a||(a=ee(n2)))(b||n2)}}();
n2.\u0275cmp=C({type:n2,selectors:[["b-team-warning"]],inputs:{warningType:"warningType",componentId:"componentId",parentComponentId:"parentComponentId",teamSuggestions:"teamSuggestions",messageOnly:"messageOnly"},outputs:{updateTeam:"updateTeam"},standalone:!1,features:[cg,rv],decls:4,vars:2,consts:[["messageType","caution","format","app"],["format","fill","mat-button","",3,"click"]],template:function(a,b){a&1&&(I(0,"b-callout",0)(1,"b-callout-body"),Q(2),J(),D(3,Zvb,3,1,"b-callout-actions"),J());
a&2&&(B(2),R(" ",b.warningMessage," "),B(),G(b.messageOnly?-1:3))},dependencies:[dQ,nL,oL],encapsulation:2});var v$c=new zd("DevopsGraphLogger",{providedIn:"root",factory:function(){return nj}}),w$c=new zd("DEV_GRAPH",{providedIn:"root",factory:function(){var a;return se(function(b){switch(b.nextAddress){case 1:return te(b,2),y(b,$vb(),4);case 4:a=b.yieldResult;Hu(b,3);break;case 2:return we(b),b.return();case 3:return te(b,5),y(b,a.loadGraph(),7);case 7:Hu(b,6);break;case 5:return we(b),b.return();case 6:return b.return(google.corp.devops.tools.graph)}})}});var o2=function(){var a=this;this.session=r(Bu);this.theme=r(ZP);this.logger=r(v$c);this.graphBuilder=r(w$c);this.open$=new Uf;this.close$=new Uf;this.getContainer=function(){return document.getElementById("graph-sidebar-host")};this.onGraphClose=function(){var b=a.getContainer();b!=null&&(b.classList.remove("open"),a.close$.next())};this.onGraphOpen=function(){var b=a.getContainer();b!=null&&(b.classList.add("open"),a.open$.next())};this.init()};
o2.prototype.init=function(){var a=this,b,c,d,e,f;return se(function(h){if(h.nextAddress==1)return b=a.getContainer(),!b||a.graphService&&a.graphController?h.return():y(h,a.graphBuilder,2);c=h.yieldResult;d=awb(a.session.getEnvironmentType());if(e=c.createService({environment:d}))f=It(a.theme),a.graphService=e,a.graphController=e.createController({element:b,onClose:a.onGraphClose,onOpen:a.onGraphOpen,theme:f?"dark":void 0}),a.theme.clientDarkmode$.subscribe(function(l){var q;(q=a.graphController)==
null||q.setTheme(l?"dark":"light")});xe(h)})};var x$c=function(a,b){var c;return se(function(d){switch(d.nextAddress){case 1:return te(d,2),y(d,a.init(),4);case 4:return a.graphService==null?d.return(new Set):y(d,a.graphService.getAvailableIssueContexts(Number(b)),6);case 6:return d.return(d.yieldResult);case 5:Hu(d,0);break;case 2:return c=we(d),a.logger(c),d.return(new Set)}})};
o2.prototype.openSidebar=function(a,b){var c=this,d;return se(function(e){switch(e.nextAddress){case 1:return y(e,c.init(),2);case 2:if(!c.graphController)return e.return();te(e,3);return y(e,c.graphController.openIssueContext(Number(a),b),5);case 5:Hu(e,0);break;case 3:d=we(e),c.logger(d),xe(e)}})};
o2.prototype.close=function(){var a=this,b;return se(function(c){switch(c.nextAddress){case 1:return y(c,a.init(),2);case 2:if(!a.graphController)return c.return();te(c,3);return y(c,a.graphController.close(),5);case 5:Hu(c,0);break;case 3:b=we(c),a.logger(b),xe(c)}})};o2.\u0275fac=function(a){return new (a||o2)};o2.\u0275prov=n({token:o2,factory:o2.\u0275fac,providedIn:"root"});var p2=function(){Z.call(this);var a=this;this.devopsGraph=r(o2);this.paramsService=r(TH);this.analytics=r(OF);this.butterBar=r(fH);this.router=r(TA);this.route=r(Wi);this.activeSession=r(Bu);this.contextSensitiveRegistry=r(UH);this.id$=this.contextSensitiveRegistry.getIssueId().pipe(z(function(b){return b||void 0}));this.contexts$=this.id$.pipe(Yf(function(b){return se(function(c){return a.devopsGraph.getContainer()!=null&&b?c.return(x$c(a.devopsGraph,b).then(function(d){return{issueId:b,availablePanels:d}})):
c.return(void 0)})}),Vf({refCount:!1,bufferSize:1}));this.availablePanels$=this.contexts$.pipe(z(function(b){return b?b.availablePanels:new Set}));this.shouldShowInsightsGraphMenu$=this.contexts$.pipe(z(function(b){return!!b&&b.availablePanels.size>0&&a.activeSession.isInternalSession()&&a.devopsGraph.getContainer()!=null}));this.shouldShowInsightsGraphButton$=this.contexts$.pipe(z(function(b){return!!b&&b.availablePanels.size>0&&a.activeSession.isInternalSession()&&a.devopsGraph.getContainer()!=
null&&b.availablePanels.has("deployments")}));this.openSidebar.bind(this);this.subscriptions.add(this.contexts$.subscribe(function(b){if(b){b=b.availablePanels;a.track("ingress-view-"+(b.size>0?"enabled":"disabled"));b.has("deployments")&&a.track("ingress-view-deployments-enabled");var c=a.paramsService.params.showInsights;c&&(c==="default"?b.size>0?a.openSidebar():a.butterBar.showWarning("Could not open Insights Sidebar: no data for this issue. See go/g3g-guide-buganizer."):b.has(c)?a.openSidebar(c):
a.butterBar.showWarning("Could not open "+c+" Insights Sidebar: no data for this issue. See go/g3g-guide-buganizer."))}else a.devopsGraph.close()}));this.subscriptions.add(this.devopsGraph.close$.subscribe(function(){y$c(a,null)}))};Y(p2,Z);p2.\u0275dir=Z.\u0275dir;p2.prototype.onClickButton=function(a){this.analytics.trackEvent("sidebar","ingress-click");this.openSidebar(a)};
p2.prototype.openSidebar=function(a){var b=this,c,d,e,f;return se(function(h){c=tp(b.contexts$);if(!c)return h.return();d=c;e=d.issueId;y$c(b,(f=a)!=null?f:"default");return h.return(b.devopsGraph.openSidebar(e,{panel:a}))})};p2.prototype.track=function(a){this.analytics.trackEvent("sidebar",a)};var y$c=function(a,b){a.router.navigationTransitions.currentNavigation==null&&a.router.navigate([],{relativeTo:a.route,queryParams:{showInsights:b},queryParamsHandling:"merge",replaceUrl:!0,preserveFragment:!0})};
p2.\u0275fac=function(a){return new (a||p2)};p2.\u0275prov=n({token:p2,factory:p2.\u0275fac,providedIn:"root"});var gwb=function(){return[]},dwb=function(a){return[a]},Bwb=function(a){return{$implicit:a}},kxb=function(a){return{customFieldId:a}},q2=function(){var a=this;this.activeSession=r(Bu);this.editIssueService=r(kJ);this.issueService=r(bF);this.issueFullFridge=r(QF);this.issuePermissionService=r(gJ);this.issueDetailsBrain=r(eJ);this.constants=r(FI);this.refreshMonitor=r(fF);this.userPreferencesManager=r(TG);this.documentationLinks=r(lI);this.workspaceService=r(h2);this.changelistApi=r(iD);this.issueMarkAsDuplicateDialogService=
r(ES);this.analytics=r(OF);this.issueInsightsSidebarService=r(p2);this.issueLimits=r(IS);this.jspbPrincipalTypes=r(oG);this.issueId$=new Tf(1);this.distinctIssueId$=this.issueId$.pipe(Pf());this.issue$=this.distinctIssueId$.pipe(Yf(function(b){return a.editIssueService.editableIssue$(b)}));this.enableTriageView=Vt(this.activeSession,"enableTeamScope")&&this.activeSession.isInternalSession();this.enablePeoplekitAc=Vt(this.activeSession,"enablePeoplekitUserAc");this.isGerritEnabled=Vt(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=Fp;this.trackCustomField=function(b,c){return"{"+c.componentId+", "+c.customFieldId+"}"};this.FieldType=AQ;this.ListFieldType=rIc;this.IssueFieldName=Igc;this.codeChangesValidator=Uwa;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(b){return!a.activeSession.isExternalSession()&&
!b}));this.teamSuggestions$=this.issueDetailsBrain.teamSuggestions$;this.effortSpec$=this.issueDetailsBrain.effortSpec$;this.isEffortEnabled$=this.issueDetailsBrain.isEffortEnabled$;this.canonicalIssueId$=this.issueDetailsBrain.canonicalIssueId$;this.sloId$=this.issueDetailsBrain.sloId$;this.sloStatus$=this.issueDetailsBrain.sloStatus$;this.createdTimeMicros$=this.issueDetailsBrain.createdTimeMicros$;this.teamId$=this.issueDetailsBrain.teamId$;this.teamWarningType$=this.issueDetailsBrain.team$.pipe(z(Pvb));
this.component$=this.issueDetailsBrain.component$;this.effort$=this.issueDetailsBrain.effort$;this.staffing$=this.issueDetailsBrain.staffing$;this.accessLimitLevel$=this.issueDetailsBrain.accessLimitLevel$;this.triagePhase$=this.issueId$.pipe(Yf(function(b){return xkc(a.issueService,b)}),z(function(b){var c,d;return(d=(c=b.triage)==null?void 0:c.phase)!=null?d:"UNSPECIFIED"}));this.triagePhaseUrl$=Ie([this.teamId$,this.triagePhase$]).pipe(z(function(b){var c=k(b);b=c.next().value;(c=c.next().value)&&
c!=="UNSPECIFIED"||(c="NEW");return Qq.viewTriage.makeHref(b!=null?b:0,0,Kt[c])}));this.issueFields$=this.distinctIssueId$.pipe(z(function(b){return a.editIssueService.issueFields(b)}),Vf({refCount:!0,bufferSize:1}));this.isForgottenFourPrimary$=this.issueFields$.pipe(Yf(function(b){return b.isForgottenFourPrimary$}));this.showHiddenFieldsLabel$=this.issueFields$.pipe(Yf(function(b){return b.showHiddenFieldsLabel$}));this.hasHiddenFields$=this.issueFields$.pipe(Yf(function(b){return b.hasHiddenFields$}));
this.isChangelistPrimary$=this.issueFields$.pipe(Yf(function(b){return b.isChangelistPrimary$}));this.isSeverityPrimary$=this.issueFields$.pipe(Yf(function(b){return b.isSeverityPrimary$}));this.isSloStatusPrimary$=this.issueFields$.pipe(Yf(function(b){return b.isSloStatusPrimary$}));this.hiddenCustomFields$=this.issueFields$.pipe(Yf(function(b){return b.hiddenCustomFields$}));this.visibleCustomFields$=this.issueFields$.pipe(Yf(function(b){return b.visibleCustomFields$}));this.issueQuickActions$=
this.distinctIssueId$.pipe(z(function(b){return a.editIssueService.issueQuickActions(b)}),Vf({refCount:!0,bufferSize:1}));this.issueAssigneeQuickAction$=this.issueQuickActions$.pipe(Yf(function(b){return b.issueAssigneeQuickAction$}));this.issueStatusQuickAction$=this.issueQuickActions$.pipe(Yf(function(b){return b.issueStatusQuickAction$}));this.trackerId$=this.component$.pipe(z(function(b){return b==null?void 0:b.trackerId}));this.priorityChoices=this.constants.priorities.map(function(b){return{value:b,
displayText:b,hotkey:dHa(b)}});this.severityChoices=this.constants.severities.map(function(b){return{value:b,displayText:b}});this.typeChoices=this.constants.editIssueTypeChoices;this.phaseChoices=Object.values(sgc).map(function(b){return{value:b,displayText:Xq.get(b)}});this.teamHovercardInputs$=Ie([this.issueDetailsBrain.componentId$,this.teamId$]).pipe(z(function(b){var c=k(b);b=c.next().value;c=c.next().value;return{teamId:c?String(c):"0",componentId:b?String(b):"0"}}));this.isTeamWarningDismissed$=
Ie([this.issue$,this.userPreferencesManager.preferences$]).pipe(z(function(b){b=k(b);var c=b.next().value;var d,e;return(d=b.next().value.teamWarningPreferences)==null?void 0:(e=d.componentTeamWarnings)==null?void 0:e.some(function(f){return f.componentId===c.componentId})}));this.shouldDisplayTeamSuggestions$=Ie([this.issuePermissionService.userIsComponentAdmin$,this.isTeamWarningDismissed$,this.teamWarningType$]).pipe(z(function(b){var c=k(b);b=c.next().value;var d=c.next().value;c=c.next().value;
return b&&!d&&(c==="MISSING"||c==="DELETED")}));this.statusChoices$=this.canonicalIssueId$.pipe(z(function(b){return[].concat(t(jhc.filter(function(c){return c.value!=="DUPLICATE"})),[{value:"DUPLICATE",displayText:b?"Duplicate of "+b:"Duplicate"}])}),z(function(b){return b.map(function(c){return Object.assign({},c,{hotkey:eHa(c.value)})})}));this.workspaces$=this.distinctIssueId$.pipe(Yf(function(b){return j$c(a.workspaceService,b)}),Vf({refCount:!0,bufferSize:1}));this.pendingChangelists$=Akc(this.refreshMonitor,
this.distinctIssueId$).pipe(Yf(function(b){return a.changelistApi.getPendingChangelistsForIssue(b)}),z(function(b){return b.changelistNumbers.map(String)}),z(function(b){return{cls:b,hasError:!1}}),If(function(){return Ae({cls:[],hasError:!0})}),Vf({refCount:!0,bufferSize:1}));this.pendingCodeChanges$=this.issue$.pipe(Yf(function(b){return a.activeSession.isExternalSession()?Ae({issue:b,changelists:{cls:[],hasError:!1}}):a.pendingChangelists$.pipe(z(function(c){return{issue:b,changelists:c}}))}),
z(function(b){var c=b.issue;b=b.changelists;c=Qqc(c);return{changes:[].concat(t(b.cls),t(c)),hasError:b.hasError}}));this.USER_FIELD_HOVERCARD_CONFIG=Object.assign({},new cI,{position:[oqc]});this.ACCESS_LIMITS_HOVERCARD_CONFIG=Object.assign({},new cI,{position:[{originX:"start",originY:"center",overlayX:"end",overlayY:"center",offsetX:-30}]});this.issueIsOnInternalComponent$=this.component$.pipe(z(function(b){var c;return(b==null?void 0:(c=b.accessLimit)==null?void 0:c.accessLevel)==="INTERNAL"}));
this.shouldDisplayEffort$=this.issueIsOnInternalComponent$.pipe(z(function(b){return a.sessionIsInternal&&b||Vt(a.activeSession,"enableEstimatedEffortExternalUi")}));this.collaboratorUserPrincipalValidator=function(b){var c,d,e;return se(function(f){if(f.nextAddress==1){if(!b)return f.return("This field is required");c=b.split(",").map(function(h){return h.trim()}).filter(Boolean);return y(f,ync(a.jspbPrincipalTypes,c,!1),2)}d=f.yieldResult;e=c.find(function(h){var l;return((l=d[h])==null?void 0:
l.principalType)!=="USER"});return f.return(e?"You can only add users to collaborators.":"")})};this.reconcileView={assignee:function(b){var c,d;b.value=(d=(c=tp(a.issue$))==null?void 0:c.assignee)!=null?d:""},reporter:function(b){var c,d;b.value=(d=(c=tp(a.issue$))==null?void 0:c.reporter)!=null?d:""},verifier:function(b){var c,d;b.value=(d=(c=tp(a.issue$))==null?void 0:c.verifier)!=null?d:""},ccs:function(b){var c,d;b.values=(d=(c=tp(a.issue$))==null?void 0:c.cc)!=null?d:[]},collaborators:function(b){var c,
d;b.values=(d=(c=tp(a.issue$))==null?void 0:c.collaborators)!=null?d:[]},issueType:function(b){var c,d;b.value=(d=(c=tp(a.issue$))==null?void 0:c.type)!=null?d:null}}};q2.prototype.ngOnChanges=function(){this.issueId$.next(this.issueId)};
var vxb=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!fJ(a.issuePermissionService,e)}):[].concat(t(c.cc),[a.activeSession.getUserEmail()]);return Csc(a.editIssueService,a.issueId,d)};
q2.prototype.toggleCollaborators=function(){var a=this,b=this.issuePermissionService.isCurrentUserCollaborator();this.analytics.trackEvent("editIssue","toggleCollaborators (appbar)",(!b).toString());var c=this.editIssueService.editableIssue(this.issueId),d=[];d=b?c.collaborators.filter(function(e){return!fJ(a.issuePermissionService,e)}):[].concat(t(c.collaborators),[this.activeSession.getUserEmail()]);return Dsc(this.editIssueService,this.issueId,d)};q2.prototype.getTrackerId=function(){return tp(this.trackerId$)};
q2.prototype.toggleAccessLimits=function(){var a=this;return se(function(b){if(a.issueLimits.isOpen())return b.return();a.issueLimits.open({componentId:Number(tp(a.issueDetailsBrain.componentId$)),issueId:a.issueId});xe(b)})};q2.prototype.toggleAccessLimitsWithKeystroke=function(a){this.toggleAccessLimits();a.stopPropagation();a.preventDefault()};
var qxb=function(a,b){return rxb(a.editIssueService,a.issueId,b.newEmail).finally(function(){a.reconcileView.assignee(b.editField)})},mxb=function(a,b){return se(function(c){return c.return(nxb(a.editIssueService,a.issueId,b.newEmail).finally(function(){a.reconcileView.reporter(b.editField)}))})},sxb=function(a,b){return se(function(c){return c.return(txb(a.editIssueService,a.issueId,b.newEmail).finally(function(){a.reconcileView.verifier(b.editField)}))})},wxb=function(a,b){return se(function(c){return c.return(Csc(a.editIssueService,
a.issueId,b.newUsers).finally(function(){b.editField&&a.reconcileView.ccs(b.editField)}))})},uxb=function(a,b){return se(function(c){return c.return(Dsc(a.editIssueService,a.issueId,b.newUsers).finally(function(){b.editField&&a.reconcileView.collaborators(b.editField)}))})},oxb=function(a,b,c,d){return se(function(e){return e.return(wsc(a.editIssueService,a.issueId,c,d).finally(function(){a.reconcileView.issueType(b)}))})},au=function(a,b){a.analytics.trackEvent("editIssue","quickAction (sidebar)",
b==null?void 0:b.displayText);return Asc(a.editIssueService,a.issueId,b)};
q2.prototype.onStatusChanged=function(a){var b=this,c;return se(function(d){if(d.nextAddress==1){a:switch(a){case "NEW":case "ASSIGNED":case "ACCEPTED":case "FIXED":case "VERIFIED":case "NOT_REPRODUCIBLE":case "INTENDED_BEHAVIOR":case "OBSOLETE":case "INFEASIBLE":case "INACTIVE":case "DUPLICATE":var e=a;break a;default:e=null}return(c=e)?c!=="DUPLICATE"?d.jumpTo(2):y(d,iMc(b.issueMarkAsDuplicateDialogService,b.issueId),3):d.return()}if(d.nextAddress!=2)return d.return();bmc(b.analytics,c);return d.return(zsc(b.editIssueService,
b.issueId,c))})};q2.prototype.isSaving$=function(a){var b=this;return this.distinctIssueId$.pipe(z(function(c){return b.editIssueService.savingState(c)}),Yf(function(c){return Bq(c.fields,Rp(a))}))};q2.prototype.getAccessLimitLevelDisplay=function(a){return Cr(a)};q2.\u0275fac=function(a){return new (a||q2)};
q2.\u0275cmp=C({type:q2,selectors:[["edit-issue-metadata"]],inputs:{issueId:"issueId"},standalone:!1,features:[rv],decls:2,vars:3,consts:[["typeField",""],["priorityField",""],["statusField",""],["canonicalHovercard","onedevHovercard"],["ialCard","onedevHovercard"],["assigneeField",""],["sloField",""],["severityField",""],["codeChangesFields",""],["foundInField",""],["targetedToField",""],["verifiedInField",""],["inProdField",""],["forgottenFourFields",""],["customFieldTemplate",""],["phaseField",
""],["canonicalCardBody",""],["implicitAccessHelpBubble",""],[3,"valueChange","emailChange","name","title","value","user","isSaving"],[3,"valueChange","name","title","type","value","choices","readonly","disabled"],[1,"flex-wrappable","flex-kids-y"],[1,"flex-1",3,"onHotkey","valueChange","name","title","type","tooltip","value","choices","hotkey","readonly","disabled"],[1,"status-field-row"],[3,"onHotkey","valueChange","name","title","type","value","choices","showHotkeyHint","hotkey","readonly","disabled",
"onedevHovercardActive","onedevHovercardTrigger"],[1,"phase-field-row"],[3,"onedevIsHovercardReady","issueId",4,"onedevHovercardLazyBody"],[3,"effort","effortSpec","disabled"],[1,"bv2-issue-metadata-field"],["tabindex","0",1,"bv2-issue-metadata-field-inner","bv2-readonly",3,"onedevHovercardTrigger","onedevHovercardActive","onedevHovercardConfig"],[1,"bv2-editable-title","access-level-title"],[1,"bv2-editable-value","access-level-info"],[1,"access-level-current-val"],["tabindex","0","role","button",
1,"bv2-metadata-tool","bv2-metadata-link",3,"click","keydown.enter","keydown.space","matTooltip"],[1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"hovertext"],["mat-button","","target","_blank","aria-label","Learn more about issue access limits",1,"primary","bv2-metadata-link","keep-focus-ring",3,"href"],[1,"flex-kids-y"],[1,"implicit-access-header","flex-kids-x","flex-cross-axis-centered","flex-spread","full-width"],[1,"flex-1",3,"onHotkey","valueChange","emailChange","name","title",
"hotkey","value","user","isSaving"],[1,"flex-1",3,"valueChange","emailChange","name","title","value","user","isSaving"],[3,"userInclusionToggle","valueChange","toggleAccessLimits","title","values","users","includeSelfActionDescription","includeSelfActionLongDescription","removeSelfActionDescription","removeSelfActionLongDescription","collectionHovercardDescription","isSaving","isCurrentUserInCollection","isAllowedToEditCollection","iconName","inputValidator","checkAccessLimits"],[3,"userInclusionToggle",
"valueChange","title","values","users","includeSelfActionDescription","includeSelfActionLongDescription","removeSelfActionDescription","removeSelfActionLongDescription","collectionHovercardDescription","isSaving","isCurrentUserInCollection","isAllowedToEditCollection","iconName"],[3,"staffing","issueId","isAllowedToEdit"],[3,"readonly","defaultLineCount","title","type","values","tooltip"],[1,"hidden-fields-separator"],[3,"titleWhenCollapsed","titleWhenExpanded"],[4,"ngTemplateOutlet"],[1,"issue-metadata-field-long",
3,"readonly","defaultLineCount","title","type","values","showInternalOnlyFieldBadge"],[1,"issue-metadata-field-short"],[3,"updateTeam","warningType","componentId","parentComponentId","teamSuggestions"],[1,"bv2-metadata-quick-action"],[1,"bv2-field-label-spacer"],["tabindex","0","role","button",1,"bv2-metadata-link",3,"click","keydown.enter","keydown.space","matTooltip"],["tooltip","Go to triage view",3,"name","title","type","value","choices","showHotkeyHint","disabled"],["matTooltip","Go to triage view",
1,"bv2-metadata-link",3,"href"],[3,"onedevIsHovercardReady","issueId"],[3,"effortChange","effort","effortSpec","disabled"],[1,"implicit-access-header-text"],[3,"panelTemplate"],["svgIcon","help-outline",1,"icon-s"],["target","_blank",3,"href"],["tabindex","0","role","button",1,"bv2-metadata-quick-action",3,"hotkey","matTooltip"],["tabindex","0","role","button",1,"bv2-metadata-quick-action",3,"onHotkey","click","keydown.enter","keydown.space","hotkey","matTooltip"],[1,"bv2-metadata-link",3,"disabled"],
[1,"bv2-metadata-link"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"refreshable"],["tabindex","0",1,"issue-metadata-field-long",3,"onSloStartTimeChange","onSloEndTimeChange","sloStatus","sloStartTime","sloEndTime","sloId","componentId","isEditable","issueCreationTimestamp","showInternalOnlyFieldBadge","escalationOwner"],[1,"flex-1",3,"valueChange","name","title","type","tooltip","value","choices","readonly","disabled"],[3,"valuesChange","readonly","defaultLineCount","title","inputValidator",
"type","values","listFieldDisabled"],[1,"title-action"],[3,"pressed"],[1,"issue-metadata-field-short","issue-metadata-field-short-left",3,"valueChange","name","title","type","multiline","tooltip","value","readonly","disabled"],[3,"valueChange","name","title","type","multiline","tooltip","value","readonly","disabled"],[3,"valueChange","name","title","type","value","tooltip","readonly","disabled"],[3,"save","issue","field","readonly","disabled"]],template:function(a,b){a&1&&(D(0,xxb,112,174),S(1,"async"));
if(a&2){var c;G((c=U(1,1,b.issue$))?0:-1,c)}},dependencies:[XQ,dw,pB,QU,zQ,j2,k2,wH,$H,aI,fI,bI,k$c,fL,l2,jR,mB,rB,aL,n2,HN,UN,LU,OX,Qgc,ew],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 z$c=["descriptionArea"],A$c=["container"],r2=function(){Z.call(this);var a=this;this.cdr=r(cB,{self:!0});this.issueFullFridge=r(QF);this.eventsForIssueFridge=r(NE);this.editStatusUpdateDialogService=r(e2);this.statusUpdateService=r(d2);this.issueCommentDialogsService=r(DS);this.contextSensitiveRegistry=r(UH);this.issuePermissionService=r(gJ);this.clipboard=r(CH);this.snackBar=r(cH);this.llmIssueSummaryService=r(iU);this.analytics=r(OF);this.userFeedback=r(aQ);this.activeSession=r(Bu);this.enableExternalMentionsFe=
Vt(this.activeSession,"enableExternalMentionsFe");this.closeSidebar=new aB;this.navigateToNextIssue=new aB;this.navigateToPreviousIssue=new aB;this.issueId$=new Tf(1);this.issue$=this.issueId$.pipe(Zf(this.destroyed$),Yf(function(b){return a.issueFullFridge.watch(b)}),Vf({bufferSize:1,refCount:!0}));this.componentId$=this.issue$.pipe(z(function(b){return b==null?void 0:b.snapshot[0].componentId}));this.accessLevel$=this.issue$.pipe(z(function(b){var c;return b==null?void 0:(c=b.accessLimit)==null?
void 0:c.accessLevel}));this.events$=this.issueId$.pipe(Zf(this.destroyed$),Yf(function(b){return a.eventsForIssueFridge.watch(b)}),z(function(b){return(b==null?void 0:b.events)||[]}));this.firstEvent$=this.events$.pipe(z(function(b){return b.length>0?b[0]:void 0}));this.statusUpdate$=this.issue$.pipe(z(function(b){return b==null?void 0:b.statusUpdate}));this.statusUpdateNote$=this.statusUpdate$.pipe(Ue(ik),z(function(b){return{unlinkifiedComment:b.updateText,formattedComment:b.formattedText}}));
this.userCanEditStatusUpdate$=this.issuePermissionService.hasAclToEdit$;this.hasStatusUpdate$=this.statusUpdate$.pipe(z(function(b){return!!b&&b.updateText!==""}));this.firstNote$=this.events$.pipe(Zf(this.destroyed$),z(function(b){if(b&&b.length>0&&b[0].commentNumber&&b[0].commentNumber>-1)return{commentNumber:b[0].commentNumber,unlinkifiedComment:b[0].unlinkifiedComment||"",formattedComment:b[0].formattedComment}}),Vf({bufferSize:1,refCount:!0}));this.userCanEditDescription$=this.firstEvent$.pipe(Yf(function(b){return b?
a.issuePermissionService.canEditComment$(b):Ae(!1)}));this.hasDescription$=this.events$.pipe(Zf(this.destroyed$),z(function(b){return b&&b.length>0&&kxa(a.enableExternalMentionsFe,b[0])}));this.isFieldsExpanded=this.isDescriptionExpanded=this.isStatusUpdateExpanded=!0;this.editTitleMode=this.isSavingTitle=!1;this.draftTitle="";this.FormattingMode=nk;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(Ue(ik),$f(function(b){b.summary&&a.llmIssueSummaryService.trackEvent("display","issueSidebar")}),Vf({bufferSize:1,refCount:!1}));this.containerScrolled=!1;this.destroyed$.subscribe(function(){Cxb(a)});this.issueId$.pipe(Zf(this.destroyed$)).subscribe(function(){Cxb(a);
a.hasRatedSummary=!1;a.summaryThumbsUp=!1;a.summaryThumbsDown=!1;a.showFullDescription=!1});this.firstNote$.pipe(Zf(this.destroyed$)).subscribe(function(){B$c(a)})};Y(r2,Z);r2.\u0275dir=Z.\u0275dir;
r2.prototype.ngOnInit=function(){var a=this;this.stage$.pipe(Zf(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:Db(b,"stage had an unknown type")}a.cdr.detectChanges()});this.llmIssueSummaryService.summarizable$.pipe(Zf(this.destroyed$)).subscribe(function(b){b.isSummarizable&&a.llmIssueSummaryService.trackEvent("viewSummarizableIssue","issueSidebar")})};
r2.prototype.ngAfterViewInit=function(){var a=this;this.issueId$.pipe(Zf(this.destroyed$)).subscribe(function(){a.container.nativeElement.scrollTop=0})};var B$c=function(a){setTimeout(function(){var b;a.descriptionHasMore=((b=a.descriptionArea)==null?void 0:b.nativeElement.scrollHeight)>130;a.cdr.detectChanges()})};g=r2.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");A5a(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");jU(b,a,"COPY")}};g.openFeedbackDialog=function(a){this.userFeedback.startFeedback();jU(this.llmIssueSummaryService,a,"FEEDBACK")};
g.editStatusUpdate=function(){var a=this,b,c,d,e,f,h,l,q;return se(function(u){switch(u.nextAddress){case 1:return y(u,Fe(a.issueId$),2);case 2:return b=u.yieldResult,y(u,Fe(a.componentId$),3);case 3:return c=u.yieldResult,d={issueId:b,updateText:"",version:-1},f=(e=tp(a.statusUpdate$))!=null?e:d,y(u,Fe(a.accessLevel$),4);case 4:return l=(h=u.yieldResult)&&h==="INTERNAL"?"INTERNAL":"EXTERNAL",y(u,a.editStatusUpdateDialogService.show(f,l,c),5);case 5:q=u.yieldResult;if(!q)return u.return();a.statusUpdateService.update(q).subscribe(function(A){a.analytics.trackEvent("issueSidebar",
"edit","statusUpdate",A.updateText.length===0);a.issueFullFridge.manualUpdate(b,function(F){F.statusUpdate=A});a.issueFullFridge.poke(b)});xe(u)}})};
var fyb=function(a){var b,c;return se(function(d){switch(d.nextAddress){case 1:return y(d,Fe(a.issueId$),2);case 2:return b=d.yieldResult,(c=tp(a.firstEvent$))?y(d,Kr(a.issueCommentDialogsService,b,c),3):d.return();case 3:return y(d,a.eventsForIssueFridge.poke(b),4);case 4:a.analytics.trackEvent("issueSidebar","edit","description",kxa(a.enableExternalMentionsFe,c)),xe(d)}})},Axb=function(a){var b;return se(function(c){if(c.nextAddress==1)return y(c,Fe(a.issue$),2);b=c.yieldResult;if(!b)return c.return();
a.draftTitle=b.snapshot[0].title;a.editTitleMode=!0;xe(c)})},Cxb=function(a){a.isSavingTitle||(a.draftTitle="",a.editTitleMode=!1)};r2.prototype.saveTitle=function(){var a=this,b;return se(function(c){if(c.nextAddress==1)return y(c,Fe(a.issue$),2);b=c.yieldResult;if(!b||b.snapshot[0].title===a.draftTitle)return Cxb(a),c.return();a.isSavingTitle=!0;fmc(a.issueFullFridge,b.issueId,a.draftTitle).subscribe(function(){a.analytics.trackEvent("issueSidebar","edit","title");a.isSavingTitle=!1;Cxb(a)});xe(c)})};
r2.prototype.upvoted=function(a){this.analytics.trackEvent("issueSidebar","toggle","vote",a)};da.Object.defineProperties(r2.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,B$c(this))}}});
r2.\u0275fac=function(a){return new (a||r2)};
r2.\u0275cmp=C({type:r2,selectors:[["issue-sidebar"]],viewQuery:function(a,b){a&1&&(Rg(z$c,5),Rg(A$c,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"},standalone:!1,features:[ch([cB]),cg],decls:24,vars:14,consts:[["container",""],["spinner",""],["aiHelp",""],["descriptionArea",""],[1,"container","flex-kids-y",
3,"scroll"],[1,"top-actions","flex-kids-x","space-between","border-bottom"],[1,"flex-kids-x","align-items-center","margin-s-left","gap-s"],[1,"action-buttons"],[3,"issueId","upvoted","voteCount"],["type","button","mat-icon-button","","matTooltip","Previous issue","matTooltipPosition","above","aria-label","Previous issue",3,"click"],["svgIcon","chevron-left"],["type","button","mat-icon-button","","matTooltip","Next issue","matTooltipPosition","above","aria-label","Next issue",3,"click"],["svgIcon",
"chevron-right"],["type","button","mat-icon-button","","matTooltip","Close sidebar","matTooltipPosition","above","aria-label","Close sidebar",3,"click"],["svgIcon","close"],[1,"title"],[1,"details","flex-kids-y","padded-s-sides"],[1,"card-container"],[1,"heading-xs","muted","hover-link",3,"click","href"],[1,"a11y-only"],["type","button","mat-icon-button","","aria-label","copy issue id",1,"small","fade-icon-button","copy-issue-id",3,"click"],["svgIcon","copy",1,"icon-xs"],[3,"onVote","issueId","upvoted",
"voteCount"],[1,"flex"],["type","button","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"],["type","button","mat-stroked-button",
"",1,"small"],["type","button","mat-flat-button","","color","primary",1,"small",3,"click","disabled"],["type","button","mat-stroked-button","",1,"small",3,"click"],[4,"ngTemplateOutlet"],[1,"card","status-update"],[1,"card-header"],[1,"card-header-inner-left"],["svgIcon","group","color","primary",1,"icon-s"],[1,"card-header-inner-right"],["type","button","mat-icon-button","","aria-label","Edit the status update","matTooltip","Edit the status update","matTooltipPosition","above",1,"small","edit-button",
3,"matTooltipShowDelay"],["type","button","mat-icon-button","","aria-label","Toggle the status update view for this issue","matTooltip","Toggle the status update view for this issue","matTooltipPosition","above",1,"small","expand-button",3,"matTooltipShowDelay"],[1,"card","description"],[1,"bv2-issue-metadata","card"],["svgIcon","release-notes-default","color","primary",1,"icon-s"],["type","button","mat-icon-button","","aria-label","Toggle the fields view for this issue","matTooltip","Toggle the fields view for this issue",
"matTooltipPosition","above",1,"small",3,"click","matTooltipShowDelay"],["svgIcon","arrow-down",1,"icon-s"],["svgIcon","arrow-up",1,"icon-s"],[1,"fields-area","margin-top","flex-kids-y"],[1,"card","no-border","issue-summary"],["svgIcon","chat_spark_24px","color","primary",1,"icon-s"],["type","button","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"],["type",
"button","mat-flat-button","",1,"small","generate-summary"],["type","button","mat-icon-button","","aria-label","Toggle the AI-generated summary for this issue","matTooltip","Toggle the AI-generated summary for this issue","matTooltipPosition","above",1,"small",3,"matTooltipShowDelay"],[1,"issue-summary-area"],["type","button","mat-flat-button","",1,"small","generate-summary",3,"click"],["type","button","mat-icon-button","","aria-label","Toggle the AI-generated summary for this issue","matTooltip",
"Toggle the AI-generated summary for this issue","matTooltipPosition","above",1,"small",3,"click","matTooltipShowDelay"],[3,"ngTemplateOutlet"],[3,"content"],[1,"flex-kids-x","justify-flex-end","gap-s","margin-s-top"],["type","button","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"],["type","button","mat-icon-button","","aria-label","send feedback","matTooltip","Send feedback",1,
"small","summary-feedback",3,"click"],["svgIcon","feedback-outline",1,"icon-s"],["type","button","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"],["type","button","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"],["type","button",
"mat-icon-button","","aria-label","Edit the status update","matTooltip","Edit the status update","matTooltipPosition","above",1,"small","edit-button",3,"click","matTooltipShowDelay"],["type","button","mat-icon-button","","aria-label","Toggle the status update view for this issue","matTooltip","Toggle the status update view for this issue","matTooltipPosition","above",1,"small","expand-button",3,"click","matTooltipShowDelay"],[1,"status-update-area"],[3,"issueId","note","issueAccessLevel","formattingMode"],
["type","button","mat-icon-button","","aria-label","Edit the description","matTooltip","Edit the description","matTooltipPosition","above",1,"small","edit-button",3,"matTooltipShowDelay"],["type","button","mat-icon-button","","aria-label","Toggle the description view for this issue","matTooltip","Toggle the description view for this issue","matTooltipPosition","above",1,"small","expand-button",3,"matTooltipShowDelay"],[1,"description-area"],["type","button","mat-icon-button","","aria-label","Edit the description",
"matTooltip","Edit the description","matTooltipPosition","above",1,"small","edit-button",3,"click","matTooltipShowDelay"],["type","button","mat-icon-button","","aria-label","Toggle the description view for this issue","matTooltip","Toggle the description view for this issue","matTooltipPosition","above",1,"small","expand-button",3,"click","matTooltipShowDelay"],[1,"description-note"],[1,"description-show-more","margin-s-top"],[3,"click"],[3,"issueId"],[1,"text-center"]],template:function(a,b){if(a&
1){var c=v();I(0,"div",4,0);M("scroll",function(){w(c);b.containerScrolled=b.container.nativeElement.scrollTop===0?!1:!0;return x()});I(2,"header")(3,"div",5)(4,"div",6);D(5,yxb,6,3);S(6,"async");J();I(7,"div",7);D(8,zxb,1,3,"b-app-vote-button",8);S(9,"async");I(10,"button",9);M("click",function(){w(c);return x(b.navigateToPreviousIssue.emit())});K(11,"mat-icon",10);J();I(12,"button",11);M("click",function(){w(c);return x(b.navigateToNextIssue.emit())});K(13,"mat-icon",12);J();I(14,"button",13);M("click",
function(){w(c);return x(b.closeSidebar.emit())});K(15,"mat-icon",14);J()()();D(16,Ixb,4,2,"div",15);S(17,"async");J();I(18,"div",16);D(19,uyb,31,23,"div",17);S(20,"async");D(21,wyb,1,1,"ng-container");J()();D(22,xyb,2,0,"ng-template",null,1,ih)}if(a&2){var d,e,f,h;B(2);sg("elevated",b.containerScrolled);B(3);G((d=U(6,6,b.issueId$))?5:-1,d);B(3);G((e=U(9,8,b.issue$))?8:-1,e);B(8);G((f=U(17,10,b.issue$))?16:-1,f);B(3);G((h=U(20,12,b.issue$))?19:21,h)}},dependencies:[eB,jy,ly,mB,rB,oi,Gy,Ny,kN,lz,aR,
sz,qz,HM,GM,KM,dw,pB,sL,q2,BK,NK,Z1,eL,ew],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 C$c=[[["",8,"tooltip-content"]],[["",8,"chip-content"]]],s2=function(){this.compactMode=this.labelOnlyMode=!1};s2.prototype.ngOnInit=function(){};s2.\u0275fac=function(a){return new (a||s2)};
s2.\u0275cmp=C({type:s2,selectors:[["b-base-chip"]],inputs:{labelOnlyMode:"labelOnlyMode",compactMode:"compactMode",labelClass:"labelClass",hovercardAriaLabel:"hovercardAriaLabel"},standalone:!1,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(C$c),I(0,"span",1)(1,"onedev-hovercard",null,0)(3,"div",2)(4,"div",3),Jg(5),J()()(),I(6,"div",4)(7,"span",5),Jg(8,1),J()()());if(a&2){var c;a=L(2);B(3);jg("aria-label",b.hovercardAriaLabel);B(3);E("onedevHovercardTrigger",a)("onedevHovercardActive",!b.labelOnlyMode);B();sg("compact-chip",b.compactMode);E("ngClass",(c=b.labelClass)!==null&&c!==void 0?c:"")}},dependencies:[aw,$H,fI],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 t2=function(){this.documentationLinks=r(lI);this.documentationLink=yu()};t2.prototype.ngOnChanges=function(){this.retentionState?this.retentionExpireTime=Ml(this.retentionState.scheduledDeletionTime):this.retentionExpireTime=void 0};t2.\u0275fac=function(a){return new (a||t2)};
t2.\u0275cmp=C({type:t2,selectors:[["retention-help-text"]],inputs:{retentionState:"retentionState",modifiedTime:"modifiedTime"},standalone:!1,features:[rv],decls:1,vars:1,consts:[["target","_blank",3,"href"],[3,"mode","timestamp","paddingLeftPx"]],template:function(a,b){a&1&&D(0,Ayb,4,2);a&2&&G(b.retentionState&&b.modifiedTime?0:-1)},dependencies:[iH],encapsulation:2});var u2=function(){this.dateFormatter=r(hH);this.compactMode=!1;this.text=""};u2.prototype.ngOnChanges=function(){var a;((a=this.retentionState)==null?void 0:a.scheduledDeletionTime)!=null?this.text=s1a(Ml(this.retentionState.scheduledDeletionTime),!this.compactMode):this.text="Indefinite"};u2.\u0275fac=function(a){return new (a||u2)};
u2.\u0275cmp=C({type:u2,selectors:[["retention-text"]],inputs:{retentionState:"retentionState",compactMode:"compactMode"},standalone:!1,features:[rv],decls:1,vars:1,template:function(a,b){a&1&&Q(0);a&2&&Yg(b.text)},encapsulation:2});var v2=function(){this.documentationLinks=r(lI);this.showRetentionInfo=this.dangerZone=this.labelOnlyMode=this.compactMode=this.showOnlyInDangerZone=!1};v2.prototype.ngOnChanges=function(){this.retentionState&&this.retentionState.retentionPeriod&&this.retentionState.scheduledDeletionTime?(this.dangerZone=Cyb(this.retentionState),this.showRetentionInfo=this.showOnlyInDangerZone&&this.dangerZone||!this.showOnlyInDangerZone):this.showRetentionInfo=!1};v2.\u0275fac=function(a){return new (a||v2)};
v2.\u0275cmp=C({type:v2,selectors:[["b-retention-chip"]],inputs:{showOnlyInDangerZone:"showOnlyInDangerZone",compactMode:"compactMode",labelOnlyMode:"labelOnlyMode",retentionState:"retentionState",modifiedTime:"modifiedTime"},standalone:!1,features:[rv],decls:1,vars:1,consts:[["hovercardAriaLabel","Retention Chip Hovercard",3,"compactMode","labelClass","labelOnlyMode"],[1,"chip-content"],[3,"retentionState","compactMode"],[1,"tooltip-content"],[3,"retentionState","modifiedTime"]],template:function(a,
b){a&1&&D(0,Byb,5,7,"b-base-chip",0);a&2&&G(b.showRetentionInfo?0:-1)},dependencies:[s2,u2,t2],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 D$c=["issueSidenavContainer"],vBb=function(){return[]},pzb=function(a,b,c){return{low:a,high:b,p0:c}},Wzb=function(a){return{id:a}},BAb=function(a,b){return{"bv2-grid-cell-variable-height":a,"rtl-component-path":b}},w2=function(){var a=this;this.activeSession=r(Bu);this.cdr=r(cB,{self:!0});this.elementRef=r(ef);this.teamsService=r(DG);this.ngZone=r(kh);this.userPreferencesManager=r(TG);this.hotlistFridge=r(UD);this.issueFullFridge=r(QF);this.bLocation=r(WN);this.issuePagination=r(t_);this.paths=
r(IP);this.errorHandler=r(CI);this.$log=r(bB);this.domSafe=r(NH);this.trackerHelpers=r(yH);this.anayltics=r(OF);this.ISSUE_STATUS_JS_ICON_NAME=hhc;this.STATUS_JS_FULL_TEXT=Nj;this.STATUS_JS_TERSE=chc;this.lastCheckedIndex=null;this.focusedRowIndexChange=new aB;this.columns=[];this.columnsChange=new aB;this.enableColumnSaving=!1;this.sort=null;this.enableSidebar=!1;this.sortChange=new aB;this.rowClick=new aB;this.init=new aB;this.onRowDragDrop=new aB;this.onNextPage=new aB;this.onPrevPage=new aB;this.selectionCallbacks=
[];this.GET_ISSUE_ACCESS_LEVEL_TITLE=Cr;this.isLoadingTeams=!0;this.isTotalEstimatesEnabled=Vt(this.activeSession,"enableAggregationRules");this.enableEscalationOwnerRolloutUi=Vt(this.activeSession,"enableEscalationOwnerRolloutUi");this.isIssueSidebarOpen=this.isIssueSidebarEnabled=!1;this.destroyed$=new Tf(1);this.starInProgress={};this.readUnreadOptOut=Vt(this.activeSession,"readUnreadOptOut");this.enableAddViewCountColumnsOnIlp=Vt(this.activeSession,"enableAddViewCountColumnsOnIlp");var b=Wa(oub);
this.activeSession.isInternalSession()||(Ta(b,"minSlo"),Ta(b,"responseSlo"),Ta(b,"assignmentSlo"),Ta(b,"closureSlo"),Ta(b,"deletionTime"),Ta(b,"team"),Ta(b,"estimate"),Ta(b,"estimateTotalOpen"),Ta(b,"estimateTotalComplete"));this.activeSession.isInternalSession()&&this.enableEscalationOwnerRolloutUi||Ta(b,"escalationOwner");this.enableAddViewCountColumnsOnIlp||(Ta(b,"oneDayViewCount"),Ta(b,"sevenDayViewCount"),Ta(b,"thirtyDayViewCount"));this.availableColumns=b.map(pub);this.dragDropLogic=new T9c({ngZone:this.ngZone,
nativeElement:this.elementRef.nativeElement,rowFinder:function(c){return E$c(a,c)},onRowDragDrop:function(c){a.onRowDragDrop.emit(c)}})};g=w2.prototype;g.ngOnInit=function(){var a=this;this.dragDropLogic.setup();this.userPreferencesManager.listViewPreferences$.pipe(Zf(this.destroyed$)).subscribe(function(b){a.listViewPrefs=b;a.cdr.detectChanges()});this.isIssueSidebarEnabled=this.enableSidebar&&Vt(this.activeSession,"enableIssueSidebar")||!1;this.init.emit(this)};
g.ngOnChanges=function(a){if(a.searchResults){var b,c=Gta(((b=this.searchResults)==null?void 0:b.issues.map(function(e){return new Set([].concat(t(e.hotlistId||[])))}))||[]);this.hotlistFridge.watchSet([].concat(t(c)))}if(a.searchResults||a.columns)for(b=k(this.columns),c=b.next();!c.done;c=b.next())c.value.label==="TEAM"&&F$c(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}))||[]);Wta(a,d)||bu(this)}};g.ngOnDestroy=function(){this.dragDropLogic.tearDown();this.destroyed$.next()};g.focus=function(){this.grid.focus()};g.selectAll=function(){if(this.searchResults){for(var a=k(this.searchResults.issues),b=a.next();!b.done;b=a.next())b.value.selected=!0;this.cdr.detectChanges()}bu(this)};
var G$c=function(a){if(a.searchResults){for(var b=k(a.searchResults.issues),c=b.next();!c.done;c=b.next())c.value.selected=!1;a.cdr.detectChanges()}bu(a)};w2.prototype.hasSelectedIssues=function(){return this.searchResults?this.searchResults.issues.some(function(a){return a.selected}):!1};
var Oyb=function(a){return a.searchResults?a.searchResults.issues.every(function(b){return b.selected}):!1},H$c=function(a){return a.searchResults?a.searchResults.issues.some(function(b){return b.selected}):!1},Nyb=function(a){if(!a.searchResults)return"unchecked";var b=!0,c=!1;a=k(a.searchResults.issues);for(var d=a.next();!d.done;d=a.next())d.value.selected?c=!0:b=!1;return b?"checked":c?"indeterminate":"unchecked"};
w2.prototype.getSelectedIssues=function(){return this.searchResults?this.searchResults.issues.filter(function(a){return a.selected}):[]};
var J$c=function(a){if(I$c(a)&&a.focusedRowIndex!=null&&a.searchResults){var b=a.searchResults.issues[a.focusedRowIndex];b&&(b.selected=!b.selected,a.cdr.detectChanges(),bu(a))}},Myb=function(a){if(a.searchResults){for(var b=!H$c(a),c=k(a.searchResults.issues),d=c.next();!d.done;d=c.next())d.value.selected=b;a.cdr.detectChanges();bu(a)}},Dyb=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()&&q6c(a.issuePagination,a.searchResults.endIndex+1).catch(function(b){a.$log.warn(b)}).finally(function(){a.onNextPage.emit()})},Eyb=function(a){a.focusedRowIndex!=null&&a.focusedRowIndex>0?(a.focusedRowIndex--,a.focusedRowIndexChange.emit(a.focusedRowIndex),a.cdr.detectChanges()):a.searchResults&&a.searchResults.hasPreviousPage()&&q6c(a.issuePagination,a.searchResults.startIndex-1).catch(function(b){a.$log.warn(b)}).finally(function(){a.onPrevPage.emit()})},
x2=function(a,b){b=b===void 0?{}:b;var c=a.getFocusedIssue();c&&(b.openInNewTab?a.domSafe.openInNewTab(Rq(c.issueId)):a.bLocation.setUrl(Rq(c.issueId)))};w2.prototype.getFocusedIssue=function(){return I$c(this)&&this.focusedRowIndex!=null&&this.searchResults?this.searchResults.issues[this.focusedRowIndex]:null};
var K$c=function(a,b){a.selectionCallbacks.push(b);b()},bu=function(a){a=k(a.selectionCallbacks);for(var b=a.next();!b.done;b=a.next())b=b.value,b()},L$c=function(a){I$c(a)&&a.focusedRowIndex!=null&&a.searchResults&&a.toggleStar(a.searchResults.issues[a.focusedRowIndex])},M$c=function(a,b){b=b===void 0?!0:b;var c=a.getSelectedIssues();if(c.length!==0){for(var d=k(c),e=d.next();!e.done;e=d.next())e.value.isRead=b;a.cdr.detectChanges();SF(a.issueFullFridge,c.map(function(f){return f.issueId}),{markRead:b,
userActivityType:"MARK_AS_READ_OR_UNREAD"}).then(function(f){for(var h=k(c),l=h.next();!l.done;l=h.next()){var q=void 0;l.value.lastViewedTime=(q=f)!=null?q:null}}).catch(function(){for(var f=k(c),h=f.next();!h.done;h=f.next())h=h.value,h.isRead=!!h.lastViewedTime&&h.lastViewedTime>=h.majorModifiedTime}).finally(function(){a.cdr.detectChanges()})}};
w2.prototype.toggleStar=function(a){var b=this;a&&!this.starInProgress[a.issueId]&&(a.starred=!a.starred,this.starInProgress[a.issueId]=!0,dmc(this.issueFullFridge,String(a.issueId),a.starred).pipe(Nf(),Zf(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()}))};
w2.prototype.issueDescription=function(a){return(a.isClosed?"Closed ":this.readUnreadOptOut||a.isRead?"":"Unread ")+"Issue ID "+a.id+" titled: "+a.title};
var I$c=function(a){return a.searchResults!=null&&a.focusedRowIndex!=null&&a.focusedRowIndex>=0&&a.focusedRowIndex<a.searchResults.issues.length},E$c=function(a,b){return b?a.searchResults?a.searchResults.issues.findIndex(function(c){return c.id===b}):-1:-1},F$c=function(a){if(a.searchResults){for(var b=new Set,c=k(a.searchResults.issues),d=c.next();!d.done;d=c.next())d=String(d.value.teamId),d!=="0"&&b.add(d);b.size>0?(a.isLoadingTeams=!0,Rnc(a.teamsService,[].concat(t(b))).pipe(Zf(a.destroyed$)).subscribe(function(e){if(a.searchResults)for(var f=
k(a.searchResults.issues),h=f.next();!h.done;h=f.next()){h=h.value;var l=String(h.teamId);l!=="0"&&(l=e.get(l))&&(h.team=l.name)}a.isLoadingTeams=!1;a.cdr.detectChanges()})):a.isLoadingTeams=!1}};w2.prototype.isIssueGridColumn=function(){return!0};w2.prototype.getComponentPath=function(a){return rj(a)?a.join(" > "):(a=ou(this.trackerHelpers,a))&&a.componentPathName?a.componentPathName.join(" > "):""};w2.\u0275fac=function(a){return new (a||w2)};
w2.\u0275cmp=C({type:w2,selectors:[["b-issues-grid"]],viewQuery:function(a,b){a&1&&(Rg(Q1,7),Rg(D$c,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"},standalone:!1,features:[ch([cB]),rv],decls:7,vars:1,consts:[["issuesGrid",""],["issueWithHovercard",""],["issueSidenavContainer",""],["issueHovercard","onedevHovercard"],["cardBody",""],["hasBackdrop","false",3,"sidebar-enabled"],["hasBackdrop","false"],["mode","side","position","end",3,"openedChange","opened","disableClose"],[3,"issueId"],[4,"ngTemplateOutlet"],[3,"closeSidebar","navigateToNextIssue","navigateToPreviousIssue",
"issueId"],[1,"keep-focus-ring",3,"columnsChange","focusedRowIndexChange","sortChange","rowClick","list","columns","focusedRowIndex","scrollContainer","sort","rowLabelRenderer"],["class","focus-indicator",4,"forHeaderCell"],["class","drag-handle",4,"forHeaderCell"],["class","selected-box",4,"forHeaderCell"],[4,"forHeaderCell"],[4,"forHeaderCellDefault"],["class","focus-indicator",4,"forViewCell"],["class","drag-handle","draggable","true",4,"forViewCell"],["class","selected-box",4,"forViewCell"],["class",
"star-cell",4,"forViewCell"],[4,"forViewCell"],["data-template","issueId","class","clickable issue-id-cell",4,"forViewCell"],["class","clickable title-cell",3,"bv2-grid-cell-variable-height",4,"forViewCell"],["class","priority-cell clickable",4,"forViewCell"],["class","severity-cell clickable",4,"forViewCell"],["data-stable-cell","status","class","clickable",4,"forViewCell"],["data-stable-cell","type","class","clickable",4,"forViewCell"],["class","clickable",4,"forViewCell"],["class","clickable datetime-cell",
4,"forViewCell"],["class","componentPath-cell clickable",3,"ngClass",4,"forViewCell"],["class","clickable first-letter-capitalized",4,"forViewCell"],[1,"focus-indicator"],[1,"drag-handle"],[1,"selected-box"],["tabindex","0","aria-label","Select all issues","role","checkbox",1,"keep-focus-ring","b-select-all-toggle",3,"state"],["tabindex","0","aria-label","Select all issues","role","checkbox",1,"keep-focus-ring","b-select-all-toggle",3,"click","keydown.enter","keydown.space","state"],[3,"column"],
[3,"column","availableColumns","selectedColumns"],[3,"selectedColumnsChange","column","availableColumns","selectedColumns"],["draggable","true",1,"drag-handle"],["tabindex","-1","role","checkbox",3,"state"],["tabindex","-1","role","checkbox",3,"click","state"],[1,"star-cell"],["tabindex","-1",3,"starred","disabled","starMessage","unStarMessage"],["tabindex","-1",3,"starClicked","starred","disabled","starMessage","unStarMessage"],["data-template","issueId",1,"clickable","issue-id-cell"],[1,"row-issue-id",
3,"issueId","showCopyOptions"],["tabindex","-1",1,"row-issue-id",3,"href"],[1,"row-issue-id",3,"click","issueId","showCopyOptions"],[1,"clickable","title-cell"],[1,"bv2-grid-cell-container",3,"bv2-grid-cell-flex-wrap"],[1,"bv2-grid-cell-container"],[3,"issueId","compactMode"],[3,"trackerId","compactMode"],[3,"retentionState","showOnlyInDangerZone","compactMode","modifiedTime"],[1,"bv2-grid-cell-text"],[1,"row-issue-title",3,"href"],["svgIcon","input_24px",1,"navigate-to-idp","icon-s"],[1,"bv2-hotlist-chips"],
[3,"id","removable"],[1,"priority-cell","clickable"],[1,"bv2-priority",3,"ngClass"],[1,"severity-cell","clickable"],["data-stable-cell","status",1,"clickable"],[3,"title"],[1,"icon-s",3,"svgIcon"],[3,"class"],["data-stable-cell","type",1,"clickable"],[1,"clickable"],[3,"email"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"clickable","datetime-cell"],["mode","datetime",3,"timestamp"],[1,"componentPath-cell","clickable",3,"ngClass"],[1,"clickable","first-letter-capitalized"],[3,"sloId","sloStatus",
"sloStartTime"],[3,"sloStatus","sloStartTime"],[3,"sloId","sloStatus","sloStartTime","onlyShowMetric"],[3,"sloBounds"],["mode","date",3,"timestamp"],[1,"animated-loading-bar"],["teamNotAssignedMessage","--",3,"teamId","componentId","anchorLinkEnabled"],[3,"onedevIsHovercardReady","issueId",4,"onedevHovercardLazyBody"],[3,"onedevHovercardTrigger"],[3,"onedevIsHovercardReady","issueId"]],template:function(a,b){a&1&&(I(0,"div"),D(1,Hyb,6,6,"mat-sidenav-container",5)(2,Jyb,1,1,"ng-container"),J(),D(3,
wBb,55,62,"ng-template",null,0,ih)(5,yBb,5,2,"ng-template",null,1,ih));a&2&&(B(),G(b.isIssueSidebarEnabled?1:2))},dependencies:[V9c,aw,dw,pB,Yx,QZ,RZ,PZ,Q1,V1,R1,S1,T1,N1,P1,iH,X1,gK,oU,v2,lL,KS,$H,aI,fI,bI,fL,r2,OM,DH,YK,W1,cC,bC,Ogc,eC],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 y2=new $t({name:"focused",sortable:!1,draggable:!1,isMetadata:!0}),N$c=new $t({name:"draghandle",sortable:!1,draggable:!1,isMetadata:!0}),z2=new $t({name:"selected",sortable:!1,draggable:!1,isMetadata:!0}),A2=new $t({name:"starred",sortable:!1,draggable:!1,isMetadata:!0}),O$c=new $t({name:"position",sortable:!0,draggable:!1,fullLabel:"Position",label:"POS",isMetadata:!0});var B2=function(){Z.apply(this,arguments);var a=this;this.snackBar=r(cH);this.issuePicker=r(TP);this.issueApi=r(ME);this.issueAddedToHotlist=new aB;this.onCloseIssuePicker=function(b){b=b===void 0?[]:b;if(b.length!==0&&a.id!=null){var c=b.join(", ");a.snackBar.open(b.length===1?"Adding issue "+c+" to this hotlist":"Adding multiple issues to this hotlist: "+c,void 0,{duration:2500});a.issueApi.issueBulkEdit({bulkEditOps:[{actions:[{fieldName:"hotlists",value:a.id,actionType:"ADD"}],issueIds:b}]}).then(a.didSave,
a.gotErr)}};this.didSave=function(){a.issueAddedToHotlist.emit();a.snackBar.open("Successfully added to hotlist",void 0,{duration:2500})};this.gotErr=function(b){var c,d,e,f,h=(f=(e=b==null?void 0:(c=b.error)==null?void 0:c.message)!=null?e:b==null?void 0:(d=b.data)==null?void 0:d.message)!=null?f:"Error adding issues to the hotlist";a.snackBar.open(h,"close",{panelClass:"error"})}};Y(B2,Z);B2.\u0275dir=Z.\u0275dir;B2.\u0275fac=function(){var a;return function(b){return(a||(a=ee(B2)))(b||B2)}}();
B2.\u0275cmp=C({type:B2,selectors:[["hotlist-add-issue-btn"]],inputs:{id:[0,"hotlistId","id"]},outputs:{issueAddedToHotlist:"issueAddedToHotlist"},standalone:!1,features:[cg],decls:2,vars:0,consts:[["type","button","mat-button","","matTooltip","Add issues to this hotlist",1,"medium",3,"click"]],template:function(a,b){a&1&&(I(0,"button",0),M("click",function(){b.issuePicker.open({title:"Add Issues to this Hotlist",allowMultipleIds:!0},b.onCloseIssuePicker)}),Q(1," Add Issue(s) "),J())},dependencies:[eB,
jy,mB,rB],encapsulation:2});var C2=function(){Z.call(this);var a=this;this.fridge=r(UD);this.snackBar=r(cH);this.dialog=r(AI);this.events=r(yD);this.id$=new Tf(1);this.hotlist$=this.id$.pipe(Yf(function(b){return a.fridge.watch(b)}),Vf({refCount:!0,bufferSize:1}));this.archived$=this.hotlist$.pipe(z(function(b){return!(b==null||!b.archived)}),Pf());this.archiveActionLabel$=this.archived$.pipe(z(function(b){return b?"Unarchive":"Archive"}));this.archiveActionTooltip$=this.archived$.pipe(z(function(b){return b?"Unarchive this hotlist":
"Archive this hotlist, hiding it from most searches"}));this.didSave=function(b){return function(){a.snackBar.open(b?"Hotlist was archived":"Hotlist was unarchived",void 0,{duration:2500});a.events.hotlistChanged.next()}};this.gotErr=function(b){return function(c){var d=b?"archiving":"unarchiving";a.snackBar.open($o(c)||"Error "+d+" the hotlist","close",{panelClass:"error"})}};this.hotlist$.pipe(Zf(this.destroyed$)).subscribe(function(b){a.latestHotlist=b})};Y(C2,Z);C2.\u0275dir=Z.\u0275dir;
C2.prototype.isThinking=function(a){return this.fridge.isThinking(a)};C2.prototype.ngOnChanges=function(a){(a=a.id)&&this.id$.next(a.currentValue)};var Q$c=function(a){if(a.latestHotlist!=null){var b=!a.latestHotlist.archived;b?a.dialog.open({title:"Archive Hotlist",content:wi("Do you want to archive this hotlist?"),isDestructive:!0,onConfirm:function(){P$c(a,b)}}):P$c(a,b)}},P$c=function(a,b){a.fridge.save(Object.assign({},a.latestHotlist,{archived:b})).subscribe({next:a.didSave(b),error:a.gotErr(b)})};
C2.\u0275fac=function(a){return new (a||C2)};
C2.\u0275cmp=C({type:C2,selectors:[["hotlist-archive-btn"]],inputs:{id:[0,"hotlistId","id"]},standalone:!1,features:[cg,rv],decls:4,vars:7,consts:[["type","button","mat-button","",1,"medium",3,"click","disabled","matTooltip"]],template:function(a,b){a&1&&(I(0,"button",0),S(1,"async"),M("click",function(){return Q$c(b)}),Q(2),S(3,"async"),J());if(a&2){var c;E("disabled",b.isThinking(b.id))("matTooltip",(c=U(1,3,b.archiveActionTooltip$))!==null&&c!==void 0?c:"");B(2);R(" ",U(3,5,b.archiveActionLabel$),
" ")}},dependencies:[eB,jy,mB,rB,ew],encapsulation:2});var D2=function(){r1.apply(this,arguments);this.estadoService=r(M1);this.refreshMonitor=r(fF);this.init=new aB;this.onRefresh=new aB;this.isHotlistAdmin=!1;this.onExportCsv=new aB;this.showHotlistButtons=!1;this.isNonPublicSession=this.activeSession.isNonPublicSession();var a=this.estadoService;this.enableEstadoInAppBar=a.enableEstado&&!Hp(a.activeSession);this.enableBulkEditUi=!this.activeSession.userRequiresCaptcha();this.controllerName="gridControls"};Y(D2,r1);D2.\u0275dir=r1.\u0275dir;g=D2.prototype;
g.ngOnInit=function(){this.init.emit(this)};g.ngOnChanges=function(a){var b=this;a.grid&&this.grid&&K$c(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 R$c=function(a){return a.hasSelectedIssues()&&a.isNonPublicSession};
D2.\u0275fac=function(){var a;return function(b){return(a||(a=ee(D2)))(b||D2)}}();
D2.\u0275cmp=C({type:D2,selectors:[["b-grid-controls"]],inputs:{grid:"grid",isHotlistAdmin:"isHotlistAdmin",currentHotlistId:"currentHotlistId",showHotlistButtons:"showHotlistButtons"},outputs:{init:"init",onRefresh:"onRefresh",onExportCsv:"onExportCsv"},standalone:!1,features:[ch([cB]),cg,rv],decls:11,vars:8,consts:[["addCommentDialog",""],["size","large","format","icon","tooltip","Refresh","bAriaLabel","Refresh",1,"refresh-button",3,"onAction"],["name","refresh","size","large"],[3,"enableBulkEstimatedEffortOption",
"readStatePrompt"],[3,"shortLinkPrefix","shouldShowCopyIssueShortLinks"],[1,"bv2-grid-hotlist-picker"],["tooltip","Reporting","aria-label","Reporting",1,"compact",3,"size","format"],[1,"bv2-appbar-menu",3,"exportCsvClicked","flagAsSpamClicked","showExportCsv","showFlagIssuesAsSpam"],[3,"save","close","externalWarnings"],[3,"onBulkEdit","onQuickBulkEdit","onBulkEditIssueRelation","onBulkMarkIssueRead","enableBulkEstimatedEffortOption","readStatePrompt"],[3,"onClickCopyIssueIds","onClickCopyIssueShortLinks",
"onClickCopyAsIssueSearch","shortLinkPrefix","shouldShowCopyIssueShortLinks"],[3,"onApply","onCreate","onLoad","selectedHotlistIds","choices"],[3,"hotlistId"],[3,"issueAddedToHotlist","hotlistId"],["tooltip","Reporting","aria-label","Reporting",1,"compact",3,"onAction","size","format"],["name","bar-chart","size","large"],[1,"bv2-estado-text"],["mat-dialog-title",""],[3,"comment","showToolbar","isLiteralModeSupported"],[3,"externalWarnings"],[1,"flex-kids-x","justify-flex-end"],["type","button","mat-button",
"",1,"medium",3,"mat-dialog-close"],["type","button","mat-flat-button","","cdkFocusInitial","",1,"medium","primary",3,"disabled","mat-dialog-close"],[3,"commentChange","onSubmit","comment","showToolbar","isLiteralModeSupported"],[3,"onUpdate"]],template:function(a,b){if(a&1){var c=v();I(0,"b-button",1);M("onAction",function(){w(c);return x(b.refresh())});K(1,"b-icon",2);J();D(2,zBb,2,4,"b-app-bar-bulk-edit-menus",3)(3,ABb,1,2,"b-copy-issue-id-button",4)(4,BBb,2,2,"div",5)(5,EBb,2,2)(6,GBb,3,3,"b-button",
6);I(7,"b-app-bar-more-menu",7);M("exportCsvClicked",function(){w(c);return x(b.onExportCsv.emit())})("flagAsSpamClicked",function(){w(c);return x(M8c(b))});J();I(8,"b-state-modal",8);M("save",function(){w(c);return x(K8c(b))})("close",function(){w(c);return x(b.hotkeys.unpause())});J();D(9,JBb,11,6,"ng-template",null,0,ih)}a&2&&(B(2),G(b.hasSelectedIssues()?2:-1),B(),G(b.hasSelectedIssues()?3:-1),B(),G(b.enableBulkEditUi&&b.hasSelectedIssues()?4:-1),B(),G(b.showHotlistButtons&&!b.hasSelectedIssues()?
5:-1),B(),G(b.enableEstadoInAppBar?6:-1),B(),E("showExportCsv",b.isNonPublicSession||Khc(b.activeSession))("showFlagIssuesAsSpam",R$c(b)),B(),E("externalWarnings",b.externalWarnings))},dependencies:[g_,f_,dQ,OV,H0,C2,B2,m1,DM,eB,jy,uI,wI,yI,xI,p1,tS,n1,ew],styles:["[_nghost-%COMP%] { display: flex; align-items: center; }"]});var S$c=function(a){return{displayText:"Admins",values:a}},T$c=function(a){return[a]},U$c=function(a){return{displayText:"Appenders",values:a}},V$c=wi("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?"),E2=function(){var a=r(zS);Z.call(this);var b=this;this.hotlistAccessPolicyFridge=r(SE);this.links=r(lI);this.snackBar=
r(cH);this.events=r(yD);this.dialog=r(AI);this.permissions=r(nG);this.userApi=r(TD);this.activeSession=r(Bu);this.id$=new Tf(1);this.idSubject$=sp(this.id$.pipe(Zf(this.destroyed$)));this.acl$=this.id$.pipe(Yf(function(c){return b.hotlistAccessPolicyFridge.watch(c)}));this.latestCompactPolicy={};this.admins=[];this.appenders=[];this.readers=[];this.accessControlLink=Sqc(this.links);this.validity={};this.isValid=function(){return Object.values(b.validity).every(Boolean)};this.isInvalid=function(){return!b.isValid()};
this.allAppenders=[];this.onPressSave=function(){b.isRevokingAdmin()?b.dialog.open({title:"Change Hotlist Admins",content:V$c,isDestructive:!0,onConfirm:b.doSave}):b.doSave()};this.doSave=function(){var c=b.idSubject$.value;if(c!=null){var d=b.isRevokingAdmin();c={id:c,admins:rq(b.admins),appenders:rq(b.appenders),editors:null,readers:rq(b.readers),implicitAccess:null,restrictedReaders:null,restrictedPlusReaders:null,inheritedAdmins:null,implicitAppenders:null,implicitEditors:null,implicitReaders:null};
b.hotlistAccessPolicyFridge.save(c).subscribe({next:b.didSave(d,c.id),error:b.gotErr})}};this.didSave=function(c,d){return function(){b.snackBar.open("Access control saved",void 0,{duration:2500});b.events.hotlistChanged.next();b.permissions.poke(d);c&&b.doStar()}};this.gotErr=function(c){b.snackBar.open($o(c)||"Error saving the hotlist access policy","close",{panelClass:"error"})};this.doStar=function(){var c=b.idSubject$.value;c&&b.userApi.addUserBookmark({resourceType:"HOTLIST",resourceId:c}).then(function(){b.events.hotlistChanged.next()})};
this.onPressRevert=function(){b.resetEdits()};this.isChanged=function(){var c=b.latestCompactPolicy,d;if(!oj((d=c.admins)!=null?d:[],b.admins))return!0;var e;if(!oj((e=c.appenders)!=null?e:[],b.appenders))return!0;var f;return oj((f=c.readers)!=null?f:[],b.readers)?!1:!0};this.hasNoChanges=function(){return!b.isChanged()};this.acl$.pipe(Zf(this.destroyed$)).subscribe(function(c){b.latestPolicy=c;var d,e,f;b.latestCompactPolicy={admins:qq((d=b.latestPolicy)==null?void 0:d.admins),appenders:qq((e=b.latestPolicy)==
null?void 0:e.appenders),readers:qq((f=b.latestPolicy)==null?void 0:f.readers)};b.resetEdits()});this.subscriptions.add(AS(a,this.isChanged,!1))};Y(E2,Z);E2.\u0275dir=Z.\u0275dir;var W$c=function(a){return[].concat(t(new Set([].concat(t(a.admins),t(a.appenders)))))};E2.prototype.ngOnChanges=function(a){(a=a.hotlistId)&&this.id$.next(a.currentValue)};
E2.prototype.resetEdits=function(){var a;this.admins=[].concat(t((a=this.latestCompactPolicy.admins)!=null?a:[]));var b;this.appenders=[].concat(t((b=this.latestCompactPolicy.appenders)!=null?b:[]));var c;this.readers=[].concat(t((c=this.latestCompactPolicy.readers)!=null?c:[]));this.allAppenders=W$c(this)};E2.prototype.isRevokingAdmin=function(){var a=this.admins,b,c=(b=this.latestCompactPolicy.admins)!=null?b:[];return this.isRevokingDirectAdmin(a,c,this.activeSession.getUserEmail())};
E2.prototype.isRevokingDirectAdmin=function(a,b,c){c=c===void 0?"":c;if(Dua(a,b))return!1;c="USER:"+c;b=b.includes(c);a=!a.includes(c);return b&&a};E2.\u0275fac=function(a){return new (a||E2)};
E2.\u0275cmp=C({type:E2,selectors:[["b-edit-hotlist-acl"]],inputs:{hotlistId:"hotlistId",isReadOnly:"isReadOnly"},standalone:!1,features:[cg,rv],decls:22,vars:24,consts:[[1,"flex-kids-y"],[1,"muted","type-s","margin-s-bottom"],[3,"usersChange","isValid","users"],[3,"usersChange","isValid","users","includeAliases","containerChips"],[3,"usersChange","isValid","users","includeAliases","includeViewAliases","containerChips"],["target","_blank",3,"href"],[1,"margin-top","flex-kids-x","gap-s"],["mat-flat-button",
"","color","primary","type","submit",1,"medium",3,"click","disabled","matTooltip"],["mat-button","","type","button",1,"medium",3,"click","disabled","matTooltip"]],template:function(a,b){a&1&&(I(0,"form",0)(1,"label"),Q(2,"Admins"),J(),I(3,"p",1),Q(4,"Edit access controls, edit name and description, reorder hotlist, add/remove issues"),J(),I(5,"b-multi-user-input",2),M("usersChange",function(c){b.admins=c;b.allAppenders=W$c(b)})("isValid",function(c){return b.validity.admins=c}),J(),I(6,"label"),Q(7,
"View and append"),J(),I(8,"p",1),Q(9,"Reorder hotlist, add/remove issues"),J(),I(10,"b-multi-user-input",3),M("usersChange",function(c){b.appenders=c;b.allAppenders=W$c(b)})("isValid",function(c){return b.validity.appenders=c}),J(),I(11,"label"),Q(12,"View only"),J(),I(13,"p",1),Q(14,"View the hotlist"),J(),I(15,"b-multi-user-input",4),M("usersChange",function(c){b.readers=c})("isValid",function(c){return b.validity.readers=c}),J()(),I(16,"p"),Q(17," Users can see which issues are in a hotlist, even when they don't have view access to the hotlist. See "),
I(18,"a",5),Q(19,"access control documentation"),J(),Q(20," for an explanation of the settings.\n"),J(),D(21,KBb,5,4,"div",6));a&2&&(B(5),sg("disabled",b.isReadOnly),E("users",b.admins),B(5),sg("disabled",b.isReadOnly),E("users",b.appenders)("includeAliases",!0)("containerChips",eh(18,T$c,eh(16,S$c,b.admins))),B(5),sg("disabled",b.isReadOnly),E("users",b.readers)("includeAliases",!0)("includeViewAliases",!0)("containerChips",eh(22,T$c,eh(20,U$c,b.allAppenders))),B(3),E("href",b.accessControlLink,
vf),B(3),G(b.isReadOnly?-1:21))},dependencies:[Oy,Hy,Ly,eB,jy,mB,rB,TK],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 X$c=["hotlistName"],F2=function(){Z.call(this);var a=this;this.fridge=r(UD);this.snackBar=r(cH);this.events=r(yD);this.checkBeforeExit=r(zS);this.isReadOnly=!1;this.id$=new Tf(1);this.hotlist$=this.id$.pipe(Yf(function(b){return a.fridge.watch(b)}));this.isArchived=!1;this.localEdits={};this.gotHotlist=function(b){a.latestHotlist=b;var c;a.isArchived=(c=b==null?void 0:b.archived)!=null?c:!1;a.resetEdits(b)};this.gotErr=function(b){a.snackBar.open($o(b)||"Error saving the hotlist","close",{panelClass:"error"})};
this.didSave=function(){a.snackBar.open("Hotlist saved",void 0,{duration:2500});a.events.hotlistChanged.next()};this.isChanged=function(){var b,c=(b=a.latestHotlist)!=null?b:{};return!oj(c,a.localEdits)};this.hasNoChanges=function(){return!a.isChanged()};this.save=function(){a.fridge.save(a.localEdits).subscribe({next:a.didSave,error:a.gotErr})};this.revert=function(){a.resetEdits(a.latestHotlist)};this.hotlist$.pipe(Zf(this.destroyed$)).subscribe(function(b){a.gotHotlist(b)});this.subscriptions.add(AS(this.checkBeforeExit,
this.isChanged,!1))};Y(F2,Z);F2.\u0275dir=Z.\u0275dir;F2.prototype.ngAfterViewInit=function(){var a=this;setTimeout(function(){var b;(b=a.hotlistName)==null||b.nativeElement.focus()})};F2.prototype.ngOnChanges=function(a){(a=a.hotlistId)&&this.id$.next(a.currentValue)};F2.prototype.resetEdits=function(a){var b;this.localEdits=(b=pj(a))!=null?b:{}};F2.\u0275fac=function(a){return new (a||F2)};
F2.\u0275cmp=C({type:F2,selectors:[["b-edit-hotlist-basic"]],viewQuery:function(a,b){a&1&&Rg(X$c,5);if(a&2){var c;Vg(c=Wg())&&(b.hotlistName=c.first)}},inputs:{hotlistId:"hotlistId",isReadOnly:"isReadOnly"},standalone:!1,features:[cg,rv],decls:10,vars:5,consts:[["hotlistName",""],["name","hotlist",1,"flex-kids-y"],["for","hotlist-name",1,"required"],["type","text","id","hotlist-name","name","name","required","","aria-required","true","autocomplete","off",3,"ngModelChange","disabled","ngModel"],["for",
"hotlist-description",1,"margin-top"],["id","hotlist-description","name","description",3,"ngModelChange","disabled","ngModel"],[1,"margin-top","flex-kids-x","gap-s"],["mat-flat-button","","color","primary","type","submit",1,"medium",3,"click","disabled","matTooltip"],["mat-button","","type","button",1,"medium",3,"click","disabled","matTooltip"],[3,"hotlistId"]],template:function(a,b){if(a&1){var c=v();I(0,"form",1)(1,"label",2);Q(2,"Name");J();I(3,"input",3,0);bh("ngModelChange",function(d){w(c);
ah(b.localEdits.name,d)||(b.localEdits.name=d);return x(d)});J();I(5,"label",4);Q(6,"Description");J();I(7,"textarea",5);bh("ngModelChange",function(d){w(c);ah(b.localEdits.description,d)||(b.localEdits.description=d);return x(d)});Q(8,"  ");J();D(9,LBb,7,7,"div",6);J()}a&2&&(B(3),E("disabled",b.isReadOnly||b.isArchived),$g("ngModel",b.localEdits.name),B(4),E("disabled",b.isReadOnly||b.isArchived),$g("ngModel",b.localEdits.description),B(2),G(b.isReadOnly?-1:9))},dependencies:[Oy,oi,Gy,Hy,Yy,Ny,Ly,
eB,jy,mB,rB,C2,ew],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 G2=function(){Z.apply(this,arguments);var a=this;this.hotlists=r(UD);this.acls=r(SE);this.id$=new Tf(1);this.hotlist$=this.id$.pipe(Yf(function(b){return a.hotlists.watch(b)}))};Y(G2,Z);G2.\u0275dir=Z.\u0275dir;G2.prototype.isThinking=function(a){var b=a?"hotlists/"+a:void 0;return this.hotlists.isThinking(a)||this.acls.isThinking(b)};G2.prototype.ngOnChanges=function(a){(a=a.id)&&this.id$.next(a.currentValue)};G2.\u0275fac=function(){var a;return function(b){return(a||(a=ee(G2)))(b||G2)}}();
G2.\u0275cmp=C({type:G2,selectors:[["b-edit-hotlist-header"]],inputs:{id:[0,"hotlistId","id"]},standalone:!1,features:[cg,rv],decls:9,vars:8,consts:[[1,"flex-kids-x","align-items-center","gap-s","padded-x"],[1,"muted"],[1,"color-bad-text"]],template:function(a,b){a&1&&(I(0,"header",0)(1,"h2")(2,"span",1),Q(3),J(),D(4,MBb,1,1),S(5,"async"),J(),D(6,NBb,2,0,"strong",2),S(7,"async"),D(8,OBb,1,0,"b-spinner"),J());if(a&2){var c,d;B(3);R(" Hotlist ",b.id,": ");B();G((c=U(5,4,b.hotlist$))?4:-1,c);B(2);G(((d=
U(7,6,b.hotlist$))==null?0:d.archived)?6:-1);B(2);G(b.isThinking(b.id)?8:-1)}},dependencies:[sL,ew],styles:["[_nghost-%COMP%] {\n      display: block;\n    }"]});var H2=function(){Z.apply(this,arguments);this.activeSession=r(Bu);this.ROUTES=Qq;this.id$=new Tf(1);this.enableBulkEditUi=!this.activeSession.userRequiresCaptcha()};Y(H2,Z);H2.\u0275dir=Z.\u0275dir;H2.prototype.ngOnChanges=function(a){(a=a.id)&&this.id$.next(a.currentValue)};H2.prototype.onPressBack=function(){var a;(a=window.history)==null||a.back()};H2.\u0275fac=function(){var a;return function(b){return(a||(a=ee(H2)))(b||H2)}}();
H2.\u0275cmp=C({type:H2,selectors:[["b-edit-hotlist-toolbar"]],inputs:{id:[0,"hotlistId","id"]},standalone:!1,features:[cg,rv],decls:6,vars:2,consts:[[1,"button-bar","border-bottom","padded-s"],["format","icon","size","large","tooltip","Go back","bAriaLabel","Go back",3,"onAction"],["name","arrow-backward","size","large"],["mat-button","","matTooltip","View the issues tagged with this hotlist",1,"medium","no-visited-no-active",3,"href"],[3,"hotlistId"]],template:function(a,b){a&1&&(I(0,"section",
0)(1,"b-button",1),M("onAction",function(){return b.onPressBack()}),K(2,"b-icon",2),J(),I(3,"a",3),Q(4," View Issues "),J(),D(5,PBb,2,3,"hotlist-add-issue-btn",4),J());a&2&&(B(3),E("href",b.ROUTES.viewHotlist.makeHref(b.id),vf),B(2),G(b.enableBulkEditUi?5:-1))},dependencies:[eB,ky,mB,rB,dQ,DM,B2,ew],styles:[".button-bar[_ngcontent-%COMP%] {\n      display: flex;\n      align-items: center;\n      height: 46px;\n      box-sizing: border-box;\n    }"]});var Y$c=new Map([[403,"You do not have permission to view this Hotlist."],[404,"This Hotlist does not exist."]]),I2=function(){this.routeParams=r(YI);this.pageTitle=r(u_);this.permissions=r(nG);this.hotlists=r(UD);this.window=r(MH);this.id=this.routeParams.hotlistId;this.resourceId="hotlists/"+this.id;this.isAdmin$=this.permissions.watch(this.resourceId).pipe(z(function(a){return a==null?void 0:a.admin}));this.hotlistErrorMsg$=this.hotlists.error$.pipe(z(function(a){var b;return(b=a.status)!=null?
b:-1}),z(function(a){var b;return(b=Y$c.get(a))!=null?b:"unknown error"}),Xf(void 0));this.tabIndex=0};I2.prototype.ngOnInit=function(){this.pageTitle.setTitle("Edit Hotlist "+this.id);this.window.location.hash.includes("access")&&(this.tabIndex=1)};I2.\u0275fac=function(a){return new (a||I2)};
I2.\u0275cmp=C({type:I2,selectors:[["edit-hotlist"]],standalone:!1,decls:4,vars:6,consts:[[3,"hotlistId"],[1,"bv2-view"],["gmat-tabs","",3,"selectedIndex"],["label","Basic Information"],[3,"hotlistId","isReadOnly"],["label","Access Control"],[1,"muted","padded-x"],[1,"padded-x"]],template:function(a,b){a&1&&(D(0,RBb,12,14),S(1,"async"),D(2,SBb,6,1),S(3,"async"));if(a&2){var c;G(U(1,2,b.hotlistErrorMsg$)===void 0?0:-1);B(2);G((c=U(3,4,b.hotlistErrorMsg$))?2:-1,c)}},dependencies:[DN,yN,zN,dN,E2,F2,
G2,H2,ew],encapsulation:2});var J2=function(){};J2.\u0275fac=function(a){return new (a||J2)};J2.\u0275cmp=C({type:J2,selectors:[["b-error-banner"]],inputs:{error:"error"},standalone:!1,decls:1,vars:1,consts:[["messageType","error"]],template:function(a,b){a&1&&D(0,TBb,3,1,"b-callout",0);a&2&&G(b.error?0:-1)},dependencies:[nL,oL],encapsulation:2});var K2=function(){};K2.\u0275fac=function(a){return new (a||K2)};K2.\u0275mod=Cf({type:K2});K2.\u0275inj=p({imports:[lC,zP]});var L2=function(){};L2.\u0275fac=function(a){return new (a||L2)};L2.\u0275mod=Cf({type:L2});L2.\u0275inj=p({imports:[lC,bz,mC,pC,eQ,pN,FN,fP,BP,K2,$O,hN]});var M2=function(){};M2.\u0275fac=function(a){return new (a||M2)};M2.\u0275mod=Cf({type:M2});M2.\u0275inj=p({imports:[i_,eQ,VV,lC,ON,R0,L2,v1,fP,mC,XI,pC,w1,ZV,o1]});var N2=function(){Z.call(this);this.element=r(ef);this.bLocation=r(WN);this.hotkeys=r(uH);this.cdr=r(cB,{self:!0});this.focusedIndex=0;this.convertUserToString=Sj;this.hotlists=[];this.registerKeys()};Y(N2,Z);N2.\u0275dir=Z.\u0275dir;g=N2.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=vH(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(Qq.editHotlist.makeHref(a.hotlistId))};
N2.\u0275fac=function(a){return new (a||N2)};
N2.\u0275cmp=C({type:N2,selectors:[["b-hotlist-grid"]],inputs:{hotlists:"hotlists"},standalone:!1,features:[ch([cB]),cg],decls:27,vars:0,consts:[[1,"pop-grid","bv2-resource-list"],[1,"header-row"],[1,"focus-indicator"],[1,"bv2-columnheader-content"],[1,"pop-grid-default-th"],[1,"pop-grid-non-sort-header"],["tabindex","0",1,"bv2-resource-list-row",3,"grid-focus"],["tabindex","0",1,"bv2-resource-list-row",3,"click","focus"],[1,"bv2-resource-list-cell","hotlist-name","clickable"],["tabindex","-1",1,
"grid-link",3,"click","href"],[1,"bv2-resource-list-cell","hotlist-description","clickable"],[1,"bv2-resource-list-cell","resource-admins","clickable"],[1,"bv2-resource-list-cell","hotlist-id","clickable"]],template:function(a,b){a&1&&(I(0,"table",0)(1,"thead")(2,"tr",1),K(3,"th",2),I(4,"th")(5,"div",3)(6,"div",4)(7,"div",5),Q(8," Hotlist name "),J()()()(),I(9,"th")(10,"div",3)(11,"div",4)(12,"div",5),Q(13," Description "),J()()()(),I(14,"th")(15,"div",3)(16,"div",4)(17,"div",5),Q(18," Admins "),
J()()()(),I(19,"th")(20,"div",3)(21,"div",4)(22,"div",5),Q(23," ID "),J()()()()()(),I(24,"tbody"),yg(25,WBb,12,8,"tr",6,xg),J()());a&2&&(B(25),zg(b.hotlists))},encapsulation:2});var O2=function(){};O2.\u0275fac=function(a){return new (a||O2)};O2.\u0275mod=Cf({type:O2});O2.\u0275inj=p({imports:[lC]});var P2=function(){this.bLocation=r(WN);this.butterBar=r(fH)},Z$c=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};P2.prototype.getCount=function(){var a=Z$c(this,"c");return a?uj(a):null};var $$c=function(a){return(a=Z$c(a,"p"))?uj(a):null};P2.prototype.getQuery=function(){return Z$c(this,"q")};
P2.prototype.getDisplayColumns=function(){var a=this.bLocation.search().d;return a?(Array.isArray(a)?a:[a]).map(Qt).filter(ik):null};P2.prototype.getSortColumns=function(){var a=this.bLocation.search().s;return a?(Array.isArray(a)?a:[a]).map(Cnb).filter(ik):null};
var Q2=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 aad(e)}));b.sortColumns!==void 0&&d("s",b.sortColumns==null?null:(b.sortColumns||[]).map(function(e){var f=e.direction=="ASCENDING"?"asc":"desc";return aad(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)},aad=function(a){return a.isCustomField()?String(a.customFieldId):a.type.toLowerCase()};P2.\u0275fac=function(a){return new (a||P2)};P2.\u0275prov=n({token:P2,factory:P2.\u0275fac,providedIn:"root"});var R2=function(){this.urlPreferences=r(P2);this.userPreferencesManager=r(TG);this.customFieldApi=r(dE)};R2.prototype.fetch=function(a,b){a=this.getParameters(a,b===void 0?null:b);return{searchPreferences:Bi({page:a.page,query:a.query,resultsPerPage:a.resultsPerPage,sortColumns:a.sortColumns}),displayColumns:a.displayColumns}};
R2.prototype.getParameters=function(a,b){var c=this,d=b?function(){return bad(b)}:function(){return cad(c)},e=b?function(){return dad(b)}:function(){return ead(c)};d=Promise.resolve(this.urlPreferences.getDisplayColumns()).then(function(l){return S2(l)}).then(null,d).then(function(l){return S2(l)}).then(null,Wac(a.displayColumns)).then(function(l){return fad(c,l)});e=Promise.resolve(this.urlPreferences.getSortColumns()).then(function(l){return S2(l)}).then(null,e).then(function(l){return S2(l)}).then(null,
Wac(a.sortColumns));var f=Promise.resolve(this.urlPreferences.getCount()).then(function(l){return S2(l)}).then(null,function(){return gad(c)}).then(function(l){return S2(l)}).then(null,Wac(a.resultsPerPage)),h=Promise.resolve(this.urlPreferences.getQuery()).then(function(l){return S2(l)}).then(null,function(){return had(b,function(l){return l.query})}).then(null,Wac(a.query));a=$$c(this.urlPreferences)||a.page;return{displayColumns:d,sortColumns:e,resultsPerPage:f,query:h,page:a}};
var S2=function(a){return a==null?Promise.reject(null):a},bad=function(a){return had(a,function(b){return b.displayColumn}).then(function(b){return iad(b)})},dad=function(a){return had(a,function(b){return b.sortOrder}).then(function(b){return jad(b)})},ead=function(a){return Fe(a.userPreferencesManager.sortColumnsPreferences$).then(function(b){return S2(b)}).then(function(b){return jad(b)})},cad=function(a){return Fe(a.userPreferencesManager.displayColumnsPreferences$).then(function(b){return S2(b)}).then(function(b){return iad(b)})},
gad=function(a){return Fe(a.userPreferencesManager.preferences$.pipe(z(function(b){var c;return(c=b.resultsPerPage)!=null?c:null}))).then(function(b){return S2(b)})},had=function(a,b){return a?a.then(function(c){c=b(c);return c==null?Promise.reject(null):c}):Promise.reject(null)},iad=function(a){if(!a||!a.length)return null;a=Jj(a,function(b){return b.customFieldId||b.customFieldName||b.type});return a.map(function(b){return new Pt({customFieldId:b.customFieldId||void 0,customFieldName:b.customFieldName||
void 0,type:b.type})})},jad=function(a){return a&&a.length?a.map(function(b){return b.column!==void 0?new Tt(new Pt(b.column),b.order):new Tt(new Pt(b.field),b.direction)}).filter(function(b){return b.fieldId.type!="CUSTOM_FIELD"||b.fieldId.customFieldId!=null}):null},fad=function(a,b){function c(){for(var l=k(b),q=l.next();!q.done;q=l.next())if(q=q.value,q.isCustomField()&&!q.customFieldName){var u=d[q.customFieldId];q.customFieldName=u?u:"Custom field "+q.customFieldId}return b}if(!b)return Promise.resolve([]);
for(var d={},e=[],f=k(b),h=f.next();!h.done;h=f.next())h=h.value,h.customFieldId&&h.isCustomField()&&(h.customFieldName?d[h.customFieldId]=h.customFieldName:e.push(a.customFieldApi.get(h.customFieldId).then(function(l){d[l.customFieldId]=l.name})));return Promise.all(e).then(c,c)};R2.\u0275fac=function(a){return new (a||R2)};R2.\u0275prov=n({token:R2,factory:R2.\u0275fac,providedIn:"root"});var T2=function(){Z.call(this);var a=this;this.cdr=r(cB);this.bLocation=r(WN);this.$log=r(bB);this.butterBar=r(fH);this.analytics=r(OF);this.issuePagination=r(t_);this.gridPreferencesFetcher=r(R2);this.paths=r(IP);this.errorHandler=r(CI);this.domSafe=r(NH);this.timeout=r(qE);this.hotkeys=r(uH);this.appSearchState=r(TY);this.componentFridge=r(uD);this.issueFullFridge=r(QF);this.activeSession=r(Bu);this.window=r(MH);this.ANALYTICS_CATEGORY="panel";this.initialSortPreferences=this.initialIssueColumns=
this.displayColumns=null;this.currentUserEmail=this.activeSession.getUserEmail();this.resource=this.searchResults=null;this.isLoading=!1;this.page=1;this.issueColumnsInternal=[];this.sortPreferences=[];this.last=this.first=this.isDashboardEditable=!1;this.focusedRowIndexInternal=null;this.focusedRowIndexChange=new aB;this.resultsLoaded=new aB;this.selectionChange=new aB;this.isColumnSaveEnabled=!1;this.cachedSort=null;this.BASE_HOTKEYS=[{keys:["j"],displayAs:"j",description:"Move to the next issue in the current panel",
onPress:function(){var b;(b=a.issuesGrid)==null||Dyb(b)}},{keys:["k"],displayAs:"k",description:"Move to the previous issue in the current panel",onPress:function(){var b;(b=a.issuesGrid)==null||Eyb(b)}},{keys:["x"],displayAs:"x",description:"Select/Deselect the current issue",onPress:function(){var b;(b=a.issuesGrid)==null||J$c(b)}},{keys:["s"],displayAs:"s",description:"Star/Unstar the current issue",onPress:function(){var b;(b=a.issuesGrid)==null||L$c(b)}},{keys:[Dp("i")],displayAs:"Shift+i",description:"Mark as read",
onPress:function(){var b;(b=a.issuesGrid)==null||M$c(b,!0)}},{keys:[Dp("u")],displayAs:"Shift+u",description:"Mark as unread",onPress:function(){var b;(b=a.issuesGrid)==null||M$c(b,!1)}},{keys:[Ep("*","a")],displayAs:"* then a",description:"Select all issues in the current panel",onPress:function(){var b;(b=a.issuesGrid)==null||b.selectAll()}},{keys:[Ep("*","n")],displayAs:"* then n",description:"Deselect all issues in the current panel",onPress:function(){var b;(b=a.issuesGrid)==null||G$c(b)}},{keys:["o",
"ENTER"],displayAs:"o / Enter",description:"Open the current issue",onPress:function(b){var c=a.window.document.activeElement;if(b===1&&(c==null?void 0:c.tagName)==="A")if(c.href)b=a.paths.getBaseUrl(),c.href.startsWith(b)?a.bLocation.setUrl(c.href.slice(b.length)):a.domSafe.openInNewTab(c.href);else{var d;(d=a.issuesGrid)==null||x2(d)}else{var e;(e=a.issuesGrid)==null||x2(e)}}}];this.destroyed$.subscribe(function(){var b;(b=a.unregisterHotkeys)==null||b.call(a)})};Y(T2,Z);T2.\u0275dir=Z.\u0275dir;
T2.prototype.columnsChange=function(a){this.issueColumns=a};T2.prototype.ngOnInit=function(){this.getIssues();kad(this)};var kad=function(a){var b;(b=a.unregisterHotkeys)==null||b.call(a);a.isFocused?a.unregisterHotkeys=vH(a.hotkeys,{title:"Bookmark Group Dashboard",hotkeys:a.BASE_HOTKEYS}):a.unregisterHotkeys=void 0},sCb=function(a,b){a.issuesGrid=b;K$c(a.issuesGrid,function(){var c,d={panelId:a.panel.panelId,selectedIssues:(c=a.issuesGrid)==null?void 0:c.getSelectedIssues()};a.selectionChange.emit(d)})};
g=T2.prototype;g.setSort=function(a,b,c){c=c===void 0?!0:c;var d=Qt(a);if(d==null)this.$log.warn("WARNING: Invalid column name: "+a);else{var e=new Tt(d,b=="ASC"?"ASCENDING":"DESCENDING");Va(this.sortPreferences,function(f){return oj(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):sj(a.fieldId.type),direction:a.direction=="ASCENDING"?"ASC":"DESC"};oj(a,this.cachedSort)||(this.cachedSort=a);return this.cachedSort};g.initColumns=function(a,b){this.displayColumns=a;this.issueColumnsInternal=[].concat(t(b),t(sub(a)));this.initialIssueColumns=pj(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=Rq(a),c&&yn(c)?this.domSafe.openInNewTab(a):this.bLocation.setUrl(a))};g.goToPage=function(a){this.page=a;this.getIssues()};g.refreshResults=function(){p6c(this.issuePagination);this.getIssues()};g.exportCsv=function(){OH(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 m6c(b.issuePagination,e)});a.catch(function(e){typeof e==="number"?
b.goToPage(e):e&&b.errorHandler.errorHandler(null,e)});return Bi({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=pj(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 je;a=k(a);for(c=a.next();!c.done;c=a.next())this.issueSubscriptions.add(this.issueFullFridge.watch(c.value.id).pipe(Ue(ik),Zf(this.destroyed$)).subscribe(function(d){var e;return se(function(f){if(f.nextAddress==1)return b.searchResults?y(f,Fe(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();h6c(b.searchResults,[{issue:d,component:e}]);b.searchResults=b.searchResults.clone()}b.cdr.detectChanges();xe(f)})}))};g.getGridPreferencesDefaults=function(){return{page:this.page,displayColumns:lad,sortColumns:[],query:"",resultsPerPage:25}};
g.save=function(){var a=this,b=tub(this.issueColumns.slice((this.searchResults?this.getMetaColumns(this.searchResults):mad).length)).map(function(c){return new Pt(c)});this.resource.displayColumn=b;b=this.sortPreferences.map(function(c){return{direction:c.direction,field:c.fieldId}});this.resource.sortOrder=b;jq(this.butterBar,"Saving changes to panel...");this.saveResource().then(function(){a.initialIssueColumns=pj(a.issueColumns);a.initialSortPreferences=pj(a.sortPreferences);a.cdr.detectChanges()})};
g.discardChanges=function(){this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"discardChanges");this.issueColumns=[].concat(t(this.initialIssueColumns||[]));this.initialSortPreferences&&!oj(this.initialSortPreferences,this.sortPreferences)&&(Fba(this.sortPreferences),Mu(Iba,this.sortPreferences,void 0,0).apply(null,this.initialSortPreferences),this.refreshResults())};
g.hasParamChanges=function(){return this.resource&&this.isEditable()?this.initialIssueColumns&&!oj(this.initialIssueColumns,this.issueColumns)?!0:!!this.initialSortPreferences&&!oj(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 mad};
g.getSearchParams=function(a){a=pj(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(T2.prototype,{issueColumns:{configurable:!0,enumerable:!0,get:function(){return this.issueColumnsInternal},set:function(a){oj(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&&kad(this)},
get:function(){return this.focusedRowIndexInternal}},isFocused:{configurable:!0,enumerable:!0,get:function(){return this.focusedRowIndex!==null}}});var mad=[y2,z2,A2],lad=B9c.map(Qt).filter(ik);T2.\u0275fac=function(a){return new (a||T2)};
T2.\u0275cmp=C({type:T2,selectors:[["b-base-issues-list"]],viewQuery:function(a,b){a&1&&Rg(w2,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"},standalone:!1,features:[cg],decls:0,vars:0,template:function(){},encapsulation:2});var U2=function(){this.dialog=r(AI);this.appEvents=r(yD);this.last=this.first=!1};U2.prototype.removePanel=function(){var a=this;this.dialog.open({title:"Remove Item?",content:wi("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)}})};U2.\u0275fac=function(a){return new (a||U2)};
U2.\u0275cmp=C({type:U2,selectors:[["b-panel-controls"]],inputs:{panelId:"panelId",first:"first",last:"last"},standalone:!1,decls:6,vars:1,consts:[["menu",""],["type","button","mat-icon-button","","aria-label","Customize list view",1,"small","bv2-grid-settings-button",3,"matMenuTriggerFor"],["svgIcon","arrow-dropdown",1,"icon-s"],["matMenuContent",""],["type","button","mat-menu-item","",1,"bv2-panel-move-to-top-menuitem"],["type","button","mat-menu-item","",1,"bv2-panel-move-up-menuitem"],["type",
"button","mat-menu-item","",1,"bv2-panel-move-down-menuitem"],["type","button","mat-menu-item","",1,"bv2-panel-move-to-bottom-menuitem"],["type","button","mat-menu-item","",1,"bv2-panel-remove-edit-menuitem",3,"click"],["type","button","mat-menu-item","",1,"bv2-panel-move-to-top-menuitem",3,"click"],["type","button","mat-menu-item","",1,"bv2-panel-move-up-menuitem",3,"click"],["type","button","mat-menu-item","",1,"bv2-panel-move-down-menuitem",3,"click"],["type","button","mat-menu-item","",1,"bv2-panel-move-to-bottom-menuitem",
3,"click"]],template:function(a){a&1&&(I(0,"div")(1,"button",1),K(2,"mat-icon",2),J(),I(3,"mat-menu",null,0),D(5,aCb,6,4,"ng-template",3),J()());a&2&&(a=L(4),B(),E("matMenuTriggerFor",a))},dependencies:[pB,xL,IL,GL,HL,JL,eB,ly],encapsulation:2});var V2=function(){};V2.\u0275fac=function(a){return new (a||V2)};V2.\u0275mod=Cf({type:V2});V2.\u0275inj=p({imports:[lC,bN,mC]});var W2=function(){};W2.\u0275fac=function(a){return new (a||W2)};W2.\u0275mod=Cf({type:W2});W2.\u0275inj=p({imports:[lC,WM]});var X2=function(){};X2.\u0275fac=function(a){return new (a||X2)};X2.\u0275mod=Cf({type:X2});X2.\u0275inj=p({imports:[lC,W2]});var Y2=function(){};Y2.\u0275fac=function(a){return new (a||Y2)};Y2.\u0275mod=Cf({type:Y2});Y2.\u0275inj=p({imports:[lC,WM,X2]});var Z2=function(){};Z2.\u0275fac=function(a){return new (a||Z2)};Z2.\u0275mod=Cf({type:Z2});Z2.\u0275inj=p({imports:[lC,W2]});var nad=function(){this.availablePanels=new Set;this.iconOnly=!1;this.buttonClassname="";this.openSidebar=new aB};nad.\u0275fac=function(a){return new (a||nad)};
nad.\u0275cmp=C({type:nad,selectors:[["b-insights-graph-menu"]],inputs:{availablePanels:"availablePanels",iconOnly:"iconOnly",buttonClassname:"buttonClassname"},outputs:{openSidebar:"openSidebar"},standalone:!1,decls:14,vars:5,consts:[["type","button","mat-button","","matTooltip","Insight Graph menu",1,"main-button","gmat-mdc-button","square-right",3,"click","ngClass","disabled"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 18 22"],["fill","none","fill-rule","evenodd"],"stroke;currentColor;stroke-linecap;round;stroke-linejoin;round;stroke-opacity;.4;d;M17.5 5.41l-8-3.91m0 7.82l-8-3.91".split(";"),
"stroke;currentColor;stroke-opacity;.4;d;M9.5 9.32v10".split(";"),"stroke;currentColor;stroke-linecap;round;stroke-linejoin;round;stroke-width;1.5;d;M9.5 1.5l-8 3.91v10.01l8 3.91 8-3.91V5.41l-8 3.91".split(";"),"cx 1.5 cy 5.41 r 1.5 fill currentColor fill-rule nonzero".split(" "),"cx 17.5 cy 5.41 r 1.5 fill currentColor fill-rule nonzero".split(" "),"cx 9.5 cy 9.32 r 1.5 fill currentColor fill-rule nonzero".split(" "),"cx 1.5 cy 15.43 r 1.5 fill currentColor fill-rule nonzero".split(" "),"cx 17.5 cy 15.43 r 1.5 fill currentColor fill-rule nonzero".split(" "),
"cx 9.5 cy 19.33 r 1.5 fill currentColor fill-rule nonzero".split(" "),"cx 9.5 cy 1.5 r 1.5 fill currentColor fill-rule nonzero".split(" ")],template:function(a,b){a&1&&(I(0,"button",0),M("click",function(){b.openSidebar.emit({panel:void 0})}),Ud(),I(1,"svg",1)(2,"g",2),K(3,"path",3)(4,"path",4)(5,"path",5)(6,"circle",6)(7,"circle",7)(8,"circle",8)(9,"circle",9)(10,"circle",10)(11,"circle",11)(12,"circle",12),J()(),D(13,bCb,2,0,"ng-container"),J());a&2&&(sg("icon-only-mode",b.iconOnly),E("ngClass",
b.buttonClassname)("disabled",b.availablePanels.size===0),B(13),G(b.iconOnly?-1:13))},dependencies:[aw,eB,jy,mB,rB],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 a3=function(){this.issueInsightsSidebarService=r(p2);this.iconOnly=!1;this.buttonClassname="";this.availablePanels$=this.issueInsightsSidebarService.availablePanels$;this.shouldShowInsightsGraphMenu$=this.issueInsightsSidebarService.shouldShowInsightsGraphMenu$};a3.prototype.openSidebar=function(a){this.issueInsightsSidebarService.openSidebar(a)};a3.\u0275fac=function(a){return new (a||a3)};
a3.\u0275cmp=C({type:a3,selectors:[["insights-graph-menu-smart"]],inputs:{iconOnly:"iconOnly",buttonClassname:"buttonClassname"},standalone:!1,decls:2,vars:3,consts:[[3,"availablePanels","iconOnly","buttonClassname"],[3,"openSidebar","availablePanels","iconOnly","buttonClassname"]],template:function(a,b){a&1&&(D(0,dCb,2,3),S(1,"async"));if(a&2){var c;G((c=U(1,1,b.availablePanels$))?0:-1,c)}},dependencies:[nad,ew],encapsulation:2,changeDetection:0});var b3=function(){};b3.\u0275fac=function(a){return new (a||b3)};b3.\u0275mod=Cf({type:b3});b3.\u0275inj=p({imports:[lC,mC,bN,pC]});var c3=function(){};c3.\u0275fac=function(a){return new (a||c3)};c3.\u0275mod=Cf({type:c3});c3.\u0275inj=p({imports:[mw,bz,JX]});var d3=function(){};d3.\u0275fac=function(a){return new (a||d3)};d3.\u0275mod=Cf({type:d3});d3.\u0275inj=p({imports:[lC,pC,RX,x0,c3,WM]});var e3=function(){};e3.\u0275fac=function(a){return new (a||e3)};e3.\u0275mod=Cf({type:e3});e3.\u0275inj=p({imports:[lC,pC,RX,WM]});var f3=function(){};f3.\u0275fac=function(a){return new (a||f3)};f3.\u0275mod=Cf({type:f3});f3.\u0275inj=p({imports:[lC,LH,yQ,cz,nN]});var g3=function(){};g3.\u0275fac=function(a){return new (a||g3)};g3.\u0275mod=Cf({type:g3});g3.\u0275inj=p({imports:[lC,pC,mC,Z2,TM,X2,f3,Nx,gP]});var h3=function(){};h3.\u0275fac=function(a){return new (a||h3)};h3.\u0275mod=Cf({type:h3});h3.\u0275inj=p({imports:[eQ,zP,lC,bz,mC,XI,GP,pN,pC,x0]});var oad={},pad=(oad.COMFORTABLE=330,oad.COZY=300,oad.COMPACT=270,oad),i3=function(){Z.call(this);var a=this;this.userPreferencesManager=r(TG);this.RIGHT_SIDEBAR_MIN_WIDTH=245;this.density$=this.userPreferencesManager.preferences$.pipe(z(function(b){var c;return(c=b.themePreferences)==null?void 0:c.density}));this.sidebarWidthPreference$=this.userPreferencesManager.preferences$.pipe(z(function(b){var c;return(c=b.layoutPreferences)==null?void 0:c.rightSidebarWidth}));this.rightSidebarWidthChanged$=
new Uf;this.currentSidebarWidth$=Ie([this.density$,this.sidebarWidthPreference$,this.rightSidebarWidthChanged$.pipe(Xf(void 0))]).pipe(z(function(b){var c=k(b);b=c.next().value;var d=c.next().value;c=c.next().value;return c!=null?c:d!=null?d:pad[b!=null?b:"COMFORTABLE"]}));Ie([this.rightSidebarWidthChanged$.pipe(Pf()),this.sidebarWidthPreference$]).pipe(Ue(function(b){var c=k(b);b=c.next().value;return c.next().value!==b}),Yf(function(b){var c=k(b);b=c.next().value;c.next();return goc(a.userPreferencesManager,
{rightSidebarWidth:b})}),Zf(this.destroyed$)).subscribe()};Y(i3,Z);i3.\u0275dir=Z.\u0275dir;i3.prototype.ngOnInit=function(){};i3.\u0275fac=function(a){return new (a||i3)};
i3.\u0275cmp=C({type:i3,selectors:[["issue-metadata-sidebar"]],inputs:{issueId:"issueId"},standalone:!1,features:[cg],decls:7,vars:5,consts:[[1,"a11y-only"],["direction","rtl",3,"widthChanged","minWidth","size"],[1,"bv2-issue-metadata"],[1,"flex-kids-y"],[3,"issueId"]],template:function(a,b){a&1&&(I(0,"h3",0),Q(1,"Issue metadata"),J(),I(2,"b-resizable-sidebar",1),S(3,"async"),M("widthChanged",function(d){return b.rightSidebarWidthChanged$.next(d)}),I(4,"div",2)(5,"div",3),D(6,eCb,1,1,"edit-issue-metadata",
4),J()()());if(a&2){var c;B(2);E("minWidth",b.RIGHT_SIDEBAR_MIN_WIDTH)("size",(c=U(3,3,b.currentSidebarWidth$))!==null&&c!==void 0?c:0);B(4);G(b.issueId?6:-1)}},dependencies:[eN,q2,ew],styles:["[_nghost-%COMP%] {\n      display: inherit;\n    }"],changeDetection:0});var j3=function(){};j3.\u0275fac=function(a){return new (a||j3)};j3.\u0275mod=Cf({type:j3});j3.\u0275inj=p({imports:[hC,YQ,lC,RU,BQ,d3,e3,RX,xH,WM,b3,iP,g3,kR,pC,hN,h3,LX,NN,cR,cY,XV,WX,VX]});var k3=function(){};k3.\u0275fac=function(a){return new (a||k3)};k3.\u0275mod=Cf({type:k3});k3.\u0275inj=p({imports:[mC,pC,bz,lN,bR,rz,$Q,cR,lC,jP,gP,hC,BP,j3,GN,a2,hP]});var l3=function(){};l3.prototype.getValue=function(){return this.row[this.column.name]||""};l3.prototype.isCustomField=function(){return this.column.isCustomField};l3.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 oj(this.customFieldValue,a)||(this.customFieldValue=a),this.customFieldValue};
l3.\u0275fac=function(a){return new (a||l3)};l3.\u0275cmp=C({type:l3,selectors:[["pop-grid-default-cell"]],inputs:{row:"row",column:"column"},standalone:!1,decls:2,vars:2,consts:[[3,"customFieldValue"]],template:function(a,b){a&1&&D(0,fCb,2,2,"span")(1,gCb,1,1,"b-custom-field-value-display",0);a&2&&(G(b.isCustomField()?-1:0),B(),G(b.isCustomField()?1:-1))},dependencies:[e1],encapsulation:2,changeDetection:0});var m3=function(){};m3.\u0275fac=function(a){return new (a||m3)};m3.\u0275mod=Cf({type:m3});m3.\u0275inj=p({imports:[lC,pC,f1]});kma(Q1,[dw,V1,l3],[]);var n3=function(){};n3.\u0275fac=function(a){return new (a||n3)};n3.\u0275mod=Cf({type:n3});n3.\u0275inj=p({imports:[lC,WM]});var o3=function(){};o3.\u0275fac=function(a){return new (a||o3)};o3.\u0275mod=Cf({type:o3});o3.\u0275inj=p({imports:[lC,n3,TM]});var p3=function(){};p3.\u0275fac=function(a){return new (a||p3)};p3.\u0275mod=Cf({type:p3});p3.\u0275inj=p({imports:[Y1,lC,bN,xQ,pC,mC,XI,by,SZ,fP,m3,W2,Y2,TM,Z2,hC,XM,fV,o3,wP,ON,XZ,d1,WM,iP,k3,vP,qP,aP]});var q3=function(){this.hotlistsApi=r(PD);this.butterBar=r(fH);this.appEvents=r(yD)};
q3.prototype.repositionIssue=function(a,b,c,d,e,f){var h=this,l=b[0].position,q=l>b[1].position,u=b[c],A=b[d].position;Oba(b,c,d);f==null||f();jq(this.butterBar,"Saving...",0);return this.hotlistsApi.repositionHotlistIssue(a,u.issueId,A).then(function(){for(var F=l,H=k(b),N=H.next();!N.done;N=H.next())N.value.position=F,F+=q?-1:1;f==null||f();jq(h.butterBar,"Saved issue position.",4E3);h.appEvents.hotlistChanged.next({hotlistId:a,origin:e});return h.hotlistsApi.get(a)})};
q3.\u0275fac=function(a){return new (a||q3)};q3.\u0275prov=n({token:q3,factory:q3.\u0275fac,providedIn:"root"});var r3=function(){this.pageChange=new aB;this.resultsPerPageChange=new aB;this.resultsPerPageFixed=!1;this.resultsPerPageOptions=[10,25,50,100,250]};r3.prototype.nextPage=function(){this.searchResults&&this.pageChange.emit({page:this.searchResults.params.page+1})};r3.prototype.prevPage=function(){this.searchResults&&this.pageChange.emit({page:this.searchResults.params.page-1})};
da.Object.defineProperties(r3.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}})}}});r3.\u0275fac=function(a){return new (a||r3)};
r3.\u0275cmp=C({type:r3,selectors:[["b-pagination"]],inputs:{searchResults:"searchResults",resultsPerPageFixed:"resultsPerPageFixed"},outputs:{pageChange:"pageChange",resultsPerPageChange:"resultsPerPageChange"},standalone:!1,decls:7,vars:4,consts:[[1,"bv2-appbar-page"],["header","Results per page:","buttonLabel","Results per page","buttonIcon","arrow-dropdown",3,"menuItems"],["aria-live","polite","role","alert",1,"bv2-appbar-pagenums"],["type","button","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"],["type","button","mat-icon-button","","focusBack","","color","primary","mat-tooltip","Go to next page","aria-label","Go to next page",1,"large","right","compact",3,"click","keydown.enter","disabled"],["svgIcon","arrow-right",1,"large"]],template:function(a,b){a&1&&(I(0,"div",0),D(1,hCb,1,1,"b-actions-menu",1)(2,iCb,6,3,
"span",2),I(3,"button",3),M("click",function(){return b.prevPage()})("keydown.enter",function(c){b.prevPage();return c.stopPropagation()}),K(4,"mat-icon",4),J(),I(5,"button",5),M("click",function(){return b.nextPage()})("keydown.enter",function(c){b.nextPage();return c.stopPropagation()}),K(6,"mat-icon",6),J()());a&2&&(B(),G(b.searchResults&&b.searchResults.issues.length>0&&!b.resultsPerPageFixed?1:-1),B(),G(b.searchResults&&b.searchResults.issues.length>0?2:-1),B(),E("disabled",!(b.searchResults==
null?0:b.searchResults.hasPreviousPage())),B(2),E("disabled",!(b.searchResults==null?0:b.searchResults.hasNextPage())))},dependencies:[pB,eB,ly,bQ,JS],encapsulation:2});var s3=function(){};s3.\u0275fac=function(a){return new (a||s3)};s3.\u0275mod=Cf({type:s3});s3.\u0275inj=p({imports:[lC,mC,XT,WZ]});var t3=function(){T2.apply(this,arguments);this.hotlists=r(q3);this.hotlistApi=r(PD);this.appEvents=r(yD);this.ROUTES=Qq;this.resource=null};Y(t3,T2);t3.\u0275dir=T2.\u0275dir;g=t3.prototype;g.ngOnInit=function(){T2.prototype.ngOnInit.call(this)};g.setSort=function(a,b){var c=this.getSort();a==="position"||c&&c.field==="position"?T2.prototype.setSort.call(this,a,b,!1):T2.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"});jq(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({},T2.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"?qad:rad};g.getSearchParams=function(a){a=T2.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")})};t3.\u0275fac=function(){var a;return function(b){return(a||(a=ee(t3)))(b||t3)}}();
t3.\u0275cmp=C({type:t3,selectors:[["b-hotlist-panel"]],inputs:{hotlistId:"hotlistId"},standalone:!1,features:[ch([cB]),cg],decls:9,vars:8,consts:[[1,"bv2-panel","bv2-view-hotlist-grid"],[1,"bv2-view-hotlist-title"],[1,"bv2-view-hotlist-title-text"],[1,"bv2-view-hotlist-save-form"],[3,"pageChange","searchResults","resultsPerPageFixed"],[1,"bv2-panel-controls",3,"panelId"],["tabindex","0"],[3,"href"],[3,"matTooltip"],["matTooltip","Display preferences have changed"],["mat-flat-button","","type","button",
"color","primary","matTooltip","Save changes to display preferences",1,"medium",3,"click"],["mat-stroked-button","","type","button","color","primary","matTooltip","Discard changes to display preferences",1,"medium",3,"click"],[1,"bv2-view-loading"],["tabindex","0",1,"bv2-view-loading"],[1,"bv2-grid-container"],[3,"large"],[3,"init","focusedRowIndexChange","columnsChange","sortChange","onRowDragDrop","rowClick","onNextPage","onPrevPage","searchResults","focusedRowIndex","columns","enableColumnSaving",
"sort"]],template:function(a,b){a&1&&(I(0,"div",0)(1,"div",1)(2,"div",2),D(3,jCb,2,0,"div")(4,kCb,2,0,"div")(5,nCb,8,5,"div"),J(),D(6,oCb,5,0,"div",3),I(7,"b-pagination",4),M("pageChange",function(c){return b.goToPage(c.page)}),J()(),D(8,uCb,4,3,"div"),J());a&2&&(jg("aria-busy",b.isLoading),B(3),G(b.resource||b.isLoading?-1:3),B(),G(!b.resource&&b.isLoading?4:-1),B(),G(b.resource?5:-1),B(),G(b.hasParamChanges()?6:-1),B(),E("searchResults",b.searchResults)("resultsPerPageFixed",!0),B(),G(b.resource?
8:-1))},dependencies:[w2,eB,jy,mB,rB,r3,U2,sL],encapsulation:2});var rad=[y2,z2,A2,O$c],qad=[y2,N$c,z2,A2,O$c],u3=function(){};u3.\u0275fac=function(a){return new (a||u3)};u3.\u0275mod=Cf({type:u3});u3.\u0275inj=p({imports:[lC,p3,mC,pC,s3,V2,BP]});var v3=function(){T2.apply(this,arguments);this.savedSearchApi=r(XD);this.resource=null};Y(v3,T2);v3.\u0275dir=T2.\u0275dir;v3.prototype.ngOnInit=function(){T2.prototype.ngOnInit.call(this)};v3.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};v3.prototype.saveResource=function(){return Promise.resolve()};
v3.\u0275fac=function(){var a;return function(b){return(a||(a=ee(v3)))(b||v3)}}();
v3.\u0275cmp=C({type:v3,selectors:[["b-saved-search-panel"]],inputs:{savedSearchId:"savedSearchId"},standalone:!1,features:[ch([cB]),cg],decls:8,vars:7,consts:[[1,"bv2-panel","bv2-view-savedsearch-grid"],[1,"bv2-view-savedsearch-title"],[1,"bv2-view-savedsearch-title-text"],["tabindex","0"],[3,"pageChange","searchResults","resultsPerPageFixed"],[1,"bv2-panel-controls",3,"panelId"],[3,"href"],[3,"matTooltip"],["matTooltip","Display preferences or search query have changed"],[1,"bv2-view-loading"],
["tabindex","0","role","region",1,"bv2-view-loading"],[1,"bv2-grid-container"],[3,"large"],[3,"init","focusedRowIndexChange","columnsChange","sortChange","rowClick","onNextPage","onPrevPage","searchResults","focusedRowIndex","columns","enableColumnSaving","sort"]],template:function(a,b){a&1&&(I(0,"div",0)(1,"div",1)(2,"div",2),D(3,vCb,2,0,"div")(4,wCb,2,0,"div")(5,zCb,8,5,"div",3),J(),I(6,"b-pagination",4),M("pageChange",function(c){return b.goToPage(c.page)}),J()(),D(7,ECb,4,3,"div"),J());a&2&&(jg("aria-busy",
b.isLoading),B(3),G(b.resource||b.isLoading?-1:3),B(),G(!b.resource&&b.isLoading?4:-1),B(),G(b.resource?5:-1),B(),E("searchResults",b.searchResults)("resultsPerPageFixed",!0),B(),G(b.resource?7:-1))},dependencies:[w2,mB,rB,r3,U2,sL],encapsulation:2});var w3=function(){};w3.\u0275fac=function(a){return new (a||w3)};w3.\u0275mod=Cf({type:w3});w3.\u0275inj=p({imports:[lC,p3,pC,s3,V2,BP]});var x3=function(){this.label="Team"};x3.prototype.ngOnInit=function(){};x3.\u0275fac=function(a){return new (a||x3)};
x3.\u0275cmp=C({type:x3,selectors:[["b-team-breadcrumb"]],inputs:{teamPath:"teamPath",label:"label"},standalone:!1,decls:4,vars:1,consts:[["role","navigation",1,"breadcrumb"],[1,"breadcrumb-items"],[1,"breadcrumb-item"],[1,"keep-focus-ring",3,"routerLink","preserveFragment"]],template:function(a,b){a&1&&(I(0,"div",0)(1,"span",1),yg(2,FCb,3,4,"span",2,xg),J()());a&2&&(jg("aria-label",b.label),B(2),zg(b.teamPath))},dependencies:[VA],encapsulation:2});var y3=function(){};y3.\u0275fac=function(a){return new (a||y3)};y3.\u0275mod=Cf({type:y3});y3.\u0275inj=p({imports:[lC,uP]});var sad=["form"],tad=["numberInput"],uad=/^\d+\.?\d*$/,vad={DAYS:0,YEARS:1,0:"DAYS",1:"YEARS"},z3=function(){this.disabled=!1;this.ariaLabel="";this.durationDaysChange=new aB;this.displayUnits=0;this.TimeUnit=vad};
z3.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()})};z3.prototype.ngAfterViewInit=function(){};
z3.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))};z3.prototype.ngOnDestroy=function(){this.formSubscription&&this.formSubscription.unsubscribe()};z3.\u0275fac=function(a){return new (a||z3)};
z3.\u0275cmp=C({type:z3,selectors:[["b-duration-picker"]],viewQuery:function(a,b){a&1&&(Rg(sad,7),Rg(tad,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"},standalone:!1,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=v();I(0,"form",null,0)(2,"div",2)(3,"mat-form-field",3)(4,"mat-label");Q(5," Custom Duration ");J();I(6,"input",4,1);M("keydown",function(d){w(c);switch(d.key){case "-":case "e":case "E":d.preventDefault()}return x()})("paste",function(d){w(c);var e=d.clipboardData.getData("Text");uad.test(e)||d.preventDefault();
return x()});J()();I(8,"mat-form-field",3)(9,"mat-select",5)(10,"mat-option",6);Q(11,"days");J();I(12,"mat-option",6);Q(13,"year(s)");J()()()()()}a&2&&(B(6),E("ngModel",b.displayNumber)("disabled",b.disabled),jg("aria-label",b.ariaLabel),B(3),E("ngModel",b.displayUnits)("disabled",b.disabled),B(),E("value",b.TimeUnit.DAYS),B(2),E("value",b.TimeUnit.YEARS))},dependencies:[Oy,oi,Py,Gy,Hy,Xy,Ny,Ly,aR,sz,lz,fz,kN,yL,NL,Zx],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 A3=function(){};A3.\u0275fac=function(a){return new (a||A3)};A3.\u0275mod=Cf({type:A3});A3.\u0275inj=p({imports:[lC,bz,bR,lN,nN,a2]});var B3=function(){this.dialogRef=r(mI);this.data=r(sI);this.documentationLinks=r(lI)};B3.prototype.getDisablingFieldsHelpLink=function(){return this.documentationLinks.getDisablingFieldsHelpLink()};B3.prototype.onNoClick=function(){this.dialogRef.close(!1)};B3.\u0275fac=function(a){return new (a||B3)};
B3.\u0275cmp=C({type:B3,selectors:[["b-field-state-change-confirmation-dialog"]],standalone:!1,decls:22,vars:6,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["mat-dialog-actions",""],["type","button","mat-stroked-button","",1,"medium",3,"click"],["type","button","mat-flat-button","","color","primary","cdkFocusInitial","",1,"medium","dialog-primary-action",3,"mat-dialog-close"],[1,"notice"],["target","_blank",3,"href"]],template:function(a,b){a&1&&(I(0,"h1",0),Q(1),J(),I(2,"div",1)(3,"p"),
Q(4," The "),I(5,"strong"),Q(6),J(),Q(7," field will change state from "),I(8,"strong"),Q(9),J(),Q(10," to "),I(11,"strong"),Q(12),J(),Q(13,". "),J(),D(14,GCb,6,2,"p"),I(15,"p"),Q(16,"Are you sure?"),J()(),I(17,"div",2)(18,"button",3),M("click",function(){return b.onNoClick()}),Q(19," Cancel "),J(),I(20,"button",4),Q(21," Confirm "),J()());a&2&&(B(),R("Field State Change for ",b.data.fieldName,""),B(5),Yg(b.data.fieldName),B(3),Yg(b.data.oldFieldState),B(3),Yg(b.data.newFieldState),B(2),G(b.data.noteText?
14:-1),B(6),E("mat-dialog-close",!0))},dependencies:[eB,jy,uI,wI,yI,xI],styles:[".notice[_ngcontent-%COMP%]{font-weight:bold}"]});var wad=["fieldStateMenuButton"],xad=function(a){return{"mat-stroked-button":a}},C3=function(){this.dialog=r(tI);this.fieldName="";this.fieldState="INHERIT";this.confirmationDialog=this.enabledOnParent=!0;this.disabled=!1;this.fieldStateChange=new aB;this.FieldState=Tfc;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."}};C3.prototype.ngOnInit=function(){this.updateMenuButton()};
C3.prototype.ngOnChanges=function(){this.updateMenuButton()};
var zad=function(a,b){b!==a.fieldState&&(a.confirmationDialog?yad(a,b):(a.fieldState=b,a.updateMenuButton(),a.fieldStateChange.emit(b)))},yad=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);nI(a.dialog.open(B3,{width:"500px",data:{fieldName:a.fieldName,oldFieldState:Aad(a,a.fieldState),
newFieldState:Aad(a,b),noteText:e}})).pipe(Nf()).subscribe(function(f){f?(a.fieldState=b,a.updateMenuButton(),a.fieldStateChange.emit(b),a.disabled=!0):a.focus()})};C3.prototype.updateMenuButton=function(){this.defaultLabel="Default ("+(this.enabledOnParent?this.msgs.visibleName:this.msgs.hiddenName)+")";this.menuLabel=Aad(this,this.fieldState)};
var Aad=function(a,b){switch(b){case "INHERIT":return a.defaultLabel;case "DISABLED":return a.msgs.hiddenName;case "ENABLED":return a.msgs.visibleName;default:Db(b,"Unknown FieldState.")}};C3.prototype.focus=function(){this.disabled=!1;this.fieldStateMenuButton.nativeElement.focus()};C3.\u0275fac=function(a){return new (a||C3)};
C3.\u0275cmp=C({type:C3,selectors:[["b-field-state-menu"]],viewQuery:function(a,b){a&1&&Rg(wad,5,ef);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"},standalone:!1,features:[rv],decls:33,vars:18,consts:[["fieldStateMenuButton",""],["fieldStateMenu","matMenu"],["type","button","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"],["type","button","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"],["type","button","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=v();I(0,"div")(1,"button",2,0)(3,"div",3);K(4,"span",4)(5,"b-icon",5);J()()();I(6,"mat-menu",null,1)(8,"div",6)(9,"div",7)(10,"button",8);M("click",function(){w(c);return x(zad(b,b.FieldState.INHERIT))});K(11,"b-icon",9);I(12,"div",10);Q(13);J();I(14,"div",11);Q(15);J()()();K(16,"mat-divider");I(17,"button",12);M("click",function(){w(c);
return x(zad(b,b.FieldState.DISABLED))});I(18,"div",13)(19,"div",14);K(20,"b-icon",9);I(21,"div",10);Q(22);J();I(23,"div",11);Q(24);J()()()();I(25,"button",12);M("click",function(){w(c);return x(zad(b,b.FieldState.ENABLED))});I(26,"div",13)(27,"div",14);K(28,"b-icon",9);I(29,"div",10);Q(30);J();I(31,"div",11);Q(32);J()()()()()()}a&2&&(a=L(7),B(),E("ngClass",eh(16,xad,!b.disabled))("disabled",b.disabled)("matMenuTriggerFor",a),B(3),E("innerHTML",b.menuLabel,uf),B(6),sg("b-menu-item-checked",b.fieldState===
b.FieldState.INHERIT),B(3),R(" ",b.defaultLabel," "),B(2),R(" ",b.msgs.inheritDescription," "),B(2),sg("b-menu-item-checked",b.fieldState===b.FieldState.DISABLED),B(5),R(" ",b.msgs.hiddenName," "),B(2),R(" ",b.msgs.hiddenDescription," "),B(),sg("b-menu-item-checked",b.fieldState===b.FieldState.ENABLED),B(5),R(" ",b.msgs.visibleName," "),B(2),R(" ",b.msgs.visibleDescription," "))},dependencies:[aw,eB,jy,oQ,xL,IL,GL,JL,DM],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 D3=function(){};D3.\u0275fac=function(a){return new (a||D3)};D3.\u0275mod=Cf({type:D3});D3.\u0275inj=p({imports:[lC,mC,XI,xQ,bN,fP,eQ]});var E3=function(){this.dialogRef=r(mI);this.data=r(sI);this.issueId=this.data.issueId;this.issueTitle=this.data.issueTitle};E3.prototype.close=function(){this.dialogRef.close(!1)};E3.\u0275fac=function(a){return new (a||E3)};
E3.\u0275cmp=C({type:E3,selectors:[["b-unsubscribe-dialog"]],standalone:!1,decls:21,vars:4,consts:[["mat-dialog-title",""],[1,"gmat-body-2"],[1,"gmat-body-1"],["target","_blank",3,"href"],["type","button","mat-button","",3,"click"],["type","button","mat-flat-button","","cdkFocusInitial","",1,"dialog-primary-action",3,"click"]],template:function(a,b){a&1&&(I(0,"h1",0),Q(1,"Unsubscribe From Issue"),J(),I(2,"mat-dialog-content")(3,"div",1),Q(4," Are you sure you would like to unsubscribe from the following issue? "),
J(),K(5,"br"),I(6,"div",2)(7,"a",3)(8,"span"),Q(9),J()(),Q(10," - "),I(11,"span"),Q(12),J()(),K(13,"br"),I(14,"div",1),Q(15," By unsubscribing, you will no longer receive email updates about this issue. "),J()(),I(16,"mat-dialog-actions")(17,"button",4),M("click",function(){return b.close()}),Q(18," Cancel "),J(),I(19,"button",5),M("click",function(){b.dialogRef.close(!0)}),Q(20," Unsubscribe "),J()());a&2&&(B(7),Kg("href","/issues/",b.issueId,"",vf),B(2),R("b/",b.issueId,""),B(3),Yg(b.issueTitle))},
dependencies:[eB,jy,wI,yI,xI],encapsulation:2});var Bad=function(a,b){return{small:a,medium:b}},Cad=function(a){return{black:a}},F3=function(){this.activeSession=r(Bu);this.matDialogService=r(tI);this.issueFullFridge=r(QF);this.analytics=r(OF);this.routeParams=r(YI);this.iconOnly=!1;this.subscriptionChange=new aB;this.showNotificationSettings=new aB;this.menuLabel="Default";this.menuIcon="notifications_none_24px";this.isAnonymous=this.activeSession.isAnonymous();this.subscriptionInternal="UNKNOWN_SUBSCRIPTION";this.NotificationSubscription=bgc;
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"}]])};F3.prototype.ngOnInit=function(){Dad(this)};F3.prototype.ngOnChanges=function(){this.updateMenuButton()};F3.prototype.updateSubscription=function(a){a!==this.subscriptionInternal&&this.subscriptionChange.emit(a)};F3.prototype.updateMenuButton=function(){var a=this.subscriptions.get(this.subscriptionInternal);a&&(this.menuLabel=a.label,this.menuIcon=a.icon)};
var Dad=function(a){var b,c;se(function(d){if(d.nextAddress==1)return a.routeParams.unsubscribe!=="true"||a.subscription&&a.subscription==="UNSUBSCRIBED"?d.return():y(d,Fe(a.issueFullFridge.watch(a.issueId)),2);if(d.nextAddress!=3){b=d.yieldResult;if(!b)return d.return();a.matDialogService.closeAll();return y(d,Fe(nI(a.matDialogService.open(E3,{width:"400px",data:{issueId:a.issueId,issueTitle:b.snapshot[0].title}}))),3)}if(c=d.yieldResult)a.updateSubscription("UNSUBSCRIBED"),a.analytics.trackEvent("editIssue",
"unsubscribeUsingDialog");xe(d)})};da.Object.defineProperties(F3.prototype,{subscription:{configurable:!0,enumerable:!0,set:function(a){a!=null&&(this.subscriptionInternal=a)},get:function(){return this.subscriptionInternal}}});F3.\u0275fac=function(a){return new (a||F3)};
F3.\u0275cmp=C({type:F3,selectors:[["b-notification-menu"]],inputs:{subscription:"subscription",iconOnly:"iconOnly",issueId:"issueId"},outputs:{subscriptionChange:"subscriptionChange",showNotificationSettings:"showNotificationSettings"},standalone:!1,features:[rv],decls:63,vars:31,consts:[["notificationMenu","matMenu"],["allUpdates",""],["all",""],["majorUpdates",""],["major",""],["type","button","mat-button","","matTooltip","Notification menu",1,"notification-menu-button",3,"ngClass","matMenuTriggerFor",
"disabled"],[1,"notification-menu-button-inner"],["size","small",1,"icon",3,"name","ngClass"],[1,"notification-menu"],[1,"menu-row-container","default-container"],["type","button","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"],["type","button","mat-menu-item","","aria-label","Settings",1,"default-settings",
3,"click"],["name","settings-outline","size","small",1,"item-icon"],[1,"menu-row-container"],["type","button","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"],["type","button","mat-menu-item","",1,"subscription-help","help-icon",3,"click","focus","blur"],[3,"panelTemplate","overlayPositions"],["svgIcon","help-outline",1,"subscription-help","item-icon","small"],
["type","button","mat-menu-item","","aria-label","Major Updates. Receive emails for major updates only.","aria-describedby","major-updates-help",1,"notification-option",3,"click"],["type","button","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=v();I(0,"div")(1,"button",5)(2,"div",6);K(3,"b-icon",7);D(4,HCb,2,1);J()()();I(5,"mat-menu",null,0)(7,"div",8)(8,"div",9)(9,"button",10);M("click",function(){w(c);return x(b.updateSubscription(b.NotificationSubscription.UNKNOWN_SUBSCRIPTION))});K(10,"b-icon",11);I(11,"div",12);Q(12," Default ");J();I(13,"div",13);Q(14," receive emails based on your default settings. ");J()();K(15,"mat-divider",14);I(16,"button",15);M("click",function(f){w(c);return x(b.showNotificationSettings.emit(f))});
K(17,"b-icon",16);J()();K(18,"mat-divider");I(19,"div",17)(20,"button",18);M("click",function(){w(c);return x(b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_ALL_UPDATES))});I(21,"div",19);K(22,"b-icon",11);I(23,"div",12);Q(24," All Updates ");J();I(25,"div",13);Q(26," receive emails for major and minor updates. ");J()()();I(27,"button",20);M("click",function(){w(c);return x(b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_ALL_UPDATES))})("focus",function(){w(c);var f=L(29);return x(f.toggle(!0))})("blur",
function(){w(c);var f=L(29);return x(f.toggle(!1))});I(28,"xap-bubble",21,1);K(30,"mat-icon",22);D(31,ICb,13,0,"ng-template",null,2,ih);J()()();I(33,"div",17)(34,"button",23);M("click",function(){w(c);return x(b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_MAJOR_UPDATES))});I(35,"div",19);K(36,"b-icon",11);I(37,"div",12);Q(38," Major Updates ");J();I(39,"div",13);Q(40," receive emails for major updates only. ");J()()();I(41,"button",20);M("click",function(){w(c);return x(b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_MAJOR_UPDATES))})("focus",
function(){w(c);var f=L(43);return x(f.toggle(!0))})("blur",function(){w(c);var f=L(43);return x(f.toggle(!1))});I(42,"xap-bubble",21,3);K(44,"mat-icon",22);D(45,JCb,17,0,"ng-template",null,4,ih);J()()();I(47,"button",24);M("click",function(){w(c);return x(b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_CLOSURE_ONLY))});I(48,"div",17)(49,"div",19);K(50,"b-icon",11);I(51,"div",12);Q(52," Closure Only ");J();I(53,"div",13);Q(54," only receive emails when the issue is closed. ");J()()()();
I(55,"button",24);M("click",function(){w(c);return x(b.updateSubscription(b.NotificationSubscription.UNSUBSCRIBED))});I(56,"div",17)(57,"div",19);K(58,"b-icon",11);I(59,"div",12);Q(60," None ");J();I(61,"div",13);Q(62," unsubscribe from further email updates. ");J()()()()()()}if(a&2){a=L(6);var d=L(32),e=L(46);B();sg("icon-only",b.iconOnly);E("ngClass",fh(26,Bad,b.iconOnly,!b.iconOnly))("matMenuTriggerFor",a)("disabled",b.isAnonymous);jg("aria-label","Notifications Menu, current value is "+b.subscriptions.get(b.subscriptionInternal||
"UNKNOWN_SUBSCRIPTION").label);B(2);E("name",b.menuIcon)("ngClass",eh(29,Cad,b.menuIcon==="notifications-off"));B();G(b.iconOnly?-1:4);B(5);sg("b-menu-item-checked",b.subscriptionInternal===b.NotificationSubscription.UNKNOWN_SUBSCRIPTION);B(6);E("vertical",!0);B(5);sg("b-menu-item-checked",b.subscriptionInternal===b.NotificationSubscription.SUBSCRIBED_ALL_UPDATES);B(7);jg("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.");
B();E("panelTemplate",d)("overlayPositions",b.bubblePosition);B(6);sg("b-menu-item-checked",b.subscriptionInternal===b.NotificationSubscription.SUBSCRIBED_MAJOR_UPDATES);B(7);jg("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.");B();E("panelTemplate",e)("overlayPositions",b.bubblePosition);B(5);sg("b-menu-item-checked",b.subscriptionInternal===
b.NotificationSubscription.SUBSCRIBED_CLOSURE_ONLY);B(8);sg("b-menu-item-checked",b.subscriptionInternal===b.NotificationSubscription.UNSUBSCRIBED)}},dependencies:[aw,pB,eB,jy,oQ,xL,IL,GL,JL,DM,HN,mB,rB],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 G3=function(){};G3.\u0275fac=function(a){return new (a||G3)};G3.\u0275mod=Cf({type:G3});G3.\u0275inj=p({imports:[lC,mC,xQ,bN,fP,eQ,NN,pC]});var H3=function(){this.sloApi=r(wG);this.cdr=r(cB,{self:!0});this.isDisabled=!1;this.dropdownChoices=null;this.onSloSelect=new aB;this.internalBoundId=this.selectedSlo=null;this.lastProcessedIndex=-1;this.requestIndex=0},Ead=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()};
H3.prototype.displayFn=function(a){return(a==null?void 0:a.name)||(a==null?void 0:a.sloId)||""};H3.prototype.updateSelectionOnChange=function(a){if(a=a.option.value)this.boundId=a.sloId;this.onSloSelect.emit(a);this.cdr.detectChanges()};
da.Object.defineProperties(H3.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)}}});H3.\u0275fac=function(a){return new (a||H3)};
H3.\u0275cmp=C({type:H3,selectors:[["slo-picker"]],inputs:{isDisabled:[0,"bv2Disabled","isDisabled"],placeholder:[0,"bv2Placeholder","placeholder"],boundId:"boundId"},outputs:{onSloSelect:"onSloSelect"},standalone:!1,features:[ch([cB])],decls:7,vars:5,consts:[["searchInput",""],["auto","matAutocomplete"],[1,"bv2-slo-picker"],["matInput","","type","text","autocomplete","slo-name",1,"bv2-picker-input","form-control",3,"ngModelChange","click","input","placeholder","ngModel","disabled","matAutocomplete"],
["panelWidth","574px",3,"optionSelected","displayWith"],[1,"slo-search-result",3,"value"]],template:function(a,b){if(a&1){var c=v();I(0,"div",2)(1,"input",3,0);bh("ngModelChange",function(d){w(c);ah(b.selectedSlo,d)||(b.selectedSlo=d);return x(d)});M("click",function(){w(c);var d=L(2);return x(Ead(b,d.value))})("input",function(){w(c);var d=L(2);return x(Ead(b,d.value))});J();I(3,"mat-autocomplete",4,1);M("optionSelected",function(d){w(c);return x(b.updateSelectionOnChange(d))});yg(5,KCb,2,2,"mat-option",
5,xg);J()()}a&2&&(a=L(4),B(),E("placeholder",b.placeholder),$g("ngModel",b.selectedSlo),E("disabled",b.isDisabled)("matAutocomplete",a),B(2),E("displayWith",b.displayFn),B(2),zg(b.dropdownChoices))},dependencies:[KP,LP,Zx,MP,oi,Gy,Ny],encapsulation:2});var I3=function(){};I3.\u0275fac=function(a){return new (a||I3)};I3.\u0275mod=Cf({type:I3});I3.\u0275inj=p({imports:[lC,QP,bz]});var Fad=function(a){return{"empty-list-field-indication":a}},J3=function(){this.documentationLinks=r(lI);this.activeSession=r(Bu);this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.issueRetentionDisabled=!1;this.modelChange=new aB;this.validChange=new aB;this.indefiniteRetentionComponentsAllowlist=new Set(this.activeSession.getIndefiniteRetentionComponentsAllowlist());this.RetentionSelection=lgc};
J3.prototype.ngOnInit=function(){this.initialModel?this.model=this.initialModel:this.model={retentionSelection:"UNSPECIFIED_RETENTION",retentionPeriodDays:null,piiRetentionSelection:"UNSPECIFIED_RETENTION",piiRetentionPeriodDays:null,spiiRetentionPeriodDays:null};cu(this)};J3.prototype.updateSelectionOnChange=function(a){this.model.retentionSelection=a;this.model.retentionPeriodDays=null;this.modelChange.emit(this.model);cu(this)};
var cu=function(a){var b;if(b=UCb(a))b=(b=a.model.piiRetentionSelection)&&b!==a.RetentionSelection.UNSPECIFIED_RETENTION&&(a.model.piiRetentionSelection!==a.RetentionSelection.BUGANIZER_DEFAULT||!Gad(a))&&(a.model.piiRetentionSelection!==a.RetentionSelection.CUSTOM_PERIOD||Had(a));a.validChange.emit(b)},Iad=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},UCb=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)},MCb=function(a){return a?Nl(a):"[unset period]"},Had=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},RCb=function(a){if(!UCb(a)||Had(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 "+MCb(e):"Restricted+ retention must not exceed Restricted retention."},Gad=function(a){return a.model.retentionSelection===a.RetentionSelection.CUSTOM_PERIOD&&(!a.model.retentionPeriodDays||a.model.retentionPeriodDays<60)},VCb=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};J3.\u0275fac=function(a){return new (a||J3)};
J3.\u0275cmp=C({type:J3,selectors:[["b-retention-settings-form"]],inputs:{initialModel:"initialModel",isExternal:"isExternal",issueRetentionDisabled:"issueRetentionDisabled",componentId:"componentId",componentPathInfo:"componentPathInfo"},outputs:{modelChange:"modelChange",validChange:"validChange"},standalone:!1,decls:31,vars:33,consts:[["aria-label","Retention settings form",1,"issue-retention-form",3,"ngModelChange","ngClass","disabled","name","ngModel"],[3,"value"],["aria-label","Custom retention period, must be between 30 days and 20 years",
3,"value"],[1,"duration-error"],[1,"custom-duration"],["id","custom-retention-warning-box",1,"warning-box"],[3,"disabled","value"],["id","indefinite-retention-warning-box",1,"warning-box"],["aria-label","PII Retention settings form",1,"pii-retention-form",3,"ngModelChange","ngClass","disabled","name","ngModel"],["target","_blank","aria-label","Learn more about restricted access",1,"keep-underline","keep-focus-ring",3,"rel"],[3,"aria-label","disabled","value"],["id","indefinite-pii-retention-warning-box",
1,"warning-box"],["ariaLabel","Custom duration",3,"durationDaysChange","disabled","durationDays"],[1,"duration-description"],[1,"b-restricted-retention-duration-label"],["ariaLabel","Restricted retention duration",3,"durationDaysChange","disabled","durationDays"],[1,"warning-box"],["ariaLabel","Restricted+ retention duration",3,"durationDaysChange","disabled","durationDays"],["id","custom-pii-retention-warning-box",1,"warning-box"]],template:function(a,b){a&1&&(I(0,"mat-radio-group",0),M("ngModelChange",
function(c){return b.updateSelectionOnChange(c)}),I(1,"p")(2,"b"),Q(3,"Issue Retention"),J()(),I(4,"mat-radio-button",1),Q(5," Buganizer default retention period (for minimal or no PII/SPII): 10 years "),J(),I(6,"mat-radio-button",2),Q(7," Custom retention period "),D(8,LCb,2,0,"span",3)(9,NCb,4,3,"div",4)(10,OCb,13,0,"div",5),J(),I(11,"mat-radio-button",6),Q(12),D(13,PCb,13,0,"div",7),J()(),I(14,"mat-radio-group",8),M("ngModelChange",function(c){b.model.piiRetentionSelection=c;b.model.piiRetentionPeriodDays=
null;b.model.spiiRetentionPeriodDays=null;b.modelChange.emit(b.model);cu(b)}),I(15,"p"),K(16,"br"),I(17,"b"),Q(18,"Restricted Comments/Attachments Retention "),J(),I(19,"a",9),Q(20,"Learn more "),J()(),I(21,"mat-radio-button",1),Q(22," Buganizer default retention period : 60 days "),D(23,QCb,2,0,"span",3),J(),I(24,"mat-radio-button",10),Q(25," Custom retention period "),D(26,SCb,2,1,"span",3)(27,WCb,16,7,"div",4),J(),I(28,"mat-radio-button",6),Q(29," Match Issue Retention "),D(30,XCb,3,0,"div",11),
J()());a&2&&(E("ngClass",eh(29,Fad,b.model.retentionSelection===b.RetentionSelection.UNSPECIFIED_RETENTION))("disabled",b.issueRetentionDisabled)("name","retentionForm")("ngModel",b.model.retentionSelection),B(4),E("value",b.RetentionSelection.BUGANIZER_DEFAULT),B(2),E("value",b.RetentionSelection.CUSTOM_PERIOD),B(2),G(b.model.retentionSelection!==b.RetentionSelection.CUSTOM_PERIOD||b.model.retentionPeriodDays&&b.model.retentionPeriodDays>=30&&b.model.retentionPeriodDays<=7300?-1:8),B(),G(b.model.retentionSelection===
b.RetentionSelection.CUSTOM_PERIOD?9:-1),B(),G(b.model.retentionPeriodDays&&b.model.retentionPeriodDays>3650?10:-1),B(),E("disabled",!Iad(b))("value",b.RetentionSelection.INDEFINITE_RETENTION),B(),R(" Indefinite retention period ",Iad(b)?"":"(Internal components only)"," "),B(),G(b.model.retentionSelection===b.RetentionSelection.INDEFINITE_RETENTION?13:-1),B(),E("ngClass",eh(31,Fad,b.model.retentionSelection===b.RetentionSelection.UNSPECIFIED_RETENTION))("disabled",b.issueRetentionDisabled)("name",
"piiRetentionForm")("ngModel",b.model.piiRetentionSelection),B(5),E("rel",b.EXTERNAL_LINK_REL),jg("href",b.documentationLinks.getRestrictedAccessHelpLink(),vf),B(2),E("value",b.RetentionSelection.BUGANIZER_DEFAULT),B(2),G(b.model.piiRetentionSelection===b.RetentionSelection.BUGANIZER_DEFAULT&&Gad(b)?23:-1),B(),E("aria-label","Custom Retention Period,"+RCb(b))("disabled",!UCb(b))("value",b.RetentionSelection.CUSTOM_PERIOD),B(2),G(b.model.piiRetentionSelection!==b.RetentionSelection.CUSTOM_PERIOD||
Had(b)?-1:26),B(),G(b.model.piiRetentionSelection===b.RetentionSelection.CUSTOM_PERIOD?27:-1),B(),E("disabled",b.isExternal)("value",b.RetentionSelection.INDEFINITE_RETENTION),B(2),G(b.model.piiRetentionSelection===b.RetentionSelection.INDEFINITE_RETENTION&&VCb(b)?30:-1))},dependencies:[aw,Gy,Ny,LL,ML,z3],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 K3=function(){};K3.\u0275fac=function(a){return new (a||K3)};K3.\u0275mod=Cf({type:K3});K3.\u0275inj=p({imports:[lC,bz,GP,A3]});var Jad=function(){this.type="component";this.includeChildren=!1},Kad=function(){this.type="tracker"},Lad=function(){this.type="team";this.includeChildren=!1},Mad=function(){this.type="hotlist"},Nad=function(){this.type="savedsearch"},Oad=function(){this.type="customfield"};var Pad=function(a,b){this.query=a;this.cursorIdx=b;this.label=null;this.value={val:"",idx:0};this.value.idx=b},Qad="componentid c hotlistid h savedsearchid teamid trackerid".split(" "),Rad=Qad.concat("accesslevel archived assignee attachment blockedbyid blockingid canonicalid cc cccount collaborator collaboratorcount cl comment commentcount commenter created customfield descendantcount deleted deletionreason deletiontime duplicatecount effortlabel escalationowner foundin id inprod is lastcommenter lastmodifier mention modified modifier mute onedayviewcount opendescendantcount p parentid postmortem priority reporter resolved s sevendayviewcount severity staffingplaceholder staffingplaceholdercount staffinguser staffingusercount star status t targetedto thirtydayviewcount title type verified verifiedin verifier vote votecount nearestslo".split(" ")),
Sad="cl deleted deletionreason deletiontime escalationowner nearestslo postmortem teamid".split(" "),Tad="(?:\\s|^)(-?)(customfield\\d+|"+Rad.join("|")+")(:|>|<|>=|<=|=)";var L3=function(){Z.call(this);var a=this;this.appSearchState=r(TY);this.trackerFridge=r(NG);this.trackerHelpers=r(yH);this.customFieldsApi=r(dE);this.hotlistApi=r(PD);this.savedSearchApi=r(XD);this.componentActions=r(oR);this.teamsService=r(DG);this.activeSession=r(Bu);this.currentUserBookmarksFridge=r(ZD);this.query="";this.requestIndex=0;this.enableExternalMentionsFe=Vt(this.activeSession,"enableExternalMentionsFe");this.atomsWithoutOp=Object.freeze(new Set(["customfield"]));this.producers=[{match:function(e){return Uad(a,
e)}},{updateHeader:function(e){return Vad(a,e)}},{updateHeader:function(e){return Wad(a,e)}},{updateHeader:function(e){return Xad(a,e)}},{updateHeader:function(e){return Yad(a,e)}},{updateHeader:function(e){return Zad(a,e)}},{updateHeader:function(e){return $ad(a,e)}}];this.currentSearchContext=null;this.items=[];this.acHeader=null;this.acRefreshed$=new Uf;this.refreshRequest$=new Uf;var b=Vt(this.activeSession,"enableEscalationOwnerRolloutUi");this.refreshRequest$.pipe(Lf(250),Zf(this.destroyed$)).subscribe(function(e){abd(a,
e.currentRequestIndex,e.currentSearchContext)});this.sessionIsInternal=this.activeSession.isInternalSession();var c=new Set(Rad);this.sessionIsInternal||this.enableExternalMentionsFe||c.delete("mention");b||c.delete("escalationowner");if(!this.sessionIsInternal){b=k(Sad);for(var d=b.next();!d.done;d=b.next())c.delete(d.value)}this.isTrackerSearchEnabled()||c.delete("trackerid");this.atoms=Object.freeze(c)};Y(L3,Z);L3.\u0275dir=Z.\u0275dir;L3.prototype.isTrackerSearchEnabled=function(){return!Hp(this.activeSession)};
var abd=function(a,b,c){for(var d=!1,e=!1,f=[],h=k(a.producers),l=h.next();!l.done;l=h.next())l=l.value,l.match&&f.push(l.match(c).then(function(q){d||(d=!0,a.items=[]);b<a.requestIndex||a.items.push.apply(a.items,t(q))}).catch(function(q){return q})),l.updateHeader&&f.push(l.updateHeader(c).then(function(q){e||(e=!0,a.acHeader=null);b<a.requestIndex||(a.acHeader=q)}).catch(function(q){return q}));Promise.all(f).finally(function(){d||(a.items=[]);e||(a.acHeader=null);a.acRefreshed$.next()})},Uad=
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 bbd(a,b);if(b.label){if(b.label.customFieldId)return cbd(a,b);switch(b.label.val){case "archived":return Promise.resolve(fu(dbd,b.value,!0));case "componentid":case "c":return ebd(a,b);case "deleted":return fbd(b);case "deletionreason":return Promise.resolve(fu(gbd,
b.value,!0));case "hotlistid":case "h":return hbd(a,b);case "savedsearchid":return ibd(a,b);case "status":case "is":return Promise.resolve(fu(jbd,b.value,!0));case "trackerid":return kbd(a,b);case "teamid":return lbd(a,b);case "type":case "t":return a.matchType(b);case "priority":case "p":return Promise.resolve(fu(mbd,b.value,!0));case "severity":case "s":return Promise.resolve(fu(nbd,b.value,!0));case "inprod":case "star":case "mute":return fbd(b);case "accesslevel":return Promise.resolve(fu(obd,
b.value,!0));case "staffingplaceholder":return Promise.resolve(fu(pbd,b.value,!0));default:return Promise.reject(null)}}if(!b.value.val)return Promise.reject(null);c=[];d=$Cb(b.value.val);e=k(a.atoms);for(var f=e.next();!f.done;f=e.next())if(f=f.value,d.token!==f&&f.startsWith(d.token)){var h=b.value.idx+(d.negated?1:0);h={type:"atom",startIdx:h,endIdx:h+b.value.val.length,completionValue:f+(a.atomsWithoutOp.has(f)?"":":"),enableShadowPlaceholder:!0};c.push({trackId:"atom:"+f,name:f,completionCfg:h})}c.sort(function(l,
q){return hu(l.name,q.name)});return Promise.resolve(c)},bbd=function(a,b){var c=b.value.val.replace(/^(cf|customfield)/,""),d=u4c(a.appSearchState);if(!c&&!d)return Promise.reject(null);var e=Mpc(a.trackerHelpers)||[];return a.customFieldsApi.query({query:d?"componentid:"+d+" "+c:c,trackerIds:e}).then(function(f){return qbd(a,b,f)})},qbd=function(a,b,c){var d=c.customFields.map(function(h){return h.componentId}).filter(ik);d.length>0&&a.componentActions.bulkLoad(d);d=[];c=k(c.customFields);for(var e=
c.next(),f={};!e.done;f={customField$jscomp$22:void 0},e=c.next())f.customField$jscomp$22=e.value,e=a.getComponentPathNames(f.customField$jscomp$22).then(function(h){return function(l){var q=h.customField$jscomp$22,u=b.value.val,A=q.customFieldId,F=b.value.idx;return{id:A,componentPathNames:l,name:q.name,trackId:"customField:"+A,completionCfg:{type:"customField",startIdx:F,endIdx:F+u.length,completionValue:"customfield"+A+":",matchingString:u}}}}(f)),d.push(e);return Promise.all(d)};
L3.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 cbd=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 fu(d,b.value,!1,!1)}):Promise.reject(null)};
L3.prototype.matchType=function(a){return Promise.resolve(fu(rbd,a.value,!0))};
var fbd=function(a){if(!a.label)return Promise.reject(null);var b=a.label.val;return Promise.resolve(fu([{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))},ebd=function(a,b){var c=b.value.val;return!c||eu(c,!0)?Promise.reject(null):a.componentActions.search(c,!1).then(function(d){return a.processResponse(b,
d)})};
L3.prototype.processResponse=function(a,b){var c=a.value.val,d=[];b=k(b);for(var e=b.next(),f={};!e.done;f={paths$jscomp$21:void 0,startIdx$jscomp$4:void 0,endIdx$jscomp$4:void 0},e=b.next()){e=e.value;var h=e.componentId;f.startIdx$jscomp$4=a.value.idx;f.endIdx$jscomp$4=f.startIdx$jscomp$4+c.length;f.paths$jscomp$21=ou(this.trackerHelpers,e.componentPathInfo);f={id:h,name:e.name,description:e.description,trackId:"component:"+h,accessLimit:e.accessLimit,trackerId:e.trackerId,completionCfg:{type:"component",startIdx:f.startIdx$jscomp$4,
endIdx:f.endIdx$jscomp$4,completionValue:""+h,matchingString:c},componentPath:f.paths$jscomp$21.componentPathId.map(function(l){return function(q,u){return{trackId:"subcomponent:"+q,id:""+q,name:String(l.paths$jscomp$21.componentPathName[u]),completionCfg:{type:"component",completionValue:String(q),startIdx:l.startIdx$jscomp$4,endIdx:l.endIdx$jscomp$4}}}}(f))};d.push(f)}return d};
var lbd=function(a,b){var c=b.value.val;if(!a.sessionIsInternal||!c||eu(c,!0))return Promise.reject(null);var d=Hj();FG(a.teamsService,c).pipe(Zf(a.destroyed$)).subscribe(function(e){var f=b.value.idx,h=f+c.length,l=[];e=k(e);for(var q=e.next(),u={};!q.done;u={pathNames$jscomp$5:void 0},q=e.next())q=q.value,u.pathNames$jscomp$5=q.pathNames,u={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(A){return function(F,H){return{trackId:"team:"+F,id:F,name:A.pathNames$jscomp$5[H],completionCfg:{type:"team",completionValue:String(F),startIdx:f,endIdx:h}}}}(u))},l.push(u);d.resolve(l)},function(){d.reject()});return d.promise},Vad=function(a,b){if(!b.label||b.label.val!=="componentid"&&b.label.val!=="c")return Promise.reject(null);var c=new Jad;b=b.value.val;return eu(b,!0)?(Ou(b,"+")&&(b=b.slice(0,
b.length-1),c.includeChildren=!0),a.componentActions.get(Number(b)).then(function(d){var e;Hp(a.activeSession)&&d.trackerId!==((e=a.activeSession.getTracker())==null?void 0:e.trackerId)||(c.component=d);return c})):Promise.resolve(c)},Yad=function(a,b){if(!a.isTrackerSearchEnabled()||!b.label||b.label.val!=="trackerid")return Promise.reject(null);var c=new Kad,d=Hj();b=b.value.val;eu(b)?a.trackerFridge.watch(b).pipe(Zf(a.destroyed$)).subscribe(function(e){c.tracker=e;d.resolve(c)}):b&&d.resolve(c);
return d.promise},$ad=function(a,b){if(!a.sessionIsInternal||!b.label||b.label.val!=="teamid")return Promise.reject(null);var c=new Lad,d=Hj(),e=b.value.val;eu(e,!0)?(Ou(e,"+")&&(e=e.slice(0,e.length-1),c.includeChildren=!0),FG(a.teamsService,e).pipe(Zf(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},Wad=function(a,b){if(!b.label||b.label.val!=="hotlistid"&&b.label.val!=="h")return Promise.reject(null);var c=new Mad;b=b.value.val;return eu(b)?a.hotlistApi.get(b).then(function(d){c.hotlist=d;return c}):b?Promise.reject(null):Promise.resolve(c)},Xad=function(a,b){if(!b.label||b.label.val!=="savedsearchid")return Promise.reject(null);var c=new Nad;b=b.value.val;return eu(b)?a.savedSearchApi.get(b).then(function(d){c.savedSearch=d;return c}):b?Promise.reject(null):Promise.resolve(c)},
Zad=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]),So("search-usage","customfield");else return Promise.reject(null);var d=new Oad;return c?a.customFieldsApi.get(c).then(function(e){d.customField=e;return d}):Promise.resolve(d)},kbd=function(a,b){var c=b.value.val;if(!a.isTrackerSearchEnabled()||!c||eu(c,!0))return Promise.reject(null);var d=Hj();a.trackerFridge.watchMany({filter:c,
pageSize:5}).pipe(Zf(a.destroyed$)).subscribe(function(e){var f=b.value.idx,h=f+c.length,l=[];e=k(e.results);for(var q=e.next();!q.done;q=e.next())q=q.value,l.push({trackId:"trackerid:"+q.trackerId,name:q.name,id:q.trackerId,label:"Tracker "+q.trackerId,completionCfg:{type:"tracker",startIdx:f,endIdx:h,completionValue:q.trackerId,matchingString:c}});d.resolve(l)});return d.promise},hbd=function(a,b){return eu(b.value.val)?Promise.reject(null):Fe($D(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 fu(c,b.value,!1,!0)})},ibd=function(a,b){return eu(b.value.val)?Promise.reject(null):Fe(rjc(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 fu(c,b.value,!1,!0)})};
L3.\u0275fac=function(a){return new (a||L3)};L3.\u0275prov=n({token:L3,factory:L3.\u0275fac,providedIn:"root"});
var jbd="accepted assigned closed duplicate fixed infeasible intended_behavior new not_reproducible obsolete open verified".split(" ").map(function(a){return gu({name:a,label:"Status",type:"status"})}),rbd="bug customer_issue feature_request internal_cleanup process vulnerability privacy_issue program project feature milestone epic story task".split(" ").map(function(a){return gu({name:a,label:"Type",type:"type",trackIdPrefix:"bugType"})}),mbd=["p0","p1","p2","p3","p4"].map(function(a){return gu({name:a,
label:"Priority",type:"priority"})}),nbd=["s0","s1","s2","s3","s4"].map(function(a){return gu({name:a,label:"Severity",type:"severity"})}),dbd=["all","true","false"].map(function(a){return gu({name:a,label:"Archived",type:"archived"})}),gbd=["abuse","pii","user_request","retention"].map(function(a){return gu({name:a,label:"Deletion Reason",type:"deletionreason",trackIdPrefix:"deletionReason"})}),obd=[["limit_none","Default access"],["limit_view","Limited visibility"],["limit_append","Limited commenting"],
["limit_view_trusted","Limited visibility + Google"]].map(function(a){var b=k(a);a=b.next().value;b=b.next().value;return gu({name:b,label:"Issue access level",type:"accesslevel",id:a})}),pbd=[["swe",Ll.SWE],["sre",Ll.SRE],["pm",Ll.PM],["tpgm",Ll.TPGM],["ux",Ll.UX]].map(function(a){var b=k(a);a=b.next().value;b=b.next().value;return gu({name:b,label:"Staffing - Placeholder",type:"staffingplaceholder",id:a})});var M3=function(){this.cdr=r(cB,{self:!0});this.optionsChange=new aB};M3.prototype.ngOnInit=function(){sbd(this)};M3.prototype.onSelectionChanged=function(){sbd(this);tbd(this);this.optionsChange.emit(this.options)};
var sbd=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},tbd=function(a){a.validator&&(a.errorString=a.validator(),a.cdr.detectChanges())},ubd=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);tbd(a)},vbd=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(", ")};M3.\u0275fac=function(a){return new (a||M3)};
M3.\u0275cmp=C({type:M3,selectors:[["slo-element-property-picker"]],inputs:{selectAllText:"selectAllText",validator:"validator",options:"options"},outputs:{optionsChange:"optionsChange"},standalone:!1,features:[ch([cB])],decls:17,vars:11,consts:[["menu","matMenu"],["type","button","mat-stroked-button","",1,"bv2-appbar-menu",3,"matMenuTriggerFor"],[1,"flex-kids-x","flex-cross-axis-centered"],[1,"bv2-property-picker-summary-text"],["svgIcon","arrow-dropdown"],["mat-menu-item","","role","menuitemcheckbox",
1,"bv2-property-picker-selectall","bv2-property-picker-option-row",3,"click"],[3,"change","checked","indeterminate"],["mat-menu-item","","role","menuitemcheckbox",1,"bv2-property-picker-options"],[1,"bv2-property-picker-error-message"],["title","option",1,"bv2-property-picker-option-row",3,"click"],[3,"change","click","checked"]],template:function(a,b){if(a&1){var c=v();I(0,"div")(1,"button",1)(2,"div",2)(3,"span",3);Q(4);Q(5," \u00a0 ");J();K(6,"mat-icon",4);J()();I(7,"mat-menu",null,0)(9,"div",
5);M("click",function(d){w(c);return x(ubd(b,d))});I(10,"mat-checkbox",6);M("change",function(d){w(c);b.selectAllValue=d.checked;return x(ubd(b))});Q(11);J()();K(12,"mat-divider");yg(13,aDb,4,3,"div",7,xg);S(15,"keyvalue");J();D(16,bDb,2,1,"div",8);J()}a&2&&(a=L(8),B(),sg("ng-invalid",!!b.errorString),E("matMenuTriggerFor",a),B(3),R(" ",vbd(b)," "),B(5),jg("aria-checked",b.selectAllValue),B(),E("checked",!!b.selectAllValue)("indeterminate",b.selectAllValue===null),B(),R(" ",b.selectAllText," "),B(2),
zg(U(15,9,b.options.propertyValues)),B(3),G(b.errorString?16:-1))},dependencies:[pB,RH,SH,xL,IL,GL,JL,oQ,eB,jy,jw],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 wbd=function(a,b){this.displayString=a;this.value=b},xbd=function(a){this.propertyValues=a},ybd=function(a){for(var b=k(Object.keys(a.propertyValues)),c=b.next();!c.done;c=b.next())if(a.propertyValues[c.value].value)return!0;return!1},YDb=function(a){for(var b=k(Object.keys(a.propertyValues)),c=b.next();!c.done;c=b.next())if(!a.propertyValues[c.value].value)return!1;return!0};xbd.prototype.setAll=function(a){for(var b in this.propertyValues)this.propertyValues[b].value=a};var N3=function(){};N3.\u0275fac=function(a){return new (a||N3)};N3.\u0275mod=Cf({type:N3});N3.\u0275inj=p({imports:[lC,jN,bN,xQ,mC]});var zbd=function(a,b){this.name=a;this.secondsPerUnit=b},nDb=new zbd("minute",60),oDb=new zbd("hour",3600),pDb=new zbd("day",86400),O3=function(){this.errorString=null;this.objectiveDurationChange=new aB;this.objectiveBusinessDaysChange=new aB;this.intervalUnit=pDb};O3.prototype.ngOnInit=function(){Abd(this)};O3.prototype.ngOnChanges=function(a){[a.objectiveBusinessDays,a.objectiveDuration,a.dayType].some(function(b){return b&&!b.firstChange})&&Abd(this)};
var eDb=function(a,b){b=b.name;uj(a.intervalString)!==1&&(b+="s");return b},mDb=function(a){return a.dayType==="BUSINESS"},Abd=function(a){!mDb(a)&&Bbd(a,pDb)||Bbd(a,oDb)||Bbd(a,nDb);if(a.objectiveBusinessDays!=0||a.businessDayString!="")a.businessDayString=""+a.objectiveBusinessDays},Bbd=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):(mDb(a)?[nDb,oDb]:[nDb,oDb,pDb]).includes(a.intervalUnit)||
(a.intervalUnit=b),!0):!1},hDb=function(a){a.errorString=a.validator(a.intervalString,a.businessDayString);kDb(a);lDb(a)},kDb=function(a){a.objectiveDuration.seconds=a.intervalUnit.secondsPerUnit*(uj(a.intervalString)||0);a.objectiveDurationChange.emit(a.objectiveDuration)},lDb=function(a){a.objectiveBusinessDays=uj(a.businessDayString)||0;a.objectiveBusinessDaysChange.emit(a.objectiveBusinessDays)};O3.\u0275fac=function(a){return new (a||O3)};
O3.\u0275cmp=C({type:O3,selectors:[["slo-objective-selector"]],inputs:{isDisabled:"isDisabled",validator:"validator",dayType:"dayType",objectiveDuration:"objectiveDuration",objectiveBusinessDays:"objectiveBusinessDays"},outputs:{objectiveDurationChange:"objectiveDurationChange",objectiveBusinessDaysChange:"objectiveBusinessDaysChange"},standalone:!1,features:[rv],decls:2,vars:1,consts:[[1,"disabled"],[1,"enabled","bv2-slo-objective"],[1,"bv2-slo-objective-biz-day-text"],[1,"bv2-slo-objective-interval"],
["type","text",3,"ngModelChange","ngModel"],[1,"bv2-slo-objective-unit",3,"ngModelChange","selectionChange","ngModel"],[3,"value"],[1,"bv2-slo-objective-unit"]],template:function(a,b){a&1&&D(0,gDb,3,2,"span",0)(1,qDb,7,5,"span",1);a&2&&G(b.isDisabled?0:1)},dependencies:[oi,Gy,Ny,yL,NL,Zx],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 P3=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"]])},Fbd=function(a,b){var c=new Cbd,d=Dbd(b,"type",function(f){var h=f.toUpperCase(),l=new Ebd;a.typeStringToEnum.has(h)?l.value=h:l.error='The string "'+f+'" is not a valid type';return l});if(d.error)return c.error=d.error,c;d=k(d.values);for(var e=d.next();!e.done;e=d.next())c.types.push(a.typeStringToEnum.get(e.value));d=Dbd(b,"priority",function(f){var h=
f.toUpperCase(),l=new Ebd;a.priorityStringToEnum.has(h)?l.value=h:l.error='The string "'+f+'" is not a valid priority';return l});if(d.error)return c.error=d.error,c;d=k(d.values);for(e=d.next();!e.done;e=d.next())c.priorities.push(a.priorityStringToEnum.get(e.value));b=Dbd(b,"postmortem",function(f){var h=f.toUpperCase(),l=new Ebd;a.postmortemValuesToCanonical.has(h)?l.value=h:l.error='The string "'+f+'" is not a valid postmortem value';return l});if(b.error)c.error=b.error;else for(b=k(b.values),
d=b.next();!d.done;d=b.next())c.postmortemValues.push(a.postmortemValuesToCanonical.get(d.value));return c},Dbd=function(a,b,c){var d=new Gbd;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};P3.\u0275fac=function(a){return new (a||P3)};P3.\u0275prov=n({token:P3,factory:P3.\u0275fac,providedIn:"root"});
var Cbd=function(){this.types=[];this.priorities=[];this.postmortemValues=[];this.error=""},Gbd=function(){this.values=[];this.error=""},Ebd=function(){this.error=this.value=""};var Q3=function(){};Q3.prototype.validate=function(a){for(var b={},c=k(Object.entries(this.validators)),d=c.next();!d.done;d=c.next()){var e=k(d.value);d=e.next().value;e=e.next().value;e(a.value)||(b[d]=!0)}return Object.keys(b).length?b:null};Q3.\u0275fac=function(a){return new (a||Q3)};Q3.\u0275dir=Df({type:Q3,selectors:[["","customValidators",""]],inputs:{validators:[0,"customValidators","validators"]},standalone:!1,features:[ch([{provide:By,useExisting:Q3,multi:!0}])]});var R3=function(){this.constants=r(FI);this.sloParseService=r(P3);this.confirmationDialogService=r(AI);this.collection=[];this.boundCollection=[];this.onCollectionUpdate=new aB;this.onValidation=new aB;this.metricChoices=["METRIC_UNSPECIFIED"].concat(znc);this.dayTypes=["CALENDAR","BUSINESS"];znc.map(function(a,b){return[a,b]});this.selectedMetric="METRIC_UNSPECIFIED";this.selectedDayType="CALENDAR";this.selectedObjectiveBusinessDays=this.selectedObjectiveDuration=null;this.anyNoneDisplayValues=new Map([["ANY",
"Has postmortem"],["NONE","No postmortem"]]);this.postmortemAllSummaryValue="Either";this.canPerformActionsInternal=!1;this.openRow=null;this.selectedMetric=this.metricChoices[0];this.selectedDayType="CALENDAR";this.selectedObjectiveBusinessDays=this.selectedObjectiveDuration=null;this.canPerformActions=!0};R3.prototype.updateValidity=function(){this.canPerformActions=!this.openRow};
var bEb=function(a,b,c){ZDb(a);a=k(a.collection);for(var d=a.next();!d.done;d=a.next())d.value.canEdit=!1;b.startEditing();c&&c.stopPropagation()},eEb=function(a,b,c){c=hEb(a,b,c);var d=c.newOffset;c.valid&&(ZDb(a),Ta(a.collection,b),Ta(a.boundCollection,b.sloElement),a.collection.splice(d,0,b),a.boundCollection.splice(d,0,b.sloElement),Hbd(a))},hEb=function(a,b,c){b=a.collection.indexOf(b)+c;return{valid:b>=0&&b<a.collection.length,newOffset:b}},ZDb=function(a){a=k(a.collection);for(var b=a.next();!b.done;b=
a.next())b=b.value,b.stopEditing(),b.canEdit=!0},Ibd=function(a,b){var c=b.map(function(d){return new S3(d,a)});a.openRow=null;a.collection=c;a.boundCollection=b;a.updateValidity()},ODb=function(a){return a==="METRIC_UNSPECIFIED"?" - ":Anc.get(a)},ADb=function(a,b){return b!=="TYPE_UNSPECIFIED"&&a.constants.issueTypesDisplayNames.has(b)?a.constants.issueTypesDisplayNames.get(b):" - "},GDb=function(a,b){return b!=="PRIORITY_UNSPECIFIED"&&a.constants.issuePrioritiesDisplayNames.has(b)?a.constants.issuePrioritiesDisplayNames.get(b):
" - "},$Db=function(a,b){ZDb(a);Ta(a.collection,b);Ta(a.boundCollection,b.sloElement);Hbd(a)},tDb=function(a,b){a.confirmationDialogService.open({title:"Are you sure you'd like to clear all the rules?",content:wi("This won't take effect until you save the changes, but any local changes will be lost."),onConfirm:function(){a.collection=[];a.boundCollection=[];Hbd(a)},onDismiss:function(){}});b.stopPropagation()},rDb=function(a,b){var c=new S3({metric:"METRIC_UNSPECIFIED",matcher:"",dayType:"DAY_TYPE_UNSPECIFIED",
objective:{seconds:0,nanos:0},businessDays:0},a,!0);bEb(a,c);a.collection.splice(b,0,c);a.boundCollection.splice(b,0,c.sloElement);Hbd(a)};R3.prototype.onDrop=function(a){eEb(this,this.collection[a.previousIndex],a.currentIndex-a.previousIndex)};var Hbd=function(a){a.onCollectionUpdate.emit(a.boundCollection)};
da.Object.defineProperties(R3.prototype,{collectionInput:{configurable:!0,enumerable:!0,set:function(a){Ibd(this,a)}},canPerformActions:{configurable:!0,enumerable:!0,set:function(a){this.canPerformActionsInternal=a;this.onValidation.emit(a)},get:function(){return this.canPerformActionsInternal}},isDisabled:{configurable:!0,enumerable:!0,set:function(a){this.isDisabledInternal=a;if(this.collection)for(var b=k(this.collection),c=b.next();!c.done;c=b.next())c=c.value,c.canEdit=!a||this.openRow===c},
get:function(){return this.isDisabledInternal}}});R3.\u0275fac=function(a){return new (a||R3)};
R3.\u0275cmp=C({type:R3,selectors:[["slo-elements-picker"]],inputs:{collectionInput:[0,"collection","collectionInput"],isDisabled:"isDisabled"},outputs:{onCollectionUpdate:"onCollectionUpdate",onValidation:"onValidation"},standalone:!1,decls:29,vars:5,consts:[["settingsMenu","matMenu"],[1,"bv2-slo-elements-picker"],[1,"bv2-slo-elements-table-label","edit-field-header"],["href","http://g3doc/company/teams/buganizer/user-guide/guides/define-slo#creating-a-new-slo-rule"],["matTooltip","These ordered rules determine the objectives for each type of issue for this SLO",
1,"bv2-slo-elements-table-help-icon",3,"name","size"],[1,"bv2-slo-elements-actionbar"],["cellspacing","0",1,"bv2-slo-elements-table"],[1,"header-row"],[1,"bv2-slo-elements-table-order-header"],[1,"bv2-slo-elements-table-type-header"],[1,"bv2-slo-elements-table-priority-header"],[1,"bv2-slo-elements-table-postmortem-header"],[1,"bv2-slo-elements-table-metric-header"],[1,"bv2-slo-elements-table-objective-header"],[1,"bv2-slo-elements-table-daytype-header"],[1,"bv2-slo-elements-table-actions-header"],
["cdkDropList","",3,"cdkDropListData","cdkDropListDisabled"],[1,"bv2-slo-elements-table-empty-list-description"],[1,"slo-picker-actions"],[1,"slo-picker-icon-action-icon-container"],["matTooltip","Add a new rule",1,"hoverable",3,"name","size"],["matTooltip","Clear all rules",1,"hoverable",3,"click","name","size"],["matTooltip","Add a new rule",1,"hoverable",3,"click","name","size"],["cdkDropList","",3,"cdkDropListDropped","cdkDropListData","cdkDropListDisabled"],["cdkDrag","",1,"bv2-slo-element-row",
3,"draggable"],["cdkDrag","",1,"bv2-slo-element-row"],[1,"bv2-slo-element-row-counter","editable-row"],[1,"bv2-slo-element-row-counter","display-row"],[1,"bv2-slo-element-picker-column","bv2-slo-element-type-column","bv2-editable-slo-element","editable-row"],[1,"bv2-slo-element-type-column","bv2-slo-element-picker-column","display-row"],[1,"bv2-slo-element-picker-column","bv2-slo-element-priority-column","bv2-editable-slo-element","editable-row"],[1,"bv2-slo-element-priority-column","bv2-slo-element-picker-column",
"display-row"],[1,"bv2-slo-element-picker-column","bv2-slo-element-postmortem-column","bv2-editable-slo-element","editable-row"],[1,"bv2-slo-element-postmortem-column","bv2-slo-element-picker-column","display-row"],[1,"bv2-slo-element-picker-column","bv2-slo-element-metric","bv2-editable-slo-element","editable-row"],[1,"bv2-slo-element-metric","bv2-slo-element-picker-column","display-row"],[1,"bv2-slo-element-picker-column","bv2-slo-element-objective","bv2-editable-slo-element","editable-row"],[1,
"bv2-slo-element-objective","bv2-slo-element-picker-column","display-row"],[1,"bv2-slo-element-picker-column","bv2-slo-element-daytype","bv2-editable-slo-element","editable-row"],[1,"bv2-slo-element-daytype","bv2-slo-element-picker-column","display-row"],[1,"bv2-slo-element-action","editable-row"],[1,"bv2-slo-element-action","display-row"],[1,"bv2-type-property-picker",3,"optionsChange","selectAllText","validator","options"],[1,"bv2-property-display-chips"],[1,"bv2-property-display-chip-container"],
[1,"matcher-chip-content"],[1,"bv2-priority-property-picker",3,"optionsChange","selectAllText","validator","options"],[1,"bv2-postmortem-property-picker",3,"optionsChange","selectAllText","validator","options"],["appearance","outline","subscriptSizing","dynamic"],["required","true",1,"bv2-enum-field","bv2-slo-elements-picker-metric-selector",3,"ngModelChange","ngModel","customValidators"],[3,"value"],["required","",3,"objectiveDurationChange","objectiveBusinessDaysChange","dayType","objectiveDuration",
"objectiveBusinessDays","validator","isDisabled"],["required","",3,"objectiveDurationChange","objectiveBusinessDaysChange","dayType","objectiveDuration","objectiveBusinessDays","isDisabled"],[1,"bv2-enum-field","bv2-slo-elements-picker-daytype-selector",3,"ngModelChange","selectionChange","ngModel"],["matTooltip","Finish editing",1,"bv2-slo-element-action",3,"click","name","size"],["matTooltip","Remove row",1,"bv2-slo-element-action",3,"click","name","size"],["matTooltip","Edit this rule",1,"hoverable",
"bv2-slo-element-action-edit",3,"name","size"],["matTooltip","More options",1,"hoverable","bv2-slo-element-action-more-settings",3,"name","size","matMenuTriggerFor"],["type","button","mat-menu-item","",1,"bv2-slo-element-action-more-settings-move-down"],["type","button","mat-menu-item","",1,"bv2-slo-element-action-more-settings-move-up"],["type","button","mat-menu-item","",1,"bv2-slo-element-action-more-settings-add-row-below",3,"click"],["type","button","mat-menu-item","",1,"bv2-slo-element-action-more-settings-add-row-above",
3,"click"],["type","button","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"],["type","button","mat-menu-item","",1,"bv2-slo-element-action-more-settings-move-down",3,"click"],["type","button","mat-menu-item","",1,"bv2-slo-element-action-more-settings-move-up",3,"click"]],template:function(a,b){a&1&&(I(0,"div",1)(1,"div")(2,"div")(3,"label",2),Q(4,"Rules"),J(),I(5,"a",3),
K(6,"b-icon",4),J(),D(7,uDb,6,3,"span",5),J(),I(8,"table",6)(9,"thead")(10,"tr",7)(11,"th",8),Q(12,"Order"),J(),I(13,"th",9),Q(14,"Type"),J(),I(15,"th",10),Q(16,"Priority"),J(),I(17,"th",11),Q(18,"Postmortem"),J(),I(19,"th",12),Q(20,"Metric"),J(),I(21,"th",13),Q(22,"Objective"),J(),I(23,"th",14),Q(24," Day Type "),J(),K(25,"th",15),J()(),D(26,kEb,3,2,"tbody",16),J(),I(27,"div"),D(28,lEb,2,0,"div",17),J()()());a&2&&(B(6),E("name","help-outline")("size","small"),B(),G(b.isDisabled?-1:7),B(19),G(b.collection&&
b.collection.length!=0?26:-1),B(2),G(b.collection&&b.collection.length!=0?-1:28))},dependencies:[Q3,hR,gR,Gy,Yy,Ny,DM,kN,lz,xL,IL,GL,JL,yL,NL,Zx,mB,rB,M3,O3],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 S3=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=ybd(d.priorityPickerValues)?null:"Priority can't be empty";d.priorityPickerValid=e===null;return e};this.validateTypePicker=function(){var e=ybd(d.typePickerValues)?null:"Type can't be empty";d.typePickerValid=
e===null;return e};this.validatePostmortemPicker=function(){var e=ybd(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=Jbd(a.objective);this.selectedObjectiveBusinessDays=a.businessDays;this.canEdit=!b.isDisabled;this.metricValidators={required:function(e){return Kbd(d,e)}};Lbd(this);this.typePickerValues=Mbd(this.controllerReference.sloParseService.enumTypeToString.keys(),function(e){return d.parseResult.types.length===
0||d.parseResult.types.includes(e)},function(e){return ADb(d.controllerReference,e)});this.priorityPickerValues=Mbd(this.controllerReference.sloParseService.enumPriorityToString.keys(),function(e){return d.parseResult.priorities.length===0||d.parseResult.priorities.includes(e)},function(e){return GDb(d.controllerReference,e)});this.postmortemPickerValues=Mbd(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();Kbd(this,this.selectedMetric)},Jbd=function(a){return a?a:{seconds:86400,nanos:0}};S3.prototype.isValid=function(){return this.priorityPickerValid&&this.typePickerValid&&this.postmortemPickerValid&&this.metricSelectorValid&&this.objectiveValid};var Kbd=function(a,b){b=b!=="METRIC_UNSPECIFIED";return a.metricSelectorValid=b};
S3.prototype.stopEditing=function(){this.isEditingInternal&&(this.isValid()||this.isNewElement)&&(this.controllerReference.openRow=null,this.controllerReference.updateValidity(),this.isEditingInternal=this.isNewElement=!1,this.canEdit=!0,Nbd(this),this.sloElement.metric=this.selectedMetric,this.sloElement.dayType=this.selectedDayType,this.sloElement.objective=this.selectedObjectiveDuration,this.sloElement.businessDays=this.selectedObjectiveBusinessDays,Lbd(this))};
var Nbd=function(a){var b=a.getEnumValues(a.typePickerValues),c=a.getEnumValues(a.priorityPickerValues),d=a.getEnumValues(a.postmortemPickerValues);b=Obd(b,function(f){return a.controllerReference.sloParseService.enumTypeToString.get(f)});c=Obd(c,function(f){return a.controllerReference.sloParseService.enumPriorityToString.get(f)});d=Obd(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};S3.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 Obd=function(a,b){if(a.length===0)return"";if(a.length===1)return b(a[0]);var c=[];a=k(a);for(var d=a.next();!d.done;d=a.next())c.push(b(d.value));return"("+c.join("|")+")"};
S3.prototype.startEditing=function(){this.isEditingInternal||(this.controllerReference.canPerformActions=!1,this.controllerReference.openRow=this,this.controllerReference.updateValidity(),this.canEdit=!1,this.isEditingInternal=!0,Lbd(this))};var Lbd=function(a){a.parseResult=Fbd(a.controllerReference.sloParseService,a.matcherText)},Mbd=function(a,b,c){var d={};a=k(a);for(var e=a.next();!e.done;e=a.next()){e=e.value;var f=b(e),h=c(e);d[""+e]=new wbd(h,f)}return new xbd(d)};var T3=function(){};T3.\u0275fac=function(a){return new (a||T3)};T3.\u0275mod=Cf({type:T3});T3.\u0275inj=p({imports:[lC,bz,nN]});var U3=function(){};U3.\u0275fac=function(a){return new (a||U3)};U3.\u0275mod=Cf({type:U3});U3.\u0275inj=p({imports:[lC]});var V3=function(){};V3.\u0275fac=function(a){return new (a||V3)};V3.\u0275mod=Cf({type:V3});V3.\u0275inj=p({imports:[lC,U3,iR,bz,fP,lN,bN,nN,pC,N3,T3]});var W3=function(){Z.apply(this,arguments);this.element=r(ef);this.cdr=r(cB,{self:!0});this.location=r(WN);this.hotkeys=r(uH);this.focusedIndex=0;this.slos=[]};Y(W3,Z);W3.\u0275dir=Z.\u0275dir;g=W3.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=vH(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(Qq.editSlo.makeHref(a.sloId))};
W3.\u0275fac=function(){var a;return function(b){return(a||(a=ee(W3)))(b||W3)}}();
W3.\u0275cmp=C({type:W3,selectors:[["b-slo-grid"]],inputs:{slos:"slos"},standalone:!1,features:[ch([cB]),cg],decls:17,vars:0,consts:[[1,"pop-grid","bv2-resource-list","bv2-slo-grid"],[1,"header-row"],[1,"focus-indicator"],[1,"bv2-columnheader-content"],[1,"pop-grid-default-th"],[1,"pop-grid-non-sort-header"],["tabindex","0",1,"bv2-resource-list-row",3,"grid-focus"],["tabindex","0",1,"bv2-resource-list-row",3,"click","focus"],[1,"bv2-resource-list-cell","slo-name","clickable"],["tabindex","-1",1,"grid-link",
3,"href"],[1,"bv2-resource-list-cell","slo-description","clickable"]],template:function(a,b){a&1&&(I(0,"table",0)(1,"thead")(2,"tr",1),K(3,"th",2),I(4,"th")(5,"div",3)(6,"div",4)(7,"div",5),Q(8," SLO name "),J()()()(),I(9,"th")(10,"div",3)(11,"div",4)(12,"div",5),Q(13," Description "),J()()()()()(),I(14,"tbody"),yg(15,mEb,7,7,"tr",6,xg),J()());a&2&&(B(15),zg(b.slos))},styles:[".bv2-slo-grid[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]{background-color:#f8f9fa;background-color:var(--surface-secondary)}.bv2-slo-grid[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{text-transform:initial}"]});var X3=function(){};X3.\u0275fac=function(a){return new (a||X3)};X3.\u0275mod=Cf({type:X3});X3.\u0275inj=p({imports:[lC]});var Y3=function(){this.log=r(bB);this.dateFormatter=r(hH)},Qbd=function(a,b){var c=Hqb(b.addMask.paths),d=Hqb(b.removeMask.paths),e={author:b.author||null,timestamp:b.timestamp||null,diffs:[]},f=b.add;b=b.remove;for(var h=k(new Set([].concat(t(c),t(d)))),l=h.next();!l.done;l=h.next()){var q=l.value;l=Bnc.get(q);if(q==="name"){var u=Wt(d,q,b.name);q=Wt(c,q,f.name);e.diffs.push(Xt(l,u,q))}else if(q==="description")u=Wt(d,q,b.description),q=Wt(c,q,f.description),e.diffs.push(Xt(l,u,q));else if(q==="parentId")u=
Wt(d,q,String(b.parentId)),q=Wt(c,q,String(f.parentId)),e.diffs.push(Xt(l,u,q));else if(q==="elements"){var A=f.elements;u=Iqb(d,q,b.elements.map(function(F){return Pbd(F)}));q=Iqb(c,q,A.map(function(F){return Pbd(F)}));e.diffs.push({fieldName:l,diffType:"COLLECTION",diff:{removed:u,added:q}})}else a.log.error("Unsupported diff field.")}return e},Pbd=function(a){var b=a.matcher,c=Anc.get(a.metric),d=UDb.get(a.dayType),e=[];a.businessDays>0&&e.push(a.businessDays+" day"+(a.businessDays>1?"s":""));
a.objective.seconds>0&&e.push(dpc(a.objective.seconds*1E3));return'("'+b+'", '+c+") - "+(d+" days - "+e.join(", "))};Y3.\u0275fac=function(a){return new (a||Y3)};Y3.\u0275prov=n({token:Y3,factory:Y3.\u0275fac,providedIn:"root"});var Z3=function(){};Z3.\u0275fac=function(a){return new (a||Z3)};Z3.\u0275mod=Cf({type:Z3});Z3.\u0275inj=p({imports:[lC,mC,XI]});var Tbd=function(a,b){this.$log=b;this.templateAttributes={};this.templateCustomFields={};b=k(Rbd);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"?yj(f):""}):e=typeof d==="string"?yj(d):"";this.templateAttributes[c]=e}b=k(Sbd);for(c=b.next();!c.done;c=b.next())c=c.value,a[c]&&(this.templateAttributes[c]=a[c]);if(a=a.customFields)for(a=Array.isArray(a)?a:[a],a=k(a),b=a.next();!b.done;b=a.next())b=b.value.split(":"),
c=b.slice(1).join(":"),St(c)||(this.templateCustomFields[b[0]]=c)},Vbd=function(a){return Object.keys(a.templateCustomFields||{}).length!==0||Ubd.some(function(b){return a.templateAttributes[b]!=null})},$bd=function(a,b,c){c!=null&&(Wbd(a,c),Xbd(a,b,c),Ybd(b,c));c=k(Object.entries(a.templateAttributes));for(var d=c.next();!d.done;d=c.next()){var e=k(d.value);d=e.next().value;e=e.next().value;Zbd[d](b,e)}a.templateAttributes={};a.templateCustomFields={}},Xbd=function(a,b,c){b.customField==null&&(b.customField=
[]);for(var d={},e=k(b.customField),f=e.next();!f.done;f=e.next())f=f.value,d[f.customFieldId]=f;e=k(Object.entries(a.templateCustomFields));var h=e.next();for(f={};!h.done;f={customFieldId$jscomp$25:void 0},h=e.next()){var l=k(h.value);h=l.next().value;l=l.next().value;f.customFieldId$jscomp$25=uj(h);l={customFieldId:f.customFieldId$jscomp$25,value:l};h=a.getCustomFieldValue(l,c);d[f.customFieldId$jscomp$25]!=null?(f=b.customField.findIndex(function(q){return function(u){return u.customFieldId===
q.customFieldId$jscomp$25}}(f)),b.customField[f]=h):(b.customField.push(h),d[l.customFieldId]=h)}};
Tbd.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=IDa(a.value)||void 0;break;case "ENUM":c.enumValue=a.value;break;case "NUMERIC":c.numericValue=JDa(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 IDa(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 JDa(e)}).filter(function(e){return e!==null});c.repeatedNumericValue={values:d};break;default:this.$log.warn("Invalid custom field type '"+b+"'.")}}return c};Tbd.prototype.getCustomFieldType=function(a,b){var c,d;return(d=(c=b[a.customFieldId])==null?void 0:c.type)!=null?d:""};
var Wbd=function(a,b){a.templateCustomFields=Gc(a.templateCustomFields,function(c,d){return!!b[d]})},Ybd=function(a,b){if(a.customField!=null){a=k(a.customField);for(var c=a.next(),d={};!c.done;d={allowedValues:void 0},c=a.next()){c=c.value;var e=b[c.customFieldId];if(e&&e.type&&e.type.includes("ENUM")){d.allowedValues=e.allowedValue||[];var f=e.required&&e.typedDefaultValue;e.type.includes("REPEATED")?(c.repeatedEnumValue=c.repeatedEnumValue||{values:[]},c.repeatedEnumValue.values=c.repeatedEnumValue.values.filter(function(h){return function(l){return h.allowedValues.includes(l)}}(d)),
!c.repeatedEnumValue.values.length&&f&&(c.repeatedEnumValue=e.typedDefaultValue.repeatedEnumValue)):d.allowedValues.includes(c.enumValue)||(c.enumValue=f?e.typedDefaultValue.enumValue:"")}}}},Rbd="title type priority severity assignee verifier reporter collaborators cc hotlistIds blockedByIssueIds blockingIssueIds foundIn targetedTo".split(" "),Sbd=["inProd"],Ubd="severity foundIn inProd reporter verifier targetedTo blockedByIssueIds blockingIssueIds".split(" "),a4={},Zbd=(a4.cc=function(a,b){a.ccUsers=
qEb(b,a.ccUsers||[])},a4.collaborators=function(a,b){a.collaboratorsUsers=qEb(b,a.collaboratorsUsers||[])},a4.title=function(a,b){typeof b==="string"&&(a.title=b)},a4.assignee=function(a,b){pEb(b,function(c){a.assigneeUser=c})},a4.reporter=function(a,b){pEb(b,function(c){a.reporterUser=c})},a4.verifier=function(a,b){pEb(b,function(c){a.verifierUser=c})},a4.hotlistIds=function(a,b){if(b=nEb(b)){a.hotlistId||(a.hotlistId=[]);b=k(b);for(var c=b.next();!c.done;c=b.next())a.hotlistId.push(c.value)}},a4.blockingIssueIds=
function(a,b){if(b=nEb(b))a.blockingIssueId=b.map(String)},a4.blockedByIssueIds=function(a,b){if(b=nEb(b))a.blockedByIssueId=b.map(String)},a4.foundIn=function(a,b){typeof b==="string"&&(a.foundInVersion=b.split(","))},a4.targetedTo=function(a,b){typeof b==="string"&&(a.targetedToVersion=b.split(","))},a4.inProd=function(a,b){a.inProd=b==="true"},a4.priority=function(a,b){if(b=oEb(lrc,b))a.priority=Lj(b)},a4.severity=function(a,b){if(b=oEb(qrc,b))a.severity=Lua(b)},a4.type=function(a,b){if(b=oEb(nrc,
b))a.type=Kua(b)},a4);var b4=function(){this.issueRelationshipApi=r($F);this.issueApi=r(ME)};
b4.prototype.bulkEdit=function(a){var b=this,c,d,e,f,h,l,q,u,A,F,H,N,O;return se(function(T){switch(T.nextAddress){case 1:c=a.actions[0];d=String(c.value);e=a.issueIds;f=c.actionType;if(f!=="ADD"&&f!=="REMOVE")throw Error("ig");h={};l=[];q=[];u=Hua(e);A=k(u.reverse());F=A.next();case 2:if(F.done){T.jumpTo(4);break}H=F.value;te(T,5);return f==="ADD"?(N=H.map(function(ea){return{targetIssueId:ea,afterIssueId:void 0}}),y(T,Fe(vmc(b.issueRelationshipApi,d,N)),8)):y(T,Fe(wmc(b.issueRelationshipApi,d,H)),
8);case 8:return y(T,b.issueApi.batchGetIssuesFull(H).then(function(ea){return ea.map(function(ka){return h[ka.issueId]=ka})}),11);case 11:Hu(T,3);break;case 5:O=we(T);if(!Zo(O))throw O;q.push(O);l.push.apply(l,t(H));case 3:F=A.next();T.jumpTo(2);break;case 4:return T.return({finishedIssues:h,notFinishedIssueIds:l,errors:q})}})};b4.\u0275fac=function(a){return new (a||b4)};b4.\u0275prov=n({token:b4,factory:b4.\u0275fac,providedIn:"root"});var c4=function(){Z.apply(this,arguments);this.routerEvents=r(NF);this.bLocation=r(WN);this.history=[]};Y(c4,Z);c4.\u0275dir=Z.\u0275dir;c4.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()}))};c4.prototype.ngOnDestroy=function(){this.subscriptions.unsubscribe()};c4.prototype.hasPreviousPage=function(){return this.history.length>1};
var d4=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("/")};c4.\u0275fac=function(){var a;return function(b){return(a||(a=ee(c4)))(b||c4)}}();c4.\u0275prov=n({token:c4,factory:c4.\u0275fac,providedIn:"root"});var e4=function(){this.issueApi=r(ME);this.templatesApi=r(xD);this.errorHandler=r(CI);this.userAccess=r(uE);this.activeSession=r(Bu);this.enableExternalMentionsFe=Vt(this.activeSession,"enableExternalMentionsFe")},bcd=function(a,b){b=a.issueApi.getIssueFull(b).then(function(c){var d=Object,e=d.assign,f=Na(c.snapshot),h,l=(h=c.description)==null?void 0:h.unlinkifiedComment,q;h=(q=c.description)==null?void 0:q.formattedComment;f.comment=l?l.trim():h&&a.enableExternalMentionsFe?Mwa(h):"";f.status="NEW";
f.changelist=null;f.gerritChanges=null;f.duplicateIssueId=null;f.duplicateOfIssueId=null;return e.call(d,{},{snapshot:f},{trackerId:c.trackerId})}).then(function(c){return acd(a,c)});b.catch(function(c){a.errorHandler.errorHandler(null,c)});return b},acd=function(a,b){var c=b.snapshot.hotlistId;if(!c)return b;var d=c.map(function(e){return vE(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})};
e4.\u0275fac=function(a){return new (a||e4)};e4.\u0275prov=n({token:e4,factory:e4.\u0275fac,providedIn:"root"});var f4=function(){this.bLocation=r(WN);this.routeParams=r(YI);this.domSafe=r(NH)},ccd=function(a,b,c){var d=a.routeParams.redirectUrl;if(d&&d.startsWith("http")){if(c&&Ou(d,"id=")||Ou(d,"bugId="))d+=c;OH(a.domSafe,d)}else{var e;a.bLocation.replaceUrl((e=d)!=null?e:b)}};f4.\u0275fac=function(a){return new (a||f4)};f4.\u0275prov=n({token:f4,factory:f4.\u0275fac,providedIn:"root"});var dcd={provide:djc,useValue:function(a){return a.replace(/(action\/components\/[0-9]+)\/(move|updateSlo|updateTeam)/,"$1")},multi:!0},ecd={provide:djc,useValue:function(a){return a.replace(/(action\/hotlists\/[0-9]+)\/archive/,"$1")},multi:!0};var g4=function(){this.activeSession=r(Bu)};g4.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)};g4.\u0275fac=function(a){return new (a||g4)};g4.\u0275prov=n({token:g4,factory:g4.\u0275fac,providedIn:"root"});var fcd={provide:Ldc,useClass:g4,multi:!0};var h4=function(){this.http=r(zA)};Y(h4,MC);g=h4.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;if(c==null)var f=void 0;else try{Ec=Kda,f=eea(c)}finally{Ec=void 0}c=(e=f)!=null?e:null;return this.http.request(a,b.url,Object.assign({},d,{body:c})).pipe(z(rEb(b.responseConstructor)))};h4.\u0275fac=function(){var a;return function(b){return(a||(a=ee(h4)))(b||h4)}}();h4.\u0275prov=n({token:h4,factory:h4.\u0275fac,providedIn:"root"});var i4=function(){this.jspbExecutor=r(h4)};
Y(i4,NC);i4.prototype.get=function(a){return Fe(this.jspbExecutor.get(a))};i4.prototype.delete=function(a){return Fe(this.jspbExecutor.delete(a))};i4.prototype.post=function(a){return Fe(this.jspbExecutor.post(a))};i4.prototype.put=function(a){return Fe(this.jspbExecutor.put(a))};i4.\u0275fac=function(){var a;return function(b){return(a||(a=ee(i4)))(b||i4)}}();i4.\u0275prov=n({token:i4,factory:i4.\u0275fac,providedIn:"root"});var j4=function(){};j4.\u0275fac=function(a){return new (a||j4)};j4.\u0275mod=Cf({type:j4});j4.\u0275inj=p({providers:[{provide:MC,useClass:h4},{provide:NC,useClass:i4}],imports:[lC]});var k4=function(){var a=this;this.fridge=r(uD);this.userAccess=r(uE);this.currentComponentId="";this.providedComponentId$=new Tf(1);this.accessCheckIsThinking$=new Xi(!0);this.component$=this.providedComponentId$.pipe(Yf(function(b){return a.fridge.watch(b)}));this.userIsComponentReader$=this.providedComponentId$.pipe(Yf(function(b){b!==a.currentComponentId&&(a.accessCheckIsThinking$.next(!0),a.currentComponentId=b);return vE(a.userAccess,"reader","components/"+b).then(function(c){return c},function(){return!1}).finally(function(){a.accessCheckIsThinking$.next(!1)})}));
this.isReady$=Ie([this.fridge.thinking$,this.accessCheckIsThinking$]).pipe(z(function(b){var c=k(b);b=c.next().value;c=c.next().value;return!b&&!c}),Xf(!1));this.manageComponentLink=""};k4.prototype.ngOnInit=function(){this.currentComponentId=this.componentId};k4.prototype.ngOnChanges=function(){this.providedComponentId$.next(this.componentId);this.manageComponentLink="/components/"+this.componentId};k4.\u0275fac=function(a){return new (a||k4)};
k4.\u0275cmp=C({type:k4,selectors:[["b-async-component"]],inputs:{componentId:"componentId"},standalone:!1,features:[rv],decls:5,vars:6,consts:[[3,"isReady"],[3,"href"]],template:function(a,b){a&1&&(I(0,"b-async-data-placeholder",0),S(1,"async"),D(2,sEb,3,4,"a",1),S(3,"async"),D(4,tEb,2,1,"output"),J());a&2&&(E("isReady",U(1,2,b.isReady$)),B(2),G(U(3,4,b.userIsComponentReader$)?2:4))},dependencies:[nH,ew],encapsulation:2});var m4=function(){this.documentationLinks=r(lI);this.activeSession=r(Bu);this.loginRedirector=r(l4);this.isAnonymous=this.activeSession.isAnonymous();this.enableSignInAnonymousAccessDenied=Vt(this.activeSession,"enableSignInAnonymousAccessDenied");this.signInProgressing=this.showIssueMetadataContainer=!1};
da.Object.defineProperties(m4.prototype,{issueMetadata:{configurable:!0,enumerable:!0,set:function(a){if(a){this.issueId=a.issueId;this.issueLastModified=Ml(a.modifiedTime);a.teamId&&a.teamId!==0&&(this.issueTeamId=String(a.teamId));if(a=a.issueState){this.issueType=Mj(a.type);var b;this.issueStatus=(b=Nj.get(a.status))!=null?b:"";this.issuePriority=a.priority;this.issueSeverity=ghc[a.severity];this.issueComponentId=String(a.componentId);this.accessLimitLevel=Cr(a.accessLimitLevel)}this.showIssueMetadataContainer=
!0}else this.showIssueMetadataContainer=!1}}});m4.\u0275fac=function(a){return new (a||m4)};
m4.\u0275cmp=C({type:m4,selectors:[["b-access-denied-metadata"]],inputs:{issueMetadata:"issueMetadata"},standalone:!1,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"],"type button mat-flat-button  color primary".split(" "),["type","button",
"mat-flat-button","","color","primary",3,"click"]],template:function(a,b){a&1&&(I(0,"div",2)(1,"h3",3),Q(2," Access is denied to this issue "),J(),D(3,vEb,1,1,"ng-container")(4,xEb,1,1,"ng-container"),J(),D(5,AEb,40,13,"ng-template",null,0,ih)(7,EEb,3,1,"ng-template",null,1,ih));a&2&&(B(3),G(b.showIssueMetadataContainer?3:-1),B(),G(b.isAnonymous?4:-1))},dependencies:[dw,k4,FH,OM,eB,jy,sL,hw],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 l4=function(){this.bLocation=r(WN)};l4.prototype.redirect=function(){var a=Rc("/loginRedirect?continue="+encodeURIComponent(this.bLocation.getUrl())),b=window.location;a=Sc(a);a!==void 0&&b.replace(a)};l4.\u0275fac=function(a){return new (a||l4)};l4.\u0275prov=n({token:l4,factory:l4.\u0275fac,providedIn:"root"});var n4=function(){};n4.\u0275fac=function(a){return new (a||n4)};n4.\u0275mod=Cf({type:n4});n4.\u0275inj=p({imports:[lC,xP]});var o4=function(){};o4.\u0275fac=function(a){return new (a||o4)};o4.\u0275mod=Cf({type:o4});o4.\u0275inj=p({imports:[lC,n4,jP,vP,mC,BP]});var gcd=Symbol("kg"),hcd=RegExp("today([+-]\\d+)?"),q4=function(){this.ruleConfigService=r(p4)};
q4.prototype.build=function(a){if(a.customField)var b=a.customField.type==="DATE"?new r4(a,s4(this.ruleConfigService)):a.customField.type==="ENUM"?new icd(a,s4(this.ruleConfigService)):a.customField.type==="REPEATED_ENUM"?new jcd(a,s4(this.ruleConfigService)):a.customField.type==="NUMERIC"?new t4(a,s4(this.ruleConfigService)):new u4(a,s4(this.ruleConfigService));else b=a.label.field,b=s4(this.ruleConfigService)[b],b=new (b&&b.ruleCtor||v4)(a,s4(this.ruleConfigService));b[gcd](a);return b};
var iGb=function(a,b,c){return a.build({label:{field:b,customFieldId:c&&c.customFieldId||void 0},operator:"EQ",negated:!1,type:"",customField:c})};q4.\u0275fac=function(a){return new (a||q4)};q4.\u0275prov=n({token:q4,factory:q4.\u0275fac,providedIn:"root"});
var kcd=["OR","AND","NAND"],lcd=["OR","NAND"],mcd="LT GT LE GE RANGE NRANGE DURATION NDURATION OR".split(" "),ncd=["AND","OR","NAND"],ocd=["OR","LT","GT","LE","GE"],v4=function(a,b){this.ruleConfigLookup=b;this.values=[];this.type="";this.isPendingCustomField=!1;this.label=a.label};v4.prototype[gcd]=function(a){this.initType(a);this.initValues(a)};
v4.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]};v4.prototype.initValues=function(a){this.values=(a.values||[]).map(function(b){return{value:b.simpleValues[0].value}})};
var pcd=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}};
v4.prototype.toString=function(){var a=pcd(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=qcd(this);return(a.negated?"-":"")+d+(d?c[a.operator]:"")+b};var qcd=function(a){var b=a.label.field,c=a.ruleConfigLookup[b];return c&&(c=c.queryLabel,c!=null)?c:sj(b).toLowerCase()+(a.label.customFieldId||"")};v4.prototype.valuesToStrings=function(){return this.values.map(function(a){return a.value}).filter(function(a){return a})};
v4.prototype.getWidgetType=function(){return"default"};v4.prototype.isValid=function(){return this.getLegalTypes().includes(this.type)};v4.prototype.getLegalTypes=function(){return kcd};var rcd=[],w4=function(a,b){v4.call(this,a,b);this.enumValues={}};Y(w4,v4);g=w4.prototype;g.getLegalTypes=function(){return lcd};g.getWidgetType=function(){return"enum"};
g.initValues=function(a){this.enumValues={};for(var b=k(this.getOptions()),c=b.next();!c.done;c=b.next())this.enumValues[c.value.id]=!1;a=k(a.values||[]);for(b=a.next();!b.done;b=a.next())this.enumValues[FEb(b.value.simpleValues[0].value)]=!0};g.valuesToStrings=function(){return Object.keys(Gc(this.enumValues,function(a){return a}))};g.getOptions=function(){return rcd};var scd=Nba().map(function(a){return{id:"p"+a,label:"P"+a}}),tcd=function(a,b){w4.call(this,a,b)};Y(tcd,w4);
tcd.prototype.getOptions=function(){return scd};var ucd=Nba().map(function(a){return{id:"s"+a,label:"S"+a}}),vcd=function(a,b){w4.call(this,a,b)};Y(vcd,w4);vcd.prototype.getOptions=function(){return ucd};
var wcd=[{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"}],xcd=function(a,b){w4.call(this,a,b)};Y(xcd,w4);xcd.prototype.getOptions=function(){return wcd};
var ycd=[{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"}],zcd=function(a,b){w4.call(this,a,b)};Y(zcd,w4);zcd.prototype.getOptions=function(){return ycd};
var Acd=[{id:"abuse"},{id:"pii"},{id:"user_request",label:"user request"},{id:"retention"}],Bcd=function(a,b){w4.call(this,a,b)};Y(Bcd,w4);Bcd.prototype.getOptions=function(){return Acd};var Ccd=[{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"}],Dcd=function(a,b){w4.call(this,a,b)};Y(Dcd,w4);Dcd.prototype.getOptions=function(){return Ccd};
var Ecd=[{id:"swe",label:Ll.SWE},{id:"sre",label:Ll.SRE},{id:"pm",label:Ll.PM},{id:"tpgm",label:Ll.TPGM},{id:"ux",label:Ll.UX}],Fcd=function(a,b){w4.call(this,a,b)};Y(Fcd,w4);Fcd.prototype.getOptions=function(){return Ecd};var icd=function(a,b){w4.call(this,a,b);this.allowedValues=[]};Y(icd,w4);icd.prototype[gcd]=function(a){this.allowedValues=a.customField.allowedValue.map(function(b){return{label:b,id:FEb(b)}});w4.prototype[gcd].call(this,a)};
icd.prototype.valuesToStrings=function(){return Object.keys(Gc(this.enumValues,function(a){return a})).map(function(a){return'"'+a+'"'})};icd.prototype.getOptions=function(){return this.allowedValues};var jcd=function(a,b){v4.call(this,a,b);this.allowedValues=[];var c,d;this.allowedValues=(d=(c=a.customField)==null?void 0:c.allowedValue)!=null?d:[]};Y(jcd,v4);jcd.prototype.getWidgetType=function(){return"repeated-enum"};jcd.prototype.getOptions=function(){return this.allowedValues};
var nu=function(a,b){v4.call(this,a,b);this.csv=""};Y(nu,v4);nu.prototype.getWidgetType=function(){return"csv"};nu.prototype.initValues=function(a){this.csv=(a.values||[]).map(function(b){return b.simpleValues[0].value}).join(",")};nu.prototype.valuesToStrings=function(){return this.csv.split(",").map(function(a){return a.trim()}).filter(function(a){return a})};var x4=function(a,b){nu.call(this,a,b)};Y(x4,nu);x4.prototype.getWidgetType=function(){return"id"};
x4.prototype.valuesToStrings=function(){return nu.prototype.valuesToStrings.call(this).map(function(a){return a.toLowerCase()==="none"?"none":a.toLowerCase()==="any"?"any":String(uj(a))})};var Gcd=function(a,b){nu.call(this,a,b)};Y(Gcd,x4);Gcd.prototype.getLegalTypes=function(){return lcd};var y4=function(a,b){nu.call(this,a,b)};Y(y4,nu);y4.prototype.getWidgetType=function(){return"user"};var z4=function(a,b){nu.call(this,a,b)};Y(z4,y4);z4.prototype.getLegalTypes=function(){return lcd};
var r4=function(a,b){v4.call(this,a,b);this.dateTo=this.dateFrom=this.duration=""};Y(r4,v4);var OFb=function(a){return a&&typeof a==="string"?a:""};r4.prototype.initType=function(a){v4.prototype.initType.call(this,a);var b=a.values&&a.values[0];b&&(b.type==="RANGE"?this.type=a.negated?"NRANGE":"RANGE":Ou(b.simpleValues[0].value,"d")&&(this.type=a.negated?"NDURATION":"DURATION"))};r4.prototype.getWidgetType=function(){return"date"};
r4.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=Hcd(b),this.type==="RANGE"||this.type==="NRANGE")this.dateTo=Hcd(a.values[0].simpleValues[1].value)}};
r4.prototype.valuesToStrings=function(){if(this.type==="DURATION"||this.type==="NDURATION"){var a=uj(this.duration);return!a||isNaN(a)?[]:[a+"d"]}if(this.type==="RANGE"||this.type==="NRANGE"){a=this.dateFrom&&Icd(this.dateFrom)||(new tj).toIsoString(!0);var b=this.dateTo&&Icd(this.dateTo)||(new tj).toIsoString(!0);return[a+".."+b]}return[this.dateFrom&&Icd(this.dateFrom)||(new tj).toIsoString(!0)]};
var Jcd=function(a){return String(a.getMonth()+1)+"/"+String(a.getDate())+"/"+String(a.getFullYear())},Hcd=function(a){if(hcd.test(a))return a;var b=new Cj(2E3);a=yj(a);var c=a.indexOf("T")==-1?" ":"T";a=a.split(c);var d=a[0].match(p7b);if(d){var e=Number(d[2]),f=Number(d[3]),h=Number(d[4]);c=Number(d[5]);var l=Number(d[6])||1;b.setFullYear(Number(d[1]));h?(b.setDate(1),b.setMonth(0),b.add(new $v("d",h-1))):c?(b.setMonth(0),b.setDate(1),d=b.getDay()||7,b.add(new $v("d",(d<=4?1-d:8-d)+(Number(l)+7*
(Number(c)-1))-1))):(e&&(b.setDate(1),b.setMonth(e-1)),f&&b.setDate(f));c=!0}else c=!1;if(c&&!(c=a.length<2)){c=a[1];a=c.match(r7b);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(q7b)){if(a){a=b.getYear();c=b.getMonth();l=b.getDate();d=Number(h[1]);e=Number(h[2])||0;f=Number(h[3])||0;var u=h[4]?Number(h[4])*1E3:0;(h=a>=0&&a<100)&&(a+=400);a=Date.UTC(a,c,l,d,e,f,u);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 Jcd(c?b:null)},Icd=function(a){if(hcd.test(a))return a;a=a.split("/").map(Number);return(new tj(a[2],a[0]-1,a[1])).toIsoString(!0)};r4.prototype.getLegalTypes=function(){return mcd};var A4=function(a,b){v4.call(this,a,b)};Y(A4,v4);A4.prototype.getWidgetType=function(){return"bool"};
A4.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"};A4.prototype.toString=function(){return qcd(this)+":"+(this.type==="OR")};A4.prototype.getLegalTypes=function(){return lcd};var B4=function(a,b){v4.call(this,a,b)};Y(B4,v4);B4.prototype.getWidgetType=function(){return"boolwithall"};
B4.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")};B4.prototype.toString=function(){var a=qcd(this)+":";switch(this.type){case "OR":return a+"true";case "NAND":return a+"false";default:return a+"all"}};
B4.prototype.getLegalTypes=function(){return ncd};var u4=function(a,b){v4.call(this,a,b)};Y(u4,v4);u4.prototype.getWidgetType=function(){return"text"};u4.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}})};u4.prototype.valuesToStrings=function(){return this.values.map(function(a){return a.value.indexOf(" ")>-1?'"'+a.value+'"':a.value})};
var Kcd=function(a,b){v4.call(this,a,b)};Y(Kcd,v4);Kcd.prototype.getWidgetType=function(){return"component"};Kcd.prototype.initValues=function(a){a.values&&(this.values=a.values.map(function(b){b=b.simpleValues[0].value;var c={value:b,includeSubs:!1};Ou(b,"+")&&(b=b.slice(0,b.length-1),c.value=b,c.includeSubs=!0);return c}))};Kcd.prototype.valuesToStrings=function(){return this.values.map(function(a){return a.value+(a.includeSubs?"+":"")}).filter(function(a){return a})};
var Lcd=function(a,b){v4.call(this,a,b)};Y(Lcd,v4);Lcd.prototype.initValues=function(a){a.values&&(this.values=a.values.map(function(b){b=b.simpleValues[0].value;var c={value:b,includeSubs:!1};Ou(b,"+")&&(b=b.slice(0,b.length-1),c.value=b,c.includeSubs=!0);return c}))};Lcd.prototype.valuesToStrings=function(){return this.values.map(function(a){return a.value+(a.includeSubs?"+":"")}).filter(function(a){return a})};var Mcd=function(a,b){v4.call(this,a,b)};Y(Mcd,v4);Mcd.prototype.getWidgetType=function(){return"tracker"};
var Ncd=function(a,b){v4.call(this,a,b)};Y(Ncd,Lcd);Ncd.prototype.getWidgetType=function(){return"team"};var Ocd=function(a,b){v4.call(this,a,b)};Y(Ocd,v4);Ocd.prototype.getWidgetType=function(){return"hotlist"};var Pcd=function(a,b){v4.call(this,a,b)};Y(Pcd,v4);Pcd.prototype.getWidgetType=function(){return"savedsearch"};var t4=function(a,b){nu.call(this,a,b)};Y(t4,nu);t4.prototype.getWidgetType=function(){return"number"};t4.prototype.getLegalTypes=function(){return ocd};
var Qcd=function(a,b){r4.call(this,a,b)};Y(Qcd,r4);Qcd.prototype.initType=function(a){r4.prototype.initType.call(this,a);a.negated&&(this.type="ERR")};
var C4={},Rcd=(C4.ATTACHMENT={ruleCtor:u4,name:"Attachment name"},C4.COMMENT={ruleCtor:u4},C4.TITLE={ruleCtor:u4},C4.ASSIGNEE={ruleCtor:z4},C4.MODIFIER={ruleCtor:y4},C4.REPORTER={ruleCtor:z4},C4.VERIFIER={ruleCtor:z4},C4.CC={ruleCtor:y4},C4.COLLABORATOR={ruleCtor:y4},C4.COMPONENT_ID={ruleCtor:Kcd,name:"Component"},C4.TRACKER_ID={ruleCtor:Mcd,name:"Tracker"},C4.TYPE={ruleCtor:xcd},C4.STATUS={ruleCtor:zcd},C4.PRIORITY={ruleCtor:tcd},C4.SEVERITY={ruleCtor:vcd},C4.BLOCKED_BY_ID={ruleCtor:x4},C4.BLOCKING_ID=
{ruleCtor:x4},C4.PARENT_ID={ruleCtor:x4},C4.CANONICAL_ID={ruleCtor:Gcd},C4.ID={ruleCtor:Gcd},C4.FOUND_IN={ruleCtor:nu},C4.TARGETED_TO={ruleCtor:nu},C4.VERIFIED_IN={ruleCtor:nu},C4.CL={ruleCtor:nu,name:"Changelists"},C4.MODIFIED={ruleCtor:r4},C4.RESOLVED={ruleCtor:Qcd},C4.CREATED={ruleCtor:r4},C4.VERIFIED={ruleCtor:Qcd},C4.DELETION_TIME={ruleCtor:r4,name:"Deletion time"},C4.SAVED_SEARCH_ID={ruleCtor:Pcd,name:"Saved search"},C4.HOTLIST_ID={ruleCtor:Ocd,name:"Hotlist"},C4.STAR={ruleCtor:A4,name:"Starred"},
C4.MUTE={ruleCtor:A4,name:"Muted"},C4.VOTE={ruleCtor:A4,name:"Upvoted by me"},C4.IN_PROD={ruleCtor:A4,name:"In production"},C4.CC_COUNT={ruleCtor:t4},C4.COLLABORATOR_COUNT={ruleCtor:t4},C4.DUPLICATE_COUNT={ruleCtor:t4},C4.VOTE_COUNT={ruleCtor:t4},C4.COMMENT_COUNT={ruleCtor:t4},C4.DESCENDANT_COUNT={ruleCtor:t4},C4.OPEN_DESCENDANT_COUNT={ruleCtor:t4},C4.ONE_DAY_VIEW_COUNT={ruleCtor:t4},C4.SEVEN_DAY_VIEW_COUNT={ruleCtor:t4},C4.THIRTY_DAY_VIEW_COUNT={ruleCtor:t4},C4.LAST_MODIFIER={ruleCtor:z4,name:"Last Modified By"},
C4.COMMENTER={ruleCtor:y4},C4.LAST_COMMENTER={ruleCtor:z4},C4.ARCHIVED={ruleCtor:B4},C4.IS_DELETED={ruleCtor:A4,name:"Deleted",queryLabel:"deleted"},C4.DELETION_REASON={ruleCtor:Bcd,name:"Deletion reason"},C4.ACCESS_LEVEL={ruleCtor:Dcd,name:"Issue access level"},C4.STAFFING_PLACEHOLDER={ruleCtor:Fcd,name:"Staffing - Placeholder",queryLabel:"staffingplaceholder"},C4.STAFFING_PLACEHOLDER_COUNT={ruleCtor:t4,name:"Staffing - Placeholder Count",queryLabel:"staffingplaceholdercount"},C4.STAFFING_USER={ruleCtor:y4,
name:"Staffing - User",queryLabel:"staffinguser"},C4.STAFFING_USER_COUNT={ruleCtor:t4,name:"Staffing - User Count",queryLabel:"staffingusercount"},C4._TEXT_={ruleCtor:u4,queryLabel:"",name:"All fields"},C4),Scd=Object.assign({},Rcd,{EFFORT_LABEL:{ruleCtor:nu},MENTION:{ruleCtor:y4},MIN_SLO_TARGET:{ruleCtor:r4,name:"Nearest SLO",queryLabel:"nearestslo"},POSTMORTEM:{ruleCtor:nu,name:"Postmortems"},TEAM_ID:{ruleCtor:Ncd,name:"Team"}}),Tcd={ESCALATION_OWNER:{ruleCtor:z4}},p4=function(){this.activeSession=
r(Bu)},s4=function(a){var b=a.activeSession.isExternalSession()?Rcd:Scd;return Vt(a.activeSession,"enableEscalationOwnerRolloutUi")?Object.assign({},b,Tcd):b};p4.\u0275fac=function(a){return new (a||p4)};p4.\u0275prov=n({token:p4,factory:p4.\u0275fac,providedIn:"root"});var Ucd=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Ucd,V);g=Ucd.prototype;g.getField=function(){return Fk(this,1,0)};g.clearField=function(){return Np(this,1)};g.getCustomFieldId_asLegacyNumberOrString=function(){return bv(this,2)};g.getCustomFieldId_asString=function(){return Ik(this,2)};g.setCustomFieldId=function(a){return kl(this,2,a)};g.hasCustomFieldId=function(){return Vb(Hk(this,2))!=null};var LEb=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(LEb,V);g=LEb.prototype;g.getType=function(){return Fk(this,1,0)};g.setType=function(a){return gl(this,1,a)};g.hasType=function(){return Dk(this,1)};g.getValue=function(){return Kh(this,2)};g.setValue=function(a){return fl(this,2,a)};g.hasValue=function(){return Ck(this,2)};var D4=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(D4,V);g=D4.prototype;g.getType=function(){return Fk(this,1,0)};g.setType=function(a){return gl(this,1,a)};g.hasType=function(){return Dk(this,1)};g.getValuesList=function(a){return lk(this,D4,2,Uj(a))};g.setValuesList=function(a){return $m(this,2,a)};g.setValues=function(a,b){Uu(this,2,D4,a,b)};var TEb=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(TEb,V);g=TEb.prototype;g.getType=function(){return Fk(this,1,0)};g.setType=function(a){return gl(this,1,a)};g.hasType=function(){return Dk(this,1)};g.getValuesList=function(a){return lk(this,D4,2,Uj(a))};g.setValuesList=function(a){return $m(this,2,a)};g.setValues=function(a,b){Uu(this,2,D4,a,b)};g.getLabel=function(){return W(this,Ucd,4)};g.setLabel=function(a){return X(this,Ucd,4,a)};g.hasLabel=function(){return Jk(this,Ucd,4)};var iu=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,iu.messageId)};Y(iu,V);iu.prototype.getType=function(){return Fk(this,1,0)};iu.prototype.setType=function(a){return gl(this,1,a)};iu.prototype.hasType=function(){return Dk(this,1)};iu.messageId="b.QueryBuilderResponse";var QEb=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,QEb.messageId)};Y(QEb,V);QEb.messageId="b.SyntaxErrorResponse";var Vcd=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,Vcd.messageId)};Y(Vcd,V);Vcd.prototype.getKindCase=function(){return $l(this,REb)};var REb=[1,2];Vcd.messageId="b.QueryBuilderResponseOrError";var E4=function(){this.executor=r(NC)},Wcd=function(a,b){b=wn(b);return a.executor.get({url:"action/issue_query_parse/"+b,responseConstructor:Vcd}).then(UEb).then(function(c){var d;(d=c.syntaxErrorResponse)!=null?c=d:(c=c.queryBuilderResponse,c={type:c.type,expressions:c.expressions.map(GEb)});return c})};E4.\u0275fac=function(a){return new (a||E4)};E4.\u0275prov=n({token:E4,factory:E4.\u0275fac,providedIn:"root"});var F4=function(){var a=this;this.trackerFridge=r(NG);this.placeholder="Choose Tracker";this.disabled=!1;this.onTrackerSelect=new aB;this.searchQuery$=new Uf;this.trackerSuggestions$=this.searchQuery$.pipe(Lf(300),Pf(),Yf(function(b){return a.trackerFridge.watchMany({filter:b,pageSize:5})}),z(function(b){return b.results}));this.displayFn=function(b){return b?b.name:""}};F4.prototype.ngAfterViewInit=function(){};F4.prototype.updateSelectionOnChange=function(a){this.onTrackerSelect.emit(a.option.value)};
F4.prototype.search=function(a){this.searchQuery$.next(a)};F4.\u0275fac=function(a){return new (a||F4)};
F4.\u0275cmp=C({type:F4,selectors:[["b-tracker-picker"]],viewQuery:function(a,b){a&1&&Rg(MP,7);if(a&2){var c;Vg(c=Wg())&&(b.autocompleteTrigger=c.first)}},inputs:{selectedTracker:"selectedTracker",placeholder:"placeholder",disabled:"disabled"},outputs:{onTrackerSelect:"onTrackerSelect"},standalone:!1,decls:7,vars:8,consts:[["trackerSearchInput",""],["auto","matAutocomplete"],["id","tracker-id","type","text","autocomplete","off","aria-label","Tracker selection",3,"click","input","placeholder","ngModel",
"disabled","matAutocomplete"],[3,"optionSelected","displayWith"],[1,"tracker-search-result",3,"value"],[1,"tracker-name"]],template:function(a,b){if(a&1){var c=v();I(0,"input",2,0);M("click",function(){w(c);var d=L(1);return x(b.search(d.value))})("input",function(){w(c);var d=L(1);return x(b.search(d.value))});J();I(2,"mat-autocomplete",3,1);M("optionSelected",function(d){w(c);return x(b.updateSelectionOnChange(d))});yg(4,VEb,3,2,"mat-option",4,xg);S(6,"async");J()}a&2&&(a=L(3),E("placeholder",b.placeholder)("ngModel",
b.selectedTracker)("disabled",b.disabled)("matAutocomplete",a),jg("aria-disabled",b.disabled),B(2),E("displayWith",b.displayFn),B(2),zg(U(6,6,b.trackerSuggestions$)))},dependencies:[KP,LP,Zx,MP,oi,Gy,Ny,ew],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 G4=function(){Z.apply(this,arguments);this.analytics=r(OF);this.customFieldsApi=r(dE);this.savedSearchApi=r(XD);this.hotlistApi=r(PD);this.trackerFridge=r(NG);this.issueSearchResources=r(E4);this.activeSession=r(Bu);this.elementRef=r(ef);this.errorHandler=r(CI);this.componentActions=r(oR);this.teamsService=r(DG);this.searchRuleConfigService=r(p4);this.searchRuleFactory=r(q4);this.cdr=r(cB,{self:!0});this.trackerHelpers=r(yH);this.currentUserBookmarksFridge=r(ZD);this.sessionIsInternal=this.activeSession.isInternalSession();
this.isTrackerSearchEnabled=!1;this.typeLabels=Xcd;this.globalTypeLabels=Ycd;this.availableLabels=[];this.state="INIT";this.expressions=[];this.components={};this.trackers={};this.teams={};this.hotlists={};this.savedSearches={};this.customFields={};this.userHotlists=[];this.userSavedSearches=[];this.trackerUnderEdit=this.teamUnderEdit=this.componentUnderEdit=this.chipUnderEdit=null};Y(G4,Z);G4.\u0275dir=Z.\u0275dir;
var Zcd=function(a){var b=[];Fc(s4(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,hua(d)]))},a);b.sort(function(c,d){return Kba(c[1],d[1])});b.push(["SAVED_SEARCH_ID","Saved search"]);b.push(["CUSTOM_FIELD","Custom field"]);return b};G4.prototype.schedule=function(a){this.subscriptions.add(Qe.schedule(a))};G4.prototype.ngOnInit=function(){this.cdr.detectChanges()};
G4.prototype.ngOnChanges=function(a){a.isTrackerSearchEnabled&&(this.availableLabels=Zcd(this))};
var bdd=function(a,b){a.reset();b?$cd(a,b):(a.expressions=add.map(function(c){return iGb(a.searchRuleFactory,c)}),a.state="SUCCESS");Fe(rjc(a.currentUserBookmarksFridge)).then(function(c){a.userSavedSearches=c;c=k(a.userSavedSearches);for(var d=c.next();!d.done;d=c.next())d=d.value,a.savedSearches[d.searchId]=d;a.cdr.detectChanges()});Fe($D(a.currentUserBookmarksFridge)).then(function(c){a.userHotlists=c;c=k(a.userHotlists);for(var d=c.next();!d.done;d=c.next())d=d.value,a.hotlists[d.hotlistId]=d;
a.cdr.detectChanges()});a.cdr.detectChanges()},$cd=function(a,b){Wcd(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 cdd(a,d)});return Promise.all(c).then(function(d){if(d.every(function(f){return!!f})){a.state="SUCCESS";d=k(d);for(var e=d.next();!e.done;e=d.next())a.expressions.push(e.value)}else a.state=
"NOT_REPRESENTABLE",a.analytics.trackEvent("adv-search","adv-search-not-rep-error");a.cdr.detectChanges()})}).catch(function(c){a.state="SERVER_ERROR";a.errorHandler.errorHandler(null,c);a.cdr.detectChanges()})},cdd=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?ddd(a,b.label.customFieldId).then(function(c){b.customField=
c;return edd(a,b)}):Promise.resolve(edd(a,b))},ddd=function(a,b){return a.customFields[b]?Promise.resolve(a.customFields[b]):a.customFieldsApi.get(b).then(function(c){return a.customFields[b]=c})},edd=function(a,b){b=b.type==="ERR"?null:a.searchRuleFactory.build(b);if(!b||b&&!b.isValid())return null;fdd(a,b);return b},fdd=function(a,b){switch(b.label.field){case "COMPONENT_ID":b=k(b.values);for(var c=b.next();!c.done;c=b.next())c=Sm(c.value.value),a.components[c]||a.fetchComponent(c);break;case "TRACKER_ID":if(a.isTrackerSearchEnabled)for(b=
k(b.values),c=b.next();!c.done;c=b.next())c=c.value.value,a.trackers[c]||gdd(a,c);break;case "TEAM_ID":if(a.sessionIsInternal)for(b=k(b.values),c=b.next();!c.done;c=b.next())c=c.value.value,a.teams[c]||hdd(a,c);break;case "SAVED_SEARCH_ID":b=k(b.values);for(c=b.next();!c.done;c=b.next())c=c.value,a.savedSearches[c.value]||a.savedSearchApi.get(c.value).then(function(d){a.savedSearches[d.searchId]=d});break;case "HOTLIST_ID":for(b=k(b.values),c=b.next();!c.done;c=b.next())c=c.value,a.hotlists[c.value]||
a.hotlistApi.get(c.value).then(function(d){a.hotlists[d.hotlistId]=d})}};G4.prototype.fetchComponent=function(a){var b=this;this.componentActions.get(a).then(function(c){var d;Hp(b.activeSession)&&c.trackerId!==((d=b.activeSession.getTracker())==null?void 0:d.trackerId)||(b.components[a]=c)})};
var gdd=function(a,b){a.trackerFridge.watch(b).pipe(Zf(a.destroyed$)).subscribe(function(c){c&&(a.trackers[b]=c)})},hdd=function(a,b){FG(a.teamsService,b).pipe(If(function(){return Ae([])}),Zf(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:""}})},idd=function(a){var b=a.expressionType==="AND"?" ":" | ";return i3b(a.expressions.map(function(c){return c.label?
c.toString():""}),Xac).join(b)};G4.prototype.getState=function(){return this.state};G4.prototype.reset=function(){this.expressionType="AND";this.expressions=[];this.state="INIT"};
var lGb=function(a,b){var c=a.expressions[b],d=c.label;d.field==="CUSTOM_FIELD"?c.isPendingCustomField=!0:(a.expressions[b]=iGb(a.searchRuleFactory,d.field),jGb(a,a.expressions[b]));a.cdr.detectChanges()},jGb=function(a,b){var c=b.getWidgetType();c==="component"||c==="savedsearch"||c==="hotlist"||c==="text"||c==="team"||c==="tracker"||c==="repeatedenum"?lu(a,b):c==="date"&&(b.dateFrom||(b.dateFrom=Jcd(new tj)),b.dateTo||(b.dateTo=Jcd(new tj)))};
G4.prototype.removeExpression=function(a){Ta(this.expressions,a);this.cdr.detectChanges()};var lu=function(a,b){var c={value:""};b.values.push(c);b.label.field==="COMPONENT_ID"?rFb(a,c):b.label.field==="TRACKER_ID"?yFb(a,c):b.label.field==="TEAM_ID"?FFb(a,c):b.label.field==="CUSTOM_FIELD"?aFb(a,c):mu(a,c);a.cdr.detectChanges()},ku=function(a,b,c){Ta(b.values,c);b.values.length||a.removeExpression(b);a.cdr.detectChanges()};
G4.prototype.getDateValue=function(a){var b,c=a.match(hcd);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 mu=function(a,b){a.chipUnderEdit=b;a.cdr.detectChanges()},rFb=function(a,b){mu(a,b);a.componentUnderEdit=b.value?pj(a.components[b.value]):null;a.schedule(function(){a.elementRef.nativeElement.querySelector(".bv2-search-component-picker input").focus()})},aFb=function(a,b){mu(a,b);a.schedule(function(){a.elementRef.nativeElement.querySelector(".bv2-adv-search-custom-repeated-enum-chip input").focus()})},yFb=function(a,b){mu(a,b);a.trackerUnderEdit=b.value?pj(a.trackers[b.value]):null;a.schedule(function(){a.elementRef.nativeElement.querySelector(".bv2-search-tracker-picker input").focus()})},
FFb=function(a,b){mu(a,b);a.teamUnderEdit=b.value?pj(a.teams[b.value]):null;a.schedule(function(){a.elementRef.nativeElement.querySelector(".bv2-search-team-picker input").focus()})},ju=function(a){a.chipUnderEdit=null;a.cdr.detectChanges()},HFb=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;ju(a);a.schedule(function(){a.elementRef.nativeElement.querySelector(".bv2-search-team-picker input").focus()})};
G4.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]};G4.prototype.getCustomFieldName=function(a){return(a=a.label.customFieldId)?this.customFields[a].name||String(a):""};G4.prototype.getComponentPath=function(a){if(!a)return"";var b=ou(this.trackerHelpers,a.componentPathInfo);return b&&b.componentPathName?b.componentPathName.join(" > "):a.name};
var Ycd={AND:"Match all (AND)",OR:"Match any (OR)"},Xcd={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"}},add=["COMPONENT_ID","ASSIGNEE","STATUS","_TEXT_"];G4.\u0275fac=function(){var a;return function(b){return(a||(a=ee(G4)))(b||G4)}}();
G4.\u0275cmp=C({type:G4,selectors:[["b-advanced-search"]],inputs:{isTrackerSearchEnabled:"isTrackerSearchEnabled"},standalone:!1,features:[ch([cB]),cg,rv],decls:1,vars:1,consts:[["newExpressionMenu","matMenu"],[1,"bv2-adv-search"],[1,"bv2-adv-search-title-container"],[1,"bv2-adv-search-title"],["appearance","outline","subscriptSizing","dynamic"],[1,"bv2-adv-search-rule"],[1,"bv2-adv-search-rule","bv2-adv-search-rule-new"],["mat-stroked-button","","type","button",1,"bv2-adv-search-rule-type","bv2-adv-search-rule-jfk-select",
3,"matMenuTriggerFor"],[1,"mat-select-panel"],["mat-menu-item","","type","button"],["color","primary",1,"bv2-adv-search-join-type",3,"ngModelChange","ngModel"],[3,"value"],[1,"bv2-adv-search-rule-title"],[1,"bv2-adv-search-rule-type","bv2-adv-search-rule-jfk-select",3,"ngModelChange","selectionChange","ngModel"],[1,"bv2-adv-search-rule-content"],[1,"bv2-adv-search-custom-field-label"],[1,"bv2-adv-search-custom-field-selection"],["type","button","aria-label","Delete search rule",1,"bv2-remove-icon",
"keep-focus-ring","bv2-adv-search-rule-delete-btn",3,"click"],[1,"bv2-adv-search-rule-op","bv2-adv-search-rule-jfk-select",3,"ngModelChange","ngModel"],[1,"bv2-adv-search-chip-container"],[1,"bv2-adv-search-enum-rule"],["type","button","mat-stroked-button","",1,"bv2-adv-search-chip-add-btn"],[1,"bv2-adv-search-chip","bv2-adv-search-custom-repeated-enum-chip"],[1,"bv2-adv-search-chip-content","bv2-adv-search-chip-content-btn",3,"title"],[1,"bv2-adv-search-chip-content"],["type","button","aria-label",
"Remove the value",1,"bv2-adv-search-chip-delete-btn","bv2-remove-icon",3,"click"],[1,"bv2-adv-search-chip-content","bv2-adv-search-chip-content-btn",3,"click","title"],[1,"bv2-adv-search-chip-content-text"],[1,"bv2-search-custom-repeated-enum-picker",3,"onValueChange","showPlaceholder","customFieldTitle","currentInputValue","allowedValues"],["type","button","mat-stroked-button","",1,"bv2-adv-search-chip-add-btn",3,"click"],[1,"bv2-adv-search-enum-item"],[3,"change","checked"],["type","text","aria-label",
"Add one or more user names, separated by comma","placeholder","One or more user names, comma-separated",3,"ngModelChange","ngModel","bContactAutocomplete"],["type","text","aria-label","Add one or more values, separated by comma","placeholder","One or more values, comma-separated",3,"ngModelChange","ngModel"],["type","text","placeholder","One or more IDs, comma-separated - e.g., 1,2,3",3,"ngModelChange","ngModel"],["type","text","aria-label","Add the condition",3,"ngModelChange","ngModel"],[1,"bv2-adv-search-chip",
"bv2-adv-search-chip-text"],["type","button","aria-label","Remove the condition",1,"bv2-adv-search-chip-delete-btn","bv2-remove-icon",3,"click"],[1,"bv2-adv-search-chip","bv2-adv-search-component-chip"],["type","button","role","switch","aria-label","Include subcomponents",1,"unstyled-button",3,"click","title"],[3,"svgIcon"],[1,"bv2-search-component-picker",3,"selectedComponentChange","selectedComponent","placeholder","isRequired"],[1,"bv2-adv-search-chip","bv2-adv-search-tracker-chip"],[1,"bv2-search-tracker-picker",
3,"onTrackerSelect","selectedTracker"],[1,"bv2-adv-search-chip","bv2-adv-search-team-chip"],["type","button","role","switch","aria-label","Include subteams",1,"unstyled-button",3,"click","title"],[1,"bv2-search-team-picker",3,"onTeamSelect","teamSelected"],[3,"boundValueChange","boundValue","isRequired"],["type","text","maxlength","3",1,"bv2-duration-field",3,"ngModelChange","ngModel"],[1,"bv2-adv-search-chip","bv2-adv-search-bookmark-item-chip"],["appearance","outline","subscriptSizing","dynamic",
1,"bv2-adv-search-bookmark-item-form-field"],["placeholder","Select hotlist",1,"bv2-adv-search-chip-content","bv2-adv-search-chip-content-selectable",3,"ngModelChange","selectionChange","ngModel"],["placeholder","Select search",1,"bv2-adv-search-chip-content","bv2-adv-search-chip-content-selectable",3,"ngModelChange","selectionChange","ngModel"],[3,"fieldSelected"],["mat-menu-item","","type","button",3,"click"]],template:function(a,b){a&1&&D(0,oGb,14,3,"div",1);a&2&&G(b.getState()==="SUCCESS"?0:-1)},
dependencies:[pB,VO,c1,oi,Gy,Zy,Ny,A1,eB,jy,kN,lz,xL,IL,GL,JL,yL,NL,Zx,RH,SH,$Z,F4,tR,VQ,jw,Mgc],styles:['[_nghost-%COMP%]     .mat-mdc-form-field-infix{width:unset;min-width:105px;border:0}[_nghost-%COMP%]     .mat-mdc-select-value-text{max-width:unset;color:#5f6368;color:var(--muted);font-family:"Google Sans",Roboto,Arial,sans-serif;font-size:.875rem;font-weight:500;letter-spacing:0.0107142857em;font-variant-ligatures:none}[_nghost-%COMP%]     .bv2-custom-field-picker{width:unset}[_nghost-%COMP%]     .bv2-adv-search-title-container .mat-mdc-form-field-infix{min-width:120px}.mat-mdc-form-field[_ngcontent-%COMP%]{margin-right:5px;text-align:center;display:inline-block}.mat-mdc-form-field[_ngcontent-%COMP%]{--mat-form-field-container-height:36px;--mat-form-field-filled-label-display:none;--mat-form-field-container-vertical-padding:6px;--mat-form-field-filled-with-label-container-padding-top:6px;--mat-form-field-filled-with-label-container-padding-bottom:6px}.bv2-adv-search-title-container[_ngcontent-%COMP%]{display:flex;align-items:center}.bv2-adv-search-title[_ngcontent-%COMP%]{font-weight:bold;padding-left:8px;margin-right:5px;display:inline-block;min-width:254px}.bv2-adv-search-bookmark-item-chip[_ngcontent-%COMP%]{align-items:baseline}.bv2-adv-search-bookmark-item-form-field[_ngcontent-%COMP%]{text-align:left;width:100%}div.bv2-adv-search-enum-item[_ngcontent-%COMP%]{max-width:170px;min-width:170px;padding:0}']});var H4=function(){};H4.\u0275fac=function(a){return new (a||H4)};H4.\u0275mod=Cf({type:H4});H4.\u0275inj=p({imports:[lC,QP,jN,pC,bz]});var I4=function(){};I4.\u0275fac=function(a){return new (a||I4)};I4.\u0275mod=Cf({type:I4});I4.\u0275inj=p({imports:[lC,WO,d1,bz,K1,mC,lN,bR,bN,nN,jN,hC,b_,H4,YU,WQ]});var J4=function(){this.domSafe=r(NH);this.buttonLabel="";this.alertMode=this.menuMode=!1},pGb=function(a){Ip(a.domSafe,"https://g3doc.corp.google.com/company/teams/buganizer/release-notes/b3-releasenotes.md")};J4.\u0275fac=function(a){return new (a||J4)};
J4.\u0275cmp=C({type:J4,selectors:[["b-whats-new-button"]],inputs:{buttonLabel:"buttonLabel",menuMode:"menuMode",alertMode:"alertMode"},standalone:!1,decls:2,vars:1,consts:["type;button;mat-menu-item;;aria-label;Open release notes in a new tab".split(";"),["type","button","mat-icon-button","","aria-label","Open release notes in a new tab",3,"matTooltip"],["type","button","mat-menu-item","","aria-label","Open release notes in a new tab",3,"click"],["type","button","mat-icon-button","","aria-label",
"Open release notes in a new tab",3,"click","matTooltip"],[3,"svgIcon"]],template:function(a,b){a&1&&D(0,qGb,2,1,"button",0)(1,rGb,3,3,"button",1);a&2&&G(b.menuMode?0:1)},dependencies:[pB,eB,ly,GL,mB,rB],styles:["[_nghost-%COMP%] { display: flex; }"]});var jdd=function(){};jdd.\u0275fac=function(a){return new (a||jdd)};jdd.\u0275cmp=C({type:jdd,selectors:[["b-feature-stage-label"]],inputs:{featureStage:"featureStage"},standalone:!1,decls:2,vars:1,consts:[[1,"badged","teamfood"],[1,"badged","early-access"]],template:function(a,b){a&1&&D(0,sGb,1,0,"div",0)(1,tGb,1,0,"div",1);if(a&2){var c;G((c=b.featureStage)==="TEAM_FOOD"?0:c==="EARLY_ACCESS"?1:-1)}},styles:[".badged[_ngcontent-%COMP%]::after{margin-left:0}"]});var K4=function(){Z.apply(this,arguments);this.session=r(Bu);this.appsEvents=r(yD);this.prefsManager=r(TG);this.enableWhatsNewDialog=Vt(this.session,"enableWhatsNewDialog");this.enableBeap=Vt(this.session,"enableBeap");this.ThemePreferencesDensity=Lfc;this.density="COMFORTABLE"};Y(K4,Z);K4.\u0275dir=Z.\u0275dir;g=K4.prototype;g.ngOnInit=function(){var a=this;this.prefsManager.preferences$.pipe(Zf(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})};K4.\u0275fac=function(){var a;return function(b){return(a||(a=ee(K4)))(b||K4)}}();
K4.\u0275cmp=C({type:K4,selectors:[["b-app-settings-menu"]],standalone:!1,features:[cg],decls:28,vars:13,consts:[["settingsMenu","matMenu"],["type","button","mat-icon-button","","matTooltip","Settings","aria-label","Settings",3,"disabled","matMenuTriggerFor"],["svgIcon","settings-outline",1,"icon-m"],[1,"b-menu-header"],["type","button","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"],
["type","button","mat-menu-item","","role","menuitemcheckbox","aria-label","set display density to cozy",3,"click"],["type","button","mat-menu-item","","role","menuitemcheckbox","aria-label","set display density to compact",3,"click"],["type","button","mat-menu-item","",3,"click"],["type","button","mat-menu-item","",3,"click",4,"internalOnly"],["mat-menu-item","","href","/settings/early-access"],["featureStage","TEAM_FOOD","matTooltip","Teamfood"],["buttonLabel","Release Notes",3,"menuMode"]],template:function(a,
b){if(a&1){var c=v();I(0,"button",1);K(1,"mat-icon",2);J();I(2,"mat-menu",null,0)(4,"div",3);Q(5,"Display Density");J();I(6,"button",4);M("click",function(){w(c);return x(b.setDensity(b.ThemePreferencesDensity.COMFORTABLE))});I(7,"span",5);K(8,"mat-icon",6);J();Q(9," Comfortable ");J();I(10,"button",7);M("click",function(){w(c);return x(b.setDensity(b.ThemePreferencesDensity.COZY))});I(11,"span",5);K(12,"mat-icon",6);J();Q(13," Cozy ");J();I(14,"button",8);M("click",function(){w(c);return x(b.setDensity(b.ThemePreferencesDensity.COMPACT))});
I(15,"span",5);K(16,"mat-icon",6);J();Q(17," Compact ");J();K(18,"mat-divider");I(19,"button",9);M("click",function(d){w(c);return x(b.browseComponents(d))});Q(20,"Browse components");J();I(21,"button",9);M("click",function(d){w(c);return x(b.manageHotlists(d))});Q(22,"Manage hotlists");J();D(23,uGb,2,0,"button",10);I(24,"button",9);M("click",function(d){w(c);b.appsEvents.topBarEvents.openSettings.next({newTab:d.ctrlKey||d.metaKey});return x()});Q(25,"Settings");J();D(26,vGb,3,0,"a",11)(27,wGb,2,
1);J()}a&2&&(a=L(3),E("disabled",b.session.isAnonymous())("matMenuTriggerFor",a),B(6),sg("b-menu-item-checked",b.density===b.ThemePreferencesDensity.COMFORTABLE),jg("aria-checked",b.density===b.ThemePreferencesDensity.COMFORTABLE),B(4),sg("b-menu-item-checked",b.density===b.ThemePreferencesDensity.COZY),jg("aria-checked",b.density===b.ThemePreferencesDensity.COZY),B(4),sg("b-menu-item-checked",b.density===b.ThemePreferencesDensity.COMPACT),jg("aria-checked",b.density===b.ThemePreferencesDensity.COMPACT),
B(12),G(b.enableBeap?26:-1),B(),G(b.enableWhatsNewDialog?27:-1))},dependencies:[pB,xL,IL,GL,JL,eB,ly,oQ,mB,rB,J4,WS,jdd],encapsulation:2,changeDetection:0});var L4=function(){this.theme=r(ZP);this.isDark=!1;this.iconName="dark-mode-filled"};L4.prototype.ngOnInit=function(){this.theme.loadLocalDarkmode();kdd(this)};var kdd=function(a){a.isDark=It(a.theme);a.iconName=a.isDark?"brightness-high":"dark-mode-filled"};L4.\u0275fac=function(a){return new (a||L4)};
L4.\u0275cmp=C({type:L4,selectors:[["theme-change-btn"]],standalone:!1,decls:2,vars:1,consts:[["type","button","mat-icon-button","","matTooltip","Change theme","aria-label","Change the application's visual theme",3,"click"],[3,"svgIcon"]],template:function(a,b){a&1&&(I(0,"button",0),M("click",function(){var c=b.theme;c.setLocalDarkmode(!It(c));c.clientStreamzService&&Gqc(c.clientStreamzService,"toggleDarkmode",!c.clientDarkmodeSubject.getValue());bGc(c,!c.clientDarkmodeSubject.getValue());kdd(b)}),
K(1,"mat-icon",1),J());a&2&&(B(),E("svgIcon",b.iconName))},dependencies:[pB,eB,ly,mB,rB],encapsulation:2});var M4=function(){this.session=r(Bu);this.userFeedback=r(aQ);this.domSafe=r(NH);this.docLinks=r(lI);this.enableWhatsNewDialog=Vt(this.session,"enableWhatsNewDialog");this.majorReleaseNotesUpdated=Vt(this.session,"majorReleaseNotesUpdated")};M4.prototype.openFeedbackDialog=function(){this.userFeedback.startFeedback()};M4.\u0275fac=function(a){return new (a||M4)};
M4.\u0275cmp=C({type:M4,selectors:[["b-app-actions"]],standalone:!1,decls:6,vars:1,consts:[["id","whatsNewButton",3,"alertMode"],["type","button","mat-icon-button","","class","feedback-button","matTooltip","Send feedback","aria-label","send feedback",3,"click",4,"internalOnly"],["type","button","mat-icon-button","","matTooltip","Help","aria-label","help",3,"click"],["svgIcon","help-outline"],["type","button","mat-icon-button","","matTooltip","Send feedback","aria-label","send feedback",1,"feedback-button",
3,"click"],["svgIcon","feedback-outline"]],template:function(a,b){a&1&&(K(0,"theme-change-btn"),D(1,xGb,1,1,"b-whats-new-button",0)(2,yGb,2,0,"button",1),I(3,"button",2),M("click",function(){var c=b.domSafe,d=c.openInNewTab;var e=b.docLinks;e=e.session.isInternalSession()?"https://g3doc.corp.google.com/company/teams/buganizer/user-guide":e.baseDocumentationUrl;d.call(c,e)}),K(4,"mat-icon",3),J(),K(5,"b-app-settings-menu"));a&2&&(B(),G(b.enableWhatsNewDialog?1:-1))},dependencies:[pB,eB,ly,mB,rB,J4,
WS,L4,K4],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 AGb=function(a){return[a]},BGb=function(){return[]},N4=function(){this.activeSession=r(Bu);this.clickMenu=new aB;this.showMenu=!1;this.clickLogo=new aB;this.chips=[]};N4.prototype.ngOnInit=function(){this.showMenu=!this.activeSession.isAnonymous()&&this.clickMenu.observed};N4.\u0275fac=function(a){return new (a||N4)};
N4.\u0275cmp=C({type:N4,selectors:[["app-logo"]],inputs:{imgSrc:"imgSrc",imgSrcDark:"imgSrcDark",href:"href",name:"name",chips:"chips"},outputs:{clickMenu:"clickMenu",clickLogo:"clickLogo"},standalone:!1,ngContentSelectors:["*"],decls:9,vars:5,consts:[["type","button","mat-icon-button","","aria-label","Expand/Collapse Navigation",1,"menu"],[3,"click"],["alt","",1,"logo","light",3,"src"],["alt","",1,"logo","dark",3,"src"],[1,"b-chip",3,"ngClass"],["type","button","mat-icon-button","","aria-label",
"Expand/Collapse Navigation",1,"menu",3,"click"],["svgIcon","menu-18px"]],template:function(a,b){a&1&&(Ig(),D(0,zGb,2,0,"button",0),I(1,"a",1),M("click",function(){return b.clickLogo.emit()}),K(2,"img",2)(3,"img",3),I(4,"h1"),Q(5),J()(),Jg(6),yg(7,CGb,2,5,"output",4,xg));a&2&&(G(b.showMenu?0:-1),B(),jg("href",b.href?b.href:void 0,vf),B(),E("src",b.imgSrc,vf),B(),E("src",b.imgSrcDark||b.imgSrc,vf),B(2),Yg(b.name),B(2),zg(b.chips))},dependencies:[aw,pB,eB,ly],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 O4=function(){this.events=r(yD);this.imageUrls=r(jL);this.environmentType="QA";this.frontendAccessMode="INTERNAL";this.href="/";this.chips=[];this.name="Buganizer"};O4.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"})};
O4.prototype.ngOnChanges=function(a){if(a.tracker||a.frontendAccessMode)this.name=this.getAppName()};O4.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:Db(this.frontendAccessMode,"unknown frontend access mode.")}};
da.Object.defineProperties(O4.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"}}});O4.\u0275fac=function(a){return new (a||O4)};
O4.\u0275cmp=C({type:O4,selectors:[["b-app-logo"]],inputs:{environmentType:"environmentType",frontendAccessMode:"frontendAccessMode",tracker:"tracker",href:"href"},standalone:!1,features:[rv],decls:1,vars:5,consts:[[3,"clickMenu","name","href","chips","imgSrc","imgSrcDark"]],template:function(a,b){a&1&&(I(0,"app-logo",0),M("clickMenu",function(){return b.events.onClickAppMenuIcon.next()}),J());a&2&&E("name",b.name)("href",b.href)("chips",b.chips)("imgSrc",b.imgSrc)("imgSrcDark",b.imgSrcDark)},dependencies:[N4],
encapsulation:2,changeDetection:0});var P4=function(){this.isActive=!1;this.optionClicked=new aB};P4.prototype.ngOnInit=function(){};P4.prototype.onClick=function(){this.optionClicked.emit(this.index)};P4.\u0275fac=function(a){return new (a||P4)};
P4.\u0275cmp=C({type:P4,selectors:[["b-app-search-auto-complete-option"]],hostVars:2,hostBindings:function(a,b){a&1&&M("click",function(){return b.onClick()});a&2&&sg("active",b.isActive)},inputs:{isActive:"isActive",index:"index"},outputs:{optionClicked:"optionClicked"},standalone:!1,ngContentSelectors:["*"],decls:2,vars:0,consts:[[1,"content","gmat-subtitle-2"]],template:function(a){a&1&&(Ig(),I(0,"div",0),Jg(1),J())},styles:["[_nghost-%COMP%]{cursor:pointer;display:flex;position:relative}.active[_nghost-%COMP%]{background-color:rgba(0,0,0,.12);background-color:var(--focus-bg)}[_nghost-%COMP%]:hover:not(.active){background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}.content[_ngcontent-%COMP%]{flex-grow:1;overflow:hidden;padding:8px 16px 8px 36px;text-overflow:ellipsis}.mat-ripple[_ngcontent-%COMP%]{pointer-events:none;position:absolute;height:100%;width:100%}/*# sourceMappingURL=app_search_auto_complete_option.css.map */"],
changeDetection:0});var Q4=function(){this.ref=r(cB,{self:!0});this.hostElement=r(ef);this.trackerHelpers=r(yH);this.items=[];this.header=null;this.itemSelected=new aB;this.activeItemChanged=new aB;this.SPECIAL_ITEM_TYPES="issue hotlist savedsearch atom component customField team tracker".split(" ")};Q4.prototype.ngOnChanges=function(a){a.items&&(this.items.length>0?(this.activeItemIndex=0,this.activeItemChanged.emit(this.items[0])):this.clearActiveItem(),this.ref.markForCheck())};Q4.prototype.ngAfterViewInit=function(){};
var cHb=function(a){var b=P(3);nHb(a);b.itemSelected.emit(a)};Q4.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(),ldd(this))};
Q4.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(),ldd(this))};var mdd=function(a){a.activeItemIndex!=null&&a.itemSelected.emit(a.items[a.activeItemIndex])};Q4.prototype.clearActiveItem=function(){this.activeItemIndex=void 0;this.activeItemChanged.emit(void 0)};
var ndd=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}},ldd=function(a){var b=a.itemElements.find(function(c,d){return d===a.activeItemIndex});b&&rbb(b.nativeElement,a.hostElement.nativeElement)},nHb=function(a){So("search","autocomplete-select",a.completionCfg.type||"unknown_type",isNaN(Number(a.id))?1:Number(a.id))};Q4.\u0275fac=function(a){return new (a||Q4)};
Q4.\u0275cmp=C({type:Q4,selectors:[["b-app-search-auto-complete-list"]],viewQuery:function(a,b){a&1&&Rg(P4,5,ef);if(a&2){var c;Vg(c=Wg())&&(b.itemElements=c)}},inputs:{items:"items",header:"header"},outputs:{itemSelected:"itemSelected",activeItemChanged:"activeItemChanged"},standalone:!1,features:[ch([cB]),rv],decls:4,vars:1,consts:[[1,"header","gmat-caption"],"role;listbox;aria-label;Search autocomplete list;id;b-search-box-autocomplete".split(";"),["role","option",3,"index","isActive"],[1,"margin-s-right"],
[3,"accessLevel"],[3,"trackerId"],["role","option",3,"optionClicked","index","isActive"],[1,"monospaced","item-description"],[1,"item-description"],["role","button",3,"click","title"],[1,"item-description","item-de-emphasized"]],template:function(a,b){a&1&&(D(0,XGb,7,6,"div",0),I(1,"div",1),yg(2,oHb,10,13,"b-app-search-auto-complete-option",2,xg),J());a&2&&(G(b.header&&b.header.type?0:-1),B(2),zg(b.items))},dependencies:[IN,lL,P4,fw],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 odd=["box"],pdd=["initialFocus"],qdd=["finalFocus"],R4=function(){this.documentationLinks=r(lI);this.appSearchState=r(TY);this.activeSession=r(Bu);this.placeholder="";this.isSearchDisabled=!1;this.autoCompleteItems=[];this.autoCompleteHeader=null;this.onAdvancedSearchOpen=new aB;this.onAdvancedSearchClose=new aB;this.onAdvancedSearchSubmit=new aB;this.onSaveSearch=new aB;this.dropdownStatus="closed";this.searchName="";this.searchHelpLink=this.documentationLinks.baseDocumentationUrl+"/guides/search-editor";
this.destroyed$=new Uf;this.currentQuery$=this.appSearchState.queryState$.pipe(z(function(a){return a.query}));this.autoCompleteItemSelected$=new Uf;this.isAnonymous=this.activeSession.isAnonymous()};
R4.prototype.ngOnInit=function(){var a=this;this.autoCompleteItemSelected$.pipe(ag(this.currentQuery$),Zf(this.destroyed$)).subscribe(function(b){var c=k(b);b=c.next().value;c=c.next().value;b=b.completionCfg;a.appSearchState.queryState$.next({query:c.slice(0,b.startIdx)+b.completionValue+c.slice(b.endIdx),cursorPosition:b.cursorIdx!=null?b.cursorIdx:b.startIdx==null?b.completionValue.length:b.startIdx+b.completionValue.length,setViaInteraction:!1});a.inputBox.nativeElement.focus()})};
R4.prototype.ngAfterViewInit=function(){var a=this;this.appSearchState.queryState$.pipe(Ue(function(b){return!b.setViaInteraction}),Zf(this.destroyed$)).subscribe(function(b){var c=b.query;b=b.cursorPosition;a.inputBox.nativeElement.value=c;b!=null&&(c=a.inputBox.nativeElement,uEc(c)&&(c.selectionStart=b,c.selectionEnd=b))})};R4.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete()};
var rdd=function(a){a.appSearchState.searchTriggered$.next("keyboard")},sdd=function(a,b){a.dropdownStatus="auto_complete";a.acList.clearActiveItem();a.appSearchState.queryState$.next({query:b,cursorPosition:a.getCursorPosition(),setViaInteraction:!0})};R4.prototype.onInputFocus=function(){this.dropdownStatus="auto_complete"};
R4.prototype.handleKeydown=function(a){switch(a.key){case "Escape":if(!S4(this))return;tdd(this);break;case "ArrowUp":if(!S4(this))return;this.acList.setPreviousItemActive();break;case "ArrowDown":if(!S4(this))return;this.acList.setNextItemActive();break;case "Tab":case "ArrowRight":if(!S4(this)){sdd(this,this.inputBox.nativeElement.value);return}mdd(this.acList);break;case "ArrowLeft":sdd(this,this.inputBox.nativeElement.value);return;case "Enter":S4(this)?this.acList.activeItemIndex!=null?mdd(this.acList):
rdd(this):rdd(this);break;default:return}a.preventDefault();a.stopPropagation()};R4.prototype.submitAdvancedSearch=function(){this.onAdvancedSearchSubmit.emit();udd(this)};R4.prototype.getCursorPosition=function(){var a=vEc(this.inputBox.nativeElement,!0)[0];if(a===vEc(this.inputBox.nativeElement,!1)[1])return a};
var tdd=function(a){a.dropdownStatus==="auto_complete"&&(a.dropdownStatus="closed")},udd=function(a){a.dropdownStatus==="advanced_search"&&(a.dropdownStatus="closed",a.onAdvancedSearchClose.emit())},S4=function(a){return a.dropdownStatus==="auto_complete"&&a.autoCompleteItems.length>0},vdd=function(a){return a.dropdownStatus==="auto_complete"&&a.autoCompleteHeader!=null},wdd=function(a){return a.dropdownStatus==="advanced_search"};
R4.prototype.saveSearch=function(){this.searchName&&(this.onSaveSearch.emit(this.searchName),this.searchName="",udd(this))};var xdd=function(a,b){b.shiftKey&&b.key==="Tab"&&a.advancedSearchFinalFocus&&setTimeout(function(){return a.advancedSearchFinalFocus.nativeElement.focus()})},pHb=function(a){a.advancedSearchInitialFocus&&setTimeout(function(){return a.advancedSearchInitialFocus.nativeElement.focus()})};R4.\u0275fac=function(a){return new (a||R4)};
R4.\u0275cmp=C({type:R4,selectors:[["b-app-search-box"]],viewQuery:function(a,b){a&1&&(Rg(Q4,7),Rg(odd,5),Rg(pdd,7,ef),Rg(qdd,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"},standalone:!1,ngContentSelectors:["*"],decls:24,vars:19,consts:[["box",""],["initialFocus",""],["finalFocus",""],[1,"search-form-container","keep-focus-ring",3,"clickOutside"],[1,"search-box-container"],["type","button","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"],["type","button","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"],["type","button","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"],["type","button","mat-flat-button","",1,"medium",3,"click","disabled"],["target","_blank",1,"keep-underline","search-help-link"],["svgIcon","pop-out",1,"icon-xs"],[1,"save-search-container"],["type","text",
"aria-label","Enter the name for saving this search.","placeholder","Save search as",3,"ngModelChange","keydown.Tab","keydown.enter","ngModel"],["type","button","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=v();Ig();I(0,"div",3);M("clickOutside",function(){w(c);tdd(b);return x()});I(1,"div",4)(2,"button",5);M("click",function(){w(c);return x(rdd(b))});K(3,"mat-icon",
6);J();I(4,"textarea",7,0);M("keydown",function(d){w(c);return x(b.handleKeydown(d))})("input",function(){w(c);var d=L(5);return x(sdd(b,d.value))})("click",function(){w(c);var d=L(5);return x(sdd(b,d.value))})("focus",function(){w(c);return x(b.onInputFocus())});J();I(6,"button",8);M("click",function(){w(c);b.dropdownStatus="advanced_search";b.onAdvancedSearchOpen.emit();return x()});K(7,"mat-icon",9);J()();I(8,"aside",10)(9,"b-app-search-auto-complete-list",11);M("itemSelected",function(d){w(c);
return x(b.autoCompleteItemSelected$.next(d))});J();I(10,"div",12)(11,"div",13)(12,"button",14,1);M("keydown",function(d){w(c);return x(xdd(b,d))})("click",function(){w(c);return x(udd(b))});K(14,"mat-icon",15);J()();I(15,"div",16);Jg(16);J();I(17,"div",17)(18,"button",18);M("click",function(){w(c);return x(b.submitAdvancedSearch())});Q(19," Search ");J();I(20,"a",19);Q(21,"Search help ");K(22,"mat-icon",20);J();D(23,qHb,5,2,"div",21);J()()()()}a&2&&(sg("dropdown-opened",S4(b)||vdd(b)||wdd(b)),B(),
sg("hidden",wdd(b)),B(3),E("placeholder",b.placeholder),jg("aria-activedescendant",ndd(b.acList))("aria-expanded",S4(b)||vdd(b)),B(4),sg("advanced-search-open",wdd(b)),B(),sg("hidden",!(S4(b)||vdd(b))),E("items",b.autoCompleteItems)("header",b.autoCompleteHeader),B(),sg("hidden",!wdd(b)),B(2),E("disabled",b.isSearchDisabled),B(6),E("disabled",b.isSearchDisabled),B(2),jg("href",b.searchHelpLink,vf),B(3),G(b.isAnonymous?-1:23))},dependencies:[pB,nx,eB,jy,ly,mB,rB,oi,Gy,Ny,KH,qz,Q4],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 ydd=function(){this.activeSession=r(Bu);this.logoEnvironmentType="QA";this.logoFrontendAccessMode="INTERNAL";this.isSearchDisabled=!1;this.searchBoxPlaceholder="";this.searchBoxAutoCompleteItems=[];this.searchBoxAutoCompleteHeader=null;this.searchBoxOnAdvancedSearchOpen=new aB;this.searchBoxOnAdvancedSearchClose=new aB;this.searchBoxOnAdvancedSearchSubmit=new aB;this.searchBoxOnSaveSearch=new aB;this.currentTracker=this.activeSession.getTracker()},zdd=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()})};ydd.\u0275fac=function(a){return new (a||ydd)};
ydd.\u0275cmp=C({type:ydd,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"},standalone:!1,ngContentSelectors:["*"],decls:7,vars:7,consts:[[3,"environmentType","frontendAccessMode","tracker"],[1,"skip-navigation-wrapper"],["type","button","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(),K(0,"b-app-logo",0),I(1,"div",1)(2,"button",2),M("click",function(){return zdd()})("keydown.enter",function(){return zdd()}),Q(3," Skip Navigation "),J()(),I(4,"b-app-search-box",3),M("onAdvancedSearchOpen",function(){return b.searchBoxOnAdvancedSearchOpen.emit()})("onAdvancedSearchClose",function(){return b.searchBoxOnAdvancedSearchClose.emit()})("onAdvancedSearchSubmit",function(){return b.searchBoxOnAdvancedSearchSubmit.emit()})("onSaveSearch",function(c){return b.searchBoxOnSaveSearch.emit(c)}),
Jg(5),J(),K(6,"b-app-actions"));a&2&&(E("environmentType",b.logoEnvironmentType)("frontendAccessMode",b.logoFrontendAccessMode)("tracker",b.currentTracker),B(4),E("placeholder",b.searchBoxPlaceholder)("autoCompleteItems",b.searchBoxAutoCompleteItems)("autoCompleteHeader",b.searchBoxAutoCompleteHeader)("isSearchDisabled",b.isSearchDisabled))},dependencies:[eB,jy,O4,M4,R4],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 T4=function(){};T4.\u0275fac=function(a){return new (a||T4)};T4.\u0275mod=Cf({type:T4});T4.\u0275inj=p({imports:[lC,XI,mC,AP]});var U4=function(){};U4.\u0275fac=function(a){return new (a||U4)};U4.\u0275mod=Cf({type:U4});U4.\u0275inj=p({imports:[lC,mC,bN,pC]});var V4=function(){};V4.\u0275fac=function(a){return new (a||V4)};V4.\u0275mod=Cf({type:V4});V4.\u0275inj=p({imports:[lC,mC,pC]});var W4=function(){};W4.\u0275fac=function(a){return new (a||W4)};W4.\u0275mod=Cf({type:W4});W4.\u0275inj=p({imports:[lC]});var X4=function(){};X4.\u0275fac=function(a){return new (a||X4)};X4.\u0275mod=Cf({type:X4});X4.\u0275inj=p({providers:[ZP]});var Y4=function(){};Y4.\u0275fac=function(a){return new (a||Y4)};Y4.\u0275mod=Cf({type:Y4});Y4.\u0275inj=p({imports:[lC,mC,pC,X4]});var Z4=function(){};Z4.\u0275fac=function(a){return new (a||Z4)};Z4.\u0275mod=Cf({type:Z4});Z4.\u0275inj=p({imports:[lC,bN,mC,xQ,pC,sx,bz,LH,U4,k0,V4,ON,rz,W4,Y4,T4,wP]});var a5=function(){};a5.\u0275fac=function(a){return new (a||a5)};a5.\u0275mod=Cf({type:a5});a5.\u0275inj=p({imports:[lC,mC,XI]});var b5=function(){};b5.\u0275fac=function(a){return new (a||b5)};b5.\u0275mod=Cf({type:b5});b5.\u0275inj=p({imports:[lC,bz,mC,bR,lN,XI,YU]});var c5=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 aB;this.selectedChange=new aB;this.cardTitleChange=new aB;this.onSaveButtonClicked=new aB;this.onCancelButtonClicked=
new aB;this.isInheritedChange=new aB;this.isExpanded=!1};c5.prototype.expand=function(){this.isExpanded=!0};c5.prototype.collapse=function(){this.isExpanded=!1};c5.prototype.onSave=function(){this.collapse();this.onSaveButtonClicked.emit()};c5.prototype.onCancel=function(){this.collapse();this.onCancelButtonClicked.emit()};c5.\u0275fac=function(a){return new (a||c5)};
c5.\u0275cmp=C({type:c5,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"},standalone:!1,ngContentSelectors:["*"],decls:10,vars:12,consts:[[1,"carded"],[1,"flex-kids-x","flex-cross-axis-centered","card-header"],[1,"collapsible-card-checkbox",3,"change","disabled","checked","aria-label"],
[1,"card-title","heading-s",3,"muted"],["type","button","mat-icon-button","",3,"click","ngClass"],["svgIcon","chevron-left"],["svgIcon","arrow-down"],[1,"expanded-card-container"],[1,"expanded-card-actions"],[1,"card-title","heading-s"],["appearance","fill","subscriptSizing","dynamic",1,"card-title"],["matInput","","type","text","required","","aria-required","true","maxlength","40","autocomplete","off",1,"heading-s",3,"ngModelChange","placeholder","disabled","ngModel"],["appearance","outline",1,"type-dropdown"],
[3,"valueChange","selectionChange","disabled","value"],[1,"ee-config-option",3,"value"],[1,"icon-s",3,"svgIcon"],["type","button","mat-raised-button","","color","primary",3,"click","disabled"],["type","button","mat-button","","color","primary",1,"cancel-button",3,"click","disabled"],["type","button","mat-icon-button","","aria-label","Delete",1,"delete-button",3,"disabled"],[3,"vertical"],["labelPosition","before",3,"disabled"],["labelPosition","before",1,"inherited-toggle",3,"checked","disabled",
"matTooltip","matTooltipDisabled"],["svgIcon","delete",1,"icon-m"],["labelPosition","before",1,"inherited-toggle",3,"change","checked","disabled","matTooltip","matTooltipDisabled"]],template:function(a,b){a&1&&(Ig(),I(0,"div",0)(1,"div",1)(2,"mat-checkbox",2),M("change",function(c){b.selected=c.checked;b.expand();b.selectedChange.emit(b.selected)}),J(),D(3,rHb,2,3,"span",3)(4,wHb,3,7),I(5,"button",4),M("click",function(){b.isExpanded?b.collapse():b.expand()}),D(6,xHb,1,0,"mat-icon",5)(7,yHb,1,0,"mat-icon",
6),J()(),D(8,zHb,2,0,"div",7)(9,EHb,9,6,"div",8),J());a&2&&(jg("aria-expanded",b.isExpanded),B(2),sg("expanded-checkbox",b.isExpanded),E("disabled",b.disabled)("checked",b.selected)("aria-label",b.cardTitle),B(),G(b.isExpanded?4:3),B(2),E("ngClass",b.isExpanded?"collapse-toggle":"expand-toggle"),jg("aria-label",b.isExpanded?"Collapse editor":"Expand editor"),B(),G(b.isExpanded?6:7),B(2),G(b.isExpanded?8:-1),B(),G(b.isExpanded?9:-1))},dependencies:[aw,pB,oi,Gy,Yy,Zy,Ny,RH,SH,eB,jy,ly,fQ,gQ,yL,lz,fz,
NL,OL,Zx,kN,oQ,aR,sz,mB,rB],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 d5=function(){};d5.\u0275fac=function(a){return new (a||d5)};d5.\u0275mod=Cf({type:d5});d5.\u0275inj=p({imports:[lC,bz,jN,mC,iQ,nN,xQ,bR,pC]});var Add=function(){this.dialogRef=r(mI);this.data=r(sI);this.selected=this.data.sharedFields[0];this.options=this.data.sharedFields};Add.\u0275fac=function(a){return new (a||Add)};
Add.\u0275cmp=C({type:Add,selectors:[["activate-shared-field-dialog"]],standalone:!1,decls:11,vars:2,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["mat-dialog-actions",""],["type","button","mat-button","",1,"medium",3,"click"],["type","button","mat-flat-button","","color","primary","cdkFocusInitial","",1,"medium",3,"click"],[3,"valueChange","value"],[3,"value"],["href","http://go/buganizer/concepts/custom-fields#shared-custom-field","target","_blank"]],template:function(a,b){a&1&&(I(0,
"h1",0),Q(1,"Activate a shared field"),J(),I(2,"div",1),D(3,GHb,4,1,"mat-form-field")(4,HHb,1,0)(5,IHb,4,0,"div"),J(),I(6,"footer",2)(7,"button",3),M("click",function(){return b.dialogRef.close()}),Q(8,"Cancel"),J(),I(9,"button",4),M("click",function(){return b.dialogRef.close(b.selected)}),Q(10,"Confirm"),J()());a&2&&(B(3),G(b.options.length>0?3:4),B(2),G(b.options.length>0?5:-1))},dependencies:[eB,jy,yL,lz,NL,Zx,kN,wI,yI,xI],encapsulation:2});var e5=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,e5.messageId)};Y(e5,V);e5.prototype.getIt=function(){return W(this,En,4)};e5.prototype.setIt=function(a){return X(this,En,4,a)};e5.messageId="b.FieldConfig";var Bdd=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Bdd,V);g=Bdd.prototype;g.getComponentId=function(){return dv(this,1)};g.getComponentId_asLegacyNumberOrString=function(){return Qk(this,1)};g.getComponentId_asString=function(){return Wk(this,1)};g.setComponentId=function(a){return jm(this,1,a)};g.setFieldId=function(a){return Uu(this,2,qm,a)};var f5=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,f5.messageId)};Y(f5,V);f5.prototype.getIt=function(){return W(this,Bdd,2)};f5.prototype.setIt=function(a){return X(this,Bdd,2,a)};f5.messageId="b.ReorderFieldsRequest";var g5=function(){this.executor=r(MC)};g5.prototype.updateCustomFieldState=function(a,b,c){var d={customFieldId:b};var e=new e5;var f=e.setIt;d=(new En).setFieldId(Kya(d));c=ck(d,4,Vfc[c]);c=Cm(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:e5}).pipe(z(JHb))};
g5.prototype.reorder=function(a,b){var c=new f5,d=c.setIt;var e=(new Bdd).setComponentId(a);b=b.map(Kya);e=$m(e,2,b);c=d.call(c,e);return this.executor.post({url:"action/components/"+a+"/reorder",body:c,responseConstructor:null})};g5.\u0275fac=function(a){return new (a||g5)};g5.\u0275prov=n({token:g5,factory:g5.\u0275fac,providedIn:"root"});var Cdd=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Cdd,V);g=Cdd.prototype;g.getComponentId=function(){return dv(this,1)};g.getComponentId_asLegacyNumberOrString=function(){return Qk(this,1)};g.getComponentId_asString=function(){return Wk(this,1)};g.setComponentId=function(a){return jm(this,1,a)};g.getCustomFieldId_asLegacyNumberOrString=function(){return Qk(this,2)};g.getCustomFieldId_asString=function(){return Wk(this,2)};g.setCustomFieldId=function(a){return jm(this,2,a)};var Ddd=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Ddd,V);g=Ddd.prototype;g.getComponentId=function(){return dv(this,1)};g.getComponentId_asLegacyNumberOrString=function(){return Qk(this,1)};g.getComponentId_asString=function(){return Wk(this,1)};g.setComponentId=function(a){return jm(this,1,a)};g.getCustomFieldId_asLegacyNumberOrString=function(){return Qk(this,2)};g.getCustomFieldId_asString=function(){return Wk(this,2)};g.setCustomFieldId=function(a){return jm(this,2,a)};var h5=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,h5.messageId)};Y(h5,V);h5.prototype.getIt=function(){return W(this,Cdd,1)};h5.prototype.setIt=function(a){return X(this,Cdd,1,a)};h5.messageId="b.AddSharedCustomFieldToComponentRequest";var i5=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,i5.messageId)};Y(i5,V);i5.prototype.getIt=function(){return W(this,Ddd,1)};i5.prototype.setIt=function(a){return X(this,Ddd,1,a)};i5.messageId="b.RemoveSharedCustomFieldFromComponentRequest";var j5=function(){this.executor=r(NC)};j5.prototype.add=function(a,b){var c="/action/components/"+a+"/add_shared_custom_field";a=(new h5).setIt((new Cdd).setComponentId(a).setCustomFieldId(b));return this.executor.post({url:c,body:a,responseConstructor:null})};j5.prototype.remove=function(a,b){var c="/action/components/"+a+"/remove_shared_custom_field";a=(new i5).setIt((new Ddd).setComponentId(a).setCustomFieldId(b));return this.executor.post({url:c,body:a,responseConstructor:null})};
j5.\u0275fac=function(a){return new (a||j5)};j5.\u0275prov=n({token:j5,factory:j5.\u0275fac,providedIn:"root"});var Edd=["fieldStateMenu"],NHb=function(a){return{type:a}},Fdd=["SILENT","MINOR","MAJOR"],Gdd=[{customFieldId:1049928,name:"Start Date"},{customFieldId:1049953,name:"End Date"},{customFieldId:1049954,name:"Risk"},{customFieldId:1255458,name:"Commitment Level"},{customFieldId:1350993,name:"Requirements doc"},{customFieldId:1350984,name:"Design doc"},{customFieldId:1351039,name:"Mocks url"}],Hdd=[{customFieldId:192850,name:"Start Date"},{customFieldId:192876,name:"End Date"},{customFieldId:194618,name:"Risk"},
{customFieldId:207778,name:"Commitment Level"},{customFieldId:218363,name:"Requirements doc"},{customFieldId:218337,name:"Design doc"},{customFieldId:218261,name:"Mocks url"}],k5=function(){Z.apply(this,arguments);this.customFieldsApi=r(dE);this.checkBeforeExit=r(zS);this.butterBar=r(fH);this.analytics=r(OF);this.routeParams=r(YI);this.componentActions=r(oR);this.fieldConfigService=r(g5);this.sharedCustomFieldApi=r(j5);this.documentationLinks=r(lI);this.paths=r(IP);this.confirmationDialog=r(AI);this.appEvents=
r(yD);this.dialog=r(tI);this.activeSession=r(Bu);this.ROUTES=Qq;this.FieldType=AQ;this.ListFieldType=rIc;this.getSingleEditFieldType=YTa;this.getListFieldType=PVa;this.isRepeated=Gya;this.typeChoices=["TEXT","DATE","ENUM","NUMERIC"];this.secondaryTypes=["Single","Multiple"];this.significanceChoices=Fdd;this.customFields=[];this.inheritedCustomFields=[];this.sharedFields=[];this.componentIdsToNames={};this.isLoading=!1;this.editableField=null;this.allowedValues=[];this.originalEditableFieldValue=null;
this.componentId=uj(this.routeParams.componentId);this.msgFieldStateTip="Whether the field is visible in this component"};Y(k5,Z);k5.\u0275dir=Z.\u0275dir;k5.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(AS(this.checkBeforeExit,function(){return a.hasUnsavedChanges()},!0));this.loadCustomFields()};
k5.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};
k5.prototype.editField=function(a){window.scrollTo({top:0,behavior:"smooth"});if(!this.hasUnsavedChanges()||VLc(this.checkBeforeExit))this.editableField=pj(this.customFields[a]),this.originalEditableFieldValue=pj(this.editableField),this.serverError=null,this.setType(this.editableField.type),RHb(this,this.editableField.allowedValue)};
var cIb=function(a,b){var c=a.customFields[b];a.confirmationDialog.open({title:"Deleting field: "+c.name,content:wi("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)}})};
k5.prototype.doDelete=function(a){var b=this;jq(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");jq(b.butterBar,"Deleted field: "+a.name,2E3);b.loadCustomFields()})};
k5.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=$o(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)};
k5.prototype.updateCustomFieldState=function(a,b,c){var d=this;return new Promise(function(e,f){d.fieldConfigService.updateCustomFieldState(d.componentId,a.customFieldId,b).pipe(Zf(d.destroyed$)).subscribe(function(){a:{switch(b){case "INHERIT":var h="Inherit ("+(d.fieldsEnabledOnParentComponent.get(a.customFieldId)?"Enabled":"Disabled")+")";break a;case "DISABLED":h="Disabled";break a;case "ENABLED":h="Enabled";break a}h=void 0}d.analytics.trackEvent("customField","updateFieldConfig",h);d.componentActions.getUncached(d.componentId).then(function(){return d.loadCustomFields(!0)}).then(function(){setTimeout(function(){var l,
q;(l=d.fieldStateMenus)==null||(q=l.get(c))==null||q.focus()})}).then(function(){e(void 0)})},function(h){d.serverError=$o(h);d.isLoading=!1;f(h)})})};k5.prototype.cancel=function(){this.originalEditableFieldValue=this.editableField=null};
var UHb=function(a,b){var c=a.editableField.type,d=c==="TEXT"&&qj(b)?b:void 0,e=c==="DATE"&&b&&GDa(b)?b:void 0,f=c==="ENUM"&&qj(b)?b:void 0,h=c==="NUMERIC"&&Qta(b)?b:void 0,l=c==="REPEATED_TEXT"&&rj(b)?{values:b}:void 0,q=c==="REPEATED_DATE"&&Array.isArray(b)&&b.every(GDa)?{values:b}:void 0,u=c==="REPEATED_ENUM"&&rj(b)?{values:b}:void 0;b=c==="REPEATED_NUMERIC"&&Rta(b)?{values:b}:void 0;a.editableField.typedDefaultValue={customFieldId:a.editableField.customFieldId,textValue:d,dateValue:e,enumValue:f,
numericValue:h,repeatedTextValue:l,repeatedDateValue:q,repeatedEnumValue:u,repeatedNumericValue:b}};k5.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 RHb=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}}):[]};k5.prototype.hasUnsavedChanges=function(){return this.editableField&&!oj(this.editableField,this.originalEditableFieldValue)?!0:!1};
k5.prototype.loadCustomFields=function(a){var b=this;a=a===void 0?!1:a;a||(this.isLoading=!0);return this.componentActions.get(this.componentId).then(function(c){var d,e=((d=c.componentPathInfo)==null?void 0:d.allCustomField)||[];d=[];b.componentIdsToNames={};var f,h=((f=c.componentPathInfo)==null?void 0:f.componentPathId)||[];for(f=0;f<h.length;f++)d.push(c.componentPathInfo.componentPathName[f]),b.componentIdsToNames[c.componentPathInfo.componentPathId[f]]=d.join(" > ");b.editableField=null;b.originalEditableFieldValue=
null;a||(b.isLoading=!1);c=function(l,q){return hu(l.name,q.name)};b.customFields=e.filter(function(l){return b.componentId===l.componentId}).sort(c);b.inheritedCustomFields=e.filter(function(l){return b.componentId!==l.componentId&&!l.shared}).sort(c);b.sharedFields=e.filter(function(l){return b.componentId!==l.componentId&&l.shared});b.appEvents.customFieldsModified.next(e)})};var iIb=function(a,b){return a.fieldsEnabledOnParentComponent.has(b)?a.fieldsEnabledOnParentComponent.get(b):!0};
k5.prototype.trackClick=function(a){this.analytics.trackEvent("editComponent","click",a)};var VHb=function(a){var b;return(a=(b=a.editableField)==null?void 0:b.typedDefaultValue)?Fo(a):null};k5.prototype.getListFieldValues=function(){var a,b=(a=this.editableField)==null?void 0:a.typedDefaultValue,c,d;return(d=(c=b?Fo(b):null)==null?void 0:c.values)!=null?d:null};k5.prototype.setFieldSignificance=function(a){this.editableField.fieldSignificance=a};
var sIb=function(a){var b={sharedFields:tIb(a)};nI(a.dialog.open(Add,{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()})})},nIb=function(a,b){a.confirmationDialog.open({title:"Deactivate shared field",content:wi("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()})}})},tIb=function(a){if(!a.activeSession.isInternalSession())return[];var b=El(a.activeSession.session)?Gdd:Hdd,c=a.sharedFields.map(function(d){return d.customFieldId});return b.filter(function(d){return!c.includes(d.customFieldId)})};k5.\u0275fac=function(){var a;return function(b){return(a||(a=ee(k5)))(b||k5)}}();
k5.\u0275cmp=C({type:k5,selectors:[["b-component-custom-fields"]],viewQuery:function(a,b){a&1&&Rg(Edd,5);if(a&2){var c;Vg(c=Wg())&&(b.fieldStateMenus=c)}},inputs:{editMode:"editMode",isSaving:"isSaving",component:"component",parentComponent:"parentComponent"},standalone:!1,features:[cg,rv],decls:4,vars:2,consts:[["typeHelp",""],["enumMenu","matMenu"],["secondaryMenu","matMenu"],["significanceHelp",""],["significanceMenu","matMenu"],["card","onedevHovercard"],["cardBody",""],["fieldStateMenu",""],
[1,"edit-resource-panel","edit-component-field-parent"],[1,"edit-custom-field-panel"],[1,"custom-fields-loader"],[1,"bv2-validation-error-banner"],["name","editForm",1,"edit-custom-field-form"],[1,"edit-field"],["for","field-name",1,"help-label"],["name","fieldName","type","text","required","","id","field-name",3,"ngModelChange","bFocus","ngModel","disabled"],["for","field-description",1,"help-label"],["name","fieldDescription","id","field-description",3,"ngModelChange","ngModel","disabled"],[1,"edit-custom-field-table"],
[1,"field-label-with-help","bv2-component-custom-field-label"],["id","field-type-label",1,"help-label",3,"onedevHovercardTrigger"],["role","dialog","aria-label","Type help hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],["type","button","mat-button","","mat-stroked-button","","aria-labelledby","field-type-label",1,"bv2-enum-field",3,"matMenuTriggerFor","disabled"],["name","arrow-dropdown","size","small"],["type","button","mat-menu-item","",3,"matMenuTriggerFor","matMenuTriggerData"],
["matMenuContent",""],["id","field-default-label",1,"bv2-component-custom-field-label"],["aria-labelledby","field-default-label",3,"name","type","tooltip","value","choices","showEnumTitle","disabled","truncate","clearable"],["id","field-repeated-default-label",1,"bv2-component-custom-field-label"],["aria-labelledby","field-repeated-default-label",3,"defaultLineCount","type","tooltip","values","enumChoices","isDefaultOrAllowedValues","listFieldDisabled","truncate"],["id","field-required-label",1,"bv2-component-custom-field-label"],
["aria-labelledby","field-required-label",3,"valueChange","name","type","tooltip","value"],["id","field-significance-label","tabindex","0","aria-label","Field Significance - Press alt+right arrow to learn more.",1,"help-label",3,"onedevHovercardTrigger"],[1,"onedev-hovercard-content"],["aria-label","See email settings for more details.","target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],["mat-button","","mat-stroked-button","","type","button","aria-labelledby","field-significance-label",
1,"keep-focus-ring","bv2-enum-field",3,"matMenuTriggerFor"],["mat-menu-item","","type","button"],["mat-raised-button","","color","primary","type","button",3,"click","disabled"],["mat-stroked-button","","type","button",3,"click"],["type","button","mat-menu-item",""],["type","button","mat-menu-item","",3,"click"],["id","field-enums-label",1,"bv2-component-custom-field-label"],["aria-labelledby","field-enums-label",3,"valuesChange","defaultLineCount","type","values","listFieldDisabled","preventDuplicates",
"isDefaultOrAllowedValues","truncate"],["aria-labelledby","field-default-label",3,"valueChange","name","type","tooltip","value","choices","showEnumTitle","disabled","truncate","clearable"],["aria-labelledby","field-repeated-default-label",3,"valuesChange","defaultLineCount","type","tooltip","values","enumChoices","isDefaultOrAllowedValues","listFieldDisabled","truncate"],["mat-menu-item","","type","button",3,"click"],[3,"large"],[1,"custom-fields-table"],[3,"ngClass"],[1,"edit-button-row"],[3,"customFieldValue"],
[1,"action-buttons"],["type","button","mat-stroked-button","",3,"click"],["colspan","9",1,"custom-fields-inherited-parent"],["colspan","9"],[1,"ancestor-component-note"],[1,"header-label"],[3,"click","onedevHovercardTrigger","href"],[4,"onedevHovercardLazyBody"],[3,"fieldName","fieldState","enabledOnParent","disabled","matTooltip"],[3,"onedevIsHovercardReady","componentId"],[3,"fieldStateChange","fieldName","fieldState","enabledOnParent","disabled","matTooltip"],[1,"enabled-field"],["type","button",
"mat-stroked-button","",3,"click","disabled","matTooltip"],["routerLink","./","fragment","fieldOrdering",1,"keep-underline"],["type","button","mat-raised-button","","color","primary",3,"click"],["type","button","mat-flat-button","",3,"click","disabled"]],template:function(a,b){a&1&&(I(0,"div",8),D(1,$Hb,70,29,"div",9)(2,aIb,2,1,"div",10)(3,vIb,29,8,"div"),J());a&2&&(B(),G(b.editableField&&!b.isLoading?1:-1),B(),G(b.isLoading?2:3))},dependencies:[aw,VA,Oy,oi,Gy,Hy,Yy,Ny,Ly,jR,zQ,DM,C3,$H,aI,fI,bI,
lR,mB,rB,xL,IL,GL,HL,JL,eB,jy,Z1,e1,sL,cC,bC,eC],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 l5=function(){};l5.\u0275fac=function(a){return new (a||l5)};l5.\u0275mod=Cf({type:l5});l5.\u0275inj=p({imports:[lC,bz,kR,BQ,fP,D3,WM,iY,pC,bN,mC,nN,a2,f1,hC,BP,XI]});var m5=function(){this.options=[];this.disabled=!1;this.removeAtIndex=new aB;this.addRow=new aB;this.optionsChange=new aB};m5.prototype.valueChange=function(a,b){this.options[b].value=Number(a.target.value);this.optionsChange.emit(this.options)};m5.prototype.drop=function(a){br(this.options,a.previousIndex,a.currentIndex);this.optionsChange.emit(this.options)};m5.\u0275fac=function(a){return new (a||m5)};
m5.\u0275cmp=C({type:m5,selectors:[["b-config-grid"]],inputs:{options:"options",disabled:"disabled"},outputs:{removeAtIndex:"removeAtIndex",addRow:"addRow",optionsChange:"optionsChange"},standalone:!1,decls:12,vars:6,consts:[["displayInput","matInput"],["valueInput","matInput"],[1,"flex-kids-x"],[1,"padded-sides","heading-xs","flex-kids-y"],[1,"config-title","config-title-container"],[1,"padded-sides","heading-xs","config-title-container","flex-kids-x"],["aria-label","Average days. All estimated effort types map to an average number of days.",
1,"config-title"],["svgIcon","help-outline","tabindex","0","aria-hidden","false","aria-label","All estimated effort types map to an average number of days.",1,"icon-xs",3,"matTooltip"],["cdkDropList","",1,"options-container",3,"cdkDropListDropped"],["cdkDrag",""],["type","button","mat-button","",1,"add-row-button"],[1,"flex-kids-x","flex-cross-axis-centered","option-row"],["cdkDragHandle","","svgIcon","drag-indicator",1,"drag-handle"],["subscriptSizing","dynamic",3,"appearance"],["matInput","","aria-label",
"Dropdown value","autocomplete","off","maxlength","40",1,"input-text",3,"change","value","placeholder","disabled"],["matInput","","aria-label","Average days","autocomplete","off","type","number",1,"input-text",3,"change","value","placeholder","disabled"],["type","button","mat-icon-button",""],["type","button","mat-icon-button","",3,"click"],["svgIcon","close",1,"icon-s","delete-icon"],["type","button","mat-button","",1,"add-row-button",3,"click"]],template:function(a,b){a&1&&(I(0,"div",2)(1,"div",
3)(2,"span",4),Q(3," Dropdown value "),J()(),I(4,"div",5)(5,"span",6),Q(6," Average days "),J(),K(7,"mat-icon",7),J()(),I(8,"div",8),M("cdkDropListDropped",function(c){return b.drop(c)}),yg(9,xIb,12,13,"div",9,xg),J(),D(11,yIb,2,0,"button",10));a&2&&(B(2),sg("muted",b.disabled),B(3),sg("muted",b.disabled),B(2),E("matTooltip","All estimated effort types map to an average number of days."),B(2),zg(b.options),B(2),G(b.disabled?-1:11))},dependencies:[pB,aR,sz,lz,kN,eB,jy,ly,mB,rB,hR,gR,eR],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 n5=function(){this.disabled=!1;this.valueChange=new aB};n5.prototype.onValueChange=function(a){this.valueChange.emit(Number(a.target.value))};n5.\u0275fac=function(a){return new (a||n5)};
n5.\u0275cmp=C({type:n5,selectors:[["b-numeric-config"]],inputs:{disabled:"disabled",value:"value"},outputs:{valueChange:"valueChange"},standalone:!1,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=v();I(0,"div",1)(1,"div",2)(2,"span",3);Q(3," Time ");J();I(4,"span",4);Q(5,"1");J()();I(6,"div",2)(7,"div",5)(8,"span",6);Q(9," Average days ");J();K(10,
"mat-icon",7);J();I(11,"mat-form-field",8)(12,"input",9,0);M("change",function(d){w(c);return x(b.onValueChange(d))});J()()()()}a&2&&(B(2),sg("muted",b.disabled),B(6),sg("muted",b.disabled),B(2),E("matTooltip","All estimated effort types map to an average number of days."),B(),E("appearance","outline"),B(),E("disabled",b.disabled)("value",b.value))},dependencies:[pB,aR,sz,lz,kN,mB,rB],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 p5=function(){this.activeSession=r(Bu);this.disabled=!1;this.updateEffortSpec=new aB;this.configurationOptions=[Idd,Jdd,o5];this.estimatedEffortFieldEnabled=this.inherit=!1;this.name="Estimated effort";this.numericSpecMultiplier=1;this.enumSpecOptions=[];this.aggregationRules=Jgc;this.selectedAggregationRule=this.aggregationRules.SUM;this.enableAggregationRules=Vt(this.activeSession,"enableAggregationRules")};
p5.prototype.ngOnInit=function(){(this.originalEffortSpec=this.effortSpec)&&this.effortSpec.numericSpec&&(this.originalSelectedEffortConfig=o5)};p5.prototype.ngOnChanges=function(a){a.effortSpec&&this.effortSpec&&(this.originalEffortSpec=pj(this.effortSpec),this.setValues(this.effortSpec))};
p5.prototype.setValues=function(a){if(a.numericSpec){this.selectedEffortConfig=o5;var b,c,d;this.numericSpecMultiplier=(d=(b=this.effortSpec)==null?void 0:(c=b.numericSpec)==null?void 0:c.multiplier)!=null?d:1}if(a.enumSpec){this.selectedEffortConfig=void 0;var e,f;this.enumSpecOptions=((f=(e=a.enumSpec)==null?void 0:e.options)!=null?f:[]).map(function(l){return{label:l.label,value:l.value}})}var h;this.inherit=(h=a.inherit)!=null?h:!1;this.name=a.name===""?"Estimated effort":a.name||"";if(a.enumSpec||
a.numericSpec)this.estimatedEffortFieldEnabled=!0;a.aggregationType!==void 0&&a.aggregationType!==this.aggregationRules.AGGREGATION_TYPE_UNSPECIFIED&&(this.selectedAggregationRule=a.aggregationType)};
var Kdd=function(a){var b,c,d;if(((b=a.effortSpec)==null?0:b.enumSpec)&&!a.selectedEffortConfig||((c=a.selectedEffortConfig)==null?void 0:c.displayText)===Idd.displayText||((d=a.selectedEffortConfig)==null?void 0:d.displayText)===Jdd.displayText)return"enum";var e;return((e=a.selectedEffortConfig)==null?void 0:e.displayText)===o5.displayText?"numeric":"empty"};p5.prototype.addRow=function(){this.enumSpecOptions.push({label:null,value:null})};
p5.prototype.isSaveButtonDisabled=function(){var a;if(!(a=this.disabled||this.selectedEffortConfig===void 0&&this.effortSpec===void 0&&this.estimatedEffortFieldEnabled&&!this.inherit||this.name==="")){a:{a=k(this.enumSpecOptions);for(var b=a.next();!b.done;b=a.next())if(b=b.value,!b.label||b.value===null){a=!1;break a}a=!0}a=!a}return a};var Ldd=function(a){a.selectedEffortConfig=void 0;a.enumSpecOptions=[];a.effortSpec=void 0;a.name="Estimated effort"};p5.\u0275fac=function(a){return new (a||p5)};
p5.\u0275cmp=C({type:p5,selectors:[["b-estimated-effort-config"]],inputs:{effortSpec:"effortSpec",parentEffortSpec:"parentEffortSpec",disabled:"disabled"},outputs:{updateEffortSpec:"updateEffortSpec"},standalone:!1,features:[rv],decls:8,vars:11,consts:[["enumConfig",""],["placeholderForCardTitle","Enter the estimated effort field title (required)","ariaLabelForCardTitle","Estimated effort field title",3,"cardTitleChange","dropdownSelectionChanged","onSaveButtonClicked","selectedChange","onCancelButtonClicked",
"isInheritedChange","cardTitle","dropdownOptions","selectedOption","disabled","selected","isSaveButtonDisabled","showInheritedToggle","isInherited","inheritedDisabled"],[1,"content"],[3,"disabled","value"],[1,"margin-top"],[4,"ngTemplateOutlet"],[3,"valueChange","disabled","value"],["id","aggregation-rule-label",1,"aggregation-rule-label","config-label","heading-xs","margined"],"mat-icon-button;;matTooltip;Learn more about the aggregation rules;href;http://go/wtdm-home#aggregation;target;_blank".split(";"),
["svgIcon","help-outline",1,"icon-s","gfx-muted"],["appearance","outline",1,"static-label","margined"],["aria-labelledby","aggregation-rule-label","panelClass","multi-line-select",3,"valueChange","value","disabled"],[1,"multi-line",3,"value"],[1,"title"],[1,"help-text"],[3,"optionsChange","addRow","removeAtIndex","options","disabled"]],template:function(a,b){if(a&1){var c=v();I(0,"b-collapsible-card",1);bh("cardTitleChange",function(e){w(c);ah(b.name,e)||(b.name=e);return x(e)});M("dropdownSelectionChanged",
function(e){w(c);b.selectedEffortConfig=e;e.displayText===Idd.displayText?(b.enumSpecOptions=[].concat(t(Mdd)),b.name="Story points"):e.displayText===Jdd.displayText?(b.enumSpecOptions=[].concat(t(Ndd)),b.name="T-shirt sizes"):e.displayText===o5.displayText&&(b.numericSpecMultiplier=1,b.name="Days");b.estimatedEffortFieldEnabled=!0;return x()})("onSaveButtonClicked",function(){w(c);if(b.estimatedEffortFieldEnabled){var e={name:b.name,inherit:b.inherit};b.enableAggregationRules&&(e.aggregationType=
b.selectedAggregationRule);b.originalEffortSpec&&b.originalEffortSpec.customFieldId!==0&&(e.customFieldId=b.originalEffortSpec.customFieldId);var f;if(((f=b.selectedEffortConfig)==null?void 0:f.displayText)===o5.displayText)e.numericSpec={multiplier:b.numericSpecMultiplier};else if(b.enumSpecOptions.length>0){f=[];for(var h=k(b.enumSpecOptions),l=h.next();!l.done;l=h.next())l=l.value,l.label&&l.value!==null&&f.push({label:l.label,value:l.value});e.enumSpec={options:f}}b.updateEffortSpec.emit(e)}else b.updateEffortSpec.emit({name:"",
inherit:!1});return x()})("selectedChange",function(e){w(c);b.estimatedEffortFieldEnabled=e;b.estimatedEffortFieldEnabled||Ldd(b);return x()})("onCancelButtonClicked",function(){w(c);b.effortSpec=b.originalEffortSpec;b.selectedEffortConfig=b.originalSelectedEffortConfig;b.effortSpec?b.setValues(b.effortSpec):(b.estimatedEffortFieldEnabled=!1,Ldd(b));return x()})("isInheritedChange",function(e){w(c);(e=e.checked)?(b.setValues(b.parentEffortSpec?b.parentEffortSpec:{name:"Estimated effort"}),b.effortSpec=
b.parentEffortSpec,b.effortSpec||Ldd(b)):b.effortSpec&&(b.setValues({}),Ldd(b));b.inherit=e;return x()});I(1,"div",2);D(2,AIb,1,1,"ng-container")(3,BIb,1,2,"b-numeric-config",3)(4,CIb,0,0);J();D(5,DIb,23,13,"div",4);J();D(6,EIb,1,2,"ng-template",null,0,ih)}if(a&2){var d;$g("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);B(2);G((d=Kdd(b))==="enum"?2:d==="numeric"?3:d==="empty"?4:-1);B(3);G(b.enableAggregationRules&&b.estimatedEffortFieldEnabled?5:-1)}},dependencies:function(){return[dw,pB,lz,kN,eB,my,c5,mB,rB,yL,NL,OL,Zx,m5,n5,q5]},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 Mdd=[{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}],Ndd=[{label:"XS",value:1},{label:"S",value:3},{label:"M",value:5},{label:"L",value:10},{label:"XL",value:20}],Idd={displayText:"Story points",icon:"story-point-24px"},Jdd={displayText:"T-shirt sizes",icon:"t-shirt-24px"},o5={displayText:"Time",icon:"time-24px"},q5=function(){};
q5.prototype.transform=function(a){switch(a){case "MAX":return"Max Point";default:return"Simple Sum"}};q5.\u0275fac=function(a){return new (a||q5)};q5.\u0275pipe=Ef({name:"aggregationRuleText",type:q5,pure:!0,standalone:!1});var Odd=function(){this.disabled=!1;this.updateComponent=new aB};Odd.\u0275fac=function(a){return new (a||Odd)};
Odd.\u0275cmp=C({type:Odd,selectors:[["b-component-standard-fields"]],inputs:{effortSpec:"effortSpec",parentEffortSpec:"parentEffortSpec",disabled:"disabled"},outputs:{updateComponent:"updateComponent"},standalone:!1,decls:4,vars:3,consts:[[1,"padded","field-container"],[1,"margin-bottom"],[3,"updateEffortSpec","effortSpec","parentEffortSpec","disabled"]],template:function(a,b){a&1&&(I(0,"div",0)(1,"div",1),Q(2,"Once activated, standard fields appear in the right panel of all issues."),J(),I(3,"b-estimated-effort-config",
2),M("updateEffortSpec",function(c){b.updateComponent.emit(c)}),J()());a&2&&(B(3),E("effortSpec",b.effortSpec)("parentEffortSpec",b.parentEffortSpec)("disabled",b.disabled))},dependencies:[p5],styles:[".field-container[_ngcontent-%COMP%]{max-width:1100px}"]});var r5=function(){};r5.\u0275fac=function(a){return new (a||r5)};r5.\u0275mod=Cf({type:r5});r5.\u0275inj=p({imports:[lC,bR,mC,jN,d5,pC,nN,iR]});var s5=function(){};s5.\u0275fac=function(a){return new (a||s5)};s5.\u0275mod=Cf({type:s5});s5.\u0275inj=p({imports:[lC,d5,r5]});var t5=function(){var a=this;this.teamsService=r(DG);this.anchorTarget="_blank";this.useInternalLink=this.isTopLevel=this.isAdmin=!1;this.modelChange=new aB;this.inherit=!1;this.selectedTeam$=new Uf;this.teamIdChanged$=new Tf(1);this.placeholder$=this.teamIdChanged$.pipe(z(function(b){return b==="0"?!a.isAdmin||!a.isTopLevel&&a.inherit?"No team selected":"Type to search for a team (leave blank to disable)":""}),Xf(""));this.teamFromId$=this.teamIdChanged$.pipe(Yf(function(b){return b==="0"?Ae(new Qmb([b],
[""],"")):EG(a.teamsService,b).pipe(z(function(c){return new Qmb([],c.collapsedPathNames,c.description)}))}));this.displayedTeam$=Te(this.teamFromId$,this.selectedTeam$);this.warningType$=this.teamIdChanged$.pipe(Yf(function(b){return b==="0"?Ae("MISSING"):a.teamsService.getTeam(b).pipe(z(function(c){return!c||c.deleted?"DELETED":"VALID"}))}))};
t5.prototype.updateSelectionOnChange=function(a){So("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);Pdd(this)};var Pdd=function(a){a.inherit=a.model.inherit;a.teamIdChanged$.next(a.model.id)};t5.prototype.ngOnInit=function(){Object.assign({},this.model);Pdd(this)};var IIb=function(a){return a.model.id&&a.model.id!=="0"};
t5.prototype.getMomaTeamLink=function(){return IIb(this)?"https://moma.corp.google.com/team/"+this.model.id:null};t5.\u0275fac=function(a){return new (a||t5)};
t5.\u0275cmp=C({type:t5,selectors:[["b-component-team-picker"]],inputs:{parentModel:"parentModel",model:"model",anchorTarget:"anchorTarget",isAdmin:"isAdmin",isTopLevel:"isTopLevel",useInternalLink:"useInternalLink"},outputs:{modelChange:"modelChange"},standalone:!1,decls:12,vars:12,consts:[[1,"edit-field"],[1,"edit-field","component-team-id-select"],["for","component-team-id"],["id","component-team-id","panelWidth","479px",3,"onTeamSelect","onEmptyQuery","placeholder","disabled","teamSelected"],
[1,"team-warning"],[3,"warningType","messageOnly"],[3,"change","disabled","checked"],["mat-icon-button","","aria-label","Go to Team page.","matTooltip","Go to Team page.",1,"small",3,"routerLink","target"],["mat-icon-button","","aria-label","Go to Team page.","matTooltip","Go to Team page.",1,"small",3,"click","routerLink","target"],["svgIcon","pop-out",1,"icon-s"],["mat-icon-button","","target","_blank","aria-label","Go to Moma Team page.","matTooltip","Go to Moma Team page.",1,"small"],["mat-icon-button",
"","target","_blank","aria-label","Go to Moma Team page.","matTooltip","Go to Moma Team page.",1,"small",3,"click"]],template:function(a,b){a&1&&(I(0,"div"),D(1,GIb,1,1),S(2,"async"),D(3,HIb,3,2,"div",0),I(4,"div",1)(5,"label",2),Q(6,"Team selection"),J(),I(7,"b-team-picker",3),S(8,"async"),S(9,"async"),M("onTeamSelect",function(d){return b.updateSelectionOnChange(d)})("onEmptyQuery",function(){b.model.id="0";b.modelChange.emit(b.model);Pdd(b)}),J(),D(10,KIb,1,1)(11,MIb,1,1),J()());if(a&2){var c;
B();G((c=U(2,6,b.warningType$))?1:-1,c);B(2);G(b.isTopLevel?-1:3);B(4);E("placeholder",U(8,8,b.placeholder$))("disabled",!b.isAdmin||!b.isTopLevel&&b.inherit)("teamSelected",U(9,10,b.displayedTeam$));B(3);G(b.useInternalLink?10:11)}},dependencies:[pB,VA,RH,SH,mB,rB,$Z,n2,eB,my,ew],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 u5=function(){};u5.\u0275fac=function(a){return new (a||u5)};u5.\u0275mod=Cf({type:u5});u5.\u0275inj=p({imports:[lC,QP,jN,pC,b_,h3,bz,mC]});var v5=function(){};v5.\u0275fac=function(a){return new (a||v5)};v5.\u0275mod=Cf({type:v5});v5.\u0275inj=p({imports:[lC,yQ,XI,f3]});var w5=function(){};w5.\u0275fac=function(a){return new (a||w5)};w5.\u0275mod=Cf({type:w5});w5.\u0275inj=p({imports:[lC,bz,mC,XI,bR,lN,x0]});var x5=function(){};x5.\u0275fac=function(a){return new (a||x5)};x5.\u0275mod=Cf({type:x5});x5.\u0275inj=p({imports:[lC,bz,mC,bR,lN,XI]});var y5=function(){this.data=r(sI);this.dialogRef=r(mI);this.liveAnnouncer=r(Pw);this.originalFields=this.data.fields.concat();this.fields=this.data.fields.concat();this.fieldOrdering=this.data.orderingCustomized;this.grabbed=this.hasChanges=!1},Qdd=function(a){a.fields.sort(function(b,c){return b.name.localeCompare(c.name)});a.detectChanges()};y5.prototype.drop=function(a){br(this.fields,a.previousIndex,a.currentIndex);this.detectChanges()};
var NIb=function(a,b){return b>0?(br(a.fields,b,b-1),a.detectChanges(),!0):!1},OIb=function(a,b){return b<a.fields.length-1?(br(a.fields,b,b+1),a.detectChanges(),!0):!1};y5.prototype.trackByFn=function(){return-1};y5.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.")};
y5.prototype.onKeyDown=function(a,b){switch(a.key){case " ":a.preventDefault();Rdd(this,b);break;case "Tab":this.grabbed&&Rdd(this,b);break;case "ArrowUp":Sdd(this,a);break;case "ArrowDown":Sdd(this,a)}};
var Rdd=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."))},Sdd=function(a,b){if(a.grabbed){var c=document.activeElement;if(c&&a.grabbedIndex!==void 0){if(b.key==="ArrowUp"){if(NIb(a,a.grabbedIndex)){var d=c.previousElementSibling;
a.grabbedIndex--}}else OIb(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."))}}};y5.prototype.detectChanges=function(){this.hasChanges=!oj(this.fields,this.originalFields)};y5.\u0275fac=function(a){return new (a||y5)};
y5.\u0275cmp=C({type:y5,selectors:[["b-field-reorder-dialog"]],standalone:!1,decls:15,vars:1,consts:[["mat-dialog-title",""],[1,"flex-kids-x","space-between","align-items-center"],[1,"margin-none"],["type","button","mat-icon-button","","aria-label","Sorts the fields alphabetically","matTooltip","Sort alphabetically",3,"click"],["svgIcon","sort_by_alpha_24px"],["mat-dialog-content",""],["cdkDropList","",3,"cdkDropListDropped"],["cdkDrag","","tabindex","0"],["mat-dialog-actions",""],["type","button",
"mat-stroked-button","",1,"medium","cancel",3,"click"],["type","button","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"],["type","button","mat-icon-button","","aria-label","Move the field up",3,"click"],["svgIcon","arrow-up"],["type","button","mat-icon-button","","aria-label","Move the field down",3,"click"],["svgIcon",
"arrow-down"]],template:function(a,b){a&1&&(I(0,"div",0)(1,"div",1)(2,"h1",2),Q(3," Reorder custom fields "),J(),I(4,"button",3),M("click",function(){return Qdd(b)}),K(5,"mat-icon",4),J()()(),I(6,"div",5)(7,"ol",6),M("cdkDropListDropped",function(c){return b.drop(c)}),yg(8,PIb,9,7,"li",7,b.trackByFn,!0),J()(),I(10,"div",8)(11,"button",9),M("click",function(){return b.dialogRef.close()}),Q(12," Cancel "),J(),I(13,"button",10),M("click",function(){return b.dialogRef.close(b.fields)}),Q(14," Save "),
J()());a&2&&(B(8),zg(b.fields),B(5),E("disabled",b.fieldOrdering==="CUSTOMIZED"&&!b.hasChanges))},dependencies:[pB,eB,jy,ly,wI,yI,xI,hR,gR,eR,mB,rB],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 z5=function(){this.matDialog=r(tI);this.confirmationDialog=r(AI);this.fieldConfigService=r(g5);this.analytics=r(OF);this.butterBar=r(fH);this.fields=[];this.isAdmin=!1;this.onReload=new aB;this.displayedColumn=["index","name","type","required","customFieldId"]},cJb=function(a){return nI(a.matDialog.open(y5,{width:"500PX",autoFocus:!1,data:{fields:a.fields,orderingCustomized:a.fieldOrdering}})).subscribe(function(b){b&&Tdd(a,b)})},dJb=function(a){a.confirmationDialog.open({title:"Reset ordering?",
content:wi("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()}})},Tdd=function(a,b){a.analytics.trackEvent("fieldOrdering","reorderFields");var c=b.map(function(d){return{customFieldId:d.customFieldId}});a.componentId?(jq(a.butterBar,"Saving...",0),a.fieldConfigService.reorder(a.componentId,c).subscribe(function(){jq(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.")};
z5.prototype.reset=function(){var a=this;this.analytics.trackEvent("fieldOrdering","resetFields");this.componentId?(jq(this.butterBar,"Resetting orderings..."),this.fieldConfigService.executor.post({url:"action/components/"+this.componentId+"/unorder",body:null,responseConstructor:null}).subscribe(function(){jq(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.")};
z5.\u0275fac=function(a){return new (a||z5)};
z5.\u0275cmp=C({type:z5,selectors:[["b-field-reorder"]],inputs:{fields:"fields",componentId:"componentId",fieldOrdering:"fieldOrdering",isAdmin:"isAdmin"},outputs:{onReload:"onReload"},standalone:!1,decls:22,vars:5,consts:[[1,"field-reorder-panel"],[1,"field-order-table"],["mat-table","",3,"dataSource"],["matColumnDef","index"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","name"],["matColumnDef","type"],["matColumnDef","required"],["matColumnDef","customFieldId"],
["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[1,"no-data-row"],[1,"edit-button-row"],["mat-header-cell",""],["mat-cell",""],["mat-header-row",""],["mat-row",""],["type","button","mat-flat-button","","color","primary",1,"medium",3,"click","disabled"]],template:function(a,b){a&1&&(I(0,"div",0)(1,"div",1)(2,"table",2),Ag(3,3),D(4,QIb,2,0,"th",4)(5,RIb,2,1,"td",5),Bg(),Ag(6,6),D(7,SIb,2,0,"th",4)(8,TIb,2,1,"td",5),Bg(),Ag(9,7),D(10,UIb,2,0,"th",4)(11,VIb,3,
3,"td",5),Bg(),Ag(12,8),D(13,WIb,2,0,"th",4)(14,XIb,2,1,"td",5),Bg(),Ag(15,9),D(16,YIb,2,0,"th",4)(17,ZIb,2,1,"td",5),Bg(),D(18,$Ib,1,0,"tr",10)(19,aJb,1,0,"tr",11),J(),D(20,bJb,2,0,"div",12),J(),D(21,eJb,6,2,"div",13),J());a&2&&(B(2),E("dataSource",b.fields),B(16),E("matHeaderRowDef",b.displayedColumn),B(),E("matRowDefColumns",b.displayedColumn),B(),G(b.fields.length===0?20:-1),B(),G(b.isAdmin?21:-1))},dependencies:[eB,jy,zL,BM,oM,uM,qM,nM,wM,rM,tM,xM,zM,JN],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 A5=function(){};A5.\u0275fac=function(a){return new (a||A5)};A5.\u0275mod=Cf({type:A5});A5.\u0275inj=p({providers:[AI],imports:[lC,mC,XI]});var B5=function(){};B5.\u0275fac=function(a){return new (a||B5)};B5.\u0275mod=Cf({type:B5});B5.\u0275inj=p({imports:[lC,mC,eQ,XI,FP,iR,pC,fP,A5,MN]});var C5=function(){this.analytics=r(OF);this.filename=this.packageName=this.issueId="";this.lineNumbers=[];this.changeNumber=0},gJb=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="+Udd+a.issueId+Vdd;a.changeNumber&&(c+="&rcl="+a.changeNumber);Array.isArray(b)?c+="&l="+b.join(","):b&&(c+="&l="+b);return c}};
C5.prototype.trackClick=function(a){this.analytics.trackEvent("codeMentions","clickCodeSearchLink",a)};C5.\u0275fac=function(a){return new (a||C5)};
C5.\u0275cmp=C({type:C5,selectors:[["b-file-mention"]],inputs:{issueId:"issueId",packageName:"packageName",filename:"filename",lineNumbers:"lineNumbers",changeNumber:"changeNumber"},standalone:!1,decls:5,vars:3,consts:[[1,"bv2-file-mention"],["target","_blank",1,"bv2-file-mention-filename",3,"click","href"],[1,"bv2-file-mention-line-number-list"],[1,"bv2-file-mention-line-number"],["target","_blank",3,"click","href"]],template:function(a,b){a&1&&(I(0,"div",0)(1,"a",1),M("click",function(){return b.trackClick("fileName")}),
Q(2),J(),D(3,fJb,2,1,"span")(4,iJb,6,0,"span"),J());a&2&&(B(),E("href",gJb(b,b.lineNumbers),vf),B(),R(" ",b.filename," "),B(),G(b.lineNumbers.length<=10&&b.packageName!="wiki"?4:3))},encapsulation:2});var Udd=encodeURIComponent("content:(https?://)?b(uganizer)?(\\.corp(\\.google\\.com)?)?/(issues/|issue\\?id=)?"),Vdd=encodeURIComponent("(\\b|$)");var D5=function(){};D5.\u0275fac=function(a){return new (a||D5)};D5.\u0275mod=Cf({type:D5});D5.\u0275inj=p({imports:[lC]});var Wdd=function(){return{width:400}},Xdd=function(){return[]},E5=function(){var a=this;this.bLocation=r(WN);this.analytics=r(OF);this.activeSession=r(Bu);this.componentActions=r(oR);this.cdr=r(cB,{self:!0});this.routeParams=r(YI);this.includeArchived$=new Xi(!1);this.createComponentPath=Qq.createComponent.makeHref();this.isInternalSession=this.activeSession.isInternalSession();this.trackerRootComponent$=Ne(function(){return Ae(a.activeSession.getTracker())}).pipe(Yf(function(b){return b?a.componentActions.get(Number(b.componentId)):
Ae(void 0)}));this.topLevelComponents$=Ie([this.trackerRootComponent$,this.includeArchived$]).pipe(Yf(function(b){var c=k(b);b=c.next().value;c=c.next().value;var d;return a.componentActions.getChildren((d=b==null?void 0:b.parentComponentId)!=null?d:0,c)}));this.routeParams.componentId&&lJb(this,Number(this.routeParams.componentId),Fe(this.topLevelComponents$))},lJb=function(a,b,c){a.componentActions.get(b).then(function(d){for(var e=Hba(d.componentPathInfo.componentPathId,0,d.componentPathInfo.componentPathId.length-
1),f={0:c},h=k(e),l=h.next();!l.done;l=h.next())l=l.value,f[l]=a.componentActions.getChildren(l,a.includeArchived);return Bi(f).then(function(q){for(var u=q[0],A=0,F=k(e),H=F.next(),N={};!H.done;N={parentId$jscomp$27:void 0},H=F.next()){N.parentId$jscomp$27=H.value;H=void 0;var O=(H=u.find(function(T){return function(ea){return ea.componentId===T.parentId$jscomp$27}}(N)))!=null?H:null;O&&(O.children=q[N.parentId$jscomp$27],O.showChildren=!0,u=O.children,A=O.componentId)}d.archived&&!a.includeArchived&&
(b=A);a.cdr.detectChanges();setTimeout(function(){a.componentTree.fireSelectionEvent(b)})})})};da.Object.defineProperties(E5.prototype,{includeArchived:{configurable:!0,enumerable:!0,get:function(){return this.includeArchived$.value}}});E5.\u0275fac=function(a){return new (a||E5)};
E5.\u0275cmp=C({type:E5,selectors:[["b-list-components-page"]],standalone:!1,features:[ch([cB])],decls:16,vars:15,consts:[["componentPickerTemplate",""],[1,"a11y-only"],[1,"kd-appbar","kd-buttonbar"],[1,"bv2-appbar-left"],["mat-button","",3,"href"],["type","button","mat-button","","dialogLabel","Components","panelClass","overflow-visible-inline-dialog-panel",3,"xapInlineDialogClick","overlaySize"],["id","bv2-issue-showarchived-button"],[1,"bv2-view"],[1,"bv2-view-loading"],[1,"top-tree",3,"init",
"components","includeArchived"],[1,"component-picker-dialog"],["ariaLabel","Choose a component to navigate to that component.",3,"selectedComponentChange","includeArchived","placeholder","shouldFocus","isRequired"],["label","Show archived",3,"modelChange","model","tooltip"],["size","small"]],template:function(a,b){if(a&1){var c=v();I(0,"h2",1);Q(1,"Browse Components");J();I(2,"div",2)(3,"div",3);D(4,jJb,2,1,"a",4);I(5,"button",5);Q(6," Search Components ");J();D(7,kJb,4,6,"ng-template",null,0,ih)(9,
mJb,3,4,"div",6);J()();I(10,"div",7);D(11,nJb,2,0,"div",8);S(12,"async");I(13,"component-tree-list",9);S(14,"async");S(15,"async");M("init",function(h){w(c);return x(b.componentTree=h)});J()()}if(a&2){var d,e,f;a=L(8);B(4);G(b.isInternalSession?4:-1);B();E("xapInlineDialogClick",a)("overlaySize",dh(13,Wdd));B(4);G(b.isInternalSession?9:-1);B(2);G((d=U(12,7,b.topLevelComponents$))!==null&&d!==void 0&&d?-1:11);B(2);E("components",(e=U(14,9,b.topLevelComponents$))!==null&&e!==void 0?e:dh(14,Xdd))("includeArchived",
(f=U(15,11,b.includeArchived$))!==null&&f!==void 0?f:!1)}},dependencies:[sL,HM,GM,ZQ,jQ,eB,ky,jy,Z0,tR,ew],styles:[".component-picker-dialog[_ngcontent-%COMP%]{width:400px}.component-picker-dialog[_ngcontent-%COMP%]     input{box-sizing:border-box}"]});var F5=function(){};F5.\u0275fac=function(a){return new (a||F5)};F5.\u0275mod=Cf({type:F5});F5.\u0275inj=p({imports:[lC,BP,XZ,$Q,cR,QP,kQ,mC,b1,YU]});var Ydd=function(){this.issueId="";this.packageMentionSet={packageName:"",fileMentionSet:[]};this.displayPackageName=!1};Ydd.\u0275fac=function(a){return new (a||Ydd)};
Ydd.\u0275cmp=C({type:Ydd,selectors:[["b-package-mentions-listing"]],inputs:{issueId:"issueId",packageMentionSet:"packageMentionSet",displayPackageName:"displayPackageName"},standalone:!1,decls:5,vars:1,consts:[[1,"bv2-package-mention-set"],[1,"bv2-package-mention-set-package-name"],[3,"issueId","packageName","filename","lineNumbers","changeNumber"]],template:function(a,b){a&1&&(I(0,"div",0),D(1,oJb,2,1,"p",1),I(2,"ul"),yg(3,pJb,2,5,"li",null,xg),J()());a&2&&(B(),G(b.displayPackageName?1:-1),B(2),
zg(b.packageMentionSet.fileMentionSet))},dependencies:[C5],encapsulation:2});var G5=function(){};G5.\u0275fac=function(a){return new (a||G5)};G5.\u0275mod=Cf({type:G5});G5.\u0275inj=p({imports:[lC,D5]});var H5=function(){};H5.\u0275fac=function(a){return new (a||H5)};H5.\u0275mod=Cf({type:H5});H5.\u0275inj=p({imports:[lC,bz,mC,XI,bR,WO,lN]});var I5=function(){this.activeSession=r(Bu)};I5.prototype.ngOnInit=function(){};var Zdd=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};I5.\u0275fac=function(a){return new (a||I5)};
I5.\u0275cmp=C({type:I5,selectors:[["b-tracker-account-menu-hack"]],inputs:{trackerInternalBaseUrl:"trackerInternalBaseUrl",trackerExternalBaseUrl:"trackerExternalBaseUrl"},standalone:!1,decls:11,vars:4,consts:[["accountHackMenu","matMenu"],["type","button","aria-label","Open account menu",1,"tracker-account-hack-button",3,"matMenuTriggerFor"],["xPosition","before"],[1,"padded-s-x","text-center"],[1,"padded-s-y"],["mat-menu-item","",3,"href"]],template:function(a,b){a&1&&(K(0,"button",1),I(1,"mat-menu",
2,0)(3,"div",3),D(4,qJb,2,1,"div",4),K(5,"hr"),I(6,"a",5),Q(7,"Switch accounts"),J(),K(8,"hr"),I(9,"a",5),Q(10,"Sign out of all accounts"),J()()());a&2&&(a=L(2),E("matMenuTriggerFor",a),B(4),G(b.activeSession.getUserEmail()?4:-1),B(2),E("href","https://accounts.google.com/AccountChooser?hl=en&osid=1&continue="+encodeURIComponent(Zdd(b)),vf),B(3),E("href","https://accounts.google.com/Logout?hl=en&continue="+encodeURIComponent(Zdd(b)),vf))},dependencies:[xL,IL,GL,JL],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 J5=function(){Z.apply(this,arguments);this.trackerCheckboxValues={}};Y(J5,Z);J5.\u0275dir=Z.\u0275dir;J5.prototype.ngOnChanges=function(a){if(a.currentTrackerId){this.trackerCheckboxValues={};var b;a=k((b=this.availableTrackers)!=null?b:[]);for(b=a.next();!b.done;b=a.next())b=b.value,this.currentTrackerId===b.trackerId?this.trackerCheckboxValues[b.trackerId]=!0:this.trackerCheckboxValues[b.trackerId]=!1}};var $dd=function(a){return Object.keys(Gc(a.trackerCheckboxValues,function(b){return b}))};
J5.\u0275fac=function(){var a;return function(b){return(a||(a=ee(J5)))(b||J5)}}();
J5.\u0275cmp=C({type:J5,selectors:[["b-tracker-search"]],inputs:{currentTrackerId:"currentTrackerId",availableTrackers:"availableTrackers"},standalone:!1,features:[cg,rv],decls:9,vars:3,consts:[[1,"bv2-tracker-search"],[1,"bv2-adv-search-rule","bv2-adv-tracker-search-rule"],[1,"bv2-adv-tracker-search-rule-title"],[1,"bv2-adv-tracker-search-rule-error"],[1,"bv2-adv-search-enum-rule"],[1,"bv2-adv-search-enum-item"],["gmat-checkbox","",3,"change","checked"]],template:function(a,b){a&1&&(I(0,"div",0)(1,
"div",1)(2,"div",2)(3,"span"),Q(4,"Select a tracker"),J(),D(5,rJb,2,0,"span",3),J(),I(6,"div",4),yg(7,sJb,3,2,"div",5,xg),J()()());a&2&&(sg("hidden",!(b.availableTrackers&&b.availableTrackers.length>1)),B(5),G($dd(b).length!==0?-1:5),B(2),zg(b.availableTrackers))},dependencies:[RH,SH],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 K5=function(){var a=r(yD),b=r(IP);Z.call(this);var c=this;this.analytics=r(OF);this.location=r(WN);this.prefsManager=r(TG);this.domSafe=r(NH);this.prefsManager.preferences$.pipe(Zf(this.destroyed$)).subscribe(function(d){c.prefs=d});a.topBarEvents.browseComponents.pipe(Zf(this.destroyed$)).subscribe(function(d){d=d.newTab;aed(c,Qq.listComponents.makeHref(),d)});a.topBarEvents.manageHotlists.pipe(Zf(this.destroyed$)).subscribe(function(d){d=d.newTab;aed(c,Qq.listHotlists.makeHref(),d)});a.topBarEvents.manageSlos.pipe(Zf(this.destroyed$)).subscribe(function(d){d=
d.newTab;aed(c,Qq.listSlos.makeHref(),d)});a.topBarEvents.setDensity.pipe(Zf(this.destroyed$)).subscribe(function(d){c.setDensity(d)});a.topBarEvents.openSettings.pipe(Zf(this.destroyed$)).subscribe(function(d){var e=d.newTab;aed(c,b.settings(d.settingsTabName),e)})};Y(K5,Z);K5.\u0275dir=Z.\u0275dir;var aed=function(a,b,c){c?a.domSafe.openInNewTab(b):a.location.setUrl(b)};
K5.prototype.setDensity=function(a){this.prefs.themePreferences&&(this.prefs.themePreferences.density=a,this.prefsManager.save(this.prefs).pipe(Nf(),Zf(this.destroyed$)).subscribe(),this.analytics.trackEvent("preferences","setDisplayDensity",a))};K5.\u0275fac=function(a){return new (a||K5)};K5.\u0275prov=n({token:K5,factory:K5.\u0275fac,providedIn:"root"});var L5=function(){Z.call(this);var a=this;this.activeSession=r(Bu);this.searchAcData=r(L3);this.savedSearchApi=r(XD);this.butterBar=r(fH);this.bLocation=r(WN);this.paths=r(IP);this.analytics=r(OF);this.appEvents=r(yD);this.appSearchState=r(TY);this.trackerFridge=r(NG);this.errorHandler=r(CI);r(K5);this.frontendAccessMode=this.activeSession.getFrontendAccessMode();this.environmentType=this.activeSession.getEnvironmentType();this.items=[];this.acHeader=null;this.currentQuery="";this.enableTrackersAccountHack=
Vt(this.activeSession,"enableTrackersAccountHack");this.currentTracker=this.activeSession.getTracker();this.associatedTrackers$=Ne(function(){var b,c;return Ae((c=(b=a.currentTracker)==null?void 0:b.associatedTrackerIds)!=null?c:[])}).pipe(Yf(function(b){return a.trackerFridge.watchSet(b)}));this.availableTrackers$=this.associatedTrackers$.pipe(z(function(b){return a.currentTracker?[a.currentTracker].concat(t(b)):[]}));this.searchAcData.acRefreshed$.pipe(Zf(this.destroyed$)).subscribe(function(){a.items=
a.searchAcData.items;a.acHeader=a.searchAcData.acHeader});this.trackerFridge.error$.pipe(Zf(this.destroyed$)).subscribe(function(b){b.status!==403&&a.errorHandler.errorHandler(null,b)})};Y(L5,Z);L5.\u0275dir=Z.\u0275dir;var bed=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"}};
L5.prototype.ngOnInit=function(){var a=this;this.appSearchState.queryState$.pipe(Zf(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("hg");e=new Pad(f,h);if(f){var l=f.slice(0,h);for(var q=!1,u=-1,A=-1;(u=l.indexOf('"',u+1))>-1;)q=!q,A=u;l=q?A:-1;if(l>-1)e.value={val:f.slice(l,h),idx:l};else if(l=f.slice(h),q=l.search("\\s"),
(l=ZCb(f.slice(0,h)+(q>-1?l.slice(0,q):l),Tad))?(l={negated:!!l[1],val:l[2].toLowerCase(),operator:l[3],idx:l.index-l[1].length-l[2].length-l[3].length},l.val.startsWith("customfield")&&(l.customFieldId=l.val.slice(11),l.val="customfield")):l=null,l){q=l.idx+(l.negated?1:0)+l.val.length+l.operator.length+(l.customFieldId?l.customFieldId.length:0);f=f.slice(q);u=Math.max(h-q,0);A=l;if(f.charAt(0)==="("){b:{A=[];for(var F=/[()]/g,H;(H=F.exec(f))!=null;){var N=A[A.length-1];if(N&&N!==H[0]){if(A.pop(),
!A.length){A=H.index>=u;break b}}else A.push(H[0])}A=!0}A=A?2:0}else A=Qad.includes(A.val)&&f.search("^\\d")===-1?1:0;switch(A){case 2:h=Qad.includes(l.val)?du(f,u,"([()|]\\s*|OR\\s+|AND\\s+|NOT\\s+|-|\\b\\d+\\s+)","[()|\\s-]"):du(f,u,"[()|\\s-]");/(OR|AND|NOT|-)$/.test(h.val)&&(h.val="",h.idx=u);e.value=h;break;case 1:e.value=du(f,u,"[()|]","[()|,\\s]");break;case 0:e.value=du(f,u,"[\\s()|]");f.slice(0,u).search("[\\s()|]")>-1&&(l=null,u=ZCb(f,"(?:\\s|^)(?:-?)(customfield|cf)"))&&(e.value=YCb(f,
u.index-u[1].length,h));break;default:Db(A,"unknown ValueType.")}e.value.idx+=q;e.label=l}else l=ZCb(f,"(?:\\s|^)(?:-?)(customfield|cf)"),e.value=l?YCb(f,l.index-l[1].length,h):du(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(ag(b),
Zf(this.destroyed$)).subscribe(function(c){c=k(c);var d=c.next().value;c=c.next().value;var e=a.appSearchState;d=d===void 0?"":d;var f=hib(c),h=f.filters,l=f.text,q=f.complexSyntax,u=f.resourceIds;f=[h,l,u].reduce(Di);h=[h?"filters":void 0,l?"text":void 0,u?"ids":void 0].filter(Boolean).join("-");q?e.track(d,"complex"):h?e.track(d,h,f):e.track(d,"UNHANDLED");d=Na(e.searchHandlerStack);d===void 0?e.$log.warn("No search function installed."):d(c)})};
L5.prototype.ngAfterViewInit=function(){bdd(this.advancedSearchCtrl,this.appSearchState.currentQuery)};var ced=function(a){if(a.advancedSearchCtrl)return a.advancedSearchCtrl.getState()!=="SUCCESS"?a.currentQuery:idd(a.advancedSearchCtrl).trim()};g=L5.prototype;g.onAdvancedSearchOpen=function(){this.advancedSearchCtrl&&(ced(this)!==this.currentQuery||this.advancedSearchCtrl.getState()!=="SUCCESS")&&bdd(this.advancedSearchCtrl,this.currentQuery)};
g.onAdvancedSearchClose=function(){var a,b;this.appSearchState.selectedTrackerIds$.next((b=(a=this.trackerSearchCtrl)==null?void 0:$dd(a))!=null?b:[]);this.advancedSearchCtrl&&(a=ced(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:$dd(a))!=null?b:[]);this.advancedSearchCtrl&&(a=ced(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=ced(this);c!==void 0&&(jq(this.butterBar,"Saving saved search.",1E3),this.savedSearchApi.create(a,c).then(function(d){b.appEvents.savedSearchModified.next();d=d.searchId;jq(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($o(d))}))}};
g.isSearchDisabled=function(){return!!this.trackerSearchCtrl&&$dd(this.trackerSearchCtrl).length===0};L5.\u0275fac=function(a){return new (a||L5)};
L5.\u0275cmp=C({type:L5,selectors:[["b-top-bar-outlet"]],viewQuery:function(a,b){a&1&&(Rg(G4,5),Rg(J5,5));if(a&2){var c;Vg(c=Wg())&&(b.advancedSearchCtrl=c.first);Vg(c=Wg())&&(b.trackerSearchCtrl=c.first)}},standalone:!1,features:[cg],decls:7,vars:12,consts:[[3,"searchBoxOnAdvancedSearchOpen","searchBoxOnAdvancedSearchClose","searchBoxOnAdvancedSearchSubmit","searchBoxOnSaveSearch","logoFrontendAccessMode","logoEnvironmentType","searchBoxPlaceholder","searchBoxAutoCompleteItems","searchBoxAutoCompleteHeader",
"isSearchDisabled"],[3,"currentTrackerId","availableTrackers"],[3,"isTrackerSearchEnabled"],[1,"bv2-view-loading"],[1,"bv2-validation-error-banner"],[3,"trackerInternalBaseUrl","trackerExternalBaseUrl"],[1,"warning-container"],["svgIcon","alert"]],template:function(a,b){a&1&&(I(0,"b-app-top-bar",0),M("searchBoxOnAdvancedSearchOpen",function(){return b.onAdvancedSearchOpen()})("searchBoxOnAdvancedSearchClose",function(){return b.onAdvancedSearchClose()})("searchBoxOnAdvancedSearchSubmit",function(){return b.submitAdvancedSearch()})("searchBoxOnSaveSearch",
function(c){return b.saveSearch(c)}),D(1,tJb,2,4,"b-tracker-search",1),K(2,"b-advanced-search",2),D(3,uJb,4,0,"div",3)(4,xJb,3,2,"div",4)(5,yJb,2,0,"div",4),J(),D(6,zJb,1,2,"b-tracker-account-menu-hack",5));a&2&&(E("logoFrontendAccessMode",b.frontendAccessMode)("logoEnvironmentType",b.environmentType)("searchBoxPlaceholder",bed(b,b.currentTracker))("searchBoxAutoCompleteItems",b.items)("searchBoxAutoCompleteHeader",b.acHeader)("isSearchDisabled",b.isSearchDisabled()),B(),G(b.currentTracker?1:-1),
B(),E("isTrackerSearchEnabled",!b.currentTracker),B(),G((b.advancedSearchCtrl==null?null:b.advancedSearchCtrl.getState())==="INIT"?3:-1),B(),G((b.advancedSearchCtrl==null?null:b.advancedSearchCtrl.getState())==="NOT_REPRESENTABLE"||(b.advancedSearchCtrl==null?null:b.advancedSearchCtrl.getState())==="SYNTAX_ERROR"?4:-1),B(),G((b.advancedSearchCtrl==null?null:b.advancedSearchCtrl.getState())==="SERVER_ERROR"?5:-1),B(),G(b.enableTrackersAccountHack&&!b.activeSession.isAnonymous()&&b.currentTracker?6:
-1))},dependencies:[pB,G4,J5,ydd,sL,I5,ew],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 M5=function(){};M5.\u0275fac=function(a){return new (a||M5)};M5.\u0275mod=Cf({type:M5});M5.\u0275inj=p({imports:[lC,jN]});var N5=function(){};N5.\u0275fac=function(a){return new (a||N5)};N5.\u0275mod=Cf({type:N5});N5.\u0275inj=p({imports:[lC,I4,M5,Z4,BP,bN]});var O5=function(){this.dialogRef=r(mI);this.data=r(sI);this.updateDiffs=this.data.updateDiffs;this.userToDisplay=Pj;this.DiffType=Hgc};O5.prototype.close=function(){this.dialogRef.close()};O5.\u0275fac=function(a){return new (a||O5)};
O5.\u0275cmp=C({type:O5,selectors:[["b-update-history-modal"]],standalone:!1,decls:7,vars:0,consts:[["mat-dialog-content","",1,"update-history-modal"],["tabindex","0",1,"update-history-list"],[1,"bv2-event"],["mat-dialog-actions",""],["type","button","mat-button","",1,"medium",3,"click"],[1,"bv2-event-user-image-cell"],[1,"bv2-event-user-image",3,"email"],[1,"bv2-event-content-cell"],[1,"bv2-event-user-name",3,"email"],[1,"bv2-event-info"],["mode","datetime",3,"timestamp"],[1,"bv2-event-details"],
[1,"bv2-diff-detail"],[1,"bv2-diff-arrow"]],template:function(a,b){a&1&&(I(0,"div",0)(1,"ul",1),yg(2,IJb,11,3,"li",2,xg),J()(),I(4,"div",3)(5,"button",4),M("click",function(){return b.close()}),Q(6," Close "),J()());a&2&&(B(2),zg(b.updateDiffs))},dependencies:[eB,jy,yI,xI,QM,cL,iH],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;word-break:break-word}h4[_ngcontent-%COMP%]{margin:0;margin-bottom:8px;font-weight:normal}"]});var P5=function(){};P5.\u0275fac=function(a){return new (a||P5)};P5.\u0275mod=Cf({type:P5});P5.\u0275inj=p({imports:[lC,mC,XI,gP,TM]});var Q5=function(){this.$window=r(MH);this.activeSession=r(Bu);this.faviconUrl=this.defaultFaviconUrl=Rc("https://www.gstatic.com/buganizer/img/v4/favicon.png")};Q5.\u0275fac=function(a){return new (a||Q5)};Q5.\u0275prov=n({token:Q5,factory:Q5.\u0275fac,providedIn:"root"});var ded=shc("edited-ids"),eed=Awa("edited-ids"),fed=shc("viewed-ids"),ged=Awa("viewed-ids"),R5=function(){this.appEvents=r(yD);this.stop$=new Uf;this.edited=new D4c;this.viewed=new D4c},hed=function(a){F4c(a.viewed,ged());F4c(a.edited,eed());a.appEvents.issueViewed.pipe(Zf(a.stop$)).subscribe(function(b){E4c(a.viewed,b);fed(Array.from(a.viewed.dataStore.keys()).join(","))});a.appEvents.issueEdited.pipe(Zf(a.stop$)).subscribe(function(b){E4c(a.edited,b);ded(Array.from(a.edited.dataStore.keys()).join(","))})};
R5.\u0275fac=function(a){return new (a||R5)};R5.\u0275prov=n({token:R5,factory:R5.\u0275fac,providedIn:"root"});var ied=/^\s*[^:/?#]+:/i,jed=/^#/i,S5=function(){var a=this;this.bLocation=r(WN);this.linkClickHandler=function(b){if(!(b.ctrlKey||b.metaKey||b.shiftKey||b.which===2||b.button===2||b.defaultPrevented)){var c;a:{for(c=b.target;c;){if(c.tagName==="A")break a;c=c.parentElement}c=void 0}if(c&&(!c.hasAttribute("target")||c.getAttribute("target")==="_self")&&(c=c.getAttribute("href"))&&!ied.test(c))if(jed.test(c)){a.bLocation.hash(c.substring(1));var d;(d=document.getElementById(c.substring(1)))==null||
d.scrollIntoView();b.stopPropagation();b.preventDefault()}else b.preventDefault(),a.bLocation.setUrl(c)}}};S5.prototype.install=function(){document.addEventListener("click",this.linkClickHandler)};S5.prototype.uninstall=function(){document.removeEventListener("click",this.linkClickHandler)};S5.\u0275fac=function(a){return new (a||S5)};S5.\u0275prov=n({token:S5,factory:S5.\u0275fac,providedIn:"root"});var ked=[],led=!1,T5=function(){Z.apply(this,arguments);this.hatsService=r(SP);this.iconRegistry=r(oB);this.session=r(Bu);this.appHistory=r(c4);this.routePerformance=r(BZ);this.linkClickHandler=r(S5);this.issueLru=r(R5);this.faviconService=r(Q5);this.imageUrls=r(jL)};Y(T5,Z);T5.\u0275dir=Z.\u0275dir;T5.prototype.tearDown=function(){Z.prototype.ngOnDestroy.call(this);this.linkClickHandler.uninstall()};T5.\u0275fac=function(){var a;return function(b){return(a||(a=ee(T5)))(b||T5)}}();
T5.\u0275prov=n({token:T5,factory:T5.\u0275fac,providedIn:"root"});
var med={provide:k6b,useFactory:function(a){return function(){led||(a.iconRegistry._addSvgIconSetConfig("",new kfc(a.imageUrls.ICON_URL)),led=!0);if(a.session.isInternalSession()){TFc(a.hatsService,"Y4qgAGETM0g6pPHSLo10T83aMF4T").pipe(Nf(),Zf(a.destroyed$)).subscribe();for(var b=k(ked),c=b.next();!c.done;c=b.next()){c=c.value;var d=c.hatsTriggerId;Vt(a.session,c.flagName)&&TFc(a.hatsService,d).pipe(Nf(),Zf(a.destroyed$)).subscribe()}}a.appHistory.install();a.routePerformance.install();a.linkClickHandler.install();
hed(a.issueLru);c=a.faviconService;b=c.$window.document.head.querySelector('link[rel="shortcut icon"]');d=b==null?void 0:b.href;c.faviconUrl=d?Rc(d):c.defaultFaviconUrl;var e;d=c.activeSession.getTracker();if(d==null?0:(e=d.branding)==null?0:e.logoUrl){var f;e=Rc(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 Kc)b.href=Mc(f).toString(),b.rel="icon";else{if(A4b.indexOf("icon")===-1)throw Error("ra`icon");f=Sc(f);f!==void 0&&
(b.href=f,b.rel="icon")}}},deps:[T5],multi:!0};var U5=function(){this.paths=r(IP);this.bLocation=r(WN)};U5.prototype.visit=function(a){a.event&&(a.event.preventDefault(),a.event.stopPropagation());var b=a.elementId;a=Rq(a.issueId)+(b?"#"+b:"");this.bLocation.setUrl(a)};U5.\u0275fac=function(a){return new (a||U5)};U5.\u0275prov=n({token:U5,factory:U5.\u0275fac,providedIn:"root"});var ned={provide:XH,useExisting:U5};var oed=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 V5=function(a){iF.call(this);this.errorHandlerFn_=a};Nu(V5,iF);V5.prototype.wrap=function(a){return ped(this,a)};var W5=function(a,b){return(b?"__wrapper_":"__protected_")+Za(a)+"__"},ped=function(a,b){var c=W5(a,!0);b[c]||((b[c]=qed(a,b))[W5(a,!1)]=b);return b[c]},qed=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[W5(a,!1)]=b;return c};
V5.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 red(a);};
var sed=function(a,b){var c=ya.window||ya.globalThis,d=c[b];if(!d)throw Error("lg`"+b);c[b]=function(e,f){typeof e==="string"&&(e=Mu(N2b,e));e&&(arguments[0]=e=ped(a,e));if(d.apply)return d.apply(this,arguments);var h=e;if(arguments.length>2){var l=Array.prototype.slice.call(arguments,2);h=function(){e.apply(this,l)}}return d(h,f)};c[b][W5(a,!1)]=d};
V5.prototype.disposeInternal=function(){var a=ya.window||ya.globalThis;var b=a.setTimeout;b=b[W5(this,!1)]||b;a.setTimeout=b;b=a.setInterval;b=b[W5(this,!1)]||b;a.setInterval=b;V5.superClass_.disposeInternal.call(this)};var red=function(a){wa.call(this,"Error in protected function: "+(a&&a.message?String(a.message):String(a)),a);(a=a&&a.stack)&&typeof a==="string"&&(this.stack=a)};Nu(red,wa);var ued=function(a,b,c){Jq.call(this);this.contextProvider_=b||null;this.additionalArguments_={};this.xhrSender_=ted;this.handlerUrl_=a;if(!c){this.errorHandler_=null;this.errorHandler_=new V5(Lu(this.handleException,this));sed(this.errorHandler_,"setTimeout");sed(this.errorHandler_,"setInterval");a=this.errorHandler_;b=ya.window||ya.globalThis;c=["requestAnimationFrame","mozRequestAnimationFrame","webkitAnimationFrame","msRequestAnimationFrame"];for(var d=0;d<c.length;d++){var e=c[d];c[d]in b&&sed(a,
e)}a=this.errorHandler_;Qac=!0;b=Lu(a.wrap,a);for(c=0;c<Oac.length;c++)Oac[c](b);Pac.push(a)}};Nu(ued,Jq);var ved=function(a,b){xF.call(this,"F");this.error=a;this.context=b};Nu(ved,xF);var ted=function(a,b,c,d){if(d instanceof Map){var e={};d=k(d);for(var f=d.next();!f.done;f=d.next()){var h=k(f.value);f=h.next().value;h=h.next().value;e[f]=h}}else e=d;PRa(a,null,b,c,e)};
ued.prototype.handleException=function(a,b){a=a.error||a;b=b?Jc(b):{};a instanceof Error&&qea(b,a.__closure__error__context__984382||{});var c=D4b(a);if(this.contextProvider_)try{this.contextProvider_(c,b)}catch(e){}var d=c.message.substring(0,1900);a instanceof wa&&!a.reportErrorToServer||wed(this,d,c.fileName,c.lineNumber,c.stack,b);try{this.dispatchEvent(new ved(c,b))}catch(e){}};
var wed=function(a,b,c,d,e,f){try{var h=gRa(a.handlerUrl_,"script",c,"error",b,"line",d);Hc(a.additionalArguments_)||(h=iRa(h,a.additionalArguments_));b={};b.trace=e;if(f)for(var l in f)b["context."+l]=f[l];var q=htc(b);a.xhrSender_(h,"POST",q,a.extraHeaders_)}catch(u){}};ued.prototype.disposeInternal=function(){Wo(this.errorHandler_);ued.superClass_.disposeInternal.call(this)};var X5=function(){this.jsBuild="714455907";this.buildLabel="buganizer.frontend_20250108.09_p1"};X5.\u0275fac=function(a){return new (a||X5)};X5.\u0275prov=n({token:X5,factory:X5.\u0275fac,providedIn:"root"});var Y5=function(){};Y5.prototype.reportingEnabled=function(){return oed!==4};Y5.\u0275fac=function(a){return new (a||Y5)};Y5.\u0275prov=n({token:Y5,factory:Y5.\u0275fac,providedIn:"root"});
var Z5=function(){var a=this;this.appContext=r(Y5);this.context={};this.reportingExtensions=[];var b=r(X5);this.jsDebugErrorReporter=new ued("/jserror",function(c,d){d.js_build=b.jsBuild;d.buildLabel=b.buildLabel;d["build-label"]=b.buildLabel;c=k(a.reportingExtensions);for(var e=c.next();!e.done;e=c.next())e.value.enhanceContext(d)},!0)},xed=function(a,b){b="Error: "+b;console.error("ErrorReporter: ",b);if(a.appContext.reportingEnabled())try{throw Error(b);}catch(c){for(JJb(c),wed(a.jsDebugErrorReporter,
b,c.fileName,c.lineNumber,c.stack,a.context),a=k(a.reportingExtensions),b=a.next();!b.done;b=a.next())b.value.onReportedError()}};Z5.prototype.reportError=function(a){console.error("ErrorReporter: ",(a==null?void 0:a.stack)||a);if(this.appContext.reportingEnabled()){JJb(a);this.jsDebugErrorReporter.handleException(a);a=k(this.reportingExtensions);for(var b=a.next();!b.done;b=a.next())b.value.onReportedError()}};Z5.\u0275fac=function(a){return new (a||Z5)};
Z5.\u0275prov=n({token:Z5,factory:Z5.\u0275fac,providedIn:"root"});var $5=function(){this.reporter=r(Z5)};
$5.prototype.handleError=function(a){if(Zo(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)lj("omitting eye3 reporting of",a);else if(typeof a==="string")xed(this.reporter,a);else if(a instanceof Error||!Zo(a)){b=D4b(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 xed(this.reporter,
$o(a))};$5.\u0275fac=function(a){return new (a||$5)};$5.\u0275prov=n({token:$5,factory:$5.\u0275fac,providedIn:"root"});var a6=function(){this.activeSession=r(Bu)};Y(a6,Y5);a6.prototype.reportingEnabled=function(){return Vt(this.activeSession,"reportErrors")};a6.\u0275fac=function(){var a;return function(b){return(a||(a=ee(a6)))(b||a6)}}();a6.\u0275prov=n({token:a6,factory:a6.\u0275fac,providedIn:"root"});
var yed={provide:zf,useClass:$5},zed={provide:Y5,useClass:a6},Aed={provide:X5,useValue:{jsBuild:"714455907",buildLabel:"buganizer.frontend_20250108.09_p1"}};var b6=function(){};b6.\u0275fac=function(a){return new (a||b6)};b6.\u0275cmp=C({type:b6,selectors:[["b-empty"]],standalone:!1,decls:0,vars:0,template:function(){},encapsulation:2});var c6=function(){};c6.\u0275fac=function(a){return new (a||c6)};c6.\u0275mod=Cf({type:c6});c6.\u0275inj=p({});var d6=function(){};Y(d6,PA);d6.prototype.store=function(){};d6.prototype.shouldReuseRoute=function(a,b){return a.routeConfig===b.routeConfig&&oj(a.params,b.params)};d6.\u0275fac=function(){var a;return function(b){return(a||(a=ee(d6)))(b||d6)}}();d6.\u0275prov=n({token:d6,factory:d6.\u0275fac,providedIn:"root"});var e6=function(){this.router=r(TA)};
e6.prototype.canActivate=function(a,b){if(b.url.includes("#ISSUE_HistoryHeader")){var c=k(b.url.split("#ISSUE_HistoryHeader"));a=c.next().value;c=c.next().value;return UA(this.router,[a],{fragment:c&&!isNaN(Number(c))?"comment"+c:void 0})}if(a.queryParamMap.has("showInsights")&&a.queryParamMap.get("showInsights")==="1"){b=k(b.url.split("?")).next().value;var d={};return UA(this.router,[b],{queryParams:Object.assign({},HPa(a.queryParamMap),(d.showInsights="deployments",d)),fragment:(c=a.fragment)!=
null?c:void 0})}return b.url==="/attention"?UA(this.router,["home"]):!0};e6.\u0275fac=function(a){return new (a||e6)};e6.\u0275prov=n({token:e6,factory:e6.\u0275fac,providedIn:"root"});var Bed=/^(\d+)$/,f6=function(){this.butterBar=r(fH);this.paramNamesToCheck=new Set(Object.values(Hic))};f6.prototype.validate=function(a){for(var b=k(Object.keys(a)),c=b.next();!c.done;c=b.next())if(c=c.value,this.paramNamesToCheck.has(c)){var d=a[c],e=Sm(d);if(!Bed.test(d)||isNaN(e)||!Number.isInteger(e))return this.butterBar.showWarning("The URL parameter "+c+' has the malformed value "'+d+'".'),!1}return!0};f6.\u0275fac=function(a){return new (a||f6)};
f6.\u0275prov=n({token:f6,factory:f6.\u0275fac,providedIn:"root"});var g6=function(){this.routeParamsValidator=r(f6)};g6.prototype.canActivate=function(a){return this.routeParamsValidator.validate(a.params)};g6.\u0275fac=function(a){return new (a||g6)};g6.\u0275prov=n({token:g6,factory:g6.\u0275fac,providedIn:"root"});var h6=function(){this.activeSession=r(Bu);this.router=r(TA)};h6.prototype.canActivate=function(){return this.activeSession.isInternalSession()||Vt(this.activeSession,"enableMissionControlInExternalEnvironments")?!0:UA(this.router,["issues"])};h6.\u0275fac=function(a){return new (a||h6)};h6.\u0275prov=n({token:h6,factory:h6.\u0275fac,providedIn:"root"});var i6=function(){this.activeSession=r(Bu);this.router=r(TA)};i6.prototype.canActivate=function(){return this.activeSession.getTracker()&&!Vt(this.activeSession,"enableMissionControlInTrackers")?UA(this.router,["issues"]):!0};i6.\u0275fac=function(a){return new (a||i6)};i6.\u0275prov=n({token:i6,factory:i6.\u0275fac,providedIn:"root"});var j6=function(){this.userPreferences=r(TG);this.activeSession=r(Bu)},Ced=function(a){var b=a.activeSession.isInternalSession();a=tp(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"}};j6.\u0275fac=function(a){return new (a||j6)};j6.\u0275prov=n({token:j6,factory:j6.\u0275fac,providedIn:"root"});var k6=function(){this.router=r(TA);this.homepageRedirection=r(j6)};k6.prototype.canActivate=function(){return UA(this.router,[Ced(this.homepageRedirection)])};k6.\u0275fac=function(a){return new (a||k6)};k6.\u0275prov=n({token:k6,factory:k6.\u0275fac,providedIn:"root"});var Ded={ANDROID:"Android",CHROME:"ChromeOS",IOS:"iOS",LINUX:"Linux",MAC:"Mac",UNKNOWN:"Unknown",WINDOWS:"Windows"};var f2b={default:1363614,apps:1456886,blink:1456407,devtools:1457055,enterprise:1456152,extensions:1456110,installer:1456937,media:1456190,network:1456527,sync:1457192,ui:1457123,webstore:1457238},e2b={default:402888,apps:422083,blink:421442,devtools:422123,enterprise:421726,extensions:422130,installer:421863,media:421886,network:421924,sync:422168,ui:422198,webstore:422443},Eed=["media-bugs@chromium.org"],Fed=["chrome-sync-monorail@google.com"];var Ged={USER:"USER",DEVELOPER:"DEVELOPER",VULN_REPORTER:"VULN_REPORTER",CONTRIBUTOR:"CONTRIBUTOR"},Hed={INPUT:"INPUT",TEXT:"TEXT",SELECT:"SELECT"},Ied=new zd("CustomQuestionsConfig"),Jed=new zd("ComponentIds"),Ked=new zd("CustomFieldIds"),Led=new zd("HotlistIds");var l6=function(){this.componentIds=r(Jed);this.persona="USER";this.categoryChange=new aB;var a={};this.options=(a.USER=[{title:"UI",description:"Problems with the user interface (e.g. tabs, context menus, etc...)",value:"UI",componentId:this.componentIds.ui},{title:"Network / Downloading",description:"Problems with accessing remote content",value:"NETWORK_DOWNLOADING",componentId:this.componentIds.network},{title:"Audio / Video",description:"Problems playing back sound or movies",value:"AUDIO_VIDEO",
componentId:this.componentIds.media,ccEmails:Eed},{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:Fed},{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)};l6.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)})};l6.\u0275fac=function(a){return new (a||l6)};
l6.\u0275cmp=C({type:l6,selectors:[["wizard-category-select"]],inputs:{persona:"persona",category:"category"},outputs:{categoryChange:"categoryChange"},standalone:!1,features:[rv],decls:6,vars:2,consts:[["appearance","outline","aria-label","Which of the following describes your issue?"],["aria-label","Choose issue category",3,"valueChange","value"],[1,"multiline",3,"value"],[1,"description"]],template:function(a,b){a&1&&(I(0,"mat-form-field",0)(1,"mat-select",1),M("valueChange",function(d){b.category=
d;b.categoryChange.emit(b.category)}),I(2,"mat-select-trigger"),Q(3),J(),yg(4,LJb,5,3,"mat-option",2,xg),J()());if(a&2){var c;B();E("value",b.category);B(2);R(" ",(c=b.category==null?null:b.category.title)!==null&&c!==void 0?c:""," ");B();zg(b.options[b.persona])}},dependencies:[lz,kN,yL,NL,OL,Zx],styles:["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 MJb=function(a){return{question:a}},m6=function(){this.config=r(Ied);this.CustomQuestionType=Hed;this.responses=new aB;this.model=Object.assign({},this.config)};m6.prototype.ngOnInit=function(){};var SJb=function(a){var b=a.model[a.category].filter(function(c){return!!c.response});a.responses.emit(b)};m6.\u0275fac=function(a){return new (a||m6)};
m6.\u0275cmp=C({type:m6,selectors:[["wizard-custom-questions"]],inputs:{category:"category"},outputs:{responses:"responses"},standalone:!1,decls:10,vars:0,consts:[["customQuestion",""],["input",""],["text",""],["select",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"innerHtml"],["appearance","outline"],["matInput","",3,"ngModelChange","ngModel"],["appearance","outline",1,"textarea"],["required","",3,"valueChange","value"],[3,"value"]],template:function(a,b){a&1&&(yg(0,NJb,1,4,"ng-container",
4,xg),D(2,RJb,3,1,"ng-template",null,0,ih)(4,TJb,3,3,"ng-template",null,1,ih)(6,UJb,4,3,"ng-template",null,2,ih)(8,YJb,6,4,"ng-template",null,3,ih));a&2&&zg(b.model[b.category])},dependencies:[dw,oi,Gy,Ny,aR,sz,lz,kN,yL,NL,Zx],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 Med=function(){this.Persona=Ged;this.persona="USER";this.personaChange=new aB};Med.\u0275fac=function(a){return new (a||Med)};
Med.\u0275cmp=C({type:Med,selectors:[["wizard-persona-picker"]],inputs:{persona:"persona"},outputs:{personaChange:"personaChange"},standalone:!1,decls:18,vars:5,consts:[["aria-label","Select your following role",3,"ngModelChange","ngModel"],[3,"value"],[1,"subtext"],[1,"vuln-reporter",3,"value"]],template:function(a,b){a&1&&(I(0,"div")(1,"mat-radio-group",0),M("ngModelChange",function(c){b.persona=c;b.personaChange.emit(b.persona)}),I(2,"mat-radio-button",1),Q(3," End User "),I(4,"div",2),Q(5," I am trying to use a website. "),
J()(),I(6,"mat-radio-button",1),Q(7," Web Developer "),I(8,"div",2),Q(9," I am trying to build something on a website. "),J()(),I(10,"mat-radio-button",3),Q(11," Vulnerability Reporter "),I(12,"div",2),Q(13," I am reporting a possible security vulnerability. "),J()(),I(14,"mat-radio-button",1),Q(15," Chromium Contributor "),I(16,"div",2),Q(17," I know about a problem in specific tests or code. "),J()()()());a&2&&(B(),E("ngModel",b.persona),B(),E("value",b.Persona.USER),B(4),E("value",b.Persona.DEVELOPER),
B(4),E("value",b.Persona.VULN_REPORTER),B(4),E("value",b.Persona.CONTRIBUTOR))},dependencies:[Gy,Ny,LL,ML],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 Ned=new zd("GMAT_CARD_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var Oed=function(a){this.options=a};Oed.\u0275fac=function(a){return new (a||Oed)(hf(Ned))};Oed.\u0275dir=Df({type:Oed,selectors:[["mat-card"]],hostVars:2,hostBindings:function(a,b){a&2&&sg("gmat-mdc-card",!b.options.disableGmatStyle)},standalone:!1});var n6=function(){this._elementRef=r(ef)};n6.prototype.focus=function(){this._elementRef.nativeElement.focus()};n6.\u0275fac=function(a){return new (a||n6)};n6.\u0275dir=Df({type:n6,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"]});var o6=function(){this.template=r(Og)};o6.\u0275fac=function(a){return new (a||o6)};o6.\u0275dir=Df({type:o6,selectors:[["","cdkStepLabel",""]]});var Ped=new zd("STEPPER_GLOBAL_OPTIONS"),q6=function(){this._stepper=r(p6);this.interacted=!1;this.interactedStream=new Dv;this.editable=!0;this.optional=!1;this._customError=this._completedOverride=null;var a=r(Ped,{optional:!0});this._stepperOptions=a?a:{};this._displayDefaultIndicatorType=this._stepperOptions.displayDefaultIndicatorType!==!1};g=q6.prototype;g._getDefaultCompleted=function(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted};
g._getDefaultError=function(){return this.stepControl&&this.stepControl.invalid&&this.interacted};g.select=function(){this._stepper.selected=this};g.reset=function(){this.interacted=!1;this._completedOverride!=null&&(this._completedOverride=!1);this._customError!=null&&(this._customError=!1);if(this.stepControl){var a;(a=this._childForms)==null||a.forEach(function(b){var c;return(c=b.resetForm)==null?void 0:c.call(b)});this.stepControl.reset()}};g.ngOnChanges=function(){this._stepper._stateChanged()};
g._markAsInteracted=function(){this.interacted||(this.interacted=!0,this.interactedStream.emit(this))};g._showError=function(){var a;return(a=this._stepperOptions.showError)!=null?a:this._customError!=null};
da.Object.defineProperties(q6.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}}});q6.\u0275fac=function(a){return new (a||q6)};
q6.\u0275cmp=C({type:q6,selectors:[["cdk-step"]],contentQueries:function(a,b,c){a&1&&(Sg(c,o6,5),Sg(c,Fy,5));if(a&2){var d;Vg(d=Wg())&&(b.stepLabel=d.first);Vg(d=Wg())&&(b._childForms=d)}},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",uh],optional:[2,
"optional","optional",uh],completed:[2,"completed","completed",uh],hasError:[2,"hasError","hasError",uh]},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],features:[dg,rv],ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(Ig(),D(0,ZJb,1,0,"ng-template"))},encapsulation:2,changeDetection:0});
var p6=function(){this._dir=r(fx,{optional:!0});this._changeDetectorRef=r(Ov);this._elementRef=r(ef);this._destroyed=new Uf;this.steps=new Qg;this._sortedHeaders=new Qg;this.linear=!1;this._selectedIndex=0;this.selectionChange=new Dv;this.selectedIndexChange=new Dv;this._groupId=r(Ww).getId("cdk-stepper-");this._orientation="horizontal"};g=p6.prototype;
g.ngAfterContentInit=function(){var a=this;this._steps.changes.pipe(Xf(this._steps),Zf(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(Xf(this._stepHeader),Zf(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=Zw(ax(Yw(new dx(this._sortedHeaders))),this._orientation==="vertical");(this._dir?this._dir.change:Ae()).pipe(Xf(this._layoutDirection()),Zf(this._destroyed)).subscribe(function(b){return $w(a._keyManager,
b)});bx(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 this._groupId+"-label-"+a};g._getStepContentId=function(a){return this._groupId+"-content-"+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):bx(this._keyManager,a);this._selectedIndex=a;this.selectedIndexChange.emit(this._selectedIndex);this._stateChanged()};
g._onKeydown=function(a){var b=Xh(a),c=a.keyCode,d=this._keyManager;if(d.activeItemIndex==null||b||c!==32&&c!==13)q8b(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=ai();return a===b||a.contains(b)};g._isValidIndex=function(a){return a>-1&&(!this.steps||a<this.steps.length)};
da.Object.defineProperties(p6.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&&Zw(this._keyManager,a==="vertical")}}});p6.\u0275fac=function(a){return new (a||p6)};
p6.\u0275dir=Df({type:p6,selectors:[["","cdkStepper",""]],contentQueries:function(a,b,c){a&1&&(Sg(c,q6,5),Sg(c,n6,5));if(a&2){var d;Vg(d=Wg())&&(b._steps=d);Vg(d=Wg())&&(b._stepHeader=d)}},inputs:{linear:[2,"linear","linear",uh],selectedIndex:[2,"selectedIndex","selectedIndex",vh],selected:"selected",orientation:"orientation"},outputs:{selectionChange:"selectionChange",selectedIndexChange:"selectedIndexChange"},exportAs:["cdkStepper"],features:[dg]});var r6=function(){this._stepper=r(p6);this.type="submit"};r6.\u0275fac=function(a){return new (a||r6)};r6.\u0275dir=Df({type:r6,selectors:[["button","cdkStepperNext",""]],hostVars:1,hostBindings:function(a,b){a&1&&M("click",function(){return b._stepper.next()});a&2&&Dg("type",b.type)},inputs:{type:"type"}});var s6=function(){this._stepper=r(p6);this.type="button"};s6.\u0275fac=function(a){return new (a||s6)};
s6.\u0275dir=Df({type:s6,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(a,b){a&1&&M("click",function(){return b._stepper.previous()});a&2&&Dg("type",b.type)},inputs:{type:"type"}});var t6=function(){};t6.\u0275fac=function(a){return new (a||t6)};t6.\u0275mod=Cf({type:t6});t6.\u0275inj=p({imports:[gx]});var u6=function(){r6.apply(this,arguments)};Y(u6,r6);u6.\u0275fac=function(){var a;return function(b){return(a||(a=ee(u6)))(b||u6)}}();u6.\u0275dir=Df({type:u6,selectors:[["button","matStepperNext",""]],hostAttrs:[1,"mat-stepper-next"],hostVars:1,hostBindings:function(a,b){a&2&&Dg("type",b.type)},features:[cg]});var v6=function(){s6.apply(this,arguments)};Y(v6,s6);v6.\u0275fac=function(){var a;return function(b){return(a||(a=ee(v6)))(b||v6)}}();
v6.\u0275dir=Df({type:v6,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(a,b){a&2&&Dg("type",b.type)},features:[cg]});var w6=function(){this.templateRef=r(Og)};w6.\u0275fac=function(a){return new (a||w6)};w6.\u0275dir=Df({type:w6,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:[0,"matStepperIcon","name"]}});var Qed=function(){this._template=r(Og)};Qed.\u0275fac=function(a){return new (a||Qed)};Qed.\u0275dir=Df({type:Qed,selectors:[["ng-template","matStepContent",""]]});var x6=function(){o6.apply(this,arguments)};Y(x6,o6);x6.\u0275fac=function(){var a;return function(b){return(a||(a=ee(x6)))(b||x6)}}();x6.\u0275dir=Df({type:x6,selectors:[["","matStepLabel",""]],features:[cg]});var y6=function(){this.changes=new Uf;this.optionalLabel="Optional";this.completedLabel="Completed";this.editableLabel="Editable"};y6.\u0275fac=function(a){return new (a||y6)};y6.\u0275prov=n({token:y6,factory:y6.\u0275fac,providedIn:"root"});var Red={provide:y6,deps:[[new tv,new uv,y6]],useFactory:function(a){return a||new y6}};var z6=function(){this._elementRef=r(ef);this._intl=r(y6);this._focusMonitor=r(ww);r(Aw).load(Ux);r(Aw).load(Bw);var a=r(Ov);this._intlSubscription=this._intl.changes.subscribe(function(){return a.markForCheck()})};Y(z6,n6);z6.\u0275dir=n6.\u0275dir;g=z6.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?xw(this._focusMonitor,this._elementRef,a,b):this._elementRef.nativeElement.focus(b)};g._stringLabel=function(){return this.label instanceof x6?null:this.label};g._templateLabel=function(){return this.label instanceof x6?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};z6.\u0275fac=function(a){return new (a||z6)};
z6.\u0275cmp=C({type:z6,selectors:[["mat-step-header"]],hostAttrs:["role","tab",1,"mat-step-header"],hostVars:2,hostBindings:function(a,b){a&2&&tg("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"},features:[cg],decls:10,vars:17,consts:[["matRipple","",1,"mat-step-header-ripple","mat-focus-indicator",3,"matRippleTrigger",
"matRippleDisabled"],[1,"mat-step-icon-content"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"mat-step-label"],[1,"mat-step-text-label"],[1,"mat-step-optional"],[1,"mat-step-sub-label-error"],["aria-hidden","true"],[1,"cdk-visually-hidden"],[3,"ngTemplateOutlet"]],template:function(a,b){a&1&&(K(0,"div",0),I(1,"div")(2,"div",1),D(3,$Jb,1,2,"ng-container",2)(4,eKb,2,1),J()(),I(5,"div",3),D(6,fKb,2,1,"div",4)(7,gKb,2,1,"div",4)(8,hKb,2,1,"div",5)(9,iKb,2,1,"div",6),J());if(a&2){var c;E("matRippleTrigger",
b._getHostElement())("matRippleDisabled",b.disableRipple);B();vg("mat-step-icon-state-",b.state," mat-step-icon");sg("mat-step-icon-selected",b.selected);B(2);G(b.iconOverrides&&b.iconOverrides[b.state]?3:4);B(2);sg("mat-step-label-active",b.active)("mat-step-label-selected",b.selected)("mat-step-label-error",b.state=="error");B();G((c=b._templateLabel())?6:b._stringLabel()?7:-1,c);B(2);G(b.optional&&b.state!="error"?8:-1);B();G(b.state==="error"?9:-1)}},dependencies:[Xx,dw,pB],styles:['.mat-step-header{overflow:hidden;outline:none;cursor:pointer;position:relative;box-sizing:content-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-step-header:focus .mat-focus-indicator::before{content:""}.mat-step-header:hover[aria-disabled=true]{cursor:default}.mat-step-header:hover:not([aria-disabled]),.mat-step-header:hover[aria-disabled=false]{background-color:var(--mat-stepper-header-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-inverse-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent));border-radius:var(--mat-stepper-header-hover-state-layer-shape, var(--mat-sys-corner-medium))}.mat-step-header.cdk-keyboard-focused,.mat-step-header.cdk-program-focused{background-color:var(--mat-stepper-header-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-inverse-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent));border-radius:var(--mat-stepper-header-focus-state-layer-shape, var(--mat-sys-corner-medium))}@media(hover: none){.mat-step-header:hover{background:none}}@media(forced-colors: active){.mat-step-header{outline:solid 1px}.mat-step-header[aria-selected=true] .mat-step-label{text-decoration:underline}.mat-step-header[aria-disabled=true]{outline-color:GrayText}.mat-step-header[aria-disabled=true] .mat-step-label,.mat-step-header[aria-disabled=true] .mat-step-icon,.mat-step-header[aria-disabled=true] .mat-step-optional{color:GrayText}}.mat-step-optional{font-size:12px;color:var(--mat-stepper-header-optional-label-text-color, var(--mat-sys-on-surface-variant))}.mat-step-sub-label-error{font-size:12px;font-weight:normal}.mat-step-icon{border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative;color:var(--mat-stepper-header-icon-foreground-color, var(--mat-sys-surface));background-color:var(--mat-stepper-header-icon-background-color, var(--mat-sys-on-surface-variant))}.mat-step-icon-content{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex}.mat-step-icon .mat-icon{font-size:16px;height:16px;width:16px}.mat-step-icon-state-error{background-color:var(--mat-stepper-header-error-state-icon-background-color, transparent);color:var(--mat-stepper-header-error-state-icon-foreground-color, var(--mat-sys-error))}.mat-step-icon-state-error .mat-icon{font-size:24px;height:24px;width:24px}.mat-step-label{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:50px;vertical-align:middle;font-family:var(--mat-stepper-header-label-text-font, var(--mat-sys-title-small-font));font-size:var(--mat-stepper-header-label-text-size, var(--mat-sys-title-small-size));font-weight:var(--mat-stepper-header-label-text-weight, var(--mat-sys-title-small-weight));color:var(--mat-stepper-header-label-text-color, var(--mat-sys-on-surface-variant))}.mat-step-label.mat-step-label-active{color:var(--mat-stepper-header-selected-state-label-text-color, var(--mat-sys-on-surface-variant))}.mat-step-label.mat-step-label-error{color:var(--mat-stepper-header-error-state-label-text-color, var(--mat-sys-error));font-size:var(--mat-stepper-header-error-state-label-text-size, var(--mat-sys-title-small-size))}.mat-step-label.mat-step-label-selected{font-size:var(--mat-stepper-header-selected-state-label-text-size, var(--mat-sys-title-small-size));font-weight:var(--mat-stepper-header-selected-state-label-text-weight, var(--mat-sys-title-small-weight))}.mat-step-text-label{text-overflow:ellipsis;overflow:hidden}.mat-step-header .mat-step-header-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-step-icon-selected{background-color:var(--mat-stepper-header-selected-state-icon-background-color, var(--mat-sys-primary));color:var(--mat-stepper-header-selected-state-icon-foreground-color, var(--mat-sys-on-primary))}.mat-step-icon-state-done{background-color:var(--mat-stepper-header-done-state-icon-background-color);color:var(--mat-stepper-header-done-state-icon-foreground-color)}.mat-step-icon-state-edit{background-color:var(--mat-stepper-header-edit-state-icon-background-color, var(--mat-sys-primary));color:var(--mat-stepper-header-edit-state-icon-foreground-color, var(--mat-sys-on-primary))}\n'],
encapsulation:2,changeDetection:0});var Sed=ri("horizontalStepTransition",[ui("previous",ti({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),ui("current",ti({transform:"none",visibility:"inherit"})),ui("next",ti({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),vi("* => *",gqa([si("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"),hqa()]),{params:{animationDuration:"500ms"}})]),Ted=ri("verticalStepTransition",[ui("previous",ti({height:"0px",visibility:"hidden"})),ui("next",ti({height:"0px",visibility:"hidden"})),
ui("current",ti({height:"*",visibility:"inherit"})),vi("* <=> current",gqa([si("{{animationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)"),hqa()]),{params:{animationDuration:"225ms"}})]);var Ued=["*"],nKb=function(a,b){return{step:a,i:b}},qKb=function(a){return{animationDuration:a}},pKb=function(a,b){return{value:a,params:b}},A6=function(){q6.apply(this,arguments);this._errorStateMatcher=r(Tx,{skipSelf:!0});this._viewContainerRef=r(Pg);this._isSelected=je.EMPTY;this.stepLabel=void 0};Y(A6,q6);
A6.prototype.ngAfterContentInit=function(){var a=this;this._isSelected=this._stepper.steps.changes.pipe(Yf(function(){return a._stepper.selectionChange.pipe(z(function(b){return b.selectedStep===a}),Xf(a._stepper.selected===a))})).subscribe(function(b){b&&a._lazyContent&&!a._portal&&(a._portal=new Ex(a._lazyContent._template,a._viewContainerRef))})};A6.prototype.ngOnDestroy=function(){this._isSelected.unsubscribe()};
A6.prototype.isErrorState=function(a,b){var c=!!(a&&a.invalid&&this.interacted);return this._errorStateMatcher.isErrorState(a,b)||c};A6.\u0275fac=function(){var a;return function(b){return(a||(a=ee(A6)))(b||A6)}}();
A6.\u0275cmp=C({type:A6,selectors:[["mat-step"]],contentQueries:function(a,b,c){a&1&&(Sg(c,x6,5),Sg(c,Qed,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"],features:[ch([{provide:Tx,useExisting:A6},{provide:q6,useExisting:A6}]),cg],ngContentSelectors:Ued,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(a){a&1&&(Ig(),D(0,kKb,2,1,"ng-template"))},dependencies:[Ix],encapsulation:2,
changeDetection:0});var B6=function(){p6.call(this);this._steps=this._stepHeader=void 0;this.steps=new Qg;this.animationDone=new Dv;this.labelPosition="end";this.headerPosition="top";this._iconOverrides={};this._animationDone=new Uf;this._animationDuration="";this._isServer=!r(tw).isBrowser;this.orientation=r(ef).nativeElement.nodeName.toLowerCase()==="mat-vertical-stepper"?"vertical":"horizontal"};Y(B6,p6);B6.\u0275dir=p6.\u0275dir;
B6.prototype.ngAfterContentInit=function(){var a=this;p6.prototype.ngAfterContentInit.call(this);this._icons.forEach(function(b){return a._iconOverrides[b.name]=b.templateRef});this.steps.changes.pipe(Zf(this._destroyed)).subscribe(function(){a._stateChanged()});this._animationDone.pipe(Zf(this._destroyed)).subscribe(function(b){b.toState==="current"&&a.animationDone.emit()})};B6.prototype._stepIsNavigable=function(a,b){return b.completed||this.selectedIndex===a||!this.linear};
B6.prototype._getAnimationDuration=function(){return this.animationDuration?this.animationDuration:this.orientation==="horizontal"?"500ms":"225ms"};da.Object.defineProperties(B6.prototype,{animationDuration:{configurable:!0,enumerable:!0,get:function(){return this._animationDuration},set:function(a){this._animationDuration=/^\d+$/.test(a)?a+"ms":a}}});B6.\u0275fac=function(a){return new (a||B6)};
B6.\u0275cmp=C({type:B6,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(a,b,c){a&1&&(Sg(c,A6,5),Sg(c,w6,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(z6,5);if(a&2){var c;Vg(c=Wg())&&(b._stepHeader=c)}},hostAttrs:["role","tablist"],hostVars:11,hostBindings:function(a,b){a&2&&(jg("aria-orientation",b.orientation),sg("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"],features:[ch([{provide:p6,useExisting:B6}]),cg],ngContentSelectors:Ued,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(),D(0,lKb,1,0)(1,sKb,7,0,"div",1)(2,uKb,2,0)(3,vKb,1,23,"ng-template",null,0,ih));if(a&2){var c;G(b._isServer?0:-1);B();G((c=b.orientation)==="horizontal"?
1:c==="vertical"?2:-1)}},dependencies:[dw,z6],styles:['.mat-stepper-vertical,.mat-stepper-horizontal{display:block;font-family:var(--mat-stepper-container-text-font, var(--mat-sys-body-medium-font));background:var(--mat-stepper-container-color, var(--mat-sys-surface))}.mat-horizontal-stepper-header-container{white-space:nowrap;display:flex;align-items:center}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header-container{align-items:flex-start}.mat-stepper-header-position-bottom .mat-horizontal-stepper-header-container{order:1}.mat-stepper-horizontal-line{border-top-width:1px;border-top-style:solid;flex:auto;height:0;margin:0 -16px;min-width:32px;border-top-color:var(--mat-stepper-line-color, var(--mat-sys-outline))}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative;top:calc(calc((var(--mat-stepper-header-height, 72px) - 24px) / 2) + 12px)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{border-top-width:1px;border-top-style:solid;content:"";display:inline-block;height:0;position:absolute;width:calc(50% - 20px)}.mat-horizontal-stepper-header{display:flex;height:72px;overflow:hidden;align-items:center;padding:0 24px;height:var(--mat-stepper-header-height, 72px)}.mat-horizontal-stepper-header .mat-step-icon{margin-right:8px;flex:none}[dir=rtl] .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:8px}.mat-horizontal-stepper-header::before,.mat-horizontal-stepper-header::after{border-top-color:var(--mat-stepper-line-color, var(--mat-sys-outline))}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{padding:calc((var(--mat-stepper-header-height, 72px) - 24px) / 2) 24px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header::after{top:calc(calc((var(--mat-stepper-header-height, 72px) - 24px) / 2) + 12px)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{box-sizing:border-box;flex-direction:column;height:auto}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{right:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before{left:0}[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:last-child::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:first-child::after{display:none}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-label{padding:16px 0 0 0;text-align:center;width:100%}.mat-vertical-stepper-header{display:flex;align-items:center;height:24px;padding:calc((var(--mat-stepper-header-height, 72px) - 24px) / 2) 24px}.mat-vertical-stepper-header .mat-step-icon{margin-right:12px}[dir=rtl] .mat-vertical-stepper-header .mat-step-icon{margin-right:0;margin-left:12px}.mat-horizontal-stepper-wrapper{display:flex;flex-direction:column}.mat-horizontal-stepper-content{outline:0}.mat-horizontal-stepper-content.mat-horizontal-stepper-content-inactive{height:0;overflow:hidden}.mat-horizontal-stepper-content:not(.mat-horizontal-stepper-content-inactive){visibility:inherit !important}.mat-horizontal-content-container{overflow:hidden;padding:0 24px 24px 24px}@media(forced-colors: active){.mat-horizontal-content-container{outline:solid 1px}}.mat-stepper-header-position-bottom .mat-horizontal-content-container{padding:24px 24px 0 24px}.mat-vertical-content-container{margin-left:36px;border:0;position:relative}@media(forced-colors: active){.mat-vertical-content-container{outline:solid 1px}}[dir=rtl] .mat-vertical-content-container{margin-left:0;margin-right:36px}.mat-stepper-vertical-line::before{content:"";position:absolute;left:0;border-left-width:1px;border-left-style:solid;border-left-color:var(--mat-stepper-line-color, var(--mat-sys-outline));top:calc(8px - calc((var(--mat-stepper-header-height, 72px) - 24px) / 2));bottom:calc(8px - calc((var(--mat-stepper-header-height, 72px) - 24px) / 2))}[dir=rtl] .mat-stepper-vertical-line::before{left:auto;right:0}.mat-vertical-stepper-content{overflow:hidden;outline:0}.mat-vertical-stepper-content:not(.mat-vertical-stepper-content-inactive){visibility:inherit !important}.mat-vertical-content{padding:0 24px 24px 24px}.mat-step:last-child .mat-vertical-content-container{border:none}\n'],
encapsulation:2,data:{animation:[Sed,Ted]},changeDetection:0});var Ved=["summary"],Wed=["reproSteps"],Xed=["description"],Yed=function(a){return{nonEmptyValidator:a}},Zed=function(a,b){return{reproStepsValidator:a,nonEmptyValidator:b}},zKb=function(){return{noWizard:"true"}},$ed=[Wj("security@chromium.org")],C6=function(){this.activeSession=r(Bu);this.analytics=r(OF);this.butterBar=r(fH);this.currentUser=r(b0);this.componentIds=r(Jed);this.customFieldIds=r(Ked);this.hotlistIds=r(Led);this.issueApi=r(ME);this.paths=r(IP);this.redirectUrl=r(f4);this.userAccess=
r(uE);this.Persona=Ged;this.PlatformOs=Ded;var a=KJb(),b;var c=window.navigator.userAgent.match(/chrome\/(\d|\.)+/i)||[];if(c.length>0){var d;c=(d=c[0])==null?void 0:d.split("/")[1]}else c=void 0;this.model={persona:"USER",category:void 0,os:a?[a]:[],channel:"Not sure",version:(b=c)!=null?b:"",summary:"",reproSteps:"1. \n2. \n3. ",description:"",regression:"N/A",comments:"",customQuestionResponses:[]};this.ackIssueQuality=!1;this.uploads=[];this.isSubmitEnabled=!0;this.enableRecaptcha=this.activeSession.userRequiresCaptcha();
this.recaptchaResponse="";this.existingIssuesLink="/issues?q=componentid:"+this.componentIds.default+encodeURIComponent("+");this.fullScreen=!0},xKb=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:Db(b)}};g=C6.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){Ta(this.uploads,a)};
g.getAttachments=function(){for(var a=[],b=k(this.uploads),c=b.next();!c.done;c=b.next())c=c.value,c.state===2&&c.blobRef&&a.push(pj(c.blobRef));return a};
g.submit=function(){var a=this,b,c,d,e,f;return se(function(h){switch(h.nextAddress){case 1:var l="BUG",q=null,u=null,A="P2",F="S2",H=[a.hotlistIds.unconfirmed];a.model.regression==="Yes"&&H.push(a.hotlistIds.chromiumRegression);var N,O,T,ea=(T=(N=a.model.category)==null?void 0:(O=N.ccEmails)==null?void 0:O.map(Wj).filter(ik))!=null?T:[],ka;((ka=a.model.category)==null?void 0:ka.value)==="SECURITY"&&(l="VULNERABILITY",A="P4",F="S4",q="LIMIT_VIEW",u=$ed);var oa;N=((oa=a.model.category)==null?void 0:
oa.componentId)||a.componentIds.default;oa=a.model.summary;O=JKb(a.model,a.customFieldIds);T=a.model;var La;ka="\n# Steps to reproduce the problem\n"+T.reproSteps+"\n\n# Problem Description\n"+T.description+"\n\n"+(T.comments.length>0?"\n# Additional Comments\n"+T.comments:"")+"\n\n# Summary\n"+T.summary+"\n\n"+LKb(T.customQuestionResponses)+"\n\n# Additional Data\nCategory: "+((La=T.category)==null?void 0:La.title)+" \\\nChrome Channel: "+T.channel+" \\\nRegression: "+T.regression;ka=ka.replace(/^\n/,
"");b={componentId:N,type:l,status:"NEW",priority:A,severity:F,title:oa,customField:O,comment:ka.replace(/\n{3,}/g,"\n\n"),formattingMode:"MARKDOWN",inProd:!0,isArchived:!1,reporterUser:a.currentUser.user,issueAccessLimitLevel:q,collaboratorsUsers:u,staffing:null,ccUsers:[a.currentUser.user].concat(t(ea)),hotlistId:H,assigneeUser:null,verifierUser:null,duplicateOfIssueId:null,blockedByIssueId:null,blockingIssueId:null,changelist:null,gerritChanges:null,postmortems:null,foundInVersion:null,targetedToVersion:null,
verifiedInVersion:null,retention:null,isDeleted:null,deletionReason:null,duplicateIssueId:null,sloStartTime:null,sloEndTime:null,sloSnoozeType:null};jq(a.butterBar,"Saving...",0);te(h,2);return y(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("mg");a.butterBar.dismiss();a.analytics.trackEvent("createIssue","fileAndRedirect","wizard",!0);return y(h,vE(a.userAccess,
"reader","issues/"+d),5);case 5:(e=h.yieldResult)?ccd(a.redirectUrl,Rq(d),String(d)):(jq(a.butterBar,"New issue created: "+d+" (view access not granted)",0),ccd(a.redirectUrl,a.paths.listIssues()));Hu(h,0);break;case 2:f=we(h),jq(a.butterBar,"Failed to create issue: "+f),xe(h)}})};C6.\u0275fac=function(a){return new (a||C6)};
C6.\u0275cmp=C({type:C6,selectors:[["chrome-wizard"]],viewQuery:function(a,b){a&1&&(Rg(Ved,5),Rg(Wed,5),Rg(Xed,5),Rg(vV,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"},standalone:!1,decls:125,vars:46,consts:[["summary","ngModel"],["reproSteps","ngModel"],["description","ngModel"],["headerPosition","bottom","animationDuration","0",
"aria-label","Issue filing form","linear","",3,"disableRipple"],["aria-label","Report an issue with Chromium",3,"completed"],[1,"required"],[3,"personaChange","persona"],[3,"completed","aria-label"],[1,"inline-block"],["appearance","outline","aria-label","Operating system",1,"inline"],["multiple","",3,"ngModelChange","ngModel"],[3,"value"],[1,"inline-block","channel"],["appearance","outline","aria-label","Chrome Channel",1,"inline"],[3,"ngModelChange","ngModel"],["value","Not sure"],["value","Stable"],
["value","Beta"],["value","Dev"],["value","Canary"],["appearance","outline",1,"inline"],["matInput","","aria-label","Chrome version",3,"ngModelChange","ngModel"],["appearance","outline",1,"textarea"],["matInput","","required","","maxlength","100","name","summary","aria-label","One line summary",3,"ngModelChange","ngModel","customValidators"],["matInput","","required","","maxlength","5000","name","reproSteps","aria-label","Steps to reproduce problem",3,"ngModelChange","ngModel","customValidators"],
["matInput","","required","","maxlength","5000","name","description","aria-label","Describe the problem",3,"ngModelChange","ngModel","customValidators"],["appearance","outline","aria-label","Did this work before?"],["value","N/A"],["value","Yes"],["value","No"],[1,"actions-container"],"type button mat-stroked-button  matStepperPrevious ".split(" "),["svgIcon","chevron-left"],["type","button","mat-raised-button","","color","primary","matStepperNext","",3,"disabled"],["svgIcon","chevron-right"],["aria-label",
"Extra information about the issue"],[3,"category"],["matInput","","aria-label","Additional comments",3,"ngModelChange","ngModel"],[3,"onUploadComplete","onUploadCancel","uploads"],[1,"attachment-selector"],[3,"onSelect","includeTextLabel"],[1,"wizard-recaptcha"],["type","button","mat-raised-button","","color","primary",3,"click","disabled"],["matStepperIcon","number"],["matStepperIcon","edit"],["matStepperIcon","done"],[3,"categoryChange","persona","category"],[1,"issue-quality"],[1,"ack-issue-quality",
3,"ngModelChange","ngModel"],[3,"href"],["svgIcon","chevron-right","iconPositionEnd",""],["href","https://chromium.googlesource.com/chromium/src/+/HEAD/docs/security/faq.md"],["href","https://www.chromium.org/Home/chromium-security/reporting-security-bugs"],["href","https://g.co/chrome/vrp"],[3,"responses","category"],[3,"onUpdate"]],template:function(a,b){if(a&1){var c=v();I(0,"mat-stepper",3)(1,"mat-step",4)(2,"h2");Q(3,"Report an issue with Chromium");J();I(4,"h3");Q(5," We want you to enter the best possible issue report so that the project team members can act on it effectively. The following steps will help route your issue to the correct people. ");
J();K(6,"br");I(7,"h4",5);Q(8,"Please select your following role:");J();I(9,"wizard-persona-picker",6);M("personaChange",function(f){w(c);b.model.category=void 0;b.model.persona=f;return x()});J();D(10,yKb,20,6)(11,AKb,10,2,"div");J();I(12,"mat-step",7)(13,"h2");Q(14);J();I(15,"h3");Q(16,"Please confirm that the following version information is correct.");J();I(17,"h4",8);Q(18,"Operating System:");J();I(19,"mat-form-field",9)(20,"mat-select",10);bh("ngModelChange",function(f){w(c);ah(b.model.os,f)||
(b.model.os=f);return x(f)});I(21,"mat-option",11);Q(22,"Android");J();I(23,"mat-option",11);Q(24,"Chrome OS");J();I(25,"mat-option",11);Q(26,"iOS");J();I(27,"mat-option",11);Q(28,"Linux");J();I(29,"mat-option",11);Q(30,"Mac OS");J();I(31,"mat-option",11);Q(32,"Windows");J();I(33,"mat-option",11);Q(34,"Unknown/Other");J()()();I(35,"h4",12);Q(36,"Channel:");J();I(37,"mat-form-field",13)(38,"mat-select",14);bh("ngModelChange",function(f){w(c);ah(b.model.channel,f)||(b.model.channel=f);return x(f)});
I(39,"mat-option",15);Q(40,"Not sure");J();I(41,"mat-option",16);Q(42,"Stable");J();I(43,"mat-option",17);Q(44,"Beta");J();I(45,"mat-option",18);Q(46,"Dev");J();I(47,"mat-option",19);Q(48,"Canary");J()()();K(49,"br");I(50,"h4",8);Q(51,"Chrome version:");J();I(52,"mat-form-field",20)(53,"input",21);bh("ngModelChange",function(f){w(c);ah(b.model.version,f)||(b.model.version=f);return x(f)});J()();I(54,"h4",5);Q(55,"Please enter a one line summary (100 character limit)");J();I(56,"mat-form-field",22)(57,
"textarea",23,0);bh("ngModelChange",function(f){w(c);ah(b.model.summary,f)||(b.model.summary=f);return x(f)});Q(59,"      ");J();D(60,BKb,2,0,"mat-error");J();I(61,"h4",5);Q(62,"Steps to reproduce problem (5000 character limit)");J();I(63,"mat-form-field",22)(64,"textarea",24,1);bh("ngModelChange",function(f){w(c);ah(b.model.reproSteps,f)||(b.model.reproSteps=f);return x(f)});Q(66,"      ");J();D(67,CKb,2,0,"mat-error");J();I(68,"h4",5);Q(69,"Please describe the problem (5000 character limit)");J();
I(70,"mat-form-field",22)(71,"textarea",25,2);bh("ngModelChange",function(f){w(c);ah(b.model.description,f)||(b.model.description=f);return x(f)});Q(73,"      ");J();D(74,DKb,2,0,"mat-error");J();I(75,"h4");Q(76,"Did this work before?");J();I(77,"mat-form-field",26)(78,"mat-select",14);bh("ngModelChange",function(f){w(c);ah(b.model.regression,f)||(b.model.regression=f);return x(f)});I(79,"mat-option",27);Q(80,"Not applicable or don't know");J();I(81,"mat-option",28);Q(82,"Yes - This is a regression");
J();I(83,"mat-option",29);Q(84,"No - I think it never worked");J()()();I(85,"div",30)(86,"button",31);K(87,"mat-icon",32);Q(88," Back ");J();I(89,"button",33);Q(90," Next ");K(91,"mat-icon",34);J()()();I(92,"mat-step",35)(93,"h2");Q(94,"Extra information about the issue");J();D(95,EKb,1,1,"wizard-custom-questions",36);I(96,"h4");Q(97,"Additional comments");J();I(98,"p");Q(99," Upload Chrome variations which can help us investigate this issue: ");J();I(100,"ol")(101,"li");Q(102," Open Chrome. Go to chrome://version/?show-variations-cmd ");
J();I(103,"li");Q(104,' Notice that there is a "Command-line variations" section (you might need to scroll down the page). Copy and save the value of the section to a .txt file like variations.txt. ');J();I(105,"li");Q(106," Upload the file as an attachment. ");J()();I(107,"mat-form-field",22)(108,"textarea",37);bh("ngModelChange",function(f){w(c);ah(b.model.comments,f)||(b.model.comments=f);return x(f)});J()();I(109,"h4");Q(110,"Upload any relevant attachments");J();I(111,"b-attachment-uploader",
38);M("onUploadComplete",function(){w(c);return x(b.enableSubmit())})("onUploadCancel",function(f){w(c);b.removeUpload(f);return x(b.enableSubmit())});J();I(112,"div",39)(113,"b-attachment-selector",40);M("onSelect",function(f){w(c);b.uploadFile(f);b.isSubmitEnabled=!1;return x()});J();Q(114," You can include multiple attachments. ");J();D(115,FKb,2,0,"div",41);I(116,"div",30)(117,"button",31);K(118,"mat-icon",32);Q(119," Back ");J();I(120,"button",42);M("click",function(){w(c);return x(b.submit())});
Q(121," Submit ");J()()();D(122,GKb,0,0,"ng-template",43)(123,HKb,0,0,"ng-template",44)(124,IKb,0,0,"ng-template",45);J()}if(a&2){a=L(58);var d=L(65),e=L(72);sg("bv2-view",b.fullScreen)("hide-dots",b.model.persona===b.Persona.CONTRIBUTOR);E("disableRipple",!0);B();E("completed",xKb(b,0));B(8);E("persona",b.model.persona);B();G(b.model.persona!==b.Persona.CONTRIBUTOR?10:11);B(2);Kg("aria-label","Details for problems with ",b.model.category==null?null:b.model.category.title,"");E("completed",xKb(b,
1));B(2);R("Details for problems with ",b.model.category==null?null:b.model.category.title,"");B(6);$g("ngModel",b.model.os);B();E("value",b.PlatformOs.ANDROID);B(2);E("value",b.PlatformOs.CHROME);B(2);E("value",b.PlatformOs.IOS);B(2);E("value",b.PlatformOs.LINUX);B(2);E("value",b.PlatformOs.MAC);B(2);E("value",b.PlatformOs.WINDOWS);B(2);E("value",b.PlatformOs.UNKNOWN);B(5);$g("ngModel",b.model.channel);B(15);$g("ngModel",b.model.version);B(4);$g("ngModel",b.model.summary);E("customValidators",eh(39,
Yed,b.nonEmptyValidator));B(3);G(a.invalid&&(a.dirty||a.touched)?60:-1);B(4);$g("ngModel",b.model.reproSteps);E("customValidators",fh(41,Zed,b.reproStepsValidator,b.nonEmptyValidator));B(3);G(d.invalid&&(d.dirty||d.touched)?67:-1);B(4);$g("ngModel",b.model.description);E("customValidators",eh(44,Yed,b.nonEmptyValidator));B(3);G(e.invalid&&(e.dirty||e.touched)?74:-1);B(4);$g("ngModel",b.model.regression);B(11);E("disabled",!xKb(b,1));B(6);G(b.model.category?95:-1);B(13);$g("ngModel",b.model.comments);
B(3);E("uploads",b.uploads);B(2);E("includeTextLabel",!0);B(2);G(b.enableRecaptcha?115:-1);B(5);E("disabled",!b.isSubmitEnabled||!b.isCaptchaValid())}},dependencies:[sV,vV,pB,Q3,oi,Gy,Yy,Zy,Ny,eB,jy,Oed,XPc,pU,qU,RH,SH,aR,sz,lz,dz,kN,yL,NL,Zx,A6,B6,u6,v6,w6,tS,l6,m6,Med],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 D6=function(){this.activeSession=r(Bu);this.routeParams=r(YI);this.router=r(TA);this.userAccess=r(uE);this.rootComponentId=this.activeSession.getEnvironmentType()==="QA"?e2b.default:f2b.default};
D6.prototype.canActivate=function(){var a=this,b,c;return se(function(d){if(d.nextAddress==1)return(c=Vt(a.activeSession,"enableChromeWizard")&&((b=a.activeSession.getTracker())==null?void 0:b.trackerId)==="157"&&!a.routeParams.template&&!a.routeParams.noWizard)?y(d,vE(a.userAccess,"writer","components/"+a.rootComponentId+"/issueDefaults"),3):d.jumpTo(2);d.nextAddress!=2&&(c=!d.yieldResult);return c?d.return(UA(a.router,["issues/wizard"])):d.return(!0)})};D6.\u0275fac=function(a){return new (a||D6)};
D6.\u0275prov=n({token:D6,factory:D6.\u0275fac,providedIn:"root"});var E6=function(){var a=this;this.userResources=r(TD);this.history=r(c4);this.router=r(TA);this.activeSession=r(Bu);this.viewIssues=Qp;this.createIssue=iIa;this.componentSettings=jIa;this.currentTracker=this.activeSession.getTracker();var b;this.trackerId=(b=this.currentTracker)==null?void 0:b.trackerId;this.includeArchived=!1;this.isThinking=!0;this.isInternalSession=this.activeSession.isInternalSession();this.placeholder=this.currentTracker||this.activeSession.isExternalSession()?"Find components by name or id":
"Find components by name, team, or id";this.recentComponents$=this.userResources.getRecentComponents().then(function(c){return c.filter(function(d){return a.filterTrackerComponents(d)})}).finally(function(){a.isThinking=!1})};E6.prototype.back=function(){d4(this.history)};E6.prototype.filterTrackerComponents=function(a){return!this.trackerId||a.trackerId===this.trackerId};E6.\u0275fac=function(a){return new (a||E6)};
E6.\u0275cmp=C({type:E6,selectors:[["components-screen-wrapper"]],standalone:!1,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"],["type","button","mat-icon-button","","matTooltip","Go back","aria-label","Go back",3,"click"],["svgIcon","arrow-backward","color","primary"],[1,"bv2-appbar-right"],["mat-button","","routerLink","/components/new",1,"gmat-button","medium"],
["label","Show archived","tooltip","Toggle whether to show 'archived' Components",1,"margin-x",3,"modelChange","model"],[1,"padded"],[3,"selectedComponentChange","includeArchived","placeholder","ariaLabel"],[1,"margin-top"],[1,"pos-rel","carded","bg-main"],[1,"muted","margin-s-top","margin-left"],["routerLink","/components/all",1,"muted","hover-link"],[1,"muted"],[1,"unstyled-list","reverse-padded-sides","recent-components"],["href","https://developers.google.com/issue-tracker/concepts/components#recent-components",
"target","_blank"],[1,"flex-kids-x","clickable-row","padded",3,"routerLinkObj"],[1,"flex-1",3,"onedevHovercardTrigger"],[1,"type-l","normal-link"],[1,"margin-s-left",3,"accessLevel","labelOnlyMode"],[1,"margin-s-left",3,"trackerId","showHovercard"],[1,"muted","line-clamp-2"],[1,"right"],["mat-button","","type","button",1,"gmat-button","medium",3,"routerLinkObj"],[4,"onedevHovercardLazyBody"],[3,"onedevIsHovercardReady","componentId"]],template:function(a,b){a&1&&(I(0,"article",2)(1,"header",3)(2,
"div",4)(3,"button",5),M("click",function(){return b.back()}),K(4,"mat-icon",6),J(),I(5,"h2"),Q(6,"Components"),J()(),I(7,"div",7),D(8,MKb,2,0,"a",8),I(9,"b-slide-toggle",9),M("modelChange",function(d){return b.includeArchived=d}),J()()(),I(10,"section",10)(11,"h3"),Q(12,"Search"),J(),I(13,"b-team-component-picker",11),M("selectedComponentChange",function(d){d!=null&&Jt(b.router,jIa(d.componentId).path)}),J(),I(14,"h3",12),Q(15,"Recent Components"),J(),I(16,"div",13),D(17,QKb,4,1),S(18,"async"),J(),
I(19,"p",14)(20,"a",15),Q(21,"See all Components"),J()()()());if(a&2){var c;B(8);G(b.isInternalSession?8:-1);B();E("model",b.includeArchived);B(4);E("includeArchived",b.includeArchived)("placeholder",b.placeholder)("ariaLabel",b.placeholder);B(4);G((c=U(18,6,b.recentComponents$))?17:-1,c)}},dependencies:[eB,ky,ly,mB,rB,pB,VA,iC,tR,nR,$H,aI,fI,bI,jQ,IN,lL,ew],encapsulation:2});var afd=["bookmarkGroupName"],bfd=function(a){return{"bv2-edit-resource-readonly":a}},F6=function(){var a=r(zS);Z.call(this);var b=this;this.location=r(WN);this.appHistory=r(c4);this.snackBar=r(cH);this.bookmarkGroupsApi=r(eD);this.paths=r(IP);this.analytics=r(OF);this.errorHandler=r(CI);this.appEvents=r(yD);this.error="";this.isSaving=!1;this.bookmarkGroupUnderEdit=new Ky({name:new My("",Cy),description:new My("")});this.subscriptions.add(AS(a,function(){return!(!b.name()&&!b.description())},!1))};
Y(F6,Z);F6.\u0275dir=Z.\u0275dir;g=F6.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(){d4(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:""};F6.\u0275fac=function(a){return new (a||F6)};
F6.\u0275cmp=C({type:F6,selectors:[["b-create-bookmark-group"]],viewQuery:function(a,b){a&1&&Rg(afd,5);if(a&2){var c;Vg(c=Wg())&&(b.bookmarkGroupName=c.first)}},standalone:!1,features:[cg],decls:27,vars:11,consts:[["bookmarkGroupName",""],[1,"kd-appbar"],[1,"kd-buttonbar","ltr"],["type","button","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"],["type","button","mat-flat-button","","color","primary",3,"click","disabled"],["type","button","mat-stroked-button","","color","primary",
3,"click"]],template:function(a,b){if(a&1){var c=v();I(0,"div",1)(1,"div",2)(2,"button",3);M("click",function(){w(c);return x(b.back())});K(3,"mat-icon",4);J();I(4,"h2");Q(5,"Create a new bookmark group");J()()();I(6,"div",5)(7,"div",6)(8,"form",7);K(9,"b-error-banner",8);I(10,"div",9)(11,"label",10);Q(12,"Name");J();K(13,"input",11,0);J();I(15,"div",9)(16,"label",12);Q(17,"Description");J();I(18,"textarea",13);Q(19,"        ");J()();I(20,"p",14);Q(21," Advanced settings such as selected items and access controls may be defined once the bookmark group is created. ");
J();I(22,"div",15)(23,"button",16);M("click",function(){w(c);return x(b.save())});Q(24," Save ");J();I(25,"button",17);M("click",function(){w(c);return x(b.revertChanges())});Q(26," Revert changes ");J()()()()()}a&2&&(B(8),E("formGroup",b.bookmarkGroupUnderEdit),B(),E("error",b.error),B(),E("ngClass",eh(7,bfd,b.isSaving)),B(3),E("disabled",b.isSaving),B(2),E("ngClass",eh(9,bfd,b.isSaving)),B(3),E("disabled",b.isSaving),B(5),E("disabled",b.isSaving))},dependencies:[aw,pB,eB,jy,ly,mB,rB,Oy,oi,Gy,Hy,
Yy,Ty,Uy,J2],encapsulation:2});var cfd=["form"],G6=function(){Z.call(this);this.butterBar=r(fH);this.paths=r(IP);this.routeParams=r(YI);this.analytics=r(OF);this.appHistory=r(c4);this.bLocation=r(WN);this.activeSession=r(Bu);this.documentationLinks=r(lI);this.componentActions=r(oR);this.component={componentId:0,parentComponentId:0,name:"",description:"",archived:!1,accessLimit:{accessLevel:"ACCESS_LEVEL_UNSPECIFIED"},emailAlias:"dummyemail@google.com",componentPathInfo:{componentPathId:null,componentPathName:null,allCustomField:null,
fieldConfigsMap:new Map},commentEditState:"DISABLED",defaultTemplateId:0,slo:{inherit:!0,source:"BUGSCOPE",id:"0"},bugscopeSloId:"0",spamProtection:"NO_PROTECTIONS"};this.parentComponentInternal=null;this.sessionIsExternal=this.activeSession.isExternalSession();this.commentEditsEnabled=this.componentIsValid=this.retentionIsValid=this.isSaving=!1;this.routeParams.parentId&&this.loadParentComponent(uj(this.routeParams.parentId))};Y(G6,Z);G6.\u0275dir=Z.\u0275dir;g=G6.prototype;g.ngAfterViewInit=function(){};
g.create=function(){var a=this;this.validate()&&(jq(this.butterBar,"Saving component...",0),this.isSaving=!0,this.component.parentComponentId=this.parentComponent.componentId,this.componentActions.create(this.component).then(function(b){jq(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(Qq.editComponent.makeHref(b.componentId))},a.activeSession.getCreateComponentRedirectDelay())}).catch(function(b){a.butterBar.showWarning($o(b),0);a.isSaving=!1}))};g.back=function(){d4(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;dfd(this)};g.accessCheckComplete=function(a){this.componentIsValid=a;dfd(this)};
var dfd=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(G6.prototype,{parentComponent:{configurable:!0,enumerable:!0,get:function(){return this.parentComponentInternal},set:function(a){this.parentComponentInternal=a;dfd(this)}}});G6.\u0275fac=function(a){return new (a||G6)};
G6.\u0275cmp=C({type:G6,selectors:[["create-component-page"]],viewQuery:function(a,b){a&1&&Rg(cfd,5);if(a&2){var c;Vg(c=Wg())&&(b.createComponentForm=c.first)}},standalone:!1,features:[cg],decls:55,vars:32,consts:[["form","ngForm"],[1,"kd-appbar"],[1,"kd-buttonbar"],["format","icon","size","large","tooltip","Go back","b-aria-label","Go back",3,"onAction"],["name","arrow-backward","size","large"],[1,"bv2-view"],[1,"edit-resource-header"],[1,"edit-resource-panel"],["novalidate","",1,"create-component-form"],
[3,"error"],[1,"edit-field"],["for","component-name",1,"required"],[1,"edit-field-header"],["type","text","id","component-name","placeholder","Component name","name","componentName","aria-label","Component name",3,"ngModelChange","bFocus","ngModel","disabled","required"],["for","component-description"],["id","component-description","placeholder","Component description","name","componentDescription","aria-label","Component description",3,"ngModelChange","ngModel","disabled"],["for","parent-component",
1,"required"],["id","parent-component","ariaLabel","Parent component",3,"selectedComponentChange","accessCheckComplete","selectedComponent","placeholder","isRequired","checkAdminAccess"],[1,"edit-field","permission-toggle"],[1,"permission-toggle-checkbox"],["ariaLabel","Editable comments",3,"change","checked"],[1,"edit-field-help"],[1,"permission-toggle-help","edit-field-help"],["target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],["for","retention-settings",1,"required"],["id","retention-settings"],
[3,"modelChange","validChange","issueRetentionDisabled","isExternal","componentPathInfo","initialModel"],[1,"advanced-settings-info"],[1,"bv2-component-button-bar"],["format","fill",3,"onAction","disabled"],["format","hairline",3,"onAction","disabled"]],template:function(a,b){if(a&1){var c=v();I(0,"div",1)(1,"div",2)(2,"b-button",3);M("onAction",function(){w(c);return x(b.back())});K(3,"b-icon",4);J()()();I(4,"div",5)(5,"h2",6);Q(6,"Create component");J();I(7,"div",7)(8,"form",8,0);K(10,"b-error-banner",
9);I(11,"div",10)(12,"label",11)(13,"span",12);Q(14,"Name");J()();I(15,"input",13);bh("ngModelChange",function(d){w(c);ah(b.component.name,d)||(b.component.name=d);return x(d)});J()();I(16,"div",10)(17,"label",14)(18,"span",12);Q(19,"Description");J()();I(20,"textarea",15);bh("ngModelChange",function(d){w(c);ah(b.component.description,d)||(b.component.description=d);return x(d)});Q(21,"        ");J()();I(22,"div",10)(23,"label",16)(24,"span",12);Q(25,"Parent Component");J()();I(26,"b-team-component-picker",
17);M("selectedComponentChange",function(d){w(c);return x(b.onComponentSelect(d!==null&&d!==void 0?d:null))})("accessCheckComplete",function(d){w(c);return x(b.accessCheckComplete(d))});J()();I(27,"div",18)(28,"div",19)(29,"mat-checkbox",20);M("change",function(d){w(c);return x(b.setCommentEditState(d.checked))});J()();I(30,"div")(31,"strong",21);Q(32,"Editable Comments");J();I(33,"div",22);Q(34," When checked, users with comment access can modify their own issue comments, and editors can modify the first issue comment. ");
D(35,SKb,2,1,"a",23);J()()();I(36,"div",10)(37,"label",24)(38,"span",12);Q(39,"Retention Settings");J()();I(40,"div",21)(41,"p");Q(42,"Please choose a period of time to retain the data stored in this component.");K(43,"br");I(44,"a",23);Q(45," Learn more ");J()()();I(46,"div",25)(47,"b-retention-settings-form",26);M("modelChange",function(d){w(c);return x(b.component.retentionSettings=d)})("validChange",function(d){w(c);return x(b.retentionIsValid=d)});J()()();I(48,"p",27);Q(49," Advanced settings such as custom field and access controls may be defined once the component is created. ");
J();I(50,"div",28)(51,"b-button",29);M("onAction",function(){w(c);return x(b.create())});Q(52," Save ");J();I(53,"b-button",30);M("onAction",function(){w(c);return x(b.back())});Q(54," Discard ");J()()()()()}a&2&&(B(8),sg("show-errors",b.error),B(2),E("error",b.error),B(),sg("bv2-edit-resource-readonly",b.isSaving),B(4),E("bFocus",!0),$g("ngModel",b.component.name),E("disabled",b.isSaving)("required",!0),B(),sg("bv2-edit-resource-readonly",b.isSaving),B(4),$g("ngModel",b.component.description),E("disabled",
b.isSaving),B(2),sg("bv2-edit-resource-readonly",b.isSaving),B(4),E("selectedComponent",b.parentComponent)("placeholder","Choose Component")("isRequired",!0)("checkAdminAccess",!0),B(),sg("bv2-edit-resource-readonly",b.isSaving),B(2),E("checked",b.commentEditsEnabled),B(6),G(b.sessionIsExternal?-1:35),B(9),E("href",yu(),vf),B(2),sg("bv2-edit-resource-readonly",b.isSaving),B(),E("issueRetentionDisabled",b.isSaving)("isExternal",Ir(b.parentComponent))("componentPathInfo",b.parentComponent==null?null:
b.parentComponent.componentPathInfo)("initialModel",b.component.retentionSettings),B(4),E("disabled",b.isSaving||!b.componentIsValid),B(2),E("disabled",b.isSaving))},dependencies:[dQ,J2,Z1,Oy,oi,Gy,Hy,Yy,Ny,Ly,DM,RH,SH,J3,tR],styles:["b-team-component-picker[_ngcontent-%COMP%]{display:block;width:600px}\n/*# sourceMappingURL=create_component_page.css.map */"]});var efd=["hotlistName"],ffd=function(a){return{"bv2-edit-resource-readonly":a}},H6=function(){var a=r(zS);Z.call(this);var b=this;this.location=r(WN);this.appHistory=r(c4);this.snackBar=r(cH);this.hotlistApi=r(PD);this.analytics=r(OF);this.errorHandler=r(CI);this.appEvents=r(yD);this.error="";this.isSaving=!1;this.hotlistUnderEdit=new Ky({name:new My("",Cy),description:new My("")});this.subscriptions.add(AS(a,function(){return!(!b.name()&&!b.description())},!1))};Y(H6,Z);H6.\u0275dir=Z.\u0275dir;
g=H6.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(Qq.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(){d4(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:""};
H6.\u0275fac=function(a){return new (a||H6)};
H6.\u0275cmp=C({type:H6,selectors:[["b-create-hotlist"]],viewQuery:function(a,b){a&1&&Rg(efd,5);if(a&2){var c;Vg(c=Wg())&&(b.hotlistName=c.first)}},standalone:!1,features:[cg],decls:27,vars:11,consts:[["hotlistName",""],[1,"kd-appbar"],[1,"kd-buttonbar","ltr"],["type","button","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"],["type","button","mat-flat-button","","color","primary",3,"click","disabled"],["type","button","mat-stroked-button","","color","primary",3,"click"]],template:function(a,b){if(a&
1){var c=v();I(0,"div",1)(1,"div",2)(2,"button",3);M("click",function(){w(c);return x(b.back())});K(3,"mat-icon",4);J();I(4,"h2");Q(5,"Create a new hotlist");J()()();I(6,"div",5)(7,"div",6)(8,"form",7);K(9,"b-error-banner",8);I(10,"div",9)(11,"label",10);Q(12,"Name");J();K(13,"input",11,0);J();I(15,"div",9)(16,"label",12);Q(17,"Description");J();I(18,"textarea",13);Q(19,"        ");J()();I(20,"p",14);Q(21," Advanced settings such as access controls may be defined once the hotlist is created. ");J();
I(22,"div",15)(23,"button",16);M("click",function(){w(c);return x(b.save())});Q(24," Save ");J();I(25,"button",17);M("click",function(){w(c);return x(b.revertChanges())});Q(26," Revert changes ");J()()()()()}a&2&&(B(8),E("formGroup",b.hotlistUnderEdit),B(),E("error",b.error),B(),E("ngClass",eh(7,ffd,b.isSaving)),B(3),E("disabled",b.isSaving),B(2),E("ngClass",eh(9,ffd,b.isSaving)),B(3),E("disabled",b.isSaving),B(5),E("disabled",b.isSaving))},dependencies:[aw,pB,eB,jy,ly,mB,rB,Oy,oi,Gy,Hy,Yy,Ty,Uy,
J2],encapsulation:2});var I6=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,I6.messageId)};Y(I6,V);I6.prototype.getContent=function(){return Kh(this,1)};I6.prototype.setContent=function(a){return fl(this,1,a)};I6.prototype.hasContent=function(){return Ck(this,1)};I6.messageId="b.LlmGenericRequest";var gfd=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,gfd.messageId)};Y(gfd,V);gfd.messageId="b.LlmGenericResponse";var J6=function(){this.executor=r(NC)};J6.prototype.suggestIssueTitle=function(a){a=(new I6).setContent(a);return this.executor.post({url:"/action/llm/suggest_title",body:a,responseConstructor:gfd}).then(function(b){var c;return(c=Kh(b,1))!=null?c:""})};J6.\u0275fac=function(a){return new (a||J6)};J6.\u0275prov=n({token:J6,factory:J6.\u0275fac,providedIn:"root"});var K6=function(){this.isGeneratingTitle=new Xi(!1);this.generatedTitle=new Xi(null);this.suggestTitleRequested=new Uf};K6.\u0275fac=function(a){return new (a||K6)};K6.\u0275prov=n({token:K6,factory:K6.\u0275fac,providedIn:"root"});var L6=function(){Z.call(this);var a=this;this.activeSession=r(Bu);this.butterBar=r(fH);this.analytics=r(OF);this.llmSuggestTitleService=r(K6);this.llmApi=r(J6);this.suggestedTitle=new aB;this.enableSuggestTitle=Vt(this.activeSession,"enableSuggestTitle")||!1;pu(this.llmSuggestTitleService.suggestTitleRequested).pipe(Zf(this.destroyed$)).subscribe(function(){a.suggestIssueTitle()})};Y(L6,Z);L6.\u0275dir=Z.\u0275dir;
L6.prototype.suggestIssueTitle=function(){var a=this,b;return se(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 y(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);jq(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);xe(c)})};L6.\u0275fac=function(a){return new (a||L6)};
L6.\u0275cmp=C({type:L6,selectors:[["llm-suggest-title-button"]],inputs:{description:"description"},outputs:{suggestedTitle:"suggestedTitle"},standalone:!1,features:[cg],decls:3,vars:2,consts:[["mat-stroked-button","","color","primary","type","button","matTooltipPosition","above","aria-label","Generate AI-suggested title for this issue",1,"suggest-title-button","gmat-mdc-button","margin-s-left",3,"click","matTooltip","disabled"],["svgIcon","pen_spark_24px",1,"icon-s","margin-xs-right"]],template:function(a,
b){a&1&&(I(0,"button",0),M("click",function(){return b.suggestIssueTitle()}),K(1,"mat-icon",1),Q(2," Suggest title\n"),J());a&2&&E("matTooltip",b.description.value===""?"Enter a description to suggest a title":"Generate AI-suggested title for this issue")("disabled",b.description.value==="")},dependencies:[pB,eB,jy,mB,rB],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 hfd=[[["","mainSegment",""]],[["","dropdownSegment",""]]],M6=function(){this.mainSegment=!0};M6.\u0275fac=function(a){return new (a||M6)};M6.\u0275dir=Df({type:M6,selectors:[["button","mainSegment",""]],hostVars:2,hostBindings:function(a,b){a&2&&sg("main-segment",b.mainSegment)},standalone:!1});var N6=function(){this.dropdownAriaLabel=this.dropdownTooltip="";this.disabled=!1;this.size="large";this.dialogClosed=new aB;this.dialogOpened=new aB};N6.prototype.ngAfterContentInit=function(){};
N6.prototype.ngOnChanges=function(a){a.dropdownTooltip&&!this.dropdownAriaLabel&&(this.dropdownAriaLabel=this.dropdownTooltip)};da.Object.defineProperties(N6.prototype,{expanded:{configurable:!0,enumerable:!0,get:function(){var a,b;return(b=(a=this.trigger)==null?void 0:a.isOpen)!=null?b:!1}}});N6.\u0275fac=function(a){return new (a||N6)};
N6.\u0275cmp=C({type:N6,selectors:[["split-button"]],contentQueries:function(a,b,c){a&1&&Sg(c,M6,5);if(a&2){var d;Vg(d=Wg())&&(b.mainSegment=d.first)}},viewQuery:function(a,b){a&1&&Rg(BH,5);if(a&2){var c;Vg(c=Wg())&&(b.trigger=c.first)}},hostVars:2,hostBindings:function(a,b){a&2&&sg("expanded",b.expanded)},inputs:{dropdownTooltip:"dropdownTooltip",dropdownAriaLabel:"dropdownAriaLabel",disabled:"disabled",size:"size"},outputs:{dialogClosed:"dialogClosed",dialogOpened:"dialogOpened"},exportAs:["splitButton"],
standalone:!1,features:[rv],ngContentSelectors:["[mainSegment]","[dropdownSegment]"],decls:8,vars:7,consts:[["trigger","onedevPopupPanelTrigger"],["contentPanel","onedevPopupPanel"],["type","button","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=v();Ig(hfd);Jg(0);
I(1,"button",2,0);M("click",function(){w(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(){w(c);return x(b.dialogOpened.emit())})("onedevPopupPanelTriggerClosed",function(){w(c);return x(b.dialogClosed.emit())});K(3,"mat-icon",3);J();I(4,"onedev-popup-panel",4,1)(6,"div",5);Jg(7,1);J()()}a&2&&(a=L(5),B(),vg("dropdown-button ",b.size,""),E("onedevPopupPanelTriggerFor",
a)("matTooltip",b.dropdownTooltip)("disabled",b.disabled),jg("aria-label",b.dropdownAriaLabel))},dependencies:[pB,eB,ly,mB,rB,AH,BH],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 ifd=new Map([["TOTALLY_INCORRECT","Totally incorrect"],["MISSING_IMPORTANT_INFO","Missing important info"],["OTHER","Other"]]),O6=function(){Z.apply(this,arguments);this.butterBar=r(fH);this.analytics=r(OF);this.llmSuggestTitleService=r(K6);this.suggestionAccepted=new aB;this.isGeneratingTitle$=pu(this.llmSuggestTitleService.isGeneratingTitle).pipe(Vf({refCount:!0,bufferSize:1}));this.suggestedTitle$=pu(this.llmSuggestTitleService.generatedTitle).pipe(Vf({refCount:!0,bufferSize:1}));this.isVisible$=
Ie([pu(this.llmSuggestTitleService.isGeneratingTitle),pu(this.llmSuggestTitleService.generatedTitle)]).pipe(Zf(this.destroyed$),z(function(a){var b=k(a);a=b.next().value;b=b.next().value;return a||b}));this.suggestedTitleRejectionReasons=["TOTALLY_INCORRECT","MISSING_IMPORTANT_INFO","OTHER"];this.REJECT_REASON_TO_DISPLAY=ifd};Y(O6,Z);O6.\u0275dir=Z.\u0275dir;O6.prototype.close=function(){this.llmSuggestTitleService.generatedTitle.next(null)};
O6.\u0275fac=function(){var a;return function(b){return(a||(a=ee(O6)))(b||O6)}}();
O6.\u0275cmp=C({type:O6,selectors:[["llm-suggest-title-preview"]],outputs:{suggestionAccepted:"suggestionAccepted"},standalone:!1,features:[cg],decls:2,vars:3,consts:[["splitButton",""],[1,"suggest-title","flex-kids-x","carded","margin-s-top"],[1,"flex-kids-y","flex","gap"],[1,"flex-kids-x","align-items-center","space-between"],[1,"heading-s"],[1,"flex-kids-x"],["type","button","mat-icon-button","","aria-label","Re-generate title","matTooltip","Re-generate title",1,"request-title",3,"click"],["svgIcon",
"refresh"],["type","button","mat-icon-button","","aria-label","Hide AI suggested title","matTooltip","Hide AI suggested title",1,"hide-suggest-title",3,"click"],["svgIcon","close"],[1,"type-m","margin-s-right"],[1,"flex-kids-x","gap-s"],["mat-flat-button","","color","primary","type","button",1,"small",3,"click","disabled"],["dropdownTooltip","Specify reject reason",3,"size","disabled"],["type","button","mat-button","","mainSegment","",1,"small",3,"click","disabled"],["dropdownSegment",""],["type",
"button","mat-menu-item","",1,"rejection-reason"],["type","button","mat-menu-item","",1,"rejection-reason",3,"click"]],template:function(a,b){a&1&&(D(0,WKb,27,13,"div",1),S(1,"async"));a&2&&G(U(1,1,b.isVisible$)?0:-1)},dependencies:[pB,eB,jy,ly,mB,rB,sL,N6,M6,GL,ew],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 P6=function(){Z.call(this);var a=this;this.similarIssuesApi=r(kH);this.analytics=r(OF);this.activeSession=r(Bu);this.hasSearched=this.isLoading=!1;this.loadedIssueCount=0;this.componentId$=new Tf(1);this.contextRaw$=new Tf(1);this.tableColumns=["title","priority","createdTime"];this.isInternal=this.activeSession.isInternalSession();this.tableOptions={hideColumnHeaders:!0,enableIssueHovercard:!0,rowLimit:3,navigationOptions:{alwaysOpenNewTab:!0},modes:{createdTime:"relativepastshort"}};this.searchString$=
this.contextRaw$.pipe(z(function(b){return b.trim()}),Ue(function(b){return b.length>=7}),Lf(200));this.issues$=Ie([this.componentId$,this.searchString$]).pipe(Yf(function(b){var c=k(b);b=c.next().value;c=c.next().value;a.isLoading=!0;return lH(a.similarIssuesApi,{scope:"componentId:"+b+" modified:365d status:open",scopeSortOrder:"vote_count desc",maxResults:15,keyword:c})}),If(function(b){nj("similarIssuesApi.lookupSimilarIssues() error: ",b);var c,d,e=(d=b==null?void 0:(c=b.error)==null?void 0:
c.status)!=null?d:b==null?void 0:b.status;a.analytics.trackEvent("similarIssues","error",e);return Ae({similarIssues:[],scores:[]})}),z(function(b){return $Kb(b)}),$f(function(b){a.isLoading=!1;a.hasSearched=!0;a.loadedIssueCount=b.length}));this.issueIds$=this.issues$.pipe(z(function(b){return b.map(function(c){return c.issueId})}));this.subscriptions.add(this.issues$.pipe(z(function(b){return b.length})).subscribe(function(b){a.analytics.trackEvent("similarIssues","loaded","possible-dupes-"+b,b)}))};
Y(P6,Z);P6.\u0275dir=Z.\u0275dir;
da.Object.defineProperties(P6.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 tp(this.componentId$)}},context:{configurable:!0,enumerable:!0,set:function(a){this.contextRaw$.next(a!=null?a:"")}}});
P6.\u0275fac=function(a){return new (a||P6)};
P6.\u0275cmp=C({type:P6,selectors:[["similar-issues"]],hostVars:4,hostBindings:function(a,b){a&2&&sg("thinking-on-empty",b.isThinkingOnEmpty)("is-empty-state",b.isEmpty)},inputs:{componentId:"componentId",context:"context"},standalone:!1,features:[cg],decls:8,vars:5,consts:[[1,"flex-kids-x","align-items-center","gap-s","margin-s-y"],["svgIcon","spark_24px","color","primary"],[1,"heading-xs"],["mat-icon-button","","href","http://go/similar-issues-buganizer","target","_blank","matTooltip","Learn more",
"aria-label","Learn more",1,"xs","muted"],[3,"issueIds","tableColumns","options"],["svgIcon","help-outline"]],template:function(a,b){a&1&&(I(0,"div",0),K(1,"mat-icon",1),I(2,"h3",2),Q(3,"Possible duplicates"),J(),D(4,XKb,2,0,"a",3)(5,YKb,1,0,"b-spinner"),J(),D(6,ZKb,1,3,"b-issues-table",4),S(7,"async"));if(a&2){var c;B(4);G(b.isInternal?4:-1);B();G(b.isLoading&&!b.isThinkingOnEmpty?5:-1);B();G((c=U(7,3,b.issueIds$))?6:-1,c)}},dependencies:[pB,sL,AU,mB,rB,eB,my,ew],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 jfd=["popOver"],bLb=function(a){return{$implicit:a}},jLb=function(a){return{editingValue:a}},Q6=function(a){this.val="";this.allowMultipleLines=!0;this.disabled=this.centerEditIcon=this.newlineWithEnterKey=!1;this.hasBackdrop=!0;this.fitPopoverToViewport=!1;this.valueChange=new Dv;this.editorOpen=new Dv;this.required=this.editing=this.headerFocused=!1;this.editingValue=new My("",{nonNullable:!0});this.onChange=function(){};this.onTouched=function(){};if(a===""||a==="true"||a==="required")this.required=
!0};Y(Q6,CU);g=Q6.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(Q6.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.val},set:function(a){a!==this.val&&this.writeValue(a)}}});
Q6.\u0275fac=function(a){return new (a||Q6)($d("required"))};
Q6.\u0275cmp=C({type:Q6,selectors:[["onedev-text-field"]],viewQuery:function(a,b){a&1&&Rg(jfd,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"},standalone:!1,features:[ch([{provide:Ay,useExisting:ld(function(){return Q6}),multi:!0},{provide:CU,useExisting:ld(function(){return Q6}),multi:!0}]),cg],decls:11,vars:9,consts:[["anchor",""],["standardValueDisplay",""],["popOver","onedevPopOverEditPanel"],["inputTemplate",""],["singleLineTemplate",""],[3,"click","focus","blur"],[4,"ngIf","ngIfElse"],["class","edit-icon","xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",3,"centered",4,"ngIf"],[3,"closedWithAction",
"anchor","editorTemplate","newlineWithEnterKey","hasBackdrop","fitToViewport"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",1,"edit-icon"],["d","M20.71,5.63l-2.34-2.34C18.18,3.1,17.92,3,17.67,3c-0.26,0-0.51,0.1-0.71,0.29L3,17.25L3,21h3.75L20.71,7.04 C21.1,6.65,21.1,6.02,20.71,5.63z M5.92,19H5l0-0.92L15.54,7.53l0.92,0.92L5.92,19z"],[4,"ngIf"],[1,"textarea-wrapper"],["spellcheck","false","autocomplete","off","cdkTextareaAutosize","","cdkAutosizeMinRows",
"1",3,"formControl","cdkAutosizeMaxRows",4,"ngIf","ngIfElse"],["spellcheck","false","autocomplete","off","cdkTextareaAutosize","","cdkAutosizeMinRows","1",3,"formControl","cdkAutosizeMaxRows"],["spellcheck","false","autocomplete","off",3,"formControl"]],template:function(a,b){if(a&1){var c=v();I(0,"button",5,0);M("click",function(){w(c);return x(b.startEditing())})("focus",function(){w(c);return x(b.headerFocused=!0)})("blur",function(){w(c);return x(b.headerFocused=!1)});I(2,"span");D(3,cLb,2,4,
"ng-container",6)(4,dLb,1,1,"ng-template",null,1,ih);J();D(6,eLb,2,2,"svg",7);J();I(7,"onedev-pop-over-edit-panel",8,2);M("closedWithAction",function(f){w(c);return x(b.stopEditing(f))});J();D(9,lLb,2,2,"ng-template",null,3,ih)}if(a&2){a=L(1);var d=L(5),e=L(10);jg("aria-labelledby",b.labelledById);B(3);E("ngIf",b.valueTemplate)("ngIfElse",d);B(3);E("ngIf",!b.disabled);B();E("anchor",a)("editorTemplate",e)("newlineWithEnterKey",b.newlineWithEnterKey)("hasBackdrop",b.hasBackdrop)("fitToViewport",b.fitPopoverToViewport)}},
dependencies:[cw,dw,oi,Gy,qz,DU,Sy],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 kfd=["descriptionConfirmDialog"],lfd=function(a){return{submitted:a}},oLb=function(a,b){return{partner:a,"public":b}},MMb=function(a){return{"bv2-upload-ongoing":a}},FMb=function(){return[]},DMb=function(a){return{required:a}},RMb=function(){return{standalone:!1}},mfd=new zd("titleBannedWordsChecker"),nfd=new zd("descriptionBannedWordsChecker"),ofd={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?"}},R6=function(){Z.call(this);var a=this;this.routeParams=r(YI);this.hotkeys=r(uH);this.checkBeforeExit=r(zS);this.constants=r(FI);this.ngZone=r(kh);this.$log=r(bB);this.reloadService=r(A_);this.paths=r(IP);this.redirectUrl=r(f4);this.userAccess=r(uE);this.accessPolicy=r(nD);this.bLocation=
r(WN);this.appHistory=r(c4);this.issueTemplate=r(e4);this.issueTypeDialog=r(BI);this.componentActions=r(oR);this.activeSession=r(Bu);this.draftStore=r(kI);this.analytics=r(OF);this.issueApi=r(ME);this.hotlistApi=r(PD);this.butterBar=r(fH);this.errorHandler=r(CI);this.matDialogService=r(tI);this.appEvents=r(yD);this.userPreferencesManager=r(TG);this.cdr=r(cB,{self:!0});this.issueRelationshipsFridge=r(bG);this.issueFullFridge=r(QF);this.componentFridge=r(uD);this.clearcut=r(GF);this.jspbPrincipalTypes=
r(oG);this.trackerFridge=r(NG);this.titleBannedWordsChecker=r(mfd);this.descriptionBannedWordsChecker=r(nfd);this.confirmIssueAccessLimitSettingsService=r(H1);this.componentTemplateApi=r(xD);this.dismissalService=r(yR);this.hostElement=r(ef);this.currentUserBookmarksFridge=r(ZD);this.trackerHelpers=r(yH);this.staffingDialogService=r(F1);this.theme=r(ZP);this.enablePeoplekitAc=Vt(this.activeSession,"enablePeoplekitUserAc");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=Qp;this.userEmail=this.activeSession.getUserEmail();this.sessionIsExternal=this.activeSession.isExternalSession();this.enableRecaptcha=this.activeSession.userRequiresCaptcha();this.enableLiteralModeRevisions=Vt(this.activeSession,"enableLiteralModeRevisions");this.hotlistMap=
{};this.hotlists=[];this.templateTitle=this.templateComment="";this.appliedTemplate=null;this.urlTemplate=new Tbd(this.routeParams,this.$log);this.isLoadingComponent=!1;this.descriptionBoxId="bv2-description";this.availablePredefinedTemplates=[];this.preferredTemplateId=this.selectedTemplateInternal=this.availableExistingIssueTemplate=null;this.everClickedSimilarIssues=this.everShowedIssueHovercard=this.isNavigatingAway=this.isSaving=this.submitRequested=!1;this.selectedHotlists=[];this.componentHasExpandedAccessEnabled=
this.canViewIssuesInComponent=this.canEditIssuesInComponent=this.createAclLoading=this.canCreateNewIssuesInComponent=this.newIssueStarted=!1;this.customFieldMap={};this.customFieldAllowedValuesMap={};this.issue=pj(VMb);this.verifierText=this.reporterText=this.assigneeText=null;this.ccsText=[];this.collaboratorsText=[];this.collaboratorGroupsText=[];this.audience="EXTERNAL";this.selectedComponent=null;this.selectedAccessLimitLevel="LIMIT_NONE";this.selectedComponentProcessedPromise=Promise.resolve(void 0);
this.useCodefont=!1;this.hasAdvancedFieldsInUrlTemplate=Vbd(this.urlTemplate)||!!this.parentIssueIds||!!this.childrenIssueIds;this.selectedHotlistIds=[[]];this.isFormatInRoute=!1;this.isCollaboratorsValid=this.isChildIssueIdsValid=this.isParentIssueIdsValid=this.isBlockingIssueIdValid=this.isBlockedByIssueIdValid=!0;this.invalidCollaboratorsInput=[];this.startTime=new Date;this.recaptchaResponse="";this.toIssuePriority=Lj;this.toIssueSeverity=Lua;this.FieldType=AQ;this.initialized=!1;this.trackerComponent$=
Ne(function(){return Ae(a.activeSession.getTracker())}).pipe(Yf(function(c){return c?a.componentFridge.watch(Number(c.componentId)).pipe(Xf(void 0)):Ae(void 0)}));this.trackerId$=new Xi(void 0);this.tracker$=this.trackerId$.pipe(Yf(function(c){return c?a.trackerFridge.watch(c):Ae(void 0)}));this.titleAfterBlur$=new Uf;this.similarIssuesSearchString$=this.titleAfterBlur$.pipe(Of(100));this.trackerCollaboratorGroups=[];this.enableSuggestTitle=Vt(this.activeSession,"enableSuggestTitle")&&this.activeSession.isInternalSession();
this.enableIssueSuggestionPicker=Vt(this.activeSession,"enableIssueCreationSuggestions")&&this.activeSession.isInternalSession();this.lastSelectedSuggestedIssueMetadata=null;this.shouldHighlightCollaborators=this.shouldHighlightCcs=this.shouldHighlightReporter=this.shouldHighlightAssignee=this.shouldHighlightDescription=!1;this.onAnyClick=function(c){bBa(c).match("SIMILAR-ISSUES")&&(a.everClickedSimilarIssues=!0,a.analytics.trackEvent("similarIssues","click"))};this.getSingleEditFieldType=YTa;this.getListFieldType=
PVa;this.didConfirmNavigateAway=function(){var c,d=(c=a.selectedComponent)==null?void 0:c.componentPathInfo;c=ou(a.trackerHelpers,d);d="";c&&c.componentPathName&&(d=c.componentPathName[0].toString().trim());a.everShowedIssueHovercard||a.everClickedSimilarIssues?(a.analytics.trackEvent("createIssue","abandon-happy"),a.analytics.trackEvent("createIssue","abandon-happy-by-component",""+d)):(a.analytics.trackEvent("createIssue","abandon-normal"),a.analytics.trackEvent("createIssue","abandon-normal-by-component",
""+d))};this.fetchUserHotlists();this.checkBeforeExit.didConfirm=this.didConfirmNavigateAway;this.subscriptions.add(this.tracker$.subscribe(function(c){a.updateCollaboratorGroups(c)}));this.subscriptions.add(this.appEvents.hotlistChanged.subscribe(function(){a.fetchUserHotlists()}));this.subscriptions.add(this.appEvents.didShowIssueHovercard.subscribe(function(){a.everShowedIssueHovercard=!0;a.analytics.trackEvent("similarIssues","hover")}));this.subscriptions.add(this.appEvents.hotlistCreated.subscribe(function(){a.fetchUserHotlists()}));
this.subscriptions.add(this.appEvents.bookmarkGroupModified.subscribe(function(){a.fetchUserHotlists()}));this.enableCreateIssueWithTemplate=Vt(this.activeSession,"enableCreateIssueWithTemplate");this.frontendIsInternalOrPartner=this.activeSession.isInternalSession()||KC(this.activeSession);this.priorityChoices=this.constants.priorities.map(function(c){return{value:c,displayText:c}});this.severityChoices=this.constants.severities.map(function(c){return{value:c,displayText:c}});this.issueTypeChoices=
this.constants.editIssueTypes.map(function(c){return{value:c,displayText:Mj(c),altText:a.constants.issueTypesShortDescriptions.get(c)}});this.piiWarningMessage=this.activeSession.isInternalSession()?"Please be sure you don't include sensitive information/data (PII, SPII, and other sensitive user data) in unrestricted issues (either in text or through attachments). If you do need to include sensitive information, please be sure to link to a secure doc (e.g. a drive file with proper sharing settings) and share only with those that have a business need for access. Please see http://go/buganizerpuppy.":
void 0;this.componentAutocomplete=this.routeParams.componentAutocomplete;this.componentRequestedInUrl=this.routeParams.component;this.templateIssueRequestedInUrl=this.routeParams.template_issue;if(this.routeParams.template){var b=Number(this.routeParams.template);b&&(this.preferredTemplateId=b)}if(b=this.routeParams.parentIssueId)this.parentIssueIds=Array.isArray(b)?b:[b];if(b=this.routeParams.childrenIssueIds)this.childrenIssueIds=Array.isArray(b)?b:[b];if(b=this.routeParams.afterIssueId)this.afterIssueId=
Array.isArray(b)?b[0]:b;TMb(this.issue,this);this.routeParams.description?this.comment=new qu(this.routeParams.description,!0):(b=this.draftStore.$window.sessionStorage.getItem(Kp("0"))||"",this.comment=new qu(b));this.comment.formattingMode=pfd(this);b=qfd(this.routeParams);this.isFormatInRoute=b!=null;b&&(this.comment.formattingMode=b);this.subscriptions.add(this.userPreferencesManager.preferences$.subscribe(function(c){var d;a.useCodefont=(d=c.useCodefont)!=null?d:a.useCodefont}));this.subscriptions.add(vH(this.hotkeys,
{title:"Create Issue Page",hotkeys:[{keys:["h"],displayAs:"h",description:"Edit hotlists",onPress:function(){var c;(c=a.hotlistPicker)==null||c.open()}},{keys:["u"],displayAs:"u",description:"Back to previous page",onPress:function(){a.back()}}]}));this.componentRequestedInUrl?(this.newIssueStarted=!0,rfd(this,Number(this.componentRequestedInUrl))):this.componentAutocomplete?sfd(this,this.componentAutocomplete):($bd(this.urlTemplate,this.issue),this.updateSelectedHotlists());this.templateIssueRequestedInUrl&&
(this.newIssueStarted=!0,tfd(this));this.originalIssueCopy=pj(this.issue);this.routeParams.description&&(this.originalIssueCopy.comment=this.comment.value,this.issue.comment=this.comment.value);this.isFormatInRoute&&(this.issue.formattingMode=this.comment.formattingMode,this.originalIssueCopy.formattingMode=this.issue.formattingMode);this.createRestrictedResourcesComponentIds=this.activeSession.getCreateRestrictedSubresourcesComponentIds();this.subscriptions.add(AS(this.checkBeforeExit,function(){return a.hasUnsavedChanges()},
!1))};Y(R6,Z);R6.\u0275dir=Z.\u0275dir;g=R6.prototype;g.getAutocompleteConfig=function(){return{showSuggestions:!0,moveAutocompleteAboveAnchorIfOffscreen:!0,density:2,theme:It(this.theme)?1:0}};g.handleAutocompleteSelection=function(a){return a.length>0?this.selectionsToStrings(a)[0]:""};g.selectionsToStrings=function(a){return a.map(function(b){return b.result().getPrimaryTarget().getValue()})};
g.createSearchBarConfig=function(a){return{helpText:void 0,helpTextWithSelections:"",density:2,theme:It(this.theme)?1:0,preselectedIds:a.map(function(b){return $s(b)})}};g.isCaptchaValid=function(){return!this.enableRecaptcha||this.recaptchaResponse!==""};
var ufd=function(a){if(!a.templateTitle||!a.templateComment)return!1;var b=fJa(a.comment.value,a.templateComment);return fJa(a.issue.title,a.templateTitle)&&b},NMb=function(a){return a.isSaving||a.isNavigatingAway||!a.canCreateNewIssuesInComponent||!a.isCaptchaValid()||!1};
R6.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||vfd(a,b))}))};R6.prototype.ngOnDestroy=function(){Z.prototype.ngOnDestroy.call(this);this.hostElement.nativeElement.removeEventListener("click",this.onAnyClick,!0)};
var S6=function(a){a.initialized&&a.ngZone.run(function(){a.cdr.detectChanges()})};R6.prototype.back=function(){d4(this.appHistory)};
var wfd=function(a){var b;return Jr(a.selectedComponent)&&!((b=a.selectedComponent)==null||!b.trackerId)&&!Hp(a.activeSession)},xfd=function(a,b){b==="LIMIT_VIEW"||b==="LIMIT_VIEW_TRUSTED"?a.selectedAccessLimitLevel=b:(a.selectedAccessLimitLevel="LIMIT_VIEW_TRUSTED",jq(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.":
"")))};R6.prototype.onAccessLimitLevelSelected=function(a){this.selectedAccessLimitLevel=a};
var vfd=function(a,b){a.selectedComponent=b;a.selectedComponent?(a.issue=Object.assign({},a.issue,{componentId:a.selectedComponent.componentId}),a.originalIssueCopy.componentId=a.selectedComponent.componentId,yfd(a),a.audience=Ir(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):(Ic(a.issue,"componentId"),a.audience="EXTERNAL");a.submitRequested=!1;zfd(a);a.selectedComponentProcessedPromise=Promise.all([Afd(a),Bfd(a)]).then(function(){});return a.selectedComponentProcessedPromise};R6.prototype.isLiteralModeSupported=function(){return!this.selectedTemplate};
var Cfd=function(a){a.assigneeText=a.assigneeText?a.assigneeText:null;a.verifierText=a.verifierText?a.verifierText:null;a.reporterText=a.reporterText?a.reporterText:null},rLb=function(a){return e3a(a.selectedComponent)?"External Google partners may be able to see this issue.":Jr(a.selectedComponent)?"Public users may be able to see this issue.":""};
R6.prototype.getCollaboratorGroupsString=function(){return this.collaboratorGroupsText.length===0?"":this.collaboratorGroupsText.length>1?this.collaboratorGroupsText.length+" groups selected":this.collaboratorGroupsText[0]};R6.prototype.updateCollaboratorGroups=function(a){a&&a.collaboratorGroups&&(this.trackerCollaboratorGroups=Qj(a.collaboratorGroups),this.separateCollaboratorGroups())};
R6.prototype.separateCollaboratorGroups=function(){for(var a=[],b=new Set(this.trackerCollaboratorGroups),c=k(this.collaboratorsText),d=c.next();!d.done;d=c.next())d=d.value,b.has(d)?this.collaboratorGroupsText.push(d):a.push(d);this.collaboratorsText=a;if(this.collaboratorGroupsText.length>0&&!Jr(this.selectedComponent)){var e;(e=this.advancedFieldsZippy)==null||e.open()}};
var tfd=function(a){var b=Number(a.templateIssueRequestedInUrl);Number.isNaN(b)?a.butterBar.showWarning("Invalid template_issue specified"):(a.availableExistingIssueTemplate=new Dfd(b,"issue","Issue "+b,!1,0,!1),a.selectedTemplate=a.availableExistingIssueTemplate)},Afd=function(a){a.availablePredefinedTemplates=[];a.selectedTemplate&&a.selectedTemplate.type==="predefined"&&!Efd(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;St(Rt(f))&&(f=e.default?"(default template)":"(unnamed template)");return new Dfd(e.templateId,"predefined",f,e.default,e.componentId,e.inheritable)});if(a.preferredTemplateId&&!a.selectedTemplate){var c=a.preferredTemplateId;if(b=a.availablePredefinedTemplates.find(function(e){return e.id===c}))a.selectedTemplate=b,a.preferredTemplateId=null}if(!a.selectedTemplate){b=k(a.availablePredefinedTemplates);for(var d=b.next();!d.done;d=b.next())if(d=d.value,d.isDefault){a.selectedTemplate=
d;break}}a.availablePredefinedTemplates.length>0&&!a.selectedTemplate&&(a.selectedTemplate=a.availablePredefinedTemplates[0]);S6(a)}).catch(function(){a.butterBar.showWarning("Unable to load templates for this component")}):Promise.resolve(void 0)},Efd=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},Bfd=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=vE(a.userAccess,"appender","components/"+b).then(function(f){a.canCreateNewIssuesInComponent=f;S6(a)}),e=vE(a.userAccess,
"writer",c).then(function(f){a.canEditIssuesInComponent=f;S6(a)});c=vE(a.userAccess,"reader",c).then(function(f){a.canViewIssuesInComponent=f;S6(a)});b=a.accessPolicy.checkComponentImplicitAccessEnabled(b).then(function(f){a.componentHasExpandedAccessEnabled=f;S6(a)});return Promise.all([d,e,c,b]).then(function(){Ffd(a);S6(a)}).catch(function(f){a.$log.warn(f)}).finally(function(){a.createAclLoading=!1})},Ifd=function(a){if(a.selectedTemplate){var b=function(c){var d=Object.assign(pj(VMb),c.snapshot);
a.selectedComponent&&(d.componentId=a.selectedComponent.componentId);var e=pj(d);Cfd(a);UMb(a,a.issue);var f=pj(a.issue);if(a.appliedTemplate)for(var h=k(Object.keys(a.appliedTemplate)),l=h.next();!l.done;l=h.next()){l=l.value;var q=a.appliedTemplate[l];if(Array.isArray(q)&&Array.isArray(f[l])){q=k(q);for(var u=q.next();!u.done;u=q.next())Mta(f[l],u.value)}else oj(q,f[l])&&delete f[l]}a.appliedTemplate=e;WMb(d,f);f=e.comment||"";a.comment.value!==a.templateComment&&(Rrc(a.comment)||f===""||a.comment.value===
f||(a.templateComment=f,Gfd(a,a.comment.value)),d.comment=a.comment.value,d.formattingMode=e.formattingMode);a.templateComment=f;var A;a.templateCommentFormattingMode=(A=e.formattingMode)!=null?A:void 0;a.templateTitle=e.title||"";d.reporterUser=Wj(a.userEmail);wfd(a)&&a.canEditIssuesInComponent?xfd(a,d.issueAccessLimitLevel||"LIMIT_NONE"):a.selectedAccessLimitLevel=d.issueAccessLimitLevel||"LIMIT_NONE";a.issue=d;TMb(a.issue,a);Ffd(a);Cfd(a);UMb(a,a.issue);a.comment.value=a.issue.comment||"";a.issue.comment&&
a.issue.formattingMode&&(a.comment.formattingMode=a.issue.formattingMode);$bd(a.urlTemplate,a.issue,a.customFieldMap);TMb(a.issue,a);a.originalIssueCopy=pj(a.issue);a.loadHotlists(a.issue.hotlistId).then(function(){a.updateSelectedHotlists();a.originalIssueCopy.hotlistId=pj(a.issue.hotlistId);S6(a)});Hfd(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(ZMb(a.selectedComponent)).then(b).then(function(){S6(a)}).catch(function(c){a.butterBar.showWarning(c.message)}):a.selectedTemplate.type==="issue"&&(bcd(a.issueTemplate,String(a.selectedTemplate.id)).then(function(c){var d;if(Hp(a.activeSession)&&((d=a.activeSession.getTracker())==null?void 0:d.trackerId)!==c.trackerId)throw Error("ng");return b(c)}).then(function(c){c&&(rfd(a,c),S6(a))}).catch(function(c){a.butterBar.showWarning(c.message)}),Fe(a.issueFullFridge.watch(String(a.selectedTemplate.id))).then(function(c){var d;
(d=a.parentIssueIds)!=null&&d.length||(a.parentIssueIds=c==null?void 0:c.parentIssueIds)}));a.selectedTemplate.id!==a.preferredTemplateId&&a.analytics.trackEvent("createIssue","changeTemplate");zfd(a)}};R6.prototype.isValid=function(){return!(tLb(this).length!==0||uLb(this).length!==0)&&!!(this.isBlockedByIssueIdValid&&this.isBlockingIssueIdValid&&this.isParentIssueIdsValid&&this.isCollaboratorsValid)&&!ALb(this.comment)&&!0};
var tLb=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})},uLb=function(a){return(a.issue.customField||[]).filter(function(b){return a.isCustomFieldRequired(b)&&Go(b)}).map(function(b){return'custom field "'+a.getCustomFieldName(b)+'"'})},Jfd=function(a){return a.collaboratorsText.length!==0&&a.canEditIssuesInComponent?ync(a.jspbPrincipalTypes,
a.collaboratorsText,!1).then(function(b){a.invalidCollaboratorsInput=Object.entries(b).filter(function(c){c=k(c);c.next();c=c.next().value;return(c==null?void 0:c.principalType)!=="USER"}).map(function(c){return k(c).next().value});return a.invalidCollaboratorsInput.length===0}).catch(function(b){a.butterBar.showWarning(b.message);return!1}):Promise.resolve(!0)},qMb=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)},ZLb=function(a){return a.split(",").map(function(b){return b.trim()}).filter(Boolean)},ru=function(a){return a?a.join(", "):""},Hfd=function(a){if(hea(a.customFieldMap,function(c){return c.required||!1})||a.hasAdvancedFieldsInUrlTemplate){var b;(b=a.advancedFieldsZippy)==null||b.open()}};g=R6.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 Fo(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=Fo(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(Kp("0"),a);this.issue=Object.assign({},this.issue,{comment:a})};g.discard=function(){this.draftStore.$window.sessionStorage.removeItem(Kp("0"));H6c(this.reloadService)};
g.handleHotlistPickerSave=function(a){var b=[];a=k(Object.entries(a.newSelectionMap));for(var c=a.next();!c.done;c=a.next()){var d=k(c.value);c=d.next().value;(d=d.next().value)&&b.push(Number(c))}this.issue=Object.assign({},this.issue,{hotlistId:b});this.updateSelectedHotlists();this.analytics.trackEvent("createIssue","changeHotlists")};g.removeHotlist=function(a){var b;Ta((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 LLb=function(a){var b,c,d=(c=(b=a.issue.title)==null?void 0:b.trim())!=null?c:"";a.titleAfterBlur$.next(d)};R6.prototype.setPriority=function(a){this.issue=Object.assign({},this.issue,{priority:Lj(a)});var b;this.analytics.trackEvent("createIssue","changePriority",(b=this.issue.priority)!=null?b:void 0)};
R6.prototype.editStaffing=function(){var a=this,b,c,d,e;return se(function(f){if(f.nextAddress==1)return y(f,a.staffingDialogService.show((c=(b=a.issue.staffing)==null?void 0:b.plannedAllocations)!=null?c:[],void 0,a.canEditIssuesInComponent),2);d=f.yieldResult;if(!d)return f.return();e={plannedAllocations:d};a.issue=Object.assign({},a.issue,{staffing:e});xe(f)})};
R6.prototype.setIssueType=function(a){this.issue=Object.assign({},this.issue,{type:Kua(a)});var b;this.analytics.trackEvent("createIssue","changeType",(b=this.issue.type)!=null?b:void 0)};R6.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)});Lba(this.selectedHotlists,function(b,c){return hu(b.name,c.name)})};
var Kfd=function(a,b){var c,d,e,f,h,l,q,u,A,F,H;return se(function(N){switch(N.nextAddress){case 1:c=String(b.issueId);d=a.parentIssueIds;if(!d){N.jumpTo(2);break}e=[];return d.length===1?y(N,a.issueRelationshipsFridge.assignParentToIssues(d[0],[{issueId:c,afterIssueId:a.afterIssueId}]),6):y(N,Fmc(a.issueRelationshipsFridge,c,d),5);case 5:h=N.yieldResult;e=h.notAdded;f=h.errors;N.jumpTo(4);break;case 6:l=N.yieldResult,e=l.notAdded,f=l.errors;case 4:e.length&&a.butterBar.showWarning("Unable to add "+
e+" as parent(s). "+f);case 2:q=a.childrenIssueIds;if((u=q)==null||!u.length){N.jumpTo(7);break}return y(N,a.issueRelationshipsFridge.assignParentToIssues(c,q.map(function(O){return{issueId:O}})),8);case 8:A=N.yieldResult,F=A.notAdded,H=A.errors,F.length&&a.butterBar.showWarning("Unable to add "+F+" as children. "+H);case 7:return N.return(b)}})},LMb=function(a,b,c){var d,e,f,h,l,q,u,A,F,H,N,O,T,ea,ka,oa,La,Ua,Pa,lb,qa,Ga;return se(function(Ha){switch(Ha.nextAddress){case 1:return a.sessionIsExternal&&
ufd(a)?(Lfd(a),Ha.return()):y(Ha,Jfd(a),2);case 2:a.isCollaboratorsValid=Ha.yieldResult;d=a.issue;a.submitRequested=!0;if(!a.isValid()){if(e=document.querySelector(".bv2-view"))e.scrollTop=0;return Ha.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=Gc(f.snapshot,function(Ab){return typeof Ab!=="string"||!St(Ab)});f.snapshot.customField&&(f.snapshot.customField=f.snapshot.customField.filter(function(Ab){return!Go(Ab)}));UMb(a,f.snapshot);if(a.trackerId$.value&&f.snapshot.type==="VULNERABILITY"&&(l=ZIa(a.activeSession.getEnvironmentType(),a.trackerId$.value),l!==void 0)){f.snapshot.collaboratorsUsers||(f.snapshot.collaboratorsUsers=
[]);q=k(l);for(u=q.next();!u.done;u=q.next())A=u.value,f.snapshot.collaboratorsUsers.push(A);f.snapshot.issueAccessLimitLevel="LIMIT_VIEW"}a.collaboratorGroupsText.length>0&&(f.snapshot.collaboratorsUsers=Rua(a.collaboratorGroupsText).concat(f.snapshot.collaboratorsUsers||[]));f.snapshot.assigneeUser&&(f.snapshot.status="ASSIGNED");F=function(){a.isSaving=!0;a.newIssueStarted=!1;jq(a.butterBar,"Creating...",0);a.issueApi.createIssue(f).then(function(Ab){return Kfd(a,Ab)}).then(function(Ab){a.draftStore.$window.sessionStorage.removeItem(Kp("0"));
a.originalIssueCopy=pj(a.issue);a.analytics.trackEvent("createIssue","create",a.comment.formattingMode==="MARKDOWN"?"markdown":"non markdown");Mfd(a);a.collaboratorGroupsText.length>0&&a.analytics.trackEvent("quickAddCollaborators","create","create_issue:"+Ab.issueId);var vb,fc;((vb=a.selectedTemplate)==null?0:vb.inheritable)&&a.selectedTemplate.componentId!==((fc=a.selectedComponent)==null?void 0:fc.componentId)&&a.analytics.trackEvent("templateInheritance","create","issue:"+Ab.issueId);if(c){var hc;
a.analytics.trackEvent("createIssue","fileAndRedirect","component",(hc=d.componentId)!=null?hc:void 0);a.butterBar.dismiss();a.isNavigatingAway=!0;a.isSaving=!1;vE(a.userAccess,"reader","issues/"+Ab.issueId).then(function(bc){bc?ccd(a.redirectUrl,Rq(Ab.issueId),String(Ab.issueId)):(jq(a.butterBar,"New issue created: "+Ab.issueId+" (view access not granted)",0),ccd(a.redirectUrl,a.paths.listIssues()));S6(a)}).catch(function(bc){a.errorHandler.errorHandler(null,bc);a.isNavigatingAway=!1})}else{var tc;
a.analytics.trackEvent("createIssue","fileAndNew","component",(tc=d.componentId)!=null?tc:void 0);vb={};Foc(a.butterBar,xi(["New issue created: ",yi("a",(vb.href=Rq(Ab.issueId),vb),String(Ab.issueId))]),0);d.title=a.templateTitle;a.comment=new qu(a.templateComment);d.formattingMode&&(a.comment.formattingMode=d.formattingMode);(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=pj(a.issue)}a.enableLiteralModeRevisions&&joc(a.userPreferencesManager,a.comment.formattingMode).subscribe();S6(a)}).catch(function(Ab){Ab.status===403&&Zo(Ab)?DI(a.errorHandler,$o(Ab)):a.errorHandler.errorHandler(null,Ab);a.isSaving=!1;a.submitRequested=!1;a.newIssueStarted=!1}).finally(function(){a.titleBannedWordsChecker.reset();a.descriptionBannedWordsChecker.reset()})};return y(Ha,a.dismissalService.isDismissed(aYa("create-issue"))||
a.canEditIssuesInComponent||a.frontendIsInternalOrPartner||!a.selectedComponent||!a.selectedComponent.accessLimit||a.selectedComponent.accessLimit.accessLevel==="INTERNAL"?Promise.resolve(!0):Fe(nI(a.matDialogService.open(zR,{width:"500px",data:{action:"create-issue",content:"Submitting this bug report means your email address will be shared with the team that works on this product."}}))),3);case 3:return(H=Ha.yieldResult)?y(Ha,Nfd(a),4):Ha.return();case 4:return(N=Ha.yieldResult)?y(Ha,Z8c(a.confirmIssueAccessLimitSettingsService,
{assigneeUser:(O=f.snapshot.assigneeUser)==null?void 0:O.emailAddress,verifierUser:(T=f.snapshot.verifierUser)==null?void 0:T.emailAddress,ccUsers:(ea=f.snapshot.ccUsers)==null?void 0:ea.map(function(Ab){return Ab.emailAddress}).filter(ik),collaboratorsUsers:(ka=f.snapshot.collaboratorsUsers)==null?void 0:ka.map(function(Ab){return Ab==null?void 0:Ab.emailAddress}).filter(ik),issueAccessLimitLevel:f.snapshot.issueAccessLimitLevel,currentUserEmail:a.activeSession.getUserEmail(),canEditIssuesInComponent:a.canEditIssuesInComponent,
confirmationDialogText:ofd}),5):Ha.return();case 5:return(oa=Ha.yieldResult)?y(Ha,a.titleBannedWordsChecker.check((La=a.issue.title)!=null?La:"",Ofd(a),f.snapshot.componentId),6):Ha.return();case 6:return Ua=Ha.yieldResult,y(Ha,a.descriptionBannedWordsChecker.check((Pa=a.issue.comment)!=null?Pa:"",Ofd(a),f.snapshot.componentId),7);case 7:lb=Ha.yieldResult;if(!Ua||!lb)return(qa=b)==null||qa.preventDefault(),(Ga=b)==null||Ga.stopPropagation(),Ha.return();F();xe(Ha)}})},Lfd=function(a){a.isSaving=!0;
jq(a.butterBar,"Creating...",0);setTimeout(function(){jq(a.butterBar,"New issue cr\u00e6ted");a.isSaving=!1;ccd(a.redirectUrl,a.paths.listIssues())},500)},Ofd=function(a){return!!a.selectedComponent&&!!a.selectedComponent.accessLimit&&a.selectedComponent.accessLimit.accessLevel==="EXTERNAL_PUBLIC"},Nfd=function(a){var b=Hj();!a.canEditIssuesInComponent||a.issue.type!=="VULNERABILITY"&&a.issue.type!=="PRIVACY_ISSUE"?b.resolve(!0):irc(a.issueTypeDialog,a.issue.type,function(){b.resolve(!0)},function(){b.resolve(!1)});
return b.promise},sfd=function(a,b){a.isLoadingComponent=!0;a.componentActions.search(b).then(function(c){c.length===1?(vfd(a,c[0]),S6(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})},rfd=function(a,b){a.isLoadingComponent=!0;a.componentActions.getUncached(b).then(function(c){var d;if(Hp(a.activeSession)&&((d=a.activeSession.getTracker())==null?void 0:d.trackerId)!==
c.trackerId)throw Error("og");vfd(a,c);S6(a)}).catch(function(){a.butterBar.showWarning("Component ID "+b+" does not exist or you do not have access.")}).finally(function(){a.isLoadingComponent=!1})};R6.prototype.hasUnsavedChanges=function(){var a=XMb(this.issue),b=XMb(this.originalIssueCopy);return!oj(a,b)||this.comment.value!==this.originalIssueCopy.comment};
var Gfd=function(a,b){nI(a.matDialogService.open(a.descriptionConfirmDialog,{data:b})).pipe(Rf()).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="")})},zfd=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)))},pLb=function(a){return a.sessionIsExternal?!1:e3a(a.selectedComponent)},qLb=function(a){return LC(a.activeSession)?
!1:Jr(a.selectedComponent)},yfd=function(a){if(a.selectedComponent&&a.selectedComponent.componentPathInfo&&a.selectedComponent.componentPathInfo.allCustomField){for(var b=a.selectedComponent.componentPathInfo.allCustomField,c={},d=k(b),e=d.next();!e.done;e=d.next())e=e.value,c[e.customFieldId]=e;a.customFieldMap=c;a.customFieldAllowedValuesMap=YMb(b);Pfd(a)}},Pfd=function(a){if(a.issue.customField){a.issue.customField=a.issue.customField.filter(function(e){return a.customFieldMap[e.customFieldId]&&
a.customFieldMap[e.customFieldId].enabledOnIssues});for(var b=a.issue.customField.map(function(e){return e.customFieldId}),c=k(Object.values(a.customFieldMap)),d=c.next();!d.done;d=c.next())d=d.value,!b.includes(d.customFieldId)&&d.enabledOnIssues&&a.issue.customField.push(d.typedDefaultValue||{customFieldId:d.customFieldId});a.originalIssueCopy.customField=a.issue.customField}},Ffd=function(a){if(a.canViewIssuesInComponent||a.componentHasExpandedAccessEnabled)a.ccsText!==void 0?a.ccsText.includes(a.userEmail)||
(a.ccsText=[a.userEmail].concat(t(a.ccsText))):a.ccsText=[a.userEmail]};g=R6.prototype;g.fetchUserHotlists=function(){var a=this;Fe($D(this.currentUserBookmarksFridge)).then(function(b){b=k(b);for(var c=b.next();!c.done;c=b.next())a.addHotlist(c.value);S6(a)}).catch(function(b){a.errorHandler.errorHandler(null,b)})};g.addHotlist=function(a){var b=this.hotlistMap[a.hotlistId];b&&Ta(this.hotlists,b);this.hotlistMap[a.hotlistId]=a;this.hotlists.push(a)};
g.createHotlist=function(a){var b=this;this.analytics.trackEvent("baseIssue","createHotlist");jq(this.butterBar,"Creating hotlist "+a.name+"...",0);this.hotlistApi.createHotlist(a.name).then(function(c){jq(b.butterBar,"Hotlist "+a.name+" created successfully.");b.addHotlist(c);b.appEvents.hotlistCreated.next();a.successCallback(c);S6(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);S6(b);return d},function(){var d=b.hotlistMap[c];Ic(b.hotlistMap,c);Ta(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(){S6(b)})};
var qfd=function(a){var b;switch(((b=a.format)==null?void 0:b.toLowerCase())||""){case "plain":return"PLAIN";case "markdown":return"MARKDOWN"}},pfd=function(a){var b;return mk((b=UG(a.userPreferencesManager).textDisplayPreferences)==null?void 0:b.lastPublishMode)||"PLAIN"};
R6.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(Zf(this.destroyed$)).subscribe(function(e){e&&(a.judgementForNewContent=e.contentJudgement)})};R6.prototype.showContentJudgementDialog=function(a){return nI(this.matDialogService.open(IR,{panelClass:"no-jitter",width:"500px",data:a}))};
var Mfd=function(a){var b=(new Date).getTime()-a.startTime.getTime();if(b>0){var c=Math.min(b,108E5);amc("createIssue",c,"new-ui");a.analytics.trackEvent("createIssue","createIssue","time-to-create-new-ui",c);HF(a.clearcut,b,"createIssue-fromNewIssuePage")}a.startTime=new Date};
da.Object.defineProperties(R6.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(){Ifd(b)})}}}});R6.\u0275fac=function(a){return new (a||R6)};
R6.\u0275cmp=C({type:R6,selectors:[["b-create-issue-page"]],viewQuery:function(a,b){a&1&&(Rg(m1,5),Rg(OV,5),Rg(kfd,5),Rg(GY,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)}},standalone:!1,features:[ch([cB,{provide:mfd,useClass:yS},{provide:nfd,useClass:yS}]),cg],decls:31,vars:14,consts:[["descriptionConfirmDialog",""],["collaboratorGroupField",""],["templateMenu",
"matMenu"],["priorityMenu","matMenu"],["typeMenu","matMenu"],["peopleKitDiv",""],["severityMenu","matMenu"],[1,"a11y-only"],[1,"kd-appbar","bv2-create-issue-scroll-header"],[1,"kd-buttonbar","ltr"],["type","button","mat-icon-button","","matTooltip","Go back","aria-label","Go back",3,"click"],["svgIcon","arrow-backward","color","primary"],[3,"selectedHotlistIds","choices"],["mat-button","",1,"medium","primary","valign-middle-mat-button-wrapper",3,"routerLinkObj"],["cdkScrollable","",1,"bv2-view"],
[1,"bv2-new-issue-main-content"],["novalidate","","name","createIssueForm",3,"ngClass"],[1,"bv2-create-component-external-warning",3,"ngClass"],["role","alert",1,"bv2-validation-error-banner"],[1,"bv2-create-issue-hotlists"],[1,"bv2-create-issue-row"],[1,"bv2-create-field"],[1,"bv2-top-field-label"],["for","bv2-component",1,"required"],[1,"bv2-create-issue-component"],[3,"selectedComponentChange","selectedComponent","shouldFocus","isRequired"],[1,"bv2-create-field","bv2-right-button"],[1,"bv2-validation-error-banner"],
[3,"onApply","onLoad","onCreate","selectedHotlistIds","choices"],[3,"name","size"],[3,"href"],[1,"bv2-validation-error"],[1,"bv2-hotlist-chips"],[3,"removeHotlist","hotlist"],["for","bv2-template-chooser"],["mat-button","","color","primary","id","bv2-template-chooser","aria-label","Template","type","button",3,"matMenuTriggerFor"],["iconPositionEnd","","svgIcon","arrow-dropdown",1,"icon-s"],[3,"overlapTrigger"],["type","button","mat-menu-item",""],["type","button","mat-menu-item","",3,"click"],["for",
"bv2-title",1,"required"],[1,"bv2-create-issue-title-suggest"],[1,"bv2-create-issue-title","flex-kids-x","align-items-center"],[1,"banned-words-warning","break-word"],[1,"bv2-create-field","bv2-create-issue-assignee"],[1,"bv2-create-issue-details"],["for","bv2-description"],[3,"commentChange","onChange","onSubmit","onRestrict","supportsPreview","comment","disabled","judgementForNewContent","componentId","placeholder","idForAriaLabel","audience","showRestrictionOptions","ngClass","warn","canEditIssuesInComponent",
"isLiteralModeSupported"],["warning","",1,"banned-words-warning","break-word"],["additionalToolbarItems","",3,"change","initialValue"],[1,"bv2-create-issue-row","access-level-row"],[1,"float-clear"],[1,"bv2-create-issue-zippy"],[1,"mat-elevation-z0","bg-secondary","bordered"],[1,"create-issue-recaptcha"],[1,"bv2-issue-create-button-bar"],["format","fill","id","bv2-issue-create-button",3,"onAction","disabled","color"],["format","fill","id","bv2-issue-create-start-button",3,"onAction","disabled","color"],
["format","hairline","id","bv2-issue-discard-button",3,"onAction","disabled"],[3,"suggestionSelected","titleChanged"],["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"],[3,"suggestionAccepted"],["target","_blank","aria-label","Learn more about banned words","href","http://go/b-trackers#banned-words-for-tracker",1,"color-bad-text","keep-underline"],
["for","bv2-priority",1,"required"],["mat-button","","type","button","color","primary",3,"matMenuTriggerFor"],["mat-menu-item","","type","button",3,"click"],["mat-menu-item","","type","button"],["for","bv2-type",1,"required"],["mat-menu-item","","type","button",3,"title"],["mat-menu-item","","type","button",3,"click","title"],["for","bv2-assignee-peoplekit"],[1,"overflow-hidden"],["id","bv2-assignee-peoplekit","type","text","name","assignee","peoplekitAutocomplete","",1,"bv2-create-issue-textfield",
3,"peoplekitAutocompleteSelectionChange","ngModelChange","peoplekitAutocompleteConfig","ngModel"],["for","bv2-assignee"],["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-peoplekit"],["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-peoplekit","type","text","name","collaborators","aria-expanded","true","aria-label","Addition to Collaborators","peoplekitSearchBar","",1,"bv2-create-issue-textfield",3,"peoplekitSearchBarSelectionChange","peoplekitSearchBarConfig"],["for","bv2-collaborators"],["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-ccs-peoplekit"],["id","bv2-ccs-peoplekit","type","text","name","ccs","aria-expanded","true","aria-label","Addition to CCs","peoplekitSearchBar","",1,"bv2-create-issue-textfield",3,"peoplekitSearchBarSelectionChange","peoplekitSearchBarConfig"],["for","bv2-cc"],["id","bv2-cc","type","text","name","cc","autocomplete","off",1,"bv2-create-issue-textfield",3,"ngModelChange","ngModel","bContactAutocomplete"],
["for","bv2-access-limits","title","Set access level of this issue"],["id","bv2-access-limits",3,"updatedAccessLimitLevel","disabled","implicitAccessEnabled","defaultAccessLimitLevel"],["for","bv2-collaborator-groups","title","Set collaborator groups on the issue"],["svgIcon","help-outline","tabindex","0","aria-hidden","false",1,"icon-s","valign-middle","collaborator-group-help-icon",3,"matTooltip"],[4,"ngTemplateOutlet"],["role","heading","aria-level","3"],[1,"required-text"],[1,"bv2-new-issue-metadata"],
["aria-label","Set severity",1,"bv2-create-adv-field"],["for","bv2-severity","title","Set severity, which reflects how much the issue affects the use of the product"],["mat-button","","type","button","color","primary","id","bv2-severity",3,"matMenuTriggerFor"],["name","arrow-dropdown","size","small"],[1,"bv2-create-adv-field"],["for","bv2-found-in","title","Set version(s) of the product affected by this issue (comma-separated list)"],["id","bv2-found-in","name","foundIn","type","text","autocomplete",
"off",3,"ngModelChange","ngModel"],["aria-label","Set in prod",1,"bv2-create-adv-field"],["for","bv2-in-prod","title","Set if this issue occurs in production"],["id","bv2-in-prod","name","inProd","aria-label","Set in prod",3,"ngModelChange","ngModel"],["aria-label","Edit staffing",1,"bv2-create-adv-field","staffing-field"],["for","staffing-button","title","Edit staffing, which represents planned contributors on this issue."],["type","button",1,"staffing-button","b-input-style",3,"click"],[1,"staffing-text"],
["svgIcon","edit-outline",1,"icon-s","edit-icon"],["for","bv2-targeted-to","title","Set the version(s) of the product in which the issue should be fixed (comma-separated list)"],["id","bv2-targeted-to","name","targetedTo","type","text","autocomplete","off",3,"ngModelChange","ngModel"],["for","bv2-blocked-by","title","Set issue(s) blocking this issue (comma-separated list)"],["id","bv2-blocked-by","name","blockedByInputField","type","text","autocomplete","off","pattern","[\\s\\d,]*",3,"ngModelChange",
"ngModel"],["for","bv2-blocking","title","Set issue(s) blocked by this issue (comma-separated list)"],["id","bv2-blocking","name","blockingInputField","type","text","autocomplete","off","pattern","[\\s\\d,]*",3,"ngModelChange","ngModel"],["for","bv2-reporter","title","Set the reporter of this issue."],["id","bv2-reporter-peoplekit","name","reporter","type","text","peoplekitAutocomplete","",3,"peoplekitAutocompleteSelectionChange","ngModelChange","peoplekitAutocompleteConfig","ngModel"],["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-peoplekit","name","verifier","type","text","peoplekitAutocomplete","",3,"peoplekitAutocompleteSelectionChange","ngModelChange","peoplekitAutocompleteConfig","ngModel"],["id","bv2-verifier","name","verifier","type","text","autocomplete","off",3,"ngModelChange","ngModel","bContactAutocomplete"],["for","bv2-parents",
"title","Set parent issue(s) of this issue (comma-separated list)"],["id","bv2-parents","name","parentsInputField","type","text","pattern","[\\s\\d,]*",3,"ngModelChange","ngModel"],["for","bv2-children","title","Set children issue(s) of this issue (comma-separated list)"],["id","bv2-children","name","childrenInputField","type","text","pattern","[\\s\\d,]*",3,"ngModelChange","ngModel"],["id","bv2-access-limits",3,"updatedAccessLimitLevel","disabled","defaultAccessLimitLevel","implicitAccessEnabled"],
[3,"id","ngClass","title"],[3,"id","value"],[3,"value","options","includeEmptyOption"],[3,"valueChange","id","value"],[3,"boundValueChange","boundValue","isRequired","bv2Id","bv2AriaLabelledby"],[3,"valueChange","value","options","includeEmptyOption"],["name","customInput","tabindex","0",3,"valuesChange","defaultLineCount","type","values","enumChoices","truncate","isRequired"],[1,"bg-off-main","rounded","bordered","padded-s-y","padded-l-x",3,"context","componentId"],[3,"onUpdate"],["mat-dialog-title",
""],[1,"bv2-create-issue-default-description"],["type","button","mat-button","",3,"mat-dialog-close"],"type button mat-button  mat-dialog-close ".split(" "),["appearance","outline",1,"static-label"],["multiple","","aria-label","Collaborator groups",3,"ngModelChange","ngModel","ngModelOptions"],[3,"value"]],template:function(a,b){if(a&1){var c=v();I(0,"h2",7);Q(1,"Create issue");J();I(2,"div",8)(3,"div",9)(4,"button",10);M("click",function(){w(c);return x(b.back())});K(5,"mat-icon",11);J();I(6,"h2");
Q(7,"Create Issue");J();D(8,mLb,1,2,"b-hotlist-picker",12)(9,nLb,2,1,"a",13);J()();I(10,"div",14)(11,"div")(12,"div",15)(13,"form",16);D(14,sLb,6,8,"div",17)(15,BLb,4,3,"div",18)(16,DLb,3,0,"div",19);I(17,"div",20)(18,"div",21)(19,"div",22)(20,"label",23);Q(21,"Component");J()();I(22,"div",24)(23,"b-team-component-picker",25);M("selectedComponentChange",function(e){w(c);return x(vfd(b,e!==null&&e!==void 0?e:null))});J()()();D(24,GLb,12,4,"div",26);J();D(25,HLb,3,0,"div",27)(26,OMb,41,40,"div");J()()()();
D(27,PMb,11,2,"ng-template",null,0,ih)(29,SMb,6,4,"ng-template",null,1,ih)}if(a&2){var d;B(8);G(b.canEditIssuesInComponent?8:-1);B();G((d=b.issue.componentId)?9:-1,d);B(4);E("ngClass",eh(12,lfd,b.submitRequested));B();G(pLb(b)||qLb(b)?14:-1);B();G(b.submitRequested&&!b.isValid()?15:-1);B();G(b.selectedHotlists.length>0?16:-1);B(7);E("selectedComponent",b.selectedComponent)("shouldFocus",!b.componentRequestedInUrl&&!b.templateIssueRequestedInUrl)("isRequired",!0);B();G(b.availablePredefinedTemplates.length>
0||b.availableExistingIssueTemplate!=null?24:-1);B();G(b.isLoadingComponent||b.componentRequestedInUrl==null&&b.selectedComponent==null||b.canCreateNewIssuesInComponent||b.createAclLoading||!b.selectedComponent?-1:25);B();G(b.canCreateNewIssuesInComponent||b.createAclLoading||!b.selectedComponent?26:-1)}},dependencies:[dQ,OV,UM,VO,r0,i2,kN,lz,dz,Z1,Oy,oi,Gy,Hy,Yy,$y,Ny,Ly,nU,m1,DM,A1,jR,eB,ky,jy,ly,yL,nx,NL,OL,Zx,uI,wI,yI,xI,GY,HY,IY,xL,IL,GL,JL,fQ,gQ,mB,rB,Q6,tR,aw,dw,pB,iC,tS,GS,L6,O6,P6,sB,YO,
NX,bC,LN,ew],styles:[".bv2-create-issue-row[_ngcontent-%COMP%]   .mat-mdc-button[_ngcontent-%COMP%]{font-family:Google Sans,Roboto,Arial,sans-serif;font-size:.875rem;letter-spacing:.0107142857em;font-weight:500;--mat-text-button-icon-spacing:4px}mat-icon.collaborator-group-help-icon[_ngcontent-%COMP%]{padding-left:3px}[_nghost-%COMP%]     mat-form-field.static-label{width:180px;margin-top:5px;font-size:1rem}[_nghost-%COMP%]     mat-form-field.static-label .mat-mdc-form-field-flex{height:24px}[_nghost-%COMP%]     mat-form-field.static-label .mat-mdc-form-field-infix{padding:0}.bv2-create-issue-row.access-level-row[_ngcontent-%COMP%]{display:block;width:-webkit-max-content;width:-moz-max-content;width:max-content}.feedback-button[_ngcontent-%COMP%]{display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;margin-left:auto}.feedback-button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{margin-right:4px}.feedback-button[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:hover{text-decoration:underline;cursor:pointer}.bv2-top-field-label[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}.create-issue-recaptcha[_ngcontent-%COMP%]{float:right;margin:0 15px 15px 0}.mat-mdc-menu-item[_ngcontent-%COMP%]:active, .mat-mdc-menu-item[_ngcontent-%COMP%]:focus, .mat-mdc-menu-item[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.16);background-color:var(--active-bg)}[_nghost-%COMP%]   .collaborators-tooltip-icon[_ngcontent-%COMP%]{height:18px}[_nghost-%COMP%]     .collaborators-tooltip-icon svg{height:90%;margin-top:1px}[_nghost-%COMP%]   input.invalid[_ngcontent-%COMP%]{border-color:var(--bad-high-contrast)!important;border-width:2px!important}[_nghost-%COMP%]     .bv2-issue-create-button-bar b-button .gmat-mdc-button.mat-mdc-unelevated-button.mat-warn{background-color:#c5221f;background-color:var(--bad-gfx)}.banned-words-warning[_ngcontent-%COMP%]{color:#c5221f;color:var(--bad-text)}.staffing-field[_ngcontent-%COMP%]{width:90%}.staffing-field[_ngcontent-%COMP%]   .staffing-text[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.staffing-field[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;cursor:pointer;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;width:100%}.staffing-field[_ngcontent-%COMP%]   .edit-icon[_ngcontent-%COMP%]{color:var(--icon)}.highlight-input[_ngcontent-%COMP%]{--input-field-bg:var(--blue-bg)}\n/*# sourceMappingURL=create_issue_page.css.map */"]});
var VMb={hotlistId:[],comment:"",severity:"S2",inProd:!1,customField:[]},Dfd=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 Qfd=["form"],T6=function(){this.bLocation=r(WN);this.sloApi=r(wG);this.errorHandler=r(CI);this.analytics=r(OF);this.butterBar=r(fH);this.appHistory=r(c4);this.sloUnderEdit={sloId:"0",parentId:"0",name:"",description:"",elements:[],effectiveElements:[],alertState:"OFF",isArchived:!1};this.isSaving=this.elementPickerIsValid=!1;this.createSloForm=null;this.error=""};g=T6.prototype;g.ngAfterViewInit=function(){};
g.save=function(){var a=this;if(!this.validate())return Promise.reject(Error("pg"));jq(this.butterBar,"Saving SLO...",0);this.isSaving=!0;return this.sloApi.create(this.sloUnderEdit).then(function(b){jq(a.butterBar,"SLO "+b.name+" saved.",2E3);a.analytics.trackEvent("SLO","create");a.bLocation.replaceUrl(Qq.editSlo.makeHref(b.sloId))}).catch(function(b){a.errorHandler.errorHandler(null,b)}).finally(function(){a.isSaving=!1})};g.back=function(){d4(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};T6.\u0275fac=function(a){return new (a||T6)};
T6.\u0275cmp=C({type:T6,selectors:[["create-slo-page"]],viewQuery:function(a,b){a&1&&Rg(Qfd,5);if(a&2){var c;Vg(c=Wg())&&(b.createSloForm=c.first)}},standalone:!1,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=
v();I(0,"div",1)(1,"div",2)(2,"b-button",3);M("onAction",function(){w(c);return x(b.back())});K(3,"b-icon",4);J()()();I(4,"div",5)(5,"h2",6)(6,"span",7);Q(7,"Create a new SLO");J()();I(8,"div",8)(9,"form",9,0);K(11,"b-error-banner",10);I(12,"div",11)(13,"label",12);Q(14,"Name");J();I(15,"input",13);M("ngModelChange",function(d){w(c);return x(b.sloUnderEdit.name=d)});J()();I(16,"div",11)(17,"label",14);Q(18,"Description");J();I(19,"textarea",15);M("ngModelChange",function(d){w(c);return x(b.sloUnderEdit.description=
d)});Q(20,"        ");J()();I(21,"div",11)(22,"slo-elements-picker",16);M("onCollectionUpdate",function(d){w(c);return x(b.updateCollection(d))})("onValidation",function(d){w(c);return x(b.elementPickerIsValid=d)});J()();I(23,"p",17);Q(24," Access controls may be defined once the slo is created. ");J();I(25,"div",18)(26,"b-button",19);M("onAction",function(){w(c);return x(b.save())});Q(27," Save ");J();I(28,"b-button",20);M("onAction",function(){w(c);return x(b.revertChanges())});Q(29," Revert changes ");
J()()()()()}a&2&&(B(9),sg("show-errors",b.error),B(2),E("error",b.error),B(),sg("bv2-edit-resource-readonly",b.isSaving),B(3),E("required",!0)("bFocus",!0)("ngModel",b.sloUnderEdit.name)("disabled",b.isSaving),B(),sg("bv2-edit-resource-readonly",b.isSaving),B(3),E("ngModel",b.sloUnderEdit.description)("disabled",b.isSaving),B(3),E("isDisabled",!1)("collection",b.sloUnderEdit.elements),B(4),E("disabled",b.isSaving||(b.createSloForm==null?null:b.createSloForm.pending)||(b.createSloForm==null?null:b.createSloForm.invalid)||
!b.elementPickerIsValid),B(2),E("disabled",!(b.sloUnderEdit.name!==""||b.sloUnderEdit.description!==""||b.sloUnderEdit.elements.length>0)))},dependencies:[dQ,J2,Z1,Oy,oi,Gy,Hy,Yy,Ny,Ly,DM,R3],encapsulation:2});var U6=function(){this.nextPanelId=1};U6.\u0275fac=function(a){return new (a||U6)};U6.\u0275prov=n({token:U6,factory:U6.\u0275fac,providedIn:"root"});var V6=function(){Z.apply(this,arguments);this.cdr=r(cB);this.paths=r(IP);this.bLocation=r(WN);this.$log=r(bB);this.analytics=r(OF);this.issueApi=r(ME);this.userApi=r(TD);this.bookmarkGroupsApi=r(eD);this.hotlistApi=r(PD);this.butterBar=r(fH);this.pageTitle=r(u_);this.dashboards=r(U6);this.routeParams=r(YI);this.appSearchState=r(TY);this.userAccess=r(uE);this.errorHandler=r(CI);this.statusMessages=r(II);this.appEvents=r(yD);this.hotlistFridge=r(UD);this.activeSession=r(Bu);this.issueFullFridge=r(QF);
this.currentUserBookmarksFridge=r(ZD);this.ANALYTICS_CATEGORY="dashboard";this.userEmail=this.activeSession.getUserEmail();this.groupId=this.routeParams.groupId||null;this.panels=[];this.hotlistChoices=[];this.hotlistMap={};this.isStarred=!1;this.bookmarkGroup=null;this.isAdmin=!1};Y(V6,Z);V6.\u0275dir=Z.\u0275dir;
V6.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){Rfd(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){Sfd(a,
b,function(c){return c+1})}));this.subscriptions.add(this.appEvents.dashboardPanels.moveUp.subscribe(function(b){Sfd(a,b,function(c){return c-1})}));this.subscriptions.add(this.appEvents.dashboardPanels.moveToTop.subscribe(function(b){Sfd(a,b,function(){return 0})}));this.subscriptions.add(this.appEvents.dashboardPanels.moveToBottom.subscribe(function(b){Sfd(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 dNb=function(a,b){var c=b.panelId;b=b.selectedIssues;if(a=Tfd(a,c))a.selectedIssues=b!=null?b:[]},cNb=function(a,b,c){b.focusedRowIndex=c;if(c!=null)for(a=k(a.panels),c=a.next();!c.done;c=a.next())c=c.value,c!==b&&(c.focusedRowIndex=null)},Tfd=function(a,b){return a.panels.find(function(c){return c.panelId===b})},Ufd=function(a,b){a=a.panels.findIndex(function(c){return c.panelId===b});return a!==-1?a:void 0};g=V6.prototype;
g.fetchUserHotlists=function(){var a=this;Fe($D(this.currentUserBookmarksFridge)).then(function(b){b=k(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;a.hotlistFridge.announce(c);var d=a.hotlistMap[c.hotlistId];oj(d,c)||(d&&Ta(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");jq(this.butterBar,"Creating hotlist "+c+"...",0);this.hotlistApi.createHotlist(c).then(function(e){b.hotlistFridge.announce(e);jq(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;jq(this.butterBar,"Loading hotlist "+c);this.hotlistMap[c]||this.hotlistApi.get(c).then(function(e){b.addHotlist(e);d(e);b.cdr.detectChanges()}).catch(a)};g.addHotlist=function(a){this.hotlistMap[a.hotlistId]||(this.hotlistMap[a.hotlistId]=a,this.hotlistChoices.push(a))};
g.loadHotlists=function(a){var b=this,c=new Set;a=k(a);for(var d=a.next();!d.done;d=a.next()){d=k(d.value.hotlistId||[]);for(var e=d.next();!e.done;e=d.next())e=e.value,this.hotlistMap[e]||c.has(e)||c.add(e)}c=k(c);for(a=c.next();!a.done;a=c.next())this.hotlistApi.get(a.value).then(function(f){b.hotlistFridge.announce(f);b.addHotlist(f);b.cdr.detectChanges()}).catch(function(f){(new Set([403,404])).has(f.status)||b.errorHandler.errorHandler(null,f)})};
g.sendBulkEditRequest=function(a,b){var c=this;if(a.length===1&&a[0].actions.length===1&&a[0].actions[0].fieldName==="readState"){var d=!!a[0].actions[0].value;b=k(this.panels);for(var e=b.next();!e.done;e=b.next()){e=k(e.value.selectedIssues);for(var f=e.next();!f.done;f=e.next())f.value.isRead=d}this.cdr.detectChanges();jq(this.butterBar,"Marking "+a[0].issueIds.length+" issues  "+(d?"read":"unread")+"...",0);return SF(this.issueFullFridge,a[0].issueIds,{markRead:d,userActivityType:"MARK_AS_READ_OR_UNREAD"}).then(function(l){jq(c.butterBar,
"Issues marked "+(d?"read":"unread")+".");for(var q=k(c.panels),u=q.next();!u.done;u=q.next()){u=k(u.value.selectedIssues);for(var A=u.next();!A.done;A=u.next()){var F=void 0;A.value.lastViewedTime=(F=l)!=null?F:null}}}).catch(function(l){for(var q=k(c.panels),u=q.next();!u.done;u=q.next()){u=k(u.value.selectedIssues);for(var A=u.next();!A.done;A=u.next())A=A.value,A.isRead=!!A.lastViewedTime&&A.lastViewedTime>=A.majorModifiedTime}c.errorHandler.errorHandler(null,l)}).finally(function(){c.cdr.detectChanges()})}e=
VHa(a).map(function(l){return l.fieldName});this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"bulkEdit",e.join(","));var h={bulkEditOps:a};jq(this.butterBar,"Saving changes...",0);return this.issueApi.issueBulkEdit(h,b).then(function(l){for(var q=k([].concat(t(c.searchPanels),t(c.hotlistPanels))),u=q.next();!u.done;u=q.next()){u=u.value;var A=l;if(u.searchResults){u.searchResults=u.searchResults.clone();for(var F=0,H=k(u.searchResults.issues),N=H.next();!N.done;N=H.next()){N=N.value;if(A.affectedIssues[N.issueId]){var O=
A.affectedIssues[N.issueId];O=Fnb(O,A.componentMap[Number(Na(O.snapshot).componentId)]);O.selected=N.selected;u.searchResults.issues[F]=O;u.resultsLoaded.emit([u.searchResults.issues[F]])}F++}}}l.errors&&l.errors.length?(q=wj(l.errors,"issueId"),c.butterBar.showWarning("Failed to update issue(s) "+q.join(", ")+"."),c.analytics.trackEvent(c.ANALYTICS_CATEGORY,"bulkEditError",""+l.errors.length)):(l=yrc(c.statusMessages,h))?jq(c.butterBar,l):jq(c.butterBar,"Saved "+WHa(a).length+" issue(s).")}).catch(function(l){c.errorHandler.errorHandler(null,
l)})};g.loadBookmarkGroup=function(){var a=this;return this.bookmarkGroupsApi.get(this.groupId).then(function(b){vE(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 Rfd=function(a,b){a.panels=(b.item||[]).map(function(c,d){return Vfd(a,c,d===0?0:void 0)})};
V6.prototype.removePanel=function(a){var b=this,c=Tfd(this,a);c!=null&&(jq(this.butterBar,"Saving changes...",0),a=pj(this.bookmarkGroup),a.item=a.item.filter(function(d){return!Wfd(b,c,d)}),Xfd(this,a))};
var Sfd=function(a,b,c){b=Ufd(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=pj(a.bookmarkGroup);var e,f=(e=a.bookmarkGroup)==null?void 0:e.item.findIndex(function(h){return Wfd(a,d,h)});f!==void 0&&(Oba(b.item,f,c),Xfd(a,b))}}},Xfd=function(a,b){a.bookmarkGroupsApi.update(b).then(function(c){a.bookmarkGroup=c;Yfd(a,a.bookmarkGroup.item);jq(a.butterBar,"Bookmark group saved.",4E3);a.appEvents.bookmarkGroupModified.next({bookmarkGroupId:a.bookmarkGroup.bookmarkGroupId});
a.cdr.detectChanges()},function(c){a.errorHandler.errorHandler(null,c)})},Wfd=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}},Zfd=function(a,b){return a.panels.find(function(c){return Wfd(a,c,b)})},Vfd=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:[]}},Yfd=function(a,b){a.panels=b.map(function(c){var d;return(d=Zfd(a,c))!=null?d:Vfd(a,c)})};
V6.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)})};V6.prototype.editBookmarkGroup=function(){this.bLocation.setUrl(this.paths.editBookmarkGroup(this.bookmarkGroup.bookmarkGroupId))};
V6.\u0275fac=function(){var a;return function(b){return(a||(a=ee(V6)))(b||V6)}}();
V6.\u0275cmp=C({type:V6,selectors:[["dashboard-page"]],viewQuery:function(a,b){a&1&&(Rg(v3,5),Rg(t3,5));if(a&2){var c;Vg(c=Wg())&&(b.searchPanels=c);Vg(c=Wg())&&(b.hotlistPanels=c)}},standalone:!1,features:[ch([cB]),cg],decls:10,vars:4,consts:[[1,"a11y-only"],[1,"kd-dashboard-bar","kd-appbar","kd-buttonbar"],[1,"bv2-dashboard-header"],[3,"onSave","onCreateHotlist","onLoadHotlist","hotlistChoices","panels"],["role","main","tabindex","0",1,"bv2-view",3,"bFocus"],[1,"bv2-dashboard-title"],[3,"starMessage",
"unStarMessage","starred","disabled"],[3,"starMessage","unStarMessage","starred"],[1,"bv2-dashboard-title-text"],["type","button","aria-label","Bookmark group settings","matTooltip","Bookmark group settings",1,"bv2-edit-icon","bv2-view-resource-edit-button",3,"click"],[3,"starClicked","starMessage","unStarMessage","starred"],[3,"panel","isDashboardEditable","focusedRowIndex","savedSearchId","first","last"],[3,"panel","isDashboardEditable","focusedRowIndex","hotlistId","first","last"],[3,"focusedRowIndexChange",
"selectionChange","resultsLoaded","panel","isDashboardEditable","focusedRowIndex","savedSearchId","first","last"],[3,"focusedRowIndexChange","selectionChange","resultsLoaded","panel","isDashboardEditable","focusedRowIndex","hotlistId","first","last"]],template:function(a,b){a&1&&(I(0,"h2",0),Q(1,"Dashboard"),J(),I(2,"div",1)(3,"div",2),Q(4,"Bookmark groups dashboard"),J(),I(5,"b-dashboard-controls",3),M("onSave",function(c){return b.sendBulkEditRequest(c.bulkEditOps,c.recaptchaToken)})("onCreateHotlist",
function(c){return b.createHotlist(c)})("onLoadHotlist",function(c){return b.loadHotlist(c)}),J()(),I(6,"div",4),D(7,bNb,8,2,"div"),yg(8,gNb,3,1,"div",null,xg),J());a&2&&(B(5),E("hotlistChoices",b.hotlistChoices)("panels",b.panels),B(),E("bFocus",!0),B(),G(b.bookmarkGroup?7:-1),B(),zg(b.panels))},dependencies:[x1,KS,v3,t3,Z1,mB,rB],encapsulation:2});var W6=function(){};W6.\u0275fac=function(a){return new (a||W6)};W6.\u0275mod=Cf({type:W6});W6.\u0275inj=p({imports:[y1,XZ,w3,u3,lC,a2,pC]});var $fd=["editBookmarkGroupItemsContainer"],agd=["bookmarkGroupName"],GNb=function(a){return{"bv2-edit-resource-readonly":a}},INb=function(a){return{displayText:"Admins",values:a}},HNb=function(a){return[a]},X6=function(){Z.call(this);var a=this;this.routeParams=r(YI);this.location=r(WN);this.activeSession=r(Bu);this.butterBar=r(fH);this.accessPolicyApi=r(nD);this.bookmarkGroupsApi=r(eD);this.hotlistApi=r(PD);this.paths=r(IP);this.appHistory=r(c4);this.pageTitle=r(u_);this.userAccess=r(uE);this.errorHandler=
r(CI);this.appEvents=r(yD);this.snackBar=r(cH);this.confirmationDialog=r(AI);this.checkBeforeExit=r(zS);this.cdr=r(cB,{self:!0});this.documentationLinks=r(lI);this.currentUserBookmarksFridge=r(ZD);this.selectedTabIndex=0;this.accessPolicyUnderEdit=tq();this.flattenedAccessPolicy=tq();this.isAdmin=this.isArchiving=this.isUpdating=this.isLoading=!1;this.isReaderFieldValid=this.isAdminsFieldValid=!0;this.currentUserEmail=this.activeSession.getUserEmail();this.error="";this.selectedHotlistIds=[[]];this.userHotlists=
[];this.userSavedSearches=null;this.savedSearchChoices=[];var b=this.loadBookmarkGroup(this.routeParams.groupId),c=this.loadUserAccess(this.routeParams.groupId);this.loadAccessPolicy(this.routeParams.groupId);bgd(this);cgd(this);Promise.all([b,c]).then(function(){var d;(d=a.bookmarkGroupNameInput)==null||d.nativeElement.focus()});this.subscriptions.add(AS(this.checkBeforeExit,function(){return a.hasUnsavedChanges()},!1));b=function(){bgd(a)};this.subscriptions.add(this.appEvents.hotlistCreated.subscribe(b));
this.subscriptions.add(this.appEvents.hotlistChanged.subscribe(b));this.subscriptions.add(this.appEvents.savedSearchModified.subscribe(function(){cgd(a)}))};Y(X6,Z);X6.\u0275dir=Z.\u0275dir;g=X6.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(){d4(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!oj(this.bookmarkGroup,this.bookmarkGroupUnderEdit)};g.hasUnsavedAccessPolicyChanges=function(){return!oj(this.flattenedAccessPolicy,this.accessPolicyUnderEdit)};
g.isEditDisabled=function(){return this.isSaving()||!this.isAdmin};g.revertMetadataChanges=function(){this.bookmarkGroupUnderEdit=pj(this.bookmarkGroup);this.error="";this.selectedHotlistIds=[wj(this.bookmarkGroup.item.filter(function(a){return a.hasOwnProperty("hotlistId")}),"hotlistId")];dgd(this)};g.revertAccessPolicyChanges=function(){this.accessPolicyUnderEdit=pj(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",wi("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",wi("Do you want to archive this bookmark group?"),function(){egd(a,"archive")})};g.unarchive=function(){var a=this;this.openConfirmationDialog("Unarchive bookmark group",wi("Do you want to unarchive this bookmark group?"),function(){egd(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});fgd(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=vq(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=uq(c);a.accessPolicyUnderEdit=pj(a.flattenedAccessPolicy);
a.loadUserAccess(a.bookmarkGroup.bookmarkGroupId)},function(c){a.errorHandler.errorHandler(null,c)}).finally(function(){a.isUpdating=!1})};
var egd=function(a,b){var c=pj(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});fgd(a,d)}).catch(function(d){a.errorHandler.errorHandler(null,d)}).finally(function(){a.isArchiving=!1})};
X6.prototype.loadBookmarkGroup=function(a){var b=this;this.isLoading=!0;return this.bookmarkGroupsApi.get(a).then(function(c){fgd(b,c);b.selectedHotlistIds=[wj(b.bookmarkGroup.item,"hotlistId")];dgd(b);b.pageTitle.setTitle("Bookmark group: "+c.name);b.cdr.detectChanges()},function(c){b.errorHandler.errorHandler(null,c)}).finally(function(){b.isLoading=!1})};var fgd=function(a,b){a.bookmarkGroup=b;a.bookmarkGroupUnderEdit=pj(a.bookmarkGroup)};
X6.prototype.loadAccessPolicy=function(a){var b=this;this.accessPolicyApi.get("BOOKMARK_GROUP",a).then(function(c){b.flattenedAccessPolicy=uq(c);b.accessPolicyUnderEdit=pj(b.flattenedAccessPolicy);b.cdr.detectChanges()}).catch(function(c){b.errorHandler.errorHandler(null,c)})};X6.prototype.loadUserAccess=function(a){var b=this;return vE(this.userAccess,"admin","bookmarkGroups/"+a).then(function(c){b.isAdmin=c;b.cdr.detectChanges()}).catch(function(c){b.errorHandler.errorHandler(null,c)})};
var bgd=function(a){Fe($D(a.currentUserBookmarksFridge)).then(function(b){a.userHotlists=b;a.cdr.detectChanges()})},cgd=function(a){a.userSavedSearches=null;Fe(rjc(a.currentUserBookmarksFridge)).then(function(b){a.userSavedSearches=b;dgd(a);a.cdr.detectChanges()})},dgd=function(a){if(a.userSavedSearches&&a.bookmarkGroupUnderEdit!=null){var b=ggd(a.bookmarkGroupUnderEdit.item.filter(function(c){return c.hasOwnProperty("savedSearchId")}));a.savedSearchChoices=a.userSavedSearches.filter(function(c){return b.indexOf(c.searchId)==
-1})}},kNb=function(a,b){var c=Number(b);Va(a.bookmarkGroupUnderEdit.item,function(e){return e.hotlistId===c});hgd(a,c);var d;(d=a.editBookmarkGroupItemsContainer)==null||d.nativeElement.focus()},mNb=function(a,b){Va(a.bookmarkGroupUnderEdit.item,function(d){return d.savedSearchId===b});dgd(a);var c;(c=a.editBookmarkGroupItemsContainer)==null||c.nativeElement.focus()},zNb=function(a,b){switch(b.resourceType){case "SAVED_SEARCH":return a.paths.viewSavedSearch(b.savedSearchId);case "HOTLIST":return Qq.viewHotlist.makeHref(b.hotlistId);
case "BOOKMARK_GROUP":return a.paths.viewBookmarkGroup(b.bookmarkGroupId);default:Db(b.resourceType)}},uNb=function(a,b){for(var c=k(Object.entries(b.newSelectionMap)),d=c.next(),e={};!d.done;e={id$jscomp$678:void 0},d=c.next()){var f=k(d.value);d=f.next().value;f=f.next().value;e.id$jscomp$678=uj(d);f&&!b.oldSelectionMap[e.id$jscomp$678]?(xNb(a,e.id$jscomp$678),e=a.userHotlists.find(function(h){return function(l){return l.hotlistId===h.id$jscomp$678}}(e)),a.bookmarkGroupUnderEdit.item.push({hotlistId:e.hotlistId,
name:e.name,resourceType:"HOTLIST"})):b.oldSelectionMap[e.id$jscomp$678]&&!f&&(hgd(a,e.id$jscomp$678),Va(a.bookmarkGroupUnderEdit.item,function(h){return function(l){return l.hotlistId===h.id$jscomp$678}}(e)))}},xNb=function(a,b){a.selectedHotlistIds[0].push(b);a.selectedHotlistIds=[a.selectedHotlistIds[0]]},hgd=function(a,b){Ta(a.selectedHotlistIds[0],b);a.selectedHotlistIds=[a.selectedHotlistIds[0]]},qNb=function(a,b){ggd(a.bookmarkGroupUnderEdit.item).indexOf(b.searchId)===-1&&a.bookmarkGroupUnderEdit.item.push({name:b.name,
resourceType:"SAVED_SEARCH",savedSearchId:b.searchId});setTimeout(function(){dgd(a)})},ggd=function(a){return a?wj(a,"savedSearchId"):[]},vNb=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)},wNb=function(a,b){return a.hotlistApi.get(b.hotlistId).then(function(c){a.userHotlists.push(c);
b.successCallback(c);return c},b.errorCallback)};X6.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:Db(a.resourceType)}};X6.prototype.openConfirmationDialog=function(a,b,c){this.confirmationDialog.open({title:a,content:b,onConfirm:function(){c()}})};
X6.\u0275fac=function(a){return new (a||X6)};
X6.\u0275cmp=C({type:X6,selectors:[["b-edit-bookmark-group"]],viewQuery:function(a,b){a&1&&(Rg($fd,5),Rg(agd,5),Rg(yN,5,ef));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)}},standalone:!1,features:[ch([cB]),cg],decls:9,vars:3,consts:[["bookmarkGroupName",""],["editBookmarkGroupItemsContainer",""],["savedSearchMenu","matMenu"],[1,"kd-appbar"],[1,"kd-buttonbar"],[1,"bv2-appbar-left"],["type","button","mat-icon-button",
"","matTooltip","Go back","aria-label","Go back",3,"click"],["svgIcon","arrow-backward","color","primary"],["type","button","mat-button","","color","primary",3,"disabled"],[1,"bv2-view"],["type","button","mat-button","","color","primary",3,"click","disabled"],[1,"edit-resource-header"],[1,"resource-archived"],[1,"edit-resource-header-link","normal-link",3,"href"],["mat-align-tabs","start",3,"selectedIndexChange","selectedIndex"],["id","basic","label","Basic Information"],[1,"edit-resource-panel"],
[3,"error"],[1,"edit-field",3,"ngClass"],["for","bookmark-group-name",1,"required"],[1,"edit-field-header"],["type","text","id","bookmark-group-name","required","","aria-required","true",3,"ngModelChange","ngModel","disabled"],["for","bookmark-group-description"],["id","bookmark-group-description",3,"ngModelChange","ngModel","disabled"],[1,"edit-field","bv2-edit-resource-readonly"],[1,"edit-button-row"],["id","access","label","Access Control"],[1,"edit-field-note"],[3,"usersChange","isValid","users"],
[3,"usersChange","isValid","users","includeAliases","includeViewAliases","containerChips"],[1,"edit-field"],["target","_blank",3,"href"],["for","edit-bookmark-group-items-container"],["role","region","aria-label","Selected items","id","edit-bookmark-group-items-container",1,"keep-focus-ring","edit-bookmark-group-items-container"],[1,"bv2-bookmark-item-chip"],[1,"edit-bookmark-group-edit-items-pane"],[1,"edit-bookmark-group-hotlist-picker"],["for","hotlist-picker-button"],[3,"onApply","onCreate","onLoad",
"selectedHotlistIds","choices","checkEditAcl"],[1,"edit-bookmark-group-hotlist-search"],["for","hotlist-search-input-box"],[3,"itemSelect","showGroups","allowStarring"],[1,"edit-bookmark-group-saved-search-picker"],[1,"bv2-saved-search-chip","b-chip","yellow","split"],[1,"edit-bookmark-group-none-select"],[3,"removeHotlist","id"],[1,"left","interactive",3,"href","matTooltip"],["role","button","tabindex","0",1,"right","interactive",3,"click","keydown.enter","keydown.space","matTooltip"],["for","add-from-saved-searches-button"],
["type","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",""],["type","button","mat-menu-item",""],["type","button","mat-menu-item","",3,"click"],[1,"edit-bookmark-group-view-items"],[3,"href"],["type","button","mat-flat-button","","color","primary",3,"click","disabled"],
["type","button","mat-stroked-button","","color","primary",3,"click"]],template:function(a,b){a&1&&(I(0,"div",3)(1,"div",4)(2,"div",5)(3,"button",6),M("click",function(){return b.back()}),K(4,"mat-icon",7),J(),D(5,hNb,2,1,"button",8)(6,iNb,2,1,"button",8),J()()(),I(7,"div",9),D(8,JNb,46,39),J());a&2&&(B(5),G(b.isAdmin&&!b.isArchived()?5:-1),B(),G(b.isAdmin&&b.isArchived()?6:-1),B(2),G(!b.isLoading&&b.bookmarkGroup.bookmarkGroupId?8:-1))},dependencies:[aw,pB,mB,rB,eB,jy,ly,DN,yN,zN,J2,oU,m1,J_,oi,
Gy,Yy,Ny,xL,IL,GL,HL,JL,TK],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 igd=["savedSearchNameInput"],ONb=function(a){return{"bv2-edit-resource-readonly":a}},QNb=function(a){return{displayText:"Admins",values:a}},PNb=function(a){return[a]},Y6=function(){Z.call(this);var a=this;this.routeParams=r(YI);this.location=r(WN);this.accessPolicyApi=r(nD);this.savedSearchApi=r(XD);this.paths=r(IP);this.appHistory=r(c4);this.butterBar=r(fH);this.pageTitle=r(u_);this.documentationLinks=r(lI);this.userAccess=r(uE);this.errorHandler=r(CI);this.snackBar=r(cH);this.confirmationDialog=
r(AI);this.cdr=r(cB,{self:!0});this.appEvents=r(yD);this.activeSession=r(Bu);this.checkBeforeExit=r(zS);this.selectedTabIndex=0;this.isDeleting=this.isUpdating=this.isAdmin=this.isLoading=!1;this.isReaderFieldValid=this.isAdminsFieldValid=!0;this.currentUserEmail=this.activeSession.getUserEmail();this.accessPolicyUnderEdit=tq();this.flattenedAccessPolicy=tq();this.error="";var b=this.loadSavedSearch(this.routeParams.savedSearchId),c=this.loadUserAccess(this.routeParams.savedSearchId);this.loadAccessPolicy(this.routeParams.savedSearchId);
Promise.all([b,c]).then(function(){var d;(d=a.savedSearchName)==null||d.nativeElement.focus()});this.subscriptions.add(AS(this.checkBeforeExit,function(){return a.hasUnsavedChanges()},!1))};Y(Y6,Z);Y6.\u0275dir=Z.\u0275dir;g=Y6.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=pj(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=uq(c);b.accessPolicyUnderEdit=pj(b.flattenedAccessPolicy);b.cdr.detectChanges()}).catch(function(c){b.errorHandler.errorHandler(null,c)})};g.loadUserAccess=function(a){var b=this;return vE(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(){d4(this.appHistory)};g.revertMetadataChanges=function(){this.savedSearchUnderEdit=pj(this.savedSearch);this.error=""};g.revertAccessPolicyChanges=function(){this.accessPolicyUnderEdit=pj(this.flattenedAccessPolicy);this.appEvents.contactChipsRevertChanges.next()};g.hasUnsavedMetadataChanges=function(){return!oj(this.savedSearch,this.savedSearchUnderEdit)};
g.hasUnsavedAccessPolicyChanges=function(){return!oj(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=pj(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",wi("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=vq(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=uq(c);a.accessPolicyUnderEdit=pj(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($o(c),0)}).finally(function(){a.isUpdating=!1})};g.delete=function(){var a=this;this.openConfirmationDialog("Delete saved search",wi("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"});OAc(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()}})};Y6.\u0275fac=function(a){return new (a||Y6)};
Y6.\u0275cmp=C({type:Y6,selectors:[["b-edit-saved-search"]],viewQuery:function(a,b){a&1&&(Rg(igd,5),Rg(yN,5,ef));if(a&2){var c;Vg(c=Wg())&&(b.savedSearchName=c.first);Vg(c=Wg())&&(b.tabs=c)}},standalone:!1,features:[ch([cB]),cg],decls:9,vars:3,consts:[["savedSearchNameInput",""],[1,"kd-appbar"],[1,"kd-buttonbar"],[1,"bv2-appbar-left"],["type","button","mat-icon-button","","matTooltip","Go back","aria-label","Go back",3,"click"],["svgIcon","arrow-backward","color","primary"],["type","button","mat-button",
"","color","primary","matTooltip","Delete saved search",3,"disabled"],[1,"bv2-view"],[1,"edit-resource-header"],["type","button","mat-button","","color","primary","matTooltip","Delete saved search",3,"click","disabled"],[1,"edit-resource-header-link",3,"href"],["gmat-tabs","","mat-align-tabs","start",3,"selectedIndexChange","selectedIndex"],["id","basic","label","Basic Information"],[1,"edit-resource-panel"],[3,"error"],[1,"edit-field",3,"ngClass"],["for","saved-search-name",1,"required"],[1,"edit-field-header"],
["type","text","id","saved-search-name","required","","aria-required","true",3,"ngModelChange","ngModel","disabled"],["for","saved-search-description"],["id","saved-search-description",3,"ngModelChange","ngModel","disabled"],[1,"edit-field","bv2-edit-resource-readonly"],["for","saved-search-query"],[1,"edit-field-note"],[1,"edit-saved-search-query-container","codefont"],[1,"edit-button-row"],["id","access","label","Access Control"],["for","saved-search-acl-admins"],[3,"usersChange","isValid","users"],
["for","saved-search-acl-readers"],[3,"usersChange","isValid","users","includeAliases","includeViewAliases","containerChips"],[1,"edit-field"],["target","_blank",3,"href"],["type","button","mat-flat-button","","color","primary",3,"click","disabled"],["type","button","mat-stroked-button","","color","primary",3,"click"]],template:function(a,b){a&1&&(I(0,"div",1)(1,"div",2)(2,"div",3)(3,"button",4),M("click",function(){return b.back()}),K(4,"mat-icon",5),J(),D(5,KNb,2,1,"button",6),J()()(),I(6,"div",
7),D(7,LNb,3,0,"div",8)(8,RNb,50,38),J());a&2&&(B(5),G(b.isAdmin?5:-1),B(2),G(b.isLoading||b.savedSearch?-1:7),B(),G(!b.isLoading&&b.savedSearch?8:-1))},dependencies:[aw,pB,mB,rB,eB,jy,ly,DN,yN,zN,J2,oi,Gy,Yy,Ny,TK],encapsulation:2});var jgd=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(jgd,V);jgd.prototype.getSloId_asLegacyNumberOrString=function(){return Qk(this,1)};jgd.prototype.setSloId=function(a){return jm(this,1,a)};var kgd=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(kgd,V);g=kgd.prototype;g.getAuthor=function(){return W(this,Zj,1)};g.setAuthor=function(a){X(this,Zj,1,a)};g.hasAuthor=function(){return Jk(this,Zj,1)};g.getTimestamp=function(){return W(this,rk,2)};g.setTimestamp=function(a){return X(this,rk,2,a)};g.hasTimestamp=function(){return Jk(this,rk,2)};g.getAdd=function(){return W(this,rp,3)};g.setAdd=function(a){return X(this,rp,3,a)};g.getRemove=function(){return W(this,rp,4)};
g.setRemove=function(a){return X(this,rp,4,a)};g.getAddMask=function(){return W(this,$n,5)};g.setAddMask=function(a){return X(this,$n,5,a)};g.getRemoveMask=function(){return W(this,$n,6)};g.setRemoveMask=function(a){return X(this,$n,6,a)};g.getFieldUpdatesList=function(){return lk(this,xjc,7,Uj())};var lgd=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(lgd,V);var Z6=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,Z6.messageId)};Y(Z6,V);Z6.prototype.getIt=function(){return W(this,lgd,1)};Z6.prototype.setIt=function(a){return X(this,lgd,1,a)};Z6.messageId="b.ListSloUpdatesResponse";var $6=function(){this.executor=r(NC);this.bCacheFactory=r(HD);this.sloHistories=this.bCacheFactory.get("slo_histories-second-level-cache")||this.bCacheFactory.create("slo_histories-second-level-cache",{capacity:25})};$6.prototype.get=function(a){var b=this.sloHistories.get(String(a));return b!==void 0?b:this.sloHistories.put(String(a),mgd(this,a))};
var mgd=function(a,b){var c=(new jgd).setSloId(Number(b));return a.executor.post({url:"action/slos/"+b+"/updates",body:c,responseConstructor:Z6}).then(function(d){d=d.getIt();return{updates:lk(d,kgd,1,Uj()).map(pza)}})};$6.prototype.getUncached=function(a){this.invalidateCache(a);return this.get(a)};$6.prototype.invalidateCache=function(a){this.sloHistories.remove(String(a))};$6.\u0275fac=function(a){return new (a||$6)};$6.\u0275prov=n({token:$6,factory:$6.\u0275fac,providedIn:"root"});var a7=function(){var a=r(Bu),b=r(zS);Z.call(this);var c=this;this.routeParams=r(YI);this.bLocation=r(WN);this.appHistory=r(c4);this.butterBar=r(fH);this.pageTitle=r(u_);this.documentationLinks=r(lI);this.userAccess=r(uE);this.accessPolicyApi=r(nD);this.sloApi=r(wG);this.sloUpdatesApi=r($6);this.sloUpdatesService=r(Y3);this.errorHandler=r(CI);this.matDialogService=r(tI);this.analytics=r(OF);this.confirmationDialogService=r(AI);this.appEvents=r(yD);this.editableAccessPolicy=tq();this.flattenedAccessPolicy=
tq();this.historyDiffs=void 0;this.isImportedFromBugScope=this.isUneditedFromBugScope=this.elementPickerIsValid=this.isAdminInternal=this.isUpdating=this.isLoading=!1;this.selectedTabIndex=0;this.validity={};this.isInvalid=function(){return Object.values(c.validity).some(function(d){return!d})};this.subscriptions.add(AS(b,function(){return c.hasUnsavedChanges()},!1));b=this.routeParams.sloId;this.resourceName=zn("SLO",uj(b));if(this.sloEnabled=a.isInternalSession())ngd(this,b),this.loadUserAccess(b),
this.loadAccessPolicy(b),ogd(this,b);this.alertState={getValue:function(){return c.editableCopy?c.editableCopy.alertState==="ON":!1},getSavedValue:function(){return c.slo?c.slo.alertState==="ON":!1},setValue:function(d){c.editableCopy&&(c.editableCopy.alertState=d?"ON":"OFF")}};this.currentUserEmail=a.getUserEmail()};Y(a7,Z);a7.\u0275dir=Z.\u0275dir;
a7.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)};a7.prototype.ngOnInit=function(){this.bLocation.hash()==="access"&&(this.selectedTabIndex=1)};a7.prototype.updateCollection=function(a){this.editableCopy&&(this.editableCopy.elements=a)};
var ngd=function(a,b){a.isLoading=!0;a.sloApi.get(b).then(function(c){a.slo=c;a.slo.elements||(a.slo.elements=[]);a.editableCopy=pj(a.slo);a.pageTitle.setTitle("SLO: "+c.name)}).catch(function(c){a.errorHandler.errorHandler(null,c)}).finally(function(){a.isLoading=!1})};
a7.prototype.loadAccessPolicy=function(a){var b=this;this.accessPolicyApi.get("SLO",Number(a)).then(function(c){b.flattenedAccessPolicy=uq(c);b.editableAccessPolicy=pj(b.flattenedAccessPolicy)}).catch(function(c){b.errorHandler.errorHandler(null,c)})};var pgd=function(a,b){return a.sloUpdatesApi.get(b).then(function(c){a.historyDiffs=c.updates.map(function(d){return Qbd(a.sloUpdatesService,d)})}).catch(function(c){a.errorHandler.errorHandler(null,c)})};g=a7.prototype;
g.loadUserAccess=function(a){var b=this;vE(this.userAccess,"admin",zn("SLO",uj(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!oj(this.slo,this.editableCopy)};g.hasUnsavedAccessPolicyChanges=function(){return!oj(this.flattenedAccessPolicy,this.editableAccessPolicy)};
g.saveMetadata=function(){var a=this;qgd(this.slo.elements,this.editableCopy.elements)?this.save():this.confirmationDialogService.open({title:"Save SLO changes?",content:xi([wi("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."),yi("br"),yi("br"),wi("Please combine changes into as few updates as possible.")]),onConfirm:function(){a.save()},onDismiss:Uz})};
var VNb=function(a,b){if(!a.hasUnsavedMetadataChanges()){var c=function(){a.editableCopy.isArchived=b;a.save()};b?a.confirmationDialogService.open({title:"Archive SLO?",content:wi("Archiving this SLO will prevent new usages of the SLO, and will hide the SLO from most searches."),onConfirm:c,onDismiss:Uz}):c()}},qgd=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};
a7.prototype.save=function(){var a=this,b=this.editableCopy;jq(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.';qgd(a.slo.elements,a.editableCopy.elements)||(d+=" Propagating this change may take several hours.");jq(a.butterBar,d);a.slo=c;a.slo.elements||(a.slo.elements=[]);a.editableCopy=pj(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})};a7.prototype.saveAccessPolicy=function(){var a=this;this.isRevokingAdmin()?this.confirmationDialogService.open({title:"Change SLO admins",content:wi("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:Uz}):this.doSaveAccessPolicy()};
a7.prototype.doSaveAccessPolicy=function(){var a=this;try{var b=vq(this.editableAccessPolicy)}catch(c){b="An unknown problem occurred";c instanceof Error&&(b=c.message);this.butterBar.showWarning(b);return}this.isUpdating=!0;jq(this.butterBar,"Saving access settings...");this.accessPolicyApi.update("SLO",this.slo.sloId,b).then(function(c){jq(a.butterBar,"Access settings saved.");a.flattenedAccessPolicy=uq(c);a.editableAccessPolicy=pj(a.flattenedAccessPolicy);a.loadUserAccess(a.slo.sloId);a.analytics.trackEvent("editSlo",
"updateAccessPolicy")},function(c){a.butterBar.showWarning($o(c),0)}).finally(function(){a.isUpdating=!1})};a7.prototype.isRevokingAdmin=function(){return this.isRevokingDirectAdmin()};
var ogd=function(a,b){pgd(a,b).then(function(){if(a.historyDiffs&&a.historyDiffs.length){var c=a.historyDiffs[0],d=a.historyDiffs[a.historyDiffs.length-1];c.author&&Sj(c.author)==="buganizer-system@google.com"&&(a.isImportedFromBugScope=!0);d.author&&Sj(d.author)==="buganizer-system@google.com"&&(a.isUneditedFromBugScope=!0)}})};g=a7.prototype;
g.isRevokingDirectAdmin=function(){if(oj(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;qgd(this.slo.elements,this.editableCopy.elements)?this.editableCopy=pj(this.slo):this.confirmationDialogService.open({title:"Revert SLO changes?",content:xi([wi("Revert all changes to this SLO?")]),onConfirm:function(){a.editableCopy=pj(a.slo)},onDismiss:Uz})};g.revertAccessPolicyChanges=function(){this.editableAccessPolicy=pj(this.flattenedAccessPolicy);this.appEvents.contactChipsRevertChanges.next()};g.isSaving=function(){return this.isUpdating};
g.back=function(){d4(this.appHistory)};g.isEditDisabled=function(){return!this.editableCopy||this.isSaving()||!this.isAdmin()};g.isAdmin=function(){return this.isAdminInternal};g.showUpdateHistoryModal=function(){var a=this;pgd(this,this.slo.sloId).then(function(){a.matDialogService.open(O5,{width:"600px",data:{updateDiffs:a.historyDiffs}});a.analytics.trackEvent("updateHistoryModal","open");a.analytics.trackEvent("editSlo","viewHistory")})};a7.\u0275fac=function(a){return new (a||a7)};
a7.\u0275cmp=C({type:a7,selectors:[["edit-slo-page"]],viewQuery:function(a,b){a&1&&Rg(yN,5,ef);if(a&2){var c;Vg(c=Wg())&&(b.tabs=c)}},standalone:!1,features:[cg],decls:7,vars:2,consts:[["sloBasicsForm","ngForm"],[1,"kd-appbar"],[1,"kd-buttonbar"],["format","icon","size","large","tooltip","Go back","bAriaLabel","Go back",3,"onAction"],["name","arrow-backward","size","large"],[1,"bv2-view"],[1,"bv2-view-loading"],[1,"edit-resource-header"],[1,"vertical-centered"],["gmat-tabs","",1,"bv2-tab-bar",3,"selectedIndexChange",
"selectedIndex"],["id","basic","label","Basic Information"],[1,"edit-resource-panel","edit-slo-basics-form"],["name","sloBasicsForm"],[1,"edit-field"],["for","slo-name",1,"required"],[1,"edit-field-header"],["type","text","id","slo-name","name","slo-name",3,"ngModelChange","required","ngModel","disabled"],["for","slo-description"],["id","slo-description","name","slo-description",3,"ngModelChange","ngModel","disabled"],[1,"edit-field","permission-toggle",3,"bv2-edit-resource-readonly"],["id","bs-warning"],
[3,"onCollectionUpdate","onValidation","isDisabled","collection"],["id","bv2-slo-edit-buttons"],[1,"edit-button-row"],[1,"edit-button-group"],["title","View history for 'Basic Information'",3,"onAction"],["id","access","label","Access Control"],[1,"edit-resource-panel"],["name","accessControlForm","novalidate",""],["for","slo-acl-admins"],[1,"edit-field-note"],[3,"usersChange","isValid","users"],["for","slo-acl-readers"],[3,"usersChange","isValid","users","includeAliases","includeViewAliases"],["target",
"_blank",3,"href"],[1,"edit-field","permission-toggle"],[1,"permission-toggle-checkbox"],[3,"change","checked","disabled"],[1,"edit-field-help"],[1,"permission-toggle-help","edit-field-help"],["target","_blank","href","https://goto.google.com/buganizer-bugscope-slo-sync"],["format","fill","tooltip","Save any changes to the SLO",3,"onAction","disabled"],["tooltip","Discard any changes",3,"onAction","disabled"],["format","fill","tooltip","Archive the SLO and prevent new usages",3,"disabled"],["tooltip",
"Unarchive the SLO and allow new usages",3,"disabled"],["format","fill","tooltip","Archive the SLO and prevent new usages",3,"onAction","disabled"],["tooltip","Unarchive the SLO and allow new usages",3,"onAction","disabled"],["format","fill",3,"onAction","disabled"],[3,"onAction"]],template:function(a,b){a&1&&(I(0,"div",1)(1,"div",2)(2,"b-button",3),M("onAction",function(){return b.back()}),K(3,"b-icon",4),J()()(),I(4,"div",5),D(5,SNb,2,0,"div",6)(6,$Nb,55,32,"div"),J());a&2&&(B(5),G(b.isLoading?
5:-1),B(),G(!b.isLoading&&b.slo&&b.slo.sloId&&b.editableCopy?6:-1))},dependencies:[dQ,Oy,oi,Gy,Hy,Yy,Ny,Ly,DM,DN,yN,zN,TK,RH,SH,R3,sL],encapsulation:2});var b7=function(){Z.apply(this,arguments);var a=this;this.contextSensitiveRegistry=r(UH);this.issueFullFridge=r(QF);this.issuePicker=r(TP);this.snackBar=r(cH);this.imageUrls=r(jL);this.TEA_DARK=this.imageUrls.TEA_DARK;this.TEA_LIGHT=this.imageUrls.TEA_LIGHT;this.getStatus=function(b){return b.snapshot[0].status};this.id$=this.contextSensitiveRegistry.getIssueId();this.searchUrl$=this.id$.pipe(z(function(b){return{path:"/issues",params:{q:"blockedbyid:"+b}}}));this.issue$=this.id$.pipe(Yf(function(b){return a.issueFullFridge.watch(b)}));
this.blockingIds$=this.issue$.pipe(z(function(b){var c;return(c=b==null?void 0:b.snapshot[0].blockingIssueId)!=null?c:[]}));this.issuesBeingBlocked$=this.blockingIds$.pipe(Yf(function(b){return a.issueFullFridge.watchSet(b)}));this.blockedAndOpen$=this.issuesBeingBlocked$.pipe(z(function(b){return b.filter(Sl)}));this.blockedAndOpenIds$=this.blockedAndOpen$.pipe(z(function(b){return b.map(function(c){return String(c.issueId)})}));this.blockedAndClosed$=this.issuesBeingBlocked$.pipe(z(function(b){return b.filter(function(c){return sxa(c)})}));
this.blockedAndClosedIds$=this.blockedAndClosed$.pipe(z(function(b){return b.map(function(c){return String(c.issueId)})}));this.thinking$=this.issueFullFridge.thinking$;this.getMenuItems=function(b){return[{type:"action",label:"Remove this relationship",action:function(){var c=tp(a.id$);c!=null&&a.issueFullFridge.removeBlocking(c,[String(b)]).catch(a.gotErr)},title:"Remove this relationship",icon:"clear"}]};this.didChooseBlocking=function(b){var c=tp(a.id$);c!=null&&a.issueFullFridge.addBlocking(c,
b).catch(a.gotErr)};this.gotErr=function(b){a.snackBar.open($o(b)||"Error with network request","close",{panelClass:"error"})}};Y(b7,Z);b7.\u0275dir=Z.\u0275dir;var aOb=function(a){a.issuePicker.open({title:"Add Blocking",allowMultipleIds:!0,edgeType:"blocking"},a.didChooseBlocking)};b7.\u0275fac=function(){var a;return function(b){return(a||(a=ee(b7)))(b||b7)}}();
b7.\u0275cmp=C({type:b7,selectors:[["ng-component"]],standalone:!1,features:[cg],decls:5,vars:6,consts:[[1,"carded","bg-main"],[1,"pos-tr","padded"],[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"],["type","button","mat-flat-button","","color","primary","matTooltip",
"Add something this issue is blocking",1,"small",3,"click"],[1,"margin-s-top","flex-kids-x","gap-s"],["mat-button","","color","primary",1,"small",3,"routerLink","queryParams"],[1,"section-heading","muted"],[1,"muted","margin-bottom"],[3,"issueIds","menuItemFactory"],[1,"unstyled","reverse-padded-sides"],[1,"padded-x",3,"routerLink"],[1,"right"],["type","button","mat-icon-button","","aria-label","",1,"invisible"]],template:function(a,b){a&1&&(I(0,"section",0),D(1,oOb,2,1),S(2,"async"),J(),D(3,pOb,
2,0,"aside",1),S(4,"async"));if(a&2){var c;B();G((c=U(2,2,b.blockingIds$))?1:-1,c);B(2);G(U(4,4,b.thinking$)?3:-1)}},dependencies:[VA,eB,ky,jy,ly,mB,rB,sL,AU,ew],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 c7=function(){};c7.\u0275fac=function(a){return new (a||c7)};c7.\u0275mod=Cf({type:c7});c7.\u0275inj=p({imports:[lC,IA,qK,bz,cz,mC,FN,pC,iP,WM,hN,BP,xY]});var d7=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,d7.messageId)};Y(d7,V);d7.prototype.getIssueId=function(){return dv(this,1)};d7.prototype.getIssueId_asLegacyNumberOrString=function(){return bv(this,1)};d7.prototype.getIssueId_asString=function(){return Ik(this,1)};d7.prototype.setIssueId=function(a){return kl(this,1,a)};d7.messageId="b.MonorailIssueRedirectRequest";var e7=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,e7.messageId)};Y(e7,V);e7.prototype.getUrl=function(){return W(this,Ez,1)};e7.prototype.setUrl=function(a){return X(this,Ez,1,a)};e7.prototype.hasUrl=function(){return Jk(this,Ez,1)};e7.messageId="b.MonorailIssueRedirectResponse";var f7=function(){this.executor=r(MC)},rgd=function(a,b){b=(new d7).setIssueId(b);return a.executor.post({url:"action/monorailIssueRedirect",body:b,responseConstructor:e7}).pipe(z(function(c){return twa(c.getUrl())}),If(function(){return Ae(null)}))};f7.\u0275fac=function(a){return new (a||f7)};f7.\u0275prov=n({token:f7,factory:f7.\u0275fac,providedIn:"root"});var g7=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,g7.messageId)};Y(g7,V);g7.prototype.getResponse=function(){return W(this,$z,1)};g7.prototype.getReadonlyResponse=function(){return Tq(this,$z,1)};g7.prototype.getMutableResponse=function(){return Wu(this,$z,1)};g7.prototype.setResponse=function(a){return X(this,$z,1,a)};g7.messageId="b.PiperCreateWorkspaceAndChangeWrappedResponse";var sgd=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,sgd.messageId)};Y(sgd,V);sgd.prototype.getResponsesList=function(){return lk(this,Qbc,1,Uj())};sgd.messageId="b.PiperReadFilesWrappedResponse";var h7=function(){this.executor=r(NC)},ugd=function(a,b){return tgd(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}})},tgd=function(a,b){b=sOb(b);return a.executor.post({url:"/action/piper/readFiles",body:b,responseConstructor:sgd}).then(tOb)},vgd=function(a,b){var c=new Obc;b.citcAlias&&fl(c,3,b.citcAlias);if(b.changeDescription){var d=c.setDescription;var e=b.changeDescription;e=(new Zz).setText(e.text);
d.call(c,e)}b=b.files.map(yOb);$m(c,4,b);return a.executor.post({url:"/action/piper/createWorkspaceAndChange",body:c,responseConstructor:g7}).then(uOb)};h7.\u0275fac=function(a){return new (a||h7)};h7.\u0275prov=n({token:h7,factory:h7.\u0275fac,providedIn:"root"});var i7=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(i7,V);i7.prototype.setModelId=function(a){ak(this,1,a)};var wgd=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(wgd,V);g=wgd.prototype;g.getOptions=function(){return W(this,i7,1)};g.setOptions=function(a){return X(this,i7,1,a)};g.hasOptions=function(){return Jk(this,i7,1)};g.getInput=function(){return Kh(this,2)};g.setInput=function(a){return ak(this,2,a)};var tu=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(tu,V);tu.prototype.getContent=function(){return Kh(this,1)};tu.prototype.setContent=function(a){return ak(this,1,a)};tu.prototype.getScore=function(){return tm(this,2)};tu.prototype.setScore=function(a){return Wm(this,2,a)};var j7=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(j7,V);j7.prototype.setModelId=function(a){ak(this,4,a)};var k7=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,k7.messageId)};Y(k7,V);k7.prototype.getResponse=function(){return W(this,j7,1)};k7.prototype.getReadonlyResponse=function(){return Tq(this,j7,1)};k7.prototype.getMutableResponse=function(){return Wu(this,j7,1)};k7.prototype.setResponse=function(a){return X(this,j7,1,a)};k7.messageId="b.GoosePredictionGenerateTextWrappedResponse";var l7=function(){this.executor=r(NC)};
l7.prototype.generate=function(a){var b=(new wgd).setInput(a.input);if(a.options){var c=new i7;a.options.modelId!==void 0&&c.setModelId(a.options.modelId);a.options.outputCount!==void 0&&dl(c,2,a.options.outputCount);a.options.temperature!==void 0&&Np(c,3,Eb(a.options.temperature));a.options.maxDecoderSteps!==void 0&&dl(c,4,a.options.maxDecoderSteps);a.options.eosId!==void 0&&wc(c,5,a.options.eosId,Lb);b.setOptions(c)}return this.executor.post({url:"/action/goose/prediction/generateText",body:b,responseConstructor:k7}).then(zOb)};
l7.\u0275fac=function(a){return new (a||l7)};l7.\u0275prov=n({token:l7,factory:l7.\u0275fac,providedIn:"root"});var xgd=/:(\w+):/,ygd=/(\/\/depot\/)?(google3\/[A-Za-z0-9\.\/_-]+)/,m7=function(){this.piperApi=r(h7);this.gooseApi=r(l7);this.issueFullFridge=r(QF);this.eventsForIssueFridge=r(NE);this.domSafe=r(NH);this.analytics=r(OF)},zgd=function(a,b){return Fe(a.issueFullFridge.watch(b,{trustUncertainMemory:!0}).pipe(Ue(ik),Rf()))},Agd=function(a,b){return Fe(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:""}),Rf()))},Bgd=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")}})};
m7.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:AOb(d)};c={changeDescription:{text:e+"\n\nGenerated by #bug2code\n\nBUG="+c+"\nBUG2CODE="+c},citcAlias:"bug2code_fix_"+Date.now(),files:[a]};return vgd(this.piperApi,c).then(function(h){var l=h.changeNumber;h="https://cider.corp.google.com/?createWs="+h.workspaceName.match(xgd)[1]+"&patchCl="+l;f.domSafe.openInNewTab(h);f.analytics.trackEvent("bug2Code","patchCL")})};
m7.prototype.executePrompt=function(a){return this.gooseApi.generate({input:a,options:{modelId:"goose_v3_mpp_128k_16k_experimental_latest",temperature:0,maxDecoderSteps:4E3}})};
var Cgd=function(a){return(a=a.match(ygd))?"//depot/"+a[2]:""},Dgd=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"},Egd=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"};m7.\u0275fac=function(a){return new (a||m7)};m7.\u0275prov=n({token:m7,factory:m7.\u0275fac,providedIn:"root"});var n7=function(){};n7.\u0275fac=function(a){return new (a||n7)};n7.\u0275cmp=C({type:n7,selectors:[["change-block"]],hostVars:2,hostBindings:function(a){a&2&&sg("codefont",!0)},inputs:{lines:"lines"},standalone:!1,decls:3,vars:0,consts:[[1,"change"],[1,"line",3,"remove","add"],[1,"line"]],template:function(a,b){a&1&&(I(0,"div",0),yg(1,GOb,2,5,"div",1,xg),J());a&2&&(B(),zg(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 o7=function(){this.bug2codeService=r(m7);this.chosenFilePath=new aB;this.filePath="";this.isInputValid=!1};o7.prototype.updateFilePath=function(a){this.filePath=a;this.isInputValid=!!Cgd(a)};o7.prototype.submit=function(){var a=Cgd(this.filePath);this.chosenFilePath.emit(a)};o7.\u0275fac=function(a){return new (a||o7)};
o7.\u0275cmp=C({type:o7,selectors:[["b-bug2code-file-path-input"]],outputs:{chosenFilePath:"chosenFilePath"},standalone:!1,decls:8,vars:2,consts:[["for","filePathInput"],["appearance","outline","subscriptSizing","dynamic"],["matInput","","name","filePathInput",3,"ngModelChange","ngModel"],["type","button","mat-flat-button","","color","primary",3,"click","disabled"]],template:function(a,b){a&1&&(I(0,"label",0),Q(1," Please provide file path "),J(),I(2,"mat-form-field",1)(3,"mat-label"),Q(4," Enter file path (starting with either //depot/... or google3/...) "),
J(),I(5,"input",2),M("ngModelChange",function(c){return b.updateFilePath(c)}),J()(),I(6,"button",3),M("click",function(){return b.submit()}),Q(7," Continue\n"),J());a&2&&(B(5),E("ngModel",b.filePath),B(),E("disabled",!b.isInputValid))},dependencies:[oi,Gy,Ny,eB,jy,kN,lz,fz,aR,sz],styles:['label[_ngcontent-%COMP%]{font-family:"Google Sans",Roboto,Arial,sans-serif;line-height:1.5rem;font-size:1rem;letter-spacing:.00625em;font-weight:500}mat-form-field[_ngcontent-%COMP%]{width:100%}mat-form-field[_ngcontent-%COMP%]{--mat-form-field-container-height:52px;--mat-form-field-filled-label-display:block;--mat-form-field-container-vertical-padding:14px;--mat-form-field-filled-with-label-container-padding-top:22px;--mat-form-field-filled-with-label-container-padding-bottom:6px}mat-form-field[_ngcontent-%COMP%], button[_ngcontent-%COMP%]{margin-top:10px}']});var KOb=function(a){return[a]},p7=function(){this.bug2codeService=r(m7);this.piperApi=r(h7);this.error=""};p7.prototype.ngOnInit=function(){this.issueDetails=Fgd(this)};p7.prototype.updateFilePath=function(a){var b=this,c,d,e;return se(function(f){switch(f.nextAddress){case 1:return te(f,2),b.fileDetails=Ggd(b,a),c=b,d=c.getOutputData,y(f,b.fileDetails,5);case 5:return y(f,d.call(c,f.yieldResult),4);case 4:b.outputData=f.yieldResult;Hu(f,0);break;case 2:e=we(f),b.error=OOb(e),xe(f)}})};
var JOb=function(a,b){var c,d,e,f,h,l,q,u,A,F;return se(function(H){switch(H.nextAddress){case 1:return a.fileDetails?y(H,a.fileDetails,2):H.return();case 2:return c=H.yieldResult,d=c.filePath,e=c.revision,f=c.content,h=b,l=h.diff,q=h.description,te(H,3),u=a.bug2codeService,A=u.patch,y(H,a.issueDetails,6);case 6:return y(H,A.call(u,d,e,H.yieldResult.issue.issueId,FOb(f,l),q),5);case 5:Hu(H,0);break;case 3:F=we(H),a.error=OOb(F),xe(H)}})};
p7.prototype.restart=function(){this.error="";this.outputData=this.fileDetails=void 0};var Ggd=function(a,b){var c;return se(function(d){if(d.nextAddress==1)return y(d,ugd(a.piperApi,b),2);c=d.yieldResult;return d.return({filePath:b,content:c.content,revision:c.revisionNumber})})},Fgd=function(a){var b,c,d;return se(function(e){return e.nextAddress==1?(b=zgd(a.bug2codeService,a.issueId),c=Agd(a.bug2codeService,a.issueId),y(e,b,2)):e.nextAddress!=3?(d=e.yieldResult,y(e,c,3)):e.return({issue:d,description:e.yieldResult})})};
p7.prototype.getOutputData=function(a){var b=this,c,d;return se(function(e){return e.nextAddress==1?y(e,Hgd(b,a),2):e.nextAddress!=3?(c=e.yieldResult,d=Bgd(c),y(e,b.executePrompt(Dgd(a.filePath,c)),3)):e.return({diff:c,diffBlocks:d,description:e.yieldResult})})};var Hgd=function(a,b){var c,d,e,f;return se(function(h){return h.nextAddress==1?y(h,a.issueDetails,2):h.nextAddress!=3?(c=h.yieldResult,d=c.issue,e=c.description,f=Egd(d,e,b.filePath,b.content),y(h,a.executePrompt(f),3)):h.return("@@\n"+h.yieldResult)})};
p7.prototype.executePrompt=function(a){var b=this,c;return se(function(d){if(d.nextAddress==1)return y(d,b.bug2codeService.executePrompt(a),2);c=d.yieldResult;if(c.outputBlocked)throw Error("rg");return d.return(c.outputs[0])})};p7.\u0275fac=function(a){return new (a||p7)};
p7.\u0275cmp=C({type:p7,selectors:[["b-bug2code-sidebar"]],inputs:{issueId:"issueId"},standalone:!1,decls:4,vars:1,consts:[[1,"loading"],[1,"error"],["type","button","mat-flat-button","","color","primary",1,"retry",3,"click"],[1,"gmat-body-2"],[3,"lines"],[1,"cl-description",3,"lines"],["type","button","mat-flat-button","","color","primary",1,"patch-changelist",3,"click"],["alt","loading","src","https://www.gstatic.com/devnotify/typing_animation_3x.gif"],[3,"chosenFilePath"]],template:function(a,
b){a&1&&D(0,HOb,4,1)(1,LOb,9,3)(2,MOb,4,0,"div",0)(3,NOb,1,0,"b-bug2code-file-path-input");a&2&&G(b.error?0:b.outputData?1:b.fileDetails?2:3)},dependencies:[eB,jy,n7,o7],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 Igd=function(){var a=this;this.llmResponseService=r(ST);this.dataReady=new aB;this.citations$=this.llmResponseService.llmCitations$;this.llmResponseMarkdown$=this.llmResponseService.llmResponseMarkdown$.pipe($f(function(){a.dataReady.emit()}))};Igd.\u0275fac=function(a){return new (a||Igd)};
Igd.\u0275cmp=C({type:Igd,selectors:[["llm-response"]],outputs:{dataReady:"dataReady"},standalone:!1,decls:2,vars:3,consts:[[3,"content"],[1,"heading-xs","padded-s-bottom"],[1,"citation-item","flex-kids-x","align-items-center","padded-s-bottom"],["svgIcon","public",1,"icon-xs","padded-s-right"],["alt","Icon for this cited website.",1,"icon-xs","padded-s-right",3,"src"],["target","_blank","aria-label","A citation URL for Duckie's response.",3,"href"]],template:function(a,b){a&1&&(D(0,UOb,3,4),S(1,
"async"));if(a&2){var c;G((c=U(1,1,b.llmResponseMarkdown$))?0:-1,c)}},dependencies:[pB,BK,ew],encapsulation:2});var ePb=function(a,b){return b.issue.issueId},VOb=function(a){return{issuesAndChangelists:a}},Jgd=/(\w+\.)+\w*Exception/,q7=function(){var a=this;this.contextSensitiveRegistry=r(UH);this.issueFullFridge=r(QF);this.issueFridge=r(hF);this.eventsForIssueFridge=r(NE);this.analytics=r(OF);this.imageUrls=r(jL);this.issueAndChangelistDetailsService=r(RT);this.sectionTitle="Related fixed issues";this.issueId$=this.contextSensitiveRegistry.getIssueId();this.issue$=this.issueId$.pipe(Yf(function(b){return a.issueFullFridge.watch(b)}),
Vf({bufferSize:1,refCount:!0}));this.events$=this.issueId$.pipe(Yf(function(b){return a.eventsForIssueFridge.watch(b)}),z(function(b){return(b==null?void 0:b.events)||[]}),Vf({bufferSize:1,refCount:!0}));this.firstEvent$=this.events$.pipe(z(function(b){return b.length>0?b[0]:void 0}),Vf({bufferSize:1,refCount:!0}));this.exceptionFirstLine$=this.firstEvent$.pipe(z(function(b){return b==null?void 0:b.unlinkifiedComment}),z(function(b){if(b)return b=b.match(Jgd)||[],b.length>0?b[0]:void 0}));this.relatedFixedOutsideComponent$=
this.exceptionFirstLine$.pipe(Yf(function(b){return b?a.issueFridge.watchMany({filter:b+" (status:fixed|status:verified) cl:any type:bug",pageSize:3,sort:"modified_time:desc"}):Ae({results:[]})}),z(function(b){return b.results||[]}),Yf(function(b){return pPc(a.issueAndChangelistDetailsService,b)}));this.relatedFixedInComponent$=Ie([this.issue$,this.exceptionFirstLine$]).pipe(Yf(function(b){var c=k(b);b=c.next().value;c=c.next().value;return b&&b.snapshot&&b.snapshot.length&&c?a.issueFridge.watchMany({filter:c+
" (status:fixed|status:verified) cl:any componentId:"+b.snapshot[0].componentId+"+",pageSize:3,sort:"modified_time:desc"}):Ae({results:[]})}),z(function(b){return b.results||[]}),Yf(function(b){return pPc(a.issueAndChangelistDetailsService,b)}));this.issuesAndChangelists$=this.relatedFixedInComponent$.pipe(Yf(function(b){return b&&b.length===3?Ae(b):a.relatedFixedOutsideComponent$.pipe(z(function(c){return Jj([].concat(t(b!=null?b:[]),t(c!=null?c:[])),function(d){return d.issue.issueId}).slice(0,
3)}))}));this.Number=Number;this.hovercardConfig={showDelay:250,hideDelay:250,position:[oqc,nqc],triggerKey:[]};this.BUGANIZER_LOGO_URL=this.imageUrls.LOGO_LIGHT;this.issueAnalyticsLabel="relatedIssue";this.changelistAnalyticsLabel="relatedChangelist"};q7.prototype.trackHover=function(a){this.analytics.trackEvent("helpMeFix","hover",a)};q7.prototype.trackClick=function(a){this.analytics.trackEvent("helpMeFix","click",a)};q7.\u0275fac=function(a){return new (a||q7)};
q7.\u0275cmp=C({type:q7,selectors:[["related-fixed-issues"]],standalone:!1,decls:4,vars:3,consts:[["issuesAndChangelistsTemplate",""],["issueHovercard","onedevHovercard"],["cardBody",""],["changelistCard","onedevHovercard"],[1,"heading-xs","margin-s-bottom"],[3,"ngTemplateOutletContext","ngTemplateOutlet"],[1,"margin-s-bottom"],[1,"issue-row","flex-kids-x","gap-s","align-items-center"],["height","24","width","24","alt","Buganizer logo",3,"src"],["target","_blank","aria-label","View issue",1,"flex-1",
"hover-link","line-clamp-2","margin-xs-y",3,"onedevHovercardShown","click","href","onedevHovercardTrigger","onedevHovercardConfig"],[3,"onedevIsHovercardReady","issueId",4,"onedevHovercardLazyBody"],[3,"onedevIsHovercardReady","issueId"],[1,"changelist-row","flex-kids-x","gap-s","align-items-center","border-left"],["svgIcon","critique-logo",1,"icon-xs"],["target","_blank","aria-label","View changelist",1,"flex-1","muted","hover-link","line-clamp-2","margin-xs-y",3,"onedevHovercardShown","click","href",
"onedevHovercardTrigger","onedevHovercardConfig"],[3,"onedevIsHovercardReady","changelistId",4,"onedevHovercardLazyBody"],[3,"onedevIsHovercardReady","changelistId"]],template:function(a,b){a&1&&(D(0,XOb,1,1),S(1,"async"),D(2,fPb,2,0,"ng-template",null,0,ih));if(a&2){var c;G((c=U(1,1,b.issuesAndChangelists$))?0:-1,c)}},dependencies:[dw,pB,$H,aI,fI,bI,fL,CQ,ew],styles:[".issue-row[_ngcontent-%COMP%]{min-height:38px}.changelist-row[_ngcontent-%COMP%]{margin-left:12px;padding-left:8px}"]});var qPb=function(a,b){return b.issue.issueId},gPb=function(a){return{issuesAndChangelists:a}},r7=function(){var a=this;this.helpMeFixService=r(ET);this.analytics=r(OF);this.imageUrls=r(jL);this.issueAndChangelistDetailsService=r(RT);this.sectionTitle="Similar fixed issues";this.issuesAndChangelists$=this.helpMeFixService.similarFixedIssues$.pipe(Yf(function(b){return pPc(a.issueAndChangelistDetailsService,b)}),z(function(b){return b.slice(0,3)}));this.Number=Number;this.hovercardConfig={showDelay:250,
hideDelay:250,position:[oqc,nqc],triggerKey:[]};this.BUGANIZER_LOGO_URL=this.imageUrls.LOGO_LIGHT;this.issueAnalyticsLabel="similarIssue";this.changelistAnalyticsLabel="similarChangelist"};r7.prototype.trackHover=function(a){this.analytics.trackEvent("helpMeFix","hover",a)};r7.prototype.trackClick=function(a){this.analytics.trackEvent("helpMeFix","click",a)};r7.\u0275fac=function(a){return new (a||r7)};
r7.\u0275cmp=C({type:r7,selectors:[["similar-fixed-issues"]],standalone:!1,decls:4,vars:3,consts:[["issuesAndChangelistsTemplate",""],["issueHovercard","onedevHovercard"],["cardBody",""],["changelistCard","onedevHovercard"],[1,"heading-xs","margin-s-bottom"],[3,"ngTemplateOutletContext","ngTemplateOutlet"],[1,"margin-s-bottom"],[1,"issue-row","flex-kids-x","gap-s","align-items-center"],["height","24","width","24","alt","Buganizer logo",3,"src"],["target","_blank","aria-label","View issue",1,"flex-1",
"hover-link","line-clamp-2","margin-xs-y",3,"onedevHovercardShown","click","href","onedevHovercardTrigger","onedevHovercardConfig"],[3,"onedevIsHovercardReady","issueId",4,"onedevHovercardLazyBody"],[3,"onedevIsHovercardReady","issueId"],[1,"changelist-row","flex-kids-x","gap-s","align-items-center","border-left"],["svgIcon","critique-logo",1,"icon-xs"],["target","_blank","aria-label","View changelist",1,"flex-1","muted","hover-link","line-clamp-2","margin-xs-y",3,"onedevHovercardShown","click","href",
"onedevHovercardTrigger","onedevHovercardConfig"],[3,"onedevIsHovercardReady","changelistId",4,"onedevHovercardLazyBody"],[3,"onedevIsHovercardReady","changelistId"]],template:function(a,b){a&1&&(D(0,iPb,1,1),S(1,"async"),D(2,rPb,2,0,"ng-template",null,0,ih));if(a&2){var c;G((c=U(1,1,b.issuesAndChangelists$))?0:-1,c)}},dependencies:[dw,pB,$H,aI,fI,bI,fL,CQ,ew],styles:[".issue-row[_ngcontent-%COMP%]{min-height:38px}.changelist-row[_ngcontent-%COMP%]{margin-left:12px;padding-left:8px}"]});var Kgd=["container"],s7=function(){Z.apply(this,arguments);this.appEvents=r(yD);this.analytics=r(OF);this.activeSession=r(Bu);this.domSafe=r(NH);this.helpMeFixService=r(ET);this.contextSensitiveRegistry=r(UH);this.isHelpMeFixSidebarOpen$=this.helpMeFixService.isHelpMeFixSidebarOpen$;this.issueCategoryConfig$=this.helpMeFixService.currentConfig$.pipe(Zf(this.destroyed$),Vf({bufferSize:1,refCount:!0}));this.headerText$=this.issueCategoryConfig$.pipe(z(function(a){var b;return(b=a==null?void 0:a.customBranding)!=
null?b:"Help me fix"}));this.isLlmDisplayModulePresent$=this.issueCategoryConfig$.pipe(z(function(a){return a==null?void 0:a.displayedModules.includes(0)}));this.isLlmLoading$=new Xi(!0);this.isLlmDataReady$=Ie([this.isLlmDisplayModulePresent$,this.isLlmLoading$]).pipe(z(function(a){var b=k(a);a=b.next().value;b=b.next().value;return!a||!b}),Vf({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=Vt(this.activeSession,"enableHelpMeFixSidebarOnAllComponents");this.hasDismissedBanner=xl("isHMFAllComponentsOptInBannerDismissed")();this.IssueCategory=vOc;this.DisplayModule=wOc;this.issueId$=this.contextSensitiveRegistry.getIssueId();this.isSidebarExpanded=!1};Y(s7,Z);s7.\u0275dir=Z.\u0275dir;
s7.prototype.ngOnInit=function(){var a=tp(this.helpMeFixService.currentConfig$);this.analytics.trackEvent("helpMeFix","open","sidebarOpened-"+(a==null?void 0:a.issueCategory));var b=Number(tp(this.issueId$));this.analytics.trackEvent("helpMeFix","openOnIssueIdJson",JSON.stringify({issueCategory:a==null?void 0:a.issueCategory,issueId:b}))};
s7.prototype.closeSidebar=function(){this.appEvents.closeHelpMeFixSidebar.next();var a=tp(this.helpMeFixService.currentConfig$);this.analytics.trackEvent("helpMeFix","close","sidebarClosed-"+(a==null?void 0:a.issueCategory))};var xPb=function(a){setTimeout(function(){a.isLlmLoading$.next(!1)})};s7.\u0275fac=function(){var a;return function(b){return(a||(a=ee(s7)))(b||s7)}}();
s7.\u0275cmp=C({type:s7,selectors:[["help-me-fix-sidebar"]],viewQuery:function(a,b){a&1&&Rg(Kgd,5);if(a&2){var c;Vg(c=Wg())&&(b.container=c.first)}},standalone:!1,features:[cg],decls:17,vars:12,consts:[["container",""],[1,"container",3,"scroll"],[1,"flex-kids-x","space-between","padded","padded-s-bottom"],[1,"flex-kids-x","align-items-center"],["svgIcon","spark_24px"],[1,"heading-m","margin-s-left"],[1,"flex-kids-x","gap-s"],["type","button","mat-icon-button","","aria-label","toggle expand sidebar",
1,"expand-button",3,"click","matTooltip"],["svgIcon","expand_all_24px"],["svgIcon","collapse_all_24px"],["type","button","mat-icon-button","","aria-label","close sidebar","matTooltip","Close sidebar",1,"close-button",3,"click"],["svgIcon","close"],[1,"padded-x","padded-bottom"],[1,"no-issue-selected"],[1,"card"],[1,"italic"],[1,"card",3,"hidden"],[1,"margin-bottom"],["type","button","mat-button","","aria-label","Dismiss help me fix banner",3,"click"],["type","button","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"],["type","button","mat-icon-button","","aria-label","vote this was helpful",1,"small",3,"click","disabled"],["svgIcon","thumb_up_24px",1,"icon-s"],["type","button","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=v();I(0,"div",1,0);M("scroll",function(){w(c);b.containerScrolled=b.container.nativeElement.scrollTop===0?!1:!0;return x()});I(2,"header",2)(3,"div",3);K(4,"mat-icon",4);I(5,
"span",5);Q(6);S(7,"async");J()();I(8,"div",6)(9,"button",7);M("click",function(){w(c);b.isSidebarExpanded=!b.isSidebarExpanded;return x()});D(10,sPb,1,0,"mat-icon",8)(11,tPb,1,0,"mat-icon",9);J();I(12,"button",10);M("click",function(){w(c);return x(b.closeSidebar())});K(13,"mat-icon",11);J()()();D(14,HPb,12,13,"div",12);S(15,"async");D(16,IPb,2,0,"div",13);J()}if(a&2){var d;sg("expanded",b.isSidebarExpanded);B(2);sg("elevated",b.containerScrolled);B(4);Yg(U(7,8,b.headerText$));B(3);E("matTooltip",
b.isSidebarExpanded?"Collapse sidebar":"Expand sidebar");B();G(b.isSidebarExpanded?11:10);B(4);G((d=U(15,10,b.issueCategoryConfig$))?14:16,d)}},dependencies:[p7,pB,sL,eB,jy,ly,nL,oL,Igd,q7,r7,rB,ew],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 RPb=function(a,b){return b.issueId},Lgd={BLOCKED_BY_ISSUES:"blocked_by",PARENT_ISSUES:"parent"},t7=function(){Z.apply(this,arguments);var a=this;this.issueFullFridge=r(QF);this.router=r(TA);this.STATUS_JS_TERSE=chc;this.ListIssuesHovercardMode=Lgd;this.mode="blocked_by";this.currentIssueId="";this.issueIds$=new Tf(1);this.init=new Tf(1);this.issues$=this.issueIds$.pipe(Ue(ik),Yf(function(b){return a.issueFullFridge.watchSet(b)}),z(function(b){return a.mode==="parent"?b.filter(Tl):b.filter(Sl)}))};
Y(t7,Z);t7.\u0275dir=Z.\u0275dir;t7.prototype.priorityClass=function(a){switch(a){case "P0":return"high p0";case "P1":return"high";default:return"low"}};var OPb=function(a){var b;(b=a.hovercardInstance)==null||b.closeHovercard$.next();a.issueIds$.subscribe(function(c){c=c!=null?c:[];for(var d="id:(",e=k(c.entries()),f=e.next();!f.done;f=e.next()){var h=k(f.value);f=h.next().value;h=h.next().value;d+=h;d=f<c.length-1?d+"|":d+")"}c={q:d};a.router.navigate([Qq.listIssues.makeHref()],{queryParams:c})})};
t7.prototype.ngOnInit=function(){var a=this;this.issues$.pipe(Zf(this.destroyed$)).subscribe(function(){a.init.next()})};da.Object.defineProperties(t7.prototype,{issueIds:{configurable:!0,enumerable:!0,set:function(a){this.issueIds$.next(a)}}});t7.\u0275fac=function(){var a;return function(b){return(a||(a=ee(t7)))(b||t7)}}();
t7.\u0275cmp=C({type:t7,selectors:[["b-list-issues-card"]],inputs:{mode:"mode",currentIssueId:"currentIssueId",issueIds:"issueIds",hovercardInstance:"hovercardInstance"},outputs:{init:"init"},standalone:!1,features:[cg],decls:2,vars:3,consts:[["role","dialog","aria-label","List Issues Hovercard",1,"onedev-hovercard-content"],[1,"border-bottom","header-container"],[1,"flex-kids-x","more-issues-container","margin-s-right"],["svgIcon","account_tree_24px",1,"icon-xxs","muted"],[1,"header-text"],["svgIcon",
"slo-status-no-data",1,"icon-xxs","gfx-bad"],[3,"routerLink"],[1,"issue-row","flex-kids-x","space-between"],[1,"flex-kids-x","align-items-center"],[1,"issue-id","type-xs"],[1,"type-m","margin-right","issue-title"],[1,"bv2-priority",3,"ngClass"],[3,"class"],["type","button","mat-button","",1,"primary","small",3,"click"]],template:function(a,b){a&1&&(D(0,SPb,8,4,"div",0),S(1,"async"));if(a&2){var c;G((c=U(1,1,b.issues$))?0:-1,c)}},dependencies:[aw,pB,VA,eB,jy,ew],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 u7=function(){this.issueFullFridge=r(QF);this.paths=r(IP);this.ancestors=new Map;this.issueId="";this.ListIssuesHovercardMode=Lgd;this.reorderedAncestors=[];this.issueIdToTitle=new Map;this.multiParentIssueIds=[]};u7.prototype.ngOnChanges=function(a){var b=this;a.ancestors&&Mgd(this).then(function(c){b.issueIdToTitle=c})};u7.prototype.getIssueLink=function(a){return Rq(a)};
var Mgd=function(a){var b,c,d;return se(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=Kj(a.reorderedAncestors);return d.length===0?e.return(new Map):e.return(Fe(Ie(d.map(function(f){return a.issueFullFridge.watch(f)})).pipe(z(function(f){return f.filter(ik)}),z(function(f){var h=new Map;f=k(f);
for(var l=f.next();!l.done;l=f.next())l=l.value,h.set(l.issueId,l.snapshot[0].title);return h}))))})};u7.\u0275fac=function(a){return new (a||u7)};
u7.\u0275cmp=C({type:u7,selectors:[["ancestors-breadcrumbs"]],inputs:{ancestors:"ancestors",issueId:"issueId"},standalone:!1,features:[rv],decls:4,vars:1,consts:[["card","onedevHovercard"],["cardBody",""],["svgIcon","account_tree_24px","title","Ancestor issues",1,"icon-xs","margin-s-right"],[1,"muted",3,"onedevHovercardTrigger","title"],["svgIcon","chevron-right",1,"icon-xs","chevron","muted"],[4,"onedevHovercardLazyBody"],[3,"onedevIsHovercardReady","hovercardInstance","currentIssueId","issueIds",
"mode"],[1,"type-s",3,"href","issueId"]],template:function(a,b){a&1&&(K(0,"mat-icon",2),D(1,VPb,6,5),yg(2,WPb,3,5,null,null,xg));a&2&&(B(),G(b.multiParentIssueIds.length>1?1:-1),B(),zg(b.reorderedAncestors))},dependencies:[pB,hI,$H,aI,fI,bI,t7],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 v7=function(){var a=this;this.issueFullFridge=r(QF);this.hotlistFridge=r(UD);this.hotlistPicker=r(OS);this.issueId$=new Tf(1);this.issue$=this.issueId$.pipe(Yf(function(b){return a.issueFullFridge.watch(b)}));this.hotlistsOnIssue$=this.issue$.pipe(z(function(b){var c;return(c=b==null?void 0:b.snapshot[0].hotlistId)!=null?c:[]}));this.count$=this.hotlistsOnIssue$.pipe(z(function(b){return b==null?void 0:b.length}),Xf(0));this.label$=this.count$.pipe(z(function(b){return b>0?"Hotlists ("+b+")":
"Hotlists"}));this.isDisabled$=this.hotlistFridge.saving$;this.HOTKEYS=Fp};v7.prototype.onClick=function(){wMc(this.hotlistPicker,this.issue$)};da.Object.defineProperties(v7.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(String(a))}}});v7.\u0275fac=function(a){return new (a||v7)};
v7.\u0275cmp=C({type:v7,selectors:[["hotlist-picker-btn"]],inputs:{issueId:"issueId"},standalone:!1,decls:4,vars:7,consts:[["type","button","mat-stroked-button","",1,"small",3,"onHotkey","click","hotkey","disabled"]],template:function(a,b){a&1&&(I(0,"button",0),S(1,"async"),M("onHotkey",function(){return b.onClick()})("click",function(){return b.onClick()}),Q(2),S(3,"async"),J());a&2&&(E("hotkey",b.HOTKEYS.OPEN_HOTLIST_PICKER)("disabled",U(1,3,b.isDisabled$)),B(2),R(" ",U(3,5,b.label$),"\n"))},dependencies:[wH,
eB,jy,ew],encapsulation:2});var Ngd=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()}}}},Ogd=function(a,b){return b.isInternal?{type:"action",label:"Request issue deletion...",title:"Request issue deletion",action:function(){a.requestIssueDeletion()}}:void 0},Pgd=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)}}},Qgd=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 Rgd=function(a){return{isDupe:a}},w7=function(){Z.apply(this,arguments);var a=this;this.issueFullFridge=r(QF);this.permissionsFridge=r(nG);this.issuePicker=r(TP);this.snackBar=r(cH);this.eventsForIssueFridge=r(NE);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 Tf(1);this.issue$=this.issueId$.pipe(Yf(function(b){return a.issueFullFridge.watch(b)}));this.isDupe$=this.issue$.pipe(z(function(b){var c;
return!!(b==null?0:(c=b.snapshot[0])==null?0:c.duplicateOfIssueId)}));this.permissions$=this.issueId$.pipe(Yf(function(b){return a.permissionsFridge.watch("issues/"+b)}));this.canEdit$=this.permissions$.pipe(z(function(b){return!(b==null||!b.writer)}),Xf(!0));this.didChooseCanonical=function(b){return function(c){(c=c[0])&&gmc(a.issueFullFridge,c,b).then(function(){a.eventsForIssueFridge.poke(b)}).catch(a.gotErr)}};this.gotErr=function(b){a.snackBar.open($o(b)||"Error with network request","close",
{panelClass:"error"})}};Y(w7,Z);w7.\u0275dir=Z.\u0275dir;
var XPb=function(a){var b,c;return se(function(d){if(d.nextAddress==1)return a.disabled||a.issueFullFridge.isSaving(a.internalIssueId)||!tp(a.canEdit$)?d.return():y(d,Fe(a.isDupe$),2);if(d.nextAddress!=3)return b=d.yieldResult,y(d,Fe(a.issue$),3);c=d.yieldResult;if(c==null)return d.return();b?Sgd(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));
xe(d)})},Sgd=function(a,b){var c=b.snapshot[0].duplicateOfIssueId;c!=null&&a.issueFullFridge.removeDuplicate(c,b.issueId).then(function(){a.eventsForIssueFridge.poke(b.issueId)}).catch(a.gotErr)};da.Object.defineProperties(w7.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.internalIssueId=a;this.issueId$.next(a)}}});w7.\u0275fac=function(){var a;return function(b){return(a||(a=ee(w7)))(b||w7)}}();
w7.\u0275cmp=C({type:w7,selectors:[["smart-dupe-btn"]],inputs:{disabled:"disabled",issueId:"issueId"},standalone:!1,features:[cg],decls:2,vars:5,consts:[["type","button","mat-stroked-button","",1,"small",3,"disabled","title"],["type","button","mat-stroked-button","",1,"small",3,"click","disabled","title"]],template:function(a,b){a&1&&(D(0,YPb,3,5,"button",0),S(1,"async"));if(a&2){var c;G((c=eh(3,Rgd,U(1,1,b.isDupe$)))?0:-1,c)}},dependencies:[eB,jy,ew],encapsulation:2});var x7=function(){this.label=""};x7.prototype.toggle=function(){this.hovercardTrigger&&this.hovercardTrigger.toggle(!this.hovercardTrigger.isExpanded())};x7.\u0275fac=function(a){return new (a||x7)};
x7.\u0275cmp=C({type:x7,selectors:[["help-hover"]],viewQuery:function(a,b){a&1&&Rg(fI,5);if(a&2){var c;Vg(c=Wg())&&(b.hovercardTrigger=c.first)}},inputs:{label:"label",content:"content"},standalone:!1,decls:6,vars:3,consts:[["chipHovercard","onedevHovercard"],["role","dialog",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],["svgIcon","help-outline",1,"icon-s",3,"onedevHovercardTrigger"],[4,"ngTemplateOutlet"]],template:function(a,b){a&1&&(I(0,"onedev-hovercard",null,0)(2,"div",1)(3,"div",
2),D(4,$Pb,1,1,"ng-container"),J()()(),K(5,"mat-icon",3));a&2&&(a=L(1),B(2),jg("aria-label",b.label),B(2),G(b.content?4:-1),B(),E("onedevHovercardTrigger",a))},dependencies:[dw,pB,$H,fI],encapsulation:2});var y7=function(){};y7.\u0275fac=function(a){return new (a||y7)};y7.\u0275mod=Cf({type:y7});y7.\u0275inj=p({imports:[lC,WM]});var z7=function(){Z.apply(this,arguments);var a=this;this.issueFullFridge=r(QF);this.issuePermissionService=r(gJ);this.activeSession=r(Bu);this.appEvents=r(yD);this.issueArchiveService=r(lZ);this.domSafe=r(NH);this.editIssueService=r(kJ);this.matDialogService=r(tI);this.analytics=r(OF);this.issueId$=new Tf(1);this.retentionEnabled=this.activeSession.isInternalSession();this.HOTKEYS=Fp;this.issue$=this.issueId$.pipe(Yf(function(b){return a.issueFullFridge.watch(b)}));this.issueDerivedProperties$=this.issue$.pipe(z(function(b){var c,
d,e,f,h,l,q;return{modifiedTimeMilliseconds:(b==null?void 0:(c=b.aggregatedData)==null?void 0:c.modifiedTimeMicros)!=null?b.aggregatedData.modifiedTimeMicros/1E3:void 0,voted:(l=b==null?void 0:(d=b.userData)==null?void 0:d.voted)!=null?l:!1,voteCount:(q=b==null?void 0:(e=b.aggregatedData)==null?void 0:e.voteCount)!=null?q:0,notificationSubscription:hk(b==null?void 0:(f=b.userData)==null?void 0:f.notificationSubscription),retentionState:b==null?void 0:(h=b.aggregatedData)==null?void 0:h.retentionState}}));
this.menuItems$=Tgd(this);this.state$=Ie([this.issueId$,this.issueDerivedProperties$,this.menuItems$]).pipe(z(function(b){var c=k(b);b=c.next().value;var d=c.next().value;c=c.next().value;return Object.assign({},{issueId:b},d,{menuItems:c})}))};Y(z7,Z);z7.\u0275dir=Z.\u0275dir;g=z7.prototype;
g.updateSubscription=function(a){var b=this,c;return se(function(d){if(d.nextAddress==1)return(c=tp(b.issueId$))?y(d,b.editIssueService.updateSubscription(c,a),2):d.return();b.analytics.trackEvent("editIssue","updateSubscription",a);xe(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 se(function(d){return d.nextAddress==1?b.editIssueService.savingState(a).get("retention")?d.return():y(d,Fe(nI(b.matDialogService.open(UIc,{maxWidth:560}))),2):(c=d.yieldResult)?y(d,b.editIssueService.updateIssueRetention(a,"INDEFINITE"),0):d.jumpTo(0)})};
g.showComponentRetentionDialog=function(a){var b=this,c;return se(function(d){return d.nextAddress==1?b.editIssueService.savingState(a).get("retention")?d.return():y(d,Fe(nI(b.matDialogService.open(QIc,{maxWidth:560}))),2):(c=d.yieldResult)?y(d,b.editIssueService.updateIssueRetention(a,"COMPONENT_DEFAULT"),0):d.jumpTo(0)})};
g.showFlagAsSpamDialog=function(a){var b=this,c;return se(function(d){return d.nextAddress==1?y(d,Fe(nI(b.matDialogService.open(TIc,{maxWidth:560}))),2):(c=d.yieldResult)?y(d,Fsc(b.editIssueService,String(a)),0):d.jumpTo(0)})};
var Tgd=function(a){var b={requestIssueDeletion:function(){a.domSafe.openInNewTab($Xa(a.activeSession.isInternalSession()))},showIndefiniteRetentionDialog:function(){var c=tp(a.issueId$);c&&a.showIndefiniteRetentionDialog(c)},showComponentRetentionDialog:function(){var c=tp(a.issueId$);c&&a.showComponentRetentionDialog(c)},submitArchivalState:function(c){var d=tp(a.issueId$);d&&a.issueArchiveService.submitArchivalState(d,c)},showFlagAsSpamDialog:function(){var c=tp(a.issueId$);c&&a.showFlagAsSpamDialog(c)}};
return Ie([a.issue$,a.issuePermissionService.userIsComponentAdmin$,a.issuePermissionService.issuePermissions$]).pipe(z(function(c){var d=k(c);c=d.next().value;var e=d.next().value;var f;d={permissions:d.next().value,accessLevel:KIa(c),isArchived:(f=c==null?void 0:c.isArchived)!=null?f:!1,isDeleted:IIa(c),isInternal:a.activeSession.isInternalSession(),isComponentAdmin:e,retentionOverride:NIa(c),retentionState:QIa(c)};return[Pgd(b,d),Qgd(b,d),Ogd(b,d),Ngd(b,d)].filter(ik)}))};
da.Object.defineProperties(z7.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)}}});z7.\u0275fac=function(){var a;return function(b){return(a||(a=ee(z7)))(b||z7)}}();
z7.\u0275cmp=C({type:z7,selectors:[["issue-actions"]],viewQuery:function(a,b){a&1&&Rg(x7,5);if(a&2){var c;Vg(c=Wg())&&(b.helpHover=c.first)}},inputs:{issueId:"issueId"},standalone:!1,features:[cg],decls:2,vars:3,consts:[["smartDupeBtn",""],["menu","matMenu"],["retentionHelpContent",""],[3,"issueId","voteCount","upvoted"],[3,"issueId"],[3,"onHotkey","issueId","hotkey"],["aria-label","Notification menu",3,"subscriptionChange","showNotificationSettings","subscription","issueId","iconOnly"],["buttonClassname",
"small","aria-label","Insights Graph menu",3,"iconOnly"],["type","button","mat-icon-button","","aria-label","More actions","matTooltip","More actions",1,"medium",3,"matMenuTriggerFor"],["svgIcon","more-settings-vertical"],[1,"issue-actions-menu"],["type","button","mat-menu-item","",3,"disabled","title"],["type","button","mat-menu-item","",1,"informational-only","border-top","flush-bottom"],["type","button","mat-menu-item","",3,"click","disabled","title"],[1,"icon-s",3,"svgIcon"],["type","button",
"mat-menu-item","",1,"informational-only","border-top","flush-bottom",3,"click"],["svgIcon","",1,"icon-s"],[3,"retentionState"],["label","Learn more about retention",3,"content"],[3,"retentionState","modifiedTime"]],template:function(a,b){a&1&&(D(0,eQb,15,12),S(1,"async"));if(a&2){var c;G((c=U(1,1,b.state$))?0:-1,c)}},dependencies:[eL,pB,x7,wH,a3,eB,ly,xL,IL,GL,JL,mB,rB,F3,u2,t2,w7,v7,ew],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 A7=function(){Z.call(this);var a=this;this.issueDetailsBrain=r(eJ);this.issuePagination=r(t_);this.issueInteractionsTracking=r(dJ);this.bLocation=r(WN);this.paths=r(IP);this.refreshMonitor=r(fF);this.butterBar=r(fH);this.internalSearchResults$=new Xi(null);this.searchResults$=this.internalSearchResults$.pipe(Pf(),Yf(function(b){return b?b.changed$:Ae(null)}));this.issueId$=this.issueDetailsBrain.id$;this.totalText$=this.searchResults$.pipe(z(function(b){var c;return(c=b==null?void 0:b.totalText)!=
null?c:""}));this.backNavigationLabel$=this.searchResults$.pipe(z(function(b){return(b==null?0:b.params.returnUrl)?"Back to previous search":"Go home"}));this.issueIndex$=Ie([this.searchResults$,this.issueId$]).pipe(z(function(b){var c=k(b);b=c.next().value;c=c.next().value;var d;return(d=c&&(b==null?void 0:q_(b,c)))!=null?d:-1}));this.hasPreviousIssue$=Ie([this.searchResults$,this.issueId$]).pipe(z(function(b){var c=k(b);b=c.next().value;c=c.next().value;var d;if(d=c)b==null?b=0:(c=q_(b,c),b=c==
null||c===-1?!1:c>b.startIndex||b.params.page>1),d=b;return!!d}));this.hasNextIssue$=Ie([this.searchResults$,this.issueId$]).pipe(z(function(b){var c=k(b);b=c.next().value;c=c.next().value;var d;if(d=c)b==null?b=0:(c=q_(b,c),b=c==null||c===-1?!1:c<b.endIndex||b.params.page<b.numPages),d=b;return!!d}));this.subscriptions.add(this.refreshMonitor.getObservable().subscribe(function(){Ugd(a)}));this.subscriptions.add(this.issueDetailsBrain.id$.subscribe(function(b){a.issueId=b;Ugd(a)}))};Y(A7,Z);
A7.\u0275dir=Z.\u0275dir;
var Vgd=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)},iQb=function(a){var b=tp(a.hasNextIssue$),c=tp(a.issueIndex$);b&&c&&Wgd(a,c+1)},hQb=function(a){var b=tp(a.hasPreviousIssue$),c=tp(a.issueIndex$);b&&c&&Wgd(a,c-1)},Ugd=function(a){var b,c,d;se(function(e){if(e.nextAddress==1)return y(e,o6c(a.issuePagination).catch(fQb),2);b=e.yieldResult;
a.internalSearchResults$.next((c=b)!=null?c:null);if(!b||!a.issueId)return e.return();d=q_(b,a.issueId);return d===-1?e.jumpTo(0):y(e,q6c(a.issuePagination,d).catch(fQb),0)})},Wgd=function(a,b){q6c(a.issuePagination,b).then(function(c){a.bLocation.setUrl(Rq(c))},function(){a.butterBar.showWarning("Can't find issue id for index '"+b+"'")})};A7.\u0275fac=function(a){return new (a||A7)};A7.\u0275prov=n({token:A7,factory:A7.\u0275fac,providedIn:"root"});var jQb=function(a){return{"invisible zero-width":a}},Xgd=function(){this.currentSearchResults=r(A7);this.HOTKEYS=Fp};Xgd.\u0275fac=function(a){return new (a||Xgd)};
Xgd.\u0275cmp=C({type:Xgd,selectors:[["b-pagination-one-issue"]],standalone:!1,decls:2,vars:3,consts:[[3,"ngClass"],["type","button","mat-icon-button","","matTooltip","Previous Issue","aria-label","Previous Issue",1,"medium",3,"onHotkey","click","hotkey","disabled"],["svgIcon","arrow-left",1,"icon-l"],["type","button","mat-icon-button","","matTooltip","Next Issue","aria-label","Next Issue",1,"medium",3,"onHotkey","click","hotkey","disabled"],["svgIcon","arrow-right",1,"icon-l"]],template:function(a,
b){a&1&&(D(0,kQb,8,12),S(1,"async"));if(a&2){var c;G((c=U(1,1,b.currentSearchResults.issueIndex$))?0:-1,c)}},dependencies:[aw,pB,wH,eB,ly,mB,rB,ew],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 Ygd=function(){var a=this;this.brain=r(eJ);this.accessIndicatorService=r(XK);this.INTERNAL="INTERNAL";this.issue$=this.brain.issueJs$.pipe(Ue(ik));this.retentionState$=this.issue$.pipe(z(function(b){var c;return(c=b.aggregatedData)==null?void 0:c.retentionState}));this.modifiedTime$=this.issue$.pipe(z(function(b){var c;return((c=b.aggregatedData)==null?0:c.modifiedTimeMicros)?b.aggregatedData.modifiedTimeMicros/1E3:void 0}),Ue(ik));this.accessLevel$=this.issue$.pipe(z(function(b){var c;return(c=
b.accessLimit)==null?void 0:c.accessLevel}),Ue(ik));this.issueAccessLimitLevel$=this.issue$.pipe(z(function(b){return b.snapshot[0].issueAccessLimitLevel}));this.issueId$=this.issue$.pipe(z(function(b){return b.issueId}));this.hasAccessIndicator$=this.issue$.pipe(Yf(function(b){return Sxc(a.accessIndicatorService,b.issueId)}),z(function(b){return b.type!=="no_indicator"}));this.state$=Ie([this.retentionState$,this.issueAccessLimitLevel$,this.modifiedTime$,this.issueId$,this.brain.componentId$,Ie([this.accessLevel$,
this.hasAccessIndicator$])]).pipe(z(function(b){var c=k(b);b=c.next().value;var d=c.next().value;var e=c.next().value;var f=c.next().value;var h=c.next().value;var l=k(c.next().value);c=l.next().value;l=l.next().value;return{retentionState:b,isAccessLimited:d==="LIMIT_VIEW"||d==="LIMIT_APPEND"||d==="LIMIT_VIEW_TRUSTED",isShowingRetention:(b==null?void 0:b.scheduledDeletionTime)==null?!1:Cyb(b),isShowingPublicPartner:c!=="INTERNAL",modifiedTime:e,accessLevel:c,issueId:f,componentId:h,issueAccessLimitLevel:d,
hasAccessIndicator:l}}))};Ygd.\u0275fac=function(a){return new (a||Ygd)};Ygd.\u0275cmp=C({type:Ygd,selectors:[["issue-chip-indicators"]],standalone:!1,decls:2,vars:3,consts:[[1,"flex-kids-x","gap-s","margin-xs-right"],[3,"issueId"],[3,"issueId","componentId","accessLimitLevel"],[3,"retentionState","compactMode","modifiedTime"]],template:function(a,b){a&1&&(D(0,pQb,1,1),S(1,"async"));if(a&2){var c;G((c=U(1,1,b.state$))?0:-1,c)}},dependencies:[PV,v2,YK,ew],encapsulation:2});var B7=function(){this.teamsService=r(DG);this.onTeamLoaded=new Tf(1);this.teamName$=new Xi("");this.isTeamLoaded=!1};B7.prototype.ngOnChanges=function(a){var b=this;a.teamId&&this.teamId!==null&&(this.teamId===0?(this.isTeamLoaded=!0,this.onTeamLoaded.next(this.isTeamLoaded)):EG(this.teamsService,String(this.teamId)).pipe(Nf(),z(function(c){return c.name})).subscribe(function(c){b.teamName$.next(c);b.isTeamLoaded=!0;b.onTeamLoaded.next(b.isTeamLoaded)}))};
B7.\u0275fac=function(a){return new (a||B7)};
B7.\u0275cmp=C({type:B7,selectors:[["b-team-chip"]],inputs:{componentId:"componentId",teamId:"teamId"},outputs:{onTeamLoaded:"onTeamLoaded"},standalone:!1,features:[rv],decls:7,vars:6,consts:[["card","onedevHovercard"],[3,"isReady"],[1,"b-chip","squared","s",3,"onedevHovercardTrigger"],[3,"componentId","teamId"],["svgIcon","supervisor_account_24px",1,"icon-xs"]],template:function(a,b){a&1&&(I(0,"b-async-data-placeholder",1),D(1,qQb,4,4,"div",2),S(2,"async"),J(),I(3,"onedev-hovercard",null,0),Ag(5),
K(6,"b-team-card",3),Bg(),J());if(a&2){var c;E("isReady",b.isTeamLoaded);B();G(U(2,4,b.teamName$)?1:-1);B(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:[pB,nH,$H,fI,NM,ew],styles:["[_nghost-%COMP%]{min-height:22px}mat-icon[_ngcontent-%COMP%]{margin-right:4px;vertical-align:middle}"],changeDetection:0});var C7=function(){Z.apply(this,arguments);var a=this;this.issueFullFridge=r(QF);this.issuePermissionService=r(gJ);this.router=r(TA);this.refreshMonitor=r(fF);this.currentSearchResults=r(A7);this.trackerHelpers=r(yH);this.eventsForIssueFridge=r(NE);this.cdr=r(Ov);this.starToggleDisabled=!1;this.issueId$=new Tf(1);this.internalIssueId="";this.isTeamLoaded=!1;this.ListIssuesHovercardMode=Lgd;this.blockedIdsToUrlQuery=function(b){if(!(b.length<2))return{q:"blockingid:"+a.issueId}};this.HOTKEYS=Fp;this.issue$=
this.issueId$.pipe(Yf(function(b){return a.issueFullFridge.watch(b)}));this.issueTitle$=this.issue$.pipe(z(function(b){return b==null?void 0:b.snapshot[0].title}));this.starred$=this.issue$.pipe(z(function(b){var c;return hk(b==null?void 0:(c=b.userData)==null?void 0:c.starred)}));this.componentId$=this.issue$.pipe(z(function(b){return hk(b==null?void 0:b.snapshot[0].componentId)}));this.ancestors$=this.issue$.pipe(z(function(b){return hk(b==null?void 0:b.ancestors)}));this.hasAncestors$=this.ancestors$.pipe(z(function(b){return!!(b&&
b.size>0)}));this.teamId$=this.issue$.pipe(z(function(b){var c;return hk(b==null?void 0:(c=b.aggregatedData)==null?void 0:c.teamId)}));this.blockedByids$=this.issue$.pipe(z(function(b){var c;return(c=b==null?void 0:b.snapshot[0].blockedByIssueId)!=null?c:[]}));this.issuesBlockedByCount$=this.blockedByids$.pipe(Yf(function(b){return a.issueFullFridge.watchSet(b)}),z(function(b){return b.filter(Sl)}),z(function(b){return b.length}));this.blockedByids$.pipe(z(AQb));this.blockedByids$.pipe(z(this.blockedIdsToUrlQuery));
this.isWithinExternalComponent$=this.issuePermissionService.isWithinExternalComponent$;this.status$=this.issue$.pipe(z(function(b){return(b==null?void 0:b.snapshot[0].status)||void 0}));this.statusCssClass$=this.status$.pipe(z(function(b){return a.computeStatusCssClass(b)}));this.prettyStatus$=this.status$.pipe(Ue(ik),z(function(b){var c;return(c=Nj.get(b))!=null?c:""}));this.statusIsFeatured$=this.status$.pipe(z(function(b){return!!ehc[b]}));this.toggleStar=function(){var b=!!tp(a.starred$);a.starToggleDisabled=
!0;dmc(a.issueFullFridge,a.issueId,!b).pipe(Rf(),Zf(a.destroyed$)).subscribe(function(){a.starToggleDisabled=!1;a.cdr.markForCheck()})};this.toggleStarDebounced=Zac(this.toggleStar,1E3)};Y(C7,Z);C7.\u0275dir=Z.\u0275dir;C7.prototype.computeStatusCssClass=function(a){return a?"status-"+a:""};C7.prototype.refresh=function(){this.refreshMonitor.refreshRequest.next()};
da.Object.defineProperties(C7.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.internalIssueId=a;this.issueId$.next(a)},get:function(){return this.internalIssueId}}});C7.\u0275fac=function(){var a;return function(b){return(a||(a=ee(C7)))(b||C7)}}();
C7.\u0275cmp=C({type:C7,selectors:[["issue-header"]],inputs:{issueId:"issueId"},standalone:!1,features:[cg],decls:39,vars:48,consts:[["withAncestorsBreadcrumbs",""],["card","onedevHovercard"],["cardBody",""],[1,"padded-s","border-bottom",3,"ngClass"],[1,"pos-fill",2,"bottom","auto","height","6px",3,"title"],[1,"row","row-1","flex-kids-x","space-between"],[1,"left","flex-kids-x","flex-wrap","gap-s"],[1,"right"],[1,"row","row-2","flex-kids-x","margin-s-top"],[1,"left","flex-kids-x","align-items-top"],
[1,"nowrap"],["type","button","mat-icon-button","",1,"small","back-btn",3,"onHotkey","click","hotkey","matTooltip"],["svgIcon","arrow-backward",1,"icon-s"],["type","button","mat-icon-button","","matTooltip","Refresh","aria-label","Refresh",1,"small",3,"onHotkey","click","hotkey"],["svgIcon","refresh",1,"icon-s"],[3,"starClicked","onHotkey","starred","disabled","hotkey"],[3,"titleChanged","title","componentId","issueId","hasAclToEdit"],[1,"b-chip","squared","bad","xs","margin-xs-left",3,"onedevHovercardTrigger"],
[4,"onedevHovercardLazyBody"],[1,"float-right",3,"issueId"],[4,"ngTemplateOutlet"],[3,"onTeamLoaded","componentId","teamId"],[3,"componentId","issueId"],[1,"b-chip","squared","s","padding-0"],[3,"issueId","componentId","issueTitle","isExternalIssue"],[3,"componentId","compactMode","issueId"],[1,"b-chip","squared","s"],[3,"ancestors","issueId"],[2,"margin-right","-4px",3,"issueId","componentId","issueTitle","isExternalIssue"],["svgIcon","slo-status-no-data",1,"icon-xxs"],[3,"onedevIsHovercardReady",
"hovercardInstance","currentIssueId","issueIds","mode"]],template:function(a,b){if(a&1){var c=v();I(0,"div",3);S(1,"async");S(2,"async");S(3,"async");K(4,"aside",4);S(5,"async");S(6,"async");I(7,"div",5)(8,"div",6);D(9,sQb,1,1,"ng-container");S(10,"async");D(11,uQb,4,7)(12,xQb,4,7,"ng-template",null,0,ih);J();I(14,"div",7);K(15,"b-pagination-one-issue");J()();I(16,"div",8)(17,"div",9)(18,"div",10)(19,"button",11);S(20,"async");S(21,"async");M("onHotkey",function(){w(c);return x(Vgd(b.currentSearchResults))})("click",
function(){w(c);return x(Vgd(b.currentSearchResults))});K(22,"mat-icon",12);J();I(23,"button",13);M("onHotkey",function(){w(c);return x(b.refresh())})("click",function(){w(c);return x(b.refresh())});K(24,"mat-icon",14);J();I(25,"b-star-toggle",15);S(26,"async");M("starClicked",function(){w(c);return x(b.toggleStar())})("onHotkey",function(){w(c);return x(b.toggleStarDebounced())});J()();K(27,"issue-chip-indicators");J();I(28,"div",7)(29,"issue-title",16);S(30,"async");S(31,"async");S(32,"async");
M("titleChanged",function(){w(c);b.eventsForIssueFridge.poke(b.issueId);b.cdr.markForCheck();return x()});J();D(33,yQb,3,2,"div",17);S(34,"async");I(35,"onedev-hovercard",null,1);D(37,zQb,4,7,"ng-container",18);J();K(38,"issue-actions",19);J()()()}if(a&2){var d,e;sg("overline",U(1,22,b.statusIsFeatured$))("color-field",U(2,24,b.statusIsFeatured$));Lg("ngClass",U(3,26,b.statusCssClass$));B(4);Mg("title","[",U(5,28,b.prettyStatus$),"] ",U(6,30,b.issueTitle$),"");B(5);G(U(10,32,b.hasAncestors$)?9:11);
B(10);E("hotkey",b.HOTKEYS.GO_UP_TO_LIST)("matTooltip",(d=U(20,34,b.currentSearchResults.backNavigationLabel$))!==null&&d!==void 0?d:"");jg("aria-label",U(21,36,b.currentSearchResults.backNavigationLabel$));B(4);E("hotkey",b.HOTKEYS.REFRESH_ISSUE);B(2);E("starred",U(26,38,b.starred$))("disabled",b.starToggleDisabled)("hotkey",b.HOTKEYS.TOGGLE_STAR);B(4);E("title",U(30,40,b.issueTitle$))("componentId",U(31,42,b.componentId$))("issueId",b.issueId)("hasAclToEdit",U(32,44,b.issuePermissionService.hasAclToEdit$));
B(4);G((e=U(34,46,b.issuesBlockedByCount$))?33:-1,e);B(5);E("issueId",b.issueId)}},dependencies:[u7,aw,dw,pB,FS,wH,$H,aI,fI,bI,DH,uU,t7,eB,ly,mB,rB,KS,B7,Xgd,z7,Ygd,ew],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 D7=function(){var a=this;this.trackerHelpers=r(yH);this.trackerFridge=r(NG);this.activeSession=r(Bu);this.issueTrackerId$=new Xi(void 0);var b;this.currentTrackerId=(b=this.activeSession.getTracker())==null?void 0:b.trackerId;this.showTrackerBanner$=this.issueTrackerId$.pipe(z(function(c){return!a.currentTrackerId&&!!c}));this.tracker$=this.issueTrackerId$.pipe(Yf(function(c){return c?a.trackerFridge.watch(c):Ae(void 0)}));this.trackerRedirectUrl$=this.tracker$.pipe(z(function(c){return Fr(a.trackerHelpers,
String(a.issueId),c)}))};da.Object.defineProperties(D7.prototype,{trackerId:{configurable:!0,enumerable:!0,set:function(a){this.issueTrackerId$.next(a||void 0)}}});D7.\u0275fac=function(a){return new (a||D7)};
D7.\u0275cmp=C({type:D7,selectors:[["b-tracker-banner"]],inputs:{issueId:"issueId",trackerId:"trackerId"},standalone:!1,decls:3,vars:5,consts:[[1,"tracker-banner"],["alt","",3,"src"],["mat-button","",1,"mat-stroked-button","gmat-mdc-button","small",3,"href"]],template:function(a,b){a&1&&(D(0,BQb,7,6,"div",0),S(1,"async"),S(2,"async"));if(a&2){var c;G((c=U(1,1,b.showTrackerBanner$)&&U(2,3,b.tracker$))?0:-1,c)}},dependencies:[eB,ky,ew],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 E7=function(){var a=this;this.trackerHelpers=r(yH);this.trackerFridge=r(NG);this.activeSession=r(Bu);this.imageUrls=r(jL);this.trackerId$=new Xi(void 0);this.tracker$=this.trackerId$.pipe(Yf(function(b){return b?a.trackerFridge.watch(b):Ae(void 0)}));this.trackerName$=this.tracker$.pipe(z(function(b){return b?b.name:a.activeSession.getAppName()}));this.currentTrackerLogo$=Ae(this.getLogoUrl(this.activeSession.getTracker()));this.trackerLogo$=this.tracker$.pipe(z(function(b){return a.getLogoUrl(b)}));
this.trackerRedirectUrl$=this.tracker$.pipe(z(function(b){var c="";a.issue&&(c=String(a.issueId));a.component&&(c="components/"+a.componentId);return b?Fr(a.trackerHelpers,c,b):Npc(a.trackerHelpers,c)}))};E7.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:""};
E7.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(E7.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 Mj((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,d;return(d=Nj.get((c=b==null?void 0:b.status)!=null?c:"STATUS_UNSPECIFIED"))!=null?d:""}},componentId:{configurable:!0,enumerable:!0,get:function(){var a;return(a=this.component)==null?void 0:a.componentId}}});E7.\u0275fac=function(a){return new (a||E7)};
E7.\u0275cmp=C({type:E7,selectors:[["b-tracker-redirect"]],inputs:{issue:"issue",component:"component"},standalone:!1,features:[rv],decls:1,vars:1,consts:[[1,"carded","margin-top"],[1,"centered-inside","margin-bottom"],["alt","",1,"logo",3,"src"],["svgIcon","arrow-forward",1,"icon-l"],[1,"centered-inside","heading-l","margin-bottom"],[1,"centered-inside"],["mat-flat-button","","color","primary","matTooltip","Go to the issue","aria-label","Go to the issue",3,"href"]],template:function(a,b){a&1&&D(0,
DQb,15,13,"div",0);a&2&&G(b.showResourceContainer?0:-1)},dependencies:[pB,eB,ky,mB,rB,ew],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 F7=function(){this.dynamicScrollIntoView=r(fU);this.paths=r(IP);this.routeParams=r(YI);this.baseIssueReferenceResolver=r(U5);this.destroyed$=new Tf(1);var a;this.issueId=(a=this.routeParams.issueId)!=null?a:""};
F7.prototype.visit=function(a){a.event&&(a.event.preventDefault(),a.event.stopPropagation());a.issueId&&a.issueId!==this.issueId||!a.elementId?this.baseIssueReferenceResolver.visit(a):(EPc(this.dynamicScrollIntoView,{elementId:a.elementId,parentElement:document.body,scrollableContainerId:"bv2-edit-issue-details-scroll",scrollPadding:60}).pipe(Zf(this.destroyed$)).subscribe(),history&&history.pushState(null,"",Rq(this.issueId)+"#"+a.elementId))};F7.prototype.ngOnDestroy=function(){this.destroyed$.next()};
F7.\u0275fac=function(a){return new (a||F7)};F7.\u0275prov=n({token:F7,factory:F7.\u0275fac});var G7=function(){Z.call(this);var a=this;this.el=r(ef);this.router=r(TA);this.router.events.pipe(Ue(ita),Zf(this.destroyed$)).subscribe(function(){var b=["scrollY",a.rememberScroll,a.router.url.toString()].join("-"),c,d=(c=a.el.nativeElement)==null?void 0:c.scrollTop;d?window.sessionStorage.setItem(b,String(d)):window.sessionStorage.removeItem(b)});this.router.events.pipe(Ue(ij),Zf(this.destroyed$)).subscribe(function(b){EQb(a.el.nativeElement,["scrollY",a.rememberScroll,b.url].join("-"))})};
Y(G7,Z);G7.\u0275fac=function(a){return new (a||G7)};G7.\u0275dir=Df({type:G7,selectors:[["","rememberScroll",""]],inputs:{rememberScroll:"rememberScroll"},standalone:!1,features:[cg]});var H7=function(){};H7.\u0275fac=function(a){return new (a||H7)};H7.\u0275mod=Cf({type:H7});H7.\u0275inj=p({imports:[lC]});var IQb=function(a){return{monorailRedirectUrl:a}},dRb=function(){return{exact:!0}},I7=function(){Z.apply(this,arguments);var a=this;this.contextSensitiveRegistry=r(UH);this.issueFullFridge=r(QF);this.activeSession=r(Bu);this.permissions=r(gJ);this.editIssueService=r(kJ);this.counts=r(yZ);this.appEvents=r(yD);this.issueInteractionsTracking=r(dJ);this.checkBeforeExit=r(zS);this.butterBar=r(fH);this.routerEvents=r(NF);this.devopsGraph=r(o2);this.refreshMonitor=r(fF);this.eventsForIssueFridge=r(NE);
this.currentUserBookmarksFridge=r(ZD);this.permissionsFridge=r(nG);this.issueRelationshipsFridge=r(bG);this.issueService=r(bF);this.errorHandler=r(CI);this.monorailIssueRedirectApi=r(f7);this.domSafe=r(NH);this.helpMeFixService=r(ET);this.id$=this.contextSensitiveRegistry.getIssueId().pipe(Ue(ik));this.issue$=this.id$.pipe(Yf(function(b){return a.issueFullFridge.watch(b)}));this.readyForView$=Bha(this.issue$.pipe(z(function(b){return{success:!!b}})),this.issueFullFridge.error$.pipe(ag(this.id$),Ue(function(b){var c=
k(b);b=c.next().value;c=c.next().value;return!(!c||c!==b.idOrKey)}),z(function(){return{success:!1}})));this.mainIssueLoadError$=this.issueFullFridge.error$.pipe(ag(this.id$),Ue(function(b){var c=k(b);b=c.next().value;c=c.next().value;return!(!c||c!==b.idOrKey)}),Yf(function(b){b=k(b);var c=b.next().value;b=b.next().value;switch(c.status){case 403:return Ae({status:c.status});case 404:return rgd(a.monorailIssueRedirectApi,b).pipe(z(function(d){return{status:c.status,monorailRedirectUrl:d==null?void 0:
d.toString()}}));default:return Ae({status:c.status})}}),Vf({refCount:!0,bufferSize:1}));this.issueTrackerId$=this.issue$.pipe(z(function(b){return b==null?void 0:b.trackerId}));this.showTrackerRedirect$=this.issueTrackerId$.pipe(z(function(b){var c,d=(c=a.activeSession.getTracker())==null?void 0:c.trackerId;return!!d&&d!==b}));this.snapshot$=this.issue$.pipe(z(function(b){return b==null?void 0:b.snapshot[0]}));this.archived$=this.snapshot$.pipe(z(function(b){return b==null?void 0:b.isArchived}));
this.deleted$=this.snapshot$.pipe(z(function(b){return b==null?void 0:b.isDeleted}));this.undeleteButtonTooltip$=this.permissions.canUndeleteIssue$.pipe(z(function(b){return b?void 0:"Only issue admins can undelete issues"}));this.inArchivedComponent$=this.issue$.pipe(z(function(b){return(b==null?void 0:b.isArchived)&&!(b==null?0:b.snapshot[0].isArchived)}));this.status$=this.issue$.pipe(z(function(b){return(b==null?void 0:b.snapshot[0].status)||void 0}));this.prettyStatus$=this.status$.pipe(Ue(ik),
z(function(b){var c;return(c=Nj.get(b))!=null?c:""}));this.title$=this.issue$.pipe(z(function(b){var c;return(c=b==null?void 0:b.snapshot[0].title)!=null?c:""}));this.issuesBeingBlocked$=this.issue$.pipe(z(function(b){var c;return(c=b==null?void 0:b.snapshot[0].blockingIssueId)!=null?c:[]}),Of(1E3),Yf(function(b){return a.issueFullFridge.watchSet(b)}));this.issue$.pipe(z(function(b){var c;return(c=b==null?void 0:b.snapshot[0].duplicateIssueId)!=null?c:[]}),Of(1E3),Yf(function(b){return a.issueFullFridge.watchSet(b)}));
this.issueMetadata$=Ne(function(){return a.id$}).pipe(Ue(ik),Yf(function(b){return a.issueService.getMetadata(b)}),Vf({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(t(Vt(this.activeSession,"enableCodeMentionsUi")?[{link:"./todos",title:"TODOs",count$:this.counts.countTodosDisplay$}]:[]));this.enableHelpMeFixSidebar$=this.helpMeFixService.currentConfig$.pipe(z(function(b){return!!b}));this.isHelpMeFixSidebarOpen$=this.helpMeFixService.isHelpMeFixSidebarOpen$};Y(I7,Z);I7.\u0275dir=Z.\u0275dir;
I7.prototype.ngOnInit=function(){var a=this,b;return se(function(c){if(c.nextAddress==1)return y(c,Fe(a.id$),2);b=c.yieldResult;a.appEvents.issueViewed.next(b);bsc(a.issueInteractionsTracking,b);a.subscriptions.add(a.mainIssueLoadError$.subscribe(function(d){return se(function(e){if(e.nextAddress==1)return d.status===403?e.return():d.monorailRedirectUrl?y(e,Ci(1E3),3):e.jumpTo(2);if(e.nextAddress!=2)return OH(a.domSafe,d.monorailRedirectUrl),e.return();a.errorHandler.errorHandler(null,d);xe(e)})}));
a.subscriptions.add(AS(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(Ue(ik),Nf()).subscribe(function(d){SF(a.issueFullFridge,[d.issueId],{userActivityType:"VIEW"})}));a.subscriptions.add(a.refreshMonitor.getObservable().subscribe(function(){a.issueInteractionsTracking.trackNavigation("refresh");a.permissionsFridge.poke("issues/"+
b);a.issueRelationshipsFridge.poke(b);a.issueFullFridge.poke(b);a.eventsForIssueFridge.poke(b);a.currentUserBookmarksFridge.pokeAll();SF(a.issueFullFridge,[b],{userActivityType:"RELOAD"})}));a.destroyed$.subscribe(function(){a.devopsGraph.close();var d=a.issueInteractionsTracking,e=d.getState(b);d.trackDestroy("edit-count",e.editCount);var f=Date.now()-e.startTime;csc(d,f,"idp-time-on-page",e.variations);d.onUserActiveStatusUpdate(b,!1);d.resetState(b);d.stopActivityTracking$.next();a.editIssueService.clear(b)});
xe(c)})};I7.\u0275fac=function(){var a;return function(b){return(a||(a=ee(I7)))(b||I7)}}();
I7.\u0275cmp=C({type:I7,selectors:[["issue-details-wrapper"]],standalone:!1,features:[ch([cB,mJ,{provide:XH,useClass:F7}]),cg],decls:12,vars:6,consts:[["showIssueDetails",""],["issueDetails",""],["showMonorailRedirect",""],["showNoAccessScreen",""],["tabPanel",""],["rla","routerLinkActive"],[1,"a11y-only"],[3,"ngTemplateOutlet"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["hasBackdrop","false","autosize","true"],[4,"ngTemplateOutlet"],["mode","side","position","end",3,"autoFocus","opened","disableClose"],
[1,"flex-kids-y","pos-fill",3,"issue-editor-false"],[1,"bv2-limited-issue-view"],[1,"flex-kids-y","pos-fill"],[1,"border-bottom",3,"messageType","format","iconOverride"],["messageType","caution",1,"border-bottom",3,"format","iconOverride"],["messageType","error","format","app",1,"border-bottom"],[1,"issue-header"],[1,"flex-1","flex-kids-x","overflow","overflow-on-print-media"],["role","main","rememberScroll","center","cdkScrollable","",1,"flex-1","pos-rel","bg-off-main","overflow","overflow-on-print-media"],
[3,"issueId"],["href","http://go/buganizer-issue-archive","target","_blank"],"type;button;mat-button;;aria-label;Unarchive issue".split(";"),["type","button","mat-button","","aria-label","Unarchive issue",3,"click"],["href","http://go/buganizer/guides/manage-component#archiving-a-component","target","_blank"],["href","http://go/issue-retention","target","_blank"],["type","button","mat-button","","aria-label","Undelete issue",3,"matTooltip","disabled"],["type","button","mat-button","","aria-label",
"Undelete issue",3,"click","matTooltip","disabled"],[3,"issueId","trackerId"],["mat-tab-nav-bar","","gmat-tabs","",3,"tabPanel"],["mat-tab-link","","routerLinkActive","",3,"routerLink","active","routerLinkActiveOptions"],[2,"margin-left","4px"],[3,"issue"],["target","_self",3,"href"],["data-test-id","internal-access-denied",3,"issueMetadata"],["data-test-id","public-access-denied"]],template:function(a,b){a&1&&(D(0,FQb,2,1,"h2",6),S(1,"async"),D(2,MQb,3,4),S(3,"async"),D(4,SQb,3,3,"ng-template",null,
0,ih)(6,jRb,3,3,"ng-template",null,1,ih)(8,kRb,4,2,"ng-template",null,2,ih)(10,nRb,3,1,"ng-template",null,3,ih));if(a&2){var c,d;G((c=U(1,2,b.id$))?0:-1,c);B(2);G((d=U(3,4,b.readyForView$))?2:-1,d)}},dependencies:[m4,dw,hA,VA,WA,nL,oL,nx,s7,C7,i3,eB,jy,QZ,RZ,PZ,EN,AN,CAc,BN,mB,rB,G7,D7,E7,ew],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 J7=function(){Z.apply(this,arguments);var a=this;this.issueFullFridge=r(QF);this.butterBar=r(fH);this.duplicateIssueIds$=new Xi([]);this.tableColumns="active-indicator title team id createdTime reporter menu".split(" ");this.initialSort={column:"createdTime",direction:"DESCENDING"};this.getMenuItems=function(b){return[{type:"action",label:"Remove duplicate",action:function(){a.removeDuplicate(b)},title:"Remove duplicate",icon:"clear"}]}};Y(J7,Z);J7.\u0275dir=Z.\u0275dir;
J7.prototype.ngOnInit=function(){};J7.prototype.removeDuplicate=function(a){var b=this,c;return se(function(d){if(d.nextAddress==1)return te(d,2),y(d,b.issueFullFridge.removeDuplicate(b.issueId,a),4);if(d.nextAddress!=2)return Hu(d,0);c=we(d);b.butterBar.showWarning("Could not remove duplicate "+a+". "+c);xe(d)})};da.Object.defineProperties(J7.prototype,{duplicateIds:{configurable:!0,enumerable:!0,set:function(a){this.duplicateIssueIds$.next((a!=null?a:[]).map(function(b){return String(b)}))}}});
J7.\u0275fac=function(){var a;return function(b){return(a||(a=ee(J7)))(b||J7)}}();J7.\u0275cmp=C({type:J7,selectors:[["b-duplicates-table"]],inputs:{duplicateIds:"duplicateIds",issueId:"issueId"},standalone:!1,features:[cg],decls:2,vars:3,consts:[[3,"issueIds","menuItemFactory","tableColumns","initialSort"]],template:function(a,b){a&1&&(D(0,oRb,1,4,"b-issues-table",0),S(1,"async"));if(a&2){var c;G((c=U(1,1,b.duplicateIssueIds$))?0:-1,c)}},dependencies:[AU,ew],encapsulation:2,changeDetection:0});var K7=function(){Z.apply(this,arguments);var a=this;this.paramsService=r(TH);this.issueFullFridge=r(QF);this.issuePicker=r(TP);this.snackBar=r(cH);this.counts=r(yZ);this.imageUrls=r(jL);this.ROBOT_SLEEPING=this.imageUrls.ROBOT_SLEEPING;this.id$=this.paramsService.issueId$;this.dupeUrl$=this.id$.pipe(z(function(b){return{path:"/issues",params:{q:"canonicalid:"+b}}}));this.issue$=this.id$.pipe(Yf(function(b){return a.issueFullFridge.watch(b)}));this.duplicateIds$=this.issue$.pipe(z(function(b){var c;
return(c=b==null?void 0:b.snapshot[0].duplicateIssueId)!=null?c:[]}));this.duplicatesCount$=this.duplicateIds$.pipe(Yf(function(b){return b.length===0?Ae(0):a.counts.duplicatesDualCount$.pipe(z(function(c){return c.total.count}))}));this.showTable$=this.duplicatesCount$.pipe(z(function(b){return b>0}),Xf(!0));this.didChooseDupes=function(b){var c=tp(a.id$);c!=null&&gmc(a.issueFullFridge,c,b[0]).catch(a.gotErr)};this.gotErr=function(b){a.snackBar.open($o(b)||"Error with network request","close",{panelClass:"error"})}};
Y(K7,Z);K7.\u0275dir=Z.\u0275dir;K7.prototype.isThinking=function(){return this.issueFullFridge.isThinking()};var pRb=function(a){a.issuePicker.open({title:"Add Duplicate",allowMultipleIds:!1,edgeType:"duplicate"},a.didChooseDupes)};K7.\u0275fac=function(){var a;return function(b){return(a||(a=ee(K7)))(b||K7)}}();
K7.\u0275cmp=C({type:K7,selectors:[["b-issue-duplicates"]],standalone:!1,features:[cg],decls:4,vars:4,consts:[[1,"carded","bg-main"],[1,"pos-tr","padded"],[1,"empty-state","layout-centered-column","gap"],["aria-hidden","true","alt","",3,"src"],[1,"type-l"],[1,"muted"],["href","https://developers.google.com/issue-tracker/guides/duplicate-issue",1,"nowrap"],["type","button","mat-flat-button","","color","primary","matTooltip","Add a duplicate to the current issue",1,"small",3,"click"],[1,"section-heading",
"muted"],["type","button","mat-flat-button","","color","primary","matTooltip","Add a duplicate to the current issue",1,"small","add",3,"click"],[3,"issueId","duplicateIds"],[1,"margin-s-top","flex-kids-x","gap-s"],["mat-button","","color","primary",1,"small",3,"routerLink","queryParams"]],template:function(a,b){a&1&&(I(0,"section",0),D(1,uRb,3,3),S(2,"async"),J(),D(3,vRb,2,0,"aside",1));if(a&2){var c;B();G((c=U(2,2,b.duplicateIds$))?1:-1,c);B(2);G(b.isThinking()?3:-1)}},dependencies:[VA,eB,ky,jy,
mB,rB,sL,J7,ew],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 L7=function(){};L7.\u0275fac=function(a){return new (a||L7)};L7.\u0275mod=Cf({type:L7});L7.\u0275inj=p({imports:[lC,IA,qK,bz,cz,mC,FN,pC,WM,iP,hN,BP,xY]});var M7=function(){Z.call(this);var a=this;this.piperApi=r(h7);this.bug2codeService=r(m7);this.close=new aB;this.stages=[];setTimeout(function(){return a.generate()},1E3)};Y(M7,Z);M7.\u0275dir=Z.\u0275dir;
M7.prototype.generate=function(){var a=this,b,c,d,e,f,h,l,q,u,A,F;return se(function(H){switch(H.nextAddress){case 1:return y(H,zgd(a.bug2codeService,a.issueId),2);case 2:return b=H.yieldResult,y(H,Agd(a.bug2codeService,a.issueId),3);case 3:c=H.yieldResult,d=Cgd(c);case 4:return d?y(H,Zgd(a,d),8):y(H,$gd(a),7);case 7:e=H.yieldResult;d=Cgd(e);H.jumpTo(4);break;case 8:return f=H.yieldResult,h=Egd(b,c,d,f.content),y(H,ahd(a,"Analyzing issue using LLM",h),9);case 9:l=H.yieldResult;q="@@\n"+l;var N={title:"Previewing code changes",
state:"complete",type:"diff-preview",blocks:[]};a.stages.push(N);N.blocks=Bgd(q);N=Promise.resolve();return y(H,N,10);case 10:var O=f.content,T={title:"Applying code changes",state:"in-progress",type:"process"};a.stages.push(T);try{var ea=FOb(O,q);T.state="complete";N=Promise.resolve(ea)}catch(ka){T.state="error",T.error=""+ka,N=Promise.reject(ka)}return y(H,N,11);case 11:return u=H.yieldResult,A=Dgd(d,q),y(H,ahd(a,"Generating changelist description",A),12);case 12:return F=H.yieldResult,a.stages.push({title:"Create changelist",
description:F,state:"in-progress",type:"changelist-create",contents:u,revision:f.revision,path:d}),N=Promise.resolve(),y(H,N,0)}})};
var $gd=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)})},ahd=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("sg");d.state="complete";
return e.outputs[0]})},Zgd=function(a,b){var c={title:"Retrieving data from Piper",state:"in-progress",type:"process"};a.stages.push(c);return ugd(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;})};
M7.prototype.patch=function(a){var b=this;return se(function(c){if(c.nextAddress==1){if(a.type!=="changelist-create")return c.return();a.state="complete";return y(c,b.bug2codeService.patch(a.path,a.revision,b.issueId,a.contents,a.description),2)}b.close.emit();xe(c)})};M7.prototype.blocks=function(a){return a.type==="diff-preview"?a.blocks:[]};M7.prototype.complete=function(){this.stages.push({title:"Complete",state:"complete",type:"process"});return Promise.resolve()};
M7.\u0275fac=function(a){return new (a||M7)};
M7.\u0275cmp=C({type:M7,selectors:[["b-bug2code-stepper"]],inputs:{issueId:"issueId"},outputs:{close:"close"},standalone:!1,features:[cg],decls:2,vars:0,consts:[[1,"stage"],[1,"icon"],["svgIcon","clear",1,"icon-s"],["svgIcon","done",1,"icon-s"],["svgIcon","spark_24px",1,"icon-s"],[3,"class"],[1,"block"],["type","text",3,"keyup","disabled"],["type","button","color","primary","mat-flat-button","","cdkFocusInitial","",1,"medium","dialog-primary-action",3,"click","disabled"],[3,"lines"],[1,"changelist-description",
"codefont"],["type","button","color","primary","mat-flat-button","","cdkFocusInitial","",1,"medium","dialog-primary-action","magic",3,"click","disabled"]],template:function(a,b){a&1&&yg(0,FRb,9,3,"div",0,xg);a&2&&zg(b.stages.slice().reverse())},dependencies:[pB,eB,jy,n7],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 bhd=function(){this.dialogRef=r(mI);this.data=r(sI)};bhd.\u0275fac=function(a){return new (a||bhd)};
bhd.\u0275cmp=C({type:bhd,selectors:[["b-llm-generation-dialog"]],standalone:!1,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"],["type","button","mat-stroked-button","",1,"medium",3,"click"]],template:function(a,b){a&1&&(I(0,"article",0)(1,"header",1)(2,"h1",2),K(3,"mat-icon",3),I(4,"span"),Q(5," Generate LLM suggested change "),
J()()(),I(6,"section",4)(7,"b-bug2code-stepper",5),M("close",function(){b.dialogRef.close()}),J()(),I(8,"footer",6)(9,"button",7),M("click",function(){b.dialogRef.close()}),Q(10," Cancel "),J()()());a&2&&(B(7),E("issueId",b.data.issueId))},dependencies:[pB,eB,jy,wI,yI,xI,M7],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 N7=function(){this.llmSuggestionService=r(DT);this.activeSession=r(Bu);this.matDialogService=r(tI);this.analytics=r(OF);this.appEvents=r(yD);this.issueId="";this.isInternalSession=this.activeSession.isInternalSession();this.openInSidebar=Vt(this.activeSession,"enableBug2CodeSidebar")};N7.prototype.ngOnInit=function(){this.showLlmSuggestion$=IOc(this.llmSuggestionService,this.issueId)};
N7.prototype.open=function(){this.analytics.trackEvent("bug2Code","generate",this.issueId);this.openInSidebar?this.appEvents.openHelpMeFixSidebar.next():this.openDialog()};N7.prototype.openDialog=function(){this.matDialogService.open(bhd,{panelClass:"no-jitter",maxWidth:"70vw",disableClose:!0,data:{issueId:this.issueId}})};N7.\u0275fac=function(a){return new (a||N7)};
N7.\u0275cmp=C({type:N7,selectors:[["llm-suggested-bug-fix"]],inputs:{issueId:"issueId"},standalone:!1,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"],["type","button","color","primary","mat-flat-button","","color","primary","aria-label","Generate a LLM-suggested CL for this bug.",
1,"small","generate",3,"click"],[1,"uppercase","badged","early-access"],[3,"panelTemplate"],["svgIcon","help-outline",1,"icon-s"],["target","_blank","href","http://go/bug2code-feedback","matTooltip","Provide feedback for bug2code.","aria-label","Page for providing feedback for bug2code.",1,"feedback-icon","feedback-button"],["svgIcon","feedback-outline",1,"icon-s"]],template:function(a,b){a&1&&(D(0,GRb,7,1,"div",2),S(1,"async"),D(2,IRb,9,1,"ng-template",null,0,ih));a&2&&G(b.isInternalSession&&U(1,
1,b.showLlmSuggestion$)?0:-1)},dependencies:[dw,pB,eB,jy,HN,UN,ew],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 O7=function(){Z.apply(this,arguments);var a=this;this.issueFullFridge=r(QF);this.issueTypeToDisplay=Mj;this.STATUS_JS_FULL_TEXT=Nj;this.STATUS_JS_TERSE=chc;this.DUPLICATE="DUPLICATE";this.id$=new Tf(1);this.issue$=this.id$.pipe(Yf(function(b){return a.issueFullFridge.watch(b)}));this.priority$=this.issue$.pipe(z(function(b){return(b==null?void 0:b.snapshot[0].priority)||void 0}));this.type$=this.issue$.pipe(z(function(b){var c;return(c=b==null?void 0:b.snapshot[0].type)!=null?c:void 0}));this.canonicalId$=
this.issue$.pipe(z(function(b){return b==null?void 0:b.snapshot[0].duplicateOfIssueId}));this.status$=this.issue$.pipe(z(function(b){return(b==null?void 0:b.snapshot[0].status)||void 0}));this.statusForChip$=this.status$.pipe(z(function(b){return ehc[b]?b:void 0}));this.statusCssClass$=this.status$.pipe(z(function(b){return a.computeStatusCssClass(b)}))};Y(O7,Z);O7.\u0275dir=Z.\u0275dir;O7.prototype.computeStatusCssClass=function(a){return a?"status-"+a:""};
da.Object.defineProperties(O7.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.id$.next(a)}}});O7.\u0275fac=function(){var a;return function(b){return(a||(a=ee(O7)))(b||O7)}}();
O7.\u0275cmp=C({type:O7,selectors:[["issue-description-area"]],inputs:{id:"id"},standalone:!1,features:[cg],decls:13,vars:12,consts:[["canonicalHovercard","onedevHovercard"],["canonicalCardBody",""],[1,"flex-kids-x","gap-s"],[1,"chip-container","shrink-0","border-right","padded-s-right"],[3,"class"],[3,"issuePriority"],[3,"issueId"],[3,"onedevIsHovercardReady","issueId",4,"onedevHovercardLazyBody"],[3,"title"],[1,"type-s","nowrap"],[3,"routerLink","onedevHovercardTrigger"],[3,"onedevIsHovercardReady",
"issueId"]],template:function(a,b){a&1&&(I(0,"div",2)(1,"div",3),D(2,KRb,6,10,"div"),S(3,"async"),D(4,LRb,2,4,"span",4),S(5,"async"),K(6,"b-issue-priority-display",5),S(7,"async"),J(),D(8,MRb,1,1,"b-issue-hotlists",6),S(9,"async"),J(),I(10,"onedev-hovercard",null,0),D(12,NRb,3,4,"b-issue-card",7),J());if(a&2){var c,d,e;B(2);G((c=U(3,4,b.statusForChip$))?2:-1,c);B(2);G((d=U(5,6,b.type$))?4:-1,d);B(2);E("issuePriority",U(7,8,b.priority$));B(2);G((e=U(9,10,b.id$))?8:-1,e)}},dependencies:[VA,$H,aI,fI,
bI,fL,tU,FH,ew],styles:["[_nghost-%COMP%]{display:block}.chip-container[_ngcontent-%COMP%]{-webkit-align-self:start;-ms-flex-item-align:start;align-self:start;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:8px;line-height:22px}[_nghost-%COMP%]     .chip-container .b-chip, [_nghost-%COMP%]     .chip-container b-hotlist-chip, [_nghost-%COMP%]     .chip-container b-hotlist-recommendation-chip{margin-right:0}[_nghost-%COMP%]     .chip-container .b-chip, [_nghost-%COMP%]     .chip-container .chip, [_nghost-%COMP%]     .chip-container b-component-access-level-indicator .label{line-height:22px;height:22px}[_nghost-%COMP%]     .chip-container b-component-access-level-indicator .label{border-radius:11px}[_nghost-%COMP%]     .chip-container .b-chip.status{-moz-box-sizing:border-box;box-sizing:border-box;line-height:20px}.thread-filters[_ngcontent-%COMP%]{margin-top:-9px}\n/*# sourceMappingURL=issue_description_area.css.map */"],
changeDetection:0});var P7=function(){this.message=r(ZG);this.snackbarRef=r($G);this.DEFAULT_MESSAGE="New data is available. Click to refresh."};P7.prototype.onDismiss=function(a){this.snackbarRef.dismiss();a.stopPropagation()};P7.\u0275fac=function(a){return new (a||P7)};
P7.\u0275cmp=C({type:P7,selectors:[["refresh-data-notification"]],standalone:!1,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"],["type","button","mat-icon-button","","aria-label","Dismiss new data notification",1,"refresh-data-notification-dismiss-button","small",3,"click"],["svgIcon","close",1,"icon-m"]],template:function(a,b){a&1&&(I(0,"div",0),M("click",
function(){return b.snackbarRef.dismissWithAction()}),K(1,"mat-icon",1),I(2,"p",2),Q(3),J()(),I(4,"button",3),M("click",function(c){return b.onDismiss(c)}),K(5,"mat-icon",4),J());a&2&&(B(3),R(" ",b.message||b.DEFAULT_MESSAGE," "))},dependencies:[pB,eB,ly],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 Q7=function(){this.snackbar=r(cH)},chd=function(a){var b=Fp.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(P7,c);return a.currentSnackBar};Q7.\u0275fac=function(a){return new (a||Q7)};Q7.\u0275prov=n({token:Q7,factory:Q7.\u0275fac,providedIn:"root"});var R7=function(){Z.apply(this,arguments);var a=this;this.eventsForIssue=r(NE);this.issueFullFridge=r(QF);this.preferences=r(TG);this.activeSession=r(Bu);this.commentHistoryDialogService=r(TS);this.issueDetailsBrain=r(eJ);this.errorHandler=r(CI);this.refreshDataNotification=r(Q7);this.eventsForIssueWatcher=r(oS);this.analytics=r(OF);this.appEvents=r(yD);this.id$=new Tf(1);this.events$=this.id$.pipe(Yf(function(b){return a.eventsForIssue.watch(b)}),z(function(b){var c;return(c=b==null?void 0:b.events)!=
null?c:[]}));this.issue$=this.id$.pipe(Yf(function(b){return a.issueFullFridge.watch(b)}));this.accessLevel$=this.issue$.pipe(z(function(b){var c;return b==null?void 0:(c=b.accessLimit)==null?void 0:c.accessLevel}));this.enableLlmSummarization=Vt(this.activeSession,"enableIssueSummarizationNoButton")&&this.activeSession.isInternalSession();this.enableInlineScreenshots$=this.preferences.showInlineImages$.pipe(z(Boolean),Xf(!0))};Y(R7,Z);R7.\u0275dir=Z.\u0275dir;
R7.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=tp(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(ELc(this.eventsForIssueWatcher,tp(this.id$)).subscribe(function(){dhd(a)}));this.subscriptions.add(this.events$.subscribe(function(){var b;
(b=a.refreshDataNotification.currentSnackBar)==null||b.dismiss()}));this.destroyed$.pipe(Nf()).subscribe(function(){var b;(b=a.refreshDataNotification.currentSnackBar)==null||b.dismiss()})};
var dhd=function(a){a.analytics.trackEvent("pushUpdate","display","comment");chd(a.refreshDataNotification).afterDismissed().subscribe(function(b){b.dismissedByAction?(a.analytics.trackEvent("pushUpdate","fetchResource","comment"),a.issueFullFridge.poke(tp(a.id$)),a.eventsForIssue.poke(tp(a.id$)),a.appEvents.scrollToCommentBox.next()):a.analytics.trackEvent("pushUpdate","dismiss","comment")})};da.Object.defineProperties(R7.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.id$.next(a)}}});
R7.\u0275fac=function(){var a;return function(b){return(a||(a=ee(R7)))(b||R7)}}();
R7.\u0275cmp=C({type:R7,selectors:[["issue-event-list"]],inputs:{id:"id"},standalone:!1,features:[cg],decls:7,vars:16,consts:[[1,"margin-top"],[3,"issueId","events","issueAccessLevel","showFullHistory"]],template:function(a,b){a&1&&(D(0,ORb,2,0,"div",0),K(1,"b-event-stream",1),S(2,"async"),S(3,"async"),S(4,"async"),S(5,"async"),S(6,"async"));a&2&&(G(b.enableLlmSummarization?0:-1),B(),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$)),jg("data-will-inline-screenshots",U(6,14,b.enableInlineScreenshots$)?!0:null))},dependencies:[gU,nY,ew],styles:["[_nghost-%COMP%]     .bv2-edit-issue-history-stream {\n      padding-left: 0;\n    }"]});var S7=function(){this.issueReferenceResolver=r(XH);this.userToString=Sj};S7.prototype.ngOnInit=function(){};S7.prototype.getCommentNumberLink=function(a){return Pp(this.issueId,{comment:a})};S7.prototype.scrollCommentIntoView=function(a,b){this.issueReferenceResolver.visit({issueId:this.issueId,elementId:"comment"+b,event:a})};S7.\u0275fac=function(a){return new (a||S7)};
S7.\u0275cmp=C({type:S7,selectors:[["comments-info"]],inputs:{issueId:"issueId",comments:"comments"},standalone:!1,decls:2,vars:0,consts:[["personCard",""],[1,"comment-info"],[1,"keep-focus-ring","hover-link",3,"routerLinkObj"],[1,"ldap",3,"onedevHovercardTrigger"],[3,"email"],[1,"keep-focus-ring","hover-link",3,"click","routerLinkObj"]],template:function(a,b){a&1&&yg(0,TRb,5,3,"span",1,xg);a&2&&zg(b.comments)},dependencies:[iC,$H,fI,tK,KN],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 T7=function(){Z.apply(this,arguments);this.ngZone=r(kh)};Y(T7,Z);T7.\u0275dir=Z.\u0275dir;var ehd=function(a,b){return(new oe(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(Zf(a.destroyed$))};T7.\u0275fac=function(){var a;return function(b){return(a||(a=ee(T7)))(b||T7)}}();T7.\u0275prov=n({token:T7,factory:T7.\u0275fac,providedIn:"root"});var fhd=["imagesSummaryWidget"],U7=function(){var a=this;this.resizeService=r(T7);this.router=r(TA);this.route=r(Wi);this.imageLinks$=new Tf(1);this.paginate=!1;this.container$=new Tf(1);this.containerResize$=this.container$.pipe(z(function(b){return b.nativeElement}),Yf(function(b){return ehd(a.resizeService,b)}));this.issueId$=new Tf(1);this.lastRenderedImageIndex$=new Xi(0);this.allImages$=this.imageLinks$.pipe(z(function(b){b=b.map(function(c){if(c.comment){var d=nLa(c.href);if(d)return{src:d,
comment:c.comment}}}).filter(ik);return $Rb(b)}));this.maxImagesInOneRow$=this.containerResize$.pipe(z(function(b){return Math.floor((b.width-16)/216)}),Vf({refCount:!0,bufferSize:1}));this.initialNumberOfImages$=this.maxImagesInOneRow$.pipe(z(function(b){return b*(a.paginate?4:2)}));this.imagesToRender$=Ie([this.initialNumberOfImages$,this.allImages$,this.lastRenderedImageIndex$]).pipe(z(function(b){var c=k(b);b=c.next().value;var d=c.next().value;c=c.next().value;return a.paginate?d.slice(0,c||
b):d.slice(0,b)}),z(function(b){return b.map(function(c){var d;return Object.assign({},c,{srcCorp:(d=nLa(c.src,!0))!=null?d:""})})}),Pf())};U7.prototype.goToResourcesTab=function(){this.router.navigate(["./resources"],{relativeTo:this.route})};U7.prototype.ngOnInit=function(){this.issueId$.next(this.issueId)};U7.prototype.ngAfterContentInit=function(){this.container$.next(this.container)};
da.Object.defineProperties(U7.prototype,{imageLinks:{configurable:!0,enumerable:!0,set:function(a){this.imageLinks$.next(a)},get:function(){return tp(this.imageLinks$)}}});U7.\u0275fac=function(a){return new (a||U7)};
U7.\u0275cmp=C({type:U7,selectors:[["inline-images-summary"]],viewQuery:function(a,b){a&1&&Rg(fhd,7);if(a&2){var c;Vg(c=Wg())&&(b.container=c.first)}},inputs:{issueId:"issueId",imageLinks:"imageLinks",paginate:"paginate"},standalone:!1,decls:4,vars:3,consts:[["imagesSummaryWidget",""],[1,"container"],[1,"image-wrapper"],["target","_blank",1,"thumbnail",3,"href"],[3,"showByDefault","src"],[3,"issueId","comments"],["type","button","mat-button","",1,"small","load-more-screenshots"],["type","button",
"mat-button","",1,"small","see-all-screenshots"],["type","button","mat-button","",1,"small","load-more-screenshots",3,"click"],["type","button","mat-button","",1,"small","see-all-screenshots",3,"click"]],template:function(a,b){a&1&&(I(0,"div",null,0),D(2,ZRb,2,3),S(3,"async"),J());if(a&2){var c;B(2);G((c=U(3,1,b.allImages$))?2:-1,c)}},dependencies:function(){return[S7,eB,jy,yK,ew,V7]},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 V7=function(){};V7.prototype.transform=function(a){return a.split(".png")[0]};V7.\u0275fac=function(a){return new (a||V7)};V7.\u0275pipe=Ef({name:"removePngExtension",type:V7,pure:!0,standalone:!1});var ghd={IMAGES:"SW-images",MENTIONED_ISSUES:"SW-mentioned-bugs",LINKS:"SW-links",SIMILAR_ISSUES:"SW-similar-issues"},PSb=[].concat(t(Object.values(ghd)));var hhd=function(a,b){var c=this;this.issueInteractionsTracking=a;this.analytics=b;this.recordInteractionOnce=Ij(function(d){c.analytics.trackEvent("editIssue","click",d)});this.recordImpressionOnce=Ij(function(){c.analytics.trackEvent("editIssue","view","SW")})},zSb=function(a,b,c){a.recordInteractionOnce(c);uu(a.issueInteractionsTracking,b,c+"-content-interacted");uu(a.issueInteractionsTracking,b,"SW-content-interacted")};var W7=function(){this.activeSession=r(Bu);this.trackerHelpers=r(yH);this.linkText=this.rightText=this.leftText="";this.isExternalLink=!1;this.issueId=this.originalHref=this.redirectedHref=""};
W7.prototype.ngOnChanges=function(){var a;a:{var b=(a=this.sourceComment)==null?void 0:a.formattedComment;if(b){if(b.markdownFormat){a=gSb(b.markdownFormat.content);break a}if(b.literalFormat){a=gSb(b.literalFormat.content);break a}if(b.plainFormat){a=document.createElement("div");b=k(b.plainFormat.plainSection);for(var c=b.next();!c.done;c=b.next())(c=c.value.content)&&a.appendChild(gSb(c));break a}}a=void 0}if(a=a&&ihd(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(jhd.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(jhd.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="",iq(this.relatedLink)?c=b=this.relatedLink.href:oLa(this.relatedLink)&&(a=this.relatedLink.issueId,b=this.getIssueUrl(this.relatedLink.issueId),c=this.relatedLink.issueId,c=this.activeSession.isInternalSession()?Yta(Fr(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 ihd=function(a,b){if(a.relatedLink){if(oLa(a.relatedLink)){var c=a.relatedLink.issueId;return[].concat(t(b.querySelectorAll("a"))).find(function(e){return e.dataset.bIssueId===c})}if(iq(a.relatedLink)){var d=a.relatedLink;return[].concat(t(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})}}};
W7.prototype.getIssueUrl=function(a){return Fr(this.trackerHelpers,a)};W7.\u0275fac=function(a){return new (a||W7)};
W7.\u0275cmp=C({type:W7,selectors:[["mentioned-link-with-context"]],inputs:{sourceComment:"sourceComment",relatedLink:"relatedLink"},standalone:!1,features:[rv],decls:7,vars:3,consts:[[1,"wrapper"],["aria-hidden","true",1,"muted","margin-xs-right","left"],[3,"href","originalHref"],["aria-hidden","true",1,"muted","margin-xs-left","right"],[3,"href","issueId"],["target","_blank",1,"keep-focus-ring",3,"href"]],template:function(a,b){a&1&&(I(0,"div",0),Q(1," \u201c "),D(2,aSb,3,3,"span",1)(3,bSb,2,3,
"b-external-hyperlink-widget",2)(4,eSb,2,1)(5,fSb,2,1,"span",3),Q(6," \u201d\n"),J());a&2&&(B(2),G(b.leftText?2:-1),B(),G(b.isExternalLink?3:4),B(2),G(b.rightText?5:-1))},dependencies:[VH,hI,fC],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 jhd=new Set(["BR"]);var X7=function(){var a=this;this.activeSession=r(Bu);this.issueFullFridge=r(QF);this.router=r(TA);this.route=r(Wi);this.issueReferenceResolver=r(XH);this.issueReferences$=new Tf(1);this.currentIssueId$=new Tf(1);this.paginate=!1;this.lastRenderedMentionedIssueIndex$=new Xi(10);this.issuesMap$=this.issueReferences$.pipe(Ue(ik),Yf(function(b){var c=Kj(b.map(function(d){return d.issueId}));return a.issueFullFridge.watchSet(c).pipe(z(function(d){return new Map(d.map(function(e){return[e==null?void 0:
e.issueId.toString(),e]}))}),z(function(d){return new Map(c.map(function(e){return[e,d.get(e)]}))}))}));this.issueReferencesMap$=this.issueReferences$.pipe(Ue(ik),z(function(b){var c=new Map;b=k(b);for(var d=b.next();!d.done;d=b.next()){d=d.value;var e=d.issueId.toString();c.has(e)?c.get(e).push(d):c.set(e,[d])}return c}));this.allMentionedIssues$=Ie([this.issueReferencesMap$,this.issuesMap$]).pipe(z(function(b){b=k(b);var c=b.next().value;b=b.next().value;return[].concat(t(b)).filter(function(d){return k(d).next().value!==
a.issueId}).map(function(d){var e=k(d);d=e.next().value;e=e.next().value;var f=c.get(d),h=f==null?void 0:f.map(function(l){var q,u,A=(q=l.comment)==null?void 0:(u=q.userPerformingActionUser)==null?void 0:u.emailAddress;return{commentNumber:l.sourceCommentNumber,author:(A==null?void 0:A.split("@")[0])+"@",issueEvent:l.comment}});return{hasViewAccess:!!e,issueId:d,shortIssueUrl:Yta(a.activeSession.getAppBaseUrl(),d),sourceComments:h,title:e==null?void 0:e.snapshot[0].title,priority:e?e.snapshot[0].priority:
null,relatedLinks:f}})}));this.mentionedIssuesToRender$=Ie([this.allMentionedIssues$,this.lastRenderedMentionedIssueIndex$]).pipe(z(function(b){var c=k(b);b=c.next().value;c=c.next().value;return a.paginate?b.slice(0,c):b.slice(0,5)}))};X7.prototype.getCommentNumberLink=function(a){return Pp(this.issueId,{comment:a})};X7.prototype.scrollCommentIntoView=function(a,b){this.issueReferenceResolver.visit({issueId:this.issueId,elementId:"comment"+b,event:a})};
X7.prototype.goToResourcesTab=function(){this.router.navigate(["./resources"],{relativeTo:this.route})};da.Object.defineProperties(X7.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}}});X7.\u0275fac=function(a){return new (a||X7)};
X7.\u0275cmp=C({type:X7,selectors:[["b-mentioned-issues"]],inputs:{issueReferences:"issueReferences",currentIssueId:"currentIssueId",paginate:"paginate"},standalone:!1,decls:2,vars:3,consts:[[3,"matTooltip","issuePriority"],[1,"issue-title-and-link"],[1,"padded-s-sides","title",3,"matTooltip"],[3,"sourceComment","relatedLink"],[1,"margin-left-auto",3,"issueId","comments"],["type","button","mat-button","",1,"small","load-more-issues"],["type","button","mat-button","",1,"small","see-all-issues"],["type",
"button","mat-button","",1,"small","load-more-issues",3,"click"],["type","button","mat-button","",1,"small","see-all-issues",3,"click"]],template:function(a,b){a&1&&(D(0,nSb,2,3),S(1,"async"));if(a&2){var c;G((c=U(1,1,b.mentionedIssuesToRender$))?0:-1,c)}},dependencies:function(){return[FH,eB,jy,mB,rB,W7,S7,ew,Y7]},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 Y7=function(){};Y7.prototype.transform=function(a){return a.map(function(b){return b.issueEvent}).filter(ik)};Y7.\u0275fac=function(a){return new (a||Y7)};Y7.\u0275pipe=Ef({name:"toComments",type:Y7,pure:!0,standalone:!1});var sSb=function(a,b){return b[0].href},Z7=function(){var a=this;this.router=r(TA);this.route=r(Wi);this.allLinks$=new Tf(1);this.issueId$=new Tf(1);this.lastRenderedRelatedLinkIndex$=new Xi(10);this.paginate=!1;this.allLinkGroups$=this.allLinks$.pipe(z(function(b){return Gua(b,function(c){return c.href})}));this.linkGroupsToRender$=Ie([this.allLinkGroups$,this.lastRenderedRelatedLinkIndex$]).pipe(z(function(b){var c=k(b);b=c.next().value;c=c.next().value;return a.paginate?wSb(b,c):b.length===6?wSb(b,
6):wSb(b,5)}))};Z7.prototype.ngOnInit=function(){};Z7.prototype.goToResourcesTab=function(){this.router.navigate(["./resources"],{relativeTo:this.route})};da.Object.defineProperties(Z7.prototype,{links:{configurable:!0,enumerable:!0,set:function(a){this.allLinks$.next(a)},get:function(){throw Error("Qf");}},issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)},get:function(){return tp(this.issueId$)}}});Z7.\u0275fac=function(a){return new (a||Z7)};
Z7.\u0275cmp=C({type:Z7,selectors:[["related-links-widget"]],inputs:{links:"links",issueId:"issueId",paginate:"paginate"},standalone:!1,decls:2,vars:3,consts:[[1,"related-link","flex-kids-x","align-items-center","gap-s","margin-xs-bottom"],[3,"sourceComment","relatedLink"],[1,"margin-left-auto",3,"issueId","comments"],["type","button","mat-button","",1,"small","load-more-links"],["type","button","mat-button","",1,"small","see-all-links"],["type","button","mat-button","",1,"small","load-more-links",
3,"click"],["type","button","mat-button","",1,"small","see-all-links",3,"click"]],template:function(a,b){a&1&&(D(0,uSb,2,3),S(1,"async"));if(a&2){var c;G((c=U(1,1,b.allLinkGroups$))?0:-1,c)}},dependencies:function(){return[S7,eB,jy,W7,ew,$7]},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 vSb=wk(function(a){return Math.min.apply(Math,t(a.map(function(b){return b.sourceCommentNumber})))},xk),$7=function(){};$7.prototype.transform=function(a){return a.map(function(b){return b.comment}).filter(ik)};$7.\u0275fac=function(a){return new (a||$7)};$7.\u0275pipe=Ef({name:"toComments",type:$7,pure:!0,standalone:!1});var ASb=function(){return[]},a8=function(){Z.apply(this,arguments);var a=this;this.activeSession=r(Bu);this.userPreferencesManager=r(TG);this.issueInteractionsTracking=r(dJ);this.issueFullFridge=r(QF);this.analytics=r(OF);this.eventsForIssueFridge=r(NE);this.similarIssuesApi=r(kH);this.issueEnrichmentFridge=r(YE);this.TabKeys=ghd;this.issueId$=new Tf(1);this.alwaysStartCollapsed=!1;this.issue$=this.issueId$.pipe(Yf(function(b){return a.issueFullFridge.watch(b)}),Ue(ik));this.commentNumberToEventMap$=
this.issueId$.pipe(Yf(function(b){return a.eventsForIssueFridge.watch(b)}),z(function(b){var c;return(c=b==null?void 0:b.events)!=null?c:[]}),z(function(b){return new Map(b.filter(function(c){return!!c.commentNumber}).map(function(c){return[c.commentNumber,c]}))}));this.relatedLinks$=Ie([this.issue$,this.commentNumberToEventMap$]).pipe(z(function(b){var c=k(b);b=c.next().value;var d=c.next().value;var e;return((e=b.relatedLinks)==null?void 0:e.map(function(f){return Object.assign({},f,{comment:d.get(f.sourceCommentNumber)})}))||
[]}));this.imageLinks$=this.relatedLinks$.pipe(z(function(b){return b.filter(kLa)}));this.distinctImageLinksCount$=this.imageLinks$.pipe(z(function(b){return Jj(b,function(c){return nLa(c.href)})}),z(function(b){return b.length}));this.shouldShowImages$=this.imageLinks$.pipe(z(function(b){return a.activeSession.isInternalSession()&&khd(a,b)}));this.issues$=this.relatedLinks$.pipe(z(function(b){return b.filter(oLa)}));this.distinctIssuesCount$=this.issues$.pipe(z(function(b){return b.filter(function(c){return c.issueId!==
a.issueId})}),z(function(b){return Jj(b,function(c){return c.issueId})}),z(function(b){return b.length}));this.shouldShowIssues$=this.distinctIssuesCount$.pipe(z(Boolean));this.otherLinks$=this.relatedLinks$.pipe(z(function(b){return b.filter(pLa)}));this.distinctOtherLinksCount$=this.otherLinks$.pipe(z(function(b){return Jj(b,function(c){return c.href})}),z(function(b){return b.length}));this.shouldShowLinks$=this.otherLinks$.pipe(z(function(b){return a.shouldShowLinks(b)}));this.similarIssueIds$=
this.issueId$.pipe(Ue(ik),Yf(function(b){return lH(a.similarIssuesApi,{issueId:Number(b)})}),z(function(b){return b.similarIssues}),$f(function(b){b.forEach(function(c){a.issueFullFridge.announce(c)})}),z(function(b){return b.map(function(c){return c.issueId})}),Vf({bufferSize:1,refCount:!0}));this.similarIssuesEnrichments$=(this.enableSimilarIssuesEnrichments=this.activeSession.isInternalSession()&&Vt(this.activeSession,"enableSimilarIssuesEnrichments"))?this.issueId$.pipe(Yf(function(b){return a.issueEnrichmentFridge.watch(b)}),
z(function(b){var c;return((c=b==null?void 0:b.enrichments)!=null?c:[]).filter(function(d){var e,f;return((f=(e=d.similarIssues)==null?void 0:e.issueIds)!=null?f:[]).length>0})})):Ae([]);this.shouldShowSimilarIssues$=Ie([this.similarIssueIds$,this.similarIssuesEnrichments$]).pipe(z(function(b){var c=k(b);b=c.next().value;c=c.next().value;return b.length>0||c.length>0}));this.tabKeys$=Ie([this.shouldShowSimilarIssues$.pipe(z(function(b){return{show:b,key:"SW-similar-issues"}})),this.shouldShowImages$.pipe(z(function(b){return{show:b,
key:"SW-images"}})),this.shouldShowIssues$.pipe(z(function(b){return{show:b,key:"SW-mentioned-bugs"}})),this.shouldShowLinks$.pipe(z(function(b){return{show:b,key:"SW-links"}}))]).pipe(z(function(b){return b.filter(function(c){return c.show}).map(function(c){return c.key})}));this.shouldShowSummaryCard$=this.tabKeys$.pipe(z(function(b){return!!b.length}),Of(0,vp));this.initiallyExpandedTabs=PSb.map(function(b){return moc(a.userPreferencesManager,b)?void 0:b}).filter(ik);this.onTabExpanded$=new aB;
this.issueSummaryTracking=new hhd(this.issueInteractionsTracking,this.analytics)};Y(a8,Z);a8.\u0275dir=Z.\u0275dir;
a8.prototype.ngOnInit=function(){var a=this;this.alwaysStartCollapsed&&(this.initiallyExpandedTabs=[]);this.subscriptions.add(this.onTabExpanded$.pipe(Lf(1E3),Yf(function(b){var c=b.allTabKeys;var d=b.expandedTabKeys;return loc(a.userPreferencesManager,Object.fromEntries(c.map(function(e){return[e,!d.has(e)]})))})).subscribe());this.subscriptions.add(this.tabKeys$.subscribe(function(b){var c=a.issueSummaryTracking,d=a.issueId;b=new Set(b);for(var e=k(b),f=e.next();!f.done;f=e.next())uu(c.issueInteractionsTracking,
d,f.value+"-available");b.size>0&&uu(c.issueInteractionsTracking,d,"SW-available")}))};a8.prototype.shouldShowLinks=function(a){return a.length===0||a.every(function(b){return b.sourceCommentNumber===1})?!1:!0};var khd=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 UG(a.userPreferencesManager).showInlineImages&&b?!1:!0};
da.Object.defineProperties(a8.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)},get:function(){return tp(this.issueId$)}}});a8.\u0275fac=function(){var a;return function(b){return(a||(a=ee(a8)))(b||a8)}}();
a8.\u0275cmp=C({type:a8,selectors:[["issue-summary-card"]],inputs:{issueId:"issueId",alwaysStartCollapsed:"alwaysStartCollapsed"},standalone:!1,features:[cg],decls:4,vars:3,consts:[[1,"a11y-only"],["ariaLabel","issue summary sections",3,"tabKeys","expandedTabs"],["ariaLabel","issue summary sections",3,"expandedTabsChanged","contentShownChanged","tabKeys","expandedTabs"],["ariaLabel","Toggle screenshots summary section",3,"key"],["expandable-tab-icon",""],["expandable-tab-header",""],["expandable-tab-content",
""],["ariaLabel","Toggle mentioned issues summary section",3,"key"],["ariaLabel","Toggle links summary section",3,"key"],["ariaLabel","Toggle similar issues summary section",3,"key"],["svgIcon","image",1,"icon-s"],[3,"issueId","imageLinks"],[3,"click","issueId","imageLinks"],["svgIcon","bug_report_24px",1,"icon-s"],[3,"issueReferences","currentIssueId"],[3,"click","issueReferences","currentIssueId"],["svgIcon","link",1,"icon-s"],[3,"click","links","issueId"],["svgIcon","spark_24px","color","primary",
1,"icon-s"],[3,"issueId","similarIssueIds","similarIssuesEnrichments"],[3,"click","issueId","similarIssueIds","similarIssuesEnrichments"]],template:function(a,b){a&1&&(I(0,"h3",0),Q(1,"Issue summary"),J(),D(2,QSb,17,6,"expandable-tabs",1),S(3,"async"));if(a&2){var c;B(2);G((c=U(3,1,b.tabKeys$))?2:-1,c)}},dependencies:[pB,fT,cT,dT,eT,gT,U7,X7,Z7,BU,ew],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 b8=function(){this.matDialog=r(tI)};b8.prototype.show=function(a){this.dialog=this.matDialog.open(c8,{width:"60vw",disableClose:!0,panelClass:"no-jitter",data:{statusUpdates:a}});return Fe(nI(this.dialog))};b8.\u0275fac=function(a){return new (a||b8)};b8.\u0275prov=n({token:b8,factory:b8.\u0275fac,providedIn:"root"});var c8=function(){Z.apply(this,arguments);this.data=r(sI);this.dialogService=r(b8);this.dialogRef=r(mI);this.statusUpdates=this.data.statusUpdates};Y(c8,Z);c8.\u0275dir=Z.\u0275dir;
c8.prototype.ngOnInit=function(){var a=this;this.dialogRef.keydownEvents().pipe(Zf(this.destroyed$)).subscribe(function(b){if(b.key==="Escape"){var c;(c=a.dialogService.dialog)==null||c.close()}});this.dialogRef.backdropClick().pipe(Zf(this.destroyed$)).subscribe(function(){var b;(b=a.dialogService.dialog)==null||b.close()})};c8.\u0275fac=function(){var a;return function(b){return(a||(a=ee(c8)))(b||c8)}}();
c8.\u0275cmp=C({type:c8,selectors:[["ng-component"]],standalone:!1,features:[cg],decls:9,vars:1,consts:[["mat-dialog-title",""],["tabindex","0","mat-dialog-content",""],[1,"history-list"],[1,"version"],["mat-dialog-actions",""],["type","button","mat-button","",3,"mat-dialog-close"],[1,"bv2-event-user-image-cell"],[1,"bv2-event-user-image",3,"email"],[1,"version-header"],[1,"bv2-event-user-name",3,"model"],["mode","datetime",3,"timestamp"],[1,"muted","float-right","float-clear"],[1,"type-xs"],[1,"update-email"],
[3,"email"]],template:function(a,b){a&1&&(I(0,"h1",0),Q(1,"History for Status Update"),J(),I(2,"section",1)(3,"ul",2),yg(4,RSb,19,12,"li",3,xg),J()(),I(6,"footer",4)(7,"button",5),Q(8," Close "),J()());a&2&&(B(4),zg(b.statusUpdates),B(3),E("mat-dialog-close",void 0))},dependencies:[iH,eB,jy,uI,wI,yI,xI,gK,QM,dL,jJ,cP],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 lhd=["noteContainer"],dTb=function(a){return[a]},mhd={FRESH:0,STALE:1,NONE:2,0:"FRESH",1:"STALE",2:"NONE"},d8=function(){Z.apply(this,arguments);var a=this;this.activeSession=r(Bu);this.analytics=r(OF);this.confirmationDialogService=r(AI);this.currentUser=r(b0);this.editStatusUpdateDialogService=r(e2);this.errorHandler=r(CI);this.issueFullFridge=r(QF);this.issuePermissionService=r(gJ);this.statusUpdateService=r(d2);this.statusUpdateHistoryDialogService=r(b8);this.userPreferencesManager=r(TG);
this.Freshness=mhd;this.UiState=nhd;this.FormattingMode=nk;this.enableLiteralModeRevisions=Vt(this.activeSession,"enableLiteralModeRevisions");this.issueId$=new Tf(1);this.issue$=this.issueId$.pipe(Yf(function(b){return a.issueFullFridge.watch(b)}));this.componentId$=this.issue$.pipe(z(function(b){return b==null?void 0:b.snapshot[0].componentId}));this.accessLevel$=this.issue$.pipe(z(function(b){var c;return b==null?void 0:(c=b.accessLimit)==null?void 0:c.accessLevel}));this.issue$.pipe(z(function(b){var c;
return b==null?void 0:(c=b.aggregatedData)==null?void 0:c.teamId}));this.isCollapsed=!1;this.statusUpdate$=this.issue$.pipe(z(function(b){return b==null?void 0:b.statusUpdate}));this.statusUpdateAsNote$=this.statusUpdate$.pipe(Ue(ik),z(function(b){return{unlinkifiedComment:b.updateText,formattedComment:b.formattedText}}));this.semanticClass$=this.statusUpdate$.pipe(z(function(b){var c;return(c=dJa(b==null?void 0:b.updateText))!=null?c:""}));this.statusIsEmpty$=this.statusUpdate$.pipe(z(function(b){return((b==
null?void 0:b.updateText)||"").trim()===""}));this.freshnessIndicator$=Ie([this.statusIsEmpty$,this.statusUpdate$]).pipe(z(function(b){var c=k(b);b=c.next().value;c=c.next().value;if(b)return 2;var d;b=(c==null?void 0:(d=c.updateTime)==null?void 0:d.seconds)||0;return Date.now()/1E3-b<86400?0:1}));this.uiState$=this.statusIsEmpty$.pipe(z(function(b){return b?1:2}),Xf(0));this.formattingModeOverride$=new Xi(void 0);this.formattingMode$=Ie([this.statusUpdate$,this.formattingModeOverride$]).pipe(z(function(b){var c=
k(b);b=c.next().value;return(c=c.next().value)?c:(b==null?void 0:b.formattingMode)||"PLAIN"}));this.menuItems$=Ie([this.issueId$,this.statusUpdate$,this.issuePermissionService.hasAclToEdit$,this.issuePermissionService.hasAclToAdmin$,this.formattingMode$]).pipe(z(function(b){var c=k(b);var d=c.next().value;var e=c.next().value;b=c.next().value;var f=c.next().value;c=c.next().value;var h=e!=null;e=e&&(e==null?void 0:e.updateText)!=="";var l=[];e&&l.push({type:"submenu",label:"View as",className:"view-as-format",
items:[{type:"select",label:"Classic",action:function(){a.formattingModeOverride$.next("PLAIN")},selected:c==="PLAIN"},{type:"select",label:"Markdown",action:function(){a.formattingModeOverride$.next("MARKDOWN")},selected:c==="MARKDOWN"},{type:"select",label:"Source",action:function(){a.formattingModeOverride$.next("LITERAL")},selected:c==="LITERAL"}]});b&&l.push({type:"action",label:"Edit Status Update",action:function(){a.editStatusUpdate()}});h&&l.push({type:"action",label:"Show editing history",
action:function(){ohd(a,d)}});e&&f&&l.push({type:"action",label:"Delete Status Update",action:function(){a.confirmationDialogService.open({title:"Delete Status Update?",content:wi("\n                    Deleting a Status Update will remove it from the history. It\n                    will be purged after 30 days. This cannot be undone."),confirmButtonText:"Delete",onConfirm:function(){a.doDelete()}})}});l.push(phd);return l}));this.showEditButton$=this.issuePermissionService.hasAclToEdit$};Y(d8,Z);
d8.\u0275dir=Z.\u0275dir;d8.prototype.ngOnInit=function(){var a=this;setTimeout(function(){var b,c;return se(function(d){if(d.nextAddress==1)return y(d,Fe(a.uiState$.pipe(Ue(function(e){return e!==0}))),2);b=d.yieldResult;c=fTb(b);a.analytics.trackEvent("issue","statusUpdateDisplay",c);xe(d)})},1E3)};d8.prototype.ngAfterViewInit=function(){var a;((a=this.noteContainer)==null?void 0:a.nativeElement.scrollHeight)>84&&(this.isCollapsed=!0)};
d8.prototype.editStatusUpdate=function(){var a=this,b,c,d,e,f,h,l,q;return se(function(u){switch(u.nextAddress){case 1:return y(u,Fe(a.issueId$),2);case 2:return b=u.yieldResult,y(u,Fe(a.componentId$),3);case 3:return c=u.yieldResult,d={issueId:b,updateText:"",version:-1},f=(e=tp(a.statusUpdate$))!=null?e:d,y(u,Fe(a.accessLevel$),4);case 4:return h=u.yieldResult,l=h==="INTERNAL"?"INTERNAL":"EXTERNAL",y(u,a.editStatusUpdateDialogService.show(f,l,c),5);case 5:q=u.yieldResult;if(q==null)return u.return();
a.statusUpdateService.update(q).subscribe(function(A){a.didSave(b,A);a.enableLiteralModeRevisions&&joc(a.userPreferencesManager,A.formattingMode||"PLAIN").subscribe()},function(A){a.errorHandler.errorHandler(null,A)});xe(u)}})};
var USb=function(a){var b,c;return se(function(d){if(d.nextAddress==1)return y(d,Fe(a.issueId$),2);b=d.yieldResult;c=tp(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)});xe(d)})};d8.prototype.didSave=function(a,b){this.issueFullFridge.manualUpdate(a,function(c){c.statusUpdate=b});this.issueFullFridge.poke(a)};
var ohd=function(a,b){var c;se(function(d){if(d.nextAddress==1)return y(d,Fe(X9c(a.statusUpdateService,b)),2);c=d.yieldResult;a.statusUpdateHistoryDialogService.show(c);xe(d)})};d8.prototype.doDelete=function(){var a=this,b;se(function(c){if(c.nextAddress==1)return y(c,Fe(a.issueId$),2);b=c.yieldResult;a.statusUpdateService.delete(b).subscribe(function(){a.issueFullFridge.manualUpdate(b,function(d){d.statusUpdate=void 0});a.issueFullFridge.poke(b)});xe(c)})};
da.Object.defineProperties(d8.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)}}});d8.\u0275fac=function(){var a;return function(b){return(a||(a=ee(d8)))(b||d8)}}();
d8.\u0275cmp=C({type:d8,selectors:[["status-update"]],viewQuery:function(a,b){a&1&&Rg(lhd,5);if(a&2){var c;Vg(c=Wg())&&(b.noteContainer=c.first)}},inputs:{issueId:"issueId"},standalone:!1,features:[cg],decls:2,vars:3,consts:[["userCard",""],["noteContainer",""],[3,"display-none","short-height","class"],["svgIcon","group","color","primary",1,"margin-xs-right","shrink-0"],[1,"flex-kids-x","space-between","align-items-center"],[1,"flex-1-hemmed"],[1,"uppercase","inline-block","margin-s-right"],[1,"empty-message",
"muted","margin-s-right"],["type","button","mat-stroked-button","","aria-label","Edit Status Update","color","primary",1,"small"],["type","button","mat-stroked-button","","aria-label","Edit Status Update","color","primary",1,"small",3,"click"],[1,"flex-kids-x","space-between"],[1,"left"],[1,"uppercase","inline-block","margin-xs-right"],[1,"edit-info","right"],["matTooltip","Status Update actions",3,"buttonLabel","menuItems"],[1,"pos-rel"],["type","button","mat-stroked-button","","aria-label","Edit Status Update",
"color","primary",1,"small","margin-xs-right",3,"click"],["type","button","mat-button","","aria-label","Mark Status Update as fresh","color","primary",1,"small","margin-xs-right","mark-fresh"],["type","button","mat-button","","aria-label","Mark Status Update as fresh","color","primary",1,"small","margin-xs-right","mark-fresh",3,"click"],["matTooltip","Last update made within 24 hours","svgIcon","check_circle_filled_24px",1,"fresh-checkmark"],[3,"onedevHovercardTrigger"],["mode","relativepast",1,"margin-s-right",
3,"timestamp"],[3,"email"],[3,"issueId","issueAccessLevel","note","formattingMode"],["type","button","mat-stroked-button","","color","primary",1,"small","show-more"],["type","button","mat-stroked-button","","color","primary",1,"small","show-more",3,"click"]],template:function(a,b){a&1&&(D(0,eTb,5,13,"div",2),S(1,"async"));if(a&2){var c;G((c=U(1,1,b.uiState$))?0:-1,c)}},dependencies:[bQ,NK,pB,iH,$H,fI,tK,eB,jy,mB,rB,ew,KN],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 nhd={LOADING:0,EMPTY:1,NORMAL:2,0:"LOADING",1:"EMPTY",2:"NORMAL"},phd={type:"action",label:"Using the Status Update field...",action:function(){Xc(window,"https://developers.google.com/issue-tracker/concepts/status-update","_blank")},icon:"help-outline",className:"border-top"};var e8=function(){Z.apply(this,arguments);var a=this;this.brain=r(eJ);this.preferences=r(TG);this.scrollTiming=r(h0);this.analytics=r(OF);this.element=r(ef);this.editIssueService=r(kJ);this.appEvents=r(yD);this.routePerformance=r(BZ);this.clearcut=r(GF);this.activeSession=r(Bu);this.issuePermissionService=r(gJ);this.id$=this.brain.id$;this.issueAndEvents$=Ie([this.brain.issueJs$.pipe(Ue(Boolean)),this.brain.eventsJs$]);this.enableExternalMentionsFe=Vt(this.activeSession,"enableExternalMentionsFe");
this.enableGoosePrompting=Vt(this.activeSession,"enableGoosePrompting")&&this.activeSession.isInternalSession();this.enableGoosePromptingSupportedIssues=Vt(this.activeSession,"enableGoosePromptingSupportedIssues")&&this.activeSession.isInternalSession();this.showRecentEventsFirst=!1;this.comment$=this.id$.pipe(Ue(ik),Yf(function(b){return a.editIssueService.issueCommentDraft(b).comment$}));this.finishedRendering$=Ie([this.brain.eventsJs$.pipe(Of(0)),aBa("#AddCommentBox textarea",this.element.nativeElement)]).pipe(Nf())};
Y(e8,Z);e8.\u0275dir=Z.\u0275dir;
e8.prototype.ngOnInit=function(){var a=this;this.preferences.showRecentEventsFirst$.pipe(Ue(ik),Zf(this.destroyed$)).subscribe(function(b){a.showRecentEventsFirst=b});this.destroyed$.subscribe(function(){qhd(a)});aBa("#comment1 .critical-feature",this.element.nativeElement).pipe(Zf(this.destroyed$)).subscribe(function(){var b=function(){H5c(a.routePerformance,"issue-details-w-comments")};requestAnimationFrame(b);setTimeout(b)});this.subscriptions.add(this.issueAndEvents$.pipe(Rf()).subscribe(function(b){var c=k(b);
b=c.next().value;c=c.next().value;rhd(a,b,c)}));this.subscriptions.add(this.finishedRendering$.pipe(ag(this.comment$)).subscribe(function(b){b=k(b);b.next();b.next().value.hasContent()&&a.appEvents.scrollToCommentBox.next()}))};
var rhd=function(a,b,c){var d=c.map(function(f){return a.enableExternalMentionsFe?f.isCommentEvent:f.unlinkifiedComment}),e=Jxa(b,c).length;b=Kxa(b,c);d=d.filter(Boolean).length;e=e>=5||d>=10||b>=10?"collab":"other";Slc(a.clearcut,"view_idp_"+e);To("dimension10",e);c=c.some(function(f){var h,l,q;return((q=(h=f.commentReactions)==null?void 0:(l=h.get("UPVOTE"))==null?void 0:l.count)!=null?q:0)>0});a.analytics.trackEvent("editIssue","view",c?"hasUpvoteReaction":"noUpvoteReaction")},qhd=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);HF(a.clearcut,e,"idp-time-scrolling-comments-recentFirst-"+a.showRecentEventsFirst)}};
e8.\u0275fac=function(){var a;return function(b){return(a||(a=ee(e8)))(b||e8)}}();
e8.\u0275cmp=C({type:e8,selectors:[["ng-component"]],hostBindings:function(a,b){a&1&&M("unload",function(){qhd(b)},!1,gf)},standalone:!1,features:[cg],decls:7,vars:10,consts:[["issueSummaryCard",""],["id","bv2-edit-issue-details-scroll","tabindex","-1",3,"bFocus"],[1,"carded","margined-s","bg-main",3,"issueId","hidden"],[1,"carded","margined-s","bg-main",3,"recent-first"],[1,"margin-s-sides","margin-s-top","padded-left",3,"id"],[3,"issueId"],[1,"carded","margin-s-sides","margin-s-bottom","bg-main",
"highlighted-left",3,"id"],[1,"carded","margined-s","bg-main",3,"issueId"],[1,"carded","margined-s","bg-main"],[3,"id"]],template:function(a,b){a&1&&(I(0,"div",1),D(1,hTb,4,4),S(2,"async"),D(3,iTb,3,5,"issue-summary-card",2),S(4,"async"),D(5,lTb,5,5,"div",3),S(6,"async"),J());if(a&2){var c,d,e;E("bFocus",!0);B();G((c=U(2,4,b.id$))?1:-1,c);B(2);G((d=U(4,6,b.id$))?3:-1,d);B(2);G((e=U(6,8,b.id$))?5:-1,e)}},dependencies:[lU,Z1,O7,YT,R7,a8,QV,d8,N7,ew],styles:["issue-summary-card[_ngcontent-%COMP%]{padding:8px}.summary[_ngcontent-%COMP%]{background-color:#f2f6ff;background-color:var(--blue-bg)}"]});var f8=function(){};f8.\u0275fac=function(a){return new (a||f8)};f8.\u0275mod=Cf({type:f8});f8.\u0275inj=p({imports:[lC,bz,mC,XI,lN,bR,NN,cR]});var g8=function(){};g8.\u0275fac=function(a){return new (a||g8)};g8.\u0275mod=Cf({type:g8});g8.\u0275inj=p({imports:[lC,xQ,XI,jN,mC,TQ,pN,bz,cz,XZ,pC,sx]});var h8=function(){Z.apply(this,arguments);this.prefs=r(TG)};Y(h8,Z);h8.\u0275dir=Z.\u0275dir;h8.prototype.onChange=function(a){this.prefs.save({useCodefont:a.checked}).pipe(Zf(this.destroyed$)).subscribe()};h8.\u0275fac=function(){var a;return function(b){return(a||(a=ee(h8)))(b||h8)}}();
h8.\u0275cmp=C({type:h8,selectors:[["b-toggle-code-font"]],standalone:!1,features:[cg],ngContentSelectors:["*"],decls:3,vars:3,consts:[["matTooltip","Use a monospace typeface to display all comments",3,"change","checked"]],template:function(a,b){a&1&&(Ig(),I(0,"mat-slide-toggle",0),S(1,"async"),M("change",function(c){return b.onChange(c)}),Jg(2),J());a&2&&E("checked",U(1,1,b.prefs.codeFont$))},dependencies:[fQ,gQ,mB,rB,ew],styles:["mat-slide-toggle[_ngcontent-%COMP%] {font-size: 14px; }"],changeDetection:0});var i8=function(){};i8.\u0275fac=function(a){return new (a||i8)};i8.\u0275mod=Cf({type:i8});i8.\u0275inj=p({imports:[lC,mC,jN,XI,iQ,pN,pC,BP]});var j8=function(){};j8.\u0275fac=function(a){return new (a||j8)};j8.\u0275mod=Cf({type:j8});j8.\u0275inj=p({providers:[OS],imports:[lC,ON,mC,pC,g8,dV,WM,iP,qY,qP,jP,rY,i8,XZ]});var k8=function(){};k8.\u0275fac=function(a){return new (a||k8)};k8.\u0275mod=Cf({type:k8});k8.\u0275inj=p({imports:[lC,mC,pN]});var l8=function(){};l8.\u0275fac=function(a){return new (a||l8)};l8.\u0275mod=Cf({type:l8});l8.\u0275inj=p({imports:[GN,lC,mY,gY,qP,rY,mC,pC,BP,XZ,k8,gP,pN,oY]});var m8=function(){};m8.\u0275fac=function(a){return new (a||m8)};m8.\u0275mod=Cf({type:m8});m8.\u0275inj=p({imports:[lC,WM,YM,MN]});var n8=function(){};n8.\u0275fac=function(a){return new (a||n8)};n8.\u0275mod=Cf({type:n8});n8.\u0275inj=p({imports:[m8,lC,WM,YM,mC,MN,hN]});var o8=function(){};o8.\u0275fac=function(a){return new (a||o8)};o8.\u0275mod=Cf({type:o8});o8.\u0275inj=p({imports:[GN,lC,hC]});var p8=function(){};p8.\u0275fac=function(a){return new (a||p8)};p8.\u0275mod=Cf({type:p8});p8.\u0275inj=p({imports:[lC,jP,mC,pC,o8,XM,m8]});var q8=function(){};q8.\u0275fac=function(a){return new (a||q8)};q8.\u0275mod=Cf({type:q8});q8.\u0275inj=p({imports:[m8,lC,mC,o8]});var r8=function(){};r8.\u0275fac=function(a){return new (a||r8)};r8.\u0275mod=Cf({type:r8});r8.\u0275inj=p({imports:[lC,$X,n8,p8,q8,yY]});var s8=function(){};s8.\u0275fac=function(a){return new (a||s8)};s8.\u0275mod=Cf({type:s8});s8.\u0275inj=p({imports:[XI,jN,lC,Nx,mC,GN,UU]});var t8=function(){};t8.\u0275fac=function(a){return new (a||t8)};t8.\u0275mod=Cf({type:t8});t8.\u0275inj=p({imports:[GN,lC]});var u8=function(){};u8.\u0275fac=function(a){return new (a||u8)};u8.\u0275mod=Cf({type:u8});u8.\u0275inj=p({imports:[lC,TM,mC,XI,Nx,XM,MN,t8,gP]});var v8=function(){};v8.\u0275fac=function(a){return new (a||v8)};v8.\u0275mod=Cf({type:v8});v8.\u0275inj=p({imports:[XT,GN,lC,TM,s8,WM,YM,mC,pC,MN,u8,t8]});var w8=function(){};w8.\u0275fac=function(a){return new (a||w8)};w8.\u0275mod=Cf({type:w8});w8.\u0275inj=p({imports:[lC,qK,IA,bz,mC,XI,FN,cz,pY,a2,j8,gY,l8,r8,p8,$V,hN,v8,gP,BP,oY,f8]});var shd=function(){var a=this;this.activeSession=r(Bu);this.issueFullFridge=r(QF);this.issueDetailsBrain=r(eJ);this.eventsForIssueFridge=r(NE);this.isInternalSession=this.activeSession.isInternalSession();this.issue$=this.issueDetailsBrain.id$.pipe(Yf(function(b){return a.issueFullFridge.watch(b)}),Ue(ik));this.commentNumberToEventMap$=this.issue$.pipe(z(function(b){return b.issueId}),Yf(function(b){return a.eventsForIssueFridge.watch(b)}),z(function(b){var c;return(c=b==null?void 0:b.events)!=null?
c:[]}),z(function(b){return new Map(b.filter(function(c){return!!c.commentNumber}).map(function(c){return[c.commentNumber,c]}))}));this.relatedLinks$=Ie([this.issue$,this.commentNumberToEventMap$]).pipe(z(function(b){var c=k(b);b=c.next().value;var d=c.next().value;var e;return((e=b.relatedLinks)==null?void 0:e.map(function(f){return Object.assign({},f,{comment:d.get(f.sourceCommentNumber)})}))||[]}));this.issueReferences$=this.relatedLinks$.pipe(z(function(b){return b.filter(oLa)}));this.imageLinks$=
this.relatedLinks$.pipe(z(function(b){return b.filter(kLa)}));this.otherLinks$=this.relatedLinks$.pipe(z(function(b){return b.filter(pLa)}))};shd.\u0275fac=function(a){return new (a||shd)};
shd.\u0275cmp=C({type:shd,selectors:[["b-issue-resources"]],standalone:!1,decls:3,vars:3,consts:[[1,"carded","bg-main"],["svgIcon","image",1,"icon-s"],[3,"issueId","imageLinks","paginate"],[1,"margin-bottom"],["svgIcon","bug_report_24px",1,"icon-s"],[3,"issueReferences","currentIssueId","paginate"],["svgIcon","link",1,"icon-s"],[3,"links","issueId","paginate"]],template:function(a,b){a&1&&(I(0,"section",0),D(1,tTb,6,9),S(2,"async"),J());if(a&2){var c;B();G((c=U(2,1,b.issue$))?1:-1,c)}},dependencies:[pB,
X7,U7,Z7,ew],styles:["[_nghost-%COMP%]{display:block;padding:8px}h4[_ngcontent-%COMP%]{margin:16px 0}mat-icon[_ngcontent-%COMP%]{vertical-align:text-bottom}"]});var x8=function(){};x8.\u0275fac=function(a){return new (a||x8)};x8.\u0275mod=Cf({type:x8});x8.\u0275inj=p({imports:[lC,p8,n8,q8]});var y8=function(){var a=this;this.brain=r(eJ);this.codeMentions=r(wZ);this.imageUrls=r(jL);this.ROBOT_SLEEPING=this.imageUrls.ROBOT_SLEEPING;this.id$=this.brain.id$.pipe(Ue(ik));this.codeMentionsState$=this.id$.pipe(Yf(function(b){return D5c(a.codeMentions,b)}))};y8.prototype.displayPackageNames=function(a){return this.codeMentions.displayPackageNames(a)};y8.prototype.trackSqueegeeClick=function(){this.codeMentions.trackSqueegeeClick()};y8.\u0275fac=function(a){return new (a||y8)};
y8.\u0275cmp=C({type:y8,selectors:[["issue-todos"]],standalone:!1,decls:3,vars:3,consts:[[1,"carded","bg-main"],[1,"empty-state","layout-centered-column","gap"],[3,"issueId","packageMentionSet","displayPackageName"],[1,"margin-top"],["target","_blank",3,"click","href"],["aria-hidden","true","alt","",3,"src"],[1,"type-l"],[1,"muted"],["href","http://go/buganizer-guide/guides/issue-todos.md","target","_blank"]],template:function(a,b){a&1&&(I(0,"section",0),D(1,yTb,2,3),S(2,"async"),J());if(a&2){var c;
B();G((c=U(2,1,b.id$))?1:-1,c)}},dependencies:[Ydd,ew],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 z8=function(){this.cdr=r(cB,{self:!0});this.errorHandler=r(CI);this.currentUserBookmarksFridge=r(ZD);this.isLoading=!1;this.hotlists=[];this.createHotlistPath=Qq.createHotlist.makeHref()};z8.prototype.ngOnInit=function(){this.fetchUserHotlists()};z8.prototype.fetchUserHotlists=function(){var a=this;this.isLoading=!0;Fe($D(this.currentUserBookmarksFridge)).then(function(b){a.hotlists=b;a.isLoading=!1;a.cdr.detectChanges()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
z8.\u0275fac=function(a){return new (a||z8)};
z8.\u0275cmp=C({type:z8,selectors:[["list-hotlists-page"]],standalone:!1,features:[ch([cB])],decls:8,vars:2,consts:[[1,"a11y-only"],[1,"kd-appbar","kd-buttonbar"],["mat-button","",1,"no-visited-no-active",3,"href"],[1,"bv2-view"],[3,"large"],[3,"hotlists"]],template:function(a,b){a&1&&(I(0,"h2",0),Q(1,"Browse Hotlists"),J(),I(2,"div",1)(3,"a",2),Q(4," Create Hotlist "),J()(),I(5,"div",3),D(6,zTb,1,1,"b-spinner",4)(7,ATb,1,1,"b-hotlist-grid",5),J());a&2&&(B(3),E("href",b.createHotlistPath,vf),B(3),
G(b.isLoading?6:7))},dependencies:[N2,sL,eB,ky],encapsulation:2});var thd=new Set(["issueId","modifiedTime","createdTime"]),A8=function(){Z.call(this);var a=this;this.cdr=r(cB);this.routerEvents=r(NF);this.window=r(MH);this.bLocation=r(WN);this.$log=r(bB);this.issueApi=r(ME);this.hotlistApi=r(PD);this.activeSession=r(Bu);this.butterBar=r(fH);this.analytics=r(OF);this.appSearchState=r(TY);this.issuePagination=r(t_);this.userPreferencesManager=r(TG);this.urlPreferences=r(P2);this.gridPreferencesFetcher=r(R2);this.paths=r(IP);this.timeout=r(qE);this.errorHandler=r(CI);
this.statusMessages=r(II);this.domSafe=r(NH);this.appEvents=r(yD);this.hotlistFridge=r(UD);this.issueFullFridge=r(QF);this.batchIssueRelationshipsService=r(b4);this.componentFridge=r(uD);this.currentUserBookmarksFridge=r(ZD);this.implicitTriageService=r(PG);this.focusedRowIndex=this.displayColumns=null;this.isInitializing=!0;this.currentUserEmail=this.activeSession.getUserEmail();this.searchResults=null;this.hotlistChoices=[];this.hotlistMap={};this.customFieldMap={};this.gridControls=this.cachedSort=
null;this.issueColumnsInternal=[];this.metaColumns=[];this.sortPreferences=[];var b=[{keys:["j"],displayAs:"j",description:"Move to the next issue",onPress:function(){var c;(c=a.resultsGrid)==null||Dyb(c)}},{keys:["k"],displayAs:"k",description:"Move to the previous issue",onPress:function(){var c;(c=a.resultsGrid)==null||Eyb(c)}},{keys:["x"],displayAs:"x",description:"Select/Deselect the current issue",onPress:function(){var c;(c=a.resultsGrid)==null||J$c(c)}},{keys:["s"],displayAs:"s",description:"Star/Unstar the current issue",
onPress:function(){var c;(c=a.resultsGrid)==null||L$c(c)}},{keys:[Dp("i")],displayAs:"Shift+i",description:"Mark as read",onPress:function(){var c;(c=a.resultsGrid)==null||M$c(c,!0)}},{keys:[Dp("u")],displayAs:"Shift+u",description:"Mark as unread",onPress:function(){var c;(c=a.resultsGrid)==null||M$c(c,!1)}},{keys:[Ep("*","a")],displayAs:"* then a",description:"Select all issues on this page",onPress:function(){var c;(c=a.resultsGrid)==null||c.selectAll()}},{keys:[Ep("*","n")],displayAs:"* then n",
description:"Deselect all issues on this page",onPress:function(){var c;(c=a.resultsGrid)==null||G$c(c)}},{keys:["a"],displayAs:"a",description:"Change assignee",onPress:function(){var c;(c=a.gridControls)==null||s1(c,null,0)}},{keys:["d"],displayAs:"d",description:"Mark as duplicate",onPress:function(){var c;(c=a.gridControls)==null||s1(c,Rl.DUPLICATE,3)}},{keys:["h"],displayAs:"h",description:"Edit hotlists",onPress:function(){var c;if((c=a.gridControls)!=null&&c.hasSelectedIssues()){var d;(d=c.hotlistPicker)==
null||d.open()}}},{keys:["r"],displayAs:"r",description:"Add comment",onPress:function(){var c;(c=a.gridControls)==null||H8c(c)}},{keys:["u",Dp("r")],displayAs:"u / Shift+r",description:"Refresh search results",onPress:function(){return a.refreshResults()}},{keys:[Ep("p","0"),Ep("p","1"),Ep("p","2"),Ep("p","3"),Ep("p","4")],displayAs:"p <n>",description:"Mark selected issues as priority n",onPress:function(c){a.resultsGrid&&a.sendBulkEditRequest([{actions:[{fieldName:"priority",value:"P"+c}],issueIds:a.resultsGrid.getSelectedIssues().map(function(d){return d.issueId})}])}},
{keys:[ZGa("ENTER")],displayAs:"Ctrl+Enter",description:"Open current issue in new tab",onPress:function(){var c=a.window.document.activeElement;if(c.tagName==="A"){var d=a.paths.getBaseUrl();if(c.href&&!c.href.startsWith(d)){a.domSafe.openInNewTab(c.href);return}}var e;(e=a.resultsGrid)==null||x2(e,{openInNewTab:!0})}},{keys:["o","ENTER"],displayAs:"o / Enter",description:"Open the current issue",onPress:function(c){var d=a.window.document.activeElement;if(c===1&&d.tagName==="A")if(d.href)c=a.paths.getBaseUrl(),
d.href.startsWith(c)?a.bLocation.setUrl(d.href.slice(c.length)):a.domSafe.openInNewTab(d.href);else{var e;(e=a.resultsGrid)==null||x2(e)}else if(c===2){var f;(f=a.resultsGrid)==null||x2(f,{openInNewTab:!0})}else{var h;(h=a.resultsGrid)==null||x2(h)}}}];Vt(this.activeSession,"enableIssueSidebar")&&b.push({keys:[Dp("o"),Dp("ENTER")],displayAs:"Shift+o / Shift+Enter",description:"Toggle current issue in sidebar",onPress:function(c){var d=a.window.document.activeElement;c===1&&d.tagName==="A"&&d.href?
Ip(a.domSafe,d.href):(c=a.resultsGrid)!=null&&(c.isIssueSidebarOpen=!c.isIssueSidebarOpen,c.cdr.detectChanges())}});this.BASE_HOTKEYS=b};Y(A8,Z);A8.prototype.ngOnInit=function(){var a=this;uhd(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(Zf(this.destroyed$)).subscribe(function(){uhd(a)})};
var vhd=function(a){var b=[].concat(t(B9c));a.activeSession.isInternalSession()&&(a=b.indexOf("issueId"),b.splice(a,0,"minSlo"));return b.map(Qt).filter(ik)};
A8.prototype.fetchUserHotlists=function(){var a=this;Fe($D(this.currentUserBookmarksFridge)).then(function(b){b=k(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;var d=a.hotlistMap[c.hotlistId];oj(d,c)||(d&&Ta(a.hotlistChoices,d),a.hotlistChoices.push(c),a.hotlistMap[c.hotlistId]=c,a.cdr.detectChanges())}}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
var uhd=function(a){return whd(a).then(function(){return a.getIssues()}).then(function(){return a.searchResults?(a.subscribeToIssueChanges(a.searchResults.issues),xhd(a,a.searchResults.startIndex,a.searchResults.endIndex)):Promise.resolve()}).finally(function(){a.cdr.detectChanges()})};
A8.prototype.subscribeToIssueChanges=function(a){var b=this,c;(c=this.issueSubscriptions)==null||c.unsubscribe();this.issueSubscriptions=new je;a=k(a);for(c=a.next();!c.done;c=a.next())this.issueSubscriptions.add(this.issueFullFridge.watch(c.value.id).pipe(Ue(ik),Zf(this.destroyed$)).subscribe(function(d){var e;return se(function(f){if(f.nextAddress==1)return b.searchResults?y(f,Fe(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();h6c(b.searchResults,[{issue:d,component:e}]);b.searchResults=b.searchResults.clone()}b.cdr.detectChanges();xe(f)})}))};
var yhd=function(a){return a.window.document.activeElement!=null&&a.window.document.activeElement!==a.window.document.body},whd=function(a){var b=Hj();yhd(a)&&a.window.document.activeElement.blur();a.timeout.schedule(function(){b.resolve()});return b.promise},xhd=function(a,b,c){var d=Hj();yhd(a)||zhd(a,b,c);a.timeout.schedule(function(){d.resolve()});return d.promise},Ahd=function(a,b){if(b.maySkipResults){b=xi(["Too many matching results. Some issues may be omitted.",yi("br"),"Please try to restrict your search further or change the sort column to either CREATED or LAST MODIFIED. "]);
var c={};c=yi("a",(c.href="http://go/buganizer-faq#restrict-search",c),"go/buganizer-faq");c=xi([yi("br"),"See ",c," for more details."]);b=a.activeSession.isInternalSession()?xi([b,c]):b;Foc(a.butterBar,b)}};g=A8.prototype;
g.setSort=function(a,b,c){c=c===void 0?!0:c;var d=Qt(a);if(d){var e=new Tt(d,b==="ASC"?"ASCENDING":"DESCENDING");Va(this.sortPreferences,function(f){return oj(f.fieldId,e.fieldId)});!c||thd.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):sj(a.fieldId.type),direction:a.direction==="ASCENDING"?"ASC":"DESC"};oj(a,this.cachedSort)||(this.cachedSort=a);return this.cachedSort};g.saveSortColumns=function(a){Q2(this.urlPreferences,{sortColumns:a,page:1})};
g.initColumns=function(a,b){var c=this;b=b===void 0?Bhd:b;a.then(function(d){c.displayColumns=d;c.metaColumns=b;c.isColumnSaveEnabled=!0;c.issueColumnsInternal=[].concat(t(b),t(sub(d)));c.cdr.detectChanges()})};g.saveColumns=function(a){this.displayColumns=a.map(function(b){return Qt(b.name)});Q2(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=Rq(a),c&&(c.ctrlKey||c.metaKey||c.button===1)?this.domSafe.openInNewTab(a):c&&c.shiftKey?Ip(this.domSafe,a):this.bLocation.setUrl(a))};g.goToPage=function(a){this.bLocation.search("p",a)};var vu=function(a,b,c){b!==void 0&&a.goToPage(b+c)};g=A8.prototype;g.refreshResults=function(){p6c(this.issuePagination);return uhd(this)};
g.hasResults=function(){return this.searchResults&&this.searchResults.issues.length>0};
g.sendBulkEditRequest=function(a,b){var c=this;if(a.length===1&&a[0].actions.length===1&&a[0].actions[0].fieldName==="readState"){var d=!!a[0].actions[0].value;b=k(a[0].issueIds);for(var e=b.next();!e.done;e=b.next()){e=e.value;var f=void 0;(f=this.searchResults)==null||i6c(f,e,d)}this.cdr.detectChanges();jq(this.butterBar,"Saving changes...",0);return SF(this.issueFullFridge,a[0].issueIds,{markRead:d,userActivityType:"MARK_AS_READ_OR_UNREAD"}).then(function(l){for(var q=k(a[0].issueIds),u=q.next();!u.done;u=
q.next()){u=u.value;var A=void 0,F=void 0;(A=c.searchResults)==null||i6c(A,u,void 0,(F=l)!=null?F:null)}jq(c.butterBar,"Successfully marked issues "+(d?"read.":"unread."))}).catch(function(l){for(var q=k(a[0].issueIds),u=q.next();!u.done;u=q.next()){u=u.value;var A=void 0;(A=c.searchResults)==null||i6c(A,u)}c.errorHandler.errorHandler(null,l)}).finally(function(){c.cdr.detectChanges()})}e=VHa(a).map(function(l){return l.fieldName});this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"bulkEdit",e.join(","));
var h={bulkEditOps:a};jq(this.butterBar,"Saving changes...",0);return a.length===1&&a[0].actions.length===1&&a[0].actions[0].fieldName==="parentId"?this.batchIssueRelationshipsService.bulkEdit(a[0]).then(function(l){if(c.searchResults){c.searchResults=c.searchResults.clone();for(var q=k(c.searchResults.issues.entries()),u=q.next();!u.done;u=q.next()){var A=k(u.value);u=A.next().value;A=A.next().value;l.finishedIssues[A.issueId]&&(u=c.searchResults.issues[u],Enb(u,l.finishedIssues[A.issueId],null),
c.loadHotlists(u),Object.assign(c.customFieldMap,u.customFieldMap))}c.cdr.detectChanges()}A=a[0];q=l.notFinishedIssueIds;u=String(A.actions[0].value);A=A.actions[0].actionType;if(A!=="ADD"&&A!=="REMOVE")throw Error("ig");q.length?(c.butterBar.showWarning("Failed to update issue(s) "+q.join(", ")+"."),c.analytics.trackEvent(c.ANALYTICS_CATEGORY,"bulkEditError",""+q.length)):jq(c.butterBar,(A==="ADD"?"Added child issue(s) to parent ["+u+"]":"Removed child issue(s) from parent ["+u+"]")+" on "+String(Object.keys(l.finishedIssues).length)+
" issues.");c.cdr.detectChanges()}).catch(function(l){c.errorHandler.errorHandler(null,l)}):this.issueApi.issueBulkEdit(h,b).then(function(l){if(c.searchResults){c.searchResults=c.searchResults.clone();for(var q=k(c.searchResults.issues.entries()),u=q.next();!u.done;u=q.next()){var A=k(u.value);u=A.next().value;A=A.next().value;l.affectedIssues[A.issueId]&&(A=l.affectedIssues[A.issueId],u=c.searchResults.issues[u],Enb(u,A,l.componentMap[Na(A.snapshot).componentId]),c.loadHotlists(u),Object.assign(c.customFieldMap,
u.customFieldMap))}c.cdr.detectChanges()}l.errors&&l.errors.length?(q="Failed to update issue(s) "+(wj(l.errors,"issueId").join(", ")+"."),c.butterBar.showWarning(q),c.analytics.trackEvent(c.ANALYTICS_CATEGORY,"bulkEditError",""+l.errors.length)):(q=yrc(c.statusMessages,h,c.customFieldMap))?jq(c.butterBar,q):jq(c.butterBar,"Saved "+WHa(h.bulkEditOps).length+" issue(s).");q=new Map;u=k(h.bulkEditOps);for(A=u.next();!A.done;A=u.next()){A=A.value;for(var F=k(A.issueIds),H=F.next();!H.done;H=F.next()){H=
H.value;var N=void 0,O=(N=q.get(H))!=null?N:[];O.push.apply(O,t(A.actions));q.set(H,O)}}var T;l=k((T=l.errors)!=null?T:[]);for(T=l.next();!T.done;T=l.next())q.delete(T.value.issueId);T=k(q.entries());for(l=T.next();!l.done;l=T.next())q=k(l.value),l=q.next().value,q=q.next().value,eoc(c.implicitTriageService,l,q);c.cdr.detectChanges()}).catch(function(l){c.errorHandler.errorHandler(null,l)})};
g.loadHotlists=function(a){var b=this;a=k(a?[a]:this.searchResults?this.searchResults.issues:[]);for(var c=a.next();!c.done;c=a.next()){c=c.value;if(!c.hotlistId)break;c=k(c.hotlistId);for(var d=c.next();!d.done;d=c.next())d=d.value,this.hotlistMap[d]||this.hotlistApi.get(d).then(function(e){b.hotlistFridge.announce(e);b.addHotlist(e)}).catch(function(){})}};g.addHotlist=function(a){this.hotlistMap[a.hotlistId]||(this.hotlistMap[a.hotlistId]=a,this.hotlistChoices.push(a))};
g.createHotlist=function(a){var b=this;var c=a.name;var d=a.successCallback;a=a.errorCallback;this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"createHotlist");jq(this.butterBar,"Creating hotlist "+c+"...",0);this.hotlistApi.createHotlist(c).then(function(e){b.hotlistFridge.announce(e);jq(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;jq(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");OH(this.domSafe,this.getCsvUrl())};
g.saveResultsPerPage=function(a){var b=this;this.userPreferencesManager.save({resultsPerPage:a}).pipe(Zf(this.destroyed$)).subscribe(function(){b.resultsPerPage=a;Q2(b.urlPreferences,{page:1});b.analytics.trackEvent(b.ANALYTICS_CATEGORY,"resultsPerPageSave",a.toString());b.refreshResults();b.cdr.detectChanges()},function(c){lj(c)})};
var zhd=function(a,b,c){var d=a.issuePagination.getFocusedIssue();a.timeout.schedule(function(){if(d>=b&&d<=c)a.focusedRowIndex=d-b;else{r6c(a.issuePagination);a.focusedRowIndex=0;var e=document.querySelector(".bv2-view");e&&(e.scrollTop=0)}a.cdr.detectChanges()})},ITb=function(){setTimeout(function(){var a=document.querySelector(".b-select-all-toggle");a&&a.focus()})};
da.Object.defineProperties(A8.prototype,{issueColumns:{configurable:!0,enumerable:!0,get:function(){return this.issueColumnsInternal},set:function(a){oj(this.issueColumnsInternal,a)||(this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"columnModification",VEa(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 Bhd=[y2,z2,A2];
A8.\u0275fac=function(a){return new (a||A8)};A8.\u0275dir=Df({type:A8,features:[cg]});var ETb=function(){return{q:"status:open"}},B8=function(){A8.apply(this,arguments);this.hotkeys=r(uH);this.pageTitle=r(u_);this.routePerformance=r(BZ);this.element=r(ef);this.imageUrls=r(jL);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 Uf};Y(B8,A8);B8.\u0275dir=A8.\u0275dir;g=B8.prototype;
g.ngOnInit=function(){var a=this;A8.prototype.ngOnInit.call(this);this.subscriptions.add(vH(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="",UY(this.appSearchState,this.query),this.searchResults=null,this.setPageTitle(),this.isLoading=!1):(this.routePerformance.ignoringNextNav=!0,Q2(this.urlPreferences,{query:"assignee:"+this.currentUserEmail+" status:open"},!0)),Promise.resolve(void 0);UY(this.appSearchState,
this.query);b=s4c(this.appSearchState);if(b>0)return OAc(this.bLocation,Qq.viewHotlist.makeHref(b)),Q2(this.urlPreferences,{query:null},!0),Promise.resolve(void 0);b=t4c(this.appSearchState);if(b>0)return OAc(this.bLocation,this.paths.viewSavedSearch(b)),Q2(this.urlPreferences,{query:null},!0),Promise.resolve(void 0);this.searchResults=null;this.isLoading=!0;this.setPageTitle();this.subscriptions.add(Me(Re(0).pipe(aka()),aBa("b-issues-grid, #no-results",this.element.nativeElement)).subscribe(function(){var c=
function(){H5c(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 Chd);var b=this.gridPreferencesFetcher.fetch({resultsPerPage:25,page:1,query:"",sortColumns:[],displayColumns:vhd(this)}),c=Promise.race([b.searchPreferences.then(function(f){f=pj(f);f.query=a.query;f.returnUrl=a.bLocation.getUrl();f.trackerIds=a.appSearchState.currentTrackerScope;return m6c(a.issuePagination,f)}),Fe(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 Chd||Ahd(a,f)}).catch(function(f){typeof f==="number"?Q2(a.urlPreferences,{page:f}):a.errorHandler.errorHandler(null,f)});b=b.displayColumns;this.initColumns(b);return Bi({searchResultsPage:c,displayColumns:b}).then(function(f){var h=f.searchResultsPage;if(h instanceof Chd)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 Qt(b.name)});noc(this.userPreferencesManager,tub(a)).pipe(Zf(this.destroyed$)).subscribe()};
g.setPageTitle=function(){this.appSearchState.currentQuery===p4c(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===r4c(this.currentUserEmail)?this.pageTitle.setTitle("To be verified"):this.pageTitle.setTitle(this.query)};
g.saveSortColumns=function(a){var b=this,c=this.bLocation.search(),d=a.map(function(e){return{column:e.fieldId,order:e.direction}});this.userPreferencesManager.saveSortColumns(d).pipe(Zf(this.destroyed$)).subscribe(function(){Q2(b.urlPreferences,{sortColumns:a,page:1});ITb();var e=b.bLocation.search();oj(c,e)&&b.refreshResults()})};g.getCsvUrl=function(){return hRa(this.query,this.appSearchState.currentTrackerScope,this.sortPreferences,this.displayColumns,this.showHotlists)};
B8.\u0275fac=function(){var a;return function(b){return(a||(a=ee(B8)))(b||B8)}}();
B8.\u0275cmp=C({type:B8,selectors:[["list-issues-page"]],standalone:!1,features:[ch([cB]),cg],decls:10,vars:7,consts:[[1,"a11y-only"],[1,"kd-appbar","kd-buttonbar"],[3,"init","onRefresh","onSave","onCreateHotlist","onLoadHotlist","onExportCsv","grid","hotlistChoices"],[1,"bv2-appbar-right"],[3,"pageChange","resultsPerPageChange","searchResults"],[1,"bv2-view"],[1,"bv2-view-loading"],["id","no-results","tabindex","-1",1,"bv2-view-loading","layout-centered-column","gap",3,"bFocus"],[1,"bv2-grid-container"],
["aria-hidden","true","alt","",1,"empty-state-img",3,"src"],["routerLink","/issues",3,"queryParams"],["href","https://developers.google.com/issue-tracker/concepts/searches","target","_blank"],[3,"init","columnsChange","sortChange","rowClick","onNextPage","onPrevPage","searchResults","focusedRowIndex","columns","enableColumnSaving","sort","enableSidebar"]],template:function(a,b){a&1&&(I(0,"h2",0),Q(1,"Issue search results"),J(),I(2,"div",1)(3,"b-grid-controls",2),M("init",function(c){return b.gridControls=
c})("onRefresh",function(){return b.refreshResults()})("onSave",function(c){return b.sendBulkEditRequest(c.bulkEditOps,c.recaptchaToken)})("onCreateHotlist",function(c){return b.createHotlist(c)})("onLoadHotlist",function(c){return b.loadHotlist(c)})("onExportCsv",function(){return b.exportCsv()}),J(),I(4,"div",3)(5,"b-pagination",4),M("pageChange",function(c){return b.goToPage(c.page)})("resultsPerPageChange",function(c){return b.saveResultsPerPage(c.option)}),J()()(),I(6,"div",5),D(7,BTb,4,1,"div",
6)(8,HTb,6,4,"div",7)(9,JTb,2,6,"div",8),J());a&2&&(B(3),E("grid",b.resultsGrid)("hotlistChoices",b.hotlistChoices),B(2),E("searchResults",b.searchResults),B(),jg("aria-busy",b.isLoading),B(),G(b.isLoading?7:-1),B(),G(b.isLoading||b.hasResults()?-1:8),B(),G(!b.isLoading&&b.hasResults()?9:-1))},dependencies:[D2,r3,w2,VA,sL,Z1],styles:[".empty-state-img[_ngcontent-%COMP%]{max-width:320px;max-height:320px;padding-bottom:56px}/*# sourceMappingURL=list_issues.css.map */"]});var Chd=function(){},C8=function(){};
C8.\u0275fac=function(a){return new (a||C8)};C8.\u0275mod=Cf({type:C8});C8.\u0275inj=p({imports:[M2,s3,p3,zP,lC,BP,a2,bz,cN,KZ,YY]});var D8=function(){this.cdr=r(cB,{self:!0});this.sloApi=r(wG);this.errorHandler=r(CI);this.activeSession=r(Bu);this.isLoading=!1;this.activeSlos=[];this.archivedSlos=[];this.createSloPath=Qq.createSlo.makeHref();this.sloEnabled=this.activeSession.isInternalSession();this.areArchivedSlosExpanded=!1};D8.prototype.ngOnInit=function(){this.sloEnabled&&Dhd(this)};
var Dhd=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)})};D8.\u0275fac=function(a){return new (a||D8)};
D8.\u0275cmp=C({type:D8,selectors:[["list-slos-page"]],standalone:!1,features:[ch([cB])],decls:7,vars:3,consts:[[1,"kd-appbar","kd-buttonbar"],["mat-button","",1,"no-visited-no-active",3,"href"],[1,"bv2-view"],[1,"padded-sides"],[3,"large"],[1,"muted"],[3,"slos"],[1,"slos-note"],["type","button",1,"unstyled-button","clickable-row",2,"width","100%",3,"click"],[1,"margined"],[1,"icon-s","vertical-centered",3,"svgIcon"],[1,"conditional-slo-grid"],[1,"muted","padded"]],template:function(a,b){a&1&&(I(0,
"div",0)(1,"a",1),Q(2," Create SLO "),J()(),I(3,"div",2),D(4,KTb,5,0,"div",3)(5,LTb,1,1,"b-spinner",4)(6,RTb,7,6),J());a&2&&(B(),E("href",b.createSloPath,vf),B(3),G(b.sloEnabled?4:-1),B(),G(b.isLoading?5:6))},dependencies:[pB,eB,ky,W3,sL],encapsulation:2});var uBa=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(uBa,V);g=uBa.prototype;g.getAuthor=function(){return W(this,Zj,1)};g.setAuthor=function(a){X(this,Zj,1,a)};g.hasAuthor=function(){return Jk(this,Zj,1)};g.getTimestamp=function(){return W(this,rk,2)};g.setTimestamp=function(a){return X(this,rk,2,a)};g.hasTimestamp=function(){return Jk(this,rk,2)};g.getAdd=function(){return W(this,In,3)};g.setAdd=function(a){return X(this,In,3,a)};g.getRemove=function(){return W(this,In,4)};
g.setRemove=function(a){return X(this,In,4,a)};g.getAddMask=function(){return W(this,$n,5)};g.setAddMask=function(a){return X(this,$n,5,a)};g.getRemoveMask=function(){return W(this,$n,6)};g.setRemoveMask=function(a){return X(this,$n,6,a)};var Ehd=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(Ehd,V);var E8=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,E8.messageId)};Y(E8,V);E8.prototype.getIt=function(){return W(this,Ehd,2)};E8.prototype.setIt=function(a){return X(this,Ehd,2,a)};E8.messageId="b.ComponentHistory";var F8=function(){this.executor=r(NC);this.bCacheFactory=r(HD);this.componentHistoriesCache=this.bCacheFactory.get("component_histories-second-level-cache")||this.bCacheFactory.create("component_histories-second-level-cache",{capacity:25})};F8.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:E8}).then(vBa))};
F8.prototype.getUncached=function(a){this.invalidateCache(a);return this.get(a)};F8.prototype.invalidateCache=function(a){this.componentHistoriesCache.remove(String(a))};F8.\u0275fac=function(a){return new (a||F8)};F8.\u0275prov=n({token:F8,factory:F8.\u0275fac,providedIn:"root"});var G8=function(){};G8.prototype.ngOnInit=function(){};G8.\u0275fac=function(a){return new (a||G8)};G8.\u0275cmp=C({type:G8,selectors:[["slo-inheritance-breadcrumbs"]],inputs:{componentPath:"componentPath",teamPath:"teamPath"},standalone:!1,decls:2,vars:2,consts:[[3,"teamPath"],["componentPathsLinkTo","settings",3,"componentPathInfo"]],template:function(a,b){a&1&&D(0,STb,3,1)(1,TTb,3,1);a&2&&(G(b.teamPath?0:-1),B(),G(b.componentPath?1:-1))},dependencies:[mR,x3],styles:["b-component-breadcrumb[_ngcontent-%COMP%], b-team-breadcrumb[_ngcontent-%COMP%]{display:inline-block}"]});var Fhd={BASIC:"basic",CUSTOM_FIELDS:"customFields",FIELD_ORDERING:"fieldOrdering",TEMPLATES:"templates",ACCESS:"access"},H8={},Ghd=(H8[0]="basic",H8[1]="customFields",H8[2]="fieldOrdering",H8[3]="templates",H8[4]="access",H8),Hhd={},Ihd=(Hhd[0]="access",Hhd[1]="access_permissions",Hhd),I8=function(){Z.call(this);var a=this;this.bLocation=r(WN);this.route=r(Wi);this.Tab=Fhd;this.selectedAccessSubTabIndex=this.selectedTabIndex=0;this.componentReady$=new Uf;this.componentReady$.subscribe(function(){a.selectedTabIndex=
0;a.route.fragment.pipe(Zf(a.destroyed$)).subscribe(function(b){if(b==="basic")a.selectedTabIndex=0;else if(b==="customFields")a.selectedTabIndex=1;else if(b==="fieldOrdering")a.selectedTabIndex=2;else if(b==="templates")a.selectedTabIndex=3;else if(b==="access"||b==="access"||b==="access_permissions")a.selectedTabIndex=4,b==="access_permissions"&&(a.selectedAccessSubTabIndex=1),cWb(a)})})};Y(I8,Z);I8.\u0275dir=Z.\u0275dir;
I8.prototype.tabChange=function(a){if(a===4&&this.selectedAccessSubTabIndex>0){var b,c=(b=Ihd[a])!=null?b:"access";this.bLocation.hash(c,!0)}else b=(c=Ghd[a])!=null?c:null,this.bLocation.hash(b,!0);this.selectedTabIndex=a};var cWb=function(a){a.selectedAccessSubTabIndex===1?a.bLocation.hash("access_permissions",!0):a.selectedAccessSubTabIndex===0&&a.bLocation.hash("access",!0)};I8.\u0275fac=function(a){return new (a||I8)};I8.\u0275prov=n({token:I8,factory:I8.\u0275fac,providedIn:"root"});var YTb=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(YTb,V);var Jhd=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,Jhd.messageId)};Y(Jhd,V);Jhd.messageId="b.BatchGroupMetadataResult";var K8=function(){var a=this;this.groupMetadataResources=r(J8);this.bulkGetter=r(rE).adapt(function(b){return a.groupMetadataResources.bulkGet(b).then(function(c){var d=UTb(c);return j3b(b,function(e){return d[e]||null})})})};K8.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"}})};K8.\u0275fac=function(a){return new (a||K8)};
K8.\u0275prov=n({token:K8,factory:K8.\u0275fac,providedIn:"root"});var J8=function(){this.executor=r(NC)};J8.prototype.bulkGet=function(a){a=[].concat(t(new Set(a)));a=wn(a.join(","));return this.executor.get({url:"action/group_metadata/"+a,responseConstructor:Jhd}).then(ZTb)};J8.\u0275fac=function(a){return new (a||J8)};J8.\u0275prov=n({token:J8,factory:J8.\u0275fac,providedIn:"root"});var $Tb=[{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 L8=function(){var a=this;this.activeSession=r(Bu);this.confirmationDialogService=r(AI);this.documentationLinks=r(lI);this.groupMetadata=r(K8);this.componentReaders=[];this.enableRostersChecks=Vt(this.activeSession,"enableRostersChecks");this.enableComponentAutomationCheck=Vt(this.activeSession,"enableComponentAutomationCheck");this.isPublic=function(){return Jr(a.component)};this.hasUnsavedAccessLimitChanges=function(){return a.originalComponent&&a.component?a.originalComponent.accessLimit.accessLevel!==
a.component.accessLimit.accessLevel:!1};this.performAccessLimitCheck=function(){return new Promise(function(b){a.hasUnsavedAccessLimitChanges()&&a.component.accessLimit.accessLevel==="INTERNAL"?a.confirmationDialogService.open({title:"Component Visibility Changed",content:wi("You are about to change the component visibility to Google internal for this component. Make sure your changes are correct -- if this component has any issues, you will not be able to undo this action. Do you want to proceed?"),
onConfirm:function(){b(!0)},onDismiss:function(){b(!1)}}):b(!0)})};this.performDeletedAccountsCheck=function(){return new Promise(function(b){a.componentReaders.includes("GROUP:nobody@google.com")?a.confirmationDialogService.open({title:'"nobody@google.com" is on the access policy',content:wi('"nobody@google.com" was detected, this is usually the result of an account being deleted that was already part of the access policy. It can be found in the following fields: '+[a.componentAccessPolicyUnderEdit.admins.includes("GROUP:nobody@google.com")?
'"Component Admins"':null,a.componentAccessPolicyUnderEdit.appenders.includes("GROUP:nobody@google.com")?'"Create Issues"':null,a.issueDefaultAccessPolicyUnderEdit.admins.includes("GROUP:nobody@google.com")?'"Issue Admins"':null,a.issueDefaultAccessPolicyUnderEdit.editors.includes("GROUP:nobody@google.com")?'"Edit Issues"':null,a.issueDefaultAccessPolicyUnderEdit.appenders.includes("GROUP:nobody@google.com")?'"Comment on Issues"':null,a.issueDefaultAccessPolicyUnderEdit.readers.includes("GROUP:nobody@google.com")?
'"View Issues"':null,a.issueDefaultAccessPolicyUnderEdit.restrictedPlusReaders.includes("GROUP:nobody@google.com")?'"View restricted+ content"':null,a.issueDefaultAccessPolicyUnderEdit.restrictedReaders.includes("GROUP:nobody@google.com")?'"View restricted content"':null].filter(function(c){return!!c}).join(", ")+". Do you want to proceed?"),onConfirm:function(){b(!0)},onDismiss:function(){b(!1)}}):b(!0)})};this.performAdminAccessRemovalCheck=function(){return new Promise(function(b){jUb(a.activeSession.getUserEmail(),
a.componentFlattenedAccessPolicy,a.componentAccessPolicyUnderEdit)?a.confirmationDialogService.open({title:"Component Administrators Changed",content:wi("You are about to change the administrator privileges for this component. Make sure your changes are correct -- if you revoke your own privileges, you will not be able to undo this action or perform further edits. Do you want to proceed?"),onConfirm:function(){b(!0)},onDismiss:function(){b(!1)}}):b(!0)})};this.performRestrictedPlusGroupRemovalCheck=
function(){return new Promise(function(b){iUb(a.issueDefaultFlattenedAccessPolicy,a.issueDefaultAccessPolicyUnderEdit)?a.confirmationDialogService.open({title:"Group Removed from Restricted+ Readers",content:wi("You are about to remove Restricted+ reader permission for a group. You will not be able to undo this action. Do you want to proceed?"),onConfirm:function(){b(!0)},onDismiss:function(){b(!1)}}):b(!0)})};this.retrieveGroupMetadata=function(b){b=oq(b);return b.group!==void 0&&b.group.emailAddress?
a.groupMetadata.get(b.group.emailAddress):Promise.resolve({approximateSize:0,groupEmail:"",sizeCategory:"UNKNOWN",permissionCategory:"UNKNOWN_PERMISSION"})};this.evaluateNewGroups=function(){var b=Kj([].concat(t(xj(a.componentAccessPolicyUnderEdit.admins,a.componentFlattenedAccessPolicy.admins)),t(xj(a.issueDefaultAccessPolicyUnderEdit.admins,a.issueDefaultFlattenedAccessPolicy.admins)),t(xj(a.issueDefaultAccessPolicyUnderEdit.editors,a.issueDefaultFlattenedAccessPolicy.editors)),t(xj(a.issueDefaultAccessPolicyUnderEdit.appenders,
a.issueDefaultFlattenedAccessPolicy.appenders)),t(xj(a.issueDefaultAccessPolicyUnderEdit.readers,a.issueDefaultFlattenedAccessPolicy.readers)),t(xj(a.issueDefaultAccessPolicyUnderEdit.restrictedReaders,a.issueDefaultFlattenedAccessPolicy.restrictedReaders)),t(xj(a.issueDefaultAccessPolicyUnderEdit.restrictedPlusReaders,a.issueDefaultFlattenedAccessPolicy.restrictedPlusReaders))));return Promise.all(b.map(function(c){return a.retrieveGroupMetadata(c)}))};this.performAddedLargeOrOpenGroupCheck=function(){return a.enableRostersChecks?
a.evaluateNewGroups().then(function(b){var c=dUb(b);b=hUb(b);if(c.size===0&&b.size===0)return Promise.resolve(!0);var d=eUb(c.size,b.size);c=fUb(c);b=gUb(b);var e=xi([c,c===wu?wu:yi("br"),b]);c={};e=xi([e,yi("p",{},xi(["Please review the ",yi("a",(c.href=Wqc(a.documentationLinks),c.target="_blank",c),"recommended practices")," and be sure you know what you are doing. Are you  sure that you want to do this?"]))]);return new Promise(function(f){a.confirmationDialogService.open({title:d,content:e,onConfirm:function(){f(!0)},
onDismiss:function(){f(!1)},confirmButtonText:"Add Group"})})}):Promise.resolve(!0)};this.performAddedNewInternalAliasesCheck=function(){return new Promise(function(b){if(a.isPublic()&&cUb(a.issueDefaultAccessPolicyUnderEdit,a.issueDefaultFlattenedAccessPolicy)){var c={};c=xi([yi("p",{},"You are about to give a broad category of users permissions on a public component."),yi("p",{},xi(["Please review the ",yi("a",(c.href=Vqc(a.documentationLinks),c.target="_blank",c),"recommended practices")," and be sure you know what you are doing. Are you  sure that you want to do this?"]))]);
a.confirmationDialogService.open({title:"Adding an broad category of users to a public component",content:c,onConfirm:function(){b(!0)},onDismiss:function(){b(!1)},confirmButtonText:"Add Group Alias"})}else b(!0)})};this.performChangedImplicitAccessCheck=function(){a.implicitAccess={getValue:function(){return a.componentAccessPolicyUnderEdit?a.componentAccessPolicyUnderEdit.implicitAccess==="ALLOW":!1},getSavedValue:function(){return a.componentFlattenedAccessPolicy?a.componentFlattenedAccessPolicy.implicitAccess===
"ALLOW":!1},setValue:function(d){a.componentAccessPolicyUnderEdit&&(a.componentAccessPolicyUnderEdit=Object.assign({},a.componentAccessPolicyUnderEdit,{implicitAccess:d?"ALLOW":"DENY"}))}};var b={},c=yi("a",(b.href=Aq(a.documentationLinks)+"#expanded-access",b),"Learn more.");return new Promise(function(d){a.implicitAccess.getValue()===a.implicitAccess.getSavedValue()?d(!0):a.implicitAccess.getValue()?a.confirmationDialogService.open({title:"Turn on expanded access for component "+a.component.componentId+
"?",content:xi(["When expanded access is on, assignees and verifiers can edit issues in this component, and CC'd users can comment. ",c]),onConfirm:function(){d(!0)},onDismiss:function(){d(!1)}}):a.confirmationDialogService.open({title:"Turn off expanded access for component "+a.component.componentId+"?",content:xi(["Some users may lose the ability to edit or comment on issues in this component. ",c]),onConfirm:function(){d(!0)},onDismiss:function(){d(!1)}})})};this.getAddedAutomationInPolicyChange=
function(){var b=[].concat(t(aUb(a.issueDefaultFlattenedAccessPolicy,a.issueDefaultAccessPolicyUnderEdit)),t(aUb(a.componentFlattenedAccessPolicy,a.componentAccessPolicyUnderEdit))),c=new Set;b=k(b);for(var d=b.next();!d.done;d=b.next()){d=k(d.value.addedPrincipals);for(var e=d.next();!e.done;e=d.next())e=oq(e.value),(Zta(e)?eua(e.user.emailAddress):e.group!==void 0&&eua(e.group.emailAddress))&&c.add(e)}return[].concat(t(c))};this.performAutomationUserAccessCheck=function(){if(!a.enableComponentAutomationCheck)return Promise.resolve(!0);
var b=a.getAddedAutomationInPolicyChange();return new Promise(function(c){if(b.length){var d={};d=yi("a",(d.href=Tqc(a.documentationLinks),d)," automation account documentation");a.confirmationDialogService.open({title:"Adding automation accounts",content:xi([wi("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"),yi("wbr"),d,wi("."),yi.apply(null,["ol",{}].concat(t(b.map(function(e){if(Zta(e)){var f;
return yi("li",{},wi((f=e.user.emailAddress)!=null?f:""))}if(e.group!==void 0){var h;return yi("li",{},wi((h=e.group.emailAddress)!=null?h:""))}throw Error("tg`"+JSON.stringify(e));})))),yi("br",{}),wi("Are you sure you wish to allow automation to access data in this component?")]),onConfirm:function(){c(!0)},onDismiss:function(){c(!1)}})}else c(!0)})};this.runValidation=function(b){var c,d,e;return se(function(f){switch(f.nextAddress){case 1:c=k(b),d=c.next();case 2:if(d.done){f.jumpTo(4);break}e=
d.value;return y(f,e(),5);case 5:if(!f.yieldResult)return f.return(!1);d=c.next();f.jumpTo(2);break;case 4:return f.return(!0)}})}},Khd=function(a,b){var c=b.component;var d=b.originalComponent;var e=b.componentReaders;var f=b.componentAccessPolicyUnderEdit;var h=b.componentFlattenedAccessPolicy;var l=b.issueDefaultAccessPolicyUnderEdit;var q=b.issueDefaultFlattenedAccessPolicy;var u,A;return se(function(F){if(F.nextAddress==1)return a.component=c,a.originalComponent=d,a.componentReaders=e,a.componentAccessPolicyUnderEdit=
f,a.componentFlattenedAccessPolicy=h,a.issueDefaultAccessPolicyUnderEdit=l,a.issueDefaultFlattenedAccessPolicy=q,u=[a.performAccessLimitCheck,a.performDeletedAccountsCheck,a.performAdminAccessRemovalCheck,a.performRestrictedPlusGroupRemovalCheck,a.performAddedLargeOrOpenGroupCheck,a.performAddedNewInternalAliasesCheck,a.performChangedImplicitAccessCheck,a.performAutomationUserAccessCheck],y(F,a.runValidation(u),2);A=F.yieldResult;return F.return(A)})};L8.\u0275fac=function(a){return new (a||L8)};
L8.\u0275prov=n({token:L8,factory:L8.\u0275fac});var M8=function(){Z.apply(this,arguments);this.principalTypes=r(pG);this.componentReaders=[];this.templates=[]};Y(M8,Z);M8.\u0275dir=Z.\u0275dir;
M8.prototype.ngOnChanges=function(){var a=this.componentAccessPolicy,b=this.issueAccessPolicy,c=new Set([].concat(t(this.componentReaders))),d=new Set([].concat(t(a.admins),t(a.inheritedAdmins)));a=new Set([].concat(t(d),t(a.appenders)));var e=new Set([].concat(t(b.admins))),f=new Set([].concat(t(e),t(b.editors))),h=new Set([].concat(t(f),t(b.appenders))),l=new Set([].concat(t(b.restrictedPlusReaders))),q=new Set([].concat(t(l),t(b.restrictedReaders)));b=new Set([].concat(t(q),t(h),t(b.readers)));
this.templates=[{permission:"Admin Components",principals:[].concat(t(d)).map(xu)},{permission:"Create Issues",principals:[].concat(t(a)).map(xu)},{permission:"Admin Issues",principals:[].concat(t(e)).map(xu)},{permission:"Edit Issues",principals:[].concat(t(f)).map(xu)},{permission:"Comment on Issues",principals:[].concat(t(h)).map(xu)},{permission:"View Issues",principals:[].concat(t(b)).map(xu)},{permission:"View Components",principals:[].concat(t(c)).map(xu)},{permission:"View Restricted",principals:[].concat(t(q)).map(xu)},
{permission:"View Restricted+",principals:[].concat(t(l)).map(xu)}];Lhd(this,this.templates)};
var Lhd=function(a,b){b=k(b);for(var c=b.next();!c.done;c=b.next()){c=k(c.value.principals);for(var d=c.next(),e={};!d.done;e={principal$jscomp$15:void 0},d=c.next())e.principal$jscomp$15=d.value,e.principal$jscomp$15.principalType==="ALIAS"?e.principal$jscomp$15.detailedUserType="NO_DETAILED_TYPE":qG(a.principalTypes,e.principal$jscomp$15.value,!0).then(function(f){return function(h){f.principal$jscomp$15.detailedUserType=h.detailedUserType}}(e))}};
M8.\u0275fac=function(){var a;return function(b){return(a||(a=ee(M8)))(b||M8)}}();
M8.\u0275cmp=C({type:M8,selectors:[["permissions-view"]],inputs:{issueAccessPolicy:"issueAccessPolicy",componentAccessPolicy:"componentAccessPolicy",componentReaders:"componentReaders",accessLevel:"accessLevel"},standalone:!1,features:[cg,rv],decls:8,vars:0,consts:[[1,"permissions-column-headers"],["scope","col"],[1,"permission-row"],["scope","row"],[3,"value","detailedUserType","principalType","accessLevel","displayText"]],template:function(a,b){a&1&&(I(0,"table")(1,"tr",0)(2,"th",1),Q(3,"Permission"),
J(),I(4,"th",1),Q(5,"Users With Permission"),J()(),yg(6,lUb,6,1,"tr",2,xg),J());a&2&&(B(6),zg(b.templates))},dependencies:[XO],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 Mhd=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"}),N8={},Nhd=(N8.issueAdmin=new Set(["issueEditor"]),N8.issueEditor=new Set(["issueAppender"]),N8.issueAppender=new Set(["issueReader"]),N8.issueRestrictedReader=
new Set(["issueReader"]),N8.issueRestrictedPlusReader=new Set(["issueRestrictedReader"]),N8.issueReader=new Set(["componentReader"]),N8.componentAdmin=new Set(["componentAppender"]),N8.componentAppender=new Set(["componentReader"]),N8.componentReader=new Set,N8),wUb=Fj(Mhd,function(a){return Nhd[a]}),uUb=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"}),O8={},Ohd=(O8.componentAdmin=new Set(["componentAdmin","issueAdmin"]),O8.issueAdmin=new Set(["issueAdmin","componentAppender"]),O8.issueEditor=new Set(["issueEditor","componentAppender"]),O8.issueContributor=new Set(["issueAppender","componentAppender"]),O8.componentAdminOnly=new Set(["componentAdmin"]),
O8.issueCreator=new Set(["componentAppender"]),O8.issueAdminOnly=new Set(["issueAdmin"]),O8.issueEditorExisting=new Set(["issueEditor"]),O8.issueCommenter=new Set(["issueAppender"]),O8.restrictedPlusViewer=new Set(["issueRestrictedPlusReader"]),O8.restrictedViewer=new Set(["issueRestrictedReader"]),O8.issueViewer=new Set(["issueReader"]),O8),tUb=Fj(uUb,function(a){return Ohd[a]}),Phd=xUb(),sUb=Fj(uUb,function(a){a=[].concat(t(tUb.get(a))).flatMap(function(b){return[].concat(t(Phd.get(b)))});return new Set(a)}),
vUb=Fj(uUb,function(a){return new Set(uUb.filter(function(b){return b!==a&&Jta(sUb.get(b),sUb.get(a))}))});var AUb={componentAdmin:[],componentAdminOnly:[],issueAdminOnly:[],inheritedComponentAdmin:[],issueAdmin:[],editor:[],contributor:[],viewer:[],editExistingIssuesOnly:[],createIssuesOnly:[],commentOnly:[],viewRestricted:[],viewRestrictedPlus:[]},Qhd={admins:[],editors:[],appenders:[],readers:[],restrictedReaders:[],restrictedPlusReaders:[],inheritedAdmins:[],implicitAccess:null};var P8=function(){var a=this;this.accessPolicyApi=r(nD);this.errorHandler=r(CI);this.butterBar=r(fH);this.userAccess=r(uE);this.componentActions=r(oR);this.componentValidator=r(L8);this.analytics=r(OF);this.isAdmin=!1;this.rolesMap=AUb;this.originalComponent=this.parentComponent=this.component=null;this.isUpdatingAccessLimit=this.isUpdatingAccessPolicy=this.isSaving=!1;this.implicitAccess={getValue:function(){return a.componentAccessPolicyUnderEdit?a.componentAccessPolicyUnderEdit.implicitAccess===
"ALLOW":!1},getSavedValue:function(){return a.componentFlattenedAccessPolicy?a.componentFlattenedAccessPolicy.implicitAccess==="ALLOW":!1},setValue:function(b){a.componentAccessPolicyUnderEdit&&(a.componentAccessPolicyUnderEdit=Object.assign({},a.componentAccessPolicyUnderEdit,{implicitAccess:b?"ALLOW":"DENY"}))},isUpdated:function(){var b;return a.componentAccessPolicyUnderEdit.implicitAccess!==((b=a.componentFlattenedAccessPolicy)==null?void 0:b.implicitAccess)}};this.restrictedPlusReadersValidators=
{noRestrictedPlusGroups:function(b){a:{var c=a.issueDefaultFlattenedAccessPolicy;if(b&&c){c=c.restrictedPlusReaders;b=k(b);for(var d=b.next();!d.done;d=b.next())if(d=d.value,d.indexOf("GROUP:")===0&&c.indexOf(d)===-1){c=!1;break a}}c=!0}return c}};this.componentReaders=[];this.issueDefaultFlattenedAccessPolicy=this.componentFlattenedAccessPolicy=Qhd;this.componentAccessPolicyUnderEdit=tq();this.issueDefaultAccessPolicyUnderEdit=tq()};
P8.prototype.hasUnsavedAccessLimitChanges=function(){var a=this.originalComponent,b=this.component;return a&&b?a.accessLimit.accessLevel!==b.accessLimit.accessLevel:!1};
var Rhd=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;jq(a.butterBar,"Changed access level.")},function(b){a.component.accessLimit.accessLevel=a.originalComponent.accessLimit.accessLevel;
var c="Could not change access level. ";Zo(b)&&(c+=$o(b));a.butterBar.showWarning(c)}).finally(function(){a.isUpdatingAccessLimit=!1;a.isSaving=a.isUpdatingAccessPolicy||a.isUpdatingAccessLimit})};P8.prototype.updateComponentAndOriginalComponent=function(a){this.component=pj(a);this.originalComponent=pj(a)};
P8.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)})};P8.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)})};
P8.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=uq(c);b.componentAccessPolicyUnderEdit=pj(b.componentFlattenedAccessPolicy)}).catch(function(c){b.errorHandler.errorHandler(null,c)}),this.accessPolicyApi.get("ISSUE_DEFAULTS",this.componentId).then(function(c){b.issueDefaultFlattenedAccessPolicy=
uq(c);b.issueDefaultAccessPolicyUnderEdit=pj(b.issueDefaultFlattenedAccessPolicy)}).catch(function(c){b.errorHandler.errorHandler(null,c)}),this.loadComponent(),this.loadUserAccess(this.componentId)]).then(function(){})};
var Shd=function(a){a.rolesMap=BUb({componentAccessPolicy:a.componentAccessPolicyUnderEdit,issueAccessPolicy:a.issueDefaultAccessPolicyUnderEdit})},Thd=function(a,b){var c=a.issueDefaultAccessPolicyUnderEdit,d=a.issueDefaultFlattenedAccessPolicy;return d&&DUb(d,c)?a.accessPolicyApi.update("ISSUE_DEFAULTS",a.componentId,b):Promise.resolve(void 0)},Uhd=function(a){var b=CUb(a.componentAccessPolicyUnderEdit,a.componentFlattenedAccessPolicy);var c=a.issueDefaultAccessPolicyUnderEdit;a=a.issueDefaultFlattenedAccessPolicy;
c=!(!a||!DUb(a,c));return b||c},Vhd=function(a,b){return CUb(a.componentAccessPolicyUnderEdit,a.componentFlattenedAccessPolicy)?a.accessPolicyApi.get("COMPONENT",a.componentId).then(function(c){var d=uq(c);if(CUb(d,a.componentAccessPolicyUnderEdit)){if(CUb(d,a.componentFlattenedAccessPolicy))return Promise.reject(new imc("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)};P8.prototype.loadUserAccess=function(a){var b=this;return vE(this.userAccess,"admin","components/"+String(a)).then(function(c){b.isAdmin=c;return b.isAdmin?Promise.resolve(!0):vE(b.userAccess,"writer","components/"+String(a))}).catch(function(c){b.errorHandler.errorHandler(null,c);return Promise.resolve(!1)})};
P8.prototype.doSaveAccessPolicy=function(){var a=this;try{var b=vq(this.componentAccessPolicyUnderEdit);var c=vq(this.issueDefaultAccessPolicyUnderEdit)}catch(d){return c="An unknown problem occurred",d instanceof Error&&(c=d.message),this.butterBar.showWarning(c),Promise.resolve()}if(Uhd(this))return this.isSaving=this.isUpdatingAccessPolicy=!0,jq(this.butterBar,"Saving access settings...",0),Thd(this,c).then(function(d){d&&(b.readers=[].concat(t(d.admins||[]),t(d.editors||[]),t(d.appenders||[]),
t(d.readers||[]),t(d.restrictedPlusReaders||[]),t(d.restrictedReaders||[])));return Vhd(a,b).catch(function(e){var f;return se(function(h){if(h.nextAddress==1)return f=vq(a.issueDefaultFlattenedAccessPolicy),y(h,Thd(a,f),2);throw e;})})}).then(function(){return Rhd(a)}).then(function(){return a.initialize()}).then(function(){var d=a.rolesMap;Shd(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=EUb({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=EUb(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")}jq(a.butterBar,"Access settings saved",
0)}).catch(function(d){a.butterBar.showWarning($o(d),0)}).finally(function(){return se(function(d){if(d.nextAddress==1)return y(d,a.loadUserAccess(a.componentId),2);a.isUpdatingAccessPolicy=!1;a.isSaving=a.isUpdatingAccessPolicy||a.isUpdatingAccessLimit;xe(d)})});Shd(this);return Rhd(this)};
var Whd=function(a,b){b=yUb(b);a.issueDefaultAccessPolicyUnderEdit=Object.assign({},a.issueDefaultAccessPolicyUnderEdit,b.issuesPermissions);a.componentAccessPolicyUnderEdit=Object.assign({},a.componentAccessPolicyUnderEdit,b.componentPermissions)},QUb=function(a,b){a.component&&a.originalComponent&&a.componentFlattenedAccessPolicy&&a.componentAccessPolicyUnderEdit&&a.issueDefaultFlattenedAccessPolicy&&a.issueDefaultAccessPolicyUnderEdit?(Whd(a,b),Khd(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();jq(a.butterBar,"Update failed: Invalid changes to component permissions",0);return Promise.resolve()})):Promise.resolve()};
da.Object.defineProperties(P8.prototype,{componentAccessPolicyUnderEdit:{configurable:!0,enumerable:!0,set:function(a){oj(a,this.componentAccessPolicyUnderEditInternal)||(this.componentAccessPolicyUnderEditInternal=a,this.componentReaders=zUb({componentAccessPolicy:this.componentAccessPolicyUnderEdit,issueAccessPolicy:this.issueDefaultAccessPolicyUnderEdit}))},get:function(){return this.componentAccessPolicyUnderEditInternal}},issueDefaultAccessPolicyUnderEdit:{configurable:!0,enumerable:!0,set:function(a){oj(a,
this.issueDefaultAccessPolicyUnderEditInternal)||(this.issueDefaultAccessPolicyUnderEditInternal=a,this.componentReaders=zUb({componentAccessPolicy:this.componentAccessPolicyUnderEdit,issueAccessPolicy:this.issueDefaultAccessPolicyUnderEdit}))},get:function(){return this.issueDefaultAccessPolicyUnderEditInternal}}});P8.\u0275fac=function(a){return new (a||P8)};P8.\u0275prov=n({token:P8,factory:P8.\u0275fac});var Q8=function(){this.activeSession=r(Bu);this.documentationLinks=r(lI);this.rolesEditor=r(P8);this.AccessLevelStrings=Efc};Q8.prototype.getRecentIssuesLink=function(){return Qp(this.rolesEditor.component.componentId,{includeArchived:this.rolesEditor.component?this.rolesEditor.component.archived:!1})};Q8.prototype.isParentPartner=function(){return!(!this.rolesEditor.parentComponent||!e3a(this.rolesEditor.parentComponent))};
Q8.prototype.isParentPublic=function(){return!(!this.rolesEditor.parentComponent||!Jr(this.rolesEditor.parentComponent))};Q8.\u0275fac=function(a){return new (a||Q8)};
Q8.\u0275cmp=C({type:Q8,selectors:[["access-limit-settings"]],standalone:!1,decls:6,vars:3,consts:[[1,"component-banner"],[1,"component-banner","implicit-access-banner"],["aria-label","Learn more about access control","target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],[1,"component-visibility-settings"],[1,"component-visibility-header"],[1,"access-level-panel"],[1,"access-level-field"],["type","radio","id","access-level-internal","name","accessLevelInternal","value","INTERNAL",3,"disabled",
"ngModel"],["for","access-level-internal"],["type","radio","id","access-level-external-partner","name","accessLevelExternal","value","EXTERNAL_PARTNER",3,"disabled","ngModel"],["for","access-level-external-partner"],[1,"access-level-field","bv2-edit-resource-readonly"],["type","radio","id","access-level-public","name","accessLevelPublic","value","EXTERNAL_PUBLIC",3,"disabled","ngModel"],["for","access-level-public"],[1,"access-level-warning"],["type","radio","id","access-level-internal","name","accessLevelInternal",
"value","INTERNAL",3,"ngModelChange","disabled","ngModel"],["type","radio","id","access-level-external-partner","name","accessLevelExternal","value","EXTERNAL_PARTNER",3,"ngModelChange","disabled","ngModel"],["type","radio","id","access-level-public","name","accessLevelPublic","value","EXTERNAL_PUBLIC",3,"ngModelChange","disabled","ngModel"],["aria-label","Learn more about access level","target","_blank",1,"keep-underline","keep-focus-ring",3,"href"]],template:function(a,b){a&1&&(D(0,JUb,18,7,"div",
0),I(1,"div",1)(2,"p"),Q(3," Access to issues is granted per component using the settings below. All settings provide access to view the component. "),I(4,"a",2),Q(5,"Learn more"),J()()());if(a&2){a:if(b.activeSession.isExternalSession())a=!1;else{if(b.rolesEditor.component)if(b.rolesEditor.component.parentComponentId){if(b.rolesEditor.parentComponent){a=Ir(b.rolesEditor.parentComponent)||Ir(b.rolesEditor.component);break a}}else{a=!1;break a}a=void 0}G(a?0:-1);B(4);Kg("href","",Aq(b.documentationLinks),
"#recommended-role-based-permissions-configurations",vf)}},dependencies:[oi,Qy,Gy,Ny],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 R8=function(){this.documentationLinks=r(lI);this.rolesEditor=r(P8)};R8.prototype.isAccessEditDisabled=function(){return this.rolesEditor.isSaving||!this.rolesEditor.isAdmin};R8.prototype.setImplicitAccess=function(a){this.rolesEditor.implicitAccess.setValue(a)};R8.\u0275fac=function(a){return new (a||R8)};
R8.\u0275cmp=C({type:R8,selectors:[["expanded-access-settings"]],standalone:!1,decls:10,vars:6,consts:[[1,"expanded-access-settings"],[1,"permission-toggle-checkbox"],["ariaLabelledby","expanded-access-help permission-toggle-help",3,"change","checked","disabled"],[1,"permission-toggle-text"],["id","expanded-access-help",1,"edit-field-help"],["id","permission-toggle-help",1,"permission-toggle-help","edit-field-help"],["target","_blank","aria-label","Learn more about expanded access","aria-describedby",
"expanded-access-help",1,"keep-underline","keep-focus-ring",3,"href"]],template:function(a,b){a&1&&(I(0,"div",0)(1,"span",1)(2,"mat-checkbox",2),M("change",function(c){return b.setImplicitAccess(c.checked)}),J()(),I(3,"div",3)(4,"strong",4),Q(5,"Expanded access"),J(),I(6,"div",5),Q(7," When checked, assignees, verifiers, and collaborators can edit issues for this component, and CC'd users can add comments. "),I(8,"a",6),Q(9,"Learn more"),J()()()());a&2&&(sg("bv2-edit-resource-readonly",b.isAccessEditDisabled()),
B(2),E("checked",b.rolesEditor.implicitAccess.getValue())("disabled",b.isAccessEditDisabled()),B(6),Kg("href","",Aq(b.documentationLinks),"#expanded-access",vf))},dependencies:[RH,SH],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 KUb=function(){return{}},MUb=function(a,b){return{displayText:a,values:b}},LUb=function(a){return[a]},NUb=function(){return[]},S8=function(){this.rolesTableData=[];this.canEdit=!1;this.rolesMapUpdated=new aB;this.formIsValid=new aB;this.aclFormValidity=new Map};S8.prototype.getIconName=function(a,b){return a.grantedPermissions[b]?"done":"issue-status-wont-fix"};S8.prototype.updateRolesMap=function(a,b){this.rolesMapUpdated.emit({role:a,assignees:b})};S8.\u0275fac=function(a){return new (a||S8)};
S8.\u0275cmp=C({type:S8,selectors:[["roles-view-table"]],inputs:{rolesTableData:"rolesTableData",displayedTableColumns:"displayedTableColumns",canEdit:"canEdit",accessLevel:"accessLevel"},outputs:{rolesMapUpdated:"rolesMapUpdated",formIsValid:"formIsValid"},standalone:!1,decls:32,vars:0,consts:[["scope","col"],[1,"edit-field"],[1,"role-title"],[3,"htmlFor"],["type","button","mat-icon-button","",3,"matTooltip"],["svgIcon","help-outline"],[3,"usersChange","isValid","idForInputBox","users","ariaLabel",
"accessLevel","customValidators","includeAliases","includeViewAliases","containerChips"],["size","large",3,"name"]],template:function(a,b){a&1&&(I(0,"table")(1,"thead")(2,"tr")(3,"th",0),Q(4,"Role Assignments"),J(),I(5,"th",0)(6,"h6"),Q(7,"Admin Components"),J()(),I(8,"th",0)(9,"h6"),Q(10,"Create Issues"),J()(),I(11,"th",0)(12,"h6"),Q(13,"Admin Issues"),J()(),I(14,"th",0)(15,"h6"),Q(16,"Edit Issues"),J()(),I(17,"th",0)(18,"h6"),Q(19,"Comment on Issues"),J()(),I(20,"th",0)(21,"h6"),Q(22,"View Issues"),
J()(),I(23,"th",0)(24,"h6"),Q(25,"View Restricted"),J()(),I(26,"th",0)(27,"h6"),Q(28,"View Restricted+"),J()()()(),I(29,"tbody"),yg(30,OUb,25,29,"tr",null,xg),J()());a&2&&(B(30),zg(b.rolesTableData))},dependencies:[pB,TK,DM,eB,ly,mB,rB],styles:["table[_ngcontent-%COMP%]{width:100%;font-size:.8125rem;font-family:Roboto,Arial,sans-serif}table[_ngcontent-%COMP%], thead[_ngcontent-%COMP%], tbody[_ngcontent-%COMP%]{display:flex;flex-direction:column}tr[_ngcontent-%COMP%]{display:flex}th[_ngcontent-%COMP%]:first-child{visibility:hidden;flex:0 0 40%}th[_ngcontent-%COMP%]:not(:first-child){width:20em;height:20px;text-align:center}th[_ngcontent-%COMP%]:not(:first-child)   h6[_ngcontent-%COMP%]{display:inline;font-size:.8125rem}td[_ngcontent-%COMP%]:first-child{min-width:250px;flex:0 0 40%}td[_ngcontent-%COMP%]:not(:first-child){display:flex;justify-content:center;width:20em;padding-top:16px}b-multi-user-input[_ngcontent-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%]     td .edit-field{margin:14px 0 0}[_nghost-%COMP%]     td .edit-field .bv2-multi-user-input{width:auto;max-width:100%}[_nghost-%COMP%]     td .edit-field .bv2-multi-user-input input.bv2-multi-user-embedded-input{max-width:100%}[_nghost-%COMP%]     td .edit-field .bv2-multi-user-input .bv2-multi-user-errors{padding:9px}[_nghost-%COMP%]     td .edit-field .bv2-multi-user-input .bv2-user-chip{max-width:100%}[_nghost-%COMP%]     td .edit-field .bv2-multi-user-input .bv2-user-chip .bv2-user-chip-item{display:flex}.role-title[_ngcontent-%COMP%]{display:flex;align-items:center;margin:5px 2px}[_nghost-%COMP%]     .gmat-mdc-button.mat-mdc-icon-button{margin:0 5px;width:24px;height:24px;display:flex;align-items:center;justify-content:center}[_nghost-%COMP%]     .gmat-mdc-button.mat-mdc-icon-button .mat-icon{height:16px;width:16px;--mdc-icon-button-icon-size: 16px}[_nghost-%COMP%]     b-icon{width:2em;margin:30px 0px}/*# sourceMappingURL=roles_view_table.css.map */"]});var T8=function(){this.rolesMap=AUb;this.isSaving=!1;this.saveRolesMap=new aB;this.rolesUnderEdit=AUb;this.formIsValid=!0;this.displayedTableColumns="role componentAdmin createIssues issueAdmin issueEditor issueCommenter issueReader restrictedReader restrictedPlusReader".split(" ");this.standardRolesTableData=[];this.advancedRolesTableData=[]},Xhd=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},Yhd=function(a){return a.advancedRolesTableData.some(function(b){return b.users.length>0})},Zhd=function(a){a.rolesUnderEdit=Object.assign({},a.rolesMap)};g=T8.prototype;g.ngOnInit=function(){Zhd(this);Xhd(this)};
g.ngOnChanges=function(a){a.rolesMap&&Zhd(this);Xhd(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()&&(!oj(this.rolesMap,this.rolesUnderEdit)||this.rolesEditor.implicitAccess.isUpdated()||this.hasUnsavedAccessLimitChanges())&&this.formIsValid};T8.\u0275fac=function(a){return new (a||T8)};
T8.\u0275cmp=C({type:T8,selectors:[["roles-view"]],inputs:{rolesMap:"rolesMap",isSaving:"isSaving",component:"component",rolesEditor:"rolesEditor"},outputs:{saveRolesMap:"saveRolesMap"},standalone:!1,features:[rv],decls:12,vars:11,consts:[[3,"rolesMapUpdated","formIsValid","rolesTableData","displayedTableColumns","canEdit","accessLevel"],["togglePosition","before",1,"mat-elevation-z0",3,"expanded"],["type","button","mat-raised-button","","aria-label","Update","color","primary",3,"click","disabled"],
["type","button","mat-raised-button","","aria-label","Revert Changes",3,"click","disabled"]],template:function(a,b){a&1&&(K(0,"access-limit-settings"),I(1,"roles-view-table",0),M("rolesMapUpdated",function(c){return b.updateRolesMap(c)})("formIsValid",function(c){return b.formIsValid=c}),J(),I(2,"mat-expansion-panel",1)(3,"mat-expansion-panel-header")(4,"mat-panel-title"),Q(5," Advanced Roles "),J()(),I(6,"roles-view-table",0),M("rolesMapUpdated",function(c){return b.updateRolesMap(c)})("formIsValid",
function(c){return b.formIsValid=c}),J()(),K(7,"expanded-access-settings"),I(8,"button",2),M("click",function(){b.canSave()&&b.saveRolesMap.emit(b.rolesUnderEdit)}),Q(9,"Update"),J(),I(10,"button",3),M("click",function(){Zhd(b);Xhd(b)}),Q(11," Revert Changes\n"),J());a&2&&(B(),E("rolesTableData",b.standardRolesTableData)("displayedTableColumns",b.displayedTableColumns)("canEdit",b.canEdit())("accessLevel",b.getComponentAccessLevel()),B(),E("expanded",Yhd(b)),B(4),E("rolesTableData",b.advancedRolesTableData)("displayedTableColumns",
b.displayedTableColumns)("canEdit",b.canEdit())("accessLevel",b.getComponentAccessLevel()),B(2),E("disabled",!b.canSave()),B(2),E("disabled",!!oj(b.rolesMap,b.rolesUnderEdit)))},dependencies:[GY,HY,IY,eB,jy,S8,Q8,R8],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 U8=function(){Z.apply(this,arguments);this.rolesEditor=r(P8);this.route=r(Wi);this.tabIndex=0;this.onTabChange=new aB;this.selectedTabIndex=this.tabIndex};Y(U8,Z);U8.\u0275dir=Z.\u0275dir;U8.prototype.ngOnChanges=function(a){a.tabIndex&&(this.selectedTabIndex=a.tabIndex.currentValue)};
U8.prototype.ngOnInit=function(){var a=this;this.selectedTabIndex=this.tabIndex;this.route.paramMap.pipe(z(function(b){return b.get("componentId")}),Ue(ik),Yf(function(b){return a.rolesEditor.initialize(Number(b))}),Zf(this.destroyed$)).subscribe(function(){Shd(a.rolesEditor)})};
U8.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)};U8.prototype.isSaving=function(){return this.rolesEditor.isSaving};U8.\u0275fac=function(){var a;return function(b){return(a||(a=ee(U8)))(b||U8)}}();
U8.\u0275cmp=C({type:U8,selectors:[["role-based-permissions"]],viewQuery:function(a,b){a&1&&Rg(yN,5,ef);if(a&2){var c;Vg(c=Wg())&&(b.tabs=c)}},inputs:{tabIndex:"tabIndex"},outputs:{onTabChange:"onTabChange"},standalone:!1,features:[ch([P8,L8]),cg,rv],decls:2,vars:2,consts:[[1,"bv2-view-loading"],[1,"padded"],[3,"selectedIndexChange","selectedIndex"],["label","Edit Roles","id","access_roles"],[3,"saveRolesMap","rolesMap","isSaving","component","rolesEditor"],["label","View Permissions","id","access_permissions"],
[3,"componentReaders","componentAccessPolicy","issueAccessPolicy","accessLevel"]],template:function(a,b){a&1&&D(0,PUb,2,0,"div",0)(1,RUb,7,9,"div");a&2&&(G((b.rolesEditor.component==null?0:b.rolesEditor.component.componentId)?-1:0),B(),G((b.rolesEditor.component==null?0:b.rolesEditor.component.componentId)?1:-1))},dependencies:[DN,yN,zN,sL,M8,T8],styles:["/*# sourceMappingURL=role_based_permissions.css.map */"]});var $hd=["archiveDialog"],aid=["archiveButton"],bid=["metadataForm"],V8=function(){Z.apply(this,arguments);var a=this;this.cdr=r(cB,{self:!0});this.routeParams=r(YI);this.bLocation=r(WN);this.templatesApi=r(xD);this.paths=r(IP);this.appHistory=r(c4);this.butterBar=r(fH);this.pageTitle=r(u_);this.activeSession=r(Bu);this.documentationLinks=r(lI);this.matDialogService=r(tI);this.analytics=r(OF);this.checkBeforeExit=r(zS);this.userAccess=r(uE);this.componentActions=r(oR);this.errorHandler=r(CI);this.componentUpdates=
r(A0);this.componentUpdatesApi=r(F8);this.confirmationDialogService=r(AI);this.appEvents=r(yD);this.teamsService=r(DG);this.sloApi=r(vG);this.sloService=r(wG);this.trackerHelpers=r(yH);this.tabsService=r(I8);this.componentId$=new Tf(1);this.componentListRoute=kIa;this.showSloInheritancePath=!1;this.component$=new Xi(null);this.componentTrackerId$=this.component$.pipe(z(function(b){return b==null?void 0:b.trackerId}));this.showTrackerRedirect$=this.componentTrackerId$.pipe(z(function(b){var c,d=(c=
a.activeSession.getTracker())==null?void 0:c.trackerId;return!!d&&d!==b}));this.parentComponent$=new Xi(null);this.componentTeam$=new Xi(null);this.team$=this.componentTeam$.pipe(Yf(function(b){return(b=b==null?void 0:b.id)&&b!=="0"?EG(a.teamsService,b):Ae(null)}));this.parentComponentTeam$=this.parentComponent$.pipe(Yf(function(b){var c;return(b=b==null?void 0:(c=b.team)==null?void 0:c.id)&&b!=="0"?EG(a.teamsService,b):Ae(null)}));this.inheritedSloMetadata$=Ie([this.component$,this.parentComponent$,
this.team$]).pipe(z(function(b){var c=k(b);b=c.next().value;var d=c.next().value;c=c.next().value;if((b==null?0:b.team)&&!b.team.inherit&&b.team.id!=="0"){var e,f=(e=c==null?void 0:c.slo)!=null?e:null;if(f)return{containerType:"TEAM",content:f}}else if(e=(f=d==null?void 0:d.slo)!=null?f:null)return{containerType:"COMPONENT",content:e};return null}));this.inheritedSlo$=this.inheritedSloMetadata$.pipe(Pf(),Yf(function(b){var c="0";b&&(b.containerType==="TEAM"?c=b.content.sloId:b.containerType==="COMPONENT"&&
(c=b.content.id));return c==="0"?Ae({id:"0"}):a.sloService.get(c).then(function(d){return{id:c,slo:d}})}));this.sloPolicySource$=this.inheritedSloMetadata$.pipe(Pf(),Yf(function(b){if(!b)return Ae({name:"None",type:"none"});b=nWb(b);var c=b.sourceTeamId,d=b.sourceComponentId;b=d?Number(d):null;return c&&c!=="0"?a.teamsService.getTeam(c).pipe(z(function(e){var f;return{name:(f=e==null?void 0:e.name)!=null?f:c,type:"team",link:{path:"/teams/"+c+"/edit",fragment:"slo"}}})):b?a.componentActions.get(b).then(function(e){var f;
return{name:(f=e.name)!=null?f:d,type:"component",link:{path:"/components/"+d+"/edit"}}}):Ae(null)}));this.policySourcePath$=Ie([this.component$,this.team$,this.parentComponentTeam$,this.inheritedSloMetadata$]).pipe(z(function(b){var c=k(b);b=c.next().value;var d=c.next().value;var e=c.next().value;c=c.next().value;if(!b||!b.componentPathInfo||!c)return null;var f=nWb(c);c=f.sourceComponentId;d=pWb(d,f.sourceTeamId,b.team,e);return c===null?{componentPath:null,teamPath:d}:{componentPath:oWb(b,c),
teamPath:d}}));this.enableSloLockingCheck=Vt(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=Vt(this.activeSession,"enableSloLockingUi");this.sloLocked$=this.componentId$.pipe(Ue(Boolean),Yf(function(b){return a.sloApi.executor.get({url:"action/components/"+b+"/slo_edit_policy",responseConstructor:Dnc}).pipe(z(uGa))}));this.getSloManagementLink=lIa};Y(V8,Z);V8.\u0275dir=Z.\u0275dir;
V8.prototype.ngOnInit=function(){var a=this;this.componentId=uj(this.routeParams.componentId);this.componentId$.next(String(this.componentId));this.sessionIsExternal=this.activeSession.isExternalSession();this.sessionIsInternal=this.activeSession.isInternalSession();this.subscriptions.add(AS(this.checkBeforeExit,function(){return a.hasUnsavedChanges()},!1));this.loadUserAccess(this.componentId);this.enableSloLockingCheck&&cid(this);this.componentHistoryUiEnabled=this.activeSession.isInternalSession();
did(this);this.subscriptions.add(this.appEvents.customFieldsModified.subscribe(function(b){a.effectiveCustomFields=eid(b)}));this.hasInitialized=!0;this.tabsService.componentReady$.next()};var did=function(a){a=[fid(a,a.componentId),a.loadComponent(a.componentId),a.loadTemplates(a.componentId)];return Promise.all(a).then(function(){})};V8.prototype.isAdmin=function(){return this.isAdminInternal};var yVb=function(a){return a.enableSloLockingCheck?a.isComponentSloEditor:a.isAdmin()};
V8.prototype.isSaving=function(){return this.isUpdating||this.isArchiving};V8.prototype.isArchived=function(){return this.component?this.component.archived:!1};V8.prototype.isPublic=function(){return Jr(this.component)};V8.prototype.isExternal=function(){return Ir(this.component)};var SVb=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||Vt(a.activeSession,"enableEstimatedEffortExternalUi")};
V8.prototype.isParentPublic=function(){return!(!this.parentComponent||!Jr(this.parentComponent))};V8.prototype.isParentPartner=function(){return!(!this.parentComponent||!e3a(this.parentComponent))};var BVb=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};
V8.prototype.hasUnsavedMetadataChanges=function(){return!(oj(this.component,this.originalComponent)&&oj(this.parentComponent,this.originalParentComponent))};V8.prototype.hasUnsavedChanges=function(){return this.hasUnsavedMetadataChanges()};
var gid=function(a){var b=Hj();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:wi("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},hid=function(a){var b=Hj();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:xi([wi('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.'),yi("br",{}),yi("br",{}),wi('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.'),
yi("br",{}),yi("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};V8.prototype.saveMetadata=function(){var a=this;return iid(this)?hid(this).then(function(b){return b?gid(a):Promise.resolve(!1)}).then(function(b){b&&a.doSaveMetadata().then(function(){return did(a)})}):Promise.resolve()};
V8.prototype.doSaveMetadata=function(){var a=this;this.isUpdating=!0;jq(this.butterBar,"Saving changes ...",0);return jid(this).then(function(){a.parentComponent&&(a.component.parentComponentId=a.parentComponent.componentId)}).then(function(){return kid(a)}).then(function(){return lid(a)}).then(function(){return mid(a)}).then(function(){jq(a.butterBar,"Save complete.")}).catch(function(b){a.errorHandler.errorHandler(null,b)}).finally(function(){a.componentUpdatesApi.invalidateCache(a.componentId);
a.isUpdating=!1})};
var jid=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)},kid=function(a){return a.component.slo&&!oj(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)},lid=function(a){return a.component.team&&!oj(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)},mid=function(a){return nid(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)},nid=function(a){var b=pj(a.component);b.team=a.originalComponent.team;b.slo=a.originalComponent.slo;b.parentComponentId=a.originalComponent.parentComponentId;return!oj(a.originalComponent,b)},iid=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};V8.prototype.getComponentAccessLevel=function(){if(this.component&&this.component.accessLimit)return this.component.accessLimit.accessLevel};var fid=function(a,b){return a.componentActions.getChildren(b).then(function(c){a.childComponents=c}).catch(function(c){a.errorHandler.errorHandler(null,c)})};
V8.prototype.revertMetadataChanges=function(){this.updateComponentAndOriginalComponent(this.originalComponent);this.error="";this.parentComponent=pj(this.originalParentComponent);this.parentComponent$.next(this.parentComponent);this.commentEditsEnabled=this.component.commentEditState=="ENABLED"};
var WVb=function(a){a.componentActions.getUncached(a.componentId).then(function(b){a.effectiveCustomFields=eid(b.componentPathInfo.allCustomField)})},eid=function(a){return a?a.filter(function(b){return b.enabledOnIssues}):[]};
V8.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=eid(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()})};V8.prototype.loadUserAccess=function(a){var b=this,c=zn("COMPONENT",a);vE(this.userAccess,"admin",c).then(function(d){b.isAdminInternal=d;return b.isAdminInternal?!0:vE(b.userAccess,"writer",c)}).then(function(d){b.isEditorInternal=d}).catch(function(d){b.errorHandler.errorHandler(null,d)})};
var cid=function(a){vE(a.userAccess,"writer",zn("COMPONENT_SLO",a.componentId)).then(function(b){a.isComponentSloEditor=b})},cVb=function(a){var b,c=ou(a.trackerHelpers,(b=a.parentComponent)==null?void 0:b.componentPathInfo);return Hp(a.activeSession)&&(!c||!c.componentPathId||c.componentPathId.length===0)},MVb=function(a){return a.isSaving()||!a.isEditorInternal};g=V8.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=pj(c);return c}).catch(function(c){b.errorHandler.errorHandler(null,c)})};g.getRecentIssuesLink=function(){var a=this.isArchived();return Qp(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(Qq.createComponent.makeHref(this.component.componentId))};g.trackClick=function(a){this.analytics.trackEvent("editComponent","click",a)};
var SUb=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,jq(a.butterBar,"Looking up subcomponents...",0),a.componentActions.getDescendants(a.component.componentId).then(function(b){a.butterBar.dismiss();a.descendants=b;nI(a.matDialogService.open(a.confirmArchiveDialog,{restoreFocus:!1})).pipe(Zf(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.")};
V8.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 Nl(a);case "UNSPECIFIED_RETENTION":return"Retention period unspecified";default:Db(b,"unexpected value "+b+"!")}};
V8.prototype.archive=function(){var a=this;this.isArchiving=!0;jq(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);jq(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;jq(a.butterBar,"Could not "+a.archiveAction.toLowerCase()+" component: "+(Zo(b)?$o(b):b));a.isArchiving=!1})};
V8.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)})};
V8.prototype.setCommentEditState=function(a){this.commentEditsEnabled=a;this.component.commentEditState=this.commentEditsEnabled?"ENABLED":"DISABLED"};
var oid=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=Hqb(d.addMask.paths),h=Hqb(d.removeMask.paths),l={author:d.author||null,timestamp:d.timestamp||null,diffs:[]},q=d.add;d=d.remove;for(var u=k(new Set([].concat(t(f),t(h)))),A=u.next();!A.done;A=u.next()){var F=A.value;if(A=D7c.get(F))if(F==="name"){var H=Wt(h,F,d.name);F=Wt(f,F,q.name);l.diffs.push(Xt(A,H,F))}else if(F==="description")H=
Wt(h,F,d.description),F=Wt(f,F,q.description),l.diffs.push(Xt(A,H,F));else if(F==="parentComponentId")H=Wt(h,F,String(d.parentComponentId)),F=Wt(f,F,String(q.parentComponentId)),l.diffs.push(Xt(A,H,F));else if(F==="isArchived")H=Wt(h,F,String(d.archived)),F=Wt(f,F,String(q.archived)),l.diffs.push(Xt(A,H,F));else if(F==="commentEditState"){var N=E7c.get(d.commentEditState);H=E7c.get(q.commentEditState);N&&H&&(N=Wt(h,F,N),F=Wt(f,F,H),l.diffs.push(Xt(A,N,F)))}else F==="defaultTemplateId"?(H=Wt(h,F,String(d.defaultTemplateId)),
F=Wt(f,F,String(q.defaultTemplateId)),l.diffs.push(Xt(A,H,F))):F==="slo"?e.sessionIsInternal&&(H=Wt(h,F,Nqb(d.slo)),F=Wt(f,F,Nqb(q.slo)),l.diffs.push(Xt(A,H,F))):F==="team"?e.sessionIsInternal&&(H=Wt(h,F,Oqb(d.team)),F=Wt(f,F,Oqb(q.team)),l.diffs.push(Xt(A,H,F))):F==="retentionSettings"?(H=Wt(h,F,Lqb(d.retentionSettings)),F=Wt(f,F,Lqb(q.retentionSettings)),l.diffs.push(Xt(A,H,F))):e.$log.error("Unsupported diff field "+F)}return l}).filter(function(d){return d.diffs.length})}).catch(function(c){a.errorHandler.errorHandler(null,
c)}):Promise.reject(Error())};V8.prototype.showUpdateHistoryModal=function(){var a=this;oid(this,this.componentId).then(function(){a.matDialogService.open(O5,{width:"600px",data:{updateDiffs:a.updateDiffs}});a.analytics.trackEvent("updateHistoryModal","open");a.analytics.trackEvent("component","viewHistory")})};V8.prototype.onSloChange=function(a){this.component.slo.id=a?a.sloId:"0";a&&pid(this)};
var wVb=function(a){var b=!!a.parentComponent,c=a.component.team.id!=="0";return yVb(a)&&(c||b)},DVb=function(a){var b=!a.component.team||a.component.team.id==="0",c=!a.parentComponent;return yVb(a)&&(!a.component.slo.inherit||c&&b)},gVb=function(a){var b,c,d,e;se(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?y(f,Fe(a.team$.pipe(z(function(h){a.component.slo.id=
h.slo.sloId;pid(a)}))),0):(d=qid(a),e=d.id,a.component.slo.id=e,pid(a),f.jumpTo(0))})},CVb=function(a){var b=a.parentComponent||a.isParentComponentRequired;return a.component.team.id!=="0"||b?!0:!1},qid=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}},PVb=function(a,b){jq(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;jq(a.butterBar,((f=a.component.effortSpec)==null?void 0:f.name)+" saved")}else jq(a.butterBar,"Estimated Effort saved")}).catch(function(c){a.errorHandler.errorHandler(null,c)}))};
V8.prototype.updateComponentAndOriginalComponent=function(a){this.component=pj(a);this.component$.next(this.component);this.originalComponent=pj(a);var b;this.componentTeam$.next((b=this.component.team)!=null?b:null);pid(this)};V8.prototype.back=function(){d4(this.appHistory)};var pid=function(a){var b;((b=a.component)==null?0:b.slo)?a.isEnableSloChecked=a.component.slo.id!=="0":a.isEnableSloChecked=!1};V8.\u0275fac=function(){var a;return function(b){return(a||(a=ee(V8)))(b||V8)}}();
V8.\u0275cmp=C({type:V8,selectors:[["manage-component-page"]],viewQuery:function(a,b){a&1&&(Rg($hd,5),Rg(aid,5),Rg(bid,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)}},standalone:!1,features:[ch([cB]),cg],decls:3,vars:3,consts:[["archiveDialog",""],["archiveButton",""],["basic",""],["customFields",""],["fieldOrdering",""],["templatesList",""],["access",""],["metadataForm",""],[1,"bv2-limited-issue-view"],[1,
"kd-appbar"],[1,"kd-buttonbar"],[1,"bv2-appbar-left"],["format","icon","size","large","tooltip","Go back","ariaLabel","Go back",3,"onAction"],["name","arrow-backward","size","large"],["cdkScrollable","",1,"bv2-view"],[1,"bv2-view-loading"],["mat-button","",3,"routerLinkObj"],["format","flat",3,"disabled"],["format","flat",3,"tooltip","disabled"],["format","flat",3,"onAction","disabled"],["format","flat",3,"onAction","tooltip","disabled"],[1,"edit-resource-header"],[1,"resource-archived"],[1,"keep-focus-ring",
"margin-s-right",3,"click","routerLinkObj"],[3,"accessLevel"],[3,"trackerId"],[1,"component-hierarchy-container"],["componentPathsLinkTo","settings",3,"componentPathInfo","isArchived","label"],[1,"float-clear"],["gmat-tabs","",1,"bv2-tab-bar",3,"selectedIndexChange","selectedIndex"],["label","Basic Information",3,"id"],[4,"ngTemplateOutlet"],[3,"id","label"],["label","Field Ordering",3,"id"],["label","Templates",3,"id"],["label","Access Control",3,"id"],[1,"edit-resource-panel"],["name","metadataForm"],
[3,"error"],["aria-label","Name",1,"edit-field"],["for","component-name",1,"required"],[1,"edit-field-header"],["type","text","name","name","required","","id","component-name",3,"ngModelChange","ngModel","disabled"],["aria-label","Description",1,"edit-field"],["tabindex","0",1,"field-label-with-help","keep-focus-ring"],["aria-describedby","component-description-bubble","for","component-description",1,"help-label"],[1,"help-container"],["id","component-description-bubble",1,"help-bubble","jfk-bubble"],
[1,"jfk-bubble-arrow","jfk-bubble-arrowleft"],[1,"jfk-bubble-arrowimplbefore"],[1,"jfk-bubble-arrowimplafter"],["name","description","aria-describedby","component-description-bubble","id","component-description",3,"ngModelChange","ngModel","disabled"],["tabindex","0","aria-label","Parent component",1,"edit-field"],["role","region","aria-label","Editable Comments",1,"edit-field","permission-toggle"],[1,"permission-toggle-checkbox"],["ariaLabelledby","editable-comments-label permission-toggle-help",
3,"change","checked","disabled"],["id","editable-comments-label",1,"edit-field-help"],["id","permission-toggle-help",1,"permission-toggle-help","edit-field-help"],["target","_blank","aria-label","Learn more about editable comments",1,"keep-underline","keep-focus-ring",3,"href"],["role","region","aria-label","Retention Settings",1,"edit-field",3,"bv2-edit-resource-readonly"],["role","region","tabindex","0","aria-label","Team Configuration",1,"edit-field",3,"bv2-edit-resource-readonly"],["role","region",
"tabindex","0","aria-label","SLO Configuration",1,"edit-field",3,"bv2-edit-resource-readonly"],["aria-label","Component alias",1,"edit-field","bv2-edit-resource-readonly"],["aria-describedby","edit-alias-help-bubble",1,"help-label"],["id","edit-alias-help-bubble",1,"help-bubble","jfk-bubble"],["aria-label","Learn more about component alias","target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],[3,"href"],["name","spam-protection-enable","labelPosition","before",1,"spam-protection-enable",
3,"checked","disabled"],[1,"edit-button-row"],[1,"edit-button-group"],["format","hairline","title","View history for 'Basic Information'"],[1,"edit-field","bv2-edit-resource-readonly"],[3,"children"],["aria-describedby","edit-parent-help-bubble","for","component-parent-id",1,"help-label"],["id","edit-parent-help-bubble",1,"help-bubble","jfk-bubble"],["id","component-parent-id",3,"selectedComponentChange","selectedComponent","placeholder","isRequired"],["role","region","aria-label","Retention Settings",
1,"edit-field"],["for","retention-settings",1,"required"],[1,"edit-field-help"],["target","_blank","aria-label","Learn more about choosing a period of time to retain the data stored in this component.",1,"keep-underline","keep-focus-ring",3,"href"],["id","retention-settings"],[3,"modelChange","validChange","issueRetentionDisabled","isExternal","componentPathInfo","componentId","initialModel"],["role","region","tabindex","0","aria-label","Team Configuration",1,"edit-field"],["for","team-picker"],["id",
"team-picker"],[3,"modelChange","isAdmin","isTopLevel","parentModel","useInternalLink","anchorTarget","model"],["role","region","tabindex","0","aria-label","SLO Configuration",1,"edit-field"],["aria-describedby","edit-slo-help-bubble",1,"help-label"],["id","edit-slo-help-bubble",1,"help-bubble","jfk-bubble"],[1,"metadata","muted"],[1,"slo-policy-link"],[1,"slo-policy-source-link"],[1,"slo-admins-link"],[1,"lock-state"],[1,"edit-field","less-margin"],[3,"routerLinkObj"],[1,"keep-focus-ring","slo-inheritance-link",
3,"routerLinkObj"],["mat-stroked-button","","type","button","aria-label","Display the full SLO inheritance path below",1,"slo-inheritance-path","small",3,"click"],[1,"slo-breadcrumbs"],[3,"componentPath","teamPath"],["target","_blank",1,"keep-focus-ring",3,"routerLinkObj"],["svgIcon","lock-outline"],["svgIcon","lock-open"],["gmat-checkbox","",1,"slo-override",3,"change","checked","disabled"],[1,"edit-field","component-slo-justification-text"],["name","slo-enable","labelPosition","before",1,"slo-enable",
3,"ngModelChange","change","ngModel","disabled"],[1,"edit-field","component-slo-id-select"],["for","component-slo-id"],["id","component-slo-id","aria-describedby","edit-slo-help-bubble","tabindex","-1",1,"bv2-slo-picker","bv2-picker",3,"onSloSelect","bv2Disabled","boundId","bv2Placeholder"],["mat-icon-button","","aria-label","Go to SLO management page","matTooltip","Go to SLO management page.",1,"small",3,"routerLinkObj","target"],["for","component-slo-justification","id","component-settings-slo-justification-label",
1,"required"],["svgIcon","help-outline","tabindex","0","aria-hidden","false","matTooltip","Justification is required to override the org SLO.","aria-label","Justification is required to override the org SLO.",1,"slo-info","icon-s","valign-middle"],["name","comment","aria-labelledby","component-settings-slo-justification-label","required","",3,"ngModelChange","ngModel","disabled"],["svgIcon","pop-out",1,"icon-s"],["name","spam-protection-enable","labelPosition","before",1,"spam-protection-enable",
3,"change","checked","disabled"],["format","fill",3,"onAction","disabled"],["format","hairline",3,"onAction","disabled"],["format","hairline","title","View history for 'Basic Information'",3,"onAction"],[3,"onVisit","children"],["aria-label","Standard Fields",1,"heading-m","padded-x","margin-top"],[3,"effortSpec","parentEffortSpec","disabled"],["aria-label","Custom Fields",1,"heading-m","padded-x","margin-top"],[3,"editMode","isSaving","component","parentComponent"],[3,"updateComponent","effortSpec",
"parentEffortSpec","disabled"],[1,"component-banner","implicit-access-banner"],["aria-label","Learn more about field ordering","target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],[3,"onReload","fields","componentId","fieldOrdering","isAdmin"],[3,"componentId","supportCustomFields"],[1,"component-field"],[3,"onTabChange","tabIndex"],["mat-dialog-title",""],[1,"b-archive-component-list"],["type","button","mat-flat-button","","mat-dialog-close","","aria-label","Click to archive the component",
"color","primary",3,"click"],["type","button","mat-button","","mat-dialog-close","","aria-label","Click to close the dialog without archiving the component",3,"click"],["aria-label","Learn more about archiving components","target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],["aria-label","Learn more about buganizer retention","target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],["aria-label","Learn more on how to recursively unarchive subcomponents","target","_blank",1,"keep-underline",
"keep-focus-ring",3,"href"],[3,"component"]],template:function(a,b){a&1&&(D(0,lWb,11,3),S(1,"async"),D(2,mWb,2,1,"div",8));a&2&&G(U(1,1,b.showTrackerRedirect$)?2:0)},dependencies:[dQ,dw,pB,iC,IN,mR,D0,k5,Odd,t5,I1,J2,z5,Oy,oi,Gy,Hy,Yy,Ny,Ly,DM,eB,ky,jy,my,RH,SH,uI,wI,yI,xI,nx,fQ,gQ,DN,yN,zN,mB,rB,J3,U8,G8,H3,sL,tR,lL,E7,ew,gw],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 rid=["deleteTriageDialog"],mXb=function(a){return{value:a}},OWb=function(a){return[a]},PWb=function(){return[]},sid={BASIC:"basic",SLO:"slo",MAPPINGS:"componentMapping",TRIAGE:"triage"},W8=function(){Z.call(this);var a=this;this.activeSession=r(Bu);this.accessPolicyApi=r(nD);this.appHistory=r(c4);this.butterBar=r(fH);this.checkBeforeExit=r(zS);this.componentActions=r(oR);this.errorHandler=r(CI);this.location=r(WN);this.matDialogService=r(tI);this.pageTitle=r(u_);this.routeParams=r(YI);this.teamsService=
r(DG);this.userAccess=r(uE);this.starredTeamsService=r(VG);this.sloApi=r(vG);this.sloService=r(wG);this.triageViewConfigDialogService=r(BY);this.tableColumns=["starred","name","actions"];this.originalSloLock=!1;this.canEditSloLock=!0;this.sloJustification$=new Xi("");this.error="";this.justificationRequiredText="Justification is required to override the org SLO.";this.selectedTabIndex=0;this.teamId=this.routeParams.teamId;this.team$=new Tf(1);this.teamSlo$=this.team$.pipe(z(function(e){return e.slo}));
this.isEscalationOwnerValid=!1;this.escalationOwnerEmail$=new Xi("");this.escalationOwner$=new Xi("");this.escalationOwnerUserValidators={escalationOwnerNotUser:function(e){if(e){e=k(e);for(var f=e.next();!f.done;f=e.next())if(f.value.indexOf("USER:")!==0)return!1}return!0}};this.escalationOwnerGooglerValidators={escalationOwnerNotGoogler:function(e){if(e){e=k(e);for(var f=e.next();!f.done;f=e.next())if(f.value.indexOf("UNRESTRICTED_GOOGLER:")!==0)return!1}return!0}};this.starredTriageViews$=this.starredTeamsService.starredTriageViews$;
this.teamAdmins$=re(this.accessPolicyApi.get("TEAM",this.teamId)).pipe(z(function(e){return e.admins.filter(Zta).map(mq)}));this.teamLeads$=this.team$.pipe(z(function(e){return e.members.filter(function(f){return f.isLead}).map(function(f){var h,l;return"USER:"+((l=(h=f.user)==null?void 0:h.emailAddress)!=null?l:"")})}));this.adminsAndLeads$=Ie([this.teamAdmins$,this.teamLeads$]).pipe(z(function(e){var f=k(e);e=f.next().value;f=f.next().value;var h=new Set(e);f=f.filter(function(l){return!h.has(l)});
return[].concat(t(e),t(f))}));this.associatedComponents$=re(this.componentActions.search("directteamid:"+this.teamId));this.childTeams$=this.teamsService.getChildTeams([this.teamId]).pipe(z(function(e){return e.values().next().value}));this.teamPath$=this.team$.pipe(z(function(e){var f=e.pathNames;return e.pathIds.map(function(h,l){return{id:h,name:f[l]}})}));this.isRootTeam$=this.teamPath$.pipe(z(function(e){return e.length<=1?!0:!1}));this.parentTeam$=Ie([this.isRootTeam$,this.teamPath$]).pipe(Yf(function(e){var f=
k(e);e=f.next().value;f=f.next().value;return e?Ae(null):a.teamsService.getTeam(f[f.length-2].id)}));this.parentTeam=null;this.inheritedSlo$=this.parentTeam$.pipe(Yf(function(e){var f=e==null?void 0:e.slo.sloId;return f&&f!=="0"?a.sloService.get(f).then(function(h){return{id:f,link:lIa(f),slo:h}}):Ae({id:"0"})}));this.sloPolicySource$=Ie([this.parentTeam$,this.teamPath$]).pipe(z(function(e){var f=k(e);e=f.next().value;f=f.next().value;var h=e==null?void 0:e.slo.sourceTeamId;e=f.find(function(l){return l.id===
h});return h&&e?{name:e.name,link:{path:"/teams/"+h+"/edit",fragment:"slo"}}:null}));this.sloLock$=this.sloApi.executor.get({url:"action/teams/"+this.teamId+"/slo_edit_policy",responseConstructor:Enc}).pipe(z(sGa));this.Tab=sid;this.enableSloLockingUi=Vt(this.activeSession,"enableSloLockingUi");this.enableTeamScope=Vt(this.activeSession,"enableTeamScope")&&this.activeSession.isInternalSession();this.isSloInheritEnabled$=new Xi(!0);this.isOwnerInheritEnabled$=new Xi(!0);this.sloId$=new Xi("0");this.enableSloCheckedInternal=
!1;this.sloLocked$=new Xi(!1);this.hasSloReadAccess$=this.sloId$.pipe(Yf(function(e){return vE(a.userAccess,"reader","slos/"+e)}),Xf(!1));this.sloPickerLink$=Ie([this.sloId$,this.hasSloReadAccess$]).pipe(z(function(e){var f=k(e);e=f.next().value;f=f.next().value;return e&&Number(e)>0&&f?lIa(e):null}));this.hasUnsavedChanges$=Ie([this.team$,this.sloId$,this.isSloInheritEnabled$,this.isOwnerInheritEnabled$,this.sloLocked$,this.sloJustification$,this.escalationOwnerEmail$]).pipe(z(function(e){var f=
k(e);e=f.next().value;var h=f.next().value;var l=f.next().value;var q=f.next().value;var u=f.next().value;var A=f.next().value;f=f.next().value;var F=e.slo,H,N=(H=e.extra)==null?void 0:H.inheritEscalationOwner,O,T,ea,ka,oa,La;H=N?(oa=(O=e.extra)==null?void 0:(T=O.defaultEscalationOwner)==null?void 0:T.emailAddress)!=null?oa:"":(La=(ea=e.extra)==null?void 0:(ka=ea.escalationOwner)==null?void 0:ka.emailAddress)!=null?La:"";return F.inherit!==l||N!==q||F.sloId!==h||u!==a.originalSloLock||F.comment!==
A||H!==f}));this.teamExperiments={id:this.teamId,triage:[{id:0}]};this.hasTeamEditAccess=this.hasSloEditAccess=!1;this.starInProgress={};this.team$.pipe(Zf(this.destroyed$)).subscribe(function(e){a.pageTitle.setTitle("Team: "+e.name)});var b=Vt(this.activeSession,"enableSloLockingCheck"),c="teams/"+this.teamId;vE(this.userAccess,"writer",b?"teams/"+this.teamId+"/slo":c).then(function(e){a.hasSloEditAccess=e});vE(this.userAccess,"writer",c).then(function(e){a.hasTeamEditAccess=e});var d=sp(this.hasUnsavedChanges$.pipe(Zf(this.destroyed$)),
!1);this.subscriptions.add(AS(this.checkBeforeExit,function(){return d.getValue()},!1))};Y(W8,Z);W8.\u0275dir=Z.\u0275dir;
W8.prototype.ngOnInit=function(){var a=this,b,c,d,e;return se(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),te(f,2),y(f,Fe(a.teamsService.get(a.teamId)),4);case 4:c=f.yieldResult;Hu(f,3);break;case 2:return we(f),a.butterBar.showWarning("Unable to fetch team ID '"+a.teamId+"'"),f.return();case 3:return a.team$.next(c),
SWb(a),y(f,Fe(a.parentTeam$),5);case 5:a.parentTeam=f.yieldResult||null;if(!a.enableTeamScope){f.jumpTo(0);break}return y(f,Fe(Snc(a.teamsService,a.teamId)).catch(function(){}),7);case 7:d=f.yieldResult,a.teamExperiments=(e=d)!=null?e:{id:a.teamId,triage:[{id:0}]},xe(f)}})};W8.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)};
W8.prototype.onSloChange=function(a){a&&(this.sloId=a.sloId)};
var RWb=function(a,b){var c,d,e,f,h,l,q;return se(function(u){switch(u.nextAddress){case 1:if(!a.validate())return u.return();jq(a.butterBar,"Saving changes...",0);te(u,2);if(((c=b.extra)==null?void 0:(d=c.escalationOwner)==null?void 0:d.emailAddress)===a.escalationOwnerEmail){u.jumpTo(4);break}var A,F;var H=a.teamsService.updateTeam(Object.assign({},b,{extra:{escalationOwner:{emailAddress:a.escalationOwnerEmail},defaultEscalationOwner:{emailAddress:(A=b.extra)==null?void 0:(F=A.defaultEscalationOwner)==
null?void 0:F.emailAddress},inheritEscalationOwner:a.isOwnerInheritEnabled}}));return y(u,Fe(H),5);case 5:e=u.yieldResult,a.team$.next(e);case 4:if(a.sloLocked===a.originalSloLock){u.jumpTo(6);break}H=a.sloApi;A=a.teamId;F=a.sloLocked;var N=new tG;F=ck(N,2,F?1:2).setTeamId(Number(A));H=H.executor.post({url:"action/teams/"+A+"/slo_edit_policy",responseConstructor:Gnc,body:F}).pipe(z(sGa));return y(u,Fe(H),7);case 7:f=u.yieldResult,a.originalSloLock=f;case 6:h=b.slo;if(h.inherit===a.isSloInheritEnabled&&
h.sloId===a.sloId&&a.originalSloLock===a.sloLocked&&h.comment===a.sloJustification){u.jumpTo(8);break}F={sloId:a.sloId,inherit:a.isSloInheritEnabled,comment:a.isSloInheritEnabled?"":a.sloJustification$.getValue(),sourceTeamId:"0"};H=a.teamsService;A=a.teamId;F=(new BG).setIt(iBa(F));H=H.executor.post({url:"/action/teams/"+A+"/update_slo",body:F,responseConstructor:yG}).pipe(z(AGa));return y(u,Fe(H),9);case 9:l=u.yieldResult,a.team$.next(l);case 8:jq(a.butterBar,"Save complete.");Hu(u,0);break;case 2:q=
we(u),EI(a.errorHandler,q),xe(u)}})},tid=function(a){var b,c;se(function(d){if(d.nextAddress==1)return jq(a.butterBar,"Saving changes...",0),y(d,Fe(Tnc(a.teamsService,a.teamExperiments)),2);b=d.yieldResult;jq(a.butterBar,"Save complete.");a.teamExperiments=(c=b)!=null?c:{id:a.teamId,triage:[{id:0}]};xe(d)})};
W8.prototype.validate=function(){if(!this.isSloInheritEnabled&&this.sloJustification$.getValue()==="")return this.error="Justification is required",!1;if(!this.isEscalationOwnerValid)return this.error="Please provide a valid owner",!1;this.error="";return!0};W8.prototype.isTriageStarred=function(a,b,c){return c.some(function(d){return d.triageId===a.toString()&&d.teamId===b})};
var MWb=function(a){Fe(a.team$).then(function(b){var c,d,e;b=(e=(c=b.extra)==null?void 0:(d=c.defaultEscalationOwner)==null?void 0:d.emailAddress)!=null?e:"";a.escalationOwner=b?"USER:"+b:""})},uid=function(a){Fe(a.team$).then(function(b){b=b.extra;var c,d,e=(b==null?0:b.inheritEscalationOwner)?b==null?void 0:(c=b.defaultEscalationOwner)==null?void 0:c.emailAddress:b==null?void 0:(d=b.escalationOwner)==null?void 0:d.emailAddress;a.escalationOwner=e?"USER:"+e:"";var f;a.isOwnerInheritEnabled=(f=b==
null?void 0:b.inheritEscalationOwner)!=null?f:!0})},vid=function(a){Fe(a.teamSlo$).then(function(b){a.sloId=b.sloId;a.isSloInheritEnabled=b.inherit;a.sloJustification$.next(b.comment)})},wid=function(a){Fe(a.sloLock$).then(function(b){a.originalSloLock=b;a.sloLocked=b})},SWb=function(a){a.error="";uid(a);vid(a);a.enableSloLockingUi&&wid(a)};W8.prototype.back=function(){d4(this.appHistory)};W8.prototype.getTriageLink=function(a,b){return Qq.viewTriage.makeHref(b,a)};
W8.prototype.toggleStar=function(a,b){var c=this,d;return se(function(e){if(e.nextAddress==1){d=a+":"+b;if(c.starInProgress[d])return e.jumpTo(0);c.starInProgress[d]=!0;return y(e,soc(c.starredTeamsService,a.toString(),b),3)}c.starInProgress[d]=!1;xe(e)})};
var fXb=function(a,b,c){var d,e,f,h;return se(function(l){if(l.nextAddress==1){d=a.teamExperiments.triage.find(function(q){return q.id===b});if(!d)return l.return();e={teamExperiments:a.teamExperiments,teamName:c.name,triage:d};return y(l,Fe(Ae(a.triageViewConfigDialogService.show(e))),2)}if(l.nextAddress!=3)return(f=l.yieldResult)?y(l,Fe(Snc(a.teamsService,a.teamId)),3):l.return();if(h=l.yieldResult)a.teamExperiments=h;xe(l)})},jXb=function(a,b){var c,d,e;return se(function(f){if(f.nextAddress==
1)return c={teamExperiments:a.teamExperiments,teamName:b.name},y(f,Fe(Ae(a.triageViewConfigDialogService.show(c))),2);if(f.nextAddress!=3)return(d=f.yieldResult)?y(f,Fe(Snc(a.teamsService,a.teamId)),3):f.return();if(e=f.yieldResult)a.teamExperiments=e;xe(f)})},xid=function(a,b){var c=a.teamExperiments.triage.findIndex(function(d){return d.id===b});c!==-1&&(a.teamExperiments.triage.splice(c,1),tid(a))},dXb=function(a,b){nI(a.matDialogService.open(a.deleteTriageDialog,{data:b})).pipe(Zf(a.destroyed$)).subscribe(function(c){c&&
xid(a,b.id)})};
da.Object.defineProperties(W8.prototype,{sloJustification:{configurable:!0,enumerable:!0,get:function(){return this.sloJustification$.getValue()}},escalationOwnerEmail:{configurable:!0,enumerable:!0,get:function(){return this.escalationOwnerEmail$.getValue()}},escalationOwner:{configurable:!0,enumerable:!0,set:function(a){a!==this.escalationOwner$.getValue()&&(this.escalationOwner$.next(a),this.escalationOwnerEmail$.next(a?a.split(":")[1]:""))},get:function(){return this.escalationOwner$.getValue()}},isSloInheritEnabled:{configurable:!0,
enumerable:!0,set:function(a){a!==this.isSloInheritEnabled$.getValue()&&this.isSloInheritEnabled$.next(a)},get:function(){return this.isSloInheritEnabled$.getValue()}},isOwnerInheritEnabled:{configurable:!0,enumerable:!0,set:function(a){a!==this.isOwnerInheritEnabled$.getValue()&&this.isOwnerInheritEnabled$.next(a)},get:function(){return this.isOwnerInheritEnabled$.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()}}});W8.\u0275fac=function(a){return new (a||W8)};
W8.\u0275cmp=C({type:W8,selectors:[["manage-team-page"]],viewQuery:function(a,b){a&1&&(Rg(rid,5),Rg(yN,5,ef));if(a&2){var c;Vg(c=Wg())&&(b.deleteTriageDialog=c.first);Vg(c=Wg())&&(b.tabs=c)}},standalone:!1,features:[cg],decls:10,vars:3,consts:[["deleteTriageDialog",""],[1,"kd-appbar"],[1,"kd-buttonbar"],[1,"bv2-appbar-left"],["type","button","mat-icon-button","","aria-label","Go back","color","primary","ngClass","large","matTooltip","Go back",3,"click"],["svgIcon","arrow-backward",1,"icon-m"],["cdkScrollable",
"",1,"bv2-view"],[1,"edit-resource-header"],["target","_blank",3,"href"],["svgIcon","pop-out",1,"icon-s"],[1,"team-hierarchy-container"],["gmat-tabs","","mat-align-tabs","start",3,"selectedIndexChange","selectedIndex"],["label","Basic Information",3,"id"],[1,"edit-resource-panel"],[1,"edit-field"],[1,"field-label"],[1,"edit-field-header"],[1,"description"],[1,"field-label-with-help"],[1,"help-label"],[1,"help-container"],[1,"help-bubble","jfk-bubble"],[1,"jfk-bubble-arrow","jfk-bubble-arrowleft"],
[1,"jfk-bubble-arrowimplbefore"],[1,"jfk-bubble-arrowimplafter"],[3,"users"],["label","Team SLO",3,"id"],["id","edit-slo-help-bubble",1,"help-bubble","jfk-bubble"],[1,"metadata","muted"],[1,"slo-policy-link"],[1,"slo-policy-source-link"],[1,"slo-inheritance-link",3,"routerLinkObj"],[1,"lock-state"],[3,"error"],[1,"edit-button-row"],["label","Component mapping",3,"id"],["label","Triage",3,"id"],[3,"teamPath"],[3,"routerLink"],[3,"routerLinkObj"],["svgIcon","lock-outline"],["svgIcon","lock-open"],[1,
"edit-field","less-margin"],["gmat-checkbox","",1,"override-slo",3,"change","disabled","checked"],[1,"edit-field","slo-justification"],["name","slo-enable","labelPosition","before",1,"slo-enable",3,"ngModelChange","change","ngModel","disabled"],[1,"team-slo-id-select",3,"onSloSelect","boundId","bv2Disabled","bv2Placeholder"],["mat-icon-button","","matTooltip","Go to SLO management page",1,"small","slo-link",3,"routerLinkObj","target"],["id","team-slo-justification-label",1,"required"],["svgIcon",
"help-outline",1,"icon-s","valign-middle",3,"matTooltip"],["aria-labelledby","team-slo-justification-label","required","",1,"slo-justification-text",3,"ngModelChange","ngModel","disabled"],["gmat-checkbox","",1,"slo-lock",3,"change","checked","disabled"],["idForInputBox","team-owner","ariaLabel","Escalation owner email",3,"usersChange","isValid","users","customValidators","detailedUserValidators","maxUserAllowed"],["gmat-checkbox","",1,"override-owner",3,"change","checked","disabled"],[1,"edit-button-group"],
["type","button","gmat-mdc-button","","mat-flat-button","","color","primary",3,"click","disabled"],["type","button","gmat-mdc-button","","mat-stroked-button","","color","primary",3,"click","disabled"],["mat-table","",1,"full-width",3,"dataSource"],["matColumnDef","starred"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","name"],["mat-cell","","class","triage-name",4,"matCellDef"],["matColumnDef","actions"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row",
"",4,"matRowDef","matRowDefColumns"],["type","button","mat-button","","color","primary",3,"click","disabled"],["mat-header-cell",""],[1,"a11y-only"],["mat-cell",""],["tabindex","-1",3,"starClicked","starred","starMessage","unStarMessage"],["mat-cell","",1,"triage-name"],[1,"hover-link",3,"href"],[1,"flex-kids-x"],["type","button","aria-label","Edit","mat-icon-button","",3,"click","disabled"],["svgIcon","edit-outline"],[1,"space-placeholder"],["type","button","mat-icon-button","","aria-label","Remove",
3,"disabled"],["type","button","mat-icon-button","","aria-label","Remove",3,"click","disabled"],["svgIcon","delete"],["mat-header-row",""],["mat-row",""],["mat-dialog-content",""],["mat-dialog-actions",""],["type","button","mat-button","",1,"medium","cancel",3,"mat-dialog-close"],["type","button","color","primary","mat-flat-button","",1,"medium","confirm",3,"mat-dialog-close"]],template:function(a,b){if(a&1){var c=v();I(0,"div",1)(1,"div",2)(2,"div",3)(3,"button",4);M("click",function(){w(c);return x(b.back())});
K(4,"mat-icon",5);J()()()();I(5,"div",6);D(6,nXb,96,44);S(7,"async");J();D(8,oXb,7,3,"ng-template",null,0,ih)}if(a&2){var d;B(6);G((d=U(7,1,b.team$))?6:-1,d)}},dependencies:[aw,pB,VA,iC,J2,oi,Gy,Yy,Ny,eB,jy,my,ly,RH,SH,uI,yI,xI,zL,BM,oM,uM,qM,nM,wM,rM,tM,xM,zM,DN,yN,zN,mB,rB,nx,fQ,gQ,TK,H3,KS,x3,ew],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)}.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}.space-placeholder[_ngcontent-%COMP%]{width:40px}.team-slo-id-select[_ngcontent-%COMP%], mat-slide-toggle.slo-enable[_ngcontent-%COMP%]{display:inline-block}.triage-name[_ngcontent-%COMP%]{width:100%}/*# sourceMappingURL=manage_team.css.map */"]});var yid=["content"],zid=["task_input"],Aid=new RegExp(/b-qa\/(\d+)|b-qa.corp.google.com\/issues\/(\d+)/,"i"),Bid=new RegExp(/b\/(\d+)|b.corp.google.com\/issues\/(\d+)|buganizer.corp.google.com\/issues\/(\d+)|b-nightly\/(\d+)|b-nightly.corp.google.com\/issues\/(\d+)|buganizer-nightly.corp.google.com\/issues\/(\d+)/,"i"),Cid=new RegExp(/cl\/(\d+)|cr\/(\d+)|critique-ng.*.corp.google.com\/cl\/(\d+)|critique-legacy.corp.google.com\/.*review\/(\d+)|critique.corp.google.com\/.*review\/(\d+)/,"i"),Did=new RegExp(/docs.google.com\/(?:document|spreadsheets|presentation)\/d\/([^\/]+)|drive.google.com\/file\/d\/([^\/]+)/,
"i"),Eid=new RegExp(/([^\/]+)-review.staging-git.corp.google.com\/c\/(.+)\/\+\/(\d+)|([^\/]+)-review.git.corp.google.com\/c\/(.+)\/\+\/(\d+)/,"i"),X8=function(){Z.apply(this,arguments);var a=this;this.activeSession=r(Bu);this.errorHandler=r(CI);this.butterBar=r(fH);this.focusEscapeNotifierFactory=r(nQ);this.tasksService=r(kG);this.analytics=r(OF);this.cancelClicked=new aB;this.saveClicked=new aB;this.focusEscaped=new aB;this.addTasksForm=new My("",[Cy,function(b){var c;(c=b.value==="")||(b=b.value,
c=(El(a.activeSession.session)?Bid:Aid).test(b)||Cid.test(b)||Did.test(b)||Eid.test(b));c?(a.validationErrorMessage="",b=null):(a.validationErrorMessage="Unsupported link. Task ID could not be extracted from URL.",b={unsupportedUrl:a.validationErrorMessage});return b}]);this.saving=!1;this.validationErrorMessage=""};Y(X8,Z);X8.\u0275dir=Z.\u0275dir;
X8.prototype.ngAfterViewInit=function(){var a=this;this.focusEscapeNotifier=this.focusEscapeNotifierFactory.create(this.content.nativeElement);this.focusEscapeNotifier.escapeSubject$.pipe(Zf(this.destroyed$)).subscribe(function(b){if(b===0){var c;(c=a.focusEscapeNotifier)==null||$7b(c)}else{var d;(d=a.focusEscapeNotifier)==null||Cw(d)}})};
X8.prototype.saveChanges=function(){var a=this;this.saving=!0;this.analytics.trackEvent("manualSignal","add","dialog");var b=this.parseUrl(this.addTasksForm.value),c=Fid(this,this.addTasksForm.value)?3E3:0;jnc(this.tasksService,[b],!0).pipe(Of(c)).subscribe(function(){a.saving=!1;a.saveClicked.emit()},function(d){a.saving=!1;a.butterBar.showWarning("Failed to trigger alert on task: "+b);a.errorHandler.errorHandler(null,d)})};var Fid=function(a,b){return El(a.activeSession.session)?Bid.test(b):Aid.test(b)};
X8.prototype.parseUrl=function(a){if(El(this.activeSession.session)){if(Bid.test(a))return"b/"+a.match(Bid).slice(1).find(function(b){return!!b})}else if(Aid.test(a))return"b/"+a.match(Aid).slice(1).find(function(b){return!!b});if(Cid.test(a))return"cl/"+a.match(Cid).slice(1).find(function(b){return!!b});if(Did.test(a))return"drive/"+a.match(Did).slice(1).find(function(b){return!!b});if(Eid.test(a))return a=a.match(Eid),a[1]?"gerrit/"+a[1]+"."+a[2]+"~"+a[3]:"gerrit/"+a[4]+"."+a[5]+"~"+a[6];throw Error("ug");
};X8.\u0275fac=function(){var a;return function(b){return(a||(a=ee(X8)))(b||X8)}}();
X8.\u0275cmp=C({type:X8,selectors:[["b-add-task-dialog"]],viewQuery:function(a,b){a&1&&(Rg(yid,7),Rg(zid,7));if(a&2){var c;Vg(c=Wg())&&(b.content=c.first);Vg(c=Wg())&&(b.taskInput=c.first)}},outputs:{cancelClicked:"cancelClicked",saveClicked:"saveClicked",focusEscaped:"focusEscaped"},standalone:!1,features:[cg],decls:17,vars:3,consts:[["content",""],["task_input",""],[1,"container"],[1,"add-task-help-text"],"href;http://go/b-home#manual-alerts;target;_blank;aria-label;Link to user guide for manual signals".split(";"),["appearance",
"outline"],["type","url","matInput","","aria-label","Enter task URL","placeholder","ex: https://b.corp.google.com/issues/123456","required","",1,"task-input",3,"formControl"],[1,"actions"],[1,"b-add-task-button-row"],["type","button","mat-button","",1,"cancel",3,"click"],["type","button","mat-button","",1,"save",3,"click","disabled"]],template:function(a,b){if(a&1){var c=v();I(0,"div",2,0)(2,"div",3)(3,"p");Q(4,"Input a URL from a supported source to add a task. ");I(5,"a",4);Q(6,"Learn more");J()()();
I(7,"mat-form-field",5);K(8,"input",6,1);D(10,pXb,2,1,"mat-error");J();I(11,"div",7)(12,"div",8)(13,"button",9);M("click",function(){w(c);return x(b.cancelClicked.emit())});Q(14,"Cancel");J();I(15,"button",10);M("click",function(){w(c);return x(b.saveChanges())});Q(16,"Add Task");J()()()()}a&2&&(B(8),E("formControl",b.addTasksForm),B(2),G(b.validationErrorMessage?10:-1),B(5),E("disabled",b.addTasksForm.invalid||b.saving))},dependencies:[eB,jy,oi,Gy,Yy,Sy,lz,dz,sz],styles:[".container[_ngcontent-%COMP%]{box-shadow:0px 1px 2px 0px rgba(0, 0, 0, 0.3), 0px 2px 6px 2px rgba(0, 0, 0, 0.15);padding:4px;border-radius:8px;background-color:#fff;background-color:var(--surface-default)}mat-form-field[_ngcontent-%COMP%]{padding:4px;width:400px}.dark-mode   [_nghost-%COMP%]   input[type=url][_ngcontent-%COMP%]{color-scheme:dark}.add-task-help-text[_ngcontent-%COMP%]{padding:4px;font-weight:bold;color:#5f6368;color:var(--text-muted)}.actions[_ngcontent-%COMP%]{padding:4px;text-align:end}/*# sourceMappingURL=add_task_dialog_content.css.map */"]});var Gid=[{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"}],Y8=function(){Z.call(this);var a=this;this.overlay=r(Kx);this.element=r(ef);this.openOnEnter=this.openOnClick=!0;this.taskAdded=new aB;this.onClose=new aB;this.opened=!1;this.destroyed$.subscribe(function(){var b;(b=a.overlayRef)==
null||b.dispose()})};Y(Y8,Z);g=Y8.prototype;g.onHostEnter=function(a){this.openOnEnter&&this.open();a.preventDefault();a.stopPropagation()};g.onClickHost=function(a){this.openOnClick&&this.open();a.preventDefault();a.stopPropagation()};g.open=function(){this.opened||(this.overlayRef=this.createOverlay(),this.attach(),this.opened=!0)};g.close=function(){if(this.opened){var a;(a=this.overlayRef)==null||a.dispose();this.overlayRef=void 0;this.opened=!1;this.onClose.emit()}};
g.onHostTab=function(a){this.opened&&this.addTaskContent&&this.addTaskContent.focusEscapeNotifier&&(Cw(this.addTaskContent.focusEscapeNotifier),a.preventDefault())};g.onHostShiftTab=function(a){this.addTaskContent&&this.addTaskContent.focusEscapeNotifier&&($7b(this.addTaskContent.focusEscapeNotifier),a.preventDefault())};
g.createOverlay=function(){var a=this.getPositionStrategy(),b=this.getScrollStrategy();a=this.overlay.create({positionStrategy:a,scrollStrategy:b,hasBackdrop:!0,backdropClass:"b-add-task-dialog-backdrop",panelClass:"b-add-task-dialog-popup"});a.overlayElement.setAttribute("role","dialog");a.overlayElement.setAttribute("title","Add Task By URL");return a};
g.attach=function(){var a=this,b=new Dx(X8),c;this.addTaskContent=(c=this.overlayRef)==null?void 0:c.attach(b).instance;var d;(d=this.overlayRef)==null||d.updatePosition();setTimeout(function(){a.connectValues();var e;(e=a.addTaskContent)==null||e.taskInput.nativeElement.focus()})};g.getPositionStrategy=function(){return xx(yx(zx(Bx(this.overlay.position(),this.element)),8),Gid)};g.getScrollStrategy=function(){return this.overlay.scrollStrategies.reposition()};
g.connectValues=function(){var a=this;if(this.addTaskContent&&this.overlayRef){var b=Te(this.overlayRef._detachments,this.destroyed$);this.addTaskContent.saveClicked.pipe(Zf(b)).subscribe(function(){a.taskAdded.emit()});Te(this.addTaskContent.saveClicked,this.addTaskContent.cancelClicked,this.overlayRef.backdropClick(),this.overlayRef.keydownEvents().pipe(Ue(function(c){return c.code==="Escape"}))).pipe(Zf(b)).subscribe(function(){a.close()})}};Y8.\u0275fac=function(a){return new (a||Y8)};
Y8.\u0275dir=Df({type:Y8,selectors:[["","bAddTaskDialogToggle",""]],hostAttrs:["aria-haspopup","true"],hostVars:1,hostBindings:function(a,b){a&1&&M("click",function(c){return b.onClickHost(c)})("keydown.enter",function(c){return b.onHostEnter(c)})("keydown.tab",function(c){return b.onHostTab(c)})("keydown.shift.tab",function(c){return b.onHostShiftTab(c)});a&2&&jg("aria-expanded",b.opened||void 0)},inputs:{openOnClick:"openOnClick",openOnEnter:"openOnEnter"},outputs:{taskAdded:"taskAdded",onClose:"onClose"},
exportAs:["bAddTaskDialogToggle"],standalone:!1,features:[cg]});var Z8=function(){};Z8.prototype.transform=function(a){var b=a.comeBackTimestamp;return"Upcoming out of office starting "+Hid.format(new Date(a.futureOooTimestamp.seconds*1E3))+" - back on "+Hid.format(new Date(b.seconds*1E3))};Z8.\u0275fac=function(a){return new (a||Z8)};Z8.\u0275pipe=Ef({name:"futureAvailability",type:Z8,pure:!0,standalone:!1});var Hid=new nE(vQ.WEEKDAY_MONTH_DAY_MEDIUM);var $8=function(){this.activeSession=r(Bu);this.hovercardReady$=new Tf(1);this.environmentType=this.activeSession.getEnvironmentType()};$8.prototype.ngOnInit=function(){this.hovercardReady$.next()};$8.prototype.getBaseUrl=function(){switch(this.environmentType){case "PROD":case "NIGHTLY":return"https://taskflow.corp.google.com";default:return"https://taskflow-autopush.corp.google.com"}};$8.\u0275fac=function(a){return new (a||$8)};
$8.\u0275cmp=C({type:$8,selectors:[["iteration-card"]],inputs:{iteration:"iteration"},standalone:!1,decls:1,vars:1,consts:[[1,"carded","bg-main"],[1,"flex-kids-x","align-items-center","gap","margin-s-bottom"],["role","img","svgIcon","taskflow-logo",1,"icon-s"],[1,"flex-kids-x","align-items-center","gap"],["role","img","svgIcon","time-24px",1,"icon-s","muted"],["target","_blank",1,"hover-link",3,"href"],["mode","date",3,"paddingLeftPx","timestamp"]],template:function(a,b){a&1&&D(0,qXb,13,7,"div",0);
a&2&&G(b.iteration?0:-1)},dependencies:[pB,iH],encapsulation:2});var a9=function(){this.analytics=r(OF);this.domSafe=r(NH);this.activeSession=r(Bu);this.environmentType=this.activeSession.getEnvironmentType()};a9.prototype.trackHoverEvent=function(){this.analytics.trackEvent("missionControl","hover","iteration-chip")};a9.prototype.getBaseUrl=function(){switch(this.environmentType){case "PROD":case "NIGHTLY":return"https://taskflow.corp.google.com";default:return"https://taskflow-autopush.corp.google.com"}};a9.\u0275fac=function(a){return new (a||a9)};
a9.\u0275cmp=C({type:a9,selectors:[["iteration-chip"]],inputs:{iteration:"iteration"},standalone:!1,decls:1,vars:1,consts:[["iterationHovercard","onedevHovercard"],["cardBody",""],[1,"iteration-chip","margin-xs-right",3,"onedevHovercardShown","click","onedevHovercardTrigger"],[3,"onedevIsHovercardReady","iteration",4,"onedevHovercardLazyBody"],[3,"onedevIsHovercardReady","iteration"]],template:function(a,b){a&1&&D(0,sXb,5,1);a&2&&G(b.iteration?0:-1)},dependencies:[$8,$H,aI,fI,bI],styles:[".iteration-chip[_ngcontent-%COMP%]{border:1px solid;border-color:#9334e6;border-color:var(--purple-text);color:#9334e6;color:var(--purple-text);height:18px;border-radius:4px;border:1px solid;padding:1px 4px;display:inline-flex}/*# sourceMappingURL=iteration_chip.css.map */"],
changeDetection:0});var b9=new Map([["TAGGED_IN_COMMENT","Mentioned me"],["REQUIRES_APPROVAL","Added as approver"],["DRIVE_MANUAL_SIGNAL","Manually added"],["DRIVE_SNOOZE_EXPIRED","Recently awoke"],["THREAD_MENTIONS_ME","Mentioned me"],["NEEDS_ATTENTION","In attention set"],["READY_TO_SUBMIT","Ready to submit"],["CHANGELIST_MANUAL_SIGNAL","Manually added"],["CHANGELIST_SNOOZE_EXPIRED","Recently awoke"],["NEAR_SLO","Near SLO"],["COMMENT_MENTIONS_ME","Mentioned me"],["BLOCKERS_CLOSED","Blockers closed"],["NEWLY_BLOCKING",
"Newly blocking"],["NEEDS_REPORTER_INPUT","Needs reporter input"],["REPLIED_TO_MENTION","Replied to me"],["NEWLY_ASSIGNED_TO_ME","Newly assigned"],["ISSUE_MANUALLY_SIGNALED","Manually added"],["ISSUE_SNOOZE_EXPIRED","Recently awoke"],["GERRIT_CHANGE_NEEDS_ATTENTION","In attention set"],["GERRIT_CHANGE_READY_TO_SUBMIT","Ready to submit"],["GERRIT_MANUAL_SIGNAL","Manually added"],["GERRIT_SNOOZE_EXPIRED","Recently awoke"],["MENTIONED_NEEDS_RESPONSE","Needs response"]]),bYb=new Map([["TAGGED_IN_COMMENT",
"Someone mentioned me in a comment"],["REQUIRES_APPROVAL","You were added as an approver"],["DRIVE_MANUAL_SIGNAL","You manually added this file"],["DRIVE_SNOOZE_EXPIRED","This file recently awoke from a snooze"],["THREAD_MENTIONS_ME","You were mentioned on this CL recently"],["NEEDS_ATTENTION","This CL is in your \u201cNeeds attention\u201d list in Critique"],["CHANGELIST_MANUAL_SIGNAL","You manually added this changelist"],["CHANGELIST_SNOOZE_EXPIRED","This changelist recently awoke from a snooze"],
["READY_TO_SUBMIT","This CL is ready to submit"],["NEAR_SLO","20% of SLO time is remaining for this issue"],["COMMENT_MENTIONS_ME","You were mentioned on this issue"],["BLOCKERS_CLOSED","The last blocking issue was closed recently"],["NEWLY_BLOCKING","This issue started blocking another issue recently"],["NEEDS_REPORTER_INPUT","Issue was assigned back to reporter (you) recently"],["REPLIED_TO_MENTION","Someone replied to your mention recently"],["NEWLY_ASSIGNED_TO_ME","This issue was recently assigned to you"],
["ISSUE_MANUALLY_SIGNALED","You manually added this issue"],["ISSUE_SNOOZE_EXPIRED","This issue recently awoke from a snooze"],["GERRIT_CHANGE_NEEDS_ATTENTION","Your turn to take action on the change"],["GERRIT_CHANGE_READY_TO_SUBMIT","Your turn to take action on the change"],["GERRIT_MANUAL_SIGNAL","You manually added this change"],["GERRIT_SNOOZE_EXPIRED","This change recently awoke from a snooze"],["MENTIONED_NEEDS_RESPONSE","You were mentioned on this issue and your response is requested"]]),
Iid=new Map([["TAGGED_IN_COMMENT","Reply to comment"],["REQUIRES_APPROVAL","Review"],["DRIVE_MANUAL_SIGNAL","Manually added"],["DRIVE_SNOOZE_EXPIRED","Dismiss to remove"],["THREAD_MENTIONS_ME","Reply to comment"],["NEEDS_ATTENTION","Review CL"],["READY_TO_SUBMIT","Submit CL"],["CHANGELIST_MANUAL_SIGNAL","Manually added"],["CHANGELIST_SNOOZE_EXPIRED","Dismiss to remove"],["NEAR_SLO","View issue"],["COMMENT_MENTIONS_ME","Reply to comment"],["BLOCKERS_CLOSED","View issue"],["NEWLY_BLOCKING","View blocker issue"],
["NEEDS_REPORTER_INPUT","Reply to comment"],["REPLIED_TO_MENTION","Reply to comment"],["NEWLY_ASSIGNED_TO_ME","Start work"],["ISSUE_MANUALLY_SIGNALED","Manually added"],["ISSUE_SNOOZE_EXPIRED","Edit or dismiss"],["GERRIT_CHANGE_NEEDS_ATTENTION","Review change"],["GERRIT_CHANGE_READY_TO_SUBMIT","Submit change"],["GERRIT_MANUAL_SIGNAL","Manually added"],["GERRIT_SNOOZE_EXPIRED","Dismiss to remove"],["MENTIONED_NEEDS_RESPONSE","Reply to comment"]]);var c9=function(){this.tasksApi=r(kG);this.analytics=r(OF);this.mentionedDriveComment$=Ae();this.contentReady$=new Tf(1)};c9.prototype.ngOnInit=function(){var a=this;this.fileId&&this.commentId&&(this.analytics.trackEvent("mentionsCard","view","hovercard"),this.mentionedDriveComment$=nnc(this.tasksApi,this.fileId,this.commentId).pipe($f(function(){a.contentReady$.next()})))};c9.\u0275fac=function(a){return new (a||c9)};
c9.\u0275cmp=C({type:c9,selectors:[["mentioned-drive-comments-card"]],inputs:{fileId:"fileId",commentId:"commentId",lastMentionLink:"lastMentionLink"},standalone:!1,decls:2,vars:3,consts:[[1,"carded","bg-main"],[1,"flex-kids-x","align-items-center","space-between","margin-s-bottom"],[1,"bv2-event-user-name",3,"model"],["target","_blank",1,"hover-link",3,"href"],["mode","datetime",3,"timestamp"],["target","_blank",1,"hover-link",3,"click","href"]],template:function(a,b){a&1&&(D(0,FXb,11,4,"div",0),
S(1,"async"));if(a&2){var c;G((c=U(1,1,b.mentionedDriveComment$))?0:-1,c)}},dependencies:[iH,dL,ew],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 NXb=function(a,b){return b.commentNumber},KXb=function(a){return{"margin-s-bottom padded-s-bottom border-bottom":a}},HXb=function(a){return{"has-reacted-icon":a}},d9=function(){this.issueCommentsBatchApi=r(QE);this.analytics=r(OF);this.activeSession=r(Bu);this.enableExternalMentionsFe=Vt(this.activeSession,"enableExternalMentionsFe");this.commentNumbers=[];this.mentionedComments$=Ae();this.contentReady$=new Tf(1);this.thumbsDownClicked=this.thumbsUpClicked=this.hasReacted=!1};
d9.prototype.ngOnInit=function(){var a=this;this.analytics.trackEvent("mentionsCard","view","hovercard");this.mentionedComments$=this.issueCommentsBatchApi.batchGet(this.issueId,this.commentNumbers).pipe($f(function(){a.contentReady$.next()}))};d9.prototype.getCommentNumberLink=function(a,b){return Pp(a,{comment:b})};d9.prototype.trackThumbsUp=function(){this.thumbsUpClicked=this.hasReacted=!0;this.analytics.trackEvent("needsResponse","accept",Jid(this))};
d9.prototype.trackThumbsDown=function(){this.thumbsDownClicked=this.hasReacted=!0;this.analytics.trackEvent("needsResponse","reject",Jid(this))};var Jid=function(a){return JSON.stringify({id:a.issueId,commentNumber:a.commentNumbers})};d9.\u0275fac=function(a){return new (a||d9)};
d9.\u0275cmp=C({type:d9,selectors:[["mentioned-issue-comments-card"]],inputs:{issueId:"issueId",commentNumbers:"commentNumbers",needsResponse:"needsResponse"},standalone:!1,decls:2,vars:3,consts:[[1,"carded","bg-main"],[3,"ngClass"],[1,"flex-kids-x","align-items-center","space-between"],[1,"flex-kids-x","align-items-center","gap-xs"],[1,"bv2-event-user-name",3,"model"],[1,"hover-link",3,"routerLinkObj"],["mode","datetime",3,"timestamp"],[1,"hover-link",3,"click","routerLinkObj"],[3,"issueId","note",
"formattingMode"],[1,"flex-kids-x","gap-xs","justify-flex-end","align-items-center"],[1,"type-s","feedback-info"],["type","button","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"],["type","button","mat-icon-button","","aria-label","rate thumbs down",1,"keep-focus-ring","needs-response-feedback",3,"click","disabled"],["svgIcon","thumb_down_24px",1,"icon-s",3,"ngClass"]],template:function(a,
b){a&1&&(D(0,OXb,5,0,"div",0),S(1,"async"));if(a&2){var c;G((c=U(1,1,b.mentionedComments$))?0:-1,c)}},dependencies:[aw,pB,iC,dL,iH,NK,ew],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 e9=function(a,b){this.context={};b.createEmbeddedView(a,this.context)};da.Object.defineProperties(e9.prototype,{xapLet:{configurable:!0,enumerable:!0,set:function(a){var b=new Set(PXb(a));if(this.context!==void 0)for(var c=k(PXb(this.context).filter(function(e){return!b.has(e)})),d=c.next();!d.done;d=c.next())delete this.context[d.value];c=k(b);for(d=c.next();!d.done;d=c.next())d=d.value,this.context[d]=a[d];this.context.$implicit=a;this.context.xapLet=a}}});
e9.\u0275fac=function(a){return new (a||e9)(hf(Og),hf(Pg))};e9.\u0275dir=Df({type:e9,selectors:[["","xapLet",""]],inputs:{xapLet:"xapLet"}});var UXb=function(a,b){return b.type},RXb=function(a){return{signal:a}},dYb=function(){return[]},Kid=function(){this.activeSession=r(Bu);this.signals=[];this.SIGNAL_TO_DISPLAY_TEXT=b9;this.SIGNAL_TO_ACTION_TEXT=Iid;this.getSignalUrgency=BXb;this.getHighestPrioritySignal=CXb;this.enableMentionedCommentsHovercard=Vt(this.activeSession,"enableMentionedCommentsHovercard")},XXb=function(a,b){return a.filter(function(c){return c!==b}).map(function(c){return b9.get(c.type)}).join("; ")},$Xb=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},aYb=function(a){return a.type==="TAGGED_IN_COMMENT"&&a.driveFileId!=null&&a.driveCommentId!=null};Kid.\u0275fac=function(a){return new (a||Kid)};
Kid.\u0275cmp=C({type:Kid,selectors:[["needs-attention-signals-cell"]],inputs:{issueId:"issueId",signals:"signals"},standalone:!1,decls:4,vars:1,consts:[["signalChip",""],["mentionedCommentsHovercard","onedevHovercard"],["tooltip","matTooltip"],["cardBody",""],[1,"flex-kids-x","gap-xs"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"flex-kids-x","gap-xs","align-items-center"],[1,"overflow","type-m",3,"matTooltip"],[3,"class","keep-focus-ring","onedevHovercardActive","onedevHovercardTrigger",
"matTooltip","mouseenter","mouseleave",4,"xapLet"],[3,"onedevIsHovercardReady","issueId","commentNumbers","needsResponse"],[3,"onedevIsHovercardReady","fileId","commentId","lastMentionLink"],[3,"mouseenter","mouseleave","onedevHovercardActive","onedevHovercardTrigger","matTooltip"],[3,"onedevIsHovercardReady","issueId","commentNumbers","needsResponse",4,"onedevHovercardLazyBody"],[3,"onedevIsHovercardReady","fileId","commentId","lastMentionLink",4,"onedevHovercardLazyBody"]],template:function(a,b){a&
1&&D(0,VXb,3,0,"div",4)(1,ZXb,1,1)(2,iYb,5,3,"ng-template",null,0,ih);a&2&&G(b.signals.length<3?0:1)},dependencies:[dw,mB,rB,$H,aI,fI,bI,d9,c9,e9],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 f9=function(){this.tasksService=r(kG);this.okrIds=[];this.hovercardReady$=new Tf(1);this.teamObjectives$=Ae([])};f9.prototype.ngOnInit=function(){this.teamObjectives$=pnc(this.tasksService,Lid(this.okrIds));this.hovercardReady$.next()};
var Lid=function(a){a=a.map(function(b){return b.includes("/keyResults")?b.substring(0,b.indexOf("/keyResults")):b});return[].concat(t(new Set(a)))},mYb=function(a,b){var c;return(c=a.find(function(d){var e;return d.objective&&(d.objective.objectiveId===b||((e=d.objective.keyResults)==null?void 0:e.some(function(f){return b.includes(f.keyResultId)})))}))==null?void 0:c.objective},nYb=function(a,b){if(b.includes("/keyResults")){var c,d;return(c=mYb(a,b))==null?void 0:(d=c.keyResults)==null?void 0:
d.find(function(e){return b.indexOf(e.keyResultId)>0})}},jYb=function(a){return a&&a!=="RATING_UNSPECIFIED"?" \u2022 "+a:""};f9.\u0275fac=function(a){return new (a||f9)};
f9.\u0275cmp=C({type:f9,selectors:[["okr-card"]],inputs:{okrIds:"okrIds"},standalone:!1,decls:2,vars:3,consts:[["role","dialog","aria-label","OKR hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"bv2-hovercard-narrow","okr-hovercard-content"],[1,"flex-kids-x","margin-s-bottom","type-m"],[1,"flex-kids-x","padded-s-top","border-top","margin-s-top","margin-s-bottom","type-xs"],[1,"type-and-priority"],["role","link","target","_blank",1,"okr-description",3,"href"],[1,"type-and-priority",
"kr-indentation"]],template:function(a,b){a&1&&(D(0,pYb,4,0,"div",0),S(1,"async"));if(a&2){var c;G((c=U(1,1,b.teamObjectives$))?0:-1,c)}},dependencies:[ew],styles:[".onedev-hovercard-content[_ngcontent-%COMP%]{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.okr-hovercard-content[_ngcontent-%COMP%]   .type-and-priority[_ngcontent-%COMP%]{font-weight:700;width:56px}.okr-hovercard-content[_ngcontent-%COMP%]   .kr-indentation[_ngcontent-%COMP%]{padding-left:16px}.okr-hovercard-content[_ngcontent-%COMP%]   .okr-description[_ngcontent-%COMP%]{word-break:break-word;color:#202124;color:var(--text)}.okr-hovercard-content[_ngcontent-%COMP%]   .okr-description[_ngcontent-%COMP%]:hover{color:#1a73e8;color:var(--link)}"]});var g9=function(){this.analytics=r(OF);this.okrIds=[]};g9.prototype.trackHoverEvent=function(){this.analytics.trackEvent("missionControl","hover","okr-chip")};g9.\u0275fac=function(a){return new (a||g9)};
g9.\u0275cmp=C({type:g9,selectors:[["okr-chip"]],inputs:{okrIds:"okrIds"},standalone:!1,decls:1,vars:1,consts:[["okrHovercard","onedevHovercard"],["cardBody",""],[1,"okr-chip","margin-xs-right",3,"onedevHovercardShown","onedevHovercardTrigger"],[3,"onedevIsHovercardReady","okrIds",4,"onedevHovercardLazyBody"],[3,"onedevIsHovercardReady","okrIds"]],template:function(a,b){a&1&&D(0,rYb,5,1);a&2&&G(b.okrIds&&b.okrIds.length>0?0:-1)},dependencies:[f9,$H,aI,fI,bI],styles:[".okr-chip[_ngcontent-%COMP%]{background-color:#9334e6;background-color:var(--purple-text);color:#fff;color:var(--surface-default);height:18px;border-radius:4px;border:1px solid;padding:1px 4px;display:inline-flex}/*# sourceMappingURL=okr_chip.css.map */"],
changeDetection:0});var h9=function(){this.hovercardReady$=new Tf(1)};h9.prototype.ngOnInit=function(){this.hovercardReady$.next()};h9.\u0275fac=function(a){return new (a||h9)};
h9.\u0275cmp=C({type:h9,selectors:[["stale-task-card"]],inputs:{taskId:"taskId"},standalone:!1,decls:1,vars:1,consts:[["role","dialog","aria-label","Stale task card",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body","margin-xs"],[1,"bv2-hovercard-narrow"],["href","http://go/b-home#stale-tasks","target","_blank"]],template:function(a,b){a&1&&D(0,sYb,8,0,"div",0);a&2&&G(b.taskId?0:-1)},styles:[".onedev-hovercard-content[_ngcontent-%COMP%]{width:auto}.onedev-hovercard-body[_ngcontent-%COMP%]{padding:16px}.bv2-hovercard-narrow[_ngcontent-%COMP%]{max-width:240px}"]});var Mid=function(){this.hovercardConfig={showDelay:250,hideDelay:250,position:[nqc,pqc],triggerKey:[]}};Mid.\u0275fac=function(a){return new (a||Mid)};
Mid.\u0275cmp=C({type:Mid,selectors:[["stale-task-indicator"]],inputs:{taskId:"taskId",lastAlertTimestamp:"lastAlertTimestamp"},standalone:!1,decls:7,vars:3,consts:[["staleTaskCard","onedevHovercard"],["cardBody",""],[1,"staleness-indicator","valign-middle",3,"onedevHovercardTrigger","onedevHovercardConfig"],["svgIcon","time-24px","color","orange"],[3,"onedevIsHovercardReady","taskId",4,"onedevHovercardLazyBody"],[3,"onedevIsHovercardReady","taskId"]],template:function(a,b){a&1&&(Ag(0),I(1,"div",
2),K(2,"mat-icon",3),Q(3),J(),I(4,"onedev-hovercard",null,0),D(6,tYb,2,2,"stale-task-card",4),J(),Bg());a&2&&(a=L(5),B(),E("onedevHovercardTrigger",a)("onedevHovercardConfig",b.hovercardConfig),B(2),b=b.lastAlertTimestamp?(b=zp(b.lastAlertTimestamp.seconds,!0))?b+", respond?":"":"",R(" ",b," "))},dependencies:[pB,$H,aI,fI,bI,h9],styles:[".staleness-indicator[_ngcontent-%COMP%]{color:#bd4800;color:var(--orange-text);display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-flow:column wrap;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-flow:column wrap;flex-flow:column wrap;place-content:flex-start center;height:18px;font-weight:700;width:80%}"],
changeDetection:0});var Nid=["menuTrigger"],i9=function(){this.SIGNAL_TO_DISPLAY_TEXT=b9;this.DEFINITIONS=tnc;this.analytics=r(OF);this.signalFilterKeys=[];this.selectedSignals=[];this.source="BUGANIZER";this.changeFilteredSignals=new aB;this.chipSelectionStateChanged=new aB};i9.prototype.ngOnInit=function(){this.currentSelectedSignals=new Set(this.selectedSignals);this.selectAllToggle=j9(this)};i9.prototype.openMenu=function(){this.menuTrigger.openMenu()};
i9.prototype.signalFilterChange=function(){var a=[].concat(t(this.currentSelectedSignals));this.changeFilteredSignals.emit(a);Oid(this,a)};var Pid=function(a){return[].concat(t(a.signalFilterKeys)).sort(function(b,c){var d,e;return((d=b9.get(b))!=null?d:"").localeCompare((e=b9.get(c))!=null?e:"")})},j9=function(a){return a.currentSelectedSignals.size===a.signalFilterKeys.length};
i9.prototype.onCheckboxChange=function(a){this.currentSelectedSignals.has(a)?this.currentSelectedSignals.delete(a):this.currentSelectedSignals.add(a);this.selectAllToggle=j9(this);this.chipSelectionStateChanged.emit(this.currentSelectedSignals.size>0&&!j9(this)||j9(this))};var Oid=function(a,b){a.signalFilterKeys.forEach(function(c){a.analytics.trackEvent("needsAttention","toggle",a.source+"-"+b9.get(c)+"-"+(b.includes(c)?"checked":"unchecked"))})};i9.\u0275fac=function(a){return new (a||i9)};
i9.\u0275cmp=C({type:i9,selectors:[["signal-list-dropdown"]],viewQuery:function(a,b){a&1&&Rg(Nid,5);if(a&2){var c;Vg(c=Wg())&&(b.menuTrigger=c.first)}},inputs:{signalFilterKeys:"signalFilterKeys",selectedSignals:"selectedSignals",source:"source"},outputs:{changeFilteredSignals:"changeFilteredSignals",chipSelectionStateChanged:"chipSelectionStateChanged"},standalone:!1,decls:11,vars:3,consts:[["menuTrigger","matMenuTrigger"],["signalFilterMenu",""],["type","button","mat-icon-button","","matTooltip",
"Filter alerts",1,"dropdown-btn","small",3,"keydown.enter","keydown.space","keyup.enter","keyup.space","click","matMenuTriggerFor"],["matChipTrailingIcon","","svgIcon","arrow-dropdown",1,"dropdown-icon"],[3,"closed"],["mat-menu-item","",3,"click"],[3,"indeterminate","checked"],["mat-menu-item",""],[3,"checked"]],template:function(a,b){if(a&1){var c=v();I(0,"button",2,0);M("keydown.enter",function(d){w(c);return x(d.stopPropagation())})("keydown.space",function(d){w(c);return x(d.stopPropagation())})("keyup.enter",
function(){w(c);return x(b.openMenu())})("keyup.space",function(){w(c);return x(b.openMenu())})("click",function(d){w(c);return x(d.stopPropagation())});K(2,"mat-icon",3);J();I(3,"mat-menu",4,1);M("closed",function(){w(c);return x(b.signalFilterChange())});I(5,"button",5);M("click",function(d){w(c);b.selectAllToggle=!b.selectAllToggle;b.currentSelectedSignals=b.selectAllToggle?new Set(b.signalFilterKeys):new Set;b.chipSelectionStateChanged.emit(b.currentSelectedSignals.size>0&&!j9(b)||j9(b));return x(d.stopPropagation())});
I(6,"mat-checkbox",6);Q(7," Select all alerts ");J()();K(8,"mat-divider");yg(9,uYb,3,2,"button",7,xg);J()}a&2&&(a=L(4),E("matMenuTriggerFor",a),B(6),E("indeterminate",b.currentSelectedSignals.size>0&&!j9(b))("checked",j9(b)),B(3),zg(Pid(b)))},dependencies:[pB,BL,mB,rB,xL,IL,GL,JL,RH,SH,eB,ly,oQ],styles:[".dropdown-icon[_ngcontent-%COMP%]{cursor:pointer}"]});var Qid=["menuTrigger"],k9=function(){this.DEFINITIONS=tnc;this.SIGNAL_TO_DISPLAY_TEXT=b9;this.sourceFilterKeys=[];this.selectedSignals={buganizerSignals:Lt.buganizerSignals,driveSignals:Lt.driveSignals,changelistSignals:Lt.changelistSignals,gerritSignals:Lt.gerritSignals};this.changeFilteredSignals=new aB;this.changeSourceFilter=new aB;this.signals={};this.chipsSelected={}};
k9.prototype.ngOnInit=function(){this.signals.BUGANIZER=this.selectedSignals.buganizerSignals;this.signals.DRIVE=this.selectedSignals.driveSignals;this.signals.CRITIQUE=this.selectedSignals.changelistSignals;this.signals.GERRIT=this.selectedSignals.gerritSignals;this.chipsSelected.BUGANIZER=this.signals.BUGANIZER.length>0?!0:!1;this.chipsSelected.DRIVE=this.signals.DRIVE.length>0?!0:!1;this.chipsSelected.CRITIQUE=this.signals.CRITIQUE.length>0?!0:!1;this.chipsSelected.GERRIT=this.signals.GERRIT.length>
0?!0:!1};k9.prototype.signalFilterChange=function(a,b){this.signals[b]=a;this.changeFilteredSignals.emit({buganizerSignals:this.signals.BUGANIZER,driveSignals:this.signals.DRIVE,changelistSignals:this.signals.CRITIQUE,gerritSignals:this.signals.GERRIT})};
k9.prototype.sourceFilterChange=function(a){a=a.value;this.changeSourceFilter.emit(a);this.chipsSelected.BUGANIZER=a.includes("BUGANIZER");this.chipsSelected.DRIVE=a.includes("DRIVE");this.chipsSelected.CRITIQUE=a.includes("CRITIQUE");this.chipsSelected.GERRIT=a.includes("GERRIT")};k9.prototype.openMenu=function(){this.menuTrigger.openMenu()};
var wYb=function(a,b){var c;return(c=a.signals[b])!=null?c:[]},vYb=function(a){switch(a){case "BUGANIZER":return[].concat(t(Lt.buganizerSignals));case "DRIVE":return[].concat(t(Lt.driveSignals));case "GERRIT":return[].concat(t(Lt.gerritSignals));case "CRITIQUE":return[].concat(t(Lt.changelistSignals));default:return[]}};k9.\u0275fac=function(a){return new (a||k9)};
k9.\u0275cmp=C({type:k9,selectors:[["signal-filter-chips"]],viewQuery:function(a,b){a&1&&Rg(Qid,5);if(a&2){var c;Vg(c=Wg())&&(b.menuTrigger=c.first)}},inputs:{sourceFilterKeys:"sourceFilterKeys",selectedSignals:"selectedSignals"},outputs:{changeFilteredSignals:"changeFilteredSignals",changeSourceFilter:"changeSourceFilter"},standalone:!1,decls:3,vars:0,consts:[["multiple","","aria-label","Source selection",3,"change"],["appearance","hairline-filter",3,"value","selected"],[3,"matTooltip"],[3,"changeFilteredSignals",
"chipSelectionStateChanged","signalFilterKeys","selectedSignals","source"]],template:function(a,b){a&1&&(I(0,"mat-chip-listbox",0),M("change",function(c){return b.sourceFilterChange(c)}),yg(1,yYb,1,1,null,null,xg),J());a&2&&(B(),zg(b.sourceFilterKeys))},dependencies:[wL,FL,DL,mB,rB,i9],styles:[".dropdown-icon[_ngcontent-%COMP%]{cursor:pointer;display:inline-block;border:1px solid red}[_nghost-%COMP%]     mat-chip-option .mat-mdc-chip-action-label, [_nghost-%COMP%]     mat-chip-option .mat-mdc-chip-action[matchipaction]{padding-right:5px!important}"]});var l9=function(){this.DEFINITIONS=tnc;this.sourceFilterKeys=[];this.selectedSources=[];this.change=new aB};l9.prototype.sourceFilterChange=function(a){this.selectedSources=a.value;this.change.emit(a.value)};l9.\u0275fac=function(a){return new (a||l9)};
l9.\u0275cmp=C({type:l9,selectors:[["source-filter-chips"]],inputs:{sourceFilterKeys:"sourceFilterKeys",selectedSources:"selectedSources"},outputs:{change:"change"},standalone:!1,decls:3,vars:0,consts:[["multiple","","aria-label","Source selection",3,"change"],["appearance","hairline-filter",3,"value","selected"],[3,"matTooltip"]],template:function(a,b){a&1&&(I(0,"mat-chip-listbox",0),M("change",function(c){return b.sourceFilterChange(c)}),yg(1,AYb,1,1,null,null,xg),J());a&2&&(B(),zg(b.sourceFilterKeys))},
dependencies:[wL,FL,DL,mB,rB],encapsulation:2});var Rid=["menuTrigger"],Sid={label:"Last 1 day",numberOfDays:1},Tid={label:"Last 7 days",numberOfDays:7},Uid={label:"Last 30 days",numberOfDays:30},Vid={label:"Last 90 days",numberOfDays:90},Wid=[Sid,Tid,Uid,Vid],Xid={1:Sid,7:Tid,30:Uid,90:Vid},m9=function(){this.timeBoundaries=Wid;this.change=new aB};m9.prototype.getLabel=function(a){if(a==null)return"";var b,c;return(c=(b=Xid[a])==null?void 0:b.label)!=null?c:""};m9.prototype.openMenu=function(){this.menuTrigger.openMenu()};
m9.\u0275fac=function(a){return new (a||m9)};
m9.\u0275cmp=C({type:m9,selectors:[["time-boundary-filter"]],viewQuery:function(a,b){a&1&&Rg(Rid,5);if(a&2){var c;Vg(c=Wg())&&(b.menuTrigger=c.first)}},inputs:{selectedTimeBoundary:"selectedTimeBoundary"},outputs:{change:"change"},standalone:!1,decls:9,vars:3,consts:[["menuTrigger","matMenuTrigger"],["timeBoundaryMenu","matMenu"],["aria-label","Time boundary selection",3,"selectable"],["appearance","hairline-filter","aria-label","Select time boundary","selected","","color","primary","role","button",
1,"time-boundary-chip",3,"keyup.enter","keyup.space","matMenuTriggerFor"],["matChipTrailingIcon","","svgIcon","arrow-dropdown"],["xPosition","before"],["type","button","mat-menu-item","",3,"disabled"],["type","button","mat-menu-item","",3,"click","disabled"]],template:function(a,b){if(a&1){var c=v();I(0,"mat-chip-listbox",2)(1,"mat-chip-option",3,0);M("keyup.enter",function(){w(c);return x(b.openMenu())})("keyup.space",function(){w(c);return x(b.openMenu())});Q(3);K(4,"mat-icon",4);J()();I(5,"mat-menu",
5,1);yg(7,BYb,2,2,"button",6,xg);J()}a&2&&(a=L(6),E("selectable",!1),B(),E("matMenuTriggerFor",a),B(2),R(" ",b.getLabel(b.selectedTimeBoundary)," "),B(4),zg(b.timeBoundaries))},dependencies:[pB,wL,FL,DL,BL,xL,IL,GL,JL],encapsulation:2});var Yid=function(){return{originX:"start",originY:"center",overlayX:"end",overlayY:"center",offsetX:80}},Zid=function(a){return[a]},n9=function(){this.isSnoozed=!0;this.snooze=new aB;this.unsnooze=new aB;this.isOpen=new aB;this.currentPickerDateTime=this.now;this.timePickerOpen=!1};n9.prototype.stopPropagation=function(a){a.stopPropagation()};n9.prototype.onOpen=function(a){this.isOpen.emit(a)};var $id=function(a,b){a.setHours(b);a.setMinutes(0);a.setSeconds(0);a.setMilliseconds(0)};
da.Object.defineProperties(n9.prototype,{now:{configurable:!0,enumerable:!0,get:function(){return new Cj}},laterToday:{configurable:!0,enumerable:!0,get:function(){var a=this.now;a.getHours()>=12?a.add(new $v("h",3)):$id(a,15);return a}},tomorrow:{configurable:!0,enumerable:!0,get:function(){var a=this.now;a.add(new $v("d",1));$id(a,8);return a}},nextWeek:{configurable:!0,enumerable:!0,get:function(){var a=this.now;a.setDate(a.getDate()+(7-a.getDay())%7+1);$id(a,8);return a}},nextMonth:{configurable:!0,
enumerable:!0,get:function(){var a=this.now;a.add(new $v("d",30));$id(a,8);return a}}});n9.\u0275fac=function(a){return new (a||n9)};
n9.\u0275cmp=C({type:n9,selectors:[["snooze-menu"]],viewQuery:function(a,b){a&1&&Rg(IL,7);if(a&2){var c;Vg(c=Wg())&&(b.menu=c.first)}},inputs:{isSnoozed:"isSnoozed"},outputs:{snooze:"snooze",unsnooze:"unsnooze",isOpen:"isOpen"},standalone:!1,decls:27,vars:11,consts:[["trigger","cdkOverlayOrigin"],["aria-labelledby","snooze-menu-title",3,"closed"],[1,"title","gmat-body-2",3,"click"],[1,"list"],["type","button","mat-menu-item","",3,"click"],[1,"date"],["mode","datetime",3,"date"],[1,"bottom"],["type",
"button","mat-menu-item",""],["type","button","mat-menu-item","","dialogLabel","Pick date & time","ttr.aria-label","Pick date & time","matTooltip","Pick date & time","tabindex","0","cdkOverlayOrigin","",3,"keydown.enter","keydown.space","click"],["svgIcon","time-24px"],["cdkConnectedOverlay","",3,"cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions"],["svgIcon","clear"],[3,"clickOutside"],[3,"cancelClicked","dateTimeChange","saveClicked","required","renderPanel","dateTime",
"includeTimePicker"]],template:function(a,b){if(a&1){var c=v();I(0,"mat-menu",1);M("closed",function(d){w(c);if(d!=="click")b.onOpen(!1);return x()});I(1,"span",2);M("click",function(d){w(c);return x(b.stopPropagation(d))});Q(2," Snooze until... ");J();I(3,"div",3)(4,"button",4);M("click",function(){w(c);var d=b.laterToday;d&&b.snooze.emit(d);b.onOpen(!1);return x()});Q(5," Later today ");I(6,"span",5);K(7,"b-formatted-date-time",6);J()();I(8,"button",4);M("click",function(){w(c);var d=b.tomorrow;
d&&b.snooze.emit(d);b.onOpen(!1);return x()});Q(9," Tomorrow ");I(10,"span",5);K(11,"b-formatted-date-time",6);J()();I(12,"button",4);M("click",function(){w(c);var d=b.nextWeek;d&&b.snooze.emit(d);b.onOpen(!1);return x()});Q(13," Next week ");I(14,"span",5);K(15,"b-formatted-date-time",6);J()();I(16,"button",4);M("click",function(){w(c);var d=b.nextMonth;d&&b.snooze.emit(d);b.onOpen(!1);return x()});Q(17," Next Month ");I(18,"span",5);K(19,"b-formatted-date-time",6);J()()();I(20,"div",7);D(21,CYb,
3,0,"button",8);I(22,"button",9,0);M("keydown.enter",function(){w(c);b.timePickerOpen=!b.timePickerOpen;return x()})("keydown.space",function(){w(c);b.timePickerOpen=!b.timePickerOpen;return x()})("click",function(){w(c);b.timePickerOpen=!b.timePickerOpen;return x()});K(24,"mat-icon",10);Q(25," Pick date & time ");J()()();D(26,DYb,2,4,"ng-template",11)}a&2&&(a=L(23),B(7),E("date",b.laterToday),B(4),E("date",b.tomorrow),B(4),E("date",b.nextWeek),B(4),E("date",b.nextMonth),B(2),G(b.isSnoozed?21:-1),
B(5),E("cdkConnectedOverlayOrigin",a)("cdkConnectedOverlayOpen",b.timePickerOpen)("cdkConnectedOverlayPositions",eh(9,Zid,dh(8,Yid))))},dependencies:[pB,pQ,iH,IL,GL,Mx,Lx,KH],styles:[".date[_ngcontent-%COMP%]{padding-left:20px;float:right}.title[_ngcontent-%COMP%]{padding:15px;font-size:.8rem;font-weight:700}"],changeDetection:0});var ajd=[5433823,5418819,5421028,5122552,5422257];var o9=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 Dv},bjd=function(a){return ajd.some(function(b){var c;return(c=a.hotlistIds)==null?void 0:c.includes(b)})};o9.\u0275fac=function(a){return new (a||o9)};
o9.\u0275cmp=C({type:o9,selectors:[["onedev-dma-chip"]],inputs:{hotlistIds:"hotlistIds"},outputs:{onChipClicked:"onChipClicked"},standalone:!1,decls:1,vars:1,consts:[[4,"ngIf"],[1,"chip",3,"matTooltip"],[1,"content"],["href","http://go/dma","target","_blank",3,"click"]],template:function(a,b){a&1&&D(0,EYb,5,1,"ng-container",0);a&2&&E("ngIf",bjd(b))},dependencies:[cw,nP],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 p9=function(){Z.call(this);var a=this;this.errorHandler=r(CI);this.tasksService=r(kG);this.missionControlPrefs=r(dZ);this.domSafe=r(NH);this.router=r(TA);this.appEvents=r(yD);this.analytics=r(OF);this.clipboard=r(CH);this.activeSession=r(Bu);this.needsAttentionTaskFridge=r(mG);this.butterBar=r(fH);this.OPTIONAL_SOURCE_FILTERS=["GERRIT"];this.ALL_NEEDS_ATTENTION_SOURCE_FILTERS=[].concat(t(rnc),t(this.OPTIONAL_SOURCE_FILTERS));this.ALL_FILTERED_SIGNALS=Lt;this.enableViewDismissedTasks=Vt(this.activeSession,
"enableViewDismissedTasks");this.enableStaleTasks=Vt(this.activeSession,"enableStaleTasks");this.enableSnoozedTasks=Vt(this.activeSession,"enableSnoozeTasks");this.enableIterationChip=Vt(this.activeSession,"enableIterationChip");this.enableOkrChip=Vt(this.activeSession,"enableLinkedOkrChip");this.isInternalSession=this.activeSession.isInternalSession();this.enableSignalFiltering=Vt(this.activeSession,"enableSignalFiltering");this.refreshTable=new Uf;this.SIGNAL_TO_DISPLAY_TEXT=b9;this.SIGNAL_TO_ACTION_TEXT=
Iid;this.TaskResourceType=rgc;this.SignalStatus=whc;this.sources$=this.missionControlPrefs.needsAttentionSources$;this.filteredSignals$=this.missionControlPrefs.needsAttentionFilteredSignals$;this.timeBoundary$=this.missionControlPrefs.prefs$.pipe(z(function(b){var c;return(c=b==null?void 0:b.needsAttentionDaysOld)!=null?c:30}));this.signalStatusFilter$=new Xi(0);this.allNeedsAttention$=new Xi([]);this.tasksQuery$=Ie([this.timeBoundary$,this.sources$,this.signalStatusFilter$,this.filteredSignals$]).pipe(Zf(this.destroyed$),
Pf(function(b,c){return oj(b,c)}),Yf(function(b){var c=k(b);b=c.next().value;var d=c.next().value;var e=c.next().value;c=c.next().value;d=d.map(function(f){return kp(f)});return a.needsAttentionTaskFridge.watchMany({maxTaskAgeDays:b,sources:d,signalFilter:e,filterSignals:c})}),Vf({bufferSize:1,refCount:!0}));this.workItems$=this.tasksQuery$.pipe(Yf(function(b){return a.enableIterationChip||a.enableOkrChip?onc(a.tasksService,a.getIssueIds(b.results)).pipe(If(function(c){a.errorHandler.errorHandler(null,
c);return Ae([])})):Ae([])}));this.liteTasks$=Ie([this.tasksQuery$,this.workItems$,this.filteredSignals$]).pipe(z(function(b){var c=k(b);b=c.next().value;var d=c.next().value;c=c.next().value;var e=cjd(d);d=a.getOkrIds(d);e.size>0&&a.analytics.trackEvent("missionControl","display","num-task-iterations",e.size);d.size>0&&a.analytics.trackEvent("missionControl","display","num-task-okrs",d.size);var f;return zXb(b,(f=a.signalStatusFilter$.getValue())!=null?f:0,e,d,a.enableSignalFiltering?c:a.ALL_FILTERED_SIGNALS)}));
this.loading$=this.needsAttentionTaskFridge.thinking$;this.tabData=[{signalStatusFilter:0,label:"Active",description:"Shows tasks with at least 1 active signal"}].concat(t(this.enableSnoozedTasks?[{signalStatusFilter:2,label:"Snoozed",description:"Shows tasks that are snoozed"}]:[]),[{signalStatusFilter:1,label:"Dismissed",description:"Shows tasks with at least 1 dismissed signal"}]);this.displayedColumns="selection type description timestamp signal action buttons".split(" ");this.selection=new ox(!0,
[]);this.DEFAULT_NUM_ROWS_DISPLAYED=this.numDisplayedRows=10;this.getSignalUrgency=BXb;this.getHighestPrioritySignal=CXb;Ie([this.liteTasks$]).pipe(z(function(b){b=k(b).next().value;b.sort(function(c,d){return Ml(d.lastAlertTimestamp)-Ml(c.lastAlertTimestamp)});return b}),Zf(this.destroyed$)).subscribe(function(b){a.allNeedsAttention$.next(b)});Ie([this.timeBoundary$,this.sources$,this.filteredSignals$]).pipe(Zf(this.destroyed$),Pf(function(b,c){return oj(b,c)}),Yf(function(b){var c=k(b);b=c.next().value;
var d=c.next().value;c=c.next().value;d=d.map(function(e){return kp(e)});return a.needsAttentionTaskFridge.watchMany({maxTaskAgeDays:b,sources:d,signalFilter:0,filterSignals:c})})).subscribe(function(b){setTimeout(function(){var c=b.results.filter(function(d){var e;return d.task&&((e=d.signals)==null?void 0:e.filter(function(f){return f.signalStatus===0}))});a.appEvents.missionControlTaskCount.next(c.length)})});this.needsAttentionTaskFridge.error$.pipe(Zf(this.destroyed$)).subscribe(function(b){a.errorHandler.errorHandler(null,
b)})};Y(p9,Z);p9.\u0275dir=Z.\u0275dir;p9.prototype.ngOnInit=function(){this.refreshTable.pipe(Zf(this.destroyed$)).subscribe(this.refreshTaskData.bind(this))};
p9.prototype.refreshTaskData=function(){var a=this,b,c,d,e,f,h,l,q;return se(function(u){switch(u.nextAddress){case 1:return y(u,Fe(a.timeBoundary$),2);case 2:return c=(b=u.yieldResult)!=null?b:0,y(u,Fe(a.sources$),3);case 3:return e=((d=u.yieldResult)!=null?d:[]).map(function(A){return kp(A)}),y(u,Fe(a.signalStatusFilter$),4);case 4:return h=(f=u.yieldResult)!=null?f:0,y(u,Fe(a.filteredSignals$),5);case 5:return q=(l=u.yieldResult)!=null?l:a.ALL_FILTERED_SIGNALS,y(u,lic(a.needsAttentionTaskFridge,
{maxTaskAgeDays:c,sources:e,signalFilter:h,filterSignals:q}),0)}})};p9.prototype.toggleAllRows=function(a){this.selection.selected.length===a.length?this.selection.clear():(a=a.map(function(b){return b.id}),this.selection.select.apply(this.selection,t(a)))};p9.prototype.dismissAlert=function(a){VYb(this,[a.id])};
var YYb=function(a,b,c){!c||c.getTime()>(new Date).getTime()?(knc(a.tasksService,b,c?{seconds:(c==null?NaN:c.getTime())/1E3,nanos:0}:void 0).subscribe(function(){},function(d){return void a.errorHandler.errorHandler(null,d)}),djd(a,new Set(b)),b.forEach(function(){a.analytics.trackEvent("needsAttention","click",c?"snoozeTask":"unsnoozeTask")})):a.butterBar.showWarning("Snooze date must be in the future")},wZb=function(a){if(a=nua(a.snoozeUntilTimestamp))if(a=a.getTime()-(new Date).getTime(),a>0){a/=
1E3;if(a<60)return"1 min left";if(a<3600)return a=Math.floor(a/60),a+" "+(a===1?"min":"mins")+" left";if(a<86400)return a=Math.floor(a/3600),a+" "+(a===1?"hr":"hrs")+" left";a=Math.floor(a/86400);return a+" "+(a===1?"day":"days")+" left"}};
p9.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=Pr(b.id),b=Qq.viewIssue.makeHref(b),yn(a)?this.domSafe.openInNewTab(b):(a==null?0:a.shiftKey)?Ip(this.domSafe,b):Jt(this.router,b);else{var e;this.domSafe.openInNewTab((e=b.lastMentionLink)!=null?
e:b.link)}}};
p9.prototype.sendClickAnalytics=function(a,b){this.analytics.trackEvent("missionControl","navigate","needsAttention-"+a.type+"-"+a.signals.map(function(e){return e.type}).join(","));var c=k(MZb(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);ejd(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))};p9.prototype.setNumDisplayedRows=function(a){this.numDisplayedRows=a.length>this.numDisplayedRows?a.length:10};
var AZb=function(a){return tp(a.signalStatusFilter$)!==1?"Dismiss a work item to hide it from the table":"Un-dismiss a work item to move it back to the Active tab"},aZb=function(a){var b=new Set(a.selection.selected),c,d;return(d=(c=a.allNeedsAttention$.getValue())==null?void 0:c.some(function(e){return b.has(e.id)&&!e.signals.some(function(f){return f.type==="DRIVE_MANUAL_SIGNAL"||f.type==="CHANGELIST_MANUAL_SIGNAL"||f.type==="ISSUE_MANUALLY_SIGNALED"||f.type==="GERRIT_MANUAL_SIGNAL"})}))!=null?
d:!1},yZb=function(a){return tp(a.signalStatusFilter$)!==2?"Snooze a work item to hide it from the table":"Snooze Options"},VYb=function(a,b){inc(a.tasksService,b,tp(a.signalStatusFilter$)!==1).subscribe(function(){},function(c){return void a.errorHandler.errorHandler(null,c)});djd(a,new Set(b))},$Yb=function(a){var b=a.selection.selected,c=aZb(a);a.analytics.trackEvent("manualSignal",c?"add":"remove","bulkControls",b.length);jnc(a.tasksService,b,c).subscribe(function(){a.refreshTaskData()},function(d){return void a.errorHandler.errorHandler(null,
d)});a.selection.clear()};g=p9.prototype;g.copyIdOrLink=function(a){a.type==="ISSUE"?(a=Pr(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=Pr(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 djd=function(a,b){var c=a.allNeedsAttention$.getValue();a.allNeedsAttention$.next(c.filter(function(d){return!b.has(d.id)}));tp(a.signalStatusFilter$)===0&&a.appEvents.missionControlTaskCount.next(c.filter(function(d){return!b.has(d.id)}).length)},cjd=function(a){return a.reduce(function(b,c){c.iterations!==void 0&&c.iterations.length>0&&b.set(c.workItemId,c.iterations[0]);return b},new Map)};
p9.prototype.getOkrIds=function(a){return a.reduce(function(b,c){c.okrIds!==void 0&&c.okrIds.length>0&&b.set(c.workItemId,c.okrIds);return b},new Map)};p9.prototype.getIssueIds=function(a){return a.filter(function(b){return b.task&&b.task.taskResourceType==="ISSUE"}).map(function(b){var c;return(c=b.task)==null?void 0:c.taskId}).filter(ik)};
var ejd=function(a,b,c){fjd(a,b,c);gjd(a,b,c)},fjd=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)},gjd=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)};p9.\u0275fac=function(a){return new (a||p9)};
p9.\u0275cmp=C({type:p9,selectors:[["b-needs-attention-table"]],inputs:{refreshTable:"refreshTable"},standalone:!1,features:[cg],decls:10,vars:11,consts:[["pickerToggle","bAddTaskDialogToggle"],["snoozeMenu",""],["gmat-tabs","","matAlignTabs","start","matStretchTabs","false","preserveContent","",3,"selectedIndex"],[1,"flex-kids-x","align-items-center","padded-xs-y","border-bottom"],[1,"border-left","padded-s-left","padded-s-right",3,"selectedTimeBoundary"],[1,"border-left"],[1,"text-center","border-bottom",
"padded-s-y"],["gmat-tabs","","matAlignTabs","start","matStretchTabs","false","preserveContent","",3,"selectedIndexChange","selectedIndex"],["mat-tab-label",""],["matTooltipShowDelay","500",1,"tab-label",3,"matTooltip"],[1,"heading-s"],[1,"padded-s-x",3,"sourceFilterKeys","selectedSignals"],[1,"padded-s-x",3,"changeFilteredSignals","changeSourceFilter","sourceFilterKeys","selectedSignals"],[1,"padded-s-x",3,"sourceFilterKeys","selectedSources"],[1,"padded-s-x",3,"change","sourceFilterKeys","selectedSources"],
[1,"border-left","padded-s-left","padded-s-right",3,"change","selectedTimeBoundary"],["mat-button","","type","button","bAddTaskDialogToggle","",1,"add-task-button",3,"taskAdded"],[1,"muted","border-bottom","padded-s-y"],["mat-table","","aria-label","Table of alerts",1,"full-width",3,"dataSource"],["matColumnDef","selection"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","type"],["matColumnDef","description"],["matColumnDef","timestamp"],["matColumnDef",
"signal"],["matColumnDef","action"],["matColumnDef","buttons"],["mat-header-cell","","class","border-bottom",4,"matHeaderCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","class","clickable",3,"click",4,"matRowDef","matRowDefColumns"],["class","mat-row padded-y",4,"matNoDataRow"],["type","button","mat-button","",1,"margin-s-top"],["mat-header-cell",""],["aria-label","Select all alerts",3,"change","checked","indeterminate"],["mat-cell",""],["aria-label","Select alert",3,"click","change",
"checked"],["role","img","matTooltipPosition","left","matTooltipShowDelay","250",3,"matTooltip","svgIcon"],["type","button","mat-button","",1,"bulk-dismiss"],["type","button","mat-button","",1,"bulk-manual-signal"],["type","button","mat-button","",1,"bulk-dismiss",3,"click"],["mat-button","",1,"bulk-snooze",3,"matMenuTriggerFor"],[3,"snooze","unsnooze","isSnoozed"],["type","button","mat-button","",1,"bulk-manual-signal",3,"click"],[1,"flex-kids-x","align-items-center"],[1,"italic"],[3,"issueId"],
[3,"okrIds"],[3,"iteration"],[1,"going-ooo",3,"matTooltip"],["matTooltip","Estimated review time (visible only to you)",1,"review-estimate"],[1,"margin-s-right",3,"issuePriority"],["tabindex","0","role","link",1,"subtle-link","break-word","grow-1",3,"auxclick","href"],[3,"onChipClicked","hotlistIds"],["svgIcon","event_upcoming_24px"],[3,"click","taskId","lastAlertTimestamp"],["mode","relativepastshort",3,"timestamp","paddingLeftPx"],[3,"issueId","signals"],["mat-button","",1,"primary","action-button"],
["mat-header-cell","",1,"border-bottom"],[1,"snooze-time"],[1,"buttons-container"],["type","button","mat-icon-button","",1,"copy-btn","xs",3,"click","matTooltip"],["svgIcon","copy","color","primary",1,"copy-icon"],["type","button","mat-icon-button","",1,"dismiss-btn","xs",3,"click","ariaLabel","matTooltip"],["svgIcon","issue-status-wont-fix","color","primary",1,"dismiss-icon"],["type","button","mat-icon-button","",1,"snooze-btn","xs",3,"click","ariaLabel","matTooltip","matMenuTriggerFor"],["svgIcon",
"time-24px","color","primary",1,"snooze-icon"],["mat-header-row",""],["mat-row","",1,"clickable",3,"click"],[1,"mat-row","padded-y"],["colspan","7",1,"mat-cell","type-l","text-center","padded-top"],["type","button","mat-button","",1,"margin-s-top",3,"click"],["svgIcon","arrow-down",1,"icon"],["svgIcon","arrow-up",1,"icon"],[3,"ariaLabel"]],template:function(a,b){a&1&&(D(0,HYb,3,1,"mat-tab-group",2),I(1,"div",3),D(2,NYb,4,1)(3,OYb,1,1,"time-boundary-filter",4),S(4,"async"),D(5,PYb,4,0,"div",5),J(),
D(6,KZb,2,3),S(7,"async"),S(8,"async"),D(9,LZb,2,1,"div",6));if(a&2){var c;G(b.enableViewDismissedTasks?0:-1);B(2);G(b.isInternalSession?2:-1);B();G((c=U(4,5,b.timeBoundary$))?3:-1,c);B(2);G(b.signalStatusFilter$.getValue()===b.SignalStatus.ACTIVE?5:-1);B();G(U(7,7,b.liteTasks$)&&!U(8,9,b.loading$)?6:9)}},dependencies:[pB,iH,zL,BM,oM,uM,qM,nM,wM,rM,tM,xM,zM,AM,DN,xN,yN,zN,RH,SH,mB,rB,eB,ky,jy,ly,k9,l9,n9,m9,sL,FH,o9,YK,Kid,Mid,JL,g9,a9,Y8,ew,kw,Z8],styles:[".mat-mdc-header-cell[_ngcontent-%COMP%]{font-weight:500}tr.mat-mdc-header-row[_ngcontent-%COMP%], tr.mat-mdc-row[_ngcontent-%COMP%]{height:32px}td.mat-mdc-cell[_ngcontent-%COMP%], td.mat-mdc-footer-cell[_ngcontent-%COMP%], th.mat-mdc-header-cell[_ngcontent-%COMP%]{font-size:.8125rem;padding:0 4px}td.mat-mdc-cell[_ngcontent-%COMP%], td.mat-mdc-footer-cell[_ngcontent-%COMP%]{color:#202124;color:var(--row-default-text)}th.mat-mdc-header-cell[_ngcontent-%COMP%]{color:#202124;color:var(--text-high-contrast)}td.mat-column-menu[_ngcontent-%COMP%], td.mat-column-save[_ngcontent-%COMP%]{width:32px;height:32px}.mat-mdc-cell[_ngcontent-%COMP%]:first-of-type, .mat-mdc-footer-cell[_ngcontent-%COMP%]:first-of-type, .mat-mdc-header-cell[_ngcontent-%COMP%]:first-of-type{padding-left:0}.mat-mdc-cell[_ngcontent-%COMP%]:last-of-type, .mat-mdc-footer-cell[_ngcontent-%COMP%]:last-of-type, .mat-mdc-header-cell[_ngcontent-%COMP%]:last-of-type{padding-right:0}.mat-mdc-row[_ngcontent-%COMP%]:last-of-type   .mat-mdc-cell[_ngcontent-%COMP%]{border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider)}tr.mat-mdc-row.clickable[_ngcontent-%COMP%]{cursor:pointer}tr.mat-mdc-row.clickable[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}tr.mat-mdc-row[_ngcontent-%COMP%]   .mat-column-active-indicator[_ngcontent-%COMP%]{cursor:pointer;display:table-cell;padding:0 1.5px;width:0}tr.mat-mdc-row.active[_ngcontent-%COMP%]   .mat-column-active-indicator[_ngcontent-%COMP%], tr.mat-mdc-row[_ngcontent-%COMP%]:focus-within   .mat-column-active-indicator[_ngcontent-%COMP%]{outline:none;background-color:#4285f4;background-color:var(--primary-c500)}[_nghost-%COMP%]{display:block}[_nghost-%COMP%]     mat-spinner.large{top:unset}[_nghost-%COMP%]     .add-task-button:focus-within:not(.cdk-keyboard-focused) .mat-mdc-button-persistent-ripple, [_nghost-%COMP%]     .bulk-snooze:focus-within:not(.cdk-keyboard-focused) .mat-mdc-button-persistent-ripple, [_nghost-%COMP%]     .copy-btn:focus-within:not(.cdk-keyboard-focused) .mat-mdc-button-persistent-ripple, [_nghost-%COMP%]     .dismiss-btn:focus-within:not(.cdk-keyboard-focused) .mat-mdc-button-persistent-ripple, [_nghost-%COMP%]     .snooze-btn:focus-within:not(.cdk-keyboard-focused) .mat-mdc-button-persistent-ripple{--mat-icon-button-focus-state-layer-opacity:0}.mat-column-selection[_ngcontent-%COMP%]{text-align:center}.mat-column-type[_ngcontent-%COMP%]{text-align:center}.mat-column-type[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{vertical-align:middle}.product-icon.critique-logo[_ngcontent-%COMP%]{max-width:20px}.product-icon.drive-doc[_ngcontent-%COMP%]{color:#1967d2}.product-icon.drive-sheet[_ngcontent-%COMP%]{color:#1e8e3e}.product-icon.drive-slide[_ngcontent-%COMP%]{color:#f9ab00}.product-icon.gerrit-logo[_ngcontent-%COMP%]{max-width:20px}th.mat-column-signal[_ngcontent-%COMP%]{padding-left:8px}th.mat-column-action[_ngcontent-%COMP%]{padding-left:12px}th.mat-column-description[_ngcontent-%COMP%]{overflow:visible}th.mat-column-buttons[_ngcontent-%COMP%]{padding-left:12px}.copy-icon[_ngcontent-%COMP%]{opacity:0;margin-bottom:1px}.dismiss-icon[_ngcontent-%COMP%]{opacity:0;margin-bottom:1px}.snooze-icon[_ngcontent-%COMP%]{opacity:0;margin-bottom:1px}.buttons-container[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-justify-content:space-around;-ms-flex-pack:distribute;justify-content:space-around;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}.snooze-time[_ngcontent-%COMP%]{position:absolute;padding-left:12px}.copy-btn.cdk-keyboard-focused[_ngcontent-%COMP%]   .copy-icon[_ngcontent-%COMP%], .copy-btn.cdk-keyboard-focused[_ngcontent-%COMP%]   .dismiss-icon[_ngcontent-%COMP%], .copy-btn.cdk-keyboard-focused[_ngcontent-%COMP%]   .snooze-icon[_ngcontent-%COMP%], .dismiss-btn.cdk-keyboard-focused[_ngcontent-%COMP%]   .copy-icon[_ngcontent-%COMP%], .dismiss-btn.cdk-keyboard-focused[_ngcontent-%COMP%]   .dismiss-icon[_ngcontent-%COMP%], .dismiss-btn.cdk-keyboard-focused[_ngcontent-%COMP%]   .snooze-icon[_ngcontent-%COMP%], .mat-mdc-row[_ngcontent-%COMP%]:focus-visible   .copy-icon[_ngcontent-%COMP%], .mat-mdc-row[_ngcontent-%COMP%]:focus-visible   .dismiss-icon[_ngcontent-%COMP%], .mat-mdc-row[_ngcontent-%COMP%]:focus-visible   .snooze-icon[_ngcontent-%COMP%], .mat-mdc-row[_ngcontent-%COMP%]:hover   .copy-icon[_ngcontent-%COMP%], .mat-mdc-row[_ngcontent-%COMP%]:hover   .dismiss-icon[_ngcontent-%COMP%], .mat-mdc-row[_ngcontent-%COMP%]:hover   .snooze-icon[_ngcontent-%COMP%], .snooze-btn.cdk-keyboard-focused[_ngcontent-%COMP%]   .copy-icon[_ngcontent-%COMP%], .snooze-btn.cdk-keyboard-focused[_ngcontent-%COMP%]   .dismiss-icon[_ngcontent-%COMP%], .snooze-btn.cdk-keyboard-focused[_ngcontent-%COMP%]   .snooze-icon[_ngcontent-%COMP%]{opacity:1;color:#1a73e8;color:var(--primary);background-color:unset}.copy-btn.cdk-keyboard-focused[_ngcontent-%COMP%]   .snooze-time[_ngcontent-%COMP%], .dismiss-btn.cdk-keyboard-focused[_ngcontent-%COMP%]   .snooze-time[_ngcontent-%COMP%], .mat-mdc-row[_ngcontent-%COMP%]:focus-visible   .snooze-time[_ngcontent-%COMP%], .mat-mdc-row[_ngcontent-%COMP%]:hover   .snooze-time[_ngcontent-%COMP%], .snooze-btn.cdk-keyboard-focused[_ngcontent-%COMP%]   .snooze-time[_ngcontent-%COMP%]{opacity:0;display:none}a.action-button[_ngcontent-%COMP%]{color:#1a73e8;color:var(--link);white-space:nowrap}a.action-button[_ngcontent-%COMP%]:active, a.action-button[_ngcontent-%COMP%]:focus, a.action-button[_ngcontent-%COMP%]:hover{color:#1a73e8;color:var(--link)}.bulk-dismiss[_ngcontent-%COMP%]{height:24px;line-height:24px;margin-left:-32px}.bulk-manual-signal[_ngcontent-%COMP%]{height:24px;line-height:24px}.bulk-snooze[_ngcontent-%COMP%]{height:24px;line-height:24px}.review-estimate[_ngcontent-%COMP%]{background-color:#edfbf1;background-color:var(--green-bg);height:18px;line-height:18px;padding:0 8px}.going-ooo[_ngcontent-%COMP%]{background-color:#fff8e4;background-color:var(--yellow-bg);color:#8f6b00;color:var(--yellow-text);-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;height:18px;padding:0 4px}.going-ooo[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{height:16px;width:16px}.going-ooo[_ngcontent-%COMP%], .review-estimate[_ngcontent-%COMP%]{border-radius:4px;display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:-ms-inline-flexbox;display:inline-flex;margin-right:4px;vertical-align:middle}"]});var q9=function(){Z.call(this);var a=this;this.prefsService=r(dZ);this.appEvents=r(yD);this.analytics=r(OF);this.numNeedsAttentionTasks$=this.appEvents.missionControlTaskCount;this.refreshData=new Uf;this.numNeedsAttentionTasks$.pipe(Ue(ik),Nf(),Zf(this.destroyed$)).subscribe(function(e){a.analytics.trackEvent("missionControl","display","num-needs-attention-"+e,e)});var b,c=(b=this.prefsService.prefs.needsAttentionSources)!=null?b:[];b=this.prefsService.prefs.isNeedsAttentionSourcesConfigured;c=c.length!==
0||b?c:[].concat(t(rnc));var d;b=(d=this.prefsService.prefs.needsAttentionDaysOld)!=null?d:30;this.analytics.trackEvent("missionControl","view","needsAttention-sources-"+c.join(",")+"-"+b)};Y(q9,Z);q9.\u0275dir=Z.\u0275dir;q9.prototype.isCollapsed=function(){return this.prefsService.isCollapsed("needs-attention-wrapper")};q9.prototype.toggleCollapsed=function(){this.prefsService.toggleCollapsed("needs-attention-wrapper")};q9.\u0275fac=function(a){return new (a||q9)};
q9.\u0275cmp=C({type:q9,selectors:[["needs-attention-wrapper"]],inputs:{refreshData:"refreshData"},standalone:!1,features:[cg],decls:10,vars:6,consts:[[1,"carded","bg-main"],[1,"flex-kids-x","align-items-center"],[1,"heading-s"],["svgIcon","info","tabindex","0","role","button","aria-hidden","false","aria-label","Work items which require actions from you","matTooltip","Work items which require actions from you",1,"info","margin-s-left"],["type","button","mat-icon-button","","aria-label","Toggle expansion state",
1,"small","collapse-btn","margin-s-left",3,"click"],["svgIcon","arrow-up",1,"icon-m"],[1,"alert-count-badge","b-chip"],[1,"main-content"],[1,"alert-count"],[3,"refreshTable"]],template:function(a,b){a&1&&(I(0,"div",0)(1,"header",1)(2,"h3",2),Q(3," Needs attention "),J(),K(4,"mat-icon",3),I(5,"button",4),M("click",function(){return b.toggleCollapsed()}),K(6,"mat-icon",5),J(),D(7,NZb,3,1,"div",6),S(8,"async"),J(),D(9,OZb,2,1,"div",7),J());if(a&2){var c;sg("collapsed",b.isCollapsed());B(7);G((c=U(8,
4,b.numNeedsAttentionTasks$))?7:-1,c);B(2);G(b.isCollapsed()?-1:9)}},dependencies:[pB,eB,ly,p9,mB,rB,ew],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 D_b=function(){return[]},E_b=function(){return["moreRows"]},r9=function(){Z.call(this);var a=this;this.prefsService=r(dZ);this.issueFridge=r(hF);this.router=r(TA);this.domSafe=r(NH);this.analytics=r(OF);this.errorHandler=r(CI);this.activeSession=r(Bu);this.clipboard=r(CH);this.myTasksFridge=r(lG);this.tasksService=r(kG);this.OPTIONAL_SOURCE_FILTERS=["GERRIT"];this.MY_TASK_DEFAULT_FILTERS=[].concat(t(snc),t(this.OPTIONAL_SOURCE_FILTERS));this.ONLY_OWNED_TASK_FILTERS=[].concat(t(this.MY_TASK_DEFAULT_FILTERS),
["GOOGLE_TASKS"]);this.TaskResourceType=rgc;this.taskResourceTypeToIcon=cya;this.extractLastDigits=Pr;this.tableColumns=[].concat(t(jQc));this.tableOptions=Object.assign({},mQc,{rowLimit:10});this.refreshData=new Uf;this.manualSignalTriggered=new aB;this.sources$=this.prefsService.myTasksSources$;this.timeBoundary$=this.prefsService.prefs$.pipe(z(function(e){var f;return(f=e==null?void 0:e.myTasksDaysOld)!=null?f:7}));var b;this.INITIAL_TAB_INDEX=(b=A4c(this.prefsService,"mc-my-tasks"))!=null?b:0;
this.MY_TASK_FILTERS=this.INITIAL_TAB_INDEX===0?this.ONLY_OWNED_TASK_FILTERS:this.MY_TASK_DEFAULT_FILTERS;this.isInternalSession=this.activeSession.isInternalSession();this.isSavingManualSignal=!1;var c;this.tabData=[{label:"Owned",description:"Tasks you own or are the author of",liteTasks:new Xi([]),loading:!0},{label:"Collaborating",description:"Tasks you're working on or contributing to (but don't own)",liteTasks:new Xi([]),loading:!0},{label:"Following",description:"Tasks you're tracking or have recent activities on",
liteTasks:new Xi([]),loading:!0},PZb(this.issueFridge,(c=this.activeSession.getTracker())==null?void 0:c.trackerId)].filter(ik);this.myTasks$=Ie([this.timeBoundary$,this.sources$]).pipe(Zf(this.destroyed$),Pf(function(e,f){return e[0]===f[0]&&oj(e[1],f[1])}),Yf(function(e){var f=k(e);e=f.next().value;f=f.next().value;var h=new Set(f.map(function(l){return kp(l)}));return a.myTasksFridge.watchMany({maxTaskAgeDays:e,sources:Array.from(h),issueFilter:QZb(f)})}));this.displayColumns="type title modified role created options".split(" ");
this.DEFAULT_NUM_ROWS_DISPLAYED=this.numDisplayedRows=10;this.myTasks$.subscribe(function(e){var f=e.results;e=f.filter(function(A){return A.resourceRelationships.filter(function(F){return F.category==="OWNER"}).length>0}).sort(L_b);var h=f.filter(function(A){return A.resourceRelationships.filter(function(F){return F.category==="COLLABORATOR"}).length>0}).sort(L_b);f=f.filter(function(A){return A.resourceRelationships.filter(function(F){return F.category==="FOLLOWING"}).length>0}).sort(L_b);var l;
(l=a.tabData[0].liteTasks)==null||l.next(e);var q;(q=a.tabData[1].liteTasks)==null||q.next(h);var u;(u=a.tabData[2].liteTasks)==null||u.next(f);a.tabData[0].loading=!1;a.tabData[1].loading=!1;a.tabData[2].loading=!1});var d;this.analytics.trackEvent("missionControl","display","my-tasks-"+((d=this.tabData[this.INITIAL_TAB_INDEX])==null?void 0:d.label));this.myTasksFridge.error$.pipe(Zf(this.destroyed$)).subscribe(function(e){a.errorHandler.errorHandler(null,e)})};Y(r9,Z);r9.\u0275dir=Z.\u0275dir;
g=r9.prototype;g.ngOnInit=function(){var a=this;this.refreshData.pipe(Zf(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 kp(e)}));a.myTasksFridge.watchMany({maxTaskAgeDays:c,sources:Array.from(d),issueFilter:QZb(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){Xlb(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);this.MY_TASK_FILTERS=a===0?this.ONLY_OWNED_TASK_FILTERS:this.MY_TASK_DEFAULT_FILTERS};
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=Pr(b.taskId),b=Qq.viewIssue.makeHref(b),yn(a)?this.domSafe.openInNewTab(b):a&&a.shiftKey?Ip(this.domSafe,b):Jt(this.router,b)):this.domSafe.openInNewTab(b.externalLink))}};
g.copyIdOrLink=function(a){a.taskResourceType==="ISSUE"?(a=Pr(a.taskId),this.clipboard.copy(a)):this.clipboard.copy(a.externalLink)};var s_b=function(a,b){a.isSavingManualSignal=!0;a.analytics.trackEvent("manualSignal","add","myTasksRow");var c=b.taskResourceType==="ISSUE"?3E3:0;jnc(a.tasksService,[b.taskId],!0).pipe(Of(c)).subscribe(function(){a.manualSignalTriggered.emit(b);a.isSavingManualSignal=!1},function(d){a.errorHandler.errorHandler(null,d);a.isSavingManualSignal=!1})};
r9.prototype.sendClickAnalytics=function(a){var b,c=((b=a.resourceRelationships[0].roleName)!=null?b:"").split(" ").map(function(d,e){return e===0?d.toLowerCase():d.charAt(0).toUpperCase()+d.substring(1).toLowerCase()}).join("");this.analytics.trackEvent("missionControl","navigate","myTasks-"+a.taskResourceType+"-"+c)};r9.prototype.sendDmaAnalytics=function(){this.analytics.trackEvent("missionControl","click","dmaChip")};r9.prototype.getIds=function(a){return a.map(function(b){return b.issueId})};
var e_b=function(a){return a==="P0"||a==="P1"};r9.\u0275fac=function(a){return new (a||r9)};
r9.\u0275cmp=C({type:r9,selectors:[["my-tasks"]],inputs:{refreshData:"refreshData"},outputs:{manualSignalTriggered:"manualSignalTriggered"},standalone:!1,features:[cg],decls:8,vars:3,consts:[[1,"carded","bg-main"],[1,"flex-kids-x","align-items-center"],[1,"heading-s"],["svgIcon","info","tabindex","0","role","button","aria-hidden","false","aria-label","Recent items helps you quickly find your active tasks and docs organized by your relation to them","matTooltip","Recent items helps you quickly find your active tasks and docs organized by your relation to them",
1,"info","margin-s-left"],["type","button","mat-icon-button","","aria-label","Toggle collapsed state for this card",1,"small","collapse-btn","margin-s-left",3,"click"],["svgIcon","arrow-up",1,"icon-m"],[1,"main-content","margin-s-top"],["gmat-tabs","","matAlignTabs","start","matStretchTabs","false","preserveContent","",3,"selectedIndexChange","selectedIndex"],["mat-tab-label",""],[1,"tab-filters","flex-kids-x","align-items-center","padded-xs-y","border-bottom"],[1,"text-center","border-bottom","padded-s-y"],
["matTooltipShowDelay","500",1,"tab-label",3,"matTooltip"],[1,"border-left","padded-s-left",3,"selectedTimeBoundary"],[1,"padded-s-x",3,"sourceFilterKeys","selectedSources"],[1,"padded-s-x",3,"change","sourceFilterKeys","selectedSources"],[1,"border-left","padded-s-left",3,"change","selectedTimeBoundary"],[3,"issueIds","tableColumns","options"],["mat-table","",3,"dataSource","class"],[1,"muted","border-bottom","padded-s-y"],["mat-table","",3,"dataSource"],["matColumnDef","type"],["mat-header-cell",
"",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","title"],["matColumnDef","modified"],["matColumnDef","role"],["matColumnDef","created"],["matColumnDef","options"],["mat-header-cell","","class","options-column border-bottom",4,"matHeaderCellDef"],["mat-cell","","class","options-column",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","class","clickable",3,"click",4,"matRowDef","matRowDefColumns"],["matColumnDef","moreRows"],["mat-footer-cell","","colspan",
"2",4,"matFooterCellDef"],["mat-footer-row","",3,"hidden",4,"matFooterRowDef"],["class","mat-row padded-y",4,"matNoDataRow"],["mat-header-cell",""],["mat-cell",""],["matTooltipPosition","left","matTooltipShowDelay","250",3,"matTooltip","svgIcon"],[1,"italic"],[3,"issueId","compactMode"],[1,"margin-xs-right",3,"issuePriority"],[1,"subtle-link","break-word",3,"auxclick","href"],[3,"hotlistIds"],[3,"onChipClicked","hotlistIds"],["mode","relativepastshort",3,"timestamp","paddingLeftPx"],["mat-header-cell",
"",1,"options-column","border-bottom"],["mat-cell","",1,"options-column"],[1,"buttons-container"],["type","button","mat-icon-button","","aria-label","Trigger a needs attention alert on this task",1,"manual-signal-btn","xs",3,"click","disabled","matTooltip"],["svgIcon","label_important_outline_24px","color","primary",1,"manual-signal-icon"],["type","button","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"],["type","button","mat-button","",1,"margin-s-top"],["type","button","mat-button","",1,"margin-s-top",3,"click"],["svgIcon","arrow-down",1,"icon"],["svgIcon","arrow-up",1,"icon"],["mat-footer-row","",3,"hidden"],[1,"mat-row","padded-y"],["colspan","5",1,"mat-cell","type-l","text-center","padded-top"],[3,"ariaLabel"]],template:function(a,b){a&1&&(I(0,"div",0)(1,"header",1)(2,"h3",2),Q(3," Recent items "),J(),K(4,"mat-icon",3),I(5,"button",
4),M("click",function(){return b.toggleCollapsed()}),K(6,"mat-icon",5),J()(),D(7,K_b,4,1,"div",6),J());a&2&&(sg("collapsed",b.isCollapsed()),B(7),G(b.isCollapsed()?-1:7))},dependencies:[pB,FH,sL,l9,m9,iH,o9,YK,AU,eB,jy,ly,DN,xN,yN,zN,zL,BM,oM,uM,qM,nM,wM,pM,vM,rM,tM,sM,xM,zM,yM,AM,mB,rB,ew],styles:[".mat-mdc-header-cell[_ngcontent-%COMP%]{font-weight:500}tr.mat-mdc-header-row[_ngcontent-%COMP%], tr.mat-mdc-row[_ngcontent-%COMP%]{height:32px}td.mat-mdc-cell[_ngcontent-%COMP%], td.mat-mdc-footer-cell[_ngcontent-%COMP%], th.mat-mdc-header-cell[_ngcontent-%COMP%]{font-size:.8125rem;padding:0 4px}td.mat-mdc-cell[_ngcontent-%COMP%], td.mat-mdc-footer-cell[_ngcontent-%COMP%]{color:#202124;color:var(--row-default-text)}th.mat-mdc-header-cell[_ngcontent-%COMP%]{color:#202124;color:var(--text-high-contrast)}td.mat-column-menu[_ngcontent-%COMP%], td.mat-column-save[_ngcontent-%COMP%]{width:32px;height:32px}.mat-mdc-cell[_ngcontent-%COMP%]:first-of-type, .mat-mdc-footer-cell[_ngcontent-%COMP%]:first-of-type, .mat-mdc-header-cell[_ngcontent-%COMP%]:first-of-type{padding-left:0}.mat-mdc-cell[_ngcontent-%COMP%]:last-of-type, .mat-mdc-footer-cell[_ngcontent-%COMP%]:last-of-type, .mat-mdc-header-cell[_ngcontent-%COMP%]:last-of-type{padding-right:0}.mat-mdc-row[_ngcontent-%COMP%]:last-of-type   .mat-mdc-cell[_ngcontent-%COMP%]{border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider)}tr.mat-mdc-row.clickable[_ngcontent-%COMP%]{cursor:pointer}tr.mat-mdc-row.clickable[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}[_nghost-%COMP%]{display:block}.collapse-btn[_ngcontent-%COMP%]{-webkit-transition:-webkit-transform .1s ease-in-out;transition:-webkit-transform .1s ease-in-out;transition:transform .1s ease-in-out;transition:transform .1s ease-in-out,-webkit-transform .1s ease-in-out}.collapsed[_ngcontent-%COMP%]   .collapse-btn[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.carded[_ngcontent-%COMP%]{-webkit-transition:none .1s ease-in-out;transition:none .1s ease-in-out;-webkit-transition-property:padding;transition-property:padding}.carded.collapsed[_ngcontent-%COMP%]{padding-top:8px;padding-bottom:8px}.time-boundary-listbox[_ngcontent-%COMP%]   mat-chip-option[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{cursor:pointer}table[_ngcontent-%COMP%]{width:100%;table-layout:fixed}mat-header-row[_ngcontent-%COMP%], mat-row[_ngcontent-%COMP%]{min-height:2rem}mat-header-cell[_ngcontent-%COMP%]{font-weight:500}.mat-mdc-cell[_ngcontent-%COMP%], .mat-mdc-header-cell[_ngcontent-%COMP%]{padding:0 .75rem}.mat-column-type[_ngcontent-%COMP%]{width:4%;min-width:45px;text-align:center}.mat-column-type[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{vertical-align:middle}.mat-column-created[_ngcontent-%COMP%], .mat-column-modified[_ngcontent-%COMP%]{min-width:180px;width:12%}.mat-column-role[_ngcontent-%COMP%]{min-width:100px;width:10%}.options-column[_ngcontent-%COMP%]{width:64px;text-align:center}.mat-column-moreRows[_ngcontent-%COMP%]{border:none}.product-icon.critique-logo[_ngcontent-%COMP%]{max-width:20px}.product-icon.drive-doc[_ngcontent-%COMP%]{color:#1967d2}.product-icon.drive-sheet[_ngcontent-%COMP%]{color:#1e8e3e}.product-icon.drive-slide[_ngcontent-%COMP%]{color:#f9ab00}.product-icon.gerrit-logo[_ngcontent-%COMP%]{max-width:20px}.info[_ngcontent-%COMP%]{color:#5f6368;color:var(--icon);height:20px;width:20px}.tab-label[_ngcontent-%COMP%]{cursor:pointer}.buttons-container[_ngcontent-%COMP%]{width:100%;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-justify-content:space-around;-ms-flex-pack:distribute;justify-content:space-around;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}button.manual-signal-btn[disabled][_ngcontent-%COMP%]{opacity:.35}.copy-icon[_ngcontent-%COMP%], .manual-signal-icon[_ngcontent-%COMP%]{color:#fff;color:var(--background);margin-bottom:1px;max-width:20px}.copy-icon.cdk-keyboard-focused[_ngcontent-%COMP%]   .buttons-container[_ngcontent-%COMP%], .copy-icon.cdk-keyboard-focused[_ngcontent-%COMP%]   .copy-icon[_ngcontent-%COMP%], .copy-icon.cdk-keyboard-focused[_ngcontent-%COMP%]   .manual-signal-icon[_ngcontent-%COMP%], .manual-signal-icon.cdk-keyboard-focused[_ngcontent-%COMP%]   .buttons-container[_ngcontent-%COMP%], .manual-signal-icon.cdk-keyboard-focused[_ngcontent-%COMP%]   .copy-icon[_ngcontent-%COMP%], .manual-signal-icon.cdk-keyboard-focused[_ngcontent-%COMP%]   .manual-signal-icon[_ngcontent-%COMP%], .mat-mdc-row[_ngcontent-%COMP%]:focus-visible   .buttons-container[_ngcontent-%COMP%], .mat-mdc-row[_ngcontent-%COMP%]:focus-visible   .copy-icon[_ngcontent-%COMP%], .mat-mdc-row[_ngcontent-%COMP%]:focus-visible   .manual-signal-icon[_ngcontent-%COMP%], .mat-mdc-row[_ngcontent-%COMP%]:hover   .buttons-container[_ngcontent-%COMP%], .mat-mdc-row[_ngcontent-%COMP%]:hover   .copy-icon[_ngcontent-%COMP%], .mat-mdc-row[_ngcontent-%COMP%]:hover   .manual-signal-icon[_ngcontent-%COMP%]{color:#1a73e8;color:var(--primary);background-color:unset}[_nghost-%COMP%]     .copy-btn:focus-within:not(.cdk-keyboard-focused) .mat-mdc-button-persistent-ripple, [_nghost-%COMP%]     .manual-signal-btn:focus-within:not(.cdk-keyboard-focused) .mat-mdc-button-persistent-ripple{--mat-icon-button-focus-state-layer-opacity:0}\n/*# sourceMappingURL=my_tasks.css.map */"]});var s9=function(){Z.call(this);var a=this;this.hostElement=r(ef);this.analytics=r(OF);this.userFeedback=r(aQ);this.prefsService=r(dZ);this.hatsService=r(SP);this.appSearchState=r(TY);this.HOTKEYS=Fp;this.refreshAllMissionControlData=new Uf;this.refreshNeedsAttentionData=new Uf;this.captureAnyClick=function(b){b=bBa(b);for(var c=k(Object.entries(hjd)),d=c.next();!d.done;d=c.next()){var e=k(d.value);d=e.next().value;e=e.next().value;if(b.includes(d)){a.analytics.trackEvent("missionControl","click",
e);break}}};this.refreshAllMissionControlData.pipe(Zf(this.destroyed$)).subscribe(function(){a.refreshNeedsAttentionData.next()})};Y(s9,Z);s9.\u0275dir=Z.\u0275dir;s9.prototype.ngOnInit=function(){var a=this;setTimeout(function(){a.appSearchState.clear()});this.hostElement.nativeElement.addEventListener("click",this.captureAnyClick,!0);var b=k(ijd(this)),c=b.next().value;b=b.next().value;this.analytics.trackEvent("missionControl","sections-on-load",c,b);TFc(this.hatsService,"u5xoTzKbb0g6pPHSLo10WcCoiLmK").pipe(Zf(this.destroyed$)).subscribe()};
s9.prototype.ngOnDestroy=function(){Z.prototype.ngOnDestroy.call(this);this.hostElement.nativeElement.removeEventListener("click",this.captureAnyClick,!0)};var ijd=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]};s9.prototype.refresh=function(){this.refreshAllMissionControlData.next()};
s9.\u0275fac=function(a){return new (a||s9)};
s9.\u0275cmp=C({type:s9,selectors:[["ng-component"]],standalone:!1,features:[cg],decls:14,vars:4,consts:[[1,"a11y-only"],[1,"padded-s","flex-kids-y","gap-s","pos-fill","bg-off-main","overflow","overflow-on-print-media",3,"onHotkey","hotkey"],[1,"flex-kids-x","align-items-center","justify-flex-end","info-row"],["href","http://go/b-home","target","_blank",1,"margin-right","learn-more-link"],["type","button","mat-stroked-button","",1,"small",3,"click"],[1,"a"],[3,"refreshData"],[1,"t"],[3,"manualSignalTriggered",
"refreshData"],[1,"w"]],template:function(a,b){a&1&&(I(0,"h2",0),Q(1,"Mission Control"),J(),I(2,"div",1),M("onHotkey",function(){return b.refresh()}),I(3,"div",2)(4,"a",3),Q(5,"Learn about 'Home'"),J(),I(6,"button",4),M("click",function(){zGc(b.userFeedback)}),Q(7,"Give feedback"),J()(),I(8,"section",5),K(9,"needs-attention-wrapper",6),J(),I(10,"section",7)(11,"my-tasks",8),M("manualSignalTriggered",function(){return b.refreshNeedsAttentionData.next()}),J()(),I(12,"section",9),K(13,"work-areas-wrapper-card",
6),J()());a&2&&(B(2),E("hotkey",b.HOTKEYS.REFRESH_ISSUE_LIST),B(7),E("refreshData",b.refreshNeedsAttentionData),B(2),E("refreshData",b.refreshAllMissionControlData),B(2),E("refreshData",b.refreshAllMissionControlData))},dependencies:[eB,jy,JZ,q9,r9,wH],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 hjd={"NEEDS-ATTENTION-WRAPPER":"needs-attention","MY-TASKS":"my-tasks","MY-TASKS-V1":"my-tasks","WORK-AREAS-WRAPPER-CARD":"work-areas"};var zu=function(a){this.internalArrayDoNotAccessOrElse=m(a)};Y(zu,V);g=zu.prototype;g.getId=function(){return dv(this,1)};g.getId_asLegacyNumberOrString=function(){return Qk(this,1)};g.getId_asString=function(){return Wk(this,1)};g.setId=function(a){return jm(this,1,a)};g.getFrequency=function(){return Fk(this,2,0)};g.setFrequency=function(a){return ck(this,2,a)};g.getOrdinal=function(){return Xj(this,3)};g.setOrdinal=function(a){return pk(this,3,a)};g.getTimeZone=function(){return W(this,lp,4)};
g.setTimeZone=function(a){return X(this,lp,4,a)};g.hasTimeZone=function(){return Jk(this,lp,4)};g.getTimeOfDay=function(){return W(this,mp,5)};g.setTimeOfDay=function(a){return X(this,mp,5,a)};g.getDisplayName=function(){return Kh(this,6)};g.setDisplayName=function(a){return ak(this,6,a)};g.getQuery=function(){return Kh(this,7)};g.setQuery=function(a){return ak(this,7,a)};g.clearQuery=function(){Np(this,7)};g.getLastUpdatedTimestamp=function(){return W(this,rk,12)};var t9=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,t9.messageId)};Y(t9,V);t9.prototype.getSubscription=function(){return W(this,zu,1)};t9.prototype.setSubscription=function(a){return X(this,zu,1,a)};t9.messageId="b.ConfigurableAlertSubscriptionRequest";var u9=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,u9.messageId)};Y(u9,V);u9.prototype.getSubscription=function(){return W(this,zu,1)};u9.prototype.setSubscription=function(a){return X(this,zu,1,a)};u9.messageId="b.ConfigurableAlertSubscriptionResponse";var jjd=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,jjd.messageId)};Y(jjd,V);jjd.prototype.getSubscriptionsList=function(){return lk(this,zu,1,Uj())};jjd.messageId="b.ListConfigurableAlertSubscriptionsResponse";var v9=function(){this.executor=r(MC)};g=v9.prototype;g.create=function(a){return this.executor.post({url:"action/configurable_alert_subscriptions",body:(new t9).setSubscription(N_b(a)),responseConstructor:u9}).pipe(z(function(b){if(b=b.getSubscription())return M_b(b);throw Error("wg");}))};g.list=function(){return this.executor.get({url:"action/configurable_alert_subscriptions",responseConstructor:jjd}).pipe(z(function(a){return a.getSubscriptionsList().map(M_b)}))};
g.get=function(a){return this.executor.get({url:"action/configurable_alert_subscriptions/"+a,responseConstructor:u9}).pipe(z(function(b){if(b=b.getSubscription())return M_b(b);throw Error("xg");}))};g.update=function(a){return this.executor.post({url:"action/configurable_alert_subscriptions/"+a.id,body:(new t9).setSubscription(N_b(a)),responseConstructor:u9}).pipe(z(function(b){if(b=b.getSubscription())return M_b(b);throw Error("wg");}))};
g.delete=function(a){return this.executor.delete({url:"action/configurable_alert_subscriptions/"+a,responseConstructor:WC}).pipe(z(function(){}))};v9.\u0275fac=function(a){return new (a||v9)};v9.\u0275prov=n({token:v9,factory:v9.\u0275fac,providedIn:"root"});var kjd=function(){this.timeZones=r(gH);this.label="Time zone";this.timezoneId="";this.fullWidth=this.disabled=!1;this.timezoneIdChange=new aB;this.timeZoneOptions$=Hoc(this.timeZones).pipe(z(function(a){return a.sort(P_b)}))};kjd.\u0275fac=function(a){return new (a||kjd)};
kjd.\u0275cmp=C({type:kjd,selectors:[["b-timezone-picker"]],inputs:{label:"label",timezoneId:"timezoneId",disabled:"disabled",fullWidth:"fullWidth"},outputs:{timezoneIdChange:"timezoneIdChange"},standalone:!1,decls:7,vars:7,consts:[["appearance","outline",1,"form-field-wide-select"],[3,"ngModelChange","disabled","ngModel"],[3,"value"]],template:function(a,b){a&1&&(I(0,"mat-form-field",0)(1,"mat-label"),Q(2),J(),I(3,"mat-select",1),M("ngModelChange",function(c){b.timezoneId!==c&&(b.timezoneId=c,b.timezoneIdChange.emit(b.timezoneId))}),
yg(4,O_b,2,2,"mat-option",2,xg),S(6,"async"),J()());a&2&&(sg("full-width",b.fullWidth),B(2),R(" ",b.label," "),B(),E("disabled",b.disabled)("ngModel",b.timezoneId),B(),zg(U(6,5,b.timeZoneOptions$)))},dependencies:[yL,lz,fz,NL,Zx,kN,Gy,Ny,ew],styles:["[_nghost-%COMP%]     .mat-form-field-infix { width: fit-content; }","mat-form-field[_ngcontent-%COMP%] { font-size: 16px; }"]});var w9=function(){var a=this;this.dateFormatter=r(hH);this.destroyRef=r(cf);this.frequency$=new Xi("weekly");this.ordinal$=new Xi(1);this.timeZoneId$=new Xi("America/Los_Angeles");this.timeOfDay$=new Xi({hours:9,minutes:0,seconds:0,nanos:0});this.ordinalOrZero$=Ie([this.frequency$,this.ordinal$]).pipe(z(function(b){var c=k(b);b=c.next().value;c=c.next().value;return b==="daily"?0:c}));this.frequencyChange=new aB;this.ordinalChange=new aB;this.timeOfDayChange=new aB;this.timeZoneIdChange=new aB;this.frequencyOptions=
ljd;this.repeatOnOptions=new Map([["daily",[]],["weekly",mjd],["monthly",njd]]);this.repeatAtOptions=ojd.map(function(b){var c=a.dateFormatter.format("HH:mma",void 0,b.date);return{timeOfDay:b.timeOfDay,display:c}});this.repeatAtOptions.map(function(b){return[b.timeOfDay.hours,b.display]});this.compareTimeOfDay=X_b};
w9.prototype.ngOnInit=function(){var a=this;this.frequency$.pipe(Pf(),Wf(1),Bh(this.destroyRef)).subscribe(function(b){a.frequencyChange.emit(b)});this.ordinal$.pipe(Pf(),Wf(1),Ue(function(b){return b!==0}),Bh(this.destroyRef)).subscribe(function(b){a.ordinalChange.emit(b)});this.timeOfDay$.pipe(Pf(X_b),Wf(1),Bh(this.destroyRef)).subscribe(function(b){a.timeOfDayChange.emit(b)});this.timeZoneId$.pipe(Pf(),Wf(1),Bh(this.destroyRef)).subscribe(function(b){a.timeZoneIdChange.emit(b)})};
da.Object.defineProperties(w9.prototype,{frequency:{configurable:!0,enumerable:!0,set:function(a){this.frequency$.next(a)}},ordinal:{configurable:!0,enumerable:!0,set:function(a){this.ordinal$.next(a)}},timeOfDay:{configurable:!0,enumerable:!0,set:function(a){this.timeOfDay$.next(a)}},timeZoneId:{configurable:!0,enumerable:!0,set:function(a){this.timeZoneId$.next(a)}}});w9.\u0275fac=function(a){return new (a||w9)};
w9.\u0275cmp=C({type:w9,selectors:[["b-delivery-frequency-subform"]],inputs:{frequency:"frequency",ordinal:"ordinal",timeOfDay:"timeOfDay",timeZoneId:"timeZoneId"},outputs:{frequencyChange:"frequencyChange",ordinalChange:"ordinalChange",timeOfDayChange:"timeOfDayChange",timeZoneIdChange:"timeZoneIdChange"},standalone:!1,decls:8,vars:12,consts:[["appearance","outline",1,"full-width"],[3,"ngModelChange","ngModel"],[3,"value"],[3,"ngModelChange","ngModel","compareWith"],[3,"timezoneIdChange","timezoneId",
"fullWidth"]],template:function(a,b){a&1&&(D(0,R_b,7,1,"div"),S(1,"async"),D(2,T_b,7,1,"div"),S(3,"async"),D(4,V_b,7,2,"div"),S(5,"async"),D(6,W_b,2,2,"div"),S(7,"async"));if(a&2){var c,d,e,f;G((c=U(1,4,b.frequency$))?0:-1,c);B(2);G((d=U(3,6,b.ordinalOrZero$))?2:-1,d);B(2);G((e=U(5,8,b.timeOfDay$))?4:-1,e);B(2);G((f=U(7,10,b.timeZoneId$))?6:-1,f)}},dependencies:[Gy,Ny,yL,lz,fz,NL,Zx,kN,kjd,ew],encapsulation:2,changeDetection:0});
var ljd=[{frequency:"daily",display:"Daily"},{frequency:"weekly",display:"Weekly"},{frequency:"monthly",display:"Monthly"}],mjd=[{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"}],njd=[].concat(t(Array.from({length:31}).fill(0).keys())).map(function(a){var b=a+1,c=b%10,d=b%100;return{ordinal:a+1,display:c===1&&d!==11?String(b)+"st":
c===2&&d!==12?String(b)+"nd":c===3&&d!==13?String(b)+"rd":String(b)+"th"}}),ojd=[].concat(t(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 pjd=["dialogContent"],x9=function(){var a=this;this.matDialog=r(tI);this.api=r(v9);this.confirmationDialogService=r(AI);this.destroyRef=r(cf);this.columnsToDisplay=["name","size","actions"];this.refresh$=new Xi(void 0);this.ownedSubscriptions$=this.refresh$.pipe(Yf(function(){return a.api.list()}))};x9.prototype.openDialog=function(a){this.dialogRef=this.matDialog.open(this.dialogContent,{data:a,width:"500px"})};x9.prototype.setFrequency=function(a,b){a.frequency=b;b==="daily"&&(a.ordinal=0)};
x9.prototype.save=function(a){var b=this,c;(c=this.dialogRef)==null||c.close();(a.id==="0"?this.api.create(a):this.api.update(a)).pipe(Bh(this.destroyRef)).subscribe(function(){b.refresh$.next()})};x9.prototype.openConfirmDeleteDialog=function(a){var b=this;this.confirmationDialogService.open({title:"Delete a configurable alert",content:wi("Delete `"+a.displayName+"`?"),confirmButtonText:"Delete",isDestructive:!0,onConfirm:function(){b.api.delete(a.id).pipe(Bh(b.destroyRef)).subscribe(function(){b.refresh$.next()})}})};
x9.\u0275fac=function(a){return new (a||x9)};
x9.\u0275cmp=C({type:x9,selectors:[["b-configurable-alert-settings"]],viewQuery:function(a,b){a&1&&Rg(pjd,7);if(a&2){var c;Vg(c=Wg())&&(b.dialogContent=c.first)}},standalone:!1,decls:12,vars:3,consts:[["dialogContent",""],["subscriptionMenu","matMenu"],[1,"flex-kids-x","gap-l"],[1,"settings-main-left","margin-right"],[1,"heading-s"],[1,"full-width"],["type","button","mat-flat-button","","color","primary",3,"click"],["mat-table","","aria-label","Configurable alerts list",1,"bordered","full-width",
3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","size"],["matColumnDef","actions"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","tabindex","0",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["type","button","mat-icon-button","","aria-label","Show actions for this subscription",3,"matMenuTriggerFor"],["svgIcon","more-settings-vertical"],["type","button","mat-menu-item","","aria-label",
"View and edit subscription attributes",3,"click"],["type","button","mat-menu-item","",3,"click"],["mat-header-row",""],["mat-row","","tabindex","0"],["matDialogTitle",""],[1,"type-l","margin-bottom"],["appearance","outline",1,"full-width"],["matInput","","type","text",3,"ngModelChange","ngModel"],[3,"frequencyChange","ordinalChange","timeOfDayChange","timeZoneIdChange","frequency","ordinal","timeOfDay","timeZoneId"],[3,"change","checked"],"type button mat-flat-button  color secondary matDialogClose ".split(" ")],
template:function(a,b){if(a&1){var c=v();I(0,"div",2)(1,"div",3)(2,"p",4);Q(3,"Configurable alert settings");J()();I(4,"div");D(5,h0b,13,3,"div",5);S(6,"async");I(7,"div")(8,"button",6);M("click",function(){w(c);return x(b.openDialog({id:"0",frequency:"weekly",ordinal:1,timeZone:{id:"America/Los_Angeles"},timeOfDay:{hours:9,minutes:0,seconds:0,nanos:0},displayName:"New configurable alert",query:"assignee:me status:open created:30d",sendEmail:!0,showInBuganizerHome:!1,baselineIssueIds:[],isOverflowing:!1,
lastUpdated:{seconds:0,nanos:0}}))});Q(9," Create configurable alert ");J()()()();D(10,i0b,22,8,"ng-template",null,0,ih)}if(a&2){var d;B(5);G((d=U(6,1,b.ownedSubscriptions$))?5:-1,d)}},dependencies:[pB,oi,Gy,Ny,eB,jy,ly,uI,wI,yI,xI,lz,fz,kN,aR,sz,fQ,gQ,zL,BM,oM,uM,qM,nM,wM,rM,tM,xM,zM,xL,IL,GL,JL,w9,ew],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 qjd=function(a,b){this.name=a;this.resourceType=b;this.options=[]};qjd.prototype.shouldDisplay=function(){return!0};qjd.prototype.hasOptions=function(){return!1};qjd.prototype.getDefaultOptionId=function(){return null};var y9=function(a,b){this.name=a;this.resourceType=b;this.options=[]};y9.prototype.shouldDisplay=function(){return this.options.length>0};y9.prototype.hasOptions=function(){return this.options.length>0};
y9.prototype.getDefaultOptionId=function(){return this.hasOptions()?this.options[0].id:null};
var rjd=function(a,b){this.id=a;this.name=b},tjd=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 je;this.missionControlMainOption=new qjd("Home","MISSION_CONTROL");this.assignedToMeMainOption=new qjd("Assigned to me","ASSIGNED_TO_ME");this.hotlistMainOption=new y9("Hotlist","HOTLIST");this.savedSearchMainOption=new y9("Saved search","SAVED_SEARCH");this.bookmarkGroupMainOption=
new y9("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];sjd(this);this.subscriptions.add(this.appEvents.sidebarUpdated.subscribe(function(){sjd(h);h.cdr.detectChanges()}));this.subscriptions.add(this.userPreferencesManager.preferences$.subscribe(function(l){l.homepagePreferences&&(l=l.homepagePreferences,l.resourceType?h.selectedMainOption=h.resourceMainOptions[l.resourceType]||h.mainOptions[0]:h.isUserInternal()?h.selectedMainOption=h.missionControlMainOption:h.selectedMainOption=h.assignedToMeMainOption,h.selectedOptionId=l.resourceId||
null,sjd(h))}))};tjd.prototype.destroy=function(){this.subscriptions.unsubscribe()};
var m0b=function(a){jq(a.butterBar,"Saving preferences...",0);var b={resourceType:a.selectedMainOption.resourceType};a.selectedMainOption.hasOptions()&&a.selectedOptionId&&(b.resourceId=a.selectedOptionId);koc(a.userPreferencesManager,b).subscribe(function(){jq(a.butterBar,"Preferences saved.",4E3)})},sjd=function(a){function b(c){return new rjd(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 rjd(String(a.selectedOptionId),a.selectedMainOption.name+" "+a.selectedOptionId)))};tjd.prototype.isUserInternal=function(){return this.activeSession.isInternalSession()};var z9=function(){Z.call(this);this.cdr=r(cB,{self:!0});this.userPreferencesManager=r(TG);this.butterBar=r(fH);this.activeSession=r(Bu);this.documentationLinks=r(lI);this.analytics=r(OF);this.sidebar=r(C_);this.appEvents=r(yD);this.constants=r(FI);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.showForcePlainTextSettings=(this.enableLiteralModeRevisions=Vt(this.activeSession,"enableLiteralModeRevisions"))&&this.activeSession.isInternalSession();this.userPreferencesDualWriteOptOut=Vt(this.activeSession,"userPreferencesDualWriteOptOut");this.appName=
this.activeSession.getAppName();this.timeZones.push.apply(this.timeZones,t(this.constants.supportedTimeZones.map(function(a){return{value:a.id,label:a.name}})));this.sloEnabled=this.activeSession.isInternalSession();this.showBugScreensaverSetting=this.activeSession.isInternalSession();this.showShowInlineImagesSetting=this.activeSession.isInternalSession()};Y(z9,Z);z9.\u0275dir=Z.\u0275dir;
z9.prototype.ngOnInit=function(){var a=this;this.destroyed$.subscribe(function(){var b;(b=a.preferredHomepage)==null||b.destroy()});this.preferredHomepage=new tjd(this.butterBar,this.sidebar,this.userPreferencesManager,this.cdr,this.appEvents,this.activeSession);this.userPreferencesManager.preferences$.pipe(Zf(this.destroyed$)).subscribe(function(b){a.userPreferences=b;a.cdr.detectChanges()})};
z9.prototype.save=function(a,b,c){var d=this;jq(this.butterBar,"Saving preferences...",0);this.userPreferencesManager.save(this.userPreferences).subscribe(function(){jq(d.butterBar,"Preferences saved.",4E3)});this.analytics.trackEvent("preferences",a,b,c)};
var s0b=function(a){var b;return((b=a.userPreferences.textDisplayPreferences)==null?void 0:b.commentDisplayOverride)==="LITERAL_FORMATTING_MODE"},v0b=function(a){var b;return((b=a.userPreferences.commentFormattingPreferences)==null?void 0:b.commentDisplayOverride)==="LITERAL_FORMATTING_MODE"},w0b=function(a){var b;return((b=a.userPreferences.commentFormattingPreferences)==null?void 0:b.commentCreateOverride)==="LITERAL_FORMATTING_MODE"};
z9.prototype.getShowInlineImages=function(){var a;return(a=this.userPreferences.showInlineImages)!=null?a:!1};da.Object.defineProperties(z9.prototype,{hideBadgeInNav:{configurable:!0,enumerable:!0,get:function(){var a,b;return!!((a=this.userPreferences)==null?0:(b=a.missionControlPreferences)==null?0:b.hideBadgeInNav)}}});z9.\u0275fac=function(a){return new (a||z9)};
z9.\u0275cmp=C({type:z9,selectors:[["b-general-settings"]],standalone:!1,features:[ch([cB]),cg],decls:73,vars:13,consts:[[1,"flex-kids-x","gap-l","margin-bottom"],[1,"settings-main-left","margin-right"],[1,"heading-s"],[1,"muted","type-s"],["target","_blank",3,"href"],["appearance","outline"],["matTooltip","Current selection for preferred homepage"],["id","bv2-homepage-pref-selection",3,"ngModelChange","selectionChange","ngModel"],[1,"margin-y"],["id","bv2-datetime-pref-date-formatting","appearance",
"outline"],["matTooltip","Date/time formatting - Use this format for calendar dates."],[3,"ngModelChange","selectionChange","ngModel"],[3,"value"],["id","bv2-datetime-pref-time-formatting","appearance","outline"],["matTooltip","Date/time formatting - Use this format for times."],["id","bv2-datetime-pref-timezone","appearance","outline"],["matTooltip","Date/time formatting - Format dates and times with respect to this time zone."],["id","bv2-enable-all-hotkeys",3,"change","checked"],[1,"margin-bottom"],
["id","bv2-force-code-font"],[1,"bv2-settings-preferred-homepage-main-option-select-item",3,"value"],["id","bv2-homepage-pref-suboption-selection",1,"homepage-option-select",3,"ngModelChange","selectionChange","ngModel"],[1,"bv2-settings-preferred-homepage-option-select-item",3,"value"],["id","hide-nav-badge",3,"change","checked"],["id","bv2-force-plain-text",3,"change","checked"],["id","bv2-show-inline-images",3,"change","checked"],["id","bv2-force-display-plain-text",3,"change","checked"],["id",
"bv2-force-create-plain-text",3,"change","checked"],["id","bv2-bug-screensaver",3,"change","checked"]],template:function(a,b){a&1&&(I(0,"div")(1,"div",0)(2,"div",1)(3,"p",2),Q(4,"Preferred homepage"),J(),I(5,"p",3),Q(6," Select your preferred homepage when first opening the app. "),I(7,"a",4),Q(8," Learn more "),J()()(),I(9,"div")(10,"div")(11,"mat-form-field",5)(12,"mat-label",6),Q(13," Current selection "),J(),I(14,"mat-select",7),bh("ngModelChange",function(c){ah(b.preferredHomepage.selectedMainOption,
c)||(b.preferredHomepage.selectedMainOption=c);return c}),M("selectionChange",function(){var c=b.preferredHomepage;c.selectedOptionId=c.selectedMainOption.getDefaultOptionId();m0b(c);c.cdr.detectChanges()}),yg(15,k0b,1,1,null,null,xg),J()(),D(17,n0b,4,1,"mat-form-field",5),J(),D(18,o0b,3,1,"div"),J()(),K(19,"hr",8),I(20,"div",0)(21,"div",1)(22,"p",2),Q(23,"Date/time formatting settings"),J(),I(24,"p",3),Q(25," Select how you want dates and times to be formatted. "),I(26,"a",4),Q(27," Learn more "),
J()()(),I(28,"div")(29,"div")(30,"mat-form-field",9)(31,"mat-label",10),Q(32," Dates "),J(),I(33,"mat-select",11),bh("ngModelChange",function(c){ah(b.userPreferences.dateTimePreferences.calendarFormat,c)||(b.userPreferences.dateTimePreferences.calendarFormat=c);return c}),M("selectionChange",function(){return b.save("saveDateTimePreferences")}),yg(34,p0b,2,2,"mat-option",12,xg),J()()(),I(36,"div")(37,"mat-form-field",13)(38,"mat-label",14),Q(39," Times "),J(),I(40,"mat-select",11),bh("ngModelChange",
function(c){ah(b.userPreferences.dateTimePreferences.timeFormat,c)||(b.userPreferences.dateTimePreferences.timeFormat=c);return c}),M("selectionChange",function(){return b.save("saveDateTimePreferences")}),yg(41,q0b,2,2,"mat-option",12,xg),J()()(),I(43,"div")(44,"mat-form-field",15)(45,"mat-label",16),Q(46," Time Zones "),J(),I(47,"mat-select",11),bh("ngModelChange",function(c){ah(b.userPreferences.dateTimePreferences.timeZone,c)||(b.userPreferences.dateTimePreferences.timeZone=c);return c}),M("selectionChange",
function(){return b.save("saveDateTimePreferences")}),yg(48,r0b,2,2,"mat-option",12,xg),J()()()()(),K(50,"hr",8),I(51,"div",0)(52,"div",1)(53,"p",2),Q(54,"Keyboard settings"),J()(),I(55,"div")(56,"div")(57,"mat-slide-toggle",17),M("change",function(c){b.userPreferences.keyboardPreferences.enableAllHotkeys=c.checked;return b.save("saveKeyboardPreferences")}),Q(58," Enable all hotkeys "),J()()()(),K(59,"hr",8),I(60,"div",0)(61,"div",1)(62,"p",2),Q(63,"Display settings"),J()(),I(64,"div"),D(65,t0b,3,
1,"div",18),I(66,"div",18)(67,"b-toggle-code-font",19),Q(68," Force comments to display with code font "),J()(),D(69,u0b,3,1,"div",18),J()(),D(70,x0b,12,2),K(71,"hr",8),D(72,y0b,8,1,"div",0),J());a&2&&(B(7),E("href",b.documentationLinks.baseDocumentationUrl+"/guides/set-a-homepage",vf),B(7),$g("ngModel",b.preferredHomepage.selectedMainOption),B(),zg(b.preferredHomepage.mainOptions),B(2),G(b.preferredHomepage.selectedMainOption.hasOptions()?17:-1),B(),G(b.IS_INTERNAL_USER?18:-1),B(8),E("href",b.documentationLinks.baseDocumentationUrl+
"/guides/set-date-time-formatting",vf),B(7),$g("ngModel",b.userPreferences.dateTimePreferences.calendarFormat),B(),zg(b.dateFormats),B(6),$g("ngModel",b.userPreferences.dateTimePreferences.timeFormat),B(),zg(b.timeFormats),B(6),$g("ngModel",b.userPreferences.dateTimePreferences.timeZone),B(),zg(b.timeZones),B(9),E("checked",b.userPreferences.keyboardPreferences.enableAllHotkeys),B(8),G(b.enableLiteralModeRevisions?-1:65),B(4),G(b.showShowInlineImagesSetting?69:-1),B(),G(b.showForcePlainTextSettings?
70:-1),B(2),G(b.showBugScreensaverSetting?72:-1))},dependencies:[Gy,Ny,yL,lz,fz,NL,Zx,kN,fQ,gQ,mB,rB,h8],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 A9=function(){Z.call(this);var a=this;this.userPreferencesManager=r(TG);this.butterBar=r(fH);this.documentationLinks=r(lI);this.analytics=r(OF);this.priorities=["ALL","IMPORTANT","CLOSURE_ONLY","MINIMAL"];this.userPreferencesManager.preferences$.pipe(Zf(this.destroyed$)).subscribe(function(b){a.userPreferences=b})};Y(A9,Z);A9.\u0275dir=Z.\u0275dir;
A9.prototype.save=function(a,b,c){var d=this;jq(this.butterBar,"Saving preferences...",0);this.userPreferencesManager.save(this.userPreferences).subscribe(function(){jq(d.butterBar,"Preferences saved.",4E3)});this.analytics.trackEvent("preferences",a,b,c)};A9.\u0275fac=function(a){return new (a||A9)};
A9.\u0275cmp=C({type:A9,selectors:[["b-notification-settings"]],standalone:!1,features:[cg],decls:54,vars:8,consts:[[1,"flex-kids-x","gap-l"],[1,"settings-main-left","margin-right"],[1,"heading-s"],[1,"muted","type-ss"],["target","_blank",3,"href"],["appearance","outline","id","bv2-notification-pref-assigned"],["matTooltip","Notification level - issues for which you are the assignee"],[3,"ngModelChange","selectionChange","ngModel"],[3,"value"],["appearance","outline","id","bv2-notification-pref-reported"],
["matTooltip","Notification level - issues for which you are the reporter"],["appearance","outline","id","bv2-notification-pref-verified"],["matTooltip","Notification level - issues for which you are the verifier"],["appearance","outline","id","bv2-notification-pref-collaborator"],["matTooltip","Notification level - issues for which you are the collaborator"],["appearance","outline","id","bv2-notification-pref-ccd"],["matTooltip","Notification level - issues on which you are CC'd"],["appearance",
"outline","id","bv2-notification-pref-starred"],["matTooltip","Notification level - issues that you have starred"],["id","bv2-exclude-changes-by-me",3,"change","checked"]],template:function(a,b){a&1&&(I(0,"div",0)(1,"div",1)(2,"p",2),Q(3,"Notification settings"),J(),I(4,"p",3),Q(5," Select the level of email you want to receive for each issue role. "),I(6,"a",4),Q(7," Learn more "),J()()(),I(8,"div")(9,"div")(10,"mat-form-field",5)(11,"mat-label",6),Q(12," Assignee "),J(),I(13,"mat-select",7),bh("ngModelChange",
function(c){ah(b.userPreferences.notificationPreferences.assignedPriority,c)||(b.userPreferences.notificationPreferences.assignedPriority=c);return c}),M("selectionChange",function(){return b.save("saveNotificationPreferences")}),yg(14,z0b,3,4,"mat-option",8,xg),J()()(),I(16,"div")(17,"mat-form-field",9)(18,"mat-label",10),Q(19," Reporter "),J(),I(20,"mat-select",7),bh("ngModelChange",function(c){ah(b.userPreferences.notificationPreferences.reportedPriority,c)||(b.userPreferences.notificationPreferences.reportedPriority=
c);return c}),M("selectionChange",function(){return b.save("saveNotificationPreferences")}),yg(21,A0b,3,4,"mat-option",8,xg),J()()(),I(23,"div")(24,"mat-form-field",11)(25,"mat-label",12),Q(26," Verifier "),J(),I(27,"mat-select",7),bh("ngModelChange",function(c){ah(b.userPreferences.notificationPreferences.verifiedPriority,c)||(b.userPreferences.notificationPreferences.verifiedPriority=c);return c}),M("selectionChange",function(){return b.save("saveNotificationPreferences")}),yg(28,B0b,3,4,"mat-option",
8,xg),J()()(),I(30,"div")(31,"mat-form-field",13)(32,"mat-label",14),Q(33," Collaborator "),J(),I(34,"mat-select",7),bh("ngModelChange",function(c){ah(b.userPreferences.notificationPreferences.collaboratorPriority,c)||(b.userPreferences.notificationPreferences.collaboratorPriority=c);return c}),M("selectionChange",function(){return b.save("saveNotificationPreferences")}),yg(35,C0b,3,4,"mat-option",8,xg),J()()(),I(37,"div")(38,"mat-form-field",15)(39,"mat-label",16),Q(40," CC'd "),J(),I(41,"mat-select",
7),bh("ngModelChange",function(c){ah(b.userPreferences.notificationPreferences.ccdPriority,c)||(b.userPreferences.notificationPreferences.ccdPriority=c);return c}),M("selectionChange",function(){return b.save("saveNotificationPreferences")}),yg(42,D0b,3,4,"mat-option",8,xg),J()()(),I(44,"div")(45,"mat-form-field",17)(46,"mat-label",18),Q(47," Starred "),J(),I(48,"mat-select",7),bh("ngModelChange",function(c){ah(b.userPreferences.notificationPreferences.starredPriority,c)||(b.userPreferences.notificationPreferences.starredPriority=
c);return c}),M("selectionChange",function(){return b.save("saveNotificationPreferences")}),yg(49,E0b,3,4,"mat-option",8,xg),J()()(),I(51,"div")(52,"mat-slide-toggle",19),M("change",function(c){b.userPreferences.notificationPreferences.excludeChangesByMe=c.checked;return b.save("saveNotificationPreferences")}),Q(53," Exclude edits made by you "),J()()()());a&2&&(B(6),E("href",b.documentationLinks.baseDocumentationUrl+"/concepts/settings#email",vf),B(7),$g("ngModel",b.userPreferences.notificationPreferences.assignedPriority),
B(),zg(b.priorities),B(6),$g("ngModel",b.userPreferences.notificationPreferences.reportedPriority),B(),zg(b.priorities),B(6),$g("ngModel",b.userPreferences.notificationPreferences.verifiedPriority),B(),zg(b.priorities),B(6),$g("ngModel",b.userPreferences.notificationPreferences.collaboratorPriority),B(),zg(b.priorities),B(6),$g("ngModel",b.userPreferences.notificationPreferences.ccdPriority),B(),zg(b.priorities),B(6),$g("ngModel",b.userPreferences.notificationPreferences.starredPriority),B(),zg(b.priorities),
B(3),E("checked",b.userPreferences.notificationPreferences.excludeChangesByMe))},dependencies:[Gy,Ny,yL,lz,fz,NL,Zx,kN,fQ,gQ,mB,rB,Lgc],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 ujd=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,ujd.messageId)};Y(ujd,V);ujd.prototype.getSubscriptionsList=function(){return lk(this,np,1,Uj())};ujd.messageId="b.ListSloReportSubscriptionsResponse";var B9=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,B9.messageId)};Y(B9,V);B9.prototype.getSubscription=function(){return W(this,np,1)};B9.prototype.setSubscription=function(a){return X(this,np,1,a)};B9.messageId="b.SloReportSubscriptionRequest";var C9=function(a){this.internalArrayDoNotAccessOrElse=m(a,0,C9.messageId)};Y(C9,V);C9.prototype.getSubscription=function(){return W(this,np,1)};C9.prototype.setSubscription=function(a){return X(this,np,1,a)};C9.messageId="b.SloReportSubscriptionResponse";var D9=function(){this.executor=r(MC)};g=D9.prototype;g.get=function(a){return this.executor.get({url:"action/slo_report_subscriptions/"+a,responseConstructor:C9}).pipe(z(function(b){if(b=b.getSubscription())return vGa(b);throw Error("yg");}))};g.list=function(){return this.executor.get({url:"action/slo_report_subscriptions",responseConstructor:ujd}).pipe(z(function(a){return a.getSubscriptionsList().map(vGa)}))};
g.create=function(a){if(a.id!==0)throw Error("zg");return this.executor.post({url:"action/slo_report_subscriptions",body:(new B9).setSubscription(wGa(a)),responseConstructor:C9}).pipe(z(function(b){if(b=b.getSubscription())return vGa(b);throw Error("wg");}))};
g.update=function(a){if(a.id===0)throw Error("Ag");return this.executor.post({url:"action/slo_report_subscriptions/"+a.id,body:(new B9).setSubscription(wGa(a)),responseConstructor:C9}).pipe(z(function(b){if(b=b.getSubscription())return vGa(b);throw Error("wg");}))};g.delete=function(a){return this.executor.delete({url:"action/slo_report_subscriptions/"+a,responseConstructor:WC}).pipe(z(function(){}))};D9.\u0275fac=function(a){return new (a||D9)};D9.\u0275prov=n({token:D9,factory:D9.\u0275fac,providedIn:"root"});var vjd=["sloSubscriptionDialog"],E9=function(){Z.apply(this,arguments);var a=this;this.dateFormatter=r(hH);this.api=r(D9);this.currentUser=r(b0);this.dialog=r(tI);this.timeZones=r(gH);this.confirmationDialogService=r(AI);this.principalTypes=r(pG);this.analytics=r(OF);this.butterBar=r(fH);this.constants=r(FI);this.subscriptions$=new Xi([]);this.isBasicMode$=this.subscriptions$.pipe(z(function(b){return b.length===0||b.length===1&&b[0].lead.emailAddress===a.currentUser.email}));this.userSubscription$=
this.subscriptions$.pipe(z(function(b){b=k(b);for(var c=b.next();!c.done;c=b.next())if(c=c.value,c.lead.emailAddress===a.currentUser.email)return a.inputDaysRemaining=c.daysRemaining,c;return{id:0,lead:a.currentUser.user,frequency:"weekly",ordinal:1,timeZone:{id:"America/Los_Angeles"},timeOfDay:wjd[9].timeOfDay,daysRemaining:0,types:["BUG","CUSTOMER_ISSUE","VULNERABILITY","PRIVACY_ISSUE"],sloIds:[]}}));this.isThinking$=new Xi(!1);this.inputHasFocus=!1;this.repeatAtOptions$=Ie(wjd.map(function(b){return Ae(a.dateFormatter.format("HH:mma",
void 0,b.date)).pipe(z(function(c){return{timeOfDay:b.timeOfDay,display:c}}))}));this.ceoSelected=this.dialogInvalidEmailFormat=!1;this.emailToUser=Wj;this.columns=["scope","frequency","actions"];this.frequencyDisplayMap=new Map(xjd.map(function(b){return[b.frequency,b.display]}));this.timeZoneDisplayMap$=Hoc(this.timeZones).pipe(Nf(),z(function(b){return new Map(b.map(function(c){return[c.id,c.displayName]}))}),Vf({bufferSize:1,refCount:!0}));this.hourOfDayDisplayMap$=this.repeatAtOptions$.pipe(Nf(),
z(function(b){return new Map(b.map(function(c){return[c.timeOfDay.hours,c.display]}))}),Vf({bufferSize:1,refCount:!0}));this.typeChoices=[{value:"BUG",displayText:this.constants.issueTypesDisplayNames.get("BUG")},{value:"CUSTOMER_ISSUE",displayText:this.constants.issueTypesDisplayNames.get("CUSTOMER_ISSUE")},{value:"PRIVACY_ISSUE",displayText:this.constants.issueTypesDisplayNames.get("PRIVACY_ISSUE")},{value:"VULNERABILITY",displayText:this.constants.issueTypesDisplayNames.get("VULNERABILITY")},{value:"PROCESS",
displayText:this.constants.issueTypesDisplayNames.get("PROCESS")},{value:"INTERNAL_CLEANUP",displayText:this.constants.issueTypesDisplayNames.get("INTERNAL_CLEANUP")},{value:"FEATURE_REQUEST",displayText:this.constants.issueTypesDisplayNames.get("FEATURE_REQUEST")},{value:"MILESTONE",displayText:this.constants.issueTypesDisplayNames.get("MILESTONE")},{value:"FEATURE",displayText:this.constants.issueTypesDisplayNames.get("FEATURE")},{value:"PROJECT",displayText:this.constants.issueTypesDisplayNames.get("PROJECT")},
{value:"EPIC",displayText:this.constants.issueTypesDisplayNames.get("EPIC")},{value:"STORY",displayText:this.constants.issueTypesDisplayNames.get("STORY")},{value:"TASK",displayText:this.constants.issueTypesDisplayNames.get("TASK")}]};Y(E9,Z);E9.\u0275dir=Z.\u0275dir;E9.prototype.ngOnInit=function(){F9(this)};
var N0b=function(a){a.userSubscription$.pipe(Nf(),Yf(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(){F9(a)})},F9=function(a){a.isThinking$.next(!0);a.api.list().pipe(Nf()).subscribe(function(b){a.isThinking$.next(!1);for(var c=k(b),d=c.next();!d.done;d=c.next())d=d.value,d.types.length===0&&(d.types=a.typeChoices.map(function(e){return e.value}));
a.subscriptions$.next(b)})},Au=function(a,b){a.isThinking$.next(!0);b.types.length===a.typeChoices.length&&(b.types=[]);a.api.update(b).subscribe(function(){a.analytics.trackEvent("sloReports","editSubscription");F9(a);a.newSloId=void 0},function(c){c.status===404&&(a.butterBar.showWarning("Subscription does not exist"),F9(a))})},yjd=function(a,b){a.isThinking$.next(!0);a.api.delete(b.id).subscribe(function(){a.analytics.trackEvent("sloReports","deleteSubscription");F9(a)})};g=E9.prototype;
g.openConfirmDeleteDialog=function(a){var b=this;this.confirmationDialogService.open({title:"Delete a subscription",content:wi("You will no longer receive reports from '"+a.lead.emailAddress+"'."),confirmButtonText:"Delete",isDestructive:!0,onConfirm:function(){yjd(b,a)}})};g.setFrequency=function(a,b){b.frequency=a;a!=="daily"?b.ordinal=1:delete b.ordinal;Au(this,b)};g.setTimeZone=function(a,b){Au(this,Object.assign({},b,{timeZone:Object.assign({},b.timeZone,{id:a})}))};
g.setDaysRemaining=function(a){if(this.inputDaysRemaining!==a.daysRemaining){var b;Au(this,Object.assign({},a,{daysRemaining:(b=this.inputDaysRemaining)!=null?b:0}))}};g.setIssueType=function(a,b){Au(this,Object.assign({},b,{types:a}))};
var L0b=function(a,b){a.newSloId&&!b.sloIds.includes(a.newSloId)&&Au(a,Object.assign({},b,{sloIds:[].concat(t(b.sloIds),[a.newSloId])}))},I0b=function(a,b,c){if(b.sloIds.includes(c)){var d=b.sloIds.filter(function(e){return e!==c});Au(a,Object.assign({},b,{sloIds:d}))}},g1b=function(a,b){a.newSloId&&!b.sloIds.includes(a.newSloId)&&(b.sloIds.push(a.newSloId),a.newSloId=void 0)},d1b=function(a,b){if(a.sloIds.includes(b)){var c=a.sloIds.filter(function(d){return d!==b});a.sloIds=c}};
E9.prototype.openDialog=function(a){this.sloSubscriptionDialog&&(a||(a={id:0,frequency:"weekly",ordinal:1,timeZone:{id:"America/Los_Angeles"},timeOfDay:wjd[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:pj(a),panelClass:"slo-report-subscription-dialog",width:"500px"}))};
var h1b=function(a,b){return se(function(c){if(c.nextAddress==1)return a.dialogRef&&b.lead!==void 0?y(c,zjd(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");F9(a)}):Au(a,b);a.dialogRef.close();xe(c)})},zjd=function(a,
b){var c;return se(function(d){if(d.nextAddress==1)return Aj(b)?y(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))})};E9.\u0275fac=function(){var a;return function(b){return(a||(a=ee(E9)))(b||E9)}}();
E9.\u0275cmp=C({type:E9,selectors:[["b-slo-reports-settings"]],viewQuery:function(a,b){a&1&&Rg(vjd,7);if(a&2){var c;Vg(c=Wg())&&(b.sloSubscriptionDialog=c.first)}},standalone:!1,features:[cg],decls:22,vars:14,consts:[["sloSubscriptionDialog",""],["subscriptionMenu","matMenu"],[1,"flex-kids-x","gap-l"],[1,"settings-main-left","margin-right"],[1,"heading-s"],["id","advanced-settings-note",1,"muted","type-s"],"href http://go/issue-slo-reports target _blank aria-describedby advanced-settings-note".split(" "),
[1,"full-width"],[1,"margin-bottom"],["type","button","mat-flat-button","","color","primary",3,"click","disabled"],["mat-table","","aria-label","SLO reports subscriptions",1,"bordered","full-width",3,"dataSource"],["id","frequency-settings-note",1,"muted","type-s"],"href http://go/issue-slo-reports target _blank aria-describedby frequency-settings-note".split(" "),[1,"margin-y"],["id","isSubscribedCheckbox",1,"margin-s-right",3,"change","disabled","checked"],["appearance","outline",1,"full-width"],
["matInput","","readonly","",3,"focus","blur","ngModel"],[3,"frequencyChange","ordinalChange","timeOfDayChange","timeZoneIdChange","frequency","ordinal","timeOfDay","timeZoneId"],["appearance","outline"],["matInput","","type","number",3,"ngModelChange","blur","keydown.enter","ngModel"],["multiple","",3,"ngModelChange","ngModel"],[3,"value"],["appearance","outline","subscriptSizing","dynamic"],["matInput","","type","number",3,"ngModelChange","keydown.enter","blur","ngModel"],[1,"flex-kids-x","space-between",
"margin-xs-y"],[1,"muted","type-s"],[1,"subtle-link",3,"href"],["type","button","mat-icon-button","","aria-label","Remove SLO ID",1,"xs",3,"click","matTooltip"],["svgIcon","clear"],["matColumnDef","scope"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","frequency"],["matColumnDef","actions"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","tabindex","0",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["type","button","mat-icon-button",
"","aria-label","Show actions for this subscription",3,"matMenuTriggerFor"],["svgIcon","more-settings-vertical"],["type","button","mat-menu-item","","aria-label","View and edit subscription attributes",3,"click"],["type","button","mat-menu-item","",3,"click"],["mat-header-row",""],["mat-row","","tabindex","0"],["matDialogTitle",""],[1,"type-l","margin-bottom"],["appearance","outline","floatLabel","always",1,"full-width"],["matInput","","required","","placeholder","Search users...",3,"ngModelChange",
"ngModel","bContactAutocomplete"],["matInput","","type","number",3,"ngModelChange","ngModel"],["appearance","outline","subscriptSizing","dynamic",1,"full-width"],["id","new-subscription-note",1,"italic"],"href http://go/issue-slo-reports target _blank aria-describedby new-subscription-note".split(" "),"type button mat-button  color primary matDialogClose ".split(" ")],template:function(a,b){if(a&1){var c=v();D(0,P0b,11,3);S(1,"async");I(2,"div",2)(3,"div",3)(4,"p",4);Q(5,"Advanced settings");J();
I(6,"p",5);Q(7," Add subscriptions to receive other user's reports. ");I(8,"a",6);Q(9,"Learn more");J()()();I(10,"div",7)(11,"div",8)(12,"button",9);S(13,"async");M("click",function(){w(c);return x(b.openDialog())});Q(14," Create subscription ");J()();D(15,Q0b,1,0,"b-spinner");S(16,"async");D(17,$0b,12,3,"table",10);S(18,"async");S(19,"async");J()();D(20,i1b,42,14,"ng-template",null,0,ih)}a&2&&(G(U(1,4,b.isBasicMode$)?0:-1),B(12),E("disabled",U(13,6,b.isThinking$)),B(3),G(U(16,8,b.isThinking$)?15:
-1),B(2),G(U(18,10,b.isBasicMode$)||U(19,12,b.isThinking$)?-1:17))},dependencies:[pB,oi,Py,Gy,Yy,Ny,eB,jy,ly,uI,wI,yI,xI,yL,lz,fz,ez,dz,NL,Zx,kN,aR,sz,fQ,gQ,zL,BM,oM,uM,qM,nM,wM,rM,tM,xM,zM,xL,IL,GL,JL,mB,rB,sL,VO,w9,ew],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 xjd=[{frequency:"daily",display:"Daily"},{frequency:"weekly",display:"Weekly"},{frequency:"monthly",display:"Monthly"}],U0b=[{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"}],wjd=[].concat(t(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 G9=function(){this.activeSession=r(Bu);this.location=r(WN);this.routeParams=r(YI);this.enableSloReportEmail=this.activeSession.isInternalSession()&&Vt(this.activeSession,"enableSloReportEmail");this.enableConfigurableAlerts=this.activeSession.isInternalSession()&&Vt(this.activeSession,"enableConfigurableAlerts");this.selectedTabIndex=0};G9.prototype.ngAfterViewInit=function(){this.selectedTabIndex=Ajd(this,this.routeParams.settingsTab)};
G9.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(Qq.settingsTab.makeHref(d)):this.location.setUrl(Qq.settings.makeHref())};var Ajd=function(a,b){a=a.tabs.toArray().findIndex(function(c){return c.nativeElement.id===b});return a<0?0:a};G9.\u0275fac=function(a){return new (a||G9)};
G9.\u0275cmp=C({type:G9,selectors:[["b-settings"]],viewQuery:function(a,b){a&1&&Rg(yN,5,ef);if(a&2){var c;Vg(c=Wg())&&(b.tabs=c)}},standalone:!1,decls:9,vars:3,consts:[[1,"margined","heading-m"],["gmat-tabs","",3,"selectedIndexChange","selectedIndex"],["label","General"],["matTabContent",""],["label","Notifications","id","notifications"],["label","SLO Reports","id","slo-reports"],["label","Configurable Alerts","id","configurable-alerts"],[1,"padded"]],template:function(a,b){a&1&&(I(0,"p",0),Q(1,"Settings"),
J(),I(2,"mat-tab-group",1),M("selectedIndexChange",function(c){return b.tabChange(c)}),I(3,"mat-tab",2),D(4,j1b,2,0,"ng-template",3),J(),I(5,"mat-tab",4),D(6,k1b,2,0,"ng-template",3),J(),D(7,m1b,2,0,"mat-tab",5)(8,o1b,2,0,"mat-tab",6),J());a&2&&(B(2),E("selectedIndex",b.selectedTabIndex),B(5),G(b.enableSloReportEmail?7:-1),B(),G(b.enableConfigurableAlerts?8:-1))},dependencies:[DN,rN,yN,zN,z9,A9,E9,x9],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 Bjd=function(){this.activatedRoute=r(Wi);this.routeParams=r(YI);this.issueId=this.routeParams.issueId;this.attachmentId=this.routeParams.attachmentId;this.mimeType=HPa(this.activatedRoute.snapshot.queryParamMap).mimeType};Bjd.\u0275fac=function(a){return new (a||Bjd)};
Bjd.\u0275cmp=C({type:Bjd,selectors:[["view-attachment-page"]],standalone:!1,decls:1,vars:3,consts:[[3,"issueId","attachmentId","mimeType"]],template:function(a,b){a&1&&K(0,"attachment-preview",0);a&2&&E("issueId",b.issueId)("attachmentId",b.attachmentId)("mimeType",b.mimeType)},dependencies:[$S],encapsulation:2});var H9=function(){Z.apply(this,arguments);this.cdr=r(cB,{self:!0});this.routeParams=r(YI);this.bLocation=r(WN);this.pageTitle=r(u_);this.userApi=r(TD);this.bookmarkGroupsApi=r(eD);this.paths=r(IP);this.appEvents=r(yD);this.activeSession=r(Bu);this.isStarred=!1;this.userEmail=this.activeSession.getUserEmail();this.bookmarkGroup=null};Y(H9,Z);H9.\u0275dir=Z.\u0275dir;g=H9.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 Qq.viewHotlist.makeHref(a.hotlistId);default:throw Error("Bg`"+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("Bg`"+a.resourceType);}};H9.\u0275fac=function(){var a;return function(b){return(a||(a=ee(H9)))(b||H9)}}();
H9.\u0275cmp=C({type:H9,selectors:[["view-bookmark-group-page"]],standalone:!1,features:[ch([cB]),cg],decls:5,vars:3,consts:[[1,"a11y-only"],[1,"kd-appbar","kd-buttonbar"],[1,"bv2-view"],[1,"bv2-view-bookmark-group-title"],[1,"bv2-view-bookmark-group-header"],[3,"starMessage","unStarMessage","starred","disabled"],[3,"starMessage","unStarMessage","starred"],[1,"bv2-view-bookmark-group-title-text"],["type","button","aria-label","Bookmark group settings","matTooltip","Bookmark group settings",1,"bv2-edit-icon",
"bv2-view-resource-edit-button",3,"click"],[1,"bv2-view-bookmark-group-description"],[1,"bv2-view-bookmark-group-hotlists"],[3,"starClicked","starMessage","unStarMessage","starred"],[3,"href"]],template:function(a,b){a&1&&(I(0,"h2",0),Q(1),J(),K(2,"div",1),I(3,"div",2),D(4,s1b,13,3,"div"),J());a&2&&(B(),R("View Bookmark Group ",b.bookmarkGroup==null?null:b.bookmarkGroup.name,""),B(2),jg("aria-busy",!b.bookmarkGroup),B(),G(b.bookmarkGroup?4:-1))},dependencies:[KS,mB,rB],encapsulation:2});var I9=function(){};
I9.\u0275fac=function(a){return new (a||I9)};I9.\u0275mod=Cf({type:I9});I9.\u0275inj=p({imports:[lC,XZ,pC]});var J9=function(){A8.apply(this,arguments);this.ngZone=r(kh);this.userApi=r(TD);this.hotlists=r(q3);this.hotkeys=r(uH);this.pageTitle=r(u_);this.userAccess=r(uE);this.routeParams=r(YI);this.mcPrefs=r(dZ);this.ANALYTICS_CATEGORY="hotlistIssues";this.canAppend=this.isAdmin=this.isStarred=!1;this.hotlistId=this.routeParams.hotlistId;this.hotlist=null;this.isLoading=!0;this.repositioning=this.showHotlists=!1};Y(J9,A8);J9.\u0275dir=A8.\u0275dir;
J9.prototype.ngOnInit=function(){var a=this;A8.prototype.ngOnInit.call(this);this.subscriptions.add(vH(this.hotkeys,{title:"Hotlist",hotkeys:[].concat(t(this.BASE_HOTKEYS),[{keys:[Dp("j")],displayAs:"Shift+j",description:"Move the current issue down (when sorting by POS)",onPress:function(){Cjd(a,1)}},{keys:[Dp("k")],displayAs:"Shift+k",description:"Move the current issue up (when sorting by POS)",onPress:function(){Cjd(a,-1)}}])}));this.subscriptions.add(this.appEvents.hotlistChanged.subscribe(function(b){b&&
Number(b.hotlistId)===Number(a.hotlistId)&&b.origin!=="view-hotlist"&&Djd(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)};
J9.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)}};
J9.prototype.loadUserAccess=function(a){var b=this;vE(this.userAccess,"admin","hotlists/"+a).then(function(c){b.isAdmin=c},function(c){b.errorHandler.errorHandler(null,c)});vE(this.userAccess,"appender","hotlists/"+a).then(function(c){b.canAppend=c},function(c){b.errorHandler.errorHandler(null,c)})};
J9.prototype.getIssues=function(){var a=this;this.searchResults=null;this.isLoading=!0;UY(this.appSearchState,"hotlistid:"+this.hotlistId);var b=this.hotlist?Promise.resolve(this.hotlist):Djd(this);return this.doSearch(b).finally(function(){a.isLoading=!1;a.cdr.detectChanges()})};
var Djd=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};
J9.prototype.doSearch=function(a){var b=this,c=B9c.map(Qt).filter(ik),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=pj(f);f.query=d;f.returnUrl=b.bLocation.getUrl();f.hotlistId=b.hotlistId;f.trackerIds=b.appSearchState.currentTrackerScope;return m6c(b.issuePagination,f)});a.then(function(f){Ahd(b,
f)}).catch(function(f){typeof f==="number"?Q2(b.urlPreferences,{page:f}):b.errorHandler.errorHandler(null,f)});return Bi({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,Ejd(b)?Fjd:Gjd);b.loadHotlists();b.cdr.detectChanges()}).catch(function(){})};
var Ejd=function(a){return a.sortPreferences.length===0||a.sortPreferences.length===1&&a.sortPreferences[0].fieldId.type==="POSITION"};J9.prototype.getCsvUrl=function(){var a=this.appSearchState.currentTrackerScope,b=this.displayColumns,c=this.showHotlists,d="action/hotlists/"+this.hotlistId+"/issues/csv",e=eRa(this.sortPreferences);(b=fRa(b))&&(b="position,"+b);return gRa(d,"trackerIds",a,"s",e,"c",b,"h",c)};
J9.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 Cjd=function(a,b){if(a.searchResults&&!a.repositioning&&Ejd(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||Dyb(f)}else if(b===-1){var h;(h=a.resultsGrid)==null||Eyb(h)}a.repositionIssue(e,c,!0)}}};g=J9.prototype;
g.save=function(){var a=this;if(this.hotlist){var b=this.hotlist,c=this.urlPreferences.getDisplayColumns();if(c){var d=VEa(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}});jq(this.butterBar,"Saving changes to hotlist...");Hjd(this,b).then(function(e){jq(a.butterBar,'Saved changes to hotlist "'+
e.name+'".');Q2(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");Q2(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?Qj(this.hotlist.adminUsers).includes(this.currentUserEmail):!1};g.setSort=function(a,b){var c=this.getSort();a==="position"||c&&c.field==="position"?A8.prototype.setSort.call(this,a,b,!1):A8.prototype.setSort.call(this,a,b)};
var Hjd=function(a,b){return a.hotlistApi.updateMetadata(b.hotlistId,b).then(function(c){a.hotlist=c;Ijd(a,c.hotlistId);return c},function(c){a.errorHandler.errorHandler(null,c);return Promise.reject(c)})},Ijd=function(a,b){a.appEvents.hotlistChanged.next({hotlistId:b,origin:"view-hotlist"})};
J9.prototype.toggleStar=function(){var a=this;this.isStarred=!this.isStarred;var b=Sm(this.hotlistId),c=function(){Ijd(a,b)};this.isStarred?this.userApi.addUserBookmark({resourceType:"HOTLIST",resourceId:b}).then(c):this.userApi.removeUserBookmark({resourceType:"HOTLIST",resourceId:b}).then(c)};J9.prototype.openEditHotlist=function(){this.bLocation.setUrl(Qq.editHotlist.makeHref(this.hotlistId))};J9.prototype.addToMissionControl=function(a){a!=null&&(this.mcPrefs.addHotlist(a),this.bLocation.setUrl(this.paths.home()))};
J9.prototype.showAddToMcButton=function(a){var b=this.activeSession.isInternalSession();a=a<=500;var c=!this.mcPrefs.hasHotlist(this.hotlistId);return b&&a&&c};var Gjd=[y2,z2,A2,O$c],Fjd=[y2,N$c,z2,A2,O$c];J9.\u0275fac=function(){var a;return function(b){return(a||(a=ee(J9)))(b||J9)}}();
J9.\u0275cmp=C({type:J9,selectors:[["view-hotlist-page"]],standalone:!1,features:[ch([cB]),cg],decls:10,vars:12,consts:[[1,"kd-appbar","kd-buttonbar"],[1,"bv2-edit-controls",3,"init","onRefresh","onSave","onCreateHotlist","onLoadHotlist","onExportCsv","grid","hotlistChoices","showHotlistButtons","currentHotlistId","isHotlistAdmin"],[1,"bv2-appbar-right"],[3,"pageChange","resultsPerPageChange","searchResults"],[1,"bv2-view","bv2-view-hotlist-grid"],[1,"bv2-view-hotlist-title"],[1,"bv2-view-loading"],
["tabindex","-1",1,"bv2-view-loading",3,"bFocus"],[1,"bv2-grid-container"],["mat-flat-button","","type","button","matTooltip","Add a section on the home page to track and get insights for this hotlist like trending issues, collaborators, and recent activity.",1,"medium","gmat-mdc-button","reverse-margin-left"],["mat-flat-button","","type","button","matTooltip","Add a section on the home page to track and get insights for this hotlist like trending issues, collaborators, and recent activity.",1,"medium",
"gmat-mdc-button","reverse-margin-left",3,"click"],[3,"starMessage","unStarMessage","starred"],[3,"starMessage","unStarMessage","starred","disabled"],[1,"bv2-view-hotlist-title-text"],["tabindex","-1",3,"bFocus"],[1,"bv2-view-hotlist-save-form"],[3,"starClicked","keydown.space","keydown.enter","starMessage","unStarMessage","starred"],["role","heading","aria-level","3"],[3,"matTooltip"],[1,"hotlist-archived"],[1,"button-container"],["type","button","aria-label","Hotlist settings","matTooltip","Hotlist settings",
1,"bv2-edit-button","bv2-view-resource-edit-button",3,"click"],["matTooltip","Display preferences have changed"],["type","button","mat-flat-button","","matTooltip","Save changes to display preferences",1,"medium",3,"click"],["type","button","mat-stroked-button","","matTooltip","Discard changes to display preferences",1,"medium",3,"click"],[3,"init","focusedRowIndexChange","columnsChange","sortChange","rowClick","onRowDragDrop","onNextPage","onPrevPage","searchResults","focusedRowIndex","columns",
"enableColumnSaving","sort","enableSidebar"]],template:function(a,b){a&1&&(I(0,"div",0)(1,"b-grid-controls",1),M("init",function(d){return b.gridControls=d})("onRefresh",function(){return b.refreshResults()})("onSave",function(d){return b.sendBulkEditRequest(d.bulkEditOps)})("onCreateHotlist",function(d){return b.createHotlist(d)})("onLoadHotlist",function(d){return b.loadHotlist(d)})("onExportCsv",function(){return b.exportCsv()}),J(),D(2,u1b,1,1),I(3,"div",2)(4,"b-pagination",3),M("pageChange",
function(d){return b.goToPage(d.page)})("resultsPerPageChange",function(d){return b.saveResultsPerPage(d.option)}),J()()(),I(5,"div",4),D(6,E1b,9,7,"div",5)(7,F1b,4,1,"div",6)(8,G1b,2,2,"div",7)(9,H1b,2,6,"div",8),J());if(a&2){var c;B();E("grid",b.resultsGrid)("hotlistChoices",b.hotlistChoices)("showHotlistButtons",b.canAppend)("currentHotlistId",b.hotlistId)("isHotlistAdmin",b.isAdmin);B();G((c=b.searchResults==null?null:b.searchResults.numResults)?2:-1,c);B(2);E("searchResults",b.searchResults);
B();jg("aria-busy",b.isLoading);B();G(b.isInitializing?-1:6);B();G(b.isLoading?7:-1);B();G(b.isLoading||b.hasResults()?-1:8);B();G(!b.isLoading&&b.hasResults()?9:-1)}},dependencies:[D2,r3,KS,w2,mB,rB,sL,Z1,eB,jy],encapsulation:2});var K9=function(){};K9.\u0275fac=function(a){return new (a||K9)};K9.\u0275mod=Cf({type:K9});K9.\u0275inj=p({imports:[M2,s3,XZ,p3,pC,lC,BP,a2,mC,bz,cN,KZ,YY]});var L9=function(){A8.apply(this,arguments);this.savedSearchApi=r(XD);this.hotkeys=r(uH);this.pageTitle=r(u_);this.userAccess=r(uE);this.routeParams=r(YI);this.mcPrefs=r(dZ);this.ANALYTICS_CATEGORY="savedSearchIssues";this.isAdmin=!1;this.savedSearchId=this.routeParams.savedSearchId;this.savedSearch=null;this.isLoading=!0;this.showHotlists=!1};Y(L9,A8);L9.\u0275dir=A8.\u0275dir;g=L9.prototype;
g.ngOnInit=function(){var a=this;A8.prototype.ngOnInit.call(this);this.subscriptions.add(vH(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(v4c(this.appSearchState,function(b){a.savedSearch?Q2(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;vE(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;UY(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:vhd(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;UY(b.appSearchState,d.query);b.exitLink=b.paths.listIssues({q:d.query});b.cdr.detectChanges();d=pj(d);d.returnUrl=b.bLocation.getUrl();d.trackerIds=
b.appSearchState.currentTrackerScope;return m6c(b.issuePagination,d)});c.then(function(d){Ahd(b,d)}).catch(function(d){typeof d==="number"?Q2(b.urlPreferences,{page:d}):d&&b.errorHandler.errorHandler(null,d)});this.initColumns(a.displayColumns);return Bi({searchResultsPage:c,displayColumns:a.displayColumns}).then(function(d){d=d.searchResultsPage;b.searchResults=d;b.page=d.params.page;b.sortPreferences=d.params.sortColumns||[];b.loadHotlists();b.cdr.detectChanges()}).catch(function(){})};
g.isEditable=function(){return!!this.savedSearch&&this.isAdmin};g.getCsvUrl=function(){return hRa(this.searchParams.query,this.appSearchState.currentTrackerScope,this.sortPreferences,this.displayColumns,this.showHotlists)};
g.save=function(){var a=this,b=this.urlPreferences.getDisplayColumns();b&&(this.savedSearch.displayColumn=b);if(b=this.urlPreferences.getSortColumns())this.savedSearch.sortOrder=b.map(function(c){return{direction:c.direction,field:c.fieldId}});this.savedSearch.query=this.urlPreferences.getQuery()||this.savedSearch.query;jq(this.butterBar,"Saving changes to search...");this.savedSearchApi.update(this.savedSearch.searchId,this.savedSearch).then(function(c){jq(a.butterBar,'Saved changes to search "'+
c.name+'".');a.savedSearch=c;Q2(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");Q2(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&&(eZ(this.mcPrefs,Or(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};L9.\u0275fac=function(){var a;return function(b){return(a||(a=ee(L9)))(b||L9)}}();
L9.\u0275cmp=C({type:L9,selectors:[["view-saved-search-page"]],standalone:!1,features:[ch([cB]),cg],decls:10,vars:8,consts:[[1,"kd-appbar","kd-buttonbar"],[1,"bv2-edit-controls",3,"init","onRefresh","onSave","onCreateHotlist","onLoadHotlist","onExportCsv","grid","hotlistChoices"],[1,"bv2-appbar-right"],[3,"pageChange","resultsPerPageChange","searchResults"],[1,"bv2-view","bv2-view-savedsearch-grid"],[1,"bv2-view-savedsearch-title"],[1,"bv2-view-savedsearch-title-text"],[1,"bv2-view-savedsearch-save-form"],
["mat-flat-button","","type","button","matTooltip","Add a section on the home page to track and get insights for this Saved Search like trending issues, collaborators, and recent activity.",1,"medium","gmat-mdc-button","reverse-margin-left"],["mat-flat-button","","type","button","matTooltip","Add a section on the home page to track and get insights for this Saved Search like trending issues, collaborators, and recent activity.",1,"medium","gmat-mdc-button","reverse-margin-left",3,"click"],["role",
"heading","aria-level","3"],[3,"matTooltip"],["type","button","aria-label","Saved search settings","matTooltip","Saved search settings",1,"bv2-edit-icon","bv2-view-resource-edit-button",3,"click"],["matTooltip","Display preferences or search query have changed"],["type","button","mat-flat-button","","matTooltip","Save changes to display preferences and search query",1,"medium"],["type","button","mat-stroked-button","","matTooltip","Discard changes to display preferences and search query",1,"medium",
3,"click"],[1,"bv2-view-savedsearch-exit-link"],["matTooltip","Show this search with your default display preferences",3,"click","href"],["type","button","mat-flat-button","","matTooltip","Save changes to display preferences and search query",1,"medium",3,"click"],[1,"bv2-view-loading"],[1,"bv2-grid-container"],["tabindex","-1",1,"bv2-view-loading",3,"bFocus"],[3,"init","focusedRowIndexChange","columnsChange","sortChange","rowClick","onNextPage","onPrevPage","searchResults","focusedRowIndex","columns",
"enableColumnSaving","sort","enableSidebar"]],template:function(a,b){a&1&&(I(0,"div",0)(1,"b-grid-controls",1),M("init",function(d){return b.gridControls=d})("onRefresh",function(){return b.refreshResults()})("onSave",function(d){return b.sendBulkEditRequest(d.bulkEditOps)})("onCreateHotlist",function(d){return b.createHotlist(d)})("onLoadHotlist",function(d){return b.loadHotlist(d)})("onExportCsv",function(){return b.exportCsv()}),J(),D(2,J1b,1,1),I(3,"div",2)(4,"b-pagination",3),M("pageChange",
function(d){return b.goToPage(d.page)})("resultsPerPageChange",function(d){return b.saveResultsPerPage(d.option)}),J()()(),I(5,"div",4)(6,"div",5),D(7,P1b,3,1,"div",6)(8,R1b,7,2,"div",7),J(),D(9,X1b,3,1,"div"),J());if(a&2){var c;B();E("grid",b.resultsGrid)("hotlistChoices",b.hotlistChoices);B();G((c=b.searchResults==null?null:b.searchResults.numResults)?2:-1,c);B(2);E("searchResults",b.searchResults);B();jg("aria-busy",b.isLoading);B(2);G(b.isInitializing?-1:7);B();G(b.hasParamChanges()?8:-1);B();
G(b.savedSearch?9:-1)}},dependencies:[D2,r3,w2,mB,rB,sL,Z1,eB,jy],encapsulation:2});var M9=function(){};M9.\u0275fac=function(a){return new (a||M9)};M9.\u0275mod=Cf({type:M9});M9.\u0275inj=p({imports:[M2,s3,p3,lC,pC,BP,a2,mC,bz,cN,KZ,YY]});var Jjd={path:Qq.viewIssue.routeDeclarationPath,component:I7,children:[{path:"",pathMatch:"full",component:e8},{path:"dependencies",component:EZ},{path:"dupes",component:K7},{path:"blocking",component:b7},{path:"resources",component:shd}].concat(t(Z1b("enableCodeMentionsUi",{path:"todos",component:y8})))},Kjd=[{path:"",component:b6,canActivateGuards:[k6]},{title:Ut("Issues"),path:Qq.listIssues.routeDeclarationPath,component:B8},{title:Ut("New issue"),path:Qq.createIssue.routeDeclarationPath,component:R6,
canActivateGuards:[D6]}].concat(t(Y1b(function(){var a;if(a=Jl("enableChromeWizard")){var b;a=((b=Dl().tracker)==null?void 0:b.trackerId)==="157"}return a},{title:Ut("New issue"),path:Qq.createIssueChromeWizard.routeDeclarationPath,component:C6})),[Jjd,{title:Ut("Browse All Components"),path:Qq.listComponentsGlobal.routeDeclarationPath,component:E5},{title:Ut("Browse Components"),path:Qq.listComponents.routeDeclarationPath,component:E6},{title:Ut("Create component"),path:Qq.createComponent.routeDeclarationPath,
component:G6},{title:Ut("Component"),path:Qq.editComponent.routeDeclarationPath,component:V8},{path:"components/:componentId/manage",redirectTo:Qq.editComponent.routeDeclarationPath},{path:"components/:componentId",redirectTo:Qq.editComponent.routeDeclarationPath}],t(Z1b("enableTeamScope",{title:Ut("Triage"),path:Qq.viewTriage.routeDeclarationPath,component:VZ})),t(Z1b("enableTeamScope",{title:Ut("Triage"),path:Qq.viewTriageDashboard.routeDeclarationPath,component:VY})),t(Z1b("enableTeamScope",{title:Ut("Issue Themes"),
path:Qq.viewIssueThemes.routeDeclarationPath,component:NY})),t(Z1b("enableTeamScope",{title:Ut("Triage"),path:Qq.triageSettings.routeDeclarationPath,component:a_})),[{title:Ut("Team"),path:Qq.editTeam.routeDeclarationPath,component:W8},{path:"teams/:teamId",redirectTo:Qq.editTeam.routeDeclarationPath},{title:Ut("Create Bookmark Group"),path:Qq.createBookmarkGroup.routeDeclarationPath,component:F6},{title:Ut("Bookmark Group"),path:Qq.viewBookmarkGroup.routeDeclarationPath,component:H9},{title:Ut("Bookmark Group"),
path:Qq.editBookmarkGroup.routeDeclarationPath,component:X6},{title:Ut("Create Hotlist"),path:Qq.createHotlist.routeDeclarationPath,component:H6},{title:Ut("Hotlist"),path:Qq.viewHotlist.routeDeclarationPath,component:J9},{title:Ut("Edit Hotlist"),path:Qq.editHotlist.routeDeclarationPath,component:I2},{title:Ut("Create SLO"),path:Qq.createSlo.routeDeclarationPath,component:T6},{title:Ut("SLO"),path:Qq.viewSlo.routeDeclarationPath,component:a7},{title:Ut("SLO"),path:Qq.editSlo.routeDeclarationPath,
component:a7},{title:Ut("Saved search"),path:Qq.editSavedSearch.routeDeclarationPath,component:Y6},{title:Ut("All of my hotlists"),path:Qq.listHotlists.routeDeclarationPath,component:z8},{title:Ut("Manage SLOs"),path:Qq.listSlos.routeDeclarationPath,component:D8},{title:Ut("Saved search"),path:Qq.viewSavedSearch.routeDeclarationPath,component:L9},{title:Ut("Dashboard"),path:Qq.viewDashboard.routeDeclarationPath,component:V6},{title:Ut("Settings"),path:Qq.settingsTab.routeDeclarationPath,component:G9},
{title:Ut("Settings"),path:Qq.settings.routeDeclarationPath,component:G9},{title:Ut("View Attachment"),path:Qq.viewAttachment.routeDeclarationPath,component:Bjd,hideAppChrome:!0},{title:Ut("Home"),path:Qq.home.routeDeclarationPath,component:s9,canActivateGuards:[h6,i6]},{path:"**",component:b6,canActivateGuards:[k6]}]);var N9=function(){};N9.\u0275fac=function(a){return new (a||N9)};N9.\u0275mod=Cf({type:N9});N9.\u0275inj=p({imports:[lC,GN]});var O9=function(){};O9.\u0275fac=function(a){return new (a||O9)};O9.\u0275mod=Cf({type:O9});O9.\u0275inj=p({imports:[lC,WM,iP,GQ]});var P9=function(){};P9.\u0275fac=function(a){return new (a||P9)};P9.\u0275mod=Cf({type:P9});P9.\u0275inj=p({imports:[f8,lC,BP,mC,GN,zP,N9,O9,oC]});var Q9=function(){};Q9.\u0275fac=function(a){return new (a||Q9)};Q9.\u0275mod=Cf({type:Q9});Q9.\u0275inj=p({imports:[lC,jP,mC]});var R9=function(){};R9.\u0275fac=function(a){return new (a||R9)};R9.\u0275mod=Cf({type:R9});R9.\u0275inj=p({imports:[lC,GN,WM,iP,Q9]});var S9=function(){};S9.\u0275fac=function(a){return new (a||S9)};S9.\u0275mod=Cf({type:S9});S9.\u0275inj=p({imports:[lC,xH,mC,XI]});var T9=function(){};T9.\u0275fac=function(a){return new (a||T9)};T9.\u0275mod=Cf({type:T9});T9.\u0275inj=p({imports:[hP,lC,y7,xH,b3,mC,xQ,bN,pC,G3,o3,i8,S9]});var U9=function(){};U9.\u0275fac=function(a){return new (a||U9)};U9.\u0275mod=Cf({type:U9});U9.\u0275inj=p({imports:[lC,xH,mC,pC]});var V9=function(){};V9.\u0275fac=function(a){return new (a||V9)};V9.\u0275mod=Cf({type:V9});V9.\u0275inj=p({imports:[YV,lC,pC,jN,iQ,mC,BP,ON,o3,aP]});var W9=function(){};W9.\u0275fac=function(a){return new (a||W9)};W9.\u0275mod=Cf({type:W9});W9.\u0275inj=p({imports:[lC,xP,WM,uP]});var X9=function(){};X9.\u0275fac=function(a){return new (a||X9)};X9.\u0275mod=Cf({type:X9});X9.\u0275inj=p({imports:[R9,xP,lC,ZU,iY,xH,WM,qP,rY,Q9,mC,xQ,pC,XZ,uP,W9,U9,T9,V9]});var Y9=function(){};Y9.\u0275fac=function(a){return new (a||Y9)};Y9.\u0275mod=Cf({type:Y9});Y9.\u0275inj=p({imports:[lC,mC]});var Z9=function(){};Z9.\u0275fac=function(a){return new (a||Z9)};Z9.\u0275mod=Cf({type:Z9});Z9.\u0275inj=p({imports:[lC,TM,mC,pC]});var $9=function(){};$9.\u0275fac=function(a){return new (a||$9)};$9.\u0275mod=Cf({type:$9});$9.\u0275inj=p({imports:[o4,qK,IA,lC,zP,rx,GN,ON,bz,P9,X9,j3,mC,XI,SZ,FN,pC,cz,H7,o3,hN,Y9,Z9]});var a$=function(){};a$.\u0275fac=function(a){return new (a||a$)};a$.\u0275mod=Cf({type:a$});a$.\u0275inj=p({imports:[lC,G5]});var b$=function(){};b$.\u0275fac=function(a){return new (a||b$)};b$.\u0275mod=Cf({type:b$});b$.\u0275inj=p({imports:[lC,IA,qK,bz,cz,mC,FN,hN,hP,$9,w8,GZ,c7,L7,a$,x8]});var Ljd=Kjd.map(function(a){var b=a.redirectTo?void 0:[e6,g6].concat(t(a.canActivateGuards||[])),c;return{title:a.title,path:a.path,redirectTo:a.redirectTo,component:a.component,canDeactivate:[zS],canActivate:b,children:a.children,isRootRoute:!0,hideAppChrome:(c=a.hideAppChrome)!=null?c:!1}});Ljd.push({path:"**",canActivate:["dontActivate"],component:b6,isRootRoute:!0,hideAppChrome:!1});
var Mjd=Dl().appBaseHref,Njd,c$={initialNavigation:"disabled"},Ojd={provide:Iec,useFactory:function(){return"guarded"},deps:[[TA,new tv,new uv]]},Pjd=(c$==null?0:c$.errorHandler)?{provide:Ydc,useValue:c$.errorHandler}:[],Qjd={provide:Wdc,useValue:c$?c$:{}},Rjd=(c$==null?0:c$.useHash)?{provide:pw,useClass:rw}:{provide:pw,useClass:qw},Sjd={provide:Bec,useFactory:function(){var a=r(P7b),b=r(kh),c=r(Wdc),d=r(OA),e=r(bA);c.scrollOffset&&a.setOffset(c.scrollOffset);return new YA(e,d,a,b,c)}},Tjd=(c$==null?
0:c$.preloadingStrategy)?hj(0,[{provide:Hec,useExisting:XA},{provide:xec,useExisting:c$.preloadingStrategy}]).\u0275providers:[],Ujd;
(c$==null?0:c$.initialNavigation)?Ujd=[c$.initialNavigation==="disabled"?hj(3,[{provide:k6b,multi:!0,useFactory:function(){var a=r(TA);return function(){oec(a)}}},{provide:Gec,useValue:2}]).\u0275providers:[],c$.initialNavigation==="enabledBlocking"?hj(2,[{provide:Gec,useValue:0},{provide:k6b,multi:!0,deps:[Ye],useFactory:function(a){var b=a.get(L7b,Promise.resolve());return function(){return b.then(function(){return new Promise(function(c){var d=a.get(TA),e=a.get(Fec);gta(d,function(){c(!0)});a.get(OA).afterPreactivation=
function(){c(!0);return e.closed?Ae(void 0):e};d.initialNavigation()})})}}}]).\u0275providers:[]]:Ujd=[];var Vjd=Ujd,Wjd=(c$==null?0:c$.bindToComponentInputs)?hj(8,[iA,{provide:scc,useExisting:iA}]).\u0275providers:[],Xjd;if(c$==null?0:c$.enableViewTransitions){var Yjd=[{provide:Xdc,useValue:fta},{provide:dta,useValue:Object.assign({},{skipNextTransition:!1},void 0)}];Xjd=hj(9,Yjd).\u0275providers}else Xjd=[];
Njd={ngModule:ZA,providers:[Jec,[],{provide:bta,multi:!0,useValue:[]},Ojd,Pjd,Qjd,Rjd,Sjd,Tjd,Vjd,Wjd,Xjd,[{provide:Kec,useFactory:function(){var a=r(Ye);return function(b){var c=a.get(ph);if(b===c.components[0]){b=a.get(TA);var d=a.get(Fec);a.get(Gec)===1&&b.initialNavigation();var e;(e=a.get(Hec,null,8))==null||yec(e);var f;(f=a.get(Bec,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:s6b,multi:!0,useExisting:Kec}]]};var d$=function(){var a=r(TA),b=r(TH);a.config=Ljd.map(Nra);a.navigated=!1;a.initialNavigation();eqc(b)};d$.\u0275fac=function(a){return new (a||d$)};d$.\u0275mod=Cf({type:d$});d$.\u0275inj=p({providers:[{provide:"dontActivate",useValue:function(){return!1}},{provide:PA,useClass:d6},{provide:O7b,useValue:Mjd},g6,e6],imports:[Njd,c6,b$,ZA]});var Zjd=new zd("Environment");var $jd=new zd("Worktracker API Key");var akd=new zd("G3C API Keys");var e$=function(){};e$.\u0275fac=function(a){return new (a||e$)};e$.\u0275mod=Cf({type:e$});e$.\u0275inj=p({providers:[{provide:Zjd,useFactory:$1b},{provide:akd,useValue:{prodApiKey:"AIzaSyB9Ljnt9FDyfTnTH2yeDn6lGM40PQm6Gsk",stagingApiKey:"AIzaSyCYqhU0fWA9T487wYfx1ogB9z2mNJ9AQco",autopushApiKey:"AIzaSyBEveljwBki0sKCHdprNdJJPZrqTnIwIcM"}},{provide:$jd,useValue:"AIzaSyAVSCxcE30nYSaySrZXBXCTumqIjorZA2c"}]});var bkd=function(){};bkd.prototype.send=function(a,b){rJa(a);return this.makeRequest(a).then(function(c){return b?BJa(b,c):c})};var f$=function(a,b,c,d,e){this.gapiUrl=a;this.gapiKey=b;this.customGapiPromise=null;this.gapiConfigUpdates=c||{};this.gapiAuthParams=d||{};this.defaultApiId=e};Y(f$,bkd);f$.prototype.getGapi=function(){var a=this;return(this.customGapiPromise||MJa()).then(function(b){b=b||window.gapi;a.setGapiConfig(b);return TJa(b,{apiKey:a.gapiKey,clientId:a.gapiAuthParams.clientId,scope:a.gapiAuthParams.scope,hostedDomain:a.gapiAuthParams.hostedDomain,fetchBasicProfile:a.gapiAuthParams.fetchBasicProfile}).then(function(){return b})})};
f$.prototype.makeRequest=function(a){var b=this;return this.getGapi().then(function(c){return se(function(d){if(d.nextAddress==1)return b.gapiAuthParams.minAuthTokenTimeRemaining===void 0?d.jumpTo(2):y(d,SJa(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})))})})};
f$.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)})})};f$.prototype.setGapiConfig=function(a){for(var b in this.gapiConfigUpdates)this.gapiConfigUpdates.hasOwnProperty(b)&&QJa(a,b,this.gapiConfigUpdates[b])};f$.$inject=["gapiUrl","gapiKey","gapiConfigUpdates","gapiAuthParams","defaultApiId"];var g$=function(){};g$.\u0275fac=function(a){return new (a||g$)};g$.\u0275mod=Cf({type:g$});
g$.\u0275inj=p({providers:[{provide:Etc,useFactory:function(){var a=new f$("https://people-pa.googleapis.com","AIzaSyClMyMjdjUv-Z9gej4bgUQoU3CSbak7a9s",{withCredentials:!0,"googleapis.config/auth/useFirstPartyAuth":!0,"googleapis.config/auth/useFirstPartyAuthV2":!0}),b=IPa();a.customGapiPromise=b;return new Guc(a)}}],imports:[{ngModule:ZO,providers:[SK,{provide:fxc,useFactory:function(){return{authRealm:1,peopleApiEnv:4,peopleStoreClient:H3c,autocompleteFactory:kZc}}}]}]});var c2b={os:1223084,version:1223033},b2b={os:201569,version:201543};var i2b={unconfirmed:5437934,chromiumRegression:5438261},h2b={unconfirmed:1218157,chromiumRegression:1218155};var h$={},ckd=(h$.NETWORK_DOWNLOADING=[{type:"INPUT",question:"What specific URL can reproduce the problem?",answerPrefix:"Example URL: "}],h$.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"}],h$.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?"}}]}],h$.APPS=[{type:"INPUT",question:xi([wi("What is the link to that software in "),
a2b("the Chrome Webstore","https://chrome.google.com/webstore"),wi("?")]),answerPrefix:"Webstore page: "}],h$.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:xi([wi("What is the link to that software in "),a2b("the Chrome Webstore","https://chrome.google.com/webstore"),
wi("?")]),answerPrefix:"WebStore page: "}],h$.WEBSTORE=[{type:"INPUT",question:"What is the URL of the Chrome WebStore page that had the problem?",answerPrefix:"Webstore page: "}],h$.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"]}],h$.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"]}],h$.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"}}]}],h$.SECURITY=[{type:"INPUT",question:"For crashes, what type of crash [tab, browser, etc.]:",answerPrefix:"Type of crash: "},{type:"TEXT",question:xi([wi("For crashes, what was the crash state? [See "),
a2b("Reporting Crash Bugs","https://www.chromium.org/Home/chromium-security/reporting-security-bugs/#reporting-crash-bugs"),wi(", 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: "}],h$);var i$=function(){};i$.\u0275fac=function(a){return new (a||i$)};i$.\u0275mod=Cf({type:i$});i$.\u0275inj=p({imports:[bV]});var j$=function(){};j$.\u0275fac=function(a){return new (a||j$)};j$.\u0275mod=Cf({type:j$});j$.\u0275inj=p({providers:[Red,Tx],imports:[Ox,Jx,t6,kC,ay,B6,z6,Ox]});var k$=function(){};k$.\u0275fac=function(a){return new (a||k$)};k$.\u0275mod=Cf({type:k$});k$.\u0275inj=p({providers:[{provide:Ied,useValue:ckd},{provide:Ked,useFactory:d2b},{provide:Jed,useFactory:g2b},{provide:Led,useFactory:j2b}],imports:[TV,lC,U3,bz,mC,i$,jN,bR,GP,nN,j$,ZV]});var l$=function(){};l$.\u0275fac=function(a){return new (a||l$)};l$.\u0275mod=Cf({type:l$});l$.\u0275inj=p({imports:[lC,mC,pC,pN,bz,cz,K2]});var m$=function(){};m$.\u0275fac=function(a){return new (a||m$)};m$.\u0275mod=Cf({type:m$});m$.\u0275inj=p({imports:[eQ,lC,K2,a2,bz,fP,pC,jN,K3,YU]});var n$=function(){};n$.\u0275fac=function(a){return new (a||n$)};n$.\u0275mod=Cf({type:n$});n$.\u0275inj=p({imports:[lC,mC,pC,pN,bz,cz,K2]});var o$=function(){};o$.\u0275fac=function(a){return new (a||o$)};o$.\u0275mod=Cf({type:o$});o$.\u0275inj=p({imports:[lC,mC,pC,pP]});var p$=function(){};p$.\u0275fac=function(a){return new (a||p$)};p$.\u0275mod=Cf({type:p$});p$.\u0275inj=p({imports:[lC,mC,pC,BP,o$,bN]});var q$=function(){};q$.\u0275fac=function(a){return new (a||q$)};q$.\u0275mod=Cf({type:q$});q$.\u0275inj=p({imports:[lC,BP,jP,iP,hP,xY,pC,WM,mC]});var r$=function(){};r$.\u0275fac=function(a){return new (a||r$)};r$.\u0275mod=Cf({type:r$});r$.\u0275inj=p({imports:[mw,bz,rz,JX,cz]});var s$=function(){};s$.\u0275fac=function(a){return new (a||s$)};s$.\u0275mod=Cf({type:s$});s$.\u0275inj=p({imports:[eQ,VV,GN,WO,x0,c3,lN,a2,bz,fV,v1,fP,K1,kR,mC,jN,nN,XI,QY,bN,iQ,pC,c3,hC,MN,cz,r$,YU,lC,sx,ZV,WV,p$,q$,qC,ZO,UX]});var t$=function(){};t$.\u0275fac=function(a){return new (a||t$)};t$.\u0275mod=Cf({type:t$});t$.\u0275inj=p({imports:[eQ,lC,K2,a2,bz,fP,pC,V3]});var u$=function(){};u$.\u0275fac=function(a){return new (a||u$)};u$.\u0275mod=Cf({type:u$});u$.\u0275inj=p({imports:[lC,pC,mC,FN,K2,fV,v1,R_,pN,bz,cz,bN,$O]});var v$=function(){};v$.\u0275fac=function(a){return new (a||v$)};v$.\u0275mod=Cf({type:v$});v$.\u0275inj=p({imports:[XI,jN,lC,Nx,mC,GN,UU,ZV]});var w$=function(){};w$.\u0275fac=function(a){return new (a||w$)};w$.\u0275mod=Cf({type:w$});w$.\u0275inj=p({imports:[lC,pC,mC,FN,K2,pN,XI,bz,cz,bN,$O]});var x$=function(){};x$.\u0275fac=function(a){return new (a||x$)};x$.\u0275mod=Cf({type:x$});x$.\u0275inj=p({imports:[eQ,lC,K2,bz,fP,FN,pC,$O,jN,V3,BP]});var y$=function(){};y$.\u0275fac=function(a){return new (a||y$)};y$.\u0275mod=Cf({type:y$});y$.\u0275inj=p({imports:[lC,O2,BP,mC]});var z$=function(){};z$.\u0275fac=function(a){return new (a||z$)};z$.\u0275mod=Cf({type:z$});z$.\u0275inj=p({imports:[lC,mC,X3,BP]});var A$=function(){};A$.\u0275fac=function(a){return new (a||A$)};A$.\u0275mod=Cf({type:A$});A$.\u0275inj=p({imports:[lC,T0,y3]});var B$=function(){};B$.\u0275fac=function(a){return new (a||B$)};B$.\u0275mod=Cf({type:B$});B$.\u0275inj=p({imports:[lC,ON,bz,FN,gP,$O,fP,QY,mC,jN,pC,XI,BP]});var C$=function(){};C$.\u0275fac=function(a){return new (a||C$)};C$.\u0275mod=Cf({type:C$});C$.\u0275inj=p({imports:[eQ,lC,ON,T0,G0,l5,s5,u5,L1,K2,B5,bz,fP,mC,jN,XI,nN,iQ,FN,pC,$O,K3,B$,sx,A$,I3,BP,YU,wP,Z9]});var D$=function(){};D$.\u0275fac=function(a){return new (a||D$)};D$.\u0275mod=Cf({type:D$});D$.\u0275inj=p({imports:[lC,K2,bz,mC,jN,XI,FP,FN,pC,iQ,$O,sx,I3,XZ,vL,y3,DY]});var E$=function(){};E$.\u0275fac=function(a){return new (a||E$)};E$.\u0275mod=Cf({type:E$});E$.\u0275inj=p({imports:[lC,mC,wz,xQ,Qw,bz,cz,mz,uz]});var F$=function(){};F$.\u0275fac=function(a){return new (a||F$)};F$.\u0275mod=Cf({type:F$});F$.\u0275inj=p({imports:[lC,TM]});var G$=function(){};G$.\u0275fac=function(a){return new (a||G$)};G$.\u0275mod=Cf({type:G$});G$.\u0275inj=p({imports:[lC,F$,WM,pC]});var H$=function(){};H$.\u0275fac=function(a){return new (a||H$)};H$.\u0275mod=Cf({type:H$});H$.\u0275inj=p({imports:[lC,TM,gP]});var I$=function(){};I$.\u0275fac=function(a){return new (a||I$)};I$.\u0275mod=Cf({type:I$});I$.\u0275inj=p({imports:[lC,gP,TM,GN]});var J$=function(){};J$.\u0275fac=function(a){return new (a||J$)};J$.\u0275mod=Cf({type:J$});J$.\u0275inj=p({imports:[lC,pC,WM,I$,H$]});var K$=function(){};K$.\u0275fac=function(a){return new (a||K$)};K$.\u0275mod=Cf({type:K$});K$.\u0275inj=p({imports:[lC,WM]});var L$=function(){};L$.\u0275fac=function(a){return new (a||L$)};L$.\u0275mod=Cf({type:L$});L$.\u0275inj=p({imports:[lC,K$,WM,pC]});var M$=function(){};M$.\u0275fac=function(a){return new (a||M$)};M$.\u0275mod=Cf({type:M$});M$.\u0275inj=p({imports:[lC,WM]});var N$=function(){};N$.\u0275fac=function(a){return new (a||N$)};N$.\u0275mod=Cf({type:N$});N$.\u0275inj=p({imports:[lC,pC,WM,M$]});var O$=function(){};O$.\u0275fac=function(a){return new (a||O$)};O$.\u0275mod=Cf({type:O$});O$.\u0275inj=p({imports:[lC,DP,pC,bN,jN,mC,xQ]});var P$=function(){};P$.\u0275fac=function(a){return new (a||P$)};P$.\u0275mod=Cf({type:P$});P$.\u0275inj=p({imports:[lC,DP,pC]});var Q$=function(){};Q$.\u0275fac=function(a){return new (a||Q$)};Q$.\u0275mod=Cf({type:Q$});Q$.\u0275inj=p({imports:[lC,DP,bN]});var R$=function(){};R$.\u0275fac=function(a){return new (a||R$)};R$.\u0275mod=Cf({type:R$});R$.\u0275inj=p({imports:[lC,yQ,TM,ny,kC,aN,Nx,LH]});var S$=function(){};S$.\u0275fac=function(a){return new (a||S$)};S$.\u0275mod=Cf({type:S$});S$.\u0275inj=p({imports:[mw,oJ,oP]});var T$=function(){};T$.\u0275fac=function(a){return new (a||T$)};T$.\u0275mod=Cf({type:T$});T$.\u0275inj=p({imports:[lC,TM,yQ,FP,FN,jN,pC,mC,O$,P$,R$,Q$,BP,jP,ON,S$,aP,J$,N$,aN,L$,G$,E$,Nx]});var U$=function(){};U$.\u0275fac=function(a){return new (a||U$)};U$.\u0275mod=Cf({type:U$});U$.\u0275inj=p({imports:[lC,mC,T$,pC]});var V$=function(){};V$.\u0275fac=function(a){return new (a||V$)};V$.\u0275mod=Cf({type:V$});V$.\u0275inj=p({imports:[lC,jP,BP,P$,Q$,TM,ON,S$,aP,xY,mC,FN,FP,pC]});var W$=function(){};W$.\u0275fac=function(a){return new (a||W$)};W$.\u0275mod=Cf({type:W$});W$.\u0275inj=p({imports:[lC,bz,mC,pC,cz,KZ,U$,V$,xH]});var X$=function(){};X$.\u0275fac=function(a){return new (a||X$)};X$.\u0275mod=Cf({type:X$});X$.\u0275inj=p({imports:[nN,lC,bz]});var Y$=function(){};Y$.\u0275fac=function(a){return new (a||Y$)};Y$.\u0275mod=Cf({type:Y$});Y$.\u0275inj=p({imports:[zP,lC,bz,jN,mC,XI,nN,bR,iQ,FP,bN,FN,pC,kQ,hC,i8,X$,BP,WO,kC]});var Z$=function(){};Z$.\u0275fac=function(a){return new (a||Z$)};Z$.\u0275mod=Cf({type:Z$});Z$.\u0275inj=p({imports:[lC,pN,mC]});var dkd={disableCheatSheet:!0};dkd=dkd===void 0?{}:dkd;
var ekd=[lC,j0,bP,IA,qK,t0,K1,yQ,m_,fP,S_,kQ,o_,K3,XZ,U_,qP,eQ,V2,d1,i_,Z4,N5,bY,BQ,kR,RU,R0,hP,t$,x$,z$,y$,W6,C8,K9,M9,m$,C$,D$,I9,O2,X3,L1,D5,G5,m3,mQ,M2,y1,P5,a5,x5,b5,H5,w5,v5,u3,w3,AR,s3,w1,Z_,zP,GN,UU,v$,UP,h_,D3,R_,YQ,G3,Z3,n3,o3,F5,I4,BP,l0,XT,uP,b_,u5,Z$,B5,o4,gP,ON,TM,Y$,GQ,XM,W2,Z2,V3,I3,X2,K2,d5,l$,n$,r5,N3,b1,T0,U0,G0,Y2,p3,f1,SN,d3,e3,v1,T3,f3,g3,s5,u0,y0,$O,L2,VV,l5,u$,x_,w$,s$,z0,$9,j4,e$,W$,d_,EA,{ngModule:RJ,providers:[PJ,{provide:muc,useFactory:function(a){return new Guc(new Cuc("https://appswaldo-pa.clients6.google.com",
a.waldoApiKey,a.globalApiKey,Object.assign({},Iuc,a.gapiConfig),{scope:"https://www.googleapis.com/auth/calendar.readonly"}))},deps:[Huc]},{provide:Huc,useFactory:function(){return{waldoApiKey:"AIzaSyDvxpDVHooCQawPUQkmQxwrtt-Xdp3Q3so",globalApiKey:"AIzaSyBuUpn1wi2-0JpM3S-tq2csYx0z2_m_pqc",gapiConfig:{withCredentials:!0}}}}]},{ngModule:qH,providers:[pH,{provide:zpc,useValue:dkd}]},g$];Jl("enableChromeWizard")&&ekd.push(k$);
var fkd=[med,hjc,dcd,ecd,fcd,d6c,Nec,{provide:jAc,useValue:{animationDuration:"0ms",stretchTabs:!1}},{provide:WNc,useValue:{productName:"Buganizer",cooldownMilliseconds:864E5,enableUsageTracking:!0}},{provide:vfc,useValue:{disableTooltipInteractivity:!0}},{provide:NFc,useValue:"AIzaSyCBj23e6C2MNif_tvceM-CPTXcVDK3sarY"},{provide:QFc,useValue:"92912"},ned,yed,zed,Aed],Uv=function(){};Uv.prototype.ngDoBootstrap=function(){lj("bootstrapping AppModule")};Uv.\u0275fac=function(a){return new (a||Uv)};
Uv.\u0275mod=Cf({type:Uv,bootstrap:[i0,L5]});Uv.\u0275inj=p({providers:[].concat(t(fkd)),imports:[ekd,d$]});BF(document,"DOMContentLoaded",function(){P6b()});
__._ModuleManager_initialize=function(){};
__._ModuleManager_initialize('c/dSirkf/n90YA/ZGAB2e/sLGWFe/M79aPc/nJ4XF/hZVRae',[]);
}catch(e){__._DumpException(e)}
}).call(this,this.default_b);
// Google Inc.
